@agentxm/client-core 0.17.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/unstable/agent-capabilities/catalog.d.ts +54 -10
- package/dist/src/unstable/agent-capabilities/catalog.d.ts.map +1 -1
- package/dist/src/unstable/agent-capabilities/data/agents/hermes.d.ts +27 -5
- package/dist/src/unstable/agent-capabilities/data/agents/hermes.d.ts.map +1 -1
- package/dist/src/unstable/agent-capabilities/data/agents/hermes.js +17 -5
- package/dist/src/unstable/agent-capabilities/data/agents/hermes.js.map +1 -1
- package/dist/src/unstable/agent-capabilities/schema.d.ts +19 -19
- package/dist/src/unstable/agent-capabilities/schema.d.ts.map +1 -1
- package/dist/src/unstable/agent-capabilities/schema.js +2 -1
- package/dist/src/unstable/agent-capabilities/schema.js.map +1 -1
- package/dist/src/unstable/agents/mcp-sync.d.ts.map +1 -1
- package/dist/src/unstable/agents/mcp-sync.js +19 -3
- package/dist/src/unstable/agents/mcp-sync.js.map +1 -1
- package/dist/src/unstable/cli-runtime/command-summary.d.ts +1 -1
- package/dist/src/unstable/cli-runtime/command-summary.d.ts.map +1 -1
- package/dist/src/unstable/cli-runtime/command-summary.js.map +1 -1
- package/dist/src/unstable/extensions/configured-entry.d.ts +11 -0
- package/dist/src/unstable/extensions/configured-entry.d.ts.map +1 -0
- package/dist/src/unstable/extensions/configured-entry.js +8 -0
- package/dist/src/unstable/extensions/configured-entry.js.map +1 -0
- package/dist/src/unstable/extensions/index.d.ts +1 -0
- package/dist/src/unstable/extensions/index.d.ts.map +1 -1
- package/dist/src/unstable/extensions/index.js +1 -0
- package/dist/src/unstable/extensions/index.js.map +1 -1
- package/dist/src/unstable/extensions/materializable-from-disk.d.ts.map +1 -1
- package/dist/src/unstable/extensions/materializable-from-disk.js +5 -4
- package/dist/src/unstable/extensions/materializable-from-disk.js.map +1 -1
- package/dist/src/unstable/files/manager.d.ts.map +1 -1
- package/dist/src/unstable/files/manager.js +2 -2
- package/dist/src/unstable/files/manager.js.map +1 -1
- package/dist/src/unstable/hooks/manager.d.ts.map +1 -1
- package/dist/src/unstable/hooks/manager.js +2 -2
- package/dist/src/unstable/hooks/manager.js.map +1 -1
- package/dist/src/unstable/libraries/index.d.ts +3 -0
- package/dist/src/unstable/libraries/index.d.ts.map +1 -0
- package/dist/src/unstable/libraries/index.js +2 -0
- package/dist/src/unstable/libraries/index.js.map +1 -0
- package/dist/src/unstable/libraries/ref.d.ts +17 -0
- package/dist/src/unstable/libraries/ref.d.ts.map +1 -0
- package/dist/src/unstable/libraries/ref.js +43 -0
- package/dist/src/unstable/libraries/ref.js.map +1 -0
- package/dist/src/unstable/lint/catalog/mcp-server/manifest-keys-recognized.js +2 -2
- package/dist/src/unstable/lint/catalog/mcp-server/manifest-keys-recognized.js.map +1 -1
- package/dist/src/unstable/lint/catalog/mcp-server/manifest-present.js +3 -3
- package/dist/src/unstable/lint/catalog/mcp-server/manifest-present.js.map +1 -1
- package/dist/src/unstable/lint/catalog/mcp-server/manifest-schema-valid.js +2 -2
- package/dist/src/unstable/lint/catalog/mcp-server/manifest-schema-valid.js.map +1 -1
- package/dist/src/unstable/lint/catalog/shared/manifest-json.js +1 -1
- package/dist/src/unstable/lint/catalog/shared/manifest-json.js.map +1 -1
- package/dist/src/unstable/lint/catalog/shared/schema-rule.js +1 -1
- package/dist/src/unstable/lint/catalog/shared/schema-rule.js.map +1 -1
- package/dist/src/unstable/lockfile/index.d.ts +3 -3
- package/dist/src/unstable/lockfile/index.d.ts.map +1 -1
- package/dist/src/unstable/lockfile/index.js +2 -2
- package/dist/src/unstable/lockfile/index.js.map +1 -1
- package/dist/src/unstable/lockfile/lockfile.d.ts +936 -3
- package/dist/src/unstable/lockfile/lockfile.d.ts.map +1 -1
- package/dist/src/unstable/lockfile/lockfile.js +223 -31
- package/dist/src/unstable/lockfile/lockfile.js.map +1 -1
- package/dist/src/unstable/lockfile/schema.d.ts +96 -0
- package/dist/src/unstable/lockfile/schema.d.ts.map +1 -1
- package/dist/src/unstable/lockfile/schema.js +54 -0
- package/dist/src/unstable/lockfile/schema.js.map +1 -1
- package/dist/src/unstable/mcps/config-writer.d.ts.map +1 -1
- package/dist/src/unstable/mcps/config-writer.js +77 -29
- package/dist/src/unstable/mcps/config-writer.js.map +1 -1
- package/dist/src/unstable/mcps/inspection.d.ts.map +1 -1
- package/dist/src/unstable/mcps/inspection.js +24 -4
- package/dist/src/unstable/mcps/inspection.js.map +1 -1
- package/dist/src/unstable/mcps/manifest-schema.d.ts +3 -3
- package/dist/src/unstable/mcps/manifest-schema.d.ts.map +1 -1
- package/dist/src/unstable/mcps/manifest-schema.js +4 -4
- package/dist/src/unstable/mcps/manifest-schema.js.map +1 -1
- package/dist/src/unstable/mcps/operations/publish.d.ts +1 -1
- package/dist/src/unstable/mcps/operations/publish.js +1 -1
- package/dist/src/unstable/packs/dependency-resolution.d.ts +3 -1
- package/dist/src/unstable/packs/dependency-resolution.d.ts.map +1 -1
- package/dist/src/unstable/packs/dependency-resolution.js +11 -10
- package/dist/src/unstable/packs/dependency-resolution.js.map +1 -1
- package/dist/src/unstable/packs/expansion.d.ts +3 -0
- package/dist/src/unstable/packs/expansion.d.ts.map +1 -1
- package/dist/src/unstable/packs/expansion.js +2 -2
- package/dist/src/unstable/packs/expansion.js.map +1 -1
- package/dist/src/unstable/registry/__generated__/registry-client.d.ts +1592 -146
- package/dist/src/unstable/registry/__generated__/registry-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/__generated__/registry-client.js +246 -0
- package/dist/src/unstable/registry/__generated__/registry-client.js.map +1 -1
- package/dist/src/unstable/registry/admin-client.d.ts +2 -2
- package/dist/src/unstable/registry/client.d.ts +52 -0
- package/dist/src/unstable/registry/client.d.ts.map +1 -1
- package/dist/src/unstable/registry/client.js.map +1 -1
- package/dist/src/unstable/registry/index.d.ts +1 -1
- package/dist/src/unstable/registry/index.d.ts.map +1 -1
- package/dist/src/unstable/registry/index.js.map +1 -1
- package/dist/src/unstable/registry/local-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/local-client.js +1 -0
- package/dist/src/unstable/registry/local-client.js.map +1 -1
- package/dist/src/unstable/registry/remote-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/remote-client.js +59 -0
- package/dist/src/unstable/registry/remote-client.js.map +1 -1
- package/dist/src/unstable/rules/manager.d.ts.map +1 -1
- package/dist/src/unstable/rules/manager.js +2 -2
- package/dist/src/unstable/rules/manager.js.map +1 -1
- package/dist/src/unstable/settings/index.d.ts +2 -2
- package/dist/src/unstable/settings/index.d.ts.map +1 -1
- package/dist/src/unstable/settings/index.js +1 -1
- package/dist/src/unstable/settings/index.js.map +1 -1
- package/dist/src/unstable/settings/schema.d.ts +52 -0
- package/dist/src/unstable/settings/schema.d.ts.map +1 -1
- package/dist/src/unstable/settings/schema.js +71 -1
- package/dist/src/unstable/settings/schema.js.map +1 -1
- package/dist/src/unstable/workspace/initialization.d.ts +28 -0
- package/dist/src/unstable/workspace/initialization.d.ts.map +1 -1
- package/dist/src/unstable/workspace/service-interface.d.ts +25 -2
- package/dist/src/unstable/workspace/service-interface.d.ts.map +1 -1
- package/dist/src/unstable/workspace/service-interface.js.map +1 -1
- package/dist/src/unstable/workspace/service.d.ts +83 -6
- package/dist/src/unstable/workspace/service.d.ts.map +1 -1
- package/dist/src/unstable/workspace/service.js +134 -50
- package/dist/src/unstable/workspace/service.js.map +1 -1
- package/dist/src/unstable/workspace/test-stubs.d.ts +2 -0
- package/dist/src/unstable/workspace/test-stubs.d.ts.map +1 -1
- package/dist/src/unstable/workspace/test-stubs.js +10 -0
- package/dist/src/unstable/workspace/test-stubs.js.map +1 -1
- package/dist/src/unstable/workspace/version-currency/collectors.d.ts.map +1 -1
- package/dist/src/unstable/workspace/version-currency/collectors.js +2 -3
- package/dist/src/unstable/workspace/version-currency/collectors.js.map +1 -1
- package/dist/src/unstable/workspace/version-currency/test-stubs.d.ts.map +1 -1
- package/dist/src/unstable/workspace/version-currency/test-stubs.js +1 -0
- package/dist/src/unstable/workspace/version-currency/test-stubs.js.map +1 -1
- package/dist/src/unstable/yaml/index.d.ts +13 -0
- package/dist/src/unstable/yaml/index.d.ts.map +1 -0
- package/dist/src/unstable/yaml/index.js +73 -0
- package/dist/src/unstable/yaml/index.js.map +1 -0
- package/package.json +12 -4
- package/site-content/__generated__/schemas/axm-lock.schema.json +77 -0
- package/site-content/__generated__/schemas/{mcp-server.schema.json → mcp.schema.json} +1 -1
- package/site-content/__generated__/schemas/settings.schema.json +61 -8
|
@@ -442,6 +442,28 @@ export const PublishIdentityMismatchEntry = Schema.Struct({
|
|
|
442
442
|
title: "Identity Mismatch Entry",
|
|
443
443
|
description: "Single divergent identity field between URL-path and archive.",
|
|
444
444
|
});
|
|
445
|
+
export const LibraryId = Schema.String.check(Schema.isPattern(new RegExp("^lib_[0-7][0-9a-hjkmnp-tv-z]{25}$"), {
|
|
446
|
+
title: "Library ID",
|
|
447
|
+
description: "Identifies a workspace-owned installable collection of extension identities in the registry.",
|
|
448
|
+
examples: ["lib_01h455vb4pexka56gq5w2r7cpc"],
|
|
449
|
+
}));
|
|
450
|
+
export const LibraryName = Schema.String.annotate({
|
|
451
|
+
title: "Library Name",
|
|
452
|
+
description: "Canonical Library name within an owner namespace. Uses the same normalized slug grammar as handles.",
|
|
453
|
+
examples: ["frontend", "team-tools"],
|
|
454
|
+
});
|
|
455
|
+
export const LibraryVisibility = Schema.Literals(["public", "internal", "private"]).annotate({
|
|
456
|
+
title: "Library Visibility",
|
|
457
|
+
});
|
|
458
|
+
export const LibraryMemberId = Schema.String.check(Schema.isPattern(new RegExp("^lmem_[0-7][0-9a-hjkmnp-tv-z]{25}$"), {
|
|
459
|
+
title: "Library Member ID",
|
|
460
|
+
description: "Identifies an extension identity membership inside an installable registry library.",
|
|
461
|
+
examples: ["lmem_01h455vb4pexka56gq5w2r7cpc"],
|
|
462
|
+
}));
|
|
463
|
+
export const UpdateLibraryBody = Schema.Struct({
|
|
464
|
+
title: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
465
|
+
description: Schema.optionalKey(Schema.Union([Schema.Union([Schema.String, Schema.Null]), Schema.Null])),
|
|
466
|
+
}).annotate({ title: "Update Library Body" });
|
|
445
467
|
export const PutCollaboratorBody = Schema.Struct({
|
|
446
468
|
role: Schema.Literals(["write", "read"]).annotate({
|
|
447
469
|
title: "Collaborator Role",
|
|
@@ -567,6 +589,7 @@ export const ForbiddenError = Schema.Struct({
|
|
|
567
589
|
"add_team_member_not_authorized",
|
|
568
590
|
"remove_team_member_not_authorized",
|
|
569
591
|
"change_team_member_role_not_authorized",
|
|
592
|
+
"library_mutation_not_authorized",
|
|
570
593
|
"team_extension_grant_delete_not_authorized",
|
|
571
594
|
"team_extension_grant_not_authorized",
|
|
572
595
|
"publish/quota-exceeded",
|
|
@@ -599,6 +622,38 @@ export const CreateTokenRequest = Schema.Struct({
|
|
|
599
622
|
title: "Create Token Request",
|
|
600
623
|
description: "Request body for creating a new personal access token.",
|
|
601
624
|
});
|
|
625
|
+
export const LibraryMaintainer = Schema.Union([
|
|
626
|
+
Schema.Struct({
|
|
627
|
+
kind: Schema.Literal("user"),
|
|
628
|
+
userId: UserId,
|
|
629
|
+
assignedAt: Schema.Union([
|
|
630
|
+
Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
631
|
+
Schema.Null,
|
|
632
|
+
]),
|
|
633
|
+
assignedBy: Schema.Union([UserId, Schema.Null]),
|
|
634
|
+
}),
|
|
635
|
+
Schema.Struct({
|
|
636
|
+
kind: Schema.Literal("team"),
|
|
637
|
+
teamId: TeamId,
|
|
638
|
+
assignedAt: Schema.Union([
|
|
639
|
+
Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
640
|
+
Schema.Null,
|
|
641
|
+
]),
|
|
642
|
+
assignedBy: Schema.Union([UserId, Schema.Null]),
|
|
643
|
+
}),
|
|
644
|
+
Schema.Struct({
|
|
645
|
+
kind: Schema.Literal("none"),
|
|
646
|
+
assignedAt: Schema.Union([
|
|
647
|
+
Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
648
|
+
Schema.Null,
|
|
649
|
+
]),
|
|
650
|
+
assignedBy: Schema.Union([UserId, Schema.Null]),
|
|
651
|
+
}),
|
|
652
|
+
]).annotate({ title: "Library Maintainer" });
|
|
653
|
+
export const LibraryMaintainerTarget = Schema.Union([
|
|
654
|
+
Schema.Struct({ kind: Schema.Literal("user"), userId: UserId }),
|
|
655
|
+
Schema.Struct({ kind: Schema.Literal("team"), teamId: TeamId }),
|
|
656
|
+
]).annotate({ title: "Library Maintainer Target" });
|
|
602
657
|
export const ExtensionGrantEntry = Schema.Struct({
|
|
603
658
|
subject: Schema.Union([
|
|
604
659
|
Schema.Struct({ kind: Schema.Literal("user"), userId: UserId }),
|
|
@@ -714,6 +769,22 @@ export const PublishLintFinding = Schema.Struct({
|
|
|
714
769
|
title: "Publish Lint Finding",
|
|
715
770
|
description: "One lint finding produced against the publish subject.",
|
|
716
771
|
});
|
|
772
|
+
export const CreateLibraryBody = Schema.Struct({
|
|
773
|
+
name: LibraryName,
|
|
774
|
+
title: Schema.String,
|
|
775
|
+
description: Schema.optionalKey(Schema.Union([Schema.Union([Schema.String, Schema.Null]), Schema.Null])),
|
|
776
|
+
visibility: Schema.optionalKey(Schema.Union([LibraryVisibility, Schema.Null])),
|
|
777
|
+
}).annotate({ title: "Create Library Body" });
|
|
778
|
+
export const PatchLibraryVisibilityBody = Schema.Struct({ visibility: LibraryVisibility }).annotate({ title: "Patch Library Visibility Body" });
|
|
779
|
+
export const LibraryMember = Schema.Struct({
|
|
780
|
+
id: LibraryMemberId,
|
|
781
|
+
libraryId: LibraryId,
|
|
782
|
+
extensionId: Schema.String,
|
|
783
|
+
extensionOwner: Handle,
|
|
784
|
+
extensionType: ExtensionType,
|
|
785
|
+
extensionName: ExtensionName,
|
|
786
|
+
addedAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
787
|
+
}).annotate({ title: "Library Member" });
|
|
717
788
|
export const AuthMeResponse = Schema.Struct({
|
|
718
789
|
user: AuthMeUser,
|
|
719
790
|
orgs: Schema.Array(Schema.Never).annotate({
|
|
@@ -736,6 +807,28 @@ export const TokenListResponse = Schema.Struct({
|
|
|
736
807
|
Schema.Null,
|
|
737
808
|
]),
|
|
738
809
|
}).annotate({ title: "Token List Response", description: "A page of your access tokens." });
|
|
810
|
+
export const Library = Schema.Struct({
|
|
811
|
+
id: LibraryId,
|
|
812
|
+
owner: Handle,
|
|
813
|
+
name: LibraryName,
|
|
814
|
+
title: Schema.String,
|
|
815
|
+
description: Schema.Union([Schema.String, Schema.Null]),
|
|
816
|
+
visibility: LibraryVisibility,
|
|
817
|
+
maintainer: LibraryMaintainer,
|
|
818
|
+
createdAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
819
|
+
updatedAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
820
|
+
}).annotate({ title: "Library" });
|
|
821
|
+
export const CreatedLibrary = Schema.Struct({
|
|
822
|
+
id: LibraryId,
|
|
823
|
+
owner: Handle,
|
|
824
|
+
name: LibraryName,
|
|
825
|
+
title: Schema.String,
|
|
826
|
+
description: Schema.Union([Schema.String, Schema.Null]),
|
|
827
|
+
visibility: LibraryVisibility,
|
|
828
|
+
maintainer: LibraryMaintainer,
|
|
829
|
+
createdAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
830
|
+
updatedAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
831
|
+
}).annotate({ title: "Created Library" });
|
|
739
832
|
export const ExtensionGrantsResponse = Schema.Struct({
|
|
740
833
|
grants: Schema.Array(ExtensionGrantEntry),
|
|
741
834
|
}).annotate({ title: "Extension Grants Response" });
|
|
@@ -787,6 +880,13 @@ export const ExtensionLintFailedError = Schema.Struct({
|
|
|
787
880
|
displayRoot: Schema.String,
|
|
788
881
|
findings: Schema.Array(PublishLintFinding),
|
|
789
882
|
});
|
|
883
|
+
export const LibraryDetail = Schema.Struct({
|
|
884
|
+
library: Library,
|
|
885
|
+
members: Schema.Array(LibraryMember),
|
|
886
|
+
hiddenMemberCount: Schema.Number.check(Schema.isInt())
|
|
887
|
+
.check(Schema.isFinite())
|
|
888
|
+
.check(Schema.isGreaterThanOrEqualTo(0)),
|
|
889
|
+
}).annotate({ title: "Library Detail" });
|
|
790
890
|
export const MetaGet200 = MetaResponse;
|
|
791
891
|
export const MetaGet400 = DecodeErrorResponse;
|
|
792
892
|
export const AuthIssueDeviceCodeRequestFormUrlEncoded = Schema.Struct({
|
|
@@ -1177,6 +1277,65 @@ export const ExtensionsUnyankVersion400 = DecodeErrorResponse;
|
|
|
1177
1277
|
export const ExtensionsUnyankVersion401 = Schema.Union([StepUpRequiredError, ProblemDetails]);
|
|
1178
1278
|
export const ExtensionsUnyankVersion403 = ForbiddenError;
|
|
1179
1279
|
export const ExtensionsUnyankVersion404 = ProblemDetails;
|
|
1280
|
+
export const LibrariesListLibraries200 = Schema.Struct({ libraries: Schema.Array(Library) });
|
|
1281
|
+
export const LibrariesListLibraries400 = DecodeErrorResponse;
|
|
1282
|
+
export const LibrariesListLibraries404 = ProblemDetails;
|
|
1283
|
+
export const LibrariesCreateLibraryRequestJson = CreateLibraryBody;
|
|
1284
|
+
export const LibrariesCreateLibrary201 = CreatedLibrary;
|
|
1285
|
+
export const LibrariesCreateLibrary400 = Schema.Union([ProblemDetails, DecodeErrorResponse]);
|
|
1286
|
+
export const LibrariesCreateLibrary401 = ProblemDetails;
|
|
1287
|
+
export const LibrariesCreateLibrary403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1288
|
+
export const LibrariesCreateLibrary404 = ProblemDetails;
|
|
1289
|
+
export const LibrariesCreateLibrary409 = ProblemDetails;
|
|
1290
|
+
export const LibrariesCreateLibrary422 = ProblemDetails;
|
|
1291
|
+
export const LibrariesGetLibrary200 = LibraryDetail;
|
|
1292
|
+
export const LibrariesGetLibrary400 = DecodeErrorResponse;
|
|
1293
|
+
export const LibrariesGetLibrary404 = ProblemDetails;
|
|
1294
|
+
export const LibrariesGetLibrary422 = ProblemDetails;
|
|
1295
|
+
export const LibrariesDeleteLibrary400 = DecodeErrorResponse;
|
|
1296
|
+
export const LibrariesDeleteLibrary401 = ProblemDetails;
|
|
1297
|
+
export const LibrariesDeleteLibrary403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1298
|
+
export const LibrariesDeleteLibrary404 = ProblemDetails;
|
|
1299
|
+
export const LibrariesDeleteLibrary422 = ProblemDetails;
|
|
1300
|
+
export const LibrariesUpdateLibraryRequestJson = UpdateLibraryBody;
|
|
1301
|
+
export const LibrariesUpdateLibrary200 = Library;
|
|
1302
|
+
export const LibrariesUpdateLibrary400 = Schema.Union([ProblemDetails, DecodeErrorResponse]);
|
|
1303
|
+
export const LibrariesUpdateLibrary401 = ProblemDetails;
|
|
1304
|
+
export const LibrariesUpdateLibrary403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1305
|
+
export const LibrariesUpdateLibrary404 = ProblemDetails;
|
|
1306
|
+
export const LibrariesUpdateLibrary422 = ProblemDetails;
|
|
1307
|
+
export const LibrariesSetLibraryVisibilityRequestJson = PatchLibraryVisibilityBody;
|
|
1308
|
+
export const LibrariesSetLibraryVisibility200 = Library;
|
|
1309
|
+
export const LibrariesSetLibraryVisibility400 = DecodeErrorResponse;
|
|
1310
|
+
export const LibrariesSetLibraryVisibility401 = ProblemDetails;
|
|
1311
|
+
export const LibrariesSetLibraryVisibility403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1312
|
+
export const LibrariesSetLibraryVisibility404 = ProblemDetails;
|
|
1313
|
+
export const LibrariesSetLibraryVisibility422 = ProblemDetails;
|
|
1314
|
+
export const LibrariesSetLibraryMaintainerRequestJson = LibraryMaintainerTarget;
|
|
1315
|
+
export const LibrariesSetLibraryMaintainer200 = LibraryMaintainer;
|
|
1316
|
+
export const LibrariesSetLibraryMaintainer400 = DecodeErrorResponse;
|
|
1317
|
+
export const LibrariesSetLibraryMaintainer401 = ProblemDetails;
|
|
1318
|
+
export const LibrariesSetLibraryMaintainer403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1319
|
+
export const LibrariesSetLibraryMaintainer404 = ProblemDetails;
|
|
1320
|
+
export const LibrariesSetLibraryMaintainer422 = ProblemDetails;
|
|
1321
|
+
export const LibrariesClearLibraryMaintainer200 = LibraryMaintainer;
|
|
1322
|
+
export const LibrariesClearLibraryMaintainer400 = DecodeErrorResponse;
|
|
1323
|
+
export const LibrariesClearLibraryMaintainer401 = ProblemDetails;
|
|
1324
|
+
export const LibrariesClearLibraryMaintainer403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1325
|
+
export const LibrariesClearLibraryMaintainer404 = ProblemDetails;
|
|
1326
|
+
export const LibrariesClearLibraryMaintainer422 = ProblemDetails;
|
|
1327
|
+
export const LibrariesAddLibraryMember200 = LibraryMember;
|
|
1328
|
+
export const LibrariesAddLibraryMember400 = DecodeErrorResponse;
|
|
1329
|
+
export const LibrariesAddLibraryMember401 = ProblemDetails;
|
|
1330
|
+
export const LibrariesAddLibraryMember403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1331
|
+
export const LibrariesAddLibraryMember404 = ProblemDetails;
|
|
1332
|
+
export const LibrariesAddLibraryMember409 = ProblemDetails;
|
|
1333
|
+
export const LibrariesAddLibraryMember422 = ProblemDetails;
|
|
1334
|
+
export const LibrariesRemoveLibraryMember400 = DecodeErrorResponse;
|
|
1335
|
+
export const LibrariesRemoveLibraryMember401 = ProblemDetails;
|
|
1336
|
+
export const LibrariesRemoveLibraryMember403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1337
|
+
export const LibrariesRemoveLibraryMember404 = ProblemDetails;
|
|
1338
|
+
export const LibrariesRemoveLibraryMember422 = ProblemDetails;
|
|
1180
1339
|
export const CollaboratorsListCollaborators200 = Schema.Struct({
|
|
1181
1340
|
collaborators: Schema.Array(Schema.Struct({
|
|
1182
1341
|
userId: UserId,
|
|
@@ -1700,6 +1859,93 @@ export const make = (httpClient, options = {}) => {
|
|
|
1700
1859
|
"404": decodeError("ExtensionsUnyankVersion404", ExtensionsUnyankVersion404),
|
|
1701
1860
|
orElse: unexpectedStatus,
|
|
1702
1861
|
}))),
|
|
1862
|
+
LibrariesListLibraries: (owner, options) => HttpClientRequest.get(`/v1/libraries/${owner}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
1863
|
+
"2xx": decodeSuccess(LibrariesListLibraries200),
|
|
1864
|
+
"400": decodeError("LibrariesListLibraries400", LibrariesListLibraries400),
|
|
1865
|
+
"404": decodeError("LibrariesListLibraries404", LibrariesListLibraries404),
|
|
1866
|
+
orElse: unexpectedStatus,
|
|
1867
|
+
}))),
|
|
1868
|
+
LibrariesCreateLibrary: (owner, options) => HttpClientRequest.post(`/v1/libraries/${owner}`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
1869
|
+
"2xx": decodeSuccess(LibrariesCreateLibrary201),
|
|
1870
|
+
"400": decodeError("LibrariesCreateLibrary400", LibrariesCreateLibrary400),
|
|
1871
|
+
"401": decodeError("LibrariesCreateLibrary401", LibrariesCreateLibrary401),
|
|
1872
|
+
"403": decodeError("LibrariesCreateLibrary403", LibrariesCreateLibrary403),
|
|
1873
|
+
"404": decodeError("LibrariesCreateLibrary404", LibrariesCreateLibrary404),
|
|
1874
|
+
"409": decodeError("LibrariesCreateLibrary409", LibrariesCreateLibrary409),
|
|
1875
|
+
"422": decodeError("LibrariesCreateLibrary422", LibrariesCreateLibrary422),
|
|
1876
|
+
orElse: unexpectedStatus,
|
|
1877
|
+
}))),
|
|
1878
|
+
LibrariesGetLibrary: (owner, name, options) => HttpClientRequest.get(`/v1/libraries/${owner}/${name}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
1879
|
+
"2xx": decodeSuccess(LibrariesGetLibrary200),
|
|
1880
|
+
"400": decodeError("LibrariesGetLibrary400", LibrariesGetLibrary400),
|
|
1881
|
+
"404": decodeError("LibrariesGetLibrary404", LibrariesGetLibrary404),
|
|
1882
|
+
"422": decodeError("LibrariesGetLibrary422", LibrariesGetLibrary422),
|
|
1883
|
+
orElse: unexpectedStatus,
|
|
1884
|
+
}))),
|
|
1885
|
+
LibrariesDeleteLibrary: (owner, name, options) => HttpClientRequest.delete(`/v1/libraries/${owner}/${name}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
1886
|
+
"400": decodeError("LibrariesDeleteLibrary400", LibrariesDeleteLibrary400),
|
|
1887
|
+
"401": decodeError("LibrariesDeleteLibrary401", LibrariesDeleteLibrary401),
|
|
1888
|
+
"403": decodeError("LibrariesDeleteLibrary403", LibrariesDeleteLibrary403),
|
|
1889
|
+
"404": decodeError("LibrariesDeleteLibrary404", LibrariesDeleteLibrary404),
|
|
1890
|
+
"422": decodeError("LibrariesDeleteLibrary422", LibrariesDeleteLibrary422),
|
|
1891
|
+
"204": () => Effect.void,
|
|
1892
|
+
orElse: unexpectedStatus,
|
|
1893
|
+
}))),
|
|
1894
|
+
LibrariesUpdateLibrary: (owner, name, options) => HttpClientRequest.patch(`/v1/libraries/${owner}/${name}`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
1895
|
+
"2xx": decodeSuccess(LibrariesUpdateLibrary200),
|
|
1896
|
+
"400": decodeError("LibrariesUpdateLibrary400", LibrariesUpdateLibrary400),
|
|
1897
|
+
"401": decodeError("LibrariesUpdateLibrary401", LibrariesUpdateLibrary401),
|
|
1898
|
+
"403": decodeError("LibrariesUpdateLibrary403", LibrariesUpdateLibrary403),
|
|
1899
|
+
"404": decodeError("LibrariesUpdateLibrary404", LibrariesUpdateLibrary404),
|
|
1900
|
+
"422": decodeError("LibrariesUpdateLibrary422", LibrariesUpdateLibrary422),
|
|
1901
|
+
orElse: unexpectedStatus,
|
|
1902
|
+
}))),
|
|
1903
|
+
LibrariesSetLibraryVisibility: (owner, name, options) => HttpClientRequest.patch(`/v1/libraries/${owner}/${name}/visibility`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
1904
|
+
"2xx": decodeSuccess(LibrariesSetLibraryVisibility200),
|
|
1905
|
+
"400": decodeError("LibrariesSetLibraryVisibility400", LibrariesSetLibraryVisibility400),
|
|
1906
|
+
"401": decodeError("LibrariesSetLibraryVisibility401", LibrariesSetLibraryVisibility401),
|
|
1907
|
+
"403": decodeError("LibrariesSetLibraryVisibility403", LibrariesSetLibraryVisibility403),
|
|
1908
|
+
"404": decodeError("LibrariesSetLibraryVisibility404", LibrariesSetLibraryVisibility404),
|
|
1909
|
+
"422": decodeError("LibrariesSetLibraryVisibility422", LibrariesSetLibraryVisibility422),
|
|
1910
|
+
orElse: unexpectedStatus,
|
|
1911
|
+
}))),
|
|
1912
|
+
LibrariesSetLibraryMaintainer: (owner, name, options) => HttpClientRequest.put(`/v1/libraries/${owner}/${name}/maintainer`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
1913
|
+
"2xx": decodeSuccess(LibrariesSetLibraryMaintainer200),
|
|
1914
|
+
"400": decodeError("LibrariesSetLibraryMaintainer400", LibrariesSetLibraryMaintainer400),
|
|
1915
|
+
"401": decodeError("LibrariesSetLibraryMaintainer401", LibrariesSetLibraryMaintainer401),
|
|
1916
|
+
"403": decodeError("LibrariesSetLibraryMaintainer403", LibrariesSetLibraryMaintainer403),
|
|
1917
|
+
"404": decodeError("LibrariesSetLibraryMaintainer404", LibrariesSetLibraryMaintainer404),
|
|
1918
|
+
"422": decodeError("LibrariesSetLibraryMaintainer422", LibrariesSetLibraryMaintainer422),
|
|
1919
|
+
orElse: unexpectedStatus,
|
|
1920
|
+
}))),
|
|
1921
|
+
LibrariesClearLibraryMaintainer: (owner, name, options) => HttpClientRequest.delete(`/v1/libraries/${owner}/${name}/maintainer`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
1922
|
+
"2xx": decodeSuccess(LibrariesClearLibraryMaintainer200),
|
|
1923
|
+
"400": decodeError("LibrariesClearLibraryMaintainer400", LibrariesClearLibraryMaintainer400),
|
|
1924
|
+
"401": decodeError("LibrariesClearLibraryMaintainer401", LibrariesClearLibraryMaintainer401),
|
|
1925
|
+
"403": decodeError("LibrariesClearLibraryMaintainer403", LibrariesClearLibraryMaintainer403),
|
|
1926
|
+
"404": decodeError("LibrariesClearLibraryMaintainer404", LibrariesClearLibraryMaintainer404),
|
|
1927
|
+
"422": decodeError("LibrariesClearLibraryMaintainer422", LibrariesClearLibraryMaintainer422),
|
|
1928
|
+
orElse: unexpectedStatus,
|
|
1929
|
+
}))),
|
|
1930
|
+
LibrariesAddLibraryMember: (owner, name, extensionOwner, extensionType, extensionName, options) => HttpClientRequest.put(`/v1/libraries/${owner}/${name}/members/${extensionOwner}/${extensionType}/${extensionName}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
1931
|
+
"2xx": decodeSuccess(LibrariesAddLibraryMember200),
|
|
1932
|
+
"400": decodeError("LibrariesAddLibraryMember400", LibrariesAddLibraryMember400),
|
|
1933
|
+
"401": decodeError("LibrariesAddLibraryMember401", LibrariesAddLibraryMember401),
|
|
1934
|
+
"403": decodeError("LibrariesAddLibraryMember403", LibrariesAddLibraryMember403),
|
|
1935
|
+
"404": decodeError("LibrariesAddLibraryMember404", LibrariesAddLibraryMember404),
|
|
1936
|
+
"409": decodeError("LibrariesAddLibraryMember409", LibrariesAddLibraryMember409),
|
|
1937
|
+
"422": decodeError("LibrariesAddLibraryMember422", LibrariesAddLibraryMember422),
|
|
1938
|
+
orElse: unexpectedStatus,
|
|
1939
|
+
}))),
|
|
1940
|
+
LibrariesRemoveLibraryMember: (owner, name, extensionOwner, extensionType, extensionName, options) => HttpClientRequest.delete(`/v1/libraries/${owner}/${name}/members/${extensionOwner}/${extensionType}/${extensionName}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
1941
|
+
"400": decodeError("LibrariesRemoveLibraryMember400", LibrariesRemoveLibraryMember400),
|
|
1942
|
+
"401": decodeError("LibrariesRemoveLibraryMember401", LibrariesRemoveLibraryMember401),
|
|
1943
|
+
"403": decodeError("LibrariesRemoveLibraryMember403", LibrariesRemoveLibraryMember403),
|
|
1944
|
+
"404": decodeError("LibrariesRemoveLibraryMember404", LibrariesRemoveLibraryMember404),
|
|
1945
|
+
"422": decodeError("LibrariesRemoveLibraryMember422", LibrariesRemoveLibraryMember422),
|
|
1946
|
+
"204": () => Effect.void,
|
|
1947
|
+
orElse: unexpectedStatus,
|
|
1948
|
+
}))),
|
|
1703
1949
|
CollaboratorsListCollaborators: (owner, type, name, options) => HttpClientRequest.get(`/v1/extensions/${owner}/${type}/${name}/collaborators`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
1704
1950
|
"2xx": decodeSuccess(CollaboratorsListCollaborators200),
|
|
1705
1951
|
"400": decodeError("CollaboratorsListCollaborators400", CollaboratorsListCollaborators400),
|