@mutagent/sdk 0.13.43 → 0.13.45
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/architech-sessions-launch-architech-session.d.ts +1 -1
- package/dist/commonjs/funcs/architech-sessions-launch-architech-session.js +1 -1
- 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/funcs/helix-cloud-start-helix-cloud-session.d.ts +1 -1
- package/dist/commonjs/funcs/helix-cloud-start-helix-cloud-session.js +1 -1
- package/dist/commonjs/funcs/helix-sessions-launch-helix-session-deprecated.d.ts +1 -1
- package/dist/commonjs/funcs/helix-sessions-launch-helix-session-deprecated.js +1 -1
- package/dist/commonjs/funcs/helix-sessions-launch-helix-session.d.ts +1 -1
- package/dist/commonjs/funcs/helix-sessions-launch-helix-session.js +1 -1
- package/dist/commonjs/funcs/sandbox-sessions-launch-sandbox-session.d.ts +1 -1
- package/dist/commonjs/funcs/sandbox-sessions-launch-sandbox-session.js +1 -1
- package/dist/commonjs/funcs/sandbox-sessions-start-sandbox-web-session.d.ts +1 -1
- package/dist/commonjs/funcs/sandbox-sessions-start-sandbox-web-session.js +1 -1
- 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/architech-sessions.d.ts +1 -1
- package/dist/commonjs/sdk/architech-sessions.js +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/commonjs/sdk/helix-cloud.d.ts +1 -1
- package/dist/commonjs/sdk/helix-cloud.js +1 -1
- package/dist/commonjs/sdk/helix-sessions.d.ts +2 -2
- package/dist/commonjs/sdk/helix-sessions.js +2 -2
- package/dist/commonjs/sdk/sandbox-sessions.d.ts +2 -2
- package/dist/commonjs/sdk/sandbox-sessions.js +2 -2
- package/dist/esm/funcs/architech-sessions-launch-architech-session.d.ts +1 -1
- package/dist/esm/funcs/architech-sessions-launch-architech-session.js +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/funcs/helix-cloud-start-helix-cloud-session.d.ts +1 -1
- package/dist/esm/funcs/helix-cloud-start-helix-cloud-session.js +1 -1
- package/dist/esm/funcs/helix-sessions-launch-helix-session-deprecated.d.ts +1 -1
- package/dist/esm/funcs/helix-sessions-launch-helix-session-deprecated.js +1 -1
- package/dist/esm/funcs/helix-sessions-launch-helix-session.d.ts +1 -1
- package/dist/esm/funcs/helix-sessions-launch-helix-session.js +1 -1
- package/dist/esm/funcs/sandbox-sessions-launch-sandbox-session.d.ts +1 -1
- package/dist/esm/funcs/sandbox-sessions-launch-sandbox-session.js +1 -1
- package/dist/esm/funcs/sandbox-sessions-start-sandbox-web-session.d.ts +1 -1
- package/dist/esm/funcs/sandbox-sessions-start-sandbox-web-session.js +1 -1
- 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/architech-sessions.d.ts +1 -1
- package/dist/esm/sdk/architech-sessions.js +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/dist/esm/sdk/helix-cloud.d.ts +1 -1
- package/dist/esm/sdk/helix-cloud.js +1 -1
- package/dist/esm/sdk/helix-sessions.d.ts +2 -2
- package/dist/esm/sdk/helix-sessions.js +2 -2
- package/dist/esm/sdk/sandbox-sessions.d.ts +2 -2
- package/dist/esm/sdk/sandbox-sessions.js +2 -2
- 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,yCA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CACjE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,2CAA2C,EAC3C,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
import * as types from "../../types/primitives.js";
|
|
8
|
+
export var ListGatewayGitHubInstallationGrantsStatus;
|
|
9
|
+
(function (ListGatewayGitHubInstallationGrantsStatus) {
|
|
10
|
+
ListGatewayGitHubInstallationGrantsStatus["Active"] = "active";
|
|
11
|
+
ListGatewayGitHubInstallationGrantsStatus["Revoked"] = "revoked";
|
|
12
|
+
})(ListGatewayGitHubInstallationGrantsStatus || (ListGatewayGitHubInstallationGrantsStatus = {}));
|
|
13
|
+
/** @internal */
|
|
14
|
+
export const ListGatewayGitHubInstallationGrantsRequest$outboundSchema = z.object({
|
|
15
|
+
installationId: z.string(),
|
|
16
|
+
});
|
|
17
|
+
export function listGatewayGitHubInstallationGrantsRequestToJSON(listGatewayGitHubInstallationGrantsRequest) {
|
|
18
|
+
return JSON.stringify(ListGatewayGitHubInstallationGrantsRequest$outboundSchema.parse(listGatewayGitHubInstallationGrantsRequest));
|
|
19
|
+
}
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const ListGatewayGitHubInstallationGrantsStatus$inboundSchema = openEnums.inboundSchema(ListGatewayGitHubInstallationGrantsStatus);
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const ListGatewayGitHubInstallationGrantsItem$inboundSchema = z.object({
|
|
24
|
+
grantId: types.string(),
|
|
25
|
+
githubLogin: types.nullable(types.string()),
|
|
26
|
+
organizationName: types.string(),
|
|
27
|
+
joinedAt: types.string(),
|
|
28
|
+
status: z._default(ListGatewayGitHubInstallationGrantsStatus$inboundSchema, ListGatewayGitHubInstallationGrantsStatus.Active),
|
|
29
|
+
membershipLapsedAt: types.nullable(types.string()),
|
|
30
|
+
});
|
|
31
|
+
export function listGatewayGitHubInstallationGrantsItemFromJSON(jsonString) {
|
|
32
|
+
return safeParse(jsonString, (x) => ListGatewayGitHubInstallationGrantsItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListGatewayGitHubInstallationGrantsItem' from JSON`);
|
|
33
|
+
}
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const ListGatewayGitHubInstallationGrantsResponse$inboundSchema = z
|
|
36
|
+
.object({
|
|
37
|
+
items: z.array(z.lazy(() => ListGatewayGitHubInstallationGrantsItem$inboundSchema)),
|
|
38
|
+
});
|
|
39
|
+
export function listGatewayGitHubInstallationGrantsResponseFromJSON(jsonString) {
|
|
40
|
+
return safeParse(jsonString, (x) => ListGatewayGitHubInstallationGrantsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListGatewayGitHubInstallationGrantsResponse' from JSON`);
|
|
41
|
+
}
|
|
42
|
+
//# 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;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAGlD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AAUnD,MAAM,CAAN,IAAY,yCAGX;AAHD,WAAY,yCAAyC;IACnD,8DAAiB,CAAA;IACjB,gEAAmB,CAAA;AACrB,CAAC,EAHW,yCAAyC,KAAzC,yCAAyC,QAGpD;AAsCD,gBAAgB;AAChB,MAAM,CAAC,MAAM,yDAAyD,GAIhE,CAAC,CAAC,M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AAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,yDAAyD,CAAC,KAAK,CAC7D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,yEAAyE,CAC1E,CAAC;AACJ,CAAC"}
|
|
@@ -47,6 +47,15 @@ export type ListGatewayIntegrationsError = {
|
|
|
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;AA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AAU,EAAE,MAAM,GACjB,eAAe,CAAC,kCAAkC,EAAE,kBAAkB,CAAC,CAOzE;AAED,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,WAAW,CACvE,+BAA+B,EAC/B,OAAO,CAMP,CAAC;AAEH,wBAAgB,uCAAuC,CACrD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,+BAA+B,EAAE,kBAAkB,CAAC,CAMtE"}
|
|
@@ -23,6 +23,11 @@ export var ListGatewayIntegrationsKind;
|
|
|
23
23
|
ListGatewayIntegrationsKind["All"] = "all";
|
|
24
24
|
ListGatewayIntegrationsKind["Selected"] = "selected";
|
|
25
25
|
})(ListGatewayIntegrationsKind || (ListGatewayIntegrationsKind = {}));
|
|
26
|
+
export var ListGatewayIntegrationsRole;
|
|
27
|
+
(function (ListGatewayIntegrationsRole) {
|
|
28
|
+
ListGatewayIntegrationsRole["Custodian"] = "custodian";
|
|
29
|
+
ListGatewayIntegrationsRole["Grantee"] = "grantee";
|
|
30
|
+
})(ListGatewayIntegrationsRole || (ListGatewayIntegrationsRole = {}));
|
|
26
31
|
/** @internal */
|
|
27
32
|
export const ListGatewayIntegrationsRequest$outboundSchema = z.object({
|
|
28
33
|
workspaceId: z.string(),
|
|
@@ -61,6 +66,16 @@ export function listGatewayIntegrationsErrorFromJSON(jsonString) {
|
|
|
61
66
|
return safeParse(jsonString, (x) => ListGatewayIntegrationsError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListGatewayIntegrationsError' from JSON`);
|
|
62
67
|
}
|
|
63
68
|
/** @internal */
|
|
69
|
+
export const ListGatewayIntegrationsRole$inboundSchema = openEnums.inboundSchema(ListGatewayIntegrationsRole);
|
|
70
|
+
/** @internal */
|
|
71
|
+
export const ListGatewayIntegrationsAccess$inboundSchema = z.object({
|
|
72
|
+
role: z._default(ListGatewayIntegrationsRole$inboundSchema, ListGatewayIntegrationsRole.Custodian),
|
|
73
|
+
repositoriesLimited: types.boolean(),
|
|
74
|
+
});
|
|
75
|
+
export function listGatewayIntegrationsAccessFromJSON(jsonString) {
|
|
76
|
+
return safeParse(jsonString, (x) => ListGatewayIntegrationsAccess$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListGatewayIntegrationsAccess' from JSON`);
|
|
77
|
+
}
|
|
78
|
+
/** @internal */
|
|
64
79
|
export const ListGatewayIntegrationsIntegration$inboundSchema = z.object({
|
|
65
80
|
provider: types.string(),
|
|
66
81
|
state: z._default(ListGatewayIntegrationsState$inboundSchema, ListGatewayIntegrationsState.Connected),
|
|
@@ -72,6 +87,7 @@ export const ListGatewayIntegrationsIntegration$inboundSchema = z.object({
|
|
|
72
87
|
missingScopes: types.nullable(z.array(types.string())),
|
|
73
88
|
connectedAt: types.nullable(types.string()),
|
|
74
89
|
error: types.nullable(z.lazy(() => ListGatewayIntegrationsError$inboundSchema)),
|
|
90
|
+
access: z.optional(z.nullable(z.lazy(() => ListGatewayIntegrationsAccess$inboundSchema))),
|
|
75
91
|
});
|
|
76
92
|
export function listGatewayIntegrationsIntegrationFromJSON(jsonString) {
|
|
77
93
|
return safeParse(jsonString, (x) => 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;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAGlD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AAUnD,MAAM,CAAN,IAAY,4BAMX;AAND,WAAY,4BAA4B;IACtC,uDAAuB,CAAA;IACvB,8DAA8B,CAAA;IAC9B,4DAA4B,CAAA;IAC5B,oEAAoC,CAAA;IACpC,+CAAe,CAAA;AACjB,CAAC,EANW,4BAA4B,KAA5B,4BAA4B,QAMvC;AAKD,MAAM,CAAN,IAAY,kCAGX;AAHD,WAAY,kCAAkC;IAC5C,yDAAmB,CAAA;IACnB,+DAAyB,CAAA;AAC3B,CAAC,EAHW,kCAAkC,KAAlC,kCAAkC,QAG7C;AAKD,MAAM,CAAN,IAAY,2BAGX;AAHD,WAAY,2BAA2B;IACrC,0CAAW,CAAA;IACX,oDAAqB,CAAA;AACvB,CAAC,EAHW,2BAA2B,KAA3B,2BAA2B,QAGtC;
|
|
1
|
+
{"version":3,"file":"list-gateway-integrations.js","sourceRoot":"","sources":["../../../../src/models/operations/list-gateway-integrations.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAGlD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AAUnD,MAAM,CAAN,IAAY,4BAMX;AAND,WAAY,4BAA4B;IACtC,uDAAuB,CAAA;IACvB,8DAA8B,CAAA;IAC9B,4DAA4B,CAAA;IAC5B,oEAAoC,CAAA;IACpC,+CAAe,CAAA;AACjB,CAAC,EANW,4BAA4B,KAA5B,4BAA4B,QAMvC;AAKD,MAAM,CAAN,IAAY,kCAGX;AAHD,WAAY,kCAAkC;IAC5C,yDAAmB,CAAA;IACnB,+DAAyB,CAAA;AAC3B,CAAC,EAHW,kCAAkC,KAAlC,kCAAkC,QAG7C;AAKD,MAAM,CAAN,IAAY,2BAGX;AAHD,WAAY,2BAA2B;IACrC,0CAAW,CAAA;IACX,oDAAqB,CAAA;AACvB,CAAC,EAHW,2BAA2B,KAA3B,2BAA2B,QAGtC;AA6BD,MAAM,CAAN,IAAY,2BAGX;AAHD,WAAY,2BAA2B;IACrC,sDAAuB,CAAA;IACvB,kDAAmB,CAAA;A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E,CACjE,CAAC;AACJ,CAAC;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,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,gDAAgD,CAAC,CAC/D;CACF,CAAC,CAAC;AAEH,MAAM,UAAU,uCAAuC,CACrD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAA6C,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,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
6
|
+
import * as types from "../../types/primitives.js";
|
|
7
|
+
export var RestoreGatewayGitHubInstallationGrantStatus;
|
|
8
|
+
(function (RestoreGatewayGitHubInstallationGrantStatus) {
|
|
9
|
+
RestoreGatewayGitHubInstallationGrantStatus["Active"] = "active";
|
|
10
|
+
})(RestoreGatewayGitHubInstallationGrantStatus || (RestoreGatewayGitHubInstallationGrantStatus = {}));
|
|
11
|
+
/** @internal */
|
|
12
|
+
export const RestoreGatewayGitHubInstallationGrantRequest$outboundSchema = z.object({
|
|
13
|
+
installationId: z.string(),
|
|
14
|
+
grantId: z.string(),
|
|
15
|
+
});
|
|
16
|
+
export function restoreGatewayGitHubInstallationGrantRequestToJSON(restoreGatewayGitHubInstallationGrantRequest) {
|
|
17
|
+
return JSON.stringify(RestoreGatewayGitHubInstallationGrantRequest$outboundSchema.parse(restoreGatewayGitHubInstallationGrantRequest));
|
|
18
|
+
}
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const RestoreGatewayGitHubInstallationGrantStatus$inboundSchema = z.enum(RestoreGatewayGitHubInstallationGrantStatus);
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const RestoreGatewayGitHubInstallationGrantResponse$inboundSchema = z
|
|
23
|
+
.object({
|
|
24
|
+
grantId: types.string(),
|
|
25
|
+
status: z._default(RestoreGatewayGitHubInstallationGrantStatus$inboundSchema, RestoreGatewayGitHubInstallationGrantStatus.Active),
|
|
26
|
+
});
|
|
27
|
+
export function restoreGatewayGitHubInstallationGrantResponseFromJSON(jsonString) {
|
|
28
|
+
return safeParse(jsonString, (x) => RestoreGatewayGitHubInstallationGrantResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RestoreGatewayGitHubInstallationGrantResponse' from JSON`);
|
|
29
|
+
}
|
|
30
|
+
//# 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;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AAQnD,MAAM,CAAN,IAAY,2CAEX;AAFD,WAAY,2CAA2C;IACrD,gEAAiB,CAAA;AACnB,CAAC,EAFW,2CAA2C,KAA3C,2CAA2C,QAEtD;AAgBD,gBAAgB;AAChB,MAAM,CAAC,MAAM,2DAA2D,GAIlE,CAAC,CAAC,MAAM,CAAC;IACX,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAEL,MAAM,UAAU,kDAAkD,CAChE,4CAC8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CACnB,2DAA2D,CAAC,KAAK,CAC/D,4CAA4C,CAC7C,CACF,CAAC;AACJ,CAAC;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,yDAAyD,GACA,CAAC,CAAC,IAAI,CACxE,2CAA2C,CAC5C,CAAC;AAEJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,2DAA2D,GACE,CAAC;KACtE,MAAM,CAAC;IACN,OAAO,EAAE,KAAK,CAAC,MAAM,EAAE;IACvB,MAAM,EAAE,CAAC,CAAC,QAAQ,CAChB,yDAAyD,EACzD,2CAA2C,CAAC,MAAM,CACnD;CACF,CAAC,CAAC;AAEP,MAAM,UAAU,qDAAqD,CACnE,UAAkB;IAKlB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,2DAA2D,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,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4-mini";
|
|
5
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
6
|
+
import * as types from "../../types/primitives.js";
|
|
7
|
+
export var RevokeGatewayGitHubInstallationGrantStatus;
|
|
8
|
+
(function (RevokeGatewayGitHubInstallationGrantStatus) {
|
|
9
|
+
RevokeGatewayGitHubInstallationGrantStatus["Revoked"] = "revoked";
|
|
10
|
+
})(RevokeGatewayGitHubInstallationGrantStatus || (RevokeGatewayGitHubInstallationGrantStatus = {}));
|
|
11
|
+
/** @internal */
|
|
12
|
+
export const RevokeGatewayGitHubInstallationGrantRequest$outboundSchema = z.object({
|
|
13
|
+
installationId: z.string(),
|
|
14
|
+
grantId: z.string(),
|
|
15
|
+
});
|
|
16
|
+
export function revokeGatewayGitHubInstallationGrantRequestToJSON(revokeGatewayGitHubInstallationGrantRequest) {
|
|
17
|
+
return JSON.stringify(RevokeGatewayGitHubInstallationGrantRequest$outboundSchema.parse(revokeGatewayGitHubInstallationGrantRequest));
|
|
18
|
+
}
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const RevokeGatewayGitHubInstallationGrantStatus$inboundSchema = z.enum(RevokeGatewayGitHubInstallationGrantStatus);
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const RevokeGatewayGitHubInstallationGrantResponse$inboundSchema = z
|
|
23
|
+
.object({
|
|
24
|
+
grantId: types.string(),
|
|
25
|
+
status: z._default(RevokeGatewayGitHubInstallationGrantStatus$inboundSchema, RevokeGatewayGitHubInstallationGrantStatus.Revoked),
|
|
26
|
+
});
|
|
27
|
+
export function revokeGatewayGitHubInstallationGrantResponseFromJSON(jsonString) {
|
|
28
|
+
return safeParse(jsonString, (x) => RevokeGatewayGitHubInstallationGrantResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RevokeGatewayGitHubInstallationGrantResponse' from JSON`);
|
|
29
|
+
}
|
|
30
|
+
//# 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;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AAQnD,MAAM,CAAN,IAAY,0CAEX;AAFD,WAAY,0CAA0C;IACpD,iEAAmB,CAAA;AACrB,CAAC,EAFW,0CAA0C,KAA1C,0CAA0C,QAErD;AAgBD,gBAAgB;AAChB,MAAM,CAAC,MAAM,0DAA0D,GAIjE,CAAC,CAAC,MAAM,CAAC;IACX,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAEL,MAAM,UAAU,iDAAiD,CAC/D,2CAC6C;IAE7C,OAAO,IAAI,CAAC,SAAS,CACnB,0DAA0D,CAAC,KAAK,CAC9D,2CAA2C,CAC5C,CACF,CAAC;AACJ,CAAC;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,wDAAwD,GACA,CAAC,CAAC,IAAI,CACvE,0CAA0C,CAC3C,CAAC;AAEJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,0DAA0D,GACE,CAAC;KACrE,MAAM,CAAC;IACN,OAAO,EAAE,KAAK,CAAC,MAAM,EAAE;IACvB,MAAM,EAAE,CAAC,CAAC,QAAQ,CAChB,wDAAwD,EACxD,0CAA0C,CAAC,OAAO,CACnD;CACF,CAAC,CAAC;AAEP,MAAM,UAAU,oDAAoD,CAClE,UAAkB;IAKlB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,0DAA0D,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,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,KAAK,UAAU;CAChB;AACD,MAAM,MAAM,wCAAwC,GAAG,QAAQ,CAC7D,OAAO,oCAAoC,CAC5C,CAAC;AAEF,oBAAY,0CAA0C;IACpD,OAAO,YAAY;IACnB,UAAU,eAAe;CAC1B;AACD,MAAM,MAAM,8CAA8C,GAAG,QAAQ,CACnE,OAAO,0CAA0C,CAClD,CAAC;AAEF,oBAAY,mCAAmC;IAC7C,GAAG,QAAQ;IACX,QAAQ,aAAa;CACtB;AACD,MAAM,MAAM,uCAAuC,GAAG,QAAQ,CAC5D,OAAO,mCAAmC,CAC3C,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAAG;IAChD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG;IACjD,IAAI,EAAE,uCAAuC,CAAC;IAC9C,KAAK,EAAE,KAAK,CAAC,mCAAmC,CAAC,CAAC;CACnD,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,oCAAoC,GAAG;IACjD;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,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,C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BAAgB,6CAA6C,CAC3D,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qCAAqC,EAAE,kBAAkB,CAAC,CAO5E;AAED,gBAAgB;AAChB,eAAO,MAAM,qDAAqD,EAChE,CAAC,CAAC,WAAW,CAAC,uCAAuC,EAAE,OAAO,CA0B5D,CAAC;AAEL,wBAAgB,+CAA+C,CAC7D,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,uCAAuC,EACvC,kBAAkB,CACnB,CASA"}
|
|
@@ -24,6 +24,11 @@ export var UseGatewayGitHubOrgInstallationKind;
|
|
|
24
24
|
UseGatewayGitHubOrgInstallationKind["All"] = "all";
|
|
25
25
|
UseGatewayGitHubOrgInstallationKind["Selected"] = "selected";
|
|
26
26
|
})(UseGatewayGitHubOrgInstallationKind || (UseGatewayGitHubOrgInstallationKind = {}));
|
|
27
|
+
export var UseGatewayGitHubOrgInstallationRole;
|
|
28
|
+
(function (UseGatewayGitHubOrgInstallationRole) {
|
|
29
|
+
UseGatewayGitHubOrgInstallationRole["Custodian"] = "custodian";
|
|
30
|
+
UseGatewayGitHubOrgInstallationRole["Grantee"] = "grantee";
|
|
31
|
+
})(UseGatewayGitHubOrgInstallationRole || (UseGatewayGitHubOrgInstallationRole = {}));
|
|
27
32
|
/** @internal */
|
|
28
33
|
export const UseGatewayGitHubOrgInstallationRequest$outboundSchema = z.object({
|
|
29
34
|
workspaceId: z.string(),
|
|
@@ -73,6 +78,16 @@ export function useGatewayGitHubOrgInstallationErrorFromJSON(jsonString) {
|
|
|
73
78
|
return safeParse(jsonString, (x) => UseGatewayGitHubOrgInstallationError$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UseGatewayGitHubOrgInstallationError' from JSON`);
|
|
74
79
|
}
|
|
75
80
|
/** @internal */
|
|
81
|
+
export const UseGatewayGitHubOrgInstallationRole$inboundSchema = openEnums.inboundSchema(UseGatewayGitHubOrgInstallationRole);
|
|
82
|
+
/** @internal */
|
|
83
|
+
export const UseGatewayGitHubOrgInstallationAccess$inboundSchema = z.object({
|
|
84
|
+
role: z._default(UseGatewayGitHubOrgInstallationRole$inboundSchema, UseGatewayGitHubOrgInstallationRole.Custodian),
|
|
85
|
+
repositoriesLimited: types.boolean(),
|
|
86
|
+
});
|
|
87
|
+
export function useGatewayGitHubOrgInstallationAccessFromJSON(jsonString) {
|
|
88
|
+
return safeParse(jsonString, (x) => UseGatewayGitHubOrgInstallationAccess$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UseGatewayGitHubOrgInstallationAccess' from JSON`);
|
|
89
|
+
}
|
|
90
|
+
/** @internal */
|
|
76
91
|
export const UseGatewayGitHubOrgInstallationResponse$inboundSchema = z.object({
|
|
77
92
|
provider: types.string(),
|
|
78
93
|
state: z._default(UseGatewayGitHubOrgInstallationState$inboundSchema, UseGatewayGitHubOrgInstallationState.Connected),
|
|
@@ -84,6 +99,7 @@ export const UseGatewayGitHubOrgInstallationResponse$inboundSchema = z.object({
|
|
|
84
99
|
missingScopes: types.nullable(z.array(types.string())),
|
|
85
100
|
connectedAt: types.nullable(types.string()),
|
|
86
101
|
error: types.nullable(z.lazy(() => UseGatewayGitHubOrgInstallationError$inboundSchema)),
|
|
102
|
+
access: z.optional(z.nullable(z.lazy(() => UseGatewayGitHubOrgInstallationAccess$inboundSchema))),
|
|
87
103
|
});
|
|
88
104
|
export function useGatewayGitHubOrgInstallationResponseFromJSON(jsonString) {
|
|
89
105
|
return safeParse(jsonString, (x) => UseGatewayGitHubOrgInstallationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UseGatewayGitHubOrgInstallationResponse' from JSON`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-gateway-git-hub-org-installation.js","sourceRoot":"","sources":["../../../../src/models/operations/use-gateway-git-hub-org-installation.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAGlD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAqBxD,MAAM,CAAN,IAAY,oCAMX;AAND,WAAY,oCAAoC;IAC9C,+DAAuB,CAAA;IACvB,sEAA8B,CAAA;IAC9B,oEAA4B,CAAA;IAC5B,4EAAoC,CAAA;IACpC,uDAAe,CAAA;AACjB,CAAC,EANW,oCAAoC,KAApC,oCAAoC,QAM/C;AAKD,MAAM,CAAN,IAAY,0CAGX;AAHD,WAAY,0CAA0C;IACpD,iEAAmB,CAAA;IACnB,uEAAyB,CAAA;AAC3B,CAAC,EAHW,0CAA0C,KAA1C,0CAA0C,QAGrD;AAKD,MAAM,CAAN,IAAY,mCAGX;AAHD,WAAY,mCAAmC;IAC7C,kDAAW,CAAA;IACX,4DAAqB,CAAA;AACvB,CAAC,EAHW,mCAAmC,KAAnC,mCAAmC,QAG9C;
|
|
1
|
+
{"version":3,"file":"use-gateway-git-hub-org-installation.js","sourceRoot":"","sources":["../../../../src/models/operations/use-gateway-git-hub-org-installation.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAGlD,OAAO,KAAK,KAAK,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAqBxD,MAAM,CAAN,IAAY,oCAMX;AAND,WAAY,oCAAoC;IAC9C,+DAAuB,CAAA;IACvB,sEAA8B,CAAA;IAC9B,oEAA4B,CAAA;IAC5B,4EAAoC,CAAA;IACpC,uDAAe,CAAA;AACjB,CAAC,EANW,oCAAoC,KAApC,oCAAoC,QAM/C;AAKD,MAAM,CAAN,IAAY,0CAGX;AAHD,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ks
|
|
9
|
-
* Starts a session of the architech harness. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. Another harness runs its own preset when `preset` is omitted; a preset of another harness is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry)
|
|
9
|
+
* Starts a session of the architech harness. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. Another harness runs its own preset when `preset` is omitted; a preset of another harness is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry), 502 `SANDBOX_SETUP_FAILED`, or 409 `SUBSCRIPTION_NEEDS_RELOGIN` when the selected subscription login is no longer valid (sign in again in Configuration > LLM providers). Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
|
|
10
10
|
*/
|
|
11
11
|
launchArchitechSession(request: models.HelixLaunchRequest, options?: RequestOptions): Promise<models.HelixLaunchedSession>;
|
|
12
12
|
/**
|
|
@@ -20,7 +20,7 @@ export class ArchitechSessions extends ClientSDK {
|
|
|
20
20
|
* Launch a session (the architech harness)
|
|
21
21
|
*
|
|
22
22
|
* @remarks
|
|
23
|
-
* Starts a session of the architech harness. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. Another harness runs its own preset when `preset` is omitted; a preset of another harness is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry)
|
|
23
|
+
* Starts a session of the architech harness. With `agent`, runs a managed agent on the agent arm (the slot, agent and `environment`, selects the revision; the response names `agent.slug` and `agent.revision`); args may carry only `-p <task>`, which runs it headless. An unknown agent is a 404 `AGENT_NOT_FOUND`. Another harness runs its own preset when `preset` is omitted; a preset of another harness is a 422 `SESSION_HARNESS_MISMATCH`. Returns the session reference. If the new sandbox cannot be set up, the start is refused after the sandbox is released: 503 `SANDBOX_SETUP_TIMEOUT` (retry), 502 `SANDBOX_SETUP_FAILED`, or 409 `SUBSCRIPTION_NEEDS_RELOGIN` when the selected subscription login is no longer valid (sign in again in Configuration > LLM providers). Disconnecting does not stop the session; an idle sandbox stops after 15 minutes.
|
|
24
24
|
*/
|
|
25
25
|
async launchArchitechSession(request, options) {
|
|
26
26
|
return unwrapAsync(architechSessionsLaunchArchitechSession(this, request, options));
|
|
@@ -27,7 +27,7 @@ export declare class Artifacts extends ClientSDK {
|
|
|
27
27
|
* List artifacts
|
|
28
28
|
*
|
|
29
29
|
* @remarks
|
|
30
|
-
* Most recently updated first (order=asc: oldest first). scope=mine (yours in this workspace), workspace (the default: what you can open in this workspace), shared (artifacts you are named on, from any workspace). With groupBy=session each page answers `groups` by harness session instead of `items`. session=<id> keeps one session’s artifacts (the harness’s own id or the hs1_ reference), inside the chosen scope. search=<text> keeps artifacts whose title contains it (case-insensitive), owner=me|<user id> one owner’s; both narrow the scope, and paging walks the matches only. Pass nextCursor as ?cursor to continue, with the same filters and order. 400 INVALID_FILTER for an unknown scope, groupBy or order.
|
|
30
|
+
* Most recently updated first (order=asc: oldest first). scope=mine (yours in this workspace), workspace (the default: what you can open in this workspace), shared (artifacts you are named on, from any workspace). With groupBy=session each page answers `groups` by harness session instead of `items`. session=<id> keeps one session’s artifacts (the harness’s own id or the hs1_ reference), inside the chosen scope. search=<text> keeps artifacts whose title contains it (case-insensitive), owner=me|<user id> one owner’s; both narrow the scope, and paging walks the matches only. Pass nextCursor as ?cursor to continue, with the same filters and order. 400 INVALID_FILTER for an unknown scope, groupBy or order. Also takes a sandbox’s own task token (Bearer) with artifacts:read: the workspace is the token’s, and it lists what is open to that workspace plus what its own session published (scope=mine: only those; shared: none). An expired token is 401, one without the scope 403 SANDBOX_SCOPE.
|
|
31
31
|
*/
|
|
32
32
|
listArtifacts(request?: operations.ListArtifactsRequest | undefined, options?: RequestOptions): Promise<models.ArtifactList>;
|
|
33
33
|
/**
|
|
@@ -41,14 +41,14 @@ export declare class Artifacts extends ClientSDK {
|
|
|
41
41
|
* List an artifact's versions
|
|
42
42
|
*
|
|
43
43
|
* @remarks
|
|
44
|
-
* Newest first, with who published each and whether it was a rollback.
|
|
44
|
+
* Newest first, with who published each and whether it was a rollback. Also takes a sandbox’s own task token (Bearer) with artifacts:read, as GET /artifacts/{id}.
|
|
45
45
|
*/
|
|
46
46
|
listArtifactVersions(request: operations.ListArtifactVersionsRequest, options?: RequestOptions): Promise<models.ArtifactVersionList>;
|
|
47
47
|
/**
|
|
48
48
|
* Read an artifact
|
|
49
49
|
*
|
|
50
50
|
* @remarks
|
|
51
|
-
* The artifact with one version (the current one, or ?version=n): its entry and file list, and the named members. 404 ARTIFACT_NOT_FOUND for an artifact you cannot open.
|
|
51
|
+
* The artifact with one version (the current one, or ?version=n): its entry and file list, and the named members. 404 ARTIFACT_NOT_FOUND for an artifact you cannot open. Also takes a sandbox’s own task token (Bearer) with artifacts:read, for an artifact of the token’s workspace open to it or published by its own session (else 404); members is then empty. An expired token is 401, one without the scope 403 SANDBOX_SCOPE.
|
|
52
52
|
*/
|
|
53
53
|
getArtifact(request: operations.GetArtifactRequest, options?: RequestOptions): Promise<models.ArtifactDetail>;
|
|
54
54
|
/**
|
|
@@ -65,6 +65,13 @@ export declare class Artifacts extends ClientSDK {
|
|
|
65
65
|
* Deletes the artifact with all its versions, members, threads and events. Idempotent: an artifact that is not there, or that you cannot open, also answers 204. One you can open but not change (a named member, or another workspace) answers 403 ARTIFACT_ACCESS_DENIED. Needs resources:delete.
|
|
66
66
|
*/
|
|
67
67
|
deleteArtifact(request: operations.DeleteArtifactRequest, options?: RequestOptions): Promise<void>;
|
|
68
|
+
/**
|
|
69
|
+
* Download one file of an artifact version (sandbox)
|
|
70
|
+
*
|
|
71
|
+
* @remarks
|
|
72
|
+
* One file of one version, as bytes (content-disposition: attachment), for a sandbox's own task token (Bearer) with artifacts:read: the artifact must be in the token's workspace and open to it, or published by the token's own session (else 404 ARTIFACT_NOT_FOUND, also for a path the version does not list). `path` is the file's manifest path as published (e.g. assets/app.css); an empty or dot segment, a backslash or a control character is 400 ARTIFACT_PATH_INVALID. An expired token, or any caller without a sandbox token, is 401; a token without the scope 403 SANDBOX_SCOPE. Members read files through a view token (POST /artifacts/{id}/view).
|
|
73
|
+
*/
|
|
74
|
+
getArtifactVersionFile(request: operations.GetArtifactVersionFileRequest, options?: RequestOptions): Promise<ReadableStream<Uint8Array>>;
|
|
68
75
|
/**
|
|
69
76
|
* Preview or prune old artifact versions
|
|
70
77
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifacts.d.ts","sourceRoot":"","sources":["../../../src/sdk/artifacts.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"artifacts.d.ts","sourceRoot":"","sources":["../../../src/sdk/artifacts.ts"],"names":[],"mappings":"AAsBA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,SAAU,SAAQ,SAAS;IACtC;;;;;OAKG;IACG,kBAAkB,CACtB,OAAO,EAAE,UAAU,CAAC,yBAAyB,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,MAAM,CAAC,eAAe,CAAC;IAQlC;;;;;OAKG;IACG,kBAAkB,CACtB,OAAO,EAAE,UAAU,CAAC,yBAAyB,EAC7C,OAAO,CAAC,EAAE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