Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release v3.7.0 #4

Merged
merged 2 commits into from
Nov 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,798 changes: 861 additions & 1,937 deletions app_store_connect_api_openapi.json

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rage-against-the-pixel/app-store-connect-api",
"version": "3.6.0",
"version": "3.7.0",
"description": "A TypeScript package for communicating with Apple App Store Connect API",
"author": "RageAgainstThePixel",
"license": "MIT",
Expand Down Expand Up @@ -46,4 +46,4 @@
"@hey-api/client-fetch": "^0.4.1",
"jose": "^5.9.4"
}
}
}
1 change: 0 additions & 1 deletion src/app_store_connect_api/client/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// This file is auto-generated by @hey-api/openapi-ts
import type { Client, Config, RequestOptions } from './types';
import {
createConfig,
Expand Down
89 changes: 44 additions & 45 deletions src/app_store_connect_api/client/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// This file is auto-generated by @hey-api/openapi-ts
import type {
BodySerializer,
Middleware,
Expand All @@ -21,11 +20,11 @@ export interface Config<ThrowOnError extends boolean = boolean>
* {@link https://developer.mozilla.org/docs/Web/API/fetch#body}
*/
body?:
| RequestInit['body']
| Record<string, unknown>
| Array<Record<string, unknown>>
| Array<unknown>
| number;
| RequestInit['body']
| Record<string, unknown>
| Array<Record<string, unknown>>
| Array<unknown>
| number;
/**
* A function for serializing request body parameter. By default,
* {@link JSON.stringify()} will be used.
Expand All @@ -44,32 +43,32 @@ export interface Config<ThrowOnError extends boolean = boolean>
* {@link https://developer.mozilla.org/docs/Web/API/Headers/Headers#init See more}
*/
headers?:
| RequestInit['headers']
| Record<
string,
| string
| number
| boolean
| (string | number | boolean)[]
| null
| undefined
| unknown
>;
| RequestInit['headers']
| Record<
string,
| string
| number
| boolean
| (string | number | boolean)[]
| null
| undefined
| unknown
>;
/**
* The request method.
*
* {@link https://developer.mozilla.org/docs/Web/API/fetch#method See more}
*/
method?:
| 'CONNECT'
| 'DELETE'
| 'GET'
| 'HEAD'
| 'OPTIONS'
| 'PATCH'
| 'POST'
| 'PUT'
| 'TRACE';
| 'CONNECT'
| 'DELETE'
| 'GET'
| 'HEAD'
| 'OPTIONS'
| 'PATCH'
| 'POST'
| 'PUT'
| 'TRACE';
/**
* Return the response data parsed in a specified format. By default, `auto`
* will infer the appropriate method from the `Content-Type` response header.
Expand Down Expand Up @@ -112,19 +111,19 @@ export type RequestResult<
ThrowOnError extends boolean = boolean,
> = ThrowOnError extends true
? Promise<{
data: Data;
request: Request;
response: Response;
}>
: Promise<
(
| { data: Data; error: undefined }
| { data: undefined; error: TError }
) & {
data: Data;
request: Request;
response: Response;
}
>;
}>
: Promise<
(
| { data: Data; error: undefined }
| { data: undefined; error: TError }
) & {
request: Request;
response: Response;
}
>;

type MethodFn = <
Data = unknown,
Expand Down Expand Up @@ -186,12 +185,12 @@ export type Options<
ThrowOnError extends boolean = boolean,
> = T extends { body?: any }
? T extends { headers?: any }
? OmitKeys<OptionsBase<ThrowOnError>, 'body' | 'headers'> & T
: OmitKeys<OptionsBase<ThrowOnError>, 'body'> &
T &
Pick<OptionsBase<ThrowOnError>, 'headers'>
? OmitKeys<OptionsBase<ThrowOnError>, 'body' | 'headers'> & T
: OmitKeys<OptionsBase<ThrowOnError>, 'body'> &
T &
Pick<OptionsBase<ThrowOnError>, 'headers'>
: T extends { headers?: any }
? OmitKeys<OptionsBase<ThrowOnError>, 'headers'> &
T &
Pick<OptionsBase<ThrowOnError>, 'body'>
: OptionsBase<ThrowOnError> & T;
? OmitKeys<OptionsBase<ThrowOnError>, 'headers'> &
T &
Pick<OptionsBase<ThrowOnError>, 'body'>
: OptionsBase<ThrowOnError> & T;
3 changes: 1 addition & 2 deletions src/app_store_connect_api/client/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// This file is auto-generated by @hey-api/openapi-ts
import type { Config } from './types';

interface PathSerializer {
Expand Down Expand Up @@ -28,7 +27,7 @@ interface SerializerOptions<T> {

interface SerializeOptions<T>
extends SerializePrimitiveOptions,
SerializerOptions<T> { }
SerializerOptions<T> {}
interface SerializePrimitiveOptions {
allowReserved?: boolean;
name: string;
Expand Down
Loading