diff --git a/.yarn/versions/86b31116.yml b/.yarn/versions/86b31116.yml new file mode 100644 index 0000000..9cb5c3f --- /dev/null +++ b/.yarn/versions/86b31116.yml @@ -0,0 +1,5 @@ +releases: + "@typoas/cli": minor + "@typoas/generator": minor + "@typoas/react-query": minor + "@typoas/runtime": minor diff --git a/CHANGELOG.md b/CHANGELOG.md index 342293e..c4168c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ ## Unreleased - Add `-p,--prettier` option to the cli to format the generated code with prettier [#51](https://github.com/Embraser01/typoas/pull/51) +- Add a new `@typoas/react-query` package to generate fully typed react-query hooks [#63](https://github.com/Embraser01/typoas/pull/63) +- **BREAKING**: `FetcherData` must now extend `BaseFetcherData`. This change allow to have default options like `signal` for every request (fixes [#62](https://github.com/Embraser01/typoas/issues/62)) [#64](https://github.com/Embraser01/typoas/issues/64) - **BREAKING**: Generate all responses types (fixes [#57](https://github.com/Embraser01/typoas/issues/57)) [#60](https://github.com/Embraser01/typoas/pull/60) - Functions will not throw on non-2XX http status anymore - Instead, users will have to check themselves or use the ok helper function diff --git a/examples/src/github-sample.ts b/examples/src/github-sample.ts index 568cf30..61a1413 100644 --- a/examples/src/github-sample.ts +++ b/examples/src/github-sample.ts @@ -11349,7 +11349,7 @@ const $date_StarredRepository = (): r.TransformField[] => [ ], ]; export type AuthMethods = {}; -export function createContext( +export function createContext( params?: r.CreateContextParams, ): r.Context { return new r.Context({ @@ -11367,7 +11367,7 @@ export function createContext( * Learn more at {@link https://docs.github.com/rest/overview/resources-in-the-rest-api#root-endpoint} * Tags: meta */ -export async function metaRoot( +export async function metaRoot( ctx: r.Context, params: {}, opts?: FetcherData, @@ -11433,7 +11433,9 @@ export async function metaRoot( * Learn more at {@link https://docs.github.com/rest/reference/apps#get-the-authenticated-app} * Tags: apps */ -export async function appsGetAuthenticated( +export async function appsGetAuthenticated< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, opts?: FetcherData, @@ -11461,7 +11463,9 @@ export async function appsGetAuthenticated( * Learn more at {@link https://docs.github.com/rest/reference/apps#create-a-github-app-from-a-manifest} * Tags: apps */ -export async function appsCreateFromManifest( +export async function appsCreateFromManifest< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { code: string; @@ -11512,7 +11516,9 @@ export async function appsCreateFromManifest( * Learn more at {@link https://docs.github.com/rest/reference/apps#get-a-webhook-configuration-for-an-app} * Tags: apps */ -export async function appsGetWebhookConfigForApp( +export async function appsGetWebhookConfigForApp< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, opts?: FetcherData, @@ -11536,7 +11542,9 @@ export async function appsGetWebhookConfigForApp( * Learn more at {@link https://docs.github.com/rest/reference/apps#update-a-webhook-configuration-for-an-app} * Tags: apps */ -export async function appsUpdateWebhookConfigForApp( +export async function appsUpdateWebhookConfigForApp< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: { @@ -11566,7 +11574,9 @@ export async function appsUpdateWebhookConfigForApp( * Learn more at {@link https://docs.github.com/rest/reference/apps#list-deliveries-for-an-app-webhook} * Tags: apps */ -export async function appsListWebhookDeliveries( +export async function appsListWebhookDeliveries< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -11605,7 +11615,9 @@ export async function appsListWebhookDeliveries( * Learn more at {@link https://docs.github.com/rest/reference/apps#get-a-delivery-for-an-app-webhook} * Tags: apps */ -export async function appsGetWebhookDelivery( +export async function appsGetWebhookDelivery< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { delivery_id: number; @@ -11640,7 +11652,9 @@ export async function appsGetWebhookDelivery( * Learn more at {@link https://docs.github.com/rest/reference/apps#redeliver-a-delivery-for-an-app-webhook} * Tags: apps */ -export async function appsRedeliverWebhookDelivery( +export async function appsRedeliverWebhookDelivery< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { delivery_id: number; @@ -11669,7 +11683,9 @@ export async function appsRedeliverWebhookDelivery( * Learn more at {@link https://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app} * Tags: apps */ -export async function appsListInstallations( +export async function appsListInstallations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -11708,7 +11724,9 @@ export async function appsListInstallations( * Learn more at {@link https://docs.github.com/rest/reference/apps#get-an-installation-for-the-authenticated-app} * Tags: apps */ -export async function appsGetInstallation( +export async function appsGetInstallation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { installation_id: number; @@ -11751,7 +11769,9 @@ export async function appsGetInstallation( * Learn more at {@link https://docs.github.com/rest/reference/apps#delete-an-installation-for-the-authenticated-app} * Tags: apps */ -export async function appsDeleteInstallation( +export async function appsDeleteInstallation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { installation_id: number; @@ -11781,7 +11801,9 @@ export async function appsDeleteInstallation( * Learn more at {@link https://docs.github.com/rest/reference/apps/#create-an-installation-access-token-for-an-app} * Tags: apps */ -export async function appsCreateInstallationAccessToken( +export async function appsCreateInstallationAccessToken< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { installation_id: number; @@ -11843,7 +11865,9 @@ export async function appsCreateInstallationAccessToken( * Learn more at {@link https://docs.github.com/rest/reference/apps#suspend-an-app-installation} * Tags: apps */ -export async function appsSuspendInstallation( +export async function appsSuspendInstallation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { installation_id: number; @@ -11868,7 +11892,9 @@ export async function appsSuspendInstallation( * Learn more at {@link https://docs.github.com/rest/reference/apps#unsuspend-an-app-installation} * Tags: apps */ -export async function appsUnsuspendInstallation( +export async function appsUnsuspendInstallation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { installation_id: number; @@ -11906,7 +11932,9 @@ export async function appsUnsuspendInstallation( * Learn more at {@link https://docs.github.com/rest/reference/oauth-authorizations#list-your-grants} * Tags: oauth-authorizations */ -export async function oauthAuthorizationsListGrants( +export async function oauthAuthorizationsListGrants< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -11951,7 +11979,9 @@ export async function oauthAuthorizationsListGrants( * Learn more at {@link https://docs.github.com/rest/reference/oauth-authorizations#get-a-single-grant} * Tags: oauth-authorizations */ -export async function oauthAuthorizationsGetGrant( +export async function oauthAuthorizationsGetGrant< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { grant_id: number; @@ -11995,7 +12025,9 @@ export async function oauthAuthorizationsGetGrant( * Learn more at {@link https://docs.github.com/rest/reference/oauth-authorizations#delete-a-grant} * Tags: oauth-authorizations */ -export async function oauthAuthorizationsDeleteGrant( +export async function oauthAuthorizationsDeleteGrant< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { grant_id: number; @@ -12028,7 +12060,9 @@ export async function oauthAuthorizationsDeleteGrant( * Learn more at {@link https://docs.github.com/rest/reference/apps#delete-an-app-authorization} * Tags: apps */ -export async function appsDeleteAuthorization( +export async function appsDeleteAuthorization< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { client_id: string; @@ -12073,7 +12107,9 @@ export async function appsDeleteAuthorization( * Learn more at {@link https://docs.github.com/rest/reference/apps#revoke-a-grant-for-an-application} * Tags: apps */ -export async function appsRevokeGrantForApplication( +export async function appsRevokeGrantForApplication< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { client_id: string; @@ -12099,7 +12135,7 @@ export async function appsRevokeGrantForApplication( * Learn more at {@link https://docs.github.com/rest/reference/apps#check-a-token} * Tags: apps */ -export async function appsCheckToken( +export async function appsCheckToken( ctx: r.Context, params: { client_id: string; @@ -12141,7 +12177,7 @@ export async function appsCheckToken( * Learn more at {@link https://docs.github.com/rest/reference/apps#reset-a-token} * Tags: apps */ -export async function appsResetToken( +export async function appsResetToken( ctx: r.Context, params: { client_id: string; @@ -12179,7 +12215,7 @@ export async function appsResetToken( * Learn more at {@link https://docs.github.com/rest/reference/apps#delete-an-app-token} * Tags: apps */ -export async function appsDeleteToken( +export async function appsDeleteToken( ctx: r.Context, params: { client_id: string; @@ -12214,7 +12250,7 @@ export async function appsDeleteToken( * Learn more at {@link https://docs.github.com/rest/reference/apps#create-a-scoped-access-token} * Tags: apps */ -export async function appsScopeToken( +export async function appsScopeToken( ctx: r.Context, params: { client_id: string; @@ -12289,7 +12325,9 @@ export async function appsScopeToken( * Learn more at {@link https://docs.github.com/rest/reference/apps#check-an-authorization} * Tags: apps */ -export async function appsCheckAuthorization( +export async function appsCheckAuthorization< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { client_id: string; @@ -12333,7 +12371,9 @@ export async function appsCheckAuthorization( * Learn more at {@link https://docs.github.com/rest/reference/apps#reset-an-authorization} * Tags: apps */ -export async function appsResetAuthorization( +export async function appsResetAuthorization< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { client_id: string; @@ -12370,7 +12410,9 @@ export async function appsResetAuthorization( * Learn more at {@link https://docs.github.com/rest/reference/apps#revoke-an-authorization-for-an-application} * Tags: apps */ -export async function appsRevokeAuthorizationForApplication( +export async function appsRevokeAuthorizationForApplication< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { client_id: string; @@ -12400,7 +12442,7 @@ export async function appsRevokeAuthorizationForApplication( * Learn more at {@link https://docs.github.com/rest/reference/apps/#get-an-app} * Tags: apps */ -export async function appsGetBySlug( +export async function appsGetBySlug( ctx: r.Context, params: { app_slug: string; @@ -12445,7 +12487,9 @@ export async function appsGetBySlug( * Learn more at {@link https://docs.github.com/rest/reference/oauth-authorizations#list-your-authorizations} * Tags: oauth-authorizations */ -export async function oauthAuthorizationsListAuthorizations( +export async function oauthAuthorizationsListAuthorizations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -12517,7 +12561,9 @@ export async function oauthAuthorizationsListAuthorizations( * Learn more at {@link https://docs.github.com/rest/reference/oauth-authorizations#create-a-new-authorization} * Tags: oauth-authorizations */ -export async function oauthAuthorizationsCreateAuthorization( +export async function oauthAuthorizationsCreateAuthorization< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: { @@ -12615,7 +12661,7 @@ export async function oauthAuthorizationsCreateAuthorization( * Tags: oauth-authorizations */ export async function oauthAuthorizationsGetOrCreateAuthorizationForApp< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -12706,7 +12752,7 @@ export async function oauthAuthorizationsGetOrCreateAuthorizationForApp< * Tags: oauth-authorizations */ export async function oauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprint< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -12772,7 +12818,9 @@ export async function oauthAuthorizationsGetOrCreateAuthorizationForAppAndFinger * Learn more at {@link https://docs.github.com/rest/reference/oauth-authorizations#get-a-single-authorization} * Tags: oauth-authorizations */ -export async function oauthAuthorizationsGetAuthorization( +export async function oauthAuthorizationsGetAuthorization< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { authorization_id: number; @@ -12819,7 +12867,9 @@ export async function oauthAuthorizationsGetAuthorization( * Learn more at {@link https://docs.github.com/rest/reference/oauth-authorizations#update-an-existing-authorization} * Tags: oauth-authorizations */ -export async function oauthAuthorizationsUpdateAuthorization( +export async function oauthAuthorizationsUpdateAuthorization< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { authorization_id: number; @@ -12888,7 +12938,9 @@ export async function oauthAuthorizationsUpdateAuthorization( * Learn more at {@link https://docs.github.com/rest/reference/oauth-authorizations#delete-an-authorization} * Tags: oauth-authorizations */ -export async function oauthAuthorizationsDeleteAuthorization( +export async function oauthAuthorizationsDeleteAuthorization< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { authorization_id: number; @@ -12913,7 +12965,9 @@ export async function oauthAuthorizationsDeleteAuthorization( * Learn more at {@link https://docs.github.com/rest/reference/codes-of-conduct#get-all-codes-of-conduct} * Tags: codes-of-conduct */ -export async function codesOfConductGetAllCodesOfConduct( +export async function codesOfConductGetAllCodesOfConduct< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, opts?: FetcherData, @@ -12933,7 +12987,9 @@ export async function codesOfConductGetAllCodesOfConduct( * Learn more at {@link https://docs.github.com/rest/reference/codes-of-conduct#get-a-code-of-conduct} * Tags: codes-of-conduct */ -export async function codesOfConductGetConductCode( +export async function codesOfConductGetConductCode< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { key: string; @@ -12958,7 +13014,7 @@ export async function codesOfConductGetConductCode( * Learn more at {@link https://docs.github.com/rest/reference/emojis#get-emojis} * Tags: emojis */ -export async function emojisGet( +export async function emojisGet( ctx: r.Context, params: {}, opts?: FetcherData, @@ -12989,7 +13045,7 @@ export async function emojisGet( * Tags: enterprise-admin */ export async function enterpriseAdminGetGithubActionsPermissionsEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13015,7 +13071,7 @@ export async function enterpriseAdminGetGithubActionsPermissionsEnterprise< * Tags: enterprise-admin */ export async function enterpriseAdminSetGithubActionsPermissionsEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13048,7 +13104,7 @@ export async function enterpriseAdminSetGithubActionsPermissionsEnterprise< * Tags: enterprise-admin */ export async function enterpriseAdminListSelectedOrganizationsEnabledGithubActionsEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13087,7 +13143,7 @@ export async function enterpriseAdminListSelectedOrganizationsEnabledGithubActio * Tags: enterprise-admin */ export async function enterpriseAdminSetSelectedOrganizationsEnabledGithubActionsEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13123,7 +13179,7 @@ export async function enterpriseAdminSetSelectedOrganizationsEnabledGithubAction * Tags: enterprise-admin */ export async function enterpriseAdminEnableSelectedOrganizationGithubActionsEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13153,7 +13209,7 @@ export async function enterpriseAdminEnableSelectedOrganizationGithubActionsEnte * Tags: enterprise-admin */ export async function enterpriseAdminDisableSelectedOrganizationGithubActionsEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13181,7 +13237,9 @@ export async function enterpriseAdminDisableSelectedOrganizationGithubActionsEnt * Learn more at {@link https://docs.github.com/rest/reference/enterprise-admin#get-allowed-actions-for-an-enterprise} * Tags: enterprise-admin */ -export async function enterpriseAdminGetAllowedActionsEnterprise( +export async function enterpriseAdminGetAllowedActionsEnterprise< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { enterprise: string; @@ -13207,7 +13265,9 @@ export async function enterpriseAdminGetAllowedActionsEnterprise( * Learn more at {@link https://docs.github.com/rest/reference/enterprise-admin#set-allowed-actions-for-an-enterprise} * Tags: enterprise-admin */ -export async function enterpriseAdminSetAllowedActionsEnterprise( +export async function enterpriseAdminSetAllowedActionsEnterprise< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { enterprise: string; @@ -13234,7 +13294,7 @@ export async function enterpriseAdminSetAllowedActionsEnterprise( * Tags: enterprise-admin */ export async function enterpriseAdminListSelfHostedRunnerGroupsForEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13271,7 +13331,7 @@ export async function enterpriseAdminListSelfHostedRunnerGroupsForEnterprise< * Tags: enterprise-admin */ export async function enterpriseAdminCreateSelfHostedRunnerGroupForEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13316,7 +13376,7 @@ export async function enterpriseAdminCreateSelfHostedRunnerGroupForEnterprise< * Tags: enterprise-admin */ export async function enterpriseAdminGetSelfHostedRunnerGroupForEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13343,7 +13403,7 @@ export async function enterpriseAdminGetSelfHostedRunnerGroupForEnterprise< * Tags: enterprise-admin */ export async function enterpriseAdminUpdateSelfHostedRunnerGroupForEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13382,7 +13442,7 @@ export async function enterpriseAdminUpdateSelfHostedRunnerGroupForEnterprise< * Tags: enterprise-admin */ export async function enterpriseAdminDeleteSelfHostedRunnerGroupFromEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13409,7 +13469,7 @@ export async function enterpriseAdminDeleteSelfHostedRunnerGroupFromEnterprise< * Tags: enterprise-admin */ export async function enterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13447,7 +13507,7 @@ export async function enterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnter * Tags: enterprise-admin */ export async function enterpriseAdminSetOrgAccessToSelfHostedRunnerGroupInEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13483,7 +13543,7 @@ export async function enterpriseAdminSetOrgAccessToSelfHostedRunnerGroupInEnterp * Tags: enterprise-admin */ export async function enterpriseAdminAddOrgAccessToSelfHostedRunnerGroupInEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13513,7 +13573,7 @@ export async function enterpriseAdminAddOrgAccessToSelfHostedRunnerGroupInEnterp * Tags: enterprise-admin */ export async function enterpriseAdminRemoveOrgAccessToSelfHostedRunnerGroupInEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13541,7 +13601,7 @@ export async function enterpriseAdminRemoveOrgAccessToSelfHostedRunnerGroupInEnt * Tags: enterprise-admin */ export async function enterpriseAdminListSelfHostedRunnersInGroupForEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13579,7 +13639,7 @@ export async function enterpriseAdminListSelfHostedRunnersInGroupForEnterprise< * Tags: enterprise-admin */ export async function enterpriseAdminSetSelfHostedRunnersInGroupForEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13614,7 +13674,7 @@ export async function enterpriseAdminSetSelfHostedRunnersInGroupForEnterprise< * Tags: enterprise-admin */ export async function enterpriseAdminAddSelfHostedRunnerToGroupForEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13642,7 +13702,7 @@ export async function enterpriseAdminAddSelfHostedRunnerToGroupForEnterprise< * Tags: enterprise-admin */ export async function enterpriseAdminRemoveSelfHostedRunnerFromGroupForEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13670,7 +13730,7 @@ export async function enterpriseAdminRemoveSelfHostedRunnerFromGroupForEnterpris * Tags: enterprise-admin */ export async function enterpriseAdminListSelfHostedRunnersForEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13707,7 +13767,7 @@ export async function enterpriseAdminListSelfHostedRunnersForEnterprise< * Tags: enterprise-admin */ export async function enterpriseAdminListRunnerApplicationsForEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13743,7 +13803,7 @@ export async function enterpriseAdminListRunnerApplicationsForEnterprise< * Tags: enterprise-admin */ export async function enterpriseAdminCreateRegistrationTokenForEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13786,7 +13846,7 @@ export async function enterpriseAdminCreateRegistrationTokenForEnterprise< * Tags: enterprise-admin */ export async function enterpriseAdminCreateRemoveTokenForEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13818,7 +13878,7 @@ export async function enterpriseAdminCreateRemoveTokenForEnterprise< * Tags: enterprise-admin */ export async function enterpriseAdminGetSelfHostedRunnerForEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13846,7 +13906,7 @@ export async function enterpriseAdminGetSelfHostedRunnerForEnterprise< * Tags: enterprise-admin */ export async function enterpriseAdminDeleteSelfHostedRunnerFromEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -13870,7 +13930,9 @@ export async function enterpriseAdminDeleteSelfHostedRunnerFromEnterprise< * Learn more at {@link https://docs.github.com/rest/reference/enterprise-admin#get-the-audit-log-for-an-enterprise} * Tags: enterprise-admin */ -export async function enterpriseAdminGetAuditLog( +export async function enterpriseAdminGetAuditLog< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { enterprise: string; @@ -13916,7 +13978,9 @@ export async function enterpriseAdminGetAuditLog( * Learn more at {@link https://docs.github.com/rest/reference/billing#get-github-actions-billing-for-an-enterprise} * Tags: billing */ -export async function billingGetGithubActionsBillingGhe( +export async function billingGetGithubActionsBillingGhe< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { enterprise: string; @@ -13944,7 +14008,9 @@ export async function billingGetGithubActionsBillingGhe( * Learn more at {@link https://docs.github.com/rest/reference/billing#get-github-packages-billing-for-an-enterprise} * Tags: billing */ -export async function billingGetGithubPackagesBillingGhe( +export async function billingGetGithubPackagesBillingGhe< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { enterprise: string; @@ -13972,7 +14038,9 @@ export async function billingGetGithubPackagesBillingGhe( * Learn more at {@link https://docs.github.com/rest/reference/billing#get-shared-storage-billing-for-an-enterprise} * Tags: billing */ -export async function billingGetSharedStorageBillingGhe( +export async function billingGetSharedStorageBillingGhe< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { enterprise: string; @@ -13994,7 +14062,9 @@ export async function billingGetSharedStorageBillingGhe( * Learn more at {@link https://docs.github.com/rest/reference/activity#list-public-events} * Tags: activity */ -export async function activityListPublicEvents( +export async function activityListPublicEvents< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -14055,7 +14125,7 @@ export async function activityListPublicEvents( * Learn more at {@link https://docs.github.com/rest/reference/activity#get-feeds} * Tags: activity */ -export async function activityGetFeeds( +export async function activityGetFeeds( ctx: r.Context, params: {}, opts?: FetcherData, @@ -14074,7 +14144,7 @@ export async function activityGetFeeds( * Learn more at {@link https://docs.github.com/rest/reference/gists#list-gists-for-the-authenticated-user} * Tags: gists */ -export async function gistsList( +export async function gistsList( ctx: r.Context, params: { since?: Date; @@ -14111,7 +14181,7 @@ export async function gistsList( * Learn more at {@link https://docs.github.com/rest/reference/gists#create-a-gist} * Tags: gists */ -export async function gistsCreate( +export async function gistsCreate( ctx: r.Context, params: {}, body: { @@ -14172,7 +14242,7 @@ export async function gistsCreate( * Learn more at {@link https://docs.github.com/rest/reference/gists#list-public-gists} * Tags: gists */ -export async function gistsListPublic( +export async function gistsListPublic( ctx: r.Context, params: { since?: Date; @@ -14207,7 +14277,7 @@ export async function gistsListPublic( * Learn more at {@link https://docs.github.com/rest/reference/gists#list-starred-gists} * Tags: gists */ -export async function gistsListStarred( +export async function gistsListStarred( ctx: r.Context, params: { since?: Date; @@ -14241,7 +14311,7 @@ export async function gistsListStarred( * Learn more at {@link https://docs.github.com/rest/reference/gists#get-a-gist} * Tags: gists */ -export async function gistsGet( +export async function gistsGet( ctx: r.Context, params: { gist_id: string; @@ -14285,7 +14355,7 @@ export async function gistsGet( * Learn more at {@link https://docs.github.com/rest/reference/gists/#update-a-gist} * Tags: gists */ -export async function gistsUpdate( +export async function gistsUpdate( ctx: r.Context, params: { gist_id: string; @@ -14317,7 +14387,7 @@ export async function gistsUpdate( * Learn more at {@link https://docs.github.com/rest/reference/gists#delete-a-gist} * Tags: gists */ -export async function gistsDelete( +export async function gistsDelete( ctx: r.Context, params: { gist_id: string; @@ -14342,7 +14412,7 @@ export async function gistsDelete( * Learn more at {@link https://docs.github.com/rest/reference/gists#list-gist-comments} * Tags: gists */ -export async function gistsListComments( +export async function gistsListComments( ctx: r.Context, params: { gist_id: string; @@ -14376,7 +14446,7 @@ export async function gistsListComments( * Learn more at {@link https://docs.github.com/rest/reference/gists#create-a-gist-comment} * Tags: gists */ -export async function gistsCreateComment( +export async function gistsCreateComment( ctx: r.Context, params: { gist_id: string; @@ -14415,7 +14485,7 @@ export async function gistsCreateComment( * Learn more at {@link https://docs.github.com/rest/reference/gists#get-a-gist-comment} * Tags: gists */ -export async function gistsGetComment( +export async function gistsGetComment( ctx: r.Context, params: { gist_id: string; @@ -14458,7 +14528,7 @@ export async function gistsGetComment( * Learn more at {@link https://docs.github.com/rest/reference/gists#update-a-gist-comment} * Tags: gists */ -export async function gistsUpdateComment( +export async function gistsUpdateComment( ctx: r.Context, params: { gist_id: string; @@ -14495,7 +14565,7 @@ export async function gistsUpdateComment( * Learn more at {@link https://docs.github.com/rest/reference/gists#delete-a-gist-comment} * Tags: gists */ -export async function gistsDeleteComment( +export async function gistsDeleteComment( ctx: r.Context, params: { gist_id: string; @@ -14521,7 +14591,7 @@ export async function gistsDeleteComment( * Learn more at {@link https://docs.github.com/rest/reference/gists#list-gist-commits} * Tags: gists */ -export async function gistsListCommits( +export async function gistsListCommits( ctx: r.Context, params: { gist_id: string; @@ -14555,7 +14625,7 @@ export async function gistsListCommits( * Learn more at {@link https://docs.github.com/rest/reference/gists#list-gist-forks} * Tags: gists */ -export async function gistsListForks( +export async function gistsListForks( ctx: r.Context, params: { gist_id: string; @@ -14590,7 +14660,7 @@ export async function gistsListForks( * Learn more at {@link https://docs.github.com/rest/reference/gists#fork-a-gist} * Tags: gists */ -export async function gistsFork( +export async function gistsFork( ctx: r.Context, params: { gist_id: string; @@ -14622,7 +14692,9 @@ export async function gistsFork( * Learn more at {@link https://docs.github.com/rest/reference/gists#check-if-a-gist-is-starred} * Tags: gists */ -export async function gistsCheckIsStarred( +export async function gistsCheckIsStarred< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { gist_id: string; @@ -14649,7 +14721,7 @@ export async function gistsCheckIsStarred( * Learn more at {@link https://docs.github.com/rest/reference/gists#star-a-gist} * Tags: gists */ -export async function gistsStar( +export async function gistsStar( ctx: r.Context, params: { gist_id: string; @@ -14674,7 +14746,7 @@ export async function gistsStar( * Learn more at {@link https://docs.github.com/rest/reference/gists#unstar-a-gist} * Tags: gists */ -export async function gistsUnstar( +export async function gistsUnstar( ctx: r.Context, params: { gist_id: string; @@ -14699,7 +14771,7 @@ export async function gistsUnstar( * Learn more at {@link https://docs.github.com/rest/reference/gists#get-a-gist-revision} * Tags: gists */ -export async function gistsGetRevision( +export async function gistsGetRevision( ctx: r.Context, params: { gist_id: string; @@ -14733,7 +14805,9 @@ export async function gistsGetRevision( * Learn more at {@link https://docs.github.com/rest/reference/gitignore#get-all-gitignore-templates} * Tags: gitignore */ -export async function gitignoreGetAllTemplates( +export async function gitignoreGetAllTemplates< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, opts?: FetcherData, @@ -14754,7 +14828,9 @@ export async function gitignoreGetAllTemplates( * Learn more at {@link https://docs.github.com/rest/reference/gitignore#get-a-gitignore-template} * Tags: gitignore */ -export async function gitignoreGetTemplate( +export async function gitignoreGetTemplate< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { name: string; @@ -14781,7 +14857,9 @@ export async function gitignoreGetTemplate( * Learn more at {@link https://docs.github.com/rest/reference/apps#list-repositories-accessible-to-the-app-installation} * Tags: apps */ -export async function appsListReposAccessibleToInstallation( +export async function appsListReposAccessibleToInstallation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -14842,7 +14920,9 @@ export async function appsListReposAccessibleToInstallation( * Learn more at {@link https://docs.github.com/rest/reference/apps#revoke-an-installation-access-token} * Tags: apps */ -export async function appsRevokeInstallationAccessToken( +export async function appsRevokeInstallationAccessToken< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, opts?: FetcherData, @@ -14875,7 +14955,7 @@ export async function appsRevokeInstallationAccessToken( * Learn more at {@link https://docs.github.com/rest/reference/issues#list-issues-assigned-to-the-authenticated-user} * Tags: issues */ -export async function issuesList( +export async function issuesList( ctx: r.Context, params: { filter?: @@ -14937,7 +15017,9 @@ export async function issuesList( * Learn more at {@link https://docs.github.com/rest/reference/licenses#get-all-commonly-used-licenses} * Tags: licenses */ -export async function licensesGetAllCommonlyUsed( +export async function licensesGetAllCommonlyUsed< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { featured?: boolean; @@ -14962,7 +15044,7 @@ export async function licensesGetAllCommonlyUsed( * Learn more at {@link https://docs.github.com/rest/reference/licenses#get-a-license} * Tags: licenses */ -export async function licensesGet( +export async function licensesGet( ctx: r.Context, params: { license: string; @@ -14987,7 +15069,7 @@ export async function licensesGet( * Learn more at {@link https://docs.github.com/rest/reference/markdown#render-a-markdown-document} * Tags: markdown */ -export async function markdownRender( +export async function markdownRender( ctx: r.Context, params: {}, body: { @@ -15025,7 +15107,7 @@ export async function markdownRender( * Learn more at {@link https://docs.github.com/rest/reference/markdown#render-a-markdown-document-in-raw-mode} * Tags: markdown */ -export async function markdownRenderRaw( +export async function markdownRenderRaw( ctx: r.Context, params: {}, body: string, @@ -15054,7 +15136,9 @@ export async function markdownRenderRaw( * Learn more at {@link https://docs.github.com/rest/reference/apps#get-a-subscription-plan-for-an-account} * Tags: apps */ -export async function appsGetSubscriptionPlanForAccount( +export async function appsGetSubscriptionPlanForAccount< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account_id: number; @@ -15085,7 +15169,7 @@ export async function appsGetSubscriptionPlanForAccount( * Learn more at {@link https://docs.github.com/rest/reference/apps#list-plans} * Tags: apps */ -export async function appsListPlans( +export async function appsListPlans( ctx: r.Context, params: { per_page?: number; @@ -15121,7 +15205,9 @@ export async function appsListPlans( * Learn more at {@link https://docs.github.com/rest/reference/apps#list-accounts-for-a-plan} * Tags: apps */ -export async function appsListAccountsForPlan( +export async function appsListAccountsForPlan< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { plan_id: number; @@ -15160,7 +15246,9 @@ export async function appsListAccountsForPlan( * Learn more at {@link https://docs.github.com/rest/reference/apps#get-a-subscription-plan-for-an-account-stubbed} * Tags: apps */ -export async function appsGetSubscriptionPlanForAccountStubbed( +export async function appsGetSubscriptionPlanForAccountStubbed< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account_id: number; @@ -15191,7 +15279,9 @@ export async function appsGetSubscriptionPlanForAccountStubbed( * Learn more at {@link https://docs.github.com/rest/reference/apps#list-plans-stubbed} * Tags: apps */ -export async function appsListPlansStubbed( +export async function appsListPlansStubbed< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -15226,7 +15316,9 @@ export async function appsListPlansStubbed( * Learn more at {@link https://docs.github.com/rest/reference/apps#list-accounts-for-a-plan-stubbed} * Tags: apps */ -export async function appsListAccountsForPlanStubbed( +export async function appsListAccountsForPlanStubbed< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { plan_id: number; @@ -15260,7 +15352,7 @@ export async function appsListAccountsForPlanStubbed( * Learn more at {@link https://docs.github.com/rest/reference/meta#get-github-meta-information} * Tags: meta */ -export async function metaGet( +export async function metaGet( ctx: r.Context, params: {}, opts?: FetcherData, @@ -15280,7 +15372,9 @@ export async function metaGet( * Learn more at {@link https://docs.github.com/rest/reference/activity#list-public-events-for-a-network-of-repositories} * Tags: activity */ -export async function activityListPublicEventsForRepoNetwork( +export async function activityListPublicEventsForRepoNetwork< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -15318,7 +15412,7 @@ export async function activityListPublicEventsForRepoNetwork( * Tags: activity */ export async function activityListNotificationsForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -15370,7 +15464,9 @@ export async function activityListNotificationsForAuthenticatedUser< * Learn more at {@link https://docs.github.com/rest/reference/activity#mark-notifications-as-read} * Tags: activity */ -export async function activityMarkNotificationsAsRead( +export async function activityMarkNotificationsAsRead< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: { @@ -15410,7 +15506,7 @@ export async function activityMarkNotificationsAsRead( * Learn more at {@link https://docs.github.com/rest/reference/activity#get-a-thread} * Tags: activity */ -export async function activityGetThread( +export async function activityGetThread( ctx: r.Context, params: { thread_id: number; @@ -15441,7 +15537,9 @@ export async function activityGetThread( * Learn more at {@link https://docs.github.com/rest/reference/activity#mark-a-thread-as-read} * Tags: activity */ -export async function activityMarkThreadAsRead( +export async function activityMarkThreadAsRead< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { thread_id: number; @@ -15472,7 +15570,7 @@ export async function activityMarkThreadAsRead( * Tags: activity */ export async function activityGetThreadSubscriptionForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -15514,7 +15612,9 @@ export async function activityGetThreadSubscriptionForAuthenticatedUser< * Learn more at {@link https://docs.github.com/rest/reference/activity#set-a-thread-subscription} * Tags: activity */ -export async function activitySetThreadSubscription( +export async function activitySetThreadSubscription< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { thread_id: number; @@ -15557,7 +15657,9 @@ export async function activitySetThreadSubscription( * Learn more at {@link https://docs.github.com/rest/reference/activity#delete-a-thread-subscription} * Tags: activity */ -export async function activityDeleteThreadSubscription( +export async function activityDeleteThreadSubscription< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { thread_id: number; @@ -15583,7 +15685,7 @@ export async function activityDeleteThreadSubscription( * Learn more at {@link https://docs.github.com/rest/reference/meta#get-octocat} * Tags: meta */ -export async function metaGetOctocat( +export async function metaGetOctocat( ctx: r.Context, params: { s?: string; @@ -15610,7 +15712,7 @@ export async function metaGetOctocat( * Learn more at {@link https://docs.github.com/rest/reference/orgs#list-organizations} * Tags: orgs */ -export async function orgsList( +export async function orgsList( ctx: r.Context, params: { since?: number; @@ -15644,7 +15746,7 @@ export async function orgsList( * Learn more at {@link https://docs.github.com/rest/reference/orgs#get-an-organization} * Tags: orgs */ -export async function orgsGet( +export async function orgsGet( ctx: r.Context, params: { org: string; @@ -15681,7 +15783,7 @@ export async function orgsGet( * Learn more at {@link https://docs.github.com/rest/reference/orgs/#update-an-organization} * Tags: orgs */ -export async function orgsUpdate( +export async function orgsUpdate( ctx: r.Context, params: { org: string; @@ -15835,7 +15937,7 @@ export async function orgsUpdate( * Tags: actions */ export async function actionsGetGithubActionsPermissionsOrganization< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -15866,7 +15968,7 @@ export async function actionsGetGithubActionsPermissionsOrganization< * Tags: actions */ export async function actionsSetGithubActionsPermissionsOrganization< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -15900,7 +16002,7 @@ export async function actionsSetGithubActionsPermissionsOrganization< * Tags: actions */ export async function actionsListSelectedRepositoriesEnabledGithubActionsOrganization< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -15952,7 +16054,7 @@ export async function actionsListSelectedRepositoriesEnabledGithubActionsOrganiz * Tags: actions */ export async function actionsSetSelectedRepositoriesEnabledGithubActionsOrganization< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -15989,7 +16091,7 @@ export async function actionsSetSelectedRepositoriesEnabledGithubActionsOrganiza * Tags: actions */ export async function actionsEnableSelectedRepositoryGithubActionsOrganization< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -16020,7 +16122,7 @@ export async function actionsEnableSelectedRepositoryGithubActionsOrganization< * Tags: actions */ export async function actionsDisableSelectedRepositoryGithubActionsOrganization< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -16049,7 +16151,9 @@ export async function actionsDisableSelectedRepositoryGithubActionsOrganization< * Learn more at {@link https://docs.github.com/rest/reference/actions#get-allowed-actions-for-an-organization} * Tags: actions */ -export async function actionsGetAllowedActionsOrganization( +export async function actionsGetAllowedActionsOrganization< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -16083,7 +16187,9 @@ export async function actionsGetAllowedActionsOrganization( * Learn more at {@link https://docs.github.com/rest/reference/actions#set-allowed-actions-for-an-organization} * Tags: actions */ -export async function actionsSetAllowedActionsOrganization( +export async function actionsSetAllowedActionsOrganization< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -16113,7 +16219,9 @@ export async function actionsSetAllowedActionsOrganization( * Learn more at {@link https://docs.github.com/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization} * Tags: actions */ -export async function actionsListSelfHostedRunnerGroupsForOrg( +export async function actionsListSelfHostedRunnerGroupsForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -16153,7 +16261,9 @@ export async function actionsListSelfHostedRunnerGroupsForOrg( * Learn more at {@link https://docs.github.com/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization} * Tags: actions */ -export async function actionsCreateSelfHostedRunnerGroupForOrg( +export async function actionsCreateSelfHostedRunnerGroupForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -16201,7 +16311,9 @@ export async function actionsCreateSelfHostedRunnerGroupForOrg( * Learn more at {@link https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-group-for-an-organization} * Tags: actions */ -export async function actionsGetSelfHostedRunnerGroupForOrg( +export async function actionsGetSelfHostedRunnerGroupForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -16230,7 +16342,9 @@ export async function actionsGetSelfHostedRunnerGroupForOrg( * Learn more at {@link https://docs.github.com/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization} * Tags: actions */ -export async function actionsUpdateSelfHostedRunnerGroupForOrg( +export async function actionsUpdateSelfHostedRunnerGroupForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -16269,7 +16383,9 @@ export async function actionsUpdateSelfHostedRunnerGroupForOrg( * Learn more at {@link https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-organization} * Tags: actions */ -export async function actionsDeleteSelfHostedRunnerGroupFromOrg( +export async function actionsDeleteSelfHostedRunnerGroupFromOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -16300,7 +16416,7 @@ export async function actionsDeleteSelfHostedRunnerGroupFromOrg( * Tags: actions */ export async function actionsListRepoAccessToSelfHostedRunnerGroupInOrg< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -16358,7 +16474,7 @@ export async function actionsListRepoAccessToSelfHostedRunnerGroupInOrg< * Tags: actions */ export async function actionsSetRepoAccessToSelfHostedRunnerGroupInOrg< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -16400,7 +16516,7 @@ export async function actionsSetRepoAccessToSelfHostedRunnerGroupInOrg< * Tags: actions */ export async function actionsAddRepoAccessToSelfHostedRunnerGroupInOrg< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -16435,7 +16551,7 @@ export async function actionsAddRepoAccessToSelfHostedRunnerGroupInOrg< * Tags: actions */ export async function actionsRemoveRepoAccessToSelfHostedRunnerGroupInOrg< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -16466,7 +16582,9 @@ export async function actionsRemoveRepoAccessToSelfHostedRunnerGroupInOrg< * Learn more at {@link https://docs.github.com/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-organization} * Tags: actions */ -export async function actionsListSelfHostedRunnersInGroupForOrg( +export async function actionsListSelfHostedRunnersInGroupForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -16506,7 +16624,9 @@ export async function actionsListSelfHostedRunnersInGroupForOrg( * Learn more at {@link https://docs.github.com/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization} * Tags: actions */ -export async function actionsSetSelfHostedRunnersInGroupForOrg( +export async function actionsSetSelfHostedRunnersInGroupForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -16544,7 +16664,9 @@ export async function actionsSetSelfHostedRunnersInGroupForOrg( * Learn more at {@link https://docs.github.com/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-organization} * Tags: actions */ -export async function actionsAddSelfHostedRunnerToGroupForOrg( +export async function actionsAddSelfHostedRunnerToGroupForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -16575,7 +16697,9 @@ export async function actionsAddSelfHostedRunnerToGroupForOrg( * Learn more at {@link https://docs.github.com/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization} * Tags: actions */ -export async function actionsRemoveSelfHostedRunnerFromGroupForOrg( +export async function actionsRemoveSelfHostedRunnerFromGroupForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -16601,7 +16725,9 @@ export async function actionsRemoveSelfHostedRunnerFromGroupForOrg( * Learn more at {@link https://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-an-organization} * Tags: actions */ -export async function actionsListSelfHostedRunnersForOrg( +export async function actionsListSelfHostedRunnersForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -16636,7 +16762,9 @@ export async function actionsListSelfHostedRunnersForOrg( * Learn more at {@link https://docs.github.com/rest/reference/actions#list-runner-applications-for-an-organization} * Tags: actions */ -export async function actionsListRunnerApplicationsForOrg( +export async function actionsListRunnerApplicationsForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -16670,7 +16798,9 @@ export async function actionsListRunnerApplicationsForOrg( * Learn more at {@link https://docs.github.com/rest/reference/actions#create-a-registration-token-for-an-organization} * Tags: actions */ -export async function actionsCreateRegistrationTokenForOrg( +export async function actionsCreateRegistrationTokenForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -16711,7 +16841,9 @@ export async function actionsCreateRegistrationTokenForOrg( * Learn more at {@link https://docs.github.com/rest/reference/actions#create-a-remove-token-for-an-organization} * Tags: actions */ -export async function actionsCreateRemoveTokenForOrg( +export async function actionsCreateRemoveTokenForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -16741,7 +16873,9 @@ export async function actionsCreateRemoveTokenForOrg( * Learn more at {@link https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-an-organization} * Tags: actions */ -export async function actionsGetSelfHostedRunnerForOrg( +export async function actionsGetSelfHostedRunnerForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -16767,7 +16901,9 @@ export async function actionsGetSelfHostedRunnerForOrg( * Learn more at {@link https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization} * Tags: actions */ -export async function actionsDeleteSelfHostedRunnerFromOrg( +export async function actionsDeleteSelfHostedRunnerFromOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -16791,7 +16927,9 @@ export async function actionsDeleteSelfHostedRunnerFromOrg( * Learn more at {@link https://docs.github.com/rest/reference/actions#list-organization-secrets} * Tags: actions */ -export async function actionsListOrgSecrets( +export async function actionsListOrgSecrets< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -16841,7 +16979,9 @@ export async function actionsListOrgSecrets( * Learn more at {@link https://docs.github.com/rest/reference/actions#get-an-organization-public-key} * Tags: actions */ -export async function actionsGetOrgPublicKey( +export async function actionsGetOrgPublicKey< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -16864,7 +17004,9 @@ export async function actionsGetOrgPublicKey( * Learn more at {@link https://docs.github.com/rest/reference/actions#get-an-organization-secret} * Tags: actions */ -export async function actionsGetOrgSecret( +export async function actionsGetOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -16991,7 +17133,9 @@ export async function actionsGetOrgSecret( * Learn more at {@link https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret} * Tags: actions */ -export async function actionsCreateOrUpdateOrgSecret( +export async function actionsCreateOrUpdateOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -17039,7 +17183,9 @@ export async function actionsCreateOrUpdateOrgSecret( * Learn more at {@link https://docs.github.com/rest/reference/actions#delete-an-organization-secret} * Tags: actions */ -export async function actionsDeleteOrgSecret( +export async function actionsDeleteOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -17063,7 +17209,9 @@ export async function actionsDeleteOrgSecret( * Learn more at {@link https://docs.github.com/rest/reference/actions#list-selected-repositories-for-an-organization-secret} * Tags: actions */ -export async function actionsListSelectedReposForOrgSecret( +export async function actionsListSelectedReposForOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -17116,7 +17264,9 @@ export async function actionsListSelectedReposForOrgSecret( * Learn more at {@link https://docs.github.com/rest/reference/actions#set-selected-repositories-for-an-organization-secret} * Tags: actions */ -export async function actionsSetSelectedReposForOrgSecret( +export async function actionsSetSelectedReposForOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -17149,7 +17299,9 @@ export async function actionsSetSelectedReposForOrgSecret( * Learn more at {@link https://docs.github.com/rest/reference/actions#add-selected-repository-to-an-organization-secret} * Tags: actions */ -export async function actionsAddSelectedRepoToOrgSecret( +export async function actionsAddSelectedRepoToOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -17176,7 +17328,9 @@ export async function actionsAddSelectedRepoToOrgSecret( * Learn more at {@link https://docs.github.com/rest/reference/actions#remove-selected-repository-from-an-organization-secret} * Tags: actions */ -export async function actionsRemoveSelectedRepoFromOrgSecret( +export async function actionsRemoveSelectedRepoFromOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -17204,7 +17358,7 @@ export async function actionsRemoveSelectedRepoFromOrgSecret( * Learn more at {@link https://docs.github.com/rest/reference/orgs#get-audit-log} * Tags: orgs */ -export async function orgsGetAuditLog( +export async function orgsGetAuditLog( ctx: r.Context, params: { org: string; @@ -17241,7 +17395,9 @@ export async function orgsGetAuditLog( * Learn more at {@link https://docs.github.com/rest/reference/orgs#list-users-blocked-by-an-organization} * Tags: orgs */ -export async function orgsListBlockedUsers( +export async function orgsListBlockedUsers< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -17270,7 +17426,9 @@ export async function orgsListBlockedUsers( * Learn more at {@link https://docs.github.com/rest/reference/orgs#check-if-a-user-is-blocked-by-an-organization} * Tags: orgs */ -export async function orgsCheckBlockedUser( +export async function orgsCheckBlockedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -17291,7 +17449,7 @@ export async function orgsCheckBlockedUser( * Learn more at {@link https://docs.github.com/rest/reference/orgs#block-a-user-from-an-organization} * Tags: orgs */ -export async function orgsBlockUser( +export async function orgsBlockUser( ctx: r.Context, params: { org: string; @@ -17314,7 +17472,7 @@ export async function orgsBlockUser( * Learn more at {@link https://docs.github.com/rest/reference/orgs#unblock-a-user-from-an-organization} * Tags: orgs */ -export async function orgsUnblockUser( +export async function orgsUnblockUser( ctx: r.Context, params: { org: string; @@ -17343,7 +17501,9 @@ export async function orgsUnblockUser( * Learn more at {@link https://docs.github.com/rest/reference/orgs#list-saml-sso-authorizations-for-an-organization} * Tags: orgs */ -export async function orgsListSamlSsoAuthorizations( +export async function orgsListSamlSsoAuthorizations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -17380,7 +17540,9 @@ export async function orgsListSamlSsoAuthorizations( * Learn more at {@link https://docs.github.com/rest/reference/orgs#remove-a-saml-sso-authorization-for-an-organization} * Tags: orgs */ -export async function orgsRemoveSamlSsoAuthorization( +export async function orgsRemoveSamlSsoAuthorization< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -17401,7 +17563,9 @@ export async function orgsRemoveSamlSsoAuthorization( * Learn more at {@link https://docs.github.com/rest/reference/activity#list-public-organization-events} * Tags: activity */ -export async function activityListPublicOrgEvents( +export async function activityListPublicOrgEvents< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -17432,7 +17596,9 @@ export async function activityListPublicOrgEvents( * Learn more at {@link https://docs.github.com/rest/reference/orgs#list-failed-organization-invitations} * Tags: orgs */ -export async function orgsListFailedInvitations( +export async function orgsListFailedInvitations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -17458,7 +17624,7 @@ export async function orgsListFailedInvitations( * Learn more at {@link https://docs.github.com/rest/reference/orgs#list-organization-webhooks} * Tags: orgs */ -export async function orgsListWebhooks( +export async function orgsListWebhooks( ctx: r.Context, params: { org: string; @@ -17490,7 +17656,7 @@ export async function orgsListWebhooks( * Learn more at {@link https://docs.github.com/rest/reference/orgs#create-an-organization-webhook} * Tags: orgs */ -export async function orgsCreateWebhook( +export async function orgsCreateWebhook( ctx: r.Context, params: { org: string; @@ -17559,7 +17725,7 @@ export async function orgsCreateWebhook( * Learn more at {@link https://docs.github.com/rest/reference/orgs#get-an-organization-webhook} * Tags: orgs */ -export async function orgsGetWebhook( +export async function orgsGetWebhook( ctx: r.Context, params: { org: string; @@ -17590,7 +17756,7 @@ export async function orgsGetWebhook( * Learn more at {@link https://docs.github.com/rest/reference/orgs#update-an-organization-webhook} * Tags: orgs */ -export async function orgsUpdateWebhook( +export async function orgsUpdateWebhook( ctx: r.Context, params: { org: string; @@ -17650,7 +17816,7 @@ export async function orgsUpdateWebhook( * Learn more at {@link https://docs.github.com/rest/reference/orgs#delete-an-organization-webhook} * Tags: orgs */ -export async function orgsDeleteWebhook( +export async function orgsDeleteWebhook( ctx: r.Context, params: { org: string; @@ -17676,7 +17842,9 @@ export async function orgsDeleteWebhook( * Learn more at {@link https://docs.github.com/rest/reference/orgs#get-a-webhook-configuration-for-an-organization} * Tags: orgs */ -export async function orgsGetWebhookConfigForOrg( +export async function orgsGetWebhookConfigForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -17703,7 +17871,9 @@ export async function orgsGetWebhookConfigForOrg( * Learn more at {@link https://docs.github.com/rest/reference/orgs#update-a-webhook-configuration-for-an-organization} * Tags: orgs */ -export async function orgsUpdateWebhookConfigForOrg( +export async function orgsUpdateWebhookConfigForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -17732,7 +17902,9 @@ export async function orgsUpdateWebhookConfigForOrg( * Learn more at {@link https://docs.github.com/rest/reference/orgs#list-deliveries-for-an-organization-webhook} * Tags: orgs */ -export async function orgsListWebhookDeliveries( +export async function orgsListWebhookDeliveries< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -17769,7 +17941,9 @@ export async function orgsListWebhookDeliveries( * Learn more at {@link https://docs.github.com/rest/reference/orgs#get-a-webhook-delivery-for-an-organization-webhook} * Tags: orgs */ -export async function orgsGetWebhookDelivery( +export async function orgsGetWebhookDelivery< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -17802,7 +17976,9 @@ export async function orgsGetWebhookDelivery( * Learn more at {@link https://docs.github.com/rest/reference/orgs#redeliver-a-delivery-for-an-organization-webhook} * Tags: orgs */ -export async function orgsRedeliverWebhookDelivery( +export async function orgsRedeliverWebhookDelivery< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -17829,7 +18005,7 @@ export async function orgsRedeliverWebhookDelivery( * Learn more at {@link https://docs.github.com/rest/reference/orgs#ping-an-organization-webhook} * Tags: orgs */ -export async function orgsPingWebhook( +export async function orgsPingWebhook( ctx: r.Context, params: { org: string; @@ -17855,7 +18031,9 @@ export async function orgsPingWebhook( * Learn more at {@link https://docs.github.com/rest/reference/apps#get-an-organization-installation-for-the-authenticated-app} * Tags: apps */ -export async function appsGetOrgInstallation( +export async function appsGetOrgInstallation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -17883,7 +18061,9 @@ export async function appsGetOrgInstallation( * Learn more at {@link https://docs.github.com/rest/reference/orgs#list-app-installations-for-an-organization} * Tags: orgs */ -export async function orgsListAppInstallations( +export async function orgsListAppInstallations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -17932,7 +18112,9 @@ export async function orgsListAppInstallations( * Learn more at {@link https://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-an-organization} * Tags: interactions */ -export async function interactionsGetRestrictionsForOrg( +export async function interactionsGetRestrictionsForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -17965,7 +18147,9 @@ export async function interactionsGetRestrictionsForOrg( * Learn more at {@link https://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-an-organization} * Tags: interactions */ -export async function interactionsSetRestrictionsForOrg( +export async function interactionsSetRestrictionsForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -18000,7 +18184,9 @@ export async function interactionsSetRestrictionsForOrg( * Learn more at {@link https://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-for-an-organization} * Tags: interactions */ -export async function interactionsRemoveRestrictionsForOrg( +export async function interactionsRemoveRestrictionsForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -18023,7 +18209,9 @@ export async function interactionsRemoveRestrictionsForOrg( * Learn more at {@link https://docs.github.com/rest/reference/orgs#list-pending-organization-invitations} * Tags: orgs */ -export async function orgsListPendingInvitations( +export async function orgsListPendingInvitations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -18059,7 +18247,9 @@ export async function orgsListPendingInvitations( * Learn more at {@link https://docs.github.com/rest/reference/orgs#create-an-organization-invitation} * Tags: orgs */ -export async function orgsCreateInvitation( +export async function orgsCreateInvitation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -18111,7 +18301,9 @@ export async function orgsCreateInvitation( * Learn more at {@link https://docs.github.com/rest/reference/orgs#cancel-an-organization-invitation} * Tags: orgs */ -export async function orgsCancelInvitation( +export async function orgsCancelInvitation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -18138,7 +18330,9 @@ export async function orgsCancelInvitation( * Learn more at {@link https://docs.github.com/rest/reference/orgs#list-organization-invitation-teams} * Tags: orgs */ -export async function orgsListInvitationTeams( +export async function orgsListInvitationTeams< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -18172,7 +18366,7 @@ export async function orgsListInvitationTeams( * Learn more at {@link https://docs.github.com/rest/reference/issues#list-organization-issues-assigned-to-the-authenticated-user} * Tags: issues */ -export async function issuesListForOrg( +export async function issuesListForOrg( ctx: r.Context, params: { org: string; @@ -18224,7 +18418,7 @@ export async function issuesListForOrg( * Learn more at {@link https://docs.github.com/rest/reference/orgs#list-organization-members} * Tags: orgs */ -export async function orgsListMembers( +export async function orgsListMembers( ctx: r.Context, params: { org: string; @@ -18254,7 +18448,9 @@ export async function orgsListMembers( * Learn more at {@link https://docs.github.com/rest/reference/orgs#check-organization-membership-for-a-user} * Tags: orgs */ -export async function orgsCheckMembershipForUser( +export async function orgsCheckMembershipForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -18281,7 +18477,7 @@ export async function orgsCheckMembershipForUser( * Learn more at {@link https://docs.github.com/rest/reference/orgs#remove-an-organization-member} * Tags: orgs */ -export async function orgsRemoveMember( +export async function orgsRemoveMember( ctx: r.Context, params: { org: string; @@ -18304,7 +18500,9 @@ export async function orgsRemoveMember( * Learn more at {@link https://docs.github.com/rest/reference/orgs#get-organization-membership-for-a-user} * Tags: orgs */ -export async function orgsGetMembershipForUser( +export async function orgsGetMembershipForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -18347,7 +18545,9 @@ export async function orgsGetMembershipForUser( * Learn more at {@link https://docs.github.com/rest/reference/orgs#set-organization-membership-for-a-user} * Tags: orgs */ -export async function orgsSetMembershipForUser( +export async function orgsSetMembershipForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -18388,7 +18588,9 @@ export async function orgsSetMembershipForUser( * Learn more at {@link https://docs.github.com/rest/reference/orgs#remove-organization-membership-for-a-user} * Tags: orgs */ -export async function orgsRemoveMembershipForUser( +export async function orgsRemoveMembershipForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -18414,7 +18616,9 @@ export async function orgsRemoveMembershipForUser( * Learn more at {@link https://docs.github.com/rest/reference/migrations#list-organization-migrations} * Tags: migrations */ -export async function migrationsListForOrg( +export async function migrationsListForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -18445,7 +18649,9 @@ export async function migrationsListForOrg( * Learn more at {@link https://docs.github.com/rest/reference/migrations#start-an-organization-migration} * Tags: migrations */ -export async function migrationsStartForOrg( +export async function migrationsStartForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -18501,7 +18707,9 @@ export async function migrationsStartForOrg( * Learn more at {@link https://docs.github.com/rest/reference/migrations#get-an-organization-migration-status} * Tags: migrations */ -export async function migrationsGetStatusForOrg( +export async function migrationsGetStatusForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -18533,7 +18741,9 @@ export async function migrationsGetStatusForOrg( * Learn more at {@link https://docs.github.com/rest/reference/migrations#download-an-organization-migration-archive} * Tags: migrations */ -export async function migrationsDownloadArchiveForOrg( +export async function migrationsDownloadArchiveForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -18555,7 +18765,9 @@ export async function migrationsDownloadArchiveForOrg( * Learn more at {@link https://docs.github.com/rest/reference/migrations#delete-an-organization-migration-archive} * Tags: migrations */ -export async function migrationsDeleteArchiveForOrg( +export async function migrationsDeleteArchiveForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -18579,7 +18791,9 @@ export async function migrationsDeleteArchiveForOrg( * Learn more at {@link https://docs.github.com/rest/reference/migrations#unlock-an-organization-repository} * Tags: migrations */ -export async function migrationsUnlockRepoForOrg( +export async function migrationsUnlockRepoForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -18602,7 +18816,9 @@ export async function migrationsUnlockRepoForOrg( * Learn more at {@link https://docs.github.com/rest/reference/migrations#list-repositories-in-an-organization-migration} * Tags: migrations */ -export async function migrationsListReposForOrg( +export async function migrationsListReposForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -18637,7 +18853,9 @@ export async function migrationsListReposForOrg( * Learn more at {@link https://docs.github.com/rest/reference/orgs#list-outside-collaborators-for-an-organization} * Tags: orgs */ -export async function orgsListOutsideCollaborators( +export async function orgsListOutsideCollaborators< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -18665,7 +18883,9 @@ export async function orgsListOutsideCollaborators( * Learn more at {@link https://docs.github.com/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator} * Tags: orgs */ -export async function orgsConvertMemberToOutsideCollaborator( +export async function orgsConvertMemberToOutsideCollaborator< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -18692,7 +18912,9 @@ export async function orgsConvertMemberToOutsideCollaborator( * Learn more at {@link https://docs.github.com/rest/reference/orgs#remove-outside-collaborator-from-an-organization} * Tags: orgs */ -export async function orgsRemoveOutsideCollaborator( +export async function orgsRemoveOutsideCollaborator< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -18727,7 +18949,9 @@ export async function orgsRemoveOutsideCollaborator( * Learn more at {@link https://docs.github.com/rest/reference/packages#get-a-package-for-an-organization} * Tags: packages */ -export async function packagesGetPackageForOrganization( +export async function packagesGetPackageForOrganization< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -18770,7 +18994,9 @@ export async function packagesGetPackageForOrganization( * Learn more at {@link https://docs.github.com/rest/reference/packages#delete-a-package-for-an-organization} * Tags: packages */ -export async function packagesDeletePackageForOrg( +export async function packagesDeletePackageForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -18819,7 +19045,9 @@ export async function packagesDeletePackageForOrg( * Learn more at {@link https://docs.github.com/rest/reference/packages#restore-a-package-for-an-organization} * Tags: packages */ -export async function packagesRestorePackageForOrg( +export async function packagesRestorePackageForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -18861,7 +19089,7 @@ export async function packagesRestorePackageForOrg( * Tags: packages */ export async function packagesGetAllPackageVersionsForPackageOwnedByOrg< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -18912,7 +19140,9 @@ export async function packagesGetAllPackageVersionsForPackageOwnedByOrg< * Learn more at {@link https://docs.github.com/rest/reference/packages#get-a-package-version-for-an-organization} * Tags: packages */ -export async function packagesGetPackageVersionForOrganization( +export async function packagesGetPackageVersionForOrganization< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -18957,7 +19187,9 @@ export async function packagesGetPackageVersionForOrganization( * Learn more at {@link https://docs.github.com/rest/reference/packages#delete-a-package-version-for-an-organization} * Tags: packages */ -export async function packagesDeletePackageVersionForOrg( +export async function packagesDeletePackageVersionForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -19007,7 +19239,9 @@ export async function packagesDeletePackageVersionForOrg( * Learn more at {@link https://docs.github.com/rest/reference/packages#restore-a-package-version-for-an-organization} * Tags: packages */ -export async function packagesRestorePackageVersionForOrg( +export async function packagesRestorePackageVersionForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -19043,7 +19277,7 @@ export async function packagesRestorePackageVersionForOrg( * Learn more at {@link https://docs.github.com/rest/reference/projects#list-organization-projects} * Tags: projects */ -export async function projectsListForOrg( +export async function projectsListForOrg( ctx: r.Context, params: { org: string; @@ -19078,7 +19312,9 @@ export async function projectsListForOrg( * Learn more at {@link https://docs.github.com/rest/reference/projects#create-an-organization-project} * Tags: projects */ -export async function projectsCreateForOrg( +export async function projectsCreateForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -19123,7 +19359,9 @@ export async function projectsCreateForOrg( * Learn more at {@link https://docs.github.com/rest/reference/orgs#list-public-organization-members} * Tags: orgs */ -export async function orgsListPublicMembers( +export async function orgsListPublicMembers< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -19146,7 +19384,9 @@ export async function orgsListPublicMembers( * Learn more at {@link https://docs.github.com/rest/reference/orgs#check-public-organization-membership-for-a-user} * Tags: orgs */ -export async function orgsCheckPublicMembershipForUser( +export async function orgsCheckPublicMembershipForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -19172,7 +19412,9 @@ export async function orgsCheckPublicMembershipForUser( * Learn more at {@link https://docs.github.com/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user} * Tags: orgs */ -export async function orgsSetPublicMembershipForAuthenticatedUser( +export async function orgsSetPublicMembershipForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -19194,7 +19436,7 @@ export async function orgsSetPublicMembershipForAuthenticatedUser( * Tags: orgs */ export async function orgsRemovePublicMembershipForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -19217,7 +19459,7 @@ export async function orgsRemovePublicMembershipForAuthenticatedUser< * Learn more at {@link https://docs.github.com/rest/reference/repos#list-organization-repositories} * Tags: repos */ -export async function reposListForOrg( +export async function reposListForOrg( ctx: r.Context, params: { org: string; @@ -19270,7 +19512,7 @@ export async function reposListForOrg( * Learn more at {@link https://docs.github.com/rest/reference/repos#create-an-organization-repository} * Tags: repos */ -export async function reposCreateInOrg( +export async function reposCreateInOrg( ctx: r.Context, params: { org: string; @@ -19392,7 +19634,9 @@ export async function reposCreateInOrg( * Learn more at {@link https://docs.github.com/rest/reference/billing#get-github-actions-billing-for-an-organization} * Tags: billing */ -export async function billingGetGithubActionsBillingOrg( +export async function billingGetGithubActionsBillingOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -19420,7 +19664,9 @@ export async function billingGetGithubActionsBillingOrg( * Learn more at {@link https://docs.github.com/rest/reference/billing#get-github-packages-billing-for-an-organization} * Tags: billing */ -export async function billingGetGithubPackagesBillingOrg( +export async function billingGetGithubPackagesBillingOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -19448,7 +19694,9 @@ export async function billingGetGithubPackagesBillingOrg( * Learn more at {@link https://docs.github.com/rest/reference/billing#get-shared-storage-billing-for-an-organization} * Tags: billing */ -export async function billingGetSharedStorageBillingOrg( +export async function billingGetSharedStorageBillingOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -19480,7 +19728,9 @@ export async function billingGetSharedStorageBillingOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#list-idp-groups-for-an-organization} * Tags: teams */ -export async function teamsListIdpGroupsForOrg( +export async function teamsListIdpGroupsForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -19504,7 +19754,7 @@ export async function teamsListIdpGroupsForOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#list-teams} * Tags: teams */ -export async function teamsList( +export async function teamsList( ctx: r.Context, params: { org: string; @@ -19536,7 +19786,7 @@ export async function teamsList( * Learn more at {@link https://docs.github.com/rest/reference/teams#create-a-team} * Tags: teams */ -export async function teamsCreate( +export async function teamsCreate( ctx: r.Context, params: { org: string; @@ -19612,7 +19862,7 @@ export async function teamsCreate( * Learn more at {@link https://docs.github.com/rest/reference/teams#get-a-team-by-name} * Tags: teams */ -export async function teamsGetByName( +export async function teamsGetByName( ctx: r.Context, params: { org: string; @@ -19645,7 +19895,7 @@ export async function teamsGetByName( * Learn more at {@link https://docs.github.com/rest/reference/teams#update-a-team} * Tags: teams */ -export async function teamsUpdateInOrg( +export async function teamsUpdateInOrg( ctx: r.Context, params: { org: string; @@ -19711,7 +19961,7 @@ export async function teamsUpdateInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#delete-a-team} * Tags: teams */ -export async function teamsDeleteInOrg( +export async function teamsDeleteInOrg( ctx: r.Context, params: { org: string; @@ -19737,7 +19987,9 @@ export async function teamsDeleteInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#list-discussions} * Tags: teams */ -export async function teamsListDiscussionsInOrg( +export async function teamsListDiscussionsInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -19784,7 +20036,9 @@ export async function teamsListDiscussionsInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#create-a-discussion} * Tags: teams */ -export async function teamsCreateDiscussionInOrg( +export async function teamsCreateDiscussionInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -19832,7 +20086,9 @@ export async function teamsCreateDiscussionInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#get-a-discussion} * Tags: teams */ -export async function teamsGetDiscussionInOrg( +export async function teamsGetDiscussionInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -19867,7 +20123,9 @@ export async function teamsGetDiscussionInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#update-a-discussion} * Tags: teams */ -export async function teamsUpdateDiscussionInOrg( +export async function teamsUpdateDiscussionInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -19912,7 +20170,9 @@ export async function teamsUpdateDiscussionInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#delete-a-discussion} * Tags: teams */ -export async function teamsDeleteDiscussionInOrg( +export async function teamsDeleteDiscussionInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -19940,7 +20200,9 @@ export async function teamsDeleteDiscussionInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#list-discussion-comments} * Tags: teams */ -export async function teamsListDiscussionCommentsInOrg( +export async function teamsListDiscussionCommentsInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -19989,7 +20251,9 @@ export async function teamsListDiscussionCommentsInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#create-a-discussion-comment} * Tags: teams */ -export async function teamsCreateDiscussionCommentInOrg( +export async function teamsCreateDiscussionCommentInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20030,7 +20294,9 @@ export async function teamsCreateDiscussionCommentInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#get-a-discussion-comment} * Tags: teams */ -export async function teamsGetDiscussionCommentInOrg( +export async function teamsGetDiscussionCommentInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20065,7 +20331,9 @@ export async function teamsGetDiscussionCommentInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#update-a-discussion-comment} * Tags: teams */ -export async function teamsUpdateDiscussionCommentInOrg( +export async function teamsUpdateDiscussionCommentInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20107,7 +20375,9 @@ export async function teamsUpdateDiscussionCommentInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#delete-a-discussion-comment} * Tags: teams */ -export async function teamsDeleteDiscussionCommentInOrg( +export async function teamsDeleteDiscussionCommentInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20137,7 +20407,9 @@ export async function teamsDeleteDiscussionCommentInOrg( * Learn more at {@link https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion-comment} * Tags: reactions */ -export async function reactionsListForTeamDiscussionCommentInOrg( +export async function reactionsListForTeamDiscussionCommentInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20186,7 +20458,9 @@ export async function reactionsListForTeamDiscussionCommentInOrg( * Learn more at {@link https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion-comment} * Tags: reactions */ -export async function reactionsCreateForTeamDiscussionCommentInOrg( +export async function reactionsCreateForTeamDiscussionCommentInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20238,7 +20512,9 @@ export async function reactionsCreateForTeamDiscussionCommentInOrg( * Learn more at {@link https://docs.github.com/rest/reference/reactions#delete-team-discussion-comment-reaction} * Tags: reactions */ -export async function reactionsDeleteForTeamDiscussionComment( +export async function reactionsDeleteForTeamDiscussionComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20269,7 +20545,9 @@ export async function reactionsDeleteForTeamDiscussionComment( * Learn more at {@link https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion} * Tags: reactions */ -export async function reactionsListForTeamDiscussionInOrg( +export async function reactionsListForTeamDiscussionInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20317,7 +20595,9 @@ export async function reactionsListForTeamDiscussionInOrg( * Learn more at {@link https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion} * Tags: reactions */ -export async function reactionsCreateForTeamDiscussionInOrg( +export async function reactionsCreateForTeamDiscussionInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20367,7 +20647,9 @@ export async function reactionsCreateForTeamDiscussionInOrg( * Learn more at {@link https://docs.github.com/rest/reference/reactions#delete-team-discussion-reaction} * Tags: reactions */ -export async function reactionsDeleteForTeamDiscussion( +export async function reactionsDeleteForTeamDiscussion< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20396,7 +20678,9 @@ export async function reactionsDeleteForTeamDiscussion( * Learn more at {@link https://docs.github.com/rest/reference/teams#list-pending-team-invitations} * Tags: teams */ -export async function teamsListPendingInvitationsInOrg( +export async function teamsListPendingInvitationsInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20424,7 +20708,9 @@ export async function teamsListPendingInvitationsInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#list-team-members} * Tags: teams */ -export async function teamsListMembersInOrg( +export async function teamsListMembersInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20463,7 +20749,9 @@ export async function teamsListMembersInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user} * Tags: teams */ -export async function teamsGetMembershipForUserInOrg( +export async function teamsGetMembershipForUserInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20514,7 +20802,9 @@ export async function teamsGetMembershipForUserInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user} * Tags: teams */ -export async function teamsAddOrUpdateMembershipForUserInOrg( +export async function teamsAddOrUpdateMembershipForUserInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20568,7 +20858,9 @@ export async function teamsAddOrUpdateMembershipForUserInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user} * Tags: teams */ -export async function teamsRemoveMembershipForUserInOrg( +export async function teamsRemoveMembershipForUserInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20594,7 +20886,9 @@ export async function teamsRemoveMembershipForUserInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#list-team-projects} * Tags: teams */ -export async function teamsListProjectsInOrg( +export async function teamsListProjectsInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20623,7 +20917,9 @@ export async function teamsListProjectsInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#check-team-permissions-for-a-project} * Tags: teams */ -export async function teamsCheckPermissionsForProjectInOrg( +export async function teamsCheckPermissionsForProjectInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20653,7 +20949,9 @@ export async function teamsCheckPermissionsForProjectInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#add-or-update-team-project-permissions} * Tags: teams */ -export async function teamsAddOrUpdateProjectPermissionsInOrg( +export async function teamsAddOrUpdateProjectPermissionsInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20702,7 +21000,9 @@ export async function teamsAddOrUpdateProjectPermissionsInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#remove-a-project-from-a-team} * Tags: teams */ -export async function teamsRemoveProjectInOrg( +export async function teamsRemoveProjectInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20728,7 +21028,9 @@ export async function teamsRemoveProjectInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#list-team-repositories} * Tags: teams */ -export async function teamsListReposInOrg( +export async function teamsListReposInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20773,7 +21075,9 @@ export async function teamsListReposInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams/#check-team-permissions-for-a-repository} * Tags: teams */ -export async function teamsCheckPermissionsForRepoInOrg( +export async function teamsCheckPermissionsForRepoInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20820,7 +21124,9 @@ export async function teamsCheckPermissionsForRepoInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams/#add-or-update-team-repository-permissions} * Tags: teams */ -export async function teamsAddOrUpdateRepoPermissionsInOrg( +export async function teamsAddOrUpdateRepoPermissionsInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20864,7 +21170,9 @@ export async function teamsAddOrUpdateRepoPermissionsInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams/#remove-a-repository-from-a-team} * Tags: teams */ -export async function teamsRemoveRepoInOrg( +export async function teamsRemoveRepoInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20895,7 +21203,9 @@ export async function teamsRemoveRepoInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team} * Tags: teams */ -export async function teamsListIdpGroupsInOrg( +export async function teamsListIdpGroupsInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20926,7 +21236,9 @@ export async function teamsListIdpGroupsInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections} * Tags: teams */ -export async function teamsCreateOrUpdateIdpGroupConnectionsInOrg( +export async function teamsCreateOrUpdateIdpGroupConnectionsInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20971,7 +21283,9 @@ export async function teamsCreateOrUpdateIdpGroupConnectionsInOrg( * Learn more at {@link https://docs.github.com/rest/reference/teams#list-child-teams} * Tags: teams */ -export async function teamsListChildInOrg( +export async function teamsListChildInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -20995,7 +21309,7 @@ export async function teamsListChildInOrg( * Learn more at {@link https://docs.github.com/rest/reference/projects#get-a-project-card} * Tags: projects */ -export async function projectsGetCard( +export async function projectsGetCard( ctx: r.Context, params: { card_id: number; @@ -21027,7 +21341,7 @@ export async function projectsGetCard( * Learn more at {@link https://docs.github.com/rest/reference/projects#update-a-project-card} * Tags: projects */ -export async function projectsUpdateCard( +export async function projectsUpdateCard( ctx: r.Context, params: { card_id: number; @@ -21072,7 +21386,7 @@ export async function projectsUpdateCard( * Learn more at {@link https://docs.github.com/rest/reference/projects#delete-a-project-card} * Tags: projects */ -export async function projectsDeleteCard( +export async function projectsDeleteCard( ctx: r.Context, params: { card_id: number; @@ -21105,7 +21419,7 @@ export async function projectsDeleteCard( * Learn more at {@link https://docs.github.com/rest/reference/projects#move-a-project-card} * Tags: projects */ -export async function projectsMoveCard( +export async function projectsMoveCard( ctx: r.Context, params: { card_id: number; @@ -21168,7 +21482,7 @@ export async function projectsMoveCard( * Learn more at {@link https://docs.github.com/rest/reference/projects#get-a-project-column} * Tags: projects */ -export async function projectsGetColumn( +export async function projectsGetColumn( ctx: r.Context, params: { column_id: number; @@ -21200,7 +21514,9 @@ export async function projectsGetColumn( * Learn more at {@link https://docs.github.com/rest/reference/projects#update-a-project-column} * Tags: projects */ -export async function projectsUpdateColumn( +export async function projectsUpdateColumn< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { column_id: number; @@ -21239,7 +21555,9 @@ export async function projectsUpdateColumn( * Learn more at {@link https://docs.github.com/rest/reference/projects#delete-a-project-column} * Tags: projects */ -export async function projectsDeleteColumn( +export async function projectsDeleteColumn< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { column_id: number; @@ -21264,7 +21582,7 @@ export async function projectsDeleteColumn( * Learn more at {@link https://docs.github.com/rest/reference/projects#list-project-cards} * Tags: projects */ -export async function projectsListCards( +export async function projectsListCards( ctx: r.Context, params: { column_id: number; @@ -21299,7 +21617,7 @@ export async function projectsListCards( * Learn more at {@link https://docs.github.com/rest/reference/projects#create-a-project-card} * Tags: projects */ -export async function projectsCreateCard( +export async function projectsCreateCard( ctx: r.Context, params: { column_id: number; @@ -21364,7 +21682,7 @@ export async function projectsCreateCard( * Learn more at {@link https://docs.github.com/rest/reference/projects#move-a-project-column} * Tags: projects */ -export async function projectsMoveColumn( +export async function projectsMoveColumn( ctx: r.Context, params: { column_id: number; @@ -21400,7 +21718,7 @@ export async function projectsMoveColumn( * Learn more at {@link https://docs.github.com/rest/reference/projects#get-a-project} * Tags: projects */ -export async function projectsGet( +export async function projectsGet( ctx: r.Context, params: { project_id: number; @@ -21433,7 +21751,7 @@ export async function projectsGet( * Learn more at {@link https://docs.github.com/rest/reference/projects#update-a-project} * Tags: projects */ -export async function projectsUpdate( +export async function projectsUpdate( ctx: r.Context, params: { project_id: number; @@ -21501,7 +21819,7 @@ export async function projectsUpdate( * Learn more at {@link https://docs.github.com/rest/reference/projects#delete-a-project} * Tags: projects */ -export async function projectsDelete( +export async function projectsDelete( ctx: r.Context, params: { project_id: number; @@ -21539,7 +21857,9 @@ export async function projectsDelete( * Learn more at {@link https://docs.github.com/rest/reference/projects#list-project-collaborators} * Tags: projects */ -export async function projectsListCollaborators( +export async function projectsListCollaborators< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { project_id: number; @@ -21579,7 +21899,9 @@ export async function projectsListCollaborators( * Learn more at {@link https://docs.github.com/rest/reference/projects#add-project-collaborator} * Tags: projects */ -export async function projectsAddCollaborator( +export async function projectsAddCollaborator< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { project_id: number; @@ -21625,7 +21947,9 @@ export async function projectsAddCollaborator( * Learn more at {@link https://docs.github.com/rest/reference/projects#remove-project-collaborator} * Tags: projects */ -export async function projectsRemoveCollaborator( +export async function projectsRemoveCollaborator< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { project_id: number; @@ -21663,7 +21987,9 @@ export async function projectsRemoveCollaborator( * Learn more at {@link https://docs.github.com/rest/reference/projects#get-project-permission-for-a-user} * Tags: projects */ -export async function projectsGetPermissionForUser( +export async function projectsGetPermissionForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { project_id: number; @@ -21698,7 +22024,9 @@ export async function projectsGetPermissionForUser( * Learn more at {@link https://docs.github.com/rest/reference/projects#list-project-columns} * Tags: projects */ -export async function projectsListColumns( +export async function projectsListColumns< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { project_id: number; @@ -21734,7 +22062,9 @@ export async function projectsListColumns( * Learn more at {@link https://docs.github.com/rest/reference/projects#create-a-project-column} * Tags: projects */ -export async function projectsCreateColumn( +export async function projectsCreateColumn< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { project_id: number; @@ -21779,7 +22109,7 @@ export async function projectsCreateColumn( * Learn more at {@link https://docs.github.com/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user} * Tags: rate-limit */ -export async function rateLimitGet( +export async function rateLimitGet( ctx: r.Context, params: {}, opts?: FetcherData, @@ -21810,7 +22140,9 @@ export async function rateLimitGet( * Learn more at {@link https://docs.github.com/rest/reference/reactions/#delete-a-reaction-legacy} * Tags: reactions */ -export async function reactionsDeleteLegacy( +export async function reactionsDeleteLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { reaction_id: number; @@ -21849,7 +22181,7 @@ export async function reactionsDeleteLegacy( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-a-repository} * Tags: repos */ -export async function reposGet( +export async function reposGet( ctx: r.Context, params: { owner: string; @@ -21883,7 +22215,7 @@ export async function reposGet( * Learn more at {@link https://docs.github.com/rest/reference/repos/#update-a-repository} * Tags: repos */ -export async function reposUpdate( +export async function reposUpdate( ctx: r.Context, params: { owner: string; @@ -22019,7 +22351,7 @@ export async function reposUpdate( * Learn more at {@link https://docs.github.com/rest/reference/repos#delete-a-repository} * Tags: repos */ -export async function reposDelete( +export async function reposDelete( ctx: r.Context, params: { owner: string; @@ -22054,7 +22386,9 @@ export async function reposDelete( * Learn more at {@link https://docs.github.com/rest/reference/actions#list-artifacts-for-a-repository} * Tags: actions */ -export async function actionsListArtifactsForRepo( +export async function actionsListArtifactsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22099,7 +22433,7 @@ export async function actionsListArtifactsForRepo( * Learn more at {@link https://docs.github.com/rest/reference/actions#get-an-artifact} * Tags: actions */ -export async function actionsGetArtifact( +export async function actionsGetArtifact( ctx: r.Context, params: { owner: string; @@ -22129,7 +22463,9 @@ export async function actionsGetArtifact( * Learn more at {@link https://docs.github.com/rest/reference/actions#delete-an-artifact} * Tags: actions */ -export async function actionsDeleteArtifact( +export async function actionsDeleteArtifact< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22158,7 +22494,9 @@ export async function actionsDeleteArtifact( * Learn more at {@link https://docs.github.com/rest/reference/actions#download-an-artifact} * Tags: actions */ -export async function actionsDownloadArtifact( +export async function actionsDownloadArtifact< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22184,7 +22522,9 @@ export async function actionsDownloadArtifact( * Learn more at {@link https://docs.github.com/rest/reference/actions#get-a-job-for-a-workflow-run} * Tags: actions */ -export async function actionsGetJobForWorkflowRun( +export async function actionsGetJobForWorkflowRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22219,7 +22559,9 @@ export async function actionsGetJobForWorkflowRun( * Learn more at {@link https://docs.github.com/rest/reference/actions#download-job-logs-for-a-workflow-run} * Tags: actions */ -export async function actionsDownloadJobLogsForWorkflowRun( +export async function actionsDownloadJobLogsForWorkflowRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22247,7 +22589,9 @@ export async function actionsDownloadJobLogsForWorkflowRun( * Learn more at {@link https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-a-repository} * Tags: actions */ -export async function actionsGetGithubActionsPermissionsRepository( +export async function actionsGetGithubActionsPermissionsRepository< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22277,7 +22621,9 @@ export async function actionsGetGithubActionsPermissionsRepository( * Learn more at {@link https://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-a-repository} * Tags: actions */ -export async function actionsSetGithubActionsPermissionsRepository( +export async function actionsSetGithubActionsPermissionsRepository< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22309,7 +22655,9 @@ export async function actionsSetGithubActionsPermissionsRepository( * Learn more at {@link https://docs.github.com/rest/reference/actions#get-allowed-actions-for-a-repository} * Tags: actions */ -export async function actionsGetAllowedActionsRepository( +export async function actionsGetAllowedActionsRepository< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22344,7 +22692,9 @@ export async function actionsGetAllowedActionsRepository( * Learn more at {@link https://docs.github.com/rest/reference/actions#set-allowed-actions-for-a-repository} * Tags: actions */ -export async function actionsSetAllowedActionsRepository( +export async function actionsSetAllowedActionsRepository< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22369,7 +22719,9 @@ export async function actionsSetAllowedActionsRepository( * Learn more at {@link https://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-a-repository} * Tags: actions */ -export async function actionsListSelfHostedRunnersForRepo( +export async function actionsListSelfHostedRunnersForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22405,7 +22757,9 @@ export async function actionsListSelfHostedRunnersForRepo( * Learn more at {@link https://docs.github.com/rest/reference/actions#list-runner-applications-for-a-repository} * Tags: actions */ -export async function actionsListRunnerApplicationsForRepo( +export async function actionsListRunnerApplicationsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22439,7 +22793,9 @@ export async function actionsListRunnerApplicationsForRepo( * Learn more at {@link https://docs.github.com/rest/reference/actions#create-a-registration-token-for-a-repository} * Tags: actions */ -export async function actionsCreateRegistrationTokenForRepo( +export async function actionsCreateRegistrationTokenForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22479,7 +22835,9 @@ export async function actionsCreateRegistrationTokenForRepo( * Learn more at {@link https://docs.github.com/rest/reference/actions#create-a-remove-token-for-a-repository} * Tags: actions */ -export async function actionsCreateRemoveTokenForRepo( +export async function actionsCreateRemoveTokenForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22511,7 +22869,9 @@ export async function actionsCreateRemoveTokenForRepo( * Learn more at {@link https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-a-repository} * Tags: actions */ -export async function actionsGetSelfHostedRunnerForRepo( +export async function actionsGetSelfHostedRunnerForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22539,7 +22899,9 @@ export async function actionsGetSelfHostedRunnerForRepo( * Learn more at {@link https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-from-a-repository} * Tags: actions */ -export async function actionsDeleteSelfHostedRunnerFromRepo( +export async function actionsDeleteSelfHostedRunnerFromRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22568,7 +22930,9 @@ export async function actionsDeleteSelfHostedRunnerFromRepo( * Learn more at {@link https://docs.github.com/rest/reference/actions#list-workflow-runs-for-a-repository} * Tags: actions */ -export async function actionsListWorkflowRunsForRepo( +export async function actionsListWorkflowRunsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22641,7 +23005,9 @@ export async function actionsListWorkflowRunsForRepo( * Learn more at {@link https://docs.github.com/rest/reference/actions#get-a-workflow-run} * Tags: actions */ -export async function actionsGetWorkflowRun( +export async function actionsGetWorkflowRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22674,7 +23040,9 @@ export async function actionsGetWorkflowRun( * Learn more at {@link https://docs.github.com/rest/reference/actions#delete-a-workflow-run} * Tags: actions */ -export async function actionsDeleteWorkflowRun( +export async function actionsDeleteWorkflowRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22698,7 +23066,9 @@ export async function actionsDeleteWorkflowRun( * Learn more at {@link https://docs.github.com/rest/reference/actions#get-the-review-history-for-a-workflow-run} * Tags: actions */ -export async function actionsGetReviewsForRun( +export async function actionsGetReviewsForRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22735,7 +23105,9 @@ export async function actionsGetReviewsForRun( * Learn more at {@link https://docs.github.com/rest/reference/actions#approve-a-workflow-run-for-a-fork-pull-request} * Tags: actions */ -export async function actionsApproveWorkflowRun( +export async function actionsApproveWorkflowRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22764,7 +23136,9 @@ export async function actionsApproveWorkflowRun( * Learn more at {@link https://docs.github.com/rest/reference/actions#list-workflow-run-artifacts} * Tags: actions */ -export async function actionsListWorkflowRunArtifacts( +export async function actionsListWorkflowRunArtifacts< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22809,7 +23183,9 @@ export async function actionsListWorkflowRunArtifacts( * Learn more at {@link https://docs.github.com/rest/reference/actions#cancel-a-workflow-run} * Tags: actions */ -export async function actionsCancelWorkflowRun( +export async function actionsCancelWorkflowRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22835,7 +23211,9 @@ export async function actionsCancelWorkflowRun( * Learn more at {@link https://docs.github.com/rest/reference/actions#list-jobs-for-a-workflow-run} * Tags: actions */ -export async function actionsListJobsForWorkflowRun( +export async function actionsListJobsForWorkflowRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22886,7 +23264,9 @@ export async function actionsListJobsForWorkflowRun( * Learn more at {@link https://docs.github.com/rest/reference/actions#download-workflow-run-logs} * Tags: actions */ -export async function actionsDownloadWorkflowRunLogs( +export async function actionsDownloadWorkflowRunLogs< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22910,7 +23290,9 @@ export async function actionsDownloadWorkflowRunLogs( * Learn more at {@link https://docs.github.com/rest/reference/actions#delete-workflow-run-logs} * Tags: actions */ -export async function actionsDeleteWorkflowRunLogs( +export async function actionsDeleteWorkflowRunLogs< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22937,7 +23319,9 @@ export async function actionsDeleteWorkflowRunLogs( * Learn more at {@link https://docs.github.com/rest/reference/actions#get-pending-deployments-for-a-workflow-run} * Tags: actions */ -export async function actionsGetPendingDeploymentsForRun( +export async function actionsGetPendingDeploymentsForRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -22971,7 +23355,9 @@ export async function actionsGetPendingDeploymentsForRun( * Learn more at {@link https://docs.github.com/rest/reference/actions#review-pending-deployments-for-a-workflow-run} * Tags: actions */ -export async function actionsReviewPendingDeploymentsForRun( +export async function actionsReviewPendingDeploymentsForRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -23023,7 +23409,9 @@ export async function actionsReviewPendingDeploymentsForRun( * Learn more at {@link https://docs.github.com/rest/reference/actions#re-run-a-workflow} * Tags: actions */ -export async function actionsReRunWorkflow( +export async function actionsReRunWorkflow< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -23055,7 +23443,9 @@ export async function actionsReRunWorkflow( * Learn more at {@link https://docs.github.com/rest/reference/actions#get-workflow-run-usage} * Tags: actions */ -export async function actionsGetWorkflowRunUsage( +export async function actionsGetWorkflowRunUsage< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -23080,7 +23470,9 @@ export async function actionsGetWorkflowRunUsage( * Learn more at {@link https://docs.github.com/rest/reference/actions#list-repository-secrets} * Tags: actions */ -export async function actionsListRepoSecrets( +export async function actionsListRepoSecrets< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -23127,7 +23519,9 @@ export async function actionsListRepoSecrets( * Learn more at {@link https://docs.github.com/rest/reference/actions#get-a-repository-public-key} * Tags: actions */ -export async function actionsGetRepoPublicKey( +export async function actionsGetRepoPublicKey< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -23150,7 +23544,9 @@ export async function actionsGetRepoPublicKey( * Learn more at {@link https://docs.github.com/rest/reference/actions#get-a-repository-secret} * Tags: actions */ -export async function actionsGetRepoSecret( +export async function actionsGetRepoSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -23276,7 +23672,9 @@ export async function actionsGetRepoSecret( * Learn more at {@link https://docs.github.com/rest/reference/actions#create-or-update-a-repository-secret} * Tags: actions */ -export async function actionsCreateOrUpdateRepoSecret( +export async function actionsCreateOrUpdateRepoSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -23311,7 +23709,9 @@ export async function actionsCreateOrUpdateRepoSecret( * Learn more at {@link https://docs.github.com/rest/reference/actions#delete-a-repository-secret} * Tags: actions */ -export async function actionsDeleteRepoSecret( +export async function actionsDeleteRepoSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -23336,7 +23736,9 @@ export async function actionsDeleteRepoSecret( * Learn more at {@link https://docs.github.com/rest/reference/actions#list-repository-workflows} * Tags: actions */ -export async function actionsListRepoWorkflows( +export async function actionsListRepoWorkflows< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -23381,7 +23783,7 @@ export async function actionsListRepoWorkflows( * Learn more at {@link https://docs.github.com/rest/reference/actions#get-a-workflow} * Tags: actions */ -export async function actionsGetWorkflow( +export async function actionsGetWorkflow( ctx: r.Context, params: { owner: string; @@ -23414,7 +23816,9 @@ export async function actionsGetWorkflow( * Learn more at {@link https://docs.github.com/rest/reference/actions#disable-a-workflow} * Tags: actions */ -export async function actionsDisableWorkflow( +export async function actionsDisableWorkflow< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -23449,7 +23853,9 @@ export async function actionsDisableWorkflow( * Learn more at {@link https://docs.github.com/rest/reference/actions#create-a-workflow-dispatch-event} * Tags: actions */ -export async function actionsCreateWorkflowDispatch( +export async function actionsCreateWorkflowDispatch< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -23489,7 +23895,9 @@ export async function actionsCreateWorkflowDispatch( * Learn more at {@link https://docs.github.com/rest/reference/actions#enable-a-workflow} * Tags: actions */ -export async function actionsEnableWorkflow( +export async function actionsEnableWorkflow< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -23517,7 +23925,9 @@ export async function actionsEnableWorkflow( * Learn more at {@link https://docs.github.com/rest/reference/actions#list-workflow-runs} * Tags: actions */ -export async function actionsListWorkflowRuns( +export async function actionsListWorkflowRuns< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -23599,7 +24009,9 @@ export async function actionsListWorkflowRuns( * Learn more at {@link https://docs.github.com/rest/reference/actions#get-workflow-usage} * Tags: actions */ -export async function actionsGetWorkflowUsage( +export async function actionsGetWorkflowUsage< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -23624,7 +24036,9 @@ export async function actionsGetWorkflowUsage( * Learn more at {@link https://docs.github.com/rest/reference/issues#list-assignees} * Tags: issues */ -export async function issuesListAssignees( +export async function issuesListAssignees< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -23656,7 +24070,9 @@ export async function issuesListAssignees( * Learn more at {@link https://docs.github.com/rest/reference/issues#check-if-a-user-can-be-assigned} * Tags: issues */ -export async function issuesCheckUserCanBeAssigned( +export async function issuesCheckUserCanBeAssigned< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -23682,7 +24098,7 @@ export async function issuesCheckUserCanBeAssigned( * Learn more at {@link https://docs.github.com/v3/repos#list-autolinks} * Tags: repos */ -export async function reposListAutolinks( +export async function reposListAutolinks( ctx: r.Context, params: { owner: string; @@ -23706,7 +24122,9 @@ export async function reposListAutolinks( * Learn more at {@link https://docs.github.com/v3/repos#create-an-autolink} * Tags: repos */ -export async function reposCreateAutolink( +export async function reposCreateAutolink< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -23744,7 +24162,7 @@ export async function reposCreateAutolink( * Learn more at {@link https://docs.github.com/v3/repos#get-autolink} * Tags: repos */ -export async function reposGetAutolink( +export async function reposGetAutolink( ctx: r.Context, params: { owner: string; @@ -23772,7 +24190,9 @@ export async function reposGetAutolink( * Learn more at {@link https://docs.github.com/v3/repos#delete-autolink} * Tags: repos */ -export async function reposDeleteAutolink( +export async function reposDeleteAutolink< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -23797,7 +24217,9 @@ export async function reposDeleteAutolink( * Learn more at {@link https://docs.github.com/rest/reference/repos#enable-automated-security-fixes} * Tags: repos */ -export async function reposEnableAutomatedSecurityFixes( +export async function reposEnableAutomatedSecurityFixes< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -23821,7 +24243,9 @@ export async function reposEnableAutomatedSecurityFixes( * Learn more at {@link https://docs.github.com/rest/reference/repos#disable-automated-security-fixes} * Tags: repos */ -export async function reposDisableAutomatedSecurityFixes( +export async function reposDisableAutomatedSecurityFixes< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -23842,7 +24266,7 @@ export async function reposDisableAutomatedSecurityFixes( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-branches} * Tags: repos */ -export async function reposListBranches( +export async function reposListBranches( ctx: r.Context, params: { owner: string; @@ -23869,7 +24293,7 @@ export async function reposListBranches( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-a-branch} * Tags: repos */ -export async function reposGetBranch( +export async function reposGetBranch( ctx: r.Context, params: { owner: string; @@ -23906,7 +24330,9 @@ export async function reposGetBranch( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-branch-protection} * Tags: repos */ -export async function reposGetBranchProtection( +export async function reposGetBranchProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -23942,7 +24368,9 @@ export async function reposGetBranchProtection( * Learn more at {@link https://docs.github.com/rest/reference/repos#update-branch-protection} * Tags: repos */ -export async function reposUpdateBranchProtection( +export async function reposUpdateBranchProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24063,7 +24491,9 @@ export async function reposUpdateBranchProtection( * Learn more at {@link https://docs.github.com/rest/reference/repos#delete-branch-protection} * Tags: repos */ -export async function reposDeleteBranchProtection( +export async function reposDeleteBranchProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24089,7 +24519,9 @@ export async function reposDeleteBranchProtection( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-admin-branch-protection} * Tags: repos */ -export async function reposGetAdminBranchProtection( +export async function reposGetAdminBranchProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24118,7 +24550,9 @@ export async function reposGetAdminBranchProtection( * Learn more at {@link https://docs.github.com/rest/reference/repos#set-admin-branch-protection} * Tags: repos */ -export async function reposSetAdminBranchProtection( +export async function reposSetAdminBranchProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24147,7 +24581,9 @@ export async function reposSetAdminBranchProtection( * Learn more at {@link https://docs.github.com/rest/reference/repos#delete-admin-branch-protection} * Tags: repos */ -export async function reposDeleteAdminBranchProtection( +export async function reposDeleteAdminBranchProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24173,7 +24609,9 @@ export async function reposDeleteAdminBranchProtection( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-pull-request-review-protection} * Tags: repos */ -export async function reposGetPullRequestReviewProtection( +export async function reposGetPullRequestReviewProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24205,7 +24643,9 @@ export async function reposGetPullRequestReviewProtection( * Learn more at {@link https://docs.github.com/rest/reference/repos#update-pull-request-review-protection} * Tags: repos */ -export async function reposUpdatePullRequestReviewProtection( +export async function reposUpdatePullRequestReviewProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24262,7 +24702,9 @@ export async function reposUpdatePullRequestReviewProtection( * Learn more at {@link https://docs.github.com/rest/reference/repos#delete-pull-request-review-protection} * Tags: repos */ -export async function reposDeletePullRequestReviewProtection( +export async function reposDeletePullRequestReviewProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24296,7 +24738,9 @@ export async function reposDeletePullRequestReviewProtection( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-commit-signature-protection} * Tags: repos */ -export async function reposGetCommitSignatureProtection( +export async function reposGetCommitSignatureProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24328,7 +24772,9 @@ export async function reposGetCommitSignatureProtection( * Learn more at {@link https://docs.github.com/rest/reference/repos#create-commit-signature-protection} * Tags: repos */ -export async function reposCreateCommitSignatureProtection( +export async function reposCreateCommitSignatureProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24361,7 +24807,9 @@ export async function reposCreateCommitSignatureProtection( * Learn more at {@link https://docs.github.com/rest/reference/repos#delete-commit-signature-protection} * Tags: repos */ -export async function reposDeleteCommitSignatureProtection( +export async function reposDeleteCommitSignatureProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24387,7 +24835,9 @@ export async function reposDeleteCommitSignatureProtection( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-status-checks-protection} * Tags: repos */ -export async function reposGetStatusChecksProtection( +export async function reposGetStatusChecksProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24418,7 +24868,9 @@ export async function reposGetStatusChecksProtection( * Learn more at {@link https://docs.github.com/rest/reference/repos#update-status-check-potection} * Tags: repos */ -export async function reposUpdateStatusCheckProtection( +export async function reposUpdateStatusCheckProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24459,7 +24911,9 @@ export async function reposUpdateStatusCheckProtection( * Learn more at {@link https://docs.github.com/rest/reference/repos#remove-status-check-protection} * Tags: repos */ -export async function reposRemoveStatusCheckProtection( +export async function reposRemoveStatusCheckProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24485,7 +24939,9 @@ export async function reposRemoveStatusCheckProtection( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-all-status-check-contexts} * Tags: repos */ -export async function reposGetAllStatusCheckContexts( +export async function reposGetAllStatusCheckContexts< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24513,7 +24969,9 @@ export async function reposGetAllStatusCheckContexts( * Learn more at {@link https://docs.github.com/rest/reference/repos#add-status-check-contexts} * Tags: repos */ -export async function reposAddStatusCheckContexts( +export async function reposAddStatusCheckContexts< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24553,7 +25011,9 @@ export async function reposAddStatusCheckContexts( * Learn more at {@link https://docs.github.com/rest/reference/repos#set-status-check-contexts} * Tags: repos */ -export async function reposSetStatusCheckContexts( +export async function reposSetStatusCheckContexts< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24592,7 +25052,9 @@ export async function reposSetStatusCheckContexts( * Learn more at {@link https://docs.github.com/rest/reference/repos#remove-status-check-contexts} * Tags: repos */ -export async function reposRemoveStatusCheckContexts( +export async function reposRemoveStatusCheckContexts< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24636,7 +25098,9 @@ export async function reposRemoveStatusCheckContexts( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-access-restrictions} * Tags: repos */ -export async function reposGetAccessRestrictions( +export async function reposGetAccessRestrictions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24667,7 +25131,9 @@ export async function reposGetAccessRestrictions( * Learn more at {@link https://docs.github.com/rest/reference/repos#delete-access-restrictions} * Tags: repos */ -export async function reposDeleteAccessRestrictions( +export async function reposDeleteAccessRestrictions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24696,7 +25162,9 @@ export async function reposDeleteAccessRestrictions( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-apps-with-access-to-the-protected-branch} * Tags: repos */ -export async function reposGetAppsWithAccessToProtectedBranch( +export async function reposGetAppsWithAccessToProtectedBranch< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24742,7 +25210,9 @@ export async function reposGetAppsWithAccessToProtectedBranch( * Learn more at {@link https://docs.github.com/rest/reference/repos#add-app-access-restrictions} * Tags: repos */ -export async function reposAddAppAccessRestrictions( +export async function reposAddAppAccessRestrictions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24798,7 +25268,9 @@ export async function reposAddAppAccessRestrictions( * Learn more at {@link https://docs.github.com/rest/reference/repos#set-app-access-restrictions} * Tags: repos */ -export async function reposSetAppAccessRestrictions( +export async function reposSetAppAccessRestrictions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24853,7 +25325,9 @@ export async function reposSetAppAccessRestrictions( * Learn more at {@link https://docs.github.com/rest/reference/repos#remove-app-access-restrictions} * Tags: repos */ -export async function reposRemoveAppAccessRestrictions( +export async function reposRemoveAppAccessRestrictions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24898,7 +25372,9 @@ export async function reposRemoveAppAccessRestrictions( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-teams-with-access-to-the-protected-branch} * Tags: repos */ -export async function reposGetTeamsWithAccessToProtectedBranch( +export async function reposGetTeamsWithAccessToProtectedBranch< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24935,7 +25411,9 @@ export async function reposGetTeamsWithAccessToProtectedBranch( * Learn more at {@link https://docs.github.com/rest/reference/repos#add-team-access-restrictions} * Tags: repos */ -export async function reposAddTeamAccessRestrictions( +export async function reposAddTeamAccessRestrictions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -24984,7 +25462,9 @@ export async function reposAddTeamAccessRestrictions( * Learn more at {@link https://docs.github.com/rest/reference/repos#set-team-access-restrictions} * Tags: repos */ -export async function reposSetTeamAccessRestrictions( +export async function reposSetTeamAccessRestrictions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -25032,7 +25512,9 @@ export async function reposSetTeamAccessRestrictions( * Learn more at {@link https://docs.github.com/rest/reference/repos#remove-team-access-restrictions} * Tags: repos */ -export async function reposRemoveTeamAccessRestrictions( +export async function reposRemoveTeamAccessRestrictions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -25071,7 +25553,9 @@ export async function reposRemoveTeamAccessRestrictions( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-users-with-access-to-the-protected-branch} * Tags: repos */ -export async function reposGetUsersWithAccessToProtectedBranch( +export async function reposGetUsersWithAccessToProtectedBranch< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -25110,7 +25594,9 @@ export async function reposGetUsersWithAccessToProtectedBranch( * Learn more at {@link https://docs.github.com/rest/reference/repos#add-user-access-restrictions} * Tags: repos */ -export async function reposAddUserAccessRestrictions( +export async function reposAddUserAccessRestrictions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -25158,7 +25644,9 @@ export async function reposAddUserAccessRestrictions( * Learn more at {@link https://docs.github.com/rest/reference/repos#set-user-access-restrictions} * Tags: repos */ -export async function reposSetUserAccessRestrictions( +export async function reposSetUserAccessRestrictions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -25206,7 +25694,9 @@ export async function reposSetUserAccessRestrictions( * Learn more at {@link https://docs.github.com/rest/reference/repos#remove-user-access-restrictions} * Tags: repos */ -export async function reposRemoveUserAccessRestrictions( +export async function reposRemoveUserAccessRestrictions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -25260,7 +25750,7 @@ export async function reposRemoveUserAccessRestrictions( * Learn more at {@link https://docs.github.com/rest/reference/repos#rename-a-branch} * Tags: repos */ -export async function reposRenameBranch( +export async function reposRenameBranch( ctx: r.Context, params: { owner: string; @@ -25303,7 +25793,7 @@ export async function reposRenameBranch( * Learn more at {@link https://docs.github.com/rest/reference/checks#create-a-check-run} * Tags: checks */ -export async function checksCreate( +export async function checksCreate( ctx: r.Context, params: { owner: string; @@ -25339,7 +25829,7 @@ export async function checksCreate( * Learn more at {@link https://docs.github.com/rest/reference/checks#get-a-check-run} * Tags: checks */ -export async function checksGet( +export async function checksGet( ctx: r.Context, params: { owner: string; @@ -25372,7 +25862,7 @@ export async function checksGet( * Learn more at {@link https://docs.github.com/rest/reference/checks#update-a-check-run} * Tags: checks */ -export async function checksUpdate( +export async function checksUpdate( ctx: r.Context, params: { owner: string; @@ -25405,7 +25895,9 @@ export async function checksUpdate( * Learn more at {@link https://docs.github.com/rest/reference/checks#list-check-run-annotations} * Tags: checks */ -export async function checksListAnnotations( +export async function checksListAnnotations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -25439,7 +25931,7 @@ export async function checksListAnnotations( * Learn more at {@link https://docs.github.com/rest/reference/checks#create-a-check-suite} * Tags: checks */ -export async function checksCreateSuite( +export async function checksCreateSuite( ctx: r.Context, params: { owner: string; @@ -25480,7 +25972,9 @@ export async function checksCreateSuite( * Learn more at {@link https://docs.github.com/rest/reference/checks#update-repository-preferences-for-check-suites} * Tags: checks */ -export async function checksSetSuitesPreferences( +export async function checksSetSuitesPreferences< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -25531,7 +26025,7 @@ export async function checksSetSuitesPreferences( * Learn more at {@link https://docs.github.com/rest/reference/checks#get-a-check-suite} * Tags: checks */ -export async function checksGetSuite( +export async function checksGetSuite( ctx: r.Context, params: { owner: string; @@ -25566,7 +26060,7 @@ export async function checksGetSuite( * Learn more at {@link https://docs.github.com/rest/reference/checks#list-check-runs-in-a-check-suite} * Tags: checks */ -export async function checksListForSuite( +export async function checksListForSuite( ctx: r.Context, params: { owner: string; @@ -25619,7 +26113,9 @@ export async function checksListForSuite( * Learn more at {@link https://docs.github.com/rest/reference/checks#rerequest-a-check-suite} * Tags: checks */ -export async function checksRerequestSuite( +export async function checksRerequestSuite< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -25653,7 +26149,9 @@ export async function checksRerequestSuite( * Learn more at {@link https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository} * Tags: code-scanning */ -export async function codeScanningListAlertsForRepo( +export async function codeScanningListAlertsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -25711,7 +26209,9 @@ export async function codeScanningListAlertsForRepo( * Learn more at {@link https://docs.github.com/rest/reference/code-scanning#get-a-code-scanning-alert} * Tags: code-scanning */ -export async function codeScanningGetAlert( +export async function codeScanningGetAlert< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -25753,7 +26253,9 @@ export async function codeScanningGetAlert( * Learn more at {@link https://docs.github.com/rest/reference/code-scanning#update-a-code-scanning-alert} * Tags: code-scanning */ -export async function codeScanningUpdateAlert( +export async function codeScanningUpdateAlert< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -25800,7 +26302,9 @@ export async function codeScanningUpdateAlert( * Learn more at {@link https://docs.github.com/rest/reference/code-scanning#list-instances-of-a-code-scanning-alert} * Tags: code-scanning */ -export async function codeScanningListAlertInstances( +export async function codeScanningListAlertInstances< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -25861,7 +26365,9 @@ export async function codeScanningListAlertInstances( * Learn more at {@link https://docs.github.com/rest/reference/code-scanning#list-code-scanning-analyses-for-a-repository} * Tags: code-scanning */ -export async function codeScanningListRecentAnalyses( +export async function codeScanningListRecentAnalyses< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -25946,7 +26452,9 @@ export async function codeScanningListRecentAnalyses( * Learn more at {@link https://docs.github.com/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository} * Tags: code-scanning */ -export async function codeScanningGetAnalysis( +export async function codeScanningGetAnalysis< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -26076,7 +26584,9 @@ export async function codeScanningGetAnalysis( * Learn more at {@link https://docs.github.com/rest/reference/code-scanning#delete-a-code-scanning-analysis-from-a-repository} * Tags: code-scanning */ -export async function codeScanningDeleteAnalysis( +export async function codeScanningDeleteAnalysis< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -26146,7 +26656,9 @@ export async function codeScanningDeleteAnalysis( * Learn more at {@link https://docs.github.com/rest/reference/code-scanning#upload-a-sarif-file} * Tags: code-scanning */ -export async function codeScanningUploadSarif( +export async function codeScanningUploadSarif< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -26206,7 +26718,9 @@ export async function codeScanningUploadSarif( * Learn more at {@link https://docs.github.com/rest/reference/code-scanning#list-recent-code-scanning-analyses-for-a-repository} * Tags: code-scanning */ -export async function codeScanningGetSarif( +export async function codeScanningGetSarif< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -26246,7 +26760,9 @@ export async function codeScanningGetSarif( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-repository-collaborators} * Tags: repos */ -export async function reposListCollaborators( +export async function reposListCollaborators< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -26279,7 +26795,9 @@ export async function reposListCollaborators( * Learn more at {@link https://docs.github.com/rest/reference/repos#check-if-a-user-is-a-repository-collaborator} * Tags: repos */ -export async function reposCheckCollaborator( +export async function reposCheckCollaborator< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -26327,7 +26845,9 @@ export async function reposCheckCollaborator( * Learn more at {@link https://docs.github.com/rest/reference/repos#add-a-repository-collaborator} * Tags: repos */ -export async function reposAddCollaborator( +export async function reposAddCollaborator< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -26377,7 +26897,9 @@ export async function reposAddCollaborator( * Learn more at {@link https://docs.github.com/rest/reference/repos#remove-a-repository-collaborator} * Tags: repos */ -export async function reposRemoveCollaborator( +export async function reposRemoveCollaborator< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -26401,7 +26923,9 @@ export async function reposRemoveCollaborator( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-repository-permissions-for-a-user} * Tags: repos */ -export async function reposGetCollaboratorPermissionLevel( +export async function reposGetCollaboratorPermissionLevel< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -26431,7 +26955,9 @@ export async function reposGetCollaboratorPermissionLevel( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-commit-comments-for-a-repository} * Tags: repos */ -export async function reposListCommitCommentsForRepo( +export async function reposListCommitCommentsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -26463,7 +26989,9 @@ export async function reposListCommitCommentsForRepo( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-a-commit-comment} * Tags: repos */ -export async function reposGetCommitComment( +export async function reposGetCommitComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -26493,7 +27021,9 @@ export async function reposGetCommitComment( * Learn more at {@link https://docs.github.com/rest/reference/repos#update-a-commit-comment} * Tags: repos */ -export async function reposUpdateCommitComment( +export async function reposUpdateCommitComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -26530,7 +27060,9 @@ export async function reposUpdateCommitComment( * Learn more at {@link https://docs.github.com/rest/reference/repos#delete-a-commit-comment} * Tags: repos */ -export async function reposDeleteCommitComment( +export async function reposDeleteCommitComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -26553,7 +27085,9 @@ export async function reposDeleteCommitComment( * Learn more at {@link https://docs.github.com/rest/reference/reactions#list-reactions-for-a-commit-comment} * Tags: reactions */ -export async function reactionsListForCommitComment( +export async function reactionsListForCommitComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -26605,7 +27139,9 @@ export async function reactionsListForCommitComment( * Learn more at {@link https://docs.github.com/rest/reference/reactions#create-reaction-for-a-commit-comment} * Tags: reactions */ -export async function reactionsCreateForCommitComment( +export async function reactionsCreateForCommitComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -26665,7 +27201,9 @@ export async function reactionsCreateForCommitComment( * Learn more at {@link https://docs.github.com/rest/reference/reactions#delete-a-commit-comment-reaction} * Tags: reactions */ -export async function reactionsDeleteForCommitComment( +export async function reactionsDeleteForCommitComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -26733,7 +27271,7 @@ export async function reactionsDeleteForCommitComment( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-commits} * Tags: repos */ -export async function reposListCommits( +export async function reposListCommits( ctx: r.Context, params: { owner: string; @@ -26783,7 +27321,9 @@ export async function reposListCommits( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-branches-for-head-commit} * Tags: repos */ -export async function reposListBranchesForHeadCommit( +export async function reposListBranchesForHeadCommit< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -26816,7 +27356,9 @@ export async function reposListBranchesForHeadCommit( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-commit-comments} * Tags: repos */ -export async function reposListCommentsForCommit( +export async function reposListCommentsForCommit< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -26858,7 +27400,9 @@ export async function reposListCommentsForCommit( * Learn more at {@link https://docs.github.com/rest/reference/repos#create-a-commit-comment} * Tags: repos */ -export async function reposCreateCommitComment( +export async function reposCreateCommitComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -26914,7 +27458,9 @@ export async function reposCreateCommitComment( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-pull-requests-associated-with-a-commit} * Tags: repos */ -export async function reposListPullRequestsAssociatedWithCommit( +export async function reposListPullRequestsAssociatedWithCommit< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -27018,7 +27564,7 @@ export async function reposListPullRequestsAssociatedWithCommit( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-a-commit} * Tags: repos */ -export async function reposGetCommit( +export async function reposGetCommit( ctx: r.Context, params: { owner: string; @@ -27055,7 +27601,7 @@ export async function reposGetCommit( * Learn more at {@link https://docs.github.com/rest/reference/checks#list-check-runs-for-a-git-reference} * Tags: checks */ -export async function checksListForRef( +export async function checksListForRef( ctx: r.Context, params: { owner: string; @@ -27116,7 +27662,9 @@ export async function checksListForRef( * Learn more at {@link https://docs.github.com/rest/reference/checks#list-check-suites-for-a-git-reference} * Tags: checks */ -export async function checksListSuitesForRef( +export async function checksListSuitesForRef< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -27177,7 +27725,9 @@ export async function checksListSuitesForRef( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-the-combined-status-for-a-specific-reference} * Tags: repos */ -export async function reposGetCombinedStatusForRef( +export async function reposGetCombinedStatusForRef< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -27216,7 +27766,9 @@ export async function reposGetCombinedStatusForRef( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-commit-statuses-for-a-reference} * Tags: repos */ -export async function reposListCommitStatusesForRef( +export async function reposListCommitStatusesForRef< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -27248,7 +27800,9 @@ export async function reposListCommitStatusesForRef( * Learn more at {@link https://docs.github.com/rest/reference/codes-of-conduct#get-the-code-of-conduct-for-a-repository} * Tags: codes-of-conduct */ -export async function codesOfConductGetForRepo( +export async function codesOfConductGetForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -27286,7 +27840,9 @@ export async function codesOfConductGetForRepo( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-community-profile-metrics} * Tags: repos */ -export async function reposGetCommunityProfileMetrics( +export async function reposGetCommunityProfileMetrics< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -27385,7 +27941,9 @@ export async function reposGetCommunityProfileMetrics( * Learn more at {@link https://docs.github.com/rest/reference/repos#compare-two-commits} * Tags: repos */ -export async function reposCompareCommits( +export async function reposCompareCommits< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -27426,7 +27984,9 @@ export async function reposCompareCommits( * Learn more at {@link https://docs.github.com/rest/reference/apps#create-a-content-attachment} * Tags: apps */ -export async function appsCreateContentAttachment( +export async function appsCreateContentAttachment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -27526,7 +28086,7 @@ export async function appsCreateContentAttachment( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-repository-content} * Tags: repos */ -export async function reposGetContent( +export async function reposGetContent( ctx: r.Context, params: { owner: string; @@ -27559,7 +28119,9 @@ export async function reposGetContent( * Learn more at {@link https://docs.github.com/rest/reference/repos#create-or-update-file-contents} * Tags: repos */ -export async function reposCreateOrUpdateFileContents( +export async function reposCreateOrUpdateFileContents< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -27651,7 +28213,7 @@ export async function reposCreateOrUpdateFileContents( * Learn more at {@link https://docs.github.com/rest/reference/repos#delete-a-file} * Tags: repos */ -export async function reposDeleteFile( +export async function reposDeleteFile( ctx: r.Context, params: { owner: string; @@ -27735,7 +28297,9 @@ export async function reposDeleteFile( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-repository-contributors} * Tags: repos */ -export async function reposListContributors( +export async function reposListContributors< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -27766,7 +28330,9 @@ export async function reposListContributors( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-deployments} * Tags: repos */ -export async function reposListDeployments( +export async function reposListDeployments< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -27870,7 +28436,9 @@ export async function reposListDeployments( * Learn more at {@link https://docs.github.com/rest/reference/repos#create-a-deployment} * Tags: repos */ -export async function reposCreateDeployment( +export async function reposCreateDeployment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -27952,7 +28520,7 @@ export async function reposCreateDeployment( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-a-deployment} * Tags: repos */ -export async function reposGetDeployment( +export async function reposGetDeployment( ctx: r.Context, params: { owner: string; @@ -27995,7 +28563,9 @@ export async function reposGetDeployment( * Learn more at {@link https://docs.github.com/rest/reference/repos#delete-a-deployment} * Tags: repos */ -export async function reposDeleteDeployment( +export async function reposDeleteDeployment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -28022,7 +28592,9 @@ export async function reposDeleteDeployment( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-deployment-statuses} * Tags: repos */ -export async function reposListDeploymentStatuses( +export async function reposListDeploymentStatuses< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -28062,7 +28634,9 @@ export async function reposListDeploymentStatuses( * Learn more at {@link https://docs.github.com/rest/reference/repos#create-a-deployment-status} * Tags: repos */ -export async function reposCreateDeploymentStatus( +export async function reposCreateDeploymentStatus< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -28136,7 +28710,9 @@ export async function reposCreateDeploymentStatus( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-a-deployment-status} * Tags: repos */ -export async function reposGetDeploymentStatus( +export async function reposGetDeploymentStatus< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -28196,7 +28772,9 @@ export async function reposGetDeploymentStatus( * Learn more at {@link https://docs.github.com/rest/reference/repos#create-a-repository-dispatch-event} * Tags: repos */ -export async function reposCreateDispatchEvent( +export async function reposCreateDispatchEvent< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -28237,7 +28815,9 @@ export async function reposCreateDispatchEvent( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-all-environments} * Tags: repos */ -export async function reposGetAllEnvironments( +export async function reposGetAllEnvironments< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -28284,7 +28864,9 @@ export async function reposGetAllEnvironments( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-an-environment} * Tags: repos */ -export async function reposGetEnvironment( +export async function reposGetEnvironment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -28326,7 +28908,9 @@ export async function reposGetEnvironment( * Learn more at {@link https://docs.github.com/rest/reference/repos#create-or-update-an-environment} * Tags: repos */ -export async function reposCreateOrUpdateEnvironment( +export async function reposCreateOrUpdateEnvironment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -28375,7 +28959,9 @@ export async function reposCreateOrUpdateEnvironment( * Learn more at {@link https://docs.github.com/rest/reference/repos#delete-an-environment} * Tags: repos */ -export async function reposDeleteAnEnvironment( +export async function reposDeleteAnEnvironment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -28397,7 +28983,9 @@ export async function reposDeleteAnEnvironment( * Learn more at {@link https://docs.github.com/rest/reference/activity#list-repository-events} * Tags: activity */ -export async function activityListRepoEvents( +export async function activityListRepoEvents< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -28427,7 +29015,7 @@ export async function activityListRepoEvents( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-forks} * Tags: repos */ -export async function reposListForks( +export async function reposListForks( ctx: r.Context, params: { owner: string; @@ -28467,7 +29055,7 @@ export async function reposListForks( * Learn more at {@link https://docs.github.com/rest/reference/repos#create-a-fork} * Tags: repos */ -export async function reposCreateFork( +export async function reposCreateFork( ctx: r.Context, params: { owner: string; @@ -28507,7 +29095,7 @@ export async function reposCreateFork( * Learn more at {@link https://docs.github.com/rest/reference/git#create-a-blob} * Tags: git */ -export async function gitCreateBlob( +export async function gitCreateBlob( ctx: r.Context, params: { owner: string; @@ -28550,7 +29138,7 @@ export async function gitCreateBlob( * Learn more at {@link https://docs.github.com/rest/reference/git#get-a-blob} * Tags: git */ -export async function gitGetBlob( +export async function gitGetBlob( ctx: r.Context, params: { owner: string; @@ -28625,7 +29213,7 @@ export async function gitGetBlob( * Learn more at {@link https://docs.github.com/rest/reference/git#create-a-commit} * Tags: git */ -export async function gitCreateCommit( +export async function gitCreateCommit( ctx: r.Context, params: { owner: string; @@ -28757,7 +29345,7 @@ export async function gitCreateCommit( * Learn more at {@link https://docs.github.com/rest/reference/git#get-a-commit} * Tags: git */ -export async function gitGetCommit( +export async function gitGetCommit( ctx: r.Context, params: { owner: string; @@ -28803,7 +29391,9 @@ export async function gitGetCommit( * Learn more at {@link https://docs.github.com/rest/reference/git#list-matching-references} * Tags: git */ -export async function gitListMatchingRefs( +export async function gitListMatchingRefs< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -28836,7 +29426,7 @@ export async function gitListMatchingRefs( * Learn more at {@link https://docs.github.com/rest/reference/git#get-a-reference} * Tags: git */ -export async function gitGetRef( +export async function gitGetRef( ctx: r.Context, params: { owner: string; @@ -28860,7 +29450,7 @@ export async function gitGetRef( * Learn more at {@link https://docs.github.com/rest/reference/git#create-a-reference} * Tags: git */ -export async function gitCreateRef( +export async function gitCreateRef( ctx: r.Context, params: { owner: string; @@ -28898,7 +29488,7 @@ export async function gitCreateRef( * Learn more at {@link https://docs.github.com/rest/reference/git#update-a-reference} * Tags: git */ -export async function gitUpdateRef( +export async function gitUpdateRef( ctx: r.Context, params: { owner: string; @@ -28933,7 +29523,7 @@ export async function gitUpdateRef( * Learn more at {@link https://docs.github.com/rest/reference/git#delete-a-reference} * Tags: git */ -export async function gitDeleteRef( +export async function gitDeleteRef( ctx: r.Context, params: { owner: string; @@ -29008,7 +29598,7 @@ export async function gitDeleteRef( * Learn more at {@link https://docs.github.com/rest/reference/git#create-a-tag-object} * Tags: git */ -export async function gitCreateTag( +export async function gitCreateTag( ctx: r.Context, params: { owner: string; @@ -29112,7 +29702,7 @@ export async function gitCreateTag( * Learn more at {@link https://docs.github.com/rest/reference/git#get-a-tag} * Tags: git */ -export async function gitGetTag( +export async function gitGetTag( ctx: r.Context, params: { owner: string; @@ -29142,7 +29732,7 @@ export async function gitGetTag( * Learn more at {@link https://docs.github.com/rest/reference/git#create-a-tree} * Tags: git */ -export async function gitCreateTree( +export async function gitCreateTree( ctx: r.Context, params: { owner: string; @@ -29210,7 +29800,7 @@ export async function gitCreateTree( * Learn more at {@link https://docs.github.com/rest/reference/git#get-a-tree} * Tags: git */ -export async function gitGetTree( +export async function gitGetTree( ctx: r.Context, params: { owner: string; @@ -29238,7 +29828,7 @@ export async function gitGetTree( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-repository-webhooks} * Tags: repos */ -export async function reposListWebhooks( +export async function reposListWebhooks( ctx: r.Context, params: { owner: string; @@ -29271,7 +29861,7 @@ export async function reposListWebhooks( * Learn more at {@link https://docs.github.com/rest/reference/repos#create-a-repository-webhook} * Tags: repos */ -export async function reposCreateWebhook( +export async function reposCreateWebhook( ctx: r.Context, params: { owner: string; @@ -29342,7 +29932,7 @@ export async function reposCreateWebhook( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-a-repository-webhook} * Tags: repos */ -export async function reposGetWebhook( +export async function reposGetWebhook( ctx: r.Context, params: { owner: string; @@ -29374,7 +29964,7 @@ export async function reposGetWebhook( * Learn more at {@link https://docs.github.com/rest/reference/repos#update-a-repository-webhook} * Tags: repos */ -export async function reposUpdateWebhook( +export async function reposUpdateWebhook( ctx: r.Context, params: { owner: string; @@ -29447,7 +30037,7 @@ export async function reposUpdateWebhook( * Learn more at {@link https://docs.github.com/rest/reference/repos#delete-a-repository-webhook} * Tags: repos */ -export async function reposDeleteWebhook( +export async function reposDeleteWebhook( ctx: r.Context, params: { owner: string; @@ -29474,7 +30064,9 @@ export async function reposDeleteWebhook( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-a-webhook-configuration-for-a-repository} * Tags: repos */ -export async function reposGetWebhookConfigForRepo( +export async function reposGetWebhookConfigForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -29502,7 +30094,9 @@ export async function reposGetWebhookConfigForRepo( * Learn more at {@link https://docs.github.com/rest/reference/repos#update-a-webhook-configuration-for-a-repository} * Tags: repos */ -export async function reposUpdateWebhookConfigForRepo( +export async function reposUpdateWebhookConfigForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -29532,7 +30126,9 @@ export async function reposUpdateWebhookConfigForRepo( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-deliveries-for-a-repository-webhook} * Tags: repos */ -export async function reposListWebhookDeliveries( +export async function reposListWebhookDeliveries< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -29570,7 +30166,9 @@ export async function reposListWebhookDeliveries( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-a-delivery-for-a-repository-webhook} * Tags: repos */ -export async function reposGetWebhookDelivery( +export async function reposGetWebhookDelivery< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -29604,7 +30202,9 @@ export async function reposGetWebhookDelivery( * Learn more at {@link https://docs.github.com/rest/reference/repos#redeliver-a-delivery-for-a-repository-webhook} * Tags: repos */ -export async function reposRedeliverWebhookDelivery( +export async function reposRedeliverWebhookDelivery< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -29632,7 +30232,7 @@ export async function reposRedeliverWebhookDelivery( * Learn more at {@link https://docs.github.com/rest/reference/repos#ping-a-repository-webhook} * Tags: repos */ -export async function reposPingWebhook( +export async function reposPingWebhook( ctx: r.Context, params: { owner: string; @@ -29659,7 +30259,9 @@ export async function reposPingWebhook( * Learn more at {@link https://docs.github.com/rest/reference/repos#test-the-push-repository-webhook} * Tags: repos */ -export async function reposTestPushWebhook( +export async function reposTestPushWebhook< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -29749,7 +30351,9 @@ export async function reposTestPushWebhook( * Learn more at {@link https://docs.github.com/rest/reference/migrations#get-an-import-status} * Tags: migrations */ -export async function migrationsGetImportStatus( +export async function migrationsGetImportStatus< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -29771,7 +30375,9 @@ export async function migrationsGetImportStatus( * Learn more at {@link https://docs.github.com/rest/reference/migrations#start-an-import} * Tags: migrations */ -export async function migrationsStartImport( +export async function migrationsStartImport< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -29822,7 +30428,9 @@ export async function migrationsStartImport( * Learn more at {@link https://docs.github.com/rest/reference/migrations#update-an-import} * Tags: migrations */ -export async function migrationsUpdateImport( +export async function migrationsUpdateImport< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -29863,7 +30471,9 @@ export async function migrationsUpdateImport( * Learn more at {@link https://docs.github.com/rest/reference/migrations#cancel-an-import} * Tags: migrations */ -export async function migrationsCancelImport( +export async function migrationsCancelImport< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -29892,7 +30502,9 @@ export async function migrationsCancelImport( * Learn more at {@link https://docs.github.com/rest/reference/migrations#get-commit-authors} * Tags: migrations */ -export async function migrationsGetCommitAuthors( +export async function migrationsGetCommitAuthors< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -29919,7 +30531,9 @@ export async function migrationsGetCommitAuthors( * Learn more at {@link https://docs.github.com/rest/reference/migrations#map-a-commit-author} * Tags: migrations */ -export async function migrationsMapCommitAuthor( +export async function migrationsMapCommitAuthor< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -29957,7 +30571,9 @@ export async function migrationsMapCommitAuthor( * Learn more at {@link https://docs.github.com/rest/reference/migrations#get-large-files} * Tags: migrations */ -export async function migrationsGetLargeFiles( +export async function migrationsGetLargeFiles< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -29981,7 +30597,9 @@ export async function migrationsGetLargeFiles( * Learn more at {@link https://docs.github.com/rest/reference/migrations#update-git-lfs-preference} * Tags: migrations */ -export async function migrationsSetLfsPreference( +export async function migrationsSetLfsPreference< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -30017,7 +30635,9 @@ export async function migrationsSetLfsPreference( * Learn more at {@link https://docs.github.com/rest/reference/apps#get-a-repository-installation-for-the-authenticated-app} * Tags: apps */ -export async function appsGetRepoInstallation( +export async function appsGetRepoInstallation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -30050,7 +30670,9 @@ export async function appsGetRepoInstallation( * Learn more at {@link https://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-a-repository} * Tags: interactions */ -export async function interactionsGetRestrictionsForRepo( +export async function interactionsGetRestrictionsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -30085,7 +30707,9 @@ export async function interactionsGetRestrictionsForRepo( * Learn more at {@link https://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-a-repository} * Tags: interactions */ -export async function interactionsSetRestrictionsForRepo( +export async function interactionsSetRestrictionsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -30123,7 +30747,9 @@ export async function interactionsSetRestrictionsForRepo( * Learn more at {@link https://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-for-a-repository} * Tags: interactions */ -export async function interactionsRemoveRestrictionsForRepo( +export async function interactionsRemoveRestrictionsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -30146,7 +30772,9 @@ export async function interactionsRemoveRestrictionsForRepo( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-repository-invitations} * Tags: repos */ -export async function reposListInvitations( +export async function reposListInvitations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -30178,7 +30806,9 @@ export async function reposListInvitations( * Learn more at {@link https://docs.github.com/rest/reference/repos#update-a-repository-invitation} * Tags: repos */ -export async function reposUpdateInvitation( +export async function reposUpdateInvitation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -30213,7 +30843,9 @@ export async function reposUpdateInvitation( * Learn more at {@link https://docs.github.com/rest/reference/repos#delete-a-repository-invitation} * Tags: repos */ -export async function reposDeleteInvitation( +export async function reposDeleteInvitation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -30245,7 +30877,7 @@ export async function reposDeleteInvitation( * Learn more at {@link https://docs.github.com/rest/reference/issues#list-repository-issues} * Tags: issues */ -export async function issuesListForRepo( +export async function issuesListForRepo( ctx: r.Context, params: { owner: string; @@ -30312,7 +30944,7 @@ export async function issuesListForRepo( * Learn more at {@link https://docs.github.com/rest/reference/issues#create-an-issue} * Tags: issues */ -export async function issuesCreate( +export async function issuesCreate( ctx: r.Context, params: { owner: string; @@ -30386,7 +31018,9 @@ export async function issuesCreate( * Learn more at {@link https://docs.github.com/rest/reference/issues#list-issue-comments-for-a-repository} * Tags: issues */ -export async function issuesListCommentsForRepo( +export async function issuesListCommentsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -30425,7 +31059,7 @@ export async function issuesListCommentsForRepo( * Learn more at {@link https://docs.github.com/rest/reference/issues#get-an-issue-comment} * Tags: issues */ -export async function issuesGetComment( +export async function issuesGetComment( ctx: r.Context, params: { owner: string; @@ -30455,7 +31089,9 @@ export async function issuesGetComment( * Learn more at {@link https://docs.github.com/rest/reference/issues#update-an-issue-comment} * Tags: issues */ -export async function issuesUpdateComment( +export async function issuesUpdateComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -30492,7 +31128,9 @@ export async function issuesUpdateComment( * Learn more at {@link https://docs.github.com/rest/reference/issues#delete-an-issue-comment} * Tags: issues */ -export async function issuesDeleteComment( +export async function issuesDeleteComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -30515,7 +31153,9 @@ export async function issuesDeleteComment( * Learn more at {@link https://docs.github.com/rest/reference/reactions#list-reactions-for-an-issue-comment} * Tags: reactions */ -export async function reactionsListForIssueComment( +export async function reactionsListForIssueComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -30567,7 +31207,9 @@ export async function reactionsListForIssueComment( * Learn more at {@link https://docs.github.com/rest/reference/reactions#create-reaction-for-an-issue-comment} * Tags: reactions */ -export async function reactionsCreateForIssueComment( +export async function reactionsCreateForIssueComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -30627,7 +31269,9 @@ export async function reactionsCreateForIssueComment( * Learn more at {@link https://docs.github.com/rest/reference/reactions#delete-an-issue-comment-reaction} * Tags: reactions */ -export async function reactionsDeleteForIssueComment( +export async function reactionsDeleteForIssueComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -30650,7 +31294,9 @@ export async function reactionsDeleteForIssueComment( * Learn more at {@link https://docs.github.com/rest/reference/issues#list-issue-events-for-a-repository} * Tags: issues */ -export async function issuesListEventsForRepo( +export async function issuesListEventsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -30682,7 +31328,7 @@ export async function issuesListEventsForRepo( * Learn more at {@link https://docs.github.com/rest/reference/issues#get-an-issue-event} * Tags: issues */ -export async function issuesGetEvent( +export async function issuesGetEvent( ctx: r.Context, params: { owner: string; @@ -30737,7 +31383,7 @@ export async function issuesGetEvent( * Learn more at {@link https://docs.github.com/rest/reference/issues#get-an-issue} * Tags: issues */ -export async function issuesGet( +export async function issuesGet( ctx: r.Context, params: { owner: string; @@ -30772,7 +31418,7 @@ export async function issuesGet( * Learn more at {@link https://docs.github.com/rest/reference/issues/#update-an-issue} * Tags: issues */ -export async function issuesUpdate( +export async function issuesUpdate( ctx: r.Context, params: { owner: string; @@ -30852,7 +31498,7 @@ export async function issuesUpdate( * Learn more at {@link https://docs.github.com/rest/reference/issues#add-assignees-to-an-issue} * Tags: issues */ -export async function issuesAddAssignees( +export async function issuesAddAssignees( ctx: r.Context, params: { owner: string; @@ -30888,7 +31534,9 @@ export async function issuesAddAssignees( * Learn more at {@link https://docs.github.com/rest/reference/issues#remove-assignees-from-an-issue} * Tags: issues */ -export async function issuesRemoveAssignees( +export async function issuesRemoveAssignees< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -30924,7 +31572,7 @@ export async function issuesRemoveAssignees( * Learn more at {@link https://docs.github.com/rest/reference/issues#list-issue-comments} * Tags: issues */ -export async function issuesListComments( +export async function issuesListComments( ctx: r.Context, params: { owner: string; @@ -30969,7 +31617,9 @@ export async function issuesListComments( * Learn more at {@link https://docs.github.com/rest/reference/issues#create-an-issue-comment} * Tags: issues */ -export async function issuesCreateComment( +export async function issuesCreateComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -31010,7 +31660,7 @@ export async function issuesCreateComment( * Learn more at {@link https://docs.github.com/rest/reference/issues#list-issue-events} * Tags: issues */ -export async function issuesListEvents( +export async function issuesListEvents( ctx: r.Context, params: { owner: string; @@ -31038,7 +31688,9 @@ export async function issuesListEvents( * Learn more at {@link https://docs.github.com/rest/reference/issues#list-labels-for-an-issue} * Tags: issues */ -export async function issuesListLabelsOnIssue( +export async function issuesListLabelsOnIssue< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -31063,7 +31715,7 @@ export async function issuesListLabelsOnIssue( * Learn more at {@link https://docs.github.com/rest/reference/issues#add-labels-to-an-issue} * Tags: issues */ -export async function issuesAddLabels( +export async function issuesAddLabels( ctx: r.Context, params: { owner: string; @@ -31108,7 +31760,7 @@ export async function issuesAddLabels( * Learn more at {@link https://docs.github.com/rest/reference/issues#set-labels-for-an-issue} * Tags: issues */ -export async function issuesSetLabels( +export async function issuesSetLabels( ctx: r.Context, params: { owner: string; @@ -31152,7 +31804,9 @@ export async function issuesSetLabels( * Learn more at {@link https://docs.github.com/rest/reference/issues#remove-all-labels-from-an-issue} * Tags: issues */ -export async function issuesRemoveAllLabels( +export async function issuesRemoveAllLabels< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -31176,7 +31830,7 @@ export async function issuesRemoveAllLabels( * Learn more at {@link https://docs.github.com/rest/reference/issues#remove-a-label-from-an-issue} * Tags: issues */ -export async function issuesRemoveLabel( +export async function issuesRemoveLabel( ctx: r.Context, params: { owner: string; @@ -31208,7 +31862,7 @@ export async function issuesRemoveLabel( * Learn more at {@link https://docs.github.com/rest/reference/issues#lock-an-issue} * Tags: issues */ -export async function issuesLock( +export async function issuesLock( ctx: r.Context, params: { owner: string; @@ -31248,7 +31902,7 @@ export async function issuesLock( * Learn more at {@link https://docs.github.com/rest/reference/issues#unlock-an-issue} * Tags: issues */ -export async function issuesUnlock( +export async function issuesUnlock( ctx: r.Context, params: { owner: string; @@ -31275,7 +31929,9 @@ export async function issuesUnlock( * Learn more at {@link https://docs.github.com/rest/reference/reactions#list-reactions-for-an-issue} * Tags: reactions */ -export async function reactionsListForIssue( +export async function reactionsListForIssue< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -31328,7 +31984,9 @@ export async function reactionsListForIssue( * Learn more at {@link https://docs.github.com/rest/reference/reactions#create-reaction-for-an-issue} * Tags: reactions */ -export async function reactionsCreateForIssue( +export async function reactionsCreateForIssue< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -31388,7 +32046,9 @@ export async function reactionsCreateForIssue( * Learn more at {@link https://docs.github.com/rest/reference/reactions#delete-an-issue-reaction} * Tags: reactions */ -export async function reactionsDeleteForIssue( +export async function reactionsDeleteForIssue< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -31411,7 +32071,9 @@ export async function reactionsDeleteForIssue( * Learn more at {@link https://docs.github.com/rest/reference/issues#list-timeline-events-for-an-issue} * Tags: issues */ -export async function issuesListEventsForTimeline( +export async function issuesListEventsForTimeline< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -31455,7 +32117,9 @@ export async function issuesListEventsForTimeline( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-deploy-keys} * Tags: repos */ -export async function reposListDeployKeys( +export async function reposListDeployKeys< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -31480,7 +32144,9 @@ export async function reposListDeployKeys( * Learn more at {@link https://docs.github.com/rest/reference/repos#create-a-deploy-key} * Tags: repos */ -export async function reposCreateDeployKey( +export async function reposCreateDeployKey< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -31520,7 +32186,7 @@ export async function reposCreateDeployKey( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-a-deploy-key} * Tags: repos */ -export async function reposGetDeployKey( +export async function reposGetDeployKey( ctx: r.Context, params: { owner: string; @@ -31545,7 +32211,9 @@ export async function reposGetDeployKey( * Learn more at {@link https://docs.github.com/rest/reference/repos#delete-a-deploy-key} * Tags: repos */ -export async function reposDeleteDeployKey( +export async function reposDeleteDeployKey< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -31567,7 +32235,9 @@ export async function reposDeleteDeployKey( * Learn more at {@link https://docs.github.com/rest/reference/issues#list-labels-for-a-repository} * Tags: issues */ -export async function issuesListLabelsForRepo( +export async function issuesListLabelsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -31591,7 +32261,7 @@ export async function issuesListLabelsForRepo( * Learn more at {@link https://docs.github.com/rest/reference/issues#create-a-label} * Tags: issues */ -export async function issuesCreateLabel( +export async function issuesCreateLabel( ctx: r.Context, params: { owner: string; @@ -31631,7 +32301,7 @@ export async function issuesCreateLabel( * Learn more at {@link https://docs.github.com/rest/reference/issues#get-a-label} * Tags: issues */ -export async function issuesGetLabel( +export async function issuesGetLabel( ctx: r.Context, params: { owner: string; @@ -31653,7 +32323,7 @@ export async function issuesGetLabel( * Learn more at {@link https://docs.github.com/rest/reference/issues#update-a-label} * Tags: issues */ -export async function issuesUpdateLabel( +export async function issuesUpdateLabel( ctx: r.Context, params: { owner: string; @@ -31690,7 +32360,7 @@ export async function issuesUpdateLabel( * Learn more at {@link https://docs.github.com/rest/reference/issues#delete-a-label} * Tags: issues */ -export async function issuesDeleteLabel( +export async function issuesDeleteLabel( ctx: r.Context, params: { owner: string; @@ -31714,7 +32384,7 @@ export async function issuesDeleteLabel( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-repository-languages} * Tags: repos */ -export async function reposListLanguages( +export async function reposListLanguages( ctx: r.Context, params: { owner: string; @@ -31741,7 +32411,7 @@ export async function reposListLanguages( * Learn more at {@link https://docs.github.com/rest/reference/licenses/#get-the-license-for-a-repository} * Tags: licenses */ -export async function licensesGetForRepo( +export async function licensesGetForRepo( ctx: r.Context, params: { owner: string; @@ -31762,7 +32432,7 @@ export async function licensesGetForRepo( * Learn more at {@link https://docs.github.com/rest/reference/repos#merge-a-branch} * Tags: repos */ -export async function reposMerge( +export async function reposMerge( ctx: r.Context, params: { owner: string; @@ -31805,7 +32475,9 @@ export async function reposMerge( * Learn more at {@link https://docs.github.com/rest/reference/issues#list-milestones} * Tags: issues */ -export async function issuesListMilestones( +export async function issuesListMilestones< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -31840,7 +32512,9 @@ export async function issuesListMilestones( * Learn more at {@link https://docs.github.com/rest/reference/issues#create-a-milestone} * Tags: issues */ -export async function issuesCreateMilestone( +export async function issuesCreateMilestone< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -31891,7 +32565,7 @@ export async function issuesCreateMilestone( * Learn more at {@link https://docs.github.com/rest/reference/issues#get-a-milestone} * Tags: issues */ -export async function issuesGetMilestone( +export async function issuesGetMilestone( ctx: r.Context, params: { owner: string; @@ -31921,7 +32595,9 @@ export async function issuesGetMilestone( * Learn more at {@link https://docs.github.com/rest/reference/issues#update-a-milestone} * Tags: issues */ -export async function issuesUpdateMilestone( +export async function issuesUpdateMilestone< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -31969,7 +32645,9 @@ export async function issuesUpdateMilestone( * Learn more at {@link https://docs.github.com/rest/reference/issues#delete-a-milestone} * Tags: issues */ -export async function issuesDeleteMilestone( +export async function issuesDeleteMilestone< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -31991,7 +32669,9 @@ export async function issuesDeleteMilestone( * Learn more at {@link https://docs.github.com/rest/reference/issues#list-labels-for-issues-in-a-milestone} * Tags: issues */ -export async function issuesListLabelsForMilestone( +export async function issuesListLabelsForMilestone< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -32018,7 +32698,7 @@ export async function issuesListLabelsForMilestone( * Tags: activity */ export async function activityListRepoNotificationsForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -32066,7 +32746,9 @@ export async function activityListRepoNotificationsForAuthenticatedUser< * Learn more at {@link https://docs.github.com/rest/reference/activity#mark-repository-notifications-as-read} * Tags: activity */ -export async function activityMarkRepoNotificationsAsRead( +export async function activityMarkRepoNotificationsAsRead< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -32103,7 +32785,7 @@ export async function activityMarkRepoNotificationsAsRead( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-a-github-pages-site} * Tags: repos */ -export async function reposGetPages( +export async function reposGetPages( ctx: r.Context, params: { owner: string; @@ -32126,7 +32808,9 @@ export async function reposGetPages( * Learn more at {@link https://docs.github.com/rest/reference/repos#create-a-github-pages-site} * Tags: repos */ -export async function reposCreatePagesSite( +export async function reposCreatePagesSite< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -32177,7 +32861,9 @@ export async function reposCreatePagesSite( * Learn more at {@link https://docs.github.com/rest/reference/repos#update-information-about-a-github-pages-site} * Tags: repos */ -export async function reposUpdateInformationAboutPagesSite( +export async function reposUpdateInformationAboutPagesSite< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -32204,7 +32890,9 @@ export async function reposUpdateInformationAboutPagesSite( * Learn more at {@link https://docs.github.com/rest/reference/repos#delete-a-github-pages-site} * Tags: repos */ -export async function reposDeletePagesSite( +export async function reposDeletePagesSite< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -32236,7 +32924,9 @@ export async function reposDeletePagesSite( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-github-pages-builds} * Tags: repos */ -export async function reposListPagesBuilds( +export async function reposListPagesBuilds< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -32273,7 +32963,9 @@ export async function reposListPagesBuilds( * Learn more at {@link https://docs.github.com/rest/reference/repos#request-a-github-pages-build} * Tags: repos */ -export async function reposRequestPagesBuild( +export async function reposRequestPagesBuild< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -32294,7 +32986,9 @@ export async function reposRequestPagesBuild( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-latest-pages-build} * Tags: repos */ -export async function reposGetLatestPagesBuild( +export async function reposGetLatestPagesBuild< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -32321,7 +33015,7 @@ export async function reposGetLatestPagesBuild( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-github-pages-build} * Tags: repos */ -export async function reposGetPagesBuild( +export async function reposGetPagesBuild( ctx: r.Context, params: { owner: string; @@ -32358,7 +33052,9 @@ export async function reposGetPagesBuild( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-a-dns-health-check-for-github-pages} * Tags: repos */ -export async function reposGetPagesHealthCheck( +export async function reposGetPagesHealthCheck< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -32387,7 +33083,9 @@ export async function reposGetPagesHealthCheck( * Learn more at {@link https://docs.github.com/rest/reference/projects#list-repository-projects} * Tags: projects */ -export async function projectsListForRepo( +export async function projectsListForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -32427,7 +33125,9 @@ export async function projectsListForRepo( * Learn more at {@link https://docs.github.com/rest/reference/projects#create-a-repository-project} * Tags: projects */ -export async function projectsCreateForRepo( +export async function projectsCreateForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -32476,7 +33176,7 @@ export async function projectsCreateForRepo( * Learn more at {@link https://docs.github.com/rest/reference/pulls#list-pull-requests} * Tags: pulls */ -export async function pullsList( +export async function pullsList( ctx: r.Context, params: { owner: string; @@ -32543,7 +33243,7 @@ export async function pullsList( * Learn more at {@link https://docs.github.com/rest/reference/pulls#create-a-pull-request} * Tags: pulls */ -export async function pullsCreate( +export async function pullsCreate( ctx: r.Context, params: { owner: string; @@ -32606,7 +33306,9 @@ export async function pullsCreate( * Learn more at {@link https://docs.github.com/rest/reference/pulls#list-review-comments-in-a-repository} * Tags: pulls */ -export async function pullsListReviewCommentsForRepo( +export async function pullsListReviewCommentsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -32644,7 +33346,9 @@ export async function pullsListReviewCommentsForRepo( * Learn more at {@link https://docs.github.com/rest/reference/pulls#get-a-review-comment-for-a-pull-request} * Tags: pulls */ -export async function pullsGetReviewComment( +export async function pullsGetReviewComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -32678,7 +33382,9 @@ export async function pullsGetReviewComment( * Learn more at {@link https://docs.github.com/rest/reference/pulls#update-a-review-comment-for-a-pull-request} * Tags: pulls */ -export async function pullsUpdateReviewComment( +export async function pullsUpdateReviewComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -32716,7 +33422,9 @@ export async function pullsUpdateReviewComment( * Learn more at {@link https://docs.github.com/rest/reference/pulls#delete-a-review-comment-for-a-pull-request} * Tags: pulls */ -export async function pullsDeleteReviewComment( +export async function pullsDeleteReviewComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -32739,7 +33447,9 @@ export async function pullsDeleteReviewComment( * Learn more at {@link https://docs.github.com/rest/reference/reactions#list-reactions-for-a-pull-request-review-comment} * Tags: reactions */ -export async function reactionsListForPullRequestReviewComment( +export async function reactionsListForPullRequestReviewComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -32791,7 +33501,9 @@ export async function reactionsListForPullRequestReviewComment( * Learn more at {@link https://docs.github.com/rest/reference/reactions#create-reaction-for-a-pull-request-review-comment} * Tags: reactions */ -export async function reactionsCreateForPullRequestReviewComment( +export async function reactionsCreateForPullRequestReviewComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -32851,7 +33563,9 @@ export async function reactionsCreateForPullRequestReviewComment( * Learn more at {@link https://docs.github.com/rest/reference/reactions#delete-a-pull-request-comment-reaction} * Tags: reactions */ -export async function reactionsDeleteForPullRequestComment( +export async function reactionsDeleteForPullRequestComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -32914,7 +33628,7 @@ export async function reactionsDeleteForPullRequestComment( * Learn more at {@link https://docs.github.com/rest/reference/pulls#get-a-pull-request} * Tags: pulls */ -export async function pullsGet( +export async function pullsGet( ctx: r.Context, params: { owner: string; @@ -32956,7 +33670,7 @@ export async function pullsGet( * Learn more at {@link https://docs.github.com/rest/reference/pulls/#update-a-pull-request} * Tags: pulls */ -export async function pullsUpdate( +export async function pullsUpdate( ctx: r.Context, params: { owner: string; @@ -33012,7 +33726,9 @@ export async function pullsUpdate( * Learn more at {@link https://docs.github.com/rest/reference/pulls#list-review-comments-on-a-pull-request} * Tags: pulls */ -export async function pullsListReviewComments( +export async function pullsListReviewComments< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -33073,7 +33789,9 @@ export async function pullsListReviewComments( * Learn more at {@link https://docs.github.com/rest/reference/pulls#create-a-review-comment-for-a-pull-request} * Tags: pulls */ -export async function pullsCreateReviewComment( +export async function pullsCreateReviewComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -33157,7 +33875,9 @@ export async function pullsCreateReviewComment( * Learn more at {@link https://docs.github.com/rest/reference/pulls#create-a-reply-for-a-review-comment} * Tags: pulls */ -export async function pullsCreateReplyForReviewComment( +export async function pullsCreateReplyForReviewComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -33200,7 +33920,7 @@ export async function pullsCreateReplyForReviewComment( * Learn more at {@link https://docs.github.com/rest/reference/pulls#list-commits-on-a-pull-request} * Tags: pulls */ -export async function pullsListCommits( +export async function pullsListCommits( ctx: r.Context, params: { owner: string; @@ -33226,7 +33946,7 @@ export async function pullsListCommits( * Learn more at {@link https://docs.github.com/rest/reference/pulls#list-pull-requests-files} * Tags: pulls */ -export async function pullsListFiles( +export async function pullsListFiles( ctx: r.Context, params: { owner: string; @@ -33255,7 +33975,7 @@ export async function pullsListFiles( * Learn more at {@link https://docs.github.com/rest/reference/pulls#check-if-a-pull-request-has-been-merged} * Tags: pulls */ -export async function pullsCheckIfMerged( +export async function pullsCheckIfMerged( ctx: r.Context, params: { owner: string; @@ -33284,7 +34004,7 @@ export async function pullsCheckIfMerged( * Learn more at {@link https://docs.github.com/rest/reference/pulls#merge-a-pull-request} * Tags: pulls */ -export async function pullsMerge( +export async function pullsMerge( ctx: r.Context, params: { owner: string; @@ -33344,7 +34064,9 @@ export async function pullsMerge( * Learn more at {@link https://docs.github.com/rest/reference/pulls#list-requested-reviewers-for-a-pull-request} * Tags: pulls */ -export async function pullsListRequestedReviewers( +export async function pullsListRequestedReviewers< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -33376,7 +34098,9 @@ export async function pullsListRequestedReviewers( * Learn more at {@link https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request} * Tags: pulls */ -export async function pullsRequestReviewers( +export async function pullsRequestReviewers< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -33410,7 +34134,9 @@ export async function pullsRequestReviewers( * Learn more at {@link https://docs.github.com/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request} * Tags: pulls */ -export async function pullsRemoveRequestedReviewers( +export async function pullsRemoveRequestedReviewers< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -33453,7 +34179,7 @@ export async function pullsRemoveRequestedReviewers( * Learn more at {@link https://docs.github.com/rest/reference/pulls#list-reviews-for-a-pull-request} * Tags: pulls */ -export async function pullsListReviews( +export async function pullsListReviews( ctx: r.Context, params: { owner: string; @@ -33507,7 +34233,7 @@ export async function pullsListReviews( * Learn more at {@link https://docs.github.com/rest/reference/pulls#create-a-review-for-a-pull-request} * Tags: pulls */ -export async function pullsCreateReview( +export async function pullsCreateReview( ctx: r.Context, params: { owner: string; @@ -33587,7 +34313,7 @@ export async function pullsCreateReview( * Learn more at {@link https://docs.github.com/rest/reference/pulls#get-a-review-for-a-pull-request} * Tags: pulls */ -export async function pullsGetReview( +export async function pullsGetReview( ctx: r.Context, params: { owner: string; @@ -33619,7 +34345,7 @@ export async function pullsGetReview( * Learn more at {@link https://docs.github.com/rest/reference/pulls#update-a-review-for-a-pull-request} * Tags: pulls */ -export async function pullsUpdateReview( +export async function pullsUpdateReview( ctx: r.Context, params: { owner: string; @@ -33658,7 +34384,9 @@ export async function pullsUpdateReview( * Learn more at {@link https://docs.github.com/rest/reference/pulls#delete-a-pending-review-for-a-pull-request} * Tags: pulls */ -export async function pullsDeletePendingReview( +export async function pullsDeletePendingReview< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -33692,7 +34420,9 @@ export async function pullsDeletePendingReview( * Learn more at {@link https://docs.github.com/rest/reference/pulls#list-comments-for-a-pull-request-review} * Tags: pulls */ -export async function pullsListCommentsForReview( +export async function pullsListCommentsForReview< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -33731,7 +34461,7 @@ export async function pullsListCommentsForReview( * Learn more at {@link https://docs.github.com/rest/reference/pulls#dismiss-a-review-for-a-pull-request} * Tags: pulls */ -export async function pullsDismissReview( +export async function pullsDismissReview( ctx: r.Context, params: { owner: string; @@ -33775,7 +34505,7 @@ export async function pullsDismissReview( * Learn more at {@link https://docs.github.com/rest/reference/pulls#submit-a-review-for-a-pull-request} * Tags: pulls */ -export async function pullsSubmitReview( +export async function pullsSubmitReview( ctx: r.Context, params: { owner: string; @@ -33822,7 +34552,7 @@ export async function pullsSubmitReview( * Learn more at {@link https://docs.github.com/rest/reference/pulls#update-a-pull-request-branch} * Tags: pulls */ -export async function pullsUpdateBranch( +export async function pullsUpdateBranch( ctx: r.Context, params: { owner: string; @@ -33872,7 +34602,7 @@ export async function pullsUpdateBranch( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-a-repository-readme} * Tags: repos */ -export async function reposGetReadme( +export async function reposGetReadme( ctx: r.Context, params: { owner: string; @@ -33903,7 +34633,9 @@ export async function reposGetReadme( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-a-repository-directory-readme} * Tags: repos */ -export async function reposGetReadmeInDirectory( +export async function reposGetReadmeInDirectory< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -33937,7 +34669,7 @@ export async function reposGetReadmeInDirectory( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-releases} * Tags: repos */ -export async function reposListReleases( +export async function reposListReleases( ctx: r.Context, params: { owner: string; @@ -33978,7 +34710,7 @@ export async function reposListReleases( * Learn more at {@link https://docs.github.com/rest/reference/repos#create-a-release} * Tags: repos */ -export async function reposCreateRelease( +export async function reposCreateRelease( ctx: r.Context, params: { owner: string; @@ -34043,7 +34775,9 @@ export async function reposCreateRelease( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-a-release-asset} * Tags: repos */ -export async function reposGetReleaseAsset( +export async function reposGetReleaseAsset< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -34083,7 +34817,9 @@ export async function reposGetReleaseAsset( * Learn more at {@link https://docs.github.com/rest/reference/repos#update-a-release-asset} * Tags: repos */ -export async function reposUpdateReleaseAsset( +export async function reposUpdateReleaseAsset< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -34126,7 +34862,9 @@ export async function reposUpdateReleaseAsset( * Learn more at {@link https://docs.github.com/rest/reference/repos#delete-a-release-asset} * Tags: repos */ -export async function reposDeleteReleaseAsset( +export async function reposDeleteReleaseAsset< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -34153,7 +34891,9 @@ export async function reposDeleteReleaseAsset( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-the-latest-release} * Tags: repos */ -export async function reposGetLatestRelease( +export async function reposGetLatestRelease< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -34181,7 +34921,9 @@ export async function reposGetLatestRelease( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-a-release-by-tag-name} * Tags: repos */ -export async function reposGetReleaseByTag( +export async function reposGetReleaseByTag< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -34211,7 +34953,7 @@ export async function reposGetReleaseByTag( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-a-release} * Tags: repos */ -export async function reposGetRelease( +export async function reposGetRelease( ctx: r.Context, params: { owner: string; @@ -34240,7 +34982,7 @@ export async function reposGetRelease( * Learn more at {@link https://docs.github.com/rest/reference/repos#update-a-release} * Tags: repos */ -export async function reposUpdateRelease( +export async function reposUpdateRelease( ctx: r.Context, params: { owner: string; @@ -34300,7 +35042,7 @@ export async function reposUpdateRelease( * Learn more at {@link https://docs.github.com/rest/reference/repos#delete-a-release} * Tags: repos */ -export async function reposDeleteRelease( +export async function reposDeleteRelease( ctx: r.Context, params: { owner: string; @@ -34322,7 +35064,9 @@ export async function reposDeleteRelease( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-release-assets} * Tags: repos */ -export async function reposListReleaseAssets( +export async function reposListReleaseAssets< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -34390,7 +35134,9 @@ export async function reposListReleaseAssets( * Learn more at {@link https://docs.github.com/rest/reference/repos#upload-a-release-asset} * Tags: repos */ -export async function reposUploadReleaseAsset( +export async function reposUploadReleaseAsset< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -34425,7 +35171,9 @@ export async function reposUploadReleaseAsset( * Learn more at {@link https://docs.github.com/rest/reference/reactions/#create-reaction-for-a-release} * Tags: reactions */ -export async function reactionsCreateForRelease( +export async function reactionsCreateForRelease< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -34477,7 +35225,9 @@ export async function reactionsCreateForRelease( * Learn more at {@link https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-a-repository} * Tags: secret-scanning */ -export async function secretScanningListAlertsForRepo( +export async function secretScanningListAlertsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -34527,7 +35277,9 @@ export async function secretScanningListAlertsForRepo( * Learn more at {@link https://docs.github.com/rest/reference/secret-scanning#get-a-secret-scanning-alert} * Tags: secret-scanning */ -export async function secretScanningGetAlert( +export async function secretScanningGetAlert< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -34571,7 +35323,9 @@ export async function secretScanningGetAlert( * Learn more at {@link https://docs.github.com/rest/reference/secret-scanning#update-a-secret-scanning-alert} * Tags: secret-scanning */ -export async function secretScanningUpdateAlert( +export async function secretScanningUpdateAlert< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -34620,7 +35374,9 @@ export async function secretScanningUpdateAlert( * Learn more at {@link https://docs.github.com/rest/reference/activity#list-stargazers} * Tags: activity */ -export async function activityListStargazersForRepo( +export async function activityListStargazersForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -34658,7 +35414,9 @@ export async function activityListStargazersForRepo( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-the-weekly-commit-activity} * Tags: repos */ -export async function reposGetCodeFrequencyStats( +export async function reposGetCodeFrequencyStats< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -34685,7 +35443,9 @@ export async function reposGetCodeFrequencyStats( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-the-last-year-of-commit-activity} * Tags: repos */ -export async function reposGetCommitActivityStats( +export async function reposGetCommitActivityStats< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -34719,7 +35479,9 @@ export async function reposGetCommitActivityStats( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-all-contributor-commit-activity} * Tags: repos */ -export async function reposGetContributorsStats( +export async function reposGetContributorsStats< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -34749,7 +35511,9 @@ export async function reposGetContributorsStats( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-the-weekly-commit-count} * Tags: repos */ -export async function reposGetParticipationStats( +export async function reposGetParticipationStats< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -34781,7 +35545,9 @@ export async function reposGetParticipationStats( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-the-hourly-commit-count-for-each-day} * Tags: repos */ -export async function reposGetPunchCardStats( +export async function reposGetPunchCardStats< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -34809,7 +35575,9 @@ export async function reposGetPunchCardStats( * Learn more at {@link https://docs.github.com/rest/reference/repos#create-a-commit-status} * Tags: repos */ -export async function reposCreateCommitStatus( +export async function reposCreateCommitStatus< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -34854,7 +35622,9 @@ export async function reposCreateCommitStatus( * Learn more at {@link https://docs.github.com/rest/reference/activity#list-watchers} * Tags: activity */ -export async function activityListWatchersForRepo( +export async function activityListWatchersForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -34878,7 +35648,9 @@ export async function activityListWatchersForRepo( * Learn more at {@link https://docs.github.com/rest/reference/activity#get-a-repository-subscription} * Tags: activity */ -export async function activityGetRepoSubscription( +export async function activityGetRepoSubscription< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -34914,7 +35686,9 @@ export async function activityGetRepoSubscription( * Learn more at {@link https://docs.github.com/rest/reference/activity#set-a-repository-subscription} * Tags: activity */ -export async function activitySetRepoSubscription( +export async function activitySetRepoSubscription< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -34957,7 +35731,9 @@ export async function activitySetRepoSubscription( * Learn more at {@link https://docs.github.com/rest/reference/activity#delete-a-repository-subscription} * Tags: activity */ -export async function activityDeleteRepoSubscription( +export async function activityDeleteRepoSubscription< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -34978,7 +35754,7 @@ export async function activityDeleteRepoSubscription( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-repository-tags} * Tags: repos */ -export async function reposListTags( +export async function reposListTags( ctx: r.Context, params: { owner: string; @@ -35009,7 +35785,9 @@ export async function reposListTags( * Learn more at {@link https://docs.github.com/rest/reference/repos#download-a-repository-archive} * Tags: repos */ -export async function reposDownloadTarballArchive( +export async function reposDownloadTarballArchive< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -35031,7 +35809,7 @@ export async function reposDownloadTarballArchive( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-repository-teams} * Tags: repos */ -export async function reposListTeams( +export async function reposListTeams( ctx: r.Context, params: { owner: string; @@ -35055,7 +35833,7 @@ export async function reposListTeams( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-all-repository-topics} * Tags: repos */ -export async function reposGetAllTopics( +export async function reposGetAllTopics( ctx: r.Context, params: { owner: string; @@ -35089,7 +35867,9 @@ export async function reposGetAllTopics( * Learn more at {@link https://docs.github.com/rest/reference/repos#replace-all-repository-topics} * Tags: repos */ -export async function reposReplaceAllTopics( +export async function reposReplaceAllTopics< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -35130,7 +35910,7 @@ export async function reposReplaceAllTopics( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-repository-clones} * Tags: repos */ -export async function reposGetClones( +export async function reposGetClones( ctx: r.Context, params: { owner: string; @@ -35162,7 +35942,7 @@ export async function reposGetClones( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-top-referral-paths} * Tags: repos */ -export async function reposGetTopPaths( +export async function reposGetTopPaths( ctx: r.Context, params: { owner: string; @@ -35186,7 +35966,9 @@ export async function reposGetTopPaths( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-top-referral-sources} * Tags: repos */ -export async function reposGetTopReferrers( +export async function reposGetTopReferrers< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -35211,7 +35993,7 @@ export async function reposGetTopReferrers( * Learn more at {@link https://docs.github.com/rest/reference/repos#get-page-views} * Tags: repos */ -export async function reposGetViews( +export async function reposGetViews( ctx: r.Context, params: { owner: string; @@ -35246,7 +36028,7 @@ export async function reposGetViews( * Learn more at {@link https://docs.github.com/rest/reference/repos#transfer-a-repository} * Tags: repos */ -export async function reposTransfer( +export async function reposTransfer( ctx: r.Context, params: { owner: string; @@ -35287,7 +36069,9 @@ export async function reposTransfer( * Learn more at {@link https://docs.github.com/rest/reference/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository} * Tags: repos */ -export async function reposCheckVulnerabilityAlerts( +export async function reposCheckVulnerabilityAlerts< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -35311,7 +36095,9 @@ export async function reposCheckVulnerabilityAlerts( * Learn more at {@link https://docs.github.com/rest/reference/repos#enable-vulnerability-alerts} * Tags: repos */ -export async function reposEnableVulnerabilityAlerts( +export async function reposEnableVulnerabilityAlerts< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -35335,7 +36121,9 @@ export async function reposEnableVulnerabilityAlerts( * Learn more at {@link https://docs.github.com/rest/reference/repos#disable-vulnerability-alerts} * Tags: repos */ -export async function reposDisableVulnerabilityAlerts( +export async function reposDisableVulnerabilityAlerts< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -35363,7 +36151,9 @@ export async function reposDisableVulnerabilityAlerts( * Learn more at {@link https://docs.github.com/rest/reference/repos#download-a-repository-archive} * Tags: repos */ -export async function reposDownloadZipballArchive( +export async function reposDownloadZipballArchive< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -35400,7 +36190,9 @@ export async function reposDownloadZipballArchive( * Learn more at {@link https://docs.github.com/rest/reference/repos#create-a-repository-using-a-template} * Tags: repos */ -export async function reposCreateUsingTemplate( +export async function reposCreateUsingTemplate< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { template_owner: string; @@ -35458,7 +36250,7 @@ export async function reposCreateUsingTemplate( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-public-repositories} * Tags: repos */ -export async function reposListPublic( +export async function reposListPublic( ctx: r.Context, params: { since?: number; @@ -35494,7 +36286,9 @@ export async function reposListPublic( * Learn more at {@link https://docs.github.com/rest/reference/actions#list-environment-secrets} * Tags: actions */ -export async function actionsListEnvironmentSecrets( +export async function actionsListEnvironmentSecrets< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { repository_id: number; @@ -35542,7 +36336,9 @@ export async function actionsListEnvironmentSecrets( * Learn more at {@link https://docs.github.com/rest/reference/actions#get-an-environment-public-key} * Tags: actions */ -export async function actionsGetEnvironmentPublicKey( +export async function actionsGetEnvironmentPublicKey< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { repository_id: number; @@ -35565,7 +36361,9 @@ export async function actionsGetEnvironmentPublicKey( * Learn more at {@link https://docs.github.com/rest/reference/actions#get-an-environment-secret} * Tags: actions */ -export async function actionsGetEnvironmentSecret( +export async function actionsGetEnvironmentSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { repository_id: number; @@ -35691,7 +36489,9 @@ export async function actionsGetEnvironmentSecret( * Learn more at {@link https://docs.github.com/rest/reference/actions#create-or-update-an-environment-secret} * Tags: actions */ -export async function actionsCreateOrUpdateEnvironmentSecret( +export async function actionsCreateOrUpdateEnvironmentSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { repository_id: number; @@ -35728,7 +36528,9 @@ export async function actionsCreateOrUpdateEnvironmentSecret( * Learn more at {@link https://docs.github.com/rest/reference/actions#delete-an-environment-secret} * Tags: actions */ -export async function actionsDeleteEnvironmentSecret( +export async function actionsDeleteEnvironmentSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { repository_id: number; @@ -35752,7 +36554,7 @@ export async function actionsDeleteEnvironmentSecret( * Tags: enterprise-admin */ export async function enterpriseAdminListProvisionedGroupsEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -35784,7 +36586,7 @@ export async function enterpriseAdminListProvisionedGroupsEnterprise< * Tags: enterprise-admin */ export async function enterpriseAdminProvisionAndInviteEnterpriseGroup< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -35824,7 +36626,7 @@ export async function enterpriseAdminProvisionAndInviteEnterpriseGroup< * Tags: enterprise-admin */ export async function enterpriseAdminGetProvisioningInformationForEnterpriseGroup< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -35856,7 +36658,7 @@ export async function enterpriseAdminGetProvisioningInformationForEnterpriseGrou * Tags: enterprise-admin */ export async function enterpriseAdminSetInformationForProvisionedEnterpriseGroup< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -35902,7 +36704,7 @@ export async function enterpriseAdminSetInformationForProvisionedEnterpriseGroup * Tags: enterprise-admin */ export async function enterpriseAdminUpdateAttributeForEnterpriseGroup< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -35940,7 +36742,9 @@ export async function enterpriseAdminUpdateAttributeForEnterpriseGroup< * Learn more at {@link https://docs.github.com/rest/reference/enterprise-admin#delete-a-scim-group-from-an-enterprise} * Tags: enterprise-admin */ -export async function enterpriseAdminDeleteScimGroupFromEnterprise( +export async function enterpriseAdminDeleteScimGroupFromEnterprise< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { enterprise: string; @@ -35997,7 +36801,7 @@ export async function enterpriseAdminDeleteScimGroupFromEnterprise( * Tags: enterprise-admin */ export async function enterpriseAdminListProvisionedIdentitiesEnterprise< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -36031,7 +36835,7 @@ export async function enterpriseAdminListProvisionedIdentitiesEnterprise< * Tags: enterprise-admin */ export async function enterpriseAdminProvisionAndInviteEnterpriseUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -36098,7 +36902,7 @@ export async function enterpriseAdminProvisionAndInviteEnterpriseUser< * Tags: enterprise-admin */ export async function enterpriseAdminGetProvisioningInformationForEnterpriseUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -36134,7 +36938,7 @@ export async function enterpriseAdminGetProvisioningInformationForEnterpriseUser * Tags: enterprise-admin */ export async function enterpriseAdminSetInformationForProvisionedEnterpriseUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -36226,7 +37030,7 @@ export async function enterpriseAdminSetInformationForProvisionedEnterpriseUser< * Tags: enterprise-admin */ export async function enterpriseAdminUpdateAttributeForEnterpriseUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -36260,7 +37064,9 @@ export async function enterpriseAdminUpdateAttributeForEnterpriseUser< * Learn more at {@link https://docs.github.com/rest/reference/enterprise-admin#delete-a-scim-user-from-an-enterprise} * Tags: enterprise-admin */ -export async function enterpriseAdminDeleteUserFromEnterprise( +export async function enterpriseAdminDeleteUserFromEnterprise< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { enterprise: string; @@ -36315,7 +37121,9 @@ export async function enterpriseAdminDeleteUserFromEnterprise( * Learn more at {@link https://docs.github.com/rest/reference/scim#list-scim-provisioned-identities} * Tags: scim */ -export async function scimListProvisionedIdentities( +export async function scimListProvisionedIdentities< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -36346,7 +37154,9 @@ export async function scimListProvisionedIdentities( * Learn more at {@link https://docs.github.com/rest/reference/scim#provision-and-invite-a-scim-user} * Tags: scim */ -export async function scimProvisionAndInviteUser( +export async function scimProvisionAndInviteUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -36422,7 +37232,9 @@ export async function scimProvisionAndInviteUser( * Learn more at {@link https://docs.github.com/rest/reference/scim#get-scim-provisioning-information-for-a-user} * Tags: scim */ -export async function scimGetProvisioningInformationForUser( +export async function scimGetProvisioningInformationForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -36458,7 +37270,9 @@ export async function scimGetProvisioningInformationForUser( * Learn more at {@link https://docs.github.com/rest/reference/scim#set-scim-information-for-a-provisioned-user} * Tags: scim */ -export async function scimSetInformationForProvisionedUser( +export async function scimSetInformationForProvisionedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -36555,7 +37369,9 @@ export async function scimSetInformationForProvisionedUser( * Learn more at {@link https://docs.github.com/rest/reference/scim#update-an-attribute-for-a-scim-user} * Tags: scim */ -export async function scimUpdateAttributeForUser( +export async function scimUpdateAttributeForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -36616,7 +37432,9 @@ export async function scimUpdateAttributeForUser( * Learn more at {@link https://docs.github.com/rest/reference/scim#delete-a-scim-user-from-an-organization} * Tags: scim */ -export async function scimDeleteUserFromOrg( +export async function scimDeleteUserFromOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -36673,7 +37491,7 @@ export async function scimDeleteUserFromOrg( * Learn more at {@link https://docs.github.com/rest/reference/search#search-code} * Tags: search */ -export async function searchCode( +export async function searchCode( ctx: r.Context, params: { q: string; @@ -36748,7 +37566,7 @@ export async function searchCode( * Learn more at {@link https://docs.github.com/rest/reference/search#search-commits} * Tags: search */ -export async function searchCommits( +export async function searchCommits( ctx: r.Context, params: { q: string; @@ -36833,7 +37651,9 @@ export async function searchCommits( * Learn more at {@link https://docs.github.com/rest/reference/search#search-issues-and-pull-requests} * Tags: search */ -export async function searchIssuesAndPullRequests( +export async function searchIssuesAndPullRequests< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { q: string; @@ -36921,7 +37741,7 @@ export async function searchIssuesAndPullRequests( * Learn more at {@link https://docs.github.com/rest/reference/search#search-labels} * Tags: search */ -export async function searchLabels( +export async function searchLabels( ctx: r.Context, params: { repository_id: number; @@ -36983,7 +37803,7 @@ export async function searchLabels( * Learn more at {@link https://docs.github.com/rest/reference/search#search-repositories} * Tags: search */ -export async function searchRepos( +export async function searchRepos( ctx: r.Context, params: { q: string; @@ -37061,7 +37881,7 @@ export async function searchRepos( * Learn more at {@link https://docs.github.com/rest/reference/search#search-topics} * Tags: search */ -export async function searchTopics( +export async function searchTopics( ctx: r.Context, params: { q: string; @@ -37134,7 +37954,7 @@ export async function searchTopics( * Learn more at {@link https://docs.github.com/rest/reference/search#search-users} * Tags: search */ -export async function searchUsers( +export async function searchUsers( ctx: r.Context, params: { q: string; @@ -37198,7 +38018,7 @@ export async function searchUsers( * Learn more at {@link https://docs.github.com/rest/reference/teams/#get-a-team-legacy} * Tags: teams */ -export async function teamsGetLegacy( +export async function teamsGetLegacy( ctx: r.Context, params: { team_id: number; @@ -37235,7 +38055,7 @@ export async function teamsGetLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams/#update-a-team-legacy} * Tags: teams */ -export async function teamsUpdateLegacy( +export async function teamsUpdateLegacy( ctx: r.Context, params: { team_id: number; @@ -37309,7 +38129,7 @@ export async function teamsUpdateLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams/#delete-a-team-legacy} * Tags: teams */ -export async function teamsDeleteLegacy( +export async function teamsDeleteLegacy( ctx: r.Context, params: { team_id: number; @@ -37340,7 +38160,9 @@ export async function teamsDeleteLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams#list-discussions-legacy} * Tags: teams */ -export async function teamsListDiscussionsLegacy( +export async function teamsListDiscussionsLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -37388,7 +38210,9 @@ export async function teamsListDiscussionsLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams#create-a-discussion-legacy} * Tags: teams */ -export async function teamsCreateDiscussionLegacy( +export async function teamsCreateDiscussionLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -37436,7 +38260,9 @@ export async function teamsCreateDiscussionLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams#get-a-discussion-legacy} * Tags: teams */ -export async function teamsGetDiscussionLegacy( +export async function teamsGetDiscussionLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -37471,7 +38297,9 @@ export async function teamsGetDiscussionLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams#update-a-discussion-legacy} * Tags: teams */ -export async function teamsUpdateDiscussionLegacy( +export async function teamsUpdateDiscussionLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -37517,7 +38345,9 @@ export async function teamsUpdateDiscussionLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams#delete-a-discussion-legacy} * Tags: teams */ -export async function teamsDeleteDiscussionLegacy( +export async function teamsDeleteDiscussionLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -37546,7 +38376,9 @@ export async function teamsDeleteDiscussionLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams#list-discussion-comments-legacy} * Tags: teams */ -export async function teamsListDiscussionCommentsLegacy( +export async function teamsListDiscussionCommentsLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -37597,7 +38429,9 @@ export async function teamsListDiscussionCommentsLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams#create-a-discussion-comment-legacy} * Tags: teams */ -export async function teamsCreateDiscussionCommentLegacy( +export async function teamsCreateDiscussionCommentLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -37639,7 +38473,9 @@ export async function teamsCreateDiscussionCommentLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams#get-a-discussion-comment-legacy} * Tags: teams */ -export async function teamsGetDiscussionCommentLegacy( +export async function teamsGetDiscussionCommentLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -37675,7 +38511,9 @@ export async function teamsGetDiscussionCommentLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams#update-a-discussion-comment-legacy} * Tags: teams */ -export async function teamsUpdateDiscussionCommentLegacy( +export async function teamsUpdateDiscussionCommentLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -37718,7 +38556,9 @@ export async function teamsUpdateDiscussionCommentLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams#delete-a-discussion-comment-legacy} * Tags: teams */ -export async function teamsDeleteDiscussionCommentLegacy( +export async function teamsDeleteDiscussionCommentLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -37749,7 +38589,9 @@ export async function teamsDeleteDiscussionCommentLegacy( * Learn more at {@link https://docs.github.com/rest/reference/reactions/#list-reactions-for-a-team-discussion-comment-legacy} * Tags: reactions */ -export async function reactionsListForTeamDiscussionCommentLegacy( +export async function reactionsListForTeamDiscussionCommentLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -37800,7 +38642,7 @@ export async function reactionsListForTeamDiscussionCommentLegacy( * Tags: reactions */ export async function reactionsCreateForTeamDiscussionCommentLegacy< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -37852,7 +38694,9 @@ export async function reactionsCreateForTeamDiscussionCommentLegacy< * Learn more at {@link https://docs.github.com/rest/reference/reactions/#list-reactions-for-a-team-discussion-legacy} * Tags: reactions */ -export async function reactionsListForTeamDiscussionLegacy( +export async function reactionsListForTeamDiscussionLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -37900,7 +38744,9 @@ export async function reactionsListForTeamDiscussionLegacy( * Learn more at {@link https://docs.github.com/rest/reference/reactions/#create-reaction-for-a-team-discussion-legacy} * Tags: reactions */ -export async function reactionsCreateForTeamDiscussionLegacy( +export async function reactionsCreateForTeamDiscussionLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -37951,7 +38797,9 @@ export async function reactionsCreateForTeamDiscussionLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams#list-pending-team-invitations-legacy} * Tags: teams */ -export async function teamsListPendingInvitationsLegacy( +export async function teamsListPendingInvitationsLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -37980,7 +38828,9 @@ export async function teamsListPendingInvitationsLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams#list-team-members-legacy} * Tags: teams */ -export async function teamsListMembersLegacy( +export async function teamsListMembersLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -38014,7 +38864,9 @@ export async function teamsListMembersLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams#get-team-member-legacy} * Tags: teams */ -export async function teamsGetMemberLegacy( +export async function teamsGetMemberLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -38061,7 +38913,9 @@ export async function teamsGetMemberLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams#add-team-member-legacy} * Tags: teams */ -export async function teamsAddMemberLegacy( +export async function teamsAddMemberLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -38109,7 +38963,9 @@ export async function teamsAddMemberLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams#remove-team-member-legacy} * Tags: teams */ -export async function teamsRemoveMemberLegacy( +export async function teamsRemoveMemberLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -38147,7 +39003,9 @@ export async function teamsRemoveMemberLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user-legacy} * Tags: teams */ -export async function teamsGetMembershipForUserLegacy( +export async function teamsGetMembershipForUserLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -38200,7 +39058,9 @@ export async function teamsGetMembershipForUserLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy} * Tags: teams */ -export async function teamsAddOrUpdateMembershipForUserLegacy( +export async function teamsAddOrUpdateMembershipForUserLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -38256,7 +39116,9 @@ export async function teamsAddOrUpdateMembershipForUserLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user-legacy} * Tags: teams */ -export async function teamsRemoveMembershipForUserLegacy( +export async function teamsRemoveMembershipForUserLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -38284,7 +39146,9 @@ export async function teamsRemoveMembershipForUserLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams/#list-team-projects-legacy} * Tags: teams */ -export async function teamsListProjectsLegacy( +export async function teamsListProjectsLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -38325,7 +39189,9 @@ export async function teamsListProjectsLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams/#check-team-permissions-for-a-project-legacy} * Tags: teams */ -export async function teamsCheckPermissionsForProjectLegacy( +export async function teamsCheckPermissionsForProjectLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -38365,7 +39231,9 @@ export async function teamsCheckPermissionsForProjectLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams/#add-or-update-team-project-permissions-legacy} * Tags: teams */ -export async function teamsAddOrUpdateProjectPermissionsLegacy( +export async function teamsAddOrUpdateProjectPermissionsLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -38425,7 +39293,9 @@ export async function teamsAddOrUpdateProjectPermissionsLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams/#remove-a-project-from-a-team-legacy} * Tags: teams */ -export async function teamsRemoveProjectLegacy( +export async function teamsRemoveProjectLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -38461,7 +39331,9 @@ export async function teamsRemoveProjectLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams/#list-team-repositories-legacy} * Tags: teams */ -export async function teamsListReposLegacy( +export async function teamsListReposLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -38505,7 +39377,9 @@ export async function teamsListReposLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams/#check-team-permissions-for-a-repository-legacy} * Tags: teams */ -export async function teamsCheckPermissionsForRepoLegacy( +export async function teamsCheckPermissionsForRepoLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -38551,7 +39425,9 @@ export async function teamsCheckPermissionsForRepoLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams/#add-or-update-team-repository-permissions-legacy} * Tags: teams */ -export async function teamsAddOrUpdateRepoPermissionsLegacy( +export async function teamsAddOrUpdateRepoPermissionsLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -38598,7 +39474,9 @@ export async function teamsAddOrUpdateRepoPermissionsLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams/#remove-a-repository-from-a-team-legacy} * Tags: teams */ -export async function teamsRemoveRepoLegacy( +export async function teamsRemoveRepoLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -38631,7 +39509,9 @@ export async function teamsRemoveRepoLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team-legacy} * Tags: teams */ -export async function teamsListIdpGroupsForLegacy( +export async function teamsListIdpGroupsForLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -38668,7 +39548,9 @@ export async function teamsListIdpGroupsForLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections-legacy} * Tags: teams */ -export async function teamsCreateOrUpdateIdpGroupConnectionsLegacy( +export async function teamsCreateOrUpdateIdpGroupConnectionsLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -38732,7 +39614,9 @@ export async function teamsCreateOrUpdateIdpGroupConnectionsLegacy( * Learn more at {@link https://docs.github.com/rest/reference/teams/#list-child-teams-legacy} * Tags: teams */ -export async function teamsListChildLegacy( +export async function teamsListChildLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -38765,7 +39649,9 @@ export async function teamsListChildLegacy( * Learn more at {@link https://docs.github.com/rest/reference/users#get-the-authenticated-user} * Tags: users */ -export async function usersGetAuthenticated( +export async function usersGetAuthenticated< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, opts?: FetcherData, @@ -38808,7 +39694,9 @@ export async function usersGetAuthenticated( * Learn more at {@link https://docs.github.com/rest/reference/users/#update-the-authenticated-user} * Tags: users */ -export async function usersUpdateAuthenticated( +export async function usersUpdateAuthenticated< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: { @@ -38881,7 +39769,9 @@ export async function usersUpdateAuthenticated( * Learn more at {@link https://docs.github.com/rest/reference/users#list-users-blocked-by-the-authenticated-user} * Tags: users */ -export async function usersListBlockedByAuthenticated( +export async function usersListBlockedByAuthenticated< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, opts?: FetcherData, @@ -38912,7 +39802,7 @@ export async function usersListBlockedByAuthenticated( * Learn more at {@link https://docs.github.com/rest/reference/users#check-if-a-user-is-blocked-by-the-authenticated-user} * Tags: users */ -export async function usersCheckBlocked( +export async function usersCheckBlocked( ctx: r.Context, params: { username: string; @@ -38938,7 +39828,7 @@ export async function usersCheckBlocked( * Learn more at {@link https://docs.github.com/rest/reference/users#block-a-user} * Tags: users */ -export async function usersBlock( +export async function usersBlock( ctx: r.Context, params: { username: string; @@ -38965,7 +39855,7 @@ export async function usersBlock( * Learn more at {@link https://docs.github.com/rest/reference/users#unblock-a-user} * Tags: users */ -export async function usersUnblock( +export async function usersUnblock( ctx: r.Context, params: { username: string; @@ -38993,7 +39883,7 @@ export async function usersUnblock( * Tags: users */ export async function usersSetPrimaryEmailVisibilityForAuthenticated< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: {}, @@ -39028,7 +39918,9 @@ export async function usersSetPrimaryEmailVisibilityForAuthenticated< * Learn more at {@link https://docs.github.com/rest/reference/users#list-email-addresses-for-the-authenticated-user} * Tags: users */ -export async function usersListEmailsForAuthenticated( +export async function usersListEmailsForAuthenticated< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -39057,7 +39949,9 @@ export async function usersListEmailsForAuthenticated( * Learn more at {@link https://docs.github.com/rest/reference/users#add-an-email-address-for-the-authenticated-user} * Tags: users */ -export async function usersAddEmailForAuthenticated( +export async function usersAddEmailForAuthenticated< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: @@ -39094,7 +39988,9 @@ export async function usersAddEmailForAuthenticated( * Learn more at {@link https://docs.github.com/rest/reference/users#delete-an-email-address-for-the-authenticated-user} * Tags: users */ -export async function usersDeleteEmailForAuthenticated( +export async function usersDeleteEmailForAuthenticated< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: @@ -39130,7 +40026,9 @@ export async function usersDeleteEmailForAuthenticated( * Learn more at {@link https://docs.github.com/rest/reference/users#list-followers-of-the-authenticated-user} * Tags: users */ -export async function usersListFollowersForAuthenticatedUser( +export async function usersListFollowersForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -39158,7 +40056,9 @@ export async function usersListFollowersForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/reference/users#list-the-people-the-authenticated-user-follows} * Tags: users */ -export async function usersListFollowedByAuthenticated( +export async function usersListFollowedByAuthenticated< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -39185,7 +40085,9 @@ export async function usersListFollowedByAuthenticated( * Learn more at {@link https://docs.github.com/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user} * Tags: users */ -export async function usersCheckPersonIsFollowedByAuthenticated( +export async function usersCheckPersonIsFollowedByAuthenticated< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -39216,7 +40118,7 @@ export async function usersCheckPersonIsFollowedByAuthenticated( * Learn more at {@link https://docs.github.com/rest/reference/users#follow-a-user} * Tags: users */ -export async function usersFollow( +export async function usersFollow( ctx: r.Context, params: { username: string; @@ -39244,7 +40146,7 @@ export async function usersFollow( * Learn more at {@link https://docs.github.com/rest/reference/users#unfollow-a-user} * Tags: users */ -export async function usersUnfollow( +export async function usersUnfollow( ctx: r.Context, params: { username: string; @@ -39272,7 +40174,9 @@ export async function usersUnfollow( * Learn more at {@link https://docs.github.com/rest/reference/users#list-gpg-keys-for-the-authenticated-user} * Tags: users */ -export async function usersListGpgKeysForAuthenticated( +export async function usersListGpgKeysForAuthenticated< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -39309,7 +40213,9 @@ export async function usersListGpgKeysForAuthenticated( * Learn more at {@link https://docs.github.com/rest/reference/users#create-a-gpg-key-for-the-authenticated-user} * Tags: users */ -export async function usersCreateGpgKeyForAuthenticated( +export async function usersCreateGpgKeyForAuthenticated< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: { @@ -39349,7 +40255,9 @@ export async function usersCreateGpgKeyForAuthenticated( * Learn more at {@link https://docs.github.com/rest/reference/users#get-a-gpg-key-for-the-authenticated-user} * Tags: users */ -export async function usersGetGpgKeyForAuthenticated( +export async function usersGetGpgKeyForAuthenticated< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { gpg_key_id: number; @@ -39384,7 +40292,9 @@ export async function usersGetGpgKeyForAuthenticated( * Learn more at {@link https://docs.github.com/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user} * Tags: users */ -export async function usersDeleteGpgKeyForAuthenticated( +export async function usersDeleteGpgKeyForAuthenticated< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { gpg_key_id: number; @@ -39424,7 +40334,9 @@ export async function usersDeleteGpgKeyForAuthenticated( * Learn more at {@link https://docs.github.com/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token} * Tags: apps */ -export async function appsListInstallationsForAuthenticatedUser( +export async function appsListInstallationsForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -39494,7 +40406,7 @@ export async function appsListInstallationsForAuthenticatedUser( * Tags: apps */ export async function appsListInstallationReposForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -39549,7 +40461,9 @@ export async function appsListInstallationReposForAuthenticatedUser< * Learn more at {@link https://docs.github.com/rest/reference/apps#add-a-repository-to-an-app-installation} * Tags: apps */ -export async function appsAddRepoToInstallation( +export async function appsAddRepoToInstallation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { installation_id: number; @@ -39582,7 +40496,9 @@ export async function appsAddRepoToInstallation( * Learn more at {@link https://docs.github.com/rest/reference/apps#remove-a-repository-from-an-app-installation} * Tags: apps */ -export async function appsRemoveRepoFromInstallation( +export async function appsRemoveRepoFromInstallation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { installation_id: number; @@ -39610,7 +40526,7 @@ export async function appsRemoveRepoFromInstallation( * Tags: interactions */ export async function interactionsGetRestrictionsForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: {}, @@ -39646,7 +40562,7 @@ export async function interactionsGetRestrictionsForAuthenticatedUser< * Tags: interactions */ export async function interactionsSetRestrictionsForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: {}, @@ -39680,7 +40596,7 @@ export async function interactionsSetRestrictionsForAuthenticatedUser< * Tags: interactions */ export async function interactionsRemoveRestrictionsForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: {}, @@ -39709,7 +40625,9 @@ export async function interactionsRemoveRestrictionsForAuthenticatedUser< * Learn more at {@link https://docs.github.com/rest/reference/issues#list-user-account-issues-assigned-to-the-authenticated-user} * Tags: issues */ -export async function issuesListForAuthenticatedUser( +export async function issuesListForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { filter?: @@ -39765,7 +40683,9 @@ export async function issuesListForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user} * Tags: users */ -export async function usersListPublicSshKeysForAuthenticated( +export async function usersListPublicSshKeysForAuthenticated< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -39802,7 +40722,9 @@ export async function usersListPublicSshKeysForAuthenticated( * Learn more at {@link https://docs.github.com/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user} * Tags: users */ -export async function usersCreatePublicSshKeyForAuthenticated( +export async function usersCreatePublicSshKeyForAuthenticated< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: { @@ -39848,7 +40770,9 @@ export async function usersCreatePublicSshKeyForAuthenticated( * Learn more at {@link https://docs.github.com/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user} * Tags: users */ -export async function usersGetPublicSshKeyForAuthenticated( +export async function usersGetPublicSshKeyForAuthenticated< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { key_id: number; @@ -39883,7 +40807,9 @@ export async function usersGetPublicSshKeyForAuthenticated( * Learn more at {@link https://docs.github.com/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user} * Tags: users */ -export async function usersDeletePublicSshKeyForAuthenticated( +export async function usersDeletePublicSshKeyForAuthenticated< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { key_id: number; @@ -39913,7 +40839,9 @@ export async function usersDeletePublicSshKeyForAuthenticated( * Learn more at {@link https://docs.github.com/rest/reference/apps#list-subscriptions-for-the-authenticated-user} * Tags: apps */ -export async function appsListSubscriptionsForAuthenticatedUser( +export async function appsListSubscriptionsForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -39955,7 +40883,7 @@ export async function appsListSubscriptionsForAuthenticatedUser( * Tags: apps */ export async function appsListSubscriptionsForAuthenticatedUserStubbed< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -39992,7 +40920,9 @@ export async function appsListSubscriptionsForAuthenticatedUserStubbed< * Learn more at {@link https://docs.github.com/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user} * Tags: orgs */ -export async function orgsListMembershipsForAuthenticatedUser( +export async function orgsListMembershipsForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { state?: 'active' | 'pending'; @@ -40021,7 +40951,9 @@ export async function orgsListMembershipsForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user} * Tags: orgs */ -export async function orgsGetMembershipForAuthenticatedUser( +export async function orgsGetMembershipForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -40045,7 +40977,9 @@ export async function orgsGetMembershipForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user} * Tags: orgs */ -export async function orgsUpdateMembershipForAuthenticatedUser( +export async function orgsUpdateMembershipForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -40078,7 +41012,9 @@ export async function orgsUpdateMembershipForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/reference/migrations#list-user-migrations} * Tags: migrations */ -export async function migrationsListForAuthenticatedUser( +export async function migrationsListForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -40112,7 +41048,9 @@ export async function migrationsListForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/reference/migrations#start-a-user-migration} * Tags: migrations */ -export async function migrationsStartForAuthenticatedUser( +export async function migrationsStartForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: { @@ -40176,7 +41114,9 @@ export async function migrationsStartForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/reference/migrations#get-a-user-migration-status} * Tags: migrations */ -export async function migrationsGetStatusForAuthenticatedUser( +export async function migrationsGetStatusForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { migration_id: number; @@ -40236,7 +41176,9 @@ export async function migrationsGetStatusForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/reference/migrations#download-a-user-migration-archive} * Tags: migrations */ -export async function migrationsGetArchiveForAuthenticatedUser( +export async function migrationsGetArchiveForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { migration_id: number; @@ -40266,7 +41208,9 @@ export async function migrationsGetArchiveForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/reference/migrations#delete-a-user-migration-archive} * Tags: migrations */ -export async function migrationsDeleteArchiveForAuthenticatedUser( +export async function migrationsDeleteArchiveForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { migration_id: number; @@ -40297,7 +41241,9 @@ export async function migrationsDeleteArchiveForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/reference/migrations#unlock-a-user-repository} * Tags: migrations */ -export async function migrationsUnlockRepoForAuthenticatedUser( +export async function migrationsUnlockRepoForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { migration_id: number; @@ -40325,7 +41271,9 @@ export async function migrationsUnlockRepoForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/reference/migrations#list-repositories-for-a-user-migration} * Tags: migrations */ -export async function migrationsListReposForUser( +export async function migrationsListReposForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { migration_id: number; @@ -40366,7 +41314,9 @@ export async function migrationsListReposForUser( * Learn more at {@link https://docs.github.com/rest/reference/orgs#list-organizations-for-the-authenticated-user} * Tags: orgs */ -export async function orgsListForAuthenticatedUser( +export async function orgsListForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -40399,7 +41349,9 @@ export async function orgsListForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/reference/packages#get-a-package-for-the-authenticated-user} * Tags: packages */ -export async function packagesGetPackageForAuthenticatedUser( +export async function packagesGetPackageForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -40439,7 +41391,9 @@ export async function packagesGetPackageForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/reference/packages#delete-a-package-for-the-authenticated-user} * Tags: packages */ -export async function packagesDeletePackageForAuthenticatedUser( +export async function packagesDeletePackageForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -40482,7 +41436,9 @@ export async function packagesDeletePackageForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/reference/packages#restore-a-package-for-the-authenticated-user} * Tags: packages */ -export async function packagesRestorePackageForAuthenticatedUser( +export async function packagesRestorePackageForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -40523,7 +41479,7 @@ export async function packagesRestorePackageForAuthenticatedUser( * Tags: packages */ export async function packagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -40575,7 +41531,7 @@ export async function packagesGetAllPackageVersionsForPackageOwnedByAuthenticate * Tags: packages */ export async function packagesGetPackageVersionForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -40619,7 +41575,7 @@ export async function packagesGetPackageVersionForAuthenticatedUser< * Tags: packages */ export async function packagesDeletePackageVersionForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -40667,7 +41623,7 @@ export async function packagesDeletePackageVersionForAuthenticatedUser< * Tags: packages */ export async function packagesRestorePackageVersionForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -40701,7 +41657,9 @@ export async function packagesRestorePackageVersionForAuthenticatedUser< * Learn more at {@link https://docs.github.com/rest/reference/projects#create-a-user-project} * Tags: projects */ -export async function projectsCreateForAuthenticatedUser( +export async function projectsCreateForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: { @@ -40755,7 +41713,9 @@ export async function projectsCreateForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/reference/users#list-public-email-addresses-for-the-authenticated-user} * Tags: users */ -export async function usersListPublicEmailsForAuthenticated( +export async function usersListPublicEmailsForAuthenticated< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -40788,7 +41748,9 @@ export async function usersListPublicEmailsForAuthenticated( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-repositories-for-the-authenticated-user} * Tags: repos */ -export async function reposListForAuthenticatedUser( +export async function reposListForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { visibility?: 'all' | 'public' | 'private'; @@ -40850,7 +41812,9 @@ export async function reposListForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/reference/repos#create-a-repository-for-the-authenticated-user} * Tags: repos */ -export async function reposCreateForAuthenticatedUser( +export async function reposCreateForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: { @@ -40976,7 +41940,9 @@ export async function reposCreateForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-repository-invitations-for-the-authenticated-user} * Tags: repos */ -export async function reposListInvitationsForAuthenticatedUser( +export async function reposListInvitationsForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -41012,7 +41978,9 @@ export async function reposListInvitationsForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/reference/repos#accept-a-repository-invitation} * Tags: repos */ -export async function reposAcceptInvitation( +export async function reposAcceptInvitation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { invitation_id: number; @@ -41038,7 +42006,9 @@ export async function reposAcceptInvitation( * Learn more at {@link https://docs.github.com/rest/reference/repos#decline-a-repository-invitation} * Tags: repos */ -export async function reposDeclineInvitation( +export async function reposDeclineInvitation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { invitation_id: number; @@ -41068,7 +42038,9 @@ export async function reposDeclineInvitation( * Learn more at {@link https://docs.github.com/rest/reference/activity#list-repositories-starred-by-the-authenticated-user} * Tags: activity */ -export async function activityListReposStarredByAuthenticatedUser( +export async function activityListReposStarredByAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { sort?: 'created' | 'updated'; @@ -41104,7 +42076,7 @@ export async function activityListReposStarredByAuthenticatedUser( * Tags: activity */ export async function activityCheckRepoIsStarredByAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -41134,7 +42106,9 @@ export async function activityCheckRepoIsStarredByAuthenticatedUser< * Learn more at {@link https://docs.github.com/rest/reference/activity#star-a-repository-for-the-authenticated-user} * Tags: activity */ -export async function activityStarRepoForAuthenticatedUser( +export async function activityStarRepoForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -41161,7 +42135,9 @@ export async function activityStarRepoForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/reference/activity#unstar-a-repository-for-the-authenticated-user} * Tags: activity */ -export async function activityUnstarRepoForAuthenticatedUser( +export async function activityUnstarRepoForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -41189,7 +42165,9 @@ export async function activityUnstarRepoForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/reference/activity#list-repositories-watched-by-the-authenticated-user} * Tags: activity */ -export async function activityListWatchedReposForAuthenticatedUser( +export async function activityListWatchedReposForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -41228,7 +42206,9 @@ export async function activityListWatchedReposForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/reference/teams#list-teams-for-the-authenticated-user} * Tags: teams */ -export async function teamsListForAuthenticatedUser( +export async function teamsListForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -41267,7 +42247,7 @@ export async function teamsListForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/reference/users#list-users} * Tags: users */ -export async function usersList( +export async function usersList( ctx: r.Context, params: { since?: number; @@ -41309,7 +42289,7 @@ export async function usersList( * Learn more at {@link https://docs.github.com/rest/reference/users#get-a-user} * Tags: users */ -export async function usersGetByUsername( +export async function usersGetByUsername( ctx: r.Context, params: { username: string; @@ -41351,7 +42331,9 @@ export async function usersGetByUsername( * Learn more at {@link https://docs.github.com/rest/reference/activity#list-events-for-the-authenticated-user} * Tags: activity */ -export async function activityListEventsForAuthenticatedUser( +export async function activityListEventsForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -41381,7 +42363,9 @@ export async function activityListEventsForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/reference/activity#list-organization-events-for-the-authenticated-user} * Tags: activity */ -export async function activityListOrgEventsForAuthenticatedUser( +export async function activityListOrgEventsForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -41411,7 +42395,9 @@ export async function activityListOrgEventsForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/reference/activity#list-public-events-for-a-user} * Tags: activity */ -export async function activityListPublicEventsForUser( +export async function activityListPublicEventsForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -41441,7 +42427,9 @@ export async function activityListPublicEventsForUser( * Learn more at {@link https://docs.github.com/rest/reference/users#list-followers-of-a-user} * Tags: users */ -export async function usersListFollowersForUser( +export async function usersListFollowersForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -41465,7 +42453,9 @@ export async function usersListFollowersForUser( * Learn more at {@link https://docs.github.com/rest/reference/users#list-the-people-a-user-follows} * Tags: users */ -export async function usersListFollowingForUser( +export async function usersListFollowingForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -41488,7 +42478,9 @@ export async function usersListFollowingForUser( * Learn more at {@link https://docs.github.com/rest/reference/users#check-if-a-user-follows-another-user} * Tags: users */ -export async function usersCheckFollowingForUser( +export async function usersCheckFollowingForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -41510,7 +42502,7 @@ export async function usersCheckFollowingForUser( * Learn more at {@link https://docs.github.com/rest/reference/gists#list-gists-for-a-user} * Tags: gists */ -export async function gistsListForUser( +export async function gistsListForUser( ctx: r.Context, params: { username: string; @@ -41543,7 +42535,9 @@ export async function gistsListForUser( * Learn more at {@link https://docs.github.com/rest/reference/users#list-gpg-keys-for-a-user} * Tags: users */ -export async function usersListGpgKeysForUser( +export async function usersListGpgKeysForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -41584,7 +42578,9 @@ export async function usersListGpgKeysForUser( * Learn more at {@link https://docs.github.com/rest/reference/users#get-contextual-information-for-a-user} * Tags: users */ -export async function usersGetContextForUser( +export async function usersGetContextForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -41616,7 +42612,9 @@ export async function usersGetContextForUser( * Learn more at {@link https://docs.github.com/rest/reference/apps#get-a-user-installation-for-the-authenticated-app} * Tags: apps */ -export async function appsGetUserInstallation( +export async function appsGetUserInstallation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -41643,7 +42641,9 @@ export async function appsGetUserInstallation( * Learn more at {@link https://docs.github.com/rest/reference/users#list-public-keys-for-a-user} * Tags: users */ -export async function usersListPublicKeysForUser( +export async function usersListPublicKeysForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -41674,7 +42674,7 @@ export async function usersListPublicKeysForUser( * Learn more at {@link https://docs.github.com/rest/reference/orgs#list-organizations-for-a-user} * Tags: orgs */ -export async function orgsListForUser( +export async function orgsListForUser( ctx: r.Context, params: { username: string; @@ -41703,7 +42703,9 @@ export async function orgsListForUser( * Learn more at {@link https://docs.github.com/rest/reference/packages#get-a-package-for-a-user} * Tags: packages */ -export async function packagesGetPackageForUser( +export async function packagesGetPackageForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -41744,7 +42746,7 @@ export async function packagesGetPackageForUser( * Tags: packages */ export async function packagesGetAllPackageVersionsForPackageOwnedByUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -41792,7 +42794,9 @@ export async function packagesGetAllPackageVersionsForPackageOwnedByUser< * Learn more at {@link https://docs.github.com/rest/reference/packages#get-a-package-version-for-a-user} * Tags: packages */ -export async function packagesGetPackageVersionForUser( +export async function packagesGetPackageVersionForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -41827,7 +42831,9 @@ export async function packagesGetPackageVersionForUser( * Learn more at {@link https://docs.github.com/rest/reference/projects#list-user-projects} * Tags: projects */ -export async function projectsListForUser( +export async function projectsListForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -41869,7 +42875,9 @@ export async function projectsListForUser( * Learn more at {@link https://docs.github.com/rest/reference/activity#list-events-received-by-the-authenticated-user} * Tags: activity */ -export async function activityListReceivedEventsForUser( +export async function activityListReceivedEventsForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -41898,7 +42906,9 @@ export async function activityListReceivedEventsForUser( * Learn more at {@link https://docs.github.com/rest/reference/activity#list-public-events-received-by-a-user} * Tags: activity */ -export async function activityListReceivedPublicEventsForUser( +export async function activityListReceivedPublicEventsForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -41929,7 +42939,7 @@ export async function activityListReceivedPublicEventsForUser( * Learn more at {@link https://docs.github.com/rest/reference/repos#list-repositories-for-a-user} * Tags: repos */ -export async function reposListForUser( +export async function reposListForUser( ctx: r.Context, params: { username: string; @@ -41973,7 +42983,9 @@ export async function reposListForUser( * Learn more at {@link https://docs.github.com/rest/reference/billing#get-github-actions-billing-for-a-user} * Tags: billing */ -export async function billingGetGithubActionsBillingUser( +export async function billingGetGithubActionsBillingUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -42001,7 +43013,9 @@ export async function billingGetGithubActionsBillingUser( * Learn more at {@link https://docs.github.com/rest/reference/billing#get-github-packages-billing-for-a-user} * Tags: billing */ -export async function billingGetGithubPackagesBillingUser( +export async function billingGetGithubPackagesBillingUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -42029,7 +43043,9 @@ export async function billingGetGithubPackagesBillingUser( * Learn more at {@link https://docs.github.com/rest/reference/billing#get-shared-storage-billing-for-a-user} * Tags: billing */ -export async function billingGetSharedStorageBillingUser( +export async function billingGetSharedStorageBillingUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -42053,7 +43069,9 @@ export async function billingGetSharedStorageBillingUser( * Learn more at {@link https://docs.github.com/rest/reference/activity#list-repositories-starred-by-a-user} * Tags: activity */ -export async function activityListReposStarredByUser( +export async function activityListReposStarredByUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -42099,7 +43117,9 @@ export async function activityListReposStarredByUser( * Learn more at {@link https://docs.github.com/rest/reference/activity#list-repositories-watched-by-a-user} * Tags: activity */ -export async function activityListReposWatchedByUser( +export async function activityListReposWatchedByUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -42130,7 +43150,7 @@ export async function activityListReposWatchedByUser( * Get a random sentence from the Zen of GitHub * Tags: meta */ -export async function metaGetZen( +export async function metaGetZen( ctx: r.Context, params: {}, opts?: FetcherData, diff --git a/examples/src/github.ts b/examples/src/github.ts index f96f082..16bf30c 100644 --- a/examples/src/github.ts +++ b/examples/src/github.ts @@ -570,6 +570,11 @@ export type HookDeliveryItem = { * @example 123 */ repository_id: number | null; + /** + * Time when the webhook delivery was throttled. + * @example "2021-05-12T20:33:44Z" + */ + throttled_at?: Date | null; }; /** * Scim Error @@ -658,6 +663,11 @@ export type HookDelivery = { * @example 123 */ repository_id: number | null; + /** + * Time when the webhook delivery was throttled. + * @example "2021-05-12T20:33:44Z" + */ + throttled_at?: Date | null; /** * The URL target of the delivery. * @example "https://www.example.com" @@ -26576,12 +26586,6 @@ export type WebhookFork = { contents_url: string; contributors_url: string; created_at: number | Date; - /** - * The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. - */ - custom_properties?: { - [key: string]: any; - }; /** * The default branch of the repository. */ @@ -34812,6 +34816,7 @@ export type WebhookPageBuild = { export type WebhookPersonalAccessTokenRequestApproved = { action: 'approved'; personal_access_token_request: PersonalAccessTokenRequest; + enterprise?: EnterpriseWebhooks; organization: OrganizationSimpleWebhooks; sender: SimpleUserWebhooks; installation: SimpleInstallation; @@ -34822,6 +34827,7 @@ export type WebhookPersonalAccessTokenRequestApproved = { export type WebhookPersonalAccessTokenRequestCancelled = { action: 'cancelled'; personal_access_token_request: PersonalAccessTokenRequest; + enterprise?: EnterpriseWebhooks; organization: OrganizationSimpleWebhooks; sender: SimpleUserWebhooks; installation: SimpleInstallation; @@ -34832,9 +34838,10 @@ export type WebhookPersonalAccessTokenRequestCancelled = { export type WebhookPersonalAccessTokenRequestCreated = { action: 'created'; personal_access_token_request: PersonalAccessTokenRequest; + enterprise?: EnterpriseWebhooks; organization: OrganizationSimpleWebhooks; sender: SimpleUserWebhooks; - installation: SimpleInstallation; + installation?: SimpleInstallation; }; /** * personal_access_token_request denied event @@ -34843,6 +34850,7 @@ export type WebhookPersonalAccessTokenRequestDenied = { action: 'denied'; personal_access_token_request: PersonalAccessTokenRequest; organization: OrganizationSimpleWebhooks; + enterprise?: EnterpriseWebhooks; sender: SimpleUserWebhooks; installation: SimpleInstallation; }; @@ -63417,9 +63425,11 @@ const $date_Integration = (): r.TransformField[] => [ ]; const $date_HookDeliveryItem = (): r.TransformField[] => [ [['access', 'delivered_at'], ['this']], + [['access', 'throttled_at'], ['this']], ]; const $date_HookDelivery = (): r.TransformField[] => [ [['access', 'delivered_at'], ['this']], + [['access', 'throttled_at'], ['this']], ]; const $date_Enterprise = (): r.TransformField[] => [ [['access', 'created_at'], ['this']], @@ -66890,6 +66900,34 @@ const $date_WebhookPageBuild = (): r.TransformField[] => [ ['ref', $date_RepositoryWebhooks], ], ]; +const $date_WebhookPersonalAccessTokenRequestApproved = + (): r.TransformField[] => [ + [ + ['access', 'enterprise'], + ['ref', $date_EnterpriseWebhooks], + ], + ]; +const $date_WebhookPersonalAccessTokenRequestCancelled = + (): r.TransformField[] => [ + [ + ['access', 'enterprise'], + ['ref', $date_EnterpriseWebhooks], + ], + ]; +const $date_WebhookPersonalAccessTokenRequestCreated = + (): r.TransformField[] => [ + [ + ['access', 'enterprise'], + ['ref', $date_EnterpriseWebhooks], + ], + ]; +const $date_WebhookPersonalAccessTokenRequestDenied = + (): r.TransformField[] => [ + [ + ['access', 'enterprise'], + ['ref', $date_EnterpriseWebhooks], + ], + ]; const $date_WebhookPing = (): r.TransformField[] => [ [['access', 'hook'], ['access', 'created_at'], ['this']], [['access', 'hook'], ['access', 'updated_at'], ['this']], @@ -70050,7 +70088,7 @@ const $date_WebhookWorkflowRunRequested = (): r.TransformField[] => [ [['access', 'workflow_run'], ['access', 'updated_at'], ['this']], ]; export type AuthMethods = {}; -export function createContext( +export function createContext( params?: r.CreateContextParams, ): r.Context { return new r.Context({ @@ -70068,7 +70106,7 @@ export function createContext( * Learn more at {@link https://docs.github.com/rest/meta/meta#github-api-root} * Tags: meta */ -export async function metaRoot( +export async function metaRoot( ctx: r.Context, params: {}, opts?: FetcherData, @@ -70094,7 +70132,9 @@ export async function metaRoot( * Learn more at {@link https://docs.github.com/rest/security-advisories/global-advisories#list-global-security-advisories} * Tags: security-advisories */ -export async function securityAdvisoriesListGlobalAdvisories( +export async function securityAdvisoriesListGlobalAdvisories< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ghsa_id?: string; @@ -70160,7 +70200,9 @@ export async function securityAdvisoriesListGlobalAdvisories( * Learn more at {@link https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory} * Tags: security-advisories */ -export async function securityAdvisoriesGetGlobalAdvisory( +export async function securityAdvisoriesGetGlobalAdvisory< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ghsa_id: string; @@ -70196,7 +70238,9 @@ export async function securityAdvisoriesGetGlobalAdvisory( * Learn more at {@link https://docs.github.com/rest/apps/apps#get-the-authenticated-app} * Tags: apps */ -export async function appsGetAuthenticated( +export async function appsGetAuthenticated< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, opts?: FetcherData, @@ -70224,7 +70268,9 @@ export async function appsGetAuthenticated( * Learn more at {@link https://docs.github.com/rest/apps/apps#create-a-github-app-from-a-manifest} * Tags: apps */ -export async function appsCreateFromManifest( +export async function appsCreateFromManifest< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { code: string; @@ -70273,7 +70319,9 @@ export async function appsCreateFromManifest( * Learn more at {@link https://docs.github.com/rest/apps/webhooks#get-a-webhook-configuration-for-an-app} * Tags: apps */ -export async function appsGetWebhookConfigForApp( +export async function appsGetWebhookConfigForApp< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, opts?: FetcherData, @@ -70297,7 +70345,9 @@ export async function appsGetWebhookConfigForApp( * Learn more at {@link https://docs.github.com/rest/apps/webhooks#update-a-webhook-configuration-for-an-app} * Tags: apps */ -export async function appsUpdateWebhookConfigForApp( +export async function appsUpdateWebhookConfigForApp< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: { @@ -70327,7 +70377,9 @@ export async function appsUpdateWebhookConfigForApp( * Learn more at {@link https://docs.github.com/rest/apps/webhooks#list-deliveries-for-an-app-webhook} * Tags: apps */ -export async function appsListWebhookDeliveries( +export async function appsListWebhookDeliveries< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -70367,7 +70419,9 @@ export async function appsListWebhookDeliveries( * Learn more at {@link https://docs.github.com/rest/apps/webhooks#get-a-delivery-for-an-app-webhook} * Tags: apps */ -export async function appsGetWebhookDelivery( +export async function appsGetWebhookDelivery< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { delivery_id: number; @@ -70402,7 +70456,9 @@ export async function appsGetWebhookDelivery( * Learn more at {@link https://docs.github.com/rest/apps/webhooks#redeliver-a-delivery-for-an-app-webhook} * Tags: apps */ -export async function appsRedeliverWebhookDelivery( +export async function appsRedeliverWebhookDelivery< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { delivery_id: number; @@ -70428,7 +70484,7 @@ export async function appsRedeliverWebhookDelivery( * Tags: apps */ export async function appsListInstallationRequestsForAuthenticatedApp< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -70470,7 +70526,9 @@ export async function appsListInstallationRequestsForAuthenticatedApp< * Learn more at {@link https://docs.github.com/rest/apps/apps#list-installations-for-the-authenticated-app} * Tags: apps */ -export async function appsListInstallations( +export async function appsListInstallations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -70507,7 +70565,9 @@ export async function appsListInstallations( * Learn more at {@link https://docs.github.com/rest/apps/apps#get-an-installation-for-the-authenticated-app} * Tags: apps */ -export async function appsGetInstallation( +export async function appsGetInstallation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { installation_id: number; @@ -70542,7 +70602,9 @@ export async function appsGetInstallation( * Learn more at {@link https://docs.github.com/rest/apps/apps#delete-an-installation-for-the-authenticated-app} * Tags: apps */ -export async function appsDeleteInstallation( +export async function appsDeleteInstallation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { installation_id: number; @@ -70589,7 +70651,9 @@ export async function appsDeleteInstallation( * Learn more at {@link https://docs.github.com/rest/apps/apps#create-an-installation-access-token-for-an-app} * Tags: apps */ -export async function appsCreateInstallationAccessToken( +export async function appsCreateInstallationAccessToken< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { installation_id: number; @@ -70644,7 +70708,9 @@ export async function appsCreateInstallationAccessToken( * Learn more at {@link https://docs.github.com/rest/apps/apps#suspend-an-app-installation} * Tags: apps */ -export async function appsSuspendInstallation( +export async function appsSuspendInstallation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { installation_id: number; @@ -70669,7 +70735,9 @@ export async function appsSuspendInstallation( * Learn more at {@link https://docs.github.com/rest/apps/apps#unsuspend-an-app-installation} * Tags: apps */ -export async function appsUnsuspendInstallation( +export async function appsUnsuspendInstallation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { installation_id: number; @@ -70687,17 +70755,19 @@ export async function appsUnsuspendInstallation( /** * Delete an app authorization * OAuth and GitHub application owners can revoke a grant for their application and a specific user. You must use [Basic - * Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing - * this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. You must also - * provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner will be deleted. - * Deleting - * an application's grant will also delete all OAuth tokens associated with the application for the user. Once deleted, the - * application will have no access to the user's account and will no longer be listed on [the application authorizations - * settings screen within GitHub](https://github.com/settings/applications#authorized). + * Authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) + * when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and + * password. You must also provide a valid OAuth `access_token` as an input parameter and the grant for the token's owner + * will be deleted. + * Deleting an application's grant will also delete all OAuth tokens associated with the application for + * the user. Once deleted, the application will have no access to the user's account and will no longer be listed on [the + * application authorizations settings screen within GitHub](https://github.com/settings/applications#authorized). * Learn more at {@link https://docs.github.com/rest/apps/oauth-applications#delete-an-app-authorization} * Tags: apps */ -export async function appsDeleteAuthorization( +export async function appsDeleteAuthorization< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { client_id: string; @@ -70726,13 +70796,13 @@ export async function appsDeleteAuthorization( * OAuth applications and GitHub applications with OAuth authorizations can use this API method for checking OAuth token * validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this * particular endpoint. You must use [Basic - * Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) to use this - * endpoint, where the username is the application `client_id` and the password is its `client_secret`. Invalid tokens will - * return `404 NOT FOUND`. + * Authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) + * to use this endpoint, where the username is the application `client_id` and the password is its `client_secret`. Invalid + * tokens will return `404 NOT FOUND`. * Learn more at {@link https://docs.github.com/rest/apps/oauth-applications#check-a-token} * Tags: apps */ -export async function appsCheckToken( +export async function appsCheckToken( ctx: r.Context, params: { client_id: string; @@ -70769,13 +70839,13 @@ export async function appsCheckToken( * OAuth applications and GitHub applications with OAuth authorizations can use this API method to reset a valid OAuth * token without end-user involvement. Applications must save the "token" property in the response because changes take * effect immediately. You must use [Basic - * Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing - * this endpoint, using the application's `client_id` and `client_secret` as the username and password. Invalid tokens will - * return `404 NOT FOUND`. + * Authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) + * when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. + * Invalid tokens will return `404 NOT FOUND`. * Learn more at {@link https://docs.github.com/rest/apps/oauth-applications#reset-a-token} * Tags: apps */ -export async function appsResetToken( +export async function appsResetToken( ctx: r.Context, params: { client_id: string; @@ -70809,12 +70879,12 @@ export async function appsResetToken( * Delete an app token * OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an * OAuth authorization. You must use [Basic - * Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) when accessing - * this endpoint, using the application's `client_id` and `client_secret` as the username and password. + * Authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) + * when accessing this endpoint, using the application's `client_id` and `client_secret` as the username and password. * Learn more at {@link https://docs.github.com/rest/apps/oauth-applications#delete-an-app-token} * Tags: apps */ -export async function appsDeleteToken( +export async function appsDeleteToken( ctx: r.Context, params: { client_id: string; @@ -70849,14 +70919,14 @@ export async function appsDeleteToken( * return `404 NOT FOUND`. * * You must use [Basic - * Authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) - * when accessing - * this endpoint, using the `client_id` and `client_secret` of the GitHub App + * Authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) + * when + * accessing this endpoint, using the `client_id` and `client_secret` of the GitHub App * as the username and password. * Learn more at {@link https://docs.github.com/rest/apps/apps#create-a-scoped-access-token} * Tags: apps */ -export async function appsScopeToken( +export async function appsScopeToken( ctx: r.Context, params: { client_id: string; @@ -70921,7 +70991,7 @@ export async function appsScopeToken( * Learn more at {@link https://docs.github.com/rest/apps/apps#get-an-app} * Tags: apps */ -export async function appsGetBySlug( +export async function appsGetBySlug( ctx: r.Context, params: { app_slug: string; @@ -70953,7 +71023,9 @@ export async function appsGetBySlug( * Learn more at {@link https://docs.github.com/rest/classroom/classroom#get-an-assignment} * Tags: classroom */ -export async function classroomGetAnAssignment( +export async function classroomGetAnAssignment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { assignment_id: number; @@ -70984,7 +71056,7 @@ export async function classroomGetAnAssignment( * Tags: classroom */ export async function classroomListAcceptedAssigmentsForAnAssignment< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -71020,7 +71092,9 @@ export async function classroomListAcceptedAssigmentsForAnAssignment< * Learn more at {@link https://docs.github.com/rest/classroom/classroom#get-assignment-grades} * Tags: classroom */ -export async function classroomGetAssignmentGrades( +export async function classroomGetAssignmentGrades< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { assignment_id: number; @@ -71045,7 +71119,9 @@ export async function classroomGetAssignmentGrades( * Learn more at {@link https://docs.github.com/rest/classroom/classroom#list-classrooms} * Tags: classroom */ -export async function classroomListClassrooms( +export async function classroomListClassrooms< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { page?: number; @@ -71069,7 +71145,9 @@ export async function classroomListClassrooms( * Learn more at {@link https://docs.github.com/rest/classroom/classroom#get-a-classroom} * Tags: classroom */ -export async function classroomGetAClassroom( +export async function classroomGetAClassroom< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { classroom_id: number; @@ -71093,7 +71171,9 @@ export async function classroomGetAClassroom( * Learn more at {@link https://docs.github.com/rest/classroom/classroom#list-assignments-for-a-classroom} * Tags: classroom */ -export async function classroomListAssignmentsForAClassroom( +export async function classroomListAssignmentsForAClassroom< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { classroom_id: number; @@ -71127,7 +71207,9 @@ export async function classroomListAssignmentsForAClassroom( * Learn more at {@link https://docs.github.com/rest/codes-of-conduct/codes-of-conduct#get-all-codes-of-conduct} * Tags: codes-of-conduct */ -export async function codesOfConductGetAllCodesOfConduct( +export async function codesOfConductGetAllCodesOfConduct< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, opts?: FetcherData, @@ -71148,7 +71230,9 @@ export async function codesOfConductGetAllCodesOfConduct( * Learn more at {@link https://docs.github.com/rest/codes-of-conduct/codes-of-conduct#get-a-code-of-conduct} * Tags: codes-of-conduct */ -export async function codesOfConductGetConductCode( +export async function codesOfConductGetConductCode< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { key: string; @@ -71173,7 +71257,7 @@ export async function codesOfConductGetConductCode( * Learn more at {@link https://docs.github.com/rest/emojis/emojis#get-emojis} * Tags: emojis */ -export async function emojisGet( +export async function emojisGet( ctx: r.Context, params: {}, opts?: FetcherData, @@ -71212,17 +71296,17 @@ export async function emojisGet( * they must have * telemetry enabled in their IDE. * - * Only the owners and billing managers of enterprises with a Copilot Business or - * Enterprise subscription can view Copilot usage - * metrics for the enterprise. + * Only owners and billing managers can view Copilot usage metrics for the + * enterprise. * - * OAuth app tokens and personal access tokens - * (classic) need the `copilot`, `manage_billing:copilot`, `admin:enterprise`, or `manage_billing:enterprise` scope to use - * this endpoint. + * OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or + * `read:enterprise` scopes to use this endpoint. * Learn more at {@link https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-enterprise-members} * Tags: copilot */ -export async function copilotUsageMetricsForEnterprise( +export async function copilotUsageMetricsForEnterprise< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { enterprise: string; @@ -71265,7 +71349,9 @@ export async function copilotUsageMetricsForEnterprise( * Learn more at {@link https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise} * Tags: dependabot */ -export async function dependabotListAlertsForEnterprise( +export async function dependabotListAlertsForEnterprise< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { enterprise: string; @@ -71338,7 +71424,9 @@ export async function dependabotListAlertsForEnterprise( * Learn more at {@link https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise} * Tags: secret-scanning */ -export async function secretScanningListAlertsForEnterprise( +export async function secretScanningListAlertsForEnterprise< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { enterprise: string; @@ -71401,7 +71489,9 @@ export async function secretScanningListAlertsForEnterprise( * Learn more at {@link https://docs.github.com/rest/activity/events#list-public-events} * Tags: activity */ -export async function activityListPublicEvents( +export async function activityListPublicEvents< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -71463,12 +71553,12 @@ export async function activityListPublicEvents( * * **Note**: * Private feeds are only returned when [authenticating via Basic - * Auth](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) since current feed URIs - * use the older, non revocable auth tokens. + * Auth](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) since + * current feed URIs use the older, non revocable auth tokens. * Learn more at {@link https://docs.github.com/rest/activity/feeds#get-feeds} * Tags: activity */ -export async function activityGetFeeds( +export async function activityGetFeeds( ctx: r.Context, params: {}, opts?: FetcherData, @@ -71487,7 +71577,7 @@ export async function activityGetFeeds( * Learn more at {@link https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user} * Tags: gists */ -export async function gistsList( +export async function gistsList( ctx: r.Context, params: { since?: Date; @@ -71524,7 +71614,7 @@ export async function gistsList( * Learn more at {@link https://docs.github.com/rest/gists/gists#create-a-gist} * Tags: gists */ -export async function gistsCreate( +export async function gistsCreate( ctx: r.Context, params: {}, body: { @@ -71585,7 +71675,7 @@ export async function gistsCreate( * Learn more at {@link https://docs.github.com/rest/gists/gists#list-public-gists} * Tags: gists */ -export async function gistsListPublic( +export async function gistsListPublic( ctx: r.Context, params: { since?: Date; @@ -71620,7 +71710,7 @@ export async function gistsListPublic( * Learn more at {@link https://docs.github.com/rest/gists/gists#list-starred-gists} * Tags: gists */ -export async function gistsListStarred( +export async function gistsListStarred( ctx: r.Context, params: { since?: Date; @@ -71664,7 +71754,7 @@ export async function gistsListStarred( * Learn more at {@link https://docs.github.com/rest/gists/gists#get-a-gist} * Tags: gists */ -export async function gistsGet( +export async function gistsGet( ctx: r.Context, params: { gist_id: string; @@ -71722,7 +71812,7 @@ export async function gistsGet( * Learn more at {@link https://docs.github.com/rest/gists/gists#update-a-gist} * Tags: gists */ -export async function gistsUpdate( +export async function gistsUpdate( ctx: r.Context, params: { gist_id: string; @@ -71786,7 +71876,7 @@ export async function gistsUpdate( * Learn more at {@link https://docs.github.com/rest/gists/gists#delete-a-gist} * Tags: gists */ -export async function gistsDelete( +export async function gistsDelete( ctx: r.Context, params: { gist_id: string; @@ -71821,7 +71911,7 @@ export async function gistsDelete( * Learn more at {@link https://docs.github.com/rest/gists/comments#list-gist-comments} * Tags: gists */ -export async function gistsListComments( +export async function gistsListComments( ctx: r.Context, params: { gist_id: string; @@ -71865,7 +71955,7 @@ export async function gistsListComments( * Learn more at {@link https://docs.github.com/rest/gists/comments#create-a-gist-comment} * Tags: gists */ -export async function gistsCreateComment( +export async function gistsCreateComment( ctx: r.Context, params: { gist_id: string; @@ -71914,7 +72004,7 @@ export async function gistsCreateComment( * Learn more at {@link https://docs.github.com/rest/gists/comments#get-a-gist-comment} * Tags: gists */ -export async function gistsGetComment( +export async function gistsGetComment( ctx: r.Context, params: { gist_id: string; @@ -71967,7 +72057,7 @@ export async function gistsGetComment( * Learn more at {@link https://docs.github.com/rest/gists/comments#update-a-gist-comment} * Tags: gists */ -export async function gistsUpdateComment( +export async function gistsUpdateComment( ctx: r.Context, params: { gist_id: string; @@ -72004,7 +72094,7 @@ export async function gistsUpdateComment( * Learn more at {@link https://docs.github.com/rest/gists/comments#delete-a-gist-comment} * Tags: gists */ -export async function gistsDeleteComment( +export async function gistsDeleteComment( ctx: r.Context, params: { gist_id: string; @@ -72030,7 +72120,7 @@ export async function gistsDeleteComment( * Learn more at {@link https://docs.github.com/rest/gists/gists#list-gist-commits} * Tags: gists */ -export async function gistsListCommits( +export async function gistsListCommits( ctx: r.Context, params: { gist_id: string; @@ -72064,7 +72154,7 @@ export async function gistsListCommits( * Learn more at {@link https://docs.github.com/rest/gists/gists#list-gist-forks} * Tags: gists */ -export async function gistsListForks( +export async function gistsListForks( ctx: r.Context, params: { gist_id: string; @@ -72098,7 +72188,7 @@ export async function gistsListForks( * Learn more at {@link https://docs.github.com/rest/gists/gists#fork-a-gist} * Tags: gists */ -export async function gistsFork( +export async function gistsFork( ctx: r.Context, params: { gist_id: string; @@ -72130,7 +72220,9 @@ export async function gistsFork( * Learn more at {@link https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred} * Tags: gists */ -export async function gistsCheckIsStarred( +export async function gistsCheckIsStarred< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { gist_id: string; @@ -72157,7 +72249,7 @@ export async function gistsCheckIsStarred( * Learn more at {@link https://docs.github.com/rest/gists/gists#star-a-gist} * Tags: gists */ -export async function gistsStar( +export async function gistsStar( ctx: r.Context, params: { gist_id: string; @@ -72182,7 +72274,7 @@ export async function gistsStar( * Learn more at {@link https://docs.github.com/rest/gists/gists#unstar-a-gist} * Tags: gists */ -export async function gistsUnstar( +export async function gistsUnstar( ctx: r.Context, params: { gist_id: string; @@ -72217,7 +72309,7 @@ export async function gistsUnstar( * Learn more at {@link https://docs.github.com/rest/gists/gists#get-a-gist-revision} * Tags: gists */ -export async function gistsGetRevision( +export async function gistsGetRevision( ctx: r.Context, params: { gist_id: string; @@ -72251,7 +72343,9 @@ export async function gistsGetRevision( * Learn more at {@link https://docs.github.com/rest/gitignore/gitignore#get-all-gitignore-templates} * Tags: gitignore */ -export async function gitignoreGetAllTemplates( +export async function gitignoreGetAllTemplates< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, opts?: FetcherData, @@ -72276,7 +72370,9 @@ export async function gitignoreGetAllTemplates( * Learn more at {@link https://docs.github.com/rest/gitignore/gitignore#get-a-gitignore-template} * Tags: gitignore */ -export async function gitignoreGetTemplate( +export async function gitignoreGetTemplate< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { name: string; @@ -72299,7 +72395,9 @@ export async function gitignoreGetTemplate( * Learn more at {@link https://docs.github.com/rest/apps/installations#list-repositories-accessible-to-the-app-installation} * Tags: apps */ -export async function appsListReposAccessibleToInstallation( +export async function appsListReposAccessibleToInstallation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -72355,7 +72453,9 @@ export async function appsListReposAccessibleToInstallation( * Learn more at {@link https://docs.github.com/rest/apps/installations#revoke-an-installation-access-token} * Tags: apps */ -export async function appsRevokeInstallationAccessToken( +export async function appsRevokeInstallationAccessToken< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, opts?: FetcherData, @@ -72401,7 +72501,7 @@ export async function appsRevokeInstallationAccessToken( * Learn more at {@link https://docs.github.com/rest/issues/issues#list-issues-assigned-to-the-authenticated-user} * Tags: issues */ -export async function issuesList( +export async function issuesList( ctx: r.Context, params: { filter?: @@ -72465,7 +72565,9 @@ export async function issuesList( * Learn more at {@link https://docs.github.com/rest/licenses/licenses#get-all-commonly-used-licenses} * Tags: licenses */ -export async function licensesGetAllCommonlyUsed( +export async function licensesGetAllCommonlyUsed< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { featured?: boolean; @@ -72492,7 +72594,7 @@ export async function licensesGetAllCommonlyUsed( * Learn more at {@link https://docs.github.com/rest/licenses/licenses#get-a-license} * Tags: licenses */ -export async function licensesGet( +export async function licensesGet( ctx: r.Context, params: { license: string; @@ -72517,7 +72619,7 @@ export async function licensesGet( * Learn more at {@link https://docs.github.com/rest/markdown/markdown#render-a-markdown-document} * Tags: markdown */ -export async function markdownRender( +export async function markdownRender( ctx: r.Context, params: {}, body: { @@ -72555,7 +72657,7 @@ export async function markdownRender( * Learn more at {@link https://docs.github.com/rest/markdown/markdown#render-a-markdown-document-in-raw-mode} * Tags: markdown */ -export async function markdownRenderRaw( +export async function markdownRenderRaw( ctx: r.Context, params: {}, body: string, @@ -72579,12 +72681,14 @@ export async function markdownRenderRaw( * GitHub Apps must use a * [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) * to access this endpoint. OAuth apps must use [basic - * authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their - * client ID and client secret to access this endpoint. + * authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) + * with their client ID and client secret to access this endpoint. * Learn more at {@link https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account} * Tags: apps */ -export async function appsGetSubscriptionPlanForAccount( +export async function appsGetSubscriptionPlanForAccount< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account_id: number; @@ -72610,12 +72714,12 @@ export async function appsGetSubscriptionPlanForAccount( * GitHub Apps must use a * [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) * to access this endpoint. OAuth apps must use [basic - * authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their - * client ID and client secret to access this endpoint. + * authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) + * with their client ID and client secret to access this endpoint. * Learn more at {@link https://docs.github.com/rest/apps/marketplace#list-plans} * Tags: apps */ -export async function appsListPlans( +export async function appsListPlans( ctx: r.Context, params: { per_page?: number; @@ -72646,12 +72750,14 @@ export async function appsListPlans( * GitHub Apps must use a * [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) * to access this endpoint. OAuth apps must use [basic - * authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their - * client ID and client secret to access this endpoint. + * authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) + * with their client ID and client secret to access this endpoint. * Learn more at {@link https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan} * Tags: apps */ -export async function appsListAccountsForPlan( +export async function appsListAccountsForPlan< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { plan_id: number; @@ -72685,12 +72791,14 @@ export async function appsListAccountsForPlan( * GitHub Apps must use a * [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) * to access this endpoint. OAuth apps must use [basic - * authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their - * client ID and client secret to access this endpoint. + * authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) + * with their client ID and client secret to access this endpoint. * Learn more at {@link https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed} * Tags: apps */ -export async function appsGetSubscriptionPlanForAccountStubbed( +export async function appsGetSubscriptionPlanForAccountStubbed< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account_id: number; @@ -72716,12 +72824,14 @@ export async function appsGetSubscriptionPlanForAccountStubbed( * GitHub Apps must use a * [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) * to access this endpoint. OAuth apps must use [basic - * authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their - * client ID and client secret to access this endpoint. + * authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) + * with their client ID and client secret to access this endpoint. * Learn more at {@link https://docs.github.com/rest/apps/marketplace#list-plans-stubbed} * Tags: apps */ -export async function appsListPlansStubbed( +export async function appsListPlansStubbed< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -72751,12 +72861,14 @@ export async function appsListPlansStubbed( * GitHub Apps must use a * [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) * to access this endpoint. OAuth apps must use [basic - * authentication](https://docs.github.com/rest/overview/other-authentication-methods#basic-authentication) with their - * client ID and client secret to access this endpoint. + * authentication](https://docs.github.com/rest/authentication/authenticating-to-the-rest-api#using-basic-authentication) + * with their client ID and client secret to access this endpoint. * Learn more at {@link https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed} * Tags: apps */ -export async function appsListAccountsForPlanStubbed( +export async function appsListAccountsForPlanStubbed< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { plan_id: number; @@ -72796,7 +72908,7 @@ export async function appsListAccountsForPlanStubbed( * Learn more at {@link https://docs.github.com/rest/meta/meta#get-apiname-meta-information} * Tags: meta */ -export async function metaGet( +export async function metaGet( ctx: r.Context, params: {}, opts?: FetcherData, @@ -72816,7 +72928,9 @@ export async function metaGet( * Learn more at {@link https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories} * Tags: activity */ -export async function activityListPublicEventsForRepoNetwork( +export async function activityListPublicEventsForRepoNetwork< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -72854,7 +72968,7 @@ export async function activityListPublicEventsForRepoNetwork( * Tags: activity */ export async function activityListNotificationsForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -72905,7 +73019,9 @@ export async function activityListNotificationsForAuthenticatedUser< * Learn more at {@link https://docs.github.com/rest/activity/notifications#mark-notifications-as-read} * Tags: activity */ -export async function activityMarkNotificationsAsRead( +export async function activityMarkNotificationsAsRead< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: { @@ -72946,7 +73062,7 @@ export async function activityMarkNotificationsAsRead( * Learn more at {@link https://docs.github.com/rest/activity/notifications#get-a-thread} * Tags: activity */ -export async function activityGetThread( +export async function activityGetThread( ctx: r.Context, params: { thread_id: number; @@ -72979,7 +73095,9 @@ export async function activityGetThread( * Learn more at {@link https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read} * Tags: activity */ -export async function activityMarkThreadAsRead( +export async function activityMarkThreadAsRead< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { thread_id: number; @@ -73005,7 +73123,9 @@ export async function activityMarkThreadAsRead( * Learn more at {@link https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done} * Tags: activity */ -export async function activityMarkThreadAsDone( +export async function activityMarkThreadAsDone< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { thread_id: number; @@ -73032,7 +73152,7 @@ export async function activityMarkThreadAsDone( * Tags: activity */ export async function activityGetThreadSubscriptionForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -73074,7 +73194,9 @@ export async function activityGetThreadSubscriptionForAuthenticatedUser< * Learn more at {@link https://docs.github.com/rest/activity/notifications#set-a-thread-subscription} * Tags: activity */ -export async function activitySetThreadSubscription( +export async function activitySetThreadSubscription< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { thread_id: number; @@ -73117,7 +73239,9 @@ export async function activitySetThreadSubscription( * Learn more at {@link https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription} * Tags: activity */ -export async function activityDeleteThreadSubscription( +export async function activityDeleteThreadSubscription< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { thread_id: number; @@ -73143,7 +73267,7 @@ export async function activityDeleteThreadSubscription( * Learn more at {@link https://docs.github.com/rest/meta/meta#get-octocat} * Tags: meta */ -export async function metaGetOctocat( +export async function metaGetOctocat( ctx: r.Context, params: { s?: string; @@ -73170,7 +73294,7 @@ export async function metaGetOctocat( * Learn more at {@link https://docs.github.com/rest/orgs/orgs#list-organizations} * Tags: orgs */ -export async function orgsList( +export async function orgsList( ctx: r.Context, params: { since?: number; @@ -73227,7 +73351,7 @@ export async function orgsList( * Learn more at {@link https://docs.github.com/rest/orgs/orgs#get-an-organization} * Tags: orgs */ -export async function orgsGet( +export async function orgsGet( ctx: r.Context, params: { org: string; @@ -73289,7 +73413,7 @@ export async function orgsGet( * Learn more at {@link https://docs.github.com/rest/orgs/orgs#update-an-organization} * Tags: orgs */ -export async function orgsUpdate( +export async function orgsUpdate( ctx: r.Context, params: { org: string; @@ -73477,7 +73601,7 @@ export async function orgsUpdate( * Learn more at {@link https://docs.github.com/rest/orgs/orgs#delete-an-organization} * Tags: orgs */ -export async function orgsDelete( +export async function orgsDelete( ctx: r.Context, params: { org: string; @@ -73507,7 +73631,9 @@ export async function orgsDelete( * Learn more at {@link https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization} * Tags: actions */ -export async function actionsGetActionsCacheUsageForOrg( +export async function actionsGetActionsCacheUsageForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -73533,7 +73659,9 @@ export async function actionsGetActionsCacheUsageForOrg( * Learn more at {@link https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization} * Tags: actions */ -export async function actionsGetActionsCacheUsageByRepoForOrg( +export async function actionsGetActionsCacheUsageByRepoForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -73568,7 +73696,9 @@ export async function actionsGetActionsCacheUsageByRepoForOrg( * Learn more at {@link https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization} * Tags: oidc */ -export async function oidcGetOidcCustomSubTemplateForOrg( +export async function oidcGetOidcCustomSubTemplateForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -73592,7 +73722,9 @@ export async function oidcGetOidcCustomSubTemplateForOrg( * Learn more at {@link https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization} * Tags: oidc */ -export async function oidcUpdateOidcCustomSubTemplateForOrg( +export async function oidcUpdateOidcCustomSubTemplateForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -73623,7 +73755,7 @@ export async function oidcUpdateOidcCustomSubTemplateForOrg( * Tags: actions */ export async function actionsGetGithubActionsPermissionsOrganization< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -73649,7 +73781,7 @@ export async function actionsGetGithubActionsPermissionsOrganization< * Tags: actions */ export async function actionsSetGithubActionsPermissionsOrganization< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -73682,7 +73814,7 @@ export async function actionsSetGithubActionsPermissionsOrganization< * Tags: actions */ export async function actionsListSelectedRepositoriesEnabledGithubActionsOrganization< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -73734,7 +73866,7 @@ export async function actionsListSelectedRepositoriesEnabledGithubActionsOrganiz * Tags: actions */ export async function actionsSetSelectedRepositoriesEnabledGithubActionsOrganization< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -73770,7 +73902,7 @@ export async function actionsSetSelectedRepositoriesEnabledGithubActionsOrganiza * Tags: actions */ export async function actionsEnableSelectedRepositoryGithubActionsOrganization< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -73800,7 +73932,7 @@ export async function actionsEnableSelectedRepositoryGithubActionsOrganization< * Tags: actions */ export async function actionsDisableSelectedRepositoryGithubActionsOrganization< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -73828,7 +73960,9 @@ export async function actionsDisableSelectedRepositoryGithubActionsOrganization< * Learn more at {@link https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization} * Tags: actions */ -export async function actionsGetAllowedActionsOrganization( +export async function actionsGetAllowedActionsOrganization< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -73854,7 +73988,9 @@ export async function actionsGetAllowedActionsOrganization( * Learn more at {@link https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization} * Tags: actions */ -export async function actionsSetAllowedActionsOrganization( +export async function actionsSetAllowedActionsOrganization< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -73886,7 +74022,7 @@ export async function actionsSetAllowedActionsOrganization( * Tags: actions */ export async function actionsGetGithubActionsDefaultWorkflowPermissionsOrganization< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -73917,7 +74053,7 @@ export async function actionsGetGithubActionsDefaultWorkflowPermissionsOrganizat * Tags: actions */ export async function actionsSetGithubActionsDefaultWorkflowPermissionsOrganization< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -73947,7 +74083,9 @@ export async function actionsSetGithubActionsDefaultWorkflowPermissionsOrganizat * Learn more at {@link https://docs.github.com/rest/actions/self-hosted-runners#list-self-hosted-runners-for-an-organization} * Tags: actions */ -export async function actionsListSelfHostedRunnersForOrg( +export async function actionsListSelfHostedRunnersForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { name?: string; @@ -73986,7 +74124,9 @@ export async function actionsListSelfHostedRunnersForOrg( * Learn more at {@link https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization} * Tags: actions */ -export async function actionsListRunnerApplicationsForOrg( +export async function actionsListRunnerApplicationsForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -74014,7 +74154,9 @@ export async function actionsListRunnerApplicationsForOrg( * Learn more at {@link https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization} * Tags: actions */ -export async function actionsGenerateRunnerJitconfigForOrg( +export async function actionsGenerateRunnerJitconfigForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -74083,7 +74225,9 @@ export async function actionsGenerateRunnerJitconfigForOrg( * Learn more at {@link https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization} * Tags: actions */ -export async function actionsCreateRegistrationTokenForOrg( +export async function actionsCreateRegistrationTokenForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -74125,7 +74269,9 @@ export async function actionsCreateRegistrationTokenForOrg( * Learn more at {@link https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization} * Tags: actions */ -export async function actionsCreateRemoveTokenForOrg( +export async function actionsCreateRemoveTokenForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -74158,7 +74304,9 @@ export async function actionsCreateRemoveTokenForOrg( * Learn more at {@link https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization} * Tags: actions */ -export async function actionsGetSelfHostedRunnerForOrg( +export async function actionsGetSelfHostedRunnerForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -74188,7 +74336,9 @@ export async function actionsGetSelfHostedRunnerForOrg( * Learn more at {@link https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization} * Tags: actions */ -export async function actionsDeleteSelfHostedRunnerFromOrg( +export async function actionsDeleteSelfHostedRunnerFromOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -74216,7 +74366,9 @@ export async function actionsDeleteSelfHostedRunnerFromOrg( * Learn more at {@link https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization} * Tags: actions */ -export async function actionsListLabelsForSelfHostedRunnerForOrg( +export async function actionsListLabelsForSelfHostedRunnerForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -74254,7 +74406,7 @@ export async function actionsListLabelsForSelfHostedRunnerForOrg( * Tags: actions */ export async function actionsAddCustomLabelsToSelfHostedRunnerForOrg< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -74303,7 +74455,7 @@ export async function actionsAddCustomLabelsToSelfHostedRunnerForOrg< * Tags: actions */ export async function actionsSetCustomLabelsForSelfHostedRunnerForOrg< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -74352,7 +74504,7 @@ export async function actionsSetCustomLabelsForSelfHostedRunnerForOrg< * Tags: actions */ export async function actionsRemoveAllCustomLabelsFromSelfHostedRunnerForOrg< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -74397,7 +74549,7 @@ export async function actionsRemoveAllCustomLabelsFromSelfHostedRunnerForOrg< * Tags: actions */ export async function actionsRemoveCustomLabelFromSelfHostedRunnerForOrg< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -74439,7 +74591,9 @@ export async function actionsRemoveCustomLabelFromSelfHostedRunnerForOrg< * Learn more at {@link https://docs.github.com/rest/actions/secrets#list-organization-secrets} * Tags: actions */ -export async function actionsListOrgSecrets( +export async function actionsListOrgSecrets< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -74495,7 +74649,9 @@ export async function actionsListOrgSecrets( * Learn more at {@link https://docs.github.com/rest/actions/secrets#get-an-organization-public-key} * Tags: actions */ -export async function actionsGetOrgPublicKey( +export async function actionsGetOrgPublicKey< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -74523,7 +74679,9 @@ export async function actionsGetOrgPublicKey( * Learn more at {@link https://docs.github.com/rest/actions/secrets#get-an-organization-secret} * Tags: actions */ -export async function actionsGetOrgSecret( +export async function actionsGetOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -74563,7 +74721,9 @@ export async function actionsGetOrgSecret( * Learn more at {@link https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret} * Tags: actions */ -export async function actionsCreateOrUpdateOrgSecret( +export async function actionsCreateOrUpdateOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -74613,7 +74773,9 @@ export async function actionsCreateOrUpdateOrgSecret( * Learn more at {@link https://docs.github.com/rest/actions/secrets#delete-an-organization-secret} * Tags: actions */ -export async function actionsDeleteOrgSecret( +export async function actionsDeleteOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -74643,7 +74805,9 @@ export async function actionsDeleteOrgSecret( * Learn more at {@link https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret} * Tags: actions */ -export async function actionsListSelectedReposForOrgSecret( +export async function actionsListSelectedReposForOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -74703,7 +74867,9 @@ export async function actionsListSelectedReposForOrgSecret( * Learn more at {@link https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret} * Tags: actions */ -export async function actionsSetSelectedReposForOrgSecret( +export async function actionsSetSelectedReposForOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -74743,7 +74909,9 @@ export async function actionsSetSelectedReposForOrgSecret( * Learn more at {@link https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret} * Tags: actions */ -export async function actionsAddSelectedRepoToOrgSecret( +export async function actionsAddSelectedRepoToOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -74777,7 +74945,9 @@ export async function actionsAddSelectedRepoToOrgSecret( * Learn more at {@link https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret} * Tags: actions */ -export async function actionsRemoveSelectedRepoFromOrgSecret( +export async function actionsRemoveSelectedRepoFromOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -74806,7 +74976,9 @@ export async function actionsRemoveSelectedRepoFromOrgSecret( * Learn more at {@link https://docs.github.com/rest/actions/variables#list-organization-variables} * Tags: actions */ -export async function actionsListOrgVariables( +export async function actionsListOrgVariables< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -74861,7 +75033,9 @@ export async function actionsListOrgVariables( * Learn more at {@link https://docs.github.com/rest/actions/variables#create-an-organization-variable} * Tags: actions */ -export async function actionsCreateOrgVariable( +export async function actionsCreateOrgVariable< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -74908,7 +75082,9 @@ export async function actionsCreateOrgVariable( * Learn more at {@link https://docs.github.com/rest/actions/variables#get-an-organization-variable} * Tags: actions */ -export async function actionsGetOrgVariable( +export async function actionsGetOrgVariable< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -74945,7 +75121,9 @@ export async function actionsGetOrgVariable( * Learn more at {@link https://docs.github.com/rest/actions/variables#update-an-organization-variable} * Tags: actions */ -export async function actionsUpdateOrgVariable( +export async function actionsUpdateOrgVariable< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -74993,7 +75171,9 @@ export async function actionsUpdateOrgVariable( * Learn more at {@link https://docs.github.com/rest/actions/variables#delete-an-organization-variable} * Tags: actions */ -export async function actionsDeleteOrgVariable( +export async function actionsDeleteOrgVariable< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -75023,7 +75203,9 @@ export async function actionsDeleteOrgVariable( * Learn more at {@link https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable} * Tags: actions */ -export async function actionsListSelectedReposForOrgVariable( +export async function actionsListSelectedReposForOrgVariable< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -75083,7 +75265,9 @@ export async function actionsListSelectedReposForOrgVariable( * Learn more at {@link https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable} * Tags: actions */ -export async function actionsSetSelectedReposForOrgVariable( +export async function actionsSetSelectedReposForOrgVariable< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -75121,7 +75305,9 @@ export async function actionsSetSelectedReposForOrgVariable( * Learn more at {@link https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable} * Tags: actions */ -export async function actionsAddSelectedRepoToOrgVariable( +export async function actionsAddSelectedRepoToOrgVariable< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -75154,7 +75340,9 @@ export async function actionsAddSelectedRepoToOrgVariable( * Learn more at {@link https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable} * Tags: actions */ -export async function actionsRemoveSelectedRepoFromOrgVariable( +export async function actionsRemoveSelectedRepoFromOrgVariable< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -75177,7 +75365,9 @@ export async function actionsRemoveSelectedRepoFromOrgVariable( * Learn more at {@link https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization} * Tags: orgs */ -export async function orgsListBlockedUsers( +export async function orgsListBlockedUsers< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -75202,7 +75392,9 @@ export async function orgsListBlockedUsers( * Learn more at {@link https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization} * Tags: orgs */ -export async function orgsCheckBlockedUser( +export async function orgsCheckBlockedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -75225,7 +75417,7 @@ export async function orgsCheckBlockedUser( * Learn more at {@link https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization} * Tags: orgs */ -export async function orgsBlockUser( +export async function orgsBlockUser( ctx: r.Context, params: { org: string; @@ -75249,7 +75441,7 @@ export async function orgsBlockUser( * Learn more at {@link https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization} * Tags: orgs */ -export async function orgsUnblockUser( +export async function orgsUnblockUser( ctx: r.Context, params: { org: string; @@ -75281,7 +75473,9 @@ export async function orgsUnblockUser( * Learn more at {@link https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization} * Tags: code-scanning */ -export async function codeScanningListAlertsForOrg( +export async function codeScanningListAlertsForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -75348,7 +75542,9 @@ export async function codeScanningListAlertsForOrg( * Learn more at {@link https://docs.github.com/rest/codespaces/organizations#list-codespaces-for-the-organization} * Tags: codespaces */ -export async function codespacesListInOrganization( +export async function codespacesListInOrganization< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -75401,7 +75597,9 @@ export async function codespacesListInOrganization( * Learn more at {@link https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces} * Tags: codespaces */ -export async function codespacesSetCodespacesAccess( +export async function codespacesSetCodespacesAccess< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -75454,7 +75652,9 @@ export async function codespacesSetCodespacesAccess( * Learn more at {@link https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization} * Tags: codespaces */ -export async function codespacesSetCodespacesAccessUsers( +export async function codespacesSetCodespacesAccessUsers< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -75499,7 +75699,9 @@ export async function codespacesSetCodespacesAccessUsers( * Learn more at {@link https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization} * Tags: codespaces */ -export async function codespacesDeleteCodespacesAccessUsers( +export async function codespacesDeleteCodespacesAccessUsers< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -75539,7 +75741,9 @@ export async function codespacesDeleteCodespacesAccessUsers( * Learn more at {@link https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets} * Tags: codespaces */ -export async function codespacesListOrgSecrets( +export async function codespacesListOrgSecrets< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -75590,7 +75794,9 @@ export async function codespacesListOrgSecrets( * Learn more at {@link https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key} * Tags: codespaces */ -export async function codespacesGetOrgPublicKey( +export async function codespacesGetOrgPublicKey< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -75614,7 +75820,9 @@ export async function codespacesGetOrgPublicKey( * Learn more at {@link https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret} * Tags: codespaces */ -export async function codespacesGetOrgSecret( +export async function codespacesGetOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -75648,7 +75856,9 @@ export async function codespacesGetOrgSecret( * Learn more at {@link https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret} * Tags: codespaces */ -export async function codespacesCreateOrUpdateOrgSecret( +export async function codespacesCreateOrUpdateOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -75697,7 +75907,9 @@ export async function codespacesCreateOrUpdateOrgSecret( * Learn more at {@link https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret} * Tags: codespaces */ -export async function codespacesDeleteOrgSecret( +export async function codespacesDeleteOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -75723,7 +75935,9 @@ export async function codespacesDeleteOrgSecret( * Learn more at {@link https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret} * Tags: codespaces */ -export async function codespacesListSelectedReposForOrgSecret( +export async function codespacesListSelectedReposForOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -75780,7 +75994,9 @@ export async function codespacesListSelectedReposForOrgSecret( * Learn more at {@link https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret} * Tags: codespaces */ -export async function codespacesSetSelectedReposForOrgSecret( +export async function codespacesSetSelectedReposForOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -75817,7 +76033,9 @@ export async function codespacesSetSelectedReposForOrgSecret( * Learn more at {@link https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret} * Tags: codespaces */ -export async function codespacesAddSelectedRepoToOrgSecret( +export async function codespacesAddSelectedRepoToOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -75852,7 +76070,9 @@ export async function codespacesAddSelectedRepoToOrgSecret( * Learn more at {@link https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret} * Tags: codespaces */ -export async function codespacesRemoveSelectedRepoFromOrgSecret( +export async function codespacesRemoveSelectedRepoFromOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -75893,7 +76113,9 @@ export async function codespacesRemoveSelectedRepoFromOrgSecret( * Learn more at {@link https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization} * Tags: copilot */ -export async function copilotGetCopilotOrganizationDetails( +export async function copilotGetCopilotOrganizationDetails< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -75931,7 +76153,9 @@ export async function copilotGetCopilotOrganizationDetails( * Learn more at {@link https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization} * Tags: copilot */ -export async function copilotListCopilotSeats( +export async function copilotListCopilotSeats< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -76004,7 +76228,9 @@ export async function copilotListCopilotSeats( * Learn more at {@link https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization} * Tags: copilot */ -export async function copilotAddCopilotSeatsForTeams( +export async function copilotAddCopilotSeatsForTeams< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -76064,7 +76290,9 @@ export async function copilotAddCopilotSeatsForTeams( * Learn more at {@link https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization} * Tags: copilot */ -export async function copilotCancelCopilotSeatAssignmentForTeams( +export async function copilotCancelCopilotSeatAssignmentForTeams< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -76126,7 +76354,9 @@ export async function copilotCancelCopilotSeatAssignmentForTeams( * Learn more at {@link https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization} * Tags: copilot */ -export async function copilotAddCopilotSeatsForUsers( +export async function copilotAddCopilotSeatsForUsers< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -76186,7 +76416,9 @@ export async function copilotAddCopilotSeatsForUsers( * Learn more at {@link https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization} * Tags: copilot */ -export async function copilotCancelCopilotSeatAssignmentForUsers( +export async function copilotCancelCopilotSeatAssignmentForUsers< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -76237,17 +76469,18 @@ export async function copilotCancelCopilotSeatAssignmentForUsers( * end user to be counted towards these metrics, * they must have telemetry enabled in their IDE. * - * Copilot Business or - * Copilot Enterprise organization owners, and owners and billing managers of their parent enterprises, can view - * Copilot - * usage metrics. + * Organization owners, and + * owners and billing managers of the parent enterprise, can view Copilot usage metrics. * - * OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, - * `admin:org`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. + * OAuth app tokens and personal + * access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this + * endpoint. * Learn more at {@link https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members} * Tags: copilot */ -export async function copilotUsageMetricsForOrg( +export async function copilotUsageMetricsForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -76286,7 +76519,9 @@ export async function copilotUsageMetricsForOrg( * Learn more at {@link https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization} * Tags: dependabot */ -export async function dependabotListAlertsForOrg( +export async function dependabotListAlertsForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -76354,7 +76589,9 @@ export async function dependabotListAlertsForOrg( * Learn more at {@link https://docs.github.com/rest/dependabot/secrets#list-organization-secrets} * Tags: dependabot */ -export async function dependabotListOrgSecrets( +export async function dependabotListOrgSecrets< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -76406,7 +76643,9 @@ export async function dependabotListOrgSecrets( * Learn more at {@link https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key} * Tags: dependabot */ -export async function dependabotGetOrgPublicKey( +export async function dependabotGetOrgPublicKey< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -76430,7 +76669,9 @@ export async function dependabotGetOrgPublicKey( * Learn more at {@link https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret} * Tags: dependabot */ -export async function dependabotGetOrgSecret( +export async function dependabotGetOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -76466,7 +76707,9 @@ export async function dependabotGetOrgSecret( * Learn more at {@link https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret} * Tags: dependabot */ -export async function dependabotCreateOrUpdateOrgSecret( +export async function dependabotCreateOrUpdateOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -76512,7 +76755,9 @@ export async function dependabotCreateOrUpdateOrgSecret( * Learn more at {@link https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret} * Tags: dependabot */ -export async function dependabotDeleteOrgSecret( +export async function dependabotDeleteOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -76538,7 +76783,9 @@ export async function dependabotDeleteOrgSecret( * Learn more at {@link https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret} * Tags: dependabot */ -export async function dependabotListSelectedReposForOrgSecret( +export async function dependabotListSelectedReposForOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -76594,7 +76841,9 @@ export async function dependabotListSelectedReposForOrgSecret( * Learn more at {@link https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret} * Tags: dependabot */ -export async function dependabotSetSelectedReposForOrgSecret( +export async function dependabotSetSelectedReposForOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -76630,7 +76879,9 @@ export async function dependabotSetSelectedReposForOrgSecret( * Learn more at {@link https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret} * Tags: dependabot */ -export async function dependabotAddSelectedRepoToOrgSecret( +export async function dependabotAddSelectedRepoToOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -76660,7 +76911,9 @@ export async function dependabotAddSelectedRepoToOrgSecret( * Learn more at {@link https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret} * Tags: dependabot */ -export async function dependabotRemoveSelectedRepoFromOrgSecret( +export async function dependabotRemoveSelectedRepoFromOrgSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -76688,7 +76941,7 @@ export async function dependabotRemoveSelectedRepoFromOrgSecret( * Tags: packages */ export async function packagesListDockerMigrationConflictingPackagesForOrganization< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -76719,7 +76972,9 @@ export async function packagesListDockerMigrationConflictingPackagesForOrganizat * Learn more at {@link https://docs.github.com/rest/activity/events#list-public-organization-events} * Tags: activity */ -export async function activityListPublicOrgEvents( +export async function activityListPublicOrgEvents< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -76750,7 +77005,9 @@ export async function activityListPublicOrgEvents( * Learn more at {@link https://docs.github.com/rest/orgs/members#list-failed-organization-invitations} * Tags: orgs */ -export async function orgsListFailedInvitations( +export async function orgsListFailedInvitations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -76782,7 +77039,7 @@ export async function orgsListFailedInvitations( * Learn more at {@link https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks} * Tags: orgs */ -export async function orgsListWebhooks( +export async function orgsListWebhooks( ctx: r.Context, params: { org: string; @@ -76821,7 +77078,7 @@ export async function orgsListWebhooks( * Learn more at {@link https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook} * Tags: orgs */ -export async function orgsCreateWebhook( +export async function orgsCreateWebhook( ctx: r.Context, params: { org: string; @@ -76899,7 +77156,7 @@ export async function orgsCreateWebhook( * Learn more at {@link https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook} * Tags: orgs */ -export async function orgsGetWebhook( +export async function orgsGetWebhook( ctx: r.Context, params: { org: string; @@ -76942,7 +77199,7 @@ export async function orgsGetWebhook( * Learn more at {@link https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook} * Tags: orgs */ -export async function orgsUpdateWebhook( +export async function orgsUpdateWebhook( ctx: r.Context, params: { org: string; @@ -77008,7 +77265,7 @@ export async function orgsUpdateWebhook( * Learn more at {@link https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook} * Tags: orgs */ -export async function orgsDeleteWebhook( +export async function orgsDeleteWebhook( ctx: r.Context, params: { org: string; @@ -77039,7 +77296,9 @@ export async function orgsDeleteWebhook( * Learn more at {@link https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization} * Tags: orgs */ -export async function orgsGetWebhookConfigForOrg( +export async function orgsGetWebhookConfigForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -77070,7 +77329,9 @@ export async function orgsGetWebhookConfigForOrg( * Learn more at {@link https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization} * Tags: orgs */ -export async function orgsUpdateWebhookConfigForOrg( +export async function orgsUpdateWebhookConfigForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -77107,7 +77368,9 @@ export async function orgsUpdateWebhookConfigForOrg( * Learn more at {@link https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook} * Tags: orgs */ -export async function orgsListWebhookDeliveries( +export async function orgsListWebhookDeliveries< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -77153,7 +77416,9 @@ export async function orgsListWebhookDeliveries( * Learn more at {@link https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook} * Tags: orgs */ -export async function orgsGetWebhookDelivery( +export async function orgsGetWebhookDelivery< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -77194,7 +77459,9 @@ export async function orgsGetWebhookDelivery( * Learn more at {@link https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook} * Tags: orgs */ -export async function orgsRedeliverWebhookDelivery( +export async function orgsRedeliverWebhookDelivery< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -77230,7 +77497,7 @@ export async function orgsRedeliverWebhookDelivery( * Learn more at {@link https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook} * Tags: orgs */ -export async function orgsPingWebhook( +export async function orgsPingWebhook( ctx: r.Context, params: { org: string; @@ -77256,7 +77523,9 @@ export async function orgsPingWebhook( * Learn more at {@link https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app} * Tags: apps */ -export async function appsGetOrgInstallation( +export async function appsGetOrgInstallation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -77290,7 +77559,9 @@ export async function appsGetOrgInstallation( * Learn more at {@link https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization} * Tags: orgs */ -export async function orgsListAppInstallations( +export async function orgsListAppInstallations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -77339,7 +77610,9 @@ export async function orgsListAppInstallations( * Learn more at {@link https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization} * Tags: interactions */ -export async function interactionsGetRestrictionsForOrg( +export async function interactionsGetRestrictionsForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -77372,7 +77645,9 @@ export async function interactionsGetRestrictionsForOrg( * Learn more at {@link https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization} * Tags: interactions */ -export async function interactionsSetRestrictionsForOrg( +export async function interactionsSetRestrictionsForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -77407,7 +77682,9 @@ export async function interactionsSetRestrictionsForOrg( * Learn more at {@link https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization} * Tags: interactions */ -export async function interactionsRemoveRestrictionsForOrg( +export async function interactionsRemoveRestrictionsForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -77424,13 +77701,18 @@ export async function interactionsRemoveRestrictionsForOrg( } /** * List pending organization invitations - * The return hash contains a `role` field which refers to the Organization Invitation role and will be one of the - * following values: `direct_member`, `admin`, `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub + * The return hash contains a `role` field which refers to the Organization + * Invitation role and will be one of the + * following values: `direct_member`, `admin`, + * `billing_manager`, or `hiring_manager`. If the invitee is not a + * GitHub * member, the `login` field in the return hash will be `null`. * Learn more at {@link https://docs.github.com/rest/orgs/members#list-pending-organization-invitations} * Tags: orgs */ -export async function orgsListPendingInvitations( +export async function orgsListPendingInvitations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -77466,13 +77748,16 @@ export async function orgsListPendingInvitations( * This endpoint triggers * [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). * Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate - * limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + * limits for the + * API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" * and * "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * Learn more at {@link https://docs.github.com/rest/orgs/members#create-an-organization-invitation} * Tags: orgs */ -export async function orgsCreateInvitation( +export async function orgsCreateInvitation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -77525,7 +77810,9 @@ export async function orgsCreateInvitation( * Learn more at {@link https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation} * Tags: orgs */ -export async function orgsCancelInvitation( +export async function orgsCancelInvitation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -77552,7 +77839,9 @@ export async function orgsCancelInvitation( * Learn more at {@link https://docs.github.com/rest/orgs/members#list-organization-invitation-teams} * Tags: orgs */ -export async function orgsListInvitationTeams( +export async function orgsListInvitationTeams< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -77600,7 +77889,7 @@ export async function orgsListInvitationTeams( * Learn more at {@link https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user} * Tags: issues */ -export async function issuesListForOrg( +export async function issuesListForOrg( ctx: r.Context, params: { org: string; @@ -77652,7 +77941,7 @@ export async function issuesListForOrg( * Learn more at {@link https://docs.github.com/rest/orgs/members#list-organization-members} * Tags: orgs */ -export async function orgsListMembers( +export async function orgsListMembers( ctx: r.Context, params: { org: string; @@ -77680,7 +77969,9 @@ export async function orgsListMembers( * Learn more at {@link https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user} * Tags: orgs */ -export async function orgsCheckMembershipForUser( +export async function orgsCheckMembershipForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -77707,7 +77998,7 @@ export async function orgsCheckMembershipForUser( * Learn more at {@link https://docs.github.com/rest/orgs/members#remove-an-organization-member} * Tags: orgs */ -export async function orgsRemoveMember( +export async function orgsRemoveMember( ctx: r.Context, params: { org: string; @@ -77732,7 +78023,9 @@ export async function orgsRemoveMember( * Learn more at {@link https://docs.github.com/rest/codespaces/organizations#list-codespaces-for-a-user-in-organization} * Tags: codespaces */ -export async function codespacesGetCodespacesForUserInOrg( +export async function codespacesGetCodespacesForUserInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -77785,7 +78078,9 @@ export async function codespacesGetCodespacesForUserInOrg( * Learn more at {@link https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization} * Tags: codespaces */ -export async function codespacesDeleteFromOrganization( +export async function codespacesDeleteFromOrganization< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -77818,7 +78113,9 @@ export async function codespacesDeleteFromOrganization( * Learn more at {@link https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user} * Tags: codespaces */ -export async function codespacesStopInOrganization( +export async function codespacesStopInOrganization< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -77863,7 +78160,9 @@ export async function codespacesStopInOrganization( * Learn more at {@link https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user} * Tags: copilot */ -export async function copilotGetCopilotSeatDetailsForUser( +export async function copilotGetCopilotSeatDetailsForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -77899,7 +78198,9 @@ export async function copilotGetCopilotSeatDetailsForUser( * Learn more at {@link https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user} * Tags: orgs */ -export async function orgsGetMembershipForUser( +export async function orgsGetMembershipForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -77942,7 +78243,9 @@ export async function orgsGetMembershipForUser( * Learn more at {@link https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user} * Tags: orgs */ -export async function orgsSetMembershipForUser( +export async function orgsSetMembershipForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -77983,7 +78286,9 @@ export async function orgsSetMembershipForUser( * Learn more at {@link https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user} * Tags: orgs */ -export async function orgsRemoveMembershipForUser( +export async function orgsRemoveMembershipForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -78012,7 +78317,9 @@ export async function orgsRemoveMembershipForUser( * Learn more at {@link https://docs.github.com/rest/migrations/orgs#list-organization-migrations} * Tags: migrations */ -export async function migrationsListForOrg( +export async function migrationsListForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -78043,7 +78350,9 @@ export async function migrationsListForOrg( * Learn more at {@link https://docs.github.com/rest/migrations/orgs#start-an-organization-migration} * Tags: migrations */ -export async function migrationsStartForOrg( +export async function migrationsStartForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -78127,7 +78436,9 @@ export async function migrationsStartForOrg( * Learn more at {@link https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status} * Tags: migrations */ -export async function migrationsGetStatusForOrg( +export async function migrationsGetStatusForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -78159,7 +78470,9 @@ export async function migrationsGetStatusForOrg( * Learn more at {@link https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive} * Tags: migrations */ -export async function migrationsDownloadArchiveForOrg( +export async function migrationsDownloadArchiveForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -78181,7 +78494,9 @@ export async function migrationsDownloadArchiveForOrg( * Learn more at {@link https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive} * Tags: migrations */ -export async function migrationsDeleteArchiveForOrg( +export async function migrationsDeleteArchiveForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -78205,7 +78520,9 @@ export async function migrationsDeleteArchiveForOrg( * Learn more at {@link https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository} * Tags: migrations */ -export async function migrationsUnlockRepoForOrg( +export async function migrationsUnlockRepoForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -78228,7 +78545,9 @@ export async function migrationsUnlockRepoForOrg( * Learn more at {@link https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration} * Tags: migrations */ -export async function migrationsListReposForOrg( +export async function migrationsListReposForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -78280,7 +78599,9 @@ export async function migrationsListReposForOrg( * Learn more at {@link https://docs.github.com/rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization} * Tags: orgs */ -export async function orgsListOrganizationFineGrainedPermissions( +export async function orgsListOrganizationFineGrainedPermissions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -78317,7 +78638,7 @@ export async function orgsListOrganizationFineGrainedPermissions( * Learn more at {@link https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization} * Tags: orgs */ -export async function orgsListOrgRoles( +export async function orgsListOrgRoles( ctx: r.Context, params: { org: string; @@ -78379,7 +78700,9 @@ export async function orgsListOrgRoles( * Learn more at {@link https://docs.github.com/rest/orgs/organization-roles#create-a-custom-organization-role} * Tags: orgs */ -export async function orgsCreateCustomOrganizationRole( +export async function orgsCreateCustomOrganizationRole< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -78434,7 +78757,9 @@ export async function orgsCreateCustomOrganizationRole( * Learn more at {@link https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team} * Tags: orgs */ -export async function orgsRevokeAllOrgRolesTeam( +export async function orgsRevokeAllOrgRolesTeam< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -78464,7 +78789,9 @@ export async function orgsRevokeAllOrgRolesTeam( * Learn more at {@link https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team} * Tags: orgs */ -export async function orgsAssignTeamToOrgRole( +export async function orgsAssignTeamToOrgRole< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -78499,7 +78826,9 @@ export async function orgsAssignTeamToOrgRole( * Learn more at {@link https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team} * Tags: orgs */ -export async function orgsRevokeOrgRoleTeam( +export async function orgsRevokeOrgRoleTeam< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -78530,7 +78859,9 @@ export async function orgsRevokeOrgRoleTeam( * Learn more at {@link https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user} * Tags: orgs */ -export async function orgsRevokeAllOrgRolesUser( +export async function orgsRevokeAllOrgRolesUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -78560,7 +78891,9 @@ export async function orgsRevokeAllOrgRolesUser( * Learn more at {@link https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user} * Tags: orgs */ -export async function orgsAssignUserToOrgRole( +export async function orgsAssignUserToOrgRole< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -78595,7 +78928,9 @@ export async function orgsAssignUserToOrgRole( * Learn more at {@link https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user} * Tags: orgs */ -export async function orgsRevokeOrgRoleUser( +export async function orgsRevokeOrgRoleUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -78630,7 +78965,7 @@ export async function orgsRevokeOrgRoleUser( * Learn more at {@link https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role} * Tags: orgs */ -export async function orgsGetOrgRole( +export async function orgsGetOrgRole( ctx: r.Context, params: { org: string; @@ -78675,7 +79010,9 @@ export async function orgsGetOrgRole( * Learn more at {@link https://docs.github.com/rest/orgs/organization-roles#update-a-custom-organization-role} * Tags: orgs */ -export async function orgsPatchCustomOrganizationRole( +export async function orgsPatchCustomOrganizationRole< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -78735,7 +79072,9 @@ export async function orgsPatchCustomOrganizationRole( * Learn more at {@link https://docs.github.com/rest/orgs/organization-roles#delete-a-custom-organization-role} * Tags: orgs */ -export async function orgsDeleteCustomOrganizationRole( +export async function orgsDeleteCustomOrganizationRole< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -78765,7 +79104,9 @@ export async function orgsDeleteCustomOrganizationRole( * Learn more at {@link https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role} * Tags: orgs */ -export async function orgsListOrgRoleTeams( +export async function orgsListOrgRoleTeams< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -78802,7 +79143,9 @@ export async function orgsListOrgRoleTeams( * Learn more at {@link https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role} * Tags: orgs */ -export async function orgsListOrgRoleUsers( +export async function orgsListOrgRoleUsers< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -78831,7 +79174,9 @@ export async function orgsListOrgRoleUsers( * Learn more at {@link https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization} * Tags: orgs */ -export async function orgsListOutsideCollaborators( +export async function orgsListOutsideCollaborators< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -78862,7 +79207,9 @@ export async function orgsListOutsideCollaborators( * Learn more at {@link https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator} * Tags: orgs */ -export async function orgsConvertMemberToOutsideCollaborator( +export async function orgsConvertMemberToOutsideCollaborator< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -78896,7 +79243,9 @@ export async function orgsConvertMemberToOutsideCollaborator( * Learn more at {@link https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization} * Tags: orgs */ -export async function orgsRemoveOutsideCollaborator( +export async function orgsRemoveOutsideCollaborator< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -78933,7 +79282,9 @@ export async function orgsRemoveOutsideCollaborator( * Learn more at {@link https://docs.github.com/rest/packages/packages#list-packages-for-an-organization} * Tags: packages */ -export async function packagesListPackagesForOrganization( +export async function packagesListPackagesForOrganization< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -78982,7 +79333,9 @@ export async function packagesListPackagesForOrganization( * Learn more at {@link https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization} * Tags: packages */ -export async function packagesGetPackageForOrganization( +export async function packagesGetPackageForOrganization< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -79030,7 +79383,9 @@ export async function packagesGetPackageForOrganization( * Learn more at {@link https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization} * Tags: packages */ -export async function packagesDeletePackageForOrg( +export async function packagesDeletePackageForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -79083,7 +79438,9 @@ export async function packagesDeletePackageForOrg( * Learn more at {@link https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization} * Tags: packages */ -export async function packagesRestorePackageForOrg( +export async function packagesRestorePackageForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -79125,7 +79482,7 @@ export async function packagesRestorePackageForOrg( * Tags: packages */ export async function packagesGetAllPackageVersionsForPackageOwnedByOrg< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -79178,7 +79535,9 @@ export async function packagesGetAllPackageVersionsForPackageOwnedByOrg< * Learn more at {@link https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization} * Tags: packages */ -export async function packagesGetPackageVersionForOrganization( +export async function packagesGetPackageVersionForOrganization< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -79227,7 +79586,9 @@ export async function packagesGetPackageVersionForOrganization( * Learn more at {@link https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization} * Tags: packages */ -export async function packagesDeletePackageVersionForOrg( +export async function packagesDeletePackageVersionForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -79282,7 +79643,9 @@ export async function packagesDeletePackageVersionForOrg( * Learn more at {@link https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization} * Tags: packages */ -export async function packagesRestorePackageVersionForOrg( +export async function packagesRestorePackageVersionForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -79320,7 +79683,9 @@ export async function packagesRestorePackageVersionForOrg( * Learn more at {@link https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens} * Tags: orgs */ -export async function orgsListPatGrantRequests( +export async function orgsListPatGrantRequests< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -79370,7 +79735,9 @@ export async function orgsListPatGrantRequests( * Learn more at {@link https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens} * Tags: orgs */ -export async function orgsReviewPatGrantRequestsInBulk( +export async function orgsReviewPatGrantRequestsInBulk< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -79415,7 +79782,9 @@ export async function orgsReviewPatGrantRequestsInBulk( * Learn more at {@link https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token} * Tags: orgs */ -export async function orgsReviewPatGrantRequest( +export async function orgsReviewPatGrantRequest< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -79457,7 +79826,9 @@ export async function orgsReviewPatGrantRequest( * Learn more at {@link https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token} * Tags: orgs */ -export async function orgsListPatGrantRequestRepositories( +export async function orgsListPatGrantRequestRepositories< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -79498,7 +79869,7 @@ export async function orgsListPatGrantRequestRepositories( * Learn more at {@link https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources} * Tags: orgs */ -export async function orgsListPatGrants( +export async function orgsListPatGrants( ctx: r.Context, params: { org: string; @@ -79548,7 +79919,9 @@ export async function orgsListPatGrants( * Learn more at {@link https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens} * Tags: orgs */ -export async function orgsUpdatePatAccesses( +export async function orgsUpdatePatAccesses< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -79590,7 +79963,9 @@ export async function orgsUpdatePatAccesses( * Learn more at {@link https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources} * Tags: orgs */ -export async function orgsUpdatePatAccess( +export async function orgsUpdatePatAccess< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -79627,7 +80002,9 @@ export async function orgsUpdatePatAccess( * Learn more at {@link https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to} * Tags: orgs */ -export async function orgsListPatGrantRepositories( +export async function orgsListPatGrantRepositories< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -79666,7 +80043,7 @@ export async function orgsListPatGrantRepositories( * Learn more at {@link https://docs.github.com/rest/projects/projects#list-organization-projects} * Tags: projects */ -export async function projectsListForOrg( +export async function projectsListForOrg( ctx: r.Context, params: { org: string; @@ -79702,7 +80079,9 @@ export async function projectsListForOrg( * Learn more at {@link https://docs.github.com/rest/projects/projects#create-an-organization-project} * Tags: projects */ -export async function projectsCreateForOrg( +export async function projectsCreateForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -79748,7 +80127,9 @@ export async function projectsCreateForOrg( * Learn more at {@link https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization} * Tags: orgs */ -export async function orgsGetAllCustomProperties( +export async function orgsGetAllCustomProperties< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -79779,7 +80160,9 @@ export async function orgsGetAllCustomProperties( * Learn more at {@link https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization} * Tags: orgs */ -export async function orgsCreateOrUpdateCustomProperties( +export async function orgsCreateOrUpdateCustomProperties< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -79812,7 +80195,9 @@ export async function orgsCreateOrUpdateCustomProperties( * Learn more at {@link https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization} * Tags: orgs */ -export async function orgsGetCustomProperty( +export async function orgsGetCustomProperty< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -79844,7 +80229,9 @@ export async function orgsGetCustomProperty( * Learn more at {@link https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization} * Tags: orgs */ -export async function orgsCreateOrUpdateCustomProperty( +export async function orgsCreateOrUpdateCustomProperty< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -79901,7 +80288,9 @@ export async function orgsCreateOrUpdateCustomProperty( * Learn more at {@link https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization} * Tags: orgs */ -export async function orgsRemoveCustomProperty( +export async function orgsRemoveCustomProperty< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -79929,7 +80318,9 @@ export async function orgsRemoveCustomProperty( * Learn more at {@link https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories} * Tags: orgs */ -export async function orgsListCustomPropertiesValuesForRepos( +export async function orgsListCustomPropertiesValuesForRepos< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -79973,7 +80364,7 @@ export async function orgsListCustomPropertiesValuesForRepos( * Tags: orgs */ export async function orgsCreateOrUpdateCustomPropertiesValuesForRepos< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -80011,7 +80402,9 @@ export async function orgsCreateOrUpdateCustomPropertiesValuesForRepos< * Learn more at {@link https://docs.github.com/rest/orgs/members#list-public-organization-members} * Tags: orgs */ -export async function orgsListPublicMembers( +export async function orgsListPublicMembers< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -80035,7 +80428,9 @@ export async function orgsListPublicMembers( * Learn more at {@link https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user} * Tags: orgs */ -export async function orgsCheckPublicMembershipForUser( +export async function orgsCheckPublicMembershipForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -80061,7 +80456,9 @@ export async function orgsCheckPublicMembershipForUser( * Learn more at {@link https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user} * Tags: orgs */ -export async function orgsSetPublicMembershipForAuthenticatedUser( +export async function orgsSetPublicMembershipForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -80085,7 +80482,7 @@ export async function orgsSetPublicMembershipForAuthenticatedUser( * Tags: orgs */ export async function orgsRemovePublicMembershipForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -80113,7 +80510,7 @@ export async function orgsRemovePublicMembershipForAuthenticatedUser< * Learn more at {@link https://docs.github.com/rest/repos/repos#list-organization-repositories} * Tags: repos */ -export async function reposListForOrg( +export async function reposListForOrg( ctx: r.Context, params: { org: string; @@ -80152,7 +80549,7 @@ export async function reposListForOrg( * Learn more at {@link https://docs.github.com/rest/repos/repos#create-an-organization-repository} * Tags: repos */ -export async function reposCreateInOrg( +export async function reposCreateInOrg( ctx: r.Context, params: { org: string; @@ -80311,7 +80708,9 @@ export async function reposCreateInOrg( * Learn more at {@link https://docs.github.com/rest/orgs/rules#get-all-organization-repository-rulesets} * Tags: repos */ -export async function reposGetOrgRulesets( +export async function reposGetOrgRulesets< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -80347,7 +80746,9 @@ export async function reposGetOrgRulesets( * Learn more at {@link https://docs.github.com/rest/orgs/rules#create-an-organization-repository-ruleset} * Tags: repos */ -export async function reposCreateOrgRuleset( +export async function reposCreateOrgRuleset< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -80404,7 +80805,9 @@ export async function reposCreateOrgRuleset( * Learn more at {@link https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites} * Tags: repos */ -export async function reposGetOrgRuleSuites( +export async function reposGetOrgRuleSuites< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -80452,7 +80855,9 @@ export async function reposGetOrgRuleSuites( * Learn more at {@link https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite} * Tags: repos */ -export async function reposGetOrgRuleSuite( +export async function reposGetOrgRuleSuite< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -80484,7 +80889,7 @@ export async function reposGetOrgRuleSuite( * Learn more at {@link https://docs.github.com/rest/orgs/rules#get-an-organization-repository-ruleset} * Tags: repos */ -export async function reposGetOrgRuleset( +export async function reposGetOrgRuleset( ctx: r.Context, params: { org: string; @@ -80516,7 +80921,9 @@ export async function reposGetOrgRuleset( * Learn more at {@link https://docs.github.com/rest/orgs/rules#update-an-organization-repository-ruleset} * Tags: repos */ -export async function reposUpdateOrgRuleset( +export async function reposUpdateOrgRuleset< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -80571,7 +80978,9 @@ export async function reposUpdateOrgRuleset( * Learn more at {@link https://docs.github.com/rest/orgs/rules#delete-an-organization-repository-ruleset} * Tags: repos */ -export async function reposDeleteOrgRuleset( +export async function reposDeleteOrgRuleset< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -80604,7 +81013,9 @@ export async function reposDeleteOrgRuleset( * Learn more at {@link https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization} * Tags: secret-scanning */ -export async function secretScanningListAlertsForOrg( +export async function secretScanningListAlertsForOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -80675,7 +81086,7 @@ export async function secretScanningListAlertsForOrg( * Tags: security-advisories */ export async function securityAdvisoriesListOrgRepositoryAdvisories< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -80724,7 +81135,9 @@ export async function securityAdvisoriesListOrgRepositoryAdvisories< * Learn more at {@link https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams} * Tags: orgs */ -export async function orgsListSecurityManagerTeams( +export async function orgsListSecurityManagerTeams< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -80752,7 +81165,9 @@ export async function orgsListSecurityManagerTeams( * Learn more at {@link https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team} * Tags: orgs */ -export async function orgsAddSecurityManagerTeam( +export async function orgsAddSecurityManagerTeam< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -80782,7 +81197,9 @@ export async function orgsAddSecurityManagerTeam( * Learn more at {@link https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team} * Tags: orgs */ -export async function orgsRemoveSecurityManagerTeam( +export async function orgsRemoveSecurityManagerTeam< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -80813,7 +81230,9 @@ export async function orgsRemoveSecurityManagerTeam( * Learn more at {@link https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization} * Tags: billing */ -export async function billingGetGithubActionsBillingOrg( +export async function billingGetGithubActionsBillingOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -80841,7 +81260,9 @@ export async function billingGetGithubActionsBillingOrg( * Learn more at {@link https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization} * Tags: billing */ -export async function billingGetGithubPackagesBillingOrg( +export async function billingGetGithubPackagesBillingOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -80869,7 +81290,9 @@ export async function billingGetGithubPackagesBillingOrg( * Learn more at {@link https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization} * Tags: billing */ -export async function billingGetSharedStorageBillingOrg( +export async function billingGetSharedStorageBillingOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -80890,7 +81313,7 @@ export async function billingGetSharedStorageBillingOrg( * Learn more at {@link https://docs.github.com/rest/teams/teams#list-teams} * Tags: teams */ -export async function teamsList( +export async function teamsList( ctx: r.Context, params: { org: string; @@ -80922,7 +81345,7 @@ export async function teamsList( * Learn more at {@link https://docs.github.com/rest/teams/teams#create-a-team} * Tags: teams */ -export async function teamsCreate( +export async function teamsCreate( ctx: r.Context, params: { org: string; @@ -81004,7 +81427,7 @@ export async function teamsCreate( * Learn more at {@link https://docs.github.com/rest/teams/teams#get-a-team-by-name} * Tags: teams */ -export async function teamsGetByName( +export async function teamsGetByName( ctx: r.Context, params: { org: string; @@ -81037,7 +81460,7 @@ export async function teamsGetByName( * Learn more at {@link https://docs.github.com/rest/teams/teams#update-a-team} * Tags: teams */ -export async function teamsUpdateInOrg( +export async function teamsUpdateInOrg( ctx: r.Context, params: { org: string; @@ -81113,7 +81536,7 @@ export async function teamsUpdateInOrg( * Learn more at {@link https://docs.github.com/rest/teams/teams#delete-a-team} * Tags: teams */ -export async function teamsDeleteInOrg( +export async function teamsDeleteInOrg( ctx: r.Context, params: { org: string; @@ -81141,7 +81564,9 @@ export async function teamsDeleteInOrg( * Learn more at {@link https://docs.github.com/rest/teams/discussions#list-discussions} * Tags: teams */ -export async function teamsListDiscussionsInOrg( +export async function teamsListDiscussionsInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -81177,7 +81602,8 @@ export async function teamsListDiscussionsInOrg( * This endpoint triggers * [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). * Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate - * limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and + * limits for the + * API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and * "[Best practices for using the REST * API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * @@ -81189,7 +81615,9 @@ export async function teamsListDiscussionsInOrg( * Learn more at {@link https://docs.github.com/rest/teams/discussions#create-a-discussion} * Tags: teams */ -export async function teamsCreateDiscussionInOrg( +export async function teamsCreateDiscussionInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -81238,7 +81666,9 @@ export async function teamsCreateDiscussionInOrg( * Learn more at {@link https://docs.github.com/rest/teams/discussions#get-a-discussion} * Tags: teams */ -export async function teamsGetDiscussionInOrg( +export async function teamsGetDiscussionInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -81274,7 +81704,9 @@ export async function teamsGetDiscussionInOrg( * Learn more at {@link https://docs.github.com/rest/teams/discussions#update-a-discussion} * Tags: teams */ -export async function teamsUpdateDiscussionInOrg( +export async function teamsUpdateDiscussionInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -81320,7 +81752,9 @@ export async function teamsUpdateDiscussionInOrg( * Learn more at {@link https://docs.github.com/rest/teams/discussions#delete-a-discussion} * Tags: teams */ -export async function teamsDeleteDiscussionInOrg( +export async function teamsDeleteDiscussionInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -81349,7 +81783,9 @@ export async function teamsDeleteDiscussionInOrg( * Learn more at {@link https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments} * Tags: teams */ -export async function teamsListDiscussionCommentsInOrg( +export async function teamsListDiscussionCommentsInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -81387,7 +81823,8 @@ export async function teamsListDiscussionCommentsInOrg( * This endpoint triggers * [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). * Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate - * limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and + * limits for the + * API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and * "[Best practices for using the REST * API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * @@ -81400,7 +81837,9 @@ export async function teamsListDiscussionCommentsInOrg( * Learn more at {@link https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment} * Tags: teams */ -export async function teamsCreateDiscussionCommentInOrg( +export async function teamsCreateDiscussionCommentInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -81442,7 +81881,9 @@ export async function teamsCreateDiscussionCommentInOrg( * Learn more at {@link https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment} * Tags: teams */ -export async function teamsGetDiscussionCommentInOrg( +export async function teamsGetDiscussionCommentInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -81478,7 +81919,9 @@ export async function teamsGetDiscussionCommentInOrg( * Learn more at {@link https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment} * Tags: teams */ -export async function teamsUpdateDiscussionCommentInOrg( +export async function teamsUpdateDiscussionCommentInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -81521,7 +81964,9 @@ export async function teamsUpdateDiscussionCommentInOrg( * Learn more at {@link https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment} * Tags: teams */ -export async function teamsDeleteDiscussionCommentInOrg( +export async function teamsDeleteDiscussionCommentInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -81553,7 +81998,9 @@ export async function teamsDeleteDiscussionCommentInOrg( * Learn more at {@link https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment} * Tags: reactions */ -export async function reactionsListForTeamDiscussionCommentInOrg( +export async function reactionsListForTeamDiscussionCommentInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -81606,7 +82053,9 @@ export async function reactionsListForTeamDiscussionCommentInOrg( * Learn more at {@link https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment} * Tags: reactions */ -export async function reactionsCreateForTeamDiscussionCommentInOrg( +export async function reactionsCreateForTeamDiscussionCommentInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -81660,7 +82109,9 @@ export async function reactionsCreateForTeamDiscussionCommentInOrg( * Learn more at {@link https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction} * Tags: reactions */ -export async function reactionsDeleteForTeamDiscussionComment( +export async function reactionsDeleteForTeamDiscussionComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -81692,7 +82143,9 @@ export async function reactionsDeleteForTeamDiscussionComment( * Learn more at {@link https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion} * Tags: reactions */ -export async function reactionsListForTeamDiscussionInOrg( +export async function reactionsListForTeamDiscussionInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -81743,7 +82196,9 @@ export async function reactionsListForTeamDiscussionInOrg( * Learn more at {@link https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion} * Tags: reactions */ -export async function reactionsCreateForTeamDiscussionInOrg( +export async function reactionsCreateForTeamDiscussionInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -81795,7 +82250,9 @@ export async function reactionsCreateForTeamDiscussionInOrg( * Learn more at {@link https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction} * Tags: reactions */ -export async function reactionsDeleteForTeamDiscussion( +export async function reactionsDeleteForTeamDiscussion< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -81824,7 +82281,9 @@ export async function reactionsDeleteForTeamDiscussion( * Learn more at {@link https://docs.github.com/rest/teams/members#list-pending-team-invitations} * Tags: teams */ -export async function teamsListPendingInvitationsInOrg( +export async function teamsListPendingInvitationsInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -81852,7 +82311,9 @@ export async function teamsListPendingInvitationsInOrg( * Learn more at {@link https://docs.github.com/rest/teams/members#list-team-members} * Tags: teams */ -export async function teamsListMembersInOrg( +export async function teamsListMembersInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -81891,7 +82352,9 @@ export async function teamsListMembersInOrg( * Learn more at {@link https://docs.github.com/rest/teams/members#get-team-membership-for-a-user} * Tags: teams */ -export async function teamsGetMembershipForUserInOrg( +export async function teamsGetMembershipForUserInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -81942,7 +82405,9 @@ export async function teamsGetMembershipForUserInOrg( * Learn more at {@link https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user} * Tags: teams */ -export async function teamsAddOrUpdateMembershipForUserInOrg( +export async function teamsAddOrUpdateMembershipForUserInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -81995,7 +82460,9 @@ export async function teamsAddOrUpdateMembershipForUserInOrg( * Learn more at {@link https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user} * Tags: teams */ -export async function teamsRemoveMembershipForUserInOrg( +export async function teamsRemoveMembershipForUserInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -82021,7 +82488,9 @@ export async function teamsRemoveMembershipForUserInOrg( * Learn more at {@link https://docs.github.com/rest/teams/teams#list-team-projects} * Tags: teams */ -export async function teamsListProjectsInOrg( +export async function teamsListProjectsInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -82050,7 +82519,9 @@ export async function teamsListProjectsInOrg( * Learn more at {@link https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project} * Tags: teams */ -export async function teamsCheckPermissionsForProjectInOrg( +export async function teamsCheckPermissionsForProjectInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -82080,7 +82551,9 @@ export async function teamsCheckPermissionsForProjectInOrg( * Learn more at {@link https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions} * Tags: teams */ -export async function teamsAddOrUpdateProjectPermissionsInOrg( +export async function teamsAddOrUpdateProjectPermissionsInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -82125,7 +82598,9 @@ export async function teamsAddOrUpdateProjectPermissionsInOrg( * Learn more at {@link https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team} * Tags: teams */ -export async function teamsRemoveProjectInOrg( +export async function teamsRemoveProjectInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -82151,7 +82626,9 @@ export async function teamsRemoveProjectInOrg( * Learn more at {@link https://docs.github.com/rest/teams/teams#list-team-repositories} * Tags: teams */ -export async function teamsListReposInOrg( +export async function teamsListReposInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -82185,22 +82662,24 @@ export async function teamsListReposInOrg( * * You can also get information about the specified repository, * including what permissions the team grants on it, by passing the following custom [media - * type](https://docs.github.com/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept - * header. + * type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the + * `application/vnd.github.v3.repository+json` accept header. * - * If a team doesn't have permission for the repository, you will receive a `404 Not Found` response status. + * If a team doesn't have permission for the repository, you + * will receive a `404 Not Found` response status. * - * If - * the repository is private, you must have at least `read` permission for that repository, and your token must have the - * `repo` or `admin:org` scope. Otherwise, you will receive a `404 Not Found` response status. + * If the repository is private, you must have at least `read` permission + * for that repository, and your token must have the `repo` or `admin:org` scope. Otherwise, you will receive a `404 Not + * Found` response status. * - * **Note:** You can also - * specify a team by `org_id` and `team_id` using the route `GET + * **Note:** You can also specify a team by `org_id` and `team_id` using the route `GET * /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. * Learn more at {@link https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository} * Tags: teams */ -export async function teamsCheckPermissionsForRepoInOrg( +export async function teamsCheckPermissionsForRepoInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -82247,7 +82726,9 @@ export async function teamsCheckPermissionsForRepoInOrg( * Learn more at {@link https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions} * Tags: teams */ -export async function teamsAddOrUpdateRepoPermissionsInOrg( +export async function teamsAddOrUpdateRepoPermissionsInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -82285,7 +82766,9 @@ export async function teamsAddOrUpdateRepoPermissionsInOrg( * Learn more at {@link https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team} * Tags: teams */ -export async function teamsRemoveRepoInOrg( +export async function teamsRemoveRepoInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -82312,7 +82795,9 @@ export async function teamsRemoveRepoInOrg( * Learn more at {@link https://docs.github.com/rest/teams/teams#list-child-teams} * Tags: teams */ -export async function teamsListChildInOrg( +export async function teamsListChildInOrg< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -82346,7 +82831,7 @@ export async function teamsListChildInOrg( * Tags: orgs */ export async function orgsEnableOrDisableSecurityProductOnAllOrgRepos< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -82379,7 +82864,7 @@ export async function orgsEnableOrDisableSecurityProductOnAllOrgRepos< * Learn more at {@link https://docs.github.com/rest/projects/cards#get-a-project-card} * Tags: projects */ -export async function projectsGetCard( +export async function projectsGetCard( ctx: r.Context, params: { card_id: number; @@ -82411,7 +82896,7 @@ export async function projectsGetCard( * Learn more at {@link https://docs.github.com/rest/projects/cards#update-an-existing-project-card} * Tags: projects */ -export async function projectsUpdateCard( +export async function projectsUpdateCard( ctx: r.Context, params: { card_id: number; @@ -82457,7 +82942,7 @@ export async function projectsUpdateCard( * Learn more at {@link https://docs.github.com/rest/projects/cards#delete-a-project-card} * Tags: projects */ -export async function projectsDeleteCard( +export async function projectsDeleteCard( ctx: r.Context, params: { card_id: number; @@ -82490,7 +82975,7 @@ export async function projectsDeleteCard( * Learn more at {@link https://docs.github.com/rest/projects/cards#move-a-project-card} * Tags: projects */ -export async function projectsMoveCard( +export async function projectsMoveCard( ctx: r.Context, params: { card_id: number; @@ -82554,7 +83039,7 @@ export async function projectsMoveCard( * Learn more at {@link https://docs.github.com/rest/projects/columns#get-a-project-column} * Tags: projects */ -export async function projectsGetColumn( +export async function projectsGetColumn( ctx: r.Context, params: { column_id: number; @@ -82586,7 +83071,9 @@ export async function projectsGetColumn( * Learn more at {@link https://docs.github.com/rest/projects/columns#update-an-existing-project-column} * Tags: projects */ -export async function projectsUpdateColumn( +export async function projectsUpdateColumn< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { column_id: number; @@ -82626,7 +83113,9 @@ export async function projectsUpdateColumn( * Learn more at {@link https://docs.github.com/rest/projects/columns#delete-a-project-column} * Tags: projects */ -export async function projectsDeleteColumn( +export async function projectsDeleteColumn< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { column_id: number; @@ -82652,7 +83141,7 @@ export async function projectsDeleteColumn( * Learn more at {@link https://docs.github.com/rest/projects/cards#list-project-cards} * Tags: projects */ -export async function projectsListCards( +export async function projectsListCards( ctx: r.Context, params: { column_id: number; @@ -82687,7 +83176,7 @@ export async function projectsListCards( * Learn more at {@link https://docs.github.com/rest/projects/cards#create-a-project-card} * Tags: projects */ -export async function projectsCreateCard( +export async function projectsCreateCard( ctx: r.Context, params: { column_id: number; @@ -82752,7 +83241,7 @@ export async function projectsCreateCard( * Learn more at {@link https://docs.github.com/rest/projects/columns#move-a-project-column} * Tags: projects */ -export async function projectsMoveColumn( +export async function projectsMoveColumn( ctx: r.Context, params: { column_id: number; @@ -82788,7 +83277,7 @@ export async function projectsMoveColumn( * Learn more at {@link https://docs.github.com/rest/projects/projects#get-a-project} * Tags: projects */ -export async function projectsGet( +export async function projectsGet( ctx: r.Context, params: { project_id: number; @@ -82821,7 +83310,7 @@ export async function projectsGet( * Learn more at {@link https://docs.github.com/rest/projects/projects#update-a-project} * Tags: projects */ -export async function projectsUpdate( +export async function projectsUpdate( ctx: r.Context, params: { project_id: number; @@ -82889,7 +83378,7 @@ export async function projectsUpdate( * Learn more at {@link https://docs.github.com/rest/projects/projects#delete-a-project} * Tags: projects */ -export async function projectsDelete( +export async function projectsDelete( ctx: r.Context, params: { project_id: number; @@ -82927,7 +83416,9 @@ export async function projectsDelete( * Learn more at {@link https://docs.github.com/rest/projects/collaborators#list-project-collaborators} * Tags: projects */ -export async function projectsListCollaborators( +export async function projectsListCollaborators< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { project_id: number; @@ -82960,7 +83451,9 @@ export async function projectsListCollaborators( * Learn more at {@link https://docs.github.com/rest/projects/collaborators#add-project-collaborator} * Tags: projects */ -export async function projectsAddCollaborator( +export async function projectsAddCollaborator< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { project_id: number; @@ -82999,7 +83492,9 @@ export async function projectsAddCollaborator( * Learn more at {@link https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator} * Tags: projects */ -export async function projectsRemoveCollaborator( +export async function projectsRemoveCollaborator< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { project_id: number; @@ -83030,7 +83525,9 @@ export async function projectsRemoveCollaborator( * Learn more at {@link https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user} * Tags: projects */ -export async function projectsGetPermissionForUser( +export async function projectsGetPermissionForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { project_id: number; @@ -83059,7 +83556,9 @@ export async function projectsGetPermissionForUser( * Learn more at {@link https://docs.github.com/rest/projects/columns#list-project-columns} * Tags: projects */ -export async function projectsListColumns( +export async function projectsListColumns< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { project_id: number; @@ -83096,7 +83595,9 @@ export async function projectsListColumns( * Learn more at {@link https://docs.github.com/rest/projects/columns#create-a-project-column} * Tags: projects */ -export async function projectsCreateColumn( +export async function projectsCreateColumn< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { project_id: number; @@ -83166,15 +83667,15 @@ export async function projectsCreateColumn( * * * The `source_import` object is no longer in use for any API endpoints, and it will be removed in the next API version. * For more information about API versions, see "[API - * Versions](https://docs.github.com/rest/overview/api-versions)." + * Versions](https://docs.github.com/rest/about-the-rest-api/api-versions)." * - * **Note:** The `rate` object is deprecated. If you're - * writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. - * The `core` object contains the same information that is present in the `rate` object. + * **Note:** The `rate` object is deprecated. If + * you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` + * object. The `core` object contains the same information that is present in the `rate` object. * Learn more at {@link https://docs.github.com/rest/rate-limit/rate-limit#get-rate-limit-status-for-the-authenticated-user} * Tags: rate-limit */ -export async function rateLimitGet( +export async function rateLimitGet( ctx: r.Context, params: {}, opts?: FetcherData, @@ -83203,7 +83704,7 @@ export async function rateLimitGet( * Learn more at {@link https://docs.github.com/rest/repos/repos#get-a-repository} * Tags: repos */ -export async function reposGet( +export async function reposGet( ctx: r.Context, params: { owner: string; @@ -83237,7 +83738,7 @@ export async function reposGet( * Learn more at {@link https://docs.github.com/rest/repos/repos#update-a-repository} * Tags: repos */ -export async function reposUpdate( +export async function reposUpdate( ctx: r.Context, params: { owner: string; @@ -83438,7 +83939,7 @@ export async function reposUpdate( * Learn more at {@link https://docs.github.com/rest/repos/repos#delete-a-repository} * Tags: repos */ -export async function reposDelete( +export async function reposDelete( ctx: r.Context, params: { owner: string; @@ -83476,7 +83977,9 @@ export async function reposDelete( * Learn more at {@link https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository} * Tags: actions */ -export async function actionsListArtifactsForRepo( +export async function actionsListArtifactsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -83525,7 +84028,7 @@ export async function actionsListArtifactsForRepo( * Learn more at {@link https://docs.github.com/rest/actions/artifacts#get-an-artifact} * Tags: actions */ -export async function actionsGetArtifact( +export async function actionsGetArtifact( ctx: r.Context, params: { owner: string; @@ -83556,7 +84059,9 @@ export async function actionsGetArtifact( * Learn more at {@link https://docs.github.com/rest/actions/artifacts#delete-an-artifact} * Tags: actions */ -export async function actionsDeleteArtifact( +export async function actionsDeleteArtifact< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -83584,7 +84089,9 @@ export async function actionsDeleteArtifact( * Learn more at {@link https://docs.github.com/rest/actions/artifacts#download-an-artifact} * Tags: actions */ -export async function actionsDownloadArtifact( +export async function actionsDownloadArtifact< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -83616,7 +84123,9 @@ export async function actionsDownloadArtifact( * Learn more at {@link https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository} * Tags: actions */ -export async function actionsGetActionsCacheUsage( +export async function actionsGetActionsCacheUsage< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -83641,7 +84150,9 @@ export async function actionsGetActionsCacheUsage( * Learn more at {@link https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository} * Tags: actions */ -export async function actionsGetActionsCacheList( +export async function actionsGetActionsCacheList< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -83681,7 +84192,9 @@ export async function actionsGetActionsCacheList( * Learn more at {@link https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key} * Tags: actions */ -export async function actionsDeleteActionsCacheByKey( +export async function actionsDeleteActionsCacheByKey< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -83715,7 +84228,9 @@ export async function actionsDeleteActionsCacheByKey( * Learn more at {@link https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id} * Tags: actions */ -export async function actionsDeleteActionsCacheById( +export async function actionsDeleteActionsCacheById< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -83743,7 +84258,9 @@ export async function actionsDeleteActionsCacheById( * Learn more at {@link https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run} * Tags: actions */ -export async function actionsGetJobForWorkflowRun( +export async function actionsGetJobForWorkflowRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -83780,7 +84297,9 @@ export async function actionsGetJobForWorkflowRun( * Learn more at {@link https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run} * Tags: actions */ -export async function actionsDownloadJobLogsForWorkflowRun( +export async function actionsDownloadJobLogsForWorkflowRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -83806,7 +84325,9 @@ export async function actionsDownloadJobLogsForWorkflowRun( * Learn more at {@link https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run} * Tags: actions */ -export async function actionsReRunJobForWorkflowRun( +export async function actionsReRunJobForWorkflowRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -83841,7 +84362,9 @@ export async function actionsReRunJobForWorkflowRun( * Learn more at {@link https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository} * Tags: actions */ -export async function actionsGetCustomOidcSubClaimForRepo( +export async function actionsGetCustomOidcSubClaimForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -83870,7 +84393,9 @@ export async function actionsGetCustomOidcSubClaimForRepo( * Learn more at {@link https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository} * Tags: actions */ -export async function actionsSetCustomOidcSubClaimForRepo( +export async function actionsSetCustomOidcSubClaimForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -83915,7 +84440,9 @@ export async function actionsSetCustomOidcSubClaimForRepo( * Learn more at {@link https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets} * Tags: actions */ -export async function actionsListRepoOrganizationSecrets( +export async function actionsListRepoOrganizationSecrets< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -83966,7 +84493,9 @@ export async function actionsListRepoOrganizationSecrets( * Learn more at {@link https://docs.github.com/rest/actions/variables#list-repository-organization-variables} * Tags: actions */ -export async function actionsListRepoOrganizationVariables( +export async function actionsListRepoOrganizationVariables< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -84015,7 +84544,9 @@ export async function actionsListRepoOrganizationVariables( * Learn more at {@link https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository} * Tags: actions */ -export async function actionsGetGithubActionsPermissionsRepository( +export async function actionsGetGithubActionsPermissionsRepository< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -84040,7 +84571,9 @@ export async function actionsGetGithubActionsPermissionsRepository( * Learn more at {@link https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository} * Tags: actions */ -export async function actionsSetGithubActionsPermissionsRepository( +export async function actionsSetGithubActionsPermissionsRepository< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -84075,7 +84608,9 @@ export async function actionsSetGithubActionsPermissionsRepository( * Learn more at {@link https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository} * Tags: actions */ -export async function actionsGetWorkflowAccessToRepository( +export async function actionsGetWorkflowAccessToRepository< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -84105,7 +84640,9 @@ export async function actionsGetWorkflowAccessToRepository( * Learn more at {@link https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository} * Tags: actions */ -export async function actionsSetWorkflowAccessToRepository( +export async function actionsSetWorkflowAccessToRepository< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -84134,7 +84671,9 @@ export async function actionsSetWorkflowAccessToRepository( * Learn more at {@link https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository} * Tags: actions */ -export async function actionsGetAllowedActionsRepository( +export async function actionsGetAllowedActionsRepository< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -84161,7 +84700,9 @@ export async function actionsGetAllowedActionsRepository( * Learn more at {@link https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository} * Tags: actions */ -export async function actionsSetAllowedActionsRepository( +export async function actionsSetAllowedActionsRepository< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -84194,7 +84735,7 @@ export async function actionsSetAllowedActionsRepository( * Tags: actions */ export async function actionsGetGithubActionsDefaultWorkflowPermissionsRepository< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -84226,7 +84767,7 @@ export async function actionsGetGithubActionsDefaultWorkflowPermissionsRepositor * Tags: actions */ export async function actionsSetGithubActionsDefaultWorkflowPermissionsRepository< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -84256,7 +84797,9 @@ export async function actionsSetGithubActionsDefaultWorkflowPermissionsRepositor * Learn more at {@link https://docs.github.com/rest/actions/self-hosted-runners#list-self-hosted-runners-for-a-repository} * Tags: actions */ -export async function actionsListSelfHostedRunnersForRepo( +export async function actionsListSelfHostedRunnersForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { name?: string; @@ -84296,7 +84839,9 @@ export async function actionsListSelfHostedRunnersForRepo( * Learn more at {@link https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository} * Tags: actions */ -export async function actionsListRunnerApplicationsForRepo( +export async function actionsListRunnerApplicationsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -84324,7 +84869,9 @@ export async function actionsListRunnerApplicationsForRepo( * Learn more at {@link https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository} * Tags: actions */ -export async function actionsGenerateRunnerJitconfigForRepo( +export async function actionsGenerateRunnerJitconfigForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -84393,7 +84940,9 @@ export async function actionsGenerateRunnerJitconfigForRepo( * Learn more at {@link https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository} * Tags: actions */ -export async function actionsCreateRegistrationTokenForRepo( +export async function actionsCreateRegistrationTokenForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -84435,7 +84984,9 @@ export async function actionsCreateRegistrationTokenForRepo( * Learn more at {@link https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository} * Tags: actions */ -export async function actionsCreateRemoveTokenForRepo( +export async function actionsCreateRemoveTokenForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -84469,7 +85020,9 @@ export async function actionsCreateRemoveTokenForRepo( * Learn more at {@link https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository} * Tags: actions */ -export async function actionsGetSelfHostedRunnerForRepo( +export async function actionsGetSelfHostedRunnerForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -84498,7 +85051,9 @@ export async function actionsGetSelfHostedRunnerForRepo( * Learn more at {@link https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository} * Tags: actions */ -export async function actionsDeleteSelfHostedRunnerFromRepo( +export async function actionsDeleteSelfHostedRunnerFromRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -84527,7 +85082,9 @@ export async function actionsDeleteSelfHostedRunnerFromRepo( * Learn more at {@link https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository} * Tags: actions */ -export async function actionsListLabelsForSelfHostedRunnerForRepo( +export async function actionsListLabelsForSelfHostedRunnerForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -84566,7 +85123,7 @@ export async function actionsListLabelsForSelfHostedRunnerForRepo( * Tags: actions */ export async function actionsAddCustomLabelsToSelfHostedRunnerForRepo< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -84615,7 +85172,7 @@ export async function actionsAddCustomLabelsToSelfHostedRunnerForRepo< * Tags: actions */ export async function actionsSetCustomLabelsForSelfHostedRunnerForRepo< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -84664,7 +85221,7 @@ export async function actionsSetCustomLabelsForSelfHostedRunnerForRepo< * Tags: actions */ export async function actionsRemoveAllCustomLabelsFromSelfHostedRunnerForRepo< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -84709,7 +85266,7 @@ export async function actionsRemoveAllCustomLabelsFromSelfHostedRunnerForRepo< * Tags: actions */ export async function actionsRemoveCustomLabelFromSelfHostedRunnerForRepo< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -84755,7 +85312,9 @@ export async function actionsRemoveCustomLabelFromSelfHostedRunnerForRepo< * Learn more at {@link https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository} * Tags: actions */ -export async function actionsListWorkflowRunsForRepo( +export async function actionsListWorkflowRunsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -84838,7 +85397,9 @@ export async function actionsListWorkflowRunsForRepo( * Learn more at {@link https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run} * Tags: actions */ -export async function actionsGetWorkflowRun( +export async function actionsGetWorkflowRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -84874,7 +85435,9 @@ export async function actionsGetWorkflowRun( * Learn more at {@link https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run} * Tags: actions */ -export async function actionsDeleteWorkflowRun( +export async function actionsDeleteWorkflowRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -84900,7 +85463,9 @@ export async function actionsDeleteWorkflowRun( * Learn more at {@link https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run} * Tags: actions */ -export async function actionsGetReviewsForRun( +export async function actionsGetReviewsForRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -84936,7 +85501,9 @@ export async function actionsGetReviewsForRun( * Learn more at {@link https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request} * Tags: actions */ -export async function actionsApproveWorkflowRun( +export async function actionsApproveWorkflowRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -84968,7 +85535,9 @@ export async function actionsApproveWorkflowRun( * Learn more at {@link https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts} * Tags: actions */ -export async function actionsListWorkflowRunArtifacts( +export async function actionsListWorkflowRunArtifacts< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85018,7 +85587,9 @@ export async function actionsListWorkflowRunArtifacts( * Learn more at {@link https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt} * Tags: actions */ -export async function actionsGetWorkflowRunAttempt( +export async function actionsGetWorkflowRunAttempt< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85059,7 +85630,9 @@ export async function actionsGetWorkflowRunAttempt( * Learn more at {@link https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt} * Tags: actions */ -export async function actionsListJobsForWorkflowRunAttempt( +export async function actionsListJobsForWorkflowRunAttempt< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85113,7 +85686,9 @@ export async function actionsListJobsForWorkflowRunAttempt( * Learn more at {@link https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs} * Tags: actions */ -export async function actionsDownloadWorkflowRunAttemptLogs( +export async function actionsDownloadWorkflowRunAttemptLogs< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85140,7 +85715,9 @@ export async function actionsDownloadWorkflowRunAttemptLogs( * Learn more at {@link https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run} * Tags: actions */ -export async function actionsCancelWorkflowRun( +export async function actionsCancelWorkflowRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85176,7 +85753,9 @@ export async function actionsCancelWorkflowRun( * Learn more at {@link https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run} * Tags: actions */ -export async function actionsReviewCustomGatesForRun( +export async function actionsReviewCustomGatesForRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85208,7 +85787,9 @@ export async function actionsReviewCustomGatesForRun( * Learn more at {@link https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run} * Tags: actions */ -export async function actionsForceCancelWorkflowRun( +export async function actionsForceCancelWorkflowRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85241,7 +85822,9 @@ export async function actionsForceCancelWorkflowRun( * Learn more at {@link https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run} * Tags: actions */ -export async function actionsListJobsForWorkflowRun( +export async function actionsListJobsForWorkflowRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85294,7 +85877,9 @@ export async function actionsListJobsForWorkflowRun( * Learn more at {@link https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs} * Tags: actions */ -export async function actionsDownloadWorkflowRunLogs( +export async function actionsDownloadWorkflowRunLogs< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85320,7 +85905,9 @@ export async function actionsDownloadWorkflowRunLogs( * Learn more at {@link https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs} * Tags: actions */ -export async function actionsDeleteWorkflowRunLogs( +export async function actionsDeleteWorkflowRunLogs< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85353,7 +85940,9 @@ export async function actionsDeleteWorkflowRunLogs( * Learn more at {@link https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run} * Tags: actions */ -export async function actionsGetPendingDeploymentsForRun( +export async function actionsGetPendingDeploymentsForRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85390,7 +85979,9 @@ export async function actionsGetPendingDeploymentsForRun( * Learn more at {@link https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run} * Tags: actions */ -export async function actionsReviewPendingDeploymentsForRun( +export async function actionsReviewPendingDeploymentsForRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85444,7 +86035,9 @@ export async function actionsReviewPendingDeploymentsForRun( * Learn more at {@link https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow} * Tags: actions */ -export async function actionsReRunWorkflow( +export async function actionsReRunWorkflow< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85477,7 +86070,9 @@ export async function actionsReRunWorkflow( * Learn more at {@link https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run} * Tags: actions */ -export async function actionsReRunWorkflowFailedJobs( +export async function actionsReRunWorkflowFailedJobs< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85518,7 +86113,9 @@ export async function actionsReRunWorkflowFailedJobs( * Learn more at {@link https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage} * Tags: actions */ -export async function actionsGetWorkflowRunUsage( +export async function actionsGetWorkflowRunUsage< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85548,7 +86145,9 @@ export async function actionsGetWorkflowRunUsage( * Learn more at {@link https://docs.github.com/rest/actions/secrets#list-repository-secrets} * Tags: actions */ -export async function actionsListRepoSecrets( +export async function actionsListRepoSecrets< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85600,7 +86199,9 @@ export async function actionsListRepoSecrets( * Learn more at {@link https://docs.github.com/rest/actions/secrets#get-a-repository-public-key} * Tags: actions */ -export async function actionsGetRepoPublicKey( +export async function actionsGetRepoPublicKey< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85628,7 +86229,9 @@ export async function actionsGetRepoPublicKey( * Learn more at {@link https://docs.github.com/rest/actions/secrets#get-a-repository-secret} * Tags: actions */ -export async function actionsGetRepoSecret( +export async function actionsGetRepoSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85666,7 +86269,9 @@ export async function actionsGetRepoSecret( * Learn more at {@link https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret} * Tags: actions */ -export async function actionsCreateOrUpdateRepoSecret( +export async function actionsCreateOrUpdateRepoSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85708,7 +86313,9 @@ export async function actionsCreateOrUpdateRepoSecret( * Learn more at {@link https://docs.github.com/rest/actions/secrets#delete-a-repository-secret} * Tags: actions */ -export async function actionsDeleteRepoSecret( +export async function actionsDeleteRepoSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85736,7 +86343,9 @@ export async function actionsDeleteRepoSecret( * Learn more at {@link https://docs.github.com/rest/actions/variables#list-repository-variables} * Tags: actions */ -export async function actionsListRepoVariables( +export async function actionsListRepoVariables< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85787,7 +86396,9 @@ export async function actionsListRepoVariables( * Learn more at {@link https://docs.github.com/rest/actions/variables#create-a-repository-variable} * Tags: actions */ -export async function actionsCreateRepoVariable( +export async function actionsCreateRepoVariable< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85825,7 +86436,9 @@ export async function actionsCreateRepoVariable( * Learn more at {@link https://docs.github.com/rest/actions/variables#get-a-repository-variable} * Tags: actions */ -export async function actionsGetRepoVariable( +export async function actionsGetRepoVariable< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85860,7 +86473,9 @@ export async function actionsGetRepoVariable( * Learn more at {@link https://docs.github.com/rest/actions/variables#update-a-repository-variable} * Tags: actions */ -export async function actionsUpdateRepoVariable( +export async function actionsUpdateRepoVariable< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85900,7 +86515,9 @@ export async function actionsUpdateRepoVariable( * Learn more at {@link https://docs.github.com/rest/actions/variables#delete-a-repository-variable} * Tags: actions */ -export async function actionsDeleteRepoVariable( +export async function actionsDeleteRepoVariable< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85928,7 +86545,9 @@ export async function actionsDeleteRepoVariable( * Learn more at {@link https://docs.github.com/rest/actions/workflows#list-repository-workflows} * Tags: actions */ -export async function actionsListRepoWorkflows( +export async function actionsListRepoWorkflows< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -85978,7 +86597,7 @@ export async function actionsListRepoWorkflows( * Learn more at {@link https://docs.github.com/rest/actions/workflows#get-a-workflow} * Tags: actions */ -export async function actionsGetWorkflow( +export async function actionsGetWorkflow( ctx: r.Context, params: { owner: string; @@ -86011,7 +86630,9 @@ export async function actionsGetWorkflow( * Learn more at {@link https://docs.github.com/rest/actions/workflows#disable-a-workflow} * Tags: actions */ -export async function actionsDisableWorkflow( +export async function actionsDisableWorkflow< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -86044,7 +86665,9 @@ export async function actionsDisableWorkflow( * Learn more at {@link https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event} * Tags: actions */ -export async function actionsCreateWorkflowDispatch( +export async function actionsCreateWorkflowDispatch< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -86084,7 +86707,9 @@ export async function actionsCreateWorkflowDispatch( * Learn more at {@link https://docs.github.com/rest/actions/workflows#enable-a-workflow} * Tags: actions */ -export async function actionsEnableWorkflow( +export async function actionsEnableWorkflow< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -86115,7 +86740,9 @@ export async function actionsEnableWorkflow( * Learn more at {@link https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow} * Tags: actions */ -export async function actionsListWorkflowRuns( +export async function actionsListWorkflowRuns< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -86208,7 +86835,9 @@ export async function actionsListWorkflowRuns( * Learn more at {@link https://docs.github.com/rest/actions/workflows#get-workflow-usage} * Tags: actions */ -export async function actionsGetWorkflowUsage( +export async function actionsGetWorkflowUsage< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -86237,7 +86866,9 @@ export async function actionsGetWorkflowUsage( * Learn more at {@link https://docs.github.com/rest/repos/repos#list-repository-activities} * Tags: repos */ -export async function reposListActivities( +export async function reposListActivities< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -86294,7 +86925,9 @@ export async function reposListActivities( * Learn more at {@link https://docs.github.com/rest/issues/assignees#list-assignees} * Tags: issues */ -export async function issuesListAssignees( +export async function issuesListAssignees< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -86326,7 +86959,9 @@ export async function issuesListAssignees( * Learn more at {@link https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned} * Tags: issues */ -export async function issuesCheckUserCanBeAssigned( +export async function issuesCheckUserCanBeAssigned< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -86352,7 +86987,7 @@ export async function issuesCheckUserCanBeAssigned( * Learn more at {@link https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository} * Tags: repos */ -export async function reposListAutolinks( +export async function reposListAutolinks( ctx: r.Context, params: { owner: string; @@ -86374,7 +87009,9 @@ export async function reposListAutolinks( * Learn more at {@link https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository} * Tags: repos */ -export async function reposCreateAutolink( +export async function reposCreateAutolink< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -86417,7 +87054,7 @@ export async function reposCreateAutolink( * Learn more at {@link https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository} * Tags: repos */ -export async function reposGetAutolink( +export async function reposGetAutolink( ctx: r.Context, params: { owner: string; @@ -86445,7 +87082,9 @@ export async function reposGetAutolink( * Learn more at {@link https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository} * Tags: repos */ -export async function reposDeleteAutolink( +export async function reposDeleteAutolink< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -86470,7 +87109,9 @@ export async function reposDeleteAutolink( * Learn more at {@link https://docs.github.com/rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository} * Tags: repos */ -export async function reposCheckAutomatedSecurityFixes( +export async function reposCheckAutomatedSecurityFixes< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -86497,7 +87138,9 @@ export async function reposCheckAutomatedSecurityFixes( * Learn more at {@link https://docs.github.com/rest/repos/repos#enable-automated-security-fixes} * Tags: repos */ -export async function reposEnableAutomatedSecurityFixes( +export async function reposEnableAutomatedSecurityFixes< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -86521,7 +87164,9 @@ export async function reposEnableAutomatedSecurityFixes( * Learn more at {@link https://docs.github.com/rest/repos/repos#disable-automated-security-fixes} * Tags: repos */ -export async function reposDisableAutomatedSecurityFixes( +export async function reposDisableAutomatedSecurityFixes< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -86542,7 +87187,7 @@ export async function reposDisableAutomatedSecurityFixes( * Learn more at {@link https://docs.github.com/rest/branches/branches#list-branches} * Tags: repos */ -export async function reposListBranches( +export async function reposListBranches( ctx: r.Context, params: { owner: string; @@ -86569,7 +87214,7 @@ export async function reposListBranches( * Learn more at {@link https://docs.github.com/rest/branches/branches#get-a-branch} * Tags: repos */ -export async function reposGetBranch( +export async function reposGetBranch( ctx: r.Context, params: { owner: string; @@ -86599,7 +87244,9 @@ export async function reposGetBranch( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#get-branch-protection} * Tags: repos */ -export async function reposGetBranchProtection( +export async function reposGetBranchProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -86635,7 +87282,9 @@ export async function reposGetBranchProtection( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#update-branch-protection} * Tags: repos */ -export async function reposUpdateBranchProtection( +export async function reposUpdateBranchProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -86807,7 +87456,9 @@ export async function reposUpdateBranchProtection( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#delete-branch-protection} * Tags: repos */ -export async function reposDeleteBranchProtection( +export async function reposDeleteBranchProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -86833,7 +87484,9 @@ export async function reposDeleteBranchProtection( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection} * Tags: repos */ -export async function reposGetAdminBranchProtection( +export async function reposGetAdminBranchProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -86862,7 +87515,9 @@ export async function reposGetAdminBranchProtection( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection} * Tags: repos */ -export async function reposSetAdminBranchProtection( +export async function reposSetAdminBranchProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -86891,7 +87546,9 @@ export async function reposSetAdminBranchProtection( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection} * Tags: repos */ -export async function reposDeleteAdminBranchProtection( +export async function reposDeleteAdminBranchProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -86917,7 +87574,9 @@ export async function reposDeleteAdminBranchProtection( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection} * Tags: repos */ -export async function reposGetPullRequestReviewProtection( +export async function reposGetPullRequestReviewProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -86959,7 +87618,9 @@ export async function reposGetPullRequestReviewProtection( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection} * Tags: repos */ -export async function reposUpdatePullRequestReviewProtection( +export async function reposUpdatePullRequestReviewProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87051,7 +87712,9 @@ export async function reposUpdatePullRequestReviewProtection( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection} * Tags: repos */ -export async function reposDeletePullRequestReviewProtection( +export async function reposDeletePullRequestReviewProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87085,7 +87748,9 @@ export async function reposDeletePullRequestReviewProtection( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection} * Tags: repos */ -export async function reposGetCommitSignatureProtection( +export async function reposGetCommitSignatureProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87117,7 +87782,9 @@ export async function reposGetCommitSignatureProtection( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection} * Tags: repos */ -export async function reposCreateCommitSignatureProtection( +export async function reposCreateCommitSignatureProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87150,7 +87817,9 @@ export async function reposCreateCommitSignatureProtection( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection} * Tags: repos */ -export async function reposDeleteCommitSignatureProtection( +export async function reposDeleteCommitSignatureProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87176,7 +87845,9 @@ export async function reposDeleteCommitSignatureProtection( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection} * Tags: repos */ -export async function reposGetStatusChecksProtection( +export async function reposGetStatusChecksProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87207,7 +87878,9 @@ export async function reposGetStatusChecksProtection( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#update-status-check-protection} * Tags: repos */ -export async function reposUpdateStatusCheckProtection( +export async function reposUpdateStatusCheckProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87263,7 +87936,9 @@ export async function reposUpdateStatusCheckProtection( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection} * Tags: repos */ -export async function reposRemoveStatusCheckProtection( +export async function reposRemoveStatusCheckProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87289,7 +87964,9 @@ export async function reposRemoveStatusCheckProtection( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts} * Tags: repos */ -export async function reposGetAllStatusCheckContexts( +export async function reposGetAllStatusCheckContexts< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87317,7 +87994,9 @@ export async function reposGetAllStatusCheckContexts( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts} * Tags: repos */ -export async function reposAddStatusCheckContexts( +export async function reposAddStatusCheckContexts< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87357,7 +88036,9 @@ export async function reposAddStatusCheckContexts( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts} * Tags: repos */ -export async function reposSetStatusCheckContexts( +export async function reposSetStatusCheckContexts< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87396,7 +88077,9 @@ export async function reposSetStatusCheckContexts( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts} * Tags: repos */ -export async function reposRemoveStatusCheckContexts( +export async function reposRemoveStatusCheckContexts< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87440,7 +88123,9 @@ export async function reposRemoveStatusCheckContexts( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#get-access-restrictions} * Tags: repos */ -export async function reposGetAccessRestrictions( +export async function reposGetAccessRestrictions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87471,7 +88156,9 @@ export async function reposGetAccessRestrictions( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions} * Tags: repos */ -export async function reposDeleteAccessRestrictions( +export async function reposDeleteAccessRestrictions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87501,7 +88188,9 @@ export async function reposDeleteAccessRestrictions( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch} * Tags: repos */ -export async function reposGetAppsWithAccessToProtectedBranch( +export async function reposGetAppsWithAccessToProtectedBranch< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87539,7 +88228,9 @@ export async function reposGetAppsWithAccessToProtectedBranch( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions} * Tags: repos */ -export async function reposAddAppAccessRestrictions( +export async function reposAddAppAccessRestrictions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87587,7 +88278,9 @@ export async function reposAddAppAccessRestrictions( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions} * Tags: repos */ -export async function reposSetAppAccessRestrictions( +export async function reposSetAppAccessRestrictions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87634,7 +88327,9 @@ export async function reposSetAppAccessRestrictions( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions} * Tags: repos */ -export async function reposRemoveAppAccessRestrictions( +export async function reposRemoveAppAccessRestrictions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87679,7 +88374,9 @@ export async function reposRemoveAppAccessRestrictions( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch} * Tags: repos */ -export async function reposGetTeamsWithAccessToProtectedBranch( +export async function reposGetTeamsWithAccessToProtectedBranch< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87708,7 +88405,9 @@ export async function reposGetTeamsWithAccessToProtectedBranch( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions} * Tags: repos */ -export async function reposAddTeamAccessRestrictions( +export async function reposAddTeamAccessRestrictions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87749,7 +88448,9 @@ export async function reposAddTeamAccessRestrictions( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions} * Tags: repos */ -export async function reposSetTeamAccessRestrictions( +export async function reposSetTeamAccessRestrictions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87789,7 +88490,9 @@ export async function reposSetTeamAccessRestrictions( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions} * Tags: repos */ -export async function reposRemoveTeamAccessRestrictions( +export async function reposRemoveTeamAccessRestrictions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87828,7 +88531,9 @@ export async function reposRemoveTeamAccessRestrictions( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch} * Tags: repos */ -export async function reposGetUsersWithAccessToProtectedBranch( +export async function reposGetUsersWithAccessToProtectedBranch< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87867,7 +88572,9 @@ export async function reposGetUsersWithAccessToProtectedBranch( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions} * Tags: repos */ -export async function reposAddUserAccessRestrictions( +export async function reposAddUserAccessRestrictions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87915,7 +88622,9 @@ export async function reposAddUserAccessRestrictions( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions} * Tags: repos */ -export async function reposSetUserAccessRestrictions( +export async function reposSetUserAccessRestrictions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -87963,7 +88672,9 @@ export async function reposSetUserAccessRestrictions( * Learn more at {@link https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions} * Tags: repos */ -export async function reposRemoveUserAccessRestrictions( +export async function reposRemoveUserAccessRestrictions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -88009,7 +88720,7 @@ export async function reposRemoveUserAccessRestrictions( * Learn more at {@link https://docs.github.com/rest/branches/branches#rename-a-branch} * Tags: repos */ -export async function reposRenameBranch( +export async function reposRenameBranch( ctx: r.Context, params: { owner: string; @@ -88054,7 +88765,7 @@ export async function reposRenameBranch( * Learn more at {@link https://docs.github.com/rest/checks/runs#create-a-check-run} * Tags: checks */ -export async function checksCreate( +export async function checksCreate( ctx: r.Context, params: { owner: string; @@ -88091,7 +88802,7 @@ export async function checksCreate( * Learn more at {@link https://docs.github.com/rest/checks/runs#get-a-check-run} * Tags: checks */ -export async function checksGet( +export async function checksGet( ctx: r.Context, params: { owner: string; @@ -88127,7 +88838,7 @@ export async function checksGet( * Learn more at {@link https://docs.github.com/rest/checks/runs#update-a-check-run} * Tags: checks */ -export async function checksUpdate( +export async function checksUpdate( ctx: r.Context, params: { owner: string; @@ -88161,7 +88872,9 @@ export async function checksUpdate( * Learn more at {@link https://docs.github.com/rest/checks/runs#list-check-run-annotations} * Tags: checks */ -export async function checksListAnnotations( +export async function checksListAnnotations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -88196,7 +88909,7 @@ export async function checksListAnnotations( * Learn more at {@link https://docs.github.com/rest/checks/runs#rerequest-a-check-run} * Tags: checks */ -export async function checksRerequestRun( +export async function checksRerequestRun( ctx: r.Context, params: { owner: string; @@ -88234,7 +88947,7 @@ export async function checksRerequestRun( * Learn more at {@link https://docs.github.com/rest/checks/suites#create-a-check-suite} * Tags: checks */ -export async function checksCreateSuite( +export async function checksCreateSuite( ctx: r.Context, params: { owner: string; @@ -88276,7 +88989,9 @@ export async function checksCreateSuite( * Learn more at {@link https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites} * Tags: checks */ -export async function checksSetSuitesPreferences( +export async function checksSetSuitesPreferences< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -88328,7 +89043,7 @@ export async function checksSetSuitesPreferences( * Learn more at {@link https://docs.github.com/rest/checks/suites#get-a-check-suite} * Tags: checks */ -export async function checksGetSuite( +export async function checksGetSuite( ctx: r.Context, params: { owner: string; @@ -88364,7 +89079,7 @@ export async function checksGetSuite( * Learn more at {@link https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite} * Tags: checks */ -export async function checksListForSuite( +export async function checksListForSuite( ctx: r.Context, params: { owner: string; @@ -88416,7 +89131,9 @@ export async function checksListForSuite( * Learn more at {@link https://docs.github.com/rest/checks/suites#rerequest-a-check-suite} * Tags: checks */ -export async function checksRerequestSuite( +export async function checksRerequestSuite< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -88448,7 +89165,9 @@ export async function checksRerequestSuite( * Learn more at {@link https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository} * Tags: code-scanning */ -export async function codeScanningListAlertsForRepo( +export async function codeScanningListAlertsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -88517,7 +89236,9 @@ export async function codeScanningListAlertsForRepo( * Learn more at {@link https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert} * Tags: code-scanning */ -export async function codeScanningGetAlert( +export async function codeScanningGetAlert< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -88562,7 +89283,9 @@ export async function codeScanningGetAlert( * Learn more at {@link https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert} * Tags: code-scanning */ -export async function codeScanningUpdateAlert( +export async function codeScanningUpdateAlert< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -88613,7 +89336,9 @@ export async function codeScanningUpdateAlert( * Learn more at {@link https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert} * Tags: code-scanning */ -export async function codeScanningListAlertInstances( +export async function codeScanningListAlertInstances< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -88673,7 +89398,9 @@ export async function codeScanningListAlertInstances( * Learn more at {@link https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository} * Tags: code-scanning */ -export async function codeScanningListRecentAnalyses( +export async function codeScanningListRecentAnalyses< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -88760,7 +89487,9 @@ export async function codeScanningListRecentAnalyses( * Learn more at {@link https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository} * Tags: code-scanning */ -export async function codeScanningGetAnalysis( +export async function codeScanningGetAnalysis< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -88890,7 +89619,9 @@ export async function codeScanningGetAnalysis( * Learn more at {@link https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository} * Tags: code-scanning */ -export async function codeScanningDeleteAnalysis( +export async function codeScanningDeleteAnalysis< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -88932,7 +89663,9 @@ export async function codeScanningDeleteAnalysis( * Learn more at {@link https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository} * Tags: code-scanning */ -export async function codeScanningListCodeqlDatabases( +export async function codeScanningListCodeqlDatabases< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -88978,18 +89711,21 @@ export async function codeScanningListCodeqlDatabases( * database. To * download the CodeQL database binary content, set the `Accept` header of the request * to - * [`application/zip`](https://docs.github.com/rest/overview/media-types), and make sure - * your HTTP client is configured to - * follow redirects or use the `Location` header - * to make a second request to get the redirect URL. - * - * OAuth app tokens and - * personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public - * repositories, or the `public_repo` scope to use this endpoint with only public repositories. + * [`application/zip`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types), and + * make sure + * your HTTP client is configured to follow redirects or use the `Location` header + * to make a second request to + * get the redirect URL. + * + * OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use + * this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public + * repositories. * Learn more at {@link https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository} * Tags: code-scanning */ -export async function codeScanningGetCodeqlDatabase( +export async function codeScanningGetCodeqlDatabase< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -89045,7 +89781,9 @@ export async function codeScanningGetCodeqlDatabase( * Learn more at {@link https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis} * Tags: code-scanning */ -export async function codeScanningCreateVariantAnalysis( +export async function codeScanningCreateVariantAnalysis< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -89093,7 +89831,9 @@ export async function codeScanningCreateVariantAnalysis( * Learn more at {@link https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis} * Tags: code-scanning */ -export async function codeScanningGetVariantAnalysis( +export async function codeScanningGetVariantAnalysis< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -89139,7 +89879,9 @@ export async function codeScanningGetVariantAnalysis( * Learn more at {@link https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis} * Tags: code-scanning */ -export async function codeScanningGetVariantAnalysisRepoTask( +export async function codeScanningGetVariantAnalysisRepoTask< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -89179,7 +89921,9 @@ export async function codeScanningGetVariantAnalysisRepoTask( * Learn more at {@link https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration} * Tags: code-scanning */ -export async function codeScanningGetDefaultSetup( +export async function codeScanningGetDefaultSetup< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -89225,7 +89969,9 @@ export async function codeScanningGetDefaultSetup( * Learn more at {@link https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration} * Tags: code-scanning */ -export async function codeScanningUpdateDefaultSetup( +export async function codeScanningUpdateDefaultSetup< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -89329,7 +90075,9 @@ export async function codeScanningUpdateDefaultSetup( * Learn more at {@link https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data} * Tags: code-scanning */ -export async function codeScanningUploadSarif( +export async function codeScanningUploadSarif< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -89395,7 +90143,9 @@ export async function codeScanningUploadSarif( * Learn more at {@link https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload} * Tags: code-scanning */ -export async function codeScanningGetSarif( +export async function codeScanningGetSarif< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -89436,7 +90186,9 @@ export async function codeScanningGetSarif( * Learn more at {@link https://docs.github.com/rest/repos/repos#list-codeowners-errors} * Tags: repos */ -export async function reposCodeownersErrors( +export async function reposCodeownersErrors< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -89466,7 +90218,7 @@ export async function reposCodeownersErrors( * Tags: codespaces */ export async function codespacesListInRepositoryForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -89519,7 +90271,9 @@ export async function codespacesListInRepositoryForAuthenticatedUser< * Learn more at {@link https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository} * Tags: codespaces */ -export async function codespacesCreateWithRepoForAuthenticatedUser( +export async function codespacesCreateWithRepoForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -89616,7 +90370,7 @@ export async function codespacesCreateWithRepoForAuthenticatedUser( * Tags: codespaces */ export async function codespacesListDevcontainersInRepositoryForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -89662,7 +90416,9 @@ export async function codespacesListDevcontainersInRepositoryForAuthenticatedUse * Learn more at {@link https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository} * Tags: codespaces */ -export async function codespacesRepoMachinesForAuthenticatedUser( +export async function codespacesRepoMachinesForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -89705,7 +90461,7 @@ export async function codespacesRepoMachinesForAuthenticatedUser( * Tags: codespaces */ export async function codespacesPreFlightWithRepoForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -89748,7 +90504,9 @@ export async function codespacesPreFlightWithRepoForAuthenticatedUser< * Learn more at {@link https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user} * Tags: codespaces */ -export async function codespacesCheckPermissionsForDevcontainer( +export async function codespacesCheckPermissionsForDevcontainer< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -89791,7 +90549,9 @@ export async function codespacesCheckPermissionsForDevcontainer( * Learn more at {@link https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets} * Tags: codespaces */ -export async function codespacesListRepoSecrets( +export async function codespacesListRepoSecrets< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -89847,7 +90607,9 @@ export async function codespacesListRepoSecrets( * Learn more at {@link https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key} * Tags: codespaces */ -export async function codespacesGetRepoPublicKey( +export async function codespacesGetRepoPublicKey< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -89872,7 +90634,9 @@ export async function codespacesGetRepoPublicKey( * Learn more at {@link https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret} * Tags: codespaces */ -export async function codespacesGetRepoSecret( +export async function codespacesGetRepoSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -89907,7 +90671,9 @@ export async function codespacesGetRepoSecret( * Learn more at {@link https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret} * Tags: codespaces */ -export async function codespacesCreateOrUpdateRepoSecret( +export async function codespacesCreateOrUpdateRepoSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -89946,7 +90712,9 @@ export async function codespacesCreateOrUpdateRepoSecret( * Learn more at {@link https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret} * Tags: codespaces */ -export async function codespacesDeleteRepoSecret( +export async function codespacesDeleteRepoSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -89981,7 +90749,9 @@ export async function codespacesDeleteRepoSecret( * Learn more at {@link https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators} * Tags: repos */ -export async function reposListCollaborators( +export async function reposListCollaborators< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -90020,7 +90790,9 @@ export async function reposListCollaborators( * Learn more at {@link https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator} * Tags: repos */ -export async function reposCheckCollaborator( +export async function reposCheckCollaborator< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -90042,7 +90814,8 @@ export async function reposCheckCollaborator( * This endpoint triggers * [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). * Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate - * limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and + * limits for the + * API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and * "[Best practices for using the REST * API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * @@ -90085,7 +90858,9 @@ export async function reposCheckCollaborator( * Learn more at {@link https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator} * Tags: repos */ -export async function reposAddCollaborator( +export async function reposAddCollaborator< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -90158,7 +90933,9 @@ export async function reposAddCollaborator( * Learn more at {@link https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator} * Tags: repos */ -export async function reposRemoveCollaborator( +export async function reposRemoveCollaborator< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -90195,7 +90972,9 @@ export async function reposRemoveCollaborator( * Learn more at {@link https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user} * Tags: repos */ -export async function reposGetCollaboratorPermissionLevel( +export async function reposGetCollaboratorPermissionLevel< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -90236,7 +91015,9 @@ export async function reposGetCollaboratorPermissionLevel( * Learn more at {@link https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository} * Tags: repos */ -export async function reposListCommitCommentsForRepo( +export async function reposListCommitCommentsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -90283,7 +91064,9 @@ export async function reposListCommitCommentsForRepo( * Learn more at {@link https://docs.github.com/rest/commits/comments#get-a-commit-comment} * Tags: repos */ -export async function reposGetCommitComment( +export async function reposGetCommitComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -90329,7 +91112,9 @@ export async function reposGetCommitComment( * Learn more at {@link https://docs.github.com/rest/commits/comments#update-a-commit-comment} * Tags: repos */ -export async function reposUpdateCommitComment( +export async function reposUpdateCommitComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -90366,7 +91151,9 @@ export async function reposUpdateCommitComment( * Learn more at {@link https://docs.github.com/rest/commits/comments#delete-a-commit-comment} * Tags: repos */ -export async function reposDeleteCommitComment( +export async function reposDeleteCommitComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -90389,7 +91176,9 @@ export async function reposDeleteCommitComment( * Learn more at {@link https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment} * Tags: reactions */ -export async function reactionsListForCommitComment( +export async function reactionsListForCommitComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -90433,7 +91222,9 @@ export async function reactionsListForCommitComment( * Learn more at {@link https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment} * Tags: reactions */ -export async function reactionsCreateForCommitComment( +export async function reactionsCreateForCommitComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -90486,7 +91277,9 @@ export async function reactionsCreateForCommitComment( * Learn more at {@link https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction} * Tags: reactions */ -export async function reactionsDeleteForCommitComment( +export async function reactionsDeleteForCommitComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -90554,7 +91347,7 @@ export async function reactionsDeleteForCommitComment( * Learn more at {@link https://docs.github.com/rest/commits/commits#list-commits} * Tags: repos */ -export async function reposListCommits( +export async function reposListCommits( ctx: r.Context, params: { owner: string; @@ -90606,7 +91399,9 @@ export async function reposListCommits( * Learn more at {@link https://docs.github.com/rest/commits/commits#list-branches-for-head-commit} * Tags: repos */ -export async function reposListBranchesForHeadCommit( +export async function reposListBranchesForHeadCommit< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -90648,7 +91443,9 @@ export async function reposListBranchesForHeadCommit( * Learn more at {@link https://docs.github.com/rest/commits/comments#list-commit-comments} * Tags: repos */ -export async function reposListCommentsForCommit( +export async function reposListCommentsForCommit< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -90683,7 +91480,8 @@ export async function reposListCommentsForCommit( * This endpoint triggers * [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). * Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate - * limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and + * limits for the + * API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and * "[Best practices for using the REST * API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * @@ -90704,7 +91502,9 @@ export async function reposListCommentsForCommit( * Learn more at {@link https://docs.github.com/rest/commits/comments#create-a-commit-comment} * Tags: repos */ -export async function reposCreateCommitComment( +export async function reposCreateCommitComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -90760,7 +91560,9 @@ export async function reposCreateCommitComment( * Learn more at {@link https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit} * Tags: repos */ -export async function reposListPullRequestsAssociatedWithCommit( +export async function reposListPullRequestsAssociatedWithCommit< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -90861,7 +91663,7 @@ export async function reposListPullRequestsAssociatedWithCommit( * Learn more at {@link https://docs.github.com/rest/commits/commits#get-a-commit} * Tags: repos */ -export async function reposGetCommit( +export async function reposGetCommit( ctx: r.Context, params: { owner: string; @@ -90915,7 +91717,7 @@ export async function reposGetCommit( * Learn more at {@link https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference} * Tags: checks */ -export async function checksListForRef( +export async function checksListForRef( ctx: r.Context, params: { owner: string; @@ -90978,7 +91780,9 @@ export async function checksListForRef( * Learn more at {@link https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference} * Tags: checks */ -export async function checksListSuitesForRef( +export async function checksListSuitesForRef< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -91036,7 +91840,9 @@ export async function checksListSuitesForRef( * Learn more at {@link https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference} * Tags: repos */ -export async function reposGetCombinedStatusForRef( +export async function reposGetCombinedStatusForRef< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -91075,7 +91881,9 @@ export async function reposGetCombinedStatusForRef( * Learn more at {@link https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference} * Tags: repos */ -export async function reposListCommitStatusesForRef( +export async function reposListCommitStatusesForRef< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -91119,7 +91927,9 @@ export async function reposListCommitStatusesForRef( * Learn more at {@link https://docs.github.com/rest/metrics/community#get-community-profile-metrics} * Tags: repos */ -export async function reposGetCommunityProfileMetrics( +export async function reposGetCommunityProfileMetrics< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -91178,7 +91988,7 @@ export async function reposGetCommunityProfileMetrics( * parameter (`per_page` or `page`) to paginate the results. When using pagination: * * - The list of changed files is only - * shown on the first page of results, but it includes all changed files for the entire comparison. + * shown on the first page of results, and it includes up to 300 changed files for the entire comparison. * - The results are * returned in chronological order, but the last commit in the returned list may not be the most recent one in the entire * set if there are more pages of results. @@ -91235,7 +92045,9 @@ export async function reposGetCommunityProfileMetrics( * Learn more at {@link https://docs.github.com/rest/commits/commits#compare-two-commits} * Tags: repos */ -export async function reposCompareCommits( +export async function reposCompareCommits< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -91323,7 +92135,7 @@ export async function reposCompareCommits( * Learn more at {@link https://docs.github.com/rest/repos/contents#get-repository-content} * Tags: repos */ -export async function reposGetContent( +export async function reposGetContent( ctx: r.Context, params: { owner: string; @@ -91364,7 +92176,9 @@ export async function reposGetContent( * Learn more at {@link https://docs.github.com/rest/repos/contents#create-or-update-file-contents} * Tags: repos */ -export async function reposCreateOrUpdateFileContents( +export async function reposCreateOrUpdateFileContents< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -91461,7 +92275,7 @@ export async function reposCreateOrUpdateFileContents( * Learn more at {@link https://docs.github.com/rest/repos/contents#delete-a-file} * Tags: repos */ -export async function reposDeleteFile( +export async function reposDeleteFile( ctx: r.Context, params: { owner: string; @@ -91545,7 +92359,9 @@ export async function reposDeleteFile( * Learn more at {@link https://docs.github.com/rest/repos/repos#list-repository-contributors} * Tags: repos */ -export async function reposListContributors( +export async function reposListContributors< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -91577,7 +92393,9 @@ export async function reposListContributors( * Learn more at {@link https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository} * Tags: dependabot */ -export async function dependabotListAlertsForRepo( +export async function dependabotListAlertsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -91645,7 +92463,7 @@ export async function dependabotListAlertsForRepo( * Learn more at {@link https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert} * Tags: dependabot */ -export async function dependabotGetAlert( +export async function dependabotGetAlert( ctx: r.Context, params: { owner: string; @@ -91685,7 +92503,9 @@ export async function dependabotGetAlert( * Learn more at {@link https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert} * Tags: dependabot */ -export async function dependabotUpdateAlert( +export async function dependabotUpdateAlert< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -91746,7 +92566,9 @@ export async function dependabotUpdateAlert( * Learn more at {@link https://docs.github.com/rest/dependabot/secrets#list-repository-secrets} * Tags: dependabot */ -export async function dependabotListRepoSecrets( +export async function dependabotListRepoSecrets< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -91797,7 +92619,9 @@ export async function dependabotListRepoSecrets( * Learn more at {@link https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key} * Tags: dependabot */ -export async function dependabotGetRepoPublicKey( +export async function dependabotGetRepoPublicKey< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -91822,7 +92646,9 @@ export async function dependabotGetRepoPublicKey( * Learn more at {@link https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret} * Tags: dependabot */ -export async function dependabotGetRepoSecret( +export async function dependabotGetRepoSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -91857,7 +92683,9 @@ export async function dependabotGetRepoSecret( * Learn more at {@link https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret} * Tags: dependabot */ -export async function dependabotCreateOrUpdateRepoSecret( +export async function dependabotCreateOrUpdateRepoSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -91896,7 +92724,9 @@ export async function dependabotCreateOrUpdateRepoSecret( * Learn more at {@link https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret} * Tags: dependabot */ -export async function dependabotDeleteRepoSecret( +export async function dependabotDeleteRepoSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -91920,7 +92750,9 @@ export async function dependabotDeleteRepoSecret( * Learn more at {@link https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits} * Tags: dependency-graph */ -export async function dependencyGraphDiffRange( +export async function dependencyGraphDiffRange< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -91949,7 +92781,9 @@ export async function dependencyGraphDiffRange( * Learn more at {@link https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository} * Tags: dependency-graph */ -export async function dependencyGraphExportSbom( +export async function dependencyGraphExportSbom< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -91980,7 +92814,9 @@ export async function dependencyGraphExportSbom( * Learn more at {@link https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository} * Tags: dependency-graph */ -export async function dependencyGraphCreateRepositorySnapshot( +export async function dependencyGraphCreateRepositorySnapshot< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -92026,7 +92862,9 @@ export async function dependencyGraphCreateRepositorySnapshot( * Learn more at {@link https://docs.github.com/rest/deployments/deployments#list-deployments} * Tags: repos */ -export async function reposListDeployments( +export async function reposListDeployments< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -92133,7 +92971,9 @@ export async function reposListDeployments( * Learn more at {@link https://docs.github.com/rest/deployments/deployments#create-a-deployment} * Tags: repos */ -export async function reposCreateDeployment( +export async function reposCreateDeployment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -92213,7 +93053,7 @@ export async function reposCreateDeployment( * Learn more at {@link https://docs.github.com/rest/deployments/deployments#get-a-deployment} * Tags: repos */ -export async function reposGetDeployment( +export async function reposGetDeployment( ctx: r.Context, params: { owner: string; @@ -92260,7 +93100,9 @@ export async function reposGetDeployment( * Learn more at {@link https://docs.github.com/rest/deployments/deployments#delete-a-deployment} * Tags: repos */ -export async function reposDeleteDeployment( +export async function reposDeleteDeployment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -92287,7 +93129,9 @@ export async function reposDeleteDeployment( * Learn more at {@link https://docs.github.com/rest/deployments/statuses#list-deployment-statuses} * Tags: repos */ -export async function reposListDeploymentStatuses( +export async function reposListDeploymentStatuses< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -92326,7 +93170,9 @@ export async function reposListDeploymentStatuses( * Learn more at {@link https://docs.github.com/rest/deployments/statuses#create-a-deployment-status} * Tags: repos */ -export async function reposCreateDeploymentStatus( +export async function reposCreateDeploymentStatus< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -92396,7 +93242,9 @@ export async function reposCreateDeploymentStatus( * Learn more at {@link https://docs.github.com/rest/deployments/statuses#get-a-deployment-status} * Tags: repos */ -export async function reposGetDeploymentStatus( +export async function reposGetDeploymentStatus< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -92442,7 +93290,9 @@ export async function reposGetDeploymentStatus( * Learn more at {@link https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event} * Tags: repos */ -export async function reposCreateDispatchEvent( +export async function reposCreateDispatchEvent< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -92486,7 +93336,9 @@ export async function reposCreateDispatchEvent( * Learn more at {@link https://docs.github.com/rest/deployments/environments#list-environments} * Tags: repos */ -export async function reposGetAllEnvironments( +export async function reposGetAllEnvironments< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -92542,7 +93394,9 @@ export async function reposGetAllEnvironments( * Learn more at {@link https://docs.github.com/rest/deployments/environments#get-an-environment} * Tags: repos */ -export async function reposGetEnvironment( +export async function reposGetEnvironment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -92583,7 +93437,9 @@ export async function reposGetEnvironment( * Learn more at {@link https://docs.github.com/rest/deployments/environments#create-or-update-an-environment} * Tags: repos */ -export async function reposCreateOrUpdateEnvironment( +export async function reposCreateOrUpdateEnvironment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -92633,7 +93489,9 @@ export async function reposCreateOrUpdateEnvironment( * Learn more at {@link https://docs.github.com/rest/deployments/environments#delete-an-environment} * Tags: repos */ -export async function reposDeleteAnEnvironment( +export async function reposDeleteAnEnvironment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -92662,7 +93520,9 @@ export async function reposDeleteAnEnvironment( * Learn more at {@link https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies} * Tags: repos */ -export async function reposListDeploymentBranchPolicies( +export async function reposListDeploymentBranchPolicies< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -92703,7 +93563,9 @@ export async function reposListDeploymentBranchPolicies( * Learn more at {@link https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy} * Tags: repos */ -export async function reposCreateDeploymentBranchPolicy( +export async function reposCreateDeploymentBranchPolicy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -92738,7 +93600,9 @@ export async function reposCreateDeploymentBranchPolicy( * Learn more at {@link https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy} * Tags: repos */ -export async function reposGetDeploymentBranchPolicy( +export async function reposGetDeploymentBranchPolicy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -92765,7 +93629,9 @@ export async function reposGetDeploymentBranchPolicy( * Learn more at {@link https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy} * Tags: repos */ -export async function reposUpdateDeploymentBranchPolicy( +export async function reposUpdateDeploymentBranchPolicy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -92794,7 +93660,9 @@ export async function reposUpdateDeploymentBranchPolicy( * Learn more at {@link https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy} * Tags: repos */ -export async function reposDeleteDeploymentBranchPolicy( +export async function reposDeleteDeploymentBranchPolicy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -92827,7 +93695,9 @@ export async function reposDeleteDeploymentBranchPolicy( * Learn more at {@link https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment} * Tags: repos */ -export async function reposGetAllDeploymentProtectionRules( +export async function reposGetAllDeploymentProtectionRules< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { environment_name: string; @@ -92872,7 +93742,9 @@ export async function reposGetAllDeploymentProtectionRules( * Learn more at {@link https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment} * Tags: repos */ -export async function reposCreateDeploymentProtectionRule( +export async function reposCreateDeploymentProtectionRule< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { environment_name: string; @@ -92913,7 +93785,9 @@ export async function reposCreateDeploymentProtectionRule( * Learn more at {@link https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment} * Tags: repos */ -export async function reposListCustomDeploymentRuleIntegrations( +export async function reposListCustomDeploymentRuleIntegrations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { environment_name: string; @@ -92960,7 +93834,9 @@ export async function reposListCustomDeploymentRuleIntegrations( * Learn more at {@link https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule} * Tags: repos */ -export async function reposGetCustomDeploymentProtectionRule( +export async function reposGetCustomDeploymentProtectionRule< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -92990,7 +93866,9 @@ export async function reposGetCustomDeploymentProtectionRule( * Learn more at {@link https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment} * Tags: repos */ -export async function reposDisableDeploymentProtectionRule( +export async function reposDisableDeploymentProtectionRule< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { environment_name: string; @@ -93021,7 +93899,9 @@ export async function reposDisableDeploymentProtectionRule( * Learn more at {@link https://docs.github.com/rest/actions/secrets#list-environment-secrets} * Tags: actions */ -export async function actionsListEnvironmentSecrets( +export async function actionsListEnvironmentSecrets< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -93074,7 +93954,9 @@ export async function actionsListEnvironmentSecrets( * Learn more at {@link https://docs.github.com/rest/actions/secrets#get-an-environment-public-key} * Tags: actions */ -export async function actionsGetEnvironmentPublicKey( +export async function actionsGetEnvironmentPublicKey< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -93103,7 +93985,9 @@ export async function actionsGetEnvironmentPublicKey( * Learn more at {@link https://docs.github.com/rest/actions/secrets#get-an-environment-secret} * Tags: actions */ -export async function actionsGetEnvironmentSecret( +export async function actionsGetEnvironmentSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -93142,7 +94026,9 @@ export async function actionsGetEnvironmentSecret( * Learn more at {@link https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret} * Tags: actions */ -export async function actionsCreateOrUpdateEnvironmentSecret( +export async function actionsCreateOrUpdateEnvironmentSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -93185,7 +94071,9 @@ export async function actionsCreateOrUpdateEnvironmentSecret( * Learn more at {@link https://docs.github.com/rest/actions/secrets#delete-an-environment-secret} * Tags: actions */ -export async function actionsDeleteEnvironmentSecret( +export async function actionsDeleteEnvironmentSecret< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -93214,7 +94102,9 @@ export async function actionsDeleteEnvironmentSecret( * Learn more at {@link https://docs.github.com/rest/actions/variables#list-environment-variables} * Tags: actions */ -export async function actionsListEnvironmentVariables( +export async function actionsListEnvironmentVariables< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -93266,7 +94156,9 @@ export async function actionsListEnvironmentVariables( * Learn more at {@link https://docs.github.com/rest/actions/variables#create-an-environment-variable} * Tags: actions */ -export async function actionsCreateEnvironmentVariable( +export async function actionsCreateEnvironmentVariable< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -93306,7 +94198,9 @@ export async function actionsCreateEnvironmentVariable( * Learn more at {@link https://docs.github.com/rest/actions/variables#get-an-environment-variable} * Tags: actions */ -export async function actionsGetEnvironmentVariable( +export async function actionsGetEnvironmentVariable< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -93342,7 +94236,9 @@ export async function actionsGetEnvironmentVariable( * Learn more at {@link https://docs.github.com/rest/actions/variables#update-an-environment-variable} * Tags: actions */ -export async function actionsUpdateEnvironmentVariable( +export async function actionsUpdateEnvironmentVariable< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -93383,7 +94279,9 @@ export async function actionsUpdateEnvironmentVariable( * Learn more at {@link https://docs.github.com/rest/actions/variables#delete-an-environment-variable} * Tags: actions */ -export async function actionsDeleteEnvironmentVariable( +export async function actionsDeleteEnvironmentVariable< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -93408,7 +94306,9 @@ export async function actionsDeleteEnvironmentVariable( * Learn more at {@link https://docs.github.com/rest/activity/events#list-repository-events} * Tags: activity */ -export async function activityListRepoEvents( +export async function activityListRepoEvents< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -93438,7 +94338,7 @@ export async function activityListRepoEvents( * Learn more at {@link https://docs.github.com/rest/repos/forks#list-forks} * Tags: repos */ -export async function reposListForks( +export async function reposListForks( ctx: r.Context, params: { owner: string; @@ -93482,7 +94382,7 @@ export async function reposListForks( * Learn more at {@link https://docs.github.com/rest/repos/forks#create-a-fork} * Tags: repos */ -export async function reposCreateFork( +export async function reposCreateFork( ctx: r.Context, params: { owner: string; @@ -93530,7 +94430,7 @@ export async function reposCreateFork( * Learn more at {@link https://docs.github.com/rest/git/blobs#create-a-blob} * Tags: git */ -export async function gitCreateBlob( +export async function gitCreateBlob( ctx: r.Context, params: { owner: string; @@ -93582,7 +94482,7 @@ export async function gitCreateBlob( * Learn more at {@link https://docs.github.com/rest/git/blobs#get-a-blob} * Tags: git */ -export async function gitGetBlob( +export async function gitGetBlob( ctx: r.Context, params: { owner: string; @@ -93658,7 +94558,7 @@ export async function gitGetBlob( * Learn more at {@link https://docs.github.com/rest/git/commits#create-a-commit} * Tags: git */ -export async function gitCreateCommit( +export async function gitCreateCommit( ctx: r.Context, params: { owner: string; @@ -93793,7 +94693,7 @@ export async function gitCreateCommit( * Learn more at {@link https://docs.github.com/rest/git/commits#get-a-commit-object} * Tags: git */ -export async function gitGetCommit( +export async function gitGetCommit( ctx: r.Context, params: { owner: string; @@ -93841,7 +94741,9 @@ export async function gitGetCommit( * Learn more at {@link https://docs.github.com/rest/git/refs#list-matching-references} * Tags: git */ -export async function gitListMatchingRefs( +export async function gitListMatchingRefs< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -93873,7 +94775,7 @@ export async function gitListMatchingRefs( * Learn more at {@link https://docs.github.com/rest/git/refs#get-a-reference} * Tags: git */ -export async function gitGetRef( +export async function gitGetRef( ctx: r.Context, params: { owner: string; @@ -93901,7 +94803,7 @@ export async function gitGetRef( * Learn more at {@link https://docs.github.com/rest/git/refs#create-a-reference} * Tags: git */ -export async function gitCreateRef( +export async function gitCreateRef( ctx: r.Context, params: { owner: string; @@ -93939,7 +94841,7 @@ export async function gitCreateRef( * Learn more at {@link https://docs.github.com/rest/git/refs#update-a-reference} * Tags: git */ -export async function gitUpdateRef( +export async function gitUpdateRef( ctx: r.Context, params: { owner: string; @@ -93977,7 +94879,7 @@ export async function gitUpdateRef( * Learn more at {@link https://docs.github.com/rest/git/refs#delete-a-reference} * Tags: git */ -export async function gitDeleteRef( +export async function gitDeleteRef( ctx: r.Context, params: { owner: string; @@ -94054,7 +94956,7 @@ export async function gitDeleteRef( * Learn more at {@link https://docs.github.com/rest/git/tags#create-a-tag-object} * Tags: git */ -export async function gitCreateTag( +export async function gitCreateTag( ctx: r.Context, params: { owner: string; @@ -94160,7 +95062,7 @@ export async function gitCreateTag( * Learn more at {@link https://docs.github.com/rest/git/tags#get-a-tag} * Tags: git */ -export async function gitGetTag( +export async function gitGetTag( ctx: r.Context, params: { owner: string; @@ -94197,7 +95099,7 @@ export async function gitGetTag( * Learn more at {@link https://docs.github.com/rest/git/trees#create-a-tree} * Tags: git */ -export async function gitCreateTree( +export async function gitCreateTree( ctx: r.Context, params: { owner: string; @@ -94270,7 +95172,7 @@ export async function gitCreateTree( * Learn more at {@link https://docs.github.com/rest/git/trees#get-a-tree} * Tags: git */ -export async function gitGetTree( +export async function gitGetTree( ctx: r.Context, params: { owner: string; @@ -94300,7 +95202,7 @@ export async function gitGetTree( * Learn more at {@link https://docs.github.com/rest/repos/webhooks#list-repository-webhooks} * Tags: repos */ -export async function reposListWebhooks( +export async function reposListWebhooks( ctx: r.Context, params: { owner: string; @@ -94333,7 +95235,7 @@ export async function reposListWebhooks( * Learn more at {@link https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook} * Tags: repos */ -export async function reposCreateWebhook( +export async function reposCreateWebhook( ctx: r.Context, params: { owner: string; @@ -94396,7 +95298,7 @@ export async function reposCreateWebhook( * Learn more at {@link https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook} * Tags: repos */ -export async function reposGetWebhook( +export async function reposGetWebhook( ctx: r.Context, params: { owner: string; @@ -94428,7 +95330,7 @@ export async function reposGetWebhook( * Learn more at {@link https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook} * Tags: repos */ -export async function reposUpdateWebhook( +export async function reposUpdateWebhook( ctx: r.Context, params: { owner: string; @@ -94485,7 +95387,7 @@ export async function reposUpdateWebhook( * Learn more at {@link https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook} * Tags: repos */ -export async function reposDeleteWebhook( +export async function reposDeleteWebhook( ctx: r.Context, params: { owner: string; @@ -94512,7 +95414,9 @@ export async function reposDeleteWebhook( * Learn more at {@link https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository} * Tags: repos */ -export async function reposGetWebhookConfigForRepo( +export async function reposGetWebhookConfigForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -94539,7 +95443,9 @@ export async function reposGetWebhookConfigForRepo( * Learn more at {@link https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository} * Tags: repos */ -export async function reposUpdateWebhookConfigForRepo( +export async function reposUpdateWebhookConfigForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -94569,7 +95475,9 @@ export async function reposUpdateWebhookConfigForRepo( * Learn more at {@link https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook} * Tags: repos */ -export async function reposListWebhookDeliveries( +export async function reposListWebhookDeliveries< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -94608,7 +95516,9 @@ export async function reposListWebhookDeliveries( * Learn more at {@link https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook} * Tags: repos */ -export async function reposGetWebhookDelivery( +export async function reposGetWebhookDelivery< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -94642,7 +95552,9 @@ export async function reposGetWebhookDelivery( * Learn more at {@link https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook} * Tags: repos */ -export async function reposRedeliverWebhookDelivery( +export async function reposRedeliverWebhookDelivery< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -94670,7 +95582,7 @@ export async function reposRedeliverWebhookDelivery( * Learn more at {@link https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook} * Tags: repos */ -export async function reposPingWebhook( +export async function reposPingWebhook( ctx: r.Context, params: { owner: string; @@ -94697,7 +95609,9 @@ export async function reposPingWebhook( * Learn more at {@link https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook} * Tags: repos */ -export async function reposTestPushWebhook( +export async function reposTestPushWebhook< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -94792,7 +95706,9 @@ export async function reposTestPushWebhook( * Learn more at {@link https://docs.github.com/rest/migrations/source-imports#get-an-import-status} * Tags: migrations */ -export async function migrationsGetImportStatus( +export async function migrationsGetImportStatus< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -94827,7 +95743,9 @@ export async function migrationsGetImportStatus( * Learn more at {@link https://docs.github.com/rest/migrations/source-imports#start-an-import} * Tags: migrations */ -export async function migrationsStartImport( +export async function migrationsStartImport< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -94891,7 +95809,9 @@ export async function migrationsStartImport( * Learn more at {@link https://docs.github.com/rest/migrations/source-imports#update-an-import} * Tags: migrations */ -export async function migrationsUpdateImport( +export async function migrationsUpdateImport< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -94939,7 +95859,9 @@ export async function migrationsUpdateImport( * Learn more at {@link https://docs.github.com/rest/migrations/source-imports#cancel-an-import} * Tags: migrations */ -export async function migrationsCancelImport( +export async function migrationsCancelImport< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -94973,7 +95895,9 @@ export async function migrationsCancelImport( * Learn more at {@link https://docs.github.com/rest/migrations/source-imports#get-commit-authors} * Tags: migrations */ -export async function migrationsGetCommitAuthors( +export async function migrationsGetCommitAuthors< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -95008,7 +95932,9 @@ export async function migrationsGetCommitAuthors( * Learn more at {@link https://docs.github.com/rest/migrations/source-imports#map-a-commit-author} * Tags: migrations */ -export async function migrationsMapCommitAuthor( +export async function migrationsMapCommitAuthor< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -95052,7 +95978,9 @@ export async function migrationsMapCommitAuthor( * Learn more at {@link https://docs.github.com/rest/migrations/source-imports#get-large-files} * Tags: migrations */ -export async function migrationsGetLargeFiles( +export async function migrationsGetLargeFiles< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -95088,7 +96016,9 @@ export async function migrationsGetLargeFiles( * Learn more at {@link https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference} * Tags: migrations */ -export async function migrationsSetLfsPreference( +export async function migrationsSetLfsPreference< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -95126,7 +96056,9 @@ export async function migrationsSetLfsPreference( * Learn more at {@link https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app} * Tags: apps */ -export async function appsGetRepoInstallation( +export async function appsGetRepoInstallation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -95159,7 +96091,9 @@ export async function appsGetRepoInstallation( * Learn more at {@link https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository} * Tags: interactions */ -export async function interactionsGetRestrictionsForRepo( +export async function interactionsGetRestrictionsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -95194,7 +96128,9 @@ export async function interactionsGetRestrictionsForRepo( * Learn more at {@link https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository} * Tags: interactions */ -export async function interactionsSetRestrictionsForRepo( +export async function interactionsSetRestrictionsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -95232,7 +96168,9 @@ export async function interactionsSetRestrictionsForRepo( * Learn more at {@link https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository} * Tags: interactions */ -export async function interactionsRemoveRestrictionsForRepo( +export async function interactionsRemoveRestrictionsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -95255,7 +96193,9 @@ export async function interactionsRemoveRestrictionsForRepo( * Learn more at {@link https://docs.github.com/rest/collaborators/invitations#list-repository-invitations} * Tags: repos */ -export async function reposListInvitations( +export async function reposListInvitations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -95287,7 +96227,9 @@ export async function reposListInvitations( * Learn more at {@link https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation} * Tags: repos */ -export async function reposUpdateInvitation( +export async function reposUpdateInvitation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -95322,7 +96264,9 @@ export async function reposUpdateInvitation( * Learn more at {@link https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation} * Tags: repos */ -export async function reposDeleteInvitation( +export async function reposDeleteInvitation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -95368,7 +96312,7 @@ export async function reposDeleteInvitation( * Learn more at {@link https://docs.github.com/rest/issues/issues#list-repository-issues} * Tags: issues */ -export async function issuesListForRepo( +export async function issuesListForRepo( ctx: r.Context, params: { owner: string; @@ -95428,7 +96372,8 @@ export async function issuesListForRepo( * triggers * [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). * Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate - * limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + * limits for the + * API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" * and * "[Best practices for using the REST * API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." @@ -95449,7 +96394,7 @@ export async function issuesListForRepo( * Learn more at {@link https://docs.github.com/rest/issues/issues#create-an-issue} * Tags: issues */ -export async function issuesCreate( +export async function issuesCreate( ctx: r.Context, params: { owner: string; @@ -95541,7 +96486,9 @@ export async function issuesCreate( * Learn more at {@link https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository} * Tags: issues */ -export async function issuesListCommentsForRepo( +export async function issuesListCommentsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -95595,7 +96542,7 @@ export async function issuesListCommentsForRepo( * Learn more at {@link https://docs.github.com/rest/issues/comments#get-an-issue-comment} * Tags: issues */ -export async function issuesGetComment( +export async function issuesGetComment( ctx: r.Context, params: { owner: string; @@ -95640,7 +96587,9 @@ export async function issuesGetComment( * Learn more at {@link https://docs.github.com/rest/issues/comments#update-an-issue-comment} * Tags: issues */ -export async function issuesUpdateComment( +export async function issuesUpdateComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -95679,7 +96628,9 @@ export async function issuesUpdateComment( * Learn more at {@link https://docs.github.com/rest/issues/comments#delete-an-issue-comment} * Tags: issues */ -export async function issuesDeleteComment( +export async function issuesDeleteComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -95702,7 +96653,9 @@ export async function issuesDeleteComment( * Learn more at {@link https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment} * Tags: reactions */ -export async function reactionsListForIssueComment( +export async function reactionsListForIssueComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -95746,7 +96699,9 @@ export async function reactionsListForIssueComment( * Learn more at {@link https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment} * Tags: reactions */ -export async function reactionsCreateForIssueComment( +export async function reactionsCreateForIssueComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -95799,7 +96754,9 @@ export async function reactionsCreateForIssueComment( * Learn more at {@link https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction} * Tags: reactions */ -export async function reactionsDeleteForIssueComment( +export async function reactionsDeleteForIssueComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -95823,7 +96780,9 @@ export async function reactionsDeleteForIssueComment( * Learn more at {@link https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository} * Tags: issues */ -export async function issuesListEventsForRepo( +export async function issuesListEventsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -95856,7 +96815,7 @@ export async function issuesListEventsForRepo( * Learn more at {@link https://docs.github.com/rest/issues/events#get-an-issue-event} * Tags: issues */ -export async function issuesGetEvent( +export async function issuesGetEvent( ctx: r.Context, params: { owner: string; @@ -95924,7 +96883,7 @@ export async function issuesGetEvent( * Learn more at {@link https://docs.github.com/rest/issues/issues#get-an-issue} * Tags: issues */ -export async function issuesGet( +export async function issuesGet( ctx: r.Context, params: { owner: string; @@ -95973,7 +96932,7 @@ export async function issuesGet( * Learn more at {@link https://docs.github.com/rest/issues/issues#update-an-issue} * Tags: issues */ -export async function issuesUpdate( +export async function issuesUpdate( ctx: r.Context, params: { owner: string; @@ -96058,7 +97017,7 @@ export async function issuesUpdate( * Learn more at {@link https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue} * Tags: issues */ -export async function issuesAddAssignees( +export async function issuesAddAssignees( ctx: r.Context, params: { owner: string; @@ -96094,7 +97053,9 @@ export async function issuesAddAssignees( * Learn more at {@link https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue} * Tags: issues */ -export async function issuesRemoveAssignees( +export async function issuesRemoveAssignees< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -96135,7 +97096,9 @@ export async function issuesRemoveAssignees( * Learn more at {@link https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue} * Tags: issues */ -export async function issuesCheckUserCanBeAssignedToIssue( +export async function issuesCheckUserCanBeAssignedToIssue< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -96176,7 +97139,7 @@ export async function issuesCheckUserCanBeAssignedToIssue( * Learn more at {@link https://docs.github.com/rest/issues/comments#list-issue-comments} * Tags: issues */ -export async function issuesListComments( +export async function issuesListComments( ctx: r.Context, params: { owner: string; @@ -96219,12 +97182,14 @@ export async function issuesListComments( * Creating * content too quickly using this endpoint may result in secondary rate limiting. * For more information, see "[Rate limits - * for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" - * and "[Best - * practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." + * for the + * API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + * and + * "[Best practices for using the REST + * API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * - * This - * endpoint supports the following custom media types. For more information, see "[Media + * This endpoint supports the following + * custom media types. For more information, see "[Media * types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." * * - @@ -96239,7 +97204,9 @@ export async function issuesListComments( * Learn more at {@link https://docs.github.com/rest/issues/comments#create-an-issue-comment} * Tags: issues */ -export async function issuesCreateComment( +export async function issuesCreateComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -96281,7 +97248,7 @@ export async function issuesCreateComment( * Learn more at {@link https://docs.github.com/rest/issues/events#list-issue-events} * Tags: issues */ -export async function issuesListEvents( +export async function issuesListEvents( ctx: r.Context, params: { owner: string; @@ -96310,7 +97277,9 @@ export async function issuesListEvents( * Learn more at {@link https://docs.github.com/rest/issues/labels#list-labels-for-an-issue} * Tags: issues */ -export async function issuesListLabelsOnIssue( +export async function issuesListLabelsOnIssue< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -96341,7 +97310,7 @@ export async function issuesListLabelsOnIssue( * Learn more at {@link https://docs.github.com/rest/issues/labels#add-labels-to-an-issue} * Tags: issues */ -export async function issuesAddLabels( +export async function issuesAddLabels( ctx: r.Context, params: { owner: string; @@ -96388,7 +97357,7 @@ export async function issuesAddLabels( * Learn more at {@link https://docs.github.com/rest/issues/labels#set-labels-for-an-issue} * Tags: issues */ -export async function issuesSetLabels( +export async function issuesSetLabels( ctx: r.Context, params: { owner: string; @@ -96435,7 +97404,9 @@ export async function issuesSetLabels( * Learn more at {@link https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue} * Tags: issues */ -export async function issuesRemoveAllLabels( +export async function issuesRemoveAllLabels< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -96464,7 +97435,7 @@ export async function issuesRemoveAllLabels( * Learn more at {@link https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue} * Tags: issues */ -export async function issuesRemoveLabel( +export async function issuesRemoveLabel( ctx: r.Context, params: { owner: string; @@ -96497,7 +97468,7 @@ export async function issuesRemoveLabel( * Learn more at {@link https://docs.github.com/rest/issues/issues#lock-an-issue} * Tags: issues */ -export async function issuesLock( +export async function issuesLock( ctx: r.Context, params: { owner: string; @@ -96537,7 +97508,7 @@ export async function issuesLock( * Learn more at {@link https://docs.github.com/rest/issues/issues#unlock-an-issue} * Tags: issues */ -export async function issuesUnlock( +export async function issuesUnlock( ctx: r.Context, params: { owner: string; @@ -96564,7 +97535,9 @@ export async function issuesUnlock( * Learn more at {@link https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue} * Tags: reactions */ -export async function reactionsListForIssue( +export async function reactionsListForIssue< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -96610,7 +97583,9 @@ export async function reactionsListForIssue( * Learn more at {@link https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue} * Tags: reactions */ -export async function reactionsCreateForIssue( +export async function reactionsCreateForIssue< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -96663,7 +97638,9 @@ export async function reactionsCreateForIssue( * Learn more at {@link https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction} * Tags: reactions */ -export async function reactionsDeleteForIssue( +export async function reactionsDeleteForIssue< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -96687,7 +97664,9 @@ export async function reactionsDeleteForIssue( * Learn more at {@link https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue} * Tags: issues */ -export async function issuesListEventsForTimeline( +export async function issuesListEventsForTimeline< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -96724,7 +97703,9 @@ export async function issuesListEventsForTimeline( * Learn more at {@link https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys} * Tags: repos */ -export async function reposListDeployKeys( +export async function reposListDeployKeys< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -96749,7 +97730,9 @@ export async function reposListDeployKeys( * Learn more at {@link https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key} * Tags: repos */ -export async function reposCreateDeployKey( +export async function reposCreateDeployKey< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -96789,7 +97772,7 @@ export async function reposCreateDeployKey( * Learn more at {@link https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key} * Tags: repos */ -export async function reposGetDeployKey( +export async function reposGetDeployKey( ctx: r.Context, params: { owner: string; @@ -96814,7 +97797,9 @@ export async function reposGetDeployKey( * Learn more at {@link https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key} * Tags: repos */ -export async function reposDeleteDeployKey( +export async function reposDeleteDeployKey< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -96837,7 +97822,9 @@ export async function reposDeleteDeployKey( * Learn more at {@link https://docs.github.com/rest/issues/labels#list-labels-for-a-repository} * Tags: issues */ -export async function issuesListLabelsForRepo( +export async function issuesListLabelsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -96863,7 +97850,7 @@ export async function issuesListLabelsForRepo( * Learn more at {@link https://docs.github.com/rest/issues/labels#create-a-label} * Tags: issues */ -export async function issuesCreateLabel( +export async function issuesCreateLabel( ctx: r.Context, params: { owner: string; @@ -96904,7 +97891,7 @@ export async function issuesCreateLabel( * Learn more at {@link https://docs.github.com/rest/issues/labels#get-a-label} * Tags: issues */ -export async function issuesGetLabel( +export async function issuesGetLabel( ctx: r.Context, params: { owner: string; @@ -96927,7 +97914,7 @@ export async function issuesGetLabel( * Learn more at {@link https://docs.github.com/rest/issues/labels#update-a-label} * Tags: issues */ -export async function issuesUpdateLabel( +export async function issuesUpdateLabel( ctx: r.Context, params: { owner: string; @@ -96965,7 +97952,7 @@ export async function issuesUpdateLabel( * Learn more at {@link https://docs.github.com/rest/issues/labels#delete-a-label} * Tags: issues */ -export async function issuesDeleteLabel( +export async function issuesDeleteLabel( ctx: r.Context, params: { owner: string; @@ -96989,7 +97976,7 @@ export async function issuesDeleteLabel( * Learn more at {@link https://docs.github.com/rest/repos/repos#list-repository-languages} * Tags: repos */ -export async function reposListLanguages( +export async function reposListLanguages( ctx: r.Context, params: { owner: string; @@ -97021,7 +98008,7 @@ export async function reposListLanguages( * Learn more at {@link https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository} * Tags: licenses */ -export async function licensesGetForRepo( +export async function licensesGetForRepo( ctx: r.Context, params: { owner: string; @@ -97047,7 +98034,7 @@ export async function licensesGetForRepo( * Learn more at {@link https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository} * Tags: repos */ -export async function reposMergeUpstream( +export async function reposMergeUpstream( ctx: r.Context, params: { owner: string; @@ -97079,7 +98066,7 @@ export async function reposMergeUpstream( * Learn more at {@link https://docs.github.com/rest/branches/branches#merge-a-branch} * Tags: repos */ -export async function reposMerge( +export async function reposMerge( ctx: r.Context, params: { owner: string; @@ -97123,7 +98110,9 @@ export async function reposMerge( * Learn more at {@link https://docs.github.com/rest/issues/milestones#list-milestones} * Tags: issues */ -export async function issuesListMilestones( +export async function issuesListMilestones< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -97159,7 +98148,9 @@ export async function issuesListMilestones( * Learn more at {@link https://docs.github.com/rest/issues/milestones#create-a-milestone} * Tags: issues */ -export async function issuesCreateMilestone( +export async function issuesCreateMilestone< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -97211,7 +98202,7 @@ export async function issuesCreateMilestone( * Learn more at {@link https://docs.github.com/rest/issues/milestones#get-a-milestone} * Tags: issues */ -export async function issuesGetMilestone( +export async function issuesGetMilestone( ctx: r.Context, params: { owner: string; @@ -97241,7 +98232,9 @@ export async function issuesGetMilestone( * Learn more at {@link https://docs.github.com/rest/issues/milestones#update-a-milestone} * Tags: issues */ -export async function issuesUpdateMilestone( +export async function issuesUpdateMilestone< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -97290,7 +98283,9 @@ export async function issuesUpdateMilestone( * Learn more at {@link https://docs.github.com/rest/issues/milestones#delete-a-milestone} * Tags: issues */ -export async function issuesDeleteMilestone( +export async function issuesDeleteMilestone< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -97313,7 +98308,9 @@ export async function issuesDeleteMilestone( * Learn more at {@link https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone} * Tags: issues */ -export async function issuesListLabelsForMilestone( +export async function issuesListLabelsForMilestone< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -97340,7 +98337,7 @@ export async function issuesListLabelsForMilestone( * Tags: activity */ export async function activityListRepoNotificationsForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -97388,7 +98385,9 @@ export async function activityListRepoNotificationsForAuthenticatedUser< * Learn more at {@link https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read} * Tags: activity */ -export async function activityMarkRepoNotificationsAsRead( +export async function activityMarkRepoNotificationsAsRead< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -97429,7 +98428,7 @@ export async function activityMarkRepoNotificationsAsRead( * Learn more at {@link https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site} * Tags: repos */ -export async function reposGetPages( +export async function reposGetPages( ctx: r.Context, params: { owner: string; @@ -97464,7 +98463,9 @@ export async function reposGetPages( * Learn more at {@link https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site} * Tags: repos */ -export async function reposCreatePagesSite( +export async function reposCreatePagesSite< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -97505,7 +98506,9 @@ export async function reposCreatePagesSite( * Learn more at {@link https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site} * Tags: repos */ -export async function reposUpdateInformationAboutPagesSite( +export async function reposUpdateInformationAboutPagesSite< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -97541,7 +98544,9 @@ export async function reposUpdateInformationAboutPagesSite( * Learn more at {@link https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site} * Tags: repos */ -export async function reposDeletePagesSite( +export async function reposDeletePagesSite< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -97571,7 +98576,9 @@ export async function reposDeletePagesSite( * Learn more at {@link https://docs.github.com/rest/pages/pages#list-apiname-pages-builds} * Tags: repos */ -export async function reposListPagesBuilds( +export async function reposListPagesBuilds< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -97608,7 +98615,9 @@ export async function reposListPagesBuilds( * Learn more at {@link https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build} * Tags: repos */ -export async function reposRequestPagesBuild( +export async function reposRequestPagesBuild< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -97633,7 +98642,9 @@ export async function reposRequestPagesBuild( * Learn more at {@link https://docs.github.com/rest/pages/pages#get-latest-pages-build} * Tags: repos */ -export async function reposGetLatestPagesBuild( +export async function reposGetLatestPagesBuild< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -97664,7 +98675,7 @@ export async function reposGetLatestPagesBuild( * Learn more at {@link https://docs.github.com/rest/pages/pages#get-apiname-pages-build} * Tags: repos */ -export async function reposGetPagesBuild( +export async function reposGetPagesBuild( ctx: r.Context, params: { owner: string; @@ -97695,7 +98706,9 @@ export async function reposGetPagesBuild( * Learn more at {@link https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment} * Tags: repos */ -export async function reposCreatePagesDeployment( +export async function reposCreatePagesDeployment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -97750,7 +98763,9 @@ export async function reposCreatePagesDeployment( * Learn more at {@link https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment} * Tags: repos */ -export async function reposGetPagesDeployment( +export async function reposGetPagesDeployment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -97778,7 +98793,9 @@ export async function reposGetPagesDeployment( * Learn more at {@link https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment} * Tags: repos */ -export async function reposCancelPagesDeployment( +export async function reposCancelPagesDeployment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -97812,7 +98829,9 @@ export async function reposCancelPagesDeployment( * Learn more at {@link https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages} * Tags: repos */ -export async function reposGetPagesHealthCheck( +export async function reposGetPagesHealthCheck< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -97842,7 +98861,9 @@ export async function reposGetPagesHealthCheck( * Learn more at {@link https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository} * Tags: repos */ -export async function reposCheckPrivateVulnerabilityReporting( +export async function reposCheckPrivateVulnerabilityReporting< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -97877,7 +98898,9 @@ export async function reposCheckPrivateVulnerabilityReporting( * Learn more at {@link https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository} * Tags: repos */ -export async function reposEnablePrivateVulnerabilityReporting( +export async function reposEnablePrivateVulnerabilityReporting< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -97901,7 +98924,9 @@ export async function reposEnablePrivateVulnerabilityReporting( * Learn more at {@link https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository} * Tags: repos */ -export async function reposDisablePrivateVulnerabilityReporting( +export async function reposDisablePrivateVulnerabilityReporting< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -97924,7 +98949,9 @@ export async function reposDisablePrivateVulnerabilityReporting( * Learn more at {@link https://docs.github.com/rest/projects/projects#list-repository-projects} * Tags: projects */ -export async function projectsListForRepo( +export async function projectsListForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -97965,7 +98992,9 @@ export async function projectsListForRepo( * Learn more at {@link https://docs.github.com/rest/projects/projects#create-a-repository-project} * Tags: projects */ -export async function projectsCreateForRepo( +export async function projectsCreateForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -98013,7 +99042,9 @@ export async function projectsCreateForRepo( * Learn more at {@link https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository} * Tags: repos */ -export async function reposGetCustomPropertiesValues( +export async function reposGetCustomPropertiesValues< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -98044,7 +99075,9 @@ export async function reposGetCustomPropertiesValues( * Learn more at {@link https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository} * Tags: repos */ -export async function reposCreateOrUpdateCustomPropertiesValues( +export async function reposCreateOrUpdateCustomPropertiesValues< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -98101,7 +99134,7 @@ export async function reposCreateOrUpdateCustomPropertiesValues( * Learn more at {@link https://docs.github.com/rest/pulls/pulls#list-pull-requests} * Tags: pulls */ -export async function pullsList( +export async function pullsList( ctx: r.Context, params: { owner: string; @@ -98160,7 +99193,8 @@ export async function pullsList( * This endpoint triggers * [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). * Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate - * limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and + * limits for the + * API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and * "[Best practices for using the REST * API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * @@ -98180,7 +99214,7 @@ export async function pullsList( * Learn more at {@link https://docs.github.com/rest/pulls/pulls#create-a-pull-request} * Tags: pulls */ -export async function pullsCreate( +export async function pullsCreate( ctx: r.Context, params: { owner: string; @@ -98265,7 +99299,9 @@ export async function pullsCreate( * Learn more at {@link https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository} * Tags: pulls */ -export async function pullsListReviewCommentsForRepo( +export async function pullsListReviewCommentsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -98318,7 +99354,9 @@ export async function pullsListReviewCommentsForRepo( * Learn more at {@link https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request} * Tags: pulls */ -export async function pullsGetReviewComment( +export async function pullsGetReviewComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -98367,7 +99405,9 @@ export async function pullsGetReviewComment( * Learn more at {@link https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request} * Tags: pulls */ -export async function pullsUpdateReviewComment( +export async function pullsUpdateReviewComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -98405,7 +99445,9 @@ export async function pullsUpdateReviewComment( * Learn more at {@link https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request} * Tags: pulls */ -export async function pullsDeleteReviewComment( +export async function pullsDeleteReviewComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -98429,7 +99471,9 @@ export async function pullsDeleteReviewComment( * Learn more at {@link https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment} * Tags: reactions */ -export async function reactionsListForPullRequestReviewComment( +export async function reactionsListForPullRequestReviewComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -98474,7 +99518,9 @@ export async function reactionsListForPullRequestReviewComment( * Learn more at {@link https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment} * Tags: reactions */ -export async function reactionsCreateForPullRequestReviewComment( +export async function reactionsCreateForPullRequestReviewComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -98527,7 +99573,9 @@ export async function reactionsCreateForPullRequestReviewComment( * Learn more at {@link https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction} * Tags: reactions */ -export async function reactionsDeleteForPullRequestComment( +export async function reactionsDeleteForPullRequestComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -98585,7 +99633,7 @@ export async function reactionsDeleteForPullRequestComment( * `merge_commit_sha` represents the commit that the base branch was updated to. * * Pass the appropriate [media - * type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and + * type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) to fetch diff and * patch formats. * * This endpoint supports the following custom media types. For more information, see "[Media @@ -98607,7 +99655,7 @@ export async function reactionsDeleteForPullRequestComment( * Learn more at {@link https://docs.github.com/rest/pulls/pulls#get-a-pull-request} * Tags: pulls */ -export async function pullsGet( +export async function pullsGet( ctx: r.Context, params: { owner: string; @@ -98671,7 +99719,7 @@ export async function pullsGet( * Learn more at {@link https://docs.github.com/rest/pulls/pulls#update-a-pull-request} * Tags: pulls */ -export async function pullsUpdate( +export async function pullsUpdate( ctx: r.Context, params: { owner: string; @@ -98730,7 +99778,9 @@ export async function pullsUpdate( * Learn more at {@link https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request} * Tags: codespaces */ -export async function codespacesCreateWithPrForAuthenticatedUser( +export async function codespacesCreateWithPrForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -98833,7 +99883,9 @@ export async function codespacesCreateWithPrForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request} * Tags: pulls */ -export async function pullsListReviewComments( +export async function pullsListReviewComments< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -98881,7 +99933,8 @@ export async function pullsListReviewComments( * This endpoint triggers * [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). * Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate - * limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + * limits for the + * API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" * and * "[Best practices for using the REST * API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." @@ -98903,7 +99956,9 @@ export async function pullsListReviewComments( * Learn more at {@link https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request} * Tags: pulls */ -export async function pullsCreateReviewComment( +export async function pullsCreateReviewComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -98986,7 +100041,8 @@ export async function pullsCreateReviewComment( * This endpoint triggers * [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). * Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate - * limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" + * limits for the + * API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" * and * "[Best practices for using the REST * API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." @@ -99008,7 +100064,9 @@ export async function pullsCreateReviewComment( * Learn more at {@link https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment} * Tags: pulls */ -export async function pullsCreateReplyForReviewComment( +export async function pullsCreateReplyForReviewComment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -99067,7 +100125,7 @@ export async function pullsCreateReplyForReviewComment( * Learn more at {@link https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request} * Tags: pulls */ -export async function pullsListCommits( +export async function pullsListCommits( ctx: r.Context, params: { owner: string; @@ -99111,7 +100169,7 @@ export async function pullsListCommits( * Learn more at {@link https://docs.github.com/rest/pulls/pulls#list-pull-requests-files} * Tags: pulls */ -export async function pullsListFiles( +export async function pullsListFiles( ctx: r.Context, params: { owner: string; @@ -99150,7 +100208,7 @@ export async function pullsListFiles( * Learn more at {@link https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged} * Tags: pulls */ -export async function pullsCheckIfMerged( +export async function pullsCheckIfMerged( ctx: r.Context, params: { owner: string; @@ -99173,12 +100231,13 @@ export async function pullsCheckIfMerged( * This endpoint triggers * [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). * Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate - * limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and + * limits for the + * API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and * "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * Learn more at {@link https://docs.github.com/rest/pulls/pulls#merge-a-pull-request} * Tags: pulls */ -export async function pullsMerge( +export async function pullsMerge( ctx: r.Context, params: { owner: string; @@ -99241,7 +100300,9 @@ export async function pullsMerge( * Learn more at {@link https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request} * Tags: pulls */ -export async function pullsListRequestedReviewers( +export async function pullsListRequestedReviewers< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -99264,12 +100325,15 @@ export async function pullsListRequestedReviewers( * This endpoint triggers * [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). * Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate - * limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and + * limits for the + * API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and * "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * Learn more at {@link https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request} * Tags: pulls */ -export async function pullsRequestReviewers( +export async function pullsRequestReviewers< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -99304,7 +100368,9 @@ export async function pullsRequestReviewers( * Learn more at {@link https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request} * Tags: pulls */ -export async function pullsRemoveRequestedReviewers( +export async function pullsRemoveRequestedReviewers< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -99362,7 +100428,7 @@ export async function pullsRemoveRequestedReviewers( * Learn more at {@link https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request} * Tags: pulls */ -export async function pullsListReviews( +export async function pullsListReviews( ctx: r.Context, params: { owner: string; @@ -99397,7 +100463,8 @@ export async function pullsListReviews( * This endpoint triggers * [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). * Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate - * limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and + * limits for the + * API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and * "[Best practices for using the REST * API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * @@ -99434,7 +100501,7 @@ export async function pullsListReviews( * Learn more at {@link https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request} * Tags: pulls */ -export async function pullsCreateReview( +export async function pullsCreateReview( ctx: r.Context, params: { owner: string; @@ -99530,7 +100597,7 @@ export async function pullsCreateReview( * Learn more at {@link https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request} * Tags: pulls */ -export async function pullsGetReview( +export async function pullsGetReview( ctx: r.Context, params: { owner: string; @@ -99577,7 +100644,7 @@ export async function pullsGetReview( * Learn more at {@link https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request} * Tags: pulls */ -export async function pullsUpdateReview( +export async function pullsUpdateReview( ctx: r.Context, params: { owner: string; @@ -99632,7 +100699,9 @@ export async function pullsUpdateReview( * Learn more at {@link https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request} * Tags: pulls */ -export async function pullsDeletePendingReview( +export async function pullsDeletePendingReview< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -99681,7 +100750,9 @@ export async function pullsDeletePendingReview( * Learn more at {@link https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review} * Tags: pulls */ -export async function pullsListCommentsForReview( +export async function pullsListCommentsForReview< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -99739,7 +100810,7 @@ export async function pullsListCommentsForReview( * Learn more at {@link https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request} * Tags: pulls */ -export async function pullsDismissReview( +export async function pullsDismissReview( ctx: r.Context, params: { owner: string; @@ -99801,7 +100872,7 @@ export async function pullsDismissReview( * Learn more at {@link https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request} * Tags: pulls */ -export async function pullsSubmitReview( +export async function pullsSubmitReview( ctx: r.Context, params: { owner: string; @@ -99848,7 +100919,7 @@ export async function pullsSubmitReview( * Learn more at {@link https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch} * Tags: pulls */ -export async function pullsUpdateBranch( +export async function pullsUpdateBranch( ctx: r.Context, params: { owner: string; @@ -99898,7 +100969,7 @@ export async function pullsUpdateBranch( * Learn more at {@link https://docs.github.com/rest/repos/contents#get-a-repository-readme} * Tags: repos */ -export async function reposGetReadme( +export async function reposGetReadme( ctx: r.Context, params: { owner: string; @@ -99936,7 +101007,9 @@ export async function reposGetReadme( * Learn more at {@link https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory} * Tags: repos */ -export async function reposGetReadmeInDirectory( +export async function reposGetReadmeInDirectory< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -99970,7 +101043,7 @@ export async function reposGetReadmeInDirectory( * Learn more at {@link https://docs.github.com/rest/releases/releases#list-releases} * Tags: repos */ -export async function reposListReleases( +export async function reposListReleases( ctx: r.Context, params: { owner: string; @@ -100004,12 +101077,13 @@ export async function reposListReleases( * This endpoint triggers * [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). * Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate - * limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and + * limits for the + * API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and * "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * Learn more at {@link https://docs.github.com/rest/releases/releases#create-a-release} * Tags: repos */ -export async function reposCreateRelease( +export async function reposCreateRelease( ctx: r.Context, params: { owner: string; @@ -100078,12 +101152,15 @@ export async function reposCreateRelease( /** * Get a release asset * To download the asset's binary content, set the `Accept` header of the request to - * [`application/octet-stream`](https://docs.github.com/rest/overview/media-types). The API will either redirect the client - * to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. + * [`application/octet-stream`](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). + * The API will either redirect the client to the location, or stream it directly if possible. API clients should handle + * both a `200` or `302` response. * Learn more at {@link https://docs.github.com/rest/releases/assets#get-a-release-asset} * Tags: repos */ -export async function reposGetReleaseAsset( +export async function reposGetReleaseAsset< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -100116,7 +101193,9 @@ export async function reposGetReleaseAsset( * Learn more at {@link https://docs.github.com/rest/releases/assets#update-a-release-asset} * Tags: repos */ -export async function reposUpdateReleaseAsset( +export async function reposUpdateReleaseAsset< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -100159,7 +101238,9 @@ export async function reposUpdateReleaseAsset( * Learn more at {@link https://docs.github.com/rest/releases/assets#delete-a-release-asset} * Tags: repos */ -export async function reposDeleteReleaseAsset( +export async function reposDeleteReleaseAsset< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -100185,7 +101266,9 @@ export async function reposDeleteReleaseAsset( * Learn more at {@link https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release} * Tags: repos */ -export async function reposGenerateReleaseNotes( +export async function reposGenerateReleaseNotes< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -100232,7 +101315,9 @@ export async function reposGenerateReleaseNotes( * Learn more at {@link https://docs.github.com/rest/releases/releases#get-the-latest-release} * Tags: repos */ -export async function reposGetLatestRelease( +export async function reposGetLatestRelease< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -100260,7 +101345,9 @@ export async function reposGetLatestRelease( * Learn more at {@link https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name} * Tags: repos */ -export async function reposGetReleaseByTag( +export async function reposGetReleaseByTag< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -100295,7 +101382,7 @@ export async function reposGetReleaseByTag( * Learn more at {@link https://docs.github.com/rest/releases/releases#get-a-release} * Tags: repos */ -export async function reposGetRelease( +export async function reposGetRelease( ctx: r.Context, params: { owner: string; @@ -100324,7 +101411,7 @@ export async function reposGetRelease( * Learn more at {@link https://docs.github.com/rest/releases/releases#update-a-release} * Tags: repos */ -export async function reposUpdateRelease( +export async function reposUpdateRelease( ctx: r.Context, params: { owner: string; @@ -100389,7 +101476,7 @@ export async function reposUpdateRelease( * Learn more at {@link https://docs.github.com/rest/releases/releases#delete-a-release} * Tags: repos */ -export async function reposDeleteRelease( +export async function reposDeleteRelease( ctx: r.Context, params: { owner: string; @@ -100411,7 +101498,9 @@ export async function reposDeleteRelease( * Learn more at {@link https://docs.github.com/rest/releases/assets#list-release-assets} * Tags: repos */ -export async function reposListReleaseAssets( +export async function reposListReleaseAssets< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -100481,7 +101570,9 @@ export async function reposListReleaseAssets( * Learn more at {@link https://docs.github.com/rest/releases/assets#upload-a-release-asset} * Tags: repos */ -export async function reposUploadReleaseAsset( +export async function reposUploadReleaseAsset< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -100517,7 +101608,9 @@ export async function reposUploadReleaseAsset( * Learn more at {@link https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release} * Tags: reactions */ -export async function reactionsListForRelease( +export async function reactionsListForRelease< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -100553,7 +101646,9 @@ export async function reactionsListForRelease( * Learn more at {@link https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release} * Tags: reactions */ -export async function reactionsCreateForRelease( +export async function reactionsCreateForRelease< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -100598,7 +101693,9 @@ export async function reactionsCreateForRelease( * Learn more at {@link https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction} * Tags: reactions */ -export async function reactionsDeleteForRelease( +export async function reactionsDeleteForRelease< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -100628,7 +101725,9 @@ export async function reactionsDeleteForRelease( * Learn more at {@link https://docs.github.com/rest/repos/rules#get-rules-for-a-branch} * Tags: repos */ -export async function reposGetBranchRules( +export async function reposGetBranchRules< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -100654,7 +101753,9 @@ export async function reposGetBranchRules( * Learn more at {@link https://docs.github.com/rest/repos/rules#get-all-repository-rulesets} * Tags: repos */ -export async function reposGetRepoRulesets( +export async function reposGetRepoRulesets< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -100692,7 +101793,9 @@ export async function reposGetRepoRulesets( * Learn more at {@link https://docs.github.com/rest/repos/rules#create-a-repository-ruleset} * Tags: repos */ -export async function reposCreateRepoRuleset( +export async function reposCreateRepoRuleset< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -100749,7 +101852,9 @@ export async function reposCreateRepoRuleset( * Learn more at {@link https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites} * Tags: repos */ -export async function reposGetRepoRuleSuites( +export async function reposGetRepoRuleSuites< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -100798,7 +101903,9 @@ export async function reposGetRepoRuleSuites( * Learn more at {@link https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite} * Tags: repos */ -export async function reposGetRepoRuleSuite( +export async function reposGetRepoRuleSuite< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -100831,7 +101938,9 @@ export async function reposGetRepoRuleSuite( * Learn more at {@link https://docs.github.com/rest/repos/rules#get-a-repository-ruleset} * Tags: repos */ -export async function reposGetRepoRuleset( +export async function reposGetRepoRuleset< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -100866,7 +101975,9 @@ export async function reposGetRepoRuleset( * Learn more at {@link https://docs.github.com/rest/repos/rules#update-a-repository-ruleset} * Tags: repos */ -export async function reposUpdateRepoRuleset( +export async function reposUpdateRepoRuleset< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -100922,7 +102033,9 @@ export async function reposUpdateRepoRuleset( * Learn more at {@link https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset} * Tags: repos */ -export async function reposDeleteRepoRuleset( +export async function reposDeleteRepoRuleset< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -100956,7 +102069,9 @@ export async function reposDeleteRepoRuleset( * Learn more at {@link https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository} * Tags: secret-scanning */ -export async function secretScanningListAlertsForRepo( +export async function secretScanningListAlertsForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -101026,7 +102141,9 @@ export async function secretScanningListAlertsForRepo( * Learn more at {@link https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert} * Tags: secret-scanning */ -export async function secretScanningGetAlert( +export async function secretScanningGetAlert< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -101074,7 +102191,9 @@ export async function secretScanningGetAlert( * Learn more at {@link https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert} * Tags: secret-scanning */ -export async function secretScanningUpdateAlert( +export async function secretScanningUpdateAlert< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -101129,7 +102248,9 @@ export async function secretScanningUpdateAlert( * Learn more at {@link https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert} * Tags: secret-scanning */ -export async function secretScanningListLocationsForAlert( +export async function secretScanningListLocationsForAlert< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -101174,7 +102295,9 @@ export async function secretScanningListLocationsForAlert( * Learn more at {@link https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories} * Tags: security-advisories */ -export async function securityAdvisoriesListRepositoryAdvisories( +export async function securityAdvisoriesListRepositoryAdvisories< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -101221,7 +102344,9 @@ export async function securityAdvisoriesListRepositoryAdvisories( * Learn more at {@link https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory} * Tags: security-advisories */ -export async function securityAdvisoriesCreateRepositoryAdvisory( +export async function securityAdvisoriesCreateRepositoryAdvisory< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -101260,7 +102385,7 @@ export async function securityAdvisoriesCreateRepositoryAdvisory( * Tags: security-advisories */ export async function securityAdvisoriesCreatePrivateVulnerabilityReport< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -101308,7 +102433,9 @@ export async function securityAdvisoriesCreatePrivateVulnerabilityReport< * Learn more at {@link https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory} * Tags: security-advisories */ -export async function securityAdvisoriesGetRepositoryAdvisory( +export async function securityAdvisoriesGetRepositoryAdvisory< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -101349,7 +102476,9 @@ export async function securityAdvisoriesGetRepositoryAdvisory( * Learn more at {@link https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory} * Tags: security-advisories */ -export async function securityAdvisoriesUpdateRepositoryAdvisory( +export async function securityAdvisoriesUpdateRepositoryAdvisory< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -101398,7 +102527,7 @@ export async function securityAdvisoriesUpdateRepositoryAdvisory( * Tags: security-advisories */ export async function securityAdvisoriesCreateRepositoryAdvisoryCveRequest< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -101431,7 +102560,9 @@ export async function securityAdvisoriesCreateRepositoryAdvisoryCveRequest< * Learn more at {@link https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork} * Tags: security-advisories */ -export async function securityAdvisoriesCreateFork( +export async function securityAdvisoriesCreateFork< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -101473,7 +102604,9 @@ export async function securityAdvisoriesCreateFork( * Learn more at {@link https://docs.github.com/rest/activity/starring#list-stargazers} * Tags: activity */ -export async function activityListStargazersForRepo( +export async function activityListStargazersForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -101516,7 +102649,9 @@ export async function activityListStargazersForRepo( * Learn more at {@link https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity} * Tags: repos */ -export async function reposGetCodeFrequencyStats( +export async function reposGetCodeFrequencyStats< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -101544,7 +102679,9 @@ export async function reposGetCodeFrequencyStats( * Learn more at {@link https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity} * Tags: repos */ -export async function reposGetCommitActivityStats( +export async function reposGetCommitActivityStats< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -101581,7 +102718,9 @@ export async function reposGetCommitActivityStats( * Learn more at {@link https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity} * Tags: repos */ -export async function reposGetContributorsStats( +export async function reposGetContributorsStats< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -101614,7 +102753,9 @@ export async function reposGetContributorsStats( * Learn more at {@link https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count} * Tags: repos */ -export async function reposGetParticipationStats( +export async function reposGetParticipationStats< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -101646,7 +102787,9 @@ export async function reposGetParticipationStats( * Learn more at {@link https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day} * Tags: repos */ -export async function reposGetPunchCardStats( +export async function reposGetPunchCardStats< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -101674,7 +102817,9 @@ export async function reposGetPunchCardStats( * Learn more at {@link https://docs.github.com/rest/commits/statuses#create-a-commit-status} * Tags: repos */ -export async function reposCreateCommitStatus( +export async function reposCreateCommitStatus< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -101719,7 +102864,9 @@ export async function reposCreateCommitStatus( * Learn more at {@link https://docs.github.com/rest/activity/watching#list-watchers} * Tags: activity */ -export async function activityListWatchersForRepo( +export async function activityListWatchersForRepo< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -101744,7 +102891,9 @@ export async function activityListWatchersForRepo( * Learn more at {@link https://docs.github.com/rest/activity/watching#get-a-repository-subscription} * Tags: activity */ -export async function activityGetRepoSubscription( +export async function activityGetRepoSubscription< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -101780,7 +102929,9 @@ export async function activityGetRepoSubscription( * Learn more at {@link https://docs.github.com/rest/activity/watching#set-a-repository-subscription} * Tags: activity */ -export async function activitySetRepoSubscription( +export async function activitySetRepoSubscription< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -101823,7 +102974,9 @@ export async function activitySetRepoSubscription( * Learn more at {@link https://docs.github.com/rest/activity/watching#delete-a-repository-subscription} * Tags: activity */ -export async function activityDeleteRepoSubscription( +export async function activityDeleteRepoSubscription< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -101844,7 +102997,7 @@ export async function activityDeleteRepoSubscription( * Learn more at {@link https://docs.github.com/rest/repos/repos#list-repository-tags} * Tags: repos */ -export async function reposListTags( +export async function reposListTags( ctx: r.Context, params: { owner: string; @@ -101864,15 +103017,22 @@ export async function reposListTags( return ctx.handleResponse(res, {}, true); } /** - * List tag protection states for a repository - * This returns the tag protection states of a repository. + * Deprecated - List tag protection states for a repository + * **Note**: This operation is deprecated and will be removed after August 30th 2024 + * Use the "[Repository + * Rulesets](https://docs.github.com/rest/repos/rules#get-all-repository-rulesets)" endpoint instead. * - * This information is only available to repository - * administrators. - * Learn more at {@link https://docs.github.com/rest/repos/tags#list-tag-protection-states-for-a-repository} + * This returns the tag + * protection states of a repository. + * + * This information is only available to repository administrators. + * @deprecated + * Learn more at {@link https://docs.github.com/rest/repos/tags#deprecated---list-tag-protection-states-for-a-repository} * Tags: repos */ -export async function reposListTagProtection( +export async function reposListTagProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -101893,13 +103053,21 @@ export async function reposListTagProtection( return ctx.handleResponse(res, {}, true); } /** - * Create a tag protection state for a repository - * This creates a tag protection state for a repository. + * Deprecated - Create a tag protection state for a repository + * **Note**: This operation is deprecated and will be removed after August 30th 2024 + * Use the "[Repository + * Rulesets](https://docs.github.com/rest/repos/rules#create-a-repository-ruleset)" endpoint instead. + * + * This creates a tag + * protection state for a repository. * This endpoint is only available to repository administrators. - * Learn more at {@link https://docs.github.com/rest/repos/tags#create-a-tag-protection-state-for-a-repository} + * @deprecated + * Learn more at {@link https://docs.github.com/rest/repos/tags#deprecated---create-a-tag-protection-state-for-a-repository} * Tags: repos */ -export async function reposCreateTagProtection( +export async function reposCreateTagProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -101927,13 +103095,21 @@ export async function reposCreateTagProtection( return ctx.handleResponse(res, {}, true); } /** - * Delete a tag protection state for a repository - * This deletes a tag protection state for a repository. + * Deprecated - Delete a tag protection state for a repository + * **Note**: This operation is deprecated and will be removed after August 30th 2024 + * Use the "[Repository + * Rulesets](https://docs.github.com/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead. + * + * This deletes a tag + * protection state for a repository. * This endpoint is only available to repository administrators. - * Learn more at {@link https://docs.github.com/rest/repos/tags#delete-a-tag-protection-state-for-a-repository} + * @deprecated + * Learn more at {@link https://docs.github.com/rest/repos/tags#deprecated---delete-a-tag-protection-state-for-a-repository} * Tags: repos */ -export async function reposDeleteTagProtection( +export async function reposDeleteTagProtection< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -101966,7 +103142,9 @@ export async function reposDeleteTagProtection( * Learn more at {@link https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar} * Tags: repos */ -export async function reposDownloadTarballArchive( +export async function reposDownloadTarballArchive< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -101996,7 +103174,7 @@ export async function reposDownloadTarballArchive( * Learn more at {@link https://docs.github.com/rest/repos/repos#list-repository-teams} * Tags: repos */ -export async function reposListTeams( +export async function reposListTeams( ctx: r.Context, params: { owner: string; @@ -102020,7 +103198,7 @@ export async function reposListTeams( * Learn more at {@link https://docs.github.com/rest/repos/repos#get-all-repository-topics} * Tags: repos */ -export async function reposGetAllTopics( +export async function reposGetAllTopics( ctx: r.Context, params: { owner: string; @@ -102044,7 +103222,9 @@ export async function reposGetAllTopics( * Learn more at {@link https://docs.github.com/rest/repos/repos#replace-all-repository-topics} * Tags: repos */ -export async function reposReplaceAllTopics( +export async function reposReplaceAllTopics< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -102078,7 +103258,7 @@ export async function reposReplaceAllTopics( * Learn more at {@link https://docs.github.com/rest/metrics/traffic#get-repository-clones} * Tags: repos */ -export async function reposGetClones( +export async function reposGetClones( ctx: r.Context, params: { owner: string; @@ -102110,7 +103290,7 @@ export async function reposGetClones( * Learn more at {@link https://docs.github.com/rest/metrics/traffic#get-top-referral-paths} * Tags: repos */ -export async function reposGetTopPaths( +export async function reposGetTopPaths( ctx: r.Context, params: { owner: string; @@ -102134,7 +103314,9 @@ export async function reposGetTopPaths( * Learn more at {@link https://docs.github.com/rest/metrics/traffic#get-top-referral-sources} * Tags: repos */ -export async function reposGetTopReferrers( +export async function reposGetTopReferrers< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -102159,7 +103341,7 @@ export async function reposGetTopReferrers( * Learn more at {@link https://docs.github.com/rest/metrics/traffic#get-page-views} * Tags: repos */ -export async function reposGetViews( +export async function reposGetViews( ctx: r.Context, params: { owner: string; @@ -102194,7 +103376,7 @@ export async function reposGetViews( * Learn more at {@link https://docs.github.com/rest/repos/repos#transfer-a-repository} * Tags: repos */ -export async function reposTransfer( +export async function reposTransfer( ctx: r.Context, params: { owner: string; @@ -102239,7 +103421,9 @@ export async function reposTransfer( * Learn more at {@link https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository} * Tags: repos */ -export async function reposCheckVulnerabilityAlerts( +export async function reposCheckVulnerabilityAlerts< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -102263,7 +103447,9 @@ export async function reposCheckVulnerabilityAlerts( * Learn more at {@link https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts} * Tags: repos */ -export async function reposEnableVulnerabilityAlerts( +export async function reposEnableVulnerabilityAlerts< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -102289,7 +103475,9 @@ export async function reposEnableVulnerabilityAlerts( * Learn more at {@link https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts} * Tags: repos */ -export async function reposDisableVulnerabilityAlerts( +export async function reposDisableVulnerabilityAlerts< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -102319,7 +103507,9 @@ export async function reposDisableVulnerabilityAlerts( * Learn more at {@link https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip} * Tags: repos */ -export async function reposDownloadZipballArchive( +export async function reposDownloadZipballArchive< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -102349,7 +103539,9 @@ export async function reposDownloadZipballArchive( * Learn more at {@link https://docs.github.com/rest/repos/repos#create-a-repository-using-a-template} * Tags: repos */ -export async function reposCreateUsingTemplate( +export async function reposCreateUsingTemplate< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { template_owner: string; @@ -102408,7 +103600,7 @@ export async function reposCreateUsingTemplate( * Learn more at {@link https://docs.github.com/rest/repos/repos#list-public-repositories} * Tags: repos */ -export async function reposListPublic( +export async function reposListPublic( ctx: r.Context, params: { since?: number; @@ -102475,7 +103667,7 @@ export async function reposListPublic( * Learn more at {@link https://docs.github.com/rest/search/search#search-code} * Tags: search */ -export async function searchCode( +export async function searchCode( ctx: r.Context, params: { q: string; @@ -102550,7 +103742,7 @@ export async function searchCode( * Learn more at {@link https://docs.github.com/rest/search/search#search-commits} * Tags: search */ -export async function searchCommits( +export async function searchCommits( ctx: r.Context, params: { q: string; @@ -102627,7 +103819,9 @@ export async function searchCommits( * Learn more at {@link https://docs.github.com/rest/search/search#search-issues-and-pull-requests} * Tags: search */ -export async function searchIssuesAndPullRequests( +export async function searchIssuesAndPullRequests< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { q: string; @@ -102715,7 +103909,7 @@ export async function searchIssuesAndPullRequests( * Learn more at {@link https://docs.github.com/rest/search/search#search-labels} * Tags: search */ -export async function searchLabels( +export async function searchLabels( ctx: r.Context, params: { repository_id: number; @@ -102772,7 +103966,7 @@ export async function searchLabels( * Learn more at {@link https://docs.github.com/rest/search/search#search-repositories} * Tags: search */ -export async function searchRepos( +export async function searchRepos( ctx: r.Context, params: { q: string; @@ -102849,7 +104043,7 @@ export async function searchRepos( * Learn more at {@link https://docs.github.com/rest/search/search#search-topics} * Tags: search */ -export async function searchTopics( +export async function searchTopics( ctx: r.Context, params: { q: string; @@ -102921,7 +104115,7 @@ export async function searchTopics( * Learn more at {@link https://docs.github.com/rest/search/search#search-users} * Tags: search */ -export async function searchUsers( +export async function searchUsers( ctx: r.Context, params: { q: string; @@ -102985,7 +104179,7 @@ export async function searchUsers( * Learn more at {@link https://docs.github.com/rest/teams/teams#get-a-team-legacy} * Tags: teams */ -export async function teamsGetLegacy( +export async function teamsGetLegacy( ctx: r.Context, params: { team_id: number; @@ -103022,7 +104216,7 @@ export async function teamsGetLegacy( * Learn more at {@link https://docs.github.com/rest/teams/teams#update-a-team-legacy} * Tags: teams */ -export async function teamsUpdateLegacy( +export async function teamsUpdateLegacy( ctx: r.Context, params: { team_id: number; @@ -103099,7 +104293,7 @@ export async function teamsUpdateLegacy( * Learn more at {@link https://docs.github.com/rest/teams/teams#delete-a-team-legacy} * Tags: teams */ -export async function teamsDeleteLegacy( +export async function teamsDeleteLegacy( ctx: r.Context, params: { team_id: number; @@ -103132,7 +104326,9 @@ export async function teamsDeleteLegacy( * Learn more at {@link https://docs.github.com/rest/teams/discussions#list-discussions-legacy} * Tags: teams */ -export async function teamsListDiscussionsLegacy( +export async function teamsListDiscussionsLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -103171,7 +104367,8 @@ export async function teamsListDiscussionsLegacy( * This endpoint triggers * [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). * Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate - * limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and + * limits for the + * API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and * "[Best practices for using the REST * API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * @@ -103181,7 +104378,9 @@ export async function teamsListDiscussionsLegacy( * Learn more at {@link https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy} * Tags: teams */ -export async function teamsCreateDiscussionLegacy( +export async function teamsCreateDiscussionLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -103231,7 +104430,9 @@ export async function teamsCreateDiscussionLegacy( * Learn more at {@link https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy} * Tags: teams */ -export async function teamsGetDiscussionLegacy( +export async function teamsGetDiscussionLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -103268,7 +104469,9 @@ export async function teamsGetDiscussionLegacy( * Learn more at {@link https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy} * Tags: teams */ -export async function teamsUpdateDiscussionLegacy( +export async function teamsUpdateDiscussionLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -103316,7 +104519,9 @@ export async function teamsUpdateDiscussionLegacy( * Learn more at {@link https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy} * Tags: teams */ -export async function teamsDeleteDiscussionLegacy( +export async function teamsDeleteDiscussionLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -103347,7 +104552,9 @@ export async function teamsDeleteDiscussionLegacy( * Learn more at {@link https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy} * Tags: teams */ -export async function teamsListDiscussionCommentsLegacy( +export async function teamsListDiscussionCommentsLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -103389,7 +104596,8 @@ export async function teamsListDiscussionCommentsLegacy( * This endpoint triggers * [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). * Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate - * limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and + * limits for the + * API](https://docs.github.com/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and * "[Best practices for using the REST * API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." * @@ -103399,7 +104607,9 @@ export async function teamsListDiscussionCommentsLegacy( * Learn more at {@link https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy} * Tags: teams */ -export async function teamsCreateDiscussionCommentLegacy( +export async function teamsCreateDiscussionCommentLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -103443,7 +104653,9 @@ export async function teamsCreateDiscussionCommentLegacy( * Learn more at {@link https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy} * Tags: teams */ -export async function teamsGetDiscussionCommentLegacy( +export async function teamsGetDiscussionCommentLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -103481,7 +104693,9 @@ export async function teamsGetDiscussionCommentLegacy( * Learn more at {@link https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy} * Tags: teams */ -export async function teamsUpdateDiscussionCommentLegacy( +export async function teamsUpdateDiscussionCommentLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -103526,7 +104740,9 @@ export async function teamsUpdateDiscussionCommentLegacy( * Learn more at {@link https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy} * Tags: teams */ -export async function teamsDeleteDiscussionCommentLegacy( +export async function teamsDeleteDiscussionCommentLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -103559,7 +104775,9 @@ export async function teamsDeleteDiscussionCommentLegacy( * Learn more at {@link https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy} * Tags: reactions */ -export async function reactionsListForTeamDiscussionCommentLegacy( +export async function reactionsListForTeamDiscussionCommentLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -103614,7 +104832,7 @@ export async function reactionsListForTeamDiscussionCommentLegacy( * Tags: reactions */ export async function reactionsCreateForTeamDiscussionCommentLegacy< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -103668,7 +104886,9 @@ export async function reactionsCreateForTeamDiscussionCommentLegacy< * Learn more at {@link https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy} * Tags: reactions */ -export async function reactionsListForTeamDiscussionLegacy( +export async function reactionsListForTeamDiscussionLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -103720,7 +104940,9 @@ export async function reactionsListForTeamDiscussionLegacy( * Learn more at {@link https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy} * Tags: reactions */ -export async function reactionsCreateForTeamDiscussionLegacy( +export async function reactionsCreateForTeamDiscussionLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -103771,7 +104993,9 @@ export async function reactionsCreateForTeamDiscussionLegacy( * Learn more at {@link https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy} * Tags: teams */ -export async function teamsListPendingInvitationsLegacy( +export async function teamsListPendingInvitationsLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -103800,7 +105024,9 @@ export async function teamsListPendingInvitationsLegacy( * Learn more at {@link https://docs.github.com/rest/teams/members#list-team-members-legacy} * Tags: teams */ -export async function teamsListMembersLegacy( +export async function teamsListMembersLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -103834,7 +105060,9 @@ export async function teamsListMembersLegacy( * Learn more at {@link https://docs.github.com/rest/teams/members#get-team-member-legacy} * Tags: teams */ -export async function teamsGetMemberLegacy( +export async function teamsGetMemberLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -103881,7 +105109,9 @@ export async function teamsGetMemberLegacy( * Learn more at {@link https://docs.github.com/rest/teams/members#add-team-member-legacy} * Tags: teams */ -export async function teamsAddMemberLegacy( +export async function teamsAddMemberLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -103929,7 +105159,9 @@ export async function teamsAddMemberLegacy( * Learn more at {@link https://docs.github.com/rest/teams/members#remove-team-member-legacy} * Tags: teams */ -export async function teamsRemoveMemberLegacy( +export async function teamsRemoveMemberLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -103967,7 +105199,9 @@ export async function teamsRemoveMemberLegacy( * Learn more at {@link https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy} * Tags: teams */ -export async function teamsGetMembershipForUserLegacy( +export async function teamsGetMembershipForUserLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -104020,7 +105254,9 @@ export async function teamsGetMembershipForUserLegacy( * Learn more at {@link https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy} * Tags: teams */ -export async function teamsAddOrUpdateMembershipForUserLegacy( +export async function teamsAddOrUpdateMembershipForUserLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -104074,7 +105310,9 @@ export async function teamsAddOrUpdateMembershipForUserLegacy( * Learn more at {@link https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy} * Tags: teams */ -export async function teamsRemoveMembershipForUserLegacy( +export async function teamsRemoveMembershipForUserLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -104101,7 +105339,9 @@ export async function teamsRemoveMembershipForUserLegacy( * Learn more at {@link https://docs.github.com/rest/teams/teams#list-team-projects-legacy} * Tags: teams */ -export async function teamsListProjectsLegacy( +export async function teamsListProjectsLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -104134,7 +105374,9 @@ export async function teamsListProjectsLegacy( * Learn more at {@link https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy} * Tags: teams */ -export async function teamsCheckPermissionsForProjectLegacy( +export async function teamsCheckPermissionsForProjectLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -104166,7 +105408,9 @@ export async function teamsCheckPermissionsForProjectLegacy( * Learn more at {@link https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy} * Tags: teams */ -export async function teamsAddOrUpdateProjectPermissionsLegacy( +export async function teamsAddOrUpdateProjectPermissionsLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -104214,7 +105458,9 @@ export async function teamsAddOrUpdateProjectPermissionsLegacy( * Learn more at {@link https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy} * Tags: teams */ -export async function teamsRemoveProjectLegacy( +export async function teamsRemoveProjectLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -104243,7 +105489,9 @@ export async function teamsRemoveProjectLegacy( * Learn more at {@link https://docs.github.com/rest/teams/teams#list-team-repositories-legacy} * Tags: teams */ -export async function teamsListReposLegacy( +export async function teamsListReposLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -104282,12 +105530,16 @@ export async function teamsListReposLegacy( * * You can also * get information about the specified repository, including what permissions the team grants on it, by passing the - * following custom [media type](https://docs.github.com/rest/overview/media-types/) via the `Accept` header: + * following custom [media + * type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `Accept` + * header: * @deprecated * Learn more at {@link https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy} * Tags: teams */ -export async function teamsCheckPermissionsForRepoLegacy( +export async function teamsCheckPermissionsForRepoLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -104333,7 +105585,9 @@ export async function teamsCheckPermissionsForRepoLegacy( * Learn more at {@link https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy} * Tags: teams */ -export async function teamsAddOrUpdateRepoPermissionsLegacy( +export async function teamsAddOrUpdateRepoPermissionsLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -104375,7 +105629,9 @@ export async function teamsAddOrUpdateRepoPermissionsLegacy( * Learn more at {@link https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy} * Tags: teams */ -export async function teamsRemoveRepoLegacy( +export async function teamsRemoveRepoLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -104401,7 +105657,9 @@ export async function teamsRemoveRepoLegacy( * Learn more at {@link https://docs.github.com/rest/teams/teams#list-child-teams-legacy} * Tags: teams */ -export async function teamsListChildLegacy( +export async function teamsListChildLegacy< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { team_id: number; @@ -104431,7 +105689,9 @@ export async function teamsListChildLegacy( * Learn more at {@link https://docs.github.com/rest/users/users#get-the-authenticated-user} * Tags: users */ -export async function usersGetAuthenticated( +export async function usersGetAuthenticated< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, opts?: FetcherData, @@ -104474,7 +105734,9 @@ export async function usersGetAuthenticated( * Learn more at {@link https://docs.github.com/rest/users/users#update-the-authenticated-user} * Tags: users */ -export async function usersUpdateAuthenticated( +export async function usersUpdateAuthenticated< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: { @@ -104547,7 +105809,9 @@ export async function usersUpdateAuthenticated( * Learn more at {@link https://docs.github.com/rest/users/blocking#list-users-blocked-by-the-authenticated-user} * Tags: users */ -export async function usersListBlockedByAuthenticatedUser( +export async function usersListBlockedByAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -104577,7 +105841,7 @@ export async function usersListBlockedByAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user} * Tags: users */ -export async function usersCheckBlocked( +export async function usersCheckBlocked( ctx: r.Context, params: { username: string; @@ -104604,7 +105868,7 @@ export async function usersCheckBlocked( * Learn more at {@link https://docs.github.com/rest/users/blocking#block-a-user} * Tags: users */ -export async function usersBlock( +export async function usersBlock( ctx: r.Context, params: { username: string; @@ -104632,7 +105896,7 @@ export async function usersBlock( * Learn more at {@link https://docs.github.com/rest/users/blocking#unblock-a-user} * Tags: users */ -export async function usersUnblock( +export async function usersUnblock( ctx: r.Context, params: { username: string; @@ -104662,7 +105926,9 @@ export async function usersUnblock( * Learn more at {@link https://docs.github.com/rest/codespaces/codespaces#list-codespaces-for-the-authenticated-user} * Tags: codespaces */ -export async function codespacesListForAuthenticatedUser( +export async function codespacesListForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -104717,7 +105983,9 @@ export async function codespacesListForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-for-the-authenticated-user} * Tags: codespaces */ -export async function codespacesCreateForAuthenticatedUser( +export async function codespacesCreateForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: @@ -104855,7 +106123,9 @@ export async function codespacesCreateForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/codespaces/secrets#list-secrets-for-the-authenticated-user} * Tags: codespaces */ -export async function codespacesListSecretsForAuthenticatedUser( +export async function codespacesListSecretsForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -104904,7 +106174,9 @@ export async function codespacesListSecretsForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/codespaces/secrets#get-public-key-for-the-authenticated-user} * Tags: codespaces */ -export async function codespacesGetPublicKeyForAuthenticatedUser( +export async function codespacesGetPublicKeyForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, opts?: FetcherData, @@ -104929,7 +106201,9 @@ export async function codespacesGetPublicKeyForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user} * Tags: codespaces */ -export async function codespacesGetSecretForAuthenticatedUser( +export async function codespacesGetSecretForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { secret_name: string; @@ -104966,7 +106240,7 @@ export async function codespacesGetSecretForAuthenticatedUser( * Tags: codespaces */ export async function codespacesCreateOrUpdateSecretForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -105015,7 +106289,9 @@ export async function codespacesCreateOrUpdateSecretForAuthenticatedUser< * Learn more at {@link https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user} * Tags: codespaces */ -export async function codespacesDeleteSecretForAuthenticatedUser( +export async function codespacesDeleteSecretForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { secret_name: string; @@ -105043,7 +106319,7 @@ export async function codespacesDeleteSecretForAuthenticatedUser( * Tags: codespaces */ export async function codespacesListRepositoriesForSecretForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -105100,7 +106376,7 @@ export async function codespacesListRepositoriesForSecretForAuthenticatedUser< * Tags: codespaces */ export async function codespacesSetRepositoriesForSecretForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -105142,7 +106418,7 @@ export async function codespacesSetRepositoriesForSecretForAuthenticatedUser< * Tags: codespaces */ export async function codespacesAddRepositoryForSecretForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -105178,7 +106454,7 @@ export async function codespacesAddRepositoryForSecretForAuthenticatedUser< * Tags: codespaces */ export async function codespacesRemoveRepositoryForSecretForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -105210,7 +106486,9 @@ export async function codespacesRemoveRepositoryForSecretForAuthenticatedUser< * Learn more at {@link https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user} * Tags: codespaces */ -export async function codespacesGetForAuthenticatedUser( +export async function codespacesGetForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { codespace_name: string; @@ -105250,7 +106528,9 @@ export async function codespacesGetForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user} * Tags: codespaces */ -export async function codespacesUpdateForAuthenticatedUser( +export async function codespacesUpdateForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { codespace_name: string; @@ -105300,7 +106580,9 @@ export async function codespacesUpdateForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user} * Tags: codespaces */ -export async function codespacesDeleteForAuthenticatedUser( +export async function codespacesDeleteForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { codespace_name: string; @@ -105335,7 +106617,9 @@ export async function codespacesDeleteForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user} * Tags: codespaces */ -export async function codespacesExportForAuthenticatedUser( +export async function codespacesExportForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { codespace_name: string; @@ -105375,7 +106659,7 @@ export async function codespacesExportForAuthenticatedUser( * Tags: codespaces */ export async function codespacesGetExportDetailsForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -105413,7 +106697,7 @@ export async function codespacesGetExportDetailsForAuthenticatedUser< * Tags: codespaces */ export async function codespacesCodespaceMachinesForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -105457,7 +106741,9 @@ export async function codespacesCodespaceMachinesForAuthenticatedUser< * Learn more at {@link https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace} * Tags: codespaces */ -export async function codespacesPublishForAuthenticatedUser( +export async function codespacesPublishForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { codespace_name: string; @@ -105506,7 +106792,9 @@ export async function codespacesPublishForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user} * Tags: codespaces */ -export async function codespacesStartForAuthenticatedUser( +export async function codespacesStartForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { codespace_name: string; @@ -105546,7 +106834,9 @@ export async function codespacesStartForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user} * Tags: codespaces */ -export async function codespacesStopForAuthenticatedUser( +export async function codespacesStopForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { codespace_name: string; @@ -105584,7 +106874,7 @@ export async function codespacesStopForAuthenticatedUser( * Tags: packages */ export async function packagesListDockerMigrationConflictingPackagesForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: {}, @@ -105611,7 +106901,7 @@ export async function packagesListDockerMigrationConflictingPackagesForAuthentic * Tags: users */ export async function usersSetPrimaryEmailVisibilityForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: {}, @@ -105649,7 +106939,9 @@ export async function usersSetPrimaryEmailVisibilityForAuthenticatedUser< * Learn more at {@link https://docs.github.com/rest/users/emails#list-email-addresses-for-the-authenticated-user} * Tags: users */ -export async function usersListEmailsForAuthenticatedUser( +export async function usersListEmailsForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -105678,7 +106970,9 @@ export async function usersListEmailsForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/users/emails#add-an-email-address-for-the-authenticated-user} * Tags: users */ -export async function usersAddEmailForAuthenticatedUser( +export async function usersAddEmailForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: @@ -105715,7 +107009,9 @@ export async function usersAddEmailForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/users/emails#delete-an-email-address-for-the-authenticated-user} * Tags: users */ -export async function usersDeleteEmailForAuthenticatedUser( +export async function usersDeleteEmailForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: @@ -105751,7 +107047,9 @@ export async function usersDeleteEmailForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/users/followers#list-followers-of-the-authenticated-user} * Tags: users */ -export async function usersListFollowersForAuthenticatedUser( +export async function usersListFollowersForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -105779,7 +107077,9 @@ export async function usersListFollowersForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/users/followers#list-the-people-the-authenticated-user-follows} * Tags: users */ -export async function usersListFollowedByAuthenticatedUser( +export async function usersListFollowedByAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -105806,7 +107106,9 @@ export async function usersListFollowedByAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user} * Tags: users */ -export async function usersCheckPersonIsFollowedByAuthenticated( +export async function usersCheckPersonIsFollowedByAuthenticated< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -105837,7 +107139,7 @@ export async function usersCheckPersonIsFollowedByAuthenticated( * Learn more at {@link https://docs.github.com/rest/users/followers#follow-a-user} * Tags: users */ -export async function usersFollow( +export async function usersFollow( ctx: r.Context, params: { username: string; @@ -105864,7 +107166,7 @@ export async function usersFollow( * Learn more at {@link https://docs.github.com/rest/users/followers#unfollow-a-user} * Tags: users */ -export async function usersUnfollow( +export async function usersUnfollow( ctx: r.Context, params: { username: string; @@ -105894,7 +107196,9 @@ export async function usersUnfollow( * Learn more at {@link https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-the-authenticated-user} * Tags: users */ -export async function usersListGpgKeysForAuthenticatedUser( +export async function usersListGpgKeysForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -105932,7 +107236,9 @@ export async function usersListGpgKeysForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/users/gpg-keys#create-a-gpg-key-for-the-authenticated-user} * Tags: users */ -export async function usersCreateGpgKeyForAuthenticatedUser( +export async function usersCreateGpgKeyForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: { @@ -105978,7 +107284,9 @@ export async function usersCreateGpgKeyForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user} * Tags: users */ -export async function usersGetGpgKeyForAuthenticatedUser( +export async function usersGetGpgKeyForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { gpg_key_id: number; @@ -106014,7 +107322,9 @@ export async function usersGetGpgKeyForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user} * Tags: users */ -export async function usersDeleteGpgKeyForAuthenticatedUser( +export async function usersDeleteGpgKeyForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { gpg_key_id: number; @@ -106049,7 +107359,9 @@ export async function usersDeleteGpgKeyForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/apps/installations#list-app-installations-accessible-to-the-user-access-token} * Tags: apps */ -export async function appsListInstallationsForAuthenticatedUser( +export async function appsListInstallationsForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -106107,7 +107419,7 @@ export async function appsListInstallationsForAuthenticatedUser( * Tags: apps */ export async function appsListInstallationReposForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -106157,7 +107469,7 @@ export async function appsListInstallationReposForAuthenticatedUser< * Tags: apps */ export async function appsAddRepoToInstallationForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -106187,7 +107499,7 @@ export async function appsAddRepoToInstallationForAuthenticatedUser< * Tags: apps */ export async function appsRemoveRepoFromInstallationForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -106217,7 +107529,7 @@ export async function appsRemoveRepoFromInstallationForAuthenticatedUser< * Tags: interactions */ export async function interactionsGetRestrictionsForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: {}, @@ -106253,7 +107565,7 @@ export async function interactionsGetRestrictionsForAuthenticatedUser< * Tags: interactions */ export async function interactionsSetRestrictionsForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: {}, @@ -106287,7 +107599,7 @@ export async function interactionsSetRestrictionsForAuthenticatedUser< * Tags: interactions */ export async function interactionsRemoveRestrictionsForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: {}, @@ -106330,7 +107642,9 @@ export async function interactionsRemoveRestrictionsForAuthenticatedUser< * Learn more at {@link https://docs.github.com/rest/issues/issues#list-user-account-issues-assigned-to-the-authenticated-user} * Tags: issues */ -export async function issuesListForAuthenticatedUser( +export async function issuesListForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { filter?: @@ -106387,7 +107701,9 @@ export async function issuesListForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/users/keys#list-public-ssh-keys-for-the-authenticated-user} * Tags: users */ -export async function usersListPublicSshKeysForAuthenticatedUser( +export async function usersListPublicSshKeysForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -106425,7 +107741,9 @@ export async function usersListPublicSshKeysForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/users/keys#create-a-public-ssh-key-for-the-authenticated-user} * Tags: users */ -export async function usersCreatePublicSshKeyForAuthenticatedUser( +export async function usersCreatePublicSshKeyForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: { @@ -106472,7 +107790,9 @@ export async function usersCreatePublicSshKeyForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user} * Tags: users */ -export async function usersGetPublicSshKeyForAuthenticatedUser( +export async function usersGetPublicSshKeyForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { key_id: number; @@ -106508,7 +107828,9 @@ export async function usersGetPublicSshKeyForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user} * Tags: users */ -export async function usersDeletePublicSshKeyForAuthenticatedUser( +export async function usersDeletePublicSshKeyForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { key_id: number; @@ -106535,7 +107857,9 @@ export async function usersDeletePublicSshKeyForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/apps/marketplace#list-subscriptions-for-the-authenticated-user} * Tags: apps */ -export async function appsListSubscriptionsForAuthenticatedUser( +export async function appsListSubscriptionsForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -106574,7 +107898,7 @@ export async function appsListSubscriptionsForAuthenticatedUser( * Tags: apps */ export async function appsListSubscriptionsForAuthenticatedUserStubbed< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -106612,7 +107936,9 @@ export async function appsListSubscriptionsForAuthenticatedUserStubbed< * Learn more at {@link https://docs.github.com/rest/orgs/members#list-organization-memberships-for-the-authenticated-user} * Tags: orgs */ -export async function orgsListMembershipsForAuthenticatedUser( +export async function orgsListMembershipsForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { state?: 'active' | 'pending'; @@ -106644,7 +107970,9 @@ export async function orgsListMembershipsForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user} * Tags: orgs */ -export async function orgsGetMembershipForAuthenticatedUser( +export async function orgsGetMembershipForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -106670,7 +107998,9 @@ export async function orgsGetMembershipForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user} * Tags: orgs */ -export async function orgsUpdateMembershipForAuthenticatedUser( +export async function orgsUpdateMembershipForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { org: string; @@ -106703,7 +108033,9 @@ export async function orgsUpdateMembershipForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/migrations/users#list-user-migrations} * Tags: migrations */ -export async function migrationsListForAuthenticatedUser( +export async function migrationsListForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -106737,7 +108069,9 @@ export async function migrationsListForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/migrations/users#start-a-user-migration} * Tags: migrations */ -export async function migrationsStartForAuthenticatedUser( +export async function migrationsStartForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: { @@ -106826,7 +108160,9 @@ export async function migrationsStartForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/migrations/users#get-a-user-migration-status} * Tags: migrations */ -export async function migrationsGetStatusForAuthenticatedUser( +export async function migrationsGetStatusForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { migration_id: number; @@ -106886,7 +108222,9 @@ export async function migrationsGetStatusForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/migrations/users#download-a-user-migration-archive} * Tags: migrations */ -export async function migrationsGetArchiveForAuthenticatedUser( +export async function migrationsGetArchiveForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { migration_id: number; @@ -106916,7 +108254,9 @@ export async function migrationsGetArchiveForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive} * Tags: migrations */ -export async function migrationsDeleteArchiveForAuthenticatedUser( +export async function migrationsDeleteArchiveForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { migration_id: number; @@ -106947,7 +108287,9 @@ export async function migrationsDeleteArchiveForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/migrations/users#unlock-a-user-repository} * Tags: migrations */ -export async function migrationsUnlockRepoForAuthenticatedUser( +export async function migrationsUnlockRepoForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { migration_id: number; @@ -106975,7 +108317,9 @@ export async function migrationsUnlockRepoForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration} * Tags: migrations */ -export async function migrationsListReposForAuthenticatedUser( +export async function migrationsListReposForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { migration_id: number; @@ -107015,7 +108359,9 @@ export async function migrationsListReposForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/orgs/orgs#list-organizations-for-the-authenticated-user} * Tags: orgs */ -export async function orgsListForAuthenticatedUser( +export async function orgsListForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -107049,7 +108395,9 @@ export async function orgsListForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/packages/packages#list-packages-for-the-authenticated-users-namespace} * Tags: packages */ -export async function packagesListPackagesForAuthenticatedUser( +export async function packagesListPackagesForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -107092,7 +108440,9 @@ export async function packagesListPackagesForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user} * Tags: packages */ -export async function packagesGetPackageForAuthenticatedUser( +export async function packagesGetPackageForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -107133,7 +108483,9 @@ export async function packagesGetPackageForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user} * Tags: packages */ -export async function packagesDeletePackageForAuthenticatedUser( +export async function packagesDeletePackageForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -107179,7 +108531,9 @@ export async function packagesDeletePackageForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user} * Tags: packages */ -export async function packagesRestorePackageForAuthenticatedUser( +export async function packagesRestorePackageForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -107221,7 +108575,7 @@ export async function packagesRestorePackageForAuthenticatedUser( * Tags: packages */ export async function packagesGetAllPackageVersionsForPackageOwnedByAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -107274,7 +108628,7 @@ export async function packagesGetAllPackageVersionsForPackageOwnedByAuthenticate * Tags: packages */ export async function packagesGetPackageVersionForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -107321,7 +108675,7 @@ export async function packagesGetPackageVersionForAuthenticatedUser< * Tags: packages */ export async function packagesDeletePackageVersionForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -107371,7 +108725,7 @@ export async function packagesDeletePackageVersionForAuthenticatedUser< * Tags: packages */ export async function packagesRestorePackageVersionForAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -107407,7 +108761,9 @@ export async function packagesRestorePackageVersionForAuthenticatedUser< * Learn more at {@link https://docs.github.com/rest/projects/projects#create-a-user-project} * Tags: projects */ -export async function projectsCreateForAuthenticatedUser( +export async function projectsCreateForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: { @@ -107458,7 +108814,9 @@ export async function projectsCreateForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/users/emails#list-public-email-addresses-for-the-authenticated-user} * Tags: users */ -export async function usersListPublicEmailsForAuthenticatedUser( +export async function usersListPublicEmailsForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -107491,7 +108849,9 @@ export async function usersListPublicEmailsForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/repos/repos#list-repositories-for-the-authenticated-user} * Tags: repos */ -export async function reposListForAuthenticatedUser( +export async function reposListForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { visibility?: 'all' | 'public' | 'private'; @@ -107546,7 +108906,9 @@ export async function reposListForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/repos/repos#create-a-repository-for-the-authenticated-user} * Tags: repos */ -export async function reposCreateForAuthenticatedUser( +export async function reposCreateForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: { @@ -107707,7 +109069,9 @@ export async function reposCreateForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user} * Tags: repos */ -export async function reposListInvitationsForAuthenticatedUser( +export async function reposListInvitationsForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -107743,7 +109107,9 @@ export async function reposListInvitationsForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation} * Tags: repos */ -export async function reposAcceptInvitationForAuthenticatedUser( +export async function reposAcceptInvitationForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { invitation_id: number; @@ -107769,7 +109135,9 @@ export async function reposAcceptInvitationForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation} * Tags: repos */ -export async function reposDeclineInvitationForAuthenticatedUser( +export async function reposDeclineInvitationForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { invitation_id: number; @@ -107796,7 +109164,9 @@ export async function reposDeclineInvitationForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-the-authenticated-user} * Tags: users */ -export async function usersListSocialAccountsForAuthenticatedUser( +export async function usersListSocialAccountsForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -107828,7 +109198,9 @@ export async function usersListSocialAccountsForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/users/social-accounts#add-social-accounts-for-the-authenticated-user} * Tags: users */ -export async function usersAddSocialAccountForAuthenticatedUser( +export async function usersAddSocialAccountForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: { @@ -107865,7 +109237,9 @@ export async function usersAddSocialAccountForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/users/social-accounts#delete-social-accounts-for-the-authenticated-user} * Tags: users */ -export async function usersDeleteSocialAccountForAuthenticatedUser( +export async function usersDeleteSocialAccountForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: { @@ -107902,7 +109276,9 @@ export async function usersDeleteSocialAccountForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-the-authenticated-user} * Tags: users */ -export async function usersListSshSigningKeysForAuthenticatedUser( +export async function usersListSshSigningKeysForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -107942,7 +109318,9 @@ export async function usersListSshSigningKeysForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/users/ssh-signing-keys#create-a-ssh-signing-key-for-the-authenticated-user} * Tags: users */ -export async function usersCreateSshSigningKeyForAuthenticatedUser( +export async function usersCreateSshSigningKeyForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: { @@ -107989,7 +109367,9 @@ export async function usersCreateSshSigningKeyForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user} * Tags: users */ -export async function usersGetSshSigningKeyForAuthenticatedUser( +export async function usersGetSshSigningKeyForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ssh_signing_key_id: number; @@ -108025,7 +109405,9 @@ export async function usersGetSshSigningKeyForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user} * Tags: users */ -export async function usersDeleteSshSigningKeyForAuthenticatedUser( +export async function usersDeleteSshSigningKeyForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ssh_signing_key_id: number; @@ -108059,7 +109441,9 @@ export async function usersDeleteSshSigningKeyForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user} * Tags: activity */ -export async function activityListReposStarredByAuthenticatedUser( +export async function activityListReposStarredByAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { sort?: 'created' | 'updated'; @@ -108096,7 +109480,7 @@ export async function activityListReposStarredByAuthenticatedUser( * Tags: activity */ export async function activityCheckRepoIsStarredByAuthenticatedUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -108126,7 +109510,9 @@ export async function activityCheckRepoIsStarredByAuthenticatedUser< * Learn more at {@link https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user} * Tags: activity */ -export async function activityStarRepoForAuthenticatedUser( +export async function activityStarRepoForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -108154,7 +109540,9 @@ export async function activityStarRepoForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user} * Tags: activity */ -export async function activityUnstarRepoForAuthenticatedUser( +export async function activityUnstarRepoForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { owner: string; @@ -108182,7 +109570,9 @@ export async function activityUnstarRepoForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/activity/watching#list-repositories-watched-by-the-authenticated-user} * Tags: activity */ -export async function activityListWatchedReposForAuthenticatedUser( +export async function activityListWatchedReposForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -108226,7 +109616,9 @@ export async function activityListWatchedReposForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/teams/teams#list-teams-for-the-authenticated-user} * Tags: teams */ -export async function teamsListForAuthenticatedUser( +export async function teamsListForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { per_page?: number; @@ -108265,7 +109657,7 @@ export async function teamsListForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/users/users#list-users} * Tags: users */ -export async function usersList( +export async function usersList( ctx: r.Context, params: { since?: number; @@ -108301,7 +109693,7 @@ export async function usersList( * Learn more at {@link https://docs.github.com/rest/users/users#get-a-user} * Tags: users */ -export async function usersGetByUsername( +export async function usersGetByUsername( ctx: r.Context, params: { username: string; @@ -108347,7 +109739,7 @@ export async function usersGetByUsername( * Tags: packages */ export async function packagesListDockerMigrationConflictingPackagesForUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -108379,7 +109771,9 @@ export async function packagesListDockerMigrationConflictingPackagesForUser< * Learn more at {@link https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user} * Tags: activity */ -export async function activityListEventsForAuthenticatedUser( +export async function activityListEventsForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -108409,7 +109803,9 @@ export async function activityListEventsForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user} * Tags: activity */ -export async function activityListOrgEventsForAuthenticatedUser( +export async function activityListOrgEventsForAuthenticatedUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -108439,7 +109835,9 @@ export async function activityListOrgEventsForAuthenticatedUser( * Learn more at {@link https://docs.github.com/rest/activity/events#list-public-events-for-a-user} * Tags: activity */ -export async function activityListPublicEventsForUser( +export async function activityListPublicEventsForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -108469,7 +109867,9 @@ export async function activityListPublicEventsForUser( * Learn more at {@link https://docs.github.com/rest/users/followers#list-followers-of-a-user} * Tags: users */ -export async function usersListFollowersForUser( +export async function usersListFollowersForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -108493,7 +109893,9 @@ export async function usersListFollowersForUser( * Learn more at {@link https://docs.github.com/rest/users/followers#list-the-people-a-user-follows} * Tags: users */ -export async function usersListFollowingForUser( +export async function usersListFollowingForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -108516,7 +109918,9 @@ export async function usersListFollowingForUser( * Learn more at {@link https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user} * Tags: users */ -export async function usersCheckFollowingForUser( +export async function usersCheckFollowingForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -108538,7 +109942,7 @@ export async function usersCheckFollowingForUser( * Learn more at {@link https://docs.github.com/rest/gists/gists#list-gists-for-a-user} * Tags: gists */ -export async function gistsListForUser( +export async function gistsListForUser( ctx: r.Context, params: { username: string; @@ -108571,7 +109975,9 @@ export async function gistsListForUser( * Learn more at {@link https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user} * Tags: users */ -export async function usersListGpgKeysForUser( +export async function usersListGpgKeysForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -108610,7 +110016,9 @@ export async function usersListGpgKeysForUser( * Learn more at {@link https://docs.github.com/rest/users/users#get-contextual-information-for-a-user} * Tags: users */ -export async function usersGetContextForUser( +export async function usersGetContextForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -108642,7 +110050,9 @@ export async function usersGetContextForUser( * Learn more at {@link https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app} * Tags: apps */ -export async function appsGetUserInstallation( +export async function appsGetUserInstallation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -108669,7 +110079,9 @@ export async function appsGetUserInstallation( * Learn more at {@link https://docs.github.com/rest/users/keys#list-public-keys-for-a-user} * Tags: users */ -export async function usersListPublicKeysForUser( +export async function usersListPublicKeysForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -108699,7 +110111,7 @@ export async function usersListPublicKeysForUser( * Learn more at {@link https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user} * Tags: orgs */ -export async function orgsListForUser( +export async function orgsListForUser( ctx: r.Context, params: { username: string; @@ -108729,7 +110141,9 @@ export async function orgsListForUser( * Learn more at {@link https://docs.github.com/rest/packages/packages#list-packages-for-a-user} * Tags: packages */ -export async function packagesListPackagesForUser( +export async function packagesListPackagesForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -108778,7 +110192,9 @@ export async function packagesListPackagesForUser( * Learn more at {@link https://docs.github.com/rest/packages/packages#get-a-package-for-a-user} * Tags: packages */ -export async function packagesGetPackageForUser( +export async function packagesGetPackageForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -108825,7 +110241,9 @@ export async function packagesGetPackageForUser( * Learn more at {@link https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user} * Tags: packages */ -export async function packagesDeletePackageForUser( +export async function packagesDeletePackageForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -108878,7 +110296,9 @@ export async function packagesDeletePackageForUser( * Learn more at {@link https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user} * Tags: packages */ -export async function packagesRestorePackageForUser( +export async function packagesRestorePackageForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -108921,7 +110341,7 @@ export async function packagesRestorePackageForUser( * Tags: packages */ export async function packagesGetAllPackageVersionsForPackageOwnedByUser< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -108970,7 +110390,9 @@ export async function packagesGetAllPackageVersionsForPackageOwnedByUser< * Learn more at {@link https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user} * Tags: packages */ -export async function packagesGetPackageVersionForUser( +export async function packagesGetPackageVersionForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -109018,7 +110440,9 @@ export async function packagesGetPackageVersionForUser( * Learn more at {@link https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user} * Tags: packages */ -export async function packagesDeletePackageVersionForUser( +export async function packagesDeletePackageVersionForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -109072,7 +110496,9 @@ export async function packagesDeletePackageVersionForUser( * Learn more at {@link https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user} * Tags: packages */ -export async function packagesRestorePackageVersionForUser( +export async function packagesRestorePackageVersionForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { package_type: @@ -109107,7 +110533,9 @@ export async function packagesRestorePackageVersionForUser( * Learn more at {@link https://docs.github.com/rest/projects/projects#list-user-projects} * Tags: projects */ -export async function projectsListForUser( +export async function projectsListForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -109141,7 +110569,9 @@ export async function projectsListForUser( * Learn more at {@link https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user} * Tags: activity */ -export async function activityListReceivedEventsForUser( +export async function activityListReceivedEventsForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -109170,7 +110600,9 @@ export async function activityListReceivedEventsForUser( * Learn more at {@link https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user} * Tags: activity */ -export async function activityListReceivedPublicEventsForUser( +export async function activityListReceivedPublicEventsForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -109200,7 +110632,7 @@ export async function activityListReceivedPublicEventsForUser( * Learn more at {@link https://docs.github.com/rest/repos/repos#list-repositories-for-a-user} * Tags: repos */ -export async function reposListForUser( +export async function reposListForUser( ctx: r.Context, params: { username: string; @@ -109244,7 +110676,9 @@ export async function reposListForUser( * Learn more at {@link https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user} * Tags: billing */ -export async function billingGetGithubActionsBillingUser( +export async function billingGetGithubActionsBillingUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -109272,7 +110706,9 @@ export async function billingGetGithubActionsBillingUser( * Learn more at {@link https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user} * Tags: billing */ -export async function billingGetGithubPackagesBillingUser( +export async function billingGetGithubPackagesBillingUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -109300,7 +110736,9 @@ export async function billingGetGithubPackagesBillingUser( * Learn more at {@link https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user} * Tags: billing */ -export async function billingGetSharedStorageBillingUser( +export async function billingGetSharedStorageBillingUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -109321,7 +110759,9 @@ export async function billingGetSharedStorageBillingUser( * Learn more at {@link https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user} * Tags: users */ -export async function usersListSocialAccountsForUser( +export async function usersListSocialAccountsForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -109345,7 +110785,9 @@ export async function usersListSocialAccountsForUser( * Learn more at {@link https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user} * Tags: users */ -export async function usersListSshSigningKeysForUser( +export async function usersListSshSigningKeysForUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -109383,7 +110825,9 @@ export async function usersListSshSigningKeysForUser( * Learn more at {@link https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user} * Tags: activity */ -export async function activityListReposStarredByUser( +export async function activityListReposStarredByUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -109429,7 +110873,9 @@ export async function activityListReposStarredByUser( * Learn more at {@link https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user} * Tags: activity */ -export async function activityListReposWatchedByUser( +export async function activityListReposWatchedByUser< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { username: string; @@ -109461,7 +110907,7 @@ export async function activityListReposWatchedByUser( * Learn more at {@link https://docs.github.com/rest/meta/meta#get-all-api-versions} * Tags: meta */ -export async function metaGetAllVersions( +export async function metaGetAllVersions( ctx: r.Context, params: {}, opts?: FetcherData, @@ -109482,7 +110928,7 @@ export async function metaGetAllVersions( * Learn more at {@link https://docs.github.com/rest/meta/meta#get-the-zen-of-github} * Tags: meta */ -export async function metaGetZen( +export async function metaGetZen( ctx: r.Context, params: {}, opts?: FetcherData, diff --git a/examples/src/petstore.ts b/examples/src/petstore.ts index b5e21c9..cd1e6fd 100644 --- a/examples/src/petstore.ts +++ b/examples/src/petstore.ts @@ -142,7 +142,7 @@ export function configureAuth( ), }; } -export function createContext( +export function createContext( params?: r.CreateContextParams, ): r.Context { return new r.Context({ @@ -156,7 +156,7 @@ export function createContext( * Update an existing pet by Id * Tags: pet */ -export async function updatePet( +export async function updatePet( ctx: r.Context, params: {}, body: Pet, @@ -182,7 +182,7 @@ export async function updatePet( * Add a new pet to the store * Tags: pet */ -export async function addPet( +export async function addPet( ctx: r.Context, params: {}, body: Pet, @@ -203,7 +203,7 @@ export async function addPet( * Multiple status values can be provided with comma separated strings * Tags: pet */ -export async function findPetsByStatus( +export async function findPetsByStatus( ctx: r.Context, params: { status?: 'available' | 'pending' | 'sold'; @@ -225,7 +225,7 @@ export async function findPetsByStatus( * Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing. * Tags: pet */ -export async function findPetsByTags( +export async function findPetsByTags( ctx: r.Context, params: { tags?: string[]; @@ -247,7 +247,7 @@ export async function findPetsByTags( * Returns a single pet * Tags: pet */ -export async function getPetById( +export async function getPetById( ctx: r.Context, params: { petId: number; @@ -271,7 +271,7 @@ export async function getPetById( * Updates a pet in the store with form data * Tags: pet */ -export async function updatePetWithForm( +export async function updatePetWithForm( ctx: r.Context, params: { petId: number; @@ -294,7 +294,7 @@ export async function updatePetWithForm( * Deletes a pet * Tags: pet */ -export async function deletePet( +export async function deletePet( ctx: r.Context, params: { api_key?: string; @@ -315,7 +315,7 @@ export async function deletePet( * uploads an image * Tags: pet */ -export async function uploadFile( +export async function uploadFile( ctx: r.Context, params: { petId: number; @@ -340,7 +340,7 @@ export async function uploadFile( * Returns a map of status codes to quantities * Tags: store */ -export async function getInventory( +export async function getInventory( ctx: r.Context, params: {}, opts?: FetcherData, @@ -366,7 +366,7 @@ export async function getInventory( * Place a new order in the store * Tags: store */ -export async function placeOrder( +export async function placeOrder( ctx: r.Context, params: {}, body: Order, @@ -392,7 +392,7 @@ export async function placeOrder( * For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions. * Tags: store */ -export async function getOrderById( +export async function getOrderById( ctx: r.Context, params: { orderId: number; @@ -422,7 +422,7 @@ export async function getOrderById( * For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors * Tags: store */ -export async function deleteOrder( +export async function deleteOrder( ctx: r.Context, params: { orderId: number; @@ -442,7 +442,7 @@ export async function deleteOrder( * This can only be done by the logged in user. * Tags: user */ -export async function createUser( +export async function createUser( ctx: r.Context, params: {}, body: User, @@ -462,7 +462,9 @@ export async function createUser( * Creates list of users with given input array * Tags: user */ -export async function createUsersWithListInput( +export async function createUsersWithListInput< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: User[], @@ -481,7 +483,7 @@ export async function createUsersWithListInput( * Logs user into the system * Tags: user */ -export async function loginUser( +export async function loginUser( ctx: r.Context, params: { username?: string; @@ -502,7 +504,7 @@ export async function loginUser( * Logs out current logged in user session * Tags: user */ -export async function logoutUser( +export async function logoutUser( ctx: r.Context, params: {}, opts?: FetcherData, @@ -519,7 +521,7 @@ export async function logoutUser( * Get user by user name * Tags: user */ -export async function getUserByName( +export async function getUserByName( ctx: r.Context, params: { username: string; @@ -543,7 +545,7 @@ export async function getUserByName( * This can only be done by the logged in user. * Tags: user */ -export async function updateUser( +export async function updateUser( ctx: r.Context, params: { username: string; @@ -565,7 +567,7 @@ export async function updateUser( * This can only be done by the logged in user. * Tags: user */ -export async function deleteUser( +export async function deleteUser( ctx: r.Context, params: { username: string; diff --git a/examples/src/stripe.ts b/examples/src/stripe.ts index d6041b9..9dcd746 100644 --- a/examples/src/stripe.ts +++ b/examples/src/stripe.ts @@ -270,6 +270,10 @@ export type AccountCapabilities = { * The status of the FPX payments capability of the account, or whether the account can directly process FPX charges. */ fpx_payments?: 'active' | 'inactive' | 'pending'; + /** + * The status of the GB customer_balance payments (GBP currency) capability of the account, or whether the account can directly process GB customer_balance charges. + */ + gb_bank_transfer_payments?: 'active' | 'inactive' | 'pending'; /** * The status of the giropay payments capability of the account, or whether the account can directly process giropay charges. */ @@ -290,6 +294,10 @@ export type AccountCapabilities = { * The status of the JCB payments capability of the account, or whether the account (Japan only) can directly process JCB credit card charges in JPY currency. */ jcb_payments?: 'active' | 'inactive' | 'pending'; + /** + * The status of the Japanese customer_balance payments (JPY currency) capability of the account, or whether the account can directly process Japanese customer_balance charges. + */ + jp_bank_transfer_payments?: 'active' | 'inactive' | 'pending'; /** * The status of the Klarna payments capability of the account, or whether the account can directly process Klarna charges. */ @@ -307,9 +315,13 @@ export type AccountCapabilities = { */ link_payments?: 'active' | 'inactive' | 'pending'; /** - * The status of the MobilepPay capability of the account, or whether the account can directly process MobilePay charges. + * The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges. */ mobilepay_payments?: 'active' | 'inactive' | 'pending'; + /** + * The status of the Mexican customer_balance payments (MXN currency) capability of the account, or whether the account can directly process Mexican customer_balance charges. + */ + mx_bank_transfer_payments?: 'active' | 'inactive' | 'pending'; /** * The status of the OXXO payments capability of the account, or whether the account can directly process OXXO charges. */ @@ -330,6 +342,10 @@ export type AccountCapabilities = { * The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments. */ revolut_pay_payments?: 'active' | 'inactive' | 'pending'; + /** + * The status of the SEPA customer_balance payments (EUR currency) capability of the account, or whether the account can directly process SEPA customer_balance charges. + */ + sepa_bank_transfer_payments?: 'active' | 'inactive' | 'pending'; /** * The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges. */ @@ -362,6 +378,10 @@ export type AccountCapabilities = { * The status of the US bank account ACH payments capability of the account, or whether the account can directly process US bank account charges. */ us_bank_account_ach_payments?: 'active' | 'inactive' | 'pending'; + /** + * The status of the US customer_balance payments (USD currency) capability of the account, or whether the account can directly process US customer_balance charges. + */ + us_bank_transfer_payments?: 'active' | 'inactive' | 'pending'; /** * The status of the Zip capability of the account, or whether the account can directly process Zip charges. */ @@ -762,7 +782,8 @@ export type AccountRequirementsError = { | 'verification_missing_directors' | 'verification_missing_executives' | 'verification_missing_owners' - | 'verification_requires_additional_memorandum_of_associations'; + | 'verification_requires_additional_memorandum_of_associations' + | 'verification_requires_additional_proof_of_registration'; /** * An informative message that indicates the error type and provides additional details about the error. */ @@ -1084,6 +1105,10 @@ export type ApplicationFee = { * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ currency: string; + /** + * Polymorphic source of the application fee. Includes the ID of the object the application fee was created from. + */ + fee_source?: PlatformEarningFeeSource | null; /** * Unique identifier for the object. */ @@ -1275,6 +1300,10 @@ export type BalanceAmountNet = { * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). */ currency: string; + /** + * Breakdown of balance by destination. + */ + net_available?: BalanceNetAvailable[]; source_types?: BalanceAmountBySourceType; }; /** @@ -1286,6 +1315,20 @@ export type BalanceDetail = { */ available: BalanceAmount[]; }; +/** + * BalanceNetAvailable + */ +export type BalanceNetAvailable = { + /** + * Net balance amount, subtracting fees from platform-set pricing. + */ + amount: number; + /** + * ID of the external account for this net balance (not expandable). + */ + destination: string; + source_types?: BalanceAmountBySourceType; +}; /** * BalanceTransaction * Balance transactions represent funds moving through your Stripe account. @@ -1358,7 +1401,6 @@ export type BalanceTransaction = { | IssuingDispute | IssuingTransaction | Payout - | PlatformTaxFee | Refund | ReserveTransaction | TaxDeductedAtSource @@ -2756,7 +2798,7 @@ export type CheckoutSession = { */ object: 'checkout.session'; /** - * The ID of the PaymentIntent for Checkout Sessions in `payment` mode. + * The ID of the PaymentIntent for Checkout Sessions in `payment` mode. You can't confirm or cancel the PaymentIntent for a Checkout Session. To cancel, [expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead. */ payment_intent?: (string | PaymentIntent) | null; /** @@ -2803,7 +2845,7 @@ export type CheckoutSession = { */ saved_payment_method_options?: PaymentPagesCheckoutSessionSavedPaymentMethodOptions | null; /** - * The ID of the SetupIntent for Checkout Sessions in `setup` mode. + * The ID of the SetupIntent for Checkout Sessions in `setup` mode. You can't confirm or cancel the SetupIntent for a Checkout Session. To cancel, [expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead. */ setup_intent?: (string | SetupIntent) | null; /** @@ -4006,6 +4048,10 @@ export type ConnectEmbeddedPayoutsFeatures = { * Whether to allow payout schedule to be changed. Default `true` when Stripe owns Loss Liability, default `false` otherwise. */ edit_payout_schedule: boolean; + /** + * Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for custom accounts (or accounts where the platform is compliance owner). Otherwise, bank account collection is determined by compliance requirements. + */ + external_account_collection: boolean; /** * Whether to allow creation of instant payouts. Default `true` when Stripe owns Loss Liability, default `false` otherwise. */ @@ -5836,11 +5882,12 @@ export type DisputeEvidenceDetails = { */ export type DisputePaymentMethodDetails = { card?: DisputePaymentMethodDetailsCard; + klarna?: DisputePaymentMethodDetailsKlarna; paypal?: DisputePaymentMethodDetailsPaypal; /** * Payment method type. */ - type: 'card' | 'paypal'; + type: 'card' | 'klarna' | 'paypal'; }; /** * DisputePaymentMethodDetailsCard @@ -5855,6 +5902,15 @@ export type DisputePaymentMethodDetailsCard = { */ network_reason_code?: string | null; }; +/** + * DisputePaymentMethodDetailsKlarna + */ +export type DisputePaymentMethodDetailsKlarna = { + /** + * The reason for the dispute as defined by Klarna + */ + reason_code?: string | null; +}; /** * DisputePaymentMethodDetailsPaypal */ @@ -9075,6 +9131,30 @@ export type IssuingDispute = { * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; + /** + * The enum that describes the dispute loss outcome. If the dispute is not lost, this field will be absent. New enum values may be added in the future, so be sure to handle unknown values. + */ + loss_reason?: + | 'cardholder_authentication_issuer_liability' + | 'eci5_token_transaction_with_tavv' + | 'excess_disputes_in_timeframe' + | 'has_not_met_the_minimum_dispute_amount_requirements' + | 'invalid_duplicate_dispute' + | 'invalid_incorrect_amount_dispute' + | 'invalid_no_authorization' + | 'invalid_use_of_disputes' + | 'merchandise_delivered_or_shipped' + | 'merchandise_or_service_as_described' + | 'not_cancelled' + | 'other' + | 'refund_issued' + | 'submitted_beyond_allowable_time_limit' + | 'transaction_3ds_required' + | 'transaction_approved_after_prior_fraud_dispute' + | 'transaction_authorized' + | 'transaction_electronically_read' + | 'transaction_qualifies_for_visa_easy_payment_service' + | 'transaction_unattended'; /** * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. */ @@ -9157,7 +9237,7 @@ export type IssuingPersonalizationDesign = { * A Physical Bundle represents the bundle of physical items - card stock, carrier letter, and envelope - that is shipped to a cardholder when you create a physical card. */ export type IssuingPhysicalBundle = { - features?: IssuingPhysicalBundleFeatures; + features: IssuingPhysicalBundleFeatures; /** * Unique identifier for the object. */ @@ -14488,6 +14568,7 @@ export type PaymentIntentTypeSpecificPaymentMethodOptionsClient = { * When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter). */ require_cvc_recollection?: boolean; + routing?: PaymentMethodOptionsCardPresentRouting; /** * Indicates that you intend to make future payments with this PaymentIntent's payment method. * @@ -16822,7 +16903,7 @@ export type PaymentMethodDetailsKlarna = { payment_method_category?: string | null; /** * Preferred language of the Klarna authorization page that the customer is redirected to. - * Can be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `en-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `en-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `en-IE`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `es-US`, `fr-FR`, `en-FR`, `cs-CZ`, `en-CZ`, `el-GR`, `en-GR`, `en-AU`, `en-NZ`, `en-CA`, `fr-CA`, `pl-PL`, `en-PL`, `pt-PT`, `en-PT`, `de-CH`, `fr-CH`, `it-CH`, or `en-CH` + * Can be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `en-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `en-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `en-IE`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `es-US`, `fr-FR`, `en-FR`, `cs-CZ`, `en-CZ`, `ro-RO`, `en-RO`, `el-GR`, `en-GR`, `en-AU`, `en-NZ`, `en-CA`, `fr-CA`, `pl-PL`, `en-PL`, `pt-PT`, `en-PT`, `de-CH`, `fr-CH`, `it-CH`, or `en-CH` */ preferred_locale?: string | null; }; @@ -17606,6 +17687,16 @@ export type PaymentMethodOptionsCardPresent = { * Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support. */ request_incremental_authorization_support?: boolean | null; + routing?: PaymentMethodOptionsCardPresentRouting; +}; +/** + * payment_method_options_card_present_routing + */ +export type PaymentMethodOptionsCardPresentRouting = { + /** + * Requested routing priority + */ + requested_priority?: ('domestic' | 'international') | null; }; /** * payment_method_options_cashapp @@ -18302,6 +18393,10 @@ export type PaymentPagesCheckoutSessionCustomFields = { * PaymentPagesCheckoutSessionCustomFieldsDropdown */ export type PaymentPagesCheckoutSessionCustomFieldsDropdown = { + /** + * The value that will pre-fill on the payment page. + */ + default_value?: string | null; /** * The options available for the customer to select. Up to 200 options allowed. */ @@ -18328,6 +18423,10 @@ export type PaymentPagesCheckoutSessionCustomFieldsLabel = { * PaymentPagesCheckoutSessionCustomFieldsNumeric */ export type PaymentPagesCheckoutSessionCustomFieldsNumeric = { + /** + * The value that will pre-fill the field on the payment page. + */ + default_value?: string | null; /** * The maximum character length constraint for the customer's input. */ @@ -18358,6 +18457,10 @@ export type PaymentPagesCheckoutSessionCustomFieldsOption = { * PaymentPagesCheckoutSessionCustomFieldsText */ export type PaymentPagesCheckoutSessionCustomFieldsText = { + /** + * The value that will pre-fill the field on the payment page. + */ + default_value?: string | null; /** * The maximum character length constraint for the customer's input. */ @@ -18501,9 +18604,13 @@ export type PaymentPagesCheckoutSessionPhoneNumberCollection = { */ export type PaymentPagesCheckoutSessionSavedPaymentMethodOptions = { /** - * Controls which payment methods are eligible to be redisplayed to returning customers. Corresponds to `allow_redisplay` on the payment method. + * Uses the `allow_redisplay` value of each saved payment method to filter the set presented to a returning customer. By default, only saved payment methods with ’allow_redisplay: ‘always’ are shown in Checkout. */ allow_redisplay_filters?: ('always' | 'limited' | 'unspecified')[] | null; + /** + * Enable customers to choose if they wish to remove their saved payment methods. Disabled by default. + */ + payment_method_remove?: ('disabled' | 'enabled') | null; /** * Enable customers to choose if they wish to save their payment method for future use. Disabled by default. */ @@ -18940,6 +19047,14 @@ export type Payout = { * The amount (in cents (or local equivalent)) that transfers to your bank account or debit card. */ amount: number; + /** + * The application fee (if any) for the payout. [See the Connect documentation](https://stripe.com/docs/connect/instant-payouts#monetization-and-fees) for details. + */ + application_fee?: (string | ApplicationFee) | null; + /** + * The amount of the application fee (if any) requested for the payout. [See the Connect documentation](https://stripe.com/docs/connect/instant-payouts#monetization-and-fees) for details. + */ + application_fee_amount?: number | null; /** * Date that you can expect the payout to arrive in the bank. This factors in delays to account for weekends or bank holidays. */ @@ -19404,29 +19519,21 @@ export type PlanTier = { up_to?: number | null; }; /** - * PlatformTax + * PlatformEarningFeeSource */ -export type PlatformTaxFee = { +export type PlatformEarningFeeSource = { /** - * The Connected account that incurred this charge. + * Charge ID that created this application fee. */ - account: string; - /** - * Unique identifier for the object. - */ - id: string; - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'platform_tax_fee'; + charge?: string; /** - * The payment object that caused this tax to be inflicted. + * Payout ID that created this application fee. */ - source_transaction: string; + payout?: string; /** - * The type of tax (VAT). + * Type of object that created the application fee, either `charge` or `payout`. */ - type: string; + type: 'charge' | 'payout'; }; /** * PortalBusinessProfile @@ -19925,7 +20032,7 @@ export type Product = { */ shippable?: boolean | null; /** - * Extra information about a product which will appear on your customer's credit card statement. In the case that multiple products are billed at once, the first statement descriptor will be used. + * Extra information about a product which will appear on your customer's credit card statement. In the case that multiple products are billed at once, the first statement descriptor will be used. Only used for subscription payments. */ statement_descriptor?: string | null; /** @@ -24821,6 +24928,7 @@ export type TerminalConfiguration = { */ object: 'terminal.configuration'; offline?: TerminalConfigurationConfigurationResourceOfflineConfig; + stripe_s700?: TerminalConfigurationConfigurationResourceDeviceTypeSpecificConfig; tipping?: TerminalConfigurationConfigurationResourceTipping; verifone_p400?: TerminalConfigurationConfigurationResourceDeviceTypeSpecificConfig; }; @@ -27372,7 +27480,7 @@ export function configureAuth( new r.HttpBearerSecurityAuthentication(params.bearerAuth), }; } -export function createContext( +export function createContext( params?: r.CreateContextParams, ): r.Context { return new r.Context({ @@ -27387,7 +27495,7 @@ export function createContext( /** *

Retrieves the details of an account.

*/ -export async function getAccount( +export async function getAccount( ctx: r.Context, params: { expand?: string[]; @@ -27412,7 +27520,7 @@ export async function getAccount( *

Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to in * order to take them through the Connect Onboarding flow.

*/ -export async function postAccountLinks( +export async function postAccountLinks( ctx: r.Context, params: {}, body: unknown, @@ -27434,7 +27542,9 @@ export async function postAccountLinks( *

Creates a AccountSession object that includes a single-use token that the platform can use on their front-end to * grant client-side API access.

*/ -export async function postAccountSessions( +export async function postAccountSessions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -27456,7 +27566,7 @@ export async function postAccountSessions( *

Returns a list of accounts connected to your platform via Connect. If you’re not a * platform, the list is empty.

*/ -export async function getAccounts( +export async function getAccounts( ctx: r.Context, params: { created?: @@ -27525,7 +27635,7 @@ export async function getAccounts( * You can prefill any information on the * account.

*/ -export async function postAccounts( +export async function postAccounts( ctx: r.Context, params: {}, body: unknown, @@ -27557,7 +27667,9 @@ export async function postAccounts( *

If you want to delete your own account, use the account information tab in your account settings instead.

*/ -export async function deleteAccountsAccount( +export async function deleteAccountsAccount< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -27580,7 +27692,7 @@ export async function deleteAccountsAccount( /** *

Retrieves the details of an account.

*/ -export async function getAccountsAccount( +export async function getAccountsAccount( ctx: r.Context, params: { account: string; @@ -27627,7 +27739,9 @@ export async function getAccountsAccount( * Connect documentation to learn more about updating accounts.

*/ -export async function postAccountsAccount( +export async function postAccountsAccount< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -27650,7 +27764,9 @@ export async function postAccountsAccount( /** *

Create an external account for a given account.

*/ -export async function postAccountsAccountBankAccounts( +export async function postAccountsAccountBankAccounts< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -27673,7 +27789,9 @@ export async function postAccountsAccountBankAccounts( /** *

Delete a specified external account for a given account.

*/ -export async function deleteAccountsAccountBankAccountsId( +export async function deleteAccountsAccountBankAccountsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -27698,7 +27816,9 @@ export async function deleteAccountsAccountBankAccountsId( /** *

Retrieve a specified external account for a given account.

*/ -export async function getAccountsAccountBankAccountsId( +export async function getAccountsAccountBankAccountsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -27736,7 +27856,9 @@ export async function getAccountsAccountBankAccountsId( * re-enable a disabled bank account by performing an update call without providing any * arguments or changes.

*/ -export async function postAccountsAccountBankAccountsId( +export async function postAccountsAccountBankAccountsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -27761,7 +27883,9 @@ export async function postAccountsAccountBankAccountsId( *

Returns a list of capabilities associated with the account. The capabilities are returned sorted by creation date, * with the most recent capability appearing first.

*/ -export async function getAccountsAccountCapabilities( +export async function getAccountsAccountCapabilities< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -27804,7 +27928,9 @@ export async function getAccountsAccountCapabilities( /** *

Retrieves information about the specified Account Capability.

*/ -export async function getAccountsAccountCapabilitiesCapability( +export async function getAccountsAccountCapabilitiesCapability< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -27831,7 +27957,9 @@ export async function getAccountsAccountCapabilitiesCapability( *

Updates an existing Account Capability. Request or remove a capability by updating its requested * parameter.

*/ -export async function postAccountsAccountCapabilitiesCapability( +export async function postAccountsAccountCapabilitiesCapability< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -27855,7 +27983,9 @@ export async function postAccountsAccountCapabilitiesCapability( /** *

List external accounts for an account.

*/ -export async function getAccountsAccountExternalAccounts( +export async function getAccountsAccountExternalAccounts< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -27911,7 +28041,9 @@ export async function getAccountsAccountExternalAccounts( /** *

Create an external account for a given account.

*/ -export async function postAccountsAccountExternalAccounts( +export async function postAccountsAccountExternalAccounts< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -27934,7 +28066,9 @@ export async function postAccountsAccountExternalAccounts( /** *

Delete a specified external account for a given account.

*/ -export async function deleteAccountsAccountExternalAccountsId( +export async function deleteAccountsAccountExternalAccountsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -27959,7 +28093,9 @@ export async function deleteAccountsAccountExternalAccountsId( /** *

Retrieve a specified external account for a given account.

*/ -export async function getAccountsAccountExternalAccountsId( +export async function getAccountsAccountExternalAccountsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -27997,7 +28133,9 @@ export async function getAccountsAccountExternalAccountsId( * re-enable a disabled bank account by performing an update call without providing any * arguments or changes.

*/ -export async function postAccountsAccountExternalAccountsId( +export async function postAccountsAccountExternalAccountsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -28025,7 +28163,9 @@ export async function postAccountsAccountExternalAccountsId( * create login links for accounts that use the Express Dashboard and are * connected to your platform.

*/ -export async function postAccountsAccountLoginLinks( +export async function postAccountsAccountLoginLinks< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -28049,7 +28189,9 @@ export async function postAccountsAccountLoginLinks( *

Returns a list of people associated with the account’s legal entity. The people are returned sorted by creation date, * with the most recent people appearing first.

*/ -export async function getAccountsAccountPeople( +export async function getAccountsAccountPeople< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -28108,7 +28250,9 @@ export async function getAccountsAccountPeople( /** *

Creates a new person.

*/ -export async function postAccountsAccountPeople( +export async function postAccountsAccountPeople< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -28131,7 +28275,9 @@ export async function postAccountsAccountPeople( * account can be deleted through the API, except if the person is the account_opener. If your integration is * using the executive parameter, you cannot delete the only verified executive on file.

*/ -export async function deleteAccountsAccountPeoplePerson( +export async function deleteAccountsAccountPeoplePerson< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -28155,7 +28301,9 @@ export async function deleteAccountsAccountPeoplePerson( /** *

Retrieves an existing person.

*/ -export async function getAccountsAccountPeoplePerson( +export async function getAccountsAccountPeoplePerson< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -28179,7 +28327,9 @@ export async function getAccountsAccountPeoplePerson( /** *

Updates an existing person.

*/ -export async function postAccountsAccountPeoplePerson( +export async function postAccountsAccountPeoplePerson< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -28202,7 +28352,9 @@ export async function postAccountsAccountPeoplePerson( *

Returns a list of people associated with the account’s legal entity. The people are returned sorted by creation date, * with the most recent people appearing first.

*/ -export async function getAccountsAccountPersons( +export async function getAccountsAccountPersons< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -28261,7 +28413,9 @@ export async function getAccountsAccountPersons( /** *

Creates a new person.

*/ -export async function postAccountsAccountPersons( +export async function postAccountsAccountPersons< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -28284,7 +28438,9 @@ export async function postAccountsAccountPersons( * account can be deleted through the API, except if the person is the account_opener. If your integration is * using the executive parameter, you cannot delete the only verified executive on file.

*/ -export async function deleteAccountsAccountPersonsPerson( +export async function deleteAccountsAccountPersonsPerson< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -28308,7 +28464,9 @@ export async function deleteAccountsAccountPersonsPerson( /** *

Retrieves an existing person.

*/ -export async function getAccountsAccountPersonsPerson( +export async function getAccountsAccountPersonsPerson< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -28332,7 +28490,9 @@ export async function getAccountsAccountPersonsPerson( /** *

Updates an existing person.

*/ -export async function postAccountsAccountPersonsPerson( +export async function postAccountsAccountPersonsPerson< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -28359,7 +28519,9 @@ export async function postAccountsAccountPersonsPerson( * rejected. Test-mode accounts can be rejected at any time. Live-mode accounts can only be rejected after all balances are * zero.

*/ -export async function postAccountsAccountReject( +export async function postAccountsAccountReject< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -28382,7 +28544,7 @@ export async function postAccountsAccountReject( /** *

List apple pay domains.

*/ -export async function getApplePayDomains( +export async function getApplePayDomains( ctx: r.Context, params: { domain_name?: string; @@ -28434,7 +28596,9 @@ export async function getApplePayDomains( /** *

Create an apple pay domain.

*/ -export async function postApplePayDomains( +export async function postApplePayDomains< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -28455,7 +28619,9 @@ export async function postApplePayDomains( /** *

Delete an apple pay domain.

*/ -export async function deleteApplePayDomainsDomain( +export async function deleteApplePayDomainsDomain< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { domain: string; @@ -28479,7 +28645,9 @@ export async function deleteApplePayDomainsDomain( /** *

Retrieve an apple pay domain.

*/ -export async function getApplePayDomainsDomain( +export async function getApplePayDomainsDomain< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { domain: string; @@ -28505,7 +28673,7 @@ export async function getApplePayDomainsDomain( *

Returns a list of application fees you’ve previously collected. The application fees are returned in sorted order, * with the most recent fees appearing first.

*/ -export async function getApplicationFees( +export async function getApplicationFees( ctx: r.Context, params: { charge?: string; @@ -28567,7 +28735,9 @@ export async function getApplicationFees( *

By default, you can see the 10 most recent refunds stored directly on the application fee object, but you can also * retrieve details about a specific refund stored on the application fee.

*/ -export async function getApplicationFeesFeeRefundsId( +export async function getApplicationFeesFeeRefundsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -28596,7 +28766,9 @@ export async function getApplicationFeesFeeRefundsId( * *

This request only accepts metadata as an argument.

*/ -export async function postApplicationFeesFeeRefundsId( +export async function postApplicationFeesFeeRefundsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { fee: string; @@ -28621,7 +28793,9 @@ export async function postApplicationFeesFeeRefundsId( *

Retrieves the details of an application fee that your account has collected. The same information is returned when * refunding the application fee.

*/ -export async function getApplicationFeesId( +export async function getApplicationFeesId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -28643,7 +28817,9 @@ export async function getApplicationFeesId( const res = await ctx.sendRequest(req, opts); return ctx.handleResponse(res, {}, true); } -export async function postApplicationFeesIdRefund( +export async function postApplicationFeesIdRefund< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { id: string; @@ -28668,7 +28844,9 @@ export async function postApplicationFeesIdRefund( * always available by default on the application fee object. If you need more than those 10, you can use this API method * and the limit and starting_after parameters to page through additional refunds.

*/ -export async function getApplicationFeesIdRefunds( +export async function getApplicationFeesIdRefunds< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -28729,7 +28907,9 @@ export async function getApplicationFeesIdRefunds( * application fee, * or when trying to refund more money than is left on an application fee.

*/ -export async function postApplicationFeesIdRefunds( +export async function postApplicationFeesIdRefunds< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { id: string; @@ -28752,7 +28932,7 @@ export async function postApplicationFeesIdRefunds( /** *

List all secrets stored on the given scope.

*/ -export async function getAppsSecrets( +export async function getAppsSecrets( ctx: r.Context, params: { ending_before?: string; @@ -28807,7 +28987,7 @@ export async function getAppsSecrets( /** *

Create or replace a secret in the secret store.

*/ -export async function postAppsSecrets( +export async function postAppsSecrets( ctx: r.Context, params: {}, body: unknown, @@ -28828,7 +29008,9 @@ export async function postAppsSecrets( /** *

Deletes a secret from the secret store by name and scope.

*/ -export async function postAppsSecretsDelete( +export async function postAppsSecretsDelete< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -28849,7 +29031,7 @@ export async function postAppsSecretsDelete( /** *

Finds a secret in the secret store by name and scope.

*/ -export async function getAppsSecretsFind( +export async function getAppsSecretsFind( ctx: r.Context, params: { expand?: string[]; @@ -28881,7 +29063,7 @@ export async function getAppsSecretsFind( * request, see Accounting for negative * balances.

*/ -export async function getBalance( +export async function getBalance( ctx: r.Context, params: { expand?: string[]; @@ -28909,7 +29091,7 @@ export async function getBalance( *

Note * that this endpoint was previously called “Balance history” and used the path /v1/balance/history.

*/ -export async function getBalanceHistory( +export async function getBalanceHistory( ctx: r.Context, params: { created?: @@ -28979,7 +29161,9 @@ export async function getBalanceHistory( *

Note that this endpoint previously used the path * /v1/balance/history/:id.

*/ -export async function getBalanceHistoryId( +export async function getBalanceHistoryId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -29008,7 +29192,9 @@ export async function getBalanceHistoryId( *

Note * that this endpoint was previously called “Balance history” and used the path /v1/balance/history.

*/ -export async function getBalanceTransactions( +export async function getBalanceTransactions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { created?: @@ -29078,7 +29264,9 @@ export async function getBalanceTransactions( *

Note that this endpoint previously used the path * /v1/balance/history/:id.

*/ -export async function getBalanceTransactionsId( +export async function getBalanceTransactionsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -29103,7 +29291,9 @@ export async function getBalanceTransactionsId( /** *

Creates a billing meter event adjustment

*/ -export async function postBillingMeterEventAdjustments( +export async function postBillingMeterEventAdjustments< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -29125,7 +29315,9 @@ export async function postBillingMeterEventAdjustments( /** *

Creates a billing meter event

*/ -export async function postBillingMeterEvents( +export async function postBillingMeterEvents< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -29146,7 +29338,7 @@ export async function postBillingMeterEvents( /** *

Retrieve a list of billing meters.

*/ -export async function getBillingMeters( +export async function getBillingMeters( ctx: r.Context, params: { ending_before?: string; @@ -29198,7 +29390,7 @@ export async function getBillingMeters( /** *

Creates a billing meter

*/ -export async function postBillingMeters( +export async function postBillingMeters( ctx: r.Context, params: {}, body: unknown, @@ -29219,7 +29411,7 @@ export async function postBillingMeters( /** *

Retrieves a billing meter given an ID

*/ -export async function getBillingMetersId( +export async function getBillingMetersId( ctx: r.Context, params: { expand?: string[]; @@ -29244,7 +29436,9 @@ export async function getBillingMetersId( /** *

Updates a billing meter

*/ -export async function postBillingMetersId( +export async function postBillingMetersId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { id: string; @@ -29267,7 +29461,9 @@ export async function postBillingMetersId( /** *

Deactivates a billing meter

*/ -export async function postBillingMetersIdDeactivate( +export async function postBillingMetersIdDeactivate< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { id: string; @@ -29290,7 +29486,9 @@ export async function postBillingMetersIdDeactivate( /** *

Retrieve a list of billing meter event summaries.

*/ -export async function getBillingMetersIdEventSummaries( +export async function getBillingMetersIdEventSummaries< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -29349,7 +29547,9 @@ export async function getBillingMetersIdEventSummaries( /** *

Reactivates a billing meter

*/ -export async function postBillingMetersIdReactivate( +export async function postBillingMetersIdReactivate< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { id: string; @@ -29372,7 +29572,9 @@ export async function postBillingMetersIdReactivate( /** *

Returns a list of configurations that describe the functionality of the customer portal.

*/ -export async function getBillingPortalConfigurations( +export async function getBillingPortalConfigurations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { active?: boolean; @@ -29426,7 +29628,9 @@ export async function getBillingPortalConfigurations( /** *

Creates a configuration that describes the functionality and behavior of a PortalSession

*/ -export async function postBillingPortalConfigurations( +export async function postBillingPortalConfigurations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -29448,7 +29652,9 @@ export async function postBillingPortalConfigurations( /** *

Retrieves a configuration that describes the functionality of the customer portal.

*/ -export async function getBillingPortalConfigurationsConfiguration( +export async function getBillingPortalConfigurationsConfiguration< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { configuration: string; @@ -29474,7 +29680,9 @@ export async function getBillingPortalConfigurationsConfiguration( /** *

Updates a configuration that describes the functionality of the customer portal.

*/ -export async function postBillingPortalConfigurationsConfiguration( +export async function postBillingPortalConfigurationsConfiguration< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { configuration: string; @@ -29498,7 +29706,9 @@ export async function postBillingPortalConfigurationsConfiguration( /** *

Creates a session of the customer portal.

*/ -export async function postBillingPortalSessions( +export async function postBillingPortalSessions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -29521,7 +29731,7 @@ export async function postBillingPortalSessions( *

Returns a list of charges you’ve previously created. The charges are returned in sorted order, with the most recent * charges appearing first.

*/ -export async function getCharges( +export async function getCharges( ctx: r.Context, params: { created?: @@ -29590,7 +29800,7 @@ export async function getCharges( * object used to request * payment.

*/ -export async function postCharges( +export async function postCharges( ctx: r.Context, params: {}, body: unknown, @@ -29615,7 +29825,7 @@ export async function postCharges( * up * to an hour behind during outages. Search functionality is not available to merchants in India.

*/ -export async function getChargesSearch( +export async function getChargesSearch( ctx: r.Context, params: { expand?: string[]; @@ -29661,7 +29871,7 @@ export async function getChargesSearch( * from your previous request, and Stripe will return the corresponding charge information. The same information is * returned when creating or refunding the charge.

*/ -export async function getChargesCharge( +export async function getChargesCharge( ctx: r.Context, params: { charge: string; @@ -29685,7 +29895,7 @@ export async function getChargesCharge( *

Updates the specified charge by setting the values of the parameters passed. Any parameters not provided will be left * unchanged.

*/ -export async function postChargesCharge( +export async function postChargesCharge( ctx: r.Context, params: { charge: string; @@ -29714,7 +29924,9 @@ export async function postChargesCharge( *

Don’t use this method to capture a PaymentIntent-initiated charge. Use Capture a PaymentIntent.

*/ -export async function postChargesChargeCapture( +export async function postChargesChargeCapture< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { charge: string; @@ -29735,7 +29947,9 @@ export async function postChargesChargeCapture( /** *

Retrieve a dispute for a specified charge.

*/ -export async function getChargesChargeDispute( +export async function getChargesChargeDispute< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { charge: string; @@ -29757,7 +29971,9 @@ export async function getChargesChargeDispute( const res = await ctx.sendRequest(req, opts); return ctx.handleResponse(res, {}, true); } -export async function postChargesChargeDispute( +export async function postChargesChargeDispute< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { charge: string; @@ -29777,7 +29993,9 @@ export async function postChargesChargeDispute( const res = await ctx.sendRequest(req, opts); return ctx.handleResponse(res, {}, true); } -export async function postChargesChargeDisputeClose( +export async function postChargesChargeDisputeClose< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { charge: string; @@ -29814,7 +30032,9 @@ export async function postChargesChargeDisputeClose( * called on an already-refunded charge, * or when you attempt to refund more money than is left on a charge.

*/ -export async function postChargesChargeRefund( +export async function postChargesChargeRefund< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { charge: string; @@ -29837,7 +30057,9 @@ export async function postChargesChargeRefund( * available by default on the charge object. If you need more than those 10, you can use this API method and the * limit and starting_after parameters to page through additional refunds.

*/ -export async function getChargesChargeRefunds( +export async function getChargesChargeRefunds< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { charge: string; @@ -29901,7 +30123,9 @@ export async function getChargesChargeRefunds( * or when * trying to refund more money than is left on a charge.

*/ -export async function postChargesChargeRefunds( +export async function postChargesChargeRefunds< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { charge: string; @@ -29922,7 +30146,9 @@ export async function postChargesChargeRefunds( /** *

Retrieves the details of an existing refund.

*/ -export async function getChargesChargeRefundsRefund( +export async function getChargesChargeRefundsRefund< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { charge: string; @@ -29946,7 +30172,9 @@ export async function getChargesChargeRefundsRefund( /** *

Update a specified refund.

*/ -export async function postChargesChargeRefundsRefund( +export async function postChargesChargeRefundsRefund< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { charge: string; @@ -29968,7 +30196,9 @@ export async function postChargesChargeRefundsRefund( /** *

Returns a list of Checkout Sessions.

*/ -export async function getCheckoutSessions( +export async function getCheckoutSessions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { created?: @@ -30041,7 +30271,9 @@ export async function getCheckoutSessions( /** *

Creates a Session object.

*/ -export async function postCheckoutSessions( +export async function postCheckoutSessions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -30062,7 +30294,9 @@ export async function postCheckoutSessions( /** *

Retrieves a Session object.

*/ -export async function getCheckoutSessionsSession( +export async function getCheckoutSessionsSession< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -30090,7 +30324,9 @@ export async function getCheckoutSessionsSession( *

After it expires, a customer * can’t complete a Session and customers loading the Session see a message saying the Session is expired.

*/ -export async function postCheckoutSessionsSessionExpire( +export async function postCheckoutSessionsSessionExpire< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { session: string; @@ -30114,7 +30350,9 @@ export async function postCheckoutSessionsSessionExpire( *

When retrieving a Checkout Session, there is an includable line_items property containing the first * handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

*/ -export async function getCheckoutSessionsSessionLineItems( +export async function getCheckoutSessionsSessionLineItems< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -30165,7 +30403,7 @@ export async function getCheckoutSessionsSessionLineItems( * most recently created * orders appearing first.

*/ -export async function getClimateOrders( +export async function getClimateOrders( ctx: r.Context, params: { ending_before?: string; @@ -30212,7 +30450,7 @@ export async function getClimateOrders( * after creation * and payment will be deducted your Stripe balance.

*/ -export async function postClimateOrders( +export async function postClimateOrders( ctx: r.Context, params: {}, body: unknown, @@ -30233,7 +30471,9 @@ export async function postClimateOrders( /** *

Retrieves the details of a Climate order object with the given ID.

*/ -export async function getClimateOrdersOrder( +export async function getClimateOrdersOrder< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -30258,7 +30498,9 @@ export async function getClimateOrdersOrder( /** *

Updates the specified order by setting the values of the parameters passed.

*/ -export async function postClimateOrdersOrder( +export async function postClimateOrdersOrder< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { order: string; @@ -30287,7 +30529,9 @@ export async function postClimateOrdersOrder( * provides 90 days advance * notice and refunds the amount_total.

*/ -export async function postClimateOrdersOrderCancel( +export async function postClimateOrdersOrderCancel< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { order: string; @@ -30310,7 +30554,7 @@ export async function postClimateOrdersOrderCancel( /** *

Lists all available Climate product objects.

*/ -export async function getClimateProducts( +export async function getClimateProducts( ctx: r.Context, params: { ending_before?: string; @@ -30355,7 +30599,9 @@ export async function getClimateProducts( /** *

Retrieves the details of a Climate product with the given ID.

*/ -export async function getClimateProductsProduct( +export async function getClimateProductsProduct< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -30380,7 +30626,9 @@ export async function getClimateProductsProduct( /** *

Lists all available Climate supplier objects.

*/ -export async function getClimateSuppliers( +export async function getClimateSuppliers< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -30425,7 +30673,9 @@ export async function getClimateSuppliers( /** *

Retrieves a Climate supplier object.

*/ -export async function getClimateSuppliersSupplier( +export async function getClimateSuppliersSupplier< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -30450,7 +30700,9 @@ export async function getClimateSuppliersSupplier( /** *

Retrieves an existing ConfirmationToken object

*/ -export async function getConfirmationTokensConfirmationToken( +export async function getConfirmationTokensConfirmationToken< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { confirmation_token: string; @@ -30475,7 +30727,7 @@ export async function getConfirmationTokensConfirmationToken( /** *

Lists all Country Spec objects available in the API.

*/ -export async function getCountrySpecs( +export async function getCountrySpecs( ctx: r.Context, params: { ending_before?: string; @@ -30520,7 +30772,9 @@ export async function getCountrySpecs( /** *

Returns a Country Spec for a given Country code.

*/ -export async function getCountrySpecsCountry( +export async function getCountrySpecsCountry< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { country: string; @@ -30545,7 +30799,7 @@ export async function getCountrySpecsCountry( /** *

Returns a list of your coupons.

*/ -export async function getCoupons( +export async function getCoupons( ctx: r.Context, params: { created?: @@ -30613,7 +30867,7 @@ export async function getCoupons( * 300 will have a final total of 100 if a coupon with an amount_off * of 200 is applied to it.

*/ -export async function postCoupons( +export async function postCoupons( ctx: r.Context, params: {}, body: unknown, @@ -30634,7 +30888,9 @@ export async function postCoupons( * Stripe dashboard. However, deleting a coupon does not affect any customers who have already applied the coupon; it means * that new customers can’t redeem the coupon. You can also delete coupons via the API.

*/ -export async function deleteCouponsCoupon( +export async function deleteCouponsCoupon< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { coupon: string; @@ -30657,7 +30913,7 @@ export async function deleteCouponsCoupon( /** *

Retrieves the coupon with the given ID.

*/ -export async function getCouponsCoupon( +export async function getCouponsCoupon( ctx: r.Context, params: { coupon: string; @@ -30681,7 +30937,7 @@ export async function getCouponsCoupon( *

Updates the metadata of a coupon. Other coupon details (currency, duration, amount_off) are, by design, not * editable.

*/ -export async function postCouponsCoupon( +export async function postCouponsCoupon( ctx: r.Context, params: { coupon: string; @@ -30702,7 +30958,7 @@ export async function postCouponsCoupon( /** *

Returns a list of credit notes.

*/ -export async function getCreditNotes( +export async function getCreditNotes( ctx: r.Context, params: { created?: @@ -30788,7 +31044,7 @@ export async function getCreditNotes( * post_payment_credit_notes_amount depending on its status at the time of credit note * creation.

*/ -export async function postCreditNotes( +export async function postCreditNotes( ctx: r.Context, params: {}, body: unknown, @@ -30809,7 +31065,9 @@ export async function postCreditNotes( /** *

Get a preview of a credit note without creating it.

*/ -export async function getCreditNotesPreview( +export async function getCreditNotesPreview< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { amount?: number; @@ -30884,7 +31142,9 @@ export async function getCreditNotesPreview( *

When retrieving a credit note preview, you’ll get a lines property containing the first handful of * those items. This URL you can retrieve the full (paginated) list of line items.

*/ -export async function getCreditNotesPreviewLines( +export async function getCreditNotesPreviewLines< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { amount?: number; @@ -30986,7 +31246,9 @@ export async function getCreditNotesPreviewLines( *

When retrieving a credit note, you’ll get a lines property containing the first handful of those * items. There is also a URL where you can retrieve the full (paginated) list of line items.

*/ -export async function getCreditNotesCreditNoteLines( +export async function getCreditNotesCreditNoteLines< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { credit_note: string; @@ -31035,7 +31297,7 @@ export async function getCreditNotesCreditNoteLines( /** *

Retrieves the credit note object with the given identifier.

*/ -export async function getCreditNotesId( +export async function getCreditNotesId( ctx: r.Context, params: { expand?: string[]; @@ -31060,7 +31322,7 @@ export async function getCreditNotesId( /** *

Updates an existing credit note.

*/ -export async function postCreditNotesId( +export async function postCreditNotesId( ctx: r.Context, params: { id: string; @@ -31084,7 +31346,9 @@ export async function postCreditNotesId( *

Marks a credit note as void. Learn more about voiding credit * notes.

*/ -export async function postCreditNotesIdVoid( +export async function postCreditNotesIdVoid< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { id: string; @@ -31108,7 +31372,9 @@ export async function postCreditNotesIdVoid( *

Creates a customer session object that includes a single-use client secret that you can use on your front-end to * grant client-side API access for certain customer resources.

*/ -export async function postCustomerSessions( +export async function postCustomerSessions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -31130,7 +31396,7 @@ export async function postCustomerSessions( *

Returns a list of your customers. The customers are returned sorted by creation date, with the most recent customers * appearing first.

*/ -export async function getCustomers( +export async function getCustomers( ctx: r.Context, params: { created?: @@ -31193,7 +31459,7 @@ export async function getCustomers( /** *

Creates a new customer object.

*/ -export async function postCustomers( +export async function postCustomers( ctx: r.Context, params: {}, body: unknown, @@ -31220,7 +31486,7 @@ export async function postCustomers( * up * to an hour behind during outages. Search functionality is not available to merchants in India.

*/ -export async function getCustomersSearch( +export async function getCustomersSearch( ctx: r.Context, params: { expand?: string[]; @@ -31265,7 +31531,9 @@ export async function getCustomersSearch( *

Permanently deletes a customer. It cannot be undone. Also immediately cancels any active subscriptions on the * customer.

*/ -export async function deleteCustomersCustomer( +export async function deleteCustomersCustomer< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -31288,7 +31556,9 @@ export async function deleteCustomersCustomer( /** *

Retrieves a Customer object.

*/ -export async function getCustomersCustomer( +export async function getCustomersCustomer< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -31323,7 +31593,9 @@ export async function getCustomersCustomer( * *

This request accepts mostly the same arguments as the customer creation call.

*/ -export async function postCustomersCustomer( +export async function postCustomersCustomer< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -31346,7 +31618,9 @@ export async function postCustomersCustomer( /** *

Returns a list of transactions that updated the customer’s balances.

*/ -export async function getCustomersCustomerBalanceTransactions( +export async function getCustomersCustomerBalanceTransactions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -31396,7 +31670,9 @@ export async function getCustomersCustomerBalanceTransactions( *

Creates an immutable transaction that updates the customer’s credit balance.

*/ -export async function postCustomersCustomerBalanceTransactions( +export async function postCustomersCustomerBalanceTransactions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -31422,7 +31698,7 @@ export async function postCustomersCustomerBalanceTransactions( * href="/docs/billing/customer/balance">balances.

*/ export async function getCustomersCustomerBalanceTransactionsTransaction< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -31452,7 +31728,7 @@ export async function getCustomersCustomerBalanceTransactionsTransaction< * metadata.

*/ export async function postCustomersCustomerBalanceTransactionsTransaction< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -31481,7 +31757,9 @@ export async function postCustomersCustomerBalanceTransactionsTransaction< * limit and starting_after parameters to page through additional bank accounts.

* @deprecated */ -export async function getCustomersCustomerBankAccounts( +export async function getCustomersCustomerBankAccounts< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -31537,7 +31815,9 @@ export async function getCustomersCustomerBankAccounts( * To change the default, you should update the * customer to have a new default_source.

*/ -export async function postCustomersCustomerBankAccounts( +export async function postCustomersCustomerBankAccounts< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -31560,7 +31840,9 @@ export async function postCustomersCustomerBankAccounts( /** *

Delete a specified source for a given customer.

*/ -export async function deleteCustomersCustomerBankAccountsId( +export async function deleteCustomersCustomerBankAccountsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -31587,7 +31869,9 @@ export async function deleteCustomersCustomerBankAccountsId( * retrieve details about a specific bank account stored on the Stripe account.

* @deprecated */ -export async function getCustomersCustomerBankAccountsId( +export async function getCustomersCustomerBankAccountsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -31613,7 +31897,9 @@ export async function getCustomersCustomerBankAccountsId( /** *

Update a specified source for a given customer.

*/ -export async function postCustomersCustomerBankAccountsId( +export async function postCustomersCustomerBankAccountsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -31638,7 +31924,9 @@ export async function postCustomersCustomerBankAccountsId( /** *

Verify a specified bank account for a given customer.

*/ -export async function postCustomersCustomerBankAccountsIdVerify( +export async function postCustomersCustomerBankAccountsIdVerify< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -31667,7 +31955,9 @@ export async function postCustomersCustomerBankAccountsIdVerify( * and starting_after parameters to page through additional cards.

* @deprecated */ -export async function getCustomersCustomerCards( +export async function getCustomersCustomerCards< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -31720,7 +32010,9 @@ export async function getCustomersCustomerCards( * To change the default, you should update the * customer to have a new default_source.

*/ -export async function postCustomersCustomerCards( +export async function postCustomersCustomerCards< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -31743,7 +32035,9 @@ export async function postCustomersCustomerCards( /** *

Delete a specified source for a given customer.

*/ -export async function deleteCustomersCustomerCardsId( +export async function deleteCustomersCustomerCardsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -31770,7 +32064,9 @@ export async function deleteCustomersCustomerCardsId( * specific card stored on the customer.

* @deprecated */ -export async function getCustomersCustomerCardsId( +export async function getCustomersCustomerCardsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -31794,7 +32090,9 @@ export async function getCustomersCustomerCardsId( /** *

Update a specified source for a given customer.

*/ -export async function postCustomersCustomerCardsId( +export async function postCustomersCustomerCardsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -31819,7 +32117,9 @@ export async function postCustomersCustomerCardsId( /** *

Retrieves a customer’s cash balance.

*/ -export async function getCustomersCustomerCashBalance( +export async function getCustomersCustomerCashBalance< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -31844,7 +32144,9 @@ export async function getCustomersCustomerCashBalance( /** *

Changes the settings on a customer’s cash balance.

*/ -export async function postCustomersCustomerCashBalance( +export async function postCustomersCustomerCashBalance< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -31868,7 +32170,9 @@ export async function postCustomersCustomerCashBalance( *

Returns a list of transactions that modified the customer’s cash * balance.

*/ -export async function getCustomersCustomerCashBalanceTransactions( +export async function getCustomersCustomerCashBalanceTransactions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -31919,7 +32223,7 @@ export async function getCustomersCustomerCashBalanceTransactions( * href="/docs/payments/customer-balance">cash balance.

*/ export async function getCustomersCustomerCashBalanceTransactionsTransaction< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -31947,7 +32251,9 @@ export async function getCustomersCustomerCashBalanceTransactionsTransaction< /** *

Removes the currently applied discount on a customer.

*/ -export async function deleteCustomersCustomerDiscount( +export async function deleteCustomersCustomerDiscount< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -31967,7 +32273,9 @@ export async function deleteCustomersCustomerDiscount( const res = await ctx.sendRequest(req, opts); return ctx.handleResponse(res, {}, true); } -export async function getCustomersCustomerDiscount( +export async function getCustomersCustomerDiscount< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -31996,7 +32304,9 @@ export async function getCustomersCustomerDiscount( * same * funding instructions will be retrieved. In other words, we will return the same funding instructions each time.

*/ -export async function postCustomersCustomerFundingInstructions( +export async function postCustomersCustomerFundingInstructions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -32020,7 +32330,9 @@ export async function postCustomersCustomerFundingInstructions( /** *

Returns a list of PaymentMethods for a given Customer

*/ -export async function getCustomersCustomerPaymentMethods( +export async function getCustomersCustomerPaymentMethods< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { allow_redisplay?: 'always' | 'limited' | 'unspecified'; @@ -32111,7 +32423,7 @@ export async function getCustomersCustomerPaymentMethods( *

Retrieves a PaymentMethod object for a given Customer.

*/ export async function getCustomersCustomerPaymentMethodsPaymentMethod< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -32138,7 +32450,9 @@ export async function getCustomersCustomerPaymentMethodsPaymentMethod< /** *

List sources for a specified customer.

*/ -export async function getCustomersCustomerSources( +export async function getCustomersCustomerSources< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -32201,7 +32515,9 @@ export async function getCustomersCustomerSources( * To change the default, you should update the * customer to have a new default_source.

*/ -export async function postCustomersCustomerSources( +export async function postCustomersCustomerSources< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -32224,7 +32540,9 @@ export async function postCustomersCustomerSources( /** *

Delete a specified source for a given customer.

*/ -export async function deleteCustomersCustomerSourcesId( +export async function deleteCustomersCustomerSourcesId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -32249,7 +32567,9 @@ export async function deleteCustomersCustomerSourcesId( /** *

Retrieve a specified source for a given customer.

*/ -export async function getCustomersCustomerSourcesId( +export async function getCustomersCustomerSourcesId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -32275,7 +32595,9 @@ export async function getCustomersCustomerSourcesId( /** *

Update a specified source for a given customer.

*/ -export async function postCustomersCustomerSourcesId( +export async function postCustomersCustomerSourcesId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -32300,7 +32622,9 @@ export async function postCustomersCustomerSourcesId( /** *

Verify a specified bank account for a given customer.

*/ -export async function postCustomersCustomerSourcesIdVerify( +export async function postCustomersCustomerSourcesIdVerify< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -32326,7 +32650,9 @@ export async function postCustomersCustomerSourcesIdVerify( * always available by default on the customer object. If you need more than those 10, you can use the limit and * starting_after parameters to page through additional subscriptions.

*/ -export async function getCustomersCustomerSubscriptions( +export async function getCustomersCustomerSubscriptions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -32375,7 +32701,9 @@ export async function getCustomersCustomerSubscriptions( /** *

Creates a new subscription on an existing customer.

*/ -export async function postCustomersCustomerSubscriptions( +export async function postCustomersCustomerSubscriptions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -32414,7 +32742,7 @@ export async function postCustomersCustomerSubscriptions( * to cancel the subscription at all.

*/ export async function deleteCustomersCustomerSubscriptionsSubscriptionExposedId< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -32440,7 +32768,7 @@ export async function deleteCustomersCustomerSubscriptionsSubscriptionExposedId< *

Retrieves the subscription with the given ID.

*/ export async function getCustomersCustomerSubscriptionsSubscriptionExposedId< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -32470,7 +32798,7 @@ export async function getCustomersCustomerSubscriptionsSubscriptionExposedId< * will be calculated, use the upcoming invoice endpoint.

*/ export async function postCustomersCustomerSubscriptionsSubscriptionExposedId< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -32496,7 +32824,7 @@ export async function postCustomersCustomerSubscriptionsSubscriptionExposedId< *

Removes the currently applied discount on a customer.

*/ export async function deleteCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -32519,7 +32847,7 @@ export async function deleteCustomersCustomerSubscriptionsSubscriptionExposedIdD return ctx.handleResponse(res, {}, true); } export async function getCustomersCustomerSubscriptionsSubscriptionExposedIdDiscount< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -32546,7 +32874,9 @@ export async function getCustomersCustomerSubscriptionsSubscriptionExposedIdDisc /** *

Returns a list of tax IDs for a customer.

*/ -export async function getCustomersCustomerTaxIds( +export async function getCustomersCustomerTaxIds< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -32595,7 +32925,9 @@ export async function getCustomersCustomerTaxIds( /** *

Creates a new tax_id object for a customer.

*/ -export async function postCustomersCustomerTaxIds( +export async function postCustomersCustomerTaxIds< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -32616,7 +32948,9 @@ export async function postCustomersCustomerTaxIds( /** *

Deletes an existing tax_id object.

*/ -export async function deleteCustomersCustomerTaxIdsId( +export async function deleteCustomersCustomerTaxIdsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -32640,7 +32974,9 @@ export async function deleteCustomersCustomerTaxIdsId( /** *

Retrieves the tax_id object with the given identifier.

*/ -export async function getCustomersCustomerTaxIdsId( +export async function getCustomersCustomerTaxIdsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -32664,7 +33000,7 @@ export async function getCustomersCustomerTaxIdsId( /** *

Returns a list of your disputes.

*/ -export async function getDisputes( +export async function getDisputes( ctx: r.Context, params: { charge?: string; @@ -32727,7 +33063,7 @@ export async function getDisputes( /** *

Retrieves the dispute with the given ID.

*/ -export async function getDisputesDispute( +export async function getDisputesDispute( ctx: r.Context, params: { dispute: string; @@ -32759,7 +33095,9 @@ export async function getDisputesDispute( * winning your dispute. To figure out which evidence fields to provide, see our guide * to dispute types.

*/ -export async function postDisputesDispute( +export async function postDisputesDispute< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { dispute: string; @@ -32786,7 +33124,9 @@ export async function postDisputesDispute( *

The status of the dispute will change from needs_response to * lost. Closing a dispute is irreversible.

*/ -export async function postDisputesDisputeClose( +export async function postDisputesDisputeClose< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { dispute: string; @@ -32809,7 +33149,9 @@ export async function postDisputesDisputeClose( /** *

Retrieve a list of active entitlements for a customer

*/ -export async function getEntitlementsActiveEntitlements( +export async function getEntitlementsActiveEntitlements< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { customer: string; @@ -32861,7 +33203,9 @@ export async function getEntitlementsActiveEntitlements( /** *

Retrieve an active entitlement

*/ -export async function getEntitlementsActiveEntitlementsId( +export async function getEntitlementsActiveEntitlementsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -32887,7 +33231,9 @@ export async function getEntitlementsActiveEntitlementsId( /** *

Retrieve a list of features

*/ -export async function getEntitlementsFeatures( +export async function getEntitlementsFeatures< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { archived?: boolean; @@ -32941,7 +33287,9 @@ export async function getEntitlementsFeatures( /** *

Creates a feature

*/ -export async function postEntitlementsFeatures( +export async function postEntitlementsFeatures< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -32963,7 +33311,9 @@ export async function postEntitlementsFeatures( /** *

Retrieves a feature

*/ -export async function getEntitlementsFeaturesId( +export async function getEntitlementsFeaturesId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -32989,7 +33339,9 @@ export async function getEntitlementsFeaturesId( /** *

Update a feature’s metadata or permanently deactivate it.

*/ -export async function postEntitlementsFeaturesId( +export async function postEntitlementsFeaturesId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { id: string; @@ -33013,7 +33365,7 @@ export async function postEntitlementsFeaturesId( /** *

Creates a short-lived API key for a given resource.

*/ -export async function postEphemeralKeys( +export async function postEphemeralKeys( ctx: r.Context, params: {}, body: unknown, @@ -33034,7 +33386,9 @@ export async function postEphemeralKeys( /** *

Invalidates a short-lived API key for a given resource.

*/ -export async function deleteEphemeralKeysKey( +export async function deleteEphemeralKeysKey< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { key: string; @@ -33059,7 +33413,7 @@ export async function deleteEphemeralKeysKey( * time, specified in event object api_version * attribute (not according to your current Stripe API version or Stripe-Version header).

*/ -export async function getEvents( +export async function getEvents( ctx: r.Context, params: { created?: @@ -33125,7 +33479,7 @@ export async function getEvents( *

Retrieves the details of an event. Supply the unique identifier of the event, which you might have received in a * webhook.

*/ -export async function getEventsId( +export async function getEventsId( ctx: r.Context, params: { expand?: string[]; @@ -33149,7 +33503,7 @@ export async function getEventsId( *

Returns a list of objects that contain the rates at which foreign currencies are converted to one another. Only shows * the currencies for which Stripe supports.

*/ -export async function getExchangeRates( +export async function getExchangeRates( ctx: r.Context, params: { ending_before?: string; @@ -33194,7 +33548,9 @@ export async function getExchangeRates( /** *

Retrieves the exchange rates from the given currency to every supported currency.

*/ -export async function getExchangeRatesRateId( +export async function getExchangeRatesRateId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -33219,7 +33575,7 @@ export async function getExchangeRatesRateId( /** *

Returns a list of file links.

*/ -export async function getFileLinks( +export async function getFileLinks( ctx: r.Context, params: { created?: @@ -33285,7 +33641,7 @@ export async function getFileLinks( /** *

Creates a new file link object.

*/ -export async function postFileLinks( +export async function postFileLinks( ctx: r.Context, params: {}, body: unknown, @@ -33306,7 +33662,7 @@ export async function postFileLinks( /** *

Retrieves the file link with the given ID.

*/ -export async function getFileLinksLink( +export async function getFileLinksLink( ctx: r.Context, params: { expand?: string[]; @@ -33331,7 +33687,7 @@ export async function getFileLinksLink( /** *

Updates an existing file link object. Expired links can no longer be updated.

*/ -export async function postFileLinksLink( +export async function postFileLinksLink( ctx: r.Context, params: { link: string; @@ -33355,7 +33711,7 @@ export async function postFileLinksLink( *

Returns a list of the files that your account has access to. Stripe sorts and returns the files by their creation * dates, placing the most recently created files at the top.

*/ -export async function getFiles( +export async function getFiles( ctx: r.Context, params: { created?: @@ -33435,7 +33791,7 @@ export async function getFiles( *

All of Stripe’s officially supported * Client libraries support sending multipart/form-data.

*/ -export async function postFiles( +export async function postFiles( ctx: r.Context, params: {}, body: unknown, @@ -33455,7 +33811,7 @@ export async function postFiles( *

Retrieves the details of an existing file object. After you supply a unique file ID, Stripe returns the corresponding * file object. Learn how to access file contents.

*/ -export async function getFilesFile( +export async function getFilesFile( ctx: r.Context, params: { expand?: string[]; @@ -33478,7 +33834,9 @@ export async function getFilesFile( /** *

Returns a list of Financial Connections Account objects.

*/ -export async function getFinancialConnectionsAccounts( +export async function getFinancialConnectionsAccounts< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account_holder?: { @@ -33538,7 +33896,9 @@ export async function getFinancialConnectionsAccounts( /** *

Retrieves the details of an Financial Connections Account.

*/ -export async function getFinancialConnectionsAccountsAccount( +export async function getFinancialConnectionsAccountsAccount< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -33566,7 +33926,7 @@ export async function getFinancialConnectionsAccountsAccount( * associated with the account (e.g. balances, transactions).

*/ export async function postFinancialConnectionsAccountsAccountDisconnect< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -33591,7 +33951,9 @@ export async function postFinancialConnectionsAccountsAccountDisconnect< /** *

Lists all owners for a given Account

*/ -export async function getFinancialConnectionsAccountsAccountOwners( +export async function getFinancialConnectionsAccountsAccountOwners< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -33648,7 +34010,7 @@ export async function getFinancialConnectionsAccountsAccountOwners( *

Refreshes the data associated with a Financial Connections Account.

*/ export async function postFinancialConnectionsAccountsAccountRefresh< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -33674,7 +34036,7 @@ export async function postFinancialConnectionsAccountsAccountRefresh< *

Subscribes to periodic refreshes of data associated with a Financial Connections Account.

*/ export async function postFinancialConnectionsAccountsAccountSubscribe< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -33700,7 +34062,7 @@ export async function postFinancialConnectionsAccountsAccountSubscribe< *

Unsubscribes from periodic refreshes of data associated with a Financial Connections Account.

*/ export async function postFinancialConnectionsAccountsAccountUnsubscribe< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -33726,7 +34088,9 @@ export async function postFinancialConnectionsAccountsAccountUnsubscribe< *

To launch the Financial Connections authorization flow, create a Session. The session’s * client_secret can be used to launch the flow using Stripe.js.

*/ -export async function postFinancialConnectionsSessions( +export async function postFinancialConnectionsSessions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -33748,7 +34112,9 @@ export async function postFinancialConnectionsSessions( /** *

Retrieves the details of a Financial Connections Session

*/ -export async function getFinancialConnectionsSessionsSession( +export async function getFinancialConnectionsSessionsSession< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -33774,7 +34140,9 @@ export async function getFinancialConnectionsSessionsSession( /** *

Returns a list of Financial Connections Transaction objects.

*/ -export async function getFinancialConnectionsTransactions( +export async function getFinancialConnectionsTransactions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -33843,7 +34211,7 @@ export async function getFinancialConnectionsTransactions( *

Retrieves the details of a Financial Connections Transaction

*/ export async function getFinancialConnectionsTransactionsTransaction< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -33870,7 +34238,9 @@ export async function getFinancialConnectionsTransactionsTransaction< /** *

Lists all ForwardingRequest objects.

*/ -export async function getForwardingRequests( +export async function getForwardingRequests< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { created?: { @@ -33927,7 +34297,9 @@ export async function getForwardingRequests( /** *

Creates a ForwardingRequest object.

*/ -export async function postForwardingRequests( +export async function postForwardingRequests< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -33948,7 +34320,9 @@ export async function postForwardingRequests( /** *

Retrieves a ForwardingRequest object.

*/ -export async function getForwardingRequestsId( +export async function getForwardingRequestsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -33973,7 +34347,9 @@ export async function getForwardingRequestsId( /** *

List all verification reports.

*/ -export async function getIdentityVerificationReports( +export async function getIdentityVerificationReports< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { client_reference_id?: string; @@ -34038,7 +34414,9 @@ export async function getIdentityVerificationReports( /** *

Retrieves an existing VerificationReport

*/ -export async function getIdentityVerificationReportsReport( +export async function getIdentityVerificationReportsReport< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -34064,7 +34442,9 @@ export async function getIdentityVerificationReportsReport( /** *

Returns a list of VerificationSessions

*/ -export async function getIdentityVerificationSessions( +export async function getIdentityVerificationSessions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { client_reference_id?: string; @@ -34137,7 +34517,9 @@ export async function getIdentityVerificationSessions( *

Related guide: Verify your users’ identity * documents

*/ -export async function postIdentityVerificationSessions( +export async function postIdentityVerificationSessions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -34164,7 +34546,9 @@ export async function postIdentityVerificationSessions( * client_secret or url * to allow re-submission.

*/ -export async function getIdentityVerificationSessionsSession( +export async function getIdentityVerificationSessionsSession< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -34194,7 +34578,9 @@ export async function getIdentityVerificationSessionsSession( * this method to update the * verification check and options.

*/ -export async function postIdentityVerificationSessionsSession( +export async function postIdentityVerificationSessionsSession< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { session: string; @@ -34223,7 +34609,7 @@ export async function postIdentityVerificationSessionsSession( * cannot be undone. Learn more.

*/ export async function postIdentityVerificationSessionsSessionCancel< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -34278,7 +34664,7 @@ export async function postIdentityVerificationSessionsSessionCancel< * more.

*/ export async function postIdentityVerificationSessionsSessionRedact< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -34304,7 +34690,7 @@ export async function postIdentityVerificationSessionsSessionRedact< *

Returns a list of your invoice items. Invoice items are returned sorted by creation date, with the most recently * created invoice items appearing first.

*/ -export async function getInvoiceitems( +export async function getInvoiceitems( ctx: r.Context, params: { created?: @@ -34370,7 +34756,7 @@ export async function getInvoiceitems( *

Creates an item to be added to a draft invoice (up to 250 items per invoice). If no invoice is specified, the item * will be on the next invoice created for the customer specified.

*/ -export async function postInvoiceitems( +export async function postInvoiceitems( ctx: r.Context, params: {}, body: unknown, @@ -34392,7 +34778,9 @@ export async function postInvoiceitems( *

Deletes an invoice item, removing it from an invoice. Deleting invoice items is only possible when they’re not * attached to invoices, or if it’s attached to a draft invoice.

*/ -export async function deleteInvoiceitemsInvoiceitem( +export async function deleteInvoiceitemsInvoiceitem< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { invoiceitem: string; @@ -34415,7 +34803,9 @@ export async function deleteInvoiceitemsInvoiceitem( /** *

Retrieves the invoice item with the given ID.

*/ -export async function getInvoiceitemsInvoiceitem( +export async function getInvoiceitemsInvoiceitem< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -34441,7 +34831,9 @@ export async function getInvoiceitemsInvoiceitem( *

Updates the amount or description of an invoice item on an upcoming invoice. Updating an invoice item is only * possible before the invoice it’s attached to is closed.

*/ -export async function postInvoiceitemsInvoiceitem( +export async function postInvoiceitemsInvoiceitem< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { invoiceitem: string; @@ -34465,7 +34857,7 @@ export async function postInvoiceitemsInvoiceitem( *

You can list all invoices, or list the invoices for a specific customer. The invoices are returned sorted by creation * date, with the most recently created invoices appearing first.

*/ -export async function getInvoices( +export async function getInvoices( ctx: r.Context, params: { collection_method?: 'charge_automatically' | 'send_invoice'; @@ -34543,7 +34935,7 @@ export async function getInvoices( * href="#finalize_invoice">finalize the invoice, which allows you to pay or send the invoice to your customers.

*/ -export async function postInvoices( +export async function postInvoices( ctx: r.Context, params: {}, body: unknown, @@ -34582,7 +34974,9 @@ export async function postInvoices( * conversion calculations use the latest exchange rates. Exchange rates may vary between the time of the preview and the * time of the actual invoice creation. Learn more

*/ -export async function postInvoicesCreatePreview( +export async function postInvoicesCreatePreview< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -34609,7 +35003,7 @@ export async function postInvoicesCreatePreview( * up * to an hour behind during outages. Search functionality is not available to merchants in India.

*/ -export async function getInvoicesSearch( +export async function getInvoicesSearch( ctx: r.Context, params: { expand?: string[]; @@ -34671,7 +35065,9 @@ export async function getInvoicesSearch( * conversion calculations use the latest exchange rates. Exchange rates may vary between the time of the preview and the * time of the actual invoice creation. Learn more

*/ -export async function getInvoicesUpcoming( +export async function getInvoicesUpcoming< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { automatic_tax?: { @@ -35142,7 +35538,9 @@ export async function getInvoicesUpcoming( * items and the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line * items.

*/ -export async function getInvoicesUpcomingLines( +export async function getInvoicesUpcomingLines< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { automatic_tax?: { @@ -35640,7 +36038,9 @@ export async function getInvoicesUpcomingLines( * a draft state will fail; once an invoice has been finalized or if an invoice is for a subscription, it must be voided.

*/ -export async function deleteInvoicesInvoice( +export async function deleteInvoicesInvoice< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { invoice: string; @@ -35663,7 +36063,7 @@ export async function deleteInvoicesInvoice( /** *

Retrieves the invoice with the given ID.

*/ -export async function getInvoicesInvoice( +export async function getInvoicesInvoice( ctx: r.Context, params: { expand?: string[]; @@ -35698,7 +36098,9 @@ export async function getInvoicesInvoice( * pass * auto_advance=false.

*/ -export async function postInvoicesInvoice( +export async function postInvoicesInvoice< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { invoice: string; @@ -35722,7 +36124,9 @@ export async function postInvoicesInvoice( *

Stripe automatically finalizes drafts before sending and attempting payment on invoices. However, if you’d like to * finalize a draft invoice manually, you can do so using this method.

*/ -export async function postInvoicesInvoiceFinalize( +export async function postInvoicesInvoiceFinalize< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { invoice: string; @@ -35747,7 +36151,9 @@ export async function postInvoicesInvoiceFinalize( * the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line * items.

*/ -export async function getInvoicesInvoiceLines( +export async function getInvoicesInvoiceLines< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -35802,7 +36208,9 @@ export async function getInvoicesInvoiceLines( * Updating an invoice’s * line item is only possible before the invoice is finalized.

*/ -export async function postInvoicesInvoiceLinesLineItemId( +export async function postInvoicesInvoiceLinesLineItemId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { invoice: string; @@ -35827,7 +36235,9 @@ export async function postInvoicesInvoiceLinesLineItemId( *

Marking an invoice as uncollectible is useful for keeping track of bad debts that can be written off for accounting * purposes.

*/ -export async function postInvoicesInvoiceMarkUncollectible( +export async function postInvoicesInvoiceMarkUncollectible< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { invoice: string; @@ -35853,7 +36263,9 @@ export async function postInvoicesInvoiceMarkUncollectible( * if you’d like to attempt payment on an invoice out of the normal collection schedule or for some other reason, you can * do so.

*/ -export async function postInvoicesInvoicePay( +export async function postInvoicesInvoicePay< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { invoice: string; @@ -35882,7 +36294,9 @@ export async function postInvoicesInvoicePay( *

Requests made in test-mode result in * no emails being sent, despite sending an invoice.sent event.

*/ -export async function postInvoicesInvoiceSend( +export async function postInvoicesInvoiceSend< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { invoice: string; @@ -35912,7 +36326,9 @@ export async function postInvoicesInvoiceSend( * href="#create_invoice">issue another invoice or credit note instead. Stripe * recommends that you consult with your legal counsel for advice specific to your business.

*/ -export async function postInvoicesInvoiceVoid( +export async function postInvoicesInvoiceVoid< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { invoice: string; @@ -35936,7 +36352,9 @@ export async function postInvoicesInvoiceVoid( *

Returns a list of Issuing Authorization objects. The objects are sorted in descending order by creation * date, with the most recently created object appearing first.

*/ -export async function getIssuingAuthorizations( +export async function getIssuingAuthorizations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { card?: string; @@ -36001,7 +36419,9 @@ export async function getIssuingAuthorizations( /** *

Retrieves an Issuing Authorization object.

*/ -export async function getIssuingAuthorizationsAuthorization( +export async function getIssuingAuthorizationsAuthorization< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { authorization: string; @@ -36028,7 +36448,9 @@ export async function getIssuingAuthorizationsAuthorization( *

Updates the specified Issuing Authorization object by setting the values of the parameters passed. Any * parameters not provided will be left unchanged.

*/ -export async function postIssuingAuthorizationsAuthorization( +export async function postIssuingAuthorizationsAuthorization< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { authorization: string; @@ -36058,7 +36480,7 @@ export async function postIssuingAuthorizationsAuthorization( * @deprecated */ export async function postIssuingAuthorizationsAuthorizationApprove< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -36089,7 +36511,7 @@ export async function postIssuingAuthorizationsAuthorizationApprove< * @deprecated */ export async function postIssuingAuthorizationsAuthorizationDecline< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -36115,7 +36537,9 @@ export async function postIssuingAuthorizationsAuthorizationDecline< *

Returns a list of Issuing Cardholder objects. The objects are sorted in descending order by creation * date, with the most recently created object appearing first.

*/ -export async function getIssuingCardholders( +export async function getIssuingCardholders< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { created?: @@ -36182,7 +36606,9 @@ export async function getIssuingCardholders( /** *

Creates a new Issuing Cardholder object that can be issued cards.

*/ -export async function postIssuingCardholders( +export async function postIssuingCardholders< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -36203,7 +36629,9 @@ export async function postIssuingCardholders( /** *

Retrieves an Issuing Cardholder object.

*/ -export async function getIssuingCardholdersCardholder( +export async function getIssuingCardholdersCardholder< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { cardholder: string; @@ -36229,7 +36657,9 @@ export async function getIssuingCardholdersCardholder( *

Updates the specified Issuing Cardholder object by setting the values of the parameters passed. Any * parameters not provided will be left unchanged.

*/ -export async function postIssuingCardholdersCardholder( +export async function postIssuingCardholdersCardholder< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { cardholder: string; @@ -36253,7 +36683,7 @@ export async function postIssuingCardholdersCardholder( *

Returns a list of Issuing Card objects. The objects are sorted in descending order by creation date, * with the most recently created object appearing first.

*/ -export async function getIssuingCards( +export async function getIssuingCards( ctx: r.Context, params: { cardholder?: string; @@ -36326,7 +36756,7 @@ export async function getIssuingCards( /** *

Creates an Issuing Card object.

*/ -export async function postIssuingCards( +export async function postIssuingCards( ctx: r.Context, params: {}, body: unknown, @@ -36347,7 +36777,9 @@ export async function postIssuingCards( /** *

Retrieves an Issuing Card object.

*/ -export async function getIssuingCardsCard( +export async function getIssuingCardsCard< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { card: string; @@ -36373,7 +36805,9 @@ export async function getIssuingCardsCard( *

Updates the specified Issuing Card object by setting the values of the parameters passed. Any parameters * not provided will be left unchanged.

*/ -export async function postIssuingCardsCard( +export async function postIssuingCardsCard< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { card: string; @@ -36397,7 +36831,7 @@ export async function postIssuingCardsCard( *

Returns a list of Issuing Dispute objects. The objects are sorted in descending order by creation date, * with the most recently created object appearing first.

*/ -export async function getIssuingDisputes( +export async function getIssuingDisputes( ctx: r.Context, params: { created?: @@ -36463,7 +36897,9 @@ export async function getIssuingDisputes( * href="/docs/issuing/purchases/disputes#dispute-reasons-and-evidence">Dispute reasons and evidence for more details * about evidence requirements.

*/ -export async function postIssuingDisputes( +export async function postIssuingDisputes< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -36484,7 +36920,9 @@ export async function postIssuingDisputes( /** *

Retrieves an Issuing Dispute object.

*/ -export async function getIssuingDisputesDispute( +export async function getIssuingDisputesDispute< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { dispute: string; @@ -36511,7 +36949,9 @@ export async function getIssuingDisputesDispute( * parameters not provided will be left unchanged. Properties on the evidence object can be unset by passing * in an empty string.

*/ -export async function postIssuingDisputesDispute( +export async function postIssuingDisputesDispute< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { dispute: string; @@ -36536,7 +36976,9 @@ export async function postIssuingDisputesDispute( * the dispute’s reason are present. For more details, see Dispute reasons and evidence.

*/ -export async function postIssuingDisputesDisputeSubmit( +export async function postIssuingDisputesDisputeSubmit< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { dispute: string; @@ -36560,7 +37002,9 @@ export async function postIssuingDisputesDisputeSubmit( *

Returns a list of personalization design objects. The objects are sorted in descending order by creation date, with * the most recently created object appearing first.

*/ -export async function getIssuingPersonalizationDesigns( +export async function getIssuingPersonalizationDesigns< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -36619,7 +37063,9 @@ export async function getIssuingPersonalizationDesigns( /** *

Creates a personalization design object.

*/ -export async function postIssuingPersonalizationDesigns( +export async function postIssuingPersonalizationDesigns< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -36642,7 +37088,7 @@ export async function postIssuingPersonalizationDesigns( *

Retrieves a personalization design object.

*/ export async function getIssuingPersonalizationDesignsPersonalizationDesign< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -36670,7 +37116,7 @@ export async function getIssuingPersonalizationDesignsPersonalizationDesign< *

Updates a card personalization object.

*/ export async function postIssuingPersonalizationDesignsPersonalizationDesign< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -36696,7 +37142,9 @@ export async function postIssuingPersonalizationDesignsPersonalizationDesign< *

Returns a list of physical bundle objects. The objects are sorted in descending order by creation date, with the most * recently created object appearing first.

*/ -export async function getIssuingPhysicalBundles( +export async function getIssuingPhysicalBundles< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -36750,7 +37198,9 @@ export async function getIssuingPhysicalBundles( /** *

Retrieves a physical bundle object.

*/ -export async function getIssuingPhysicalBundlesPhysicalBundle( +export async function getIssuingPhysicalBundlesPhysicalBundle< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -36776,7 +37226,9 @@ export async function getIssuingPhysicalBundlesPhysicalBundle( /** *

Retrieves an Issuing Settlement object.

*/ -export async function getIssuingSettlementsSettlement( +export async function getIssuingSettlementsSettlement< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -36802,7 +37254,9 @@ export async function getIssuingSettlementsSettlement( *

Updates the specified Issuing Settlement object by setting the values of the parameters passed. Any * parameters not provided will be left unchanged.

*/ -export async function postIssuingSettlementsSettlement( +export async function postIssuingSettlementsSettlement< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { settlement: string; @@ -36825,7 +37279,7 @@ export async function postIssuingSettlementsSettlement( /** *

Lists all Issuing Token objects for a given card.

*/ -export async function getIssuingTokens( +export async function getIssuingTokens( ctx: r.Context, params: { card: string; @@ -36888,7 +37342,9 @@ export async function getIssuingTokens( /** *

Retrieves an Issuing Token object.

*/ -export async function getIssuingTokensToken( +export async function getIssuingTokensToken< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -36913,7 +37369,9 @@ export async function getIssuingTokensToken( /** *

Attempts to update the specified Issuing Token object to the status specified.

*/ -export async function postIssuingTokensToken( +export async function postIssuingTokensToken< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { token: string; @@ -36937,7 +37395,9 @@ export async function postIssuingTokensToken( *

Returns a list of Issuing Transaction objects. The objects are sorted in descending order by creation * date, with the most recently created object appearing first.

*/ -export async function getIssuingTransactions( +export async function getIssuingTransactions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { card?: string; @@ -37002,7 +37462,9 @@ export async function getIssuingTransactions( /** *

Retrieves an Issuing Transaction object.

*/ -export async function getIssuingTransactionsTransaction( +export async function getIssuingTransactionsTransaction< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -37028,7 +37490,9 @@ export async function getIssuingTransactionsTransaction( *

Updates the specified Issuing Transaction object by setting the values of the parameters passed. Any * parameters not provided will be left unchanged.

*/ -export async function postIssuingTransactionsTransaction( +export async function postIssuingTransactionsTransaction< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { transaction: string; @@ -37052,7 +37516,9 @@ export async function postIssuingTransactionsTransaction( *

To launch the Financial Connections authorization flow, create a Session. The session’s * client_secret can be used to launch the flow using Stripe.js.

*/ -export async function postLinkAccountSessions( +export async function postLinkAccountSessions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -37074,7 +37540,9 @@ export async function postLinkAccountSessions( /** *

Retrieves the details of a Financial Connections Session

*/ -export async function getLinkAccountSessionsSession( +export async function getLinkAccountSessionsSession< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -37100,7 +37568,7 @@ export async function getLinkAccountSessionsSession( /** *

Returns a list of Financial Connections Account objects.

*/ -export async function getLinkedAccounts( +export async function getLinkedAccounts( ctx: r.Context, params: { account_holder?: { @@ -37160,7 +37628,9 @@ export async function getLinkedAccounts( /** *

Retrieves the details of an Financial Connections Account.

*/ -export async function getLinkedAccountsAccount( +export async function getLinkedAccountsAccount< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -37187,7 +37657,9 @@ export async function getLinkedAccountsAccount( *

Disables your access to a Financial Connections Account. You will no longer be able to access data * associated with the account (e.g. balances, transactions).

*/ -export async function postLinkedAccountsAccountDisconnect( +export async function postLinkedAccountsAccountDisconnect< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -37211,7 +37683,9 @@ export async function postLinkedAccountsAccountDisconnect( /** *

Lists all owners for a given Account

*/ -export async function getLinkedAccountsAccountOwners( +export async function getLinkedAccountsAccountOwners< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -37267,7 +37741,9 @@ export async function getLinkedAccountsAccountOwners( /** *

Refreshes the data associated with a Financial Connections Account.

*/ -export async function postLinkedAccountsAccountRefresh( +export async function postLinkedAccountsAccountRefresh< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { account: string; @@ -37291,7 +37767,7 @@ export async function postLinkedAccountsAccountRefresh( /** *

Retrieves a Mandate object.

*/ -export async function getMandatesMandate( +export async function getMandatesMandate( ctx: r.Context, params: { expand?: string[]; @@ -37316,7 +37792,7 @@ export async function getMandatesMandate( /** *

Returns a list of PaymentIntents.

*/ -export async function getPaymentIntents( +export async function getPaymentIntents( ctx: r.Context, params: { created?: @@ -37391,7 +37867,7 @@ export async function getPaymentIntents( * supply * confirm=true.

*/ -export async function postPaymentIntents( +export async function postPaymentIntents( ctx: r.Context, params: {}, body: unknown, @@ -37419,7 +37895,9 @@ export async function postPaymentIntents( * to an hour behind during outages. Search functionality is not * available to merchants in India.

*/ -export async function getPaymentIntentsSearch( +export async function getPaymentIntentsSearch< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -37470,7 +37948,9 @@ export async function getPaymentIntentsSearch( * a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the payment intent object reference for more details.

*/ -export async function getPaymentIntentsIntent( +export async function getPaymentIntentsIntent< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { client_secret?: string; @@ -37505,7 +37985,9 @@ export async function getPaymentIntentsIntent( * properties through * the confirm API instead.

*/ -export async function postPaymentIntentsIntent( +export async function postPaymentIntentsIntent< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { intent: string; @@ -37528,7 +38010,9 @@ export async function postPaymentIntentsIntent( /** *

Manually reconcile the remaining amount for a customer_balance PaymentIntent.

*/ -export async function postPaymentIntentsIntentApplyCustomerBalance( +export async function postPaymentIntentsIntentApplyCustomerBalance< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { intent: string; @@ -37561,7 +38045,9 @@ export async function postPaymentIntentsIntentApplyCustomerBalance( *

You can’t cancel the PaymentIntent for a Checkout Session. Expire the Checkout Session instead.

*/ -export async function postPaymentIntentsIntentCancel( +export async function postPaymentIntentsIntentCancel< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { intent: string; @@ -37591,7 +38077,9 @@ export async function postPaymentIntentsIntentCancel( *

Learn more about separate authorization and * capture.

*/ -export async function postPaymentIntentsIntentCapture( +export async function postPaymentIntentsIntentCapture< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { intent: string; @@ -37648,7 +38136,9 @@ export async function postPaymentIntentsIntentCapture( * the next payment * attempt.

*/ -export async function postPaymentIntentsIntentConfirm( +export async function postPaymentIntentsIntentConfirm< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { intent: string; @@ -37707,7 +38197,7 @@ export async function postPaymentIntentsIntentConfirm( * href="/docs/terminal/features/incremental-authorizations">incremental authorizations.

*/ export async function postPaymentIntentsIntentIncrementAuthorization< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -37731,7 +38221,9 @@ export async function postPaymentIntentsIntentIncrementAuthorization< /** *

Verifies microdeposits on a PaymentIntent object.

*/ -export async function postPaymentIntentsIntentVerifyMicrodeposits( +export async function postPaymentIntentsIntentVerifyMicrodeposits< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { intent: string; @@ -37754,7 +38246,7 @@ export async function postPaymentIntentsIntentVerifyMicrodeposits( /** *

Returns a list of your payment links.

*/ -export async function getPaymentLinks( +export async function getPaymentLinks( ctx: r.Context, params: { active?: boolean; @@ -37806,7 +38298,7 @@ export async function getPaymentLinks( /** *

Creates a payment link.

*/ -export async function postPaymentLinks( +export async function postPaymentLinks( ctx: r.Context, params: {}, body: unknown, @@ -37827,7 +38319,9 @@ export async function postPaymentLinks( /** *

Retrieve a payment link.

*/ -export async function getPaymentLinksPaymentLink( +export async function getPaymentLinksPaymentLink< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -37852,7 +38346,9 @@ export async function getPaymentLinksPaymentLink( /** *

Updates a payment link.

*/ -export async function postPaymentLinksPaymentLink( +export async function postPaymentLinksPaymentLink< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { payment_link: string; @@ -37876,7 +38372,9 @@ export async function postPaymentLinksPaymentLink( *

When retrieving a payment link, there is an includable line_items property containing the first * handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

*/ -export async function getPaymentLinksPaymentLinkLineItems( +export async function getPaymentLinksPaymentLinkLineItems< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -37925,7 +38423,9 @@ export async function getPaymentLinksPaymentLinkLineItems( /** *

List payment method configurations

*/ -export async function getPaymentMethodConfigurations( +export async function getPaymentMethodConfigurations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { application?: string | ''; @@ -37977,7 +38477,9 @@ export async function getPaymentMethodConfigurations( /** *

Creates a payment method configuration

*/ -export async function postPaymentMethodConfigurations( +export async function postPaymentMethodConfigurations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -37999,7 +38501,9 @@ export async function postPaymentMethodConfigurations( /** *

Retrieve payment method configuration

*/ -export async function getPaymentMethodConfigurationsConfiguration( +export async function getPaymentMethodConfigurationsConfiguration< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { configuration: string; @@ -38025,7 +38529,9 @@ export async function getPaymentMethodConfigurationsConfiguration( /** *

Update payment method configuration

*/ -export async function postPaymentMethodConfigurationsConfiguration( +export async function postPaymentMethodConfigurationsConfiguration< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { configuration: string; @@ -38049,7 +38555,9 @@ export async function postPaymentMethodConfigurationsConfiguration( /** *

Lists the details of existing payment method domains.

*/ -export async function getPaymentMethodDomains( +export async function getPaymentMethodDomains< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { domain_name?: string; @@ -38103,7 +38611,9 @@ export async function getPaymentMethodDomains( /** *

Creates a payment method domain.

*/ -export async function postPaymentMethodDomains( +export async function postPaymentMethodDomains< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -38125,7 +38635,9 @@ export async function postPaymentMethodDomains( /** *

Retrieves the details of an existing payment method domain.

*/ -export async function getPaymentMethodDomainsPaymentMethodDomain( +export async function getPaymentMethodDomainsPaymentMethodDomain< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -38151,7 +38663,9 @@ export async function getPaymentMethodDomainsPaymentMethodDomain( /** *

Updates an existing payment method domain.

*/ -export async function postPaymentMethodDomainsPaymentMethodDomain( +export async function postPaymentMethodDomainsPaymentMethodDomain< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { payment_method_domain: string; @@ -38186,7 +38700,7 @@ export async function postPaymentMethodDomainsPaymentMethodDomain( * href="/docs/payments/payment-methods/pmd-registration">Payment method domains.

*/ export async function postPaymentMethodDomainsPaymentMethodDomainValidate< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -38213,7 +38727,7 @@ export async function postPaymentMethodDomainsPaymentMethodDomainValidate< * for payments, you should use the List a Customer’s PaymentMethods * API instead.

*/ -export async function getPaymentMethods( +export async function getPaymentMethods( ctx: r.Context, params: { customer?: string; @@ -38308,7 +38822,7 @@ export async function getPaymentMethods( * or the SetupIntent API to collect payment method details ahead of a future * payment.

*/ -export async function postPaymentMethods( +export async function postPaymentMethods( ctx: r.Context, params: {}, body: unknown, @@ -38330,7 +38844,9 @@ export async function postPaymentMethods( *

Retrieves a PaymentMethod object attached to the StripeAccount. To retrieve a payment method attached to a Customer, * you should use Retrieve a Customer’s PaymentMethods

*/ -export async function getPaymentMethodsPaymentMethod( +export async function getPaymentMethodsPaymentMethod< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -38355,7 +38871,9 @@ export async function getPaymentMethodsPaymentMethod( /** *

Updates a PaymentMethod object. A PaymentMethod must be attached a customer to be updated.

*/ -export async function postPaymentMethodsPaymentMethod( +export async function postPaymentMethodsPaymentMethod< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { payment_method: string; @@ -38400,7 +38918,9 @@ export async function postPaymentMethodsPaymentMethod( * on * the Customer to the PaymentMethod’s ID.

*/ -export async function postPaymentMethodsPaymentMethodAttach( +export async function postPaymentMethodsPaymentMethodAttach< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { payment_method: string; @@ -38424,7 +38944,9 @@ export async function postPaymentMethodsPaymentMethodAttach( *

Detaches a PaymentMethod object from a Customer. After a PaymentMethod is detached, it can no longer be used for a * payment or re-attached to a Customer.

*/ -export async function postPaymentMethodsPaymentMethodDetach( +export async function postPaymentMethodsPaymentMethodDetach< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { payment_method: string; @@ -38448,7 +38970,7 @@ export async function postPaymentMethodsPaymentMethodDetach( *

Returns a list of existing payouts sent to third-party bank accounts or payouts that Stripe sent to you. The payouts * return in sorted order, with the most recently created payouts appearing first.

*/ -export async function getPayouts( +export async function getPayouts( ctx: r.Context, params: { arrival_date?: @@ -38529,7 +39051,7 @@ export async function getPayouts( * that the payout draws from. The balance object details available and pending amounts by * source type.

*/ -export async function postPayouts( +export async function postPayouts( ctx: r.Context, params: {}, body: unknown, @@ -38549,7 +39071,7 @@ export async function postPayouts( *

Retrieves the details of an existing payout. Supply the unique payout ID from either a payout creation request or the * payout list. Stripe returns the corresponding payout information.

*/ -export async function getPayoutsPayout( +export async function getPayoutsPayout( ctx: r.Context, params: { expand?: string[]; @@ -38573,7 +39095,7 @@ export async function getPayoutsPayout( *

Updates the specified payout by setting the values of the parameters you pass. We don’t change parameters that you * don’t provide. This request only accepts the metadata as arguments.

*/ -export async function postPayoutsPayout( +export async function postPayoutsPayout( ctx: r.Context, params: { payout: string; @@ -38595,7 +39117,9 @@ export async function postPayoutsPayout( *

You can cancel a previously created payout if its status is pending. Stripe refunds the funds to your * available balance. You can’t cancel automatic Stripe payouts.

*/ -export async function postPayoutsPayoutCancel( +export async function postPayoutsPayoutCancel< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { payout: string; @@ -38622,7 +39146,9 @@ export async function postPayoutsPayoutCancel( * /v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account authorizes * the debit on the bank account and that no other authorization is required.

*/ -export async function postPayoutsPayoutReverse( +export async function postPayoutsPayoutReverse< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { payout: string; @@ -38643,7 +39169,7 @@ export async function postPayoutsPayoutReverse( /** *

Returns a list of your plans.

*/ -export async function getPlans( +export async function getPlans( ctx: r.Context, params: { active?: boolean; @@ -38710,7 +39236,7 @@ export async function getPlans( *

You can now model subscriptions more flexibly using the Prices API. It replaces the Plans API * and is backwards compatible to simplify your migration.

*/ -export async function postPlans( +export async function postPlans( ctx: r.Context, params: {}, body: unknown, @@ -38729,7 +39255,7 @@ export async function postPlans( /** *

Deleting plans means new subscribers can’t be added. Existing subscribers aren’t affected.

*/ -export async function deletePlansPlan( +export async function deletePlansPlan( ctx: r.Context, params: { plan: string; @@ -38752,7 +39278,7 @@ export async function deletePlansPlan( /** *

Retrieves the plan with the given ID.

*/ -export async function getPlansPlan( +export async function getPlansPlan( ctx: r.Context, params: { expand?: string[]; @@ -38776,7 +39302,7 @@ export async function getPlansPlan( *

Updates the specified plan by setting the values of the parameters passed. Any parameters not provided are left * unchanged. By design, you cannot change a plan’s ID, amount, currency, or billing cycle.

*/ -export async function postPlansPlan( +export async function postPlansPlan( ctx: r.Context, params: { plan: string; @@ -38798,7 +39324,7 @@ export async function postPlansPlan( *

Returns a list of your active prices, excluding inline * prices. For the list of inactive prices, set active to false.

*/ -export async function getPrices( +export async function getPrices( ctx: r.Context, params: { active?: boolean; @@ -38876,7 +39402,7 @@ export async function getPrices( /** *

Creates a new price for an existing product. The price can be recurring or one-time.

*/ -export async function postPrices( +export async function postPrices( ctx: r.Context, params: {}, body: unknown, @@ -38901,7 +39427,7 @@ export async function postPrices( * up * to an hour behind during outages. Search functionality is not available to merchants in India.

*/ -export async function getPricesSearch( +export async function getPricesSearch( ctx: r.Context, params: { expand?: string[]; @@ -38945,7 +39471,7 @@ export async function getPricesSearch( /** *

Retrieves the price with the given ID.

*/ -export async function getPricesPrice( +export async function getPricesPrice( ctx: r.Context, params: { expand?: string[]; @@ -38969,7 +39495,7 @@ export async function getPricesPrice( *

Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left * unchanged.

*/ -export async function postPricesPrice( +export async function postPricesPrice( ctx: r.Context, params: { price: string; @@ -38991,7 +39517,7 @@ export async function postPricesPrice( *

Returns a list of your products. The products are returned sorted by creation date, with the most recently created * products appearing first.

*/ -export async function getProducts( +export async function getProducts( ctx: r.Context, params: { active?: boolean; @@ -39061,7 +39587,7 @@ export async function getProducts( /** *

Creates a new product object.

*/ -export async function postProducts( +export async function postProducts( ctx: r.Context, params: {}, body: unknown, @@ -39088,7 +39614,7 @@ export async function postProducts( * up * to an hour behind during outages. Search functionality is not available to merchants in India.

*/ -export async function getProductsSearch( +export async function getProductsSearch( ctx: r.Context, params: { expand?: string[]; @@ -39133,7 +39659,7 @@ export async function getProductsSearch( *

Delete a product. Deleting a product is only possible if it has no prices associated with it. Additionally, deleting * a product with type=good is only possible if it has no SKUs associated with it.

*/ -export async function deleteProductsId( +export async function deleteProductsId( ctx: r.Context, params: { id: string; @@ -39157,7 +39683,7 @@ export async function deleteProductsId( *

Retrieves the details of an existing product. Supply the unique product ID from either a product creation request or * the product list, and Stripe will return the corresponding product information.

*/ -export async function getProductsId( +export async function getProductsId( ctx: r.Context, params: { expand?: string[]; @@ -39183,7 +39709,7 @@ export async function getProductsId( *

Updates the specific product by setting the values of the parameters passed. Any parameters not provided will be left * unchanged.

*/ -export async function postProductsId( +export async function postProductsId( ctx: r.Context, params: { id: string; @@ -39206,7 +39732,9 @@ export async function postProductsId( /** *

Retrieve a list of features for a product

*/ -export async function getProductsProductFeatures( +export async function getProductsProductFeatures< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -39252,7 +39780,9 @@ export async function getProductsProductFeatures( /** *

Creates a product_feature, which represents a feature attachment to a product

*/ -export async function postProductsProductFeatures( +export async function postProductsProductFeatures< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { product: string; @@ -39275,7 +39805,9 @@ export async function postProductsProductFeatures( /** *

Deletes the feature attachment to a product

*/ -export async function deleteProductsProductFeaturesId( +export async function deleteProductsProductFeaturesId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { id: string; @@ -39300,7 +39832,9 @@ export async function deleteProductsProductFeaturesId( /** *

Retrieves a product_feature, which represents a feature attachment to a product

*/ -export async function getProductsProductFeaturesId( +export async function getProductsProductFeaturesId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -39326,7 +39860,7 @@ export async function getProductsProductFeaturesId( /** *

Returns a list of your promotion codes.

*/ -export async function getPromotionCodes( +export async function getPromotionCodes( ctx: r.Context, params: { active?: boolean; @@ -39394,7 +39928,7 @@ export async function getPromotionCodes( *

A promotion code points to a coupon. You can optionally restrict the code to a specific customer, redemption limit, * and expiration date.

*/ -export async function postPromotionCodes( +export async function postPromotionCodes( ctx: r.Context, params: {}, body: unknown, @@ -39416,7 +39950,9 @@ export async function postPromotionCodes( *

Retrieves the promotion code with the given ID. In order to retrieve a promotion code by the customer-facing * code use list with the desired code.

*/ -export async function getPromotionCodesPromotionCode( +export async function getPromotionCodesPromotionCode< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -39442,7 +39978,9 @@ export async function getPromotionCodesPromotionCode( *

Updates the specified promotion code by setting the values of the parameters passed. Most fields are, by design, not * editable.

*/ -export async function postPromotionCodesPromotionCode( +export async function postPromotionCodesPromotionCode< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { promotion_code: string; @@ -39465,7 +40003,7 @@ export async function postPromotionCodesPromotionCode( /** *

Returns a list of your quotes.

*/ -export async function getQuotes( +export async function getQuotes( ctx: r.Context, params: { customer?: string; @@ -39523,7 +40061,7 @@ export async function getQuotes( * footer, and expires_at can be set in the dashboard via the quote template.

*/ -export async function postQuotes( +export async function postQuotes( ctx: r.Context, params: {}, body: unknown, @@ -39542,7 +40080,7 @@ export async function postQuotes( /** *

Retrieves the quote with the given ID.

*/ -export async function getQuotesQuote( +export async function getQuotesQuote( ctx: r.Context, params: { expand?: string[]; @@ -39565,7 +40103,7 @@ export async function getQuotesQuote( /** *

A quote models prices and services for a customer.

*/ -export async function postQuotesQuote( +export async function postQuotesQuote( ctx: r.Context, params: { quote: string; @@ -39586,7 +40124,9 @@ export async function postQuotesQuote( /** *

Accepts the specified quote.

*/ -export async function postQuotesQuoteAccept( +export async function postQuotesQuoteAccept< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { quote: string; @@ -39607,7 +40147,9 @@ export async function postQuotesQuoteAccept( /** *

Cancels the quote.

*/ -export async function postQuotesQuoteCancel( +export async function postQuotesQuoteCancel< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { quote: string; @@ -39631,7 +40173,9 @@ export async function postQuotesQuoteCancel( * property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) * list of upfront line items.

*/ -export async function getQuotesQuoteComputedUpfrontLineItems( +export async function getQuotesQuoteComputedUpfrontLineItems< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -39680,7 +40224,9 @@ export async function getQuotesQuoteComputedUpfrontLineItems( /** *

Finalizes the quote.

*/ -export async function postQuotesQuoteFinalize( +export async function postQuotesQuoteFinalize< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { quote: string; @@ -39702,7 +40248,9 @@ export async function postQuotesQuoteFinalize( *

When retrieving a quote, there is an includable line_items property containing the first handful of * those items. There is also a URL where you can retrieve the full (paginated) list of line items.

*/ -export async function getQuotesQuoteLineItems( +export async function getQuotesQuoteLineItems< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -39752,7 +40300,7 @@ export async function getQuotesQuoteLineItems( *

Download the PDF for a finalized quote. Explanation for special handling can be found here

*/ -export async function getQuotesQuotePdf( +export async function getQuotesQuotePdf( ctx: r.Context, params: { expand?: string[]; @@ -39777,7 +40325,9 @@ export async function getQuotesQuotePdf( /** *

Returns a list of early fraud warnings.

*/ -export async function getRadarEarlyFraudWarnings( +export async function getRadarEarlyFraudWarnings< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { charge?: string; @@ -39843,7 +40393,9 @@ export async function getRadarEarlyFraudWarnings( *

Please refer to the early fraud warning object reference for more details.

*/ -export async function getRadarEarlyFraudWarningsEarlyFraudWarning( +export async function getRadarEarlyFraudWarningsEarlyFraudWarning< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { early_fraud_warning: string; @@ -39870,7 +40422,9 @@ export async function getRadarEarlyFraudWarningsEarlyFraudWarning( *

Returns a list of ValueListItem objects. The objects are sorted in descending order by creation date, * with the most recently created object appearing first.

*/ -export async function getRadarValueListItems( +export async function getRadarValueListItems< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { created?: @@ -39933,7 +40487,9 @@ export async function getRadarValueListItems( /** *

Creates a new ValueListItem object, which is added to the specified parent value list.

*/ -export async function postRadarValueListItems( +export async function postRadarValueListItems< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -39954,7 +40510,9 @@ export async function postRadarValueListItems( /** *

Deletes a ValueListItem object, removing it from its parent value list.

*/ -export async function deleteRadarValueListItemsItem( +export async function deleteRadarValueListItemsItem< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { item: string; @@ -39978,7 +40536,9 @@ export async function deleteRadarValueListItemsItem( /** *

Retrieves a ValueListItem object.

*/ -export async function getRadarValueListItemsItem( +export async function getRadarValueListItemsItem< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -40004,7 +40564,7 @@ export async function getRadarValueListItemsItem( *

Returns a list of ValueList objects. The objects are sorted in descending order by creation date, with * the most recently created object appearing first.

*/ -export async function getRadarValueLists( +export async function getRadarValueLists( ctx: r.Context, params: { alias?: string; @@ -40067,7 +40627,9 @@ export async function getRadarValueLists( /** *

Creates a new ValueList object, which can then be referenced in rules.

*/ -export async function postRadarValueLists( +export async function postRadarValueLists< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -40089,7 +40651,9 @@ export async function postRadarValueLists( *

Deletes a ValueList object, also deleting any items contained within the value list. To be deleted, a * value list must not be referenced in any rules.

*/ -export async function deleteRadarValueListsValueList( +export async function deleteRadarValueListsValueList< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { value_list: string; @@ -40113,7 +40677,9 @@ export async function deleteRadarValueListsValueList( /** *

Retrieves a ValueList object.

*/ -export async function getRadarValueListsValueList( +export async function getRadarValueListsValueList< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -40139,7 +40705,9 @@ export async function getRadarValueListsValueList( *

Updates a ValueList object by setting the values of the parameters passed. Any parameters not provided * will be left unchanged. Note that item_type is immutable.

*/ -export async function postRadarValueListsValueList( +export async function postRadarValueListsValueList< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { value_list: string; @@ -40163,7 +40731,7 @@ export async function postRadarValueListsValueList( *

Returns a list of all refunds you created. We return the refunds in sorted order, with the most recent refunds * appearing first The 10 most recent refunds are always available by default on the Charge object.

*/ -export async function getRefunds( +export async function getRefunds( ctx: r.Context, params: { charge?: string; @@ -40241,7 +40809,7 @@ export async function getRefunds( * or when * trying to refund more money than is left on a charge.

*/ -export async function postRefunds( +export async function postRefunds( ctx: r.Context, params: {}, body: unknown, @@ -40260,7 +40828,7 @@ export async function postRefunds( /** *

Retrieves the details of an existing refund.

*/ -export async function getRefundsRefund( +export async function getRefundsRefund( ctx: r.Context, params: { expand?: string[]; @@ -40286,7 +40854,7 @@ export async function getRefundsRefund( * *

This request only accepts metadata as an argument.

*/ -export async function postRefundsRefund( +export async function postRefundsRefund( ctx: r.Context, params: { refund: string; @@ -40310,7 +40878,9 @@ export async function postRefundsRefund( *

You can’t cancel refunds in other states. * Only refunds for payment methods that require customer action can enter the requires_action state.

*/ -export async function postRefundsRefundCancel( +export async function postRefundsRefundCancel< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { refund: string; @@ -40331,7 +40901,9 @@ export async function postRefundsRefundCancel( /** *

Returns a list of Report Runs, with the most recent appearing first.

*/ -export async function getReportingReportRuns( +export async function getReportingReportRuns< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { created?: @@ -40391,7 +40963,9 @@ export async function getReportingReportRuns( *

Creates a new object and begin running the report. (Certain report types require a live-mode API key.)

*/ -export async function postReportingReportRuns( +export async function postReportingReportRuns< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -40412,7 +40986,9 @@ export async function postReportingReportRuns( /** *

Retrieves the details of an existing Report Run.

*/ -export async function getReportingReportRunsReportRun( +export async function getReportingReportRunsReportRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -40437,7 +41013,9 @@ export async function getReportingReportRunsReportRun( /** *

Returns a full list of Report Types.

*/ -export async function getReportingReportTypes( +export async function getReportingReportTypes< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -40480,7 +41058,9 @@ export async function getReportingReportTypes( *

Retrieves the details of a Report Type. (Certain report types require a live-mode API key.)

*/ -export async function getReportingReportTypesReportType( +export async function getReportingReportTypesReportType< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -40507,7 +41087,7 @@ export async function getReportingReportTypesReportType( *

Returns a list of Review objects that have open set to true. The objects are * sorted in descending order by creation date, with the most recently created object appearing first.

*/ -export async function getReviews( +export async function getReviews( ctx: r.Context, params: { created?: @@ -40566,7 +41146,7 @@ export async function getReviews( /** *

Retrieves a Review object.

*/ -export async function getReviewsReview( +export async function getReviewsReview( ctx: r.Context, params: { expand?: string[]; @@ -40589,7 +41169,9 @@ export async function getReviewsReview( /** *

Approves a Review object, closing it and removing it from the list of reviews.

*/ -export async function postReviewsReviewApprove( +export async function postReviewsReviewApprove< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { review: string; @@ -40610,7 +41192,7 @@ export async function postReviewsReviewApprove( /** *

Returns a list of SetupAttempts that associate with a provided SetupIntent.

*/ -export async function getSetupAttempts( +export async function getSetupAttempts( ctx: r.Context, params: { created?: @@ -40671,7 +41253,7 @@ export async function getSetupAttempts( /** *

Returns a list of SetupIntents.

*/ -export async function getSetupIntents( +export async function getSetupIntents( ctx: r.Context, params: { attach_to_self?: boolean; @@ -40741,7 +41323,7 @@ export async function getSetupIntents( * it to collect any required permissions to charge the payment method * later.

*/ -export async function postSetupIntents( +export async function postSetupIntents( ctx: r.Context, params: {}, body: unknown, @@ -40769,7 +41351,9 @@ export async function postSetupIntents( * with a publishable key, only a subset of properties will be returned. Please refer to the SetupIntent object reference for more details.

*/ -export async function getSetupIntentsIntent( +export async function getSetupIntentsIntent< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { client_secret?: string; @@ -40795,7 +41379,9 @@ export async function getSetupIntentsIntent( /** *

Updates a SetupIntent object.

*/ -export async function postSetupIntentsIntent( +export async function postSetupIntentsIntent< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { intent: string; @@ -40820,9 +41406,12 @@ export async function postSetupIntentsIntent( * requires_confirmation, or requires_action.

* *

After you cancel it, setup is abandoned - * and any operations on the SetupIntent fail with an error.

+ * and any operations on the SetupIntent fail with an error. You can’t cancel the SetupIntent for a Checkout Session. Expire the Checkout Session instead.

*/ -export async function postSetupIntentsIntentCancel( +export async function postSetupIntentsIntentCancel< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { intent: string; @@ -40864,7 +41453,9 @@ export async function postSetupIntentsIntentCancel( * confirmation limit is * reached.

*/ -export async function postSetupIntentsIntentConfirm( +export async function postSetupIntentsIntentConfirm< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { intent: string; @@ -40887,7 +41478,9 @@ export async function postSetupIntentsIntentConfirm( /** *

Verifies microdeposits on a SetupIntent object.

*/ -export async function postSetupIntentsIntentVerifyMicrodeposits( +export async function postSetupIntentsIntentVerifyMicrodeposits< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { intent: string; @@ -40910,7 +41503,7 @@ export async function postSetupIntentsIntentVerifyMicrodeposits( /** *

Returns a list of your shipping rates.

*/ -export async function getShippingRates( +export async function getShippingRates( ctx: r.Context, params: { active?: boolean; @@ -40973,7 +41566,7 @@ export async function getShippingRates( /** *

Creates a new shipping rate object.

*/ -export async function postShippingRates( +export async function postShippingRates( ctx: r.Context, params: {}, body: unknown, @@ -40994,7 +41587,9 @@ export async function postShippingRates( /** *

Returns the shipping rate object with the given ID.

*/ -export async function getShippingRatesShippingRateToken( +export async function getShippingRatesShippingRateToken< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -41019,7 +41614,9 @@ export async function getShippingRatesShippingRateToken( /** *

Updates an existing shipping rate object.

*/ -export async function postShippingRatesShippingRateToken( +export async function postShippingRatesShippingRateToken< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { shipping_rate_token: string; @@ -41042,7 +41639,9 @@ export async function postShippingRatesShippingRateToken( /** *

Returns a list of scheduled query runs.

*/ -export async function getSigmaScheduledQueryRuns( +export async function getSigmaScheduledQueryRuns< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -41087,7 +41686,9 @@ export async function getSigmaScheduledQueryRuns( /** *

Retrieves the details of an scheduled query run.

*/ -export async function getSigmaScheduledQueryRunsScheduledQueryRun( +export async function getSigmaScheduledQueryRunsScheduledQueryRun< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -41112,7 +41713,7 @@ export async function getSigmaScheduledQueryRunsScheduledQueryRun( /** *

Creates a new source object.

*/ -export async function postSources( +export async function postSources( ctx: r.Context, params: {}, body: unknown, @@ -41132,7 +41733,7 @@ export async function postSources( *

Retrieves an existing source object. Supply the unique source ID from a source creation request and Stripe will * return the corresponding up-to-date source object information.

*/ -export async function getSourcesSource( +export async function getSourcesSource( ctx: r.Context, params: { client_secret?: string; @@ -41161,7 +41762,7 @@ export async function getSourcesSource( * possible to update type specific information for selected payment methods. Please refer to our payment method guides for more detail.

*/ -export async function postSourcesSource( +export async function postSourcesSource( ctx: r.Context, params: { source: string; @@ -41183,7 +41784,7 @@ export async function postSourcesSource( *

Retrieves a new Source MandateNotification.

*/ export async function getSourcesSourceMandateNotificationsMandateNotification< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -41211,7 +41812,9 @@ export async function getSourcesSourceMandateNotificationsMandateNotification< /** *

List source transactions for a given source.

*/ -export async function getSourcesSourceSourceTransactions( +export async function getSourcesSourceSourceTransactions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -41259,7 +41862,7 @@ export async function getSourcesSourceSourceTransactions( * source transaction ID and Stripe will return the corresponding up-to-date source object information.

*/ export async function getSourcesSourceSourceTransactionsSourceTransaction< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -41286,7 +41889,9 @@ export async function getSourcesSourceSourceTransactionsSourceTransaction< /** *

Verify a given source.

*/ -export async function postSourcesSourceVerify( +export async function postSourcesSourceVerify< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { source: string; @@ -41307,7 +41912,9 @@ export async function postSourcesSourceVerify( /** *

Returns a list of your subscription items for a given subscription.

*/ -export async function getSubscriptionItems( +export async function getSubscriptionItems< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -41359,7 +41966,9 @@ export async function getSubscriptionItems( /** *

Adds a new item to an existing subscription. No existing items will be changed or replaced.

*/ -export async function postSubscriptionItems( +export async function postSubscriptionItems< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -41381,7 +41990,9 @@ export async function postSubscriptionItems( *

Deletes an item from the subscription. Removing a subscription item from a subscription will not cancel the * subscription.

*/ -export async function deleteSubscriptionItemsItem( +export async function deleteSubscriptionItemsItem< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { item: string; @@ -41405,7 +42016,9 @@ export async function deleteSubscriptionItemsItem( /** *

Retrieves the subscription item with the given ID.

*/ -export async function getSubscriptionItemsItem( +export async function getSubscriptionItemsItem< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -41430,7 +42043,9 @@ export async function getSubscriptionItemsItem( /** *

Updates the plan or quantity of an item on a current subscription.

*/ -export async function postSubscriptionItemsItem( +export async function postSubscriptionItemsItem< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { item: string; @@ -41461,7 +42076,7 @@ export async function postSubscriptionItemsItem( * billing period ends.

*/ export async function getSubscriptionItemsSubscriptionItemUsageRecordSummaries< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -41526,7 +42141,7 @@ export async function getSubscriptionItemsSubscriptionItemUsageRecordSummaries< * metered billing to have a tiered pricing model.

*/ export async function postSubscriptionItemsSubscriptionItemUsageRecords< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -41550,7 +42165,9 @@ export async function postSubscriptionItemsSubscriptionItemUsageRecords< /** *

Retrieves the list of your subscription schedules.

*/ -export async function getSubscriptionSchedules( +export async function getSubscriptionSchedules< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { canceled_at?: @@ -41640,7 +42257,9 @@ export async function getSubscriptionSchedules( /** *

Creates a new subscription schedule object. Each customer can have up to 500 active or scheduled subscriptions.

*/ -export async function postSubscriptionSchedules( +export async function postSubscriptionSchedules< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -41663,7 +42282,9 @@ export async function postSubscriptionSchedules( *

Retrieves the details of an existing subscription schedule. You only need to supply the unique subscription schedule * identifier that was returned upon subscription schedule creation.

*/ -export async function getSubscriptionSchedulesSchedule( +export async function getSubscriptionSchedulesSchedule< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -41689,7 +42310,9 @@ export async function getSubscriptionSchedulesSchedule( /** *

Updates an existing subscription schedule.

*/ -export async function postSubscriptionSchedulesSchedule( +export async function postSubscriptionSchedulesSchedule< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { schedule: string; @@ -41715,7 +42338,9 @@ export async function postSubscriptionSchedulesSchedule( * active subscription). A subscription schedule can only be canceled if its status is not_started or * active.

*/ -export async function postSubscriptionSchedulesScheduleCancel( +export async function postSubscriptionSchedulesScheduleCancel< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { schedule: string; @@ -41742,7 +42367,9 @@ export async function postSubscriptionSchedulesScheduleCancel( * If the subscription schedule is currently associated with a subscription, releasing it will remove its * subscription property and set the subscription’s ID to the released_subscription property.

*/ -export async function postSubscriptionSchedulesScheduleRelease( +export async function postSubscriptionSchedulesScheduleRelease< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { schedule: string; @@ -41767,7 +42394,7 @@ export async function postSubscriptionSchedulesScheduleRelease( *

By default, returns a list of subscriptions that have not been canceled. In order to list canceled subscriptions, * specify status=canceled.

*/ -export async function getSubscriptions( +export async function getSubscriptions( ctx: r.Context, params: { automatic_tax?: { @@ -41880,7 +42507,7 @@ export async function getSubscriptions( * Schedules provide the flexibility to model more complex billing configurations that change over * time.

*/ -export async function postSubscriptions( +export async function postSubscriptions( ctx: r.Context, params: {}, body: unknown, @@ -41907,7 +42534,9 @@ export async function postSubscriptions( * up * to an hour behind during outages. Search functionality is not available to merchants in India.

*/ -export async function getSubscriptionsSearch( +export async function getSubscriptionsSearch< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -41963,7 +42592,9 @@ export async function getSubscriptionsSearch( * automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check * for unpaid invoices before allowing the customer to cancel the subscription at all.

*/ -export async function deleteSubscriptionsSubscriptionExposedId( +export async function deleteSubscriptionsSubscriptionExposedId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { subscription_exposed_id: string; @@ -41986,7 +42617,9 @@ export async function deleteSubscriptionsSubscriptionExposedId( /** *

Retrieves the subscription with the given ID.

*/ -export async function getSubscriptionsSubscriptionExposedId( +export async function getSubscriptionsSubscriptionExposedId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -42054,7 +42687,9 @@ export async function getSubscriptionsSubscriptionExposedId( * in an hour may result in rate limiting. If you need to bill for a frequently changing * quantity, consider integrating usage-based billing instead.

*/ -export async function postSubscriptionsSubscriptionExposedId( +export async function postSubscriptionsSubscriptionExposedId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { subscription_exposed_id: string; @@ -42078,7 +42713,7 @@ export async function postSubscriptionsSubscriptionExposedId( *

Removes the currently applied discount on a subscription.

*/ export async function deleteSubscriptionsSubscriptionExposedIdDiscount< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -42105,7 +42740,9 @@ export async function deleteSubscriptionsSubscriptionExposedIdDiscount< * If payment succeeds the subscription will become active, and if payment fails the subscription will be * past_due. The resumption invoice will void automatically if not paid by the expiration date.

*/ -export async function postSubscriptionsSubscriptionResume( +export async function postSubscriptionsSubscriptionResume< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { subscription: string; @@ -42128,7 +42765,9 @@ export async function postSubscriptionsSubscriptionResume( /** *

Calculates tax based on input and returns a Tax Calculation object.

*/ -export async function postTaxCalculations( +export async function postTaxCalculations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -42149,7 +42788,9 @@ export async function postTaxCalculations( /** *

Retrieves the line items of a persisted tax calculation as a collection.

*/ -export async function getTaxCalculationsCalculationLineItems( +export async function getTaxCalculationsCalculationLineItems< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { calculation: string; @@ -42198,7 +42839,9 @@ export async function getTaxCalculationsCalculationLineItems( /** *

Returns a list of Tax Registration objects.

*/ -export async function getTaxRegistrations( +export async function getTaxRegistrations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -42250,7 +42893,9 @@ export async function getTaxRegistrations( /** *

Creates a new Tax Registration object.

*/ -export async function postTaxRegistrations( +export async function postTaxRegistrations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -42271,7 +42916,9 @@ export async function postTaxRegistrations( /** *

Returns a Tax Registration object.

*/ -export async function getTaxRegistrationsId( +export async function getTaxRegistrationsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -42299,7 +42946,9 @@ export async function getTaxRegistrationsId( *

A registration cannot be deleted after it has been * created. If you wish to end a registration you may do so by setting expires_at.

*/ -export async function postTaxRegistrationsId( +export async function postTaxRegistrationsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { id: string; @@ -42322,7 +42971,7 @@ export async function postTaxRegistrationsId( /** *

Retrieves Tax Settings for a merchant.

*/ -export async function getTaxSettings( +export async function getTaxSettings( ctx: r.Context, params: { expand?: string[]; @@ -42347,7 +42996,7 @@ export async function getTaxSettings( *

Updates Tax Settings parameters used in tax calculations. All parameters are editable but none can be * removed once set.

*/ -export async function postTaxSettings( +export async function postTaxSettings( ctx: r.Context, params: {}, body: unknown, @@ -42366,9 +43015,12 @@ export async function postTaxSettings( return ctx.handleResponse(res, {}, true); } /** - *

Creates a Tax Transaction from a calculation.

+ *

Creates a Tax Transaction from a calculation, if that calculation hasn’t expired. Calculations expire after 90 + * days.

*/ -export async function postTaxTransactionsCreateFromCalculation( +export async function postTaxTransactionsCreateFromCalculation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -42389,7 +43041,9 @@ export async function postTaxTransactionsCreateFromCalculation( /** *

Partially or fully reverses a previously created Transaction.

*/ -export async function postTaxTransactionsCreateReversal( +export async function postTaxTransactionsCreateReversal< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -42410,7 +43064,9 @@ export async function postTaxTransactionsCreateReversal( /** *

Retrieves a Tax Transaction object.

*/ -export async function getTaxTransactionsTransaction( +export async function getTaxTransactionsTransaction< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -42435,7 +43091,9 @@ export async function getTaxTransactionsTransaction( /** *

Retrieves the line items of a committed standalone transaction as a collection.

*/ -export async function getTaxTransactionsTransactionLineItems( +export async function getTaxTransactionsTransactionLineItems< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -42485,7 +43143,7 @@ export async function getTaxTransactionsTransactionLineItems( *

A list of all tax codes available to add to Products in * order to allow specific tax calculations.

*/ -export async function getTaxCodes( +export async function getTaxCodes( ctx: r.Context, params: { ending_before?: string; @@ -42531,7 +43189,7 @@ export async function getTaxCodes( *

Retrieves the details of an existing tax code. Supply the unique tax code ID and Stripe will return the corresponding * tax code information.

*/ -export async function getTaxCodesId( +export async function getTaxCodesId( ctx: r.Context, params: { expand?: string[]; @@ -42556,7 +43214,7 @@ export async function getTaxCodesId( /** *

Returns a list of tax IDs.

*/ -export async function getTaxIds( +export async function getTaxIds( ctx: r.Context, params: { ending_before?: string; @@ -42615,7 +43273,7 @@ export async function getTaxIds( /** *

Creates a new account or customer tax_id object.

*/ -export async function postTaxIds( +export async function postTaxIds( ctx: r.Context, params: {}, body: unknown, @@ -42634,7 +43292,7 @@ export async function postTaxIds( /** *

Deletes an existing account or customer tax_id object.

*/ -export async function deleteTaxIdsId( +export async function deleteTaxIdsId( ctx: r.Context, params: { id: string; @@ -42657,7 +43315,7 @@ export async function deleteTaxIdsId( /** *

Retrieves an account or customer tax_id object.

*/ -export async function getTaxIdsId( +export async function getTaxIdsId( ctx: r.Context, params: { expand?: string[]; @@ -42681,7 +43339,7 @@ export async function getTaxIdsId( *

Returns a list of your tax rates. Tax rates are returned sorted by creation date, with the most recently created tax * rates appearing first.

*/ -export async function getTaxRates( +export async function getTaxRates( ctx: r.Context, params: { active?: boolean; @@ -42744,7 +43402,7 @@ export async function getTaxRates( /** *

Creates a new tax rate.

*/ -export async function postTaxRates( +export async function postTaxRates( ctx: r.Context, params: {}, body: unknown, @@ -42765,7 +43423,7 @@ export async function postTaxRates( /** *

Retrieves a tax rate with the given ID

*/ -export async function getTaxRatesTaxRate( +export async function getTaxRatesTaxRate( ctx: r.Context, params: { expand?: string[]; @@ -42790,7 +43448,9 @@ export async function getTaxRatesTaxRate( /** *

Updates an existing tax rate.

*/ -export async function postTaxRatesTaxRate( +export async function postTaxRatesTaxRate< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { tax_rate: string; @@ -42813,7 +43473,9 @@ export async function postTaxRatesTaxRate( /** *

Returns a list of Configuration objects.

*/ -export async function getTerminalConfigurations( +export async function getTerminalConfigurations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -42865,7 +43527,9 @@ export async function getTerminalConfigurations( /** *

Creates a new Configuration object.

*/ -export async function postTerminalConfigurations( +export async function postTerminalConfigurations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -42887,7 +43551,9 @@ export async function postTerminalConfigurations( /** *

Deletes a Configuration object.

*/ -export async function deleteTerminalConfigurationsConfiguration( +export async function deleteTerminalConfigurationsConfiguration< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { configuration: string; @@ -42911,7 +43577,9 @@ export async function deleteTerminalConfigurationsConfiguration( /** *

Retrieves a Configuration object.

*/ -export async function getTerminalConfigurationsConfiguration( +export async function getTerminalConfigurationsConfiguration< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { configuration: string; @@ -42937,7 +43605,9 @@ export async function getTerminalConfigurationsConfiguration( /** *

Updates a new Configuration object.

*/ -export async function postTerminalConfigurationsConfiguration( +export async function postTerminalConfigurationsConfiguration< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { configuration: string; @@ -42962,7 +43632,9 @@ export async function postTerminalConfigurationsConfiguration( *

To connect to a reader the Stripe Terminal SDK needs to retrieve a short-lived connection token from Stripe, proxied * through your server. On your backend, add an endpoint that creates and returns a connection token.

*/ -export async function postTerminalConnectionTokens( +export async function postTerminalConnectionTokens< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -42984,7 +43656,9 @@ export async function postTerminalConnectionTokens( /** *

Returns a list of Location objects.

*/ -export async function getTerminalLocations( +export async function getTerminalLocations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -43031,7 +43705,9 @@ export async function getTerminalLocations( * For further details, including which address fields are required in each * country, see the Manage locations guide.

*/ -export async function postTerminalLocations( +export async function postTerminalLocations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -43052,7 +43728,9 @@ export async function postTerminalLocations( /** *

Deletes a Location object.

*/ -export async function deleteTerminalLocationsLocation( +export async function deleteTerminalLocationsLocation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { location: string; @@ -43076,7 +43754,9 @@ export async function deleteTerminalLocationsLocation( /** *

Retrieves a Location object.

*/ -export async function getTerminalLocationsLocation( +export async function getTerminalLocationsLocation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -43103,7 +43783,9 @@ export async function getTerminalLocationsLocation( *

Updates a Location object by setting the values of the parameters passed. Any parameters not provided * will be left unchanged.

*/ -export async function postTerminalLocationsLocation( +export async function postTerminalLocationsLocation< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { location: string; @@ -43127,7 +43809,7 @@ export async function postTerminalLocationsLocation( /** *

Returns a list of Reader objects.

*/ -export async function getTerminalReaders( +export async function getTerminalReaders( ctx: r.Context, params: { device_type?: @@ -43195,7 +43877,9 @@ export async function getTerminalReaders( /** *

Creates a new Reader object.

*/ -export async function postTerminalReaders( +export async function postTerminalReaders< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -43216,7 +43900,9 @@ export async function postTerminalReaders( /** *

Deletes a Reader object.

*/ -export async function deleteTerminalReadersReader( +export async function deleteTerminalReadersReader< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { reader: string; @@ -43240,7 +43926,9 @@ export async function deleteTerminalReadersReader( /** *

Retrieves a Reader object.

*/ -export async function getTerminalReadersReader( +export async function getTerminalReadersReader< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -43267,7 +43955,9 @@ export async function getTerminalReadersReader( *

Updates a Reader object by setting the values of the parameters passed. Any parameters not provided will * be left unchanged.

*/ -export async function postTerminalReadersReader( +export async function postTerminalReadersReader< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { reader: string; @@ -43291,7 +43981,9 @@ export async function postTerminalReadersReader( /** *

Cancels the current reader action.

*/ -export async function postTerminalReadersReaderCancelAction( +export async function postTerminalReadersReaderCancelAction< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { reader: string; @@ -43315,7 +44007,7 @@ export async function postTerminalReadersReaderCancelAction( *

Initiates a payment flow on a Reader.

*/ export async function postTerminalReadersReaderProcessPaymentIntent< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -43339,7 +44031,9 @@ export async function postTerminalReadersReaderProcessPaymentIntent< /** *

Initiates a setup intent flow on a Reader.

*/ -export async function postTerminalReadersReaderProcessSetupIntent( +export async function postTerminalReadersReaderProcessSetupIntent< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { reader: string; @@ -43362,7 +44056,9 @@ export async function postTerminalReadersReaderProcessSetupIntent( /** *

Initiates a refund on a Reader

*/ -export async function postTerminalReadersReaderRefundPayment( +export async function postTerminalReadersReaderRefundPayment< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { reader: string; @@ -43385,7 +44081,9 @@ export async function postTerminalReadersReaderRefundPayment( /** *

Sets reader display to show cart details.

*/ -export async function postTerminalReadersReaderSetReaderDisplay( +export async function postTerminalReadersReaderSetReaderDisplay< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { reader: string; @@ -43408,7 +44106,9 @@ export async function postTerminalReadersReaderSetReaderDisplay( /** *

Creates a test mode Confirmation Token server side for your integration tests.

*/ -export async function postTestHelpersConfirmationTokens( +export async function postTestHelpersConfirmationTokens< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -43430,7 +44130,7 @@ export async function postTestHelpersConfirmationTokens( *

Create an incoming testmode bank transfer

*/ export async function postTestHelpersCustomersCustomerFundCashBalance< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -43455,7 +44155,9 @@ export async function postTestHelpersCustomersCustomerFundCashBalance< /** *

Create a test-mode authorization.

*/ -export async function postTestHelpersIssuingAuthorizations( +export async function postTestHelpersIssuingAuthorizations< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -43478,7 +44180,7 @@ export async function postTestHelpersIssuingAuthorizations( *

Capture a test-mode authorization.

*/ export async function postTestHelpersIssuingAuthorizationsAuthorizationCapture< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -43504,7 +44206,7 @@ export async function postTestHelpersIssuingAuthorizationsAuthorizationCapture< *

Expire a test-mode Authorization.

*/ export async function postTestHelpersIssuingAuthorizationsAuthorizationExpire< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -43530,7 +44232,7 @@ export async function postTestHelpersIssuingAuthorizationsAuthorizationExpire< *

Increment a test-mode Authorization.

*/ export async function postTestHelpersIssuingAuthorizationsAuthorizationIncrement< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -43556,7 +44258,7 @@ export async function postTestHelpersIssuingAuthorizationsAuthorizationIncrement *

Reverse a test-mode Authorization.

*/ export async function postTestHelpersIssuingAuthorizationsAuthorizationReverse< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -43582,7 +44284,7 @@ export async function postTestHelpersIssuingAuthorizationsAuthorizationReverse< *

Updates the shipping status of the specified Issuing Card object to delivered.

*/ export async function postTestHelpersIssuingCardsCardShippingDeliver< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -43606,7 +44308,9 @@ export async function postTestHelpersIssuingCardsCardShippingDeliver< /** *

Updates the shipping status of the specified Issuing Card object to failure.

*/ -export async function postTestHelpersIssuingCardsCardShippingFail( +export async function postTestHelpersIssuingCardsCardShippingFail< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { card: string; @@ -43630,7 +44334,7 @@ export async function postTestHelpersIssuingCardsCardShippingFail( *

Updates the shipping status of the specified Issuing Card object to returned.

*/ export async function postTestHelpersIssuingCardsCardShippingReturn< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -43654,7 +44358,9 @@ export async function postTestHelpersIssuingCardsCardShippingReturn< /** *

Updates the shipping status of the specified Issuing Card object to shipped.

*/ -export async function postTestHelpersIssuingCardsCardShippingShip( +export async function postTestHelpersIssuingCardsCardShippingShip< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { card: string; @@ -43678,7 +44384,7 @@ export async function postTestHelpersIssuingCardsCardShippingShip( *

Updates the status of the specified testmode personalization design object to active.

*/ export async function postTestHelpersIssuingPersonalizationDesignsPersonalizationDesignActivate< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -43704,7 +44410,7 @@ export async function postTestHelpersIssuingPersonalizationDesignsPersonalizatio *

Updates the status of the specified testmode personalization design object to inactive.

*/ export async function postTestHelpersIssuingPersonalizationDesignsPersonalizationDesignDeactivate< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -43730,7 +44436,7 @@ export async function postTestHelpersIssuingPersonalizationDesignsPersonalizatio *

Updates the status of the specified testmode personalization design object to rejected.

*/ export async function postTestHelpersIssuingPersonalizationDesignsPersonalizationDesignReject< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -43756,7 +44462,7 @@ export async function postTestHelpersIssuingPersonalizationDesignsPersonalizatio *

Allows the user to capture an arbitrary amount, also known as a forced capture.

*/ export async function postTestHelpersIssuingTransactionsCreateForceCapture< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: {}, @@ -43779,7 +44485,7 @@ export async function postTestHelpersIssuingTransactionsCreateForceCapture< *

Allows the user to refund an arbitrary amount, also known as a unlinked refund.

*/ export async function postTestHelpersIssuingTransactionsCreateUnlinkedRefund< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: {}, @@ -43802,7 +44508,7 @@ export async function postTestHelpersIssuingTransactionsCreateUnlinkedRefund< *

Refund a test-mode Transaction.

*/ export async function postTestHelpersIssuingTransactionsTransactionRefund< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -43826,7 +44532,9 @@ export async function postTestHelpersIssuingTransactionsTransactionRefund< /** *

Expire a refund with a status of requires_action.

*/ -export async function postTestHelpersRefundsRefundExpire( +export async function postTestHelpersRefundsRefundExpire< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { refund: string; @@ -43849,7 +44557,7 @@ export async function postTestHelpersRefundsRefundExpire( * refunding a transaction.

*/ export async function postTestHelpersTerminalReadersReaderPresentPaymentMethod< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -43873,7 +44581,9 @@ export async function postTestHelpersTerminalReadersReaderPresentPaymentMethod< /** *

Returns a list of your test clocks.

*/ -export async function getTestHelpersTestClocks( +export async function getTestHelpersTestClocks< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -43918,7 +44628,9 @@ export async function getTestHelpersTestClocks( /** *

Creates a new test clock that can be attached to new customers and quotes.

*/ -export async function postTestHelpersTestClocks( +export async function postTestHelpersTestClocks< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -43940,7 +44652,9 @@ export async function postTestHelpersTestClocks( /** *

Deletes a test clock.

*/ -export async function deleteTestHelpersTestClocksTestClock( +export async function deleteTestHelpersTestClocksTestClock< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { test_clock: string; @@ -43964,7 +44678,9 @@ export async function deleteTestHelpersTestClocksTestClock( /** *

Retrieves a test clock.

*/ -export async function getTestHelpersTestClocksTestClock( +export async function getTestHelpersTestClocksTestClock< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -43991,7 +44707,9 @@ export async function getTestHelpersTestClocksTestClock( *

Starts advancing a test clock to a specified time in the future. Advancement is done when status changes to * Ready.

*/ -export async function postTestHelpersTestClocksTestClockAdvance( +export async function postTestHelpersTestClocksTestClockAdvance< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { test_clock: string; @@ -44017,7 +44735,7 @@ export async function postTestHelpersTestClocksTestClockAdvance( * be in the processing state.

*/ export async function postTestHelpersTreasuryInboundTransfersIdFail< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -44044,7 +44762,7 @@ export async function postTestHelpersTreasuryInboundTransfersIdFail< * InboundTransfer must already be in the succeeded state.

*/ export async function postTestHelpersTreasuryInboundTransfersIdReturn< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -44071,7 +44789,7 @@ export async function postTestHelpersTreasuryInboundTransfersIdReturn< * already be in the processing state.

*/ export async function postTestHelpersTreasuryInboundTransfersIdSucceed< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -44097,7 +44815,9 @@ export async function postTestHelpersTreasuryInboundTransfersIdSucceed< *

Updates a test mode created OutboundPayment with tracking details. The OutboundPayment must not be cancelable, and * cannot be in the canceled or failed states.

*/ -export async function postTestHelpersTreasuryOutboundPaymentsId( +export async function postTestHelpersTreasuryOutboundPaymentsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { id: string; @@ -44123,7 +44843,7 @@ export async function postTestHelpersTreasuryOutboundPaymentsId( * be in the processing state.

*/ export async function postTestHelpersTreasuryOutboundPaymentsIdFail< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -44150,7 +44870,7 @@ export async function postTestHelpersTreasuryOutboundPaymentsIdFail< * be in the processing state.

*/ export async function postTestHelpersTreasuryOutboundPaymentsIdPost< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -44177,7 +44897,7 @@ export async function postTestHelpersTreasuryOutboundPaymentsIdPost< * be in the processing state.

*/ export async function postTestHelpersTreasuryOutboundPaymentsIdReturn< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -44204,7 +44924,7 @@ export async function postTestHelpersTreasuryOutboundPaymentsIdReturn< * cannot be in the canceled or failed states.

*/ export async function postTestHelpersTreasuryOutboundTransfersOutboundTransfer< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -44231,7 +44951,7 @@ export async function postTestHelpersTreasuryOutboundTransfersOutboundTransfer< * be in the processing state.

*/ export async function postTestHelpersTreasuryOutboundTransfersOutboundTransferFail< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -44258,7 +44978,7 @@ export async function postTestHelpersTreasuryOutboundTransfersOutboundTransferFa * be in the processing state.

*/ export async function postTestHelpersTreasuryOutboundTransfersOutboundTransferPost< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -44285,7 +45005,7 @@ export async function postTestHelpersTreasuryOutboundTransfersOutboundTransferPo * already be in the processing state.

*/ export async function postTestHelpersTreasuryOutboundTransfersOutboundTransferReturn< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -44311,7 +45031,9 @@ export async function postTestHelpersTreasuryOutboundTransfersOutboundTransferRe *

Use this endpoint to simulate a test mode ReceivedCredit initiated by a third party. In live mode, you can’t directly * create ReceivedCredits initiated by third parties.

*/ -export async function postTestHelpersTreasuryReceivedCredits( +export async function postTestHelpersTreasuryReceivedCredits< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -44334,7 +45056,9 @@ export async function postTestHelpersTreasuryReceivedCredits( *

Use this endpoint to simulate a test mode ReceivedDebit initiated by a third party. In live mode, you can’t directly * create ReceivedDebits initiated by third parties.

*/ -export async function postTestHelpersTreasuryReceivedDebits( +export async function postTestHelpersTreasuryReceivedDebits< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -44361,7 +45085,7 @@ export async function postTestHelpersTreasuryReceivedDebits( * href="/api/accounts/object#account_object-controller-requirement_collection">controller.requirement_collection is * application, which includes Custom accounts.

*/ -export async function postTokens( +export async function postTokens( ctx: r.Context, params: {}, body: unknown, @@ -44380,7 +45104,7 @@ export async function postTokens( /** *

Retrieves the token with the given ID.

*/ -export async function getTokensToken( +export async function getTokensToken( ctx: r.Context, params: { expand?: string[]; @@ -44403,7 +45127,7 @@ export async function getTokensToken( /** *

Returns a list of top-ups.

*/ -export async function getTopups( +export async function getTopups( ctx: r.Context, params: { amount?: @@ -44473,7 +45197,7 @@ export async function getTopups( /** *

Top up the balance of an account

*/ -export async function postTopups( +export async function postTopups( ctx: r.Context, params: {}, body: unknown, @@ -44493,7 +45217,7 @@ export async function postTopups( *

Retrieves the details of a top-up that has previously been created. Supply the unique top-up ID that was returned * from your previous request, and Stripe will return the corresponding top-up information.

*/ -export async function getTopupsTopup( +export async function getTopupsTopup( ctx: r.Context, params: { expand?: string[]; @@ -44516,7 +45240,7 @@ export async function getTopupsTopup( /** *

Updates the metadata of a top-up. Other top-up details are not editable by design.

*/ -export async function postTopupsTopup( +export async function postTopupsTopup( ctx: r.Context, params: { topup: string; @@ -44537,7 +45261,9 @@ export async function postTopupsTopup( /** *

Cancels a top-up. Only pending top-ups can be canceled.

*/ -export async function postTopupsTopupCancel( +export async function postTopupsTopupCancel< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { topup: string; @@ -44559,7 +45285,7 @@ export async function postTopupsTopupCancel( *

Returns a list of existing transfers sent to connected accounts. The transfers are returned in sorted order, with the * most recently created transfers appearing first.

*/ -export async function getTransfers( +export async function getTransfers( ctx: r.Context, params: { created?: @@ -44627,7 +45353,7 @@ export async function getTransfers( * href="#balance">Stripe balance must be able to cover the transfer amount, or you’ll receive an “Insufficient Funds” * error.

*/ -export async function postTransfers( +export async function postTransfers( ctx: r.Context, params: {}, body: unknown, @@ -44650,7 +45376,9 @@ export async function postTransfers( * always available by default on the transfer object. If you need more than those 10, you can use this API method and the * limit and starting_after parameters to page through additional reversals.

*/ -export async function getTransfersIdReversals( +export async function getTransfersIdReversals< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -44706,7 +45434,9 @@ export async function getTransfersIdReversals( *

Once entirely reversed, a transfer can’t be reversed again. This method will return an error when * called on an already-reversed transfer, or when trying to reverse more money than is left on a transfer.

*/ -export async function postTransfersIdReversals( +export async function postTransfersIdReversals< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { id: string; @@ -44730,7 +45460,9 @@ export async function postTransfersIdReversals( *

Retrieves the details of an existing transfer. Supply the unique transfer ID from either a transfer creation request * or the transfer list, and Stripe will return the corresponding transfer information.

*/ -export async function getTransfersTransfer( +export async function getTransfersTransfer< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -44758,7 +45490,9 @@ export async function getTransfersTransfer( * *

This request accepts only metadata as an argument.

*/ -export async function postTransfersTransfer( +export async function postTransfersTransfer< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { transfer: string; @@ -44782,7 +45516,9 @@ export async function postTransfersTransfer( *

By default, you can see the 10 most recent reversals stored directly on the transfer object, but you can also * retrieve details about a specific reversal stored on the transfer.

*/ -export async function getTransfersTransferReversalsId( +export async function getTransfersTransferReversalsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -44811,7 +45547,9 @@ export async function getTransfersTransferReversalsId( * *

This request only accepts metadata and description as arguments.

*/ -export async function postTransfersTransferReversalsId( +export async function postTransfersTransferReversalsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { id: string; @@ -44835,7 +45573,9 @@ export async function postTransfersTransferReversalsId( /** *

Returns a list of CreditReversals.

*/ -export async function getTreasuryCreditReversals( +export async function getTreasuryCreditReversals< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -44894,7 +45634,9 @@ export async function getTreasuryCreditReversals( /** *

Reverses a ReceivedCredit and creates a CreditReversal object.

*/ -export async function postTreasuryCreditReversals( +export async function postTreasuryCreditReversals< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -44917,7 +45659,9 @@ export async function postTreasuryCreditReversals( *

Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the * CreditReversal creation request or CreditReversal list

*/ -export async function getTreasuryCreditReversalsCreditReversal( +export async function getTreasuryCreditReversalsCreditReversal< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { credit_reversal: string; @@ -44943,7 +45687,9 @@ export async function getTreasuryCreditReversalsCreditReversal( /** *

Returns a list of DebitReversals.

*/ -export async function getTreasuryDebitReversals( +export async function getTreasuryDebitReversals< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -45004,7 +45750,9 @@ export async function getTreasuryDebitReversals( /** *

Reverses a ReceivedDebit and creates a DebitReversal object.

*/ -export async function postTreasuryDebitReversals( +export async function postTreasuryDebitReversals< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -45026,7 +45774,9 @@ export async function postTreasuryDebitReversals( /** *

Retrieves a DebitReversal object.

*/ -export async function getTreasuryDebitReversalsDebitReversal( +export async function getTreasuryDebitReversalsDebitReversal< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { debit_reversal: string; @@ -45052,7 +45802,9 @@ export async function getTreasuryDebitReversalsDebitReversal( /** *

Returns a list of FinancialAccounts.

*/ -export async function getTreasuryFinancialAccounts( +export async function getTreasuryFinancialAccounts< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { created?: @@ -45111,7 +45863,9 @@ export async function getTreasuryFinancialAccounts( /** *

Creates a new FinancialAccount. For now, each connected account can only have one FinancialAccount.

*/ -export async function postTreasuryFinancialAccounts( +export async function postTreasuryFinancialAccounts< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -45133,7 +45887,9 @@ export async function postTreasuryFinancialAccounts( /** *

Retrieves the details of a FinancialAccount.

*/ -export async function getTreasuryFinancialAccountsFinancialAccount( +export async function getTreasuryFinancialAccountsFinancialAccount< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -45160,7 +45916,7 @@ export async function getTreasuryFinancialAccountsFinancialAccount( *

Updates the details of a FinancialAccount.

*/ export async function postTreasuryFinancialAccountsFinancialAccount< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -45186,7 +45942,7 @@ export async function postTreasuryFinancialAccountsFinancialAccount< *

Retrieves Features information associated with the FinancialAccount.

*/ export async function getTreasuryFinancialAccountsFinancialAccountFeatures< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -45214,7 +45970,7 @@ export async function getTreasuryFinancialAccountsFinancialAccountFeatures< *

Updates the Features associated with a FinancialAccount.

*/ export async function postTreasuryFinancialAccountsFinancialAccountFeatures< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -45239,7 +45995,9 @@ export async function postTreasuryFinancialAccountsFinancialAccountFeatures< /** *

Returns a list of InboundTransfers sent from the specified FinancialAccount.

*/ -export async function getTreasuryInboundTransfers( +export async function getTreasuryInboundTransfers< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -45296,7 +46054,9 @@ export async function getTreasuryInboundTransfers( /** *

Creates an InboundTransfer.

*/ -export async function postTreasuryInboundTransfers( +export async function postTreasuryInboundTransfers< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -45318,7 +46078,9 @@ export async function postTreasuryInboundTransfers( /** *

Retrieves the details of an existing InboundTransfer.

*/ -export async function getTreasuryInboundTransfersId( +export async function getTreasuryInboundTransfersId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -45345,7 +46107,7 @@ export async function getTreasuryInboundTransfersId( *

Cancels an InboundTransfer.

*/ export async function postTreasuryInboundTransfersInboundTransferCancel< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -45370,7 +46132,9 @@ export async function postTreasuryInboundTransfersInboundTransferCancel< /** *

Returns a list of OutboundPayments sent from the specified FinancialAccount.

*/ -export async function getTreasuryOutboundPayments( +export async function getTreasuryOutboundPayments< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { created?: @@ -45438,7 +46202,9 @@ export async function getTreasuryOutboundPayments( /** *

Creates an OutboundPayment.

*/ -export async function postTreasuryOutboundPayments( +export async function postTreasuryOutboundPayments< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -45461,7 +46227,9 @@ export async function postTreasuryOutboundPayments( *

Retrieves the details of an existing OutboundPayment by passing the unique OutboundPayment ID from either the * OutboundPayment creation request or OutboundPayment list.

*/ -export async function getTreasuryOutboundPaymentsId( +export async function getTreasuryOutboundPaymentsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -45487,7 +46255,9 @@ export async function getTreasuryOutboundPaymentsId( /** *

Cancel an OutboundPayment.

*/ -export async function postTreasuryOutboundPaymentsIdCancel( +export async function postTreasuryOutboundPaymentsIdCancel< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { id: string; @@ -45511,7 +46281,9 @@ export async function postTreasuryOutboundPaymentsIdCancel( /** *

Returns a list of OutboundTransfers sent from the specified FinancialAccount.

*/ -export async function getTreasuryOutboundTransfers( +export async function getTreasuryOutboundTransfers< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -45568,7 +46340,9 @@ export async function getTreasuryOutboundTransfers( /** *

Creates an OutboundTransfer.

*/ -export async function postTreasuryOutboundTransfers( +export async function postTreasuryOutboundTransfers< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -45591,7 +46365,9 @@ export async function postTreasuryOutboundTransfers( *

Retrieves the details of an existing OutboundTransfer by passing the unique OutboundTransfer ID from either the * OutboundTransfer creation request or OutboundTransfer list.

*/ -export async function getTreasuryOutboundTransfersOutboundTransfer( +export async function getTreasuryOutboundTransfersOutboundTransfer< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -45618,7 +46394,7 @@ export async function getTreasuryOutboundTransfersOutboundTransfer( *

An OutboundTransfer can be canceled if the funds have not yet been paid out.

*/ export async function postTreasuryOutboundTransfersOutboundTransferCancel< - FetcherData, + FetcherData extends r.BaseFetcherData, >( ctx: r.Context, params: { @@ -45643,7 +46419,9 @@ export async function postTreasuryOutboundTransfersOutboundTransferCancel< /** *

Returns a list of ReceivedCredits.

*/ -export async function getTreasuryReceivedCredits( +export async function getTreasuryReceivedCredits< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -45709,7 +46487,9 @@ export async function getTreasuryReceivedCredits( *

Retrieves the details of an existing ReceivedCredit by passing the unique ReceivedCredit ID from the ReceivedCredit * list.

*/ -export async function getTreasuryReceivedCreditsId( +export async function getTreasuryReceivedCreditsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -45735,7 +46515,9 @@ export async function getTreasuryReceivedCreditsId( /** *

Returns a list of ReceivedDebits.

*/ -export async function getTreasuryReceivedDebits( +export async function getTreasuryReceivedDebits< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -45793,7 +46575,9 @@ export async function getTreasuryReceivedDebits( *

Retrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit * list

*/ -export async function getTreasuryReceivedDebitsId( +export async function getTreasuryReceivedDebitsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -45819,7 +46603,9 @@ export async function getTreasuryReceivedDebitsId( /** *

Retrieves a list of TransactionEntry objects.

*/ -export async function getTreasuryTransactionEntries( +export async function getTreasuryTransactionEntries< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { created?: @@ -45896,7 +46682,9 @@ export async function getTreasuryTransactionEntries( /** *

Retrieves a TransactionEntry object.

*/ -export async function getTreasuryTransactionEntriesId( +export async function getTreasuryTransactionEntriesId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -45922,7 +46710,9 @@ export async function getTreasuryTransactionEntriesId( /** *

Retrieves a list of Transaction objects.

*/ -export async function getTreasuryTransactions( +export async function getTreasuryTransactions< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { created?: @@ -46001,7 +46791,9 @@ export async function getTreasuryTransactions( /** *

Retrieves the details of an existing Transaction.

*/ -export async function getTreasuryTransactionsId( +export async function getTreasuryTransactionsId< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -46027,7 +46819,9 @@ export async function getTreasuryTransactionsId( /** *

Returns a list of your webhook endpoints.

*/ -export async function getWebhookEndpoints( +export async function getWebhookEndpoints< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { ending_before?: string; @@ -46077,7 +46871,9 @@ export async function getWebhookEndpoints( * endpoints in the webhooks settings section of the * Dashboard.

*/ -export async function postWebhookEndpoints( +export async function postWebhookEndpoints< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: unknown, @@ -46099,7 +46895,9 @@ export async function postWebhookEndpoints( *

You can also delete webhook endpoints via the webhook * endpoint management page of the Stripe dashboard.

*/ -export async function deleteWebhookEndpointsWebhookEndpoint( +export async function deleteWebhookEndpointsWebhookEndpoint< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { webhook_endpoint: string; @@ -46123,7 +46921,9 @@ export async function deleteWebhookEndpointsWebhookEndpoint( /** *

Retrieves the webhook endpoint with the given ID.

*/ -export async function getWebhookEndpointsWebhookEndpoint( +export async function getWebhookEndpointsWebhookEndpoint< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { expand?: string[]; @@ -46149,7 +46949,9 @@ export async function getWebhookEndpointsWebhookEndpoint( *

Updates the webhook endpoint. You may edit the url, the list of enabled_events, and the * status of your endpoint.

*/ -export async function postWebhookEndpointsWebhookEndpoint( +export async function postWebhookEndpointsWebhookEndpoint< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: { webhook_endpoint: string; diff --git a/packages/typoas-generator/src/__tests__/__snapshots__/generator.spec.ts.snap b/packages/typoas-generator/src/__tests__/__snapshots__/generator.spec.ts.snap index 6946be8..bd510fb 100644 --- a/packages/typoas-generator/src/__tests__/__snapshots__/generator.spec.ts.snap +++ b/packages/typoas-generator/src/__tests__/__snapshots__/generator.spec.ts.snap @@ -60,12 +60,12 @@ export type AuthMethods = { export function configureAuth(params?: r.CreateContextParams['authProviders']): AuthMethods { return { petstore_auth: params?.petstore_auth && new r.OAuth2SecurityAuthentication({}, params.petstore_auth), api_key: params?.api_key && new r.ApiKeySecurityAuthentication({ name: 'api_key', in: 'header' }, params.api_key) }; } -export function createContext(params?: r.CreateContextParams): r.Context { return new r.Context({ +export function createContext(params?: r.CreateContextParams): r.Context { return new r.Context({ serverConfiguration: new r.ServerConfiguration('/api/v3', {}), authMethods: configureAuth(params?.authProviders), ...params }); } -export async function updatePet(ctx: r.Context, params: {}, body: Pet, opts?: FetcherData): Promise | r.StatusResponse<400, unknown> | r.StatusResponse<404, unknown> | r.StatusResponse<405, unknown>> { +export async function updatePet(ctx: r.Context, params: {}, body: Pet, opts?: FetcherData): Promise | r.StatusResponse<400, unknown> | r.StatusResponse<404, unknown> | r.StatusResponse<405, unknown>> { const req = await ctx.createRequest({ path: '/pet', params, @@ -76,7 +76,7 @@ export async function updatePet(ctx: r.Context(ctx: r.Context, params: {}, body: Pet, opts?: FetcherData): Promise | r.StatusResponse<405, unknown>> { +export async function addPet(ctx: r.Context, params: {}, body: Pet, opts?: FetcherData): Promise | r.StatusResponse<405, unknown>> { const req = await ctx.createRequest({ path: '/pet', params, @@ -87,7 +87,7 @@ export async function addPet(ctx: r.Context(ctx: r.Context, params: { +export async function findPetsByStatus(ctx: r.Context, params: { status?: 'available' | 'pending' | 'sold'; }, opts?: FetcherData): Promise | r.StatusResponse<400, unknown>> { const req = await ctx.createRequest({ @@ -102,7 +102,7 @@ export async function findPetsByStatus(ctx: r.Context(ctx: r.Context, params: { +export async function findPetsByTags(ctx: r.Context, params: { tags?: string[]; }, opts?: FetcherData): Promise | r.StatusResponse<400, unknown>> { const req = await ctx.createRequest({ @@ -117,7 +117,7 @@ export async function findPetsByTags(ctx: r.Context(ctx: r.Context, params: { +export async function getPetById(ctx: r.Context, params: { petId: number; }, opts?: FetcherData): Promise | r.StatusResponse<400, unknown> | r.StatusResponse<404, unknown>> { const req = await ctx.createRequest({ @@ -129,7 +129,7 @@ export async function getPetById(ctx: r.Context(ctx: r.Context, params: { +export async function updatePetWithForm(ctx: r.Context, params: { petId: number; name?: string; status?: string; @@ -147,7 +147,7 @@ export async function updatePetWithForm(ctx: r.Context(ctx: r.Context, params: { +export async function deletePet(ctx: r.Context, params: { api_key?: string; petId: number; }, opts?: FetcherData): Promise> { @@ -160,7 +160,7 @@ export async function deletePet(ctx: r.Context(ctx: r.Context, params: { +export async function uploadFile(ctx: r.Context, params: { petId: number; additionalMetadata?: string; }, body: Blob, opts?: FetcherData): Promise> { @@ -177,7 +177,7 @@ export async function uploadFile(ctx: r.Context(ctx: r.Context, params: {}, opts?: FetcherData): Promise(ctx: r.Context, params: {}, opts?: FetcherData): Promise> { const req = await ctx.createRequest({ @@ -189,7 +189,7 @@ export async function getInventory(ctx: r.Context(ctx: r.Context, params: {}, body: Order, opts?: FetcherData): Promise | r.StatusResponse<405, unknown>> { +export async function placeOrder(ctx: r.Context, params: {}, body: Order, opts?: FetcherData): Promise | r.StatusResponse<405, unknown>> { const req = await ctx.createRequest({ path: '/store/order', params, @@ -201,7 +201,7 @@ export async function placeOrder(ctx: r.Context(ctx: r.Context, params: { +export async function getOrderById(ctx: r.Context, params: { orderId: number; }, opts?: FetcherData): Promise | r.StatusResponse<400, unknown> | r.StatusResponse<404, unknown>> { const req = await ctx.createRequest({ @@ -214,7 +214,7 @@ export async function getOrderById(ctx: r.Context(ctx: r.Context, params: { +export async function deleteOrder(ctx: r.Context, params: { orderId: number; }, opts?: FetcherData): Promise | r.StatusResponse<404, unknown>> { const req = await ctx.createRequest({ @@ -225,7 +225,7 @@ export async function deleteOrder(ctx: r.Context(ctx: r.Context, params: {}, body: User, opts?: FetcherData): Promise> { +export async function createUser(ctx: r.Context, params: {}, body: User, opts?: FetcherData): Promise> { const req = await ctx.createRequest({ path: '/user', params, @@ -235,7 +235,7 @@ export async function createUser(ctx: r.Context(ctx: r.Context, params: {}, body: User[], opts?: FetcherData): Promise | r.StatusResponse<'default', unknown>> { +export async function createUsersWithListInput(ctx: r.Context, params: {}, body: User[], opts?: FetcherData): Promise | r.StatusResponse<'default', unknown>> { const req = await ctx.createRequest({ path: '/user/createWithList', params, @@ -245,7 +245,7 @@ export async function createUsersWithListInput(ctx: r.Context(ctx: r.Context, params: { +export async function loginUser(ctx: r.Context, params: { username?: string; password?: string; }, opts?: FetcherData): Promise | r.StatusResponse<400, unknown>> { @@ -261,7 +261,7 @@ export async function loginUser(ctx: r.Context(ctx: r.Context, params: {}, opts?: FetcherData): Promise> { +export async function logoutUser(ctx: r.Context, params: {}, opts?: FetcherData): Promise> { const req = await ctx.createRequest({ path: '/user/logout', params, @@ -270,7 +270,7 @@ export async function logoutUser(ctx: r.Context(ctx: r.Context, params: { +export async function getUserByName(ctx: r.Context, params: { username: string; }, opts?: FetcherData): Promise | r.StatusResponse<400, unknown> | r.StatusResponse<404, unknown>> { const req = await ctx.createRequest({ @@ -281,7 +281,7 @@ export async function getUserByName(ctx: r.Context(ctx: r.Context, params: { +export async function updateUser(ctx: r.Context, params: { username: string; }, body: User, opts?: FetcherData): Promise> { const req = await ctx.createRequest({ @@ -293,7 +293,7 @@ export async function updateUser(ctx: r.Context(ctx: r.Context, params: { +export async function deleteUser(ctx: r.Context, params: { username: string; }, opts?: FetcherData): Promise | r.StatusResponse<404, unknown>> { const req = await ctx.createRequest({ @@ -329,7 +329,7 @@ export type Pet = { }; const $date_Order = (): r.TransformField[] => [[['access', 'shipDate'], ['this']]]; export type AuthMethods = {}; -export function createContext(params?: r.CreateContextParams): r.Context { return new r.Context({ +export function createContext(params?: r.CreateContextParams): r.Context { return new r.Context({ serverConfiguration: new r.ServerConfiguration('/api/v3', {}), authMethods: {}, ...params diff --git a/packages/typoas-generator/src/generator/api/context-factory.ts b/packages/typoas-generator/src/generator/api/context-factory.ts index 0c7bff7..4c16038 100644 --- a/packages/typoas-generator/src/generator/api/context-factory.ts +++ b/packages/typoas-generator/src/generator/api/context-factory.ts @@ -18,7 +18,13 @@ export function createContextFactory( undefined, 'createContext', ctx.hasFetcherOptions() - ? [factory.createTypeParameterDeclaration(undefined, FETCHER_DATA_NAME)] + ? [ + factory.createTypeParameterDeclaration( + undefined, + FETCHER_DATA_NAME, + createRuntimeRefType(ExportedRef.BaseFetcherData), + ), + ] : undefined, [ factory.createParameterDeclaration( diff --git a/packages/typoas-generator/src/generator/api/operation/index.ts b/packages/typoas-generator/src/generator/api/operation/index.ts index 05e20e1..12b8204 100644 --- a/packages/typoas-generator/src/generator/api/operation/index.ts +++ b/packages/typoas-generator/src/generator/api/operation/index.ts @@ -8,7 +8,11 @@ import { } from './declaration'; import { createOperationBody } from './function-body'; import { GlobalParameters } from './types'; -import { FETCHER_DATA_NAME } from '../../utils/ref'; +import { + createRuntimeRefType, + ExportedRef, + FETCHER_DATA_NAME, +} from '../../utils/ref'; export function createOperation( operation: OperationObject, @@ -44,7 +48,13 @@ export function createOperation( undefined, sanitizeOperationIdName(operation.operationId || `${path}/${method}`), ctx.hasFetcherOptions() - ? [factory.createTypeParameterDeclaration(undefined, FETCHER_DATA_NAME)] + ? [ + factory.createTypeParameterDeclaration( + undefined, + FETCHER_DATA_NAME, + createRuntimeRefType(ExportedRef.BaseFetcherData), + ), + ] : undefined, createOperationDeclaration(operation, ctx, { baseParameters }), createOperationReturnType(operation, ctx), diff --git a/packages/typoas-generator/src/generator/utils/ref.ts b/packages/typoas-generator/src/generator/utils/ref.ts index d881261..20d7d85 100644 --- a/packages/typoas-generator/src/generator/utils/ref.ts +++ b/packages/typoas-generator/src/generator/utils/ref.ts @@ -15,6 +15,7 @@ export enum ExportedRef { HttpBearerSecurityAuthentication = 'HttpBearerSecurityAuthentication', OAuth2SecurityAuthentication = 'OAuth2SecurityAuthentication', StatusResponse = 'StatusResponse', + BaseFetcherData = 'BaseFetcherData', } export function createRuntimeRefProperty(exportedRef: ExportedRef): Expression { diff --git a/packages/typoas-react-query/src/__tests__/mock-fetcher.ts b/packages/typoas-react-query/src/__tests__/mock-fetcher.ts index c26d4fe..1a5e9ed 100644 --- a/packages/typoas-react-query/src/__tests__/mock-fetcher.ts +++ b/packages/typoas-react-query/src/__tests__/mock-fetcher.ts @@ -1,6 +1,6 @@ -import { Fetcher, ResponseContext } from '@typoas/runtime'; +import { BaseFetcherData, Fetcher, ResponseContext } from '@typoas/runtime'; -export class MockFetcher implements Fetcher { +export class MockFetcher implements Fetcher { private data: unknown = undefined; private resQueue: unknown[] = []; diff --git a/packages/typoas-react-query/src/__tests__/sample-client.ts b/packages/typoas-react-query/src/__tests__/sample-client.ts index b5e21c9..cd1e6fd 100644 --- a/packages/typoas-react-query/src/__tests__/sample-client.ts +++ b/packages/typoas-react-query/src/__tests__/sample-client.ts @@ -142,7 +142,7 @@ export function configureAuth( ), }; } -export function createContext( +export function createContext( params?: r.CreateContextParams, ): r.Context { return new r.Context({ @@ -156,7 +156,7 @@ export function createContext( * Update an existing pet by Id * Tags: pet */ -export async function updatePet( +export async function updatePet( ctx: r.Context, params: {}, body: Pet, @@ -182,7 +182,7 @@ export async function updatePet( * Add a new pet to the store * Tags: pet */ -export async function addPet( +export async function addPet( ctx: r.Context, params: {}, body: Pet, @@ -203,7 +203,7 @@ export async function addPet( * Multiple status values can be provided with comma separated strings * Tags: pet */ -export async function findPetsByStatus( +export async function findPetsByStatus( ctx: r.Context, params: { status?: 'available' | 'pending' | 'sold'; @@ -225,7 +225,7 @@ export async function findPetsByStatus( * Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing. * Tags: pet */ -export async function findPetsByTags( +export async function findPetsByTags( ctx: r.Context, params: { tags?: string[]; @@ -247,7 +247,7 @@ export async function findPetsByTags( * Returns a single pet * Tags: pet */ -export async function getPetById( +export async function getPetById( ctx: r.Context, params: { petId: number; @@ -271,7 +271,7 @@ export async function getPetById( * Updates a pet in the store with form data * Tags: pet */ -export async function updatePetWithForm( +export async function updatePetWithForm( ctx: r.Context, params: { petId: number; @@ -294,7 +294,7 @@ export async function updatePetWithForm( * Deletes a pet * Tags: pet */ -export async function deletePet( +export async function deletePet( ctx: r.Context, params: { api_key?: string; @@ -315,7 +315,7 @@ export async function deletePet( * uploads an image * Tags: pet */ -export async function uploadFile( +export async function uploadFile( ctx: r.Context, params: { petId: number; @@ -340,7 +340,7 @@ export async function uploadFile( * Returns a map of status codes to quantities * Tags: store */ -export async function getInventory( +export async function getInventory( ctx: r.Context, params: {}, opts?: FetcherData, @@ -366,7 +366,7 @@ export async function getInventory( * Place a new order in the store * Tags: store */ -export async function placeOrder( +export async function placeOrder( ctx: r.Context, params: {}, body: Order, @@ -392,7 +392,7 @@ export async function placeOrder( * For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions. * Tags: store */ -export async function getOrderById( +export async function getOrderById( ctx: r.Context, params: { orderId: number; @@ -422,7 +422,7 @@ export async function getOrderById( * For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors * Tags: store */ -export async function deleteOrder( +export async function deleteOrder( ctx: r.Context, params: { orderId: number; @@ -442,7 +442,7 @@ export async function deleteOrder( * This can only be done by the logged in user. * Tags: user */ -export async function createUser( +export async function createUser( ctx: r.Context, params: {}, body: User, @@ -462,7 +462,9 @@ export async function createUser( * Creates list of users with given input array * Tags: user */ -export async function createUsersWithListInput( +export async function createUsersWithListInput< + FetcherData extends r.BaseFetcherData, +>( ctx: r.Context, params: {}, body: User[], @@ -481,7 +483,7 @@ export async function createUsersWithListInput( * Logs user into the system * Tags: user */ -export async function loginUser( +export async function loginUser( ctx: r.Context, params: { username?: string; @@ -502,7 +504,7 @@ export async function loginUser( * Logs out current logged in user session * Tags: user */ -export async function logoutUser( +export async function logoutUser( ctx: r.Context, params: {}, opts?: FetcherData, @@ -519,7 +521,7 @@ export async function logoutUser( * Get user by user name * Tags: user */ -export async function getUserByName( +export async function getUserByName( ctx: r.Context, params: { username: string; @@ -543,7 +545,7 @@ export async function getUserByName( * This can only be done by the logged in user. * Tags: user */ -export async function updateUser( +export async function updateUser( ctx: r.Context, params: { username: string; @@ -565,7 +567,7 @@ export async function updateUser( * This can only be done by the logged in user. * Tags: user */ -export async function deleteUser( +export async function deleteUser( ctx: r.Context, params: { username: string; diff --git a/packages/typoas-react-query/src/infinite-query-factory.ts b/packages/typoas-react-query/src/infinite-query-factory.ts index 35dea15..c9da8e2 100644 --- a/packages/typoas-react-query/src/infinite-query-factory.ts +++ b/packages/typoas-react-query/src/infinite-query-factory.ts @@ -10,7 +10,12 @@ import { Optional, InfiniteData, } from '@tanstack/react-query'; -import { Context, ok, SuccessfulStatus } from '@typoas/runtime'; +import { + BaseFetcherData, + Context, + ok, + SuccessfulStatus, +} from '@typoas/runtime'; import { useApiContext } from './api-context'; import { getUniqueFunctionName } from './func-names'; import { TypoasFuncStatusType, TypoasReturnType } from './types'; @@ -23,7 +28,7 @@ export type TypoasInfiniteQueryOptions< S extends TypoasFuncStatusType, TError = DefaultError, TPageParam = unknown, - FetcherData = unknown, + FetcherData extends BaseFetcherData = BaseFetcherData, > = ( | UseInfiniteQueryOptions< TypoasReturnType, @@ -53,7 +58,7 @@ export type TypoasInfiniteQueryOptions< }; /* eslint-disable @typescript-eslint/no-explicit-any */ -export type TypoasInfiniteQueryFunction = ( +export type TypoasInfiniteQueryFunction = ( ctx: Context, params: any, opts?: FetcherData, @@ -79,7 +84,7 @@ export function createInfiniteQueryHook< SuccessfulStatus, TError = unknown, TPageParam extends Record = NonNullable, - FetcherData = unknown, + FetcherData extends BaseFetcherData = BaseFetcherData, >( func: Func, baseOptions: Optional< diff --git a/packages/typoas-react-query/src/mutation-factory.ts b/packages/typoas-react-query/src/mutation-factory.ts index c7b2590..05774d4 100644 --- a/packages/typoas-react-query/src/mutation-factory.ts +++ b/packages/typoas-react-query/src/mutation-factory.ts @@ -5,13 +5,18 @@ import { useMutation, UseMutationResult, } from '@tanstack/react-query'; -import { Context, ok, SuccessfulStatus } from '@typoas/runtime'; +import { + BaseFetcherData, + Context, + ok, + SuccessfulStatus, +} from '@typoas/runtime'; import { useApiContext } from './api-context'; import { TypoasFuncStatusType, TypoasReturnType } from './types'; export type TypoasMutationVariables< Func extends TypoasMutationFunction, - FetcherData = unknown, + FetcherData extends BaseFetcherData = BaseFetcherData, > = FetcherData extends Parameters[3] ? [Parameters[1], Parameters[2]] : [Parameters[1]]; @@ -23,7 +28,7 @@ export type TypoasMutationOptions< Func extends TypoasMutationFunction, S extends TypoasFuncStatusType, TError = DefaultError, - FetcherData = unknown, + FetcherData extends BaseFetcherData = BaseFetcherData, > = UseMutationOptions< TypoasReturnType, TError, @@ -34,7 +39,7 @@ export type TypoasMutationOptions< }; /* eslint-disable @typescript-eslint/no-explicit-any */ -export type TypoasMutationFunction = +export type TypoasMutationFunction = | (( ctx: Context, params: any, @@ -63,7 +68,7 @@ export function createMutationHook< S extends TypoasFuncStatusType = TypoasFuncStatusType & SuccessfulStatus, TError = unknown, - FetcherData = unknown, + FetcherData extends BaseFetcherData = BaseFetcherData, >( func: Func, baseOptions: Omit< diff --git a/packages/typoas-react-query/src/query-factory.ts b/packages/typoas-react-query/src/query-factory.ts index 0c70520..45965a9 100644 --- a/packages/typoas-react-query/src/query-factory.ts +++ b/packages/typoas-react-query/src/query-factory.ts @@ -8,7 +8,12 @@ import { hashKey, DefaultError, } from '@tanstack/react-query'; -import { Context, ok, SuccessfulStatus } from '@typoas/runtime'; +import { + BaseFetcherData, + Context, + ok, + SuccessfulStatus, +} from '@typoas/runtime'; import { useApiContext } from './api-context'; import { getUniqueFunctionName } from './func-names'; import { TypoasFuncStatusType, TypoasReturnType } from './types'; @@ -20,7 +25,7 @@ export type TypoasQueryOptions< Func extends TypoasQueryFunction, S extends TypoasFuncStatusType, TError, - FetcherData, + FetcherData extends BaseFetcherData = BaseFetcherData, > = Omit< | UseQueryOptions< TypoasReturnType, @@ -47,7 +52,7 @@ export type TypoasQueryOptions< }; /* eslint-disable @typescript-eslint/no-explicit-any */ -export type TypoasQueryFunction = ( +export type TypoasQueryFunction = ( ctx: Context, params: any, opts?: FetcherData, @@ -66,7 +71,7 @@ export function createQueryHook< S extends TypoasFuncStatusType = TypoasFuncStatusType & SuccessfulStatus, TError = DefaultError, - FetcherData = unknown, + FetcherData extends BaseFetcherData = BaseFetcherData, >( func: Func, baseOptions: Omit< diff --git a/packages/typoas-runtime/src/context/index.ts b/packages/typoas-runtime/src/context/index.ts index d7e4a74..d05794f 100644 --- a/packages/typoas-runtime/src/context/index.ts +++ b/packages/typoas-runtime/src/context/index.ts @@ -9,6 +9,7 @@ import { ApiException } from '../exception'; import { applyTransform, Transform } from '../transformers'; import { DateTransformer } from '../transformers'; import { + BaseFetcherData, EnhancedHTTPStatus, Fetcher, IsomorphicFetchHttpLibrary, @@ -31,7 +32,7 @@ const CONTENT_TYPE_HEADER = 'content-type'; export class Context< AuthModes extends Record, - FetcherData = unknown, + FetcherData extends BaseFetcherData = BaseFetcherData, > { fetcher: Fetcher; serializerOptions: SerializerOptions; diff --git a/packages/typoas-runtime/src/context/types.ts b/packages/typoas-runtime/src/context/types.ts index 7bb959a..d77a1e4 100644 --- a/packages/typoas-runtime/src/context/types.ts +++ b/packages/typoas-runtime/src/context/types.ts @@ -1,4 +1,9 @@ -import type { Fetcher, HttpMethod, SerializerOptions } from '../fetcher'; +import { + BaseFetcherData, + Fetcher, + HttpMethod, + SerializerOptions, +} from '../fetcher'; import type { TransformEntity } from '../transformers'; import type { AuthProvider, SecurityAuthentication } from '../auth'; import type { Transform } from '../transformers'; @@ -53,7 +58,7 @@ export type CreateRequestParams = { export type ContextParams< AuthModes extends Record, - FetcherData = unknown, + FetcherData extends BaseFetcherData = BaseFetcherData, > = { serverConfiguration: BaseServerConfiguration; authMethods: Partial; @@ -64,7 +69,7 @@ export type ContextParams< export type CreateContextParams< AuthModes extends Record, - FetcherData = unknown, + FetcherData extends BaseFetcherData = BaseFetcherData, > = Partial< Omit, 'authMethods'> & { authProviders: { diff --git a/packages/typoas-runtime/src/fetcher/index.ts b/packages/typoas-runtime/src/fetcher/index.ts index 33ba9fb..13c3a89 100644 --- a/packages/typoas-runtime/src/fetcher/index.ts +++ b/packages/typoas-runtime/src/fetcher/index.ts @@ -1,15 +1,19 @@ import { RequestContext } from './request-context'; import { ResponseContext } from './response-context'; +import { BaseFetcherData } from './types'; export * from './types'; export { RequestContext, ResponseContext }; -export interface Fetcher { +export interface Fetcher { send(request: RequestContext, options?: T): Promise; } -export class IsomorphicFetchHttpLibrary implements Fetcher { +export class IsomorphicFetchHttpLibrary< + T extends BaseFetcherData = BaseFetcherData, +> implements Fetcher +{ public async send( request: RequestContext, options: T, diff --git a/packages/typoas-runtime/src/fetcher/types.ts b/packages/typoas-runtime/src/fetcher/types.ts index c845bb9..2468537 100644 --- a/packages/typoas-runtime/src/fetcher/types.ts +++ b/packages/typoas-runtime/src/fetcher/types.ts @@ -169,3 +169,7 @@ export type StatusResponse< // When using ranges or default, we can't now the specific status code. status: S extends string ? number : S; }; + +export type BaseFetcherData = { + signal?: AbortSignal; +}; diff --git a/packages/typoas-runtime/src/wrap-api.ts b/packages/typoas-runtime/src/wrap-api.ts index ab4ec83..3b2ab6d 100644 --- a/packages/typoas-runtime/src/wrap-api.ts +++ b/packages/typoas-runtime/src/wrap-api.ts @@ -1,9 +1,10 @@ import { Context } from './context'; import { SecurityAuthentication } from './auth'; +import { BaseFetcherData } from './fetcher'; type ApiFunction< AuthModes extends Record, - FetcherData, + FetcherData extends BaseFetcherData, > = // eslint-disable-next-line @typescript-eslint/no-explicit-any | ((ctx: Context, params: any) => Promise) @@ -30,13 +31,13 @@ type WithoutContext = T extends ( type WrapApiEndpoints< AuthModes extends Record, - FetcherData, + FetcherData extends BaseFetcherData, > = Record>; type WithoutContextObject< T extends WrapApiEndpoints, AuthModes extends Record, - FetcherData, + FetcherData extends BaseFetcherData, > = { [key in keyof T]: WithoutContext; }; @@ -44,7 +45,7 @@ type WithoutContextObject< export function wrapApi< T extends WrapApiEndpoints, AuthModes extends Record, - FetcherData = unknown, + FetcherData extends BaseFetcherData = BaseFetcherData, >( context: Context, endpoints: T,