@agentxm/client-core 0.17.0 → 0.18.0
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/agent-capabilities/catalog.d.ts +54 -10
- package/dist/src/unstable/agent-capabilities/catalog.d.ts.map +1 -1
- package/dist/src/unstable/agent-capabilities/data/agents/hermes.d.ts +27 -5
- package/dist/src/unstable/agent-capabilities/data/agents/hermes.d.ts.map +1 -1
- package/dist/src/unstable/agent-capabilities/data/agents/hermes.js +17 -5
- package/dist/src/unstable/agent-capabilities/data/agents/hermes.js.map +1 -1
- package/dist/src/unstable/agent-capabilities/schema.d.ts +19 -19
- package/dist/src/unstable/agent-capabilities/schema.d.ts.map +1 -1
- package/dist/src/unstable/agent-capabilities/schema.js +2 -1
- package/dist/src/unstable/agent-capabilities/schema.js.map +1 -1
- package/dist/src/unstable/agents/mcp-sync.d.ts.map +1 -1
- package/dist/src/unstable/agents/mcp-sync.js +19 -3
- package/dist/src/unstable/agents/mcp-sync.js.map +1 -1
- package/dist/src/unstable/cli-runtime/command-summary.d.ts +1 -1
- package/dist/src/unstable/cli-runtime/command-summary.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/command-summary.js.map +1 -1
- package/dist/src/unstable/extensions/configured-entry.d.ts +11 -0
- package/dist/src/unstable/extensions/configured-entry.d.ts.map +1 -0
- package/dist/src/unstable/extensions/configured-entry.js +8 -0
- package/dist/src/unstable/extensions/configured-entry.js.map +1 -0
- package/dist/src/unstable/extensions/index.d.ts +1 -0
- package/dist/src/unstable/extensions/index.d.ts.map +1 -1
- package/dist/src/unstable/extensions/index.js +1 -0
- package/dist/src/unstable/extensions/index.js.map +1 -1
- package/dist/src/unstable/extensions/materializable-from-disk.d.ts.map +1 -1
- package/dist/src/unstable/extensions/materializable-from-disk.js +5 -4
- package/dist/src/unstable/extensions/materializable-from-disk.js.map +1 -1
- package/dist/src/unstable/files/manager.d.ts.map +1 -1
- package/dist/src/unstable/files/manager.js +2 -2
- package/dist/src/unstable/files/manager.js.map +1 -1
- package/dist/src/unstable/hooks/manager.d.ts.map +1 -1
- package/dist/src/unstable/hooks/manager.js +2 -2
- package/dist/src/unstable/hooks/manager.js.map +1 -1
- package/dist/src/unstable/libraries/index.d.ts +3 -0
- package/dist/src/unstable/libraries/index.d.ts.map +1 -0
- package/dist/src/unstable/libraries/index.js +2 -0
- package/dist/src/unstable/libraries/index.js.map +1 -0
- package/dist/src/unstable/libraries/ref.d.ts +17 -0
- package/dist/src/unstable/libraries/ref.d.ts.map +1 -0
- package/dist/src/unstable/libraries/ref.js +43 -0
- package/dist/src/unstable/libraries/ref.js.map +1 -0
- package/dist/src/unstable/lint/catalog/mcp-server/manifest-keys-recognized.js +2 -2
- package/dist/src/unstable/lint/catalog/mcp-server/manifest-keys-recognized.js.map +1 -1
- package/dist/src/unstable/lint/catalog/mcp-server/manifest-present.js +3 -3
- package/dist/src/unstable/lint/catalog/mcp-server/manifest-present.js.map +1 -1
- package/dist/src/unstable/lint/catalog/mcp-server/manifest-schema-valid.js +2 -2
- package/dist/src/unstable/lint/catalog/mcp-server/manifest-schema-valid.js.map +1 -1
- package/dist/src/unstable/lint/catalog/shared/manifest-json.js +1 -1
- package/dist/src/unstable/lint/catalog/shared/manifest-json.js.map +1 -1
- package/dist/src/unstable/lint/catalog/shared/schema-rule.js +1 -1
- package/dist/src/unstable/lint/catalog/shared/schema-rule.js.map +1 -1
- package/dist/src/unstable/lockfile/index.d.ts +3 -3
- package/dist/src/unstable/lockfile/index.d.ts.map +1 -1
- package/dist/src/unstable/lockfile/index.js +2 -2
- package/dist/src/unstable/lockfile/index.js.map +1 -1
- package/dist/src/unstable/lockfile/lockfile.d.ts +936 -3
- package/dist/src/unstable/lockfile/lockfile.d.ts.map +1 -1
- package/dist/src/unstable/lockfile/lockfile.js +223 -31
- package/dist/src/unstable/lockfile/lockfile.js.map +1 -1
- package/dist/src/unstable/lockfile/schema.d.ts +96 -0
- package/dist/src/unstable/lockfile/schema.d.ts.map +1 -1
- package/dist/src/unstable/lockfile/schema.js +54 -0
- package/dist/src/unstable/lockfile/schema.js.map +1 -1
- package/dist/src/unstable/mcps/config-writer.d.ts.map +1 -1
- package/dist/src/unstable/mcps/config-writer.js +77 -29
- package/dist/src/unstable/mcps/config-writer.js.map +1 -1
- package/dist/src/unstable/mcps/inspection.d.ts.map +1 -1
- package/dist/src/unstable/mcps/inspection.js +24 -4
- package/dist/src/unstable/mcps/inspection.js.map +1 -1
- package/dist/src/unstable/mcps/manifest-schema.d.ts +3 -3
- package/dist/src/unstable/mcps/manifest-schema.d.ts.map +1 -1
- package/dist/src/unstable/mcps/manifest-schema.js +4 -4
- package/dist/src/unstable/mcps/manifest-schema.js.map +1 -1
- package/dist/src/unstable/mcps/operations/publish.d.ts +1 -1
- package/dist/src/unstable/mcps/operations/publish.js +1 -1
- package/dist/src/unstable/packs/dependency-resolution.d.ts +3 -1
- package/dist/src/unstable/packs/dependency-resolution.d.ts.map +1 -1
- package/dist/src/unstable/packs/dependency-resolution.js +11 -10
- package/dist/src/unstable/packs/dependency-resolution.js.map +1 -1
- package/dist/src/unstable/packs/expansion.d.ts +3 -0
- package/dist/src/unstable/packs/expansion.d.ts.map +1 -1
- package/dist/src/unstable/packs/expansion.js +2 -2
- package/dist/src/unstable/packs/expansion.js.map +1 -1
- package/dist/src/unstable/registry/__generated__/registry-client.d.ts +1592 -146
- package/dist/src/unstable/registry/__generated__/registry-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/__generated__/registry-client.js +246 -0
- package/dist/src/unstable/registry/__generated__/registry-client.js.map +1 -1
- package/dist/src/unstable/registry/admin-client.d.ts +2 -2
- package/dist/src/unstable/registry/client.d.ts +52 -0
- 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/index.d.ts +1 -1
- package/dist/src/unstable/registry/index.d.ts.map +1 -1
- 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 +1 -0
- 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 +59 -0
- package/dist/src/unstable/registry/remote-client.js.map +1 -1
- package/dist/src/unstable/rules/manager.d.ts.map +1 -1
- package/dist/src/unstable/rules/manager.js +2 -2
- package/dist/src/unstable/rules/manager.js.map +1 -1
- package/dist/src/unstable/settings/index.d.ts +2 -2
- package/dist/src/unstable/settings/index.d.ts.map +1 -1
- package/dist/src/unstable/settings/index.js +1 -1
- package/dist/src/unstable/settings/index.js.map +1 -1
- package/dist/src/unstable/settings/schema.d.ts +52 -0
- package/dist/src/unstable/settings/schema.d.ts.map +1 -1
- package/dist/src/unstable/settings/schema.js +71 -1
- package/dist/src/unstable/settings/schema.js.map +1 -1
- package/dist/src/unstable/workspace/initialization.d.ts +28 -0
- package/dist/src/unstable/workspace/initialization.d.ts.map +1 -1
- package/dist/src/unstable/workspace/service-interface.d.ts +25 -2
- package/dist/src/unstable/workspace/service-interface.d.ts.map +1 -1
- package/dist/src/unstable/workspace/service-interface.js.map +1 -1
- package/dist/src/unstable/workspace/service.d.ts +83 -6
- package/dist/src/unstable/workspace/service.d.ts.map +1 -1
- package/dist/src/unstable/workspace/service.js +134 -50
- package/dist/src/unstable/workspace/service.js.map +1 -1
- package/dist/src/unstable/workspace/test-stubs.d.ts +2 -0
- package/dist/src/unstable/workspace/test-stubs.d.ts.map +1 -1
- package/dist/src/unstable/workspace/test-stubs.js +10 -0
- package/dist/src/unstable/workspace/test-stubs.js.map +1 -1
- package/dist/src/unstable/workspace/version-currency/collectors.d.ts.map +1 -1
- package/dist/src/unstable/workspace/version-currency/collectors.js +2 -3
- package/dist/src/unstable/workspace/version-currency/collectors.js.map +1 -1
- package/dist/src/unstable/workspace/version-currency/test-stubs.d.ts.map +1 -1
- package/dist/src/unstable/workspace/version-currency/test-stubs.js +1 -0
- package/dist/src/unstable/workspace/version-currency/test-stubs.js.map +1 -1
- package/dist/src/unstable/yaml/index.d.ts +13 -0
- package/dist/src/unstable/yaml/index.d.ts.map +1 -0
- package/dist/src/unstable/yaml/index.js +73 -0
- package/dist/src/unstable/yaml/index.js.map +1 -0
- package/package.json +12 -4
- package/site-content/__generated__/schemas/axm-lock.schema.json +77 -0
- package/site-content/__generated__/schemas/{mcp-server.schema.json → mcp.schema.json} +1 -1
- package/site-content/__generated__/schemas/settings.schema.json +61 -8
|
@@ -308,6 +308,22 @@ export declare const PublishIdentityMismatchEntry: Schema.Struct<{
|
|
|
308
308
|
readonly urlPath: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
309
309
|
readonly content: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
310
310
|
}>;
|
|
311
|
+
export type LibraryId = string;
|
|
312
|
+
export declare const LibraryId: Schema.String;
|
|
313
|
+
export type LibraryName = string;
|
|
314
|
+
export declare const LibraryName: Schema.String;
|
|
315
|
+
export type LibraryVisibility = "public" | "internal" | "private";
|
|
316
|
+
export declare const LibraryVisibility: Schema.Literals<readonly ["public", "internal", "private"]>;
|
|
317
|
+
export type LibraryMemberId = string;
|
|
318
|
+
export declare const LibraryMemberId: Schema.String;
|
|
319
|
+
export type UpdateLibraryBody = {
|
|
320
|
+
readonly title?: string | null;
|
|
321
|
+
readonly description?: string | null | null;
|
|
322
|
+
};
|
|
323
|
+
export declare const UpdateLibraryBody: Schema.Struct<{
|
|
324
|
+
readonly title: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
325
|
+
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
|
|
326
|
+
}>;
|
|
311
327
|
export type PutCollaboratorBody = {
|
|
312
328
|
readonly role: "write" | "read";
|
|
313
329
|
};
|
|
@@ -429,7 +445,7 @@ export type ForbiddenError = {
|
|
|
429
445
|
readonly status: number;
|
|
430
446
|
readonly detail: string;
|
|
431
447
|
readonly instance?: string;
|
|
432
|
-
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";
|
|
448
|
+
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" | "library_mutation_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";
|
|
433
449
|
readonly details?: ScopeCheckDetails | AuthorizationDenyDetails | PublishDetails;
|
|
434
450
|
};
|
|
435
451
|
export declare const ForbiddenError: Schema.Struct<{
|
|
@@ -439,7 +455,7 @@ export declare const ForbiddenError: Schema.Struct<{
|
|
|
439
455
|
readonly status: Schema.Number;
|
|
440
456
|
readonly detail: Schema.String;
|
|
441
457
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
442
|
-
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"]>;
|
|
458
|
+
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", "library_mutation_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"]>;
|
|
443
459
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
444
460
|
readonly requiredScope: Schema.String;
|
|
445
461
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -474,6 +490,50 @@ export declare const CreateTokenRequest: Schema.Struct<{
|
|
|
474
490
|
}>, Schema.Null]>>;
|
|
475
491
|
readonly expires_in: Schema.Number;
|
|
476
492
|
}>;
|
|
493
|
+
export type LibraryMaintainer = {
|
|
494
|
+
readonly kind: "user";
|
|
495
|
+
readonly userId: UserId;
|
|
496
|
+
readonly assignedAt: string | null;
|
|
497
|
+
readonly assignedBy: UserId | null;
|
|
498
|
+
} | {
|
|
499
|
+
readonly kind: "team";
|
|
500
|
+
readonly teamId: TeamId;
|
|
501
|
+
readonly assignedAt: string | null;
|
|
502
|
+
readonly assignedBy: UserId | null;
|
|
503
|
+
} | {
|
|
504
|
+
readonly kind: "none";
|
|
505
|
+
readonly assignedAt: string | null;
|
|
506
|
+
readonly assignedBy: UserId | null;
|
|
507
|
+
};
|
|
508
|
+
export declare const LibraryMaintainer: Schema.Union<readonly [Schema.Struct<{
|
|
509
|
+
readonly kind: Schema.Literal<"user">;
|
|
510
|
+
readonly userId: Schema.String;
|
|
511
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
512
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
513
|
+
}>, Schema.Struct<{
|
|
514
|
+
readonly kind: Schema.Literal<"team">;
|
|
515
|
+
readonly teamId: Schema.String;
|
|
516
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
517
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
518
|
+
}>, Schema.Struct<{
|
|
519
|
+
readonly kind: Schema.Literal<"none">;
|
|
520
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
521
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
522
|
+
}>]>;
|
|
523
|
+
export type LibraryMaintainerTarget = {
|
|
524
|
+
readonly kind: "user";
|
|
525
|
+
readonly userId: UserId;
|
|
526
|
+
} | {
|
|
527
|
+
readonly kind: "team";
|
|
528
|
+
readonly teamId: TeamId;
|
|
529
|
+
};
|
|
530
|
+
export declare const LibraryMaintainerTarget: Schema.Union<readonly [Schema.Struct<{
|
|
531
|
+
readonly kind: Schema.Literal<"user">;
|
|
532
|
+
readonly userId: Schema.String;
|
|
533
|
+
}>, Schema.Struct<{
|
|
534
|
+
readonly kind: Schema.Literal<"team">;
|
|
535
|
+
readonly teamId: Schema.String;
|
|
536
|
+
}>]>;
|
|
477
537
|
export type ExtensionGrantEntry = {
|
|
478
538
|
readonly subject: {
|
|
479
539
|
readonly kind: "user";
|
|
@@ -670,6 +730,42 @@ export declare const PublishLintFinding: Schema.Struct<{
|
|
|
670
730
|
readonly path: Schema.String;
|
|
671
731
|
readonly suggestions: Schema.$Array<Schema.String>;
|
|
672
732
|
}>;
|
|
733
|
+
export type CreateLibraryBody = {
|
|
734
|
+
readonly name: LibraryName;
|
|
735
|
+
readonly title: string;
|
|
736
|
+
readonly description?: string | null | null;
|
|
737
|
+
readonly visibility?: LibraryVisibility | null;
|
|
738
|
+
};
|
|
739
|
+
export declare const CreateLibraryBody: Schema.Struct<{
|
|
740
|
+
readonly name: Schema.String;
|
|
741
|
+
readonly title: Schema.String;
|
|
742
|
+
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
|
|
743
|
+
readonly visibility: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["public", "internal", "private"]>, Schema.Null]>>;
|
|
744
|
+
}>;
|
|
745
|
+
export type PatchLibraryVisibilityBody = {
|
|
746
|
+
readonly visibility: LibraryVisibility;
|
|
747
|
+
};
|
|
748
|
+
export declare const PatchLibraryVisibilityBody: Schema.Struct<{
|
|
749
|
+
readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
|
|
750
|
+
}>;
|
|
751
|
+
export type LibraryMember = {
|
|
752
|
+
readonly id: LibraryMemberId;
|
|
753
|
+
readonly libraryId: LibraryId;
|
|
754
|
+
readonly extensionId: string;
|
|
755
|
+
readonly extensionOwner: Handle;
|
|
756
|
+
readonly extensionType: ExtensionType;
|
|
757
|
+
readonly extensionName: ExtensionName;
|
|
758
|
+
readonly addedAt: string;
|
|
759
|
+
};
|
|
760
|
+
export declare const LibraryMember: Schema.Struct<{
|
|
761
|
+
readonly id: Schema.String;
|
|
762
|
+
readonly libraryId: Schema.String;
|
|
763
|
+
readonly extensionId: Schema.String;
|
|
764
|
+
readonly extensionOwner: Schema.String;
|
|
765
|
+
readonly extensionType: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
|
|
766
|
+
readonly extensionName: Schema.String;
|
|
767
|
+
readonly addedAt: Schema.String;
|
|
768
|
+
}>;
|
|
673
769
|
export type AuthMeResponse = {
|
|
674
770
|
readonly user: AuthMeUser;
|
|
675
771
|
readonly orgs: ReadonlyArray<never>;
|
|
@@ -713,6 +809,78 @@ export declare const TokenListResponse: Schema.Struct<{
|
|
|
713
809
|
readonly has_more: Schema.Boolean;
|
|
714
810
|
readonly cursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
715
811
|
}>;
|
|
812
|
+
export type Library = {
|
|
813
|
+
readonly id: LibraryId;
|
|
814
|
+
readonly owner: Handle;
|
|
815
|
+
readonly name: LibraryName;
|
|
816
|
+
readonly title: string;
|
|
817
|
+
readonly description: string | null;
|
|
818
|
+
readonly visibility: LibraryVisibility;
|
|
819
|
+
readonly maintainer: LibraryMaintainer;
|
|
820
|
+
readonly createdAt: string;
|
|
821
|
+
readonly updatedAt: string;
|
|
822
|
+
};
|
|
823
|
+
export declare const Library: Schema.Struct<{
|
|
824
|
+
readonly id: Schema.String;
|
|
825
|
+
readonly owner: Schema.String;
|
|
826
|
+
readonly name: Schema.String;
|
|
827
|
+
readonly title: Schema.String;
|
|
828
|
+
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
829
|
+
readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
|
|
830
|
+
readonly maintainer: Schema.Union<readonly [Schema.Struct<{
|
|
831
|
+
readonly kind: Schema.Literal<"user">;
|
|
832
|
+
readonly userId: Schema.String;
|
|
833
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
834
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
835
|
+
}>, Schema.Struct<{
|
|
836
|
+
readonly kind: Schema.Literal<"team">;
|
|
837
|
+
readonly teamId: Schema.String;
|
|
838
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
839
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
840
|
+
}>, Schema.Struct<{
|
|
841
|
+
readonly kind: Schema.Literal<"none">;
|
|
842
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
843
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
844
|
+
}>]>;
|
|
845
|
+
readonly createdAt: Schema.String;
|
|
846
|
+
readonly updatedAt: Schema.String;
|
|
847
|
+
}>;
|
|
848
|
+
export type CreatedLibrary = {
|
|
849
|
+
readonly id: LibraryId;
|
|
850
|
+
readonly owner: Handle;
|
|
851
|
+
readonly name: LibraryName;
|
|
852
|
+
readonly title: string;
|
|
853
|
+
readonly description: string | null;
|
|
854
|
+
readonly visibility: LibraryVisibility;
|
|
855
|
+
readonly maintainer: LibraryMaintainer;
|
|
856
|
+
readonly createdAt: string;
|
|
857
|
+
readonly updatedAt: string;
|
|
858
|
+
};
|
|
859
|
+
export declare const CreatedLibrary: Schema.Struct<{
|
|
860
|
+
readonly id: Schema.String;
|
|
861
|
+
readonly owner: Schema.String;
|
|
862
|
+
readonly name: Schema.String;
|
|
863
|
+
readonly title: Schema.String;
|
|
864
|
+
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
865
|
+
readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
|
|
866
|
+
readonly maintainer: Schema.Union<readonly [Schema.Struct<{
|
|
867
|
+
readonly kind: Schema.Literal<"user">;
|
|
868
|
+
readonly userId: Schema.String;
|
|
869
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
870
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
871
|
+
}>, Schema.Struct<{
|
|
872
|
+
readonly kind: Schema.Literal<"team">;
|
|
873
|
+
readonly teamId: Schema.String;
|
|
874
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
875
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
876
|
+
}>, Schema.Struct<{
|
|
877
|
+
readonly kind: Schema.Literal<"none">;
|
|
878
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
879
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
880
|
+
}>]>;
|
|
881
|
+
readonly createdAt: Schema.String;
|
|
882
|
+
readonly updatedAt: Schema.String;
|
|
883
|
+
}>;
|
|
716
884
|
export type ExtensionGrantsResponse = {
|
|
717
885
|
readonly grants: ReadonlyArray<ExtensionGrantEntry>;
|
|
718
886
|
};
|
|
@@ -867,6 +1035,48 @@ export declare const ExtensionLintFailedError: Schema.Struct<{
|
|
|
867
1035
|
readonly suggestions: Schema.$Array<Schema.String>;
|
|
868
1036
|
}>>;
|
|
869
1037
|
}>;
|
|
1038
|
+
export type LibraryDetail = {
|
|
1039
|
+
readonly library: Library;
|
|
1040
|
+
readonly members: ReadonlyArray<LibraryMember>;
|
|
1041
|
+
readonly hiddenMemberCount: number;
|
|
1042
|
+
};
|
|
1043
|
+
export declare const LibraryDetail: Schema.Struct<{
|
|
1044
|
+
readonly library: Schema.Struct<{
|
|
1045
|
+
readonly id: Schema.String;
|
|
1046
|
+
readonly owner: Schema.String;
|
|
1047
|
+
readonly name: Schema.String;
|
|
1048
|
+
readonly title: Schema.String;
|
|
1049
|
+
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1050
|
+
readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
|
|
1051
|
+
readonly maintainer: Schema.Union<readonly [Schema.Struct<{
|
|
1052
|
+
readonly kind: Schema.Literal<"user">;
|
|
1053
|
+
readonly userId: Schema.String;
|
|
1054
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1055
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1056
|
+
}>, Schema.Struct<{
|
|
1057
|
+
readonly kind: Schema.Literal<"team">;
|
|
1058
|
+
readonly teamId: Schema.String;
|
|
1059
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1060
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1061
|
+
}>, Schema.Struct<{
|
|
1062
|
+
readonly kind: Schema.Literal<"none">;
|
|
1063
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1064
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1065
|
+
}>]>;
|
|
1066
|
+
readonly createdAt: Schema.String;
|
|
1067
|
+
readonly updatedAt: Schema.String;
|
|
1068
|
+
}>;
|
|
1069
|
+
readonly members: Schema.$Array<Schema.Struct<{
|
|
1070
|
+
readonly id: Schema.String;
|
|
1071
|
+
readonly libraryId: Schema.String;
|
|
1072
|
+
readonly extensionId: Schema.String;
|
|
1073
|
+
readonly extensionOwner: Schema.String;
|
|
1074
|
+
readonly extensionType: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
|
|
1075
|
+
readonly extensionName: Schema.String;
|
|
1076
|
+
readonly addedAt: Schema.String;
|
|
1077
|
+
}>>;
|
|
1078
|
+
readonly hiddenMemberCount: Schema.Number;
|
|
1079
|
+
}>;
|
|
870
1080
|
export type MetaGet200 = MetaResponse;
|
|
871
1081
|
export declare const MetaGet200: Schema.Struct<{
|
|
872
1082
|
readonly ok: Schema.Literal<true>;
|
|
@@ -1252,7 +1462,7 @@ export declare const TokensList403: Schema.Struct<{
|
|
|
1252
1462
|
readonly status: Schema.Number;
|
|
1253
1463
|
readonly detail: Schema.String;
|
|
1254
1464
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1255
|
-
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"]>;
|
|
1465
|
+
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", "library_mutation_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"]>;
|
|
1256
1466
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1257
1467
|
readonly requiredScope: Schema.String;
|
|
1258
1468
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -1326,7 +1536,7 @@ export declare const TokensCreate403: Schema.Union<readonly [Schema.Struct<{
|
|
|
1326
1536
|
readonly status: Schema.Number;
|
|
1327
1537
|
readonly detail: Schema.String;
|
|
1328
1538
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1329
|
-
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"]>;
|
|
1539
|
+
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", "library_mutation_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"]>;
|
|
1330
1540
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1331
1541
|
readonly requiredScope: Schema.String;
|
|
1332
1542
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -1348,7 +1558,7 @@ export declare const TokensCreate403: Schema.Union<readonly [Schema.Struct<{
|
|
|
1348
1558
|
readonly status: Schema.Number;
|
|
1349
1559
|
readonly detail: Schema.String;
|
|
1350
1560
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1351
|
-
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"]>;
|
|
1561
|
+
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", "library_mutation_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"]>;
|
|
1352
1562
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1353
1563
|
readonly requiredScope: Schema.String;
|
|
1354
1564
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -1424,7 +1634,7 @@ export declare const TokensDelete403: Schema.Struct<{
|
|
|
1424
1634
|
readonly status: Schema.Number;
|
|
1425
1635
|
readonly detail: Schema.String;
|
|
1426
1636
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1427
|
-
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"]>;
|
|
1637
|
+
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", "library_mutation_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"]>;
|
|
1428
1638
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1429
1639
|
readonly requiredScope: Schema.String;
|
|
1430
1640
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -1596,7 +1806,7 @@ export declare const OrgsTeamsCreateTeam403: Schema.Struct<{
|
|
|
1596
1806
|
readonly status: Schema.Number;
|
|
1597
1807
|
readonly detail: Schema.String;
|
|
1598
1808
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1599
|
-
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"]>;
|
|
1809
|
+
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", "library_mutation_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"]>;
|
|
1600
1810
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1601
1811
|
readonly requiredScope: Schema.String;
|
|
1602
1812
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -1714,7 +1924,7 @@ export declare const OrgsTeamsDeleteTeam403: Schema.Struct<{
|
|
|
1714
1924
|
readonly status: Schema.Number;
|
|
1715
1925
|
readonly detail: Schema.String;
|
|
1716
1926
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1717
|
-
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"]>;
|
|
1927
|
+
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", "library_mutation_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"]>;
|
|
1718
1928
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1719
1929
|
readonly requiredScope: Schema.String;
|
|
1720
1930
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -1809,7 +2019,7 @@ export declare const OrgsTeamsUpdateTeam403: Schema.Struct<{
|
|
|
1809
2019
|
readonly status: Schema.Number;
|
|
1810
2020
|
readonly detail: Schema.String;
|
|
1811
2021
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1812
|
-
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"]>;
|
|
2022
|
+
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", "library_mutation_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"]>;
|
|
1813
2023
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1814
2024
|
readonly requiredScope: Schema.String;
|
|
1815
2025
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -1949,7 +2159,7 @@ export declare const OrgsTeamsAddTeamMember403: Schema.Struct<{
|
|
|
1949
2159
|
readonly status: Schema.Number;
|
|
1950
2160
|
readonly detail: Schema.String;
|
|
1951
2161
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
1952
|
-
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"]>;
|
|
2162
|
+
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", "library_mutation_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"]>;
|
|
1953
2163
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1954
2164
|
readonly requiredScope: Schema.String;
|
|
1955
2165
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -2031,7 +2241,7 @@ export declare const OrgsTeamsRemoveTeamMember403: Schema.Struct<{
|
|
|
2031
2241
|
readonly status: Schema.Number;
|
|
2032
2242
|
readonly detail: Schema.String;
|
|
2033
2243
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
2034
|
-
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"]>;
|
|
2244
|
+
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", "library_mutation_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"]>;
|
|
2035
2245
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2036
2246
|
readonly requiredScope: Schema.String;
|
|
2037
2247
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -2109,7 +2319,7 @@ export declare const OrgsTeamsChangeTeamMemberRole403: Schema.Struct<{
|
|
|
2109
2319
|
readonly status: Schema.Number;
|
|
2110
2320
|
readonly detail: Schema.String;
|
|
2111
2321
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
2112
|
-
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"]>;
|
|
2322
|
+
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", "library_mutation_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"]>;
|
|
2113
2323
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2114
2324
|
readonly requiredScope: Schema.String;
|
|
2115
2325
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -2403,7 +2613,7 @@ export declare const ExtensionsUpdateVisibility403: Schema.Union<readonly [Schem
|
|
|
2403
2613
|
readonly status: Schema.Number;
|
|
2404
2614
|
readonly detail: Schema.String;
|
|
2405
2615
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
2406
|
-
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"]>;
|
|
2616
|
+
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", "library_mutation_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"]>;
|
|
2407
2617
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2408
2618
|
readonly requiredScope: Schema.String;
|
|
2409
2619
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -2425,7 +2635,7 @@ export declare const ExtensionsUpdateVisibility403: Schema.Union<readonly [Schem
|
|
|
2425
2635
|
readonly status: Schema.Number;
|
|
2426
2636
|
readonly detail: Schema.String;
|
|
2427
2637
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
2428
|
-
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"]>;
|
|
2638
|
+
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", "library_mutation_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"]>;
|
|
2429
2639
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2430
2640
|
readonly requiredScope: Schema.String;
|
|
2431
2641
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -2631,7 +2841,7 @@ export declare const ExtensionsPublishVersion403: Schema.Union<readonly [Schema.
|
|
|
2631
2841
|
readonly status: Schema.Number;
|
|
2632
2842
|
readonly detail: Schema.String;
|
|
2633
2843
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
2634
|
-
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"]>;
|
|
2844
|
+
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", "library_mutation_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"]>;
|
|
2635
2845
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2636
2846
|
readonly requiredScope: Schema.String;
|
|
2637
2847
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -2653,7 +2863,7 @@ export declare const ExtensionsPublishVersion403: Schema.Union<readonly [Schema.
|
|
|
2653
2863
|
readonly status: Schema.Number;
|
|
2654
2864
|
readonly detail: Schema.String;
|
|
2655
2865
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
2656
|
-
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"]>;
|
|
2866
|
+
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", "library_mutation_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"]>;
|
|
2657
2867
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2658
2868
|
readonly requiredScope: Schema.String;
|
|
2659
2869
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -2882,7 +3092,7 @@ export declare const ExtensionsDeleteVersion403: Schema.Struct<{
|
|
|
2882
3092
|
readonly status: Schema.Number;
|
|
2883
3093
|
readonly detail: Schema.String;
|
|
2884
3094
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
2885
|
-
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"]>;
|
|
3095
|
+
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", "library_mutation_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"]>;
|
|
2886
3096
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2887
3097
|
readonly requiredScope: Schema.String;
|
|
2888
3098
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3008,7 +3218,7 @@ export declare const ExtensionsDeprecate403: Schema.Struct<{
|
|
|
3008
3218
|
readonly status: Schema.Number;
|
|
3009
3219
|
readonly detail: Schema.String;
|
|
3010
3220
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3011
|
-
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"]>;
|
|
3221
|
+
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", "library_mutation_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"]>;
|
|
3012
3222
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3013
3223
|
readonly requiredScope: Schema.String;
|
|
3014
3224
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3088,7 +3298,7 @@ export declare const ExtensionsUndeprecate403: Schema.Struct<{
|
|
|
3088
3298
|
readonly status: Schema.Number;
|
|
3089
3299
|
readonly detail: Schema.String;
|
|
3090
3300
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3091
|
-
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"]>;
|
|
3301
|
+
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", "library_mutation_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"]>;
|
|
3092
3302
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3093
3303
|
readonly requiredScope: Schema.String;
|
|
3094
3304
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3182,7 +3392,7 @@ export declare const ExtensionsYankVersion403: Schema.Struct<{
|
|
|
3182
3392
|
readonly status: Schema.Number;
|
|
3183
3393
|
readonly detail: Schema.String;
|
|
3184
3394
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3185
|
-
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"]>;
|
|
3395
|
+
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", "library_mutation_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"]>;
|
|
3186
3396
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3187
3397
|
readonly requiredScope: Schema.String;
|
|
3188
3398
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3276,7 +3486,7 @@ export declare const ExtensionsUnyankVersion403: Schema.Struct<{
|
|
|
3276
3486
|
readonly status: Schema.Number;
|
|
3277
3487
|
readonly detail: Schema.String;
|
|
3278
3488
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3279
|
-
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"]>;
|
|
3489
|
+
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", "library_mutation_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"]>;
|
|
3280
3490
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3281
3491
|
readonly requiredScope: Schema.String;
|
|
3282
3492
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3308,24 +3518,38 @@ export declare const ExtensionsUnyankVersion404: Schema.Struct<{
|
|
|
3308
3518
|
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3309
3519
|
}>>;
|
|
3310
3520
|
}>;
|
|
3311
|
-
export type
|
|
3312
|
-
readonly
|
|
3313
|
-
readonly userId: UserId;
|
|
3314
|
-
readonly role: string;
|
|
3315
|
-
readonly grantedBy: UserId | null;
|
|
3316
|
-
readonly createdAt: string;
|
|
3317
|
-
}>;
|
|
3521
|
+
export type LibrariesListLibraries200 = {
|
|
3522
|
+
readonly libraries: ReadonlyArray<Library>;
|
|
3318
3523
|
};
|
|
3319
|
-
export declare const
|
|
3320
|
-
readonly
|
|
3321
|
-
readonly
|
|
3322
|
-
readonly
|
|
3323
|
-
readonly
|
|
3524
|
+
export declare const LibrariesListLibraries200: Schema.Struct<{
|
|
3525
|
+
readonly libraries: Schema.$Array<Schema.Struct<{
|
|
3526
|
+
readonly id: Schema.String;
|
|
3527
|
+
readonly owner: Schema.String;
|
|
3528
|
+
readonly name: Schema.String;
|
|
3529
|
+
readonly title: Schema.String;
|
|
3530
|
+
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3531
|
+
readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
|
|
3532
|
+
readonly maintainer: Schema.Union<readonly [Schema.Struct<{
|
|
3533
|
+
readonly kind: Schema.Literal<"user">;
|
|
3534
|
+
readonly userId: Schema.String;
|
|
3535
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3536
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3537
|
+
}>, Schema.Struct<{
|
|
3538
|
+
readonly kind: Schema.Literal<"team">;
|
|
3539
|
+
readonly teamId: Schema.String;
|
|
3540
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3541
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3542
|
+
}>, Schema.Struct<{
|
|
3543
|
+
readonly kind: Schema.Literal<"none">;
|
|
3544
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3545
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3546
|
+
}>]>;
|
|
3324
3547
|
readonly createdAt: Schema.String;
|
|
3548
|
+
readonly updatedAt: Schema.String;
|
|
3325
3549
|
}>>;
|
|
3326
3550
|
}>;
|
|
3327
|
-
export type
|
|
3328
|
-
export declare const
|
|
3551
|
+
export type LibrariesListLibraries400 = DecodeErrorResponse;
|
|
3552
|
+
export declare const LibrariesListLibraries400: Schema.Struct<{
|
|
3329
3553
|
readonly kind: Schema.Literal<"DecodeErrorResponse">;
|
|
3330
3554
|
readonly type: Schema.String;
|
|
3331
3555
|
readonly title: Schema.String;
|
|
@@ -3334,8 +3558,8 @@ export declare const CollaboratorsListCollaborators400: Schema.Struct<{
|
|
|
3334
3558
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3335
3559
|
readonly code: Schema.String;
|
|
3336
3560
|
}>;
|
|
3337
|
-
export type
|
|
3338
|
-
export declare const
|
|
3561
|
+
export type LibrariesListLibraries404 = ProblemDetails;
|
|
3562
|
+
export declare const LibrariesListLibraries404: Schema.Struct<{
|
|
3339
3563
|
readonly type: Schema.String;
|
|
3340
3564
|
readonly title: Schema.String;
|
|
3341
3565
|
readonly status: Schema.Number;
|
|
@@ -3350,86 +3574,41 @@ export declare const CollaboratorsListCollaborators401: Schema.Struct<{
|
|
|
3350
3574
|
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3351
3575
|
}>>;
|
|
3352
3576
|
}>;
|
|
3353
|
-
export type
|
|
3354
|
-
export declare const
|
|
3355
|
-
readonly
|
|
3356
|
-
readonly type: Schema.String;
|
|
3577
|
+
export type LibrariesCreateLibraryRequestJson = CreateLibraryBody;
|
|
3578
|
+
export declare const LibrariesCreateLibraryRequestJson: Schema.Struct<{
|
|
3579
|
+
readonly name: Schema.String;
|
|
3357
3580
|
readonly title: Schema.String;
|
|
3358
|
-
readonly
|
|
3359
|
-
readonly
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
readonly requiredScope: Schema.String;
|
|
3367
|
-
readonly tokenScopes: Schema.$Array<Schema.String>;
|
|
3368
|
-
readonly requiredRole: Schema.optionalKey<Schema.String>;
|
|
3369
|
-
}>, Schema.Struct<{
|
|
3370
|
-
readonly retryable: Schema.Boolean;
|
|
3371
|
-
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
3372
|
-
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
3373
|
-
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
3374
|
-
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3375
|
-
}>]>>;
|
|
3376
|
-
}>, Schema.Struct<{
|
|
3377
|
-
readonly kind: Schema.Literal<"ForbiddenError">;
|
|
3378
|
-
readonly type: Schema.String;
|
|
3581
|
+
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
|
|
3582
|
+
readonly visibility: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["public", "internal", "private"]>, Schema.Null]>>;
|
|
3583
|
+
}>;
|
|
3584
|
+
export type LibrariesCreateLibrary201 = CreatedLibrary;
|
|
3585
|
+
export declare const LibrariesCreateLibrary201: Schema.Struct<{
|
|
3586
|
+
readonly id: Schema.String;
|
|
3587
|
+
readonly owner: Schema.String;
|
|
3588
|
+
readonly name: Schema.String;
|
|
3379
3589
|
readonly title: Schema.String;
|
|
3380
|
-
readonly
|
|
3381
|
-
readonly
|
|
3382
|
-
readonly
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
readonly
|
|
3386
|
-
readonly
|
|
3590
|
+
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3591
|
+
readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
|
|
3592
|
+
readonly maintainer: Schema.Union<readonly [Schema.Struct<{
|
|
3593
|
+
readonly kind: Schema.Literal<"user">;
|
|
3594
|
+
readonly userId: Schema.String;
|
|
3595
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3596
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3387
3597
|
}>, Schema.Struct<{
|
|
3388
|
-
readonly
|
|
3389
|
-
readonly
|
|
3390
|
-
readonly
|
|
3598
|
+
readonly kind: Schema.Literal<"team">;
|
|
3599
|
+
readonly teamId: Schema.String;
|
|
3600
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3601
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3391
3602
|
}>, Schema.Struct<{
|
|
3392
|
-
readonly
|
|
3393
|
-
readonly
|
|
3394
|
-
readonly
|
|
3395
|
-
|
|
3396
|
-
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3397
|
-
}>]>>;
|
|
3398
|
-
}>]>;
|
|
3399
|
-
export type CollaboratorsListCollaborators404 = ProblemDetails;
|
|
3400
|
-
export declare const CollaboratorsListCollaborators404: Schema.Struct<{
|
|
3401
|
-
readonly type: Schema.String;
|
|
3402
|
-
readonly title: Schema.String;
|
|
3403
|
-
readonly status: Schema.Number;
|
|
3404
|
-
readonly detail: Schema.String;
|
|
3405
|
-
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3406
|
-
readonly code: Schema.String;
|
|
3407
|
-
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
3408
|
-
readonly retryable: Schema.Boolean;
|
|
3409
|
-
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
3410
|
-
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
3411
|
-
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
3412
|
-
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3413
|
-
}>>;
|
|
3414
|
-
}>;
|
|
3415
|
-
export type CollaboratorsUpsertCollaboratorRequestJson = PutCollaboratorBody;
|
|
3416
|
-
export declare const CollaboratorsUpsertCollaboratorRequestJson: Schema.Struct<{
|
|
3417
|
-
readonly role: Schema.Literals<readonly ["write", "read"]>;
|
|
3418
|
-
}>;
|
|
3419
|
-
export type CollaboratorsUpsertCollaborator200 = {
|
|
3420
|
-
readonly userId: UserId;
|
|
3421
|
-
readonly role: string;
|
|
3422
|
-
readonly grantedBy: UserId | null;
|
|
3423
|
-
readonly createdAt: string;
|
|
3424
|
-
};
|
|
3425
|
-
export declare const CollaboratorsUpsertCollaborator200: Schema.Struct<{
|
|
3426
|
-
readonly userId: Schema.String;
|
|
3427
|
-
readonly role: Schema.String;
|
|
3428
|
-
readonly grantedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3603
|
+
readonly kind: Schema.Literal<"none">;
|
|
3604
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3605
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3606
|
+
}>]>;
|
|
3429
3607
|
readonly createdAt: Schema.String;
|
|
3608
|
+
readonly updatedAt: Schema.String;
|
|
3430
3609
|
}>;
|
|
3431
|
-
export type
|
|
3432
|
-
export declare const
|
|
3610
|
+
export type LibrariesCreateLibrary400 = ProblemDetails | DecodeErrorResponse;
|
|
3611
|
+
export declare const LibrariesCreateLibrary400: Schema.Union<readonly [Schema.Struct<{
|
|
3433
3612
|
readonly type: Schema.String;
|
|
3434
3613
|
readonly title: Schema.String;
|
|
3435
3614
|
readonly status: Schema.Number;
|
|
@@ -3452,8 +3631,8 @@ export declare const CollaboratorsUpsertCollaborator400: Schema.Union<readonly [
|
|
|
3452
3631
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3453
3632
|
readonly code: Schema.String;
|
|
3454
3633
|
}>]>;
|
|
3455
|
-
export type
|
|
3456
|
-
export declare const
|
|
3634
|
+
export type LibrariesCreateLibrary401 = ProblemDetails;
|
|
3635
|
+
export declare const LibrariesCreateLibrary401: Schema.Struct<{
|
|
3457
3636
|
readonly type: Schema.String;
|
|
3458
3637
|
readonly title: Schema.String;
|
|
3459
3638
|
readonly status: Schema.Number;
|
|
@@ -3468,15 +3647,15 @@ export declare const CollaboratorsUpsertCollaborator401: Schema.Struct<{
|
|
|
3468
3647
|
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3469
3648
|
}>>;
|
|
3470
3649
|
}>;
|
|
3471
|
-
export type
|
|
3472
|
-
export declare const
|
|
3650
|
+
export type LibrariesCreateLibrary403 = ForbiddenError | ForbiddenError;
|
|
3651
|
+
export declare const LibrariesCreateLibrary403: Schema.Union<readonly [Schema.Struct<{
|
|
3473
3652
|
readonly kind: Schema.Literal<"ForbiddenError">;
|
|
3474
3653
|
readonly type: Schema.String;
|
|
3475
3654
|
readonly title: Schema.String;
|
|
3476
3655
|
readonly status: Schema.Number;
|
|
3477
3656
|
readonly detail: Schema.String;
|
|
3478
3657
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3479
|
-
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"]>;
|
|
3658
|
+
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", "library_mutation_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"]>;
|
|
3480
3659
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3481
3660
|
readonly requiredScope: Schema.String;
|
|
3482
3661
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3498,7 +3677,7 @@ export declare const CollaboratorsUpsertCollaborator403: Schema.Union<readonly [
|
|
|
3498
3677
|
readonly status: Schema.Number;
|
|
3499
3678
|
readonly detail: Schema.String;
|
|
3500
3679
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3501
|
-
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"]>;
|
|
3680
|
+
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", "library_mutation_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"]>;
|
|
3502
3681
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3503
3682
|
readonly requiredScope: Schema.String;
|
|
3504
3683
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3514,8 +3693,8 @@ export declare const CollaboratorsUpsertCollaborator403: Schema.Union<readonly [
|
|
|
3514
3693
|
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3515
3694
|
}>]>>;
|
|
3516
3695
|
}>]>;
|
|
3517
|
-
export type
|
|
3518
|
-
export declare const
|
|
3696
|
+
export type LibrariesCreateLibrary404 = ProblemDetails;
|
|
3697
|
+
export declare const LibrariesCreateLibrary404: Schema.Struct<{
|
|
3519
3698
|
readonly type: Schema.String;
|
|
3520
3699
|
readonly title: Schema.String;
|
|
3521
3700
|
readonly status: Schema.Number;
|
|
@@ -3530,18 +3709,1221 @@ export declare const CollaboratorsUpsertCollaborator404: Schema.Struct<{
|
|
|
3530
3709
|
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3531
3710
|
}>>;
|
|
3532
3711
|
}>;
|
|
3533
|
-
export type
|
|
3534
|
-
export declare const
|
|
3535
|
-
readonly kind: Schema.Literal<"DecodeErrorResponse">;
|
|
3712
|
+
export type LibrariesCreateLibrary409 = ProblemDetails;
|
|
3713
|
+
export declare const LibrariesCreateLibrary409: Schema.Struct<{
|
|
3536
3714
|
readonly type: Schema.String;
|
|
3537
3715
|
readonly title: Schema.String;
|
|
3538
3716
|
readonly status: Schema.Number;
|
|
3539
3717
|
readonly detail: Schema.String;
|
|
3540
3718
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3541
3719
|
readonly code: Schema.String;
|
|
3720
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
3721
|
+
readonly retryable: Schema.Boolean;
|
|
3722
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
3723
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
3724
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
3725
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3726
|
+
}>>;
|
|
3542
3727
|
}>;
|
|
3543
|
-
export type
|
|
3544
|
-
export declare const
|
|
3728
|
+
export type LibrariesCreateLibrary422 = ProblemDetails;
|
|
3729
|
+
export declare const LibrariesCreateLibrary422: Schema.Struct<{
|
|
3730
|
+
readonly type: Schema.String;
|
|
3731
|
+
readonly title: Schema.String;
|
|
3732
|
+
readonly status: Schema.Number;
|
|
3733
|
+
readonly detail: Schema.String;
|
|
3734
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3735
|
+
readonly code: Schema.String;
|
|
3736
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
3737
|
+
readonly retryable: Schema.Boolean;
|
|
3738
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
3739
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
3740
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
3741
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3742
|
+
}>>;
|
|
3743
|
+
}>;
|
|
3744
|
+
export type LibrariesGetLibrary200 = LibraryDetail;
|
|
3745
|
+
export declare const LibrariesGetLibrary200: Schema.Struct<{
|
|
3746
|
+
readonly library: Schema.Struct<{
|
|
3747
|
+
readonly id: Schema.String;
|
|
3748
|
+
readonly owner: Schema.String;
|
|
3749
|
+
readonly name: Schema.String;
|
|
3750
|
+
readonly title: Schema.String;
|
|
3751
|
+
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3752
|
+
readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
|
|
3753
|
+
readonly maintainer: Schema.Union<readonly [Schema.Struct<{
|
|
3754
|
+
readonly kind: Schema.Literal<"user">;
|
|
3755
|
+
readonly userId: Schema.String;
|
|
3756
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3757
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3758
|
+
}>, Schema.Struct<{
|
|
3759
|
+
readonly kind: Schema.Literal<"team">;
|
|
3760
|
+
readonly teamId: Schema.String;
|
|
3761
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3762
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3763
|
+
}>, Schema.Struct<{
|
|
3764
|
+
readonly kind: Schema.Literal<"none">;
|
|
3765
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3766
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3767
|
+
}>]>;
|
|
3768
|
+
readonly createdAt: Schema.String;
|
|
3769
|
+
readonly updatedAt: Schema.String;
|
|
3770
|
+
}>;
|
|
3771
|
+
readonly members: Schema.$Array<Schema.Struct<{
|
|
3772
|
+
readonly id: Schema.String;
|
|
3773
|
+
readonly libraryId: Schema.String;
|
|
3774
|
+
readonly extensionId: Schema.String;
|
|
3775
|
+
readonly extensionOwner: Schema.String;
|
|
3776
|
+
readonly extensionType: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
|
|
3777
|
+
readonly extensionName: Schema.String;
|
|
3778
|
+
readonly addedAt: Schema.String;
|
|
3779
|
+
}>>;
|
|
3780
|
+
readonly hiddenMemberCount: Schema.Number;
|
|
3781
|
+
}>;
|
|
3782
|
+
export type LibrariesGetLibrary400 = DecodeErrorResponse;
|
|
3783
|
+
export declare const LibrariesGetLibrary400: Schema.Struct<{
|
|
3784
|
+
readonly kind: Schema.Literal<"DecodeErrorResponse">;
|
|
3785
|
+
readonly type: Schema.String;
|
|
3786
|
+
readonly title: Schema.String;
|
|
3787
|
+
readonly status: Schema.Number;
|
|
3788
|
+
readonly detail: Schema.String;
|
|
3789
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3790
|
+
readonly code: Schema.String;
|
|
3791
|
+
}>;
|
|
3792
|
+
export type LibrariesGetLibrary404 = ProblemDetails;
|
|
3793
|
+
export declare const LibrariesGetLibrary404: Schema.Struct<{
|
|
3794
|
+
readonly type: Schema.String;
|
|
3795
|
+
readonly title: Schema.String;
|
|
3796
|
+
readonly status: Schema.Number;
|
|
3797
|
+
readonly detail: Schema.String;
|
|
3798
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3799
|
+
readonly code: Schema.String;
|
|
3800
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
3801
|
+
readonly retryable: Schema.Boolean;
|
|
3802
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
3803
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
3804
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
3805
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3806
|
+
}>>;
|
|
3807
|
+
}>;
|
|
3808
|
+
export type LibrariesGetLibrary422 = ProblemDetails;
|
|
3809
|
+
export declare const LibrariesGetLibrary422: Schema.Struct<{
|
|
3810
|
+
readonly type: Schema.String;
|
|
3811
|
+
readonly title: Schema.String;
|
|
3812
|
+
readonly status: Schema.Number;
|
|
3813
|
+
readonly detail: Schema.String;
|
|
3814
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3815
|
+
readonly code: Schema.String;
|
|
3816
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
3817
|
+
readonly retryable: Schema.Boolean;
|
|
3818
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
3819
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
3820
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
3821
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3822
|
+
}>>;
|
|
3823
|
+
}>;
|
|
3824
|
+
export type LibrariesDeleteLibrary400 = DecodeErrorResponse;
|
|
3825
|
+
export declare const LibrariesDeleteLibrary400: Schema.Struct<{
|
|
3826
|
+
readonly kind: Schema.Literal<"DecodeErrorResponse">;
|
|
3827
|
+
readonly type: Schema.String;
|
|
3828
|
+
readonly title: Schema.String;
|
|
3829
|
+
readonly status: Schema.Number;
|
|
3830
|
+
readonly detail: Schema.String;
|
|
3831
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3832
|
+
readonly code: Schema.String;
|
|
3833
|
+
}>;
|
|
3834
|
+
export type LibrariesDeleteLibrary401 = ProblemDetails;
|
|
3835
|
+
export declare const LibrariesDeleteLibrary401: Schema.Struct<{
|
|
3836
|
+
readonly type: Schema.String;
|
|
3837
|
+
readonly title: Schema.String;
|
|
3838
|
+
readonly status: Schema.Number;
|
|
3839
|
+
readonly detail: Schema.String;
|
|
3840
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3841
|
+
readonly code: Schema.String;
|
|
3842
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
3843
|
+
readonly retryable: Schema.Boolean;
|
|
3844
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
3845
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
3846
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
3847
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3848
|
+
}>>;
|
|
3849
|
+
}>;
|
|
3850
|
+
export type LibrariesDeleteLibrary403 = ForbiddenError | ForbiddenError;
|
|
3851
|
+
export declare const LibrariesDeleteLibrary403: Schema.Union<readonly [Schema.Struct<{
|
|
3852
|
+
readonly kind: Schema.Literal<"ForbiddenError">;
|
|
3853
|
+
readonly type: Schema.String;
|
|
3854
|
+
readonly title: Schema.String;
|
|
3855
|
+
readonly status: Schema.Number;
|
|
3856
|
+
readonly detail: Schema.String;
|
|
3857
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3858
|
+
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", "library_mutation_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"]>;
|
|
3859
|
+
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3860
|
+
readonly requiredScope: Schema.String;
|
|
3861
|
+
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
3862
|
+
}>, Schema.Struct<{
|
|
3863
|
+
readonly requiredScope: Schema.String;
|
|
3864
|
+
readonly tokenScopes: Schema.$Array<Schema.String>;
|
|
3865
|
+
readonly requiredRole: Schema.optionalKey<Schema.String>;
|
|
3866
|
+
}>, Schema.Struct<{
|
|
3867
|
+
readonly retryable: Schema.Boolean;
|
|
3868
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
3869
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
3870
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
3871
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3872
|
+
}>]>>;
|
|
3873
|
+
}>, Schema.Struct<{
|
|
3874
|
+
readonly kind: Schema.Literal<"ForbiddenError">;
|
|
3875
|
+
readonly type: Schema.String;
|
|
3876
|
+
readonly title: Schema.String;
|
|
3877
|
+
readonly status: Schema.Number;
|
|
3878
|
+
readonly detail: Schema.String;
|
|
3879
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3880
|
+
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", "library_mutation_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"]>;
|
|
3881
|
+
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3882
|
+
readonly requiredScope: Schema.String;
|
|
3883
|
+
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
3884
|
+
}>, Schema.Struct<{
|
|
3885
|
+
readonly requiredScope: Schema.String;
|
|
3886
|
+
readonly tokenScopes: Schema.$Array<Schema.String>;
|
|
3887
|
+
readonly requiredRole: Schema.optionalKey<Schema.String>;
|
|
3888
|
+
}>, Schema.Struct<{
|
|
3889
|
+
readonly retryable: Schema.Boolean;
|
|
3890
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
3891
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
3892
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
3893
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3894
|
+
}>]>>;
|
|
3895
|
+
}>]>;
|
|
3896
|
+
export type LibrariesDeleteLibrary404 = ProblemDetails;
|
|
3897
|
+
export declare const LibrariesDeleteLibrary404: Schema.Struct<{
|
|
3898
|
+
readonly type: Schema.String;
|
|
3899
|
+
readonly title: Schema.String;
|
|
3900
|
+
readonly status: Schema.Number;
|
|
3901
|
+
readonly detail: Schema.String;
|
|
3902
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3903
|
+
readonly code: Schema.String;
|
|
3904
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
3905
|
+
readonly retryable: Schema.Boolean;
|
|
3906
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
3907
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
3908
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
3909
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3910
|
+
}>>;
|
|
3911
|
+
}>;
|
|
3912
|
+
export type LibrariesDeleteLibrary422 = ProblemDetails;
|
|
3913
|
+
export declare const LibrariesDeleteLibrary422: Schema.Struct<{
|
|
3914
|
+
readonly type: Schema.String;
|
|
3915
|
+
readonly title: Schema.String;
|
|
3916
|
+
readonly status: Schema.Number;
|
|
3917
|
+
readonly detail: Schema.String;
|
|
3918
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3919
|
+
readonly code: Schema.String;
|
|
3920
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
3921
|
+
readonly retryable: Schema.Boolean;
|
|
3922
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
3923
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
3924
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
3925
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3926
|
+
}>>;
|
|
3927
|
+
}>;
|
|
3928
|
+
export type LibrariesUpdateLibraryRequestJson = UpdateLibraryBody;
|
|
3929
|
+
export declare const LibrariesUpdateLibraryRequestJson: Schema.Struct<{
|
|
3930
|
+
readonly title: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3931
|
+
readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
|
|
3932
|
+
}>;
|
|
3933
|
+
export type LibrariesUpdateLibrary200 = Library;
|
|
3934
|
+
export declare const LibrariesUpdateLibrary200: Schema.Struct<{
|
|
3935
|
+
readonly id: Schema.String;
|
|
3936
|
+
readonly owner: Schema.String;
|
|
3937
|
+
readonly name: Schema.String;
|
|
3938
|
+
readonly title: Schema.String;
|
|
3939
|
+
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3940
|
+
readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
|
|
3941
|
+
readonly maintainer: Schema.Union<readonly [Schema.Struct<{
|
|
3942
|
+
readonly kind: Schema.Literal<"user">;
|
|
3943
|
+
readonly userId: Schema.String;
|
|
3944
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3945
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3946
|
+
}>, Schema.Struct<{
|
|
3947
|
+
readonly kind: Schema.Literal<"team">;
|
|
3948
|
+
readonly teamId: Schema.String;
|
|
3949
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3950
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3951
|
+
}>, Schema.Struct<{
|
|
3952
|
+
readonly kind: Schema.Literal<"none">;
|
|
3953
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3954
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
3955
|
+
}>]>;
|
|
3956
|
+
readonly createdAt: Schema.String;
|
|
3957
|
+
readonly updatedAt: Schema.String;
|
|
3958
|
+
}>;
|
|
3959
|
+
export type LibrariesUpdateLibrary400 = ProblemDetails | DecodeErrorResponse;
|
|
3960
|
+
export declare const LibrariesUpdateLibrary400: Schema.Union<readonly [Schema.Struct<{
|
|
3961
|
+
readonly type: Schema.String;
|
|
3962
|
+
readonly title: Schema.String;
|
|
3963
|
+
readonly status: Schema.Number;
|
|
3964
|
+
readonly detail: Schema.String;
|
|
3965
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3966
|
+
readonly code: Schema.String;
|
|
3967
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
3968
|
+
readonly retryable: Schema.Boolean;
|
|
3969
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
3970
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
3971
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
3972
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3973
|
+
}>>;
|
|
3974
|
+
}>, Schema.Struct<{
|
|
3975
|
+
readonly kind: Schema.Literal<"DecodeErrorResponse">;
|
|
3976
|
+
readonly type: Schema.String;
|
|
3977
|
+
readonly title: Schema.String;
|
|
3978
|
+
readonly status: Schema.Number;
|
|
3979
|
+
readonly detail: Schema.String;
|
|
3980
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3981
|
+
readonly code: Schema.String;
|
|
3982
|
+
}>]>;
|
|
3983
|
+
export type LibrariesUpdateLibrary401 = ProblemDetails;
|
|
3984
|
+
export declare const LibrariesUpdateLibrary401: Schema.Struct<{
|
|
3985
|
+
readonly type: Schema.String;
|
|
3986
|
+
readonly title: Schema.String;
|
|
3987
|
+
readonly status: Schema.Number;
|
|
3988
|
+
readonly detail: Schema.String;
|
|
3989
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3990
|
+
readonly code: Schema.String;
|
|
3991
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
3992
|
+
readonly retryable: Schema.Boolean;
|
|
3993
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
3994
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
3995
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
3996
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
3997
|
+
}>>;
|
|
3998
|
+
}>;
|
|
3999
|
+
export type LibrariesUpdateLibrary403 = ForbiddenError | ForbiddenError;
|
|
4000
|
+
export declare const LibrariesUpdateLibrary403: Schema.Union<readonly [Schema.Struct<{
|
|
4001
|
+
readonly kind: Schema.Literal<"ForbiddenError">;
|
|
4002
|
+
readonly type: Schema.String;
|
|
4003
|
+
readonly title: Schema.String;
|
|
4004
|
+
readonly status: Schema.Number;
|
|
4005
|
+
readonly detail: Schema.String;
|
|
4006
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4007
|
+
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", "library_mutation_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"]>;
|
|
4008
|
+
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4009
|
+
readonly requiredScope: Schema.String;
|
|
4010
|
+
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
4011
|
+
}>, Schema.Struct<{
|
|
4012
|
+
readonly requiredScope: Schema.String;
|
|
4013
|
+
readonly tokenScopes: Schema.$Array<Schema.String>;
|
|
4014
|
+
readonly requiredRole: Schema.optionalKey<Schema.String>;
|
|
4015
|
+
}>, Schema.Struct<{
|
|
4016
|
+
readonly retryable: Schema.Boolean;
|
|
4017
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4018
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4019
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4020
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4021
|
+
}>]>>;
|
|
4022
|
+
}>, Schema.Struct<{
|
|
4023
|
+
readonly kind: Schema.Literal<"ForbiddenError">;
|
|
4024
|
+
readonly type: Schema.String;
|
|
4025
|
+
readonly title: Schema.String;
|
|
4026
|
+
readonly status: Schema.Number;
|
|
4027
|
+
readonly detail: Schema.String;
|
|
4028
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4029
|
+
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", "library_mutation_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"]>;
|
|
4030
|
+
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4031
|
+
readonly requiredScope: Schema.String;
|
|
4032
|
+
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
4033
|
+
}>, Schema.Struct<{
|
|
4034
|
+
readonly requiredScope: Schema.String;
|
|
4035
|
+
readonly tokenScopes: Schema.$Array<Schema.String>;
|
|
4036
|
+
readonly requiredRole: Schema.optionalKey<Schema.String>;
|
|
4037
|
+
}>, Schema.Struct<{
|
|
4038
|
+
readonly retryable: Schema.Boolean;
|
|
4039
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4040
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4041
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4042
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4043
|
+
}>]>>;
|
|
4044
|
+
}>]>;
|
|
4045
|
+
export type LibrariesUpdateLibrary404 = ProblemDetails;
|
|
4046
|
+
export declare const LibrariesUpdateLibrary404: Schema.Struct<{
|
|
4047
|
+
readonly type: Schema.String;
|
|
4048
|
+
readonly title: Schema.String;
|
|
4049
|
+
readonly status: Schema.Number;
|
|
4050
|
+
readonly detail: Schema.String;
|
|
4051
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4052
|
+
readonly code: Schema.String;
|
|
4053
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
4054
|
+
readonly retryable: Schema.Boolean;
|
|
4055
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4056
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4057
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4058
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4059
|
+
}>>;
|
|
4060
|
+
}>;
|
|
4061
|
+
export type LibrariesUpdateLibrary422 = ProblemDetails;
|
|
4062
|
+
export declare const LibrariesUpdateLibrary422: Schema.Struct<{
|
|
4063
|
+
readonly type: Schema.String;
|
|
4064
|
+
readonly title: Schema.String;
|
|
4065
|
+
readonly status: Schema.Number;
|
|
4066
|
+
readonly detail: Schema.String;
|
|
4067
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4068
|
+
readonly code: Schema.String;
|
|
4069
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
4070
|
+
readonly retryable: Schema.Boolean;
|
|
4071
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4072
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4073
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4074
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4075
|
+
}>>;
|
|
4076
|
+
}>;
|
|
4077
|
+
export type LibrariesSetLibraryVisibilityRequestJson = PatchLibraryVisibilityBody;
|
|
4078
|
+
export declare const LibrariesSetLibraryVisibilityRequestJson: Schema.Struct<{
|
|
4079
|
+
readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
|
|
4080
|
+
}>;
|
|
4081
|
+
export type LibrariesSetLibraryVisibility200 = Library;
|
|
4082
|
+
export declare const LibrariesSetLibraryVisibility200: Schema.Struct<{
|
|
4083
|
+
readonly id: Schema.String;
|
|
4084
|
+
readonly owner: Schema.String;
|
|
4085
|
+
readonly name: Schema.String;
|
|
4086
|
+
readonly title: Schema.String;
|
|
4087
|
+
readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4088
|
+
readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
|
|
4089
|
+
readonly maintainer: Schema.Union<readonly [Schema.Struct<{
|
|
4090
|
+
readonly kind: Schema.Literal<"user">;
|
|
4091
|
+
readonly userId: Schema.String;
|
|
4092
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4093
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4094
|
+
}>, Schema.Struct<{
|
|
4095
|
+
readonly kind: Schema.Literal<"team">;
|
|
4096
|
+
readonly teamId: Schema.String;
|
|
4097
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4098
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4099
|
+
}>, Schema.Struct<{
|
|
4100
|
+
readonly kind: Schema.Literal<"none">;
|
|
4101
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4102
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4103
|
+
}>]>;
|
|
4104
|
+
readonly createdAt: Schema.String;
|
|
4105
|
+
readonly updatedAt: Schema.String;
|
|
4106
|
+
}>;
|
|
4107
|
+
export type LibrariesSetLibraryVisibility400 = DecodeErrorResponse;
|
|
4108
|
+
export declare const LibrariesSetLibraryVisibility400: Schema.Struct<{
|
|
4109
|
+
readonly kind: Schema.Literal<"DecodeErrorResponse">;
|
|
4110
|
+
readonly type: Schema.String;
|
|
4111
|
+
readonly title: Schema.String;
|
|
4112
|
+
readonly status: Schema.Number;
|
|
4113
|
+
readonly detail: Schema.String;
|
|
4114
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4115
|
+
readonly code: Schema.String;
|
|
4116
|
+
}>;
|
|
4117
|
+
export type LibrariesSetLibraryVisibility401 = ProblemDetails;
|
|
4118
|
+
export declare const LibrariesSetLibraryVisibility401: Schema.Struct<{
|
|
4119
|
+
readonly type: Schema.String;
|
|
4120
|
+
readonly title: Schema.String;
|
|
4121
|
+
readonly status: Schema.Number;
|
|
4122
|
+
readonly detail: Schema.String;
|
|
4123
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4124
|
+
readonly code: Schema.String;
|
|
4125
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
4126
|
+
readonly retryable: Schema.Boolean;
|
|
4127
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4128
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4129
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4130
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4131
|
+
}>>;
|
|
4132
|
+
}>;
|
|
4133
|
+
export type LibrariesSetLibraryVisibility403 = ForbiddenError | ForbiddenError;
|
|
4134
|
+
export declare const LibrariesSetLibraryVisibility403: Schema.Union<readonly [Schema.Struct<{
|
|
4135
|
+
readonly kind: Schema.Literal<"ForbiddenError">;
|
|
4136
|
+
readonly type: Schema.String;
|
|
4137
|
+
readonly title: Schema.String;
|
|
4138
|
+
readonly status: Schema.Number;
|
|
4139
|
+
readonly detail: Schema.String;
|
|
4140
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4141
|
+
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", "library_mutation_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"]>;
|
|
4142
|
+
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4143
|
+
readonly requiredScope: Schema.String;
|
|
4144
|
+
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
4145
|
+
}>, Schema.Struct<{
|
|
4146
|
+
readonly requiredScope: Schema.String;
|
|
4147
|
+
readonly tokenScopes: Schema.$Array<Schema.String>;
|
|
4148
|
+
readonly requiredRole: Schema.optionalKey<Schema.String>;
|
|
4149
|
+
}>, Schema.Struct<{
|
|
4150
|
+
readonly retryable: Schema.Boolean;
|
|
4151
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4152
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4153
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4154
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4155
|
+
}>]>>;
|
|
4156
|
+
}>, Schema.Struct<{
|
|
4157
|
+
readonly kind: Schema.Literal<"ForbiddenError">;
|
|
4158
|
+
readonly type: Schema.String;
|
|
4159
|
+
readonly title: Schema.String;
|
|
4160
|
+
readonly status: Schema.Number;
|
|
4161
|
+
readonly detail: Schema.String;
|
|
4162
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4163
|
+
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", "library_mutation_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"]>;
|
|
4164
|
+
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4165
|
+
readonly requiredScope: Schema.String;
|
|
4166
|
+
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
4167
|
+
}>, Schema.Struct<{
|
|
4168
|
+
readonly requiredScope: Schema.String;
|
|
4169
|
+
readonly tokenScopes: Schema.$Array<Schema.String>;
|
|
4170
|
+
readonly requiredRole: Schema.optionalKey<Schema.String>;
|
|
4171
|
+
}>, Schema.Struct<{
|
|
4172
|
+
readonly retryable: Schema.Boolean;
|
|
4173
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4174
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4175
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4176
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4177
|
+
}>]>>;
|
|
4178
|
+
}>]>;
|
|
4179
|
+
export type LibrariesSetLibraryVisibility404 = ProblemDetails;
|
|
4180
|
+
export declare const LibrariesSetLibraryVisibility404: Schema.Struct<{
|
|
4181
|
+
readonly type: Schema.String;
|
|
4182
|
+
readonly title: Schema.String;
|
|
4183
|
+
readonly status: Schema.Number;
|
|
4184
|
+
readonly detail: Schema.String;
|
|
4185
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4186
|
+
readonly code: Schema.String;
|
|
4187
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
4188
|
+
readonly retryable: Schema.Boolean;
|
|
4189
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4190
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4191
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4192
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4193
|
+
}>>;
|
|
4194
|
+
}>;
|
|
4195
|
+
export type LibrariesSetLibraryVisibility422 = ProblemDetails;
|
|
4196
|
+
export declare const LibrariesSetLibraryVisibility422: Schema.Struct<{
|
|
4197
|
+
readonly type: Schema.String;
|
|
4198
|
+
readonly title: Schema.String;
|
|
4199
|
+
readonly status: Schema.Number;
|
|
4200
|
+
readonly detail: Schema.String;
|
|
4201
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4202
|
+
readonly code: Schema.String;
|
|
4203
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
4204
|
+
readonly retryable: Schema.Boolean;
|
|
4205
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4206
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4207
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4208
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4209
|
+
}>>;
|
|
4210
|
+
}>;
|
|
4211
|
+
export type LibrariesSetLibraryMaintainerRequestJson = LibraryMaintainerTarget;
|
|
4212
|
+
export declare const LibrariesSetLibraryMaintainerRequestJson: Schema.Union<readonly [Schema.Struct<{
|
|
4213
|
+
readonly kind: Schema.Literal<"user">;
|
|
4214
|
+
readonly userId: Schema.String;
|
|
4215
|
+
}>, Schema.Struct<{
|
|
4216
|
+
readonly kind: Schema.Literal<"team">;
|
|
4217
|
+
readonly teamId: Schema.String;
|
|
4218
|
+
}>]>;
|
|
4219
|
+
export type LibrariesSetLibraryMaintainer200 = LibraryMaintainer;
|
|
4220
|
+
export declare const LibrariesSetLibraryMaintainer200: Schema.Union<readonly [Schema.Struct<{
|
|
4221
|
+
readonly kind: Schema.Literal<"user">;
|
|
4222
|
+
readonly userId: Schema.String;
|
|
4223
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4224
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4225
|
+
}>, Schema.Struct<{
|
|
4226
|
+
readonly kind: Schema.Literal<"team">;
|
|
4227
|
+
readonly teamId: Schema.String;
|
|
4228
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4229
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4230
|
+
}>, Schema.Struct<{
|
|
4231
|
+
readonly kind: Schema.Literal<"none">;
|
|
4232
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4233
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4234
|
+
}>]>;
|
|
4235
|
+
export type LibrariesSetLibraryMaintainer400 = DecodeErrorResponse;
|
|
4236
|
+
export declare const LibrariesSetLibraryMaintainer400: Schema.Struct<{
|
|
4237
|
+
readonly kind: Schema.Literal<"DecodeErrorResponse">;
|
|
4238
|
+
readonly type: Schema.String;
|
|
4239
|
+
readonly title: Schema.String;
|
|
4240
|
+
readonly status: Schema.Number;
|
|
4241
|
+
readonly detail: Schema.String;
|
|
4242
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4243
|
+
readonly code: Schema.String;
|
|
4244
|
+
}>;
|
|
4245
|
+
export type LibrariesSetLibraryMaintainer401 = ProblemDetails;
|
|
4246
|
+
export declare const LibrariesSetLibraryMaintainer401: Schema.Struct<{
|
|
4247
|
+
readonly type: Schema.String;
|
|
4248
|
+
readonly title: Schema.String;
|
|
4249
|
+
readonly status: Schema.Number;
|
|
4250
|
+
readonly detail: Schema.String;
|
|
4251
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4252
|
+
readonly code: Schema.String;
|
|
4253
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
4254
|
+
readonly retryable: Schema.Boolean;
|
|
4255
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4256
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4257
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4258
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4259
|
+
}>>;
|
|
4260
|
+
}>;
|
|
4261
|
+
export type LibrariesSetLibraryMaintainer403 = ForbiddenError | ForbiddenError;
|
|
4262
|
+
export declare const LibrariesSetLibraryMaintainer403: Schema.Union<readonly [Schema.Struct<{
|
|
4263
|
+
readonly kind: Schema.Literal<"ForbiddenError">;
|
|
4264
|
+
readonly type: Schema.String;
|
|
4265
|
+
readonly title: Schema.String;
|
|
4266
|
+
readonly status: Schema.Number;
|
|
4267
|
+
readonly detail: Schema.String;
|
|
4268
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4269
|
+
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", "library_mutation_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"]>;
|
|
4270
|
+
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4271
|
+
readonly requiredScope: Schema.String;
|
|
4272
|
+
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
4273
|
+
}>, Schema.Struct<{
|
|
4274
|
+
readonly requiredScope: Schema.String;
|
|
4275
|
+
readonly tokenScopes: Schema.$Array<Schema.String>;
|
|
4276
|
+
readonly requiredRole: Schema.optionalKey<Schema.String>;
|
|
4277
|
+
}>, Schema.Struct<{
|
|
4278
|
+
readonly retryable: Schema.Boolean;
|
|
4279
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4280
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4281
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4282
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4283
|
+
}>]>>;
|
|
4284
|
+
}>, Schema.Struct<{
|
|
4285
|
+
readonly kind: Schema.Literal<"ForbiddenError">;
|
|
4286
|
+
readonly type: Schema.String;
|
|
4287
|
+
readonly title: Schema.String;
|
|
4288
|
+
readonly status: Schema.Number;
|
|
4289
|
+
readonly detail: Schema.String;
|
|
4290
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4291
|
+
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", "library_mutation_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"]>;
|
|
4292
|
+
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4293
|
+
readonly requiredScope: Schema.String;
|
|
4294
|
+
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
4295
|
+
}>, Schema.Struct<{
|
|
4296
|
+
readonly requiredScope: Schema.String;
|
|
4297
|
+
readonly tokenScopes: Schema.$Array<Schema.String>;
|
|
4298
|
+
readonly requiredRole: Schema.optionalKey<Schema.String>;
|
|
4299
|
+
}>, Schema.Struct<{
|
|
4300
|
+
readonly retryable: Schema.Boolean;
|
|
4301
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4302
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4303
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4304
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4305
|
+
}>]>>;
|
|
4306
|
+
}>]>;
|
|
4307
|
+
export type LibrariesSetLibraryMaintainer404 = ProblemDetails;
|
|
4308
|
+
export declare const LibrariesSetLibraryMaintainer404: Schema.Struct<{
|
|
4309
|
+
readonly type: Schema.String;
|
|
4310
|
+
readonly title: Schema.String;
|
|
4311
|
+
readonly status: Schema.Number;
|
|
4312
|
+
readonly detail: Schema.String;
|
|
4313
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4314
|
+
readonly code: Schema.String;
|
|
4315
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
4316
|
+
readonly retryable: Schema.Boolean;
|
|
4317
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4318
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4319
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4320
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4321
|
+
}>>;
|
|
4322
|
+
}>;
|
|
4323
|
+
export type LibrariesSetLibraryMaintainer422 = ProblemDetails;
|
|
4324
|
+
export declare const LibrariesSetLibraryMaintainer422: Schema.Struct<{
|
|
4325
|
+
readonly type: Schema.String;
|
|
4326
|
+
readonly title: Schema.String;
|
|
4327
|
+
readonly status: Schema.Number;
|
|
4328
|
+
readonly detail: Schema.String;
|
|
4329
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4330
|
+
readonly code: Schema.String;
|
|
4331
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
4332
|
+
readonly retryable: Schema.Boolean;
|
|
4333
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4334
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4335
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4336
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4337
|
+
}>>;
|
|
4338
|
+
}>;
|
|
4339
|
+
export type LibrariesClearLibraryMaintainer200 = LibraryMaintainer;
|
|
4340
|
+
export declare const LibrariesClearLibraryMaintainer200: Schema.Union<readonly [Schema.Struct<{
|
|
4341
|
+
readonly kind: Schema.Literal<"user">;
|
|
4342
|
+
readonly userId: Schema.String;
|
|
4343
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4344
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4345
|
+
}>, Schema.Struct<{
|
|
4346
|
+
readonly kind: Schema.Literal<"team">;
|
|
4347
|
+
readonly teamId: Schema.String;
|
|
4348
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4349
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4350
|
+
}>, Schema.Struct<{
|
|
4351
|
+
readonly kind: Schema.Literal<"none">;
|
|
4352
|
+
readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4353
|
+
readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4354
|
+
}>]>;
|
|
4355
|
+
export type LibrariesClearLibraryMaintainer400 = DecodeErrorResponse;
|
|
4356
|
+
export declare const LibrariesClearLibraryMaintainer400: Schema.Struct<{
|
|
4357
|
+
readonly kind: Schema.Literal<"DecodeErrorResponse">;
|
|
4358
|
+
readonly type: Schema.String;
|
|
4359
|
+
readonly title: Schema.String;
|
|
4360
|
+
readonly status: Schema.Number;
|
|
4361
|
+
readonly detail: Schema.String;
|
|
4362
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4363
|
+
readonly code: Schema.String;
|
|
4364
|
+
}>;
|
|
4365
|
+
export type LibrariesClearLibraryMaintainer401 = ProblemDetails;
|
|
4366
|
+
export declare const LibrariesClearLibraryMaintainer401: Schema.Struct<{
|
|
4367
|
+
readonly type: Schema.String;
|
|
4368
|
+
readonly title: Schema.String;
|
|
4369
|
+
readonly status: Schema.Number;
|
|
4370
|
+
readonly detail: Schema.String;
|
|
4371
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4372
|
+
readonly code: Schema.String;
|
|
4373
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
4374
|
+
readonly retryable: Schema.Boolean;
|
|
4375
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4376
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4377
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4378
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4379
|
+
}>>;
|
|
4380
|
+
}>;
|
|
4381
|
+
export type LibrariesClearLibraryMaintainer403 = ForbiddenError | ForbiddenError;
|
|
4382
|
+
export declare const LibrariesClearLibraryMaintainer403: Schema.Union<readonly [Schema.Struct<{
|
|
4383
|
+
readonly kind: Schema.Literal<"ForbiddenError">;
|
|
4384
|
+
readonly type: Schema.String;
|
|
4385
|
+
readonly title: Schema.String;
|
|
4386
|
+
readonly status: Schema.Number;
|
|
4387
|
+
readonly detail: Schema.String;
|
|
4388
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4389
|
+
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", "library_mutation_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"]>;
|
|
4390
|
+
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4391
|
+
readonly requiredScope: Schema.String;
|
|
4392
|
+
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
4393
|
+
}>, Schema.Struct<{
|
|
4394
|
+
readonly requiredScope: Schema.String;
|
|
4395
|
+
readonly tokenScopes: Schema.$Array<Schema.String>;
|
|
4396
|
+
readonly requiredRole: Schema.optionalKey<Schema.String>;
|
|
4397
|
+
}>, Schema.Struct<{
|
|
4398
|
+
readonly retryable: Schema.Boolean;
|
|
4399
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4400
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4401
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4402
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4403
|
+
}>]>>;
|
|
4404
|
+
}>, Schema.Struct<{
|
|
4405
|
+
readonly kind: Schema.Literal<"ForbiddenError">;
|
|
4406
|
+
readonly type: Schema.String;
|
|
4407
|
+
readonly title: Schema.String;
|
|
4408
|
+
readonly status: Schema.Number;
|
|
4409
|
+
readonly detail: Schema.String;
|
|
4410
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4411
|
+
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", "library_mutation_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"]>;
|
|
4412
|
+
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4413
|
+
readonly requiredScope: Schema.String;
|
|
4414
|
+
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
4415
|
+
}>, Schema.Struct<{
|
|
4416
|
+
readonly requiredScope: Schema.String;
|
|
4417
|
+
readonly tokenScopes: Schema.$Array<Schema.String>;
|
|
4418
|
+
readonly requiredRole: Schema.optionalKey<Schema.String>;
|
|
4419
|
+
}>, Schema.Struct<{
|
|
4420
|
+
readonly retryable: Schema.Boolean;
|
|
4421
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4422
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4423
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4424
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4425
|
+
}>]>>;
|
|
4426
|
+
}>]>;
|
|
4427
|
+
export type LibrariesClearLibraryMaintainer404 = ProblemDetails;
|
|
4428
|
+
export declare const LibrariesClearLibraryMaintainer404: Schema.Struct<{
|
|
4429
|
+
readonly type: Schema.String;
|
|
4430
|
+
readonly title: Schema.String;
|
|
4431
|
+
readonly status: Schema.Number;
|
|
4432
|
+
readonly detail: Schema.String;
|
|
4433
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4434
|
+
readonly code: Schema.String;
|
|
4435
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
4436
|
+
readonly retryable: Schema.Boolean;
|
|
4437
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4438
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4439
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4440
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4441
|
+
}>>;
|
|
4442
|
+
}>;
|
|
4443
|
+
export type LibrariesClearLibraryMaintainer422 = ProblemDetails;
|
|
4444
|
+
export declare const LibrariesClearLibraryMaintainer422: Schema.Struct<{
|
|
4445
|
+
readonly type: Schema.String;
|
|
4446
|
+
readonly title: Schema.String;
|
|
4447
|
+
readonly status: Schema.Number;
|
|
4448
|
+
readonly detail: Schema.String;
|
|
4449
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4450
|
+
readonly code: Schema.String;
|
|
4451
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
4452
|
+
readonly retryable: Schema.Boolean;
|
|
4453
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4454
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4455
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4456
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4457
|
+
}>>;
|
|
4458
|
+
}>;
|
|
4459
|
+
export type LibrariesAddLibraryMember200 = LibraryMember;
|
|
4460
|
+
export declare const LibrariesAddLibraryMember200: Schema.Struct<{
|
|
4461
|
+
readonly id: Schema.String;
|
|
4462
|
+
readonly libraryId: Schema.String;
|
|
4463
|
+
readonly extensionId: Schema.String;
|
|
4464
|
+
readonly extensionOwner: Schema.String;
|
|
4465
|
+
readonly extensionType: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
|
|
4466
|
+
readonly extensionName: Schema.String;
|
|
4467
|
+
readonly addedAt: Schema.String;
|
|
4468
|
+
}>;
|
|
4469
|
+
export type LibrariesAddLibraryMember400 = DecodeErrorResponse;
|
|
4470
|
+
export declare const LibrariesAddLibraryMember400: Schema.Struct<{
|
|
4471
|
+
readonly kind: Schema.Literal<"DecodeErrorResponse">;
|
|
4472
|
+
readonly type: Schema.String;
|
|
4473
|
+
readonly title: Schema.String;
|
|
4474
|
+
readonly status: Schema.Number;
|
|
4475
|
+
readonly detail: Schema.String;
|
|
4476
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4477
|
+
readonly code: Schema.String;
|
|
4478
|
+
}>;
|
|
4479
|
+
export type LibrariesAddLibraryMember401 = ProblemDetails;
|
|
4480
|
+
export declare const LibrariesAddLibraryMember401: Schema.Struct<{
|
|
4481
|
+
readonly type: Schema.String;
|
|
4482
|
+
readonly title: Schema.String;
|
|
4483
|
+
readonly status: Schema.Number;
|
|
4484
|
+
readonly detail: Schema.String;
|
|
4485
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4486
|
+
readonly code: Schema.String;
|
|
4487
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
4488
|
+
readonly retryable: Schema.Boolean;
|
|
4489
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4490
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4491
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4492
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4493
|
+
}>>;
|
|
4494
|
+
}>;
|
|
4495
|
+
export type LibrariesAddLibraryMember403 = ForbiddenError | ForbiddenError;
|
|
4496
|
+
export declare const LibrariesAddLibraryMember403: Schema.Union<readonly [Schema.Struct<{
|
|
4497
|
+
readonly kind: Schema.Literal<"ForbiddenError">;
|
|
4498
|
+
readonly type: Schema.String;
|
|
4499
|
+
readonly title: Schema.String;
|
|
4500
|
+
readonly status: Schema.Number;
|
|
4501
|
+
readonly detail: Schema.String;
|
|
4502
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4503
|
+
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", "library_mutation_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"]>;
|
|
4504
|
+
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4505
|
+
readonly requiredScope: Schema.String;
|
|
4506
|
+
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
4507
|
+
}>, Schema.Struct<{
|
|
4508
|
+
readonly requiredScope: Schema.String;
|
|
4509
|
+
readonly tokenScopes: Schema.$Array<Schema.String>;
|
|
4510
|
+
readonly requiredRole: Schema.optionalKey<Schema.String>;
|
|
4511
|
+
}>, Schema.Struct<{
|
|
4512
|
+
readonly retryable: Schema.Boolean;
|
|
4513
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4514
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4515
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4516
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4517
|
+
}>]>>;
|
|
4518
|
+
}>, Schema.Struct<{
|
|
4519
|
+
readonly kind: Schema.Literal<"ForbiddenError">;
|
|
4520
|
+
readonly type: Schema.String;
|
|
4521
|
+
readonly title: Schema.String;
|
|
4522
|
+
readonly status: Schema.Number;
|
|
4523
|
+
readonly detail: Schema.String;
|
|
4524
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4525
|
+
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", "library_mutation_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"]>;
|
|
4526
|
+
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4527
|
+
readonly requiredScope: Schema.String;
|
|
4528
|
+
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
4529
|
+
}>, Schema.Struct<{
|
|
4530
|
+
readonly requiredScope: Schema.String;
|
|
4531
|
+
readonly tokenScopes: Schema.$Array<Schema.String>;
|
|
4532
|
+
readonly requiredRole: Schema.optionalKey<Schema.String>;
|
|
4533
|
+
}>, Schema.Struct<{
|
|
4534
|
+
readonly retryable: Schema.Boolean;
|
|
4535
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4536
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4537
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4538
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4539
|
+
}>]>>;
|
|
4540
|
+
}>]>;
|
|
4541
|
+
export type LibrariesAddLibraryMember404 = ProblemDetails;
|
|
4542
|
+
export declare const LibrariesAddLibraryMember404: Schema.Struct<{
|
|
4543
|
+
readonly type: Schema.String;
|
|
4544
|
+
readonly title: Schema.String;
|
|
4545
|
+
readonly status: Schema.Number;
|
|
4546
|
+
readonly detail: Schema.String;
|
|
4547
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4548
|
+
readonly code: Schema.String;
|
|
4549
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
4550
|
+
readonly retryable: Schema.Boolean;
|
|
4551
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4552
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4553
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4554
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4555
|
+
}>>;
|
|
4556
|
+
}>;
|
|
4557
|
+
export type LibrariesAddLibraryMember409 = ProblemDetails;
|
|
4558
|
+
export declare const LibrariesAddLibraryMember409: Schema.Struct<{
|
|
4559
|
+
readonly type: Schema.String;
|
|
4560
|
+
readonly title: Schema.String;
|
|
4561
|
+
readonly status: Schema.Number;
|
|
4562
|
+
readonly detail: Schema.String;
|
|
4563
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4564
|
+
readonly code: Schema.String;
|
|
4565
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
4566
|
+
readonly retryable: Schema.Boolean;
|
|
4567
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4568
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4569
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4570
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4571
|
+
}>>;
|
|
4572
|
+
}>;
|
|
4573
|
+
export type LibrariesAddLibraryMember422 = ProblemDetails;
|
|
4574
|
+
export declare const LibrariesAddLibraryMember422: Schema.Struct<{
|
|
4575
|
+
readonly type: Schema.String;
|
|
4576
|
+
readonly title: Schema.String;
|
|
4577
|
+
readonly status: Schema.Number;
|
|
4578
|
+
readonly detail: Schema.String;
|
|
4579
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4580
|
+
readonly code: Schema.String;
|
|
4581
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
4582
|
+
readonly retryable: Schema.Boolean;
|
|
4583
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4584
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4585
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4586
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4587
|
+
}>>;
|
|
4588
|
+
}>;
|
|
4589
|
+
export type LibrariesRemoveLibraryMember400 = DecodeErrorResponse;
|
|
4590
|
+
export declare const LibrariesRemoveLibraryMember400: Schema.Struct<{
|
|
4591
|
+
readonly kind: Schema.Literal<"DecodeErrorResponse">;
|
|
4592
|
+
readonly type: Schema.String;
|
|
4593
|
+
readonly title: Schema.String;
|
|
4594
|
+
readonly status: Schema.Number;
|
|
4595
|
+
readonly detail: Schema.String;
|
|
4596
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4597
|
+
readonly code: Schema.String;
|
|
4598
|
+
}>;
|
|
4599
|
+
export type LibrariesRemoveLibraryMember401 = ProblemDetails;
|
|
4600
|
+
export declare const LibrariesRemoveLibraryMember401: Schema.Struct<{
|
|
4601
|
+
readonly type: Schema.String;
|
|
4602
|
+
readonly title: Schema.String;
|
|
4603
|
+
readonly status: Schema.Number;
|
|
4604
|
+
readonly detail: Schema.String;
|
|
4605
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4606
|
+
readonly code: Schema.String;
|
|
4607
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
4608
|
+
readonly retryable: Schema.Boolean;
|
|
4609
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4610
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4611
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4612
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4613
|
+
}>>;
|
|
4614
|
+
}>;
|
|
4615
|
+
export type LibrariesRemoveLibraryMember403 = ForbiddenError | ForbiddenError;
|
|
4616
|
+
export declare const LibrariesRemoveLibraryMember403: Schema.Union<readonly [Schema.Struct<{
|
|
4617
|
+
readonly kind: Schema.Literal<"ForbiddenError">;
|
|
4618
|
+
readonly type: Schema.String;
|
|
4619
|
+
readonly title: Schema.String;
|
|
4620
|
+
readonly status: Schema.Number;
|
|
4621
|
+
readonly detail: Schema.String;
|
|
4622
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4623
|
+
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", "library_mutation_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"]>;
|
|
4624
|
+
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4625
|
+
readonly requiredScope: Schema.String;
|
|
4626
|
+
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
4627
|
+
}>, Schema.Struct<{
|
|
4628
|
+
readonly requiredScope: Schema.String;
|
|
4629
|
+
readonly tokenScopes: Schema.$Array<Schema.String>;
|
|
4630
|
+
readonly requiredRole: Schema.optionalKey<Schema.String>;
|
|
4631
|
+
}>, Schema.Struct<{
|
|
4632
|
+
readonly retryable: Schema.Boolean;
|
|
4633
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4634
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4635
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4636
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4637
|
+
}>]>>;
|
|
4638
|
+
}>, Schema.Struct<{
|
|
4639
|
+
readonly kind: Schema.Literal<"ForbiddenError">;
|
|
4640
|
+
readonly type: Schema.String;
|
|
4641
|
+
readonly title: Schema.String;
|
|
4642
|
+
readonly status: Schema.Number;
|
|
4643
|
+
readonly detail: Schema.String;
|
|
4644
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4645
|
+
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", "library_mutation_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"]>;
|
|
4646
|
+
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4647
|
+
readonly requiredScope: Schema.String;
|
|
4648
|
+
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
4649
|
+
}>, Schema.Struct<{
|
|
4650
|
+
readonly requiredScope: Schema.String;
|
|
4651
|
+
readonly tokenScopes: Schema.$Array<Schema.String>;
|
|
4652
|
+
readonly requiredRole: Schema.optionalKey<Schema.String>;
|
|
4653
|
+
}>, Schema.Struct<{
|
|
4654
|
+
readonly retryable: Schema.Boolean;
|
|
4655
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4656
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4657
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4658
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4659
|
+
}>]>>;
|
|
4660
|
+
}>]>;
|
|
4661
|
+
export type LibrariesRemoveLibraryMember404 = ProblemDetails;
|
|
4662
|
+
export declare const LibrariesRemoveLibraryMember404: Schema.Struct<{
|
|
4663
|
+
readonly type: Schema.String;
|
|
4664
|
+
readonly title: Schema.String;
|
|
4665
|
+
readonly status: Schema.Number;
|
|
4666
|
+
readonly detail: Schema.String;
|
|
4667
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4668
|
+
readonly code: Schema.String;
|
|
4669
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
4670
|
+
readonly retryable: Schema.Boolean;
|
|
4671
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4672
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4673
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4674
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4675
|
+
}>>;
|
|
4676
|
+
}>;
|
|
4677
|
+
export type LibrariesRemoveLibraryMember422 = ProblemDetails;
|
|
4678
|
+
export declare const LibrariesRemoveLibraryMember422: Schema.Struct<{
|
|
4679
|
+
readonly type: Schema.String;
|
|
4680
|
+
readonly title: Schema.String;
|
|
4681
|
+
readonly status: Schema.Number;
|
|
4682
|
+
readonly detail: Schema.String;
|
|
4683
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4684
|
+
readonly code: Schema.String;
|
|
4685
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
4686
|
+
readonly retryable: Schema.Boolean;
|
|
4687
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4688
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4689
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4690
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4691
|
+
}>>;
|
|
4692
|
+
}>;
|
|
4693
|
+
export type CollaboratorsListCollaborators200 = {
|
|
4694
|
+
readonly collaborators: ReadonlyArray<{
|
|
4695
|
+
readonly userId: UserId;
|
|
4696
|
+
readonly role: string;
|
|
4697
|
+
readonly grantedBy: UserId | null;
|
|
4698
|
+
readonly createdAt: string;
|
|
4699
|
+
}>;
|
|
4700
|
+
};
|
|
4701
|
+
export declare const CollaboratorsListCollaborators200: Schema.Struct<{
|
|
4702
|
+
readonly collaborators: Schema.$Array<Schema.Struct<{
|
|
4703
|
+
readonly userId: Schema.String;
|
|
4704
|
+
readonly role: Schema.String;
|
|
4705
|
+
readonly grantedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4706
|
+
readonly createdAt: Schema.String;
|
|
4707
|
+
}>>;
|
|
4708
|
+
}>;
|
|
4709
|
+
export type CollaboratorsListCollaborators400 = DecodeErrorResponse;
|
|
4710
|
+
export declare const CollaboratorsListCollaborators400: Schema.Struct<{
|
|
4711
|
+
readonly kind: Schema.Literal<"DecodeErrorResponse">;
|
|
4712
|
+
readonly type: Schema.String;
|
|
4713
|
+
readonly title: Schema.String;
|
|
4714
|
+
readonly status: Schema.Number;
|
|
4715
|
+
readonly detail: Schema.String;
|
|
4716
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4717
|
+
readonly code: Schema.String;
|
|
4718
|
+
}>;
|
|
4719
|
+
export type CollaboratorsListCollaborators401 = ProblemDetails;
|
|
4720
|
+
export declare const CollaboratorsListCollaborators401: Schema.Struct<{
|
|
4721
|
+
readonly type: Schema.String;
|
|
4722
|
+
readonly title: Schema.String;
|
|
4723
|
+
readonly status: Schema.Number;
|
|
4724
|
+
readonly detail: Schema.String;
|
|
4725
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4726
|
+
readonly code: Schema.String;
|
|
4727
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
4728
|
+
readonly retryable: Schema.Boolean;
|
|
4729
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4730
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4731
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4732
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4733
|
+
}>>;
|
|
4734
|
+
}>;
|
|
4735
|
+
export type CollaboratorsListCollaborators403 = ForbiddenError | ForbiddenError;
|
|
4736
|
+
export declare const CollaboratorsListCollaborators403: Schema.Union<readonly [Schema.Struct<{
|
|
4737
|
+
readonly kind: Schema.Literal<"ForbiddenError">;
|
|
4738
|
+
readonly type: Schema.String;
|
|
4739
|
+
readonly title: Schema.String;
|
|
4740
|
+
readonly status: Schema.Number;
|
|
4741
|
+
readonly detail: Schema.String;
|
|
4742
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4743
|
+
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", "library_mutation_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"]>;
|
|
4744
|
+
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4745
|
+
readonly requiredScope: Schema.String;
|
|
4746
|
+
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
4747
|
+
}>, Schema.Struct<{
|
|
4748
|
+
readonly requiredScope: Schema.String;
|
|
4749
|
+
readonly tokenScopes: Schema.$Array<Schema.String>;
|
|
4750
|
+
readonly requiredRole: Schema.optionalKey<Schema.String>;
|
|
4751
|
+
}>, Schema.Struct<{
|
|
4752
|
+
readonly retryable: Schema.Boolean;
|
|
4753
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4754
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4755
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4756
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4757
|
+
}>]>>;
|
|
4758
|
+
}>, Schema.Struct<{
|
|
4759
|
+
readonly kind: Schema.Literal<"ForbiddenError">;
|
|
4760
|
+
readonly type: Schema.String;
|
|
4761
|
+
readonly title: Schema.String;
|
|
4762
|
+
readonly status: Schema.Number;
|
|
4763
|
+
readonly detail: Schema.String;
|
|
4764
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4765
|
+
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", "library_mutation_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"]>;
|
|
4766
|
+
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4767
|
+
readonly requiredScope: Schema.String;
|
|
4768
|
+
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
4769
|
+
}>, Schema.Struct<{
|
|
4770
|
+
readonly requiredScope: Schema.String;
|
|
4771
|
+
readonly tokenScopes: Schema.$Array<Schema.String>;
|
|
4772
|
+
readonly requiredRole: Schema.optionalKey<Schema.String>;
|
|
4773
|
+
}>, Schema.Struct<{
|
|
4774
|
+
readonly retryable: Schema.Boolean;
|
|
4775
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4776
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4777
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4778
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4779
|
+
}>]>>;
|
|
4780
|
+
}>]>;
|
|
4781
|
+
export type CollaboratorsListCollaborators404 = ProblemDetails;
|
|
4782
|
+
export declare const CollaboratorsListCollaborators404: Schema.Struct<{
|
|
4783
|
+
readonly type: Schema.String;
|
|
4784
|
+
readonly title: Schema.String;
|
|
4785
|
+
readonly status: Schema.Number;
|
|
4786
|
+
readonly detail: Schema.String;
|
|
4787
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4788
|
+
readonly code: Schema.String;
|
|
4789
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
4790
|
+
readonly retryable: Schema.Boolean;
|
|
4791
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4792
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4793
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4794
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4795
|
+
}>>;
|
|
4796
|
+
}>;
|
|
4797
|
+
export type CollaboratorsUpsertCollaboratorRequestJson = PutCollaboratorBody;
|
|
4798
|
+
export declare const CollaboratorsUpsertCollaboratorRequestJson: Schema.Struct<{
|
|
4799
|
+
readonly role: Schema.Literals<readonly ["write", "read"]>;
|
|
4800
|
+
}>;
|
|
4801
|
+
export type CollaboratorsUpsertCollaborator200 = {
|
|
4802
|
+
readonly userId: UserId;
|
|
4803
|
+
readonly role: string;
|
|
4804
|
+
readonly grantedBy: UserId | null;
|
|
4805
|
+
readonly createdAt: string;
|
|
4806
|
+
};
|
|
4807
|
+
export declare const CollaboratorsUpsertCollaborator200: Schema.Struct<{
|
|
4808
|
+
readonly userId: Schema.String;
|
|
4809
|
+
readonly role: Schema.String;
|
|
4810
|
+
readonly grantedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
4811
|
+
readonly createdAt: Schema.String;
|
|
4812
|
+
}>;
|
|
4813
|
+
export type CollaboratorsUpsertCollaborator400 = ProblemDetails | DecodeErrorResponse;
|
|
4814
|
+
export declare const CollaboratorsUpsertCollaborator400: Schema.Union<readonly [Schema.Struct<{
|
|
4815
|
+
readonly type: Schema.String;
|
|
4816
|
+
readonly title: Schema.String;
|
|
4817
|
+
readonly status: Schema.Number;
|
|
4818
|
+
readonly detail: Schema.String;
|
|
4819
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4820
|
+
readonly code: Schema.String;
|
|
4821
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
4822
|
+
readonly retryable: Schema.Boolean;
|
|
4823
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4824
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4825
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4826
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4827
|
+
}>>;
|
|
4828
|
+
}>, Schema.Struct<{
|
|
4829
|
+
readonly kind: Schema.Literal<"DecodeErrorResponse">;
|
|
4830
|
+
readonly type: Schema.String;
|
|
4831
|
+
readonly title: Schema.String;
|
|
4832
|
+
readonly status: Schema.Number;
|
|
4833
|
+
readonly detail: Schema.String;
|
|
4834
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4835
|
+
readonly code: Schema.String;
|
|
4836
|
+
}>]>;
|
|
4837
|
+
export type CollaboratorsUpsertCollaborator401 = ProblemDetails;
|
|
4838
|
+
export declare const CollaboratorsUpsertCollaborator401: Schema.Struct<{
|
|
4839
|
+
readonly type: Schema.String;
|
|
4840
|
+
readonly title: Schema.String;
|
|
4841
|
+
readonly status: Schema.Number;
|
|
4842
|
+
readonly detail: Schema.String;
|
|
4843
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4844
|
+
readonly code: Schema.String;
|
|
4845
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
4846
|
+
readonly retryable: Schema.Boolean;
|
|
4847
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4848
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4849
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4850
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4851
|
+
}>>;
|
|
4852
|
+
}>;
|
|
4853
|
+
export type CollaboratorsUpsertCollaborator403 = ForbiddenError | ForbiddenError;
|
|
4854
|
+
export declare const CollaboratorsUpsertCollaborator403: Schema.Union<readonly [Schema.Struct<{
|
|
4855
|
+
readonly kind: Schema.Literal<"ForbiddenError">;
|
|
4856
|
+
readonly type: Schema.String;
|
|
4857
|
+
readonly title: Schema.String;
|
|
4858
|
+
readonly status: Schema.Number;
|
|
4859
|
+
readonly detail: Schema.String;
|
|
4860
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4861
|
+
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", "library_mutation_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"]>;
|
|
4862
|
+
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4863
|
+
readonly requiredScope: Schema.String;
|
|
4864
|
+
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
4865
|
+
}>, Schema.Struct<{
|
|
4866
|
+
readonly requiredScope: Schema.String;
|
|
4867
|
+
readonly tokenScopes: Schema.$Array<Schema.String>;
|
|
4868
|
+
readonly requiredRole: Schema.optionalKey<Schema.String>;
|
|
4869
|
+
}>, Schema.Struct<{
|
|
4870
|
+
readonly retryable: Schema.Boolean;
|
|
4871
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4872
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4873
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4874
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4875
|
+
}>]>>;
|
|
4876
|
+
}>, Schema.Struct<{
|
|
4877
|
+
readonly kind: Schema.Literal<"ForbiddenError">;
|
|
4878
|
+
readonly type: Schema.String;
|
|
4879
|
+
readonly title: Schema.String;
|
|
4880
|
+
readonly status: Schema.Number;
|
|
4881
|
+
readonly detail: Schema.String;
|
|
4882
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4883
|
+
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", "library_mutation_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"]>;
|
|
4884
|
+
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4885
|
+
readonly requiredScope: Schema.String;
|
|
4886
|
+
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
4887
|
+
}>, Schema.Struct<{
|
|
4888
|
+
readonly requiredScope: Schema.String;
|
|
4889
|
+
readonly tokenScopes: Schema.$Array<Schema.String>;
|
|
4890
|
+
readonly requiredRole: Schema.optionalKey<Schema.String>;
|
|
4891
|
+
}>, Schema.Struct<{
|
|
4892
|
+
readonly retryable: Schema.Boolean;
|
|
4893
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4894
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4895
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4896
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4897
|
+
}>]>>;
|
|
4898
|
+
}>]>;
|
|
4899
|
+
export type CollaboratorsUpsertCollaborator404 = ProblemDetails;
|
|
4900
|
+
export declare const CollaboratorsUpsertCollaborator404: Schema.Struct<{
|
|
4901
|
+
readonly type: Schema.String;
|
|
4902
|
+
readonly title: Schema.String;
|
|
4903
|
+
readonly status: Schema.Number;
|
|
4904
|
+
readonly detail: Schema.String;
|
|
4905
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4906
|
+
readonly code: Schema.String;
|
|
4907
|
+
readonly details: Schema.optionalKey<Schema.Struct<{
|
|
4908
|
+
readonly retryable: Schema.Boolean;
|
|
4909
|
+
readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
|
|
4910
|
+
readonly requiredScope: Schema.optionalKey<Schema.String>;
|
|
4911
|
+
readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
4912
|
+
readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
|
|
4913
|
+
}>>;
|
|
4914
|
+
}>;
|
|
4915
|
+
export type CollaboratorsDeleteCollaborator400 = DecodeErrorResponse;
|
|
4916
|
+
export declare const CollaboratorsDeleteCollaborator400: Schema.Struct<{
|
|
4917
|
+
readonly kind: Schema.Literal<"DecodeErrorResponse">;
|
|
4918
|
+
readonly type: Schema.String;
|
|
4919
|
+
readonly title: Schema.String;
|
|
4920
|
+
readonly status: Schema.Number;
|
|
4921
|
+
readonly detail: Schema.String;
|
|
4922
|
+
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4923
|
+
readonly code: Schema.String;
|
|
4924
|
+
}>;
|
|
4925
|
+
export type CollaboratorsDeleteCollaborator401 = ProblemDetails;
|
|
4926
|
+
export declare const CollaboratorsDeleteCollaborator401: Schema.Struct<{
|
|
3545
4927
|
readonly type: Schema.String;
|
|
3546
4928
|
readonly title: Schema.String;
|
|
3547
4929
|
readonly status: Schema.Number;
|
|
@@ -3564,7 +4946,7 @@ export declare const CollaboratorsDeleteCollaborator403: Schema.Union<readonly [
|
|
|
3564
4946
|
readonly status: Schema.Number;
|
|
3565
4947
|
readonly detail: Schema.String;
|
|
3566
4948
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3567
|
-
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"]>;
|
|
4949
|
+
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", "library_mutation_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"]>;
|
|
3568
4950
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3569
4951
|
readonly requiredScope: Schema.String;
|
|
3570
4952
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3586,7 +4968,7 @@ export declare const CollaboratorsDeleteCollaborator403: Schema.Union<readonly [
|
|
|
3586
4968
|
readonly status: Schema.Number;
|
|
3587
4969
|
readonly detail: Schema.String;
|
|
3588
4970
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3589
|
-
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"]>;
|
|
4971
|
+
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", "library_mutation_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"]>;
|
|
3590
4972
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3591
4973
|
readonly requiredScope: Schema.String;
|
|
3592
4974
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3683,7 +5065,7 @@ export declare const TeamGrantsListExtensionGrants403: Schema.Union<readonly [Sc
|
|
|
3683
5065
|
readonly status: Schema.Number;
|
|
3684
5066
|
readonly detail: Schema.String;
|
|
3685
5067
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3686
|
-
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"]>;
|
|
5068
|
+
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", "library_mutation_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"]>;
|
|
3687
5069
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3688
5070
|
readonly requiredScope: Schema.String;
|
|
3689
5071
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3705,7 +5087,7 @@ export declare const TeamGrantsListExtensionGrants403: Schema.Union<readonly [Sc
|
|
|
3705
5087
|
readonly status: Schema.Number;
|
|
3706
5088
|
readonly detail: Schema.String;
|
|
3707
5089
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3708
|
-
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"]>;
|
|
5090
|
+
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", "library_mutation_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"]>;
|
|
3709
5091
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3710
5092
|
readonly requiredScope: Schema.String;
|
|
3711
5093
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3797,7 +5179,7 @@ export declare const TeamGrantsUpsertTeamExtensionGrant403: Schema.Union<readonl
|
|
|
3797
5179
|
readonly status: Schema.Number;
|
|
3798
5180
|
readonly detail: Schema.String;
|
|
3799
5181
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3800
|
-
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"]>;
|
|
5182
|
+
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", "library_mutation_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"]>;
|
|
3801
5183
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3802
5184
|
readonly requiredScope: Schema.String;
|
|
3803
5185
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3819,7 +5201,7 @@ export declare const TeamGrantsUpsertTeamExtensionGrant403: Schema.Union<readonl
|
|
|
3819
5201
|
readonly status: Schema.Number;
|
|
3820
5202
|
readonly detail: Schema.String;
|
|
3821
5203
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3822
|
-
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"]>;
|
|
5204
|
+
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", "library_mutation_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"]>;
|
|
3823
5205
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3824
5206
|
readonly requiredScope: Schema.String;
|
|
3825
5207
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3931,7 +5313,7 @@ export declare const TeamGrantsUpsertUserExtensionGrant403: Schema.Union<readonl
|
|
|
3931
5313
|
readonly status: Schema.Number;
|
|
3932
5314
|
readonly detail: Schema.String;
|
|
3933
5315
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3934
|
-
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"]>;
|
|
5316
|
+
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", "library_mutation_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"]>;
|
|
3935
5317
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3936
5318
|
readonly requiredScope: Schema.String;
|
|
3937
5319
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -3953,7 +5335,7 @@ export declare const TeamGrantsUpsertUserExtensionGrant403: Schema.Union<readonl
|
|
|
3953
5335
|
readonly status: Schema.Number;
|
|
3954
5336
|
readonly detail: Schema.String;
|
|
3955
5337
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
3956
|
-
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"]>;
|
|
5338
|
+
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", "library_mutation_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"]>;
|
|
3957
5339
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3958
5340
|
readonly requiredScope: Schema.String;
|
|
3959
5341
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -4019,7 +5401,7 @@ export declare const TeamGrantsDeleteUserExtensionGrant403: Schema.Union<readonl
|
|
|
4019
5401
|
readonly status: Schema.Number;
|
|
4020
5402
|
readonly detail: Schema.String;
|
|
4021
5403
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4022
|
-
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"]>;
|
|
5404
|
+
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", "library_mutation_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"]>;
|
|
4023
5405
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4024
5406
|
readonly requiredScope: Schema.String;
|
|
4025
5407
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -4041,7 +5423,7 @@ export declare const TeamGrantsDeleteUserExtensionGrant403: Schema.Union<readonl
|
|
|
4041
5423
|
readonly status: Schema.Number;
|
|
4042
5424
|
readonly detail: Schema.String;
|
|
4043
5425
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4044
|
-
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"]>;
|
|
5426
|
+
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", "library_mutation_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"]>;
|
|
4045
5427
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4046
5428
|
readonly requiredScope: Schema.String;
|
|
4047
5429
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -4148,7 +5530,7 @@ export declare const TeamGrantsUpsertTeamExtensionGrantById403: Schema.Union<rea
|
|
|
4148
5530
|
readonly status: Schema.Number;
|
|
4149
5531
|
readonly detail: Schema.String;
|
|
4150
5532
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4151
|
-
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"]>;
|
|
5533
|
+
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", "library_mutation_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"]>;
|
|
4152
5534
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4153
5535
|
readonly requiredScope: Schema.String;
|
|
4154
5536
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -4170,7 +5552,7 @@ export declare const TeamGrantsUpsertTeamExtensionGrantById403: Schema.Union<rea
|
|
|
4170
5552
|
readonly status: Schema.Number;
|
|
4171
5553
|
readonly detail: Schema.String;
|
|
4172
5554
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4173
|
-
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"]>;
|
|
5555
|
+
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", "library_mutation_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"]>;
|
|
4174
5556
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4175
5557
|
readonly requiredScope: Schema.String;
|
|
4176
5558
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -4252,7 +5634,7 @@ export declare const TeamGrantsDeleteTeamExtensionGrantById403: Schema.Union<rea
|
|
|
4252
5634
|
readonly status: Schema.Number;
|
|
4253
5635
|
readonly detail: Schema.String;
|
|
4254
5636
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4255
|
-
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"]>;
|
|
5637
|
+
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", "library_mutation_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"]>;
|
|
4256
5638
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4257
5639
|
readonly requiredScope: Schema.String;
|
|
4258
5640
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -4274,7 +5656,7 @@ export declare const TeamGrantsDeleteTeamExtensionGrantById403: Schema.Union<rea
|
|
|
4274
5656
|
readonly status: Schema.Number;
|
|
4275
5657
|
readonly detail: Schema.String;
|
|
4276
5658
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4277
|
-
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"]>;
|
|
5659
|
+
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", "library_mutation_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"]>;
|
|
4278
5660
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4279
5661
|
readonly requiredScope: Schema.String;
|
|
4280
5662
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -4340,7 +5722,7 @@ export declare const TeamGrantsDeleteTeamExtensionGrant403: Schema.Union<readonl
|
|
|
4340
5722
|
readonly status: Schema.Number;
|
|
4341
5723
|
readonly detail: Schema.String;
|
|
4342
5724
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4343
|
-
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"]>;
|
|
5725
|
+
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", "library_mutation_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"]>;
|
|
4344
5726
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4345
5727
|
readonly requiredScope: Schema.String;
|
|
4346
5728
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -4362,7 +5744,7 @@ export declare const TeamGrantsDeleteTeamExtensionGrant403: Schema.Union<readonl
|
|
|
4362
5744
|
readonly status: Schema.Number;
|
|
4363
5745
|
readonly detail: Schema.String;
|
|
4364
5746
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4365
|
-
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"]>;
|
|
5747
|
+
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", "library_mutation_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"]>;
|
|
4366
5748
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4367
5749
|
readonly requiredScope: Schema.String;
|
|
4368
5750
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -4444,7 +5826,7 @@ export declare const MaintainerGetMaintainer403: Schema.Union<readonly [Schema.S
|
|
|
4444
5826
|
readonly status: Schema.Number;
|
|
4445
5827
|
readonly detail: Schema.String;
|
|
4446
5828
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4447
|
-
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"]>;
|
|
5829
|
+
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", "library_mutation_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"]>;
|
|
4448
5830
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4449
5831
|
readonly requiredScope: Schema.String;
|
|
4450
5832
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -4466,7 +5848,7 @@ export declare const MaintainerGetMaintainer403: Schema.Union<readonly [Schema.S
|
|
|
4466
5848
|
readonly status: Schema.Number;
|
|
4467
5849
|
readonly detail: Schema.String;
|
|
4468
5850
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4469
|
-
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"]>;
|
|
5851
|
+
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", "library_mutation_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"]>;
|
|
4470
5852
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4471
5853
|
readonly requiredScope: Schema.String;
|
|
4472
5854
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -4556,7 +5938,7 @@ export declare const MaintainerSetMaintainer403: Schema.Union<readonly [Schema.S
|
|
|
4556
5938
|
readonly status: Schema.Number;
|
|
4557
5939
|
readonly detail: Schema.String;
|
|
4558
5940
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4559
|
-
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"]>;
|
|
5941
|
+
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", "library_mutation_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"]>;
|
|
4560
5942
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4561
5943
|
readonly requiredScope: Schema.String;
|
|
4562
5944
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -4578,7 +5960,7 @@ export declare const MaintainerSetMaintainer403: Schema.Union<readonly [Schema.S
|
|
|
4578
5960
|
readonly status: Schema.Number;
|
|
4579
5961
|
readonly detail: Schema.String;
|
|
4580
5962
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4581
|
-
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"]>;
|
|
5963
|
+
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", "library_mutation_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"]>;
|
|
4582
5964
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4583
5965
|
readonly requiredScope: Schema.String;
|
|
4584
5966
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -4676,7 +6058,7 @@ export declare const MaintainerClearMaintainer403: Schema.Union<readonly [Schema
|
|
|
4676
6058
|
readonly status: Schema.Number;
|
|
4677
6059
|
readonly detail: Schema.String;
|
|
4678
6060
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4679
|
-
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"]>;
|
|
6061
|
+
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", "library_mutation_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"]>;
|
|
4680
6062
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4681
6063
|
readonly requiredScope: Schema.String;
|
|
4682
6064
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -4698,7 +6080,7 @@ export declare const MaintainerClearMaintainer403: Schema.Union<readonly [Schema
|
|
|
4698
6080
|
readonly status: Schema.Number;
|
|
4699
6081
|
readonly detail: Schema.String;
|
|
4700
6082
|
readonly instance: Schema.optionalKey<Schema.String>;
|
|
4701
|
-
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"]>;
|
|
6083
|
+
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", "library_mutation_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"]>;
|
|
4702
6084
|
readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4703
6085
|
readonly requiredScope: Schema.String;
|
|
4704
6086
|
readonly grantedScopes: Schema.$Array<Schema.String>;
|
|
@@ -5284,6 +6666,70 @@ export interface RegistryClient {
|
|
|
5284
6666
|
readonly ExtensionsUnyankVersion: <Config extends OperationConfig>(owner: string, type: string, name: string, version: string, options: {
|
|
5285
6667
|
readonly config?: Config | undefined;
|
|
5286
6668
|
} | undefined) => Effect.Effect<WithOptionalResponse<typeof ExtensionsUnyankVersion200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsUnyankVersion400", typeof ExtensionsUnyankVersion400.Type> | RegistryClientError<"ExtensionsUnyankVersion401", typeof ExtensionsUnyankVersion401.Type> | RegistryClientError<"ExtensionsUnyankVersion403", typeof ExtensionsUnyankVersion403.Type> | RegistryClientError<"ExtensionsUnyankVersion404", typeof ExtensionsUnyankVersion404.Type>>;
|
|
6669
|
+
/**
|
|
6670
|
+
* List owner Libraries
|
|
6671
|
+
*/
|
|
6672
|
+
readonly LibrariesListLibraries: <Config extends OperationConfig>(owner: string, options: {
|
|
6673
|
+
readonly config?: Config | undefined;
|
|
6674
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof LibrariesListLibraries200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesListLibraries400", typeof LibrariesListLibraries400.Type> | RegistryClientError<"LibrariesListLibraries404", typeof LibrariesListLibraries404.Type>>;
|
|
6675
|
+
/**
|
|
6676
|
+
* Create a Library
|
|
6677
|
+
*/
|
|
6678
|
+
readonly LibrariesCreateLibrary: <Config extends OperationConfig>(owner: string, options: {
|
|
6679
|
+
readonly payload: typeof LibrariesCreateLibraryRequestJson.Encoded;
|
|
6680
|
+
readonly config?: Config | undefined;
|
|
6681
|
+
}) => Effect.Effect<WithOptionalResponse<typeof LibrariesCreateLibrary201.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesCreateLibrary400", typeof LibrariesCreateLibrary400.Type> | RegistryClientError<"LibrariesCreateLibrary401", typeof LibrariesCreateLibrary401.Type> | RegistryClientError<"LibrariesCreateLibrary403", typeof LibrariesCreateLibrary403.Type> | RegistryClientError<"LibrariesCreateLibrary404", typeof LibrariesCreateLibrary404.Type> | RegistryClientError<"LibrariesCreateLibrary409", typeof LibrariesCreateLibrary409.Type> | RegistryClientError<"LibrariesCreateLibrary422", typeof LibrariesCreateLibrary422.Type>>;
|
|
6682
|
+
/**
|
|
6683
|
+
* Get a Library
|
|
6684
|
+
*/
|
|
6685
|
+
readonly LibrariesGetLibrary: <Config extends OperationConfig>(owner: string, name: string, options: {
|
|
6686
|
+
readonly config?: Config | undefined;
|
|
6687
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof LibrariesGetLibrary200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesGetLibrary400", typeof LibrariesGetLibrary400.Type> | RegistryClientError<"LibrariesGetLibrary404", typeof LibrariesGetLibrary404.Type> | RegistryClientError<"LibrariesGetLibrary422", typeof LibrariesGetLibrary422.Type>>;
|
|
6688
|
+
/**
|
|
6689
|
+
* Delete a Library
|
|
6690
|
+
*/
|
|
6691
|
+
readonly LibrariesDeleteLibrary: <Config extends OperationConfig>(owner: string, name: string, options: {
|
|
6692
|
+
readonly config?: Config | undefined;
|
|
6693
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesDeleteLibrary400", typeof LibrariesDeleteLibrary400.Type> | RegistryClientError<"LibrariesDeleteLibrary401", typeof LibrariesDeleteLibrary401.Type> | RegistryClientError<"LibrariesDeleteLibrary403", typeof LibrariesDeleteLibrary403.Type> | RegistryClientError<"LibrariesDeleteLibrary404", typeof LibrariesDeleteLibrary404.Type> | RegistryClientError<"LibrariesDeleteLibrary422", typeof LibrariesDeleteLibrary422.Type>>;
|
|
6694
|
+
/**
|
|
6695
|
+
* Update a Library
|
|
6696
|
+
*/
|
|
6697
|
+
readonly LibrariesUpdateLibrary: <Config extends OperationConfig>(owner: string, name: string, options: {
|
|
6698
|
+
readonly payload: typeof LibrariesUpdateLibraryRequestJson.Encoded;
|
|
6699
|
+
readonly config?: Config | undefined;
|
|
6700
|
+
}) => Effect.Effect<WithOptionalResponse<typeof LibrariesUpdateLibrary200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesUpdateLibrary400", typeof LibrariesUpdateLibrary400.Type> | RegistryClientError<"LibrariesUpdateLibrary401", typeof LibrariesUpdateLibrary401.Type> | RegistryClientError<"LibrariesUpdateLibrary403", typeof LibrariesUpdateLibrary403.Type> | RegistryClientError<"LibrariesUpdateLibrary404", typeof LibrariesUpdateLibrary404.Type> | RegistryClientError<"LibrariesUpdateLibrary422", typeof LibrariesUpdateLibrary422.Type>>;
|
|
6701
|
+
/**
|
|
6702
|
+
* Set Library visibility
|
|
6703
|
+
*/
|
|
6704
|
+
readonly LibrariesSetLibraryVisibility: <Config extends OperationConfig>(owner: string, name: string, options: {
|
|
6705
|
+
readonly payload: typeof LibrariesSetLibraryVisibilityRequestJson.Encoded;
|
|
6706
|
+
readonly config?: Config | undefined;
|
|
6707
|
+
}) => Effect.Effect<WithOptionalResponse<typeof LibrariesSetLibraryVisibility200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesSetLibraryVisibility400", typeof LibrariesSetLibraryVisibility400.Type> | RegistryClientError<"LibrariesSetLibraryVisibility401", typeof LibrariesSetLibraryVisibility401.Type> | RegistryClientError<"LibrariesSetLibraryVisibility403", typeof LibrariesSetLibraryVisibility403.Type> | RegistryClientError<"LibrariesSetLibraryVisibility404", typeof LibrariesSetLibraryVisibility404.Type> | RegistryClientError<"LibrariesSetLibraryVisibility422", typeof LibrariesSetLibraryVisibility422.Type>>;
|
|
6708
|
+
/**
|
|
6709
|
+
* Set Library maintainer
|
|
6710
|
+
*/
|
|
6711
|
+
readonly LibrariesSetLibraryMaintainer: <Config extends OperationConfig>(owner: string, name: string, options: {
|
|
6712
|
+
readonly payload: typeof LibrariesSetLibraryMaintainerRequestJson.Encoded;
|
|
6713
|
+
readonly config?: Config | undefined;
|
|
6714
|
+
}) => Effect.Effect<WithOptionalResponse<typeof LibrariesSetLibraryMaintainer200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesSetLibraryMaintainer400", typeof LibrariesSetLibraryMaintainer400.Type> | RegistryClientError<"LibrariesSetLibraryMaintainer401", typeof LibrariesSetLibraryMaintainer401.Type> | RegistryClientError<"LibrariesSetLibraryMaintainer403", typeof LibrariesSetLibraryMaintainer403.Type> | RegistryClientError<"LibrariesSetLibraryMaintainer404", typeof LibrariesSetLibraryMaintainer404.Type> | RegistryClientError<"LibrariesSetLibraryMaintainer422", typeof LibrariesSetLibraryMaintainer422.Type>>;
|
|
6715
|
+
/**
|
|
6716
|
+
* Clear Library maintainer
|
|
6717
|
+
*/
|
|
6718
|
+
readonly LibrariesClearLibraryMaintainer: <Config extends OperationConfig>(owner: string, name: string, options: {
|
|
6719
|
+
readonly config?: Config | undefined;
|
|
6720
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof LibrariesClearLibraryMaintainer200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesClearLibraryMaintainer400", typeof LibrariesClearLibraryMaintainer400.Type> | RegistryClientError<"LibrariesClearLibraryMaintainer401", typeof LibrariesClearLibraryMaintainer401.Type> | RegistryClientError<"LibrariesClearLibraryMaintainer403", typeof LibrariesClearLibraryMaintainer403.Type> | RegistryClientError<"LibrariesClearLibraryMaintainer404", typeof LibrariesClearLibraryMaintainer404.Type> | RegistryClientError<"LibrariesClearLibraryMaintainer422", typeof LibrariesClearLibraryMaintainer422.Type>>;
|
|
6721
|
+
/**
|
|
6722
|
+
* Add a Library member
|
|
6723
|
+
*/
|
|
6724
|
+
readonly LibrariesAddLibraryMember: <Config extends OperationConfig>(owner: string, name: string, extensionOwner: string, extensionType: string, extensionName: string, options: {
|
|
6725
|
+
readonly config?: Config | undefined;
|
|
6726
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<typeof LibrariesAddLibraryMember200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesAddLibraryMember400", typeof LibrariesAddLibraryMember400.Type> | RegistryClientError<"LibrariesAddLibraryMember401", typeof LibrariesAddLibraryMember401.Type> | RegistryClientError<"LibrariesAddLibraryMember403", typeof LibrariesAddLibraryMember403.Type> | RegistryClientError<"LibrariesAddLibraryMember404", typeof LibrariesAddLibraryMember404.Type> | RegistryClientError<"LibrariesAddLibraryMember409", typeof LibrariesAddLibraryMember409.Type> | RegistryClientError<"LibrariesAddLibraryMember422", typeof LibrariesAddLibraryMember422.Type>>;
|
|
6727
|
+
/**
|
|
6728
|
+
* Remove a Library member
|
|
6729
|
+
*/
|
|
6730
|
+
readonly LibrariesRemoveLibraryMember: <Config extends OperationConfig>(owner: string, name: string, extensionOwner: string, extensionType: string, extensionName: string, options: {
|
|
6731
|
+
readonly config?: Config | undefined;
|
|
6732
|
+
} | undefined) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"LibrariesRemoveLibraryMember400", typeof LibrariesRemoveLibraryMember400.Type> | RegistryClientError<"LibrariesRemoveLibraryMember401", typeof LibrariesRemoveLibraryMember401.Type> | RegistryClientError<"LibrariesRemoveLibraryMember403", typeof LibrariesRemoveLibraryMember403.Type> | RegistryClientError<"LibrariesRemoveLibraryMember404", typeof LibrariesRemoveLibraryMember404.Type> | RegistryClientError<"LibrariesRemoveLibraryMember422", typeof LibrariesRemoveLibraryMember422.Type>>;
|
|
5287
6733
|
/**
|
|
5288
6734
|
* List extension collaborators
|
|
5289
6735
|
*/
|