@mutagent/sdk 0.13.44 → 0.13.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1087 -1067
- package/dist/commonjs/funcs/artifacts-get-artifact-version-file.d.ts +20 -0
- package/dist/commonjs/funcs/artifacts-get-artifact-version-file.d.ts.map +1 -0
- package/dist/commonjs/funcs/artifacts-get-artifact-version-file.js +134 -0
- package/dist/commonjs/funcs/artifacts-get-artifact-version-file.js.map +1 -0
- package/dist/commonjs/funcs/artifacts-get-artifact.d.ts +2 -2
- package/dist/commonjs/funcs/artifacts-get-artifact.d.ts.map +1 -1
- package/dist/commonjs/funcs/artifacts-get-artifact.js +2 -2
- package/dist/commonjs/funcs/artifacts-get-artifact.js.map +1 -1
- package/dist/commonjs/funcs/artifacts-list-artifact-versions.d.ts +2 -2
- package/dist/commonjs/funcs/artifacts-list-artifact-versions.d.ts.map +1 -1
- package/dist/commonjs/funcs/artifacts-list-artifact-versions.js +2 -2
- package/dist/commonjs/funcs/artifacts-list-artifact-versions.js.map +1 -1
- package/dist/commonjs/funcs/artifacts-list-artifacts.d.ts +2 -2
- package/dist/commonjs/funcs/artifacts-list-artifacts.d.ts.map +1 -1
- package/dist/commonjs/funcs/artifacts-list-artifacts.js +2 -2
- package/dist/commonjs/funcs/artifacts-list-artifacts.js.map +1 -1
- package/dist/commonjs/funcs/gateway-claim-gateway-git-hub-installation.d.ts +1 -1
- package/dist/commonjs/funcs/gateway-claim-gateway-git-hub-installation.js +1 -1
- package/dist/commonjs/funcs/gateway-list-gateway-git-hub-installation-grants.d.ts +20 -0
- package/dist/commonjs/funcs/gateway-list-gateway-git-hub-installation-grants.d.ts.map +1 -0
- package/dist/commonjs/funcs/gateway-list-gateway-git-hub-installation-grants.js +127 -0
- package/dist/commonjs/funcs/gateway-list-gateway-git-hub-installation-grants.js.map +1 -0
- package/dist/commonjs/funcs/gateway-restore-gateway-git-hub-installation-grant.d.ts +20 -0
- package/dist/commonjs/funcs/gateway-restore-gateway-git-hub-installation-grant.d.ts.map +1 -0
- package/dist/commonjs/funcs/gateway-restore-gateway-git-hub-installation-grant.js +131 -0
- package/dist/commonjs/funcs/gateway-restore-gateway-git-hub-installation-grant.js.map +1 -0
- package/dist/commonjs/funcs/gateway-revoke-gateway-git-hub-installation-grant.d.ts +20 -0
- package/dist/commonjs/funcs/gateway-revoke-gateway-git-hub-installation-grant.d.ts.map +1 -0
- package/dist/commonjs/funcs/gateway-revoke-gateway-git-hub-installation-grant.js +131 -0
- package/dist/commonjs/funcs/gateway-revoke-gateway-git-hub-installation-grant.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/errors/get-artifact.d.ts +20 -0
- package/dist/commonjs/models/errors/get-artifact.d.ts.map +1 -0
- package/dist/commonjs/models/errors/get-artifact.js +23 -0
- package/dist/commonjs/models/errors/get-artifact.js.map +1 -0
- package/dist/commonjs/models/errors/index.d.ts +6 -0
- package/dist/commonjs/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/models/errors/index.js +6 -0
- package/dist/commonjs/models/errors/index.js.map +1 -1
- package/dist/commonjs/models/errors/list-artifact-versions.d.ts +20 -0
- package/dist/commonjs/models/errors/list-artifact-versions.d.ts.map +1 -0
- package/dist/commonjs/models/errors/list-artifact-versions.js +23 -0
- package/dist/commonjs/models/errors/list-artifact-versions.js.map +1 -0
- package/dist/commonjs/models/errors/list-artifacts.d.ts +20 -0
- package/dist/commonjs/models/errors/list-artifacts.d.ts.map +1 -0
- package/dist/commonjs/models/errors/list-artifacts.js +23 -0
- package/dist/commonjs/models/errors/list-artifacts.js.map +1 -0
- package/dist/commonjs/models/errors/list-gateway-git-hub-installation-grants.d.ts +135 -0
- package/dist/commonjs/models/errors/list-gateway-git-hub-installation-grants.d.ts.map +1 -0
- package/dist/commonjs/models/errors/list-gateway-git-hub-installation-grants.js +171 -0
- package/dist/commonjs/models/errors/list-gateway-git-hub-installation-grants.js.map +1 -0
- package/dist/commonjs/models/errors/restore-gateway-git-hub-installation-grant.d.ts +135 -0
- package/dist/commonjs/models/errors/restore-gateway-git-hub-installation-grant.d.ts.map +1 -0
- package/dist/commonjs/models/errors/restore-gateway-git-hub-installation-grant.js +167 -0
- package/dist/commonjs/models/errors/restore-gateway-git-hub-installation-grant.js.map +1 -0
- package/dist/commonjs/models/errors/revoke-gateway-git-hub-installation-grant.d.ts +135 -0
- package/dist/commonjs/models/errors/revoke-gateway-git-hub-installation-grant.d.ts.map +1 -0
- package/dist/commonjs/models/errors/revoke-gateway-git-hub-installation-grant.js +167 -0
- package/dist/commonjs/models/errors/revoke-gateway-git-hub-installation-grant.js.map +1 -0
- package/dist/commonjs/models/operations/ask-software-factory-session.d.ts +15 -0
- package/dist/commonjs/models/operations/ask-software-factory-session.d.ts.map +1 -1
- package/dist/commonjs/models/operations/ask-software-factory-session.js +13 -1
- package/dist/commonjs/models/operations/ask-software-factory-session.js.map +1 -1
- package/dist/commonjs/models/operations/claim-gateway-git-hub-installation.d.ts +32 -0
- package/dist/commonjs/models/operations/claim-gateway-git-hub-installation.d.ts.map +1 -1
- package/dist/commonjs/models/operations/claim-gateway-git-hub-installation.js +29 -1
- package/dist/commonjs/models/operations/claim-gateway-git-hub-installation.js.map +1 -1
- package/dist/commonjs/models/operations/disconnect-gateway-integration.d.ts +18 -0
- package/dist/commonjs/models/operations/disconnect-gateway-integration.d.ts.map +1 -1
- package/dist/commonjs/models/operations/disconnect-gateway-integration.js +18 -1
- package/dist/commonjs/models/operations/disconnect-gateway-integration.js.map +1 -1
- package/dist/commonjs/models/operations/get-artifact-version-file.d.ts +25 -0
- package/dist/commonjs/models/operations/get-artifact-version-file.d.ts.map +1 -0
- package/dist/commonjs/models/operations/get-artifact-version-file.js +51 -0
- package/dist/commonjs/models/operations/get-artifact-version-file.js.map +1 -0
- package/dist/commonjs/models/operations/get-gateway-git-hub-claim.d.ts +5 -4
- package/dist/commonjs/models/operations/get-gateway-git-hub-claim.d.ts.map +1 -1
- package/dist/commonjs/models/operations/get-gateway-git-hub-claim.js +2 -1
- package/dist/commonjs/models/operations/get-gateway-git-hub-claim.js.map +1 -1
- package/dist/commonjs/models/operations/get-gateway-integration-attempt.d.ts +18 -0
- package/dist/commonjs/models/operations/get-gateway-integration-attempt.d.ts.map +1 -1
- package/dist/commonjs/models/operations/get-gateway-integration-attempt.js +18 -1
- package/dist/commonjs/models/operations/get-gateway-integration-attempt.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +4 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +4 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/list-gateway-git-hub-installation-grants.d.ts +57 -0
- package/dist/commonjs/models/operations/list-gateway-git-hub-installation-grants.d.ts.map +1 -0
- package/dist/commonjs/models/operations/list-gateway-git-hub-installation-grants.js +81 -0
- package/dist/commonjs/models/operations/list-gateway-git-hub-installation-grants.js.map +1 -0
- package/dist/commonjs/models/operations/list-gateway-integrations.d.ts +18 -0
- package/dist/commonjs/models/operations/list-gateway-integrations.d.ts.map +1 -1
- package/dist/commonjs/models/operations/list-gateway-integrations.js +18 -1
- package/dist/commonjs/models/operations/list-gateway-integrations.js.map +1 -1
- package/dist/commonjs/models/operations/restore-gateway-git-hub-installation-grant.d.ts +31 -0
- package/dist/commonjs/models/operations/restore-gateway-git-hub-installation-grant.d.ts.map +1 -0
- package/dist/commonjs/models/operations/restore-gateway-git-hub-installation-grant.js +68 -0
- package/dist/commonjs/models/operations/restore-gateway-git-hub-installation-grant.js.map +1 -0
- package/dist/commonjs/models/operations/revoke-gateway-git-hub-installation-grant.d.ts +31 -0
- package/dist/commonjs/models/operations/revoke-gateway-git-hub-installation-grant.d.ts.map +1 -0
- package/dist/commonjs/models/operations/revoke-gateway-git-hub-installation-grant.js +68 -0
- package/dist/commonjs/models/operations/revoke-gateway-git-hub-installation-grant.js.map +1 -0
- package/dist/commonjs/models/operations/use-gateway-git-hub-org-installation.d.ts +18 -0
- package/dist/commonjs/models/operations/use-gateway-git-hub-org-installation.d.ts.map +1 -1
- package/dist/commonjs/models/operations/use-gateway-git-hub-org-installation.js +18 -1
- package/dist/commonjs/models/operations/use-gateway-git-hub-org-installation.js.map +1 -1
- package/dist/commonjs/sdk/artifacts.d.ts +10 -3
- package/dist/commonjs/sdk/artifacts.d.ts.map +1 -1
- package/dist/commonjs/sdk/artifacts.js +13 -3
- package/dist/commonjs/sdk/artifacts.js.map +1 -1
- package/dist/commonjs/sdk/gateway.d.ts +22 -1
- package/dist/commonjs/sdk/gateway.d.ts.map +1 -1
- package/dist/commonjs/sdk/gateway.js +31 -1
- package/dist/commonjs/sdk/gateway.js.map +1 -1
- package/dist/esm/funcs/artifacts-get-artifact-version-file.d.ts +20 -0
- package/dist/esm/funcs/artifacts-get-artifact-version-file.d.ts.map +1 -0
- package/dist/esm/funcs/artifacts-get-artifact-version-file.js +98 -0
- package/dist/esm/funcs/artifacts-get-artifact-version-file.js.map +1 -0
- package/dist/esm/funcs/artifacts-get-artifact.d.ts +2 -2
- package/dist/esm/funcs/artifacts-get-artifact.d.ts.map +1 -1
- package/dist/esm/funcs/artifacts-get-artifact.js +2 -2
- package/dist/esm/funcs/artifacts-get-artifact.js.map +1 -1
- package/dist/esm/funcs/artifacts-list-artifact-versions.d.ts +2 -2
- package/dist/esm/funcs/artifacts-list-artifact-versions.d.ts.map +1 -1
- package/dist/esm/funcs/artifacts-list-artifact-versions.js +2 -2
- package/dist/esm/funcs/artifacts-list-artifact-versions.js.map +1 -1
- package/dist/esm/funcs/artifacts-list-artifacts.d.ts +2 -2
- package/dist/esm/funcs/artifacts-list-artifacts.d.ts.map +1 -1
- package/dist/esm/funcs/artifacts-list-artifacts.js +2 -2
- package/dist/esm/funcs/artifacts-list-artifacts.js.map +1 -1
- package/dist/esm/funcs/gateway-claim-gateway-git-hub-installation.d.ts +1 -1
- package/dist/esm/funcs/gateway-claim-gateway-git-hub-installation.js +1 -1
- package/dist/esm/funcs/gateway-list-gateway-git-hub-installation-grants.d.ts +20 -0
- package/dist/esm/funcs/gateway-list-gateway-git-hub-installation-grants.d.ts.map +1 -0
- package/dist/esm/funcs/gateway-list-gateway-git-hub-installation-grants.js +91 -0
- package/dist/esm/funcs/gateway-list-gateway-git-hub-installation-grants.js.map +1 -0
- package/dist/esm/funcs/gateway-restore-gateway-git-hub-installation-grant.d.ts +20 -0
- package/dist/esm/funcs/gateway-restore-gateway-git-hub-installation-grant.d.ts.map +1 -0
- package/dist/esm/funcs/gateway-restore-gateway-git-hub-installation-grant.js +95 -0
- package/dist/esm/funcs/gateway-restore-gateway-git-hub-installation-grant.js.map +1 -0
- package/dist/esm/funcs/gateway-revoke-gateway-git-hub-installation-grant.d.ts +20 -0
- package/dist/esm/funcs/gateway-revoke-gateway-git-hub-installation-grant.d.ts.map +1 -0
- package/dist/esm/funcs/gateway-revoke-gateway-git-hub-installation-grant.js +95 -0
- package/dist/esm/funcs/gateway-revoke-gateway-git-hub-installation-grant.js.map +1 -0
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/errors/get-artifact.d.ts +20 -0
- package/dist/esm/models/errors/get-artifact.d.ts.map +1 -0
- package/dist/esm/models/errors/get-artifact.js +18 -0
- package/dist/esm/models/errors/get-artifact.js.map +1 -0
- package/dist/esm/models/errors/index.d.ts +6 -0
- package/dist/esm/models/errors/index.d.ts.map +1 -1
- package/dist/esm/models/errors/index.js +6 -0
- package/dist/esm/models/errors/index.js.map +1 -1
- package/dist/esm/models/errors/list-artifact-versions.d.ts +20 -0
- package/dist/esm/models/errors/list-artifact-versions.d.ts.map +1 -0
- package/dist/esm/models/errors/list-artifact-versions.js +18 -0
- package/dist/esm/models/errors/list-artifact-versions.js.map +1 -0
- package/dist/esm/models/errors/list-artifacts.d.ts +20 -0
- package/dist/esm/models/errors/list-artifacts.d.ts.map +1 -0
- package/dist/esm/models/errors/list-artifacts.js +18 -0
- package/dist/esm/models/errors/list-artifacts.js.map +1 -0
- package/dist/esm/models/errors/list-gateway-git-hub-installation-grants.d.ts +135 -0
- package/dist/esm/models/errors/list-gateway-git-hub-installation-grants.d.ts.map +1 -0
- package/dist/esm/models/errors/list-gateway-git-hub-installation-grants.js +130 -0
- package/dist/esm/models/errors/list-gateway-git-hub-installation-grants.js.map +1 -0
- package/dist/esm/models/errors/restore-gateway-git-hub-installation-grant.d.ts +135 -0
- package/dist/esm/models/errors/restore-gateway-git-hub-installation-grant.d.ts.map +1 -0
- package/dist/esm/models/errors/restore-gateway-git-hub-installation-grant.js +126 -0
- package/dist/esm/models/errors/restore-gateway-git-hub-installation-grant.js.map +1 -0
- package/dist/esm/models/errors/revoke-gateway-git-hub-installation-grant.d.ts +135 -0
- package/dist/esm/models/errors/revoke-gateway-git-hub-installation-grant.d.ts.map +1 -0
- package/dist/esm/models/errors/revoke-gateway-git-hub-installation-grant.js +126 -0
- package/dist/esm/models/errors/revoke-gateway-git-hub-installation-grant.js.map +1 -0
- package/dist/esm/models/operations/ask-software-factory-session.d.ts +15 -0
- package/dist/esm/models/operations/ask-software-factory-session.d.ts.map +1 -1
- package/dist/esm/models/operations/ask-software-factory-session.js +12 -0
- package/dist/esm/models/operations/ask-software-factory-session.js.map +1 -1
- package/dist/esm/models/operations/claim-gateway-git-hub-installation.d.ts +32 -0
- package/dist/esm/models/operations/claim-gateway-git-hub-installation.d.ts.map +1 -1
- package/dist/esm/models/operations/claim-gateway-git-hub-installation.js +27 -0
- package/dist/esm/models/operations/claim-gateway-git-hub-installation.js.map +1 -1
- package/dist/esm/models/operations/disconnect-gateway-integration.d.ts +18 -0
- package/dist/esm/models/operations/disconnect-gateway-integration.d.ts.map +1 -1
- package/dist/esm/models/operations/disconnect-gateway-integration.js +16 -0
- package/dist/esm/models/operations/disconnect-gateway-integration.js.map +1 -1
- package/dist/esm/models/operations/get-artifact-version-file.d.ts +25 -0
- package/dist/esm/models/operations/get-artifact-version-file.d.ts.map +1 -0
- package/dist/esm/models/operations/get-artifact-version-file.js +14 -0
- package/dist/esm/models/operations/get-artifact-version-file.js.map +1 -0
- package/dist/esm/models/operations/get-gateway-git-hub-claim.d.ts +5 -4
- package/dist/esm/models/operations/get-gateway-git-hub-claim.d.ts.map +1 -1
- package/dist/esm/models/operations/get-gateway-git-hub-claim.js +2 -1
- package/dist/esm/models/operations/get-gateway-git-hub-claim.js.map +1 -1
- package/dist/esm/models/operations/get-gateway-integration-attempt.d.ts +18 -0
- package/dist/esm/models/operations/get-gateway-integration-attempt.d.ts.map +1 -1
- package/dist/esm/models/operations/get-gateway-integration-attempt.js +16 -0
- package/dist/esm/models/operations/get-gateway-integration-attempt.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +4 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +4 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/list-gateway-git-hub-installation-grants.d.ts +57 -0
- package/dist/esm/models/operations/list-gateway-git-hub-installation-grants.d.ts.map +1 -0
- package/dist/esm/models/operations/list-gateway-git-hub-installation-grants.js +42 -0
- package/dist/esm/models/operations/list-gateway-git-hub-installation-grants.js.map +1 -0
- package/dist/esm/models/operations/list-gateway-integrations.d.ts +18 -0
- package/dist/esm/models/operations/list-gateway-integrations.d.ts.map +1 -1
- package/dist/esm/models/operations/list-gateway-integrations.js +16 -0
- package/dist/esm/models/operations/list-gateway-integrations.js.map +1 -1
- package/dist/esm/models/operations/restore-gateway-git-hub-installation-grant.d.ts +31 -0
- package/dist/esm/models/operations/restore-gateway-git-hub-installation-grant.d.ts.map +1 -0
- package/dist/esm/models/operations/restore-gateway-git-hub-installation-grant.js +30 -0
- package/dist/esm/models/operations/restore-gateway-git-hub-installation-grant.js.map +1 -0
- package/dist/esm/models/operations/revoke-gateway-git-hub-installation-grant.d.ts +31 -0
- package/dist/esm/models/operations/revoke-gateway-git-hub-installation-grant.d.ts.map +1 -0
- package/dist/esm/models/operations/revoke-gateway-git-hub-installation-grant.js +30 -0
- package/dist/esm/models/operations/revoke-gateway-git-hub-installation-grant.js.map +1 -0
- package/dist/esm/models/operations/use-gateway-git-hub-org-installation.d.ts +18 -0
- package/dist/esm/models/operations/use-gateway-git-hub-org-installation.d.ts.map +1 -1
- package/dist/esm/models/operations/use-gateway-git-hub-org-installation.js +16 -0
- package/dist/esm/models/operations/use-gateway-git-hub-org-installation.js.map +1 -1
- package/dist/esm/sdk/artifacts.d.ts +10 -3
- package/dist/esm/sdk/artifacts.d.ts.map +1 -1
- package/dist/esm/sdk/artifacts.js +13 -3
- package/dist/esm/sdk/artifacts.js.map +1 -1
- package/dist/esm/sdk/gateway.d.ts +22 -1
- package/dist/esm/sdk/gateway.d.ts.map +1 -1
- package/dist/esm/sdk/gateway.js +31 -1
- package/dist/esm/sdk/gateway.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
5
|
+
export type ListGatewayGitHubInstallationGrantsRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* Our installation row id (org-installations installationId)
|
|
8
|
+
*/
|
|
9
|
+
installationId: string;
|
|
10
|
+
};
|
|
11
|
+
export declare enum ListGatewayGitHubInstallationGrantsStatus {
|
|
12
|
+
Active = "active",
|
|
13
|
+
Revoked = "revoked"
|
|
14
|
+
}
|
|
15
|
+
export type ListGatewayGitHubInstallationGrantsStatusOpen = OpenEnum<typeof ListGatewayGitHubInstallationGrantsStatus>;
|
|
16
|
+
export type ListGatewayGitHubInstallationGrantsItem = {
|
|
17
|
+
grantId: string;
|
|
18
|
+
/**
|
|
19
|
+
* The verified GitHub member who joined
|
|
20
|
+
*/
|
|
21
|
+
githubLogin: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* The joining MutagenT organization
|
|
24
|
+
*/
|
|
25
|
+
organizationName: string;
|
|
26
|
+
/**
|
|
27
|
+
* ISO-8601
|
|
28
|
+
*/
|
|
29
|
+
joinedAt: string;
|
|
30
|
+
status: ListGatewayGitHubInstallationGrantsStatusOpen;
|
|
31
|
+
/**
|
|
32
|
+
* ISO-8601; set when the daily re-check found the member no longer active (a flag only)
|
|
33
|
+
*/
|
|
34
|
+
membershipLapsedAt: string | null;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Who joined this installation from other MutagenT organizations. Nothing else of theirs.
|
|
38
|
+
*/
|
|
39
|
+
export type ListGatewayGitHubInstallationGrantsResponse = {
|
|
40
|
+
items: Array<ListGatewayGitHubInstallationGrantsItem>;
|
|
41
|
+
};
|
|
42
|
+
/** @internal */
|
|
43
|
+
export type ListGatewayGitHubInstallationGrantsRequest$Outbound = {
|
|
44
|
+
installationId: string;
|
|
45
|
+
};
|
|
46
|
+
/** @internal */
|
|
47
|
+
export declare const ListGatewayGitHubInstallationGrantsRequest$outboundSchema: z.ZodMiniType<ListGatewayGitHubInstallationGrantsRequest$Outbound, ListGatewayGitHubInstallationGrantsRequest>;
|
|
48
|
+
export declare function listGatewayGitHubInstallationGrantsRequestToJSON(listGatewayGitHubInstallationGrantsRequest: ListGatewayGitHubInstallationGrantsRequest): string;
|
|
49
|
+
/** @internal */
|
|
50
|
+
export declare const ListGatewayGitHubInstallationGrantsStatus$inboundSchema: z.ZodMiniType<ListGatewayGitHubInstallationGrantsStatusOpen, unknown>;
|
|
51
|
+
/** @internal */
|
|
52
|
+
export declare const ListGatewayGitHubInstallationGrantsItem$inboundSchema: z.ZodMiniType<ListGatewayGitHubInstallationGrantsItem, unknown>;
|
|
53
|
+
export declare function listGatewayGitHubInstallationGrantsItemFromJSON(jsonString: string): SafeParseResult<ListGatewayGitHubInstallationGrantsItem, SDKValidationError>;
|
|
54
|
+
/** @internal */
|
|
55
|
+
export declare const ListGatewayGitHubInstallationGrantsResponse$inboundSchema: z.ZodMiniType<ListGatewayGitHubInstallationGrantsResponse, unknown>;
|
|
56
|
+
export declare function listGatewayGitHubInstallationGrantsResponseFromJSON(jsonString: string): SafeParseResult<ListGatewayGitHubInstallationGrantsResponse, SDKValidationError>;
|
|
57
|
+
//# sourceMappingURL=list-gateway-git-hub-installation-grants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-gateway-git-hub-installation-grants.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/list-gateway-git-hub-installation-grants.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,MAAM,MAAM,0CAA0C,GAAG;IACvD;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,oBAAY,yCAAyC;IACnD,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB;AACD,MAAM,MAAM,6CAA6C,GAAG,QAAQ,CAClE,OAAO,yCAAyC,CACjD,CAAC;AAEF,MAAM,MAAM,uCAAuC,GAAG;IACpD,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,6CAA6C,CAAC;IACtD;;OAEG;IACH,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;CACnC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,2CAA2C,GAAG;IACxD,KAAK,EAAE,KAAK,CAAC,uCAAuC,CAAC,CAAC;CACvD,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,mDAAmD,GAAG;IAChE,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yDAAyD,EACpE,CAAC,CAAC,WAAW,CACX,mDAAmD,EACnD,0CAA0C,CAG1C,CAAC;AAEL,wBAAgB,gDAAgD,CAC9D,0CAA0C,EACxC,0CAA0C,GAC3C,MAAM,CAMR;AAED,gBAAgB;AAChB,eAAO,MAAM,uDAAuD,EAClE,CAAC,CAAC,WAAW,CAAC,6CAA6C,EAAE,OAAO,CACA,CAAC;AAEvE,gBAAgB;AAChB,eAAO,MAAM,qDAAqD,EAChE,CAAC,CAAC,WAAW,CAAC,uCAAuC,EAAE,OAAO,CAU5D,CAAC;AAEL,wBAAgB,+CAA+C,CAC7D,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,uCAAuC,EACvC,kBAAkB,CACnB,CASA;AAED,gBAAgB;AAChB,eAAO,MAAM,yDAAyD,EACpE,CAAC,CAAC,WAAW,CAAC,2CAA2C,EAAE,OAAO,CAK9D,CAAC;AAEP,wBAAgB,mDAAmD,CACjE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,2CAA2C,EAC3C,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ListGatewayGitHubInstallationGrantsResponse$inboundSchema = exports.ListGatewayGitHubInstallationGrantsItem$inboundSchema = exports.ListGatewayGitHubInstallationGrantsStatus$inboundSchema = exports.ListGatewayGitHubInstallationGrantsRequest$outboundSchema = exports.ListGatewayGitHubInstallationGrantsStatus = void 0;
|
|
40
|
+
exports.listGatewayGitHubInstallationGrantsRequestToJSON = listGatewayGitHubInstallationGrantsRequestToJSON;
|
|
41
|
+
exports.listGatewayGitHubInstallationGrantsItemFromJSON = listGatewayGitHubInstallationGrantsItemFromJSON;
|
|
42
|
+
exports.listGatewayGitHubInstallationGrantsResponseFromJSON = listGatewayGitHubInstallationGrantsResponseFromJSON;
|
|
43
|
+
const z = __importStar(require("zod/v4-mini"));
|
|
44
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
45
|
+
const openEnums = __importStar(require("../../types/enums.js"));
|
|
46
|
+
const types = __importStar(require("../../types/primitives.js"));
|
|
47
|
+
var ListGatewayGitHubInstallationGrantsStatus;
|
|
48
|
+
(function (ListGatewayGitHubInstallationGrantsStatus) {
|
|
49
|
+
ListGatewayGitHubInstallationGrantsStatus["Active"] = "active";
|
|
50
|
+
ListGatewayGitHubInstallationGrantsStatus["Revoked"] = "revoked";
|
|
51
|
+
})(ListGatewayGitHubInstallationGrantsStatus || (exports.ListGatewayGitHubInstallationGrantsStatus = ListGatewayGitHubInstallationGrantsStatus = {}));
|
|
52
|
+
/** @internal */
|
|
53
|
+
exports.ListGatewayGitHubInstallationGrantsRequest$outboundSchema = z.object({
|
|
54
|
+
installationId: z.string(),
|
|
55
|
+
});
|
|
56
|
+
function listGatewayGitHubInstallationGrantsRequestToJSON(listGatewayGitHubInstallationGrantsRequest) {
|
|
57
|
+
return JSON.stringify(exports.ListGatewayGitHubInstallationGrantsRequest$outboundSchema.parse(listGatewayGitHubInstallationGrantsRequest));
|
|
58
|
+
}
|
|
59
|
+
/** @internal */
|
|
60
|
+
exports.ListGatewayGitHubInstallationGrantsStatus$inboundSchema = openEnums.inboundSchema(ListGatewayGitHubInstallationGrantsStatus);
|
|
61
|
+
/** @internal */
|
|
62
|
+
exports.ListGatewayGitHubInstallationGrantsItem$inboundSchema = z.object({
|
|
63
|
+
grantId: types.string(),
|
|
64
|
+
githubLogin: types.nullable(types.string()),
|
|
65
|
+
organizationName: types.string(),
|
|
66
|
+
joinedAt: types.string(),
|
|
67
|
+
status: z._default(exports.ListGatewayGitHubInstallationGrantsStatus$inboundSchema, ListGatewayGitHubInstallationGrantsStatus.Active),
|
|
68
|
+
membershipLapsedAt: types.nullable(types.string()),
|
|
69
|
+
});
|
|
70
|
+
function listGatewayGitHubInstallationGrantsItemFromJSON(jsonString) {
|
|
71
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListGatewayGitHubInstallationGrantsItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListGatewayGitHubInstallationGrantsItem' from JSON`);
|
|
72
|
+
}
|
|
73
|
+
/** @internal */
|
|
74
|
+
exports.ListGatewayGitHubInstallationGrantsResponse$inboundSchema = z
|
|
75
|
+
.object({
|
|
76
|
+
items: z.array(z.lazy(() => exports.ListGatewayGitHubInstallationGrantsItem$inboundSchema)),
|
|
77
|
+
});
|
|
78
|
+
function listGatewayGitHubInstallationGrantsResponseFromJSON(jsonString) {
|
|
79
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListGatewayGitHubInstallationGrantsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListGatewayGitHubInstallationGrantsResponse' from JSON`);
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=list-gateway-git-hub-installation-grants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-gateway-git-hub-installation-grants.js","sourceRoot":"","sources":["../../../../src/models/operations/list-gateway-git-hub-installation-grants.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmEH,4GASC;AAqBD,0GAcC;AAWD,kHAcC;AAtID,+CAAiC;AACjC,qDAAiD;AACjD,gEAAkD;AAGlD,iEAAmD;AAUnD,IAAY,yCAGX;AAHD,WAAY,yCAAyC;IACnD,8DAAiB,CAAA;IACjB,gEAAmB,CAAA;AACrB,CAAC,EAHW,yCAAyC,yDAAzC,yCAAyC,QAGpD;AAsCD,gBAAgB;AACH,QAAA,yDAAyD,GAIhE,CAAC,CAAC,MAAM,CAAC;IACX,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC;AAEL,SAAgB,gDAAgD,CAC9D,0CAC4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,iEA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GatewayIntegrationsError = {
|
|
|
47
47
|
*/
|
|
48
48
|
reason: string;
|
|
49
49
|
};
|
|
50
|
+
export declare enum ListGatewayIntegrationsRole {
|
|
51
|
+
Custodian = "custodian",
|
|
52
|
+
Grantee = "grantee"
|
|
53
|
+
}
|
|
54
|
+
export type ListGatewayIntegrationsRoleOpen = OpenEnum<typeof ListGatewayIntegrationsRole>;
|
|
55
|
+
export type ListGatewayIntegrationsAccess = {
|
|
56
|
+
role: ListGatewayIntegrationsRoleOpen;
|
|
57
|
+
repositoriesLimited: boolean;
|
|
58
|
+
};
|
|
50
59
|
/**
|
|
51
60
|
* One provider integration for a workspace. Never carries a token or secret.
|
|
52
61
|
*/
|
|
@@ -73,6 +82,10 @@ export type ListGatewayIntegrationsIntegration = {
|
|
|
73
82
|
*/
|
|
74
83
|
connectedAt: string | null;
|
|
75
84
|
error: ListGatewayIntegrationsError | null;
|
|
85
|
+
/**
|
|
86
|
+
* GitHub: custodian (this organization's installation) or grantee (another organization's, shared through a verified member; repositories limited to theirs). Null when not connected.
|
|
87
|
+
*/
|
|
88
|
+
access?: ListGatewayIntegrationsAccess | null | undefined;
|
|
76
89
|
};
|
|
77
90
|
/**
|
|
78
91
|
* Response for status 200
|
|
@@ -104,6 +117,11 @@ export declare function listGatewayIntegrationsScopeFromJSON(jsonString: string)
|
|
|
104
117
|
export declare const ListGatewayIntegrationsError$inboundSchema: z.ZodMiniType<ListGatewayIntegrationsError, unknown>;
|
|
105
118
|
export declare function listGatewayIntegrationsErrorFromJSON(jsonString: string): SafeParseResult<ListGatewayIntegrationsError, SDKValidationError>;
|
|
106
119
|
/** @internal */
|
|
120
|
+
export declare const ListGatewayIntegrationsRole$inboundSchema: z.ZodMiniType<ListGatewayIntegrationsRoleOpen, unknown>;
|
|
121
|
+
/** @internal */
|
|
122
|
+
export declare const ListGatewayIntegrationsAccess$inboundSchema: z.ZodMiniType<ListGatewayIntegrationsAccess, unknown>;
|
|
123
|
+
export declare function listGatewayIntegrationsAccessFromJSON(jsonString: string): SafeParseResult<ListGatewayIntegrationsAccess, SDKValidationError>;
|
|
124
|
+
/** @internal */
|
|
107
125
|
export declare const ListGatewayIntegrationsIntegration$inboundSchema: z.ZodMiniType<ListGatewayIntegrationsIntegration, unknown>;
|
|
108
126
|
export declare function listGatewayIntegrationsIntegrationFromJSON(jsonString: string): SafeParseResult<ListGatewayIntegrationsIntegration, SDKValidationError>;
|
|
109
127
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-gateway-integrations.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/list-gateway-integrations.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,oBAAY,4BAA4B;IACtC,SAAS,cAAc;IACvB,YAAY,kBAAkB;IAC9B,WAAW,iBAAiB;IAC5B,eAAe,qBAAqB;IACpC,KAAK,UAAU;CAChB;AACD,MAAM,MAAM,gCAAgC,GAAG,QAAQ,CACrD,OAAO,4BAA4B,CACpC,CAAC;AAEF,oBAAY,kCAAkC;IAC5C,OAAO,YAAY;IACnB,UAAU,eAAe;CAC1B;AACD,MAAM,MAAM,sCAAsC,GAAG,QAAQ,CAC3D,OAAO,kCAAkC,CAC1C,CAAC;AAEF,oBAAY,2BAA2B;IACrC,GAAG,QAAQ;IACX,QAAQ,aAAa;CACtB;AACD,MAAM,MAAM,+BAA+B,GAAG,QAAQ,CACpD,OAAO,2BAA2B,CACnC,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC,IAAI,EAAE,+BAA+B,CAAC;IACtC,KAAK,EAAE,KAAK,CAAC,2BAA2B,CAAC,CAAC;CAC3C,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,kCAAkC,GAAG;IAC/C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,gCAAgC,CAAC;IACxC,WAAW,EAAE,sCAAsC,CAAC;IACpD;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,KAAK,EAAE,4BAA4B,GAAG,IAAI,CAAC;IAC3C,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACpC,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACpC;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,KAAK,EAAE,4BAA4B,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"list-gateway-integrations.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/list-gateway-integrations.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,MAAM,MAAM,8BAA8B,GAAG;IAC3C;;OAEG;IACH,WAAW,EAAE,MAAM,CAA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uCAAuC,CACrD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,+BAA+B,EAAE,kBAAkB,CAAC,CAMtE"}
|
|
@@ -36,11 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.ListGatewayIntegrationsResponse$inboundSchema = exports.ListGatewayIntegrationsIntegration$inboundSchema = exports.ListGatewayIntegrationsError$inboundSchema = exports.ListGatewayIntegrationsScope$inboundSchema = exports.ListGatewayIntegrationsItem$inboundSchema = exports.ListGatewayIntegrationsKind$inboundSchema = exports.ListGatewayIntegrationsEnvironment$inboundSchema = exports.ListGatewayIntegrationsState$inboundSchema = exports.ListGatewayIntegrationsRequest$outboundSchema = exports.ListGatewayIntegrationsKind = exports.ListGatewayIntegrationsEnvironment = exports.ListGatewayIntegrationsState = void 0;
|
|
39
|
+
exports.ListGatewayIntegrationsResponse$inboundSchema = exports.ListGatewayIntegrationsIntegration$inboundSchema = exports.ListGatewayIntegrationsAccess$inboundSchema = exports.ListGatewayIntegrationsRole$inboundSchema = exports.ListGatewayIntegrationsError$inboundSchema = exports.ListGatewayIntegrationsScope$inboundSchema = exports.ListGatewayIntegrationsItem$inboundSchema = exports.ListGatewayIntegrationsKind$inboundSchema = exports.ListGatewayIntegrationsEnvironment$inboundSchema = exports.ListGatewayIntegrationsState$inboundSchema = exports.ListGatewayIntegrationsRequest$outboundSchema = exports.ListGatewayIntegrationsRole = exports.ListGatewayIntegrationsKind = exports.ListGatewayIntegrationsEnvironment = exports.ListGatewayIntegrationsState = void 0;
|
|
40
40
|
exports.listGatewayIntegrationsRequestToJSON = listGatewayIntegrationsRequestToJSON;
|
|
41
41
|
exports.listGatewayIntegrationsItemFromJSON = listGatewayIntegrationsItemFromJSON;
|
|
42
42
|
exports.listGatewayIntegrationsScopeFromJSON = listGatewayIntegrationsScopeFromJSON;
|
|
43
43
|
exports.listGatewayIntegrationsErrorFromJSON = listGatewayIntegrationsErrorFromJSON;
|
|
44
|
+
exports.listGatewayIntegrationsAccessFromJSON = listGatewayIntegrationsAccessFromJSON;
|
|
44
45
|
exports.listGatewayIntegrationsIntegrationFromJSON = listGatewayIntegrationsIntegrationFromJSON;
|
|
45
46
|
exports.listGatewayIntegrationsResponseFromJSON = listGatewayIntegrationsResponseFromJSON;
|
|
46
47
|
const z = __importStar(require("zod/v4-mini"));
|
|
@@ -65,6 +66,11 @@ var ListGatewayIntegrationsKind;
|
|
|
65
66
|
ListGatewayIntegrationsKind["All"] = "all";
|
|
66
67
|
ListGatewayIntegrationsKind["Selected"] = "selected";
|
|
67
68
|
})(ListGatewayIntegrationsKind || (exports.ListGatewayIntegrationsKind = ListGatewayIntegrationsKind = {}));
|
|
69
|
+
var ListGatewayIntegrationsRole;
|
|
70
|
+
(function (ListGatewayIntegrationsRole) {
|
|
71
|
+
ListGatewayIntegrationsRole["Custodian"] = "custodian";
|
|
72
|
+
ListGatewayIntegrationsRole["Grantee"] = "grantee";
|
|
73
|
+
})(ListGatewayIntegrationsRole || (exports.ListGatewayIntegrationsRole = ListGatewayIntegrationsRole = {}));
|
|
68
74
|
/** @internal */
|
|
69
75
|
exports.ListGatewayIntegrationsRequest$outboundSchema = z.object({
|
|
70
76
|
workspaceId: z.string(),
|
|
@@ -103,6 +109,16 @@ function listGatewayIntegrationsErrorFromJSON(jsonString) {
|
|
|
103
109
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListGatewayIntegrationsError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListGatewayIntegrationsError' from JSON`);
|
|
104
110
|
}
|
|
105
111
|
/** @internal */
|
|
112
|
+
exports.ListGatewayIntegrationsRole$inboundSchema = openEnums.inboundSchema(ListGatewayIntegrationsRole);
|
|
113
|
+
/** @internal */
|
|
114
|
+
exports.ListGatewayIntegrationsAccess$inboundSchema = z.object({
|
|
115
|
+
role: z._default(exports.ListGatewayIntegrationsRole$inboundSchema, ListGatewayIntegrationsRole.Custodian),
|
|
116
|
+
repositoriesLimited: types.boolean(),
|
|
117
|
+
});
|
|
118
|
+
function listGatewayIntegrationsAccessFromJSON(jsonString) {
|
|
119
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListGatewayIntegrationsAccess$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListGatewayIntegrationsAccess' from JSON`);
|
|
120
|
+
}
|
|
121
|
+
/** @internal */
|
|
106
122
|
exports.ListGatewayIntegrationsIntegration$inboundSchema = z.object({
|
|
107
123
|
provider: types.string(),
|
|
108
124
|
state: z._default(exports.ListGatewayIntegrationsState$inboundSchema, ListGatewayIntegrationsState.Connected),
|
|
@@ -114,6 +130,7 @@ exports.ListGatewayIntegrationsIntegration$inboundSchema = z.object({
|
|
|
114
130
|
missingScopes: types.nullable(z.array(types.string())),
|
|
115
131
|
connectedAt: types.nullable(types.string()),
|
|
116
132
|
error: types.nullable(z.lazy(() => exports.ListGatewayIntegrationsError$inboundSchema)),
|
|
133
|
+
access: z.optional(z.nullable(z.lazy(() => exports.ListGatewayIntegrationsAccess$inboundSchema))),
|
|
117
134
|
});
|
|
118
135
|
function listGatewayIntegrationsIntegrationFromJSON(jsonString) {
|
|
119
136
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListGatewayIntegrationsIntegration$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListGatewayIntegrationsIntegration' from JSON`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-gateway-integrations.js","sourceRoot":"","sources":["../../../../src/models/operations/list-gateway-integrations.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"list-gateway-integrations.js","sourceRoot":"","sources":["../../../../src/models/operations/list-gateway-integrations.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsI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K,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;IACtD,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC3C,KAAK,EAAE,KAAK,CAAC,QAAQ,CACnB,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,kDAA0C,CAAC,CACzD;IACD,MAAM,EAAE,CAAC,CAAC,QAAQ,CAChB,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,mDAA2C,CAAC,CAAC,CACtE;CACF,CAAC,CAAC;AAEH,SAAgB,0CAA0C,CACxD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,wDAAgD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,gEAAgE,CACjE,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,6CAA6C,GAGtD,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,KAAK,CAAC,MAAM,EAAE;IAC3B,YAAY,EAAE,CAAC,CAAC,KAAK,CACnB,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,wDAAgD,CAAC,CAC/D;CACF,CAAC,CAAC;AAEH,SAAgB,uCAAuC,CACrD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qDAA6C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,6DAA6D,CAC9D,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
4
|
+
export type RestoreGatewayGitHubInstallationGrantRequest = {
|
|
5
|
+
installationId: string;
|
|
6
|
+
grantId: string;
|
|
7
|
+
};
|
|
8
|
+
export declare enum RestoreGatewayGitHubInstallationGrantStatus {
|
|
9
|
+
Active = "active"
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Response for status 200
|
|
13
|
+
*/
|
|
14
|
+
export type RestoreGatewayGitHubInstallationGrantResponse = {
|
|
15
|
+
grantId: string;
|
|
16
|
+
status: RestoreGatewayGitHubInstallationGrantStatus;
|
|
17
|
+
};
|
|
18
|
+
/** @internal */
|
|
19
|
+
export type RestoreGatewayGitHubInstallationGrantRequest$Outbound = {
|
|
20
|
+
installationId: string;
|
|
21
|
+
grantId: string;
|
|
22
|
+
};
|
|
23
|
+
/** @internal */
|
|
24
|
+
export declare const RestoreGatewayGitHubInstallationGrantRequest$outboundSchema: z.ZodMiniType<RestoreGatewayGitHubInstallationGrantRequest$Outbound, RestoreGatewayGitHubInstallationGrantRequest>;
|
|
25
|
+
export declare function restoreGatewayGitHubInstallationGrantRequestToJSON(restoreGatewayGitHubInstallationGrantRequest: RestoreGatewayGitHubInstallationGrantRequest): string;
|
|
26
|
+
/** @internal */
|
|
27
|
+
export declare const RestoreGatewayGitHubInstallationGrantStatus$inboundSchema: z.ZodMiniEnum<typeof RestoreGatewayGitHubInstallationGrantStatus>;
|
|
28
|
+
/** @internal */
|
|
29
|
+
export declare const RestoreGatewayGitHubInstallationGrantResponse$inboundSchema: z.ZodMiniType<RestoreGatewayGitHubInstallationGrantResponse, unknown>;
|
|
30
|
+
export declare function restoreGatewayGitHubInstallationGrantResponseFromJSON(jsonString: string): SafeParseResult<RestoreGatewayGitHubInstallationGrantResponse, SDKValidationError>;
|
|
31
|
+
//# sourceMappingURL=restore-gateway-git-hub-installation-grant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"restore-gateway-git-hub-installation-grant.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/restore-gateway-git-hub-installation-grant.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,MAAM,MAAM,4CAA4C,GAAG;IACzD,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,2CAA2C;IACrD,MAAM,WAAW;CAClB;AAED;;GAEG;AACH,MAAM,MAAM,6CAA6C,GAAG;IAC1D,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,2CAA2C,CAAC;CACrD,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,qDAAqD,GAAG;IAClE,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2DAA2D,EACtE,CAAC,CAAC,WAAW,CACX,qDAAqD,EACrD,4CAA4C,CAI5C,CAAC;AAEL,wBAAgB,kDAAkD,CAChE,4CAA4C,EAC1C,4CAA4C,GAC7C,MAAM,CAMR;AAED,gBAAgB;AAChB,eAAO,MAAM,yDAAyD,EACpE,CAAC,CAAC,WAAW,CAAC,OAAO,2CAA2C,CAE/D,CAAC;AAEJ,gBAAgB;AAChB,eAAO,MAAM,2DAA2D,EACtE,CAAC,CAAC,WAAW,CAAC,6CAA6C,EAAE,OAAO,CAOhE,CAAC;AAEP,wBAAgB,qDAAqD,CACnE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,6CAA6C,EAC7C,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.RestoreGatewayGitHubInstallationGrantResponse$inboundSchema = exports.RestoreGatewayGitHubInstallationGrantStatus$inboundSchema = exports.RestoreGatewayGitHubInstallationGrantRequest$outboundSchema = exports.RestoreGatewayGitHubInstallationGrantStatus = void 0;
|
|
40
|
+
exports.restoreGatewayGitHubInstallationGrantRequestToJSON = restoreGatewayGitHubInstallationGrantRequestToJSON;
|
|
41
|
+
exports.restoreGatewayGitHubInstallationGrantResponseFromJSON = restoreGatewayGitHubInstallationGrantResponseFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v4-mini"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const types = __importStar(require("../../types/primitives.js"));
|
|
45
|
+
var RestoreGatewayGitHubInstallationGrantStatus;
|
|
46
|
+
(function (RestoreGatewayGitHubInstallationGrantStatus) {
|
|
47
|
+
RestoreGatewayGitHubInstallationGrantStatus["Active"] = "active";
|
|
48
|
+
})(RestoreGatewayGitHubInstallationGrantStatus || (exports.RestoreGatewayGitHubInstallationGrantStatus = RestoreGatewayGitHubInstallationGrantStatus = {}));
|
|
49
|
+
/** @internal */
|
|
50
|
+
exports.RestoreGatewayGitHubInstallationGrantRequest$outboundSchema = z.object({
|
|
51
|
+
installationId: z.string(),
|
|
52
|
+
grantId: z.string(),
|
|
53
|
+
});
|
|
54
|
+
function restoreGatewayGitHubInstallationGrantRequestToJSON(restoreGatewayGitHubInstallationGrantRequest) {
|
|
55
|
+
return JSON.stringify(exports.RestoreGatewayGitHubInstallationGrantRequest$outboundSchema.parse(restoreGatewayGitHubInstallationGrantRequest));
|
|
56
|
+
}
|
|
57
|
+
/** @internal */
|
|
58
|
+
exports.RestoreGatewayGitHubInstallationGrantStatus$inboundSchema = z.enum(RestoreGatewayGitHubInstallationGrantStatus);
|
|
59
|
+
/** @internal */
|
|
60
|
+
exports.RestoreGatewayGitHubInstallationGrantResponse$inboundSchema = z
|
|
61
|
+
.object({
|
|
62
|
+
grantId: types.string(),
|
|
63
|
+
status: z._default(exports.RestoreGatewayGitHubInstallationGrantStatus$inboundSchema, RestoreGatewayGitHubInstallationGrantStatus.Active),
|
|
64
|
+
});
|
|
65
|
+
function restoreGatewayGitHubInstallationGrantResponseFromJSON(jsonString) {
|
|
66
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.RestoreGatewayGitHubInstallationGrantResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RestoreGatewayGitHubInstallationGrantResponse' from JSON`);
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=restore-gateway-git-hub-installation-grant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"restore-gateway-git-hub-installation-grant.js","sourceRoot":"","sources":["../../../../src/models/operations/restore-gateway-git-hub-installation-grant.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyCH,gHASC;AAmBD,sHAcC;AAjFD,+CAAiC;AACjC,qDAAiD;AAEjD,iEAAmD;AAQnD,IAAY,2CAEX;AAFD,WAAY,2CAA2C;IACrD,gEAAiB,CAAA;AACnB,CAAC,EAFW,2CAA2C,2DAA3C,2CAA2C,QAEtD;AAgBD,gBAAgB;AACH,QAAA,2DAA2D,GAIlE,CAAC,CAAC,MAAM,CAAC;IACX,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAEL,SAAgB,kDAAkD,CAChE,4CAC8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CACnB,mEAA2D,CAAC,KAAK,CAC/D,4CAA4C,CAC7C,CACF,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,yDAAyD,GACA,CAAC,CAAC,IAAI,CACxE,2CAA2C,CAC5C,CAAC;AAEJ,gBAAgB;AACH,QAAA,2DAA2D,GACE,CAAC;KACtE,MAAM,CAAC;IACN,OAAO,EAAE,KAAK,CAAC,MAAM,EAAE;IACvB,MAAM,EAAE,CAAC,CAAC,QAAQ,CAChB,iEAAyD,EACzD,2CAA2C,CAAC,MAAM,CACnD;CACF,CAAC,CAAC;AAEP,SAAgB,qDAAqD,CACnE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,mEAA2D,CAAC,KAAK,CAC/D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,2EAA2E,CAC5E,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
4
|
+
export type RevokeGatewayGitHubInstallationGrantRequest = {
|
|
5
|
+
installationId: string;
|
|
6
|
+
grantId: string;
|
|
7
|
+
};
|
|
8
|
+
export declare enum RevokeGatewayGitHubInstallationGrantStatus {
|
|
9
|
+
Revoked = "revoked"
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Response for status 200
|
|
13
|
+
*/
|
|
14
|
+
export type RevokeGatewayGitHubInstallationGrantResponse = {
|
|
15
|
+
grantId: string;
|
|
16
|
+
status: RevokeGatewayGitHubInstallationGrantStatus;
|
|
17
|
+
};
|
|
18
|
+
/** @internal */
|
|
19
|
+
export type RevokeGatewayGitHubInstallationGrantRequest$Outbound = {
|
|
20
|
+
installationId: string;
|
|
21
|
+
grantId: string;
|
|
22
|
+
};
|
|
23
|
+
/** @internal */
|
|
24
|
+
export declare const RevokeGatewayGitHubInstallationGrantRequest$outboundSchema: z.ZodMiniType<RevokeGatewayGitHubInstallationGrantRequest$Outbound, RevokeGatewayGitHubInstallationGrantRequest>;
|
|
25
|
+
export declare function revokeGatewayGitHubInstallationGrantRequestToJSON(revokeGatewayGitHubInstallationGrantRequest: RevokeGatewayGitHubInstallationGrantRequest): string;
|
|
26
|
+
/** @internal */
|
|
27
|
+
export declare const RevokeGatewayGitHubInstallationGrantStatus$inboundSchema: z.ZodMiniEnum<typeof RevokeGatewayGitHubInstallationGrantStatus>;
|
|
28
|
+
/** @internal */
|
|
29
|
+
export declare const RevokeGatewayGitHubInstallationGrantResponse$inboundSchema: z.ZodMiniType<RevokeGatewayGitHubInstallationGrantResponse, unknown>;
|
|
30
|
+
export declare function revokeGatewayGitHubInstallationGrantResponseFromJSON(jsonString: string): SafeParseResult<RevokeGatewayGitHubInstallationGrantResponse, SDKValidationError>;
|
|
31
|
+
//# sourceMappingURL=revoke-gateway-git-hub-installation-grant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revoke-gateway-git-hub-installation-grant.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/revoke-gateway-git-hub-installation-grant.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,MAAM,MAAM,2CAA2C,GAAG;IACxD,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,0CAA0C;IACpD,OAAO,YAAY;CACpB;AAED;;GAEG;AACH,MAAM,MAAM,4CAA4C,GAAG;IACzD,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,0CAA0C,CAAC;CACpD,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,oDAAoD,GAAG;IACjE,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0DAA0D,EACrE,CAAC,CAAC,WAAW,CACX,oDAAoD,EACpD,2CAA2C,CAI3C,CAAC;AAEL,wBAAgB,iDAAiD,CAC/D,2CAA2C,EACzC,2CAA2C,GAC5C,MAAM,CAMR;AAED,gBAAgB;AAChB,eAAO,MAAM,wDAAwD,EACnE,CAAC,CAAC,WAAW,CAAC,OAAO,0CAA0C,CAE9D,CAAC;AAEJ,gBAAgB;AAChB,eAAO,MAAM,0DAA0D,EACrE,CAAC,CAAC,WAAW,CAAC,4CAA4C,EAAE,OAAO,CAO/D,CAAC;AAEP,wBAAgB,oDAAoD,CAClE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,4CAA4C,EAC5C,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.RevokeGatewayGitHubInstallationGrantResponse$inboundSchema = exports.RevokeGatewayGitHubInstallationGrantStatus$inboundSchema = exports.RevokeGatewayGitHubInstallationGrantRequest$outboundSchema = exports.RevokeGatewayGitHubInstallationGrantStatus = void 0;
|
|
40
|
+
exports.revokeGatewayGitHubInstallationGrantRequestToJSON = revokeGatewayGitHubInstallationGrantRequestToJSON;
|
|
41
|
+
exports.revokeGatewayGitHubInstallationGrantResponseFromJSON = revokeGatewayGitHubInstallationGrantResponseFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v4-mini"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const types = __importStar(require("../../types/primitives.js"));
|
|
45
|
+
var RevokeGatewayGitHubInstallationGrantStatus;
|
|
46
|
+
(function (RevokeGatewayGitHubInstallationGrantStatus) {
|
|
47
|
+
RevokeGatewayGitHubInstallationGrantStatus["Revoked"] = "revoked";
|
|
48
|
+
})(RevokeGatewayGitHubInstallationGrantStatus || (exports.RevokeGatewayGitHubInstallationGrantStatus = RevokeGatewayGitHubInstallationGrantStatus = {}));
|
|
49
|
+
/** @internal */
|
|
50
|
+
exports.RevokeGatewayGitHubInstallationGrantRequest$outboundSchema = z.object({
|
|
51
|
+
installationId: z.string(),
|
|
52
|
+
grantId: z.string(),
|
|
53
|
+
});
|
|
54
|
+
function revokeGatewayGitHubInstallationGrantRequestToJSON(revokeGatewayGitHubInstallationGrantRequest) {
|
|
55
|
+
return JSON.stringify(exports.RevokeGatewayGitHubInstallationGrantRequest$outboundSchema.parse(revokeGatewayGitHubInstallationGrantRequest));
|
|
56
|
+
}
|
|
57
|
+
/** @internal */
|
|
58
|
+
exports.RevokeGatewayGitHubInstallationGrantStatus$inboundSchema = z.enum(RevokeGatewayGitHubInstallationGrantStatus);
|
|
59
|
+
/** @internal */
|
|
60
|
+
exports.RevokeGatewayGitHubInstallationGrantResponse$inboundSchema = z
|
|
61
|
+
.object({
|
|
62
|
+
grantId: types.string(),
|
|
63
|
+
status: z._default(exports.RevokeGatewayGitHubInstallationGrantStatus$inboundSchema, RevokeGatewayGitHubInstallationGrantStatus.Revoked),
|
|
64
|
+
});
|
|
65
|
+
function revokeGatewayGitHubInstallationGrantResponseFromJSON(jsonString) {
|
|
66
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.RevokeGatewayGitHubInstallationGrantResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RevokeGatewayGitHubInstallationGrantResponse' from JSON`);
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=revoke-gateway-git-hub-installation-grant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revoke-gateway-git-hub-installation-grant.js","sourceRoot":"","sources":["../../../../src/models/operations/revoke-gateway-git-hub-installation-grant.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyCH,8GASC;AAmBD,oHAcC;AAjFD,+CAAiC;AACjC,qDAAiD;AAEjD,iEAAmD;AAQnD,IAAY,0CAEX;AAFD,WAAY,0CAA0C;IACpD,iEAAmB,CAAA;AACrB,CAAC,EAFW,0CAA0C,0DAA1C,0CAA0C,QAErD;AAgBD,gBAAgB;AACH,QAAA,0DAA0D,GAIjE,CAAC,CAAC,MAAM,CAAC;IACX,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAEL,SAAgB,iDAAiD,CAC/D,2CAC6C;IAE7C,OAAO,IAAI,CAAC,SAAS,CACnB,kEAA0D,CAAC,KAAK,CAC9D,2CAA2C,CAC5C,CACF,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,wDAAwD,GACA,CAAC,CAAC,IAAI,CACvE,0CAA0C,CAC3C,CAAC;AAEJ,gBAAgB;AACH,QAAA,0DAA0D,GACE,CAAC;KACrE,MAAM,CAAC;IACN,OAAO,EAAE,KAAK,CAAC,MAAM,EAAE;IACvB,MAAM,EAAE,CAAC,CAAC,QAAQ,CAChB,gEAAwD,EACxD,0CAA0C,CAAC,OAAO,CACnD;CACF,CAAC,CAAC;AAEP,SAAgB,oDAAoD,CAClE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,kEAA0D,CAAC,KAAK,CAC9D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,0EAA0E,CAC3E,CAAC;AACJ,CAAC"}
|
|
@@ -56,6 +56,15 @@ export type UseGatewayGitHubOrgInstallationError = {
|
|
|
56
56
|
*/
|
|
57
57
|
reason: string;
|
|
58
58
|
};
|
|
59
|
+
export declare enum UseGatewayGitHubOrgInstallationRole {
|
|
60
|
+
Custodian = "custodian",
|
|
61
|
+
Grantee = "grantee"
|
|
62
|
+
}
|
|
63
|
+
export type UseGatewayGitHubOrgInstallationRoleOpen = OpenEnum<typeof UseGatewayGitHubOrgInstallationRole>;
|
|
64
|
+
export type UseGatewayGitHubOrgInstallationAccess = {
|
|
65
|
+
role: UseGatewayGitHubOrgInstallationRoleOpen;
|
|
66
|
+
repositoriesLimited: boolean;
|
|
67
|
+
};
|
|
59
68
|
/**
|
|
60
69
|
* One provider integration for a workspace. Never carries a token or secret.
|
|
61
70
|
*/
|
|
@@ -82,6 +91,10 @@ export type UseGatewayGitHubOrgInstallationResponse = {
|
|
|
82
91
|
*/
|
|
83
92
|
connectedAt: string | null;
|
|
84
93
|
error: UseGatewayGitHubOrgInstallationError | null;
|
|
94
|
+
/**
|
|
95
|
+
* GitHub: custodian (this organization's installation) or grantee (another organization's, shared through a verified member; repositories limited to theirs). Null when not connected.
|
|
96
|
+
*/
|
|
97
|
+
access?: UseGatewayGitHubOrgInstallationAccess | null | undefined;
|
|
85
98
|
};
|
|
86
99
|
/** @internal */
|
|
87
100
|
export type UseGatewayGitHubOrgInstallationRequest$Outbound = {
|
|
@@ -113,6 +126,11 @@ export declare function useGatewayGitHubOrgInstallationScopeFromJSON(jsonString:
|
|
|
113
126
|
export declare const UseGatewayGitHubOrgInstallationError$inboundSchema: z.ZodMiniType<UseGatewayGitHubOrgInstallationError, unknown>;
|
|
114
127
|
export declare function useGatewayGitHubOrgInstallationErrorFromJSON(jsonString: string): SafeParseResult<UseGatewayGitHubOrgInstallationError, SDKValidationError>;
|
|
115
128
|
/** @internal */
|
|
129
|
+
export declare const UseGatewayGitHubOrgInstallationRole$inboundSchema: z.ZodMiniType<UseGatewayGitHubOrgInstallationRoleOpen, unknown>;
|
|
130
|
+
/** @internal */
|
|
131
|
+
export declare const UseGatewayGitHubOrgInstallationAccess$inboundSchema: z.ZodMiniType<UseGatewayGitHubOrgInstallationAccess, unknown>;
|
|
132
|
+
export declare function useGatewayGitHubOrgInstallationAccessFromJSON(jsonString: string): SafeParseResult<UseGatewayGitHubOrgInstallationAccess, SDKValidationError>;
|
|
133
|
+
/** @internal */
|
|
116
134
|
export declare const UseGatewayGitHubOrgInstallationResponse$inboundSchema: z.ZodMiniType<UseGatewayGitHubOrgInstallationResponse, unknown>;
|
|
117
135
|
export declare function useGatewayGitHubOrgInstallationResponseFromJSON(jsonString: string): SafeParseResult<UseGatewayGitHubOrgInstallationResponse, SDKValidationError>;
|
|
118
136
|
//# sourceMappingURL=use-gateway-git-hub-org-installation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-gateway-git-hub-org-installation.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/use-gateway-git-hub-org-installation.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,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ChB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,uCAAuC,GAAG;IACpD;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,wCAAwC,CAAC;IAChD,WAAW,EAAE,8CAA8C,CAAC;IAC5D;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,KAAK,EAAE,oCAAoC,GAAG,IAAI,CAAC;IACnD,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACpC,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACpC;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,KAAK,EAAE,oCAAoC,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"use-gateway-git-hub-org-installation.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/use-gateway-git-hub-org-installation.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAG9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,MAAM,MAAM,sCAAsC,GAAG;IACnD;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG,MAAM,GAAG,MAAM,CAAC;AAEnE;;GAEG;AACH,MAAM,MAAM,yCAAyC,GAAG,MAAM,GAAG,MAAM,CAAC;AAExE,oBAAY,oCAAoC;IAC9C,SAAS,cAAc;IACvB,YAAY,kBAAkB;IAC9B,WAAW,iBAAiB;IAC5B,eAAe,qBAAqB;IACpC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,MAAM,GACjB,eAAe,CAChB,uCAAuC,EACvC,kBAAkB,CACnB,CASA"}
|
|
@@ -36,13 +36,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.UseGatewayGitHubOrgInstallationResponse$inboundSchema = exports.UseGatewayGitHubOrgInstallationError$inboundSchema = exports.UseGatewayGitHubOrgInstallationScope$inboundSchema = exports.UseGatewayGitHubOrgInstallationItem$inboundSchema = exports.UseGatewayGitHubOrgInstallationKind$inboundSchema = exports.UseGatewayGitHubOrgInstallationEnvironment$inboundSchema = exports.UseGatewayGitHubOrgInstallationState$inboundSchema = exports.UseGatewayGitHubOrgInstallationRetryAfter$inboundSchema = exports.UseGatewayGitHubOrgInstallationLimit$inboundSchema = exports.UseGatewayGitHubOrgInstallationRequest$outboundSchema = exports.UseGatewayGitHubOrgInstallationKind = exports.UseGatewayGitHubOrgInstallationEnvironment = exports.UseGatewayGitHubOrgInstallationState = void 0;
|
|
39
|
+
exports.UseGatewayGitHubOrgInstallationResponse$inboundSchema = exports.UseGatewayGitHubOrgInstallationAccess$inboundSchema = exports.UseGatewayGitHubOrgInstallationRole$inboundSchema = exports.UseGatewayGitHubOrgInstallationError$inboundSchema = exports.UseGatewayGitHubOrgInstallationScope$inboundSchema = exports.UseGatewayGitHubOrgInstallationItem$inboundSchema = exports.UseGatewayGitHubOrgInstallationKind$inboundSchema = exports.UseGatewayGitHubOrgInstallationEnvironment$inboundSchema = exports.UseGatewayGitHubOrgInstallationState$inboundSchema = exports.UseGatewayGitHubOrgInstallationRetryAfter$inboundSchema = exports.UseGatewayGitHubOrgInstallationLimit$inboundSchema = exports.UseGatewayGitHubOrgInstallationRequest$outboundSchema = exports.UseGatewayGitHubOrgInstallationRole = exports.UseGatewayGitHubOrgInstallationKind = exports.UseGatewayGitHubOrgInstallationEnvironment = exports.UseGatewayGitHubOrgInstallationState = void 0;
|
|
40
40
|
exports.useGatewayGitHubOrgInstallationRequestToJSON = useGatewayGitHubOrgInstallationRequestToJSON;
|
|
41
41
|
exports.useGatewayGitHubOrgInstallationLimitFromJSON = useGatewayGitHubOrgInstallationLimitFromJSON;
|
|
42
42
|
exports.useGatewayGitHubOrgInstallationRetryAfterFromJSON = useGatewayGitHubOrgInstallationRetryAfterFromJSON;
|
|
43
43
|
exports.useGatewayGitHubOrgInstallationItemFromJSON = useGatewayGitHubOrgInstallationItemFromJSON;
|
|
44
44
|
exports.useGatewayGitHubOrgInstallationScopeFromJSON = useGatewayGitHubOrgInstallationScopeFromJSON;
|
|
45
45
|
exports.useGatewayGitHubOrgInstallationErrorFromJSON = useGatewayGitHubOrgInstallationErrorFromJSON;
|
|
46
|
+
exports.useGatewayGitHubOrgInstallationAccessFromJSON = useGatewayGitHubOrgInstallationAccessFromJSON;
|
|
46
47
|
exports.useGatewayGitHubOrgInstallationResponseFromJSON = useGatewayGitHubOrgInstallationResponseFromJSON;
|
|
47
48
|
const z = __importStar(require("zod/v4-mini"));
|
|
48
49
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
@@ -67,6 +68,11 @@ var UseGatewayGitHubOrgInstallationKind;
|
|
|
67
68
|
UseGatewayGitHubOrgInstallationKind["All"] = "all";
|
|
68
69
|
UseGatewayGitHubOrgInstallationKind["Selected"] = "selected";
|
|
69
70
|
})(UseGatewayGitHubOrgInstallationKind || (exports.UseGatewayGitHubOrgInstallationKind = UseGatewayGitHubOrgInstallationKind = {}));
|
|
71
|
+
var UseGatewayGitHubOrgInstallationRole;
|
|
72
|
+
(function (UseGatewayGitHubOrgInstallationRole) {
|
|
73
|
+
UseGatewayGitHubOrgInstallationRole["Custodian"] = "custodian";
|
|
74
|
+
UseGatewayGitHubOrgInstallationRole["Grantee"] = "grantee";
|
|
75
|
+
})(UseGatewayGitHubOrgInstallationRole || (exports.UseGatewayGitHubOrgInstallationRole = UseGatewayGitHubOrgInstallationRole = {}));
|
|
70
76
|
/** @internal */
|
|
71
77
|
exports.UseGatewayGitHubOrgInstallationRequest$outboundSchema = z.object({
|
|
72
78
|
workspaceId: z.string(),
|
|
@@ -116,6 +122,16 @@ function useGatewayGitHubOrgInstallationErrorFromJSON(jsonString) {
|
|
|
116
122
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UseGatewayGitHubOrgInstallationError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UseGatewayGitHubOrgInstallationError' from JSON`);
|
|
117
123
|
}
|
|
118
124
|
/** @internal */
|
|
125
|
+
exports.UseGatewayGitHubOrgInstallationRole$inboundSchema = openEnums.inboundSchema(UseGatewayGitHubOrgInstallationRole);
|
|
126
|
+
/** @internal */
|
|
127
|
+
exports.UseGatewayGitHubOrgInstallationAccess$inboundSchema = z.object({
|
|
128
|
+
role: z._default(exports.UseGatewayGitHubOrgInstallationRole$inboundSchema, UseGatewayGitHubOrgInstallationRole.Custodian),
|
|
129
|
+
repositoriesLimited: types.boolean(),
|
|
130
|
+
});
|
|
131
|
+
function useGatewayGitHubOrgInstallationAccessFromJSON(jsonString) {
|
|
132
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UseGatewayGitHubOrgInstallationAccess$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UseGatewayGitHubOrgInstallationAccess' from JSON`);
|
|
133
|
+
}
|
|
134
|
+
/** @internal */
|
|
119
135
|
exports.UseGatewayGitHubOrgInstallationResponse$inboundSchema = z.object({
|
|
120
136
|
provider: types.string(),
|
|
121
137
|
state: z._default(exports.UseGatewayGitHubOrgInstallationState$inboundSchema, UseGatewayGitHubOrgInstallationState.Connected),
|
|
@@ -127,6 +143,7 @@ exports.UseGatewayGitHubOrgInstallationResponse$inboundSchema = z.object({
|
|
|
127
143
|
missingScopes: types.nullable(z.array(types.string())),
|
|
128
144
|
connectedAt: types.nullable(types.string()),
|
|
129
145
|
error: types.nullable(z.lazy(() => exports.UseGatewayGitHubOrgInstallationError$inboundSchema)),
|
|
146
|
+
access: z.optional(z.nullable(z.lazy(() => exports.UseGatewayGitHubOrgInstallationAccess$inboundSchema))),
|
|
130
147
|
});
|
|
131
148
|
function useGatewayGitHubOrgInstallationResponseFromJSON(jsonString) {
|
|
132
149
|
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.UseGatewayGitHubOrgInstallationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UseGatewayGitHubOrgInstallationResponse' from JSON`);
|