@agentxm/client-core 0.10.0 → 0.10.1
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/dist/src/unstable/app-error/app-error.d.ts +20 -4
- package/dist/src/unstable/app-error/app-error.d.ts.map +1 -1
- package/dist/src/unstable/app-error/app-error.js +37 -2
- package/dist/src/unstable/app-error/app-error.js.map +1 -1
- package/dist/src/unstable/app-error/builders.d.ts +4 -4
- package/dist/src/unstable/app-error/builders.d.ts.map +1 -1
- package/dist/src/unstable/app-error/builders.js +5 -5
- package/dist/src/unstable/app-error/builders.js.map +1 -1
- package/dist/src/unstable/app-error/index.d.ts +1 -1
- package/dist/src/unstable/app-error/index.d.ts.map +1 -1
- package/dist/src/unstable/app-error/index.js +1 -1
- package/dist/src/unstable/app-error/index.js.map +1 -1
- package/dist/src/unstable/app-error/render.d.ts +1 -1
- package/dist/src/unstable/app-error/render.d.ts.map +1 -1
- package/dist/src/unstable/app-error/render.js +48 -3
- package/dist/src/unstable/app-error/render.js.map +1 -1
- package/dist/src/unstable/auth/auth-client.d.ts +59 -1
- package/dist/src/unstable/auth/auth-client.d.ts.map +1 -1
- package/dist/src/unstable/auth/auth-client.js +223 -16
- package/dist/src/unstable/auth/auth-client.js.map +1 -1
- package/dist/src/unstable/auth/credential-store.js +2 -2
- package/dist/src/unstable/auth/device-login.d.ts +1 -0
- package/dist/src/unstable/auth/device-login.d.ts.map +1 -1
- package/dist/src/unstable/auth/device-login.js +3 -1
- package/dist/src/unstable/auth/device-login.js.map +1 -1
- package/dist/src/unstable/auth/guard.js +1 -1
- package/dist/src/unstable/auth/index.d.ts +1 -1
- package/dist/src/unstable/auth/index.d.ts.map +1 -1
- package/dist/src/unstable/auth/index.js.map +1 -1
- package/dist/src/unstable/auth/loopback-login.d.ts +4 -1
- package/dist/src/unstable/auth/loopback-login.d.ts.map +1 -1
- package/dist/src/unstable/auth/loopback-login.js +2 -2
- package/dist/src/unstable/auth/loopback-login.js.map +1 -1
- package/dist/src/unstable/auth/token-resolution.js +1 -1
- package/dist/src/unstable/cli/prompt/helpers.js +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-interactive.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js +19 -17
- package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-machine.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-machine.js +16 -14
- package/dist/src/unstable/cli-renderer/cli-renderer-machine.js.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-test.d.ts +2 -2
- package/dist/src/unstable/cli-renderer/cli-renderer-test.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-test.js +20 -20
- package/dist/src/unstable/cli-renderer/cli-renderer-test.js.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer.d.ts +8 -8
- package/dist/src/unstable/cli-renderer/cli-renderer.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/index.d.ts +1 -1
- package/dist/src/unstable/cli-runtime/index.d.ts +3 -3
- package/dist/src/unstable/cli-runtime/index.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/index.js +2 -2
- package/dist/src/unstable/cli-runtime/index.js.map +1 -1
- package/dist/src/unstable/cli-runtime/json-envelope.d.ts +23 -9
- package/dist/src/unstable/cli-runtime/json-envelope.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/json-envelope.js +18 -11
- package/dist/src/unstable/cli-runtime/json-envelope.js.map +1 -1
- package/dist/src/unstable/cli-runtime/output-mode.d.ts +4 -4
- package/dist/src/unstable/cli-runtime/output-mode.js +5 -5
- package/dist/src/unstable/cli-runtime/runtime-envelope.js +17 -17
- package/dist/src/unstable/cli-runtime/runtime-envelope.js.map +1 -1
- package/dist/src/unstable/cli-runtime/{breadcrumb.d.ts → suggested-action.d.ts} +3 -3
- package/dist/src/unstable/cli-runtime/suggested-action.d.ts.map +1 -0
- package/dist/src/unstable/cli-runtime/{breadcrumb.js → suggested-action.js} +5 -5
- package/dist/src/unstable/cli-runtime/suggested-action.js.map +1 -0
- package/dist/src/unstable/commands/command-content.js +1 -1
- package/dist/src/unstable/commands/manager.js +1 -1
- package/dist/src/unstable/commands/manifest-schema.d.ts +1 -1
- package/dist/src/unstable/commands/operations/enable.js +2 -2
- package/dist/src/unstable/commands/operations/install.js +2 -2
- package/dist/src/unstable/commands/operations/new-command.js +1 -1
- package/dist/src/unstable/commands/operations/publish.js +2 -2
- package/dist/src/unstable/commands/operations/publish.js.map +1 -1
- package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts +1 -1
- package/dist/src/unstable/commands/registry-ref-builder.d.ts +1 -1
- package/dist/src/unstable/commands/registry-ref-builder.d.ts.map +1 -1
- package/dist/src/unstable/commands/registry-ref-builder.js +2 -2
- package/dist/src/unstable/commands/registry-ref-builder.js.map +1 -1
- package/dist/src/unstable/discover/discover.d.ts +9 -13
- package/dist/src/unstable/discover/discover.d.ts.map +1 -1
- package/dist/src/unstable/discover/discover.js +94 -140
- package/dist/src/unstable/discover/discover.js.map +1 -1
- package/dist/src/unstable/discover/index.d.ts +1 -1
- package/dist/src/unstable/discover/index.d.ts.map +1 -1
- package/dist/src/unstable/discover/index.js.map +1 -1
- package/dist/src/unstable/extensions/common.d.ts +1 -1
- package/dist/src/unstable/extensions/common.js +1 -1
- package/dist/src/unstable/extensions/common.js.map +1 -1
- package/dist/src/unstable/extensions/fqn.d.ts +1 -1
- package/dist/src/unstable/extensions/fqn.js +2 -2
- package/dist/src/unstable/extensions/frontmatter.js +1 -1
- package/dist/src/unstable/extensions/materializable-from-disk.js +5 -5
- package/dist/src/unstable/extensions/materializable-from-disk.js.map +1 -1
- package/dist/src/unstable/extensions/operations.d.ts +3 -3
- package/dist/src/unstable/extensions/operations.d.ts.map +1 -1
- package/dist/src/unstable/extensions/operations.js +7 -7
- package/dist/src/unstable/extensions/operations.js.map +1 -1
- package/dist/src/unstable/extensions/ref-base.d.ts +1 -1
- package/dist/src/unstable/extensions/ref-base.d.ts.map +1 -1
- package/dist/src/unstable/install-meta/install-meta.d.ts +1 -1
- package/dist/src/unstable/lockfile/resolved-version.js +1 -1
- package/dist/src/unstable/mcp-servers/manifest-schema.d.ts +1 -1
- package/dist/src/unstable/mcp-servers/operations/publish.js +2 -2
- package/dist/src/unstable/mcp-servers/operations/publish.js.map +1 -1
- package/dist/src/unstable/mcp-servers/registry-ref-builder.d.ts +1 -1
- package/dist/src/unstable/mcp-servers/registry-ref-builder.d.ts.map +1 -1
- package/dist/src/unstable/mcp-servers/registry-ref-builder.js +2 -2
- package/dist/src/unstable/mcp-servers/registry-ref-builder.js.map +1 -1
- package/dist/src/unstable/packaging/axm-package-meta.d.ts +9 -1
- package/dist/src/unstable/packaging/axm-package-meta.d.ts.map +1 -1
- package/dist/src/unstable/packaging/axm-package-meta.js +11 -2
- package/dist/src/unstable/packaging/axm-package-meta.js.map +1 -1
- package/dist/src/unstable/packaging/bazel.js +1 -1
- package/dist/src/unstable/packaging/bazel.js.map +1 -1
- package/dist/src/unstable/packaging/cargo.d.ts.map +1 -1
- package/dist/src/unstable/packaging/cargo.js +44 -10
- package/dist/src/unstable/packaging/cargo.js.map +1 -1
- package/dist/src/unstable/packaging/cocoapods.js +1 -1
- package/dist/src/unstable/packaging/cocoapods.js.map +1 -1
- package/dist/src/unstable/packaging/composer.js +1 -1
- package/dist/src/unstable/packaging/composer.js.map +1 -1
- package/dist/src/unstable/packaging/conan.js +1 -1
- package/dist/src/unstable/packaging/conan.js.map +1 -1
- package/dist/src/unstable/packaging/conda.js +2 -2
- package/dist/src/unstable/packaging/conda.js.map +1 -1
- package/dist/src/unstable/packaging/cpan.js +1 -1
- package/dist/src/unstable/packaging/cpan.js.map +1 -1
- package/dist/src/unstable/packaging/cran.js +1 -1
- package/dist/src/unstable/packaging/cran.js.map +1 -1
- package/dist/src/unstable/packaging/docker.js +1 -1
- package/dist/src/unstable/packaging/docker.js.map +1 -1
- package/dist/src/unstable/packaging/gem.d.ts.map +1 -1
- package/dist/src/unstable/packaging/gem.js +7 -25
- package/dist/src/unstable/packaging/gem.js.map +1 -1
- package/dist/src/unstable/packaging/golang.js +1 -1
- package/dist/src/unstable/packaging/golang.js.map +1 -1
- package/dist/src/unstable/packaging/hackage.js +2 -2
- package/dist/src/unstable/packaging/hackage.js.map +1 -1
- package/dist/src/unstable/packaging/hex.js +2 -2
- package/dist/src/unstable/packaging/hex.js.map +1 -1
- package/dist/src/unstable/packaging/huggingface.js +1 -1
- package/dist/src/unstable/packaging/huggingface.js.map +1 -1
- package/dist/src/unstable/packaging/index.d.ts +1 -1
- package/dist/src/unstable/packaging/index.d.ts.map +1 -1
- package/dist/src/unstable/packaging/index.js +1 -1
- package/dist/src/unstable/packaging/index.js.map +1 -1
- package/dist/src/unstable/packaging/jsr.js +1 -1
- package/dist/src/unstable/packaging/jsr.js.map +1 -1
- package/dist/src/unstable/packaging/julia.d.ts.map +1 -1
- package/dist/src/unstable/packaging/julia.js +42 -8
- package/dist/src/unstable/packaging/julia.js.map +1 -1
- package/dist/src/unstable/packaging/luarocks.js +1 -1
- package/dist/src/unstable/packaging/luarocks.js.map +1 -1
- package/dist/src/unstable/packaging/maven.js +2 -2
- package/dist/src/unstable/packaging/maven.js.map +1 -1
- package/dist/src/unstable/packaging/mojo.js +1 -1
- package/dist/src/unstable/packaging/mojo.js.map +1 -1
- package/dist/src/unstable/packaging/npm.js +1 -1
- package/dist/src/unstable/packaging/npm.js.map +1 -1
- package/dist/src/unstable/packaging/nuget.js +1 -1
- package/dist/src/unstable/packaging/nuget.js.map +1 -1
- package/dist/src/unstable/packaging/opam.js +1 -1
- package/dist/src/unstable/packaging/opam.js.map +1 -1
- package/dist/src/unstable/packaging/pub.d.ts.map +1 -1
- package/dist/src/unstable/packaging/pub.js +34 -13
- package/dist/src/unstable/packaging/pub.js.map +1 -1
- package/dist/src/unstable/packaging/pypi.js +1 -1
- package/dist/src/unstable/packaging/pypi.js.map +1 -1
- package/dist/src/unstable/packaging/read.d.ts +4 -1
- package/dist/src/unstable/packaging/read.d.ts.map +1 -1
- package/dist/src/unstable/packaging/swift.js +1 -1
- package/dist/src/unstable/packaging/swift.js.map +1 -1
- package/dist/src/unstable/packaging/types.d.ts +2 -2
- package/dist/src/unstable/packaging/types.d.ts.map +1 -1
- package/dist/src/unstable/packaging/zig.js +1 -1
- package/dist/src/unstable/packaging/zig.js.map +1 -1
- package/dist/src/unstable/packs/dependency-resolution.js +4 -4
- package/dist/src/unstable/packs/dependency-resolution.js.map +1 -1
- package/dist/src/unstable/packs/expansion.js +1 -1
- package/dist/src/unstable/packs/manifest-schema.d.ts +1 -1
- package/dist/src/unstable/packs/operations/add-to-pack.js +2 -2
- package/dist/src/unstable/packs/operations/install.js +1 -1
- package/dist/src/unstable/packs/operations/new-pack.js +1 -1
- package/dist/src/unstable/packs/operations/remove-from-pack.js +2 -2
- package/dist/src/unstable/packs/operations/unpack.js +1 -1
- package/dist/src/unstable/plan/resolve-plan.js +2 -2
- package/dist/src/unstable/publish/manifest-policy.d.ts +5 -5
- package/dist/src/unstable/publish/manifest-policy.js +9 -9
- package/dist/src/unstable/publish/manifest-policy.js.map +1 -1
- package/dist/src/unstable/registry/__generated__/registry-client.d.ts +360 -53
- package/dist/src/unstable/registry/__generated__/registry-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/__generated__/registry-client.js +156 -20
- package/dist/src/unstable/registry/__generated__/registry-client.js.map +1 -1
- package/dist/src/unstable/registry/client.d.ts +13 -8
- package/dist/src/unstable/registry/client.d.ts.map +1 -1
- package/dist/src/unstable/registry/client.js.map +1 -1
- package/dist/src/unstable/registry/discover-schema.d.ts +53 -61
- package/dist/src/unstable/registry/discover-schema.d.ts.map +1 -1
- package/dist/src/unstable/registry/discover-schema.js +21 -52
- package/dist/src/unstable/registry/discover-schema.js.map +1 -1
- package/dist/src/unstable/registry/error-mapping.d.ts +3 -3
- package/dist/src/unstable/registry/error-mapping.d.ts.map +1 -1
- package/dist/src/unstable/registry/error-mapping.js +10 -3
- package/dist/src/unstable/registry/error-mapping.js.map +1 -1
- package/dist/src/unstable/registry/index.d.ts +5 -5
- package/dist/src/unstable/registry/index.d.ts.map +1 -1
- package/dist/src/unstable/registry/index.js +3 -3
- package/dist/src/unstable/registry/index.js.map +1 -1
- package/dist/src/unstable/registry/local-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/local-client.js +92 -42
- package/dist/src/unstable/registry/local-client.js.map +1 -1
- package/dist/src/unstable/registry/remote-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/remote-client.js +88 -128
- package/dist/src/unstable/registry/remote-client.js.map +1 -1
- package/dist/src/unstable/registry/schema.d.ts +4 -4
- package/dist/src/unstable/registry/schema.d.ts.map +1 -1
- package/dist/src/unstable/registry/schema.js +4 -4
- package/dist/src/unstable/registry/schema.js.map +1 -1
- package/dist/src/unstable/registry/translate.d.ts +3 -3
- package/dist/src/unstable/registry/translate.d.ts.map +1 -1
- package/dist/src/unstable/registry/translate.js +41 -14
- package/dist/src/unstable/registry/translate.js.map +1 -1
- package/dist/src/unstable/settings/ignored-patterns.js +2 -2
- package/dist/src/unstable/skills/manifest-schema.d.ts +1 -1
- package/dist/src/unstable/skills/operations/disable.js +1 -1
- package/dist/src/unstable/skills/operations/enable.js +1 -1
- package/dist/src/unstable/skills/operations/new-skill.js +1 -1
- package/dist/src/unstable/skills/operations/publish.js +2 -2
- package/dist/src/unstable/skills/operations/publish.js.map +1 -1
- package/dist/src/unstable/skills/registry-ref-builder.d.ts +1 -1
- package/dist/src/unstable/skills/registry-ref-builder.d.ts.map +1 -1
- package/dist/src/unstable/skills/registry-ref-builder.js +2 -2
- package/dist/src/unstable/skills/registry-ref-builder.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/registry/host-provider.js +3 -3
- package/dist/src/unstable/source-resolution/providers/registry/host-provider.js.map +1 -1
- package/dist/src/unstable/source-resolution/resolve-identifier.js +5 -5
- package/dist/src/unstable/source-resolution/resolve-source-pattern.js +1 -1
- package/dist/src/unstable/sources/lock-entry-to-ref.js +5 -5
- package/dist/src/unstable/sources/lock-entry-to-ref.js.map +1 -1
- package/dist/src/unstable/subagents/manager.js +1 -1
- package/dist/src/unstable/subagents/manifest-schema.d.ts +1 -1
- package/dist/src/unstable/subagents/operations/disable.js +1 -1
- package/dist/src/unstable/subagents/operations/enable.js +2 -2
- package/dist/src/unstable/subagents/operations/publish.js +3 -3
- package/dist/src/unstable/subagents/operations/publish.js.map +1 -1
- package/dist/src/unstable/subagents/registry-ref-builder.d.ts +1 -1
- package/dist/src/unstable/subagents/registry-ref-builder.d.ts.map +1 -1
- package/dist/src/unstable/subagents/registry-ref-builder.js +2 -2
- package/dist/src/unstable/subagents/registry-ref-builder.js.map +1 -1
- package/dist/src/unstable/subagents/subagent-content.js +4 -4
- package/dist/src/unstable/version-resolution/version-resolution.js +5 -5
- package/dist/src/unstable/workspace/configured-entry-resolution/resolve.js +13 -13
- package/dist/src/unstable/workspace/initialization.js +1 -1
- package/dist/src/unstable/workspace/service.js +2 -2
- package/dist/src/unstable/workspace/version-currency/test-stubs.js +1 -1
- package/dist/src/unstable/workspace/version-currency/test-stubs.js.map +1 -1
- package/package.json +2 -2
- package/site-content/__generated__/schemas/axm-package-meta.schema.json +35 -8
- package/site-content/__generated__/schemas/command.schema.json +1 -1
- package/site-content/__generated__/schemas/mcp-server.schema.json +1 -1
- package/site-content/__generated__/schemas/pack.schema.json +1 -1
- package/site-content/__generated__/schemas/skill.schema.json +1 -1
- package/site-content/__generated__/schemas/subagent.schema.json +1 -1
- package/dist/src/unstable/cli-runtime/breadcrumb.d.ts.map +0 -1
- package/dist/src/unstable/cli-runtime/breadcrumb.js.map +0 -1
|
@@ -94,6 +94,12 @@ export declare const TokenOAuthError: Schema.Struct<{
|
|
|
94
94
|
readonly error: Schema.Literals<readonly ["invalid_request", "invalid_client", "invalid_grant", "unauthorized_client", "unsupported_grant_type", "invalid_scope", "authorization_pending", "slow_down", "expired_token", "access_denied"]>;
|
|
95
95
|
readonly error_description: Schema.String;
|
|
96
96
|
}>;
|
|
97
|
+
export type AuthWhoamiResponse = {
|
|
98
|
+
readonly handle: string;
|
|
99
|
+
};
|
|
100
|
+
export declare const AuthWhoamiResponse: Schema.Struct<{
|
|
101
|
+
readonly handle: Schema.String;
|
|
102
|
+
}>;
|
|
97
103
|
export type UserId = string;
|
|
98
104
|
export declare const UserId: Schema.String;
|
|
99
105
|
export type ResourceRestrictions = {
|
|
@@ -102,6 +108,20 @@ export type ResourceRestrictions = {
|
|
|
102
108
|
export declare const ResourceRestrictions: Schema.Struct<{
|
|
103
109
|
readonly extensions: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>;
|
|
104
110
|
}>;
|
|
111
|
+
export type StepUpChallengeResponse = {
|
|
112
|
+
readonly status: "pending";
|
|
113
|
+
} | {
|
|
114
|
+
readonly status: "completed";
|
|
115
|
+
readonly step_up: string;
|
|
116
|
+
readonly expires_at: string;
|
|
117
|
+
};
|
|
118
|
+
export declare const StepUpChallengeResponse: Schema.Union<readonly [Schema.Struct<{
|
|
119
|
+
readonly status: Schema.Literal<"pending">;
|
|
120
|
+
}>, Schema.Struct<{
|
|
121
|
+
readonly status: Schema.Literal<"completed">;
|
|
122
|
+
readonly step_up: Schema.String;
|
|
123
|
+
readonly expires_at: Schema.String;
|
|
124
|
+
}>]>;
|
|
105
125
|
export type TokenId = string;
|
|
106
126
|
export declare const TokenId: Schema.String;
|
|
107
127
|
export type IsoDateTimeString = string;
|
|
@@ -124,15 +144,43 @@ export declare const AuthorizationDenyDetails: Schema.Struct<{
|
|
|
124
144
|
readonly tokenScopes: Schema.$Array<Schema.String>;
|
|
125
145
|
readonly requiredRole: Schema.optionalKey<Schema.String>;
|
|
126
146
|
}>;
|
|
127
|
-
export type
|
|
128
|
-
readonly
|
|
129
|
-
readonly
|
|
130
|
-
readonly
|
|
147
|
+
export type CreateTokenPermissionsRequest = {
|
|
148
|
+
readonly owners?: ReadonlyArray<string> | null;
|
|
149
|
+
readonly extensions?: ReadonlyArray<string> | null;
|
|
150
|
+
readonly permission?: "read" | "publish" | "admin" | null;
|
|
151
|
+
readonly org_permission?: "read" | "write" | "admin" | null;
|
|
152
|
+
readonly cidr?: ReadonlyArray<string> | null;
|
|
153
|
+
readonly bypass_mfa?: boolean | null;
|
|
131
154
|
};
|
|
132
|
-
export declare const
|
|
133
|
-
readonly
|
|
134
|
-
readonly
|
|
135
|
-
readonly
|
|
155
|
+
export declare const CreateTokenPermissionsRequest: Schema.Struct<{
|
|
156
|
+
readonly owners: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
|
|
157
|
+
readonly extensions: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
|
|
158
|
+
readonly permission: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["read", "publish", "admin"]>, Schema.Null]>>;
|
|
159
|
+
readonly org_permission: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["read", "write", "admin"]>, Schema.Null]>>;
|
|
160
|
+
readonly cidr: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
|
|
161
|
+
readonly bypass_mfa: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
162
|
+
}>;
|
|
163
|
+
export type StepUpRequiredError = {
|
|
164
|
+
readonly kind: "StepUpRequiredError";
|
|
165
|
+
readonly type: string;
|
|
166
|
+
readonly title: string;
|
|
167
|
+
readonly status: number;
|
|
168
|
+
readonly detail: string;
|
|
169
|
+
readonly instance?: string;
|
|
170
|
+
readonly code: "eotp";
|
|
171
|
+
readonly authUrl: string;
|
|
172
|
+
readonly doneUrl: string;
|
|
173
|
+
};
|
|
174
|
+
export declare const StepUpRequiredError: Schema.Struct<{
|
|
175
|
+
readonly kind: Schema.Literal<"StepUpRequiredError">;
|
|
176
|
+
readonly type: Schema.String;
|
|
177
|
+
readonly title: Schema.String;
|
|
178
|
+
readonly status: Schema.Number;
|
|
179
|
+
readonly detail: Schema.String;
|
|
180
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
181
|
+
readonly code: Schema.Literal<"eotp">;
|
|
182
|
+
readonly authUrl: Schema.String;
|
|
183
|
+
readonly doneUrl: Schema.String;
|
|
136
184
|
}>;
|
|
137
185
|
export type Handle = string;
|
|
138
186
|
export declare const Handle: Schema.String;
|
|
@@ -262,6 +310,8 @@ export type PutCollaboratorBody = {
|
|
|
262
310
|
export declare const PutCollaboratorBody: Schema.Struct<{
|
|
263
311
|
readonly role: Schema.Literals<readonly ["admin", "write", "read"]>;
|
|
264
312
|
}>;
|
|
313
|
+
export type ExtensionFqn = string;
|
|
314
|
+
export declare const ExtensionFqn: Schema.String;
|
|
265
315
|
export type ProblemDetails = {
|
|
266
316
|
readonly type: string;
|
|
267
317
|
readonly title: string;
|
|
@@ -308,6 +358,7 @@ export type AuthMeToken = {
|
|
|
308
358
|
readonly id: string;
|
|
309
359
|
readonly type: "session" | "pat" | "oidc";
|
|
310
360
|
readonly name: string | null;
|
|
361
|
+
readonly permissions: unknown | null;
|
|
311
362
|
readonly scopes: ReadonlyArray<string>;
|
|
312
363
|
readonly resource_restrictions: ResourceRestrictions;
|
|
313
364
|
readonly expires_at: string;
|
|
@@ -316,6 +367,7 @@ export declare const AuthMeToken: Schema.Struct<{
|
|
|
316
367
|
readonly id: Schema.String;
|
|
317
368
|
readonly type: Schema.Literals<readonly ["session", "pat", "oidc"]>;
|
|
318
369
|
readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
370
|
+
readonly permissions: Schema.Union<readonly [Schema.Unknown, Schema.Null]>;
|
|
319
371
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
320
372
|
readonly resource_restrictions: Schema.Struct<{
|
|
321
373
|
readonly extensions: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>;
|
|
@@ -327,6 +379,7 @@ export type TokenListItem = {
|
|
|
327
379
|
readonly name: string | null;
|
|
328
380
|
readonly type: string;
|
|
329
381
|
readonly scopes: ReadonlyArray<string>;
|
|
382
|
+
readonly permissions: unknown | null;
|
|
330
383
|
readonly created_at: IsoDateTimeString;
|
|
331
384
|
readonly expires_at: IsoDateTimeString;
|
|
332
385
|
readonly last_used_at: IsoDateTimeString | null;
|
|
@@ -336,6 +389,7 @@ export declare const TokenListItem: Schema.Struct<{
|
|
|
336
389
|
readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
337
390
|
readonly type: Schema.String;
|
|
338
391
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
392
|
+
readonly permissions: Schema.Union<readonly [Schema.Unknown, Schema.Null]>;
|
|
339
393
|
readonly created_at: Schema.String;
|
|
340
394
|
readonly expires_at: Schema.String;
|
|
341
395
|
readonly last_used_at: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -345,6 +399,7 @@ export type CreateTokenResponse = {
|
|
|
345
399
|
readonly token: string;
|
|
346
400
|
readonly name: string;
|
|
347
401
|
readonly scopes: ReadonlyArray<string>;
|
|
402
|
+
readonly permissions: unknown;
|
|
348
403
|
readonly created_at: IsoDateTimeString;
|
|
349
404
|
readonly expires_at: IsoDateTimeString;
|
|
350
405
|
};
|
|
@@ -353,6 +408,7 @@ export declare const CreateTokenResponse: Schema.Struct<{
|
|
|
353
408
|
readonly token: Schema.String;
|
|
354
409
|
readonly name: Schema.String;
|
|
355
410
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
411
|
+
readonly permissions: Schema.Unknown;
|
|
356
412
|
readonly created_at: Schema.String;
|
|
357
413
|
readonly expires_at: Schema.String;
|
|
358
414
|
}>;
|
|
@@ -363,7 +419,7 @@ export type ForbiddenError = {
|
|
|
363
419
|
readonly status: number;
|
|
364
420
|
readonly detail: string;
|
|
365
421
|
readonly instance?: string;
|
|
366
|
-
readonly code: "forbidden" | "insufficient_scope" | "resource_restriction" | "scope_escalation" | "team_create_not_authorized" | "team_delete_not_authorized" | "team_update_not_authorized" | "add_team_member_not_authorized" | "remove_team_member_not_authorized" | "change_team_member_role_not_authorized" | "team_extension_grant_delete_not_authorized" | "team_extension_grant_not_authorized" | "publish/quota-exceeded" | "publish/insufficient-scope" | "publish/resource-restriction" | "publish/handle-not-owned" | "publish/publish-forbidden";
|
|
422
|
+
readonly code: "forbidden" | "insufficient_scope" | "resource_restriction" | "scope_escalation" | "gat_requires_session" | "team_create_not_authorized" | "team_delete_not_authorized" | "team_update_not_authorized" | "add_team_member_not_authorized" | "remove_team_member_not_authorized" | "change_team_member_role_not_authorized" | "team_extension_grant_delete_not_authorized" | "team_extension_grant_not_authorized" | "publish/quota-exceeded" | "publish/insufficient-scope" | "publish/resource-restriction" | "publish/handle-not-owned" | "publish/publish-forbidden";
|
|
367
423
|
readonly details?: ScopeCheckDetails | AuthorizationDenyDetails | PublishDetails;
|
|
368
424
|
};
|
|
369
425
|
export declare const ForbiddenError: Schema.Struct<{
|
|
@@ -373,7 +429,7 @@ export declare const ForbiddenError: Schema.Struct<{
|
|
|
373
429
|
readonly status: Schema.Number;
|
|
374
430
|
readonly detail: Schema.String;
|
|
375
431
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
376
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
432
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
377
433
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
378
434
|
readonly requiredScope: Schema.String;
|
|
379
435
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -389,6 +445,25 @@ export declare const ForbiddenError: Schema.Struct<{
|
|
|
389
445
|
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
390
446
|
}>]>>;
|
|
391
447
|
}>;
|
|
448
|
+
export type CreateTokenRequest = {
|
|
449
|
+
readonly name: string;
|
|
450
|
+
readonly scopes?: ReadonlyArray<string> | null;
|
|
451
|
+
readonly permissions?: CreateTokenPermissionsRequest | null;
|
|
452
|
+
readonly expires_in: number;
|
|
453
|
+
};
|
|
454
|
+
export declare const CreateTokenRequest: Schema.Struct<{
|
|
455
|
+
readonly name: Schema.String;
|
|
456
|
+
readonly scopes: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
|
|
457
|
+
readonly permissions: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
458
|
+
readonly owners: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
|
|
459
|
+
readonly extensions: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
|
|
460
|
+
readonly permission: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["read", "publish", "admin"]>, Schema.Null]>>;
|
|
461
|
+
readonly org_permission: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["read", "write", "admin"]>, Schema.Null]>>;
|
|
462
|
+
readonly cidr: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
|
|
463
|
+
readonly bypass_mfa: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
464
|
+
}>, Schema.Null]>>;
|
|
465
|
+
readonly expires_in: Schema.Number;
|
|
466
|
+
}>;
|
|
392
467
|
export type UpsertTeamGrantBody = {
|
|
393
468
|
readonly teamId: TeamId;
|
|
394
469
|
readonly role: "read" | "write" | "admin";
|
|
@@ -533,6 +608,7 @@ export declare const AuthMeResponse: Schema.Struct<{
|
|
|
533
608
|
readonly id: Schema.String;
|
|
534
609
|
readonly type: Schema.Literals<readonly ["session", "pat", "oidc"]>;
|
|
535
610
|
readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
611
|
+
readonly permissions: Schema.Union<readonly [Schema.Unknown, Schema.Null]>;
|
|
536
612
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
537
613
|
readonly resource_restrictions: Schema.Struct<{
|
|
538
614
|
readonly extensions: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>;
|
|
@@ -551,6 +627,7 @@ export declare const TokenListResponse: Schema.Struct<{
|
|
|
551
627
|
readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
552
628
|
readonly type: Schema.String;
|
|
553
629
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
630
|
+
readonly permissions: Schema.Union<readonly [Schema.Unknown, Schema.Null]>;
|
|
554
631
|
readonly created_at: Schema.String;
|
|
555
632
|
readonly expires_at: Schema.String;
|
|
556
633
|
readonly last_used_at: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -955,6 +1032,36 @@ export declare const AuthRevokeOAuthToken400: Schema.Struct<{
|
|
|
955
1032
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
956
1033
|
readonly code: Schema.String;
|
|
957
1034
|
}>;
|
|
1035
|
+
export type AuthGetWhoami200 = AuthWhoamiResponse;
|
|
1036
|
+
export declare const AuthGetWhoami200: Schema.Struct<{
|
|
1037
|
+
readonly handle: Schema.String;
|
|
1038
|
+
}>;
|
|
1039
|
+
export type AuthGetWhoami400 = DecodeErrorResponse;
|
|
1040
|
+
export declare const AuthGetWhoami400: Schema.Struct<{
|
|
1041
|
+
readonly kind: Schema.Literal<"DecodeErrorResponse">;
|
|
1042
|
+
readonly type: Schema.String;
|
|
1043
|
+
readonly title: Schema.String;
|
|
1044
|
+
readonly status: Schema.Number;
|
|
1045
|
+
readonly detail: Schema.String;
|
|
1046
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1047
|
+
readonly code: Schema.String;
|
|
1048
|
+
}>;
|
|
1049
|
+
export type AuthGetWhoami401 = ProblemDetails;
|
|
1050
|
+
export declare const AuthGetWhoami401: Schema.Struct<{
|
|
1051
|
+
readonly type: Schema.String;
|
|
1052
|
+
readonly title: Schema.String;
|
|
1053
|
+
readonly status: Schema.Number;
|
|
1054
|
+
readonly detail: Schema.String;
|
|
1055
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1056
|
+
readonly code: Schema.String;
|
|
1057
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
1058
|
+
readonly retryable: Schema.Boolean;
|
|
1059
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
1060
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
1061
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1062
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1063
|
+
}>>;
|
|
1064
|
+
}>;
|
|
958
1065
|
export type AuthGetMe200 = AuthMeResponse;
|
|
959
1066
|
export declare const AuthGetMe200: Schema.Struct<{
|
|
960
1067
|
readonly user: Schema.Struct<{
|
|
@@ -967,6 +1074,7 @@ export declare const AuthGetMe200: Schema.Struct<{
|
|
|
967
1074
|
readonly id: Schema.String;
|
|
968
1075
|
readonly type: Schema.Literals<readonly ["session", "pat", "oidc"]>;
|
|
969
1076
|
readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1077
|
+
readonly permissions: Schema.Union<readonly [Schema.Unknown, Schema.Null]>;
|
|
970
1078
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
971
1079
|
readonly resource_restrictions: Schema.Struct<{
|
|
972
1080
|
readonly extensions: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>;
|
|
@@ -1000,6 +1108,56 @@ export declare const AuthGetMe401: Schema.Struct<{
|
|
|
1000
1108
|
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1001
1109
|
}>>;
|
|
1002
1110
|
}>;
|
|
1111
|
+
export type AuthGetStepUpChallenge200 = StepUpChallengeResponse;
|
|
1112
|
+
export declare const AuthGetStepUpChallenge200: Schema.Union<readonly [Schema.Struct<{
|
|
1113
|
+
readonly status: Schema.Literal<"pending">;
|
|
1114
|
+
}>, Schema.Struct<{
|
|
1115
|
+
readonly status: Schema.Literal<"completed">;
|
|
1116
|
+
readonly step_up: Schema.String;
|
|
1117
|
+
readonly expires_at: Schema.String;
|
|
1118
|
+
}>]>;
|
|
1119
|
+
export type AuthGetStepUpChallenge400 = DecodeErrorResponse;
|
|
1120
|
+
export declare const AuthGetStepUpChallenge400: Schema.Struct<{
|
|
1121
|
+
readonly kind: Schema.Literal<"DecodeErrorResponse">;
|
|
1122
|
+
readonly type: Schema.String;
|
|
1123
|
+
readonly title: Schema.String;
|
|
1124
|
+
readonly status: Schema.Number;
|
|
1125
|
+
readonly detail: Schema.String;
|
|
1126
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1127
|
+
readonly code: Schema.String;
|
|
1128
|
+
}>;
|
|
1129
|
+
export type AuthGetStepUpChallenge401 = ProblemDetails;
|
|
1130
|
+
export declare const AuthGetStepUpChallenge401: Schema.Struct<{
|
|
1131
|
+
readonly type: Schema.String;
|
|
1132
|
+
readonly title: Schema.String;
|
|
1133
|
+
readonly status: Schema.Number;
|
|
1134
|
+
readonly detail: Schema.String;
|
|
1135
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1136
|
+
readonly code: Schema.String;
|
|
1137
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
1138
|
+
readonly retryable: Schema.Boolean;
|
|
1139
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
1140
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
1141
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1142
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1143
|
+
}>>;
|
|
1144
|
+
}>;
|
|
1145
|
+
export type AuthGetStepUpChallenge404 = ProblemDetails;
|
|
1146
|
+
export declare const AuthGetStepUpChallenge404: Schema.Struct<{
|
|
1147
|
+
readonly type: Schema.String;
|
|
1148
|
+
readonly title: Schema.String;
|
|
1149
|
+
readonly status: Schema.Number;
|
|
1150
|
+
readonly detail: Schema.String;
|
|
1151
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1152
|
+
readonly code: Schema.String;
|
|
1153
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
1154
|
+
readonly retryable: Schema.Boolean;
|
|
1155
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
1156
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
1157
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1158
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1159
|
+
}>>;
|
|
1160
|
+
}>;
|
|
1003
1161
|
export type AuthExchangeOidcToken400 = DecodeErrorResponse;
|
|
1004
1162
|
export declare const AuthExchangeOidcToken400: Schema.Struct<{
|
|
1005
1163
|
readonly kind: Schema.Literal<"DecodeErrorResponse">;
|
|
@@ -1041,6 +1199,7 @@ export declare const TokensList200: Schema.Struct<{
|
|
|
1041
1199
|
readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1042
1200
|
readonly type: Schema.String;
|
|
1043
1201
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
1202
|
+
readonly permissions: Schema.Union<readonly [Schema.Unknown, Schema.Null]>;
|
|
1044
1203
|
readonly created_at: Schema.String;
|
|
1045
1204
|
readonly expires_at: Schema.String;
|
|
1046
1205
|
readonly last_used_at: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1082,7 +1241,7 @@ export declare const TokensList403: Schema.Struct<{
|
|
|
1082
1241
|
readonly status: Schema.Number;
|
|
1083
1242
|
readonly detail: Schema.String;
|
|
1084
1243
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1085
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
1244
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
1086
1245
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1087
1246
|
readonly requiredScope: Schema.String;
|
|
1088
1247
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -1101,7 +1260,15 @@ export declare const TokensList403: Schema.Struct<{
|
|
|
1101
1260
|
export type TokensCreateRequestJson = CreateTokenRequest;
|
|
1102
1261
|
export declare const TokensCreateRequestJson: Schema.Struct<{
|
|
1103
1262
|
readonly name: Schema.String;
|
|
1104
|
-
readonly scopes: Schema.$Array<Schema.String
|
|
1263
|
+
readonly scopes: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
|
|
1264
|
+
readonly permissions: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1265
|
+
readonly owners: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
|
|
1266
|
+
readonly extensions: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
|
|
1267
|
+
readonly permission: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["read", "publish", "admin"]>, Schema.Null]>>;
|
|
1268
|
+
readonly org_permission: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["read", "write", "admin"]>, Schema.Null]>>;
|
|
1269
|
+
readonly cidr: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
|
|
1270
|
+
readonly bypass_mfa: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
|
|
1271
|
+
}>, Schema.Null]>>;
|
|
1105
1272
|
readonly expires_in: Schema.Number;
|
|
1106
1273
|
}>;
|
|
1107
1274
|
export type TokensCreate201 = CreateTokenResponse;
|
|
@@ -1110,6 +1277,7 @@ export declare const TokensCreate201: Schema.Struct<{
|
|
|
1110
1277
|
readonly token: Schema.String;
|
|
1111
1278
|
readonly name: Schema.String;
|
|
1112
1279
|
readonly scopes: Schema.$Array<Schema.String>;
|
|
1280
|
+
readonly permissions: Schema.Unknown;
|
|
1113
1281
|
readonly created_at: Schema.String;
|
|
1114
1282
|
readonly expires_at: Schema.String;
|
|
1115
1283
|
}>;
|
|
@@ -1147,7 +1315,7 @@ export declare const TokensCreate403: Schema.Union<readonly [Schema.Struct<{
|
|
|
1147
1315
|
readonly status: Schema.Number;
|
|
1148
1316
|
readonly detail: Schema.String;
|
|
1149
1317
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1150
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
1318
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
1151
1319
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1152
1320
|
readonly requiredScope: Schema.String;
|
|
1153
1321
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -1169,7 +1337,7 @@ export declare const TokensCreate403: Schema.Union<readonly [Schema.Struct<{
|
|
|
1169
1337
|
readonly status: Schema.Number;
|
|
1170
1338
|
readonly detail: Schema.String;
|
|
1171
1339
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1172
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
1340
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
1173
1341
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1174
1342
|
readonly requiredScope: Schema.String;
|
|
1175
1343
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -1211,8 +1379,18 @@ export declare const TokensDelete400: Schema.Struct<{
|
|
|
1211
1379
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1212
1380
|
readonly code: Schema.String;
|
|
1213
1381
|
}>;
|
|
1214
|
-
export type TokensDelete401 = ProblemDetails;
|
|
1215
|
-
export declare const TokensDelete401: Schema.Struct<{
|
|
1382
|
+
export type TokensDelete401 = StepUpRequiredError | ProblemDetails;
|
|
1383
|
+
export declare const TokensDelete401: Schema.Union<readonly [Schema.Struct<{
|
|
1384
|
+
readonly kind: Schema.Literal<"StepUpRequiredError">;
|
|
1385
|
+
readonly type: Schema.String;
|
|
1386
|
+
readonly title: Schema.String;
|
|
1387
|
+
readonly status: Schema.Number;
|
|
1388
|
+
readonly detail: Schema.String;
|
|
1389
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1390
|
+
readonly code: Schema.Literal<"eotp">;
|
|
1391
|
+
readonly authUrl: Schema.String;
|
|
1392
|
+
readonly doneUrl: Schema.String;
|
|
1393
|
+
}>, Schema.Struct<{
|
|
1216
1394
|
readonly type: Schema.String;
|
|
1217
1395
|
readonly title: Schema.String;
|
|
1218
1396
|
readonly status: Schema.Number;
|
|
@@ -1226,7 +1404,7 @@ export declare const TokensDelete401: Schema.Struct<{
|
|
|
1226
1404
|
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
1227
1405
|
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
1228
1406
|
}>>;
|
|
1229
|
-
}>;
|
|
1407
|
+
}>]>;
|
|
1230
1408
|
export type TokensDelete403 = ForbiddenError;
|
|
1231
1409
|
export declare const TokensDelete403: Schema.Struct<{
|
|
1232
1410
|
readonly kind: Schema.Literal<"ForbiddenError">;
|
|
@@ -1235,7 +1413,7 @@ export declare const TokensDelete403: Schema.Struct<{
|
|
|
1235
1413
|
readonly status: Schema.Number;
|
|
1236
1414
|
readonly detail: Schema.String;
|
|
1237
1415
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1238
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
1416
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
1239
1417
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1240
1418
|
readonly requiredScope: Schema.String;
|
|
1241
1419
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -1407,7 +1585,7 @@ export declare const OrgsTeamsCreateTeam403: Schema.Struct<{
|
|
|
1407
1585
|
readonly status: Schema.Number;
|
|
1408
1586
|
readonly detail: Schema.String;
|
|
1409
1587
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1410
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
1588
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
1411
1589
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1412
1590
|
readonly requiredScope: Schema.String;
|
|
1413
1591
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -1525,7 +1703,7 @@ export declare const OrgsTeamsDeleteTeam403: Schema.Struct<{
|
|
|
1525
1703
|
readonly status: Schema.Number;
|
|
1526
1704
|
readonly detail: Schema.String;
|
|
1527
1705
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1528
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
1706
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
1529
1707
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1530
1708
|
readonly requiredScope: Schema.String;
|
|
1531
1709
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -1620,7 +1798,7 @@ export declare const OrgsTeamsUpdateTeam403: Schema.Struct<{
|
|
|
1620
1798
|
readonly status: Schema.Number;
|
|
1621
1799
|
readonly detail: Schema.String;
|
|
1622
1800
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1623
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
1801
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
1624
1802
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1625
1803
|
readonly requiredScope: Schema.String;
|
|
1626
1804
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -1760,7 +1938,7 @@ export declare const OrgsTeamsAddTeamMember403: Schema.Struct<{
|
|
|
1760
1938
|
readonly status: Schema.Number;
|
|
1761
1939
|
readonly detail: Schema.String;
|
|
1762
1940
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1763
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
1941
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
1764
1942
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1765
1943
|
readonly requiredScope: Schema.String;
|
|
1766
1944
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -1842,7 +2020,7 @@ export declare const OrgsTeamsRemoveTeamMember403: Schema.Struct<{
|
|
|
1842
2020
|
readonly status: Schema.Number;
|
|
1843
2021
|
readonly detail: Schema.String;
|
|
1844
2022
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1845
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
2023
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
1846
2024
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1847
2025
|
readonly requiredScope: Schema.String;
|
|
1848
2026
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -1920,7 +2098,7 @@ export declare const OrgsTeamsChangeTeamMemberRole403: Schema.Struct<{
|
|
|
1920
2098
|
readonly status: Schema.Number;
|
|
1921
2099
|
readonly detail: Schema.String;
|
|
1922
2100
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1923
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
2101
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
1924
2102
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1925
2103
|
readonly requiredScope: Schema.String;
|
|
1926
2104
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -2064,7 +2242,7 @@ export type ExtensionsGet200 = {
|
|
|
2064
2242
|
readonly dependencies?: {
|
|
2065
2243
|
readonly [x: string]: VersionRange;
|
|
2066
2244
|
} | null;
|
|
2067
|
-
readonly
|
|
2245
|
+
readonly packages?: ReadonlyArray<CompanionPackage> | null;
|
|
2068
2246
|
readonly yanked_at?: IsoDateTimeString | null;
|
|
2069
2247
|
}>;
|
|
2070
2248
|
readonly visibility?: "public" | "internal" | "private" | null;
|
|
@@ -2096,7 +2274,7 @@ export declare const ExtensionsGet200: Schema.Struct<{
|
|
|
2096
2274
|
readonly published: Schema.String;
|
|
2097
2275
|
readonly integrity: Schema.String;
|
|
2098
2276
|
readonly dependencies: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
|
|
2099
|
-
readonly
|
|
2277
|
+
readonly packages: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Struct<{
|
|
2100
2278
|
readonly purl: Schema.String;
|
|
2101
2279
|
readonly versionRange: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2102
2280
|
}>>, Schema.Null]>>;
|
|
@@ -2207,7 +2385,7 @@ export declare const ExtensionsUpdateVisibility403: Schema.Union<readonly [Schem
|
|
|
2207
2385
|
readonly status: Schema.Number;
|
|
2208
2386
|
readonly detail: Schema.String;
|
|
2209
2387
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
2210
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
2388
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
2211
2389
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2212
2390
|
readonly requiredScope: Schema.String;
|
|
2213
2391
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -2229,7 +2407,7 @@ export declare const ExtensionsUpdateVisibility403: Schema.Union<readonly [Schem
|
|
|
2229
2407
|
readonly status: Schema.Number;
|
|
2230
2408
|
readonly detail: Schema.String;
|
|
2231
2409
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
2232
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
2410
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
2233
2411
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2234
2412
|
readonly requiredScope: Schema.String;
|
|
2235
2413
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -2293,7 +2471,7 @@ export type ExtensionsGetVersion200 = {
|
|
|
2293
2471
|
readonly dependencies?: {
|
|
2294
2472
|
readonly [x: string]: VersionRange;
|
|
2295
2473
|
} | null;
|
|
2296
|
-
readonly
|
|
2474
|
+
readonly packages?: ReadonlyArray<CompanionPackage> | null;
|
|
2297
2475
|
readonly yanked_at?: IsoDateTimeString | null;
|
|
2298
2476
|
readonly deleted_at?: IsoDateTimeString | null;
|
|
2299
2477
|
};
|
|
@@ -2322,7 +2500,7 @@ export declare const ExtensionsGetVersion200: Schema.Struct<{
|
|
|
2322
2500
|
readonly url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2323
2501
|
}>>, Schema.Null]>>;
|
|
2324
2502
|
readonly dependencies: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
|
|
2325
|
-
readonly
|
|
2503
|
+
readonly packages: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Struct<{
|
|
2326
2504
|
readonly purl: Schema.String;
|
|
2327
2505
|
readonly versionRange: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2328
2506
|
}>>, Schema.Null]>>;
|
|
@@ -2459,7 +2637,7 @@ export declare const ExtensionsPublishVersion403: Schema.Union<readonly [Schema.
|
|
|
2459
2637
|
readonly status: Schema.Number;
|
|
2460
2638
|
readonly detail: Schema.String;
|
|
2461
2639
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
2462
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
2640
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
2463
2641
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2464
2642
|
readonly requiredScope: Schema.String;
|
|
2465
2643
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -2481,7 +2659,7 @@ export declare const ExtensionsPublishVersion403: Schema.Union<readonly [Schema.
|
|
|
2481
2659
|
readonly status: Schema.Number;
|
|
2482
2660
|
readonly detail: Schema.String;
|
|
2483
2661
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
2484
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
2662
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
2485
2663
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2486
2664
|
readonly requiredScope: Schema.String;
|
|
2487
2665
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -2710,7 +2888,7 @@ export declare const ExtensionsDeleteVersion403: Schema.Struct<{
|
|
|
2710
2888
|
readonly status: Schema.Number;
|
|
2711
2889
|
readonly detail: Schema.String;
|
|
2712
2890
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
2713
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
2891
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
2714
2892
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2715
2893
|
readonly requiredScope: Schema.String;
|
|
2716
2894
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -2836,7 +3014,7 @@ export declare const ExtensionsDeprecate403: Schema.Struct<{
|
|
|
2836
3014
|
readonly status: Schema.Number;
|
|
2837
3015
|
readonly detail: Schema.String;
|
|
2838
3016
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
2839
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3017
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
2840
3018
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2841
3019
|
readonly requiredScope: Schema.String;
|
|
2842
3020
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -2916,7 +3094,7 @@ export declare const ExtensionsUndeprecate403: Schema.Struct<{
|
|
|
2916
3094
|
readonly status: Schema.Number;
|
|
2917
3095
|
readonly detail: Schema.String;
|
|
2918
3096
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
2919
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3097
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
2920
3098
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2921
3099
|
readonly requiredScope: Schema.String;
|
|
2922
3100
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -2976,8 +3154,18 @@ export declare const ExtensionsYankVersion400: Schema.Struct<{
|
|
|
2976
3154
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
2977
3155
|
readonly code: Schema.String;
|
|
2978
3156
|
}>;
|
|
2979
|
-
export type ExtensionsYankVersion401 = ProblemDetails;
|
|
2980
|
-
export declare const ExtensionsYankVersion401: Schema.Struct<{
|
|
3157
|
+
export type ExtensionsYankVersion401 = StepUpRequiredError | ProblemDetails;
|
|
3158
|
+
export declare const ExtensionsYankVersion401: Schema.Union<readonly [Schema.Struct<{
|
|
3159
|
+
readonly kind: Schema.Literal<"StepUpRequiredError">;
|
|
3160
|
+
readonly type: Schema.String;
|
|
3161
|
+
readonly title: Schema.String;
|
|
3162
|
+
readonly status: Schema.Number;
|
|
3163
|
+
readonly detail: Schema.String;
|
|
3164
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3165
|
+
readonly code: Schema.Literal<"eotp">;
|
|
3166
|
+
readonly authUrl: Schema.String;
|
|
3167
|
+
readonly doneUrl: Schema.String;
|
|
3168
|
+
}>, Schema.Struct<{
|
|
2981
3169
|
readonly type: Schema.String;
|
|
2982
3170
|
readonly title: Schema.String;
|
|
2983
3171
|
readonly status: Schema.Number;
|
|
@@ -2991,7 +3179,7 @@ export declare const ExtensionsYankVersion401: Schema.Struct<{
|
|
|
2991
3179
|
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
2992
3180
|
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
2993
3181
|
}>>;
|
|
2994
|
-
}>;
|
|
3182
|
+
}>]>;
|
|
2995
3183
|
export type ExtensionsYankVersion403 = ForbiddenError;
|
|
2996
3184
|
export declare const ExtensionsYankVersion403: Schema.Struct<{
|
|
2997
3185
|
readonly kind: Schema.Literal<"ForbiddenError">;
|
|
@@ -3000,7 +3188,7 @@ export declare const ExtensionsYankVersion403: Schema.Struct<{
|
|
|
3000
3188
|
readonly status: Schema.Number;
|
|
3001
3189
|
readonly detail: Schema.String;
|
|
3002
3190
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3003
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3191
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3004
3192
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3005
3193
|
readonly requiredScope: Schema.String;
|
|
3006
3194
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3060,8 +3248,18 @@ export declare const ExtensionsUnyankVersion400: Schema.Struct<{
|
|
|
3060
3248
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3061
3249
|
readonly code: Schema.String;
|
|
3062
3250
|
}>;
|
|
3063
|
-
export type ExtensionsUnyankVersion401 = ProblemDetails;
|
|
3064
|
-
export declare const ExtensionsUnyankVersion401: Schema.Struct<{
|
|
3251
|
+
export type ExtensionsUnyankVersion401 = StepUpRequiredError | ProblemDetails;
|
|
3252
|
+
export declare const ExtensionsUnyankVersion401: Schema.Union<readonly [Schema.Struct<{
|
|
3253
|
+
readonly kind: Schema.Literal<"StepUpRequiredError">;
|
|
3254
|
+
readonly type: Schema.String;
|
|
3255
|
+
readonly title: Schema.String;
|
|
3256
|
+
readonly status: Schema.Number;
|
|
3257
|
+
readonly detail: Schema.String;
|
|
3258
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3259
|
+
readonly code: Schema.Literal<"eotp">;
|
|
3260
|
+
readonly authUrl: Schema.String;
|
|
3261
|
+
readonly doneUrl: Schema.String;
|
|
3262
|
+
}>, Schema.Struct<{
|
|
3065
3263
|
readonly type: Schema.String;
|
|
3066
3264
|
readonly title: Schema.String;
|
|
3067
3265
|
readonly status: Schema.Number;
|
|
@@ -3075,7 +3273,7 @@ export declare const ExtensionsUnyankVersion401: Schema.Struct<{
|
|
|
3075
3273
|
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
3076
3274
|
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3077
3275
|
}>>;
|
|
3078
|
-
}>;
|
|
3276
|
+
}>]>;
|
|
3079
3277
|
export type ExtensionsUnyankVersion403 = ForbiddenError;
|
|
3080
3278
|
export declare const ExtensionsUnyankVersion403: Schema.Struct<{
|
|
3081
3279
|
readonly kind: Schema.Literal<"ForbiddenError">;
|
|
@@ -3084,7 +3282,7 @@ export declare const ExtensionsUnyankVersion403: Schema.Struct<{
|
|
|
3084
3282
|
readonly status: Schema.Number;
|
|
3085
3283
|
readonly detail: Schema.String;
|
|
3086
3284
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3087
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3285
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3088
3286
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3089
3287
|
readonly requiredScope: Schema.String;
|
|
3090
3288
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3166,7 +3364,7 @@ export declare const CollaboratorsListCollaborators403: Schema.Union<readonly [S
|
|
|
3166
3364
|
readonly status: Schema.Number;
|
|
3167
3365
|
readonly detail: Schema.String;
|
|
3168
3366
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3169
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3367
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3170
3368
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3171
3369
|
readonly requiredScope: Schema.String;
|
|
3172
3370
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3188,7 +3386,7 @@ export declare const CollaboratorsListCollaborators403: Schema.Union<readonly [S
|
|
|
3188
3386
|
readonly status: Schema.Number;
|
|
3189
3387
|
readonly detail: Schema.String;
|
|
3190
3388
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3191
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3389
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3192
3390
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3193
3391
|
readonly requiredScope: Schema.String;
|
|
3194
3392
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3284,7 +3482,7 @@ export declare const CollaboratorsUpsertCollaborator403: Schema.Union<readonly [
|
|
|
3284
3482
|
readonly status: Schema.Number;
|
|
3285
3483
|
readonly detail: Schema.String;
|
|
3286
3484
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3287
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3485
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3288
3486
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3289
3487
|
readonly requiredScope: Schema.String;
|
|
3290
3488
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3306,7 +3504,7 @@ export declare const CollaboratorsUpsertCollaborator403: Schema.Union<readonly [
|
|
|
3306
3504
|
readonly status: Schema.Number;
|
|
3307
3505
|
readonly detail: Schema.String;
|
|
3308
3506
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3309
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3507
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3310
3508
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3311
3509
|
readonly requiredScope: Schema.String;
|
|
3312
3510
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3372,7 +3570,7 @@ export declare const CollaboratorsDeleteCollaborator403: Schema.Union<readonly [
|
|
|
3372
3570
|
readonly status: Schema.Number;
|
|
3373
3571
|
readonly detail: Schema.String;
|
|
3374
3572
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3375
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3573
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3376
3574
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3377
3575
|
readonly requiredScope: Schema.String;
|
|
3378
3576
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3394,7 +3592,7 @@ export declare const CollaboratorsDeleteCollaborator403: Schema.Union<readonly [
|
|
|
3394
3592
|
readonly status: Schema.Number;
|
|
3395
3593
|
readonly detail: Schema.String;
|
|
3396
3594
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3397
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3595
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3398
3596
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3399
3597
|
readonly requiredScope: Schema.String;
|
|
3400
3598
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3488,7 +3686,7 @@ export declare const TeamGrantsUpsertTeamExtensionGrant403: Schema.Union<readonl
|
|
|
3488
3686
|
readonly status: Schema.Number;
|
|
3489
3687
|
readonly detail: Schema.String;
|
|
3490
3688
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3491
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3689
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3492
3690
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3493
3691
|
readonly requiredScope: Schema.String;
|
|
3494
3692
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3510,7 +3708,7 @@ export declare const TeamGrantsUpsertTeamExtensionGrant403: Schema.Union<readonl
|
|
|
3510
3708
|
readonly status: Schema.Number;
|
|
3511
3709
|
readonly detail: Schema.String;
|
|
3512
3710
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3513
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3711
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3514
3712
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3515
3713
|
readonly requiredScope: Schema.String;
|
|
3516
3714
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3592,7 +3790,7 @@ export declare const TeamGrantsDeleteTeamExtensionGrant403: Schema.Union<readonl
|
|
|
3592
3790
|
readonly status: Schema.Number;
|
|
3593
3791
|
readonly detail: Schema.String;
|
|
3594
3792
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3595
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3793
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3596
3794
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3597
3795
|
readonly requiredScope: Schema.String;
|
|
3598
3796
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3614,7 +3812,7 @@ export declare const TeamGrantsDeleteTeamExtensionGrant403: Schema.Union<readonl
|
|
|
3614
3812
|
readonly status: Schema.Number;
|
|
3615
3813
|
readonly detail: Schema.String;
|
|
3616
3814
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3617
|
-
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3815
|
+
readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
|
|
3618
3816
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3619
3817
|
readonly requiredScope: Schema.String;
|
|
3620
3818
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3646,6 +3844,96 @@ export declare const TeamGrantsDeleteTeamExtensionGrant404: Schema.Struct<{
|
|
|
3646
3844
|
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3647
3845
|
}>>;
|
|
3648
3846
|
}>;
|
|
3847
|
+
export type DiscoveryPostDiscoveryRequestJson = {
|
|
3848
|
+
readonly client: {
|
|
3849
|
+
readonly axmVersion: string;
|
|
3850
|
+
};
|
|
3851
|
+
readonly packages: ReadonlyArray<{
|
|
3852
|
+
readonly purl: string;
|
|
3853
|
+
readonly version: string;
|
|
3854
|
+
readonly declaredExtensions: ReadonlyArray<{
|
|
3855
|
+
readonly ref: ExtensionFqn;
|
|
3856
|
+
readonly versionRange?: string | null;
|
|
3857
|
+
}>;
|
|
3858
|
+
}>;
|
|
3859
|
+
};
|
|
3860
|
+
export declare const DiscoveryPostDiscoveryRequestJson: Schema.Struct<{
|
|
3861
|
+
readonly client: Schema.Struct<{
|
|
3862
|
+
readonly axmVersion: Schema.String;
|
|
3863
|
+
}>;
|
|
3864
|
+
readonly packages: Schema.$Array<Schema.Struct<{
|
|
3865
|
+
readonly purl: Schema.String;
|
|
3866
|
+
readonly version: Schema.String;
|
|
3867
|
+
readonly declaredExtensions: Schema.$Array<Schema.Struct<{
|
|
3868
|
+
readonly ref: Schema.String;
|
|
3869
|
+
readonly versionRange: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3870
|
+
}>>;
|
|
3871
|
+
}>>;
|
|
3872
|
+
}>;
|
|
3873
|
+
export type DiscoveryPostDiscovery200 = {
|
|
3874
|
+
readonly results: ReadonlyArray<{
|
|
3875
|
+
readonly purl: string;
|
|
3876
|
+
readonly version: string;
|
|
3877
|
+
readonly status: "resolved" | "invalid_purl";
|
|
3878
|
+
readonly extensions: ReadonlyArray<{
|
|
3879
|
+
readonly ref: string;
|
|
3880
|
+
readonly resolved: boolean;
|
|
3881
|
+
readonly extension?: {
|
|
3882
|
+
readonly owner: string;
|
|
3883
|
+
readonly type: string;
|
|
3884
|
+
readonly name: string;
|
|
3885
|
+
readonly installVersion: string;
|
|
3886
|
+
} | null;
|
|
3887
|
+
readonly attestedBy: ReadonlyArray<"package" | "extension">;
|
|
3888
|
+
readonly official: boolean;
|
|
3889
|
+
readonly packageVersionInRange: boolean;
|
|
3890
|
+
}>;
|
|
3891
|
+
}>;
|
|
3892
|
+
};
|
|
3893
|
+
export declare const DiscoveryPostDiscovery200: Schema.Struct<{
|
|
3894
|
+
readonly results: Schema.$Array<Schema.Struct<{
|
|
3895
|
+
readonly purl: Schema.String;
|
|
3896
|
+
readonly version: Schema.String;
|
|
3897
|
+
readonly status: Schema.Literals<readonly ["resolved", "invalid_purl"]>;
|
|
3898
|
+
readonly extensions: Schema.$Array<Schema.Struct<{
|
|
3899
|
+
readonly ref: Schema.String;
|
|
3900
|
+
readonly resolved: Schema.Boolean;
|
|
3901
|
+
readonly extension: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3902
|
+
readonly owner: Schema.String;
|
|
3903
|
+
readonly type: Schema.String;
|
|
3904
|
+
readonly name: Schema.String;
|
|
3905
|
+
readonly installVersion: Schema.String;
|
|
3906
|
+
}>, Schema.Null]>>;
|
|
3907
|
+
readonly attestedBy: Schema.$Array<Schema.Literals<readonly ["package", "extension"]>>;
|
|
3908
|
+
readonly official: Schema.Boolean;
|
|
3909
|
+
readonly packageVersionInRange: Schema.Boolean;
|
|
3910
|
+
}>>;
|
|
3911
|
+
}>>;
|
|
3912
|
+
}>;
|
|
3913
|
+
export type DiscoveryPostDiscovery400 = ProblemDetails | DecodeErrorResponse;
|
|
3914
|
+
export declare const DiscoveryPostDiscovery400: Schema.Union<readonly [Schema.Struct<{
|
|
3915
|
+
readonly type: Schema.String;
|
|
3916
|
+
readonly title: Schema.String;
|
|
3917
|
+
readonly status: Schema.Number;
|
|
3918
|
+
readonly detail: Schema.String;
|
|
3919
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3920
|
+
readonly code: Schema.String;
|
|
3921
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
3922
|
+
readonly retryable: Schema.Boolean;
|
|
3923
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
3924
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
3925
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
3926
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3927
|
+
}>>;
|
|
3928
|
+
}>, Schema.Struct<{
|
|
3929
|
+
readonly kind: Schema.Literal<"DecodeErrorResponse">;
|
|
3930
|
+
readonly type: Schema.String;
|
|
3931
|
+
readonly title: Schema.String;
|
|
3932
|
+
readonly status: Schema.Number;
|
|
3933
|
+
readonly detail: Schema.String;
|
|
3934
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3935
|
+
readonly code: Schema.String;
|
|
3936
|
+
}>]>;
|
|
3649
3937
|
export type HealthGetShallowHealth200 = {
|
|
3650
3938
|
readonly status: "pass" | "warn" | "fail";
|
|
3651
3939
|
};
|
|
@@ -3912,12 +4200,24 @@ export interface RegistryClient {
|
|
|
3912
4200
|
readonly payload: typeof AuthRevokeOAuthTokenRequestFormUrlEncoded.Encoded;
|
|
3913
4201
|
readonly config?: Config | undefined;
|
|
3914
4202
|
}) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthRevokeOAuthToken400", typeof AuthRevokeOAuthToken400.Type>>;
|
|
4203
|
+
/**
|
|
4204
|
+
* Return authenticated user handle
|
|
4205
|
+
*/
|
|
4206
|
+
readonly AuthGetWhoami: <Config extends OperationConfig>(options: {
|
|
4207
|
+
readonly config?: Config | undefined;
|
|
4208
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof AuthGetWhoami200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthGetWhoami400", typeof AuthGetWhoami400.Type> | RegistryClientError<"AuthGetWhoami401", typeof AuthGetWhoami401.Type>>;
|
|
3915
4209
|
/**
|
|
3916
4210
|
* Return authenticated user info
|
|
3917
4211
|
*/
|
|
3918
4212
|
readonly AuthGetMe: <Config extends OperationConfig>(options: {
|
|
3919
4213
|
readonly config?: Config | undefined;
|
|
3920
4214
|
} | undefined) => Effect.Effect<WithOptionalResponse<typeof AuthGetMe200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthGetMe400", typeof AuthGetMe400.Type> | RegistryClientError<"AuthGetMe401", typeof AuthGetMe401.Type>>;
|
|
4215
|
+
/**
|
|
4216
|
+
* Poll step-up challenge status
|
|
4217
|
+
*/
|
|
4218
|
+
readonly AuthGetStepUpChallenge: <Config extends OperationConfig>(challengeId: string, options: {
|
|
4219
|
+
readonly config?: Config | undefined;
|
|
4220
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof AuthGetStepUpChallenge200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthGetStepUpChallenge400", typeof AuthGetStepUpChallenge400.Type> | RegistryClientError<"AuthGetStepUpChallenge401", typeof AuthGetStepUpChallenge401.Type> | RegistryClientError<"AuthGetStepUpChallenge404", typeof AuthGetStepUpChallenge404.Type>>;
|
|
3921
4221
|
/**
|
|
3922
4222
|
* Exchange OIDC token (reserved, not implemented)
|
|
3923
4223
|
*/
|
|
@@ -4127,6 +4427,13 @@ export interface RegistryClient {
|
|
|
4127
4427
|
readonly TeamGrantsDeleteTeamExtensionGrant: <Config extends OperationConfig>(owner: string, type: string, name: string, teamId: string, options: {
|
|
4128
4428
|
readonly config?: Config | undefined;
|
|
4129
4429
|
} | undefined) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrant400", typeof TeamGrantsDeleteTeamExtensionGrant400.Type> | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrant401", typeof TeamGrantsDeleteTeamExtensionGrant401.Type> | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrant403", typeof TeamGrantsDeleteTeamExtensionGrant403.Type> | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrant404", typeof TeamGrantsDeleteTeamExtensionGrant404.Type>>;
|
|
4430
|
+
/**
|
|
4431
|
+
* Persists submitted package metadata and resolves package and extension attestations.
|
|
4432
|
+
*/
|
|
4433
|
+
readonly DiscoveryPostDiscovery: <Config extends OperationConfig>(options: {
|
|
4434
|
+
readonly payload: typeof DiscoveryPostDiscoveryRequestJson.Encoded;
|
|
4435
|
+
readonly config?: Config | undefined;
|
|
4436
|
+
}) => Effect.Effect<WithOptionalResponse<typeof DiscoveryPostDiscovery200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"DiscoveryPostDiscovery400", typeof DiscoveryPostDiscovery400.Type>>;
|
|
4130
4437
|
/**
|
|
4131
4438
|
* Returns pass/fail status. Public, no auth required.
|
|
4132
4439
|
*/
|