@distilled.cloud/namespacelabs 0.0.0 → 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/LICENSE +201 -0
- package/README.md +130 -4
- package/lib/.lazy.json +1 -0
- package/lib/_bundle/lazy.js +4 -0
- package/lib/_bundle/sdk.js +2 -0
- package/lib/_bundle/sdk.js.map +1 -0
- package/lib/credentials.d.ts +73 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +1 -0
- package/lib/errors.d.ts +59 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +1 -0
- package/lib/index.d.ts +44 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +6 -0
- package/lib/pagination.d.ts +2 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +1 -0
- package/lib/protocol.d.ts +19 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +1 -0
- package/lib/retry.d.ts +12 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +1 -0
- package/lib/services/buildkite_jobs.d.ts +129 -0
- package/lib/services/buildkite_jobs.d.ts.map +1 -0
- package/lib/services/buildkite_jobs.js +2 -0
- package/lib/services/buildkite_jobs.js.map +1 -0
- package/lib/services/buildkite_queue.d.ts +186 -0
- package/lib/services/buildkite_queue.d.ts.map +1 -0
- package/lib/services/buildkite_queue.js +2 -0
- package/lib/services/buildkite_queue.js.map +1 -0
- package/lib/services/index.d.ts +3 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +2 -0
- package/lib/services.lazy/buildkite_jobs.js +1 -0
- package/lib/services.lazy/buildkite_queue.js +1 -0
- package/lib/services.lazy/index.js +3 -0
- package/lib/traits.d.ts +3 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +1 -0
- package/lib/unstable-services/artifacts.d.ts +268 -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/unstable-services/audit.d.ts +157 -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/unstable-services/bazel.d.ts +181 -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/unstable-services/bazel_cache.d.ts +126 -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/unstable-services/builder.d.ts +242 -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/unstable-services/compute.d.ts +1124 -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/unstable-services/compute_command.d.ts +120 -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/unstable-services/compute_observability.d.ts +165 -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/unstable-services/compute_storage.d.ts +379 -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/unstable-services/compute_usage.d.ts +283 -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/unstable-services/egress.d.ts +191 -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/unstable-services/experimental_compute_reservation.d.ts +672 -0
- 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/unstable-services/experimental_remote_results.d.ts +496 -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/unstable-services/github_image.d.ts +162 -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/unstable-services/github_jobs.d.ts +183 -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/unstable-services/github_profile.d.ts +296 -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/unstable-services/gradle_cache.d.ts +125 -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/unstable-services/httpcache.d.ts +125 -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/unstable-services/iam_tenant.d.ts +457 -0
- 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/unstable-services/iam_tenant_membership.d.ts +114 -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/unstable-services/iam_token.d.ts +257 -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/unstable-services/image.d.ts +222 -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/unstable-services/private_devbox.d.ts +1180 -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/unstable-services/private_user_sessions.d.ts +145 -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/unstable-services/registry.d.ts +373 -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/unstable-services/testing.d.ts +160 -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/unstable-services/vault.d.ts +203 -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/unstable-services.lazy/compute_storage.js +4 -0
- package/lib/unstable-services.lazy/compute_usage.js +1 -0
- package/lib/unstable-services.lazy/egress.js +1 -0
- package/lib/unstable-services.lazy/experimental_compute_reservation.js +4 -0
- 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/unstable-services.lazy/private_devbox.js +4 -0
- package/lib/unstable-services.lazy/private_user_sessions.js +1 -0
- package/lib/unstable-services.lazy/registry.js +4 -0
- package/lib/unstable-services.lazy/testing.js +1 -0
- package/lib/unstable-services.lazy/vault.js +1 -0
- package/package.json +89 -2
- package/src/credentials.ts +208 -0
- package/src/errors.ts +71 -0
- package/src/index.ts +50 -0
- package/src/pagination.ts +1 -0
- package/src/protocol.ts +83 -0
- package/src/retry.ts +28 -0
- package/src/services/buildkite_jobs.ts +230 -0
- package/src/services/buildkite_queue.ts +453 -0
- package/src/services/index.ts +3 -0
- package/src/traits.ts +36 -0
- package/src/unstable-services/artifacts.ts +769 -0
- package/src/unstable-services/audit.ts +323 -0
- package/src/unstable-services/bazel.ts +423 -0
- package/src/unstable-services/bazel_cache.ts +219 -0
- package/src/unstable-services/builder.ts +576 -0
- package/src/unstable-services/compute.ts +2991 -0
- package/src/unstable-services/compute_command.ts +220 -0
- package/src/unstable-services/compute_observability.ts +436 -0
- package/src/unstable-services/compute_storage.ts +1167 -0
- package/src/unstable-services/compute_usage.ts +738 -0
- package/src/unstable-services/egress.ts +516 -0
- package/src/unstable-services/experimental_compute_reservation.ts +1499 -0
- package/src/unstable-services/experimental_remote_results.ts +1165 -0
- package/src/unstable-services/github_image.ts +301 -0
- package/src/unstable-services/github_jobs.ts +389 -0
- package/src/unstable-services/github_profile.ts +729 -0
- package/src/unstable-services/gradle_cache.ts +271 -0
- package/src/unstable-services/httpcache.ts +271 -0
- package/src/unstable-services/iam_tenant.ts +1720 -0
- package/src/unstable-services/iam_tenant_membership.ts +253 -0
- package/src/unstable-services/iam_token.ts +788 -0
- package/src/unstable-services/image.ts +602 -0
- package/src/unstable-services/index.ts +28 -0
- package/src/unstable-services/private_devbox.ts +4256 -0
- package/src/unstable-services/private_user_sessions.ts +410 -0
- package/src/unstable-services/registry.ts +1242 -0
- package/src/unstable-services/testing.ts +394 -0
- package/src/unstable-services/vault.ts +522 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"httpcache.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","T.SensitiveValue","Retry.Retry","API.call","S.Array","withConflictError","withThrottlingError","Array","Duration","D","call","NamespaceLabsServiceErrors","error","Record","String","Struct","named","newError","TaggedError","op","Unknown","NamespaceLabsProtocol","at","Retry","Http","SensitiveValue","applyErrorMatchers","optional","suspend","withAuthError","withBadRequestError","TELEMETRY","AlreadyExists","i","FailedPrecondition","InvalidArgument","NotFound","PermissionDenied","ResourceExhausted","Unauthenticated","ensureHttpCache","getAccessPolicy"],"sources":["../../src/unstable-services/httpcache.ts"],"mappings":"gWAkBA,MAAMgD,EAAY,CAChB,OAAQ,oBACR,gBAAiB,CACf,CAAE,OAAQ,eAAgB,KAAM,oCAAqC,UAAW,MAAO,EACvF,CAAE,OAAQ,aAAc,KA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BAAgB,EAAa,CAChG,OAAOxD,EAAakD,EAAG,WAAY,CAAC,iGAAkG,CAACjD,EAAQS,EAAiBP,EAAUC,EAAWC,EAAUC,EAAYC,EAAeC,CAAoB,CAAC,CAAC,CAClP,CAAC,EA+CD,MAAaiD,EAKK,gBAAQ,GAAgBP,IAAMrC,EAAQC,EAAU,kBAAmB,+XAAgY,CAACb,EAAQc,EAAQZ,EAAUG,EAAYU,EAAUC,EAAWC,EAAkBkC,EAAiBD,EAAoBK,EAAiBF,EAAkBD,EAAUJ,EAAeM,EAAmB3B,EAA4BU,EAAuBnB,EAAa6B,CAAS,CAAC,EAAI5B,EAASqC,EAAiBP,CAAC,CAAC,EAYjwB,MAAaQ,EAKK,gBAAQ,GAAgBR,IAAMrC,EAAQC,EAAU,kBAAmB,wYAAyY,CAACb,EAAQc,EAAQZ,EAAUG,EAAYU,EAAUC,EAAWI,EAAS+B,EAAiBD,EAAoBK,EAAiBF,EAAkBD,EAAUJ,EAAeM,EAAmB3B,EAA4BU,EAAuBnB,EAAa6B,CAAS,CAAC,EAAI5B,EAASsC,EAAiBR,CAAC,CAAC"}
|
|
@@ -0,0 +1,457 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
3
|
+
import type * as Redacted from "effect/Redacted";
|
|
4
|
+
import { type NamespaceLabsOpError, type NamespaceLabsOpContext } from "../protocol.ts";
|
|
5
|
+
export type { NamespaceLabsOpError, NamespaceLabsOpContext };
|
|
6
|
+
declare const AlreadyExists_base: S.TaggedErrorClass<"AlreadyExists", {
|
|
7
|
+
readonly message: any;
|
|
8
|
+
readonly body: any;
|
|
9
|
+
readonly headers: any;
|
|
10
|
+
}> & (new (...args: any[]) => {
|
|
11
|
+
"@distilled.cloud/error/categories": {
|
|
12
|
+
ConflictError: true;
|
|
13
|
+
};
|
|
14
|
+
});
|
|
15
|
+
export declare class AlreadyExists extends /*@__PURE__*/ AlreadyExists_base {
|
|
16
|
+
}
|
|
17
|
+
declare const FailedPrecondition_base: S.TaggedErrorClass<"FailedPrecondition", {
|
|
18
|
+
readonly message: any;
|
|
19
|
+
readonly body: any;
|
|
20
|
+
readonly headers: any;
|
|
21
|
+
}> & (new (...args: any[]) => {
|
|
22
|
+
"@distilled.cloud/error/categories": {
|
|
23
|
+
BadRequestError: true;
|
|
24
|
+
};
|
|
25
|
+
});
|
|
26
|
+
export declare class FailedPrecondition extends /*@__PURE__*/ FailedPrecondition_base {
|
|
27
|
+
}
|
|
28
|
+
declare const InvalidArgument_base: S.TaggedErrorClass<"InvalidArgument", {
|
|
29
|
+
readonly message: any;
|
|
30
|
+
readonly body: any;
|
|
31
|
+
readonly headers: any;
|
|
32
|
+
}> & (new (...args: any[]) => {
|
|
33
|
+
"@distilled.cloud/error/categories": {
|
|
34
|
+
BadRequestError: true;
|
|
35
|
+
};
|
|
36
|
+
});
|
|
37
|
+
export declare class InvalidArgument extends /*@__PURE__*/ InvalidArgument_base {
|
|
38
|
+
}
|
|
39
|
+
declare const NotFound_base: S.TaggedErrorClass<"NotFound", {
|
|
40
|
+
readonly message: any;
|
|
41
|
+
readonly body: any;
|
|
42
|
+
readonly headers: any;
|
|
43
|
+
}> & (new (...args: any[]) => {
|
|
44
|
+
"@distilled.cloud/error/categories": {
|
|
45
|
+
BadRequestError: true;
|
|
46
|
+
};
|
|
47
|
+
});
|
|
48
|
+
export declare class NotFound extends /*@__PURE__*/ NotFound_base {
|
|
49
|
+
}
|
|
50
|
+
declare const PermissionDenied_base: S.TaggedErrorClass<"PermissionDenied", {
|
|
51
|
+
readonly message: any;
|
|
52
|
+
readonly body: any;
|
|
53
|
+
readonly headers: any;
|
|
54
|
+
}> & (new (...args: any[]) => {
|
|
55
|
+
"@distilled.cloud/error/categories": {
|
|
56
|
+
AuthError: true;
|
|
57
|
+
};
|
|
58
|
+
});
|
|
59
|
+
export declare class PermissionDenied extends /*@__PURE__*/ PermissionDenied_base {
|
|
60
|
+
}
|
|
61
|
+
declare const ResourceExhausted_base: S.TaggedErrorClass<"ResourceExhausted", {
|
|
62
|
+
readonly message: any;
|
|
63
|
+
readonly body: any;
|
|
64
|
+
readonly headers: any;
|
|
65
|
+
readonly retryAfter: any;
|
|
66
|
+
}> & (new (...args: any[]) => {
|
|
67
|
+
"@distilled.cloud/error/categories": {
|
|
68
|
+
ThrottlingError: true;
|
|
69
|
+
};
|
|
70
|
+
});
|
|
71
|
+
export declare class ResourceExhausted extends /*@__PURE__*/ ResourceExhausted_base {
|
|
72
|
+
}
|
|
73
|
+
declare const Unauthenticated_base: S.TaggedErrorClass<"Unauthenticated", {
|
|
74
|
+
readonly message: any;
|
|
75
|
+
readonly body: any;
|
|
76
|
+
readonly headers: any;
|
|
77
|
+
}> & (new (...args: any[]) => {
|
|
78
|
+
"@distilled.cloud/error/categories": {
|
|
79
|
+
AuthError: true;
|
|
80
|
+
};
|
|
81
|
+
});
|
|
82
|
+
export declare class Unauthenticated extends /*@__PURE__*/ Unauthenticated_base {
|
|
83
|
+
}
|
|
84
|
+
/** Configures when a tenant should expire. An expired tenant can no longer be used and will be scheduled for deletion. */
|
|
85
|
+
export interface TenantPolicyExpirationPolicy {
|
|
86
|
+
/** The point in time at which the tenant expires. If not set (or explicitly cleared), the tenant does not expire. */
|
|
87
|
+
expiresAt?: string | undefined;
|
|
88
|
+
}
|
|
89
|
+
export interface TenantPolicy {
|
|
90
|
+
/** A unique identifier that represents this policy. If none is provided, one will be generated. */
|
|
91
|
+
id?: string | undefined;
|
|
92
|
+
/** The policy being set. One of: - "namespace.cloud.compute.v1beta.UsagePolicy": the serialized JSON of a namespace.cloud.compute.v1beta.UsagePolicy should be used as value. More policies are available. Consult with the Namespace team on additional controls that can be applied per tenant. */
|
|
93
|
+
policy?: string | undefined;
|
|
94
|
+
/** The policy-specific value. It may be a string, number, or serialized message (e.g. JSON). */
|
|
95
|
+
value?: string | undefined;
|
|
96
|
+
/** A typed expiration policy. When set, `policy` and `value` are not required. Setting an ExpirationPolicy with no `expires_at` timestamp removes a previously configured expiration. */
|
|
97
|
+
expirationPolicy?: TenantPolicyExpirationPolicy | undefined;
|
|
98
|
+
}
|
|
99
|
+
export type TenantPolicyList = Array<TenantPolicy>;
|
|
100
|
+
/** Labels are key/value pairs attached to entities such as tenants. */
|
|
101
|
+
export interface Label {
|
|
102
|
+
/** A name is an string up to 63 bytes that matches the regular expression `^[a-z]([a-z0-9-.]*[a-z0-9])?$`. */
|
|
103
|
+
name?: string | undefined;
|
|
104
|
+
/** Label values are arbitrary values up to 255 bytes. */
|
|
105
|
+
value?: string | undefined;
|
|
106
|
+
}
|
|
107
|
+
export type LabelList = Array<Label>;
|
|
108
|
+
export interface CreateTenantRequest {
|
|
109
|
+
/** An opaque value that represents the identity of the user that created this Tenant. The creator is stored for understandability purposes; it does not grant any additional permissions. This property is deprecated and will not be stored in the future. */
|
|
110
|
+
creatorId?: string | undefined;
|
|
111
|
+
/** 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. */
|
|
112
|
+
visibleName?: string | undefined;
|
|
113
|
+
/** A set of policies that apply to this Tenant. Some policies are only settable at creation time, and can't be modified later. */
|
|
114
|
+
policies?: TenantPolicyList | undefined;
|
|
115
|
+
/** A string, opaque to Namespace, that identifies an external account associated with this tenant. Namespace ensures that there is at most one tenant associated with a given external account ID. If another tenant with the same external account ID is present in the system, an error is returned. */
|
|
116
|
+
externalAccountId?: string | undefined;
|
|
117
|
+
/** A set of labels that should be attached to the Tenant. */
|
|
118
|
+
labels?: LabelList | undefined;
|
|
119
|
+
}
|
|
120
|
+
export interface Tenant {
|
|
121
|
+
/** The ID of the tenant. Tenant IDs should be treated as opaque by clients. Although there's structure to them, that structure may change over time. */
|
|
122
|
+
id: string;
|
|
123
|
+
/** An opaque value supplied at creation time that represents the identity of the creator of this tenant. This property is deprecated and will not be stored in the future. */
|
|
124
|
+
creatorId: string;
|
|
125
|
+
/** An opaque value supplied at creation time that represents the identity of the creator of this tenant. There is at most one tenant with a given external ID (within a single partner account). */
|
|
126
|
+
externalAccountId: string;
|
|
127
|
+
/** Timestamp of when this tenant was created. */
|
|
128
|
+
createdAt?: string | undefined;
|
|
129
|
+
/** A human-visible label used as a tenant identifier. E.g. "Foobar (production)". */
|
|
130
|
+
visibleName: string;
|
|
131
|
+
/** Labels attached to the Tenant. */
|
|
132
|
+
labels: LabelList;
|
|
133
|
+
}
|
|
134
|
+
export interface CreateTenantResponse {
|
|
135
|
+
tenant?: Tenant | undefined;
|
|
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
|
+
}
|
|
173
|
+
export interface DeleteTenantGroupRequest {
|
|
174
|
+
/** A canonical name for the Tenant group. Tenant groups are identified by name and scoped per Namespace Partner. */
|
|
175
|
+
name?: string | undefined;
|
|
176
|
+
}
|
|
177
|
+
export interface DeleteTenantGroupResponse {
|
|
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
|
+
}
|
|
186
|
+
export interface DescribePoliciesRequest {
|
|
187
|
+
}
|
|
188
|
+
export interface DescribePoliciesResponse {
|
|
189
|
+
policies: TenantPolicyList;
|
|
190
|
+
revision: string;
|
|
191
|
+
}
|
|
192
|
+
export interface DescribeTenantGroupRequest {
|
|
193
|
+
/** A canonical name for the Tenant group. Tenant groups are identified by name and scoped per Namespace Partner. */
|
|
194
|
+
name?: string | undefined;
|
|
195
|
+
}
|
|
196
|
+
export interface TenantGroupPolicy {
|
|
197
|
+
/** The policy being set. One of: - "namespace.cloud.compute.v1beta.UsagePolicy": the serialized JSON of a namespace.cloud.compute.v1beta.UsagePolicy should be used as value. More policies are available. Consult with the Namespace team on additional controls that can be applied per tenant. */
|
|
198
|
+
policy?: string | undefined;
|
|
199
|
+
/** The policy-specific value. It may be a string, number, or serialized message (e.g. JSON). */
|
|
200
|
+
value?: string | undefined;
|
|
201
|
+
}
|
|
202
|
+
export type TenantGroupPolicyList = Array<TenantGroupPolicy>;
|
|
203
|
+
export interface DescribeTenantGroupResponse {
|
|
204
|
+
/** A canonical name for the Tenant group. Tenant groups are identified by name and scoped per Namespace Partner. */
|
|
205
|
+
name: string;
|
|
206
|
+
/** A set of policies that apply to every Tenant in this group. */
|
|
207
|
+
policies: TenantGroupPolicyList;
|
|
208
|
+
/** A list of tenants that are enrolled in this group. */
|
|
209
|
+
enrolledTenantIds: StringList;
|
|
210
|
+
/** The full history of policy revisions, latest first. Each version entry corresponds to one stored revision of the policy. */
|
|
211
|
+
versions: TenantGroupPolicyList;
|
|
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
|
+
}
|
|
222
|
+
export interface EnsureTenantForExternalAccountRequest {
|
|
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. */
|
|
224
|
+
visibleName?: string | undefined;
|
|
225
|
+
/** A set of policies that apply to this Tenant. Some policies are only settable at creation time, and can't be modified later. */
|
|
226
|
+
policies?: TenantPolicyList | undefined;
|
|
227
|
+
/** A string, opaque to Namespace, that identifies an external account associated with this tenant. Namespace ensures that there is at most one tenant associated with a given external account ID. If another tenant with the same external account ID is present in the system, it is updated with the new properties. */
|
|
228
|
+
externalAccountId?: string | undefined;
|
|
229
|
+
/** A set of labels that should be attached to the Tenant. If the Tenant already exists, its label set will be overwritten with the new set. */
|
|
230
|
+
labels?: LabelList | undefined;
|
|
231
|
+
/** A set of tenant groups that this tenant is enrolled in. Tenant groups are identified by name and scoped per Namespace Partner Account. */
|
|
232
|
+
enrolledGroups?: StringList | undefined;
|
|
233
|
+
}
|
|
234
|
+
export interface EnsureTenantForExternalAccountResponse {
|
|
235
|
+
tenant?: Tenant | undefined;
|
|
236
|
+
}
|
|
237
|
+
export interface EnsureTenantGroupRequest {
|
|
238
|
+
/** A canonical name for the Tenant group. Tenant groups are identified by name and scoped per Namespace Partner. */
|
|
239
|
+
name?: string | undefined;
|
|
240
|
+
/** A set of policies that apply to every Tenant in this group. Some policies are only settable at creation time, and can't be modified later. */
|
|
241
|
+
policies?: TenantGroupPolicyList | undefined;
|
|
242
|
+
}
|
|
243
|
+
export interface EnsureTenantGroupResponse {
|
|
244
|
+
name: string;
|
|
245
|
+
}
|
|
246
|
+
export interface ExchangeTenantTokenForClientCertRequest {
|
|
247
|
+
/** The public key for which the certificate should be issued. This must contain exactly one PEM "PUBLIC KEY" block. */
|
|
248
|
+
publicKeyPem?: string | undefined;
|
|
249
|
+
/** Optionally restrict the certificate to a subset of the permissions in the tenant token. The request fails if any permission is not granted by the token. If empty, the certificate inherits the token's permissions. */
|
|
250
|
+
permissions?: PermissionList | undefined;
|
|
251
|
+
}
|
|
252
|
+
export interface ExchangeTenantTokenForClientCertResponse {
|
|
253
|
+
/** The PEM-encoded client certificate chain issued for the supplied key. */
|
|
254
|
+
clientCertificatePem: string;
|
|
255
|
+
}
|
|
256
|
+
export interface TenantTokenPolicy {
|
|
257
|
+
/** The policy type being set. Consult with the Namespace team on which controls can be applied per tenant token. */
|
|
258
|
+
policyType?: string | undefined;
|
|
259
|
+
/** The policy-specific value. It may be a string, number, or serialized message (e.g. JSON). */
|
|
260
|
+
value?: string | undefined;
|
|
261
|
+
}
|
|
262
|
+
export type TenantTokenPolicyList = Array<TenantTokenPolicy>;
|
|
263
|
+
export interface AccessPolicy {
|
|
264
|
+
/** Grant a restricted set of permissions to this token. See https://namespace.so/docs/security/permissions for available permissions. */
|
|
265
|
+
grants?: PermissionList | undefined;
|
|
266
|
+
}
|
|
267
|
+
export interface IssueTenantClientCertificateRequest {
|
|
268
|
+
/** Which tenant credentials should be produced for. */
|
|
269
|
+
tenantId?: string | undefined;
|
|
270
|
+
/** A integration-specified identifier that represents the user that is requesting these credentials. The actor identity is embedded into the resulting client certificate. */
|
|
271
|
+
actorId?: string | undefined;
|
|
272
|
+
/** For how long should the resulting credentials be valid for. If not specified, a short-lived default is used (e.g 15mins). */
|
|
273
|
+
durationSecs?: string | undefined;
|
|
274
|
+
/** A set of policies that apply to this tenant client certificate. */
|
|
275
|
+
policies?: TenantTokenPolicyList | undefined;
|
|
276
|
+
/** Configure the access permissions available with this token. */
|
|
277
|
+
access?: AccessPolicy | undefined;
|
|
278
|
+
/** Optional. If not given, a key pair will be generated and the private key will be returned in `IssueTenantClientCertificateResponse`. If set, this indicates that a key pair has been generated on the client and a certificate should be issued for this public key. In that case, this field must contain exactly one PEM "PUBLIC KEY" block. */
|
|
279
|
+
publicKeyPem?: string | undefined;
|
|
280
|
+
}
|
|
281
|
+
export interface IssueTenantClientCertificateResponse {
|
|
282
|
+
/** The PEM-encoded client certificate that has been issued. The PEM container will contain one or more PEM "CERTIFICATE" blocks. If multiple certificates are returned, they can be used to build a certificate chain to a server-requested Certification Authority. */
|
|
283
|
+
clientCertificatePem: string;
|
|
284
|
+
/** This field is only filled if the request did not contain `public_key_pem`. In that case the API will generate a private key. This field will be a PEM container with exactly one "PRIVATE KEY" block. */
|
|
285
|
+
privateKeyPem: string | Redacted.Redacted<string>;
|
|
286
|
+
}
|
|
287
|
+
export interface IssueTenantTokenRequest {
|
|
288
|
+
/** Which tenant credentials should be produced for. */
|
|
289
|
+
tenantId?: string | undefined;
|
|
290
|
+
/** A integration-specified identifier that represents the user that is requesting these credentials. The actor identity is embedded into the verifiable claims of the resulting JWT. */
|
|
291
|
+
actorId?: string | undefined;
|
|
292
|
+
/** For how long should the resulting credentials be valid for. If not specified, a short-lived default is used (e.g 15mins). */
|
|
293
|
+
durationSecs?: string | undefined;
|
|
294
|
+
/** A set of policies that apply to this tenant token. */
|
|
295
|
+
policies?: TenantTokenPolicyList | undefined;
|
|
296
|
+
/** Configure the access permissions available with this token. */
|
|
297
|
+
access?: AccessPolicy | undefined;
|
|
298
|
+
}
|
|
299
|
+
export interface IssueTenantTokenResponse {
|
|
300
|
+
/** The tenant Bearer token. Pass this in the `Authorization: Bearer {token}` header when calling Namespace APIs. */
|
|
301
|
+
bearerToken: string | Redacted.Redacted<string>;
|
|
302
|
+
}
|
|
303
|
+
export interface ListTenantGroupsRequest {
|
|
304
|
+
}
|
|
305
|
+
export interface ListTenantGroupsResponseTenantGroup {
|
|
306
|
+
/** A canonical name for the Tenant group. Tenant groups are identified by name and scoped per Namespace Partner. */
|
|
307
|
+
name: string;
|
|
308
|
+
/** A set of policies that apply to every Tenant in this group. */
|
|
309
|
+
policies: TenantGroupPolicyList;
|
|
310
|
+
/** The full history of policy revisions, latest first. Each version entry corresponds to one stored revision of the policy. */
|
|
311
|
+
versions: TenantGroupPolicyList;
|
|
312
|
+
}
|
|
313
|
+
export type ListTenantGroupsResponseTenantGroupList = Array<ListTenantGroupsResponseTenantGroup>;
|
|
314
|
+
export interface ListTenantGroupsResponse {
|
|
315
|
+
tenantGroups: ListTenantGroupsResponseTenantGroupList;
|
|
316
|
+
}
|
|
317
|
+
export interface ListTenantsRequest {
|
|
318
|
+
/** If specified, limits the number of returned Tenants to be at most `limit`. The platform may always decide to return fewer Tenants, even if more exist, and the requested limit is higher. */
|
|
319
|
+
limit?: number | undefined;
|
|
320
|
+
/** If specified, continues a list operation with pagination, i.e. obtain the next list of tenants that match previous criteria. If a cursor is specified, no other parameters except `limit` may be provided. */
|
|
321
|
+
cursor?: string | undefined;
|
|
322
|
+
/** If specified, only return tenants that were created by the specified user id. This property is deprecated and will not be respected in the future. */
|
|
323
|
+
creatorId?: string | undefined;
|
|
324
|
+
/** If specified, returns at most one tenant associated with a given external ID. See `Tenant.external_account_id` for details. */
|
|
325
|
+
externalAccountId?: string | undefined;
|
|
326
|
+
}
|
|
327
|
+
export type TenantList = Array<Tenant>;
|
|
328
|
+
export interface ListTenantsResponse {
|
|
329
|
+
tenants: TenantList;
|
|
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. */
|
|
331
|
+
cursor: string;
|
|
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
|
+
}
|
|
345
|
+
export interface RemoveTenantRequest {
|
|
346
|
+
/** The ID of the Tenant that is the target of a particular call. */
|
|
347
|
+
tenantId?: string | undefined;
|
|
348
|
+
}
|
|
349
|
+
export interface RemoveTenantResponse {
|
|
350
|
+
}
|
|
351
|
+
export interface ResumeTenantRequest {
|
|
352
|
+
/** The ID of the Tenant that is the target of a particular call. */
|
|
353
|
+
tenantId?: string | undefined;
|
|
354
|
+
}
|
|
355
|
+
export interface ResumeTenantResponse {
|
|
356
|
+
}
|
|
357
|
+
export interface SuspendTenantRequest {
|
|
358
|
+
/** The ID of the Tenant that is the target of a particular call. */
|
|
359
|
+
tenantId?: string | undefined;
|
|
360
|
+
}
|
|
361
|
+
export interface SuspendTenantResponse {
|
|
362
|
+
}
|
|
363
|
+
export interface UpdatePoliciesRequest {
|
|
364
|
+
/** The ID of the Tenant that is the target of a particular call. */
|
|
365
|
+
tenantId?: string | undefined;
|
|
366
|
+
/** A set of policies that apply to this Tenant. Some policies are only settable at creation time, and can't be modified later. */
|
|
367
|
+
policies?: TenantPolicyList | undefined;
|
|
368
|
+
/** Only update if revision matches. */
|
|
369
|
+
revision?: string | undefined;
|
|
370
|
+
}
|
|
371
|
+
export interface UpdatePoliciesResponse {
|
|
372
|
+
}
|
|
373
|
+
export interface UpdateTenantRequest {
|
|
374
|
+
/** The ID of the Tenant that is the target of a particular call. */
|
|
375
|
+
tenantId?: string | undefined;
|
|
376
|
+
/** 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. */
|
|
377
|
+
visibleName?: string | undefined;
|
|
378
|
+
/** A set of policies that apply to this Tenant. Some policies are only settable at creation time, and can't be modified later. */
|
|
379
|
+
policies?: TenantPolicyList | undefined;
|
|
380
|
+
/** A set of labels that should be attached to the Tenant. The tenant's label set will be overwritten with the new set. */
|
|
381
|
+
labels?: LabelList | undefined;
|
|
382
|
+
}
|
|
383
|
+
export interface UpdateTenantResponse {
|
|
384
|
+
tenant?: Tenant | undefined;
|
|
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
|
+
}
|
|
394
|
+
export type CreateTenantError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
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. */
|
|
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>;
|
|
400
|
+
export type DeleteTenantGroupError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
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. */
|
|
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>;
|
|
406
|
+
export type DescribePoliciesError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
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. */
|
|
408
|
+
export declare const describePolicies: API.OperationMethod<DescribePoliciesRequest, DescribePoliciesResponse, DescribePoliciesError, NamespaceLabsOpContext>;
|
|
409
|
+
export type DescribeTenantGroupError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
410
|
+
/** Lists all Tenant Groups owned by the Namespace Partner Account. */
|
|
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>;
|
|
415
|
+
export type EnsureTenantForExternalAccountError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
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. */
|
|
417
|
+
export declare const ensureTenantForExternalAccount: API.OperationMethod<EnsureTenantForExternalAccountRequest, EnsureTenantForExternalAccountResponse, EnsureTenantForExternalAccountError, NamespaceLabsOpContext>;
|
|
418
|
+
export type EnsureTenantGroupError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
419
|
+
/** Creates or updates a Tenant Group. Tenant Groups are identified by name and scoped by the Namespace Partner Account. ### Errors - If one of the properties that are passed in is invalid, an `InvalidArgument` error is returned. */
|
|
420
|
+
export declare const ensureTenantGroup: API.OperationMethod<EnsureTenantGroupRequest, EnsureTenantGroupResponse, EnsureTenantGroupError, NamespaceLabsOpContext>;
|
|
421
|
+
export type ExchangeTenantTokenForClientCertError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
422
|
+
/** Exchanges tenant Bearer credentials for an X.509 client certificate with the same tenant identity and no broader permissions. */
|
|
423
|
+
export declare const exchangeTenantTokenForClientCert: API.OperationMethod<ExchangeTenantTokenForClientCertRequest, ExchangeTenantTokenForClientCertResponse, ExchangeTenantTokenForClientCertError, NamespaceLabsOpContext>;
|
|
424
|
+
export type IssueTenantClientCertificateError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
425
|
+
/** Produces credentials in the form of a X.509 client certificate that grant access to the specified Tenant. The credentials provided to the `IssueTenantClientCertificate` call are validated to verify they are capable of requesting credentials. */
|
|
426
|
+
export declare const issueTenantClientCertificate: API.OperationMethod<IssueTenantClientCertificateRequest, IssueTenantClientCertificateResponse, IssueTenantClientCertificateError, NamespaceLabsOpContext>;
|
|
427
|
+
export type IssueTenantTokenError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
428
|
+
/** Produces credentials in the form of a Bearer token that grant access to the specified Tenant. The credentials provided to the `IssueTenantToken` call are validated to verify they are capable of requesting credentials. */
|
|
429
|
+
export declare const issueTenantToken: API.OperationMethod<IssueTenantTokenRequest, IssueTenantTokenResponse, IssueTenantTokenError, NamespaceLabsOpContext>;
|
|
430
|
+
export type ListTenantGroupsError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
431
|
+
/** Lists all Tenant Groups owned by the Namespace Partner Account. */
|
|
432
|
+
export declare const listTenantGroups: API.OperationMethod<ListTenantGroupsRequest, ListTenantGroupsResponse, ListTenantGroupsError, NamespaceLabsOpContext>;
|
|
433
|
+
export type ListTenantsError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
434
|
+
/** Lists all tenants that match the criteria specified. */
|
|
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>;
|
|
439
|
+
export type RemoveTenantError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
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. */
|
|
441
|
+
export declare const removeTenant: API.OperationMethod<RemoveTenantRequest, RemoveTenantResponse, RemoveTenantError, NamespaceLabsOpContext>;
|
|
442
|
+
export type ResumeTenantError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
443
|
+
/** Un-suspends a previously suspended Tenant. If the Tenant was not suspended, it is a no-op. ### Errors - If the tenant referenced does not exist, a `NotFound` status is returned. */
|
|
444
|
+
export declare const resumeTenant: API.OperationMethod<ResumeTenantRequest, ResumeTenantResponse, ResumeTenantError, NamespaceLabsOpContext>;
|
|
445
|
+
export type SuspendTenantError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
446
|
+
/** Suspending a Tenant prevents it from creating new resources, but does not immediately terminate resources it owns that may be running. Suspending a tenant is a useful operational utility that can be used to cordon a particular user, without requiring removing resources that that user owns. ### Errors - If the tenant referenced does not exist, a `NotFound` status is returned. */
|
|
447
|
+
export declare const suspendTenant: API.OperationMethod<SuspendTenantRequest, SuspendTenantResponse, SuspendTenantError, NamespaceLabsOpContext>;
|
|
448
|
+
export type UpdatePoliciesError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
449
|
+
/** Updates policies attached to a Tenant. Requires either a partner token, or an admin-scoped tenant token. ### Errors - If one of the properties that are passed in is invalid, an `InvalidArgument` error is returned. */
|
|
450
|
+
export declare const updatePolicies: API.OperationMethod<UpdatePoliciesRequest, UpdatePoliciesResponse, UpdatePoliciesError, NamespaceLabsOpContext>;
|
|
451
|
+
export type UpdateTenantError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
452
|
+
/** Updates policies attached to a Tenant. ### Errors - If one of the properties that are passed in is invalid, an `InvalidArgument` error is returned. */
|
|
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>;
|
|
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,qBAOrB;CAAG;;;;;;;;;;;AAEN,qBAAa,iBACX,SAAQ,aAAa,CAAC,sBAQrB;CAAG;;;;;;;;;;AAEN,qBAAa,eACX,SAAQ,aAAa,CAAC,oBAOrB;CAAG;AAEN,0HAA0H;AAC1H,MAAM,WAAW,4BAA4B;IAC3C,qHAAqH;IACrH,SAAS,CAAC,EAAE,MAAM,GAAG,SAA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,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/unstable-services/iam_tenant.ts"],"mappings":"kZAmBA,MAAMoD,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,gBACT,UAAW,KACb,EAEA,M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