@agentxm/client-core 0.20.0 → 0.21.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.
Files changed (138) hide show
  1. package/dist/src/unstable/cli/prompt/autocomplete-multiselect.d.ts +2 -0
  2. package/dist/src/unstable/cli/prompt/autocomplete-multiselect.d.ts.map +1 -1
  3. package/dist/src/unstable/cli/prompt/autocomplete-multiselect.js +8 -14
  4. package/dist/src/unstable/cli/prompt/autocomplete-multiselect.js.map +1 -1
  5. package/dist/src/unstable/cli-renderer/cli-renderer-interactive.d.ts.map +1 -1
  6. package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js +7 -0
  7. package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js.map +1 -1
  8. package/dist/src/unstable/cli-renderer/cli-renderer-machine.d.ts.map +1 -1
  9. package/dist/src/unstable/cli-renderer/cli-renderer-machine.js +2 -0
  10. package/dist/src/unstable/cli-renderer/cli-renderer-machine.js.map +1 -1
  11. package/dist/src/unstable/cli-renderer/cli-renderer-test.d.ts +1 -0
  12. package/dist/src/unstable/cli-renderer/cli-renderer-test.d.ts.map +1 -1
  13. package/dist/src/unstable/cli-renderer/cli-renderer-test.js +11 -0
  14. package/dist/src/unstable/cli-renderer/cli-renderer-test.js.map +1 -1
  15. package/dist/src/unstable/cli-renderer/cli-renderer.d.ts +4 -0
  16. package/dist/src/unstable/cli-renderer/cli-renderer.d.ts.map +1 -1
  17. package/dist/src/unstable/cli-renderer/cli-renderer.js.map +1 -1
  18. package/dist/src/unstable/commands/manager.d.ts.map +1 -1
  19. package/dist/src/unstable/commands/manager.js +1 -0
  20. package/dist/src/unstable/commands/manager.js.map +1 -1
  21. package/dist/src/unstable/extensions/operations.d.ts.map +1 -1
  22. package/dist/src/unstable/extensions/operations.js +9 -2
  23. package/dist/src/unstable/extensions/operations.js.map +1 -1
  24. package/dist/src/unstable/extensions/ref-base.d.ts +4 -0
  25. package/dist/src/unstable/extensions/ref-base.d.ts.map +1 -1
  26. package/dist/src/unstable/files/manager.d.ts.map +1 -1
  27. package/dist/src/unstable/files/manager.js +1 -0
  28. package/dist/src/unstable/files/manager.js.map +1 -1
  29. package/dist/src/unstable/hooks/manager.d.ts.map +1 -1
  30. package/dist/src/unstable/hooks/manager.js +1 -0
  31. package/dist/src/unstable/hooks/manager.js.map +1 -1
  32. package/dist/src/unstable/lint/catalog/workspace/packs-dependencies-resolved.d.ts +2 -0
  33. package/dist/src/unstable/lint/catalog/workspace/packs-dependencies-resolved.d.ts.map +1 -1
  34. package/dist/src/unstable/lint/catalog/workspace/packs-dependencies-resolved.js +4 -4
  35. package/dist/src/unstable/lint/catalog/workspace/packs-dependencies-resolved.js.map +1 -1
  36. package/dist/src/unstable/lockfile/lockfile.d.ts +16 -0
  37. package/dist/src/unstable/lockfile/lockfile.d.ts.map +1 -1
  38. package/dist/src/unstable/lockfile/schema.d.ts +25 -0
  39. package/dist/src/unstable/lockfile/schema.d.ts.map +1 -1
  40. package/dist/src/unstable/lockfile/schema.js +2 -0
  41. package/dist/src/unstable/lockfile/schema.js.map +1 -1
  42. package/dist/src/unstable/mcps/manager.d.ts.map +1 -1
  43. package/dist/src/unstable/mcps/manager.js +1 -0
  44. package/dist/src/unstable/mcps/manager.js.map +1 -1
  45. package/dist/src/unstable/mcps/operations/install.d.ts.map +1 -1
  46. package/dist/src/unstable/mcps/operations/install.js +1 -0
  47. package/dist/src/unstable/mcps/operations/install.js.map +1 -1
  48. package/dist/src/unstable/packs/manager.d.ts.map +1 -1
  49. package/dist/src/unstable/packs/manager.js +3 -0
  50. package/dist/src/unstable/packs/manager.js.map +1 -1
  51. package/dist/src/unstable/packs/operations/install.d.ts +1 -0
  52. package/dist/src/unstable/packs/operations/install.d.ts.map +1 -1
  53. package/dist/src/unstable/packs/operations/install.js +3 -0
  54. package/dist/src/unstable/packs/operations/install.js.map +1 -1
  55. package/dist/src/unstable/registry/__generated__/registry-client.d.ts +886 -1441
  56. package/dist/src/unstable/registry/__generated__/registry-client.d.ts.map +1 -1
  57. package/dist/src/unstable/registry/__generated__/registry-client.js +236 -224
  58. package/dist/src/unstable/registry/__generated__/registry-client.js.map +1 -1
  59. package/dist/src/unstable/registry/admin-client.d.ts +56 -28
  60. package/dist/src/unstable/registry/admin-client.d.ts.map +1 -1
  61. package/dist/src/unstable/registry/admin-client.js +46 -23
  62. package/dist/src/unstable/registry/admin-client.js.map +1 -1
  63. package/dist/src/unstable/registry/client.d.ts +5 -1
  64. package/dist/src/unstable/registry/client.d.ts.map +1 -1
  65. package/dist/src/unstable/registry/client.js.map +1 -1
  66. package/dist/src/unstable/registry/index.d.ts +3 -3
  67. package/dist/src/unstable/registry/index.d.ts.map +1 -1
  68. package/dist/src/unstable/registry/index.js +2 -2
  69. package/dist/src/unstable/registry/index.js.map +1 -1
  70. package/dist/src/unstable/registry/local-client.d.ts.map +1 -1
  71. package/dist/src/unstable/registry/local-client.js +3 -0
  72. package/dist/src/unstable/registry/local-client.js.map +1 -1
  73. package/dist/src/unstable/registry/remote-client.d.ts.map +1 -1
  74. package/dist/src/unstable/registry/remote-client.js +21 -10
  75. package/dist/src/unstable/registry/remote-client.js.map +1 -1
  76. package/dist/src/unstable/registry/schema.d.ts +10 -1
  77. package/dist/src/unstable/registry/schema.d.ts.map +1 -1
  78. package/dist/src/unstable/registry/schema.js +7 -1
  79. package/dist/src/unstable/registry/schema.js.map +1 -1
  80. package/dist/src/unstable/registry/utils.d.ts +2 -1
  81. package/dist/src/unstable/registry/utils.d.ts.map +1 -1
  82. package/dist/src/unstable/registry/utils.js +24 -5
  83. package/dist/src/unstable/registry/utils.js.map +1 -1
  84. package/dist/src/unstable/rules/manager.d.ts.map +1 -1
  85. package/dist/src/unstable/rules/manager.js +1 -0
  86. package/dist/src/unstable/rules/manager.js.map +1 -1
  87. package/dist/src/unstable/source-resolution/providers/registry/host-provider.d.ts.map +1 -1
  88. package/dist/src/unstable/source-resolution/providers/registry/host-provider.js +18 -2
  89. package/dist/src/unstable/source-resolution/providers/registry/host-provider.js.map +1 -1
  90. package/dist/src/unstable/sources/lock-entry-to-ref.d.ts.map +1 -1
  91. package/dist/src/unstable/sources/lock-entry-to-ref.js +3 -0
  92. package/dist/src/unstable/sources/lock-entry-to-ref.js.map +1 -1
  93. package/dist/src/unstable/sources/source-to-lock-entry.d.ts.map +1 -1
  94. package/dist/src/unstable/sources/source-to-lock-entry.js +3 -0
  95. package/dist/src/unstable/sources/source-to-lock-entry.js.map +1 -1
  96. package/dist/src/unstable/subagents/lock-entry-builder.d.ts.map +1 -1
  97. package/dist/src/unstable/subagents/lock-entry-builder.js +3 -0
  98. package/dist/src/unstable/subagents/lock-entry-builder.js.map +1 -1
  99. package/dist/src/unstable/workspace/index.d.ts +1 -0
  100. package/dist/src/unstable/workspace/index.d.ts.map +1 -1
  101. package/dist/src/unstable/workspace/index.js +1 -0
  102. package/dist/src/unstable/workspace/index.js.map +1 -1
  103. package/dist/src/unstable/workspace/initialization-interaction.d.ts.map +1 -1
  104. package/dist/src/unstable/workspace/initialization-interaction.js +16 -9
  105. package/dist/src/unstable/workspace/initialization-interaction.js.map +1 -1
  106. package/dist/src/unstable/workspace/read-model/extensions/ignore-patterns.d.ts +1 -0
  107. package/dist/src/unstable/workspace/read-model/extensions/ignore-patterns.d.ts.map +1 -1
  108. package/dist/src/unstable/workspace/read-model/extensions/ignore-patterns.js +4 -1
  109. package/dist/src/unstable/workspace/read-model/extensions/ignore-patterns.js.map +1 -1
  110. package/dist/src/unstable/workspace/read-model/extensions/index.d.ts +2 -0
  111. package/dist/src/unstable/workspace/read-model/extensions/index.d.ts.map +1 -1
  112. package/dist/src/unstable/workspace/read-model/extensions/index.js +2 -0
  113. package/dist/src/unstable/workspace/read-model/extensions/index.js.map +1 -1
  114. package/dist/src/unstable/workspace/read-model/extensions/inventory.d.ts +94 -0
  115. package/dist/src/unstable/workspace/read-model/extensions/inventory.d.ts.map +1 -0
  116. package/dist/src/unstable/workspace/read-model/extensions/inventory.js +152 -0
  117. package/dist/src/unstable/workspace/read-model/extensions/inventory.js.map +1 -0
  118. package/dist/src/unstable/workspace/read-model/service.d.ts +2 -0
  119. package/dist/src/unstable/workspace/read-model/service.d.ts.map +1 -1
  120. package/dist/src/unstable/workspace/read-model/service.js +1 -0
  121. package/dist/src/unstable/workspace/read-model/service.js.map +1 -1
  122. package/dist/src/unstable/workspace/read-model-record-readers.d.ts +5 -0
  123. package/dist/src/unstable/workspace/read-model-record-readers.d.ts.map +1 -1
  124. package/dist/src/unstable/workspace/read-model-record-readers.js +348 -1
  125. package/dist/src/unstable/workspace/read-model-record-readers.js.map +1 -1
  126. package/dist/src/unstable/workspace/service-interface.d.ts +9 -0
  127. package/dist/src/unstable/workspace/service-interface.d.ts.map +1 -1
  128. package/dist/src/unstable/workspace/service-interface.js.map +1 -1
  129. package/dist/src/unstable/workspace/service.d.ts +20 -0
  130. package/dist/src/unstable/workspace/service.d.ts.map +1 -1
  131. package/dist/src/unstable/workspace/service.js +4 -1
  132. package/dist/src/unstable/workspace/service.js.map +1 -1
  133. package/dist/src/unstable/workspace/test-stubs.d.ts +2 -0
  134. package/dist/src/unstable/workspace/test-stubs.d.ts.map +1 -1
  135. package/dist/src/unstable/workspace/test-stubs.js +10 -0
  136. package/dist/src/unstable/workspace/test-stubs.js.map +1 -1
  137. package/package.json +2 -2
  138. package/site-content/__generated__/schemas/axm-lock.schema.json +45 -0
@@ -264,11 +264,13 @@ export type VersionRange = string;
264
264
  export declare const VersionRange: Schema.String;
265
265
  export type PackageIdentityPurl = string;
266
266
  export declare const PackageIdentityPurl: Schema.String;
267
+ export type ExtensionDeletionOperationId = string;
268
+ export declare const ExtensionDeletionOperationId: Schema.String;
267
269
  export type PatchVisibilityBody = {
268
- readonly visibility: "public" | "internal" | "private";
270
+ readonly visibility: "public" | "private";
269
271
  };
270
272
  export declare const PatchVisibilityBody: Schema.Struct<{
271
- readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
273
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
272
274
  }>;
273
275
  export type ExtensionId = string;
274
276
  export declare const ExtensionId: Schema.String;
@@ -308,12 +310,44 @@ export declare const PublishIdentityMismatchEntry: Schema.Struct<{
308
310
  readonly urlPath: Schema.Union<readonly [Schema.String, Schema.Null]>;
309
311
  readonly content: Schema.Union<readonly [Schema.String, Schema.Null]>;
310
312
  }>;
313
+ export type YankVersionBody = {
314
+ readonly category?: "broken" | "security" | "accidental" | "other" | null;
315
+ readonly notice?: string | null;
316
+ };
317
+ export declare const YankVersionBody: Schema.Struct<{
318
+ readonly category: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["broken", "security", "accidental", "other"]>, Schema.Null]>>;
319
+ readonly notice: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
320
+ }>;
321
+ export type YankAvailableVersionsBody = {
322
+ readonly selection: "all-available";
323
+ readonly category?: "broken" | "security" | "accidental" | "other" | null;
324
+ readonly notice?: string | null;
325
+ };
326
+ export declare const YankAvailableVersionsBody: Schema.Struct<{
327
+ readonly selection: Schema.Literal<"all-available">;
328
+ readonly category: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["broken", "security", "accidental", "other"]>, Schema.Null]>>;
329
+ readonly notice: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
330
+ }>;
331
+ export type DeleteExtensionBody = {
332
+ readonly confirmation: string;
333
+ };
334
+ export declare const DeleteExtensionBody: Schema.Struct<{
335
+ readonly confirmation: Schema.String;
336
+ }>;
337
+ export type PurgeExtensionVersionBody = {
338
+ readonly reason: "malware" | "exposed_secret" | "legal" | "privacy" | "policy";
339
+ readonly confirmSharedDigest: boolean;
340
+ };
341
+ export declare const PurgeExtensionVersionBody: Schema.Struct<{
342
+ readonly reason: Schema.Literals<readonly ["malware", "exposed_secret", "legal", "privacy", "policy"]>;
343
+ readonly confirmSharedDigest: Schema.Boolean;
344
+ }>;
311
345
  export type LibraryId = string;
312
346
  export declare const LibraryId: Schema.String;
313
347
  export type LibraryName = string;
314
348
  export declare const LibraryName: Schema.String;
315
- export type LibraryVisibility = "public" | "internal" | "private";
316
- export declare const LibraryVisibility: Schema.Literals<readonly ["public", "internal", "private"]>;
349
+ export type LibraryVisibility = "public" | "private";
350
+ export declare const LibraryVisibility: Schema.Literals<readonly ["public", "private"]>;
317
351
  export type LibraryMemberId = string;
318
352
  export declare const LibraryMemberId: Schema.String;
319
353
  export type UpdateLibraryBody = {
@@ -324,18 +358,6 @@ export declare const UpdateLibraryBody: Schema.Struct<{
324
358
  readonly title: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
325
359
  readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
326
360
  }>;
327
- export type PutCollaboratorBody = {
328
- readonly role: "write" | "read";
329
- };
330
- export declare const PutCollaboratorBody: Schema.Struct<{
331
- readonly role: Schema.Literals<readonly ["write", "read"]>;
332
- }>;
333
- export type UpsertGrantBody = {
334
- readonly role: "read" | "write";
335
- };
336
- export declare const UpsertGrantBody: Schema.Struct<{
337
- readonly role: Schema.Literals<readonly ["read", "write"]>;
338
- }>;
339
361
  export type ExtensionFqn = string;
340
362
  export declare const ExtensionFqn: Schema.String;
341
363
  export type ProblemDetails = {
@@ -534,50 +556,6 @@ export declare const LibraryMaintainerTarget: Schema.Union<readonly [Schema.Stru
534
556
  readonly kind: Schema.Literal<"team">;
535
557
  readonly teamId: Schema.String;
536
558
  }>]>;
537
- export type ExtensionGrantEntry = {
538
- readonly subject: {
539
- readonly kind: "user";
540
- readonly userId: UserId;
541
- } | {
542
- readonly kind: "team";
543
- readonly teamId: TeamId;
544
- };
545
- readonly role: "read" | "write";
546
- readonly grantedBy: UserId | null;
547
- readonly createdAt: string;
548
- };
549
- export declare const ExtensionGrantEntry: Schema.Struct<{
550
- readonly subject: Schema.Union<readonly [Schema.Struct<{
551
- readonly kind: Schema.Literal<"user">;
552
- readonly userId: Schema.String;
553
- }>, Schema.Struct<{
554
- readonly kind: Schema.Literal<"team">;
555
- readonly teamId: Schema.String;
556
- }>]>;
557
- readonly role: Schema.Literals<readonly ["read", "write"]>;
558
- readonly grantedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
559
- readonly createdAt: Schema.String;
560
- }>;
561
- export type TeamGrant = {
562
- readonly teamId: TeamId;
563
- readonly role: "read" | "write";
564
- readonly grantedBy: string;
565
- readonly grantedAt: string;
566
- };
567
- export declare const TeamGrant: Schema.Struct<{
568
- readonly teamId: Schema.String;
569
- readonly role: Schema.Literals<readonly ["read", "write"]>;
570
- readonly grantedBy: Schema.String;
571
- readonly grantedAt: Schema.String;
572
- }>;
573
- export type UpsertTeamGrantBody = {
574
- readonly teamId: TeamId;
575
- readonly role: "read" | "write";
576
- };
577
- export declare const UpsertTeamGrantBody: Schema.Struct<{
578
- readonly teamId: Schema.String;
579
- readonly role: Schema.Literals<readonly ["read", "write"]>;
580
- }>;
581
559
  export type Maintainer = {
582
560
  readonly kind: "user";
583
561
  readonly userId: UserId;
@@ -666,6 +644,36 @@ export declare const PublishIdentity: Schema.Struct<{
666
644
  readonly name: Schema.String;
667
645
  readonly version: Schema.String;
668
646
  }>;
647
+ export type SharedDigestConfirmationRequiredHttpError = {
648
+ readonly kind: "SharedDigestConfirmationRequiredHttpError";
649
+ readonly type: string;
650
+ readonly title: string;
651
+ readonly status: number;
652
+ readonly detail: string;
653
+ readonly instance?: string;
654
+ readonly code: "shared_digest_confirmation_required";
655
+ readonly affectedCoordinates: ReadonlyArray<{
656
+ readonly owner: Handle;
657
+ readonly type: ExtensionType;
658
+ readonly name: ExtensionName;
659
+ readonly version: Version;
660
+ }>;
661
+ };
662
+ export declare const SharedDigestConfirmationRequiredHttpError: Schema.Struct<{
663
+ readonly kind: Schema.Literal<"SharedDigestConfirmationRequiredHttpError">;
664
+ readonly type: Schema.String;
665
+ readonly title: Schema.String;
666
+ readonly status: Schema.Number;
667
+ readonly detail: Schema.String;
668
+ readonly instance: Schema.optionalKey<Schema.String>;
669
+ readonly code: Schema.Literal<"shared_digest_confirmation_required">;
670
+ readonly affectedCoordinates: Schema.$Array<Schema.Struct<{
671
+ readonly owner: Schema.String;
672
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
673
+ readonly name: Schema.String;
674
+ readonly version: Schema.String;
675
+ }>>;
676
+ }>;
669
677
  export type SearchHit = {
670
678
  readonly name: ExtensionName;
671
679
  readonly owner: Handle;
@@ -740,13 +748,13 @@ export declare const CreateLibraryBody: Schema.Struct<{
740
748
  readonly name: Schema.String;
741
749
  readonly title: Schema.String;
742
750
  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]>>;
751
+ readonly visibility: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["public", "private"]>, Schema.Null]>>;
744
752
  }>;
745
753
  export type PatchLibraryVisibilityBody = {
746
754
  readonly visibility: LibraryVisibility;
747
755
  };
748
756
  export declare const PatchLibraryVisibilityBody: Schema.Struct<{
749
- readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
757
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
750
758
  }>;
751
759
  export type LibraryMember = {
752
760
  readonly id: LibraryMemberId;
@@ -826,7 +834,7 @@ export declare const Library: Schema.Struct<{
826
834
  readonly name: Schema.String;
827
835
  readonly title: Schema.String;
828
836
  readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
829
- readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
837
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
830
838
  readonly maintainer: Schema.Union<readonly [Schema.Struct<{
831
839
  readonly kind: Schema.Literal<"user">;
832
840
  readonly userId: Schema.String;
@@ -862,7 +870,7 @@ export declare const CreatedLibrary: Schema.Struct<{
862
870
  readonly name: Schema.String;
863
871
  readonly title: Schema.String;
864
872
  readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
865
- readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
873
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
866
874
  readonly maintainer: Schema.Union<readonly [Schema.Struct<{
867
875
  readonly kind: Schema.Literal<"user">;
868
876
  readonly userId: Schema.String;
@@ -881,23 +889,6 @@ export declare const CreatedLibrary: Schema.Struct<{
881
889
  readonly createdAt: Schema.String;
882
890
  readonly updatedAt: Schema.String;
883
891
  }>;
884
- export type ExtensionGrantsResponse = {
885
- readonly grants: ReadonlyArray<ExtensionGrantEntry>;
886
- };
887
- export declare const ExtensionGrantsResponse: Schema.Struct<{
888
- readonly grants: Schema.$Array<Schema.Struct<{
889
- readonly subject: Schema.Union<readonly [Schema.Struct<{
890
- readonly kind: Schema.Literal<"user">;
891
- readonly userId: Schema.String;
892
- }>, Schema.Struct<{
893
- readonly kind: Schema.Literal<"team">;
894
- readonly teamId: Schema.String;
895
- }>]>;
896
- readonly role: Schema.Literals<readonly ["read", "write"]>;
897
- readonly grantedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
898
- readonly createdAt: Schema.String;
899
- }>>;
900
- }>;
901
892
  export type TeamList = {
902
893
  readonly items: ReadonlyArray<Team>;
903
894
  readonly nextCursor: string | null;
@@ -1047,7 +1038,7 @@ export declare const LibraryDetail: Schema.Struct<{
1047
1038
  readonly name: Schema.String;
1048
1039
  readonly title: Schema.String;
1049
1040
  readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
1050
- readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
1041
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
1051
1042
  readonly maintainer: Schema.Union<readonly [Schema.Struct<{
1052
1043
  readonly kind: Schema.Literal<"user">;
1053
1044
  readonly userId: Schema.String;
@@ -2461,6 +2452,7 @@ export type ExtensionsGet200 = {
2461
2452
  readonly name: ExtensionName;
2462
2453
  readonly owner: Handle;
2463
2454
  readonly type: ExtensionType;
2455
+ readonly publisher_binding_id?: string;
2464
2456
  readonly description?: string | null;
2465
2457
  readonly repository?: Repository | null;
2466
2458
  readonly bugs?: Bugs | null;
@@ -2475,8 +2467,10 @@ export type ExtensionsGet200 = {
2475
2467
  } | null;
2476
2468
  readonly packages?: ReadonlyArray<CompanionPackage> | null;
2477
2469
  readonly yanked_at?: IsoDateTimeString | null;
2470
+ readonly yank_category?: string | null;
2471
+ readonly yank_notice?: string | null;
2478
2472
  }>;
2479
- readonly visibility?: "public" | "internal" | "private" | null;
2473
+ readonly visibility?: "public" | "private" | null;
2480
2474
  readonly deprecated_at?: IsoDateTimeString | null;
2481
2475
  readonly deprecation_notice?: string | null;
2482
2476
  };
@@ -2484,6 +2478,7 @@ export declare const ExtensionsGet200: Schema.Struct<{
2484
2478
  readonly name: Schema.String;
2485
2479
  readonly owner: Schema.String;
2486
2480
  readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
2481
+ readonly publisher_binding_id: Schema.optionalKey<Schema.String>;
2487
2482
  readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2488
2483
  readonly repository: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2489
2484
  readonly url: Schema.String;
@@ -2510,8 +2505,10 @@ export declare const ExtensionsGet200: Schema.Struct<{
2510
2505
  readonly versionRange: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2511
2506
  }>>, Schema.Null]>>;
2512
2507
  readonly yanked_at: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2508
+ readonly yank_category: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2509
+ readonly yank_notice: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2513
2510
  }>>;
2514
- readonly visibility: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["public", "internal", "private"]>, Schema.Null]>>;
2511
+ readonly visibility: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["public", "private"]>, Schema.Null]>>;
2515
2512
  readonly deprecated_at: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2516
2513
  readonly deprecation_notice: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2517
2514
  }>;
@@ -2541,9 +2538,163 @@ export declare const ExtensionsGet404: Schema.Struct<{
2541
2538
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2542
2539
  }>>;
2543
2540
  }>;
2541
+ export type ExtensionsDeleteExtensionRequestJson = DeleteExtensionBody;
2542
+ export declare const ExtensionsDeleteExtensionRequestJson: Schema.Struct<{
2543
+ readonly confirmation: Schema.String;
2544
+ }>;
2545
+ export type ExtensionsDeleteExtension202 = {
2546
+ readonly operationId: ExtensionDeletionOperationId;
2547
+ readonly state: "pending";
2548
+ readonly requiredConfirmation: string;
2549
+ readonly warnings: {
2550
+ readonly versions: ReadonlyArray<string>;
2551
+ readonly dependentPackCount: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
2552
+ readonly libraryMembershipCount: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
2553
+ readonly downloadCount: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN" | null;
2554
+ };
2555
+ };
2556
+ export declare const ExtensionsDeleteExtension202: Schema.Struct<{
2557
+ readonly operationId: Schema.String;
2558
+ readonly state: Schema.Literal<"pending">;
2559
+ readonly requiredConfirmation: Schema.String;
2560
+ readonly warnings: Schema.Struct<{
2561
+ readonly versions: Schema.$Array<Schema.String>;
2562
+ readonly dependentPackCount: Schema.Union<readonly [Schema.Union<readonly [Schema.Number, Schema.Literal<"NaN">, Schema.Literal<"Infinity">, Schema.Literal<"-Infinity">]>, Schema.Literals<readonly ["Infinity", "-Infinity", "NaN"]>]>;
2563
+ readonly libraryMembershipCount: Schema.Union<readonly [Schema.Union<readonly [Schema.Number, Schema.Literal<"NaN">, Schema.Literal<"Infinity">, Schema.Literal<"-Infinity">]>, Schema.Literals<readonly ["Infinity", "-Infinity", "NaN"]>]>;
2564
+ readonly downloadCount: Schema.Union<readonly [Schema.Union<readonly [Schema.Union<readonly [Schema.Number, Schema.Literal<"NaN">, Schema.Literal<"Infinity">, Schema.Literal<"-Infinity">]>, Schema.Literals<readonly ["Infinity", "-Infinity", "NaN"]>]>, Schema.Null]>;
2565
+ }>;
2566
+ }>;
2567
+ export type ExtensionsDeleteExtension400 = ProblemDetails | DecodeErrorResponse;
2568
+ export declare const ExtensionsDeleteExtension400: Schema.Union<readonly [Schema.Struct<{
2569
+ readonly type: Schema.String;
2570
+ readonly title: Schema.String;
2571
+ readonly status: Schema.Number;
2572
+ readonly detail: Schema.String;
2573
+ readonly instance: Schema.optionalKey<Schema.String>;
2574
+ readonly code: Schema.String;
2575
+ readonly details: Schema.optionalKey<Schema.Struct<{
2576
+ readonly retryable: Schema.Boolean;
2577
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
2578
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
2579
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
2580
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2581
+ }>>;
2582
+ }>, Schema.Struct<{
2583
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
2584
+ readonly type: Schema.String;
2585
+ readonly title: Schema.String;
2586
+ readonly status: Schema.Number;
2587
+ readonly detail: Schema.String;
2588
+ readonly instance: Schema.optionalKey<Schema.String>;
2589
+ readonly code: Schema.String;
2590
+ }>]>;
2591
+ export type ExtensionsDeleteExtension401 = StepUpRequiredError | ProblemDetails;
2592
+ export declare const ExtensionsDeleteExtension401: Schema.Union<readonly [Schema.Struct<{
2593
+ readonly kind: Schema.Literal<"StepUpRequiredError">;
2594
+ readonly type: Schema.String;
2595
+ readonly title: Schema.String;
2596
+ readonly status: Schema.Number;
2597
+ readonly detail: Schema.String;
2598
+ readonly instance: Schema.optionalKey<Schema.String>;
2599
+ readonly code: Schema.Literal<"eotp">;
2600
+ readonly authUrl: Schema.String;
2601
+ readonly doneUrl: Schema.String;
2602
+ }>, Schema.Struct<{
2603
+ readonly type: Schema.String;
2604
+ readonly title: Schema.String;
2605
+ readonly status: Schema.Number;
2606
+ readonly detail: Schema.String;
2607
+ readonly instance: Schema.optionalKey<Schema.String>;
2608
+ readonly code: Schema.String;
2609
+ readonly details: Schema.optionalKey<Schema.Struct<{
2610
+ readonly retryable: Schema.Boolean;
2611
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
2612
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
2613
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
2614
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2615
+ }>>;
2616
+ }>]>;
2617
+ export type ExtensionsDeleteExtension403 = ForbiddenError | ForbiddenError;
2618
+ export declare const ExtensionsDeleteExtension403: Schema.Union<readonly [Schema.Struct<{
2619
+ readonly kind: Schema.Literal<"ForbiddenError">;
2620
+ readonly type: Schema.String;
2621
+ readonly title: Schema.String;
2622
+ readonly status: Schema.Number;
2623
+ readonly detail: Schema.String;
2624
+ readonly instance: Schema.optionalKey<Schema.String>;
2625
+ 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"]>;
2626
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2627
+ readonly requiredScope: Schema.String;
2628
+ readonly grantedScopes: Schema.$Array<Schema.String>;
2629
+ }>, Schema.Struct<{
2630
+ readonly requiredScope: Schema.String;
2631
+ readonly tokenScopes: Schema.$Array<Schema.String>;
2632
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
2633
+ }>, Schema.Struct<{
2634
+ readonly retryable: Schema.Boolean;
2635
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
2636
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
2637
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
2638
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2639
+ }>]>>;
2640
+ }>, Schema.Struct<{
2641
+ readonly kind: Schema.Literal<"ForbiddenError">;
2642
+ readonly type: Schema.String;
2643
+ readonly title: Schema.String;
2644
+ readonly status: Schema.Number;
2645
+ readonly detail: Schema.String;
2646
+ readonly instance: Schema.optionalKey<Schema.String>;
2647
+ 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"]>;
2648
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2649
+ readonly requiredScope: Schema.String;
2650
+ readonly grantedScopes: Schema.$Array<Schema.String>;
2651
+ }>, Schema.Struct<{
2652
+ readonly requiredScope: Schema.String;
2653
+ readonly tokenScopes: Schema.$Array<Schema.String>;
2654
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
2655
+ }>, Schema.Struct<{
2656
+ readonly retryable: Schema.Boolean;
2657
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
2658
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
2659
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
2660
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2661
+ }>]>>;
2662
+ }>]>;
2663
+ export type ExtensionsDeleteExtension404 = ProblemDetails;
2664
+ export declare const ExtensionsDeleteExtension404: Schema.Struct<{
2665
+ readonly type: Schema.String;
2666
+ readonly title: Schema.String;
2667
+ readonly status: Schema.Number;
2668
+ readonly detail: Schema.String;
2669
+ readonly instance: Schema.optionalKey<Schema.String>;
2670
+ readonly code: Schema.String;
2671
+ readonly details: Schema.optionalKey<Schema.Struct<{
2672
+ readonly retryable: Schema.Boolean;
2673
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
2674
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
2675
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
2676
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2677
+ }>>;
2678
+ }>;
2679
+ export type ExtensionsDeleteExtension409 = ProblemDetails;
2680
+ export declare const ExtensionsDeleteExtension409: Schema.Struct<{
2681
+ readonly type: Schema.String;
2682
+ readonly title: Schema.String;
2683
+ readonly status: Schema.Number;
2684
+ readonly detail: Schema.String;
2685
+ readonly instance: Schema.optionalKey<Schema.String>;
2686
+ readonly code: Schema.String;
2687
+ readonly details: Schema.optionalKey<Schema.Struct<{
2688
+ readonly retryable: Schema.Boolean;
2689
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
2690
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
2691
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
2692
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2693
+ }>>;
2694
+ }>;
2544
2695
  export type ExtensionsUpdateVisibilityRequestJson = PatchVisibilityBody;
2545
2696
  export declare const ExtensionsUpdateVisibilityRequestJson: Schema.Struct<{
2546
- readonly visibility: Schema.Literals<readonly ["public", "internal", "private"]>;
2697
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
2547
2698
  }>;
2548
2699
  export type ExtensionsUpdateVisibility200 = {
2549
2700
  readonly id: ExtensionId;
@@ -2667,26 +2818,11 @@ export declare const ExtensionsUpdateVisibility404: Schema.Struct<{
2667
2818
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2668
2819
  }>>;
2669
2820
  }>;
2670
- export type ExtensionsUpdateVisibility422 = ProblemDetails;
2671
- export declare const ExtensionsUpdateVisibility422: Schema.Struct<{
2672
- readonly type: Schema.String;
2673
- readonly title: Schema.String;
2674
- readonly status: Schema.Number;
2675
- readonly detail: Schema.String;
2676
- readonly instance: Schema.optionalKey<Schema.String>;
2677
- readonly code: Schema.String;
2678
- readonly details: Schema.optionalKey<Schema.Struct<{
2679
- readonly retryable: Schema.Boolean;
2680
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
2681
- readonly requiredScope: Schema.optionalKey<Schema.String>;
2682
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
2683
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2684
- }>>;
2685
- }>;
2686
2821
  export type ExtensionsGetVersion200 = {
2687
2822
  readonly name: ExtensionName;
2688
2823
  readonly owner: Handle;
2689
2824
  readonly type: ExtensionType;
2825
+ readonly publisher_binding_id?: string;
2690
2826
  readonly version: Version;
2691
2827
  readonly status: "pending" | "available" | "failed";
2692
2828
  readonly published: IsoDateTimeString;
@@ -2701,12 +2837,14 @@ export type ExtensionsGetVersion200 = {
2701
2837
  } | null;
2702
2838
  readonly packages?: ReadonlyArray<CompanionPackage> | null;
2703
2839
  readonly yanked_at?: IsoDateTimeString | null;
2704
- readonly deleted_at?: IsoDateTimeString | null;
2840
+ readonly yank_category?: string | null;
2841
+ readonly yank_notice?: string | null;
2705
2842
  };
2706
2843
  export declare const ExtensionsGetVersion200: Schema.Struct<{
2707
2844
  readonly name: Schema.String;
2708
2845
  readonly owner: Schema.String;
2709
2846
  readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
2847
+ readonly publisher_binding_id: Schema.optionalKey<Schema.String>;
2710
2848
  readonly version: Schema.String;
2711
2849
  readonly status: Schema.Literals<readonly ["pending", "available", "failed"]>;
2712
2850
  readonly published: Schema.String;
@@ -2733,7 +2871,8 @@ export declare const ExtensionsGetVersion200: Schema.Struct<{
2733
2871
  readonly versionRange: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2734
2872
  }>>, Schema.Null]>>;
2735
2873
  readonly yanked_at: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2736
- readonly deleted_at: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2874
+ readonly yank_category: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2875
+ readonly yank_notice: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2737
2876
  }>;
2738
2877
  export type ExtensionsGetVersion400 = DecodeErrorResponse;
2739
2878
  export declare const ExtensionsGetVersion400: Schema.Struct<{
@@ -2761,6 +2900,22 @@ export declare const ExtensionsGetVersion404: Schema.Struct<{
2761
2900
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2762
2901
  }>>;
2763
2902
  }>;
2903
+ export type ExtensionsGetVersion410 = ProblemDetails;
2904
+ export declare const ExtensionsGetVersion410: Schema.Struct<{
2905
+ readonly type: Schema.String;
2906
+ readonly title: Schema.String;
2907
+ readonly status: Schema.Number;
2908
+ readonly detail: Schema.String;
2909
+ readonly instance: Schema.optionalKey<Schema.String>;
2910
+ readonly code: Schema.String;
2911
+ readonly details: Schema.optionalKey<Schema.Struct<{
2912
+ readonly retryable: Schema.Boolean;
2913
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
2914
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
2915
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
2916
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2917
+ }>>;
2918
+ }>;
2764
2919
  export type ExtensionsPublishVersionRequestFormData = {
2765
2920
  readonly archive: string;
2766
2921
  readonly integrity?: string | null;
@@ -3058,8 +3213,32 @@ export declare const ExtensionsPublishVersion503: Schema.Struct<{
3058
3213
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3059
3214
  }>>;
3060
3215
  }>;
3061
- export type ExtensionsDeleteVersion400 = DecodeErrorResponse;
3062
- export declare const ExtensionsDeleteVersion400: Schema.Struct<{
3216
+ export type ExtensionsGetDeletionOperation200 = {
3217
+ readonly id: ExtensionDeletionOperationId;
3218
+ readonly owner: Handle;
3219
+ readonly type: ExtensionType;
3220
+ readonly name: ExtensionName;
3221
+ readonly state: "pending" | "dispatching" | "completed" | "failed";
3222
+ readonly requestedAt: string;
3223
+ readonly completedAt: string | null;
3224
+ readonly nameReclaimableAt: string | null;
3225
+ readonly failureCode: string | null;
3226
+ readonly failureDetail: string | null;
3227
+ };
3228
+ export declare const ExtensionsGetDeletionOperation200: Schema.Struct<{
3229
+ readonly id: Schema.String;
3230
+ readonly owner: Schema.String;
3231
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
3232
+ readonly name: Schema.String;
3233
+ readonly state: Schema.Literals<readonly ["pending", "dispatching", "completed", "failed"]>;
3234
+ readonly requestedAt: Schema.String;
3235
+ readonly completedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3236
+ readonly nameReclaimableAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3237
+ readonly failureCode: Schema.Union<readonly [Schema.String, Schema.Null]>;
3238
+ readonly failureDetail: Schema.Union<readonly [Schema.String, Schema.Null]>;
3239
+ }>;
3240
+ export type ExtensionsGetDeletionOperation400 = DecodeErrorResponse;
3241
+ export declare const ExtensionsGetDeletionOperation400: Schema.Struct<{
3063
3242
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
3064
3243
  readonly type: Schema.String;
3065
3244
  readonly title: Schema.String;
@@ -3068,8 +3247,8 @@ export declare const ExtensionsDeleteVersion400: Schema.Struct<{
3068
3247
  readonly instance: Schema.optionalKey<Schema.String>;
3069
3248
  readonly code: Schema.String;
3070
3249
  }>;
3071
- export type ExtensionsDeleteVersion401 = ProblemDetails;
3072
- export declare const ExtensionsDeleteVersion401: Schema.Struct<{
3250
+ export type ExtensionsGetDeletionOperation401 = ProblemDetails;
3251
+ export declare const ExtensionsGetDeletionOperation401: Schema.Struct<{
3073
3252
  readonly type: Schema.String;
3074
3253
  readonly title: Schema.String;
3075
3254
  readonly status: Schema.Number;
@@ -3084,8 +3263,8 @@ export declare const ExtensionsDeleteVersion401: Schema.Struct<{
3084
3263
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3085
3264
  }>>;
3086
3265
  }>;
3087
- export type ExtensionsDeleteVersion403 = ForbiddenError;
3088
- export declare const ExtensionsDeleteVersion403: Schema.Struct<{
3266
+ export type ExtensionsGetDeletionOperation403 = ForbiddenError | ForbiddenError;
3267
+ export declare const ExtensionsGetDeletionOperation403: Schema.Union<readonly [Schema.Struct<{
3089
3268
  readonly kind: Schema.Literal<"ForbiddenError">;
3090
3269
  readonly type: Schema.String;
3091
3270
  readonly title: Schema.String;
@@ -3107,9 +3286,31 @@ export declare const ExtensionsDeleteVersion403: Schema.Struct<{
3107
3286
  readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3108
3287
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3109
3288
  }>]>>;
3110
- }>;
3111
- export type ExtensionsDeleteVersion404 = ProblemDetails;
3112
- export declare const ExtensionsDeleteVersion404: Schema.Struct<{
3289
+ }>, Schema.Struct<{
3290
+ readonly kind: Schema.Literal<"ForbiddenError">;
3291
+ readonly type: Schema.String;
3292
+ readonly title: Schema.String;
3293
+ readonly status: Schema.Number;
3294
+ readonly detail: Schema.String;
3295
+ readonly instance: Schema.optionalKey<Schema.String>;
3296
+ 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"]>;
3297
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3298
+ readonly requiredScope: Schema.String;
3299
+ readonly grantedScopes: Schema.$Array<Schema.String>;
3300
+ }>, Schema.Struct<{
3301
+ readonly requiredScope: Schema.String;
3302
+ readonly tokenScopes: Schema.$Array<Schema.String>;
3303
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
3304
+ }>, Schema.Struct<{
3305
+ readonly retryable: Schema.Boolean;
3306
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3307
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
3308
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3309
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3310
+ }>]>>;
3311
+ }>]>;
3312
+ export type ExtensionsGetDeletionOperation404 = ProblemDetails;
3313
+ export declare const ExtensionsGetDeletionOperation404: Schema.Struct<{
3113
3314
  readonly type: Schema.String;
3114
3315
  readonly title: Schema.String;
3115
3316
  readonly status: Schema.Number;
@@ -3150,8 +3351,8 @@ export declare const ExtensionsDownloadArchive404: Schema.Struct<{
3150
3351
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3151
3352
  }>>;
3152
3353
  }>;
3153
- export type ExtensionsDownloadArchive500 = ProblemDetails;
3154
- export declare const ExtensionsDownloadArchive500: Schema.Struct<{
3354
+ export type ExtensionsDownloadArchive410 = ProblemDetails;
3355
+ export declare const ExtensionsDownloadArchive410: Schema.Struct<{
3155
3356
  readonly type: Schema.String;
3156
3357
  readonly title: Schema.String;
3157
3358
  readonly status: Schema.Number;
@@ -3166,10 +3367,26 @@ export declare const ExtensionsDownloadArchive500: Schema.Struct<{
3166
3367
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3167
3368
  }>>;
3168
3369
  }>;
3169
- export type ExtensionsDeprecateRequestJson = DeprecateBody;
3170
- export declare const ExtensionsDeprecateRequestJson: Schema.Struct<{
3171
- readonly notice: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3172
- }>;
3370
+ export type ExtensionsDownloadArchive500 = ProblemDetails;
3371
+ export declare const ExtensionsDownloadArchive500: Schema.Struct<{
3372
+ readonly type: Schema.String;
3373
+ readonly title: Schema.String;
3374
+ readonly status: Schema.Number;
3375
+ readonly detail: Schema.String;
3376
+ readonly instance: Schema.optionalKey<Schema.String>;
3377
+ readonly code: Schema.String;
3378
+ readonly details: Schema.optionalKey<Schema.Struct<{
3379
+ readonly retryable: Schema.Boolean;
3380
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3381
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
3382
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3383
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3384
+ }>>;
3385
+ }>;
3386
+ export type ExtensionsDeprecateRequestJson = DeprecateBody;
3387
+ export declare const ExtensionsDeprecateRequestJson: Schema.Struct<{
3388
+ readonly notice: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3389
+ }>;
3173
3390
  export type ExtensionsDeprecate200 = {
3174
3391
  readonly owner: Handle;
3175
3392
  readonly type: ExtensionType;
@@ -3330,12 +3547,19 @@ export declare const ExtensionsUndeprecate404: Schema.Struct<{
3330
3547
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3331
3548
  }>>;
3332
3549
  }>;
3550
+ export type ExtensionsYankVersionRequestJson = YankVersionBody;
3551
+ export declare const ExtensionsYankVersionRequestJson: Schema.Struct<{
3552
+ readonly category: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["broken", "security", "accidental", "other"]>, Schema.Null]>>;
3553
+ readonly notice: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3554
+ }>;
3333
3555
  export type ExtensionsYankVersion200 = {
3334
3556
  readonly owner: Handle;
3335
3557
  readonly type: ExtensionType;
3336
3558
  readonly name: ExtensionName;
3337
3559
  readonly version: Version;
3338
3560
  readonly yankedAt: IsoDateTimeString | null;
3561
+ readonly yankCategory: string | null;
3562
+ readonly yankNotice: string | null;
3339
3563
  readonly links: ExtensionLinks;
3340
3564
  };
3341
3565
  export declare const ExtensionsYankVersion200: Schema.Struct<{
@@ -3344,6 +3568,8 @@ export declare const ExtensionsYankVersion200: Schema.Struct<{
3344
3568
  readonly name: Schema.String;
3345
3569
  readonly version: Schema.String;
3346
3570
  readonly yankedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3571
+ readonly yankCategory: Schema.Union<readonly [Schema.String, Schema.Null]>;
3572
+ readonly yankNotice: Schema.Union<readonly [Schema.String, Schema.Null]>;
3347
3573
  readonly links: Schema.Struct<{
3348
3574
  readonly html: Schema.String;
3349
3575
  }>;
@@ -3430,6 +3656,8 @@ export type ExtensionsUnyankVersion200 = {
3430
3656
  readonly name: ExtensionName;
3431
3657
  readonly version: Version;
3432
3658
  readonly yankedAt: null;
3659
+ readonly yankCategory: null;
3660
+ readonly yankNotice: null;
3433
3661
  readonly links: ExtensionLinks;
3434
3662
  };
3435
3663
  export declare const ExtensionsUnyankVersion200: Schema.Struct<{
@@ -3438,6 +3666,8 @@ export declare const ExtensionsUnyankVersion200: Schema.Struct<{
3438
3666
  readonly name: Schema.String;
3439
3667
  readonly version: Schema.String;
3440
3668
  readonly yankedAt: Schema.Null;
3669
+ readonly yankCategory: Schema.Null;
3670
+ readonly yankNotice: Schema.Null;
3441
3671
  readonly links: Schema.Struct<{
3442
3672
  readonly html: Schema.String;
3443
3673
  }>;
@@ -3518,38 +3748,24 @@ export declare const ExtensionsUnyankVersion404: Schema.Struct<{
3518
3748
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3519
3749
  }>>;
3520
3750
  }>;
3521
- export type LibrariesListLibraries200 = {
3522
- readonly libraries: ReadonlyArray<Library>;
3751
+ export type ExtensionsYankAvailableVersionsRequestJson = YankAvailableVersionsBody;
3752
+ export declare const ExtensionsYankAvailableVersionsRequestJson: Schema.Struct<{
3753
+ readonly selection: Schema.Literal<"all-available">;
3754
+ readonly category: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["broken", "security", "accidental", "other"]>, Schema.Null]>>;
3755
+ readonly notice: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3756
+ }>;
3757
+ export type ExtensionsYankAvailableVersions200 = {
3758
+ readonly selection: "all-available";
3759
+ readonly affectedVersions: ReadonlyArray<Version>;
3760
+ readonly futureVersionsAffected: false;
3523
3761
  };
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
- }>]>;
3547
- readonly createdAt: Schema.String;
3548
- readonly updatedAt: Schema.String;
3549
- }>>;
3762
+ export declare const ExtensionsYankAvailableVersions200: Schema.Struct<{
3763
+ readonly selection: Schema.Literal<"all-available">;
3764
+ readonly affectedVersions: Schema.$Array<Schema.String>;
3765
+ readonly futureVersionsAffected: Schema.Literal<false>;
3550
3766
  }>;
3551
- export type LibrariesListLibraries400 = DecodeErrorResponse;
3552
- export declare const LibrariesListLibraries400: Schema.Struct<{
3767
+ export type ExtensionsYankAvailableVersions400 = DecodeErrorResponse;
3768
+ export declare const ExtensionsYankAvailableVersions400: Schema.Struct<{
3553
3769
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
3554
3770
  readonly type: Schema.String;
3555
3771
  readonly title: Schema.String;
@@ -3558,8 +3774,18 @@ export declare const LibrariesListLibraries400: Schema.Struct<{
3558
3774
  readonly instance: Schema.optionalKey<Schema.String>;
3559
3775
  readonly code: Schema.String;
3560
3776
  }>;
3561
- export type LibrariesListLibraries404 = ProblemDetails;
3562
- export declare const LibrariesListLibraries404: Schema.Struct<{
3777
+ export type ExtensionsYankAvailableVersions401 = StepUpRequiredError | ProblemDetails;
3778
+ export declare const ExtensionsYankAvailableVersions401: Schema.Union<readonly [Schema.Struct<{
3779
+ readonly kind: Schema.Literal<"StepUpRequiredError">;
3780
+ readonly type: Schema.String;
3781
+ readonly title: Schema.String;
3782
+ readonly status: Schema.Number;
3783
+ readonly detail: Schema.String;
3784
+ readonly instance: Schema.optionalKey<Schema.String>;
3785
+ readonly code: Schema.Literal<"eotp">;
3786
+ readonly authUrl: Schema.String;
3787
+ readonly doneUrl: Schema.String;
3788
+ }>, Schema.Struct<{
3563
3789
  readonly type: Schema.String;
3564
3790
  readonly title: Schema.String;
3565
3791
  readonly status: Schema.Number;
@@ -3573,42 +3799,33 @@ export declare const LibrariesListLibraries404: Schema.Struct<{
3573
3799
  readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3574
3800
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3575
3801
  }>>;
3576
- }>;
3577
- export type LibrariesCreateLibraryRequestJson = CreateLibraryBody;
3578
- export declare const LibrariesCreateLibraryRequestJson: Schema.Struct<{
3579
- readonly name: Schema.String;
3580
- readonly title: 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;
3802
+ }>]>;
3803
+ export type ExtensionsYankAvailableVersions403 = ForbiddenError;
3804
+ export declare const ExtensionsYankAvailableVersions403: Schema.Struct<{
3805
+ readonly kind: Schema.Literal<"ForbiddenError">;
3806
+ readonly type: Schema.String;
3589
3807
  readonly title: Schema.String;
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]>;
3808
+ readonly status: Schema.Number;
3809
+ readonly detail: Schema.String;
3810
+ readonly instance: Schema.optionalKey<Schema.String>;
3811
+ 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"]>;
3812
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3813
+ readonly requiredScope: Schema.String;
3814
+ readonly grantedScopes: Schema.$Array<Schema.String>;
3597
3815
  }>, Schema.Struct<{
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]>;
3816
+ readonly requiredScope: Schema.String;
3817
+ readonly tokenScopes: Schema.$Array<Schema.String>;
3818
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
3602
3819
  }>, Schema.Struct<{
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
- }>]>;
3607
- readonly createdAt: Schema.String;
3608
- readonly updatedAt: Schema.String;
3820
+ readonly retryable: Schema.Boolean;
3821
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3822
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
3823
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3824
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3825
+ }>]>>;
3609
3826
  }>;
3610
- export type LibrariesCreateLibrary400 = ProblemDetails | DecodeErrorResponse;
3611
- export declare const LibrariesCreateLibrary400: Schema.Union<readonly [Schema.Struct<{
3827
+ export type ExtensionsYankAvailableVersions404 = ProblemDetails;
3828
+ export declare const ExtensionsYankAvailableVersions404: Schema.Struct<{
3612
3829
  readonly type: Schema.String;
3613
3830
  readonly title: Schema.String;
3614
3831
  readonly status: Schema.Number;
@@ -3622,7 +3839,27 @@ export declare const LibrariesCreateLibrary400: Schema.Union<readonly [Schema.St
3622
3839
  readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3623
3840
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3624
3841
  }>>;
3625
- }>, Schema.Struct<{
3842
+ }>;
3843
+ export type ExtensionsGetDeletionPreview200 = {
3844
+ readonly requiredConfirmation: string;
3845
+ readonly warnings: {
3846
+ readonly versions: ReadonlyArray<string>;
3847
+ readonly dependentPackCount: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
3848
+ readonly libraryMembershipCount: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
3849
+ readonly downloadCount: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN" | null;
3850
+ };
3851
+ };
3852
+ export declare const ExtensionsGetDeletionPreview200: Schema.Struct<{
3853
+ readonly requiredConfirmation: Schema.String;
3854
+ readonly warnings: Schema.Struct<{
3855
+ readonly versions: Schema.$Array<Schema.String>;
3856
+ readonly dependentPackCount: Schema.Union<readonly [Schema.Union<readonly [Schema.Number, Schema.Literal<"NaN">, Schema.Literal<"Infinity">, Schema.Literal<"-Infinity">]>, Schema.Literals<readonly ["Infinity", "-Infinity", "NaN"]>]>;
3857
+ readonly libraryMembershipCount: Schema.Union<readonly [Schema.Union<readonly [Schema.Number, Schema.Literal<"NaN">, Schema.Literal<"Infinity">, Schema.Literal<"-Infinity">]>, Schema.Literals<readonly ["Infinity", "-Infinity", "NaN"]>]>;
3858
+ readonly downloadCount: Schema.Union<readonly [Schema.Union<readonly [Schema.Union<readonly [Schema.Number, Schema.Literal<"NaN">, Schema.Literal<"Infinity">, Schema.Literal<"-Infinity">]>, Schema.Literals<readonly ["Infinity", "-Infinity", "NaN"]>]>, Schema.Null]>;
3859
+ }>;
3860
+ }>;
3861
+ export type ExtensionsGetDeletionPreview400 = DecodeErrorResponse;
3862
+ export declare const ExtensionsGetDeletionPreview400: Schema.Struct<{
3626
3863
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
3627
3864
  readonly type: Schema.String;
3628
3865
  readonly title: Schema.String;
@@ -3630,9 +3867,9 @@ export declare const LibrariesCreateLibrary400: Schema.Union<readonly [Schema.St
3630
3867
  readonly detail: Schema.String;
3631
3868
  readonly instance: Schema.optionalKey<Schema.String>;
3632
3869
  readonly code: Schema.String;
3633
- }>]>;
3634
- export type LibrariesCreateLibrary401 = ProblemDetails;
3635
- export declare const LibrariesCreateLibrary401: Schema.Struct<{
3870
+ }>;
3871
+ export type ExtensionsGetDeletionPreview401 = ProblemDetails;
3872
+ export declare const ExtensionsGetDeletionPreview401: Schema.Struct<{
3636
3873
  readonly type: Schema.String;
3637
3874
  readonly title: Schema.String;
3638
3875
  readonly status: Schema.Number;
@@ -3647,8 +3884,8 @@ export declare const LibrariesCreateLibrary401: Schema.Struct<{
3647
3884
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3648
3885
  }>>;
3649
3886
  }>;
3650
- export type LibrariesCreateLibrary403 = ForbiddenError | ForbiddenError;
3651
- export declare const LibrariesCreateLibrary403: Schema.Union<readonly [Schema.Struct<{
3887
+ export type ExtensionsGetDeletionPreview403 = ForbiddenError | ForbiddenError;
3888
+ export declare const ExtensionsGetDeletionPreview403: Schema.Union<readonly [Schema.Struct<{
3652
3889
  readonly kind: Schema.Literal<"ForbiddenError">;
3653
3890
  readonly type: Schema.String;
3654
3891
  readonly title: Schema.String;
@@ -3693,8 +3930,8 @@ export declare const LibrariesCreateLibrary403: Schema.Union<readonly [Schema.St
3693
3930
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3694
3931
  }>]>>;
3695
3932
  }>]>;
3696
- export type LibrariesCreateLibrary404 = ProblemDetails;
3697
- export declare const LibrariesCreateLibrary404: Schema.Struct<{
3933
+ export type ExtensionsGetDeletionPreview404 = ProblemDetails;
3934
+ export declare const ExtensionsGetDeletionPreview404: Schema.Struct<{
3698
3935
  readonly type: Schema.String;
3699
3936
  readonly title: Schema.String;
3700
3937
  readonly status: Schema.Number;
@@ -3709,78 +3946,33 @@ export declare const LibrariesCreateLibrary404: Schema.Struct<{
3709
3946
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3710
3947
  }>>;
3711
3948
  }>;
3712
- export type LibrariesCreateLibrary409 = ProblemDetails;
3713
- export declare const LibrariesCreateLibrary409: Schema.Struct<{
3714
- readonly type: Schema.String;
3715
- readonly title: Schema.String;
3716
- readonly status: Schema.Number;
3717
- readonly detail: Schema.String;
3718
- readonly instance: Schema.optionalKey<Schema.String>;
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
- }>>;
3727
- }>;
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
- }>>;
3949
+ export type AdminExtensionsPurgeExtensionVersionRequestJson = PurgeExtensionVersionBody;
3950
+ export declare const AdminExtensionsPurgeExtensionVersionRequestJson: Schema.Struct<{
3951
+ readonly reason: Schema.Literals<readonly ["malware", "exposed_secret", "legal", "privacy", "policy"]>;
3952
+ readonly confirmSharedDigest: Schema.Boolean;
3743
3953
  }>;
3744
- export type LibrariesGetLibrary200 = LibraryDetail;
3745
- export declare const LibrariesGetLibrary200: Schema.Struct<{
3746
- readonly library: Schema.Struct<{
3747
- readonly id: Schema.String;
3954
+ export type AdminExtensionsPurgeExtensionVersion202 = {
3955
+ readonly operationId: string;
3956
+ readonly affectedCoordinates: ReadonlyArray<{
3957
+ readonly owner: Handle;
3958
+ readonly type: ExtensionType;
3959
+ readonly name: ExtensionName;
3960
+ readonly version: Version;
3961
+ }>;
3962
+ readonly archivePurgeState: "pending";
3963
+ };
3964
+ export declare const AdminExtensionsPurgeExtensionVersion202: Schema.Struct<{
3965
+ readonly operationId: Schema.String;
3966
+ readonly affectedCoordinates: Schema.$Array<Schema.Struct<{
3748
3967
  readonly owner: Schema.String;
3968
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
3749
3969
  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;
3970
+ readonly version: Schema.String;
3779
3971
  }>>;
3780
- readonly hiddenMemberCount: Schema.Number;
3972
+ readonly archivePurgeState: Schema.Literal<"pending">;
3781
3973
  }>;
3782
- export type LibrariesGetLibrary400 = DecodeErrorResponse;
3783
- export declare const LibrariesGetLibrary400: Schema.Struct<{
3974
+ export type AdminExtensionsPurgeExtensionVersion400 = DecodeErrorResponse;
3975
+ export declare const AdminExtensionsPurgeExtensionVersion400: Schema.Struct<{
3784
3976
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
3785
3977
  readonly type: Schema.String;
3786
3978
  readonly title: Schema.String;
@@ -3789,50 +3981,18 @@ export declare const LibrariesGetLibrary400: Schema.Struct<{
3789
3981
  readonly instance: Schema.optionalKey<Schema.String>;
3790
3982
  readonly code: Schema.String;
3791
3983
  }>;
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">;
3984
+ export type AdminExtensionsPurgeExtensionVersion401 = StepUpRequiredError | ProblemDetails;
3985
+ export declare const AdminExtensionsPurgeExtensionVersion401: Schema.Union<readonly [Schema.Struct<{
3986
+ readonly kind: Schema.Literal<"StepUpRequiredError">;
3827
3987
  readonly type: Schema.String;
3828
3988
  readonly title: Schema.String;
3829
3989
  readonly status: Schema.Number;
3830
3990
  readonly detail: Schema.String;
3831
3991
  readonly instance: Schema.optionalKey<Schema.String>;
3832
- readonly code: Schema.String;
3833
- }>;
3834
- export type LibrariesDeleteLibrary401 = ProblemDetails;
3835
- export declare const LibrariesDeleteLibrary401: Schema.Struct<{
3992
+ readonly code: Schema.Literal<"eotp">;
3993
+ readonly authUrl: Schema.String;
3994
+ readonly doneUrl: Schema.String;
3995
+ }>, Schema.Struct<{
3836
3996
  readonly type: Schema.String;
3837
3997
  readonly title: Schema.String;
3838
3998
  readonly status: Schema.Number;
@@ -3846,9 +4006,9 @@ export declare const LibrariesDeleteLibrary401: Schema.Struct<{
3846
4006
  readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3847
4007
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3848
4008
  }>>;
3849
- }>;
3850
- export type LibrariesDeleteLibrary403 = ForbiddenError | ForbiddenError;
3851
- export declare const LibrariesDeleteLibrary403: Schema.Union<readonly [Schema.Struct<{
4009
+ }>]>;
4010
+ export type AdminExtensionsPurgeExtensionVersion403 = ForbiddenError | ForbiddenError;
4011
+ export declare const AdminExtensionsPurgeExtensionVersion403: Schema.Union<readonly [Schema.Struct<{
3852
4012
  readonly kind: Schema.Literal<"ForbiddenError">;
3853
4013
  readonly type: Schema.String;
3854
4014
  readonly title: Schema.String;
@@ -3893,8 +4053,8 @@ export declare const LibrariesDeleteLibrary403: Schema.Union<readonly [Schema.St
3893
4053
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3894
4054
  }>]>>;
3895
4055
  }>]>;
3896
- export type LibrariesDeleteLibrary404 = ProblemDetails;
3897
- export declare const LibrariesDeleteLibrary404: Schema.Struct<{
4056
+ export type AdminExtensionsPurgeExtensionVersion404 = ProblemDetails;
4057
+ export declare const AdminExtensionsPurgeExtensionVersion404: Schema.Struct<{
3898
4058
  readonly type: Schema.String;
3899
4059
  readonly title: Schema.String;
3900
4060
  readonly status: Schema.Number;
@@ -3909,877 +4069,64 @@ export declare const LibrariesDeleteLibrary404: Schema.Struct<{
3909
4069
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3910
4070
  }>>;
3911
4071
  }>;
3912
- export type LibrariesDeleteLibrary422 = ProblemDetails;
3913
- export declare const LibrariesDeleteLibrary422: Schema.Struct<{
4072
+ export type AdminExtensionsPurgeExtensionVersion409 = SharedDigestConfirmationRequiredHttpError;
4073
+ export declare const AdminExtensionsPurgeExtensionVersion409: Schema.Struct<{
4074
+ readonly kind: Schema.Literal<"SharedDigestConfirmationRequiredHttpError">;
3914
4075
  readonly type: Schema.String;
3915
4076
  readonly title: Schema.String;
3916
4077
  readonly status: Schema.Number;
3917
4078
  readonly detail: Schema.String;
3918
4079
  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]>>;
4080
+ readonly code: Schema.Literal<"shared_digest_confirmation_required">;
4081
+ readonly affectedCoordinates: Schema.$Array<Schema.Struct<{
4082
+ readonly owner: Schema.String;
4083
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
4084
+ readonly name: Schema.String;
4085
+ readonly version: Schema.String;
4691
4086
  }>>;
4692
4087
  }>;
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
- }>;
4088
+ export type LibrariesListLibraries200 = {
4089
+ readonly libraries: ReadonlyArray<Library>;
4700
4090
  };
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">;
4091
+ export declare const LibrariesListLibraries200: Schema.Struct<{
4092
+ readonly libraries: Schema.$Array<Schema.Struct<{
4093
+ readonly id: Schema.String;
4094
+ readonly owner: Schema.String;
4095
+ readonly name: Schema.String;
4096
+ readonly title: Schema.String;
4097
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
4098
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
4099
+ readonly maintainer: Schema.Union<readonly [Schema.Struct<{
4100
+ readonly kind: Schema.Literal<"user">;
4101
+ readonly userId: Schema.String;
4102
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4103
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4104
+ }>, Schema.Struct<{
4105
+ readonly kind: Schema.Literal<"team">;
4106
+ readonly teamId: Schema.String;
4107
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4108
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4109
+ }>, Schema.Struct<{
4110
+ readonly kind: Schema.Literal<"none">;
4111
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4112
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4113
+ }>]>;
4114
+ readonly createdAt: Schema.String;
4115
+ readonly updatedAt: Schema.String;
4116
+ }>>;
4117
+ }>;
4118
+ export type LibrariesListLibraries400 = DecodeErrorResponse;
4119
+ export declare const LibrariesListLibraries400: Schema.Struct<{
4120
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
4760
4121
  readonly type: Schema.String;
4761
4122
  readonly title: Schema.String;
4762
4123
  readonly status: Schema.Number;
4763
4124
  readonly detail: Schema.String;
4764
4125
  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<{
4126
+ readonly code: Schema.String;
4127
+ }>;
4128
+ export type LibrariesListLibraries404 = ProblemDetails;
4129
+ export declare const LibrariesListLibraries404: Schema.Struct<{
4783
4130
  readonly type: Schema.String;
4784
4131
  readonly title: Schema.String;
4785
4132
  readonly status: Schema.Number;
@@ -4794,24 +4141,41 @@ export declare const CollaboratorsListCollaborators404: Schema.Struct<{
4794
4141
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4795
4142
  }>>;
4796
4143
  }>;
4797
- export type CollaboratorsUpsertCollaboratorRequestJson = PutCollaboratorBody;
4798
- export declare const CollaboratorsUpsertCollaboratorRequestJson: Schema.Struct<{
4799
- readonly role: Schema.Literals<readonly ["write", "read"]>;
4144
+ export type LibrariesCreateLibraryRequestJson = CreateLibraryBody;
4145
+ export declare const LibrariesCreateLibraryRequestJson: Schema.Struct<{
4146
+ readonly name: Schema.String;
4147
+ readonly title: Schema.String;
4148
+ readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
4149
+ readonly visibility: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["public", "private"]>, Schema.Null]>>;
4800
4150
  }>;
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]>;
4151
+ export type LibrariesCreateLibrary201 = CreatedLibrary;
4152
+ export declare const LibrariesCreateLibrary201: Schema.Struct<{
4153
+ readonly id: Schema.String;
4154
+ readonly owner: Schema.String;
4155
+ readonly name: Schema.String;
4156
+ readonly title: Schema.String;
4157
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
4158
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
4159
+ readonly maintainer: Schema.Union<readonly [Schema.Struct<{
4160
+ readonly kind: Schema.Literal<"user">;
4161
+ readonly userId: Schema.String;
4162
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4163
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4164
+ }>, Schema.Struct<{
4165
+ readonly kind: Schema.Literal<"team">;
4166
+ readonly teamId: Schema.String;
4167
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4168
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4169
+ }>, Schema.Struct<{
4170
+ readonly kind: Schema.Literal<"none">;
4171
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4172
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4173
+ }>]>;
4811
4174
  readonly createdAt: Schema.String;
4175
+ readonly updatedAt: Schema.String;
4812
4176
  }>;
4813
- export type CollaboratorsUpsertCollaborator400 = ProblemDetails | DecodeErrorResponse;
4814
- export declare const CollaboratorsUpsertCollaborator400: Schema.Union<readonly [Schema.Struct<{
4177
+ export type LibrariesCreateLibrary400 = ProblemDetails | DecodeErrorResponse;
4178
+ export declare const LibrariesCreateLibrary400: Schema.Union<readonly [Schema.Struct<{
4815
4179
  readonly type: Schema.String;
4816
4180
  readonly title: Schema.String;
4817
4181
  readonly status: Schema.Number;
@@ -4834,8 +4198,8 @@ export declare const CollaboratorsUpsertCollaborator400: Schema.Union<readonly [
4834
4198
  readonly instance: Schema.optionalKey<Schema.String>;
4835
4199
  readonly code: Schema.String;
4836
4200
  }>]>;
4837
- export type CollaboratorsUpsertCollaborator401 = ProblemDetails;
4838
- export declare const CollaboratorsUpsertCollaborator401: Schema.Struct<{
4201
+ export type LibrariesCreateLibrary401 = ProblemDetails;
4202
+ export declare const LibrariesCreateLibrary401: Schema.Struct<{
4839
4203
  readonly type: Schema.String;
4840
4204
  readonly title: Schema.String;
4841
4205
  readonly status: Schema.Number;
@@ -4850,8 +4214,8 @@ export declare const CollaboratorsUpsertCollaborator401: Schema.Struct<{
4850
4214
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4851
4215
  }>>;
4852
4216
  }>;
4853
- export type CollaboratorsUpsertCollaborator403 = ForbiddenError | ForbiddenError;
4854
- export declare const CollaboratorsUpsertCollaborator403: Schema.Union<readonly [Schema.Struct<{
4217
+ export type LibrariesCreateLibrary403 = ForbiddenError | ForbiddenError;
4218
+ export declare const LibrariesCreateLibrary403: Schema.Union<readonly [Schema.Struct<{
4855
4219
  readonly kind: Schema.Literal<"ForbiddenError">;
4856
4220
  readonly type: Schema.String;
4857
4221
  readonly title: Schema.String;
@@ -4896,8 +4260,8 @@ export declare const CollaboratorsUpsertCollaborator403: Schema.Union<readonly [
4896
4260
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4897
4261
  }>]>>;
4898
4262
  }>]>;
4899
- export type CollaboratorsUpsertCollaborator404 = ProblemDetails;
4900
- export declare const CollaboratorsUpsertCollaborator404: Schema.Struct<{
4263
+ export type LibrariesCreateLibrary404 = ProblemDetails;
4264
+ export declare const LibrariesCreateLibrary404: Schema.Struct<{
4901
4265
  readonly type: Schema.String;
4902
4266
  readonly title: Schema.String;
4903
4267
  readonly status: Schema.Number;
@@ -4912,18 +4276,8 @@ export declare const CollaboratorsUpsertCollaborator404: Schema.Struct<{
4912
4276
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4913
4277
  }>>;
4914
4278
  }>;
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<{
4279
+ export type LibrariesCreateLibrary409 = ProblemDetails;
4280
+ export declare const LibrariesCreateLibrary409: Schema.Struct<{
4927
4281
  readonly type: Schema.String;
4928
4282
  readonly title: Schema.String;
4929
4283
  readonly status: Schema.Number;
@@ -4938,54 +4292,72 @@ export declare const CollaboratorsDeleteCollaborator401: Schema.Struct<{
4938
4292
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4939
4293
  }>>;
4940
4294
  }>;
4941
- export type CollaboratorsDeleteCollaborator403 = ForbiddenError | ForbiddenError;
4942
- export declare const CollaboratorsDeleteCollaborator403: Schema.Union<readonly [Schema.Struct<{
4943
- readonly kind: Schema.Literal<"ForbiddenError">;
4295
+ export type LibrariesCreateLibrary422 = ProblemDetails;
4296
+ export declare const LibrariesCreateLibrary422: Schema.Struct<{
4944
4297
  readonly type: Schema.String;
4945
4298
  readonly title: Schema.String;
4946
4299
  readonly status: Schema.Number;
4947
4300
  readonly detail: Schema.String;
4948
4301
  readonly instance: Schema.optionalKey<Schema.String>;
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"]>;
4950
- readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4951
- readonly requiredScope: Schema.String;
4952
- readonly grantedScopes: Schema.$Array<Schema.String>;
4953
- }>, Schema.Struct<{
4954
- readonly requiredScope: Schema.String;
4955
- readonly tokenScopes: Schema.$Array<Schema.String>;
4956
- readonly requiredRole: Schema.optionalKey<Schema.String>;
4957
- }>, Schema.Struct<{
4302
+ readonly code: Schema.String;
4303
+ readonly details: Schema.optionalKey<Schema.Struct<{
4958
4304
  readonly retryable: Schema.Boolean;
4959
4305
  readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4960
4306
  readonly requiredScope: Schema.optionalKey<Schema.String>;
4961
4307
  readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4962
4308
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4963
- }>]>>;
4964
- }>, Schema.Struct<{
4965
- readonly kind: Schema.Literal<"ForbiddenError">;
4309
+ }>>;
4310
+ }>;
4311
+ export type LibrariesGetLibrary200 = LibraryDetail;
4312
+ export declare const LibrariesGetLibrary200: Schema.Struct<{
4313
+ readonly library: Schema.Struct<{
4314
+ readonly id: Schema.String;
4315
+ readonly owner: Schema.String;
4316
+ readonly name: Schema.String;
4317
+ readonly title: Schema.String;
4318
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
4319
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
4320
+ readonly maintainer: Schema.Union<readonly [Schema.Struct<{
4321
+ readonly kind: Schema.Literal<"user">;
4322
+ readonly userId: Schema.String;
4323
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4324
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4325
+ }>, Schema.Struct<{
4326
+ readonly kind: Schema.Literal<"team">;
4327
+ readonly teamId: Schema.String;
4328
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4329
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4330
+ }>, Schema.Struct<{
4331
+ readonly kind: Schema.Literal<"none">;
4332
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4333
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4334
+ }>]>;
4335
+ readonly createdAt: Schema.String;
4336
+ readonly updatedAt: Schema.String;
4337
+ }>;
4338
+ readonly members: Schema.$Array<Schema.Struct<{
4339
+ readonly id: Schema.String;
4340
+ readonly libraryId: Schema.String;
4341
+ readonly extensionId: Schema.String;
4342
+ readonly extensionOwner: Schema.String;
4343
+ readonly extensionType: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
4344
+ readonly extensionName: Schema.String;
4345
+ readonly addedAt: Schema.String;
4346
+ }>>;
4347
+ readonly hiddenMemberCount: Schema.Number;
4348
+ }>;
4349
+ export type LibrariesGetLibrary400 = DecodeErrorResponse;
4350
+ export declare const LibrariesGetLibrary400: Schema.Struct<{
4351
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
4966
4352
  readonly type: Schema.String;
4967
4353
  readonly title: Schema.String;
4968
4354
  readonly status: Schema.Number;
4969
4355
  readonly detail: Schema.String;
4970
4356
  readonly instance: Schema.optionalKey<Schema.String>;
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"]>;
4972
- readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4973
- readonly requiredScope: Schema.String;
4974
- readonly grantedScopes: Schema.$Array<Schema.String>;
4975
- }>, Schema.Struct<{
4976
- readonly requiredScope: Schema.String;
4977
- readonly tokenScopes: Schema.$Array<Schema.String>;
4978
- readonly requiredRole: Schema.optionalKey<Schema.String>;
4979
- }>, Schema.Struct<{
4980
- readonly retryable: Schema.Boolean;
4981
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4982
- readonly requiredScope: Schema.optionalKey<Schema.String>;
4983
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4984
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4985
- }>]>>;
4986
- }>]>;
4987
- export type CollaboratorsDeleteCollaborator404 = ProblemDetails;
4988
- export declare const CollaboratorsDeleteCollaborator404: Schema.Struct<{
4357
+ readonly code: Schema.String;
4358
+ }>;
4359
+ export type LibrariesGetLibrary404 = ProblemDetails;
4360
+ export declare const LibrariesGetLibrary404: Schema.Struct<{
4989
4361
  readonly type: Schema.String;
4990
4362
  readonly title: Schema.String;
4991
4363
  readonly status: Schema.Number;
@@ -5000,8 +4372,8 @@ export declare const CollaboratorsDeleteCollaborator404: Schema.Struct<{
5000
4372
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5001
4373
  }>>;
5002
4374
  }>;
5003
- export type CollaboratorsDeleteCollaborator409 = ProblemDetails;
5004
- export declare const CollaboratorsDeleteCollaborator409: Schema.Struct<{
4375
+ export type LibrariesGetLibrary422 = ProblemDetails;
4376
+ export declare const LibrariesGetLibrary422: Schema.Struct<{
5005
4377
  readonly type: Schema.String;
5006
4378
  readonly title: Schema.String;
5007
4379
  readonly status: Schema.Number;
@@ -5016,23 +4388,8 @@ export declare const CollaboratorsDeleteCollaborator409: Schema.Struct<{
5016
4388
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5017
4389
  }>>;
5018
4390
  }>;
5019
- export type TeamGrantsListExtensionGrants200 = ExtensionGrantsResponse;
5020
- export declare const TeamGrantsListExtensionGrants200: Schema.Struct<{
5021
- readonly grants: Schema.$Array<Schema.Struct<{
5022
- readonly subject: Schema.Union<readonly [Schema.Struct<{
5023
- readonly kind: Schema.Literal<"user">;
5024
- readonly userId: Schema.String;
5025
- }>, Schema.Struct<{
5026
- readonly kind: Schema.Literal<"team">;
5027
- readonly teamId: Schema.String;
5028
- }>]>;
5029
- readonly role: Schema.Literals<readonly ["read", "write"]>;
5030
- readonly grantedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
5031
- readonly createdAt: Schema.String;
5032
- }>>;
5033
- }>;
5034
- export type TeamGrantsListExtensionGrants400 = DecodeErrorResponse;
5035
- export declare const TeamGrantsListExtensionGrants400: Schema.Struct<{
4391
+ export type LibrariesDeleteLibrary400 = DecodeErrorResponse;
4392
+ export declare const LibrariesDeleteLibrary400: Schema.Struct<{
5036
4393
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
5037
4394
  readonly type: Schema.String;
5038
4395
  readonly title: Schema.String;
@@ -5041,8 +4398,8 @@ export declare const TeamGrantsListExtensionGrants400: Schema.Struct<{
5041
4398
  readonly instance: Schema.optionalKey<Schema.String>;
5042
4399
  readonly code: Schema.String;
5043
4400
  }>;
5044
- export type TeamGrantsListExtensionGrants401 = ProblemDetails;
5045
- export declare const TeamGrantsListExtensionGrants401: Schema.Struct<{
4401
+ export type LibrariesDeleteLibrary401 = ProblemDetails;
4402
+ export declare const LibrariesDeleteLibrary401: Schema.Struct<{
5046
4403
  readonly type: Schema.String;
5047
4404
  readonly title: Schema.String;
5048
4405
  readonly status: Schema.Number;
@@ -5057,8 +4414,8 @@ export declare const TeamGrantsListExtensionGrants401: Schema.Struct<{
5057
4414
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5058
4415
  }>>;
5059
4416
  }>;
5060
- export type TeamGrantsListExtensionGrants403 = ForbiddenError | ForbiddenError;
5061
- export declare const TeamGrantsListExtensionGrants403: Schema.Union<readonly [Schema.Struct<{
4417
+ export type LibrariesDeleteLibrary403 = ForbiddenError | ForbiddenError;
4418
+ export declare const LibrariesDeleteLibrary403: Schema.Union<readonly [Schema.Struct<{
5062
4419
  readonly kind: Schema.Literal<"ForbiddenError">;
5063
4420
  readonly type: Schema.String;
5064
4421
  readonly title: Schema.String;
@@ -5103,8 +4460,8 @@ export declare const TeamGrantsListExtensionGrants403: Schema.Union<readonly [Sc
5103
4460
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5104
4461
  }>]>>;
5105
4462
  }>]>;
5106
- export type TeamGrantsListExtensionGrants404 = ProblemDetails;
5107
- export declare const TeamGrantsListExtensionGrants404: Schema.Struct<{
4463
+ export type LibrariesDeleteLibrary404 = ProblemDetails;
4464
+ export declare const LibrariesDeleteLibrary404: Schema.Struct<{
5108
4465
  readonly type: Schema.String;
5109
4466
  readonly title: Schema.String;
5110
4467
  readonly status: Schema.Number;
@@ -5119,20 +4476,55 @@ export declare const TeamGrantsListExtensionGrants404: Schema.Struct<{
5119
4476
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5120
4477
  }>>;
5121
4478
  }>;
5122
- export type TeamGrantsUpsertTeamExtensionGrantRequestJson = UpsertTeamGrantBody;
5123
- export declare const TeamGrantsUpsertTeamExtensionGrantRequestJson: Schema.Struct<{
5124
- readonly teamId: Schema.String;
5125
- readonly role: Schema.Literals<readonly ["read", "write"]>;
4479
+ export type LibrariesDeleteLibrary422 = ProblemDetails;
4480
+ export declare const LibrariesDeleteLibrary422: 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
+ }>>;
5126
4494
  }>;
5127
- export type TeamGrantsUpsertTeamExtensionGrant200 = TeamGrant;
5128
- export declare const TeamGrantsUpsertTeamExtensionGrant200: Schema.Struct<{
5129
- readonly teamId: Schema.String;
5130
- readonly role: Schema.Literals<readonly ["read", "write"]>;
5131
- readonly grantedBy: Schema.String;
5132
- readonly grantedAt: Schema.String;
4495
+ export type LibrariesUpdateLibraryRequestJson = UpdateLibraryBody;
4496
+ export declare const LibrariesUpdateLibraryRequestJson: Schema.Struct<{
4497
+ readonly title: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4498
+ readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.String, Schema.Null]>, Schema.Null]>>;
4499
+ }>;
4500
+ export type LibrariesUpdateLibrary200 = Library;
4501
+ export declare const LibrariesUpdateLibrary200: Schema.Struct<{
4502
+ readonly id: Schema.String;
4503
+ readonly owner: Schema.String;
4504
+ readonly name: Schema.String;
4505
+ readonly title: Schema.String;
4506
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
4507
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
4508
+ readonly maintainer: Schema.Union<readonly [Schema.Struct<{
4509
+ readonly kind: Schema.Literal<"user">;
4510
+ readonly userId: Schema.String;
4511
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4512
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4513
+ }>, Schema.Struct<{
4514
+ readonly kind: Schema.Literal<"team">;
4515
+ readonly teamId: Schema.String;
4516
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4517
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4518
+ }>, Schema.Struct<{
4519
+ readonly kind: Schema.Literal<"none">;
4520
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4521
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4522
+ }>]>;
4523
+ readonly createdAt: Schema.String;
4524
+ readonly updatedAt: Schema.String;
5133
4525
  }>;
5134
- export type TeamGrantsUpsertTeamExtensionGrant400 = ProblemDetails | DecodeErrorResponse;
5135
- export declare const TeamGrantsUpsertTeamExtensionGrant400: Schema.Union<readonly [Schema.Struct<{
4526
+ export type LibrariesUpdateLibrary400 = ProblemDetails | DecodeErrorResponse;
4527
+ export declare const LibrariesUpdateLibrary400: Schema.Union<readonly [Schema.Struct<{
5136
4528
  readonly type: Schema.String;
5137
4529
  readonly title: Schema.String;
5138
4530
  readonly status: Schema.Number;
@@ -5155,8 +4547,8 @@ export declare const TeamGrantsUpsertTeamExtensionGrant400: Schema.Union<readonl
5155
4547
  readonly instance: Schema.optionalKey<Schema.String>;
5156
4548
  readonly code: Schema.String;
5157
4549
  }>]>;
5158
- export type TeamGrantsUpsertTeamExtensionGrant401 = ProblemDetails;
5159
- export declare const TeamGrantsUpsertTeamExtensionGrant401: Schema.Struct<{
4550
+ export type LibrariesUpdateLibrary401 = ProblemDetails;
4551
+ export declare const LibrariesUpdateLibrary401: Schema.Struct<{
5160
4552
  readonly type: Schema.String;
5161
4553
  readonly title: Schema.String;
5162
4554
  readonly status: Schema.Number;
@@ -5171,8 +4563,8 @@ export declare const TeamGrantsUpsertTeamExtensionGrant401: Schema.Struct<{
5171
4563
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5172
4564
  }>>;
5173
4565
  }>;
5174
- export type TeamGrantsUpsertTeamExtensionGrant403 = ForbiddenError | ForbiddenError;
5175
- export declare const TeamGrantsUpsertTeamExtensionGrant403: Schema.Union<readonly [Schema.Struct<{
4566
+ export type LibrariesUpdateLibrary403 = ForbiddenError | ForbiddenError;
4567
+ export declare const LibrariesUpdateLibrary403: Schema.Union<readonly [Schema.Struct<{
5176
4568
  readonly kind: Schema.Literal<"ForbiddenError">;
5177
4569
  readonly type: Schema.String;
5178
4570
  readonly title: Schema.String;
@@ -5217,24 +4609,8 @@ export declare const TeamGrantsUpsertTeamExtensionGrant403: Schema.Union<readonl
5217
4609
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5218
4610
  }>]>>;
5219
4611
  }>]>;
5220
- export type TeamGrantsUpsertTeamExtensionGrant404 = ProblemDetails;
5221
- export declare const TeamGrantsUpsertTeamExtensionGrant404: Schema.Struct<{
5222
- readonly type: Schema.String;
5223
- readonly title: Schema.String;
5224
- readonly status: Schema.Number;
5225
- readonly detail: Schema.String;
5226
- readonly instance: Schema.optionalKey<Schema.String>;
5227
- readonly code: Schema.String;
5228
- readonly details: Schema.optionalKey<Schema.Struct<{
5229
- readonly retryable: Schema.Boolean;
5230
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
5231
- readonly requiredScope: Schema.optionalKey<Schema.String>;
5232
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
5233
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5234
- }>>;
5235
- }>;
5236
- export type TeamGrantsUpsertTeamExtensionGrant422 = ProblemDetails;
5237
- export declare const TeamGrantsUpsertTeamExtensionGrant422: Schema.Struct<{
4612
+ export type LibrariesUpdateLibrary404 = ProblemDetails;
4613
+ export declare const LibrariesUpdateLibrary404: Schema.Struct<{
5238
4614
  readonly type: Schema.String;
5239
4615
  readonly title: Schema.String;
5240
4616
  readonly status: Schema.Number;
@@ -5249,24 +4625,8 @@ export declare const TeamGrantsUpsertTeamExtensionGrant422: Schema.Struct<{
5249
4625
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5250
4626
  }>>;
5251
4627
  }>;
5252
- export type TeamGrantsUpsertUserExtensionGrantRequestJson = UpsertGrantBody;
5253
- export declare const TeamGrantsUpsertUserExtensionGrantRequestJson: Schema.Struct<{
5254
- readonly role: Schema.Literals<readonly ["read", "write"]>;
5255
- }>;
5256
- export type TeamGrantsUpsertUserExtensionGrant200 = {
5257
- readonly userId: UserId;
5258
- readonly role: string;
5259
- readonly grantedBy: UserId | null;
5260
- readonly createdAt: string;
5261
- };
5262
- export declare const TeamGrantsUpsertUserExtensionGrant200: Schema.Struct<{
5263
- readonly userId: Schema.String;
5264
- readonly role: Schema.String;
5265
- readonly grantedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
5266
- readonly createdAt: Schema.String;
5267
- }>;
5268
- export type TeamGrantsUpsertUserExtensionGrant400 = ProblemDetails | DecodeErrorResponse;
5269
- export declare const TeamGrantsUpsertUserExtensionGrant400: Schema.Union<readonly [Schema.Struct<{
4628
+ export type LibrariesUpdateLibrary422 = ProblemDetails;
4629
+ export declare const LibrariesUpdateLibrary422: Schema.Struct<{
5270
4630
  readonly type: Schema.String;
5271
4631
  readonly title: Schema.String;
5272
4632
  readonly status: Schema.Number;
@@ -5280,7 +4640,39 @@ export declare const TeamGrantsUpsertUserExtensionGrant400: Schema.Union<readonl
5280
4640
  readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
5281
4641
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5282
4642
  }>>;
5283
- }>, Schema.Struct<{
4643
+ }>;
4644
+ export type LibrariesSetLibraryVisibilityRequestJson = PatchLibraryVisibilityBody;
4645
+ export declare const LibrariesSetLibraryVisibilityRequestJson: Schema.Struct<{
4646
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
4647
+ }>;
4648
+ export type LibrariesSetLibraryVisibility200 = Library;
4649
+ export declare const LibrariesSetLibraryVisibility200: Schema.Struct<{
4650
+ readonly id: Schema.String;
4651
+ readonly owner: Schema.String;
4652
+ readonly name: Schema.String;
4653
+ readonly title: Schema.String;
4654
+ readonly description: Schema.Union<readonly [Schema.String, Schema.Null]>;
4655
+ readonly visibility: Schema.Literals<readonly ["public", "private"]>;
4656
+ readonly maintainer: Schema.Union<readonly [Schema.Struct<{
4657
+ readonly kind: Schema.Literal<"user">;
4658
+ readonly userId: Schema.String;
4659
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4660
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4661
+ }>, Schema.Struct<{
4662
+ readonly kind: Schema.Literal<"team">;
4663
+ readonly teamId: Schema.String;
4664
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4665
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4666
+ }>, Schema.Struct<{
4667
+ readonly kind: Schema.Literal<"none">;
4668
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4669
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4670
+ }>]>;
4671
+ readonly createdAt: Schema.String;
4672
+ readonly updatedAt: Schema.String;
4673
+ }>;
4674
+ export type LibrariesSetLibraryVisibility400 = DecodeErrorResponse;
4675
+ export declare const LibrariesSetLibraryVisibility400: Schema.Struct<{
5284
4676
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
5285
4677
  readonly type: Schema.String;
5286
4678
  readonly title: Schema.String;
@@ -5288,9 +4680,9 @@ export declare const TeamGrantsUpsertUserExtensionGrant400: Schema.Union<readonl
5288
4680
  readonly detail: Schema.String;
5289
4681
  readonly instance: Schema.optionalKey<Schema.String>;
5290
4682
  readonly code: Schema.String;
5291
- }>]>;
5292
- export type TeamGrantsUpsertUserExtensionGrant401 = ProblemDetails;
5293
- export declare const TeamGrantsUpsertUserExtensionGrant401: Schema.Struct<{
4683
+ }>;
4684
+ export type LibrariesSetLibraryVisibility401 = ProblemDetails;
4685
+ export declare const LibrariesSetLibraryVisibility401: Schema.Struct<{
5294
4686
  readonly type: Schema.String;
5295
4687
  readonly title: Schema.String;
5296
4688
  readonly status: Schema.Number;
@@ -5305,8 +4697,8 @@ export declare const TeamGrantsUpsertUserExtensionGrant401: Schema.Struct<{
5305
4697
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5306
4698
  }>>;
5307
4699
  }>;
5308
- export type TeamGrantsUpsertUserExtensionGrant403 = ForbiddenError | ForbiddenError;
5309
- export declare const TeamGrantsUpsertUserExtensionGrant403: Schema.Union<readonly [Schema.Struct<{
4700
+ export type LibrariesSetLibraryVisibility403 = ForbiddenError | ForbiddenError;
4701
+ export declare const LibrariesSetLibraryVisibility403: Schema.Union<readonly [Schema.Struct<{
5310
4702
  readonly kind: Schema.Literal<"ForbiddenError">;
5311
4703
  readonly type: Schema.String;
5312
4704
  readonly title: Schema.String;
@@ -5351,8 +4743,24 @@ export declare const TeamGrantsUpsertUserExtensionGrant403: Schema.Union<readonl
5351
4743
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5352
4744
  }>]>>;
5353
4745
  }>]>;
5354
- export type TeamGrantsUpsertUserExtensionGrant404 = ProblemDetails;
5355
- export declare const TeamGrantsUpsertUserExtensionGrant404: Schema.Struct<{
4746
+ export type LibrariesSetLibraryVisibility404 = ProblemDetails;
4747
+ export declare const LibrariesSetLibraryVisibility404: Schema.Struct<{
4748
+ readonly type: Schema.String;
4749
+ readonly title: Schema.String;
4750
+ readonly status: Schema.Number;
4751
+ readonly detail: Schema.String;
4752
+ readonly instance: Schema.optionalKey<Schema.String>;
4753
+ readonly code: Schema.String;
4754
+ readonly details: Schema.optionalKey<Schema.Struct<{
4755
+ readonly retryable: Schema.Boolean;
4756
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4757
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4758
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4759
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4760
+ }>>;
4761
+ }>;
4762
+ export type LibrariesSetLibraryVisibility422 = ProblemDetails;
4763
+ export declare const LibrariesSetLibraryVisibility422: Schema.Struct<{
5356
4764
  readonly type: Schema.String;
5357
4765
  readonly title: Schema.String;
5358
4766
  readonly status: Schema.Number;
@@ -5367,8 +4775,32 @@ export declare const TeamGrantsUpsertUserExtensionGrant404: Schema.Struct<{
5367
4775
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5368
4776
  }>>;
5369
4777
  }>;
5370
- export type TeamGrantsDeleteUserExtensionGrant400 = DecodeErrorResponse;
5371
- export declare const TeamGrantsDeleteUserExtensionGrant400: Schema.Struct<{
4778
+ export type LibrariesSetLibraryMaintainerRequestJson = LibraryMaintainerTarget;
4779
+ export declare const LibrariesSetLibraryMaintainerRequestJson: Schema.Union<readonly [Schema.Struct<{
4780
+ readonly kind: Schema.Literal<"user">;
4781
+ readonly userId: Schema.String;
4782
+ }>, Schema.Struct<{
4783
+ readonly kind: Schema.Literal<"team">;
4784
+ readonly teamId: Schema.String;
4785
+ }>]>;
4786
+ export type LibrariesSetLibraryMaintainer200 = LibraryMaintainer;
4787
+ export declare const LibrariesSetLibraryMaintainer200: Schema.Union<readonly [Schema.Struct<{
4788
+ readonly kind: Schema.Literal<"user">;
4789
+ readonly userId: Schema.String;
4790
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4791
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4792
+ }>, Schema.Struct<{
4793
+ readonly kind: Schema.Literal<"team">;
4794
+ readonly teamId: Schema.String;
4795
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4796
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4797
+ }>, Schema.Struct<{
4798
+ readonly kind: Schema.Literal<"none">;
4799
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4800
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4801
+ }>]>;
4802
+ export type LibrariesSetLibraryMaintainer400 = DecodeErrorResponse;
4803
+ export declare const LibrariesSetLibraryMaintainer400: Schema.Struct<{
5372
4804
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
5373
4805
  readonly type: Schema.String;
5374
4806
  readonly title: Schema.String;
@@ -5377,8 +4809,8 @@ export declare const TeamGrantsDeleteUserExtensionGrant400: Schema.Struct<{
5377
4809
  readonly instance: Schema.optionalKey<Schema.String>;
5378
4810
  readonly code: Schema.String;
5379
4811
  }>;
5380
- export type TeamGrantsDeleteUserExtensionGrant401 = ProblemDetails;
5381
- export declare const TeamGrantsDeleteUserExtensionGrant401: Schema.Struct<{
4812
+ export type LibrariesSetLibraryMaintainer401 = ProblemDetails;
4813
+ export declare const LibrariesSetLibraryMaintainer401: Schema.Struct<{
5382
4814
  readonly type: Schema.String;
5383
4815
  readonly title: Schema.String;
5384
4816
  readonly status: Schema.Number;
@@ -5393,8 +4825,8 @@ export declare const TeamGrantsDeleteUserExtensionGrant401: Schema.Struct<{
5393
4825
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5394
4826
  }>>;
5395
4827
  }>;
5396
- export type TeamGrantsDeleteUserExtensionGrant403 = ForbiddenError | ForbiddenError;
5397
- export declare const TeamGrantsDeleteUserExtensionGrant403: Schema.Union<readonly [Schema.Struct<{
4828
+ export type LibrariesSetLibraryMaintainer403 = ForbiddenError | ForbiddenError;
4829
+ export declare const LibrariesSetLibraryMaintainer403: Schema.Union<readonly [Schema.Struct<{
5398
4830
  readonly kind: Schema.Literal<"ForbiddenError">;
5399
4831
  readonly type: Schema.String;
5400
4832
  readonly title: Schema.String;
@@ -5439,8 +4871,8 @@ export declare const TeamGrantsDeleteUserExtensionGrant403: Schema.Union<readonl
5439
4871
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5440
4872
  }>]>>;
5441
4873
  }>]>;
5442
- export type TeamGrantsDeleteUserExtensionGrant404 = ProblemDetails;
5443
- export declare const TeamGrantsDeleteUserExtensionGrant404: Schema.Struct<{
4874
+ export type LibrariesSetLibraryMaintainer404 = ProblemDetails;
4875
+ export declare const LibrariesSetLibraryMaintainer404: Schema.Struct<{
5444
4876
  readonly type: Schema.String;
5445
4877
  readonly title: Schema.String;
5446
4878
  readonly status: Schema.Number;
@@ -5455,8 +4887,8 @@ export declare const TeamGrantsDeleteUserExtensionGrant404: Schema.Struct<{
5455
4887
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5456
4888
  }>>;
5457
4889
  }>;
5458
- export type TeamGrantsDeleteUserExtensionGrant409 = ProblemDetails;
5459
- export declare const TeamGrantsDeleteUserExtensionGrant409: Schema.Struct<{
4890
+ export type LibrariesSetLibraryMaintainer422 = ProblemDetails;
4891
+ export declare const LibrariesSetLibraryMaintainer422: Schema.Struct<{
5460
4892
  readonly type: Schema.String;
5461
4893
  readonly title: Schema.String;
5462
4894
  readonly status: Schema.Number;
@@ -5471,33 +4903,24 @@ export declare const TeamGrantsDeleteUserExtensionGrant409: Schema.Struct<{
5471
4903
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5472
4904
  }>>;
5473
4905
  }>;
5474
- export type TeamGrantsUpsertTeamExtensionGrantByIdRequestJson = UpsertGrantBody;
5475
- export declare const TeamGrantsUpsertTeamExtensionGrantByIdRequestJson: Schema.Struct<{
5476
- readonly role: Schema.Literals<readonly ["read", "write"]>;
5477
- }>;
5478
- export type TeamGrantsUpsertTeamExtensionGrantById200 = TeamGrant;
5479
- export declare const TeamGrantsUpsertTeamExtensionGrantById200: Schema.Struct<{
4906
+ export type LibrariesClearLibraryMaintainer200 = LibraryMaintainer;
4907
+ export declare const LibrariesClearLibraryMaintainer200: Schema.Union<readonly [Schema.Struct<{
4908
+ readonly kind: Schema.Literal<"user">;
4909
+ readonly userId: Schema.String;
4910
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4911
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4912
+ }>, Schema.Struct<{
4913
+ readonly kind: Schema.Literal<"team">;
5480
4914
  readonly teamId: Schema.String;
5481
- readonly role: Schema.Literals<readonly ["read", "write"]>;
5482
- readonly grantedBy: Schema.String;
5483
- readonly grantedAt: Schema.String;
5484
- }>;
5485
- export type TeamGrantsUpsertTeamExtensionGrantById400 = ProblemDetails | DecodeErrorResponse;
5486
- export declare const TeamGrantsUpsertTeamExtensionGrantById400: Schema.Union<readonly [Schema.Struct<{
5487
- readonly type: Schema.String;
5488
- readonly title: Schema.String;
5489
- readonly status: Schema.Number;
5490
- readonly detail: Schema.String;
5491
- readonly instance: Schema.optionalKey<Schema.String>;
5492
- readonly code: Schema.String;
5493
- readonly details: Schema.optionalKey<Schema.Struct<{
5494
- readonly retryable: Schema.Boolean;
5495
- readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
5496
- readonly requiredScope: Schema.optionalKey<Schema.String>;
5497
- readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
5498
- readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5499
- }>>;
4915
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4916
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
5500
4917
  }>, Schema.Struct<{
4918
+ readonly kind: Schema.Literal<"none">;
4919
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4920
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4921
+ }>]>;
4922
+ export type LibrariesClearLibraryMaintainer400 = DecodeErrorResponse;
4923
+ export declare const LibrariesClearLibraryMaintainer400: Schema.Struct<{
5501
4924
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
5502
4925
  readonly type: Schema.String;
5503
4926
  readonly title: Schema.String;
@@ -5505,9 +4928,9 @@ export declare const TeamGrantsUpsertTeamExtensionGrantById400: Schema.Union<rea
5505
4928
  readonly detail: Schema.String;
5506
4929
  readonly instance: Schema.optionalKey<Schema.String>;
5507
4930
  readonly code: Schema.String;
5508
- }>]>;
5509
- export type TeamGrantsUpsertTeamExtensionGrantById401 = ProblemDetails;
5510
- export declare const TeamGrantsUpsertTeamExtensionGrantById401: Schema.Struct<{
4931
+ }>;
4932
+ export type LibrariesClearLibraryMaintainer401 = ProblemDetails;
4933
+ export declare const LibrariesClearLibraryMaintainer401: Schema.Struct<{
5511
4934
  readonly type: Schema.String;
5512
4935
  readonly title: Schema.String;
5513
4936
  readonly status: Schema.Number;
@@ -5522,8 +4945,8 @@ export declare const TeamGrantsUpsertTeamExtensionGrantById401: Schema.Struct<{
5522
4945
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5523
4946
  }>>;
5524
4947
  }>;
5525
- export type TeamGrantsUpsertTeamExtensionGrantById403 = ForbiddenError | ForbiddenError;
5526
- export declare const TeamGrantsUpsertTeamExtensionGrantById403: Schema.Union<readonly [Schema.Struct<{
4948
+ export type LibrariesClearLibraryMaintainer403 = ForbiddenError | ForbiddenError;
4949
+ export declare const LibrariesClearLibraryMaintainer403: Schema.Union<readonly [Schema.Struct<{
5527
4950
  readonly kind: Schema.Literal<"ForbiddenError">;
5528
4951
  readonly type: Schema.String;
5529
4952
  readonly title: Schema.String;
@@ -5568,8 +4991,8 @@ export declare const TeamGrantsUpsertTeamExtensionGrantById403: Schema.Union<rea
5568
4991
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5569
4992
  }>]>>;
5570
4993
  }>]>;
5571
- export type TeamGrantsUpsertTeamExtensionGrantById404 = ProblemDetails;
5572
- export declare const TeamGrantsUpsertTeamExtensionGrantById404: Schema.Struct<{
4994
+ export type LibrariesClearLibraryMaintainer404 = ProblemDetails;
4995
+ export declare const LibrariesClearLibraryMaintainer404: Schema.Struct<{
5573
4996
  readonly type: Schema.String;
5574
4997
  readonly title: Schema.String;
5575
4998
  readonly status: Schema.Number;
@@ -5584,8 +5007,8 @@ export declare const TeamGrantsUpsertTeamExtensionGrantById404: Schema.Struct<{
5584
5007
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5585
5008
  }>>;
5586
5009
  }>;
5587
- export type TeamGrantsUpsertTeamExtensionGrantById422 = ProblemDetails;
5588
- export declare const TeamGrantsUpsertTeamExtensionGrantById422: Schema.Struct<{
5010
+ export type LibrariesClearLibraryMaintainer422 = ProblemDetails;
5011
+ export declare const LibrariesClearLibraryMaintainer422: Schema.Struct<{
5589
5012
  readonly type: Schema.String;
5590
5013
  readonly title: Schema.String;
5591
5014
  readonly status: Schema.Number;
@@ -5600,8 +5023,18 @@ export declare const TeamGrantsUpsertTeamExtensionGrantById422: Schema.Struct<{
5600
5023
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5601
5024
  }>>;
5602
5025
  }>;
5603
- export type TeamGrantsDeleteTeamExtensionGrantById400 = DecodeErrorResponse;
5604
- export declare const TeamGrantsDeleteTeamExtensionGrantById400: Schema.Struct<{
5026
+ export type LibrariesAddLibraryMember200 = LibraryMember;
5027
+ export declare const LibrariesAddLibraryMember200: Schema.Struct<{
5028
+ readonly id: Schema.String;
5029
+ readonly libraryId: Schema.String;
5030
+ readonly extensionId: Schema.String;
5031
+ readonly extensionOwner: Schema.String;
5032
+ readonly extensionType: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
5033
+ readonly extensionName: Schema.String;
5034
+ readonly addedAt: Schema.String;
5035
+ }>;
5036
+ export type LibrariesAddLibraryMember400 = DecodeErrorResponse;
5037
+ export declare const LibrariesAddLibraryMember400: Schema.Struct<{
5605
5038
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
5606
5039
  readonly type: Schema.String;
5607
5040
  readonly title: Schema.String;
@@ -5610,8 +5043,8 @@ export declare const TeamGrantsDeleteTeamExtensionGrantById400: Schema.Struct<{
5610
5043
  readonly instance: Schema.optionalKey<Schema.String>;
5611
5044
  readonly code: Schema.String;
5612
5045
  }>;
5613
- export type TeamGrantsDeleteTeamExtensionGrantById401 = ProblemDetails;
5614
- export declare const TeamGrantsDeleteTeamExtensionGrantById401: Schema.Struct<{
5046
+ export type LibrariesAddLibraryMember401 = ProblemDetails;
5047
+ export declare const LibrariesAddLibraryMember401: Schema.Struct<{
5615
5048
  readonly type: Schema.String;
5616
5049
  readonly title: Schema.String;
5617
5050
  readonly status: Schema.Number;
@@ -5626,8 +5059,8 @@ export declare const TeamGrantsDeleteTeamExtensionGrantById401: Schema.Struct<{
5626
5059
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5627
5060
  }>>;
5628
5061
  }>;
5629
- export type TeamGrantsDeleteTeamExtensionGrantById403 = ForbiddenError | ForbiddenError;
5630
- export declare const TeamGrantsDeleteTeamExtensionGrantById403: Schema.Union<readonly [Schema.Struct<{
5062
+ export type LibrariesAddLibraryMember403 = ForbiddenError | ForbiddenError;
5063
+ export declare const LibrariesAddLibraryMember403: Schema.Union<readonly [Schema.Struct<{
5631
5064
  readonly kind: Schema.Literal<"ForbiddenError">;
5632
5065
  readonly type: Schema.String;
5633
5066
  readonly title: Schema.String;
@@ -5672,8 +5105,40 @@ export declare const TeamGrantsDeleteTeamExtensionGrantById403: Schema.Union<rea
5672
5105
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5673
5106
  }>]>>;
5674
5107
  }>]>;
5675
- export type TeamGrantsDeleteTeamExtensionGrantById404 = ProblemDetails;
5676
- export declare const TeamGrantsDeleteTeamExtensionGrantById404: Schema.Struct<{
5108
+ export type LibrariesAddLibraryMember404 = ProblemDetails;
5109
+ export declare const LibrariesAddLibraryMember404: Schema.Struct<{
5110
+ readonly type: Schema.String;
5111
+ readonly title: Schema.String;
5112
+ readonly status: Schema.Number;
5113
+ readonly detail: Schema.String;
5114
+ readonly instance: Schema.optionalKey<Schema.String>;
5115
+ readonly code: Schema.String;
5116
+ readonly details: Schema.optionalKey<Schema.Struct<{
5117
+ readonly retryable: Schema.Boolean;
5118
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
5119
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
5120
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
5121
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5122
+ }>>;
5123
+ }>;
5124
+ export type LibrariesAddLibraryMember409 = ProblemDetails;
5125
+ export declare const LibrariesAddLibraryMember409: Schema.Struct<{
5126
+ readonly type: Schema.String;
5127
+ readonly title: Schema.String;
5128
+ readonly status: Schema.Number;
5129
+ readonly detail: Schema.String;
5130
+ readonly instance: Schema.optionalKey<Schema.String>;
5131
+ readonly code: Schema.String;
5132
+ readonly details: Schema.optionalKey<Schema.Struct<{
5133
+ readonly retryable: Schema.Boolean;
5134
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
5135
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
5136
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
5137
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5138
+ }>>;
5139
+ }>;
5140
+ export type LibrariesAddLibraryMember422 = ProblemDetails;
5141
+ export declare const LibrariesAddLibraryMember422: Schema.Struct<{
5677
5142
  readonly type: Schema.String;
5678
5143
  readonly title: Schema.String;
5679
5144
  readonly status: Schema.Number;
@@ -5688,8 +5153,8 @@ export declare const TeamGrantsDeleteTeamExtensionGrantById404: Schema.Struct<{
5688
5153
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5689
5154
  }>>;
5690
5155
  }>;
5691
- export type TeamGrantsDeleteTeamExtensionGrant400 = DecodeErrorResponse;
5692
- export declare const TeamGrantsDeleteTeamExtensionGrant400: Schema.Struct<{
5156
+ export type LibrariesRemoveLibraryMember400 = DecodeErrorResponse;
5157
+ export declare const LibrariesRemoveLibraryMember400: Schema.Struct<{
5693
5158
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
5694
5159
  readonly type: Schema.String;
5695
5160
  readonly title: Schema.String;
@@ -5698,8 +5163,8 @@ export declare const TeamGrantsDeleteTeamExtensionGrant400: Schema.Struct<{
5698
5163
  readonly instance: Schema.optionalKey<Schema.String>;
5699
5164
  readonly code: Schema.String;
5700
5165
  }>;
5701
- export type TeamGrantsDeleteTeamExtensionGrant401 = ProblemDetails;
5702
- export declare const TeamGrantsDeleteTeamExtensionGrant401: Schema.Struct<{
5166
+ export type LibrariesRemoveLibraryMember401 = ProblemDetails;
5167
+ export declare const LibrariesRemoveLibraryMember401: Schema.Struct<{
5703
5168
  readonly type: Schema.String;
5704
5169
  readonly title: Schema.String;
5705
5170
  readonly status: Schema.Number;
@@ -5714,8 +5179,8 @@ export declare const TeamGrantsDeleteTeamExtensionGrant401: Schema.Struct<{
5714
5179
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5715
5180
  }>>;
5716
5181
  }>;
5717
- export type TeamGrantsDeleteTeamExtensionGrant403 = ForbiddenError | ForbiddenError;
5718
- export declare const TeamGrantsDeleteTeamExtensionGrant403: Schema.Union<readonly [Schema.Struct<{
5182
+ export type LibrariesRemoveLibraryMember403 = ForbiddenError | ForbiddenError;
5183
+ export declare const LibrariesRemoveLibraryMember403: Schema.Union<readonly [Schema.Struct<{
5719
5184
  readonly kind: Schema.Literal<"ForbiddenError">;
5720
5185
  readonly type: Schema.String;
5721
5186
  readonly title: Schema.String;
@@ -5760,8 +5225,24 @@ export declare const TeamGrantsDeleteTeamExtensionGrant403: Schema.Union<readonl
5760
5225
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5761
5226
  }>]>>;
5762
5227
  }>]>;
5763
- export type TeamGrantsDeleteTeamExtensionGrant404 = ProblemDetails;
5764
- export declare const TeamGrantsDeleteTeamExtensionGrant404: Schema.Struct<{
5228
+ export type LibrariesRemoveLibraryMember404 = ProblemDetails;
5229
+ export declare const LibrariesRemoveLibraryMember404: Schema.Struct<{
5230
+ readonly type: Schema.String;
5231
+ readonly title: Schema.String;
5232
+ readonly status: Schema.Number;
5233
+ readonly detail: Schema.String;
5234
+ readonly instance: Schema.optionalKey<Schema.String>;
5235
+ readonly code: Schema.String;
5236
+ readonly details: Schema.optionalKey<Schema.Struct<{
5237
+ readonly retryable: Schema.Boolean;
5238
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
5239
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
5240
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
5241
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5242
+ }>>;
5243
+ }>;
5244
+ export type LibrariesRemoveLibraryMember422 = ProblemDetails;
5245
+ export declare const LibrariesRemoveLibraryMember422: Schema.Struct<{
5765
5246
  readonly type: Schema.String;
5766
5247
  readonly title: Schema.String;
5767
5248
  readonly status: Schema.Number;
@@ -6599,6 +6080,13 @@ export interface RegistryClient {
6599
6080
  readonly ExtensionsGet: <Config extends OperationConfig>(owner: string, type: string, name: string, options: {
6600
6081
  readonly config?: Config | undefined;
6601
6082
  } | undefined) => Effect.Effect<WithOptionalResponse<typeof ExtensionsGet200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsGet400", typeof ExtensionsGet400.Type> | RegistryClientError<"ExtensionsGet404", typeof ExtensionsGet404.Type>>;
6083
+ /**
6084
+ * Permanently delete a whole Extension
6085
+ */
6086
+ readonly ExtensionsDeleteExtension: <Config extends OperationConfig>(owner: string, type: string, name: string, options: {
6087
+ readonly payload: typeof ExtensionsDeleteExtensionRequestJson.Encoded;
6088
+ readonly config?: Config | undefined;
6089
+ }) => Effect.Effect<WithOptionalResponse<typeof ExtensionsDeleteExtension202.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsDeleteExtension400", typeof ExtensionsDeleteExtension400.Type> | RegistryClientError<"ExtensionsDeleteExtension401", typeof ExtensionsDeleteExtension401.Type> | RegistryClientError<"ExtensionsDeleteExtension403", typeof ExtensionsDeleteExtension403.Type> | RegistryClientError<"ExtensionsDeleteExtension404", typeof ExtensionsDeleteExtension404.Type> | RegistryClientError<"ExtensionsDeleteExtension409", typeof ExtensionsDeleteExtension409.Type>>;
6602
6090
  /**
6603
6091
  * Check whether an extension exists
6604
6092
  */
@@ -6611,13 +6099,13 @@ export interface RegistryClient {
6611
6099
  readonly ExtensionsUpdateVisibility: <Config extends OperationConfig>(owner: string, type: string, name: string, options: {
6612
6100
  readonly payload: typeof ExtensionsUpdateVisibilityRequestJson.Encoded;
6613
6101
  readonly config?: Config | undefined;
6614
- }) => Effect.Effect<WithOptionalResponse<typeof ExtensionsUpdateVisibility200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsUpdateVisibility400", typeof ExtensionsUpdateVisibility400.Type> | RegistryClientError<"ExtensionsUpdateVisibility401", typeof ExtensionsUpdateVisibility401.Type> | RegistryClientError<"ExtensionsUpdateVisibility403", typeof ExtensionsUpdateVisibility403.Type> | RegistryClientError<"ExtensionsUpdateVisibility404", typeof ExtensionsUpdateVisibility404.Type> | RegistryClientError<"ExtensionsUpdateVisibility422", typeof ExtensionsUpdateVisibility422.Type>>;
6102
+ }) => Effect.Effect<WithOptionalResponse<typeof ExtensionsUpdateVisibility200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsUpdateVisibility400", typeof ExtensionsUpdateVisibility400.Type> | RegistryClientError<"ExtensionsUpdateVisibility401", typeof ExtensionsUpdateVisibility401.Type> | RegistryClientError<"ExtensionsUpdateVisibility403", typeof ExtensionsUpdateVisibility403.Type> | RegistryClientError<"ExtensionsUpdateVisibility404", typeof ExtensionsUpdateVisibility404.Type>>;
6615
6103
  /**
6616
6104
  * Get extension version metadata
6617
6105
  */
6618
6106
  readonly ExtensionsGetVersion: <Config extends OperationConfig>(owner: string, type: string, name: string, version: string, options: {
6619
6107
  readonly config?: Config | undefined;
6620
- } | undefined) => Effect.Effect<WithOptionalResponse<typeof ExtensionsGetVersion200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsGetVersion400", typeof ExtensionsGetVersion400.Type> | RegistryClientError<"ExtensionsGetVersion404", typeof ExtensionsGetVersion404.Type>>;
6108
+ } | undefined) => Effect.Effect<WithOptionalResponse<typeof ExtensionsGetVersion200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsGetVersion400", typeof ExtensionsGetVersion400.Type> | RegistryClientError<"ExtensionsGetVersion404", typeof ExtensionsGetVersion404.Type> | RegistryClientError<"ExtensionsGetVersion410", typeof ExtensionsGetVersion410.Type>>;
6621
6109
  /**
6622
6110
  * Publish extension version
6623
6111
  */
@@ -6626,17 +6114,17 @@ export interface RegistryClient {
6626
6114
  readonly config?: Config | undefined;
6627
6115
  }) => Effect.Effect<WithOptionalResponse<typeof ExtensionsPublishVersion201.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsPublishVersion400", typeof ExtensionsPublishVersion400.Type> | RegistryClientError<"ExtensionsPublishVersion401", typeof ExtensionsPublishVersion401.Type> | RegistryClientError<"ExtensionsPublishVersion403", typeof ExtensionsPublishVersion403.Type> | RegistryClientError<"ExtensionsPublishVersion404", typeof ExtensionsPublishVersion404.Type> | RegistryClientError<"ExtensionsPublishVersion409", typeof ExtensionsPublishVersion409.Type> | RegistryClientError<"ExtensionsPublishVersion413", typeof ExtensionsPublishVersion413.Type> | RegistryClientError<"ExtensionsPublishVersion415", typeof ExtensionsPublishVersion415.Type> | RegistryClientError<"ExtensionsPublishVersion422", typeof ExtensionsPublishVersion422.Type> | RegistryClientError<"ExtensionsPublishVersion429", typeof ExtensionsPublishVersion429.Type> | RegistryClientError<"ExtensionsPublishVersion500", typeof ExtensionsPublishVersion500.Type> | RegistryClientError<"ExtensionsPublishVersion503", typeof ExtensionsPublishVersion503.Type>>;
6628
6116
  /**
6629
- * Hard-delete an extension version
6117
+ * Get Extension deletion operation status
6630
6118
  */
6631
- readonly ExtensionsDeleteVersion: <Config extends OperationConfig>(owner: string, type: string, name: string, version: string, options: {
6119
+ readonly ExtensionsGetDeletionOperation: <Config extends OperationConfig>(operationId: string, options: {
6632
6120
  readonly config?: Config | undefined;
6633
- } | undefined) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsDeleteVersion400", typeof ExtensionsDeleteVersion400.Type> | RegistryClientError<"ExtensionsDeleteVersion401", typeof ExtensionsDeleteVersion401.Type> | RegistryClientError<"ExtensionsDeleteVersion403", typeof ExtensionsDeleteVersion403.Type> | RegistryClientError<"ExtensionsDeleteVersion404", typeof ExtensionsDeleteVersion404.Type>>;
6121
+ } | undefined) => Effect.Effect<WithOptionalResponse<typeof ExtensionsGetDeletionOperation200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsGetDeletionOperation400", typeof ExtensionsGetDeletionOperation400.Type> | RegistryClientError<"ExtensionsGetDeletionOperation401", typeof ExtensionsGetDeletionOperation401.Type> | RegistryClientError<"ExtensionsGetDeletionOperation403", typeof ExtensionsGetDeletionOperation403.Type> | RegistryClientError<"ExtensionsGetDeletionOperation404", typeof ExtensionsGetDeletionOperation404.Type>>;
6634
6122
  /**
6635
6123
  * Download extension archive
6636
6124
  */
6637
6125
  readonly ExtensionsDownloadArchive: <Config extends OperationConfig>(owner: string, type: string, name: string, version: string, options: {
6638
6126
  readonly config?: Config | undefined;
6639
- } | undefined) => Effect.Effect<WithOptionalResponse<Uint8Array, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsDownloadArchive400", typeof ExtensionsDownloadArchive400.Type> | RegistryClientError<"ExtensionsDownloadArchive404", typeof ExtensionsDownloadArchive404.Type> | RegistryClientError<"ExtensionsDownloadArchive500", typeof ExtensionsDownloadArchive500.Type>>;
6127
+ } | undefined) => Effect.Effect<WithOptionalResponse<Uint8Array, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsDownloadArchive400", typeof ExtensionsDownloadArchive400.Type> | RegistryClientError<"ExtensionsDownloadArchive404", typeof ExtensionsDownloadArchive404.Type> | RegistryClientError<"ExtensionsDownloadArchive410", typeof ExtensionsDownloadArchive410.Type> | RegistryClientError<"ExtensionsDownloadArchive500", typeof ExtensionsDownloadArchive500.Type>>;
6640
6128
  /**
6641
6129
  * Download extension archive
6642
6130
  */
@@ -6658,14 +6146,35 @@ export interface RegistryClient {
6658
6146
  * Yank an extension version
6659
6147
  */
6660
6148
  readonly ExtensionsYankVersion: <Config extends OperationConfig>(owner: string, type: string, name: string, version: string, options: {
6149
+ readonly payload: typeof ExtensionsYankVersionRequestJson.Encoded;
6661
6150
  readonly config?: Config | undefined;
6662
- } | undefined) => Effect.Effect<WithOptionalResponse<typeof ExtensionsYankVersion200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsYankVersion400", typeof ExtensionsYankVersion400.Type> | RegistryClientError<"ExtensionsYankVersion401", typeof ExtensionsYankVersion401.Type> | RegistryClientError<"ExtensionsYankVersion403", typeof ExtensionsYankVersion403.Type> | RegistryClientError<"ExtensionsYankVersion404", typeof ExtensionsYankVersion404.Type>>;
6151
+ }) => Effect.Effect<WithOptionalResponse<typeof ExtensionsYankVersion200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsYankVersion400", typeof ExtensionsYankVersion400.Type> | RegistryClientError<"ExtensionsYankVersion401", typeof ExtensionsYankVersion401.Type> | RegistryClientError<"ExtensionsYankVersion403", typeof ExtensionsYankVersion403.Type> | RegistryClientError<"ExtensionsYankVersion404", typeof ExtensionsYankVersion404.Type>>;
6663
6152
  /**
6664
6153
  * Un-yank an extension version
6665
6154
  */
6666
6155
  readonly ExtensionsUnyankVersion: <Config extends OperationConfig>(owner: string, type: string, name: string, version: string, options: {
6667
6156
  readonly config?: Config | undefined;
6668
6157
  } | 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>>;
6158
+ /**
6159
+ * Yank all currently available extension versions
6160
+ */
6161
+ readonly ExtensionsYankAvailableVersions: <Config extends OperationConfig>(owner: string, type: string, name: string, options: {
6162
+ readonly payload: typeof ExtensionsYankAvailableVersionsRequestJson.Encoded;
6163
+ readonly config?: Config | undefined;
6164
+ }) => Effect.Effect<WithOptionalResponse<typeof ExtensionsYankAvailableVersions200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsYankAvailableVersions400", typeof ExtensionsYankAvailableVersions400.Type> | RegistryClientError<"ExtensionsYankAvailableVersions401", typeof ExtensionsYankAvailableVersions401.Type> | RegistryClientError<"ExtensionsYankAvailableVersions403", typeof ExtensionsYankAvailableVersions403.Type> | RegistryClientError<"ExtensionsYankAvailableVersions404", typeof ExtensionsYankAvailableVersions404.Type>>;
6165
+ /**
6166
+ * Preview permanent Extension deletion impact
6167
+ */
6168
+ readonly ExtensionsGetDeletionPreview: <Config extends OperationConfig>(owner: string, type: string, name: string, options: {
6169
+ readonly config?: Config | undefined;
6170
+ } | undefined) => Effect.Effect<WithOptionalResponse<typeof ExtensionsGetDeletionPreview200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"ExtensionsGetDeletionPreview400", typeof ExtensionsGetDeletionPreview400.Type> | RegistryClientError<"ExtensionsGetDeletionPreview401", typeof ExtensionsGetDeletionPreview401.Type> | RegistryClientError<"ExtensionsGetDeletionPreview403", typeof ExtensionsGetDeletionPreview403.Type> | RegistryClientError<"ExtensionsGetDeletionPreview404", typeof ExtensionsGetDeletionPreview404.Type>>;
6171
+ /**
6172
+ * Administratively purge extension version bytes
6173
+ */
6174
+ readonly AdminExtensionsPurgeExtensionVersion: <Config extends OperationConfig>(owner: string, type: string, name: string, version: string, options: {
6175
+ readonly payload: typeof AdminExtensionsPurgeExtensionVersionRequestJson.Encoded;
6176
+ readonly config?: Config | undefined;
6177
+ }) => Effect.Effect<WithOptionalResponse<typeof AdminExtensionsPurgeExtensionVersion202.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AdminExtensionsPurgeExtensionVersion400", typeof AdminExtensionsPurgeExtensionVersion400.Type> | RegistryClientError<"AdminExtensionsPurgeExtensionVersion401", typeof AdminExtensionsPurgeExtensionVersion401.Type> | RegistryClientError<"AdminExtensionsPurgeExtensionVersion403", typeof AdminExtensionsPurgeExtensionVersion403.Type> | RegistryClientError<"AdminExtensionsPurgeExtensionVersion404", typeof AdminExtensionsPurgeExtensionVersion404.Type> | RegistryClientError<"AdminExtensionsPurgeExtensionVersion409", typeof AdminExtensionsPurgeExtensionVersion409.Type>>;
6669
6178
  /**
6670
6179
  * List owner Libraries
6671
6180
  */
@@ -6730,70 +6239,6 @@ export interface RegistryClient {
6730
6239
  readonly LibrariesRemoveLibraryMember: <Config extends OperationConfig>(owner: string, name: string, extensionOwner: string, extensionType: string, extensionName: string, options: {
6731
6240
  readonly config?: Config | undefined;
6732
6241
  } | 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>>;
6733
- /**
6734
- * List extension collaborators
6735
- */
6736
- readonly CollaboratorsListCollaborators: <Config extends OperationConfig>(owner: string, type: string, name: string, options: {
6737
- readonly config?: Config | undefined;
6738
- } | undefined) => Effect.Effect<WithOptionalResponse<typeof CollaboratorsListCollaborators200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"CollaboratorsListCollaborators400", typeof CollaboratorsListCollaborators400.Type> | RegistryClientError<"CollaboratorsListCollaborators401", typeof CollaboratorsListCollaborators401.Type> | RegistryClientError<"CollaboratorsListCollaborators403", typeof CollaboratorsListCollaborators403.Type> | RegistryClientError<"CollaboratorsListCollaborators404", typeof CollaboratorsListCollaborators404.Type>>;
6739
- /**
6740
- * Adds or updates the collaborator identified by userId on the extension.
6741
- */
6742
- readonly CollaboratorsUpsertCollaborator: <Config extends OperationConfig>(owner: string, type: string, name: string, userId: string, options: {
6743
- readonly payload: typeof CollaboratorsUpsertCollaboratorRequestJson.Encoded;
6744
- readonly config?: Config | undefined;
6745
- }) => Effect.Effect<WithOptionalResponse<typeof CollaboratorsUpsertCollaborator200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"CollaboratorsUpsertCollaborator400", typeof CollaboratorsUpsertCollaborator400.Type> | RegistryClientError<"CollaboratorsUpsertCollaborator401", typeof CollaboratorsUpsertCollaborator401.Type> | RegistryClientError<"CollaboratorsUpsertCollaborator403", typeof CollaboratorsUpsertCollaborator403.Type> | RegistryClientError<"CollaboratorsUpsertCollaborator404", typeof CollaboratorsUpsertCollaborator404.Type>>;
6746
- /**
6747
- * Removes the collaborator identified by userId from the extension.
6748
- */
6749
- readonly CollaboratorsDeleteCollaborator: <Config extends OperationConfig>(owner: string, type: string, name: string, userId: string, options: {
6750
- readonly config?: Config | undefined;
6751
- } | undefined) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"CollaboratorsDeleteCollaborator400", typeof CollaboratorsDeleteCollaborator400.Type> | RegistryClientError<"CollaboratorsDeleteCollaborator401", typeof CollaboratorsDeleteCollaborator401.Type> | RegistryClientError<"CollaboratorsDeleteCollaborator403", typeof CollaboratorsDeleteCollaborator403.Type> | RegistryClientError<"CollaboratorsDeleteCollaborator404", typeof CollaboratorsDeleteCollaborator404.Type> | RegistryClientError<"CollaboratorsDeleteCollaborator409", typeof CollaboratorsDeleteCollaborator409.Type>>;
6752
- /**
6753
- * List extension grants
6754
- */
6755
- readonly TeamGrantsListExtensionGrants: <Config extends OperationConfig>(owner: string, type: string, name: string, options: {
6756
- readonly config?: Config | undefined;
6757
- } | undefined) => Effect.Effect<WithOptionalResponse<typeof TeamGrantsListExtensionGrants200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TeamGrantsListExtensionGrants400", typeof TeamGrantsListExtensionGrants400.Type> | RegistryClientError<"TeamGrantsListExtensionGrants401", typeof TeamGrantsListExtensionGrants401.Type> | RegistryClientError<"TeamGrantsListExtensionGrants403", typeof TeamGrantsListExtensionGrants403.Type> | RegistryClientError<"TeamGrantsListExtensionGrants404", typeof TeamGrantsListExtensionGrants404.Type>>;
6758
- /**
6759
- * Creates or updates a grant of a team's access to this extension. The team must belong to the same organization that owns the extension (otherwise 422). Only team admins or organization owners/admins may grant.
6760
- */
6761
- readonly TeamGrantsUpsertTeamExtensionGrant: <Config extends OperationConfig>(owner: string, type: string, name: string, options: {
6762
- readonly payload: typeof TeamGrantsUpsertTeamExtensionGrantRequestJson.Encoded;
6763
- readonly config?: Config | undefined;
6764
- }) => Effect.Effect<WithOptionalResponse<typeof TeamGrantsUpsertTeamExtensionGrant200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrant400", typeof TeamGrantsUpsertTeamExtensionGrant400.Type> | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrant401", typeof TeamGrantsUpsertTeamExtensionGrant401.Type> | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrant403", typeof TeamGrantsUpsertTeamExtensionGrant403.Type> | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrant404", typeof TeamGrantsUpsertTeamExtensionGrant404.Type> | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrant422", typeof TeamGrantsUpsertTeamExtensionGrant422.Type>>;
6765
- /**
6766
- * Adds or updates the user grant identified by userId on the extension.
6767
- */
6768
- readonly TeamGrantsUpsertUserExtensionGrant: <Config extends OperationConfig>(owner: string, type: string, name: string, userId: string, options: {
6769
- readonly payload: typeof TeamGrantsUpsertUserExtensionGrantRequestJson.Encoded;
6770
- readonly config?: Config | undefined;
6771
- }) => Effect.Effect<WithOptionalResponse<typeof TeamGrantsUpsertUserExtensionGrant200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TeamGrantsUpsertUserExtensionGrant400", typeof TeamGrantsUpsertUserExtensionGrant400.Type> | RegistryClientError<"TeamGrantsUpsertUserExtensionGrant401", typeof TeamGrantsUpsertUserExtensionGrant401.Type> | RegistryClientError<"TeamGrantsUpsertUserExtensionGrant403", typeof TeamGrantsUpsertUserExtensionGrant403.Type> | RegistryClientError<"TeamGrantsUpsertUserExtensionGrant404", typeof TeamGrantsUpsertUserExtensionGrant404.Type>>;
6772
- /**
6773
- * Removes the user grant identified by userId from the extension.
6774
- */
6775
- readonly TeamGrantsDeleteUserExtensionGrant: <Config extends OperationConfig>(owner: string, type: string, name: string, userId: string, options: {
6776
- readonly config?: Config | undefined;
6777
- } | undefined) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TeamGrantsDeleteUserExtensionGrant400", typeof TeamGrantsDeleteUserExtensionGrant400.Type> | RegistryClientError<"TeamGrantsDeleteUserExtensionGrant401", typeof TeamGrantsDeleteUserExtensionGrant401.Type> | RegistryClientError<"TeamGrantsDeleteUserExtensionGrant403", typeof TeamGrantsDeleteUserExtensionGrant403.Type> | RegistryClientError<"TeamGrantsDeleteUserExtensionGrant404", typeof TeamGrantsDeleteUserExtensionGrant404.Type> | RegistryClientError<"TeamGrantsDeleteUserExtensionGrant409", typeof TeamGrantsDeleteUserExtensionGrant409.Type>>;
6778
- /**
6779
- * Adds or updates the team grant identified by teamId on the extension.
6780
- */
6781
- readonly TeamGrantsUpsertTeamExtensionGrantById: <Config extends OperationConfig>(owner: string, type: string, name: string, teamId: string, options: {
6782
- readonly payload: typeof TeamGrantsUpsertTeamExtensionGrantByIdRequestJson.Encoded;
6783
- readonly config?: Config | undefined;
6784
- }) => Effect.Effect<WithOptionalResponse<typeof TeamGrantsUpsertTeamExtensionGrantById200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrantById400", typeof TeamGrantsUpsertTeamExtensionGrantById400.Type> | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrantById401", typeof TeamGrantsUpsertTeamExtensionGrantById401.Type> | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrantById403", typeof TeamGrantsUpsertTeamExtensionGrantById403.Type> | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrantById404", typeof TeamGrantsUpsertTeamExtensionGrantById404.Type> | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrantById422", typeof TeamGrantsUpsertTeamExtensionGrantById422.Type>>;
6785
- /**
6786
- * Removes the team grant identified by teamId from the extension.
6787
- */
6788
- readonly TeamGrantsDeleteTeamExtensionGrantById: <Config extends OperationConfig>(owner: string, type: string, name: string, teamId: string, options: {
6789
- readonly config?: Config | undefined;
6790
- } | undefined) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrantById400", typeof TeamGrantsDeleteTeamExtensionGrantById400.Type> | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrantById401", typeof TeamGrantsDeleteTeamExtensionGrantById401.Type> | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrantById403", typeof TeamGrantsDeleteTeamExtensionGrantById403.Type> | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrantById404", typeof TeamGrantsDeleteTeamExtensionGrantById404.Type>>;
6791
- /**
6792
- * Removes a team's grant on this extension. Idempotent — deleting a non-existent grant still returns 204.
6793
- */
6794
- readonly TeamGrantsDeleteTeamExtensionGrant: <Config extends OperationConfig>(owner: string, type: string, name: string, teamId: string, options: {
6795
- readonly config?: Config | undefined;
6796
- } | undefined) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrant400", typeof TeamGrantsDeleteTeamExtensionGrant400.Type> | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrant401", typeof TeamGrantsDeleteTeamExtensionGrant401.Type> | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrant403", typeof TeamGrantsDeleteTeamExtensionGrant403.Type> | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrant404", typeof TeamGrantsDeleteTeamExtensionGrant404.Type>>;
6797
6242
  /**
6798
6243
  * Returns the apex maintainer for an extension, or none when org-owner fallback is active.
6799
6244
  */