@agentxm/client-core 0.20.1 → 0.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/unstable/auth/auth-client.d.ts +32 -0
- package/dist/src/unstable/auth/auth-client.d.ts.map +1 -1
- package/dist/src/unstable/auth/auth-client.js +78 -0
- package/dist/src/unstable/auth/auth-client.js.map +1 -1
- package/dist/src/unstable/auth/index.d.ts +2 -1
- package/dist/src/unstable/auth/index.d.ts.map +1 -1
- package/dist/src/unstable/auth/index.js +1 -0
- package/dist/src/unstable/auth/index.js.map +1 -1
- package/dist/src/unstable/auth/loopback-login.d.ts.map +1 -1
- package/dist/src/unstable/auth/loopback-login.js +1 -0
- package/dist/src/unstable/auth/loopback-login.js.map +1 -1
- package/dist/src/unstable/auth/loopback-server.d.ts +1 -0
- package/dist/src/unstable/auth/loopback-server.d.ts.map +1 -1
- package/dist/src/unstable/auth/loopback-server.js +20 -5
- package/dist/src/unstable/auth/loopback-server.js.map +1 -1
- package/dist/src/unstable/auth/publish-authorization.d.ts +18 -0
- package/dist/src/unstable/auth/publish-authorization.d.ts.map +1 -0
- package/dist/src/unstable/auth/publish-authorization.js +83 -0
- package/dist/src/unstable/auth/publish-authorization.js.map +1 -0
- package/dist/src/unstable/cli/prompt/autocomplete-multiselect.d.ts +2 -0
- package/dist/src/unstable/cli/prompt/autocomplete-multiselect.d.ts.map +1 -1
- package/dist/src/unstable/cli/prompt/autocomplete-multiselect.js +8 -14
- package/dist/src/unstable/cli/prompt/autocomplete-multiselect.js.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-interactive.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js +7 -0
- package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-machine.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-machine.js +2 -0
- package/dist/src/unstable/cli-renderer/cli-renderer-machine.js.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-test.d.ts +1 -0
- package/dist/src/unstable/cli-renderer/cli-renderer-test.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer-test.js +11 -0
- package/dist/src/unstable/cli-renderer/cli-renderer-test.js.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer.d.ts +4 -0
- package/dist/src/unstable/cli-renderer/cli-renderer.d.ts.map +1 -1
- package/dist/src/unstable/cli-renderer/cli-renderer.js.map +1 -1
- package/dist/src/unstable/commands/manager.d.ts.map +1 -1
- package/dist/src/unstable/commands/manager.js +1 -0
- package/dist/src/unstable/commands/manager.js.map +1 -1
- package/dist/src/unstable/extensions/operations.d.ts.map +1 -1
- package/dist/src/unstable/extensions/operations.js +9 -2
- package/dist/src/unstable/extensions/operations.js.map +1 -1
- package/dist/src/unstable/extensions/ref-base.d.ts +4 -0
- package/dist/src/unstable/extensions/ref-base.d.ts.map +1 -1
- package/dist/src/unstable/files/manager.d.ts.map +1 -1
- package/dist/src/unstable/files/manager.js +1 -0
- package/dist/src/unstable/files/manager.js.map +1 -1
- package/dist/src/unstable/hooks/manager.d.ts.map +1 -1
- package/dist/src/unstable/hooks/manager.js +1 -0
- package/dist/src/unstable/hooks/manager.js.map +1 -1
- package/dist/src/unstable/lockfile/lockfile.d.ts +16 -0
- package/dist/src/unstable/lockfile/lockfile.d.ts.map +1 -1
- package/dist/src/unstable/lockfile/schema.d.ts +25 -0
- package/dist/src/unstable/lockfile/schema.d.ts.map +1 -1
- package/dist/src/unstable/lockfile/schema.js +2 -0
- package/dist/src/unstable/lockfile/schema.js.map +1 -1
- package/dist/src/unstable/mcps/manager.d.ts.map +1 -1
- package/dist/src/unstable/mcps/manager.js +1 -0
- package/dist/src/unstable/mcps/manager.js.map +1 -1
- package/dist/src/unstable/mcps/operations/install.d.ts.map +1 -1
- package/dist/src/unstable/mcps/operations/install.js +1 -0
- package/dist/src/unstable/mcps/operations/install.js.map +1 -1
- package/dist/src/unstable/packs/manager.d.ts.map +1 -1
- package/dist/src/unstable/packs/manager.js +3 -0
- package/dist/src/unstable/packs/manager.js.map +1 -1
- package/dist/src/unstable/packs/operations/install.d.ts +1 -0
- package/dist/src/unstable/packs/operations/install.d.ts.map +1 -1
- package/dist/src/unstable/packs/operations/install.js +3 -0
- package/dist/src/unstable/packs/operations/install.js.map +1 -1
- package/dist/src/unstable/registry/__generated__/registry-client.d.ts +1414 -1434
- package/dist/src/unstable/registry/__generated__/registry-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/__generated__/registry-client.js +487 -291
- package/dist/src/unstable/registry/__generated__/registry-client.js.map +1 -1
- package/dist/src/unstable/registry/admin-client.d.ts +56 -28
- package/dist/src/unstable/registry/admin-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/admin-client.js +46 -23
- package/dist/src/unstable/registry/admin-client.js.map +1 -1
- package/dist/src/unstable/registry/archive-cache.d.ts +51 -0
- package/dist/src/unstable/registry/archive-cache.d.ts.map +1 -0
- package/dist/src/unstable/registry/archive-cache.js +213 -0
- package/dist/src/unstable/registry/archive-cache.js.map +1 -0
- package/dist/src/unstable/registry/client.d.ts +15 -3
- package/dist/src/unstable/registry/client.d.ts.map +1 -1
- package/dist/src/unstable/registry/client.js +3 -1
- package/dist/src/unstable/registry/client.js.map +1 -1
- package/dist/src/unstable/registry/index.d.ts +5 -3
- package/dist/src/unstable/registry/index.d.ts.map +1 -1
- package/dist/src/unstable/registry/index.js +3 -2
- package/dist/src/unstable/registry/index.js.map +1 -1
- package/dist/src/unstable/registry/local-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/local-client.js +117 -47
- package/dist/src/unstable/registry/local-client.js.map +1 -1
- package/dist/src/unstable/registry/remote-client.d.ts +2 -1
- package/dist/src/unstable/registry/remote-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/remote-client.js +67 -69
- package/dist/src/unstable/registry/remote-client.js.map +1 -1
- package/dist/src/unstable/registry/schema.d.ts +10 -1
- package/dist/src/unstable/registry/schema.d.ts.map +1 -1
- package/dist/src/unstable/registry/schema.js +7 -1
- package/dist/src/unstable/registry/schema.js.map +1 -1
- package/dist/src/unstable/registry/utils.d.ts +2 -1
- package/dist/src/unstable/registry/utils.d.ts.map +1 -1
- package/dist/src/unstable/registry/utils.js +24 -5
- package/dist/src/unstable/registry/utils.js.map +1 -1
- package/dist/src/unstable/rules/manager.d.ts.map +1 -1
- package/dist/src/unstable/rules/manager.js +1 -0
- package/dist/src/unstable/rules/manager.js.map +1 -1
- package/dist/src/unstable/source-resolution/providers/registry/host-provider.d.ts.map +1 -1
- package/dist/src/unstable/source-resolution/providers/registry/host-provider.js +18 -2
- package/dist/src/unstable/source-resolution/providers/registry/host-provider.js.map +1 -1
- package/dist/src/unstable/sources/lock-entry-to-ref.d.ts.map +1 -1
- package/dist/src/unstable/sources/lock-entry-to-ref.js +3 -0
- package/dist/src/unstable/sources/lock-entry-to-ref.js.map +1 -1
- package/dist/src/unstable/sources/source-to-lock-entry.d.ts.map +1 -1
- package/dist/src/unstable/sources/source-to-lock-entry.js +3 -0
- package/dist/src/unstable/sources/source-to-lock-entry.js.map +1 -1
- package/dist/src/unstable/subagents/lock-entry-builder.d.ts.map +1 -1
- package/dist/src/unstable/subagents/lock-entry-builder.js +3 -0
- package/dist/src/unstable/subagents/lock-entry-builder.js.map +1 -1
- package/dist/src/unstable/workspace/index.d.ts +1 -0
- package/dist/src/unstable/workspace/index.d.ts.map +1 -1
- package/dist/src/unstable/workspace/index.js +1 -0
- package/dist/src/unstable/workspace/index.js.map +1 -1
- package/dist/src/unstable/workspace/initialization-interaction.d.ts.map +1 -1
- package/dist/src/unstable/workspace/initialization-interaction.js +16 -9
- package/dist/src/unstable/workspace/initialization-interaction.js.map +1 -1
- package/dist/src/unstable/workspace/read-model/extensions/ignore-patterns.d.ts +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/ignore-patterns.d.ts.map +1 -1
- package/dist/src/unstable/workspace/read-model/extensions/ignore-patterns.js +4 -1
- package/dist/src/unstable/workspace/read-model/extensions/ignore-patterns.js.map +1 -1
- package/dist/src/unstable/workspace/read-model/extensions/index.d.ts +2 -0
- package/dist/src/unstable/workspace/read-model/extensions/index.d.ts.map +1 -1
- package/dist/src/unstable/workspace/read-model/extensions/index.js +2 -0
- package/dist/src/unstable/workspace/read-model/extensions/index.js.map +1 -1
- package/dist/src/unstable/workspace/read-model/extensions/inventory.d.ts +94 -0
- package/dist/src/unstable/workspace/read-model/extensions/inventory.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/extensions/inventory.js +152 -0
- package/dist/src/unstable/workspace/read-model/extensions/inventory.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/service.d.ts +2 -0
- package/dist/src/unstable/workspace/read-model/service.d.ts.map +1 -1
- package/dist/src/unstable/workspace/read-model/service.js +1 -0
- package/dist/src/unstable/workspace/read-model/service.js.map +1 -1
- package/dist/src/unstable/workspace/read-model-record-readers.d.ts +5 -0
- package/dist/src/unstable/workspace/read-model-record-readers.d.ts.map +1 -1
- package/dist/src/unstable/workspace/read-model-record-readers.js +348 -1
- package/dist/src/unstable/workspace/read-model-record-readers.js.map +1 -1
- package/dist/src/unstable/workspace/service-interface.d.ts +9 -0
- package/dist/src/unstable/workspace/service-interface.d.ts.map +1 -1
- package/dist/src/unstable/workspace/service-interface.js.map +1 -1
- package/dist/src/unstable/workspace/service.d.ts +20 -0
- package/dist/src/unstable/workspace/service.d.ts.map +1 -1
- package/dist/src/unstable/workspace/service.js +4 -1
- package/dist/src/unstable/workspace/service.js.map +1 -1
- package/dist/src/unstable/workspace/test-stubs.d.ts +2 -0
- package/dist/src/unstable/workspace/test-stubs.d.ts.map +1 -1
- package/dist/src/unstable/workspace/test-stubs.js +10 -0
- package/dist/src/unstable/workspace/test-stubs.js.map +1 -1
- package/package.json +6 -6
- 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
|
|
78
|
+
description: "The management role required, if applicable.",
|
|
79
79
|
})),
|
|
80
80
|
}).annotate({
|
|
81
81
|
title: "Publish Details",
|
|
@@ -83,9 +83,12 @@ export const PublishDetails = Schema.Struct({
|
|
|
83
83
|
});
|
|
84
84
|
export const SessionTokenResponse = Schema.Struct({
|
|
85
85
|
access_token: Schema.String.annotate({ description: "OAuth 2.0 access token." }),
|
|
86
|
-
refresh_token: Schema.
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
refresh_token: Schema.optionalKey(Schema.Union([
|
|
87
|
+
Schema.String.annotate({
|
|
88
|
+
description: "OAuth 2.0 refresh token for obtaining new token pairs. Omitted for exact publish capabilities.",
|
|
89
|
+
}),
|
|
90
|
+
Schema.Null,
|
|
91
|
+
])),
|
|
89
92
|
token_type: Schema.Literal("Bearer"),
|
|
90
93
|
expires_in: Schema.Number.annotate({
|
|
91
94
|
description: "Access token lifetime remaining in seconds.",
|
|
@@ -98,6 +101,12 @@ export const SessionTokenResponse = Schema.Struct({
|
|
|
98
101
|
Schema.String.annotate({ description: "Space-delimited list of granted scopes." }),
|
|
99
102
|
Schema.Null,
|
|
100
103
|
])),
|
|
104
|
+
publish_request_id: Schema.optionalKey(Schema.Union([
|
|
105
|
+
Schema.String.annotate({
|
|
106
|
+
description: "Publish authorization request that produced a non-refreshable exact capability.",
|
|
107
|
+
}),
|
|
108
|
+
Schema.Null,
|
|
109
|
+
])),
|
|
101
110
|
}).annotate({
|
|
102
111
|
title: "Session Token Response",
|
|
103
112
|
description: "OAuth 2.0 token response containing an access/refresh token pair.",
|
|
@@ -152,12 +161,45 @@ export const StepUpChallengeResponse = Schema.Union([
|
|
|
152
161
|
expires_at: Schema.String.annotate({ description: "ISO timestamp when this proof expires." }),
|
|
153
162
|
}),
|
|
154
163
|
]).annotate({ title: "Step-up Challenge Response" });
|
|
164
|
+
export const Handle = Schema.String.check(Schema.isPattern(new RegExp("^@[a-z0-9_](?:[a-z0-9_-]*[a-z0-9_])?$"), {
|
|
165
|
+
title: "Handle",
|
|
166
|
+
description: "A unique username or organization name starting with @, like @my-org.",
|
|
167
|
+
examples: ["@my-org", "@username"],
|
|
168
|
+
}));
|
|
169
|
+
export const ExtensionType = Schema.Literals([
|
|
170
|
+
"skill",
|
|
171
|
+
"command",
|
|
172
|
+
"mcp-server",
|
|
173
|
+
"subagent",
|
|
174
|
+
"files",
|
|
175
|
+
"rule",
|
|
176
|
+
"hook",
|
|
177
|
+
"pack",
|
|
178
|
+
]).annotate({
|
|
179
|
+
title: "Extension Type",
|
|
180
|
+
description: "What kind of extension this is: skill, command, mcp-server, subagent, context, rule, hook, or pack.",
|
|
181
|
+
});
|
|
182
|
+
export const ExtensionName = Schema.String.check(Schema.isMinLength(1)).check(Schema.isPattern(new RegExp("^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"), {
|
|
183
|
+
title: "Extension Name",
|
|
184
|
+
description: "The name of an extension — lowercase letters, numbers, and hyphens (e.g. my-skill).",
|
|
185
|
+
examples: ["my-skill", "code-review", "prettier"],
|
|
186
|
+
}));
|
|
187
|
+
export const Version = Schema.String.check(Schema.isPattern(new RegExp("^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$"), {
|
|
188
|
+
title: "Version",
|
|
189
|
+
description: "A semver version like 1.0.0. Ranges are not allowed here.",
|
|
190
|
+
examples: ["1.0.0", "2.3.1", "0.1.0-beta.1"],
|
|
191
|
+
}));
|
|
192
|
+
export const PublishAuthorizationRequestId = Schema.String.check(Schema.isPattern(new RegExp("^pubreq_[0-7][0-9a-hjkmnp-tv-z]{25}$"), {
|
|
193
|
+
title: "Publish Authorization Request ID",
|
|
194
|
+
description: "Identifies one exact browser-reviewed publish authorization request.",
|
|
195
|
+
examples: ["pubreq_01h455vb4pexka56gq5w2r7cpc"],
|
|
196
|
+
}));
|
|
197
|
+
export const IsoDateTimeString = Schema.String.check(Schema.isMinLength(1));
|
|
155
198
|
export const TokenId = Schema.String.check(Schema.isPattern(new RegExp("^tok_[0-7][0-9a-hjkmnp-tv-z]{25}$"), {
|
|
156
199
|
title: "Token ID",
|
|
157
200
|
description: "Identifies an access token or personal access token (PAT) issued to a user. Used to authenticate API requests to the registry.",
|
|
158
201
|
examples: ["tok_01h455vb4pexka56gq5w2r7cpc"],
|
|
159
202
|
}));
|
|
160
|
-
export const IsoDateTimeString = Schema.String.check(Schema.isMinLength(1));
|
|
161
203
|
export const ScopeCheckDetails = Schema.Struct({
|
|
162
204
|
requiredScope: Schema.String.annotate({
|
|
163
205
|
description: "The scope required to perform the requested operation.",
|
|
@@ -176,7 +218,7 @@ export const AuthorizationDenyDetails = Schema.Struct({
|
|
|
176
218
|
tokenScopes: Schema.Array(Schema.String).annotate({
|
|
177
219
|
description: "The scopes present on the token used for the request.",
|
|
178
220
|
}),
|
|
179
|
-
requiredRole: Schema.optionalKey(Schema.String.annotate({ description: "The
|
|
221
|
+
requiredRole: Schema.optionalKey(Schema.String.annotate({ description: "The management role required, if applicable." })),
|
|
180
222
|
}).annotate({
|
|
181
223
|
title: "Authorization Deny Details",
|
|
182
224
|
description: "Diagnostic details returned when a request is denied due to insufficient authorization.",
|
|
@@ -217,11 +259,6 @@ export const StepUpRequiredError = Schema.Struct({
|
|
|
217
259
|
authUrl: Schema.String,
|
|
218
260
|
doneUrl: Schema.String,
|
|
219
261
|
});
|
|
220
|
-
export const Handle = Schema.String.check(Schema.isPattern(new RegExp("^@[a-z0-9_](?:[a-z0-9_-]*[a-z0-9_])?$"), {
|
|
221
|
-
title: "Handle",
|
|
222
|
-
description: "A unique username or organization name starting with @, like @my-org.",
|
|
223
|
-
examples: ["@my-org", "@username"],
|
|
224
|
-
}));
|
|
225
262
|
export const OwnerResponse = Schema.Struct({
|
|
226
263
|
displayName: Schema.String.annotate({ description: "Display name for the owner account." }),
|
|
227
264
|
}).annotate({ title: "Owner Response", description: "Minimal owner summary for machine clients." });
|
|
@@ -274,29 +311,6 @@ export const ChangeTeamMemberRoleBody = Schema.Struct({
|
|
|
274
311
|
description: "Role within a team — 'admin' manages membership and grants; 'member' inherits grants.",
|
|
275
312
|
}),
|
|
276
313
|
}).annotate({ title: "Change Team Member Role Body" });
|
|
277
|
-
export const ExtensionName = Schema.String.check(Schema.isMinLength(1)).check(Schema.isPattern(new RegExp("^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"), {
|
|
278
|
-
title: "Extension Name",
|
|
279
|
-
description: "The name of an extension — lowercase letters, numbers, and hyphens (e.g. my-skill).",
|
|
280
|
-
examples: ["my-skill", "code-review", "prettier"],
|
|
281
|
-
}));
|
|
282
|
-
export const ExtensionType = Schema.Literals([
|
|
283
|
-
"skill",
|
|
284
|
-
"command",
|
|
285
|
-
"mcp-server",
|
|
286
|
-
"subagent",
|
|
287
|
-
"files",
|
|
288
|
-
"rule",
|
|
289
|
-
"hook",
|
|
290
|
-
"pack",
|
|
291
|
-
]).annotate({
|
|
292
|
-
title: "Extension Type",
|
|
293
|
-
description: "What kind of extension this is: skill, command, mcp-server, subagent, context, rule, hook, or pack.",
|
|
294
|
-
});
|
|
295
|
-
export const Version = Schema.String.check(Schema.isPattern(new RegExp("^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$"), {
|
|
296
|
-
title: "Version",
|
|
297
|
-
description: "A semver version like 1.0.0. Ranges are not allowed here.",
|
|
298
|
-
examples: ["1.0.0", "2.3.1", "0.1.0-beta.1"],
|
|
299
|
-
}));
|
|
300
314
|
export const Repository = Schema.Struct({
|
|
301
315
|
url: Schema.String.annotate({
|
|
302
316
|
description: "Canonical repository URL for the extension source.",
|
|
@@ -363,8 +377,13 @@ export const PackageIdentityPurl = Schema.String.check(Schema.isMinLength(1)).ch
|
|
|
363
377
|
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
378
|
examples: ["pkg:npm/react", "pkg:pypi/requests", "pkg:cargo/serde"],
|
|
365
379
|
}));
|
|
380
|
+
export const ExtensionDeletionOperationId = Schema.String.check(Schema.isPattern(new RegExp("^edel_[0-7][0-9a-hjkmnp-tv-z]{25}$"), {
|
|
381
|
+
title: "Extension Deletion Operation ID",
|
|
382
|
+
description: "Identifies a durable owner-requested whole-Extension deletion operation.",
|
|
383
|
+
examples: ["edel_01h455vb4pexka56gq5w2r7cpc"],
|
|
384
|
+
}));
|
|
366
385
|
export const PatchVisibilityBody = Schema.Struct({
|
|
367
|
-
visibility: Schema.Literals(["public", "
|
|
386
|
+
visibility: Schema.Literals(["public", "private"]).annotate({
|
|
368
387
|
title: "Visibility",
|
|
369
388
|
description: "Target visibility tier for the extension.",
|
|
370
389
|
}),
|
|
@@ -442,9 +461,42 @@ export const PublishIdentityMismatchEntry = Schema.Struct({
|
|
|
442
461
|
title: "Identity Mismatch Entry",
|
|
443
462
|
description: "Single divergent identity field between URL-path and archive.",
|
|
444
463
|
});
|
|
464
|
+
export const YankVersionBody = Schema.Struct({
|
|
465
|
+
category: Schema.optionalKey(Schema.Union([Schema.Literals(["broken", "security", "accidental", "other"]), Schema.Null])),
|
|
466
|
+
notice: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxLength(500)), Schema.Null])),
|
|
467
|
+
}).annotate({
|
|
468
|
+
title: "Yank Version Body",
|
|
469
|
+
description: "Optional public context for yanking an extension version.",
|
|
470
|
+
});
|
|
471
|
+
export const YankAvailableVersionsBody = Schema.Struct({
|
|
472
|
+
selection: Schema.Literal("all-available"),
|
|
473
|
+
category: Schema.optionalKey(Schema.Union([Schema.Literals(["broken", "security", "accidental", "other"]), Schema.Null])),
|
|
474
|
+
notice: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxLength(500)), Schema.Null])),
|
|
475
|
+
}).annotate({
|
|
476
|
+
title: "Yank Available Versions Body",
|
|
477
|
+
description: "Atomically yanks the snapshot of all currently available versions.",
|
|
478
|
+
});
|
|
479
|
+
export const DeleteExtensionBody = Schema.Struct({
|
|
480
|
+
confirmation: Schema.String.annotate({
|
|
481
|
+
description: "Exact full Extension FQN typed by the owner to confirm deletion.",
|
|
482
|
+
}),
|
|
483
|
+
}).annotate({
|
|
484
|
+
title: "Delete Extension Body",
|
|
485
|
+
description: "High-intent confirmation for permanent whole-Extension deletion.",
|
|
486
|
+
});
|
|
487
|
+
export const PurgeExtensionVersionBody = Schema.Struct({
|
|
488
|
+
reason: Schema.Literals(["malware", "exposed_secret", "legal", "privacy", "policy"]),
|
|
489
|
+
confirmSharedDigest: Schema.Boolean,
|
|
490
|
+
}).annotate({
|
|
491
|
+
title: "Purge Extension Version Body",
|
|
492
|
+
description: "Administrative purge reason and explicit acknowledgement of shared-content impact.",
|
|
493
|
+
});
|
|
494
|
+
export const LibraryVisibility = Schema.Literals(["public", "private"]).annotate({
|
|
495
|
+
title: "Library Visibility",
|
|
496
|
+
});
|
|
445
497
|
export const LibraryId = Schema.String.check(Schema.isPattern(new RegExp("^lib_[0-7][0-9a-hjkmnp-tv-z]{25}$"), {
|
|
446
498
|
title: "Library ID",
|
|
447
|
-
description: "Identifies
|
|
499
|
+
description: "Identifies an account-owned installable collection of extension identities in the registry.",
|
|
448
500
|
examples: ["lib_01h455vb4pexka56gq5w2r7cpc"],
|
|
449
501
|
}));
|
|
450
502
|
export const LibraryName = Schema.String.annotate({
|
|
@@ -452,28 +504,20 @@ export const LibraryName = Schema.String.annotate({
|
|
|
452
504
|
description: "Canonical Library name within an owner namespace. Uses the same normalized slug grammar as handles.",
|
|
453
505
|
examples: ["frontend", "team-tools"],
|
|
454
506
|
});
|
|
455
|
-
export const LibraryVisibility = Schema.Literals(["public", "internal", "private"]).annotate({
|
|
456
|
-
title: "Library Visibility",
|
|
457
|
-
});
|
|
458
507
|
export const LibraryMemberId = Schema.String.check(Schema.isPattern(new RegExp("^lmem_[0-7][0-9a-hjkmnp-tv-z]{25}$"), {
|
|
459
508
|
title: "Library Member ID",
|
|
460
509
|
description: "Identifies an extension identity membership inside an installable registry library.",
|
|
461
510
|
examples: ["lmem_01h455vb4pexka56gq5w2r7cpc"],
|
|
462
511
|
}));
|
|
512
|
+
export const ExtensionVersionId = Schema.String.check(Schema.isPattern(new RegExp("^extv_[0-7][0-9a-hjkmnp-tv-z]{25}$"), {
|
|
513
|
+
title: "Extension Version ID",
|
|
514
|
+
description: "Identifies a specific published version of an extension. Each publish operation creates a new version under its parent extension.",
|
|
515
|
+
examples: ["extv_01h455vb4pexka56gq5w2r7cpc"],
|
|
516
|
+
}));
|
|
463
517
|
export const UpdateLibraryBody = Schema.Struct({
|
|
464
518
|
title: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
465
519
|
description: Schema.optionalKey(Schema.Union([Schema.Union([Schema.String, Schema.Null]), Schema.Null])),
|
|
466
520
|
}).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
521
|
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
522
|
title: "Extension FQN",
|
|
479
523
|
description: "Canonical extension identifier in @owner/<type>s/<name> form.",
|
|
@@ -519,7 +563,7 @@ export const AuthMeToken = Schema.Struct({
|
|
|
519
563
|
id: Schema.String.annotate({
|
|
520
564
|
description: "Opaque identifier of the credential used for this request.",
|
|
521
565
|
}),
|
|
522
|
-
type: Schema.Literals(["session", "pat", "oidc"]).annotate({
|
|
566
|
+
type: Schema.Literals(["session", "pat", "oidc", "publish-capability"]).annotate({
|
|
523
567
|
title: "Token Type",
|
|
524
568
|
description: "The type of authentication token.",
|
|
525
569
|
}),
|
|
@@ -540,6 +584,30 @@ export const AuthMeToken = Schema.Struct({
|
|
|
540
584
|
title: "Token Info",
|
|
541
585
|
description: "Details about the token you used to authenticate.",
|
|
542
586
|
});
|
|
587
|
+
export const LibraryMemberCoordinate = Schema.Struct({
|
|
588
|
+
owner: Handle,
|
|
589
|
+
type: ExtensionType,
|
|
590
|
+
name: ExtensionName,
|
|
591
|
+
}).annotate({ title: "Library Member Coordinate" });
|
|
592
|
+
export const PublishIdentity = Schema.Struct({
|
|
593
|
+
owner: Handle,
|
|
594
|
+
type: ExtensionType,
|
|
595
|
+
name: ExtensionName,
|
|
596
|
+
version: Version,
|
|
597
|
+
}).annotate({
|
|
598
|
+
title: "Publish Identity",
|
|
599
|
+
description: "URL-path identity of the extension version under publish.",
|
|
600
|
+
});
|
|
601
|
+
export const SharedDigestConfirmationRequiredHttpError = Schema.Struct({
|
|
602
|
+
kind: Schema.Literal("SharedDigestConfirmationRequiredHttpError"),
|
|
603
|
+
type: Schema.String,
|
|
604
|
+
title: Schema.String,
|
|
605
|
+
status: Schema.Number.check(Schema.isInt()),
|
|
606
|
+
detail: Schema.String,
|
|
607
|
+
instance: Schema.optionalKey(Schema.String),
|
|
608
|
+
code: Schema.Literal("shared_digest_confirmation_required"),
|
|
609
|
+
affectedCoordinates: Schema.Array(Schema.Struct({ owner: Handle, type: ExtensionType, name: ExtensionName, version: Version })),
|
|
610
|
+
});
|
|
543
611
|
export const TokenListItem = Schema.Struct({
|
|
544
612
|
id: TokenId,
|
|
545
613
|
name: Schema.Union([
|
|
@@ -583,6 +651,7 @@ export const ForbiddenError = Schema.Struct({
|
|
|
583
651
|
"resource_restriction",
|
|
584
652
|
"scope_escalation",
|
|
585
653
|
"gat_requires_session",
|
|
654
|
+
"recent_authentication_required",
|
|
586
655
|
"team_create_not_authorized",
|
|
587
656
|
"team_delete_not_authorized",
|
|
588
657
|
"team_update_not_authorized",
|
|
@@ -597,6 +666,8 @@ export const ForbiddenError = Schema.Struct({
|
|
|
597
666
|
"publish/resource-restriction",
|
|
598
667
|
"publish/handle-not-owned",
|
|
599
668
|
"publish/publish-forbidden",
|
|
669
|
+
"publish/capability-binding-mismatch",
|
|
670
|
+
"publish/capability-expired",
|
|
600
671
|
]),
|
|
601
672
|
details: Schema.optionalKey(Schema.Union([ScopeCheckDetails, AuthorizationDenyDetails, PublishDetails])),
|
|
602
673
|
});
|
|
@@ -654,25 +725,6 @@ export const LibraryMaintainerTarget = Schema.Union([
|
|
|
654
725
|
Schema.Struct({ kind: Schema.Literal("user"), userId: UserId }),
|
|
655
726
|
Schema.Struct({ kind: Schema.Literal("team"), teamId: TeamId }),
|
|
656
727
|
]).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
728
|
export const Maintainer = Schema.Union([
|
|
677
729
|
Schema.Struct({
|
|
678
730
|
kind: Schema.Literal("user"),
|
|
@@ -724,15 +776,6 @@ export const TeamMembership = Schema.Struct({
|
|
|
724
776
|
addedAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
725
777
|
addedBy: UserIdRef,
|
|
726
778
|
}).annotate({ title: "Team Membership" });
|
|
727
|
-
export const PublishIdentity = Schema.Struct({
|
|
728
|
-
owner: Handle,
|
|
729
|
-
type: ExtensionType,
|
|
730
|
-
name: ExtensionName,
|
|
731
|
-
version: Version,
|
|
732
|
-
}).annotate({
|
|
733
|
-
title: "Publish Identity",
|
|
734
|
-
description: "URL-path identity of the extension version under publish.",
|
|
735
|
-
});
|
|
736
779
|
export const SearchHit = Schema.Struct({
|
|
737
780
|
name: ExtensionName,
|
|
738
781
|
owner: Handle,
|
|
@@ -744,6 +787,8 @@ export const SearchHit = Schema.Struct({
|
|
|
744
787
|
authors: Schema.optionalKey(Schema.Union([Schema.Array(Author), Schema.Null])),
|
|
745
788
|
deprecated_at: Schema.optionalKey(Schema.Union([IsoDateTimeString, Schema.Null])),
|
|
746
789
|
deprecation_notice: Schema.optionalKey(Schema.Union([Schema.String.annotate({ readOnly: true }), Schema.Null])),
|
|
790
|
+
matched_fields: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
|
|
791
|
+
visibility: Schema.Literals(["public", "private"]),
|
|
747
792
|
}).annotate({ title: "Search Hit", description: "A single extension matched by a search query." });
|
|
748
793
|
export const CompanionPackage = Schema.Struct({
|
|
749
794
|
purl: PackageIdentityPurl,
|
|
@@ -769,13 +814,13 @@ export const PublishLintFinding = Schema.Struct({
|
|
|
769
814
|
title: "Publish Lint Finding",
|
|
770
815
|
description: "One lint finding produced against the publish subject.",
|
|
771
816
|
});
|
|
817
|
+
export const PatchLibraryVisibilityBody = Schema.Struct({ visibility: LibraryVisibility }).annotate({ title: "Patch Library Visibility Body" });
|
|
772
818
|
export const CreateLibraryBody = Schema.Struct({
|
|
773
819
|
name: LibraryName,
|
|
774
820
|
title: Schema.String,
|
|
775
821
|
description: Schema.optionalKey(Schema.Union([Schema.Union([Schema.String, Schema.Null]), Schema.Null])),
|
|
776
822
|
visibility: Schema.optionalKey(Schema.Union([LibraryVisibility, Schema.Null])),
|
|
777
823
|
}).annotate({ title: "Create Library Body" });
|
|
778
|
-
export const PatchLibraryVisibilityBody = Schema.Struct({ visibility: LibraryVisibility }).annotate({ title: "Patch Library Visibility Body" });
|
|
779
824
|
export const LibraryMember = Schema.Struct({
|
|
780
825
|
id: LibraryMemberId,
|
|
781
826
|
libraryId: LibraryId,
|
|
@@ -785,6 +830,17 @@ export const LibraryMember = Schema.Struct({
|
|
|
785
830
|
extensionName: ExtensionName,
|
|
786
831
|
addedAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
787
832
|
}).annotate({ title: "Library Member" });
|
|
833
|
+
export const LibraryResolutionMember = Schema.Struct({
|
|
834
|
+
memberId: LibraryMemberId,
|
|
835
|
+
extensionId: ExtensionId,
|
|
836
|
+
extensionVersionId: ExtensionVersionId,
|
|
837
|
+
owner: Handle,
|
|
838
|
+
type: ExtensionType,
|
|
839
|
+
name: ExtensionName,
|
|
840
|
+
version: Version,
|
|
841
|
+
addedAt: IsoDateTimeString,
|
|
842
|
+
publishedAt: Schema.Union([IsoDateTimeString, Schema.Null]),
|
|
843
|
+
}).annotate({ title: "Library Resolution Member" });
|
|
788
844
|
export const AuthMeResponse = Schema.Struct({
|
|
789
845
|
user: AuthMeUser,
|
|
790
846
|
orgs: Schema.Array(Schema.Never).annotate({
|
|
@@ -795,6 +851,27 @@ export const AuthMeResponse = Schema.Struct({
|
|
|
795
851
|
title: "Auth Me Response",
|
|
796
852
|
description: "Your user profile, organizations, and token details.",
|
|
797
853
|
});
|
|
854
|
+
export const PatchLibraryMembersBody = Schema.Struct({
|
|
855
|
+
add: Schema.Array(LibraryMemberCoordinate),
|
|
856
|
+
remove: Schema.Array(LibraryMemberCoordinate),
|
|
857
|
+
}).annotate({ title: "Patch Library Members Body" });
|
|
858
|
+
export const PatchLibraryMembersResponse = Schema.Struct({
|
|
859
|
+
added: Schema.Array(LibraryMemberCoordinate),
|
|
860
|
+
removed: Schema.Array(LibraryMemberCoordinate),
|
|
861
|
+
unchanged: Schema.Array(Schema.Struct({ action: Schema.Literals(["add", "remove"]), member: LibraryMemberCoordinate })),
|
|
862
|
+
}).annotate({ title: "Patch Library Members Response" });
|
|
863
|
+
export const ExtensionIdentityMismatchError = Schema.Struct({
|
|
864
|
+
kind: Schema.Literal("ExtensionIdentityMismatchError"),
|
|
865
|
+
type: Schema.String,
|
|
866
|
+
title: Schema.String,
|
|
867
|
+
status: Schema.Number.check(Schema.isInt()),
|
|
868
|
+
detail: Schema.String,
|
|
869
|
+
instance: Schema.optionalKey(Schema.String),
|
|
870
|
+
code: Schema.Literal("extension_identity_mismatch"),
|
|
871
|
+
error: Schema.Literal("extension_identity_mismatch"),
|
|
872
|
+
identity: PublishIdentity,
|
|
873
|
+
mismatches: Schema.Array(PublishIdentityMismatchEntry),
|
|
874
|
+
});
|
|
798
875
|
export const TokenListResponse = Schema.Struct({
|
|
799
876
|
tokens: Schema.Array(TokenListItem).annotate({
|
|
800
877
|
description: "List of access tokens for the authenticated user.",
|
|
@@ -829,9 +906,6 @@ export const CreatedLibrary = Schema.Struct({
|
|
|
829
906
|
createdAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
830
907
|
updatedAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
831
908
|
}).annotate({ title: "Created Library" });
|
|
832
|
-
export const ExtensionGrantsResponse = Schema.Struct({
|
|
833
|
-
grants: Schema.Array(ExtensionGrantEntry),
|
|
834
|
-
}).annotate({ title: "Extension Grants Response" });
|
|
835
909
|
export const TeamList = Schema.Struct({
|
|
836
910
|
items: Schema.Array(Team),
|
|
837
911
|
nextCursor: Schema.Union([Schema.String, Schema.Null]),
|
|
@@ -840,18 +914,6 @@ export const TeamMembershipList = Schema.Struct({
|
|
|
840
914
|
items: Schema.Array(TeamMembership),
|
|
841
915
|
nextCursor: Schema.Union([Schema.String, Schema.Null]),
|
|
842
916
|
}).annotate({ title: "Team Membership List" });
|
|
843
|
-
export const ExtensionIdentityMismatchError = Schema.Struct({
|
|
844
|
-
kind: Schema.Literal("ExtensionIdentityMismatchError"),
|
|
845
|
-
type: Schema.String,
|
|
846
|
-
title: Schema.String,
|
|
847
|
-
status: Schema.Number.check(Schema.isInt()),
|
|
848
|
-
detail: Schema.String,
|
|
849
|
-
instance: Schema.optionalKey(Schema.String),
|
|
850
|
-
code: Schema.Literal("extension_identity_mismatch"),
|
|
851
|
-
error: Schema.Literal("extension_identity_mismatch"),
|
|
852
|
-
identity: PublishIdentity,
|
|
853
|
-
mismatches: Schema.Array(PublishIdentityMismatchEntry),
|
|
854
|
-
});
|
|
855
917
|
export const SearchResponse = Schema.Struct({
|
|
856
918
|
extensions: Schema.Array(SearchHit).annotate({
|
|
857
919
|
description: "Extensions matching the query, ordered by recency.",
|
|
@@ -863,6 +925,10 @@ export const SearchResponse = Schema.Struct({
|
|
|
863
925
|
Schema.String.annotate({ description: "Opaque cursor for fetching the next page of results." }),
|
|
864
926
|
Schema.Null,
|
|
865
927
|
]),
|
|
928
|
+
total: Schema.Number.check(Schema.isInt()).check(Schema.makeFilterGroup([Schema.isFinite(), Schema.isGreaterThanOrEqualTo(0)], {
|
|
929
|
+
description: "Exact number of viewer-visible extensions matching the query.",
|
|
930
|
+
})),
|
|
931
|
+
total_relation: Schema.Literal("exact"),
|
|
866
932
|
}).annotate({
|
|
867
933
|
title: "Search Response",
|
|
868
934
|
description: "A page of extensions matching the search query.",
|
|
@@ -880,12 +946,32 @@ export const ExtensionLintFailedError = Schema.Struct({
|
|
|
880
946
|
displayRoot: Schema.String,
|
|
881
947
|
findings: Schema.Array(PublishLintFinding),
|
|
882
948
|
});
|
|
949
|
+
export const ListLibraryMembersResponse = Schema.Struct({
|
|
950
|
+
members: Schema.Array(LibraryMember),
|
|
951
|
+
total: Schema.Number.check(Schema.isInt()),
|
|
952
|
+
limit: Schema.Number.check(Schema.isInt()),
|
|
953
|
+
offset: Schema.Number.check(Schema.isInt()),
|
|
954
|
+
viewerRelative: Schema.Literal(true),
|
|
955
|
+
}).annotate({ title: "List Library Members Response" });
|
|
956
|
+
export const LibraryResolution = Schema.Struct({
|
|
957
|
+
libraryId: LibraryId,
|
|
958
|
+
reference: Schema.String,
|
|
959
|
+
name: LibraryName,
|
|
960
|
+
updatedAt: IsoDateTimeString,
|
|
961
|
+
membershipDigest: Schema.String,
|
|
962
|
+
viewerRelative: Schema.Literal(true),
|
|
963
|
+
members: Schema.Array(LibraryResolutionMember),
|
|
964
|
+
}).annotate({
|
|
965
|
+
title: "Library Resolution",
|
|
966
|
+
description: "The current Library membership and latest eligible versions visible to the authenticated viewer.",
|
|
967
|
+
});
|
|
883
968
|
export const LibraryDetail = Schema.Struct({
|
|
884
969
|
library: Library,
|
|
885
970
|
members: Schema.Array(LibraryMember),
|
|
886
|
-
|
|
971
|
+
accessibleMemberCount: Schema.Number.check(Schema.isInt())
|
|
887
972
|
.check(Schema.isFinite())
|
|
888
973
|
.check(Schema.isGreaterThanOrEqualTo(0)),
|
|
974
|
+
contentsMayVary: Schema.Literal(true),
|
|
889
975
|
}).annotate({ title: "Library Detail" });
|
|
890
976
|
export const MetaGet200 = MetaResponse;
|
|
891
977
|
export const MetaGet400 = DecodeErrorResponse;
|
|
@@ -1001,6 +1087,27 @@ export const AuthGetStepUpChallenge401 = ProblemDetails;
|
|
|
1001
1087
|
export const AuthGetStepUpChallenge404 = ProblemDetails;
|
|
1002
1088
|
export const AuthExchangeOidcToken400 = DecodeErrorResponse;
|
|
1003
1089
|
export const AuthExchangeOidcToken501 = ProblemDetails;
|
|
1090
|
+
export const AuthCreatePublishAuthorizationRequestRequestJson = Schema.Struct({
|
|
1091
|
+
client_id: Schema.String.check(Schema.isMinLength(1)),
|
|
1092
|
+
redirect_uri: Schema.String.check(Schema.isMinLength(1)),
|
|
1093
|
+
state: Schema.String.check(Schema.isMinLength(1)),
|
|
1094
|
+
code_challenge: Schema.String.check(Schema.isMinLength(1)),
|
|
1095
|
+
code_challenge_method: Schema.Literal("S256"),
|
|
1096
|
+
owner: Handle,
|
|
1097
|
+
type: ExtensionType,
|
|
1098
|
+
name: ExtensionName,
|
|
1099
|
+
version: Version,
|
|
1100
|
+
archive_sha256: Schema.String.check(Schema.isMinLength(1)),
|
|
1101
|
+
});
|
|
1102
|
+
export const AuthCreatePublishAuthorizationRequest201 = Schema.Struct({
|
|
1103
|
+
request_id: PublishAuthorizationRequestId,
|
|
1104
|
+
authorization_url: Schema.String,
|
|
1105
|
+
expires_at: IsoDateTimeString,
|
|
1106
|
+
});
|
|
1107
|
+
export const AuthCreatePublishAuthorizationRequest400 = Schema.Union([
|
|
1108
|
+
ProblemDetails,
|
|
1109
|
+
DecodeErrorResponse,
|
|
1110
|
+
]);
|
|
1004
1111
|
export const TokensListParams = Schema.Struct({
|
|
1005
1112
|
cursor: Schema.optionalKey(Schema.Union([
|
|
1006
1113
|
Schema.String.annotate({
|
|
@@ -1133,6 +1240,7 @@ export const ExtensionsGet200 = Schema.Struct({
|
|
|
1133
1240
|
name: ExtensionName,
|
|
1134
1241
|
owner: Handle,
|
|
1135
1242
|
type: ExtensionType,
|
|
1243
|
+
publisher_binding_id: Schema.String.annotate({ readOnly: true }),
|
|
1136
1244
|
description: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1137
1245
|
repository: Schema.optionalKey(Schema.Union([Repository, Schema.Null])),
|
|
1138
1246
|
bugs: Schema.optionalKey(Schema.Union([Bugs, Schema.Null])),
|
|
@@ -1145,9 +1253,11 @@ export const ExtensionsGet200 = Schema.Struct({
|
|
|
1145
1253
|
dependencies: Schema.optionalKey(Schema.Union([Schema.Record(Schema.String, VersionRange), Schema.Null])),
|
|
1146
1254
|
packages: Schema.optionalKey(Schema.Union([Schema.Array(CompanionPackage), Schema.Null])),
|
|
1147
1255
|
yanked_at: Schema.optionalKey(Schema.Union([IsoDateTimeString, Schema.Null])),
|
|
1256
|
+
yank_category: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1257
|
+
yank_notice: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1148
1258
|
})),
|
|
1149
1259
|
visibility: Schema.optionalKey(Schema.Union([
|
|
1150
|
-
Schema.Literals(["public", "
|
|
1260
|
+
Schema.Literals(["public", "private"]).annotate({ readOnly: true }),
|
|
1151
1261
|
Schema.Null,
|
|
1152
1262
|
])),
|
|
1153
1263
|
deprecated_at: Schema.optionalKey(Schema.Union([IsoDateTimeString, Schema.Null])),
|
|
@@ -1155,6 +1265,50 @@ export const ExtensionsGet200 = Schema.Struct({
|
|
|
1155
1265
|
});
|
|
1156
1266
|
export const ExtensionsGet400 = DecodeErrorResponse;
|
|
1157
1267
|
export const ExtensionsGet404 = ProblemDetails;
|
|
1268
|
+
export const ExtensionsDeleteExtensionRequestJson = DeleteExtensionBody;
|
|
1269
|
+
export const ExtensionsDeleteExtension202 = Schema.Struct({
|
|
1270
|
+
operationId: ExtensionDeletionOperationId,
|
|
1271
|
+
state: Schema.Literal("pending"),
|
|
1272
|
+
requiredConfirmation: Schema.String,
|
|
1273
|
+
warnings: Schema.Struct({
|
|
1274
|
+
versions: Schema.Array(Schema.String),
|
|
1275
|
+
dependentPackCount: Schema.Union([
|
|
1276
|
+
Schema.Union([
|
|
1277
|
+
Schema.Number.check(Schema.isFinite()),
|
|
1278
|
+
Schema.Literal("NaN"),
|
|
1279
|
+
Schema.Literal("Infinity"),
|
|
1280
|
+
Schema.Literal("-Infinity"),
|
|
1281
|
+
]),
|
|
1282
|
+
Schema.Literals(["Infinity", "-Infinity", "NaN"]),
|
|
1283
|
+
]),
|
|
1284
|
+
libraryMembershipCount: Schema.Union([
|
|
1285
|
+
Schema.Union([
|
|
1286
|
+
Schema.Number.check(Schema.isFinite()),
|
|
1287
|
+
Schema.Literal("NaN"),
|
|
1288
|
+
Schema.Literal("Infinity"),
|
|
1289
|
+
Schema.Literal("-Infinity"),
|
|
1290
|
+
]),
|
|
1291
|
+
Schema.Literals(["Infinity", "-Infinity", "NaN"]),
|
|
1292
|
+
]),
|
|
1293
|
+
downloadCount: Schema.Union([
|
|
1294
|
+
Schema.Union([
|
|
1295
|
+
Schema.Union([
|
|
1296
|
+
Schema.Number.check(Schema.isFinite()),
|
|
1297
|
+
Schema.Literal("NaN"),
|
|
1298
|
+
Schema.Literal("Infinity"),
|
|
1299
|
+
Schema.Literal("-Infinity"),
|
|
1300
|
+
]),
|
|
1301
|
+
Schema.Literals(["Infinity", "-Infinity", "NaN"]),
|
|
1302
|
+
]),
|
|
1303
|
+
Schema.Null,
|
|
1304
|
+
]),
|
|
1305
|
+
}),
|
|
1306
|
+
});
|
|
1307
|
+
export const ExtensionsDeleteExtension400 = Schema.Union([ProblemDetails, DecodeErrorResponse]);
|
|
1308
|
+
export const ExtensionsDeleteExtension401 = Schema.Union([StepUpRequiredError, ProblemDetails]);
|
|
1309
|
+
export const ExtensionsDeleteExtension403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1310
|
+
export const ExtensionsDeleteExtension404 = ProblemDetails;
|
|
1311
|
+
export const ExtensionsDeleteExtension409 = ProblemDetails;
|
|
1158
1312
|
export const ExtensionsUpdateVisibilityRequestJson = PatchVisibilityBody;
|
|
1159
1313
|
export const ExtensionsUpdateVisibility200 = Schema.Struct({
|
|
1160
1314
|
id: ExtensionId,
|
|
@@ -1169,11 +1323,11 @@ export const ExtensionsUpdateVisibility400 = Schema.Union([ProblemDetails, Decod
|
|
|
1169
1323
|
export const ExtensionsUpdateVisibility401 = ProblemDetails;
|
|
1170
1324
|
export const ExtensionsUpdateVisibility403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1171
1325
|
export const ExtensionsUpdateVisibility404 = ProblemDetails;
|
|
1172
|
-
export const ExtensionsUpdateVisibility422 = ProblemDetails;
|
|
1173
1326
|
export const ExtensionsGetVersion200 = Schema.Struct({
|
|
1174
1327
|
name: ExtensionName,
|
|
1175
1328
|
owner: Handle,
|
|
1176
1329
|
type: ExtensionType,
|
|
1330
|
+
publisher_binding_id: Schema.String.annotate({ readOnly: true }),
|
|
1177
1331
|
version: Version,
|
|
1178
1332
|
status: Schema.Literals(["pending", "available", "failed"]).annotate({ readOnly: true }),
|
|
1179
1333
|
published: IsoDateTimeString,
|
|
@@ -1186,14 +1340,12 @@ export const ExtensionsGetVersion200 = Schema.Struct({
|
|
|
1186
1340
|
dependencies: Schema.optionalKey(Schema.Union([Schema.Record(Schema.String, VersionRange), Schema.Null])),
|
|
1187
1341
|
packages: Schema.optionalKey(Schema.Union([Schema.Array(CompanionPackage), Schema.Null])),
|
|
1188
1342
|
yanked_at: Schema.optionalKey(Schema.Union([IsoDateTimeString, Schema.Null])),
|
|
1189
|
-
|
|
1343
|
+
yank_category: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1344
|
+
yank_notice: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1190
1345
|
});
|
|
1191
1346
|
export const ExtensionsGetVersion400 = DecodeErrorResponse;
|
|
1192
1347
|
export const ExtensionsGetVersion404 = ProblemDetails;
|
|
1193
|
-
export const
|
|
1194
|
-
archive: Schema.String.annotate({ description: "Extension archive multipart file part." }),
|
|
1195
|
-
integrity: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1196
|
-
});
|
|
1348
|
+
export const ExtensionsGetVersion410 = ProblemDetails;
|
|
1197
1349
|
export const ExtensionsPublishVersion201 = Schema.Struct({
|
|
1198
1350
|
owner: Handle,
|
|
1199
1351
|
type: ExtensionType,
|
|
@@ -1220,10 +1372,22 @@ export const ExtensionsPublishVersion422 = Schema.Union([
|
|
|
1220
1372
|
export const ExtensionsPublishVersion429 = ProblemDetails;
|
|
1221
1373
|
export const ExtensionsPublishVersion500 = ProblemDetails;
|
|
1222
1374
|
export const ExtensionsPublishVersion503 = ProblemDetails;
|
|
1223
|
-
export const
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1375
|
+
export const ExtensionsGetDeletionOperation200 = Schema.Struct({
|
|
1376
|
+
id: ExtensionDeletionOperationId,
|
|
1377
|
+
owner: Handle,
|
|
1378
|
+
type: ExtensionType,
|
|
1379
|
+
name: ExtensionName,
|
|
1380
|
+
state: Schema.Literals(["pending", "dispatching", "completed", "failed"]),
|
|
1381
|
+
requestedAt: Schema.String,
|
|
1382
|
+
completedAt: Schema.Union([Schema.String, Schema.Null]),
|
|
1383
|
+
nameReclaimableAt: Schema.Union([Schema.String, Schema.Null]),
|
|
1384
|
+
failureCode: Schema.Union([Schema.String, Schema.Null]),
|
|
1385
|
+
failureDetail: Schema.Union([Schema.String, Schema.Null]),
|
|
1386
|
+
});
|
|
1387
|
+
export const ExtensionsGetDeletionOperation400 = DecodeErrorResponse;
|
|
1388
|
+
export const ExtensionsGetDeletionOperation401 = ProblemDetails;
|
|
1389
|
+
export const ExtensionsGetDeletionOperation403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1390
|
+
export const ExtensionsGetDeletionOperation404 = ProblemDetails;
|
|
1227
1391
|
export const ExtensionsDownloadArchive400 = DecodeErrorResponse;
|
|
1228
1392
|
export const ExtensionsDownloadArchive404 = ProblemDetails;
|
|
1229
1393
|
export const ExtensionsDownloadArchive500 = ProblemDetails;
|
|
@@ -1253,12 +1417,15 @@ export const ExtensionsUndeprecate400 = DecodeErrorResponse;
|
|
|
1253
1417
|
export const ExtensionsUndeprecate401 = ProblemDetails;
|
|
1254
1418
|
export const ExtensionsUndeprecate403 = ForbiddenError;
|
|
1255
1419
|
export const ExtensionsUndeprecate404 = ProblemDetails;
|
|
1420
|
+
export const ExtensionsYankVersionRequestJson = YankVersionBody;
|
|
1256
1421
|
export const ExtensionsYankVersion200 = Schema.Struct({
|
|
1257
1422
|
owner: Handle,
|
|
1258
1423
|
type: ExtensionType,
|
|
1259
1424
|
name: ExtensionName,
|
|
1260
1425
|
version: Version,
|
|
1261
1426
|
yankedAt: Schema.Union([IsoDateTimeString, Schema.Null]),
|
|
1427
|
+
yankCategory: Schema.Union([Schema.String, Schema.Null]),
|
|
1428
|
+
yankNotice: Schema.Union([Schema.String, Schema.Null]),
|
|
1262
1429
|
links: ExtensionLinks,
|
|
1263
1430
|
});
|
|
1264
1431
|
export const ExtensionsYankVersion400 = DecodeErrorResponse;
|
|
@@ -1271,13 +1438,97 @@ export const ExtensionsUnyankVersion200 = Schema.Struct({
|
|
|
1271
1438
|
name: ExtensionName,
|
|
1272
1439
|
version: Version,
|
|
1273
1440
|
yankedAt: Schema.Null,
|
|
1441
|
+
yankCategory: Schema.Null,
|
|
1442
|
+
yankNotice: Schema.Null,
|
|
1274
1443
|
links: ExtensionLinks,
|
|
1275
1444
|
});
|
|
1276
1445
|
export const ExtensionsUnyankVersion400 = DecodeErrorResponse;
|
|
1277
1446
|
export const ExtensionsUnyankVersion401 = Schema.Union([StepUpRequiredError, ProblemDetails]);
|
|
1278
1447
|
export const ExtensionsUnyankVersion403 = ForbiddenError;
|
|
1279
1448
|
export const ExtensionsUnyankVersion404 = ProblemDetails;
|
|
1280
|
-
export const
|
|
1449
|
+
export const ExtensionsYankAvailableVersionsRequestJson = YankAvailableVersionsBody;
|
|
1450
|
+
export const ExtensionsYankAvailableVersions200 = Schema.Struct({
|
|
1451
|
+
selection: Schema.Literal("all-available"),
|
|
1452
|
+
affectedVersions: Schema.Array(Version),
|
|
1453
|
+
futureVersionsAffected: Schema.Literal(false),
|
|
1454
|
+
});
|
|
1455
|
+
export const ExtensionsYankAvailableVersions400 = DecodeErrorResponse;
|
|
1456
|
+
export const ExtensionsYankAvailableVersions401 = Schema.Union([
|
|
1457
|
+
StepUpRequiredError,
|
|
1458
|
+
ProblemDetails,
|
|
1459
|
+
]);
|
|
1460
|
+
export const ExtensionsYankAvailableVersions403 = ForbiddenError;
|
|
1461
|
+
export const ExtensionsYankAvailableVersions404 = ProblemDetails;
|
|
1462
|
+
export const ExtensionsGetDeletionPreview200 = Schema.Struct({
|
|
1463
|
+
requiredConfirmation: Schema.String,
|
|
1464
|
+
warnings: Schema.Struct({
|
|
1465
|
+
versions: Schema.Array(Schema.String),
|
|
1466
|
+
dependentPackCount: Schema.Union([
|
|
1467
|
+
Schema.Union([
|
|
1468
|
+
Schema.Number.check(Schema.isFinite()),
|
|
1469
|
+
Schema.Literal("NaN"),
|
|
1470
|
+
Schema.Literal("Infinity"),
|
|
1471
|
+
Schema.Literal("-Infinity"),
|
|
1472
|
+
]),
|
|
1473
|
+
Schema.Literals(["Infinity", "-Infinity", "NaN"]),
|
|
1474
|
+
]),
|
|
1475
|
+
libraryMembershipCount: Schema.Union([
|
|
1476
|
+
Schema.Union([
|
|
1477
|
+
Schema.Number.check(Schema.isFinite()),
|
|
1478
|
+
Schema.Literal("NaN"),
|
|
1479
|
+
Schema.Literal("Infinity"),
|
|
1480
|
+
Schema.Literal("-Infinity"),
|
|
1481
|
+
]),
|
|
1482
|
+
Schema.Literals(["Infinity", "-Infinity", "NaN"]),
|
|
1483
|
+
]),
|
|
1484
|
+
downloadCount: Schema.Union([
|
|
1485
|
+
Schema.Union([
|
|
1486
|
+
Schema.Union([
|
|
1487
|
+
Schema.Number.check(Schema.isFinite()),
|
|
1488
|
+
Schema.Literal("NaN"),
|
|
1489
|
+
Schema.Literal("Infinity"),
|
|
1490
|
+
Schema.Literal("-Infinity"),
|
|
1491
|
+
]),
|
|
1492
|
+
Schema.Literals(["Infinity", "-Infinity", "NaN"]),
|
|
1493
|
+
]),
|
|
1494
|
+
Schema.Null,
|
|
1495
|
+
]),
|
|
1496
|
+
}),
|
|
1497
|
+
});
|
|
1498
|
+
export const ExtensionsGetDeletionPreview400 = DecodeErrorResponse;
|
|
1499
|
+
export const ExtensionsGetDeletionPreview401 = ProblemDetails;
|
|
1500
|
+
export const ExtensionsGetDeletionPreview403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1501
|
+
export const ExtensionsGetDeletionPreview404 = ProblemDetails;
|
|
1502
|
+
export const AdminExtensionsPurgeExtensionVersionRequestJson = PurgeExtensionVersionBody;
|
|
1503
|
+
export const AdminExtensionsPurgeExtensionVersion202 = Schema.Struct({
|
|
1504
|
+
operationId: Schema.String,
|
|
1505
|
+
affectedCoordinates: Schema.Array(Schema.Struct({ owner: Handle, type: ExtensionType, name: ExtensionName, version: Version })),
|
|
1506
|
+
archivePurgeState: Schema.Literal("pending"),
|
|
1507
|
+
});
|
|
1508
|
+
export const AdminExtensionsPurgeExtensionVersion400 = DecodeErrorResponse;
|
|
1509
|
+
export const AdminExtensionsPurgeExtensionVersion401 = Schema.Union([
|
|
1510
|
+
StepUpRequiredError,
|
|
1511
|
+
ProblemDetails,
|
|
1512
|
+
]);
|
|
1513
|
+
export const AdminExtensionsPurgeExtensionVersion403 = Schema.Union([
|
|
1514
|
+
ForbiddenError,
|
|
1515
|
+
ForbiddenError,
|
|
1516
|
+
]);
|
|
1517
|
+
export const AdminExtensionsPurgeExtensionVersion404 = ProblemDetails;
|
|
1518
|
+
export const AdminExtensionsPurgeExtensionVersion409 = SharedDigestConfirmationRequiredHttpError;
|
|
1519
|
+
export const LibrariesListLibrariesParams = Schema.Struct({
|
|
1520
|
+
limit: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1521
|
+
offset: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1522
|
+
q: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1523
|
+
"filter[visibility]": Schema.optionalKey(Schema.Union([LibraryVisibility, Schema.Null])),
|
|
1524
|
+
});
|
|
1525
|
+
export const LibrariesListLibraries200 = Schema.Struct({
|
|
1526
|
+
libraries: Schema.Array(Library),
|
|
1527
|
+
total: Schema.Number.check(Schema.isInt()),
|
|
1528
|
+
limit: Schema.Number.check(Schema.isInt()),
|
|
1529
|
+
offset: Schema.Number.check(Schema.isInt()),
|
|
1530
|
+
viewerRelative: Schema.Literal(true),
|
|
1531
|
+
});
|
|
1281
1532
|
export const LibrariesListLibraries400 = DecodeErrorResponse;
|
|
1282
1533
|
export const LibrariesListLibraries404 = ProblemDetails;
|
|
1283
1534
|
export const LibrariesCreateLibraryRequestJson = CreateLibraryBody;
|
|
@@ -1304,6 +1555,27 @@ export const LibrariesUpdateLibrary401 = ProblemDetails;
|
|
|
1304
1555
|
export const LibrariesUpdateLibrary403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1305
1556
|
export const LibrariesUpdateLibrary404 = ProblemDetails;
|
|
1306
1557
|
export const LibrariesUpdateLibrary422 = ProblemDetails;
|
|
1558
|
+
export const LibrariesGetLibraryResolution200 = LibraryResolution;
|
|
1559
|
+
export const LibrariesGetLibraryResolution400 = DecodeErrorResponse;
|
|
1560
|
+
export const LibrariesGetLibraryResolution404 = ProblemDetails;
|
|
1561
|
+
export const LibrariesGetLibraryResolution422 = ProblemDetails;
|
|
1562
|
+
export const LibrariesListLibraryMembersParams = Schema.Struct({
|
|
1563
|
+
limit: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1564
|
+
offset: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1565
|
+
q: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1566
|
+
"filter[type]": Schema.optionalKey(Schema.Union([ExtensionType, Schema.Null])),
|
|
1567
|
+
});
|
|
1568
|
+
export const LibrariesListLibraryMembers200 = ListLibraryMembersResponse;
|
|
1569
|
+
export const LibrariesListLibraryMembers400 = DecodeErrorResponse;
|
|
1570
|
+
export const LibrariesListLibraryMembers404 = ProblemDetails;
|
|
1571
|
+
export const LibrariesListLibraryMembers422 = ProblemDetails;
|
|
1572
|
+
export const LibrariesPatchLibraryMembersRequestJson = PatchLibraryMembersBody;
|
|
1573
|
+
export const LibrariesPatchLibraryMembers200 = PatchLibraryMembersResponse;
|
|
1574
|
+
export const LibrariesPatchLibraryMembers400 = DecodeErrorResponse;
|
|
1575
|
+
export const LibrariesPatchLibraryMembers401 = ProblemDetails;
|
|
1576
|
+
export const LibrariesPatchLibraryMembers403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1577
|
+
export const LibrariesPatchLibraryMembers404 = ProblemDetails;
|
|
1578
|
+
export const LibrariesPatchLibraryMembers422 = ProblemDetails;
|
|
1307
1579
|
export const LibrariesSetLibraryVisibilityRequestJson = PatchLibraryVisibilityBody;
|
|
1308
1580
|
export const LibrariesSetLibraryVisibility200 = Library;
|
|
1309
1581
|
export const LibrariesSetLibraryVisibility400 = DecodeErrorResponse;
|
|
@@ -1336,95 +1608,6 @@ export const LibrariesRemoveLibraryMember401 = ProblemDetails;
|
|
|
1336
1608
|
export const LibrariesRemoveLibraryMember403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1337
1609
|
export const LibrariesRemoveLibraryMember404 = ProblemDetails;
|
|
1338
1610
|
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
1611
|
export const MaintainerGetMaintainer200 = Maintainer;
|
|
1429
1612
|
export const MaintainerGetMaintainer400 = DecodeErrorResponse;
|
|
1430
1613
|
export const MaintainerGetMaintainer401 = ProblemDetails;
|
|
@@ -1568,9 +1751,19 @@ export const SearchSearchExtensionsParams = Schema.Struct({
|
|
|
1568
1751
|
}),
|
|
1569
1752
|
Schema.Null,
|
|
1570
1753
|
])),
|
|
1754
|
+
type: Schema.optionalKey(Schema.Union([ExtensionType, Schema.Null])),
|
|
1755
|
+
sort: Schema.optionalKey(Schema.Union([
|
|
1756
|
+
Schema.Literals(["relevance", "popular", "newest", "updated", "name"]),
|
|
1757
|
+
Schema.Null,
|
|
1758
|
+
])),
|
|
1759
|
+
owner: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1760
|
+
package: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1761
|
+
license: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1762
|
+
lifecycle: Schema.optionalKey(Schema.Union([Schema.Literals(["all", "active", "deprecated"]), Schema.Null])),
|
|
1763
|
+
visibility: Schema.optionalKey(Schema.Union([Schema.Literals(["all", "public", "private"]), Schema.Null])),
|
|
1571
1764
|
});
|
|
1572
1765
|
export const SearchSearchExtensions200 = SearchResponse;
|
|
1573
|
-
export const SearchSearchExtensions400 = DecodeErrorResponse;
|
|
1766
|
+
export const SearchSearchExtensions400 = Schema.Union([ProblemDetails, DecodeErrorResponse]);
|
|
1574
1767
|
export const make = (httpClient, options = {}) => {
|
|
1575
1768
|
const unexpectedStatus = (response) => Effect.flatMap(Effect.orElseSucceed(response.json, () => "Unexpected status code"), (description) => Effect.fail(new HttpClientError.HttpClientError({
|
|
1576
1769
|
reason: new HttpClientError.StatusCodeError({
|
|
@@ -1647,6 +1840,11 @@ export const make = (httpClient, options = {}) => {
|
|
|
1647
1840
|
"204": () => Effect.void,
|
|
1648
1841
|
orElse: unexpectedStatus,
|
|
1649
1842
|
}))),
|
|
1843
|
+
AuthCreatePublishAuthorizationRequest: (options) => HttpClientRequest.post(`/v1/auth/publish-requests`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
1844
|
+
"2xx": decodeSuccess(AuthCreatePublishAuthorizationRequest201),
|
|
1845
|
+
"400": decodeError("AuthCreatePublishAuthorizationRequest400", AuthCreatePublishAuthorizationRequest400),
|
|
1846
|
+
orElse: unexpectedStatus,
|
|
1847
|
+
}))),
|
|
1650
1848
|
TokensList: (options) => HttpClientRequest.get(`/v1/tokens`).pipe(HttpClientRequest.setUrlParams({
|
|
1651
1849
|
cursor: options?.params?.["cursor"],
|
|
1652
1850
|
limit: options?.params?.["limit"],
|
|
@@ -1774,6 +1972,15 @@ export const make = (httpClient, options = {}) => {
|
|
|
1774
1972
|
"304": () => Effect.void,
|
|
1775
1973
|
orElse: unexpectedStatus,
|
|
1776
1974
|
}))),
|
|
1975
|
+
ExtensionsDeleteExtension: (owner, type, name, options) => HttpClientRequest.delete(`/v1/extensions/${owner}/${type}/${name}`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
1976
|
+
"2xx": decodeSuccess(ExtensionsDeleteExtension202),
|
|
1977
|
+
"400": decodeError("ExtensionsDeleteExtension400", ExtensionsDeleteExtension400),
|
|
1978
|
+
"401": decodeError("ExtensionsDeleteExtension401", ExtensionsDeleteExtension401),
|
|
1979
|
+
"403": decodeError("ExtensionsDeleteExtension403", ExtensionsDeleteExtension403),
|
|
1980
|
+
"404": decodeError("ExtensionsDeleteExtension404", ExtensionsDeleteExtension404),
|
|
1981
|
+
"409": decodeError("ExtensionsDeleteExtension409", ExtensionsDeleteExtension409),
|
|
1982
|
+
orElse: unexpectedStatus,
|
|
1983
|
+
}))),
|
|
1777
1984
|
ExtensionsHead: (owner, type, name, options) => HttpClientRequest.head(`/v1/extensions/${owner}/${type}/${name}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
1778
1985
|
"200": () => Effect.void,
|
|
1779
1986
|
"400": decodeVoidError("400"),
|
|
@@ -1787,16 +1994,16 @@ export const make = (httpClient, options = {}) => {
|
|
|
1787
1994
|
"401": decodeError("ExtensionsUpdateVisibility401", ExtensionsUpdateVisibility401),
|
|
1788
1995
|
"403": decodeError("ExtensionsUpdateVisibility403", ExtensionsUpdateVisibility403),
|
|
1789
1996
|
"404": decodeError("ExtensionsUpdateVisibility404", ExtensionsUpdateVisibility404),
|
|
1790
|
-
"422": decodeError("ExtensionsUpdateVisibility422", ExtensionsUpdateVisibility422),
|
|
1791
1997
|
orElse: unexpectedStatus,
|
|
1792
1998
|
}))),
|
|
1793
1999
|
ExtensionsGetVersion: (owner, type, name, version, options) => HttpClientRequest.get(`/v1/extensions/${owner}/${type}/${name}/${version}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
1794
2000
|
"2xx": decodeSuccess(ExtensionsGetVersion200),
|
|
1795
2001
|
"400": decodeError("ExtensionsGetVersion400", ExtensionsGetVersion400),
|
|
1796
2002
|
"404": decodeError("ExtensionsGetVersion404", ExtensionsGetVersion404),
|
|
2003
|
+
"410": decodeError("ExtensionsGetVersion410", ExtensionsGetVersion410),
|
|
1797
2004
|
orElse: unexpectedStatus,
|
|
1798
2005
|
}))),
|
|
1799
|
-
ExtensionsPublishVersion: (owner, type, name, version, options) => HttpClientRequest.put(`/v1/extensions/${owner}/${type}/${name}/${version}`).pipe(
|
|
2006
|
+
ExtensionsPublishVersion: (owner, type, name, version, options) => HttpClientRequest.put(`/v1/extensions/${owner}/${type}/${name}/${version}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
1800
2007
|
"2xx": decodeSuccess(ExtensionsPublishVersion201),
|
|
1801
2008
|
"400": decodeError("ExtensionsPublishVersion400", ExtensionsPublishVersion400),
|
|
1802
2009
|
"401": decodeError("ExtensionsPublishVersion401", ExtensionsPublishVersion401),
|
|
@@ -1811,12 +2018,12 @@ export const make = (httpClient, options = {}) => {
|
|
|
1811
2018
|
"503": decodeError("ExtensionsPublishVersion503", ExtensionsPublishVersion503),
|
|
1812
2019
|
orElse: unexpectedStatus,
|
|
1813
2020
|
}))),
|
|
1814
|
-
|
|
1815
|
-
"
|
|
1816
|
-
"
|
|
1817
|
-
"
|
|
1818
|
-
"
|
|
1819
|
-
"
|
|
2021
|
+
ExtensionsGetDeletionOperation: (operationId, options) => HttpClientRequest.get(`/v1/extensions/deletions/${operationId}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
2022
|
+
"2xx": decodeSuccess(ExtensionsGetDeletionOperation200),
|
|
2023
|
+
"400": decodeError("ExtensionsGetDeletionOperation400", ExtensionsGetDeletionOperation400),
|
|
2024
|
+
"401": decodeError("ExtensionsGetDeletionOperation401", ExtensionsGetDeletionOperation401),
|
|
2025
|
+
"403": decodeError("ExtensionsGetDeletionOperation403", ExtensionsGetDeletionOperation403),
|
|
2026
|
+
"404": decodeError("ExtensionsGetDeletionOperation404", ExtensionsGetDeletionOperation404),
|
|
1820
2027
|
orElse: unexpectedStatus,
|
|
1821
2028
|
}))),
|
|
1822
2029
|
ExtensionsDownloadArchive: (owner, type, name, version, options) => HttpClientRequest.get(`/v1/extensions/${owner}/${type}/${name}/${version}/archive`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
@@ -1827,6 +2034,13 @@ export const make = (httpClient, options = {}) => {
|
|
|
1827
2034
|
orElse: unexpectedStatus,
|
|
1828
2035
|
}))),
|
|
1829
2036
|
ExtensionsDownloadArchiveStream: (owner, type, name, version) => HttpClientRequest.get(`/v1/extensions/${owner}/${type}/${name}/${version}/archive`).pipe(binaryRequest),
|
|
2037
|
+
ExtensionsHeadArchive: (owner, type, name, version, options) => HttpClientRequest.head(`/v1/extensions/${owner}/${type}/${name}/${version}/archive`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
2038
|
+
"200": () => Effect.void,
|
|
2039
|
+
"400": decodeVoidError("400"),
|
|
2040
|
+
"404": decodeVoidError("404"),
|
|
2041
|
+
"500": decodeVoidError("500"),
|
|
2042
|
+
orElse: unexpectedStatus,
|
|
2043
|
+
}))),
|
|
1830
2044
|
ExtensionsDeprecate: (owner, type, name, options) => HttpClientRequest.post(`/v1/extensions/${owner}/${type}/${name}/deprecate`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
1831
2045
|
"2xx": decodeSuccess(ExtensionsDeprecate200),
|
|
1832
2046
|
"400": decodeError("ExtensionsDeprecate400", ExtensionsDeprecate400),
|
|
@@ -1843,7 +2057,7 @@ export const make = (httpClient, options = {}) => {
|
|
|
1843
2057
|
"404": decodeError("ExtensionsUndeprecate404", ExtensionsUndeprecate404),
|
|
1844
2058
|
orElse: unexpectedStatus,
|
|
1845
2059
|
}))),
|
|
1846
|
-
ExtensionsYankVersion: (owner, type, name, version, options) => HttpClientRequest.post(`/v1/extensions/${owner}/${type}/${name}/${version}/yank`).pipe(withResponse(options
|
|
2060
|
+
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
2061
|
"2xx": decodeSuccess(ExtensionsYankVersion200),
|
|
1848
2062
|
"400": decodeError("ExtensionsYankVersion400", ExtensionsYankVersion400),
|
|
1849
2063
|
"401": decodeError("ExtensionsYankVersion401", ExtensionsYankVersion401),
|
|
@@ -1859,7 +2073,37 @@ export const make = (httpClient, options = {}) => {
|
|
|
1859
2073
|
"404": decodeError("ExtensionsUnyankVersion404", ExtensionsUnyankVersion404),
|
|
1860
2074
|
orElse: unexpectedStatus,
|
|
1861
2075
|
}))),
|
|
1862
|
-
|
|
2076
|
+
ExtensionsYankAvailableVersions: (owner, type, name, options) => HttpClientRequest.post(`/v1/extensions/${owner}/${type}/${name}/versions/yank`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
2077
|
+
"2xx": decodeSuccess(ExtensionsYankAvailableVersions200),
|
|
2078
|
+
"400": decodeError("ExtensionsYankAvailableVersions400", ExtensionsYankAvailableVersions400),
|
|
2079
|
+
"401": decodeError("ExtensionsYankAvailableVersions401", ExtensionsYankAvailableVersions401),
|
|
2080
|
+
"403": decodeError("ExtensionsYankAvailableVersions403", ExtensionsYankAvailableVersions403),
|
|
2081
|
+
"404": decodeError("ExtensionsYankAvailableVersions404", ExtensionsYankAvailableVersions404),
|
|
2082
|
+
orElse: unexpectedStatus,
|
|
2083
|
+
}))),
|
|
2084
|
+
ExtensionsGetDeletionPreview: (owner, type, name, options) => HttpClientRequest.get(`/v1/extensions/${owner}/${type}/${name}/deletion`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
2085
|
+
"2xx": decodeSuccess(ExtensionsGetDeletionPreview200),
|
|
2086
|
+
"400": decodeError("ExtensionsGetDeletionPreview400", ExtensionsGetDeletionPreview400),
|
|
2087
|
+
"401": decodeError("ExtensionsGetDeletionPreview401", ExtensionsGetDeletionPreview401),
|
|
2088
|
+
"403": decodeError("ExtensionsGetDeletionPreview403", ExtensionsGetDeletionPreview403),
|
|
2089
|
+
"404": decodeError("ExtensionsGetDeletionPreview404", ExtensionsGetDeletionPreview404),
|
|
2090
|
+
orElse: unexpectedStatus,
|
|
2091
|
+
}))),
|
|
2092
|
+
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({
|
|
2093
|
+
"2xx": decodeSuccess(AdminExtensionsPurgeExtensionVersion202),
|
|
2094
|
+
"400": decodeError("AdminExtensionsPurgeExtensionVersion400", AdminExtensionsPurgeExtensionVersion400),
|
|
2095
|
+
"401": decodeError("AdminExtensionsPurgeExtensionVersion401", AdminExtensionsPurgeExtensionVersion401),
|
|
2096
|
+
"403": decodeError("AdminExtensionsPurgeExtensionVersion403", AdminExtensionsPurgeExtensionVersion403),
|
|
2097
|
+
"404": decodeError("AdminExtensionsPurgeExtensionVersion404", AdminExtensionsPurgeExtensionVersion404),
|
|
2098
|
+
"409": decodeError("AdminExtensionsPurgeExtensionVersion409", AdminExtensionsPurgeExtensionVersion409),
|
|
2099
|
+
orElse: unexpectedStatus,
|
|
2100
|
+
}))),
|
|
2101
|
+
LibrariesListLibraries: (owner, options) => HttpClientRequest.get(`/v1/libraries/${owner}`).pipe(HttpClientRequest.setUrlParams({
|
|
2102
|
+
limit: options?.params?.["limit"],
|
|
2103
|
+
offset: options?.params?.["offset"],
|
|
2104
|
+
q: options?.params?.["q"],
|
|
2105
|
+
"filter[visibility]": options?.params?.["filter[visibility]"],
|
|
2106
|
+
}), withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
1863
2107
|
"2xx": decodeSuccess(LibrariesListLibraries200),
|
|
1864
2108
|
"400": decodeError("LibrariesListLibraries400", LibrariesListLibraries400),
|
|
1865
2109
|
"404": decodeError("LibrariesListLibraries404", LibrariesListLibraries404),
|
|
@@ -1900,6 +2144,35 @@ export const make = (httpClient, options = {}) => {
|
|
|
1900
2144
|
"422": decodeError("LibrariesUpdateLibrary422", LibrariesUpdateLibrary422),
|
|
1901
2145
|
orElse: unexpectedStatus,
|
|
1902
2146
|
}))),
|
|
2147
|
+
LibrariesGetLibraryResolution: (owner, name, options) => HttpClientRequest.get(`/v1/libraries/${owner}/${name}/resolution`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
2148
|
+
"2xx": decodeSuccess(LibrariesGetLibraryResolution200),
|
|
2149
|
+
"400": decodeError("LibrariesGetLibraryResolution400", LibrariesGetLibraryResolution400),
|
|
2150
|
+
"404": decodeError("LibrariesGetLibraryResolution404", LibrariesGetLibraryResolution404),
|
|
2151
|
+
"422": decodeError("LibrariesGetLibraryResolution422", LibrariesGetLibraryResolution422),
|
|
2152
|
+
"304": () => Effect.void,
|
|
2153
|
+
orElse: unexpectedStatus,
|
|
2154
|
+
}))),
|
|
2155
|
+
LibrariesListLibraryMembers: (owner, name, options) => HttpClientRequest.get(`/v1/libraries/${owner}/${name}/members`).pipe(HttpClientRequest.setUrlParams({
|
|
2156
|
+
limit: options?.params?.["limit"],
|
|
2157
|
+
offset: options?.params?.["offset"],
|
|
2158
|
+
q: options?.params?.["q"],
|
|
2159
|
+
"filter[type]": options?.params?.["filter[type]"],
|
|
2160
|
+
}), withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
2161
|
+
"2xx": decodeSuccess(LibrariesListLibraryMembers200),
|
|
2162
|
+
"400": decodeError("LibrariesListLibraryMembers400", LibrariesListLibraryMembers400),
|
|
2163
|
+
"404": decodeError("LibrariesListLibraryMembers404", LibrariesListLibraryMembers404),
|
|
2164
|
+
"422": decodeError("LibrariesListLibraryMembers422", LibrariesListLibraryMembers422),
|
|
2165
|
+
orElse: unexpectedStatus,
|
|
2166
|
+
}))),
|
|
2167
|
+
LibrariesPatchLibraryMembers: (owner, name, options) => HttpClientRequest.patch(`/v1/libraries/${owner}/${name}/members`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
2168
|
+
"2xx": decodeSuccess(LibrariesPatchLibraryMembers200),
|
|
2169
|
+
"400": decodeError("LibrariesPatchLibraryMembers400", LibrariesPatchLibraryMembers400),
|
|
2170
|
+
"401": decodeError("LibrariesPatchLibraryMembers401", LibrariesPatchLibraryMembers401),
|
|
2171
|
+
"403": decodeError("LibrariesPatchLibraryMembers403", LibrariesPatchLibraryMembers403),
|
|
2172
|
+
"404": decodeError("LibrariesPatchLibraryMembers404", LibrariesPatchLibraryMembers404),
|
|
2173
|
+
"422": decodeError("LibrariesPatchLibraryMembers422", LibrariesPatchLibraryMembers422),
|
|
2174
|
+
orElse: unexpectedStatus,
|
|
2175
|
+
}))),
|
|
1903
2176
|
LibrariesSetLibraryVisibility: (owner, name, options) => HttpClientRequest.patch(`/v1/libraries/${owner}/${name}/visibility`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
1904
2177
|
"2xx": decodeSuccess(LibrariesSetLibraryVisibility200),
|
|
1905
2178
|
"400": decodeError("LibrariesSetLibraryVisibility400", LibrariesSetLibraryVisibility400),
|
|
@@ -1946,90 +2219,6 @@ export const make = (httpClient, options = {}) => {
|
|
|
1946
2219
|
"204": () => Effect.void,
|
|
1947
2220
|
orElse: unexpectedStatus,
|
|
1948
2221
|
}))),
|
|
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
2222
|
MaintainerGetMaintainer: (owner, type, name, options) => HttpClientRequest.get(`/v1/extensions/${owner}/${type}/${name}/maintainer`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
2034
2223
|
"2xx": decodeSuccess(MaintainerGetMaintainer200),
|
|
2035
2224
|
"400": decodeError("MaintainerGetMaintainer400", MaintainerGetMaintainer400),
|
|
@@ -2088,6 +2277,13 @@ export const make = (httpClient, options = {}) => {
|
|
|
2088
2277
|
q: options.params["q"],
|
|
2089
2278
|
cursor: options.params["cursor"],
|
|
2090
2279
|
limit: options.params["limit"],
|
|
2280
|
+
type: options.params["type"],
|
|
2281
|
+
sort: options.params["sort"],
|
|
2282
|
+
owner: options.params["owner"],
|
|
2283
|
+
package: options.params["package"],
|
|
2284
|
+
license: options.params["license"],
|
|
2285
|
+
lifecycle: options.params["lifecycle"],
|
|
2286
|
+
visibility: options.params["visibility"],
|
|
2091
2287
|
}), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
2092
2288
|
"2xx": decodeSuccess(SearchSearchExtensions200),
|
|
2093
2289
|
"400": decodeError("SearchSearchExtensions400", SearchSearchExtensions400),
|