@distilled.cloud/namespacelabs 1.0.0-rc.20 → 1.0.0-rc.21
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/README.md +19 -10
- package/lib/.lazy.json +1 -1
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +27 -9
- package/lib/credentials.d.ts.map +1 -1
- package/lib/errors.d.ts +26 -0
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/index.d.ts +10 -8
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +0 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/protocol.d.ts +11 -7
- package/lib/protocol.d.ts.map +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/services/buildkite_jobs.d.ts +8 -0
- package/lib/services/buildkite_jobs.d.ts.map +1 -1
- package/lib/services/buildkite_jobs.js +1 -1
- package/lib/services/buildkite_jobs.js.map +1 -1
- package/lib/services/buildkite_queue.d.ts +8 -0
- package/lib/services/buildkite_queue.d.ts.map +1 -1
- package/lib/services/buildkite_queue.js +1 -1
- package/lib/services/buildkite_queue.js.map +1 -1
- package/lib/services/index.d.ts +0 -27
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +0 -27
- package/lib/services.lazy/index.js +2 -2
- package/lib/traits.d.ts.map +1 -1
- package/lib/{services → unstable-services}/artifacts.d.ts +8 -0
- package/lib/unstable-services/artifacts.d.ts.map +1 -0
- package/lib/unstable-services/artifacts.js +2 -0
- package/lib/unstable-services/artifacts.js.map +1 -0
- package/lib/{services → unstable-services}/audit.d.ts +8 -0
- package/lib/unstable-services/audit.d.ts.map +1 -0
- package/lib/unstable-services/audit.js +2 -0
- package/lib/unstable-services/audit.js.map +1 -0
- package/lib/{services → unstable-services}/bazel.d.ts +8 -0
- package/lib/unstable-services/bazel.d.ts.map +1 -0
- package/lib/unstable-services/bazel.js +2 -0
- package/lib/unstable-services/bazel.js.map +1 -0
- package/lib/{services → unstable-services}/bazel_cache.d.ts +8 -0
- package/lib/unstable-services/bazel_cache.d.ts.map +1 -0
- package/lib/unstable-services/bazel_cache.js +2 -0
- package/lib/unstable-services/bazel_cache.js.map +1 -0
- package/lib/{services → unstable-services}/builder.d.ts +8 -0
- package/lib/unstable-services/builder.d.ts.map +1 -0
- package/lib/unstable-services/builder.js +2 -0
- package/lib/unstable-services/builder.js.map +1 -0
- package/lib/{services → unstable-services}/compute.d.ts +67 -0
- package/lib/unstable-services/compute.d.ts.map +1 -0
- package/lib/unstable-services/compute.js +47 -0
- package/lib/unstable-services/compute.js.map +1 -0
- package/lib/{services → unstable-services}/compute_command.d.ts +8 -0
- package/lib/unstable-services/compute_command.d.ts.map +1 -0
- package/lib/unstable-services/compute_command.js +2 -0
- package/lib/unstable-services/compute_command.js.map +1 -0
- package/lib/{services → unstable-services}/compute_observability.d.ts +8 -0
- package/lib/unstable-services/compute_observability.d.ts.map +1 -0
- package/lib/unstable-services/compute_observability.js +2 -0
- package/lib/unstable-services/compute_observability.js.map +1 -0
- package/lib/{services → unstable-services}/compute_storage.d.ts +8 -0
- package/lib/unstable-services/compute_storage.d.ts.map +1 -0
- package/lib/unstable-services/compute_storage.js +33 -0
- package/lib/unstable-services/compute_storage.js.map +1 -0
- package/lib/{services → unstable-services}/compute_usage.d.ts +8 -0
- package/lib/unstable-services/compute_usage.d.ts.map +1 -0
- package/lib/unstable-services/compute_usage.js +2 -0
- package/lib/unstable-services/compute_usage.js.map +1 -0
- package/lib/{services → unstable-services}/egress.d.ts +8 -0
- package/lib/unstable-services/egress.d.ts.map +1 -0
- package/lib/unstable-services/egress.js +2 -0
- package/lib/unstable-services/egress.js.map +1 -0
- package/lib/{services → unstable-services}/experimental_compute_reservation.d.ts +11 -1
- package/lib/unstable-services/experimental_compute_reservation.d.ts.map +1 -0
- package/lib/unstable-services/experimental_compute_reservation.js +23 -0
- package/lib/unstable-services/experimental_compute_reservation.js.map +1 -0
- package/lib/{services → unstable-services}/experimental_remote_results.d.ts +8 -0
- package/lib/unstable-services/experimental_remote_results.d.ts.map +1 -0
- package/lib/unstable-services/experimental_remote_results.js +2 -0
- package/lib/unstable-services/experimental_remote_results.js.map +1 -0
- package/lib/{services → unstable-services}/github_image.d.ts +8 -0
- package/lib/unstable-services/github_image.d.ts.map +1 -0
- package/lib/unstable-services/github_image.js +2 -0
- package/lib/unstable-services/github_image.js.map +1 -0
- package/lib/{services → unstable-services}/github_jobs.d.ts +8 -0
- package/lib/unstable-services/github_jobs.d.ts.map +1 -0
- package/lib/unstable-services/github_jobs.js +2 -0
- package/lib/unstable-services/github_jobs.js.map +1 -0
- package/lib/{services → unstable-services}/github_profile.d.ts +8 -0
- package/lib/unstable-services/github_profile.d.ts.map +1 -0
- package/lib/unstable-services/github_profile.js +2 -0
- package/lib/unstable-services/github_profile.js.map +1 -0
- package/lib/{services → unstable-services}/gradle_cache.d.ts +8 -0
- package/lib/unstable-services/gradle_cache.d.ts.map +1 -0
- package/lib/unstable-services/gradle_cache.js +2 -0
- package/lib/unstable-services/gradle_cache.js.map +1 -0
- package/lib/{services → unstable-services}/httpcache.d.ts +8 -0
- package/lib/unstable-services/httpcache.d.ts.map +1 -0
- package/lib/unstable-services/httpcache.js +2 -0
- package/lib/unstable-services/httpcache.js.map +1 -0
- package/lib/{services → unstable-services}/iam_tenant.d.ts +95 -11
- package/lib/unstable-services/iam_tenant.d.ts.map +1 -0
- package/lib/unstable-services/iam_tenant.js +45 -0
- package/lib/unstable-services/iam_tenant.js.map +1 -0
- package/lib/{services → unstable-services}/iam_tenant_membership.d.ts +8 -0
- package/lib/unstable-services/iam_tenant_membership.d.ts.map +1 -0
- package/lib/unstable-services/iam_tenant_membership.js +2 -0
- package/lib/unstable-services/iam_tenant_membership.js.map +1 -0
- package/lib/{services → unstable-services}/iam_token.d.ts +8 -0
- package/lib/unstable-services/iam_token.d.ts.map +1 -0
- package/lib/unstable-services/iam_token.js +2 -0
- package/lib/unstable-services/iam_token.js.map +1 -0
- package/lib/{services → unstable-services}/image.d.ts +8 -0
- package/lib/unstable-services/image.d.ts.map +1 -0
- package/lib/unstable-services/image.js +2 -0
- package/lib/unstable-services/image.js.map +1 -0
- package/lib/unstable-services/index.d.ts +28 -0
- package/lib/unstable-services/index.d.ts.map +1 -0
- package/lib/unstable-services/index.js +27 -0
- package/lib/{services → unstable-services}/private_devbox.d.ts +24 -0
- package/lib/unstable-services/private_devbox.d.ts.map +1 -0
- package/lib/unstable-services/private_devbox.js +81 -0
- package/lib/unstable-services/private_devbox.js.map +1 -0
- package/lib/{services → unstable-services}/private_user_sessions.d.ts +8 -0
- package/lib/unstable-services/private_user_sessions.d.ts.map +1 -0
- package/lib/unstable-services/private_user_sessions.js +2 -0
- package/lib/unstable-services/private_user_sessions.js.map +1 -0
- package/lib/{services → unstable-services}/registry.d.ts +8 -0
- package/lib/unstable-services/registry.d.ts.map +1 -0
- package/lib/unstable-services/registry.js +34 -0
- package/lib/unstable-services/registry.js.map +1 -0
- package/lib/{services → unstable-services}/testing.d.ts +8 -0
- package/lib/unstable-services/testing.d.ts.map +1 -0
- package/lib/unstable-services/testing.js +2 -0
- package/lib/unstable-services/testing.js.map +1 -0
- package/lib/{services → unstable-services}/vault.d.ts +8 -0
- package/lib/unstable-services/vault.d.ts.map +1 -0
- package/lib/unstable-services/vault.js +2 -0
- package/lib/unstable-services/vault.js.map +1 -0
- package/lib/unstable-services.lazy/artifacts.js +1 -0
- package/lib/unstable-services.lazy/audit.js +1 -0
- package/lib/unstable-services.lazy/bazel.js +1 -0
- package/lib/unstable-services.lazy/bazel_cache.js +1 -0
- package/lib/unstable-services.lazy/builder.js +1 -0
- package/lib/unstable-services.lazy/compute.js +4 -0
- package/lib/unstable-services.lazy/compute_command.js +1 -0
- package/lib/unstable-services.lazy/compute_observability.js +1 -0
- package/lib/{services.lazy → unstable-services.lazy}/compute_storage.js +1 -1
- package/lib/unstable-services.lazy/compute_usage.js +1 -0
- package/lib/unstable-services.lazy/egress.js +1 -0
- package/lib/{services.lazy → unstable-services.lazy}/experimental_compute_reservation.js +1 -1
- package/lib/unstable-services.lazy/experimental_remote_results.js +1 -0
- package/lib/unstable-services.lazy/github_image.js +1 -0
- package/lib/unstable-services.lazy/github_jobs.js +1 -0
- package/lib/unstable-services.lazy/github_profile.js +1 -0
- package/lib/unstable-services.lazy/gradle_cache.js +1 -0
- package/lib/unstable-services.lazy/httpcache.js +1 -0
- package/lib/unstable-services.lazy/iam_tenant.js +4 -0
- package/lib/unstable-services.lazy/iam_tenant_membership.js +1 -0
- package/lib/unstable-services.lazy/iam_token.js +1 -0
- package/lib/unstable-services.lazy/image.js +1 -0
- package/lib/unstable-services.lazy/index.js +3 -0
- package/lib/{services.lazy → unstable-services.lazy}/private_devbox.js +1 -1
- package/lib/unstable-services.lazy/private_user_sessions.js +1 -0
- package/lib/{services.lazy → unstable-services.lazy}/registry.js +1 -1
- package/lib/unstable-services.lazy/testing.js +1 -0
- package/lib/unstable-services.lazy/vault.js +1 -0
- package/package.json +12 -5
- package/src/credentials.ts +84 -40
- package/src/errors.ts +24 -0
- package/src/index.ts +10 -8
- package/src/protocol.ts +27 -26
- package/src/services/buildkite_jobs.ts +10 -2
- package/src/services/buildkite_queue.ts +12 -4
- package/src/services/index.ts +0 -27
- package/src/{services → unstable-services}/artifacts.ts +16 -8
- package/src/{services → unstable-services}/audit.ts +10 -2
- package/src/{services → unstable-services}/bazel.ts +12 -4
- package/src/{services → unstable-services}/bazel_cache.ts +10 -2
- package/src/{services → unstable-services}/builder.ts +13 -5
- package/src/{services → unstable-services}/compute.ts +422 -225
- package/src/{services → unstable-services}/compute_command.ts +10 -2
- package/src/{services → unstable-services}/compute_observability.ts +12 -4
- package/src/{services → unstable-services}/compute_storage.ts +20 -12
- package/src/{services → unstable-services}/compute_usage.ts +14 -6
- package/src/{services → unstable-services}/egress.ts +13 -5
- package/src/{services → unstable-services}/experimental_compute_reservation.ts +44 -33
- package/src/{services → unstable-services}/experimental_remote_results.ts +15 -7
- package/src/{services → unstable-services}/github_image.ts +10 -2
- package/src/{services → unstable-services}/github_jobs.ts +11 -3
- package/src/{services → unstable-services}/github_profile.ts +14 -6
- package/src/{services → unstable-services}/gradle_cache.ts +11 -3
- package/src/{services → unstable-services}/httpcache.ts +11 -3
- package/src/{services → unstable-services}/iam_tenant.ts +524 -159
- package/src/{services → unstable-services}/iam_tenant_membership.ts +11 -3
- package/src/{services → unstable-services}/iam_token.ts +17 -9
- package/src/{services → unstable-services}/image.ts +14 -6
- package/src/unstable-services/index.ts +28 -0
- package/src/{services → unstable-services}/private_devbox.ts +82 -43
- package/src/{services → unstable-services}/private_user_sessions.ts +13 -5
- package/src/{services → unstable-services}/registry.ts +22 -14
- package/src/{services → unstable-services}/testing.ts +12 -4
- package/src/{services → unstable-services}/vault.ts +14 -6
- package/lib/index.lazy.js +0 -7
- package/lib/index.lazy.js.map +0 -1
- package/lib/services/artifacts.d.ts.map +0 -1
- package/lib/services/artifacts.js +0 -2
- package/lib/services/artifacts.js.map +0 -1
- package/lib/services/audit.d.ts.map +0 -1
- package/lib/services/audit.js +0 -2
- package/lib/services/audit.js.map +0 -1
- package/lib/services/bazel.d.ts.map +0 -1
- package/lib/services/bazel.js +0 -2
- package/lib/services/bazel.js.map +0 -1
- package/lib/services/bazel_cache.d.ts.map +0 -1
- package/lib/services/bazel_cache.js +0 -2
- package/lib/services/bazel_cache.js.map +0 -1
- package/lib/services/builder.d.ts.map +0 -1
- package/lib/services/builder.js +0 -2
- package/lib/services/builder.js.map +0 -1
- package/lib/services/compute.d.ts.map +0 -1
- package/lib/services/compute.js +0 -43
- package/lib/services/compute.js.map +0 -1
- package/lib/services/compute_command.d.ts.map +0 -1
- package/lib/services/compute_command.js +0 -2
- package/lib/services/compute_command.js.map +0 -1
- package/lib/services/compute_observability.d.ts.map +0 -1
- package/lib/services/compute_observability.js +0 -2
- package/lib/services/compute_observability.js.map +0 -1
- package/lib/services/compute_storage.d.ts.map +0 -1
- package/lib/services/compute_storage.js +0 -33
- package/lib/services/compute_storage.js.map +0 -1
- package/lib/services/compute_usage.d.ts.map +0 -1
- package/lib/services/compute_usage.js +0 -2
- package/lib/services/compute_usage.js.map +0 -1
- package/lib/services/egress.d.ts.map +0 -1
- package/lib/services/egress.js +0 -2
- package/lib/services/egress.js.map +0 -1
- package/lib/services/experimental_compute_reservation.d.ts.map +0 -1
- package/lib/services/experimental_compute_reservation.js +0 -23
- package/lib/services/experimental_compute_reservation.js.map +0 -1
- package/lib/services/experimental_remote_results.d.ts.map +0 -1
- package/lib/services/experimental_remote_results.js +0 -2
- package/lib/services/experimental_remote_results.js.map +0 -1
- package/lib/services/github_image.d.ts.map +0 -1
- package/lib/services/github_image.js +0 -2
- package/lib/services/github_image.js.map +0 -1
- package/lib/services/github_jobs.d.ts.map +0 -1
- package/lib/services/github_jobs.js +0 -2
- package/lib/services/github_jobs.js.map +0 -1
- package/lib/services/github_profile.d.ts.map +0 -1
- package/lib/services/github_profile.js +0 -2
- package/lib/services/github_profile.js.map +0 -1
- package/lib/services/gradle_cache.d.ts.map +0 -1
- package/lib/services/gradle_cache.js +0 -2
- package/lib/services/gradle_cache.js.map +0 -1
- package/lib/services/httpcache.d.ts.map +0 -1
- package/lib/services/httpcache.js +0 -2
- package/lib/services/httpcache.js.map +0 -1
- package/lib/services/iam_tenant.d.ts.map +0 -1
- package/lib/services/iam_tenant.js +0 -39
- package/lib/services/iam_tenant.js.map +0 -1
- package/lib/services/iam_tenant_membership.d.ts.map +0 -1
- package/lib/services/iam_tenant_membership.js +0 -2
- package/lib/services/iam_tenant_membership.js.map +0 -1
- package/lib/services/iam_token.d.ts.map +0 -1
- package/lib/services/iam_token.js +0 -2
- package/lib/services/iam_token.js.map +0 -1
- package/lib/services/image.d.ts.map +0 -1
- package/lib/services/image.js +0 -2
- package/lib/services/image.js.map +0 -1
- package/lib/services/private_devbox.d.ts.map +0 -1
- package/lib/services/private_devbox.js +0 -81
- package/lib/services/private_devbox.js.map +0 -1
- package/lib/services/private_user_sessions.d.ts.map +0 -1
- package/lib/services/private_user_sessions.js +0 -2
- package/lib/services/private_user_sessions.js.map +0 -1
- package/lib/services/registry.d.ts.map +0 -1
- package/lib/services/registry.js +0 -34
- package/lib/services/registry.js.map +0 -1
- package/lib/services/testing.d.ts.map +0 -1
- package/lib/services/testing.js +0 -2
- package/lib/services/testing.js.map +0 -1
- package/lib/services/vault.d.ts.map +0 -1
- package/lib/services/vault.js +0 -2
- package/lib/services/vault.js.map +0 -1
- package/lib/services.lazy/artifacts.js +0 -1
- package/lib/services.lazy/audit.js +0 -1
- package/lib/services.lazy/bazel.js +0 -1
- package/lib/services.lazy/bazel_cache.js +0 -1
- package/lib/services.lazy/builder.js +0 -1
- package/lib/services.lazy/compute.js +0 -4
- package/lib/services.lazy/compute_command.js +0 -1
- package/lib/services.lazy/compute_observability.js +0 -1
- package/lib/services.lazy/compute_usage.js +0 -1
- package/lib/services.lazy/egress.js +0 -1
- package/lib/services.lazy/experimental_remote_results.js +0 -1
- package/lib/services.lazy/github_image.js +0 -1
- package/lib/services.lazy/github_jobs.js +0 -1
- package/lib/services.lazy/github_profile.js +0 -1
- package/lib/services.lazy/gradle_cache.js +0 -1
- package/lib/services.lazy/httpcache.js +0 -1
- package/lib/services.lazy/iam_tenant.js +0 -4
- package/lib/services.lazy/iam_tenant_membership.js +0 -1
- package/lib/services.lazy/iam_token.js +0 -1
- package/lib/services.lazy/image.js +0 -1
- package/lib/services.lazy/private_user_sessions.js +0 -1
- package/lib/services.lazy/testing.js +0 -1
- package/lib/services.lazy/vault.js +0 -1
|
@@ -6,6 +6,7 @@ export type { NamespaceLabsOpError, NamespaceLabsOpContext };
|
|
|
6
6
|
declare const AlreadyExists_base: S.TaggedErrorClass<"AlreadyExists", {
|
|
7
7
|
readonly message: any;
|
|
8
8
|
readonly body: any;
|
|
9
|
+
readonly headers: any;
|
|
9
10
|
}> & (new (...args: any[]) => {
|
|
10
11
|
"@distilled.cloud/error/categories": {
|
|
11
12
|
ConflictError: true;
|
|
@@ -16,6 +17,7 @@ export declare class AlreadyExists extends /*@__PURE__*/ AlreadyExists_base {
|
|
|
16
17
|
declare const FailedPrecondition_base: S.TaggedErrorClass<"FailedPrecondition", {
|
|
17
18
|
readonly message: any;
|
|
18
19
|
readonly body: any;
|
|
20
|
+
readonly headers: any;
|
|
19
21
|
}> & (new (...args: any[]) => {
|
|
20
22
|
"@distilled.cloud/error/categories": {
|
|
21
23
|
BadRequestError: true;
|
|
@@ -26,6 +28,7 @@ export declare class FailedPrecondition extends /*@__PURE__*/ FailedPrecondition
|
|
|
26
28
|
declare const InvalidArgument_base: S.TaggedErrorClass<"InvalidArgument", {
|
|
27
29
|
readonly message: any;
|
|
28
30
|
readonly body: any;
|
|
31
|
+
readonly headers: any;
|
|
29
32
|
}> & (new (...args: any[]) => {
|
|
30
33
|
"@distilled.cloud/error/categories": {
|
|
31
34
|
BadRequestError: true;
|
|
@@ -36,6 +39,7 @@ export declare class InvalidArgument extends /*@__PURE__*/ InvalidArgument_base
|
|
|
36
39
|
declare const NotFound_base: S.TaggedErrorClass<"NotFound", {
|
|
37
40
|
readonly message: any;
|
|
38
41
|
readonly body: any;
|
|
42
|
+
readonly headers: any;
|
|
39
43
|
}> & (new (...args: any[]) => {
|
|
40
44
|
"@distilled.cloud/error/categories": {
|
|
41
45
|
BadRequestError: true;
|
|
@@ -46,6 +50,7 @@ export declare class NotFound extends /*@__PURE__*/ NotFound_base {
|
|
|
46
50
|
declare const PermissionDenied_base: S.TaggedErrorClass<"PermissionDenied", {
|
|
47
51
|
readonly message: any;
|
|
48
52
|
readonly body: any;
|
|
53
|
+
readonly headers: any;
|
|
49
54
|
}> & (new (...args: any[]) => {
|
|
50
55
|
"@distilled.cloud/error/categories": {
|
|
51
56
|
AuthError: true;
|
|
@@ -56,6 +61,8 @@ export declare class PermissionDenied extends /*@__PURE__*/ PermissionDenied_bas
|
|
|
56
61
|
declare const ResourceExhausted_base: S.TaggedErrorClass<"ResourceExhausted", {
|
|
57
62
|
readonly message: any;
|
|
58
63
|
readonly body: any;
|
|
64
|
+
readonly headers: any;
|
|
65
|
+
readonly retryAfter: any;
|
|
59
66
|
}> & (new (...args: any[]) => {
|
|
60
67
|
"@distilled.cloud/error/categories": {
|
|
61
68
|
ThrottlingError: true;
|
|
@@ -66,6 +73,7 @@ export declare class ResourceExhausted extends /*@__PURE__*/ ResourceExhausted_b
|
|
|
66
73
|
declare const Unauthenticated_base: S.TaggedErrorClass<"Unauthenticated", {
|
|
67
74
|
readonly message: any;
|
|
68
75
|
readonly body: any;
|
|
76
|
+
readonly headers: any;
|
|
69
77
|
}> & (new (...args: any[]) => {
|
|
70
78
|
"@distilled.cloud/error/categories": {
|
|
71
79
|
AuthError: true;
|
|
@@ -126,12 +134,55 @@ export interface Tenant {
|
|
|
126
134
|
export interface CreateTenantResponse {
|
|
127
135
|
tenant?: Tenant | undefined;
|
|
128
136
|
}
|
|
137
|
+
export type StringList = Array<string>;
|
|
138
|
+
/** Defines a permission grant on a resource. Permissions are used to restrict what a token is allowed to do. See https://namespace.so/docs/security/permissions for a list of available resource types and actions. */
|
|
139
|
+
export interface Permission {
|
|
140
|
+
/** The type of resource this permission applies to, e.g. "instance", "vault/object", "token/revokable". */
|
|
141
|
+
resourceType?: string | undefined;
|
|
142
|
+
/** The specific resource ID, or empty for all resources of this type. */
|
|
143
|
+
resourceId?: string | undefined;
|
|
144
|
+
/** The set of actions allowed on the resource, e.g. "create", "list", "describe". */
|
|
145
|
+
actions?: StringList | undefined;
|
|
146
|
+
}
|
|
147
|
+
export type PermissionList = Array<Permission>;
|
|
148
|
+
export type StringMap = {
|
|
149
|
+
[key: string]: string | undefined;
|
|
150
|
+
};
|
|
151
|
+
export interface TrustRelationshipSpec {
|
|
152
|
+
/** Exact OIDC issuer URL. Namespace discovers its public signing keys. */
|
|
153
|
+
issuer?: string | undefined;
|
|
154
|
+
/** Glob pattern for the token's subject claim. */
|
|
155
|
+
subjectMatch?: string | undefined;
|
|
156
|
+
/** Defaults to https://federation.namespaceapis.com. */
|
|
157
|
+
audience?: string | undefined;
|
|
158
|
+
/** Permissions granted to exchanged tokens. If empty, tenant defaults apply. */
|
|
159
|
+
defaultPermissions?: PermissionList | undefined;
|
|
160
|
+
/** Defaults to one hour, capped by maximum_token_duration. */
|
|
161
|
+
defaultTokenDuration?: string | undefined;
|
|
162
|
+
/** Up to 24 hours. */
|
|
163
|
+
maximumTokenDuration?: string | undefined;
|
|
164
|
+
/** Glob patterns for additional string claims. All must match. Does not support iss, sub, or aud. */
|
|
165
|
+
claimMatches?: StringMap | undefined;
|
|
166
|
+
}
|
|
167
|
+
export interface CreateTrustRelationshipRequest {
|
|
168
|
+
spec?: TrustRelationshipSpec | undefined;
|
|
169
|
+
}
|
|
170
|
+
export interface CreateTrustRelationshipResponse {
|
|
171
|
+
id: string;
|
|
172
|
+
}
|
|
129
173
|
export interface DeleteTenantGroupRequest {
|
|
130
174
|
/** A canonical name for the Tenant group. Tenant groups are identified by name and scoped per Namespace Partner. */
|
|
131
175
|
name?: string | undefined;
|
|
132
176
|
}
|
|
133
177
|
export interface DeleteTenantGroupResponse {
|
|
134
178
|
}
|
|
179
|
+
export interface DeleteTrustRelationshipRequest {
|
|
180
|
+
id?: string | undefined;
|
|
181
|
+
/** Only delete if generation matches. Obtain the current value from ListTrustRelationships or DescribeTrustRelationship. */
|
|
182
|
+
generation?: string | undefined;
|
|
183
|
+
}
|
|
184
|
+
export interface DeleteTrustRelationshipResponse {
|
|
185
|
+
}
|
|
135
186
|
export interface DescribePoliciesRequest {
|
|
136
187
|
}
|
|
137
188
|
export interface DescribePoliciesResponse {
|
|
@@ -149,7 +200,6 @@ export interface TenantGroupPolicy {
|
|
|
149
200
|
value?: string | undefined;
|
|
150
201
|
}
|
|
151
202
|
export type TenantGroupPolicyList = Array<TenantGroupPolicy>;
|
|
152
|
-
export type StringList = Array<string>;
|
|
153
203
|
export interface DescribeTenantGroupResponse {
|
|
154
204
|
/** A canonical name for the Tenant group. Tenant groups are identified by name and scoped per Namespace Partner. */
|
|
155
205
|
name: string;
|
|
@@ -160,6 +210,15 @@ export interface DescribeTenantGroupResponse {
|
|
|
160
210
|
/** The full history of policy revisions, latest first. Each version entry corresponds to one stored revision of the policy. */
|
|
161
211
|
versions: TenantGroupPolicyList;
|
|
162
212
|
}
|
|
213
|
+
export interface DescribeTrustRelationshipRequest {
|
|
214
|
+
id?: string | undefined;
|
|
215
|
+
}
|
|
216
|
+
export interface DescribeTrustRelationshipResponse {
|
|
217
|
+
generation: string;
|
|
218
|
+
id: string;
|
|
219
|
+
createdAt?: string | undefined;
|
|
220
|
+
spec?: TrustRelationshipSpec | undefined;
|
|
221
|
+
}
|
|
163
222
|
export interface EnsureTenantForExternalAccountRequest {
|
|
164
223
|
/** Specify the Tenant's visible name, e.g. "Foobar (production)". The Tenant's name is visible in Namespace-based interfaces, such as the Dashboard or the CLI. A visible name is optional. */
|
|
165
224
|
visibleName?: string | undefined;
|
|
@@ -184,16 +243,6 @@ export interface EnsureTenantGroupRequest {
|
|
|
184
243
|
export interface EnsureTenantGroupResponse {
|
|
185
244
|
name: string;
|
|
186
245
|
}
|
|
187
|
-
/** Defines a permission grant on a resource. Permissions are used to restrict what a token is allowed to do. See https://namespace.so/docs/security/permissions for a list of available resource types and actions. */
|
|
188
|
-
export interface Permission {
|
|
189
|
-
/** The type of resource this permission applies to, e.g. "instance", "vault/object", "token/revokable". */
|
|
190
|
-
resourceType?: string | undefined;
|
|
191
|
-
/** The specific resource ID, or empty for all resources of this type. */
|
|
192
|
-
resourceId?: string | undefined;
|
|
193
|
-
/** The set of actions allowed on the resource, e.g. "create", "list", "describe". */
|
|
194
|
-
actions?: StringList | undefined;
|
|
195
|
-
}
|
|
196
|
-
export type PermissionList = Array<Permission>;
|
|
197
246
|
export interface ExchangeTenantTokenForClientCertRequest {
|
|
198
247
|
/** The public key for which the certificate should be issued. This must contain exactly one PEM "PUBLIC KEY" block. */
|
|
199
248
|
publicKeyPem?: string | undefined;
|
|
@@ -281,6 +330,18 @@ export interface ListTenantsResponse {
|
|
|
281
330
|
/** If present, then there are additional tenants that match the original query, but were not returned in this response. Issue a 2nd List call, passing in the cursor, to obtain the next set. */
|
|
282
331
|
cursor: string;
|
|
283
332
|
}
|
|
333
|
+
export interface ListTrustRelationshipsRequest {
|
|
334
|
+
}
|
|
335
|
+
export interface ListTrustRelationshipsResponseEntry {
|
|
336
|
+
id: string;
|
|
337
|
+
createdAt?: string | undefined;
|
|
338
|
+
spec?: TrustRelationshipSpec | undefined;
|
|
339
|
+
generation: string;
|
|
340
|
+
}
|
|
341
|
+
export type ListTrustRelationshipsResponseEntryList = Array<ListTrustRelationshipsResponseEntry>;
|
|
342
|
+
export interface ListTrustRelationshipsResponse {
|
|
343
|
+
trustRelationships: ListTrustRelationshipsResponseEntryList;
|
|
344
|
+
}
|
|
284
345
|
export interface RemoveTenantRequest {
|
|
285
346
|
/** The ID of the Tenant that is the target of a particular call. */
|
|
286
347
|
tenantId?: string | undefined;
|
|
@@ -322,18 +383,35 @@ export interface UpdateTenantRequest {
|
|
|
322
383
|
export interface UpdateTenantResponse {
|
|
323
384
|
tenant?: Tenant | undefined;
|
|
324
385
|
}
|
|
386
|
+
export interface UpdateTrustRelationshipRequest {
|
|
387
|
+
id?: string | undefined;
|
|
388
|
+
/** Only update if generation matches. Obtain the current value from ListTrustRelationships or DescribeTrustRelationship. */
|
|
389
|
+
generation?: string | undefined;
|
|
390
|
+
spec?: TrustRelationshipSpec | undefined;
|
|
391
|
+
}
|
|
392
|
+
export interface UpdateTrustRelationshipResponse {
|
|
393
|
+
}
|
|
325
394
|
export type CreateTenantError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
326
395
|
/** Creates a new Tenant. After a tenant creation call returns, the Tenant can be used immediately. Tenants can be cordoned temporarily (via `SuspendTenant`) or removed permanently (via `RemoveTenant`). ### Errors - If one of the properties that are passed in is invalid, an `InvalidArgument` error is returned. - If a tenant with the specified `external_account_id` already exists `FailedPrecondition` error is returned. */
|
|
327
396
|
export declare const createTenant: API.OperationMethod<CreateTenantRequest, CreateTenantResponse, CreateTenantError, NamespaceLabsOpContext>;
|
|
397
|
+
export type CreateTrustRelationshipError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
398
|
+
/** Creates an OIDC trust relationship in the tenant. */
|
|
399
|
+
export declare const createTrustRelationship: API.OperationMethod<CreateTrustRelationshipRequest, CreateTrustRelationshipResponse, CreateTrustRelationshipError, NamespaceLabsOpContext>;
|
|
328
400
|
export type DeleteTenantGroupError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
329
401
|
/** Deletes a Tenant Group owned by the Namespace Partner Account. ### Errors - If the tenant group referenced does not exist, a `NotFound` status is returned. - If any active tenants are enrolled in the tenant group, a `FailedPrecondition` status is returned. */
|
|
330
402
|
export declare const deleteTenantGroup: API.OperationMethod<DeleteTenantGroupRequest, DeleteTenantGroupResponse, DeleteTenantGroupError, NamespaceLabsOpContext>;
|
|
403
|
+
export type DeleteTrustRelationshipError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
404
|
+
/** Deletes an OIDC trust relationship from the tenant. ### Errors - If the relationship does not exist, a `NotFound` status is returned. - If the generation does not match, a `FailedPrecondition` status is returned. The current generation can be retrieved from ListTrustRelationships or DescribeTrustRelationship. */
|
|
405
|
+
export declare const deleteTrustRelationship: API.OperationMethod<DeleteTrustRelationshipRequest, DeleteTrustRelationshipResponse, DeleteTrustRelationshipError, NamespaceLabsOpContext>;
|
|
331
406
|
export type DescribePoliciesError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
332
407
|
/** Retrieves the policies that apply to the tenant. Requires either a partner token, or an admin-scoped tenant token. ### Errors - If the tenant referenced does not exist, a `NotFound` status is returned. */
|
|
333
408
|
export declare const describePolicies: API.OperationMethod<DescribePoliciesRequest, DescribePoliciesResponse, DescribePoliciesError, NamespaceLabsOpContext>;
|
|
334
409
|
export type DescribeTenantGroupError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
335
410
|
/** Lists all Tenant Groups owned by the Namespace Partner Account. */
|
|
336
411
|
export declare const describeTenantGroup: API.OperationMethod<DescribeTenantGroupRequest, DescribeTenantGroupResponse, DescribeTenantGroupError, NamespaceLabsOpContext>;
|
|
412
|
+
export type DescribeTrustRelationshipError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
413
|
+
/** Retrieves an OIDC trust relationship from the tenant. ### Errors - If the relationship does not exist, a `NotFound` status is returned. */
|
|
414
|
+
export declare const describeTrustRelationship: API.OperationMethod<DescribeTrustRelationshipRequest, DescribeTrustRelationshipResponse, DescribeTrustRelationshipError, NamespaceLabsOpContext>;
|
|
337
415
|
export type EnsureTenantForExternalAccountError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
338
416
|
/** Creates or updates a tenant associated with an external account. Namespace allows to associate a unique tenant to an opaque external account ID. If a tenant with the given external ID already exists its properties are updated and the existing tenant is returned. Otherwise a new tenant is created with the associated external ID. Tenants created by CreateTenant never have an associated external ID. External account ID cannot be modified after creation. ### Errors - If one of the properties that are passed in is invalid, an `InvalidArgument` error is returned. */
|
|
339
417
|
export declare const ensureTenantForExternalAccount: API.OperationMethod<EnsureTenantForExternalAccountRequest, EnsureTenantForExternalAccountResponse, EnsureTenantForExternalAccountError, NamespaceLabsOpContext>;
|
|
@@ -355,6 +433,9 @@ export declare const listTenantGroups: API.OperationMethod<ListTenantGroupsReque
|
|
|
355
433
|
export type ListTenantsError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
356
434
|
/** Lists all tenants that match the criteria specified. */
|
|
357
435
|
export declare const listTenants: API.PaginatedOperationMethod<ListTenantsRequest, ListTenantsResponse, ListTenantsError, NamespaceLabsOpContext, Tenant>;
|
|
436
|
+
export type ListTrustRelationshipsError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
437
|
+
/** Lists the tenant's OIDC trust relationships. */
|
|
438
|
+
export declare const listTrustRelationships: API.OperationMethod<ListTrustRelationshipsRequest, ListTrustRelationshipsResponse, ListTrustRelationshipsError, NamespaceLabsOpContext>;
|
|
358
439
|
export type RemoveTenantError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
359
440
|
/** Instructs the platform to remove a Tenant. Removing a Tenant is unreversible. It both prevents new tenant credentials to be generated, but will also propagate to Compute and other infrastructure to remove or cordon resources owned by the Tenant. It is not guaranteed that resources owned by a Tenant are removed immediately; they may be subject to garbage collection policies deployed within the platform. To request the immediate removal of Tenant resources, contact `support@namespace.so`. ### Errors - If the tenant referenced does not exist, a `NotFound` status is returned. */
|
|
360
441
|
export declare const removeTenant: API.OperationMethod<RemoveTenantRequest, RemoveTenantResponse, RemoveTenantError, NamespaceLabsOpContext>;
|
|
@@ -370,4 +451,7 @@ export declare const updatePolicies: API.OperationMethod<UpdatePoliciesRequest,
|
|
|
370
451
|
export type UpdateTenantError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
371
452
|
/** Updates policies attached to a Tenant. ### Errors - If one of the properties that are passed in is invalid, an `InvalidArgument` error is returned. */
|
|
372
453
|
export declare const updateTenant: API.OperationMethod<UpdateTenantRequest, UpdateTenantResponse, UpdateTenantError, NamespaceLabsOpContext>;
|
|
454
|
+
export type UpdateTrustRelationshipError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
455
|
+
/** Replaces an OIDC trust relationship's configuration without changing its ID or creation time. ### Errors - If the relationship does not exist, a `NotFound` status is returned. - If the generation does not match, a `FailedPrecondition` status is returned. The current generation can be retrieved from ListTrustRelationships or DescribeTrustRelationship. */
|
|
456
|
+
export declare const updateTrustRelationship: API.OperationMethod<UpdateTrustRelationshipRequest, UpdateTrustRelationshipResponse, UpdateTrustRelationshipError, NamespaceLabsOpContext>;
|
|
373
457
|
//# sourceMappingURL=iam_tenant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iam_tenant.d.ts","sources":["../../src/unstable-services/iam_tenant.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAGjD,OAAO,KAAK,CAAC,MAAM,mCAAmC,CAAC;AAEvD,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAGjD,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC5B,MAAM,gBAAgB,CAAC;AAMxB,YAAY,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,CAAC;;;;;;;;;;AAc7D,qBAAa,aACX,SAAQ,aAAa,CAAC,kBAOrB;CAAG;;;;;;;;;;AAEN,qBAAa,kBACX,SAAQ,aAAa,CAAC,uBAOrB;CAAG;;;;;;;;;;AAEN,qBAAa,eACX,SAAQ,aAAa,CAAC,oBAOrB;CAAG;;;;;;;;;;AAEN,qBAAa,QACX,SAAQ,aAAa,CAAC,aAOrB;CAAG;;;;;;;;;;AAEN,qBAAa,gBACX,SAAQ,aAAa,CAAC,qBAO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AAC;AAEJ,MAAM,MAAM,mBAAmB,GAC3B,eAAe,GACf,kBAAkB,GAClB,eAAe,GACf,gBAAgB,GAChB,QAAQ,GACR,aAAa,GACb,iBAAiB,GACjB,oBAAoB,CAAC;AACzB,4NAA4N;AAC5N,eAAO,MAAM,cAAc,EAAE,GAAG,CAAC,eAAe,CAC9C,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,sBAAsB,CAkBrB,CAAC;AAEJ,MAAM,MAAM,iBAAiB,GACzB,eAAe,GACf,kBAAkB,GAClB,eAAe,GACf,gBAAgB,GAChB,QAAQ,GACR,aAAa,GACb,iBAAiB,GACjB,oBAAoB,CAAC;AACzB,0JAA0J;AAC1J,eAAO,MAAM,YAAY,EAAE,GAAG,CAAC,eAAe,CAC5C,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,sBAAsB,CAkBrB,CAAC;AAEJ,MAAM,MAAM,4BAA4B,GACpC,eAAe,GACf,kBAAkB,GAClB,eAAe,GACf,gBAAgB,GAChB,QAAQ,GACR,aAAa,GACb,iBAAiB,GACjB,oBAAoB,CAAC;AACzB,uWAAuW;AACvW,eAAO,MAAM,uBAAuB,EAAE,GAAG,CAAC,eAAe,CACvD,8BAA8B,EAC9B,+BAA+B,EAC/B,4BAA4B,EAC5B,sBAAsB,CAkBrB,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import{Ca as e,Ma as t,Xc as n,_c as ee,a as r,b as i,errors$NamespaceLabsServiceErrors as a,f as o,gd as te,hd as s,jd as c,kd as l,l as u,m as d,md as f,n as p,o as ne,pagination$paginateCursor as re,pd as m,protocol$NamespaceLabsProtocol as h,rd as g,retry$Retry as _,traits$Http as v,traits$SensitiveValue as y,traits$applyErrorMatchers as b,wd as x,xd as S,ya as C,za as w}from"../_bundle/sdk.js";const T={system:`namespacelabs-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`}],prefix:`Namespacelabs`,service:`TenantService`,propagate:`w3c`};const E=/*@__PURE__*/ o(function AlreadyExists(t){return d(t,new.target,[`$7($6()("AlreadyExists",{message:$2,body:$3,headers:$5($4($2,$2))}).pipe($1),[{status:409,body:{"/code":"already_exists"}}])`,[g,e,c,m,s,x,f,b]])});const D=/*@__PURE__*/ o(function FailedPrecondition(e){return d(e,new.target,[`$7($6()("FailedPrecondition",{message:$2,body:$3,headers:$5($4($2,$2))}).pipe($1),[{status:400,body:{"/code":"failed_precondition"}}])`,[g,w,c,m,s,x,f,b]])});const O=/*@__PURE__*/ o(function InvalidArgument(e){return d(e,new.target,[`$7($6()("InvalidArgument",{message:$2,body:$3,headers:$5($4($2,$2))}).pipe($1),[{status:400,body:{"/code":"invalid_argument"}}])`,[g,w,c,m,s,x,f,b]])});const k=/*@__PURE__*/ o(function NotFound(e){return d(e,new.target,[`$7($6()("NotFound",{message:$2,body:$3,headers:$5($4($2,$2))}).pipe($1),[{status:404}])`,[g,w,c,m,s,x,f,b]])});const A=/*@__PURE__*/ o(function PermissionDenied(e){return d(e,new.target,[`$7($6()("PermissionDenied",{message:$2,body:$3,headers:$5($4($2,$2))}).pipe($1),[{status:403}])`,[g,C,c,m,s,x,f,b]])});const j=/*@__PURE__*/ o(function ResourceExhausted(e){return d(e,new.target,[`$8($7()("ResourceExhausted",{message:$2,body:$3,headers:$5($4($2,$2)),retryAfter:$5($6)}).pipe($1),[{status:429}])`,[g,t,c,m,s,x,ee,f,b]])});const M=/*@__PURE__*/ o(function Unauthenticated(e){return d(e,new.target,[`$7($6()("Unauthenticated",{message:$2,body:$3,headers:$5($4($2,$2))}).pipe($1),[{status:401}])`,[g,C,c,m,s,x,f,b]])});const N=/*@__PURE__*/ p(e=>e===r?u(`CreateTenant`,`{input:#1,output:#8:0,errors:[$9,$10,$11,$12,$13,$14,$15],serviceErrors:$16,protocol:$17,retry:$18,telemetry:$19,span:"%"};$7(>2)@"%Request";$6({creatorId:$3($2),visibleName:$3($2),policies:$3(#4:2),externalAccountId:$3($2),labels:$3(#5:1)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TenantService/%",code:200}))`,[g,v,c,x,__d2,__d3,l,S,__d4,O,D,M,A,k,E,j,a,h,_,T]):i(N,e));const P=/*@__PURE__*/ p(e=>e===r?u(`CreateTrustRelationship`,`{input:#1,output:#2,errors:[$7,$8,$9,$10,$11,$12,$13],serviceErrors:$14,protocol:$15,retry:$16,telemetry:$17,span:"%"};$5(>3)@"%Request";$5(>4)@"%Response";$4({spec:$3(#2:1)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TenantService/%",code:200}));$4({id:$6})`,[g,v,__d7,x,l,S,c,O,D,M,A,k,E,j,a,h,_,T]):i(P,e));const F=/*@__PURE__*/ p(e=>e===r?u(`DeleteTenantGroup`,`{input:#1,output:#6:0,errors:[$7,$8,$9,$10,$11,$12,$13],serviceErrors:$14,protocol:$15,retry:$16,telemetry:$17,span:"%"};$5(>2)@"%Request";$4({name:$3($2)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TenantService/%",code:200}))`,[g,v,c,x,l,S,__d8,O,D,M,A,k,E,j,a,h,_,T]):i(F,e));const I=/*@__PURE__*/ p(e=>e===r?u(`DeleteTrustRelationship`,`{input:#1,output:#6:0,errors:[$7,$8,$9,$10,$11,$12,$13],serviceErrors:$14,protocol:$15,retry:$16,telemetry:$17,span:"%"};$5(>2)@"%Request";$4({id:$3($2),generation:$3($2)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TenantService/%",code:200}))`,[g,v,c,x,l,S,__d8,O,D,M,A,k,E,j,a,h,_,T]):i(I,e));const L=/*@__PURE__*/ p(e=>e===r?u(`DescribePolicies`,`{input:#1,output:#2,errors:[$6,$7,$8,$9,$10,$11,$12],serviceErrors:$13,protocol:$14,retry:$15,telemetry:$16,span:"%"};$3(>3)@"%Request";$3(>4)@"%Response";$2({}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TenantService/%",code:200}));$2({policies:#4:2,revision:$5})`,[g,v,l,S,__d2,c,O,D,M,A,k,E,j,a,h,_,T]):i(L,e));const R=/*@__PURE__*/ p(e=>e===r?u(`DescribeTenantGroup`,`{input:#1,output:#2,errors:[$8,$9,$10,$11,$12,$13,$14],serviceErrors:$15,protocol:$16,retry:$17,telemetry:$18,span:"%"};$5(>3)@"%Request";$5(>4)@"%Response";$4({name:$3($2)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TenantService/%",code:200}));$4({name:$2,policies:#6:1,enrolledTenantIds:#7:0,versions:#6:1})`,[g,v,c,x,l,S,__d0,__d5,O,D,M,A,k,E,j,a,h,_,T]):i(R,e));const z=/*@__PURE__*/ p(e=>e===r?u(`DescribeTrustRelationship`,`{input:#1,output:#2,errors:[$7,$8,$9,$10,$11,$12,$13],serviceErrors:$14,protocol:$15,retry:$16,telemetry:$17,span:"%"};$5(>3)@"%Request";$5(>4)@"%Response";$4({id:$3($2)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TenantService/%",code:200}));$4({generation:$2,id:$2,createdAt:$3($2),spec:$3(#6:1)})`,[g,v,c,x,l,S,__d7,O,D,M,A,k,E,j,a,h,_,T]):i(z,e));const B=/*@__PURE__*/ p(e=>e===r?u(`EnsureTenantForExternalAccount`,`{input:#1,output:#9:0,errors:[$10,$11,$12,$13,$14,$15,$16],serviceErrors:$17,protocol:$18,retry:$19,telemetry:$20,span:"%"};$8(>2)@"%Request";$7({visibleName:$3($2),policies:$3(#4:2),externalAccountId:$3($2),labels:$3(#5:1),enrolledGroups:$3(#6:0)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TenantService/%",code:200}))`,[g,v,c,x,__d2,__d3,__d5,l,S,__d4,O,D,M,A,k,E,j,a,h,_,T]):i(B,e));const V=/*@__PURE__*/ p(e=>e===r?u(`EnsureTenantGroup`,`{input:#1,output:#2,errors:[$7,$8,$9,$10,$11,$12,$13],serviceErrors:$14,protocol:$15,retry:$16,telemetry:$17,span:"%"};$6(>3)@"%Request";$6(>4)@"%Response";$5({name:$3($2),policies:$3(#4:1)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TenantService/%",code:200}));$5({name:$2})`,[g,v,c,x,__d0,l,S,O,D,M,A,k,E,j,a,h,_,T]):i(V,e));const H=/*@__PURE__*/ p(e=>e===r?u(`ExchangeTenantTokenForClientCert`,`{input:#1,output:#2,errors:[$7,$8,$9,$10,$11,$12,$13],serviceErrors:$14,protocol:$15,retry:$16,telemetry:$17,span:"%"};$6(>3)@"%Request";$6(>4)@"%Response";$5({publicKeyPem:$3($2),permissions:$3(#4:1)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TenantService/%",code:200}));$5({clientCertificatePem:$2})`,[g,v,c,x,__d6,l,S,O,D,M,A,k,E,j,a,h,_,T]):i(H,e));const U=/*@__PURE__*/ p(e=>e===r?u(`IssueTenantClientCertificate`,`{input:#1,output:#2,errors:[$8,$9,$10,$11,$12,$13,$14],serviceErrors:$15,protocol:$16,retry:$17,telemetry:$18,span:"%"};$6(>3)@"%Request";$6(>4)@"%Response";$5({tenantId:$3($2),actorId:$3($2),durationSecs:$3($2),policies:$3(#4:1),access:$3(#4:2),publicKeyPem:$3($2)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TenantService/%",code:200}));$5({clientCertificatePem:$2,privateKeyPem:$2.pipe($7({}))})`,[g,v,c,x,__d1,l,S,y,O,D,M,A,k,E,j,a,h,_,T]):i(U,e));const W=/*@__PURE__*/ p(e=>e===r?u(`IssueTenantToken`,`{input:#1,output:#2,errors:[$8,$9,$10,$11,$12,$13,$14],serviceErrors:$15,protocol:$16,retry:$17,telemetry:$18,span:"%"};$6(>3)@"%Request";$6(>4)@"%Response";$5({tenantId:$3($2),actorId:$3($2),durationSecs:$3($2),policies:$3(#4:1),access:$3(#4:2)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TenantService/%",code:200}));$5({bearerToken:$2.pipe($7({}))})`,[g,v,c,x,__d1,l,S,y,O,D,M,A,k,E,j,a,h,_,T]):i(W,e));const G=/*@__PURE__*/ p(e=>e===r?u(`ListTenantGroups`,`{input:#1,output:#4,errors:[$7,$8,$9,$10,$11,$12,$13],serviceErrors:$14,protocol:$15,retry:$16,telemetry:$17,span:"%"};$3(>5)@"%Request";$3(>6)@"%ResponseTenantGroup";$6(#2);$3(>7)@"%Response";$2({}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TenantService/%",code:200}));$2({name:$4,policies:#5:1,versions:#5:1});$2({tenantGroups:#3})`,[g,v,l,S,c,__d0,n,O,D,M,A,k,E,j,a,h,_,T]):i(G,e));const K=/*@__PURE__*/ ne(e=>e===r?u(`ListTenants`,`{input:#1,output:#3,errors:[$9,$10,$11,$12,$13,$14,$15],serviceErrors:$16,protocol:$17,retry:$18,telemetry:$19,span:"%",pagination:{mode:"cursor",inputToken:"cursor",outputToken:"cursor",items:"tenants",pageSize:"limit"},strategy:$20};$6(>4)@"%Request";$8(#7:2);$6(>5)@"%Response";$5({limit:$3($2),cursor:$3($4),creatorId:$3($4),externalAccountId:$3($4)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TenantService/%",code:200}));$5({tenants:#2,cursor:$4})`,[g,v,te,x,c,l,S,__d3,n,O,D,M,A,k,E,j,a,h,_,T,re]):i(K,e));const q=/*@__PURE__*/ p(e=>e===r?u(`ListTrustRelationships`,`{input:#1,output:#4,errors:[$8,$9,$10,$11,$12,$13,$14],serviceErrors:$15,protocol:$16,retry:$17,telemetry:$18,span:"%"};$3(>5)@"%Request";$3(>6)@"%ResponseEntry";$7(#2);$3(>7)@"%Response";$2({}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TenantService/%",code:200}));$2({id:$4,createdAt:$5($4),spec:$5(#6:1),generation:$4});$2({trustRelationships:#3})`,[g,v,l,S,c,x,__d7,n,O,D,M,A,k,E,j,a,h,_,T]):i(q,e));const J=/*@__PURE__*/ p(e=>e===r?u(`RemoveTenant`,`{input:#1,output:#6:0,errors:[$7,$8,$9,$10,$11,$12,$13],serviceErrors:$14,protocol:$15,retry:$16,telemetry:$17,span:"%"};$5(>2)@"%Request";$4({tenantId:$3($2)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TenantService/%",code:200}))`,[g,v,c,x,l,S,__d8,O,D,M,A,k,E,j,a,h,_,T]):i(J,e));const Y=/*@__PURE__*/ p(e=>e===r?u(`ResumeTenant`,`{input:#1,output:#6:0,errors:[$7,$8,$9,$10,$11,$12,$13],serviceErrors:$14,protocol:$15,retry:$16,telemetry:$17,span:"%"};$5(>2)@"%Request";$4({tenantId:$3($2)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TenantService/%",code:200}))`,[g,v,c,x,l,S,__d8,O,D,M,A,k,E,j,a,h,_,T]):i(Y,e));const X=/*@__PURE__*/ p(e=>e===r?u(`SuspendTenant`,`{input:#1,output:#6:0,errors:[$7,$8,$9,$10,$11,$12,$13],serviceErrors:$14,protocol:$15,retry:$16,telemetry:$17,span:"%"};$5(>2)@"%Request";$4({tenantId:$3($2)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TenantService/%",code:200}))`,[g,v,c,x,l,S,__d8,O,D,M,A,k,E,j,a,h,_,T]):i(X,e));const Z=/*@__PURE__*/ p(e=>e===r?u(`UpdatePolicies`,`{input:#1,output:#7:0,errors:[$8,$9,$10,$11,$12,$13,$14],serviceErrors:$15,protocol:$16,retry:$17,telemetry:$18,span:"%"};$6(>2)@"%Request";$5({tenantId:$3($2),policies:$3(#4:2),revision:$3($2)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TenantService/%",code:200}))`,[g,v,c,x,__d2,l,S,__d8,O,D,M,A,k,E,j,a,h,_,T]):i(Z,e));const Q=/*@__PURE__*/ p(e=>e===r?u(`UpdateTenant`,`{input:#1,output:#8:0,errors:[$9,$10,$11,$12,$13,$14,$15],serviceErrors:$16,protocol:$17,retry:$18,telemetry:$19,span:"%"};$7(>2)@"%Request";$6({tenantId:$3($2),visibleName:$3($2),policies:$3(#4:2),labels:$3(#5:1)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TenantService/%",code:200}))`,[g,v,c,x,__d2,__d3,l,S,__d4,O,D,M,A,k,E,j,a,h,_,T]):i(Q,e));const $=/*@__PURE__*/ p(e=>e===r?u(`UpdateTrustRelationship`,`{input:#1,output:#7:0,errors:[$8,$9,$10,$11,$12,$13,$14],serviceErrors:$15,protocol:$16,retry:$17,telemetry:$18,span:"%"};$6(>2)@"%Request";$5({id:$3($2),generation:$3($2),spec:$3(#4:1)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TenantService/%",code:200}))`,[g,v,c,x,__d7,l,S,__d8,O,D,M,A,k,E,j,a,h,_,T]):i($,e));function __d0(){return[`$4(>2)@"TenantGroupPolicy";$5(#0);$3({policy:$2($1),value:$2($1)})`,[g,c,x,l,S,n]]}function __d1(){return[`$4(>3)@"TenantTokenPolicy";$5(#0);$4(>4)@"AccessPolicy";$3({policyType:$2($1),value:$2($1)});$3({grants:$2(#6:1)})`,[g,c,x,l,S,n,__d6]]}function __d2(){return[`$4(>3)@"TenantPolicyExpirationPolicy";$4(>4)@"TenantPolicy";$5(#1);$3({expiresAt:$2($1)});$3({id:$2($1),policy:$2($1),value:$2($1),expirationPolicy:$2(#0)})`,[g,c,x,l,S,n]]}function __d3(){return[`$4(>3)@"Label";$5(#0);$4(>4)@"Tenant";$3({name:$2($1),value:$2($1)});$3({id:$1,creatorId:$1,externalAccountId:$1,createdAt:$2($1),visibleName:$1,labels:#1})`,[g,c,x,l,S,n]]}function __d4(){return[`$4(>1)@"CreateTenantResponse";$3({tenant:$2(#1:2)})`,[g,__d3,x,l,S]]}function __d5(){return[`$2($1)`,[g,c,n]]}function __d6(){return[`$5(>2)@"Permission";$6(#0);$4({resourceType:$2($1),resourceId:$2($1),actions:$2(#3:0)})`,[g,c,x,__d5,l,S,n]]}function __d7(){return[`$2($1,$1);$6(>2)@"TrustRelationshipSpec";$5({issuer:$3($1),subjectMatch:$3($1),audience:$3($1),defaultPermissions:$3(#4:1),defaultTokenDuration:$3($1),maximumTokenDuration:$3($1),claimMatches:$3(#0)})`,[g,c,s,x,__d6,l,S]]}function __d8(){return[`$2(>1)@"DeleteTenantGroupResponse";$1({})`,[g,l,S]]}export{E as AlreadyExists,D as FailedPrecondition,O as InvalidArgument,k as NotFound,A as PermissionDenied,j as ResourceExhausted,M as Unauthenticated,N as createTenant,P as createTrustRelationship,F as deleteTenantGroup,I as deleteTrustRelationship,L as describePolicies,R as describeTenantGroup,z as describeTrustRelationship,B as ensureTenantForExternalAccount,V as ensureTenantGroup,H as exchangeTenantTokenForClientCert,U as issueTenantClientCertificate,W as issueTenantToken,G as listTenantGroups,K as listTenants,q as listTrustRelationships,J as removeTenant,Y as resumeTenant,X as suspendTenant,Z as updatePolicies,Q as updateTenant,$ as updateTrustRelationship};
|
|
2
|
+
/*
|
|
3
|
+
29 38
|
|
4
|
+
e:0:Ca t:0:Ma n:0:Xc ee:0:_c r:0:a i:0:b a:0:errors$NamespaceLabsServiceErrors o:0:f te:0:gd s:0:hd c:0:jd l:0:kd u:0:l d:0:m f:0:md p:0:n ne:0:o re:0:pagination$paginateCursor m:0:pd h:0:protocol$NamespaceLabsProtocol g:0:rd _:0:retry$Retry v:0:traits$Http y:0:traits$SensitiveValue b:0:traits$applyErrorMatchers x:0:wd S:0:xd C:0:ya w:0:za
|
|
5
|
+
000000002d0004v000770009p000by000ef000gz000jx000m9000p0000rp000u2000wd000yp001180013f0015m0017u001a6001cj001f4001g2001h0001i0001j2001k4001l8001ma001mm001nn001or001ps001qt001rt001so001ts001uw001vr
|
|
6
|
+
2 1ok 201 N|=CreateTenant;1pb 1yd;k,m,a,p,1o,1p,b,q,1q,1g,1f,1k,1i,1h,1e,1j,6,j,l,1l
|
|
7
|
+
2 20r 2ar P|=CreateTrustRelationship;21t 29d;k,m,1t,p,b,q,a,1g,1f,1k,1i,1h,1e,1j,6,j,l,1l
|
|
8
|
+
2 2bh 2kg F|=DeleteTenantGroup;2cd 2j2;k,m,a,p,b,q,1u,1g,1f,1k,1i,1h,1e,1j,6,j,l,1l
|
|
9
|
+
2 2l6 2ur I|=DeleteTrustRelationship;2m8 2td;k,m,a,p,b,q,1u,1g,1f,1k,1i,1h,1e,1j,6,j,l,1l
|
|
10
|
+
2 2vh 35e L|=DescribePolicies;2wc 342;k,m,b,q,1o,a,1g,1f,1k,1i,1h,1e,1j,6,j,l,1l
|
|
11
|
+
2 364 3hl R|=DescribeTenantGroup;372 3g2;k,m,a,p,b,q,1m,1r,1g,1f,1k,1i,1h,1e,1j,6,j,l,1l
|
|
12
|
+
2 3ib 3ti z|=DescribeTrustRelationship;3jf 3s4;k,m,a,p,b,q,1t,1g,1f,1k,1i,1h,1e,1j,6,j,l,1l
|
|
13
|
+
2 3u8 46k B|=EnsureTenantForExternalAccount;3vh 44r;k,m,a,p,1o,1p,1r,b,q,1q,1g,1f,1k,1i,1h,1e,1j,6,j,l,1l
|
|
14
|
+
2 47a 4hm V|=EnsureTenantGroup;486 4g8;k,m,a,p,1m,b,q,1g,1f,1k,1i,1h,1e,1j,6,j,l,1l
|
|
15
|
+
2 4ic 4tu H|=ExchangeTenantTokenForClientCert;4jn 4sg;k,m,a,p,1s,b,q,1g,1f,1k,1i,1h,1e,1j,6,j,l,1l
|
|
16
|
+
2 4uk 58n U|=IssueTenantClientCertificate;4vr 577;k,m,a,p,1n,b,q,n,1g,1f,1k,1i,1h,1e,1j,6,j,l,1l
|
|
17
|
+
2 59d 5lu W|=IssueTenantToken;5a8 5ke;k,m,a,p,1n,b,q,n,1g,1f,1k,1i,1h,1e,1j,6,j,l,1l
|
|
18
|
+
2 5mk 5yh G|=ListTenantGroups;5nf 5x3;k,m,b,q,a,1m,2,1g,1f,1k,1i,1h,1e,1j,6,j,l,1l
|
|
19
|
+
2 5z8 6ej K|=ListTenants;5zy 6cx;k,m,8,p,a,b,q,1p,2,1g,1f,1k,1i,1h,1e,1j,6,j,l,1l,h
|
|
20
|
+
2 6f9 6ru q|=ListTrustRelationships;6ga 6qe;k,m,b,q,a,p,1t,2,1g,1f,1k,1i,1h,1e,1j,6,j,l,1l
|
|
21
|
+
2 6sk 71i J|=RemoveTenant;6tb 704;k,m,a,p,b,q,1u,1g,1f,1k,1i,1h,1e,1j,6,j,l,1l
|
|
22
|
+
2 728 7b6 Y|=ResumeTenant;72z 79s;k,m,a,p,b,q,1u,1g,1f,1k,1i,1h,1e,1j,6,j,l,1l
|
|
23
|
+
2 7bw 7kv X|=SuspendTenant;7co 7jh;k,m,a,p,b,q,1u,1g,1f,1k,1i,1h,1e,1j,6,j,l,1l
|
|
24
|
+
2 7ll 7vp Z|=UpdatePolicies;7me 7u6;k,m,a,p,1o,b,q,1u,1g,1f,1k,1i,1h,1e,1j,6,j,l,1l
|
|
25
|
+
2 7wf 876 Q|=UpdateTenant;7x6 85i;k,m,a,p,1o,1p,b,q,1q,1g,1f,1k,1i,1h,1e,1j,6,j,l,1l
|
|
26
|
+
2 87w 8i1 $|=UpdateTrustRelationship;88y 8gi;k,m,a,p,1t,b,q,1u,1g,1f,1k,1i,1h,1e,1j,6,j,l,1l
|
|
27
|
+
3 jk p0 E|=;ky oe;k,0,a,i,9,p,e,o
|
|
28
|
+
3 pq vl D|=;r9 uz;k,s,a,i,9,p,e,o
|
|
29
|
+
3 wb 11x O|=;xr 11b;k,s,a,i,9,p,e,o
|
|
30
|
+
3 12n 16x k|=;13w 16b;k,s,a,i,9,p,e,o
|
|
31
|
+
3 17n 1cd A|=;194 1br;k,r,a,i,9,p,e,o
|
|
32
|
+
3 1d3 1ig j|=;1el 1hr;k,1,a,i,9,p,3,e,o
|
|
33
|
+
3 1j6 1nu M|=;1km 1n8;k,r,a,i,9,p,e,o
|
|
34
|
+
0 be iv T||
|
|
35
|
+
1 8i3 8l2 __d0|=;8ir 8kl;k,a,p,b,q,2
|
|
36
|
+
1 8l2 8pi __d1|=;8lq 8ow;k,a,p,b,q,2,1s
|
|
37
|
+
1 8pi 8uz __d2|=;8q6 8ui;k,a,p,b,q,2
|
|
38
|
+
1 8uz 90g __d3|=;8vn 8zz;k,a,p,b,q,2
|
|
39
|
+
1 90g 931 __d4|=;914 92j;k,1p,p,b,q
|
|
40
|
+
1 931 946 __d5|=;93p 93v;k,a,2
|
|
41
|
+
1 946 97v __d6|=;94u 979;k,a,p,1r,b,q,2
|
|
42
|
+
1 97v 9ep __d7|=;98j 9e3;k,a,9,p,1s,b,q
|
|
43
|
+
1 9ep 9gt __d8|=;9fd 9gi;k,b,q
|
|
44
|
+
*/
|
|
45
|
+
//# sourceMappingURL=iam_tenant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iam_tenant.js","names":["API.newError","__L.at","C.withConflictError","S.String","S.Unknown","S.Record","S.optional","S.TaggedError","T.applyErrorMatchers","C.withBadRequestError","C.withAuthError","C.withThrottlingError","S.Duration","API.D","API.named","T.Http","S.Struct","S.suspend","Retry.Retry","API.call","T.SensitiveValue","S.Array","S.Number","withConflictError","withThrottlingError","Array","Duration","D","call","NamespaceLabsServiceErrors","error","Number","Record","String","Struct","named","newError","TaggedError","op","opPaginated","paginateCursor","Unknown","NamespaceLabsProtocol","at","Retry","Http","SensitiveValue","applyErrorMatchers","optional","suspend","withAuthError","withBadRequestError","TELEMETRY","AlreadyExists","i","FailedPrecondition","InvalidArgument","NotFound","PermissionDenied","ResourceExhausted","Unauthenticated","createTenant","createTrustRelationship","deleteTenantGroup","deleteTrustRelationship","describePolicies","describeTenantGroup","describeTrustRelationship","ensureTenantForExternalAccount","ensureTenantGroup","exchangeTenantTokenForClientCert","issueTenantClientCertificate","issueTenantToken","listTenantGroups","listTenants","listTrustRelationships","removeTenant","resumeTenant","suspendTenant","updatePolicies","updateTenant","updateTrustRelationship"],"sources":["../../src/un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AC,CAC5I,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,qHAAsH,CAACpB,EAAQE,EAAUG,EAAYU,EAAUC,EAAWI,EAAS,IAAI,CAAC,CAClM,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,+JAAgK,CAACpB,EAAQE,EAAUG,EAAYU,EAAUC,EAAWI,CAAO,CAAC,CACtO,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,+JAAgK,CAACpB,EAAQE,EAAUG,EAAYU,EAAUC,EAAWI,CAAO,CAAC,CACtO,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,sDAAuD,CAACpB,EAAQ,KAAMK,EAAYU,EAAUC,CAAS,CAAC,CAChH,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,SAAU,CAAChB,EAAQE,EAAUkB,CAAO,CAAC,CAC/C,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,0FAA2F,CAACpB,EAAQE,EAAUG,EAAY,KAAMU,EAAUC,EAAWI,CAAO,CAAC,CACvK,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,2MAA4M,CAACpB,EAAQE,EAAUE,EAAUC,EAAY,KAAMU,EAAUC,CAAS,CAAC,CACzR,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,4CAA6C,CAAChB,EAAQe,EAAUC,CAAS,CAAC,CACpF"}
|
|
@@ -5,6 +5,7 @@ export type { NamespaceLabsOpError, NamespaceLabsOpContext };
|
|
|
5
5
|
declare const AlreadyExists_base: S.TaggedErrorClass<"AlreadyExists", {
|
|
6
6
|
readonly message: any;
|
|
7
7
|
readonly body: any;
|
|
8
|
+
readonly headers: any;
|
|
8
9
|
}> & (new (...args: any[]) => {
|
|
9
10
|
"@distilled.cloud/error/categories": {
|
|
10
11
|
ConflictError: true;
|
|
@@ -15,6 +16,7 @@ export declare class AlreadyExists extends /*@__PURE__*/ AlreadyExists_base {
|
|
|
15
16
|
declare const FailedPrecondition_base: S.TaggedErrorClass<"FailedPrecondition", {
|
|
16
17
|
readonly message: any;
|
|
17
18
|
readonly body: any;
|
|
19
|
+
readonly headers: any;
|
|
18
20
|
}> & (new (...args: any[]) => {
|
|
19
21
|
"@distilled.cloud/error/categories": {
|
|
20
22
|
BadRequestError: true;
|
|
@@ -25,6 +27,7 @@ export declare class FailedPrecondition extends /*@__PURE__*/ FailedPrecondition
|
|
|
25
27
|
declare const InvalidArgument_base: S.TaggedErrorClass<"InvalidArgument", {
|
|
26
28
|
readonly message: any;
|
|
27
29
|
readonly body: any;
|
|
30
|
+
readonly headers: any;
|
|
28
31
|
}> & (new (...args: any[]) => {
|
|
29
32
|
"@distilled.cloud/error/categories": {
|
|
30
33
|
BadRequestError: true;
|
|
@@ -35,6 +38,7 @@ export declare class InvalidArgument extends /*@__PURE__*/ InvalidArgument_base
|
|
|
35
38
|
declare const NotFound_base: S.TaggedErrorClass<"NotFound", {
|
|
36
39
|
readonly message: any;
|
|
37
40
|
readonly body: any;
|
|
41
|
+
readonly headers: any;
|
|
38
42
|
}> & (new (...args: any[]) => {
|
|
39
43
|
"@distilled.cloud/error/categories": {
|
|
40
44
|
BadRequestError: true;
|
|
@@ -45,6 +49,7 @@ export declare class NotFound extends /*@__PURE__*/ NotFound_base {
|
|
|
45
49
|
declare const PermissionDenied_base: S.TaggedErrorClass<"PermissionDenied", {
|
|
46
50
|
readonly message: any;
|
|
47
51
|
readonly body: any;
|
|
52
|
+
readonly headers: any;
|
|
48
53
|
}> & (new (...args: any[]) => {
|
|
49
54
|
"@distilled.cloud/error/categories": {
|
|
50
55
|
AuthError: true;
|
|
@@ -55,6 +60,8 @@ export declare class PermissionDenied extends /*@__PURE__*/ PermissionDenied_bas
|
|
|
55
60
|
declare const ResourceExhausted_base: S.TaggedErrorClass<"ResourceExhausted", {
|
|
56
61
|
readonly message: any;
|
|
57
62
|
readonly body: any;
|
|
63
|
+
readonly headers: any;
|
|
64
|
+
readonly retryAfter: any;
|
|
58
65
|
}> & (new (...args: any[]) => {
|
|
59
66
|
"@distilled.cloud/error/categories": {
|
|
60
67
|
ThrottlingError: true;
|
|
@@ -65,6 +72,7 @@ export declare class ResourceExhausted extends /*@__PURE__*/ ResourceExhausted_b
|
|
|
65
72
|
declare const Unauthenticated_base: S.TaggedErrorClass<"Unauthenticated", {
|
|
66
73
|
readonly message: any;
|
|
67
74
|
readonly body: any;
|
|
75
|
+
readonly headers: any;
|
|
68
76
|
}> & (new (...args: any[]) => {
|
|
69
77
|
"@distilled.cloud/error/categories": {
|
|
70
78
|
AuthError: true;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iam_tenant_membership.d.ts","sources":["../../src/unstable-services/iam_tenant_membership.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAGjD,OAAO,KAAK,CAAC,MAAM,mCAAmC,CAAC;AAGvD,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC5B,MAAM,gBAAgB,CAAC;AAMxB,YAAY,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,CAAC;;;;;;;;;;AAc7D,qBAAa,aACX,SAAQ,aAAa,CAAC,kBAOrB;CAAG;;;;;;;;;;AAEN,qBAAa,kBACX,SAAQ,aAAa,CAAC,uBAOrB;CAAG;;;;;;;;;;AAEN,qBAAa,eACX,SAAQ,aAAa,CAAC,oBAOrB;CAAG;;;;;;;;;;AAEN,qBAAa,QACX,SAAQ,aAAa,CAAC,aAOrB;CAAG;;;;;;;;;;AAEN,qBAAa,gBACX,SAAQ,aAAa,CAAC,qBAOrB;CAAG;;;;;;;;;;;AAEN,qBAAa,iBACX,SAAQ,aAAa,CAAC,sBAQrB;CAAG;;;;;;;;;;AAEN,qBAAa,eACX,SAAQ,aAAa,CAAC,oBAOrB;CAAG;AAEN,MAAM,WAAW,wBAAwB;CAAG;AAC5C,MAAM,MAAM,gBAAgB,GACxB,gCAAgC,GAChC,0BAA0B,GAC1B,2BAA2B,GAC3B,0BAA0B,GAC1B,2BAA2B,GAC3B,+BAA+B,CAAC;AACpC,MAAM,WAAW,YAAY;IAC3B,2EAA2E;IAC3E,MAAM,EAAE,MAAM,CAAC;IACf,6BAA6B;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,4BAA4B;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,qCAAqC;IACrC,IAAI,EAAE,gBAAgB,CAAC;CACxB;AACD,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,YAAY,CAAC,CAAC;AACnD,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,gBAAgB,CAAC;CAC3B;AACD,MAAM,WAAW,yBAAyB;IACxC,oCAAoC;IACpC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B;AACD,MAAM,WAAW,0BAA0B;CAAG;AAC9C,MAAM,MAAM,sBAAsB,GAC9B,eAAe,GACf,kBAAkB,GAClB,eAAe,GACf,gBAAgB,GAChB,QAAQ,GACR,aAAa,GACb,iBAAiB,GACjB,oBAAoB,CAAC;AACzB,sJAAsJ;AACtJ,eAAO,MAAM,iBAAiB,EAAE,GAAG,CAAC,eAAe,CACjD,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,EACtB,sBAAsB,CAkBrB,CAAC;AAEJ,MAAM,MAAM,uBAAuB,GAC/B,eAAe,GACf,kBAAkB,GAClB,eAAe,GACf,gBAAgB,GAChB,QAAQ,GACR,aAAa,GACb,iBAAiB,GACjB,oBAAoB,CAAC;AACzB,mKAAmK;AACnK,eAAO,MAAM,kBAAkB,EAAE,GAAG,CAAC,eAAe,CAClD,yBAAyB,EACzB,0BAA0B,EAC1B,uBAAuB,EACvB,sBAAsB,CAkBrB,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Ca as e,Ma as t,Xc as n,_c as r,a as i,b as a,errors$NamespaceLabsServiceErrors as o,f as s,hd as c,jd as l,kd as u,l as d,m as f,md as p,n as m,pd as h,protocol$NamespaceLabsProtocol as g,rd as _,retry$Retry as v,traits$Http as y,traits$applyErrorMatchers as b,wd as x,xd as S,ya as C,za as w}from"../_bundle/sdk.js";const T={system:`namespacelabs-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`}],prefix:`Namespacelabs`,service:`TenantMembershipService`,propagate:`w3c`};const E=/*@__PURE__*/ s(function AlreadyExists(t){return f(t,new.target,[`$7($6()("AlreadyExists",{message:$2,body:$3,headers:$5($4($2,$2))}).pipe($1),[{status:409,body:{"/code":"already_exists"}}])`,[_,e,l,h,c,x,p,b]])});const D=/*@__PURE__*/ s(function FailedPrecondition(e){return f(e,new.target,[`$7($6()("FailedPrecondition",{message:$2,body:$3,headers:$5($4($2,$2))}).pipe($1),[{status:400,body:{"/code":"failed_precondition"}}])`,[_,w,l,h,c,x,p,b]])});const O=/*@__PURE__*/ s(function InvalidArgument(e){return f(e,new.target,[`$7($6()("InvalidArgument",{message:$2,body:$3,headers:$5($4($2,$2))}).pipe($1),[{status:400,body:{"/code":"invalid_argument"}}])`,[_,w,l,h,c,x,p,b]])});const k=/*@__PURE__*/ s(function NotFound(e){return f(e,new.target,[`$7($6()("NotFound",{message:$2,body:$3,headers:$5($4($2,$2))}).pipe($1),[{status:404}])`,[_,w,l,h,c,x,p,b]])});const A=/*@__PURE__*/ s(function PermissionDenied(e){return f(e,new.target,[`$7($6()("PermissionDenied",{message:$2,body:$3,headers:$5($4($2,$2))}).pipe($1),[{status:403}])`,[_,C,l,h,c,x,p,b]])});const j=/*@__PURE__*/ s(function ResourceExhausted(e){return f(e,new.target,[`$8($7()("ResourceExhausted",{message:$2,body:$3,headers:$5($4($2,$2)),retryAfter:$5($6)}).pipe($1),[{status:429}])`,[_,t,l,h,c,x,r,p,b]])});const M=/*@__PURE__*/ s(function Unauthenticated(e){return f(e,new.target,[`$7($6()("Unauthenticated",{message:$2,body:$3,headers:$5($4($2,$2))}).pipe($1),[{status:401}])`,[_,C,l,h,c,x,p,b]])});const N=/*@__PURE__*/ m(e=>e===i?d(`TenantMember`,`{input:#1,output:#4,errors:[$6,$7,$8,$9,$10,$11,$12],serviceErrors:$13,protocol:$14,retry:$15,telemetry:$16,span:"List%s"};$3(>5)@"List%sRequest";$3(>6)@"%";$5(#2);$3(>7)@"List%sResponse";$2({}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.%shipService/List%s",code:200}));$2({userId:$4,firstName:$4,lastName:$4,email:$4,role:$4});$2({members:#3})`,[_,y,u,S,l,n,O,D,M,A,k,E,j,o,g,v,T]):a(N,e));const P=/*@__PURE__*/ m(e=>e===i?d(`RemoveTenantMember`,`{input:#1,output:#2,errors:[$6,$7,$8,$9,$10,$11,$12],serviceErrors:$13,protocol:$14,retry:$15,telemetry:$16,span:"%"};$5(>3)@"%Request";$5(>4)@"%Response";$4({userId:$3($2)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TenantMembershipService/%",code:200}));$4({})`,[_,y,l,x,u,S,O,D,M,A,k,E,j,o,g,v,T]):a(P,e));export{E as AlreadyExists,D as FailedPrecondition,O as InvalidArgument,k as NotFound,A as PermissionDenied,j as ResourceExhausted,M as Unauthenticated,N as listTenantMembers,P as removeTenantMember};
|
|
2
|
+
//# sourceMappingURL=iam_tenant_membership.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iam_tenant_membership.js","names":["API.newError","__L.at","C.withConflictError","S.String","S.Unknown","S.Record","S.optional","S.TaggedError","T.applyErrorMatchers","C.withBadRequestError","C.withAuthError","C.withThrottlingError","S.Duration","API.D","API.named","T.Http","S.Struct","S.suspend","S.Array","Retry.Retry","API.call","withConflictError","withThrottlingError","Array","Duration","D","call","NamespaceLabsServiceErrors","error","Record","String","Struct","named","newError","TaggedError","op","Unknown","NamespaceLabsProtocol","at","Retry","Http","applyErrorMatchers","optional","suspend","withAuthError","withBadRequestError","TELEMETRY","AlreadyExists","i","FailedPrecondition","InvalidArgument","NotFound","PermissionDenied","ResourceExhausted","Unauthenticated","listTenantMembers","removeTenantMember"],"sources":["../../src/unstable-services/iam_tenant_membership.ts"],"mappings":"qUAiBA,MAAM8C,EAAY,CAChB,OAAQ,oBACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,CACrF,EACA,OAAQ,gBACR,QAAS,0BACT,UAAW,KACb,EAEA,MAAaC,EAAmC,gBAAU,SAAS,cAAc,EAAa,CAC5F,OAAO/C,EAAagD,EAAG,WAAY,CAAC,+HAAgI,CAAC/C,EAAQC,EAAqBC,EAAUC,EAAWC,EAAUC,EAAYC,EAAeC,CAAoB,CAAC,CAAC,CACpR,CAAC,EAED,MAAayC,EAAwC,gBAAU,SAAS,mBAAmB,EAAa,CACtG,OAAOjD,EAAagD,EAAG,WAAY,CAAC,yIAA0I,CAAC/C,EAAQQ,EAAuBN,EAAUC,EAAWC,EAAUC,EAAYC,EAAeC,CAAoB,CAAC,CAAC,CAChS,CAAC,EAED,MAAa0C,EAAqC,gBAAU,SAAS,gBAAgB,EAAa,CAChG,OAAOlD,EAAagD,EAAG,WAAY,CAAC,mIAAoI,CAAC/C,EAAQQ,EAAuBN,EAAUC,EAAWC,EAAUC,EAAYC,EAAeC,CAAoB,CAAC,CAAC,CAC1R,CAAC,EAED,MAAa2C,EAA8B,gBAAU,SAAS,SAAS,EAAa,CAClF,OAAOnD,EAAagD,EAAG,WAAY,CAAC,0FAA2F,CAAC/C,EAAQQ,EAAuBN,EAAUC,EAAWC,EAAUC,EAAYC,EAAeC,CAAoB,CAAC,CAAC,CACjP,CAAC,EAED,MAAa4C,EAAsC,gBAAU,SAAS,iBAAiB,EAAa,CAClG,OAAOpD,EAAagD,EAAG,WAAY,CAAC,kGAAmG,CAAC/C,EAAQS,EAAiBP,EAAUC,EAAWC,EAAUC,EAAYC,EAAeC,CAAoB,CAAC,CAAC,CACnP,CAAC,EAED,MAAa6C,EAAuC,gBAAU,SAAS,kBAAkB,EAAa,CACpG,OAAOrD,EAAagD,EAAG,WAAY,CAAC,qHAAsH,CAAC/C,EAAQU,EAAuBR,EAAUC,EAAWC,EAAUC,EAAYM,EAAYL,EAAeC,CAAoB,CAAC,CAAC,CACxR,CAAC,EAED,MAAa8C,EAAqC,gBAAU,SAAS,gBAAgB,EAAa,CAChG,OAAOtD,EAAagD,EAAG,WAAY,CAAC,iGAAkG,CAAC/C,EAAQS,EAAiBP,EAAUC,EAAWC,EAAUC,EAAYC,EAAeC,CAAoB,CAAC,CAAC,CAClP,CAAC,EAyCD,MAAa+C,EAKK,gBAAQ,GAAgBP,IAAMnC,EAAQC,EAAU,eAAgB,yWAA0W,CAACb,EAAQc,EAAQC,EAAUC,EAAWd,EAAUe,EAASgC,EAAiBD,EAAoBK,EAAiBF,EAAkBD,EAAUJ,EAAeM,EAAmB1B,EAA4BU,EAAuBlB,EAAa2B,CAAS,CAAC,EAAI1B,EAASmC,EAAmBP,CAAC,CAAC,EAYrtB,MAAaQ,EAKK,gBAAQ,GAAgBR,IAAMnC,EAAQC,EAAU,qBAAsB,uRAAwR,CAACb,EAAQc,EAAQZ,EAAUG,EAAYU,EAAUC,EAAWiC,EAAiBD,EAAoBK,EAAiBF,EAAkBD,EAAUJ,EAAeM,EAAmB1B,EAA4BU,EAAuBlB,EAAa2B,CAAS,CAAC,EAAI1B,EAASoC,EAAoBR,CAAC,CAAC"}
|
|
@@ -6,6 +6,7 @@ export type { NamespaceLabsOpError, NamespaceLabsOpContext };
|
|
|
6
6
|
declare const AlreadyExists_base: S.TaggedErrorClass<"AlreadyExists", {
|
|
7
7
|
readonly message: any;
|
|
8
8
|
readonly body: any;
|
|
9
|
+
readonly headers: any;
|
|
9
10
|
}> & (new (...args: any[]) => {
|
|
10
11
|
"@distilled.cloud/error/categories": {
|
|
11
12
|
ConflictError: true;
|
|
@@ -16,6 +17,7 @@ export declare class AlreadyExists extends /*@__PURE__*/ AlreadyExists_base {
|
|
|
16
17
|
declare const FailedPrecondition_base: S.TaggedErrorClass<"FailedPrecondition", {
|
|
17
18
|
readonly message: any;
|
|
18
19
|
readonly body: any;
|
|
20
|
+
readonly headers: any;
|
|
19
21
|
}> & (new (...args: any[]) => {
|
|
20
22
|
"@distilled.cloud/error/categories": {
|
|
21
23
|
BadRequestError: true;
|
|
@@ -26,6 +28,7 @@ export declare class FailedPrecondition extends /*@__PURE__*/ FailedPrecondition
|
|
|
26
28
|
declare const InvalidArgument_base: S.TaggedErrorClass<"InvalidArgument", {
|
|
27
29
|
readonly message: any;
|
|
28
30
|
readonly body: any;
|
|
31
|
+
readonly headers: any;
|
|
29
32
|
}> & (new (...args: any[]) => {
|
|
30
33
|
"@distilled.cloud/error/categories": {
|
|
31
34
|
BadRequestError: true;
|
|
@@ -36,6 +39,7 @@ export declare class InvalidArgument extends /*@__PURE__*/ InvalidArgument_base
|
|
|
36
39
|
declare const NotFound_base: S.TaggedErrorClass<"NotFound", {
|
|
37
40
|
readonly message: any;
|
|
38
41
|
readonly body: any;
|
|
42
|
+
readonly headers: any;
|
|
39
43
|
}> & (new (...args: any[]) => {
|
|
40
44
|
"@distilled.cloud/error/categories": {
|
|
41
45
|
BadRequestError: true;
|
|
@@ -46,6 +50,7 @@ export declare class NotFound extends /*@__PURE__*/ NotFound_base {
|
|
|
46
50
|
declare const PermissionDenied_base: S.TaggedErrorClass<"PermissionDenied", {
|
|
47
51
|
readonly message: any;
|
|
48
52
|
readonly body: any;
|
|
53
|
+
readonly headers: any;
|
|
49
54
|
}> & (new (...args: any[]) => {
|
|
50
55
|
"@distilled.cloud/error/categories": {
|
|
51
56
|
AuthError: true;
|
|
@@ -56,6 +61,8 @@ export declare class PermissionDenied extends /*@__PURE__*/ PermissionDenied_bas
|
|
|
56
61
|
declare const ResourceExhausted_base: S.TaggedErrorClass<"ResourceExhausted", {
|
|
57
62
|
readonly message: any;
|
|
58
63
|
readonly body: any;
|
|
64
|
+
readonly headers: any;
|
|
65
|
+
readonly retryAfter: any;
|
|
59
66
|
}> & (new (...args: any[]) => {
|
|
60
67
|
"@distilled.cloud/error/categories": {
|
|
61
68
|
ThrottlingError: true;
|
|
@@ -66,6 +73,7 @@ export declare class ResourceExhausted extends /*@__PURE__*/ ResourceExhausted_b
|
|
|
66
73
|
declare const Unauthenticated_base: S.TaggedErrorClass<"Unauthenticated", {
|
|
67
74
|
readonly message: any;
|
|
68
75
|
readonly body: any;
|
|
76
|
+
readonly headers: any;
|
|
69
77
|
}> & (new (...args: any[]) => {
|
|
70
78
|
"@distilled.cloud/error/categories": {
|
|
71
79
|
AuthError: true;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iam_token.d.ts","sources":["../../src/unstable-services/iam_token.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAGjD,OAAO,KAAK,CAAC,MAAM,mCAAmC,CAAC;AAEvD,OAAO,KAAK,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAGjD,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC5B,MAAM,gBAAgB,CAAC;AAMxB,YAAY,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,CAAC;;;;;;;;;;AAc7D,qBAAa,aACX,SAAQ,aAAa,CAAC,kBAOrB;CAAG;;;;;;;;;;AAEN,qBAAa,kBACX,SAAQ,aAAa,CAAC,uBAOrB;CAAG;;;;;;;;;;AAEN,qBAAa,eACX,SAAQ,aAAa,CAAC,oBAOrB;CAAG;;;;;;;;;;AAEN,qBAAa,QACX,SAAQ,aAAa,CAAC,aAOrB;CAAG;;;;;;;;;;AAEN,qBAAa,gBACX,SAAQ,aAAa,CAAC,qBAOrB;CAAG;;;;;;;;;;;AAEN,qBAAa,iBACX,SAAQ,aAAa,CAAC,sBAQrB;CAAG;;;;;;;;;;AAEN,qBAAa,eACX,SAAQ,aAAa,CAAC,o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AACjjB,eAAO,MAAM,qBAAqB,EAAE,GAAG,CAAC,eAAe,CACrD,4BAA4B,EAC5B,6BAA6B,EAC7B,0BAA0B,EAC1B,sBAAsB,CAkBrB,CAAC;AAEJ,MAAM,MAAM,yBAAyB,GACjC,eAAe,GACf,kBAAkB,GAClB,eAAe,GACf,gBAAgB,GAChB,QAAQ,GACR,aAAa,GACb,iBAAiB,GACjB,oBAAoB,CAAC;AACzB,+XAA+X;AAC/X,eAAO,MAAM,oBAAoB,EAAE,GAAG,CAAC,eAAe,CACpD,2BAA2B,EAC3B,4BAA4B,EAC5B,yBAAyB,EACzB,sBAAsB,CAkBrB,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Ca as e,Ma as t,Xc as n,Yc as r,_c as i,a,b as o,errors$NamespaceLabsServiceErrors as s,f as c,hd as l,jd as u,kd as d,l as f,m as p,md as m,n as h,o as g,pagination$paginateCursor as _,pd as v,protocol$NamespaceLabsProtocol as y,rd as b,retry$Retry as x,traits$Http as S,traits$SensitiveValue as C,traits$applyErrorMatchers as w,wd as T,xd as E,ya as D,za as O}from"../_bundle/sdk.js";const k={system:`namespacelabs-api`,responseHeaders:[{header:`x-request-id`,name:`http.response.header.x-request-id`,transform:`list`},{header:`request-id`,name:`http.response.header.request-id`,transform:`list`}],prefix:`Namespacelabs`,service:`TokenService`,propagate:`w3c`};const A=/*@__PURE__*/ c(function AlreadyExists(t){return p(t,new.target,[`$7($6()("AlreadyExists",{message:$2,body:$3,headers:$5($4($2,$2))}).pipe($1),[{status:409,body:{"/code":"already_exists"}}])`,[b,e,u,v,l,T,m,w]])});const j=/*@__PURE__*/ c(function FailedPrecondition(e){return p(e,new.target,[`$7($6()("FailedPrecondition",{message:$2,body:$3,headers:$5($4($2,$2))}).pipe($1),[{status:400,body:{"/code":"failed_precondition"}}])`,[b,O,u,v,l,T,m,w]])});const M=/*@__PURE__*/ c(function InvalidArgument(e){return p(e,new.target,[`$7($6()("InvalidArgument",{message:$2,body:$3,headers:$5($4($2,$2))}).pipe($1),[{status:400,body:{"/code":"invalid_argument"}}])`,[b,O,u,v,l,T,m,w]])});const N=/*@__PURE__*/ c(function NotFound(e){return p(e,new.target,[`$7($6()("NotFound",{message:$2,body:$3,headers:$5($4($2,$2))}).pipe($1),[{status:404}])`,[b,O,u,v,l,T,m,w]])});const P=/*@__PURE__*/ c(function PermissionDenied(e){return p(e,new.target,[`$7($6()("PermissionDenied",{message:$2,body:$3,headers:$5($4($2,$2))}).pipe($1),[{status:403}])`,[b,D,u,v,l,T,m,w]])});const F=/*@__PURE__*/ c(function ResourceExhausted(e){return p(e,new.target,[`$8($7()("ResourceExhausted",{message:$2,body:$3,headers:$5($4($2,$2)),retryAfter:$5($6)}).pipe($1),[{status:429}])`,[b,t,u,v,l,T,i,m,w]])});const I=/*@__PURE__*/ c(function Unauthenticated(e){return p(e,new.target,[`$7($6()("Unauthenticated",{message:$2,body:$3,headers:$5($4($2,$2))}).pipe($1),[{status:401}])`,[b,D,u,v,l,T,m,w]])});const L=/*@__PURE__*/ h(e=>e===a?f(`BatchRevokeRevokableToken`,`{input:#1,output:#2,errors:[$7,$8,$9,$10,$11,$12,$13],serviceErrors:$14,protocol:$15,retry:$16,telemetry:$17,span:"%"};$5(>3)@"%Request";$5(>4)@"%Response";$4({before:$3($2),createdByActorId:$3($2),scope:$3($2)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TokenService/%",code:200}));$4({revokedTokenIds:#6:0})`,[b,S,u,T,d,E,__d1,M,j,I,P,N,A,F,s,y,x,k]):o(L,e));const R=/*@__PURE__*/ h(e=>e===a?f(`CreateRevokableToken`,`{input:#1,output:#2,errors:[$9,$10,$11,$12,$13,$14,$15],serviceErrors:$16,protocol:$17,retry:$18,telemetry:$19,span:"%"};$6(>3)@"%Request";$6(>4)@"%Response";$5({name:$3($2),description:$3($2),expiresAt:$3($2),policies:$3(#4:1),access:$3(#4:2),scope:$3($2)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TokenService/%",code:200}));$5({bearerToken:$2.pipe($7({})),token:$3(#8:0)})`,[b,S,u,T,__d2,d,E,C,__d4,M,j,I,P,N,A,F,s,y,x,k]):o(R,e));const z=/*@__PURE__*/ h(e=>e===a?f(`IssueIdToken`,`{input:#1,output:#2,errors:[$7,$8,$9,$10,$11,$12,$13],serviceErrors:$14,protocol:$15,retry:$16,telemetry:$17,span:"%"};$5(>3)@"%Request";$5(>4)@"%Response";$4({audience:$3($2)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TokenService/%",code:200}));$4({idToken:$2.pipe($6({}))})`,[b,S,u,T,d,E,C,M,j,I,P,N,A,F,s,y,x,k]):o(z,e));const B=/*@__PURE__*/ h(e=>e===a?f(`IssueTenantToken`,`{input:#1,output:#7:0,errors:[$8,$9,$10,$11,$12,$13,$14],serviceErrors:$15,protocol:$16,retry:$17,telemetry:$18,span:"%"};$6(>2)@"%Request";$5({tenantId:$3($2),actorId:$3($2),durationSecs:$3($2),policies:$3(#4:1),access:$3(#4:2)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TokenService/%",code:200}))`,[b,S,u,T,__d2,d,E,__d0,M,j,I,P,N,A,F,s,y,x,k]):o(B,e));const V=/*@__PURE__*/ h(e=>e===a?f(`IssueTenantTokenWithOIDC`,`{input:#1,output:#7:0,errors:[$8,$9,$10,$11,$12,$13,$14],serviceErrors:$15,protocol:$16,retry:$17,telemetry:$18,span:"%"};$6(>2)@"%Request";$5({tenantId:$3($2),oidcToken:$3($2.pipe($4({}))),duration:$3($2)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TokenService/%",code:200}))`,[b,S,u,T,C,d,E,__d0,M,j,I,P,N,A,F,s,y,x,k]):o(V,e));const H=/*@__PURE__*/ g(e=>e===a?f(`ListRevokableTokens`,`{input:#1,output:#3,errors:[$9,$10,$11,$12,$13,$14,$15],serviceErrors:$16,protocol:$17,retry:$18,telemetry:$19,span:"%",pagination:{mode:"cursor",inputToken:"paginationCursor",outputToken:"paginationCursor",items:"tokens"},strategy:$20};$6(>4)@"%Request";$8(#7:0);$6(>5)@"%Response";$5({paginationCursor:$3($2),maxEntries:$3($2),includeRevoked:$3($4)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TokenService/%",code:200}));$5({tokens:#2,paginationCursor:$2})`,[b,S,u,T,r,d,E,__d4,n,M,j,I,P,N,A,F,s,y,x,k,_]):o(H,e));const U=/*@__PURE__*/ h(e=>e===a?f(`RefreshRevokableToken`,`{input:#1,output:#2,errors:[$7,$8,$9,$10,$11,$12,$13],serviceErrors:$14,protocol:$15,retry:$16,telemetry:$17,span:"%"};$5(>3)@"%Request";$5(>4)@"%Response";$4({tokenId:$3($2),minimumDuration:$3($2)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TokenService/%",code:200}));$4({token:$3(#6:0)})`,[b,S,u,T,d,E,__d4,M,j,I,P,N,A,F,s,y,x,k]):o(U,e));const W=/*@__PURE__*/ h(e=>e===a?f(`RevokeRevokableToken`,`{input:#1,output:#2,errors:[$6,$7,$8,$9,$10,$11,$12],serviceErrors:$13,protocol:$14,retry:$15,telemetry:$16,span:"%"};$5(>3)@"%Request";$5(>4)@"%Response";$4({tokenId:$3($2)}).pipe($1({method:"POST",uri:"/namespace.cloud.iam.v1beta.TokenService/%",code:200}));$4({})`,[b,S,u,T,d,E,M,j,I,P,N,A,F,s,y,x,k]):o(W,e));function __d0(){return[`$4(>1)@"IssueTenantTokenResponse";$3({bearerToken:$2.pipe($1({}))})`,[b,C,u,d,E]]}function __d1(){return[`$2($1)`,[b,u,n]]}function __d2(){return[`$4(>3)@"TenantTokenPolicy";$5(#0);$4(>4)@"AccessPolicy";$3({policyType:$2($1),value:$2($1)});$3({grants:$2(#6:1)})`,[b,u,T,d,E,n,__d3]]}function __d3(){return[`$5(>2)@"Permission";$6(#0);$4({resourceType:$2($1),resourceId:$2($1),actions:$2(#3:0)})`,[b,u,T,__d1,d,E,n]]}function __d4(){return[`$5(>1)@"RevokableToken";$4({tokenId:$1,tenantId:$1,name:$1,description:$1,createdAt:$2($1),expiresAt:$2($1),revokedAt:$2($1),revokedByActorId:$1,creatorActorId:$1,scope:$1,permissions:#3:1,state:$1})`,[b,u,T,__d3,d,E]]}export{A as AlreadyExists,j as FailedPrecondition,M as InvalidArgument,N as NotFound,P as PermissionDenied,F as ResourceExhausted,I as Unauthenticated,L as batchRevokeRevokableToken,R as createRevokableToken,z as issueIdToken,B as issueTenantToken,V as issueTenantTokenWithOIDC,H as listRevokableTokens,U as refreshRevokableToken,W as revokeRevokableToken};
|
|
2
|
+
//# sourceMappingURL=iam_token.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iam_token.js","names":["API.newError","__L.at","C.withConflictError","S.String","S.Unknown","S.Record","S.optional","S.TaggedError","T.applyErrorMatchers","C.withBadRequestError","C.withAuthError","C.withThrottlingError","S.Duration","API.D","API.named","T.Http","S.Struct","S.suspend","Retry.Retry","API.call","T.SensitiveValue","S.Boolean","S.Array","withConflictError","withThrottlingError","Array","Boolean","Duration","call","NamespaceLabsServiceErrors","error","Record","String","Struct","named","newError","TaggedError","op","opPaginated","paginateCursor","Unknown","NamespaceLabsProtocol","at","Retry","Http","SensitiveValue","applyErrorMatchers","optional","suspend","withAuthError","withBadRequestError","TELEMETRY","AlreadyExists","i","FailedPrecondition","InvalidArgument","NotFound","PermissionDenied","ResourceExhausted","Unauthenticated","batchRevokeRevokableToken","D","createRevokableToken","issueIdToken","issueTenantToken","issueTenantTokenWithOIDC","listRevokableTokens","refreshRevokableToken","revokeRevokableToken"],"sources":["../../src/unstable-services/iam_token.ts"],"mappings":"yYAmBA,MAAMmD,EAAY,CAChB,OAAQ,oBACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KAAM,kCAAmC,UAAW,MAAO,CACrF,EACA,OAAQ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AAChB,EAAQE,EAAUmB,CAAO,CAAC,CAC/C,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,qHAAsH,CAACrB,EAAQE,EAAUG,EAAYU,EAAUC,EAAWK,EAAS,IAAI,CAAC,CAClM,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,0FAA2F,CAACrB,EAAQE,EAAUG,EAAY,KAAMU,EAAUC,EAAWK,CAAO,CAAC,CACvK,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,0MAA2M,CAACrB,EAAQE,EAAUG,EAAY,KAAMU,EAAUC,CAAS,CAAC,CAC9Q"}
|
|
@@ -5,6 +5,7 @@ export type { NamespaceLabsOpError, NamespaceLabsOpContext };
|
|
|
5
5
|
declare const AlreadyExists_base: S.TaggedErrorClass<"AlreadyExists", {
|
|
6
6
|
readonly message: any;
|
|
7
7
|
readonly body: any;
|
|
8
|
+
readonly headers: any;
|
|
8
9
|
}> & (new (...args: any[]) => {
|
|
9
10
|
"@distilled.cloud/error/categories": {
|
|
10
11
|
ConflictError: true;
|
|
@@ -15,6 +16,7 @@ export declare class AlreadyExists extends /*@__PURE__*/ AlreadyExists_base {
|
|
|
15
16
|
declare const FailedPrecondition_base: S.TaggedErrorClass<"FailedPrecondition", {
|
|
16
17
|
readonly message: any;
|
|
17
18
|
readonly body: any;
|
|
19
|
+
readonly headers: any;
|
|
18
20
|
}> & (new (...args: any[]) => {
|
|
19
21
|
"@distilled.cloud/error/categories": {
|
|
20
22
|
BadRequestError: true;
|
|
@@ -25,6 +27,7 @@ export declare class FailedPrecondition extends /*@__PURE__*/ FailedPrecondition
|
|
|
25
27
|
declare const InvalidArgument_base: S.TaggedErrorClass<"InvalidArgument", {
|
|
26
28
|
readonly message: any;
|
|
27
29
|
readonly body: any;
|
|
30
|
+
readonly headers: any;
|
|
28
31
|
}> & (new (...args: any[]) => {
|
|
29
32
|
"@distilled.cloud/error/categories": {
|
|
30
33
|
BadRequestError: true;
|
|
@@ -35,6 +38,7 @@ export declare class InvalidArgument extends /*@__PURE__*/ InvalidArgument_base
|
|
|
35
38
|
declare const NotFound_base: S.TaggedErrorClass<"NotFound", {
|
|
36
39
|
readonly message: any;
|
|
37
40
|
readonly body: any;
|
|
41
|
+
readonly headers: any;
|
|
38
42
|
}> & (new (...args: any[]) => {
|
|
39
43
|
"@distilled.cloud/error/categories": {
|
|
40
44
|
BadRequestError: true;
|
|
@@ -45,6 +49,7 @@ export declare class NotFound extends /*@__PURE__*/ NotFound_base {
|
|
|
45
49
|
declare const PermissionDenied_base: S.TaggedErrorClass<"PermissionDenied", {
|
|
46
50
|
readonly message: any;
|
|
47
51
|
readonly body: any;
|
|
52
|
+
readonly headers: any;
|
|
48
53
|
}> & (new (...args: any[]) => {
|
|
49
54
|
"@distilled.cloud/error/categories": {
|
|
50
55
|
AuthError: true;
|
|
@@ -55,6 +60,8 @@ export declare class PermissionDenied extends /*@__PURE__*/ PermissionDenied_bas
|
|
|
55
60
|
declare const ResourceExhausted_base: S.TaggedErrorClass<"ResourceExhausted", {
|
|
56
61
|
readonly message: any;
|
|
57
62
|
readonly body: any;
|
|
63
|
+
readonly headers: any;
|
|
64
|
+
readonly retryAfter: any;
|
|
58
65
|
}> & (new (...args: any[]) => {
|
|
59
66
|
"@distilled.cloud/error/categories": {
|
|
60
67
|
ThrottlingError: true;
|
|
@@ -65,6 +72,7 @@ export declare class ResourceExhausted extends /*@__PURE__*/ ResourceExhausted_b
|
|
|
65
72
|
declare const Unauthenticated_base: S.TaggedErrorClass<"Unauthenticated", {
|
|
66
73
|
readonly message: any;
|
|
67
74
|
readonly body: any;
|
|
75
|
+
readonly headers: any;
|
|
68
76
|
}> & (new (...args: any[]) => {
|
|
69
77
|
"@distilled.cloud/error/categories": {
|
|
70
78
|
AuthError: true;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image.d.ts","sources":["../../src/unstable-services/image.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAGjD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