@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
@@ -75,7 +75,7 @@ export const PublishDetails = Schema.Struct({
75
75
  description: "The scopes present on the token used for the request.",
76
76
  })),
77
77
  requiredRole: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]).annotate({
78
- description: "The collaborator role required, if applicable.",
78
+ description: "The management role required, if applicable.",
79
79
  })),
80
80
  }).annotate({
81
81
  title: "Publish Details",
@@ -176,7 +176,7 @@ export const AuthorizationDenyDetails = Schema.Struct({
176
176
  tokenScopes: Schema.Array(Schema.String).annotate({
177
177
  description: "The scopes present on the token used for the request.",
178
178
  }),
179
- requiredRole: Schema.optionalKey(Schema.String.annotate({ description: "The collaborator role required, if applicable." })),
179
+ requiredRole: Schema.optionalKey(Schema.String.annotate({ description: "The management role required, if applicable." })),
180
180
  }).annotate({
181
181
  title: "Authorization Deny Details",
182
182
  description: "Diagnostic details returned when a request is denied due to insufficient authorization.",
@@ -363,8 +363,13 @@ export const PackageIdentityPurl = Schema.String.check(Schema.isMinLength(1)).ch
363
363
  description: "A Package URL (purl) identity for a companion package. Companion package purls are identities, not pins: omit the purl @version segment and put compatibility constraints in versionRange.",
364
364
  examples: ["pkg:npm/react", "pkg:pypi/requests", "pkg:cargo/serde"],
365
365
  }));
366
+ export const ExtensionDeletionOperationId = Schema.String.check(Schema.isPattern(new RegExp("^edel_[0-7][0-9a-hjkmnp-tv-z]{25}$"), {
367
+ title: "Extension Deletion Operation ID",
368
+ description: "Identifies a durable owner-requested whole-Extension deletion operation.",
369
+ examples: ["edel_01h455vb4pexka56gq5w2r7cpc"],
370
+ }));
366
371
  export const PatchVisibilityBody = Schema.Struct({
367
- visibility: Schema.Literals(["public", "internal", "private"]).annotate({
372
+ visibility: Schema.Literals(["public", "private"]).annotate({
368
373
  title: "Visibility",
369
374
  description: "Target visibility tier for the extension.",
370
375
  }),
@@ -442,6 +447,36 @@ export const PublishIdentityMismatchEntry = Schema.Struct({
442
447
  title: "Identity Mismatch Entry",
443
448
  description: "Single divergent identity field between URL-path and archive.",
444
449
  });
450
+ export const YankVersionBody = Schema.Struct({
451
+ category: Schema.optionalKey(Schema.Union([Schema.Literals(["broken", "security", "accidental", "other"]), Schema.Null])),
452
+ notice: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxLength(500)), Schema.Null])),
453
+ }).annotate({
454
+ title: "Yank Version Body",
455
+ description: "Optional public context for yanking an extension version.",
456
+ });
457
+ export const YankAvailableVersionsBody = Schema.Struct({
458
+ selection: Schema.Literal("all-available"),
459
+ category: Schema.optionalKey(Schema.Union([Schema.Literals(["broken", "security", "accidental", "other"]), Schema.Null])),
460
+ notice: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxLength(500)), Schema.Null])),
461
+ }).annotate({
462
+ title: "Yank Available Versions Body",
463
+ description: "Atomically yanks the snapshot of all currently available versions.",
464
+ });
465
+ export const DeleteExtensionBody = Schema.Struct({
466
+ confirmation: Schema.String.annotate({
467
+ description: "Exact full Extension FQN typed by the owner to confirm deletion.",
468
+ }),
469
+ }).annotate({
470
+ title: "Delete Extension Body",
471
+ description: "High-intent confirmation for permanent whole-Extension deletion.",
472
+ });
473
+ export const PurgeExtensionVersionBody = Schema.Struct({
474
+ reason: Schema.Literals(["malware", "exposed_secret", "legal", "privacy", "policy"]),
475
+ confirmSharedDigest: Schema.Boolean,
476
+ }).annotate({
477
+ title: "Purge Extension Version Body",
478
+ description: "Administrative purge reason and explicit acknowledgement of shared-content impact.",
479
+ });
445
480
  export const LibraryId = Schema.String.check(Schema.isPattern(new RegExp("^lib_[0-7][0-9a-hjkmnp-tv-z]{25}$"), {
446
481
  title: "Library ID",
447
482
  description: "Identifies a workspace-owned installable collection of extension identities in the registry.",
@@ -452,7 +487,7 @@ export const LibraryName = Schema.String.annotate({
452
487
  description: "Canonical Library name within an owner namespace. Uses the same normalized slug grammar as handles.",
453
488
  examples: ["frontend", "team-tools"],
454
489
  });
455
- export const LibraryVisibility = Schema.Literals(["public", "internal", "private"]).annotate({
490
+ export const LibraryVisibility = Schema.Literals(["public", "private"]).annotate({
456
491
  title: "Library Visibility",
457
492
  });
458
493
  export const LibraryMemberId = Schema.String.check(Schema.isPattern(new RegExp("^lmem_[0-7][0-9a-hjkmnp-tv-z]{25}$"), {
@@ -464,16 +499,6 @@ export const UpdateLibraryBody = Schema.Struct({
464
499
  title: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
465
500
  description: Schema.optionalKey(Schema.Union([Schema.Union([Schema.String, Schema.Null]), Schema.Null])),
466
501
  }).annotate({ title: "Update Library Body" });
467
- export const PutCollaboratorBody = Schema.Struct({
468
- role: Schema.Literals(["write", "read"]).annotate({
469
- title: "Collaborator Role",
470
- description: "The role to assign to the collaborator.",
471
- }),
472
- }).annotate({
473
- title: "Put Collaborator Body",
474
- description: "Request body for assigning a collaborator role on an extension.",
475
- });
476
- export const UpsertGrantBody = Schema.Struct({ role: Schema.Literals(["read", "write"]) }).annotate({ title: "Upsert Grant Body" });
477
502
  export const ExtensionFqn = Schema.String.check(Schema.isPattern(new RegExp("^(@[a-z0-9_](?:[a-z0-9_-]*[a-z0-9_])?)\\/(skills|commands|mcps|subagents|files|rules|hooks|packs)\\/([a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?)$"), {
478
503
  title: "Extension FQN",
479
504
  description: "Canonical extension identifier in @owner/<type>s/<name> form.",
@@ -654,25 +679,6 @@ export const LibraryMaintainerTarget = Schema.Union([
654
679
  Schema.Struct({ kind: Schema.Literal("user"), userId: UserId }),
655
680
  Schema.Struct({ kind: Schema.Literal("team"), teamId: TeamId }),
656
681
  ]).annotate({ title: "Library Maintainer Target" });
657
- export const ExtensionGrantEntry = Schema.Struct({
658
- subject: Schema.Union([
659
- Schema.Struct({ kind: Schema.Literal("user"), userId: UserId }),
660
- Schema.Struct({ kind: Schema.Literal("team"), teamId: TeamId }),
661
- ]),
662
- role: Schema.Literals(["read", "write"]),
663
- grantedBy: Schema.Union([UserId, Schema.Null]).annotate({ readOnly: true }),
664
- createdAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
665
- }).annotate({ title: "Extension Grant Entry" });
666
- export const TeamGrant = Schema.Struct({
667
- teamId: TeamId,
668
- role: Schema.Literals(["read", "write"]),
669
- grantedBy: Schema.String,
670
- grantedAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
671
- }).annotate({ title: "Team Grant" });
672
- export const UpsertTeamGrantBody = Schema.Struct({
673
- teamId: TeamId,
674
- role: Schema.Literals(["read", "write"]),
675
- }).annotate({ title: "Upsert Team Grant Body" });
676
682
  export const Maintainer = Schema.Union([
677
683
  Schema.Struct({
678
684
  kind: Schema.Literal("user"),
@@ -733,6 +739,16 @@ export const PublishIdentity = Schema.Struct({
733
739
  title: "Publish Identity",
734
740
  description: "URL-path identity of the extension version under publish.",
735
741
  });
742
+ export const SharedDigestConfirmationRequiredHttpError = Schema.Struct({
743
+ kind: Schema.Literal("SharedDigestConfirmationRequiredHttpError"),
744
+ type: Schema.String,
745
+ title: Schema.String,
746
+ status: Schema.Number.check(Schema.isInt()),
747
+ detail: Schema.String,
748
+ instance: Schema.optionalKey(Schema.String),
749
+ code: Schema.Literal("shared_digest_confirmation_required"),
750
+ affectedCoordinates: Schema.Array(Schema.Struct({ owner: Handle, type: ExtensionType, name: ExtensionName, version: Version })),
751
+ });
736
752
  export const SearchHit = Schema.Struct({
737
753
  name: ExtensionName,
738
754
  owner: Handle,
@@ -829,9 +845,6 @@ export const CreatedLibrary = Schema.Struct({
829
845
  createdAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
830
846
  updatedAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
831
847
  }).annotate({ title: "Created Library" });
832
- export const ExtensionGrantsResponse = Schema.Struct({
833
- grants: Schema.Array(ExtensionGrantEntry),
834
- }).annotate({ title: "Extension Grants Response" });
835
848
  export const TeamList = Schema.Struct({
836
849
  items: Schema.Array(Team),
837
850
  nextCursor: Schema.Union([Schema.String, Schema.Null]),
@@ -1133,6 +1146,7 @@ export const ExtensionsGet200 = Schema.Struct({
1133
1146
  name: ExtensionName,
1134
1147
  owner: Handle,
1135
1148
  type: ExtensionType,
1149
+ publisher_binding_id: Schema.optionalKey(Schema.String.annotate({ readOnly: true })),
1136
1150
  description: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
1137
1151
  repository: Schema.optionalKey(Schema.Union([Repository, Schema.Null])),
1138
1152
  bugs: Schema.optionalKey(Schema.Union([Bugs, Schema.Null])),
@@ -1145,9 +1159,11 @@ export const ExtensionsGet200 = Schema.Struct({
1145
1159
  dependencies: Schema.optionalKey(Schema.Union([Schema.Record(Schema.String, VersionRange), Schema.Null])),
1146
1160
  packages: Schema.optionalKey(Schema.Union([Schema.Array(CompanionPackage), Schema.Null])),
1147
1161
  yanked_at: Schema.optionalKey(Schema.Union([IsoDateTimeString, Schema.Null])),
1162
+ yank_category: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
1163
+ yank_notice: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
1148
1164
  })),
1149
1165
  visibility: Schema.optionalKey(Schema.Union([
1150
- Schema.Literals(["public", "internal", "private"]).annotate({ readOnly: true }),
1166
+ Schema.Literals(["public", "private"]).annotate({ readOnly: true }),
1151
1167
  Schema.Null,
1152
1168
  ])),
1153
1169
  deprecated_at: Schema.optionalKey(Schema.Union([IsoDateTimeString, Schema.Null])),
@@ -1155,6 +1171,50 @@ export const ExtensionsGet200 = Schema.Struct({
1155
1171
  });
1156
1172
  export const ExtensionsGet400 = DecodeErrorResponse;
1157
1173
  export const ExtensionsGet404 = ProblemDetails;
1174
+ export const ExtensionsDeleteExtensionRequestJson = DeleteExtensionBody;
1175
+ export const ExtensionsDeleteExtension202 = Schema.Struct({
1176
+ operationId: ExtensionDeletionOperationId,
1177
+ state: Schema.Literal("pending"),
1178
+ requiredConfirmation: Schema.String,
1179
+ warnings: Schema.Struct({
1180
+ versions: Schema.Array(Schema.String),
1181
+ dependentPackCount: Schema.Union([
1182
+ Schema.Union([
1183
+ Schema.Number.check(Schema.isFinite()),
1184
+ Schema.Literal("NaN"),
1185
+ Schema.Literal("Infinity"),
1186
+ Schema.Literal("-Infinity"),
1187
+ ]),
1188
+ Schema.Literals(["Infinity", "-Infinity", "NaN"]),
1189
+ ]),
1190
+ libraryMembershipCount: Schema.Union([
1191
+ Schema.Union([
1192
+ Schema.Number.check(Schema.isFinite()),
1193
+ Schema.Literal("NaN"),
1194
+ Schema.Literal("Infinity"),
1195
+ Schema.Literal("-Infinity"),
1196
+ ]),
1197
+ Schema.Literals(["Infinity", "-Infinity", "NaN"]),
1198
+ ]),
1199
+ downloadCount: Schema.Union([
1200
+ Schema.Union([
1201
+ Schema.Union([
1202
+ Schema.Number.check(Schema.isFinite()),
1203
+ Schema.Literal("NaN"),
1204
+ Schema.Literal("Infinity"),
1205
+ Schema.Literal("-Infinity"),
1206
+ ]),
1207
+ Schema.Literals(["Infinity", "-Infinity", "NaN"]),
1208
+ ]),
1209
+ Schema.Null,
1210
+ ]),
1211
+ }),
1212
+ });
1213
+ export const ExtensionsDeleteExtension400 = Schema.Union([ProblemDetails, DecodeErrorResponse]);
1214
+ export const ExtensionsDeleteExtension401 = Schema.Union([StepUpRequiredError, ProblemDetails]);
1215
+ export const ExtensionsDeleteExtension403 = Schema.Union([ForbiddenError, ForbiddenError]);
1216
+ export const ExtensionsDeleteExtension404 = ProblemDetails;
1217
+ export const ExtensionsDeleteExtension409 = ProblemDetails;
1158
1218
  export const ExtensionsUpdateVisibilityRequestJson = PatchVisibilityBody;
1159
1219
  export const ExtensionsUpdateVisibility200 = Schema.Struct({
1160
1220
  id: ExtensionId,
@@ -1169,11 +1229,11 @@ export const ExtensionsUpdateVisibility400 = Schema.Union([ProblemDetails, Decod
1169
1229
  export const ExtensionsUpdateVisibility401 = ProblemDetails;
1170
1230
  export const ExtensionsUpdateVisibility403 = Schema.Union([ForbiddenError, ForbiddenError]);
1171
1231
  export const ExtensionsUpdateVisibility404 = ProblemDetails;
1172
- export const ExtensionsUpdateVisibility422 = ProblemDetails;
1173
1232
  export const ExtensionsGetVersion200 = Schema.Struct({
1174
1233
  name: ExtensionName,
1175
1234
  owner: Handle,
1176
1235
  type: ExtensionType,
1236
+ publisher_binding_id: Schema.optionalKey(Schema.String.annotate({ readOnly: true })),
1177
1237
  version: Version,
1178
1238
  status: Schema.Literals(["pending", "available", "failed"]).annotate({ readOnly: true }),
1179
1239
  published: IsoDateTimeString,
@@ -1186,10 +1246,12 @@ export const ExtensionsGetVersion200 = Schema.Struct({
1186
1246
  dependencies: Schema.optionalKey(Schema.Union([Schema.Record(Schema.String, VersionRange), Schema.Null])),
1187
1247
  packages: Schema.optionalKey(Schema.Union([Schema.Array(CompanionPackage), Schema.Null])),
1188
1248
  yanked_at: Schema.optionalKey(Schema.Union([IsoDateTimeString, Schema.Null])),
1189
- deleted_at: Schema.optionalKey(Schema.Union([IsoDateTimeString, Schema.Null])),
1249
+ yank_category: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
1250
+ yank_notice: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
1190
1251
  });
1191
1252
  export const ExtensionsGetVersion400 = DecodeErrorResponse;
1192
1253
  export const ExtensionsGetVersion404 = ProblemDetails;
1254
+ export const ExtensionsGetVersion410 = ProblemDetails;
1193
1255
  export const ExtensionsPublishVersionRequestFormData = Schema.Struct({
1194
1256
  archive: Schema.String.annotate({ description: "Extension archive multipart file part." }),
1195
1257
  integrity: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
@@ -1220,12 +1282,25 @@ export const ExtensionsPublishVersion422 = Schema.Union([
1220
1282
  export const ExtensionsPublishVersion429 = ProblemDetails;
1221
1283
  export const ExtensionsPublishVersion500 = ProblemDetails;
1222
1284
  export const ExtensionsPublishVersion503 = ProblemDetails;
1223
- export const ExtensionsDeleteVersion400 = DecodeErrorResponse;
1224
- export const ExtensionsDeleteVersion401 = ProblemDetails;
1225
- export const ExtensionsDeleteVersion403 = ForbiddenError;
1226
- export const ExtensionsDeleteVersion404 = ProblemDetails;
1285
+ export const ExtensionsGetDeletionOperation200 = Schema.Struct({
1286
+ id: ExtensionDeletionOperationId,
1287
+ owner: Handle,
1288
+ type: ExtensionType,
1289
+ name: ExtensionName,
1290
+ state: Schema.Literals(["pending", "dispatching", "completed", "failed"]),
1291
+ requestedAt: Schema.String,
1292
+ completedAt: Schema.Union([Schema.String, Schema.Null]),
1293
+ nameReclaimableAt: Schema.Union([Schema.String, Schema.Null]),
1294
+ failureCode: Schema.Union([Schema.String, Schema.Null]),
1295
+ failureDetail: Schema.Union([Schema.String, Schema.Null]),
1296
+ });
1297
+ export const ExtensionsGetDeletionOperation400 = DecodeErrorResponse;
1298
+ export const ExtensionsGetDeletionOperation401 = ProblemDetails;
1299
+ export const ExtensionsGetDeletionOperation403 = Schema.Union([ForbiddenError, ForbiddenError]);
1300
+ export const ExtensionsGetDeletionOperation404 = ProblemDetails;
1227
1301
  export const ExtensionsDownloadArchive400 = DecodeErrorResponse;
1228
1302
  export const ExtensionsDownloadArchive404 = ProblemDetails;
1303
+ export const ExtensionsDownloadArchive410 = ProblemDetails;
1229
1304
  export const ExtensionsDownloadArchive500 = ProblemDetails;
1230
1305
  export const ExtensionsDeprecateRequestJson = DeprecateBody;
1231
1306
  export const ExtensionsDeprecate200 = Schema.Struct({
@@ -1253,12 +1328,15 @@ export const ExtensionsUndeprecate400 = DecodeErrorResponse;
1253
1328
  export const ExtensionsUndeprecate401 = ProblemDetails;
1254
1329
  export const ExtensionsUndeprecate403 = ForbiddenError;
1255
1330
  export const ExtensionsUndeprecate404 = ProblemDetails;
1331
+ export const ExtensionsYankVersionRequestJson = YankVersionBody;
1256
1332
  export const ExtensionsYankVersion200 = Schema.Struct({
1257
1333
  owner: Handle,
1258
1334
  type: ExtensionType,
1259
1335
  name: ExtensionName,
1260
1336
  version: Version,
1261
1337
  yankedAt: Schema.Union([IsoDateTimeString, Schema.Null]),
1338
+ yankCategory: Schema.Union([Schema.String, Schema.Null]),
1339
+ yankNotice: Schema.Union([Schema.String, Schema.Null]),
1262
1340
  links: ExtensionLinks,
1263
1341
  });
1264
1342
  export const ExtensionsYankVersion400 = DecodeErrorResponse;
@@ -1271,12 +1349,84 @@ export const ExtensionsUnyankVersion200 = Schema.Struct({
1271
1349
  name: ExtensionName,
1272
1350
  version: Version,
1273
1351
  yankedAt: Schema.Null,
1352
+ yankCategory: Schema.Null,
1353
+ yankNotice: Schema.Null,
1274
1354
  links: ExtensionLinks,
1275
1355
  });
1276
1356
  export const ExtensionsUnyankVersion400 = DecodeErrorResponse;
1277
1357
  export const ExtensionsUnyankVersion401 = Schema.Union([StepUpRequiredError, ProblemDetails]);
1278
1358
  export const ExtensionsUnyankVersion403 = ForbiddenError;
1279
1359
  export const ExtensionsUnyankVersion404 = ProblemDetails;
1360
+ export const ExtensionsYankAvailableVersionsRequestJson = YankAvailableVersionsBody;
1361
+ export const ExtensionsYankAvailableVersions200 = Schema.Struct({
1362
+ selection: Schema.Literal("all-available"),
1363
+ affectedVersions: Schema.Array(Version),
1364
+ futureVersionsAffected: Schema.Literal(false),
1365
+ });
1366
+ export const ExtensionsYankAvailableVersions400 = DecodeErrorResponse;
1367
+ export const ExtensionsYankAvailableVersions401 = Schema.Union([
1368
+ StepUpRequiredError,
1369
+ ProblemDetails,
1370
+ ]);
1371
+ export const ExtensionsYankAvailableVersions403 = ForbiddenError;
1372
+ export const ExtensionsYankAvailableVersions404 = ProblemDetails;
1373
+ export const ExtensionsGetDeletionPreview200 = Schema.Struct({
1374
+ requiredConfirmation: Schema.String,
1375
+ warnings: Schema.Struct({
1376
+ versions: Schema.Array(Schema.String),
1377
+ dependentPackCount: Schema.Union([
1378
+ Schema.Union([
1379
+ Schema.Number.check(Schema.isFinite()),
1380
+ Schema.Literal("NaN"),
1381
+ Schema.Literal("Infinity"),
1382
+ Schema.Literal("-Infinity"),
1383
+ ]),
1384
+ Schema.Literals(["Infinity", "-Infinity", "NaN"]),
1385
+ ]),
1386
+ libraryMembershipCount: Schema.Union([
1387
+ Schema.Union([
1388
+ Schema.Number.check(Schema.isFinite()),
1389
+ Schema.Literal("NaN"),
1390
+ Schema.Literal("Infinity"),
1391
+ Schema.Literal("-Infinity"),
1392
+ ]),
1393
+ Schema.Literals(["Infinity", "-Infinity", "NaN"]),
1394
+ ]),
1395
+ downloadCount: Schema.Union([
1396
+ Schema.Union([
1397
+ Schema.Union([
1398
+ Schema.Number.check(Schema.isFinite()),
1399
+ Schema.Literal("NaN"),
1400
+ Schema.Literal("Infinity"),
1401
+ Schema.Literal("-Infinity"),
1402
+ ]),
1403
+ Schema.Literals(["Infinity", "-Infinity", "NaN"]),
1404
+ ]),
1405
+ Schema.Null,
1406
+ ]),
1407
+ }),
1408
+ });
1409
+ export const ExtensionsGetDeletionPreview400 = DecodeErrorResponse;
1410
+ export const ExtensionsGetDeletionPreview401 = ProblemDetails;
1411
+ export const ExtensionsGetDeletionPreview403 = Schema.Union([ForbiddenError, ForbiddenError]);
1412
+ export const ExtensionsGetDeletionPreview404 = ProblemDetails;
1413
+ export const AdminExtensionsPurgeExtensionVersionRequestJson = PurgeExtensionVersionBody;
1414
+ export const AdminExtensionsPurgeExtensionVersion202 = Schema.Struct({
1415
+ operationId: Schema.String,
1416
+ affectedCoordinates: Schema.Array(Schema.Struct({ owner: Handle, type: ExtensionType, name: ExtensionName, version: Version })),
1417
+ archivePurgeState: Schema.Literal("pending"),
1418
+ });
1419
+ export const AdminExtensionsPurgeExtensionVersion400 = DecodeErrorResponse;
1420
+ export const AdminExtensionsPurgeExtensionVersion401 = Schema.Union([
1421
+ StepUpRequiredError,
1422
+ ProblemDetails,
1423
+ ]);
1424
+ export const AdminExtensionsPurgeExtensionVersion403 = Schema.Union([
1425
+ ForbiddenError,
1426
+ ForbiddenError,
1427
+ ]);
1428
+ export const AdminExtensionsPurgeExtensionVersion404 = ProblemDetails;
1429
+ export const AdminExtensionsPurgeExtensionVersion409 = SharedDigestConfirmationRequiredHttpError;
1280
1430
  export const LibrariesListLibraries200 = Schema.Struct({ libraries: Schema.Array(Library) });
1281
1431
  export const LibrariesListLibraries400 = DecodeErrorResponse;
1282
1432
  export const LibrariesListLibraries404 = ProblemDetails;
@@ -1336,95 +1486,6 @@ export const LibrariesRemoveLibraryMember401 = ProblemDetails;
1336
1486
  export const LibrariesRemoveLibraryMember403 = Schema.Union([ForbiddenError, ForbiddenError]);
1337
1487
  export const LibrariesRemoveLibraryMember404 = ProblemDetails;
1338
1488
  export const LibrariesRemoveLibraryMember422 = ProblemDetails;
1339
- export const CollaboratorsListCollaborators200 = Schema.Struct({
1340
- collaborators: Schema.Array(Schema.Struct({
1341
- userId: UserId,
1342
- role: Schema.String,
1343
- grantedBy: Schema.Union([UserId, Schema.Null]).annotate({ readOnly: true }),
1344
- createdAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
1345
- })),
1346
- });
1347
- export const CollaboratorsListCollaborators400 = DecodeErrorResponse;
1348
- export const CollaboratorsListCollaborators401 = ProblemDetails;
1349
- export const CollaboratorsListCollaborators403 = Schema.Union([ForbiddenError, ForbiddenError]);
1350
- export const CollaboratorsListCollaborators404 = ProblemDetails;
1351
- export const CollaboratorsUpsertCollaboratorRequestJson = PutCollaboratorBody;
1352
- export const CollaboratorsUpsertCollaborator200 = Schema.Struct({
1353
- userId: UserId,
1354
- role: Schema.String,
1355
- grantedBy: Schema.Union([UserId, Schema.Null]).annotate({ readOnly: true }),
1356
- createdAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
1357
- });
1358
- export const CollaboratorsUpsertCollaborator400 = Schema.Union([
1359
- ProblemDetails,
1360
- DecodeErrorResponse,
1361
- ]);
1362
- export const CollaboratorsUpsertCollaborator401 = ProblemDetails;
1363
- export const CollaboratorsUpsertCollaborator403 = Schema.Union([ForbiddenError, ForbiddenError]);
1364
- export const CollaboratorsUpsertCollaborator404 = ProblemDetails;
1365
- export const CollaboratorsDeleteCollaborator400 = DecodeErrorResponse;
1366
- export const CollaboratorsDeleteCollaborator401 = ProblemDetails;
1367
- export const CollaboratorsDeleteCollaborator403 = Schema.Union([ForbiddenError, ForbiddenError]);
1368
- export const CollaboratorsDeleteCollaborator404 = ProblemDetails;
1369
- export const CollaboratorsDeleteCollaborator409 = ProblemDetails;
1370
- export const TeamGrantsListExtensionGrants200 = ExtensionGrantsResponse;
1371
- export const TeamGrantsListExtensionGrants400 = DecodeErrorResponse;
1372
- export const TeamGrantsListExtensionGrants401 = ProblemDetails;
1373
- export const TeamGrantsListExtensionGrants403 = Schema.Union([ForbiddenError, ForbiddenError]);
1374
- export const TeamGrantsListExtensionGrants404 = ProblemDetails;
1375
- export const TeamGrantsUpsertTeamExtensionGrantRequestJson = UpsertTeamGrantBody;
1376
- export const TeamGrantsUpsertTeamExtensionGrant200 = TeamGrant;
1377
- export const TeamGrantsUpsertTeamExtensionGrant400 = Schema.Union([
1378
- ProblemDetails,
1379
- DecodeErrorResponse,
1380
- ]);
1381
- export const TeamGrantsUpsertTeamExtensionGrant401 = ProblemDetails;
1382
- export const TeamGrantsUpsertTeamExtensionGrant403 = Schema.Union([ForbiddenError, ForbiddenError]);
1383
- export const TeamGrantsUpsertTeamExtensionGrant404 = ProblemDetails;
1384
- export const TeamGrantsUpsertTeamExtensionGrant422 = ProblemDetails;
1385
- export const TeamGrantsUpsertUserExtensionGrantRequestJson = UpsertGrantBody;
1386
- export const TeamGrantsUpsertUserExtensionGrant200 = Schema.Struct({
1387
- userId: UserId,
1388
- role: Schema.String,
1389
- grantedBy: Schema.Union([UserId, Schema.Null]).annotate({ readOnly: true }),
1390
- createdAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
1391
- });
1392
- export const TeamGrantsUpsertUserExtensionGrant400 = Schema.Union([
1393
- ProblemDetails,
1394
- DecodeErrorResponse,
1395
- ]);
1396
- export const TeamGrantsUpsertUserExtensionGrant401 = ProblemDetails;
1397
- export const TeamGrantsUpsertUserExtensionGrant403 = Schema.Union([ForbiddenError, ForbiddenError]);
1398
- export const TeamGrantsUpsertUserExtensionGrant404 = ProblemDetails;
1399
- export const TeamGrantsDeleteUserExtensionGrant400 = DecodeErrorResponse;
1400
- export const TeamGrantsDeleteUserExtensionGrant401 = ProblemDetails;
1401
- export const TeamGrantsDeleteUserExtensionGrant403 = Schema.Union([ForbiddenError, ForbiddenError]);
1402
- export const TeamGrantsDeleteUserExtensionGrant404 = ProblemDetails;
1403
- export const TeamGrantsDeleteUserExtensionGrant409 = ProblemDetails;
1404
- export const TeamGrantsUpsertTeamExtensionGrantByIdRequestJson = UpsertGrantBody;
1405
- export const TeamGrantsUpsertTeamExtensionGrantById200 = TeamGrant;
1406
- export const TeamGrantsUpsertTeamExtensionGrantById400 = Schema.Union([
1407
- ProblemDetails,
1408
- DecodeErrorResponse,
1409
- ]);
1410
- export const TeamGrantsUpsertTeamExtensionGrantById401 = ProblemDetails;
1411
- export const TeamGrantsUpsertTeamExtensionGrantById403 = Schema.Union([
1412
- ForbiddenError,
1413
- ForbiddenError,
1414
- ]);
1415
- export const TeamGrantsUpsertTeamExtensionGrantById404 = ProblemDetails;
1416
- export const TeamGrantsUpsertTeamExtensionGrantById422 = ProblemDetails;
1417
- export const TeamGrantsDeleteTeamExtensionGrantById400 = DecodeErrorResponse;
1418
- export const TeamGrantsDeleteTeamExtensionGrantById401 = ProblemDetails;
1419
- export const TeamGrantsDeleteTeamExtensionGrantById403 = Schema.Union([
1420
- ForbiddenError,
1421
- ForbiddenError,
1422
- ]);
1423
- export const TeamGrantsDeleteTeamExtensionGrantById404 = ProblemDetails;
1424
- export const TeamGrantsDeleteTeamExtensionGrant400 = DecodeErrorResponse;
1425
- export const TeamGrantsDeleteTeamExtensionGrant401 = ProblemDetails;
1426
- export const TeamGrantsDeleteTeamExtensionGrant403 = Schema.Union([ForbiddenError, ForbiddenError]);
1427
- export const TeamGrantsDeleteTeamExtensionGrant404 = ProblemDetails;
1428
1489
  export const MaintainerGetMaintainer200 = Maintainer;
1429
1490
  export const MaintainerGetMaintainer400 = DecodeErrorResponse;
1430
1491
  export const MaintainerGetMaintainer401 = ProblemDetails;
@@ -1774,6 +1835,15 @@ export const make = (httpClient, options = {}) => {
1774
1835
  "304": () => Effect.void,
1775
1836
  orElse: unexpectedStatus,
1776
1837
  }))),
1838
+ ExtensionsDeleteExtension: (owner, type, name, options) => HttpClientRequest.delete(`/v1/extensions/${owner}/${type}/${name}`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
1839
+ "2xx": decodeSuccess(ExtensionsDeleteExtension202),
1840
+ "400": decodeError("ExtensionsDeleteExtension400", ExtensionsDeleteExtension400),
1841
+ "401": decodeError("ExtensionsDeleteExtension401", ExtensionsDeleteExtension401),
1842
+ "403": decodeError("ExtensionsDeleteExtension403", ExtensionsDeleteExtension403),
1843
+ "404": decodeError("ExtensionsDeleteExtension404", ExtensionsDeleteExtension404),
1844
+ "409": decodeError("ExtensionsDeleteExtension409", ExtensionsDeleteExtension409),
1845
+ orElse: unexpectedStatus,
1846
+ }))),
1777
1847
  ExtensionsHead: (owner, type, name, options) => HttpClientRequest.head(`/v1/extensions/${owner}/${type}/${name}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
1778
1848
  "200": () => Effect.void,
1779
1849
  "400": decodeVoidError("400"),
@@ -1787,13 +1857,13 @@ export const make = (httpClient, options = {}) => {
1787
1857
  "401": decodeError("ExtensionsUpdateVisibility401", ExtensionsUpdateVisibility401),
1788
1858
  "403": decodeError("ExtensionsUpdateVisibility403", ExtensionsUpdateVisibility403),
1789
1859
  "404": decodeError("ExtensionsUpdateVisibility404", ExtensionsUpdateVisibility404),
1790
- "422": decodeError("ExtensionsUpdateVisibility422", ExtensionsUpdateVisibility422),
1791
1860
  orElse: unexpectedStatus,
1792
1861
  }))),
1793
1862
  ExtensionsGetVersion: (owner, type, name, version, options) => HttpClientRequest.get(`/v1/extensions/${owner}/${type}/${name}/${version}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
1794
1863
  "2xx": decodeSuccess(ExtensionsGetVersion200),
1795
1864
  "400": decodeError("ExtensionsGetVersion400", ExtensionsGetVersion400),
1796
1865
  "404": decodeError("ExtensionsGetVersion404", ExtensionsGetVersion404),
1866
+ "410": decodeError("ExtensionsGetVersion410", ExtensionsGetVersion410),
1797
1867
  orElse: unexpectedStatus,
1798
1868
  }))),
1799
1869
  ExtensionsPublishVersion: (owner, type, name, version, options) => HttpClientRequest.put(`/v1/extensions/${owner}/${type}/${name}/${version}`).pipe(HttpClientRequest.bodyFormData(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
@@ -1811,18 +1881,19 @@ export const make = (httpClient, options = {}) => {
1811
1881
  "503": decodeError("ExtensionsPublishVersion503", ExtensionsPublishVersion503),
1812
1882
  orElse: unexpectedStatus,
1813
1883
  }))),
1814
- ExtensionsDeleteVersion: (owner, type, name, version, options) => HttpClientRequest.delete(`/v1/extensions/${owner}/${type}/${name}/${version}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
1815
- "400": decodeError("ExtensionsDeleteVersion400", ExtensionsDeleteVersion400),
1816
- "401": decodeError("ExtensionsDeleteVersion401", ExtensionsDeleteVersion401),
1817
- "403": decodeError("ExtensionsDeleteVersion403", ExtensionsDeleteVersion403),
1818
- "404": decodeError("ExtensionsDeleteVersion404", ExtensionsDeleteVersion404),
1819
- "204": () => Effect.void,
1884
+ ExtensionsGetDeletionOperation: (operationId, options) => HttpClientRequest.get(`/v1/extensions/deletions/${operationId}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
1885
+ "2xx": decodeSuccess(ExtensionsGetDeletionOperation200),
1886
+ "400": decodeError("ExtensionsGetDeletionOperation400", ExtensionsGetDeletionOperation400),
1887
+ "401": decodeError("ExtensionsGetDeletionOperation401", ExtensionsGetDeletionOperation401),
1888
+ "403": decodeError("ExtensionsGetDeletionOperation403", ExtensionsGetDeletionOperation403),
1889
+ "404": decodeError("ExtensionsGetDeletionOperation404", ExtensionsGetDeletionOperation404),
1820
1890
  orElse: unexpectedStatus,
1821
1891
  }))),
1822
1892
  ExtensionsDownloadArchive: (owner, type, name, version, options) => HttpClientRequest.get(`/v1/extensions/${owner}/${type}/${name}/${version}/archive`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
1823
1893
  "2xx": decodeBinary,
1824
1894
  "400": decodeError("ExtensionsDownloadArchive400", ExtensionsDownloadArchive400),
1825
1895
  "404": decodeError("ExtensionsDownloadArchive404", ExtensionsDownloadArchive404),
1896
+ "410": decodeError("ExtensionsDownloadArchive410", ExtensionsDownloadArchive410),
1826
1897
  "500": decodeError("ExtensionsDownloadArchive500", ExtensionsDownloadArchive500),
1827
1898
  orElse: unexpectedStatus,
1828
1899
  }))),
@@ -1843,7 +1914,7 @@ export const make = (httpClient, options = {}) => {
1843
1914
  "404": decodeError("ExtensionsUndeprecate404", ExtensionsUndeprecate404),
1844
1915
  orElse: unexpectedStatus,
1845
1916
  }))),
1846
- ExtensionsYankVersion: (owner, type, name, version, options) => HttpClientRequest.post(`/v1/extensions/${owner}/${type}/${name}/${version}/yank`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
1917
+ ExtensionsYankVersion: (owner, type, name, version, options) => HttpClientRequest.post(`/v1/extensions/${owner}/${type}/${name}/${version}/yank`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
1847
1918
  "2xx": decodeSuccess(ExtensionsYankVersion200),
1848
1919
  "400": decodeError("ExtensionsYankVersion400", ExtensionsYankVersion400),
1849
1920
  "401": decodeError("ExtensionsYankVersion401", ExtensionsYankVersion401),
@@ -1859,6 +1930,31 @@ export const make = (httpClient, options = {}) => {
1859
1930
  "404": decodeError("ExtensionsUnyankVersion404", ExtensionsUnyankVersion404),
1860
1931
  orElse: unexpectedStatus,
1861
1932
  }))),
1933
+ ExtensionsYankAvailableVersions: (owner, type, name, options) => HttpClientRequest.post(`/v1/extensions/${owner}/${type}/${name}/versions/yank`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
1934
+ "2xx": decodeSuccess(ExtensionsYankAvailableVersions200),
1935
+ "400": decodeError("ExtensionsYankAvailableVersions400", ExtensionsYankAvailableVersions400),
1936
+ "401": decodeError("ExtensionsYankAvailableVersions401", ExtensionsYankAvailableVersions401),
1937
+ "403": decodeError("ExtensionsYankAvailableVersions403", ExtensionsYankAvailableVersions403),
1938
+ "404": decodeError("ExtensionsYankAvailableVersions404", ExtensionsYankAvailableVersions404),
1939
+ orElse: unexpectedStatus,
1940
+ }))),
1941
+ ExtensionsGetDeletionPreview: (owner, type, name, options) => HttpClientRequest.get(`/v1/extensions/${owner}/${type}/${name}/deletion`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
1942
+ "2xx": decodeSuccess(ExtensionsGetDeletionPreview200),
1943
+ "400": decodeError("ExtensionsGetDeletionPreview400", ExtensionsGetDeletionPreview400),
1944
+ "401": decodeError("ExtensionsGetDeletionPreview401", ExtensionsGetDeletionPreview401),
1945
+ "403": decodeError("ExtensionsGetDeletionPreview403", ExtensionsGetDeletionPreview403),
1946
+ "404": decodeError("ExtensionsGetDeletionPreview404", ExtensionsGetDeletionPreview404),
1947
+ orElse: unexpectedStatus,
1948
+ }))),
1949
+ AdminExtensionsPurgeExtensionVersion: (owner, type, name, version, options) => HttpClientRequest.post(`/v1/admin/extensions/${owner}/${type}/${name}/${version}/purge`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
1950
+ "2xx": decodeSuccess(AdminExtensionsPurgeExtensionVersion202),
1951
+ "400": decodeError("AdminExtensionsPurgeExtensionVersion400", AdminExtensionsPurgeExtensionVersion400),
1952
+ "401": decodeError("AdminExtensionsPurgeExtensionVersion401", AdminExtensionsPurgeExtensionVersion401),
1953
+ "403": decodeError("AdminExtensionsPurgeExtensionVersion403", AdminExtensionsPurgeExtensionVersion403),
1954
+ "404": decodeError("AdminExtensionsPurgeExtensionVersion404", AdminExtensionsPurgeExtensionVersion404),
1955
+ "409": decodeError("AdminExtensionsPurgeExtensionVersion409", AdminExtensionsPurgeExtensionVersion409),
1956
+ orElse: unexpectedStatus,
1957
+ }))),
1862
1958
  LibrariesListLibraries: (owner, options) => HttpClientRequest.get(`/v1/libraries/${owner}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
1863
1959
  "2xx": decodeSuccess(LibrariesListLibraries200),
1864
1960
  "400": decodeError("LibrariesListLibraries400", LibrariesListLibraries400),
@@ -1946,90 +2042,6 @@ export const make = (httpClient, options = {}) => {
1946
2042
  "204": () => Effect.void,
1947
2043
  orElse: unexpectedStatus,
1948
2044
  }))),
1949
- CollaboratorsListCollaborators: (owner, type, name, options) => HttpClientRequest.get(`/v1/extensions/${owner}/${type}/${name}/collaborators`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
1950
- "2xx": decodeSuccess(CollaboratorsListCollaborators200),
1951
- "400": decodeError("CollaboratorsListCollaborators400", CollaboratorsListCollaborators400),
1952
- "401": decodeError("CollaboratorsListCollaborators401", CollaboratorsListCollaborators401),
1953
- "403": decodeError("CollaboratorsListCollaborators403", CollaboratorsListCollaborators403),
1954
- "404": decodeError("CollaboratorsListCollaborators404", CollaboratorsListCollaborators404),
1955
- orElse: unexpectedStatus,
1956
- }))),
1957
- CollaboratorsUpsertCollaborator: (owner, type, name, userId, options) => HttpClientRequest.put(`/v1/extensions/${owner}/${type}/${name}/collaborators/${userId}`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
1958
- "2xx": decodeSuccess(CollaboratorsUpsertCollaborator200),
1959
- "400": decodeError("CollaboratorsUpsertCollaborator400", CollaboratorsUpsertCollaborator400),
1960
- "401": decodeError("CollaboratorsUpsertCollaborator401", CollaboratorsUpsertCollaborator401),
1961
- "403": decodeError("CollaboratorsUpsertCollaborator403", CollaboratorsUpsertCollaborator403),
1962
- "404": decodeError("CollaboratorsUpsertCollaborator404", CollaboratorsUpsertCollaborator404),
1963
- orElse: unexpectedStatus,
1964
- }))),
1965
- CollaboratorsDeleteCollaborator: (owner, type, name, userId, options) => HttpClientRequest.delete(`/v1/extensions/${owner}/${type}/${name}/collaborators/${userId}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
1966
- "400": decodeError("CollaboratorsDeleteCollaborator400", CollaboratorsDeleteCollaborator400),
1967
- "401": decodeError("CollaboratorsDeleteCollaborator401", CollaboratorsDeleteCollaborator401),
1968
- "403": decodeError("CollaboratorsDeleteCollaborator403", CollaboratorsDeleteCollaborator403),
1969
- "404": decodeError("CollaboratorsDeleteCollaborator404", CollaboratorsDeleteCollaborator404),
1970
- "409": decodeError("CollaboratorsDeleteCollaborator409", CollaboratorsDeleteCollaborator409),
1971
- "204": () => Effect.void,
1972
- orElse: unexpectedStatus,
1973
- }))),
1974
- TeamGrantsListExtensionGrants: (owner, type, name, options) => HttpClientRequest.get(`/v1/extensions/${owner}/${type}/${name}/grants`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
1975
- "2xx": decodeSuccess(TeamGrantsListExtensionGrants200),
1976
- "400": decodeError("TeamGrantsListExtensionGrants400", TeamGrantsListExtensionGrants400),
1977
- "401": decodeError("TeamGrantsListExtensionGrants401", TeamGrantsListExtensionGrants401),
1978
- "403": decodeError("TeamGrantsListExtensionGrants403", TeamGrantsListExtensionGrants403),
1979
- "404": decodeError("TeamGrantsListExtensionGrants404", TeamGrantsListExtensionGrants404),
1980
- orElse: unexpectedStatus,
1981
- }))),
1982
- TeamGrantsUpsertTeamExtensionGrant: (owner, type, name, options) => HttpClientRequest.post(`/v1/extensions/${owner}/${type}/${name}/grants`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
1983
- "2xx": decodeSuccess(TeamGrantsUpsertTeamExtensionGrant200),
1984
- "400": decodeError("TeamGrantsUpsertTeamExtensionGrant400", TeamGrantsUpsertTeamExtensionGrant400),
1985
- "401": decodeError("TeamGrantsUpsertTeamExtensionGrant401", TeamGrantsUpsertTeamExtensionGrant401),
1986
- "403": decodeError("TeamGrantsUpsertTeamExtensionGrant403", TeamGrantsUpsertTeamExtensionGrant403),
1987
- "404": decodeError("TeamGrantsUpsertTeamExtensionGrant404", TeamGrantsUpsertTeamExtensionGrant404),
1988
- "422": decodeError("TeamGrantsUpsertTeamExtensionGrant422", TeamGrantsUpsertTeamExtensionGrant422),
1989
- orElse: unexpectedStatus,
1990
- }))),
1991
- TeamGrantsUpsertUserExtensionGrant: (owner, type, name, userId, options) => HttpClientRequest.put(`/v1/extensions/${owner}/${type}/${name}/grants/user/${userId}`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
1992
- "2xx": decodeSuccess(TeamGrantsUpsertUserExtensionGrant200),
1993
- "400": decodeError("TeamGrantsUpsertUserExtensionGrant400", TeamGrantsUpsertUserExtensionGrant400),
1994
- "401": decodeError("TeamGrantsUpsertUserExtensionGrant401", TeamGrantsUpsertUserExtensionGrant401),
1995
- "403": decodeError("TeamGrantsUpsertUserExtensionGrant403", TeamGrantsUpsertUserExtensionGrant403),
1996
- "404": decodeError("TeamGrantsUpsertUserExtensionGrant404", TeamGrantsUpsertUserExtensionGrant404),
1997
- orElse: unexpectedStatus,
1998
- }))),
1999
- TeamGrantsDeleteUserExtensionGrant: (owner, type, name, userId, options) => HttpClientRequest.delete(`/v1/extensions/${owner}/${type}/${name}/grants/user/${userId}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
2000
- "400": decodeError("TeamGrantsDeleteUserExtensionGrant400", TeamGrantsDeleteUserExtensionGrant400),
2001
- "401": decodeError("TeamGrantsDeleteUserExtensionGrant401", TeamGrantsDeleteUserExtensionGrant401),
2002
- "403": decodeError("TeamGrantsDeleteUserExtensionGrant403", TeamGrantsDeleteUserExtensionGrant403),
2003
- "404": decodeError("TeamGrantsDeleteUserExtensionGrant404", TeamGrantsDeleteUserExtensionGrant404),
2004
- "409": decodeError("TeamGrantsDeleteUserExtensionGrant409", TeamGrantsDeleteUserExtensionGrant409),
2005
- "204": () => Effect.void,
2006
- orElse: unexpectedStatus,
2007
- }))),
2008
- TeamGrantsUpsertTeamExtensionGrantById: (owner, type, name, teamId, options) => HttpClientRequest.put(`/v1/extensions/${owner}/${type}/${name}/grants/team/${teamId}`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
2009
- "2xx": decodeSuccess(TeamGrantsUpsertTeamExtensionGrantById200),
2010
- "400": decodeError("TeamGrantsUpsertTeamExtensionGrantById400", TeamGrantsUpsertTeamExtensionGrantById400),
2011
- "401": decodeError("TeamGrantsUpsertTeamExtensionGrantById401", TeamGrantsUpsertTeamExtensionGrantById401),
2012
- "403": decodeError("TeamGrantsUpsertTeamExtensionGrantById403", TeamGrantsUpsertTeamExtensionGrantById403),
2013
- "404": decodeError("TeamGrantsUpsertTeamExtensionGrantById404", TeamGrantsUpsertTeamExtensionGrantById404),
2014
- "422": decodeError("TeamGrantsUpsertTeamExtensionGrantById422", TeamGrantsUpsertTeamExtensionGrantById422),
2015
- orElse: unexpectedStatus,
2016
- }))),
2017
- TeamGrantsDeleteTeamExtensionGrantById: (owner, type, name, teamId, options) => HttpClientRequest.delete(`/v1/extensions/${owner}/${type}/${name}/grants/team/${teamId}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
2018
- "400": decodeError("TeamGrantsDeleteTeamExtensionGrantById400", TeamGrantsDeleteTeamExtensionGrantById400),
2019
- "401": decodeError("TeamGrantsDeleteTeamExtensionGrantById401", TeamGrantsDeleteTeamExtensionGrantById401),
2020
- "403": decodeError("TeamGrantsDeleteTeamExtensionGrantById403", TeamGrantsDeleteTeamExtensionGrantById403),
2021
- "404": decodeError("TeamGrantsDeleteTeamExtensionGrantById404", TeamGrantsDeleteTeamExtensionGrantById404),
2022
- "204": () => Effect.void,
2023
- orElse: unexpectedStatus,
2024
- }))),
2025
- TeamGrantsDeleteTeamExtensionGrant: (owner, type, name, teamId, options) => HttpClientRequest.delete(`/v1/extensions/${owner}/${type}/${name}/grants/${teamId}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
2026
- "400": decodeError("TeamGrantsDeleteTeamExtensionGrant400", TeamGrantsDeleteTeamExtensionGrant400),
2027
- "401": decodeError("TeamGrantsDeleteTeamExtensionGrant401", TeamGrantsDeleteTeamExtensionGrant401),
2028
- "403": decodeError("TeamGrantsDeleteTeamExtensionGrant403", TeamGrantsDeleteTeamExtensionGrant403),
2029
- "404": decodeError("TeamGrantsDeleteTeamExtensionGrant404", TeamGrantsDeleteTeamExtensionGrant404),
2030
- "204": () => Effect.void,
2031
- orElse: unexpectedStatus,
2032
- }))),
2033
2045
  MaintainerGetMaintainer: (owner, type, name, options) => HttpClientRequest.get(`/v1/extensions/${owner}/${type}/${name}/maintainer`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
2034
2046
  "2xx": decodeSuccess(MaintainerGetMaintainer200),
2035
2047
  "400": decodeError("MaintainerGetMaintainer400", MaintainerGetMaintainer400),