Skip to content

Commit

Permalink
chore: release v3.7.0 (#4)
Browse files Browse the repository at this point in the history
This PR was automatically generated by the build bot
[App Store Connect API 3.7.0 Change
Notes](https://developer.apple.com/documentation/appstoreconnectapi/app-store-connect-api-3-7-release-notes)

---------

Co-authored-by: build bot <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Nov 24, 2024
1 parent b3f53af commit d5a11d0
Show file tree
Hide file tree
Showing 9 changed files with 16,884 additions and 16,539 deletions.
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

0 comments on commit d5a11d0

Please sign in to comment.