@agentxm/client-core 0.22.12 → 0.22.13
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/registry/__generated__/registry-client.d.ts +855 -3968
- package/dist/src/unstable/registry/__generated__/registry-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/__generated__/registry-client.js +26 -690
- package/dist/src/unstable/registry/__generated__/registry-client.js.map +1 -1
- package/dist/src/unstable/registry/admin-client.d.ts +0 -34
- package/dist/src/unstable/registry/admin-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/admin-client.js +0 -21
- package/dist/src/unstable/registry/admin-client.js.map +1 -1
- package/dist/src/unstable/registry/index.d.ts +2 -2
- package/dist/src/unstable/registry/index.d.ts.map +1 -1
- package/dist/src/unstable/registry/index.js +1 -1
- package/dist/src/unstable/registry/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -247,7 +247,7 @@ export const CreateTokenPermissionsRequest = Schema.Struct({
|
|
|
247
247
|
})),
|
|
248
248
|
}).annotate({
|
|
249
249
|
title: "Create Token Permissions Request",
|
|
250
|
-
description: "Structured permission request for
|
|
250
|
+
description: "Structured permission request for the token.",
|
|
251
251
|
});
|
|
252
252
|
export const StepUpRequiredError = Schema.Struct({
|
|
253
253
|
kind: Schema.Literal("StepUpRequiredError"),
|
|
@@ -263,55 +263,6 @@ export const StepUpRequiredError = Schema.Struct({
|
|
|
263
263
|
export const OwnerResponse = Schema.Struct({
|
|
264
264
|
displayName: Schema.String.annotate({ description: "Display name for the owner account." }),
|
|
265
265
|
}).annotate({ title: "Owner Response", description: "Minimal owner summary for machine clients." });
|
|
266
|
-
export const CreateTeamBody = Schema.Struct({
|
|
267
|
-
displayName: Schema.String.annotate({ description: "Display name for the team." }),
|
|
268
|
-
description: Schema.optionalKey(Schema.Union([
|
|
269
|
-
Schema.Union([Schema.String, Schema.Null]).annotate({
|
|
270
|
-
description: "Optional description for the team.",
|
|
271
|
-
}),
|
|
272
|
-
Schema.Null,
|
|
273
|
-
])),
|
|
274
|
-
}).annotate({
|
|
275
|
-
title: "Create Team Body",
|
|
276
|
-
description: "Request body for creating a new team under an organization.",
|
|
277
|
-
});
|
|
278
|
-
export const TeamId = Schema.String.check(Schema.isPattern(new RegExp("^team_[0-7][0-9a-hjkmnp-tv-z]{25}$"), {
|
|
279
|
-
title: "Team ID",
|
|
280
|
-
description: "Identifies a team within an organization. Teams group members and receive extension grants that widen access beyond a private extension's owning org.",
|
|
281
|
-
examples: ["team_01h455vb4pexka56gq5w2r7cpc"],
|
|
282
|
-
}));
|
|
283
|
-
export const OrgId = Schema.String.check(Schema.isPattern(new RegExp("^org_[0-7][0-9a-hjkmnp-tv-z]{25}$"), {
|
|
284
|
-
title: "Organization ID",
|
|
285
|
-
description: "Identifies an organization. Organizations own handles and govern team membership and extension publishing permissions.",
|
|
286
|
-
examples: ["org_01h455vb4pexka56gq5w2r7cpc"],
|
|
287
|
-
}));
|
|
288
|
-
export const UserIdRef = Schema.String.check(Schema.isPattern(new RegExp("^user_[0-7][0-9a-hjkmnp-tv-z]{25}$"), {
|
|
289
|
-
title: "User ID",
|
|
290
|
-
description: "Identifies a registered user account. Assigned at sign-up and referenced by tokens, memberships, and audit trails.",
|
|
291
|
-
examples: ["user_01h455vb4pexka56gq5w2r7cpc"],
|
|
292
|
-
readOnly: true,
|
|
293
|
-
}));
|
|
294
|
-
export const UpdateTeamBody = Schema.Struct({
|
|
295
|
-
displayName: Schema.optionalKey(Schema.Union([
|
|
296
|
-
Schema.String.annotate({ description: "New display name for the team." }),
|
|
297
|
-
Schema.Null,
|
|
298
|
-
])),
|
|
299
|
-
description: Schema.optionalKey(Schema.Union([
|
|
300
|
-
Schema.Union([Schema.String, Schema.Null]).annotate({
|
|
301
|
-
description: "New description for the team (null to clear).",
|
|
302
|
-
}),
|
|
303
|
-
Schema.Null,
|
|
304
|
-
])),
|
|
305
|
-
}).annotate({
|
|
306
|
-
title: "Update Team Body",
|
|
307
|
-
description: "Partial update body for a team. At least one of displayName or description must be provided.",
|
|
308
|
-
});
|
|
309
|
-
export const ChangeTeamMemberRoleBody = Schema.Struct({
|
|
310
|
-
role: Schema.Literals(["admin", "member"]).annotate({
|
|
311
|
-
title: "Team Role",
|
|
312
|
-
description: "Role within a team — 'admin' manages membership and grants; 'member' inherits grants.",
|
|
313
|
-
}),
|
|
314
|
-
}).annotate({ title: "Change Team Member Role Body" });
|
|
315
266
|
export const Repository = Schema.Struct({
|
|
316
267
|
url: Schema.String.annotate({
|
|
317
268
|
description: "Canonical repository URL for the extension source.",
|
|
@@ -486,19 +437,12 @@ export const DeleteExtensionBody = Schema.Struct({
|
|
|
486
437
|
title: "Delete Extension Body",
|
|
487
438
|
description: "High-intent confirmation for permanent whole-Extension deletion.",
|
|
488
439
|
});
|
|
489
|
-
export const PurgeExtensionVersionBody = Schema.Struct({
|
|
490
|
-
reason: Schema.Literals(["malware", "exposed_secret", "legal", "privacy", "policy"]),
|
|
491
|
-
confirmSharedDigest: Schema.Boolean,
|
|
492
|
-
}).annotate({
|
|
493
|
-
title: "Purge Extension Version Body",
|
|
494
|
-
description: "Administrative purge reason and explicit acknowledgement of shared-content impact.",
|
|
495
|
-
});
|
|
496
440
|
export const LibraryVisibility = Schema.Literals(["public", "private"]).annotate({
|
|
497
441
|
title: "Library Visibility",
|
|
498
442
|
});
|
|
499
443
|
export const LibraryId = Schema.String.check(Schema.isPattern(new RegExp("^lib_[0-7][0-9a-hjkmnp-tv-z]{25}$"), {
|
|
500
444
|
title: "Library ID",
|
|
501
|
-
description: "Identifies an account-owned
|
|
445
|
+
description: "Identifies an account-owned curated collection of extension identities in the registry.",
|
|
502
446
|
examples: ["lib_01h455vb4pexka56gq5w2r7cpc"],
|
|
503
447
|
}));
|
|
504
448
|
export const LibraryName = Schema.String.annotate({
|
|
@@ -508,13 +452,9 @@ export const LibraryName = Schema.String.annotate({
|
|
|
508
452
|
});
|
|
509
453
|
export const LibraryMemberId = Schema.String.check(Schema.isPattern(new RegExp("^lmem_[0-7][0-9a-hjkmnp-tv-z]{25}$"), {
|
|
510
454
|
title: "Library Member ID",
|
|
511
|
-
description: "Identifies an extension identity membership inside
|
|
455
|
+
description: "Identifies an extension identity membership inside a curated registry library.",
|
|
512
456
|
examples: ["lmem_01h455vb4pexka56gq5w2r7cpc"],
|
|
513
457
|
}));
|
|
514
|
-
export const UpdateLibraryBody = Schema.Struct({
|
|
515
|
-
title: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
516
|
-
description: Schema.optionalKey(Schema.Union([Schema.Union([Schema.String, Schema.Null]), Schema.Null])),
|
|
517
|
-
}).annotate({ title: "Update Library Body" });
|
|
518
458
|
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|knowledge|packs)\\/([a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?)$"), {
|
|
519
459
|
title: "Extension FQN",
|
|
520
460
|
description: "Canonical extension identifier in @owner/<type>s/<name> form.",
|
|
@@ -546,16 +486,6 @@ export const AuthMeUser = Schema.Struct({
|
|
|
546
486
|
Schema.Null,
|
|
547
487
|
]),
|
|
548
488
|
}).annotate({ title: "Authenticated User", description: "Your profile information." });
|
|
549
|
-
export const AddTeamMemberBody = Schema.Struct({
|
|
550
|
-
userId: UserId,
|
|
551
|
-
role: Schema.Literals(["admin", "member"]).annotate({
|
|
552
|
-
title: "Team Role",
|
|
553
|
-
description: "Role within a team — 'admin' manages membership and grants; 'member' inherits grants.",
|
|
554
|
-
}),
|
|
555
|
-
}).annotate({
|
|
556
|
-
title: "Add Team Member Body",
|
|
557
|
-
description: "Request body identifying the user to add to the team and the role to grant.",
|
|
558
|
-
});
|
|
559
489
|
export const AuthMeToken = Schema.Struct({
|
|
560
490
|
id: Schema.String.annotate({
|
|
561
491
|
description: "Opaque identifier of the credential used for this request.",
|
|
@@ -581,11 +511,6 @@ export const AuthMeToken = Schema.Struct({
|
|
|
581
511
|
title: "Token Info",
|
|
582
512
|
description: "Details about the token you used to authenticate.",
|
|
583
513
|
});
|
|
584
|
-
export const LibraryMemberCoordinate = Schema.Struct({
|
|
585
|
-
owner: Handle,
|
|
586
|
-
type: ExtensionType,
|
|
587
|
-
name: ExtensionName,
|
|
588
|
-
}).annotate({ title: "Library Member Coordinate" });
|
|
589
514
|
export const PublishIdentity = Schema.Struct({
|
|
590
515
|
owner: Handle,
|
|
591
516
|
type: ExtensionType,
|
|
@@ -595,16 +520,6 @@ export const PublishIdentity = Schema.Struct({
|
|
|
595
520
|
title: "Publish Identity",
|
|
596
521
|
description: "URL-path identity of the extension version under publish.",
|
|
597
522
|
});
|
|
598
|
-
export const SharedDigestConfirmationRequiredHttpError = Schema.Struct({
|
|
599
|
-
kind: Schema.Literal("SharedDigestConfirmationRequiredHttpError"),
|
|
600
|
-
type: Schema.String,
|
|
601
|
-
title: Schema.String,
|
|
602
|
-
status: Schema.Number.check(Schema.isInt()),
|
|
603
|
-
detail: Schema.String,
|
|
604
|
-
instance: Schema.optionalKey(Schema.String),
|
|
605
|
-
code: Schema.Literal("shared_digest_confirmation_required"),
|
|
606
|
-
affectedCoordinates: Schema.Array(Schema.Struct({ owner: Handle, type: ExtensionType, name: ExtensionName, version: Version })),
|
|
607
|
-
});
|
|
608
523
|
export const TokenListItem = Schema.Struct({
|
|
609
524
|
id: TokenId,
|
|
610
525
|
name: Schema.Union([
|
|
@@ -658,6 +573,13 @@ export const ForbiddenError = Schema.Struct({
|
|
|
658
573
|
"library_mutation_not_authorized",
|
|
659
574
|
"team_extension_grant_delete_not_authorized",
|
|
660
575
|
"team_extension_grant_not_authorized",
|
|
576
|
+
"resource_group_create_not_authorized",
|
|
577
|
+
"resource_group_update_not_authorized",
|
|
578
|
+
"resource_group_delete_not_authorized",
|
|
579
|
+
"resource_group_access_not_authorized",
|
|
580
|
+
"resource_move_not_authorized",
|
|
581
|
+
"resource_access_not_authorized",
|
|
582
|
+
"access_policy_not_authorized",
|
|
661
583
|
"publish/quota-exceeded",
|
|
662
584
|
"publish/insufficient-scope",
|
|
663
585
|
"publish/resource-restriction",
|
|
@@ -673,13 +595,7 @@ export const CreateTokenRequest = Schema.Struct({
|
|
|
673
595
|
description: "Human-readable name for the token.",
|
|
674
596
|
examples: ["CI publish token"],
|
|
675
597
|
})),
|
|
676
|
-
|
|
677
|
-
description: "Deprecated scope-string grant surface. Prefer permissions.",
|
|
678
|
-
examples: [["extensions:read", "extensions:publish:version"]],
|
|
679
|
-
})),
|
|
680
|
-
permissions: Schema.optionalKey(Schema.Union([CreateTokenPermissionsRequest, Schema.Null]).annotate({
|
|
681
|
-
description: "Structured permission request for the token.",
|
|
682
|
-
})),
|
|
598
|
+
permissions: CreateTokenPermissionsRequest,
|
|
683
599
|
expires_in: Schema.Number.check(Schema.isInt())
|
|
684
600
|
.check(Schema.isFinite())
|
|
685
601
|
.check(Schema.isGreaterThanOrEqualTo(3600))
|
|
@@ -690,89 +606,6 @@ export const CreateTokenRequest = Schema.Struct({
|
|
|
690
606
|
title: "Create Token Request",
|
|
691
607
|
description: "Request body for creating a new personal access token.",
|
|
692
608
|
});
|
|
693
|
-
export const LibraryMaintainer = Schema.Union([
|
|
694
|
-
Schema.Struct({
|
|
695
|
-
kind: Schema.Literal("user"),
|
|
696
|
-
userId: UserId,
|
|
697
|
-
assignedAt: Schema.Union([
|
|
698
|
-
Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
699
|
-
Schema.Null,
|
|
700
|
-
]),
|
|
701
|
-
assignedBy: Schema.Union([UserId, Schema.Null]),
|
|
702
|
-
}),
|
|
703
|
-
Schema.Struct({
|
|
704
|
-
kind: Schema.Literal("team"),
|
|
705
|
-
teamId: TeamId,
|
|
706
|
-
assignedAt: Schema.Union([
|
|
707
|
-
Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
708
|
-
Schema.Null,
|
|
709
|
-
]),
|
|
710
|
-
assignedBy: Schema.Union([UserId, Schema.Null]),
|
|
711
|
-
}),
|
|
712
|
-
Schema.Struct({
|
|
713
|
-
kind: Schema.Literal("none"),
|
|
714
|
-
assignedAt: Schema.Union([
|
|
715
|
-
Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
716
|
-
Schema.Null,
|
|
717
|
-
]),
|
|
718
|
-
assignedBy: Schema.Union([UserId, Schema.Null]),
|
|
719
|
-
}),
|
|
720
|
-
]).annotate({ title: "Library Maintainer" });
|
|
721
|
-
export const LibraryMaintainerTarget = Schema.Union([
|
|
722
|
-
Schema.Struct({ kind: Schema.Literal("user"), userId: UserId }),
|
|
723
|
-
Schema.Struct({ kind: Schema.Literal("team"), teamId: TeamId }),
|
|
724
|
-
]).annotate({ title: "Library Maintainer Target" });
|
|
725
|
-
export const Maintainer = Schema.Union([
|
|
726
|
-
Schema.Struct({
|
|
727
|
-
kind: Schema.Literal("user"),
|
|
728
|
-
userId: UserId,
|
|
729
|
-
assignedAt: Schema.Union([
|
|
730
|
-
Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
731
|
-
Schema.Null,
|
|
732
|
-
]),
|
|
733
|
-
assignedBy: Schema.Union([UserId, Schema.Null]),
|
|
734
|
-
}),
|
|
735
|
-
Schema.Struct({
|
|
736
|
-
kind: Schema.Literal("team"),
|
|
737
|
-
teamId: TeamId,
|
|
738
|
-
assignedAt: Schema.Union([
|
|
739
|
-
Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
740
|
-
Schema.Null,
|
|
741
|
-
]),
|
|
742
|
-
assignedBy: Schema.Union([UserId, Schema.Null]),
|
|
743
|
-
}),
|
|
744
|
-
Schema.Struct({
|
|
745
|
-
kind: Schema.Literal("none"),
|
|
746
|
-
assignedAt: Schema.Union([
|
|
747
|
-
Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
748
|
-
Schema.Null,
|
|
749
|
-
]),
|
|
750
|
-
assignedBy: Schema.Union([UserId, Schema.Null]),
|
|
751
|
-
}),
|
|
752
|
-
]).annotate({ title: "Maintainer" });
|
|
753
|
-
export const MaintainerTarget = Schema.Union([
|
|
754
|
-
Schema.Struct({ kind: Schema.Literal("user"), userId: UserId }),
|
|
755
|
-
Schema.Struct({ kind: Schema.Literal("team"), teamId: TeamId }),
|
|
756
|
-
]).annotate({ title: "Maintainer Target" });
|
|
757
|
-
export const Team = Schema.Struct({
|
|
758
|
-
id: TeamId,
|
|
759
|
-
organizationId: OrgId,
|
|
760
|
-
displayName: Schema.String,
|
|
761
|
-
description: Schema.Union([Schema.String, Schema.Null]),
|
|
762
|
-
createdAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
763
|
-
createdBy: UserIdRef,
|
|
764
|
-
updatedAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
765
|
-
}).annotate({ title: "Team" });
|
|
766
|
-
export const TeamMembership = Schema.Struct({
|
|
767
|
-
teamId: TeamId,
|
|
768
|
-
userId: UserId,
|
|
769
|
-
role: Schema.Literals(["admin", "member"]).annotate({
|
|
770
|
-
title: "Team Role",
|
|
771
|
-
description: "Role within a team — 'admin' manages membership and grants; 'member' inherits grants.",
|
|
772
|
-
}),
|
|
773
|
-
addedAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
774
|
-
addedBy: UserIdRef,
|
|
775
|
-
}).annotate({ title: "Team Membership" });
|
|
776
609
|
export const SearchHit = Schema.Struct({
|
|
777
610
|
name: ExtensionName,
|
|
778
611
|
owner: Handle,
|
|
@@ -811,13 +644,16 @@ export const PublishLintFinding = Schema.Struct({
|
|
|
811
644
|
title: "Publish Lint Finding",
|
|
812
645
|
description: "One lint finding produced against the publish subject.",
|
|
813
646
|
});
|
|
814
|
-
export const
|
|
815
|
-
|
|
647
|
+
export const Library = Schema.Struct({
|
|
648
|
+
id: LibraryId,
|
|
649
|
+
owner: Handle,
|
|
816
650
|
name: LibraryName,
|
|
817
651
|
title: Schema.String,
|
|
818
|
-
description: Schema.
|
|
819
|
-
visibility:
|
|
820
|
-
|
|
652
|
+
description: Schema.Union([Schema.String, Schema.Null]),
|
|
653
|
+
visibility: LibraryVisibility,
|
|
654
|
+
createdAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
655
|
+
updatedAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
656
|
+
}).annotate({ title: "Library" });
|
|
821
657
|
export const LibraryMember = Schema.Struct({
|
|
822
658
|
id: LibraryMemberId,
|
|
823
659
|
libraryId: LibraryId,
|
|
@@ -837,15 +673,6 @@ export const AuthMeResponse = Schema.Struct({
|
|
|
837
673
|
title: "Auth Me Response",
|
|
838
674
|
description: "Your user profile, organizations, and token details.",
|
|
839
675
|
});
|
|
840
|
-
export const PatchLibraryMembersBody = Schema.Struct({
|
|
841
|
-
add: Schema.Array(LibraryMemberCoordinate),
|
|
842
|
-
remove: Schema.Array(LibraryMemberCoordinate),
|
|
843
|
-
}).annotate({ title: "Patch Library Members Body" });
|
|
844
|
-
export const PatchLibraryMembersResponse = Schema.Struct({
|
|
845
|
-
added: Schema.Array(LibraryMemberCoordinate),
|
|
846
|
-
removed: Schema.Array(LibraryMemberCoordinate),
|
|
847
|
-
unchanged: Schema.Array(Schema.Struct({ action: Schema.Literals(["add", "remove"]), member: LibraryMemberCoordinate })),
|
|
848
|
-
}).annotate({ title: "Patch Library Members Response" });
|
|
849
676
|
export const ExtensionIdentityMismatchError = Schema.Struct({
|
|
850
677
|
kind: Schema.Literal("ExtensionIdentityMismatchError"),
|
|
851
678
|
type: Schema.String,
|
|
@@ -870,36 +697,6 @@ export const TokenListResponse = Schema.Struct({
|
|
|
870
697
|
Schema.Null,
|
|
871
698
|
]),
|
|
872
699
|
}).annotate({ title: "Token List Response", description: "A page of your access tokens." });
|
|
873
|
-
export const Library = Schema.Struct({
|
|
874
|
-
id: LibraryId,
|
|
875
|
-
owner: Handle,
|
|
876
|
-
name: LibraryName,
|
|
877
|
-
title: Schema.String,
|
|
878
|
-
description: Schema.Union([Schema.String, Schema.Null]),
|
|
879
|
-
visibility: LibraryVisibility,
|
|
880
|
-
maintainer: LibraryMaintainer,
|
|
881
|
-
createdAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
882
|
-
updatedAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
883
|
-
}).annotate({ title: "Library" });
|
|
884
|
-
export const CreatedLibrary = Schema.Struct({
|
|
885
|
-
id: LibraryId,
|
|
886
|
-
owner: Handle,
|
|
887
|
-
name: LibraryName,
|
|
888
|
-
title: Schema.String,
|
|
889
|
-
description: Schema.Union([Schema.String, Schema.Null]),
|
|
890
|
-
visibility: LibraryVisibility,
|
|
891
|
-
maintainer: LibraryMaintainer,
|
|
892
|
-
createdAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
893
|
-
updatedAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
894
|
-
}).annotate({ title: "Created Library" });
|
|
895
|
-
export const TeamList = Schema.Struct({
|
|
896
|
-
items: Schema.Array(Team),
|
|
897
|
-
nextCursor: Schema.Union([Schema.String, Schema.Null]),
|
|
898
|
-
}).annotate({ title: "Team List" });
|
|
899
|
-
export const TeamMembershipList = Schema.Struct({
|
|
900
|
-
items: Schema.Array(TeamMembership),
|
|
901
|
-
nextCursor: Schema.Union([Schema.String, Schema.Null]),
|
|
902
|
-
}).annotate({ title: "Team Membership List" });
|
|
903
700
|
export const SearchResponse = Schema.Struct({
|
|
904
701
|
extensions: Schema.Array(SearchHit).annotate({
|
|
905
702
|
description: "Extensions matching the query, ordered by recency.",
|
|
@@ -932,21 +729,20 @@ export const ExtensionLintFailedError = Schema.Struct({
|
|
|
932
729
|
displayRoot: Schema.String,
|
|
933
730
|
findings: Schema.Array(PublishLintFinding),
|
|
934
731
|
});
|
|
935
|
-
export const ListLibraryMembersResponse = Schema.Struct({
|
|
936
|
-
members: Schema.Array(LibraryMember),
|
|
937
|
-
total: Schema.Number.check(Schema.isInt()),
|
|
938
|
-
limit: Schema.Number.check(Schema.isInt()),
|
|
939
|
-
offset: Schema.Number.check(Schema.isInt()),
|
|
940
|
-
viewerRelative: Schema.Literal(true),
|
|
941
|
-
}).annotate({ title: "List Library Members Response" });
|
|
942
732
|
export const LibraryDetail = Schema.Struct({
|
|
943
733
|
library: Library,
|
|
944
734
|
members: Schema.Array(LibraryMember),
|
|
945
735
|
accessibleMemberCount: Schema.Number.check(Schema.isInt())
|
|
946
736
|
.check(Schema.isFinite())
|
|
947
737
|
.check(Schema.isGreaterThanOrEqualTo(0)),
|
|
948
|
-
contentsMayVary: Schema.Literal(true),
|
|
949
738
|
}).annotate({ title: "Library Detail" });
|
|
739
|
+
export const ListLibraryMembersResponse = Schema.Struct({
|
|
740
|
+
members: Schema.Array(LibraryMember),
|
|
741
|
+
total: Schema.Number.check(Schema.isInt()),
|
|
742
|
+
limit: Schema.Number.check(Schema.isInt()),
|
|
743
|
+
offset: Schema.Number.check(Schema.isInt()),
|
|
744
|
+
viewerRelative: Schema.Literal(true),
|
|
745
|
+
}).annotate({ title: "List Library Members Response" });
|
|
950
746
|
export const MetaGet200 = MetaResponse;
|
|
951
747
|
export const MetaGet400 = DecodeErrorResponse;
|
|
952
748
|
export const AuthIssueDeviceCodeRequestFormUrlEncoded = Schema.Struct({
|
|
@@ -1018,25 +814,6 @@ export const AuthExchangeToken400 = Schema.Union([
|
|
|
1018
814
|
Schema.Union([ProblemDetails, DecodeErrorResponse]),
|
|
1019
815
|
TokenOAuthError,
|
|
1020
816
|
]);
|
|
1021
|
-
export const AuthRefreshTokenRequestFormUrlEncoded = Schema.Struct({
|
|
1022
|
-
grant_type: Schema.Literal("refresh_token").annotate({
|
|
1023
|
-
description: "OAuth grant type. Must be 'refresh_token'.",
|
|
1024
|
-
}),
|
|
1025
|
-
refresh_token: Schema.String.check(Schema.isMinLength(1, { description: "The refresh token to exchange for a new token pair." })),
|
|
1026
|
-
client_id: Schema.optionalKey(Schema.Union([
|
|
1027
|
-
Schema.String.annotate({ description: "OAuth client identifier." }),
|
|
1028
|
-
Schema.Null,
|
|
1029
|
-
])),
|
|
1030
|
-
});
|
|
1031
|
-
export const AuthRefreshToken200 = Schema.Struct({
|
|
1032
|
-
access_token: Schema.String,
|
|
1033
|
-
refresh_token: Schema.String,
|
|
1034
|
-
token_type: Schema.Literal("Bearer"),
|
|
1035
|
-
expires_in: Schema.Number.check(Schema.isInt()),
|
|
1036
|
-
expires_at: Schema.String,
|
|
1037
|
-
scope: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1038
|
-
});
|
|
1039
|
-
export const AuthRefreshToken400 = Schema.Union([TokenOAuthError, DecodeErrorResponse]);
|
|
1040
817
|
export const AuthRevokeOAuthTokenRequestFormUrlEncoded = Schema.Struct({
|
|
1041
818
|
token: Schema.String.check(Schema.isMinLength(1, {
|
|
1042
819
|
description: "The access token or refresh token to revoke. Revocation is idempotent.",
|
|
@@ -1059,8 +836,6 @@ export const AuthGetStepUpChallenge200 = StepUpChallengeResponse;
|
|
|
1059
836
|
export const AuthGetStepUpChallenge400 = DecodeErrorResponse;
|
|
1060
837
|
export const AuthGetStepUpChallenge401 = ProblemDetails;
|
|
1061
838
|
export const AuthGetStepUpChallenge404 = ProblemDetails;
|
|
1062
|
-
export const AuthExchangeOidcToken400 = DecodeErrorResponse;
|
|
1063
|
-
export const AuthExchangeOidcToken501 = ProblemDetails;
|
|
1064
839
|
export const AuthCreatePublishAuthorizationRequestRequestJson = Schema.Struct({
|
|
1065
840
|
client_id: Schema.String.check(Schema.isMinLength(1)),
|
|
1066
841
|
redirect_uri: Schema.String.check(Schema.isMinLength(1)),
|
|
@@ -1112,59 +887,6 @@ export const TokensDelete403 = ForbiddenError;
|
|
|
1112
887
|
export const OwnersGetOwner200 = OwnerResponse;
|
|
1113
888
|
export const OwnersGetOwner400 = DecodeErrorResponse;
|
|
1114
889
|
export const OwnersGetOwner404 = ProblemDetails;
|
|
1115
|
-
export const OrgsTeamsListTeamsParams = Schema.Struct({
|
|
1116
|
-
cursor: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1117
|
-
limit: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1118
|
-
});
|
|
1119
|
-
export const OrgsTeamsListTeams200 = TeamList;
|
|
1120
|
-
export const OrgsTeamsListTeams400 = DecodeErrorResponse;
|
|
1121
|
-
export const OrgsTeamsListTeams401 = ProblemDetails;
|
|
1122
|
-
export const OrgsTeamsListTeams404 = ProblemDetails;
|
|
1123
|
-
export const OrgsTeamsCreateTeamRequestJson = CreateTeamBody;
|
|
1124
|
-
export const OrgsTeamsCreateTeam200 = Team;
|
|
1125
|
-
export const OrgsTeamsCreateTeam400 = Schema.Union([ProblemDetails, DecodeErrorResponse]);
|
|
1126
|
-
export const OrgsTeamsCreateTeam401 = ProblemDetails;
|
|
1127
|
-
export const OrgsTeamsCreateTeam403 = ForbiddenError;
|
|
1128
|
-
export const OrgsTeamsCreateTeam404 = ProblemDetails;
|
|
1129
|
-
export const OrgsTeamsGetTeam200 = Team;
|
|
1130
|
-
export const OrgsTeamsGetTeam400 = DecodeErrorResponse;
|
|
1131
|
-
export const OrgsTeamsGetTeam401 = ProblemDetails;
|
|
1132
|
-
export const OrgsTeamsGetTeam404 = ProblemDetails;
|
|
1133
|
-
export const OrgsTeamsDeleteTeam400 = DecodeErrorResponse;
|
|
1134
|
-
export const OrgsTeamsDeleteTeam401 = ProblemDetails;
|
|
1135
|
-
export const OrgsTeamsDeleteTeam403 = ForbiddenError;
|
|
1136
|
-
export const OrgsTeamsDeleteTeam404 = ProblemDetails;
|
|
1137
|
-
export const OrgsTeamsUpdateTeamRequestJson = UpdateTeamBody;
|
|
1138
|
-
export const OrgsTeamsUpdateTeam200 = Team;
|
|
1139
|
-
export const OrgsTeamsUpdateTeam400 = Schema.Union([ProblemDetails, DecodeErrorResponse]);
|
|
1140
|
-
export const OrgsTeamsUpdateTeam401 = ProblemDetails;
|
|
1141
|
-
export const OrgsTeamsUpdateTeam403 = ForbiddenError;
|
|
1142
|
-
export const OrgsTeamsUpdateTeam404 = ProblemDetails;
|
|
1143
|
-
export const OrgsTeamsListTeamMembersParams = Schema.Struct({
|
|
1144
|
-
cursor: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1145
|
-
limit: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1146
|
-
});
|
|
1147
|
-
export const OrgsTeamsListTeamMembers200 = TeamMembershipList;
|
|
1148
|
-
export const OrgsTeamsListTeamMembers400 = DecodeErrorResponse;
|
|
1149
|
-
export const OrgsTeamsListTeamMembers401 = ProblemDetails;
|
|
1150
|
-
export const OrgsTeamsListTeamMembers404 = ProblemDetails;
|
|
1151
|
-
export const OrgsTeamsAddTeamMemberRequestJson = AddTeamMemberBody;
|
|
1152
|
-
export const OrgsTeamsAddTeamMember200 = TeamMembership;
|
|
1153
|
-
export const OrgsTeamsAddTeamMember400 = DecodeErrorResponse;
|
|
1154
|
-
export const OrgsTeamsAddTeamMember401 = ProblemDetails;
|
|
1155
|
-
export const OrgsTeamsAddTeamMember403 = ForbiddenError;
|
|
1156
|
-
export const OrgsTeamsAddTeamMember404 = ProblemDetails;
|
|
1157
|
-
export const OrgsTeamsAddTeamMember422 = ProblemDetails;
|
|
1158
|
-
export const OrgsTeamsRemoveTeamMember400 = DecodeErrorResponse;
|
|
1159
|
-
export const OrgsTeamsRemoveTeamMember401 = ProblemDetails;
|
|
1160
|
-
export const OrgsTeamsRemoveTeamMember403 = ForbiddenError;
|
|
1161
|
-
export const OrgsTeamsRemoveTeamMember404 = ProblemDetails;
|
|
1162
|
-
export const OrgsTeamsChangeTeamMemberRoleRequestJson = ChangeTeamMemberRoleBody;
|
|
1163
|
-
export const OrgsTeamsChangeTeamMemberRole200 = TeamMembership;
|
|
1164
|
-
export const OrgsTeamsChangeTeamMemberRole400 = DecodeErrorResponse;
|
|
1165
|
-
export const OrgsTeamsChangeTeamMemberRole401 = ProblemDetails;
|
|
1166
|
-
export const OrgsTeamsChangeTeamMemberRole403 = ForbiddenError;
|
|
1167
|
-
export const OrgsTeamsChangeTeamMemberRole404 = ProblemDetails;
|
|
1168
890
|
export const ExtensionsListByOwner200 = Schema.Struct({
|
|
1169
891
|
extensions: Schema.Array(Schema.Struct({
|
|
1170
892
|
name: ExtensionName,
|
|
@@ -1476,23 +1198,6 @@ export const ExtensionsGetDeletionPreview400 = DecodeErrorResponse;
|
|
|
1476
1198
|
export const ExtensionsGetDeletionPreview401 = ProblemDetails;
|
|
1477
1199
|
export const ExtensionsGetDeletionPreview403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1478
1200
|
export const ExtensionsGetDeletionPreview404 = ProblemDetails;
|
|
1479
|
-
export const AdminExtensionsPurgeExtensionVersionRequestJson = PurgeExtensionVersionBody;
|
|
1480
|
-
export const AdminExtensionsPurgeExtensionVersion202 = Schema.Struct({
|
|
1481
|
-
operationId: Schema.String,
|
|
1482
|
-
affectedCoordinates: Schema.Array(Schema.Struct({ owner: Handle, type: ExtensionType, name: ExtensionName, version: Version })),
|
|
1483
|
-
archivePurgeState: Schema.Literal("pending"),
|
|
1484
|
-
});
|
|
1485
|
-
export const AdminExtensionsPurgeExtensionVersion400 = DecodeErrorResponse;
|
|
1486
|
-
export const AdminExtensionsPurgeExtensionVersion401 = Schema.Union([
|
|
1487
|
-
StepUpRequiredError,
|
|
1488
|
-
ProblemDetails,
|
|
1489
|
-
]);
|
|
1490
|
-
export const AdminExtensionsPurgeExtensionVersion403 = Schema.Union([
|
|
1491
|
-
ForbiddenError,
|
|
1492
|
-
ForbiddenError,
|
|
1493
|
-
]);
|
|
1494
|
-
export const AdminExtensionsPurgeExtensionVersion404 = ProblemDetails;
|
|
1495
|
-
export const AdminExtensionsPurgeExtensionVersion409 = SharedDigestConfirmationRequiredHttpError;
|
|
1496
1201
|
export const LibrariesListLibrariesParams = Schema.Struct({
|
|
1497
1202
|
limit: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1498
1203
|
offset: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1508,30 +1213,10 @@ export const LibrariesListLibraries200 = Schema.Struct({
|
|
|
1508
1213
|
});
|
|
1509
1214
|
export const LibrariesListLibraries400 = DecodeErrorResponse;
|
|
1510
1215
|
export const LibrariesListLibraries404 = ProblemDetails;
|
|
1511
|
-
export const LibrariesCreateLibraryRequestJson = CreateLibraryBody;
|
|
1512
|
-
export const LibrariesCreateLibrary201 = CreatedLibrary;
|
|
1513
|
-
export const LibrariesCreateLibrary400 = Schema.Union([ProblemDetails, DecodeErrorResponse]);
|
|
1514
|
-
export const LibrariesCreateLibrary401 = ProblemDetails;
|
|
1515
|
-
export const LibrariesCreateLibrary403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1516
|
-
export const LibrariesCreateLibrary404 = ProblemDetails;
|
|
1517
|
-
export const LibrariesCreateLibrary409 = ProblemDetails;
|
|
1518
|
-
export const LibrariesCreateLibrary422 = ProblemDetails;
|
|
1519
1216
|
export const LibrariesGetLibrary200 = LibraryDetail;
|
|
1520
1217
|
export const LibrariesGetLibrary400 = DecodeErrorResponse;
|
|
1521
1218
|
export const LibrariesGetLibrary404 = ProblemDetails;
|
|
1522
1219
|
export const LibrariesGetLibrary422 = ProblemDetails;
|
|
1523
|
-
export const LibrariesDeleteLibrary400 = DecodeErrorResponse;
|
|
1524
|
-
export const LibrariesDeleteLibrary401 = ProblemDetails;
|
|
1525
|
-
export const LibrariesDeleteLibrary403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1526
|
-
export const LibrariesDeleteLibrary404 = ProblemDetails;
|
|
1527
|
-
export const LibrariesDeleteLibrary422 = ProblemDetails;
|
|
1528
|
-
export const LibrariesUpdateLibraryRequestJson = UpdateLibraryBody;
|
|
1529
|
-
export const LibrariesUpdateLibrary200 = Library;
|
|
1530
|
-
export const LibrariesUpdateLibrary400 = Schema.Union([ProblemDetails, DecodeErrorResponse]);
|
|
1531
|
-
export const LibrariesUpdateLibrary401 = ProblemDetails;
|
|
1532
|
-
export const LibrariesUpdateLibrary403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1533
|
-
export const LibrariesUpdateLibrary404 = ProblemDetails;
|
|
1534
|
-
export const LibrariesUpdateLibrary422 = ProblemDetails;
|
|
1535
1220
|
export const LibrariesListLibraryMembersParams = Schema.Struct({
|
|
1536
1221
|
limit: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1537
1222
|
offset: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
@@ -1542,63 +1227,6 @@ export const LibrariesListLibraryMembers200 = ListLibraryMembersResponse;
|
|
|
1542
1227
|
export const LibrariesListLibraryMembers400 = DecodeErrorResponse;
|
|
1543
1228
|
export const LibrariesListLibraryMembers404 = ProblemDetails;
|
|
1544
1229
|
export const LibrariesListLibraryMembers422 = ProblemDetails;
|
|
1545
|
-
export const LibrariesPatchLibraryMembersRequestJson = PatchLibraryMembersBody;
|
|
1546
|
-
export const LibrariesPatchLibraryMembers200 = PatchLibraryMembersResponse;
|
|
1547
|
-
export const LibrariesPatchLibraryMembers400 = DecodeErrorResponse;
|
|
1548
|
-
export const LibrariesPatchLibraryMembers401 = ProblemDetails;
|
|
1549
|
-
export const LibrariesPatchLibraryMembers403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1550
|
-
export const LibrariesPatchLibraryMembers404 = ProblemDetails;
|
|
1551
|
-
export const LibrariesPatchLibraryMembers422 = ProblemDetails;
|
|
1552
|
-
export const LibrariesSetLibraryVisibilityRequestJson = PatchLibraryVisibilityBody;
|
|
1553
|
-
export const LibrariesSetLibraryVisibility200 = Library;
|
|
1554
|
-
export const LibrariesSetLibraryVisibility400 = DecodeErrorResponse;
|
|
1555
|
-
export const LibrariesSetLibraryVisibility401 = ProblemDetails;
|
|
1556
|
-
export const LibrariesSetLibraryVisibility403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1557
|
-
export const LibrariesSetLibraryVisibility404 = ProblemDetails;
|
|
1558
|
-
export const LibrariesSetLibraryVisibility422 = ProblemDetails;
|
|
1559
|
-
export const LibrariesSetLibraryMaintainerRequestJson = LibraryMaintainerTarget;
|
|
1560
|
-
export const LibrariesSetLibraryMaintainer200 = LibraryMaintainer;
|
|
1561
|
-
export const LibrariesSetLibraryMaintainer400 = DecodeErrorResponse;
|
|
1562
|
-
export const LibrariesSetLibraryMaintainer401 = ProblemDetails;
|
|
1563
|
-
export const LibrariesSetLibraryMaintainer403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1564
|
-
export const LibrariesSetLibraryMaintainer404 = ProblemDetails;
|
|
1565
|
-
export const LibrariesSetLibraryMaintainer422 = ProblemDetails;
|
|
1566
|
-
export const LibrariesClearLibraryMaintainer200 = LibraryMaintainer;
|
|
1567
|
-
export const LibrariesClearLibraryMaintainer400 = DecodeErrorResponse;
|
|
1568
|
-
export const LibrariesClearLibraryMaintainer401 = ProblemDetails;
|
|
1569
|
-
export const LibrariesClearLibraryMaintainer403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1570
|
-
export const LibrariesClearLibraryMaintainer404 = ProblemDetails;
|
|
1571
|
-
export const LibrariesClearLibraryMaintainer422 = ProblemDetails;
|
|
1572
|
-
export const LibrariesAddLibraryMember200 = LibraryMember;
|
|
1573
|
-
export const LibrariesAddLibraryMember400 = DecodeErrorResponse;
|
|
1574
|
-
export const LibrariesAddLibraryMember401 = ProblemDetails;
|
|
1575
|
-
export const LibrariesAddLibraryMember403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1576
|
-
export const LibrariesAddLibraryMember404 = ProblemDetails;
|
|
1577
|
-
export const LibrariesAddLibraryMember409 = ProblemDetails;
|
|
1578
|
-
export const LibrariesAddLibraryMember422 = ProblemDetails;
|
|
1579
|
-
export const LibrariesRemoveLibraryMember400 = DecodeErrorResponse;
|
|
1580
|
-
export const LibrariesRemoveLibraryMember401 = ProblemDetails;
|
|
1581
|
-
export const LibrariesRemoveLibraryMember403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1582
|
-
export const LibrariesRemoveLibraryMember404 = ProblemDetails;
|
|
1583
|
-
export const LibrariesRemoveLibraryMember422 = ProblemDetails;
|
|
1584
|
-
export const MaintainerGetMaintainer200 = Maintainer;
|
|
1585
|
-
export const MaintainerGetMaintainer400 = DecodeErrorResponse;
|
|
1586
|
-
export const MaintainerGetMaintainer401 = ProblemDetails;
|
|
1587
|
-
export const MaintainerGetMaintainer403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1588
|
-
export const MaintainerGetMaintainer404 = ProblemDetails;
|
|
1589
|
-
export const MaintainerSetMaintainerRequestJson = MaintainerTarget;
|
|
1590
|
-
export const MaintainerSetMaintainer200 = Maintainer;
|
|
1591
|
-
export const MaintainerSetMaintainer400 = DecodeErrorResponse;
|
|
1592
|
-
export const MaintainerSetMaintainer401 = ProblemDetails;
|
|
1593
|
-
export const MaintainerSetMaintainer403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1594
|
-
export const MaintainerSetMaintainer404 = ProblemDetails;
|
|
1595
|
-
export const MaintainerSetMaintainer422 = ProblemDetails;
|
|
1596
|
-
export const MaintainerClearMaintainer200 = Maintainer;
|
|
1597
|
-
export const MaintainerClearMaintainer400 = DecodeErrorResponse;
|
|
1598
|
-
export const MaintainerClearMaintainer401 = ProblemDetails;
|
|
1599
|
-
export const MaintainerClearMaintainer403 = Schema.Union([ForbiddenError, ForbiddenError]);
|
|
1600
|
-
export const MaintainerClearMaintainer404 = ProblemDetails;
|
|
1601
|
-
export const MaintainerClearMaintainer422 = ProblemDetails;
|
|
1602
1230
|
export const DiscoveryPostDiscoveryRequestJson = Schema.Struct({
|
|
1603
1231
|
client: Schema.Struct({ axmVersion: Schema.String }),
|
|
1604
1232
|
packages: Schema.Array(Schema.Struct({
|
|
@@ -1638,75 +1266,6 @@ export const HealthGetShallowHealth200 = Schema.Struct({
|
|
|
1638
1266
|
status: Schema.Literals(["pass", "warn", "fail"]),
|
|
1639
1267
|
});
|
|
1640
1268
|
export const HealthGetShallowHealth400 = DecodeErrorResponse;
|
|
1641
|
-
export const HealthGetDeepHealthParams = Schema.Struct({
|
|
1642
|
-
"x-health-key": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1643
|
-
});
|
|
1644
|
-
export const HealthGetDeepHealth200 = Schema.Struct({
|
|
1645
|
-
status: Schema.Literals(["pass", "warn", "fail"]),
|
|
1646
|
-
serviceId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1647
|
-
version: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1648
|
-
releaseId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1649
|
-
commit: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1650
|
-
deployedAt: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1651
|
-
environment: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1652
|
-
region: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1653
|
-
checks: Schema.optionalKey(Schema.Union([
|
|
1654
|
-
Schema.Record(Schema.String, Schema.Array(Schema.Struct({
|
|
1655
|
-
componentName: Schema.String,
|
|
1656
|
-
componentType: Schema.Literals(["datastore", "system", "component"]),
|
|
1657
|
-
measurementName: Schema.String,
|
|
1658
|
-
status: Schema.Literals(["pass", "warn", "fail"]),
|
|
1659
|
-
observedValue: Schema.Number.check(Schema.isFinite()),
|
|
1660
|
-
observedUnit: Schema.String,
|
|
1661
|
-
time: Schema.String,
|
|
1662
|
-
}))),
|
|
1663
|
-
Schema.Null,
|
|
1664
|
-
])),
|
|
1665
|
-
output: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1666
|
-
});
|
|
1667
|
-
export const HealthGetDeepHealth400 = DecodeErrorResponse;
|
|
1668
|
-
export const HealthGetObservabilityVerificationParams = Schema.Struct({
|
|
1669
|
-
"x-health-key": Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1670
|
-
level: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1671
|
-
scenario: Schema.optionalKey(Schema.Union([Schema.Literals(["effect-handled-500", "surface-unhandled-500"]), Schema.Null])),
|
|
1672
|
-
scenarioId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1673
|
-
});
|
|
1674
|
-
export const HealthGetObservabilityVerification200 = Schema.Struct({
|
|
1675
|
-
status: Schema.Literals(["ok", "warn", "error"]),
|
|
1676
|
-
timestamp: Schema.String,
|
|
1677
|
-
serviceId: Schema.String,
|
|
1678
|
-
level: Schema.Literals(["basic", "standard", "full"]),
|
|
1679
|
-
checks: Schema.Struct({
|
|
1680
|
-
logging: Schema.optionalKey(Schema.Union([
|
|
1681
|
-
Schema.Struct({
|
|
1682
|
-
status: Schema.Literals(["ok", "warn", "error"]),
|
|
1683
|
-
correlationId: Schema.String,
|
|
1684
|
-
}),
|
|
1685
|
-
Schema.Null,
|
|
1686
|
-
])),
|
|
1687
|
-
tracing: Schema.optionalKey(Schema.Union([
|
|
1688
|
-
Schema.Struct({
|
|
1689
|
-
status: Schema.Literals(["ok", "warn", "error"]),
|
|
1690
|
-
traceId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1691
|
-
}),
|
|
1692
|
-
Schema.Null,
|
|
1693
|
-
])),
|
|
1694
|
-
metrics: Schema.optionalKey(Schema.Union([
|
|
1695
|
-
Schema.Struct({ status: Schema.Literals(["ok", "warn", "error"]), counter: Schema.String }),
|
|
1696
|
-
Schema.Null,
|
|
1697
|
-
])),
|
|
1698
|
-
errors: Schema.optionalKey(Schema.Union([
|
|
1699
|
-
Schema.Struct({
|
|
1700
|
-
status: Schema.Literals(["ok", "warn", "error"]),
|
|
1701
|
-
sentryEventId: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1702
|
-
reason: Schema.optionalKey(Schema.Union([Schema.Literal("sentry-issue-reporter-disabled"), Schema.Null])),
|
|
1703
|
-
message: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1704
|
-
}),
|
|
1705
|
-
Schema.Null,
|
|
1706
|
-
])),
|
|
1707
|
-
}),
|
|
1708
|
-
});
|
|
1709
|
-
export const HealthGetObservabilityVerification400 = DecodeErrorResponse;
|
|
1710
1269
|
export const SearchSearchExtensionsParams = Schema.Struct({
|
|
1711
1270
|
q: Schema.String.annotate({
|
|
1712
1271
|
description: "Search query string. Use an empty string to list the public catalog.",
|
|
@@ -1778,11 +1337,6 @@ export const make = (httpClient, options = {}) => {
|
|
|
1778
1337
|
"400": decodeError("AuthExchangeToken400", AuthExchangeToken400),
|
|
1779
1338
|
orElse: unexpectedStatus,
|
|
1780
1339
|
}))),
|
|
1781
|
-
AuthRefreshToken: (options) => HttpClientRequest.post(`/v1/auth/token/refresh`).pipe(HttpClientRequest.bodyUrlParams(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
1782
|
-
"2xx": decodeSuccess(AuthRefreshToken200),
|
|
1783
|
-
"400": decodeError("AuthRefreshToken400", AuthRefreshToken400),
|
|
1784
|
-
orElse: unexpectedStatus,
|
|
1785
|
-
}))),
|
|
1786
1340
|
AuthRevokeOAuthToken: (options) => HttpClientRequest.post(`/v1/auth/revoke`).pipe(HttpClientRequest.bodyUrlParams(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
1787
1341
|
"400": decodeError("AuthRevokeOAuthToken400", AuthRevokeOAuthToken400),
|
|
1788
1342
|
"200": () => Effect.void,
|
|
@@ -1807,12 +1361,6 @@ export const make = (httpClient, options = {}) => {
|
|
|
1807
1361
|
"404": decodeError("AuthGetStepUpChallenge404", AuthGetStepUpChallenge404),
|
|
1808
1362
|
orElse: unexpectedStatus,
|
|
1809
1363
|
}))),
|
|
1810
|
-
AuthExchangeOidcToken: (options) => HttpClientRequest.post(`/v1/auth/oidc/exchange`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
1811
|
-
"400": decodeError("AuthExchangeOidcToken400", AuthExchangeOidcToken400),
|
|
1812
|
-
"501": decodeError("AuthExchangeOidcToken501", AuthExchangeOidcToken501),
|
|
1813
|
-
"204": () => Effect.void,
|
|
1814
|
-
orElse: unexpectedStatus,
|
|
1815
|
-
}))),
|
|
1816
1364
|
AuthCreatePublishAuthorizationRequest: (options) => HttpClientRequest.post(`/v1/auth/publish-requests`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
1817
1365
|
"2xx": decodeSuccess(AuthCreatePublishAuthorizationRequest201),
|
|
1818
1366
|
"400": decodeError("AuthCreatePublishAuthorizationRequest400", AuthCreatePublishAuthorizationRequest400),
|
|
@@ -1849,82 +1397,6 @@ export const make = (httpClient, options = {}) => {
|
|
|
1849
1397
|
"404": decodeError("OwnersGetOwner404", OwnersGetOwner404),
|
|
1850
1398
|
orElse: unexpectedStatus,
|
|
1851
1399
|
}))),
|
|
1852
|
-
OrgsTeamsListTeams: (handle, options) => HttpClientRequest.get(`/v1/orgs/${handle}/teams`).pipe(HttpClientRequest.setUrlParams({
|
|
1853
|
-
cursor: options?.params?.["cursor"],
|
|
1854
|
-
limit: options?.params?.["limit"],
|
|
1855
|
-
}), withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
1856
|
-
"2xx": decodeSuccess(OrgsTeamsListTeams200),
|
|
1857
|
-
"400": decodeError("OrgsTeamsListTeams400", OrgsTeamsListTeams400),
|
|
1858
|
-
"401": decodeError("OrgsTeamsListTeams401", OrgsTeamsListTeams401),
|
|
1859
|
-
"404": decodeError("OrgsTeamsListTeams404", OrgsTeamsListTeams404),
|
|
1860
|
-
orElse: unexpectedStatus,
|
|
1861
|
-
}))),
|
|
1862
|
-
OrgsTeamsCreateTeam: (handle, options) => HttpClientRequest.post(`/v1/orgs/${handle}/teams`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
1863
|
-
"2xx": decodeSuccess(OrgsTeamsCreateTeam200),
|
|
1864
|
-
"400": decodeError("OrgsTeamsCreateTeam400", OrgsTeamsCreateTeam400),
|
|
1865
|
-
"401": decodeError("OrgsTeamsCreateTeam401", OrgsTeamsCreateTeam401),
|
|
1866
|
-
"403": decodeError("OrgsTeamsCreateTeam403", OrgsTeamsCreateTeam403),
|
|
1867
|
-
"404": decodeError("OrgsTeamsCreateTeam404", OrgsTeamsCreateTeam404),
|
|
1868
|
-
orElse: unexpectedStatus,
|
|
1869
|
-
}))),
|
|
1870
|
-
OrgsTeamsGetTeam: (handle, teamId, options) => HttpClientRequest.get(`/v1/orgs/${handle}/teams/${teamId}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
1871
|
-
"2xx": decodeSuccess(OrgsTeamsGetTeam200),
|
|
1872
|
-
"400": decodeError("OrgsTeamsGetTeam400", OrgsTeamsGetTeam400),
|
|
1873
|
-
"401": decodeError("OrgsTeamsGetTeam401", OrgsTeamsGetTeam401),
|
|
1874
|
-
"404": decodeError("OrgsTeamsGetTeam404", OrgsTeamsGetTeam404),
|
|
1875
|
-
orElse: unexpectedStatus,
|
|
1876
|
-
}))),
|
|
1877
|
-
OrgsTeamsDeleteTeam: (handle, teamId, options) => HttpClientRequest.delete(`/v1/orgs/${handle}/teams/${teamId}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
1878
|
-
"400": decodeError("OrgsTeamsDeleteTeam400", OrgsTeamsDeleteTeam400),
|
|
1879
|
-
"401": decodeError("OrgsTeamsDeleteTeam401", OrgsTeamsDeleteTeam401),
|
|
1880
|
-
"403": decodeError("OrgsTeamsDeleteTeam403", OrgsTeamsDeleteTeam403),
|
|
1881
|
-
"404": decodeError("OrgsTeamsDeleteTeam404", OrgsTeamsDeleteTeam404),
|
|
1882
|
-
"204": () => Effect.void,
|
|
1883
|
-
orElse: unexpectedStatus,
|
|
1884
|
-
}))),
|
|
1885
|
-
OrgsTeamsUpdateTeam: (handle, teamId, options) => HttpClientRequest.patch(`/v1/orgs/${handle}/teams/${teamId}`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
1886
|
-
"2xx": decodeSuccess(OrgsTeamsUpdateTeam200),
|
|
1887
|
-
"400": decodeError("OrgsTeamsUpdateTeam400", OrgsTeamsUpdateTeam400),
|
|
1888
|
-
"401": decodeError("OrgsTeamsUpdateTeam401", OrgsTeamsUpdateTeam401),
|
|
1889
|
-
"403": decodeError("OrgsTeamsUpdateTeam403", OrgsTeamsUpdateTeam403),
|
|
1890
|
-
"404": decodeError("OrgsTeamsUpdateTeam404", OrgsTeamsUpdateTeam404),
|
|
1891
|
-
orElse: unexpectedStatus,
|
|
1892
|
-
}))),
|
|
1893
|
-
OrgsTeamsListTeamMembers: (handle, teamId, options) => HttpClientRequest.get(`/v1/orgs/${handle}/teams/${teamId}/members`).pipe(HttpClientRequest.setUrlParams({
|
|
1894
|
-
cursor: options?.params?.["cursor"],
|
|
1895
|
-
limit: options?.params?.["limit"],
|
|
1896
|
-
}), withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
1897
|
-
"2xx": decodeSuccess(OrgsTeamsListTeamMembers200),
|
|
1898
|
-
"400": decodeError("OrgsTeamsListTeamMembers400", OrgsTeamsListTeamMembers400),
|
|
1899
|
-
"401": decodeError("OrgsTeamsListTeamMembers401", OrgsTeamsListTeamMembers401),
|
|
1900
|
-
"404": decodeError("OrgsTeamsListTeamMembers404", OrgsTeamsListTeamMembers404),
|
|
1901
|
-
orElse: unexpectedStatus,
|
|
1902
|
-
}))),
|
|
1903
|
-
OrgsTeamsAddTeamMember: (handle, teamId, options) => HttpClientRequest.post(`/v1/orgs/${handle}/teams/${teamId}/members`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
1904
|
-
"2xx": decodeSuccess(OrgsTeamsAddTeamMember200),
|
|
1905
|
-
"400": decodeError("OrgsTeamsAddTeamMember400", OrgsTeamsAddTeamMember400),
|
|
1906
|
-
"401": decodeError("OrgsTeamsAddTeamMember401", OrgsTeamsAddTeamMember401),
|
|
1907
|
-
"403": decodeError("OrgsTeamsAddTeamMember403", OrgsTeamsAddTeamMember403),
|
|
1908
|
-
"404": decodeError("OrgsTeamsAddTeamMember404", OrgsTeamsAddTeamMember404),
|
|
1909
|
-
"422": decodeError("OrgsTeamsAddTeamMember422", OrgsTeamsAddTeamMember422),
|
|
1910
|
-
orElse: unexpectedStatus,
|
|
1911
|
-
}))),
|
|
1912
|
-
OrgsTeamsRemoveTeamMember: (handle, teamId, userId, options) => HttpClientRequest.delete(`/v1/orgs/${handle}/teams/${teamId}/members/${userId}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
1913
|
-
"400": decodeError("OrgsTeamsRemoveTeamMember400", OrgsTeamsRemoveTeamMember400),
|
|
1914
|
-
"401": decodeError("OrgsTeamsRemoveTeamMember401", OrgsTeamsRemoveTeamMember401),
|
|
1915
|
-
"403": decodeError("OrgsTeamsRemoveTeamMember403", OrgsTeamsRemoveTeamMember403),
|
|
1916
|
-
"404": decodeError("OrgsTeamsRemoveTeamMember404", OrgsTeamsRemoveTeamMember404),
|
|
1917
|
-
"204": () => Effect.void,
|
|
1918
|
-
orElse: unexpectedStatus,
|
|
1919
|
-
}))),
|
|
1920
|
-
OrgsTeamsChangeTeamMemberRole: (handle, teamId, userId, options) => HttpClientRequest.patch(`/v1/orgs/${handle}/teams/${teamId}/members/${userId}`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
1921
|
-
"2xx": decodeSuccess(OrgsTeamsChangeTeamMemberRole200),
|
|
1922
|
-
"400": decodeError("OrgsTeamsChangeTeamMemberRole400", OrgsTeamsChangeTeamMemberRole400),
|
|
1923
|
-
"401": decodeError("OrgsTeamsChangeTeamMemberRole401", OrgsTeamsChangeTeamMemberRole401),
|
|
1924
|
-
"403": decodeError("OrgsTeamsChangeTeamMemberRole403", OrgsTeamsChangeTeamMemberRole403),
|
|
1925
|
-
"404": decodeError("OrgsTeamsChangeTeamMemberRole404", OrgsTeamsChangeTeamMemberRole404),
|
|
1926
|
-
orElse: unexpectedStatus,
|
|
1927
|
-
}))),
|
|
1928
1400
|
ExtensionsListByOwner: (owner, options) => HttpClientRequest.get(`/v1/extensions/${owner}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
1929
1401
|
"2xx": decodeSuccess(ExtensionsListByOwner200),
|
|
1930
1402
|
"400": decodeError("ExtensionsListByOwner400", ExtensionsListByOwner400),
|
|
@@ -2062,15 +1534,6 @@ export const make = (httpClient, options = {}) => {
|
|
|
2062
1534
|
"404": decodeError("ExtensionsGetDeletionPreview404", ExtensionsGetDeletionPreview404),
|
|
2063
1535
|
orElse: unexpectedStatus,
|
|
2064
1536
|
}))),
|
|
2065
|
-
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({
|
|
2066
|
-
"2xx": decodeSuccess(AdminExtensionsPurgeExtensionVersion202),
|
|
2067
|
-
"400": decodeError("AdminExtensionsPurgeExtensionVersion400", AdminExtensionsPurgeExtensionVersion400),
|
|
2068
|
-
"401": decodeError("AdminExtensionsPurgeExtensionVersion401", AdminExtensionsPurgeExtensionVersion401),
|
|
2069
|
-
"403": decodeError("AdminExtensionsPurgeExtensionVersion403", AdminExtensionsPurgeExtensionVersion403),
|
|
2070
|
-
"404": decodeError("AdminExtensionsPurgeExtensionVersion404", AdminExtensionsPurgeExtensionVersion404),
|
|
2071
|
-
"409": decodeError("AdminExtensionsPurgeExtensionVersion409", AdminExtensionsPurgeExtensionVersion409),
|
|
2072
|
-
orElse: unexpectedStatus,
|
|
2073
|
-
}))),
|
|
2074
1537
|
LibrariesListLibraries: (owner, options) => HttpClientRequest.get(`/v1/libraries/${owner}`).pipe(HttpClientRequest.setUrlParams({
|
|
2075
1538
|
limit: options?.params?.["limit"],
|
|
2076
1539
|
offset: options?.params?.["offset"],
|
|
@@ -2082,16 +1545,6 @@ export const make = (httpClient, options = {}) => {
|
|
|
2082
1545
|
"404": decodeError("LibrariesListLibraries404", LibrariesListLibraries404),
|
|
2083
1546
|
orElse: unexpectedStatus,
|
|
2084
1547
|
}))),
|
|
2085
|
-
LibrariesCreateLibrary: (owner, options) => HttpClientRequest.post(`/v1/libraries/${owner}`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
2086
|
-
"2xx": decodeSuccess(LibrariesCreateLibrary201),
|
|
2087
|
-
"400": decodeError("LibrariesCreateLibrary400", LibrariesCreateLibrary400),
|
|
2088
|
-
"401": decodeError("LibrariesCreateLibrary401", LibrariesCreateLibrary401),
|
|
2089
|
-
"403": decodeError("LibrariesCreateLibrary403", LibrariesCreateLibrary403),
|
|
2090
|
-
"404": decodeError("LibrariesCreateLibrary404", LibrariesCreateLibrary404),
|
|
2091
|
-
"409": decodeError("LibrariesCreateLibrary409", LibrariesCreateLibrary409),
|
|
2092
|
-
"422": decodeError("LibrariesCreateLibrary422", LibrariesCreateLibrary422),
|
|
2093
|
-
orElse: unexpectedStatus,
|
|
2094
|
-
}))),
|
|
2095
1548
|
LibrariesGetLibrary: (owner, name, options) => HttpClientRequest.get(`/v1/libraries/${owner}/${name}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
2096
1549
|
"2xx": decodeSuccess(LibrariesGetLibrary200),
|
|
2097
1550
|
"400": decodeError("LibrariesGetLibrary400", LibrariesGetLibrary400),
|
|
@@ -2099,24 +1552,6 @@ export const make = (httpClient, options = {}) => {
|
|
|
2099
1552
|
"422": decodeError("LibrariesGetLibrary422", LibrariesGetLibrary422),
|
|
2100
1553
|
orElse: unexpectedStatus,
|
|
2101
1554
|
}))),
|
|
2102
|
-
LibrariesDeleteLibrary: (owner, name, options) => HttpClientRequest.delete(`/v1/libraries/${owner}/${name}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
2103
|
-
"400": decodeError("LibrariesDeleteLibrary400", LibrariesDeleteLibrary400),
|
|
2104
|
-
"401": decodeError("LibrariesDeleteLibrary401", LibrariesDeleteLibrary401),
|
|
2105
|
-
"403": decodeError("LibrariesDeleteLibrary403", LibrariesDeleteLibrary403),
|
|
2106
|
-
"404": decodeError("LibrariesDeleteLibrary404", LibrariesDeleteLibrary404),
|
|
2107
|
-
"422": decodeError("LibrariesDeleteLibrary422", LibrariesDeleteLibrary422),
|
|
2108
|
-
"204": () => Effect.void,
|
|
2109
|
-
orElse: unexpectedStatus,
|
|
2110
|
-
}))),
|
|
2111
|
-
LibrariesUpdateLibrary: (owner, name, options) => HttpClientRequest.patch(`/v1/libraries/${owner}/${name}`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
2112
|
-
"2xx": decodeSuccess(LibrariesUpdateLibrary200),
|
|
2113
|
-
"400": decodeError("LibrariesUpdateLibrary400", LibrariesUpdateLibrary400),
|
|
2114
|
-
"401": decodeError("LibrariesUpdateLibrary401", LibrariesUpdateLibrary401),
|
|
2115
|
-
"403": decodeError("LibrariesUpdateLibrary403", LibrariesUpdateLibrary403),
|
|
2116
|
-
"404": decodeError("LibrariesUpdateLibrary404", LibrariesUpdateLibrary404),
|
|
2117
|
-
"422": decodeError("LibrariesUpdateLibrary422", LibrariesUpdateLibrary422),
|
|
2118
|
-
orElse: unexpectedStatus,
|
|
2119
|
-
}))),
|
|
2120
1555
|
LibrariesListLibraryMembers: (owner, name, options) => HttpClientRequest.get(`/v1/libraries/${owner}/${name}/members`).pipe(HttpClientRequest.setUrlParams({
|
|
2121
1556
|
limit: options?.params?.["limit"],
|
|
2122
1557
|
offset: options?.params?.["offset"],
|
|
@@ -2129,87 +1564,6 @@ export const make = (httpClient, options = {}) => {
|
|
|
2129
1564
|
"422": decodeError("LibrariesListLibraryMembers422", LibrariesListLibraryMembers422),
|
|
2130
1565
|
orElse: unexpectedStatus,
|
|
2131
1566
|
}))),
|
|
2132
|
-
LibrariesPatchLibraryMembers: (owner, name, options) => HttpClientRequest.patch(`/v1/libraries/${owner}/${name}/members`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
2133
|
-
"2xx": decodeSuccess(LibrariesPatchLibraryMembers200),
|
|
2134
|
-
"400": decodeError("LibrariesPatchLibraryMembers400", LibrariesPatchLibraryMembers400),
|
|
2135
|
-
"401": decodeError("LibrariesPatchLibraryMembers401", LibrariesPatchLibraryMembers401),
|
|
2136
|
-
"403": decodeError("LibrariesPatchLibraryMembers403", LibrariesPatchLibraryMembers403),
|
|
2137
|
-
"404": decodeError("LibrariesPatchLibraryMembers404", LibrariesPatchLibraryMembers404),
|
|
2138
|
-
"422": decodeError("LibrariesPatchLibraryMembers422", LibrariesPatchLibraryMembers422),
|
|
2139
|
-
orElse: unexpectedStatus,
|
|
2140
|
-
}))),
|
|
2141
|
-
LibrariesSetLibraryVisibility: (owner, name, options) => HttpClientRequest.patch(`/v1/libraries/${owner}/${name}/visibility`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
2142
|
-
"2xx": decodeSuccess(LibrariesSetLibraryVisibility200),
|
|
2143
|
-
"400": decodeError("LibrariesSetLibraryVisibility400", LibrariesSetLibraryVisibility400),
|
|
2144
|
-
"401": decodeError("LibrariesSetLibraryVisibility401", LibrariesSetLibraryVisibility401),
|
|
2145
|
-
"403": decodeError("LibrariesSetLibraryVisibility403", LibrariesSetLibraryVisibility403),
|
|
2146
|
-
"404": decodeError("LibrariesSetLibraryVisibility404", LibrariesSetLibraryVisibility404),
|
|
2147
|
-
"422": decodeError("LibrariesSetLibraryVisibility422", LibrariesSetLibraryVisibility422),
|
|
2148
|
-
orElse: unexpectedStatus,
|
|
2149
|
-
}))),
|
|
2150
|
-
LibrariesSetLibraryMaintainer: (owner, name, options) => HttpClientRequest.put(`/v1/libraries/${owner}/${name}/maintainer`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
2151
|
-
"2xx": decodeSuccess(LibrariesSetLibraryMaintainer200),
|
|
2152
|
-
"400": decodeError("LibrariesSetLibraryMaintainer400", LibrariesSetLibraryMaintainer400),
|
|
2153
|
-
"401": decodeError("LibrariesSetLibraryMaintainer401", LibrariesSetLibraryMaintainer401),
|
|
2154
|
-
"403": decodeError("LibrariesSetLibraryMaintainer403", LibrariesSetLibraryMaintainer403),
|
|
2155
|
-
"404": decodeError("LibrariesSetLibraryMaintainer404", LibrariesSetLibraryMaintainer404),
|
|
2156
|
-
"422": decodeError("LibrariesSetLibraryMaintainer422", LibrariesSetLibraryMaintainer422),
|
|
2157
|
-
orElse: unexpectedStatus,
|
|
2158
|
-
}))),
|
|
2159
|
-
LibrariesClearLibraryMaintainer: (owner, name, options) => HttpClientRequest.delete(`/v1/libraries/${owner}/${name}/maintainer`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
2160
|
-
"2xx": decodeSuccess(LibrariesClearLibraryMaintainer200),
|
|
2161
|
-
"400": decodeError("LibrariesClearLibraryMaintainer400", LibrariesClearLibraryMaintainer400),
|
|
2162
|
-
"401": decodeError("LibrariesClearLibraryMaintainer401", LibrariesClearLibraryMaintainer401),
|
|
2163
|
-
"403": decodeError("LibrariesClearLibraryMaintainer403", LibrariesClearLibraryMaintainer403),
|
|
2164
|
-
"404": decodeError("LibrariesClearLibraryMaintainer404", LibrariesClearLibraryMaintainer404),
|
|
2165
|
-
"422": decodeError("LibrariesClearLibraryMaintainer422", LibrariesClearLibraryMaintainer422),
|
|
2166
|
-
orElse: unexpectedStatus,
|
|
2167
|
-
}))),
|
|
2168
|
-
LibrariesAddLibraryMember: (owner, name, extensionOwner, extensionType, extensionName, options) => HttpClientRequest.put(`/v1/libraries/${owner}/${name}/members/${extensionOwner}/${extensionType}/${extensionName}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
2169
|
-
"2xx": decodeSuccess(LibrariesAddLibraryMember200),
|
|
2170
|
-
"400": decodeError("LibrariesAddLibraryMember400", LibrariesAddLibraryMember400),
|
|
2171
|
-
"401": decodeError("LibrariesAddLibraryMember401", LibrariesAddLibraryMember401),
|
|
2172
|
-
"403": decodeError("LibrariesAddLibraryMember403", LibrariesAddLibraryMember403),
|
|
2173
|
-
"404": decodeError("LibrariesAddLibraryMember404", LibrariesAddLibraryMember404),
|
|
2174
|
-
"409": decodeError("LibrariesAddLibraryMember409", LibrariesAddLibraryMember409),
|
|
2175
|
-
"422": decodeError("LibrariesAddLibraryMember422", LibrariesAddLibraryMember422),
|
|
2176
|
-
orElse: unexpectedStatus,
|
|
2177
|
-
}))),
|
|
2178
|
-
LibrariesRemoveLibraryMember: (owner, name, extensionOwner, extensionType, extensionName, options) => HttpClientRequest.delete(`/v1/libraries/${owner}/${name}/members/${extensionOwner}/${extensionType}/${extensionName}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
2179
|
-
"400": decodeError("LibrariesRemoveLibraryMember400", LibrariesRemoveLibraryMember400),
|
|
2180
|
-
"401": decodeError("LibrariesRemoveLibraryMember401", LibrariesRemoveLibraryMember401),
|
|
2181
|
-
"403": decodeError("LibrariesRemoveLibraryMember403", LibrariesRemoveLibraryMember403),
|
|
2182
|
-
"404": decodeError("LibrariesRemoveLibraryMember404", LibrariesRemoveLibraryMember404),
|
|
2183
|
-
"422": decodeError("LibrariesRemoveLibraryMember422", LibrariesRemoveLibraryMember422),
|
|
2184
|
-
"204": () => Effect.void,
|
|
2185
|
-
orElse: unexpectedStatus,
|
|
2186
|
-
}))),
|
|
2187
|
-
MaintainerGetMaintainer: (owner, type, name, options) => HttpClientRequest.get(`/v1/extensions/${owner}/${type}/${name}/maintainer`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
2188
|
-
"2xx": decodeSuccess(MaintainerGetMaintainer200),
|
|
2189
|
-
"400": decodeError("MaintainerGetMaintainer400", MaintainerGetMaintainer400),
|
|
2190
|
-
"401": decodeError("MaintainerGetMaintainer401", MaintainerGetMaintainer401),
|
|
2191
|
-
"403": decodeError("MaintainerGetMaintainer403", MaintainerGetMaintainer403),
|
|
2192
|
-
"404": decodeError("MaintainerGetMaintainer404", MaintainerGetMaintainer404),
|
|
2193
|
-
orElse: unexpectedStatus,
|
|
2194
|
-
}))),
|
|
2195
|
-
MaintainerSetMaintainer: (owner, type, name, options) => HttpClientRequest.put(`/v1/extensions/${owner}/${type}/${name}/maintainer`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
2196
|
-
"2xx": decodeSuccess(MaintainerSetMaintainer200),
|
|
2197
|
-
"400": decodeError("MaintainerSetMaintainer400", MaintainerSetMaintainer400),
|
|
2198
|
-
"401": decodeError("MaintainerSetMaintainer401", MaintainerSetMaintainer401),
|
|
2199
|
-
"403": decodeError("MaintainerSetMaintainer403", MaintainerSetMaintainer403),
|
|
2200
|
-
"404": decodeError("MaintainerSetMaintainer404", MaintainerSetMaintainer404),
|
|
2201
|
-
"422": decodeError("MaintainerSetMaintainer422", MaintainerSetMaintainer422),
|
|
2202
|
-
orElse: unexpectedStatus,
|
|
2203
|
-
}))),
|
|
2204
|
-
MaintainerClearMaintainer: (owner, type, name, options) => HttpClientRequest.delete(`/v1/extensions/${owner}/${type}/${name}/maintainer`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
2205
|
-
"2xx": decodeSuccess(MaintainerClearMaintainer200),
|
|
2206
|
-
"400": decodeError("MaintainerClearMaintainer400", MaintainerClearMaintainer400),
|
|
2207
|
-
"401": decodeError("MaintainerClearMaintainer401", MaintainerClearMaintainer401),
|
|
2208
|
-
"403": decodeError("MaintainerClearMaintainer403", MaintainerClearMaintainer403),
|
|
2209
|
-
"404": decodeError("MaintainerClearMaintainer404", MaintainerClearMaintainer404),
|
|
2210
|
-
"422": decodeError("MaintainerClearMaintainer422", MaintainerClearMaintainer422),
|
|
2211
|
-
orElse: unexpectedStatus,
|
|
2212
|
-
}))),
|
|
2213
1567
|
DiscoveryPostDiscovery: (options) => HttpClientRequest.post(`/v1/discovery`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
2214
1568
|
"2xx": decodeSuccess(DiscoveryPostDiscovery200),
|
|
2215
1569
|
"400": decodeError("DiscoveryPostDiscovery400", DiscoveryPostDiscovery400),
|
|
@@ -2220,24 +1574,6 @@ export const make = (httpClient, options = {}) => {
|
|
|
2220
1574
|
"400": decodeError("HealthGetShallowHealth400", HealthGetShallowHealth400),
|
|
2221
1575
|
orElse: unexpectedStatus,
|
|
2222
1576
|
}))),
|
|
2223
|
-
HealthGetDeepHealth: (options) => HttpClientRequest.get(`/v1/health/dependencies`).pipe(HttpClientRequest.setHeaders({
|
|
2224
|
-
"x-health-key": options?.params?.["x-health-key"] ?? undefined,
|
|
2225
|
-
}), withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
2226
|
-
"2xx": decodeSuccess(HealthGetDeepHealth200),
|
|
2227
|
-
"400": decodeError("HealthGetDeepHealth400", HealthGetDeepHealth400),
|
|
2228
|
-
orElse: unexpectedStatus,
|
|
2229
|
-
}))),
|
|
2230
|
-
HealthGetObservabilityVerification: (options) => HttpClientRequest.get(`/v1/debug/observability`).pipe(HttpClientRequest.setUrlParams({
|
|
2231
|
-
level: options?.params?.["level"],
|
|
2232
|
-
scenario: options?.params?.["scenario"],
|
|
2233
|
-
scenarioId: options?.params?.["scenarioId"],
|
|
2234
|
-
}), HttpClientRequest.setHeaders({
|
|
2235
|
-
"x-health-key": options?.params?.["x-health-key"] ?? undefined,
|
|
2236
|
-
}), withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
2237
|
-
"2xx": decodeSuccess(HealthGetObservabilityVerification200),
|
|
2238
|
-
"400": decodeError("HealthGetObservabilityVerification400", HealthGetObservabilityVerification400),
|
|
2239
|
-
orElse: unexpectedStatus,
|
|
2240
|
-
}))),
|
|
2241
1577
|
SearchSearchExtensions: (options) => HttpClientRequest.get(`/v1/search`).pipe(HttpClientRequest.setUrlParams({
|
|
2242
1578
|
q: options.params["q"],
|
|
2243
1579
|
cursor: options.params["cursor"],
|