@distilled.cloud/namespacelabs 0.0.0 → 1.0.0-rc.20
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 +121 -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 +55 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +1 -0
- package/lib/errors.d.ts +33 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +1 -0
- package/lib/index.d.ts +42 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +7 -0
- package/lib/index.lazy.js +7 -0
- package/lib/index.lazy.js.map +1 -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 +15 -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/artifacts.d.ts +260 -0
- package/lib/services/artifacts.d.ts.map +1 -0
- package/lib/services/artifacts.js +2 -0
- package/lib/services/artifacts.js.map +1 -0
- package/lib/services/audit.d.ts +149 -0
- package/lib/services/audit.d.ts.map +1 -0
- package/lib/services/audit.js +2 -0
- package/lib/services/audit.js.map +1 -0
- package/lib/services/bazel.d.ts +173 -0
- package/lib/services/bazel.d.ts.map +1 -0
- package/lib/services/bazel.js +2 -0
- package/lib/services/bazel.js.map +1 -0
- package/lib/services/bazel_cache.d.ts +118 -0
- package/lib/services/bazel_cache.d.ts.map +1 -0
- package/lib/services/bazel_cache.js +2 -0
- package/lib/services/bazel_cache.js.map +1 -0
- package/lib/services/builder.d.ts +234 -0
- package/lib/services/builder.d.ts.map +1 -0
- package/lib/services/builder.js +2 -0
- package/lib/services/builder.js.map +1 -0
- package/lib/services/buildkite_jobs.d.ts +121 -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 +178 -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/compute.d.ts +1057 -0
- package/lib/services/compute.d.ts.map +1 -0
- package/lib/services/compute.js +43 -0
- package/lib/services/compute.js.map +1 -0
- package/lib/services/compute_command.d.ts +112 -0
- package/lib/services/compute_command.d.ts.map +1 -0
- package/lib/services/compute_command.js +2 -0
- package/lib/services/compute_command.js.map +1 -0
- package/lib/services/compute_observability.d.ts +157 -0
- package/lib/services/compute_observability.d.ts.map +1 -0
- package/lib/services/compute_observability.js +2 -0
- package/lib/services/compute_observability.js.map +1 -0
- package/lib/services/compute_storage.d.ts +371 -0
- package/lib/services/compute_storage.d.ts.map +1 -0
- package/lib/services/compute_storage.js +33 -0
- package/lib/services/compute_storage.js.map +1 -0
- package/lib/services/compute_usage.d.ts +275 -0
- package/lib/services/compute_usage.d.ts.map +1 -0
- package/lib/services/compute_usage.js +2 -0
- package/lib/services/compute_usage.js.map +1 -0
- package/lib/services/egress.d.ts +183 -0
- package/lib/services/egress.d.ts.map +1 -0
- package/lib/services/egress.js +2 -0
- package/lib/services/egress.js.map +1 -0
- package/lib/services/experimental_compute_reservation.d.ts +662 -0
- package/lib/services/experimental_compute_reservation.d.ts.map +1 -0
- package/lib/services/experimental_compute_reservation.js +23 -0
- package/lib/services/experimental_compute_reservation.js.map +1 -0
- package/lib/services/experimental_remote_results.d.ts +488 -0
- package/lib/services/experimental_remote_results.d.ts.map +1 -0
- package/lib/services/experimental_remote_results.js +2 -0
- package/lib/services/experimental_remote_results.js.map +1 -0
- package/lib/services/github_image.d.ts +154 -0
- package/lib/services/github_image.d.ts.map +1 -0
- package/lib/services/github_image.js +2 -0
- package/lib/services/github_image.js.map +1 -0
- package/lib/services/github_jobs.d.ts +175 -0
- package/lib/services/github_jobs.d.ts.map +1 -0
- package/lib/services/github_jobs.js +2 -0
- package/lib/services/github_jobs.js.map +1 -0
- package/lib/services/github_profile.d.ts +288 -0
- package/lib/services/github_profile.d.ts.map +1 -0
- package/lib/services/github_profile.js +2 -0
- package/lib/services/github_profile.js.map +1 -0
- package/lib/services/gradle_cache.d.ts +117 -0
- package/lib/services/gradle_cache.d.ts.map +1 -0
- package/lib/services/gradle_cache.js +2 -0
- package/lib/services/gradle_cache.js.map +1 -0
- package/lib/services/httpcache.d.ts +117 -0
- package/lib/services/httpcache.d.ts.map +1 -0
- package/lib/services/httpcache.js +2 -0
- package/lib/services/httpcache.js.map +1 -0
- package/lib/services/iam_tenant.d.ts +373 -0
- package/lib/services/iam_tenant.d.ts.map +1 -0
- package/lib/services/iam_tenant.js +39 -0
- package/lib/services/iam_tenant.js.map +1 -0
- package/lib/services/iam_tenant_membership.d.ts +106 -0
- package/lib/services/iam_tenant_membership.d.ts.map +1 -0
- package/lib/services/iam_tenant_membership.js +2 -0
- package/lib/services/iam_tenant_membership.js.map +1 -0
- package/lib/services/iam_token.d.ts +249 -0
- package/lib/services/iam_token.d.ts.map +1 -0
- package/lib/services/iam_token.js +2 -0
- package/lib/services/iam_token.js.map +1 -0
- package/lib/services/image.d.ts +214 -0
- package/lib/services/image.d.ts.map +1 -0
- package/lib/services/image.js +2 -0
- package/lib/services/image.js.map +1 -0
- package/lib/services/index.d.ts +30 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +29 -0
- package/lib/services/private_devbox.d.ts +1156 -0
- package/lib/services/private_devbox.d.ts.map +1 -0
- package/lib/services/private_devbox.js +81 -0
- package/lib/services/private_devbox.js.map +1 -0
- package/lib/services/private_user_sessions.d.ts +137 -0
- package/lib/services/private_user_sessions.d.ts.map +1 -0
- package/lib/services/private_user_sessions.js +2 -0
- package/lib/services/private_user_sessions.js.map +1 -0
- package/lib/services/registry.d.ts +365 -0
- package/lib/services/registry.d.ts.map +1 -0
- package/lib/services/registry.js +34 -0
- package/lib/services/registry.js.map +1 -0
- package/lib/services/testing.d.ts +152 -0
- package/lib/services/testing.d.ts.map +1 -0
- package/lib/services/testing.js +2 -0
- package/lib/services/testing.js.map +1 -0
- package/lib/services/vault.d.ts +195 -0
- package/lib/services/vault.d.ts.map +1 -0
- package/lib/services/vault.js +2 -0
- package/lib/services/vault.js.map +1 -0
- package/lib/services.lazy/artifacts.js +1 -0
- package/lib/services.lazy/audit.js +1 -0
- package/lib/services.lazy/bazel.js +1 -0
- package/lib/services.lazy/bazel_cache.js +1 -0
- package/lib/services.lazy/builder.js +1 -0
- package/lib/services.lazy/buildkite_jobs.js +1 -0
- package/lib/services.lazy/buildkite_queue.js +1 -0
- package/lib/services.lazy/compute.js +4 -0
- package/lib/services.lazy/compute_command.js +1 -0
- package/lib/services.lazy/compute_observability.js +1 -0
- package/lib/services.lazy/compute_storage.js +4 -0
- package/lib/services.lazy/compute_usage.js +1 -0
- package/lib/services.lazy/egress.js +1 -0
- package/lib/services.lazy/experimental_compute_reservation.js +4 -0
- package/lib/services.lazy/experimental_remote_results.js +1 -0
- package/lib/services.lazy/github_image.js +1 -0
- package/lib/services.lazy/github_jobs.js +1 -0
- package/lib/services.lazy/github_profile.js +1 -0
- package/lib/services.lazy/gradle_cache.js +1 -0
- package/lib/services.lazy/httpcache.js +1 -0
- package/lib/services.lazy/iam_tenant.js +4 -0
- package/lib/services.lazy/iam_tenant_membership.js +1 -0
- package/lib/services.lazy/iam_token.js +1 -0
- package/lib/services.lazy/image.js +1 -0
- package/lib/services.lazy/index.js +3 -0
- package/lib/services.lazy/private_devbox.js +4 -0
- package/lib/services.lazy/private_user_sessions.js +1 -0
- package/lib/services.lazy/registry.js +4 -0
- package/lib/services.lazy/testing.js +1 -0
- package/lib/services.lazy/vault.js +1 -0
- package/lib/traits.d.ts +3 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +1 -0
- package/package.json +82 -2
- package/src/credentials.ts +164 -0
- package/src/errors.ts +47 -0
- package/src/index.ts +48 -0
- package/src/pagination.ts +1 -0
- package/src/protocol.ts +82 -0
- package/src/retry.ts +28 -0
- package/src/services/artifacts.ts +761 -0
- package/src/services/audit.ts +315 -0
- package/src/services/bazel.ts +415 -0
- package/src/services/bazel_cache.ts +211 -0
- package/src/services/builder.ts +568 -0
- package/src/services/buildkite_jobs.ts +222 -0
- package/src/services/buildkite_queue.ts +445 -0
- package/src/services/compute.ts +2794 -0
- package/src/services/compute_command.ts +212 -0
- package/src/services/compute_observability.ts +428 -0
- package/src/services/compute_storage.ts +1159 -0
- package/src/services/compute_usage.ts +730 -0
- package/src/services/egress.ts +508 -0
- package/src/services/experimental_compute_reservation.ts +1488 -0
- package/src/services/experimental_remote_results.ts +1157 -0
- package/src/services/github_image.ts +293 -0
- package/src/services/github_jobs.ts +381 -0
- package/src/services/github_profile.ts +721 -0
- package/src/services/gradle_cache.ts +263 -0
- package/src/services/httpcache.ts +263 -0
- package/src/services/iam_tenant.ts +1355 -0
- package/src/services/iam_tenant_membership.ts +245 -0
- package/src/services/iam_token.ts +780 -0
- package/src/services/image.ts +594 -0
- package/src/services/index.ts +30 -0
- package/src/services/private_devbox.ts +4217 -0
- package/src/services/private_user_sessions.ts +402 -0
- package/src/services/registry.ts +1234 -0
- package/src/services/testing.ts +386 -0
- package/src/services/vault.ts +514 -0
- package/src/traits.ts +36 -0
|
@@ -0,0 +1,373 @@
|
|
|
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
|
+
}> & (new (...args: any[]) => {
|
|
10
|
+
"@distilled.cloud/error/categories": {
|
|
11
|
+
ConflictError: true;
|
|
12
|
+
};
|
|
13
|
+
});
|
|
14
|
+
export declare class AlreadyExists extends /*@__PURE__*/ AlreadyExists_base {
|
|
15
|
+
}
|
|
16
|
+
declare const FailedPrecondition_base: S.TaggedErrorClass<"FailedPrecondition", {
|
|
17
|
+
readonly message: any;
|
|
18
|
+
readonly body: any;
|
|
19
|
+
}> & (new (...args: any[]) => {
|
|
20
|
+
"@distilled.cloud/error/categories": {
|
|
21
|
+
BadRequestError: true;
|
|
22
|
+
};
|
|
23
|
+
});
|
|
24
|
+
export declare class FailedPrecondition extends /*@__PURE__*/ FailedPrecondition_base {
|
|
25
|
+
}
|
|
26
|
+
declare const InvalidArgument_base: S.TaggedErrorClass<"InvalidArgument", {
|
|
27
|
+
readonly message: any;
|
|
28
|
+
readonly body: any;
|
|
29
|
+
}> & (new (...args: any[]) => {
|
|
30
|
+
"@distilled.cloud/error/categories": {
|
|
31
|
+
BadRequestError: true;
|
|
32
|
+
};
|
|
33
|
+
});
|
|
34
|
+
export declare class InvalidArgument extends /*@__PURE__*/ InvalidArgument_base {
|
|
35
|
+
}
|
|
36
|
+
declare const NotFound_base: S.TaggedErrorClass<"NotFound", {
|
|
37
|
+
readonly message: any;
|
|
38
|
+
readonly body: any;
|
|
39
|
+
}> & (new (...args: any[]) => {
|
|
40
|
+
"@distilled.cloud/error/categories": {
|
|
41
|
+
BadRequestError: true;
|
|
42
|
+
};
|
|
43
|
+
});
|
|
44
|
+
export declare class NotFound extends /*@__PURE__*/ NotFound_base {
|
|
45
|
+
}
|
|
46
|
+
declare const PermissionDenied_base: S.TaggedErrorClass<"PermissionDenied", {
|
|
47
|
+
readonly message: any;
|
|
48
|
+
readonly body: any;
|
|
49
|
+
}> & (new (...args: any[]) => {
|
|
50
|
+
"@distilled.cloud/error/categories": {
|
|
51
|
+
AuthError: true;
|
|
52
|
+
};
|
|
53
|
+
});
|
|
54
|
+
export declare class PermissionDenied extends /*@__PURE__*/ PermissionDenied_base {
|
|
55
|
+
}
|
|
56
|
+
declare const ResourceExhausted_base: S.TaggedErrorClass<"ResourceExhausted", {
|
|
57
|
+
readonly message: any;
|
|
58
|
+
readonly body: any;
|
|
59
|
+
}> & (new (...args: any[]) => {
|
|
60
|
+
"@distilled.cloud/error/categories": {
|
|
61
|
+
ThrottlingError: true;
|
|
62
|
+
};
|
|
63
|
+
});
|
|
64
|
+
export declare class ResourceExhausted extends /*@__PURE__*/ ResourceExhausted_base {
|
|
65
|
+
}
|
|
66
|
+
declare const Unauthenticated_base: S.TaggedErrorClass<"Unauthenticated", {
|
|
67
|
+
readonly message: any;
|
|
68
|
+
readonly body: any;
|
|
69
|
+
}> & (new (...args: any[]) => {
|
|
70
|
+
"@distilled.cloud/error/categories": {
|
|
71
|
+
AuthError: true;
|
|
72
|
+
};
|
|
73
|
+
});
|
|
74
|
+
export declare class Unauthenticated extends /*@__PURE__*/ Unauthenticated_base {
|
|
75
|
+
}
|
|
76
|
+
/** Configures when a tenant should expire. An expired tenant can no longer be used and will be scheduled for deletion. */
|
|
77
|
+
export interface TenantPolicyExpirationPolicy {
|
|
78
|
+
/** The point in time at which the tenant expires. If not set (or explicitly cleared), the tenant does not expire. */
|
|
79
|
+
expiresAt?: string | undefined;
|
|
80
|
+
}
|
|
81
|
+
export interface TenantPolicy {
|
|
82
|
+
/** A unique identifier that represents this policy. If none is provided, one will be generated. */
|
|
83
|
+
id?: string | undefined;
|
|
84
|
+
/** 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. */
|
|
85
|
+
policy?: string | undefined;
|
|
86
|
+
/** The policy-specific value. It may be a string, number, or serialized message (e.g. JSON). */
|
|
87
|
+
value?: string | undefined;
|
|
88
|
+
/** 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. */
|
|
89
|
+
expirationPolicy?: TenantPolicyExpirationPolicy | undefined;
|
|
90
|
+
}
|
|
91
|
+
export type TenantPolicyList = Array<TenantPolicy>;
|
|
92
|
+
/** Labels are key/value pairs attached to entities such as tenants. */
|
|
93
|
+
export interface Label {
|
|
94
|
+
/** A name is an string up to 63 bytes that matches the regular expression `^[a-z]([a-z0-9-.]*[a-z0-9])?$`. */
|
|
95
|
+
name?: string | undefined;
|
|
96
|
+
/** Label values are arbitrary values up to 255 bytes. */
|
|
97
|
+
value?: string | undefined;
|
|
98
|
+
}
|
|
99
|
+
export type LabelList = Array<Label>;
|
|
100
|
+
export interface CreateTenantRequest {
|
|
101
|
+
/** 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. */
|
|
102
|
+
creatorId?: string | undefined;
|
|
103
|
+
/** 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. */
|
|
104
|
+
visibleName?: string | undefined;
|
|
105
|
+
/** A set of policies that apply to this Tenant. Some policies are only settable at creation time, and can't be modified later. */
|
|
106
|
+
policies?: TenantPolicyList | undefined;
|
|
107
|
+
/** 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. */
|
|
108
|
+
externalAccountId?: string | undefined;
|
|
109
|
+
/** A set of labels that should be attached to the Tenant. */
|
|
110
|
+
labels?: LabelList | undefined;
|
|
111
|
+
}
|
|
112
|
+
export interface Tenant {
|
|
113
|
+
/** 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. */
|
|
114
|
+
id: string;
|
|
115
|
+
/** 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. */
|
|
116
|
+
creatorId: string;
|
|
117
|
+
/** 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). */
|
|
118
|
+
externalAccountId: string;
|
|
119
|
+
/** Timestamp of when this tenant was created. */
|
|
120
|
+
createdAt?: string | undefined;
|
|
121
|
+
/** A human-visible label used as a tenant identifier. E.g. "Foobar (production)". */
|
|
122
|
+
visibleName: string;
|
|
123
|
+
/** Labels attached to the Tenant. */
|
|
124
|
+
labels: LabelList;
|
|
125
|
+
}
|
|
126
|
+
export interface CreateTenantResponse {
|
|
127
|
+
tenant?: Tenant | undefined;
|
|
128
|
+
}
|
|
129
|
+
export interface DeleteTenantGroupRequest {
|
|
130
|
+
/** A canonical name for the Tenant group. Tenant groups are identified by name and scoped per Namespace Partner. */
|
|
131
|
+
name?: string | undefined;
|
|
132
|
+
}
|
|
133
|
+
export interface DeleteTenantGroupResponse {
|
|
134
|
+
}
|
|
135
|
+
export interface DescribePoliciesRequest {
|
|
136
|
+
}
|
|
137
|
+
export interface DescribePoliciesResponse {
|
|
138
|
+
policies: TenantPolicyList;
|
|
139
|
+
revision: string;
|
|
140
|
+
}
|
|
141
|
+
export interface DescribeTenantGroupRequest {
|
|
142
|
+
/** A canonical name for the Tenant group. Tenant groups are identified by name and scoped per Namespace Partner. */
|
|
143
|
+
name?: string | undefined;
|
|
144
|
+
}
|
|
145
|
+
export interface TenantGroupPolicy {
|
|
146
|
+
/** 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. */
|
|
147
|
+
policy?: string | undefined;
|
|
148
|
+
/** The policy-specific value. It may be a string, number, or serialized message (e.g. JSON). */
|
|
149
|
+
value?: string | undefined;
|
|
150
|
+
}
|
|
151
|
+
export type TenantGroupPolicyList = Array<TenantGroupPolicy>;
|
|
152
|
+
export type StringList = Array<string>;
|
|
153
|
+
export interface DescribeTenantGroupResponse {
|
|
154
|
+
/** A canonical name for the Tenant group. Tenant groups are identified by name and scoped per Namespace Partner. */
|
|
155
|
+
name: string;
|
|
156
|
+
/** A set of policies that apply to every Tenant in this group. */
|
|
157
|
+
policies: TenantGroupPolicyList;
|
|
158
|
+
/** A list of tenants that are enrolled in this group. */
|
|
159
|
+
enrolledTenantIds: StringList;
|
|
160
|
+
/** The full history of policy revisions, latest first. Each version entry corresponds to one stored revision of the policy. */
|
|
161
|
+
versions: TenantGroupPolicyList;
|
|
162
|
+
}
|
|
163
|
+
export interface EnsureTenantForExternalAccountRequest {
|
|
164
|
+
/** 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
|
+
visibleName?: string | undefined;
|
|
166
|
+
/** A set of policies that apply to this Tenant. Some policies are only settable at creation time, and can't be modified later. */
|
|
167
|
+
policies?: TenantPolicyList | undefined;
|
|
168
|
+
/** 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. */
|
|
169
|
+
externalAccountId?: string | undefined;
|
|
170
|
+
/** 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. */
|
|
171
|
+
labels?: LabelList | undefined;
|
|
172
|
+
/** A set of tenant groups that this tenant is enrolled in. Tenant groups are identified by name and scoped per Namespace Partner Account. */
|
|
173
|
+
enrolledGroups?: StringList | undefined;
|
|
174
|
+
}
|
|
175
|
+
export interface EnsureTenantForExternalAccountResponse {
|
|
176
|
+
tenant?: Tenant | undefined;
|
|
177
|
+
}
|
|
178
|
+
export interface EnsureTenantGroupRequest {
|
|
179
|
+
/** A canonical name for the Tenant group. Tenant groups are identified by name and scoped per Namespace Partner. */
|
|
180
|
+
name?: string | undefined;
|
|
181
|
+
/** 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. */
|
|
182
|
+
policies?: TenantGroupPolicyList | undefined;
|
|
183
|
+
}
|
|
184
|
+
export interface EnsureTenantGroupResponse {
|
|
185
|
+
name: string;
|
|
186
|
+
}
|
|
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
|
+
export interface ExchangeTenantTokenForClientCertRequest {
|
|
198
|
+
/** The public key for which the certificate should be issued. This must contain exactly one PEM "PUBLIC KEY" block. */
|
|
199
|
+
publicKeyPem?: string | undefined;
|
|
200
|
+
/** 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. */
|
|
201
|
+
permissions?: PermissionList | undefined;
|
|
202
|
+
}
|
|
203
|
+
export interface ExchangeTenantTokenForClientCertResponse {
|
|
204
|
+
/** The PEM-encoded client certificate chain issued for the supplied key. */
|
|
205
|
+
clientCertificatePem: string;
|
|
206
|
+
}
|
|
207
|
+
export interface TenantTokenPolicy {
|
|
208
|
+
/** The policy type being set. Consult with the Namespace team on which controls can be applied per tenant token. */
|
|
209
|
+
policyType?: string | undefined;
|
|
210
|
+
/** The policy-specific value. It may be a string, number, or serialized message (e.g. JSON). */
|
|
211
|
+
value?: string | undefined;
|
|
212
|
+
}
|
|
213
|
+
export type TenantTokenPolicyList = Array<TenantTokenPolicy>;
|
|
214
|
+
export interface AccessPolicy {
|
|
215
|
+
/** Grant a restricted set of permissions to this token. See https://namespace.so/docs/security/permissions for available permissions. */
|
|
216
|
+
grants?: PermissionList | undefined;
|
|
217
|
+
}
|
|
218
|
+
export interface IssueTenantClientCertificateRequest {
|
|
219
|
+
/** Which tenant credentials should be produced for. */
|
|
220
|
+
tenantId?: string | undefined;
|
|
221
|
+
/** A integration-specified identifier that represents the user that is requesting these credentials. The actor identity is embedded into the resulting client certificate. */
|
|
222
|
+
actorId?: string | undefined;
|
|
223
|
+
/** For how long should the resulting credentials be valid for. If not specified, a short-lived default is used (e.g 15mins). */
|
|
224
|
+
durationSecs?: string | undefined;
|
|
225
|
+
/** A set of policies that apply to this tenant client certificate. */
|
|
226
|
+
policies?: TenantTokenPolicyList | undefined;
|
|
227
|
+
/** Configure the access permissions available with this token. */
|
|
228
|
+
access?: AccessPolicy | undefined;
|
|
229
|
+
/** 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. */
|
|
230
|
+
publicKeyPem?: string | undefined;
|
|
231
|
+
}
|
|
232
|
+
export interface IssueTenantClientCertificateResponse {
|
|
233
|
+
/** 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. */
|
|
234
|
+
clientCertificatePem: string;
|
|
235
|
+
/** 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. */
|
|
236
|
+
privateKeyPem: string | Redacted.Redacted<string>;
|
|
237
|
+
}
|
|
238
|
+
export interface IssueTenantTokenRequest {
|
|
239
|
+
/** Which tenant credentials should be produced for. */
|
|
240
|
+
tenantId?: string | undefined;
|
|
241
|
+
/** 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. */
|
|
242
|
+
actorId?: string | undefined;
|
|
243
|
+
/** For how long should the resulting credentials be valid for. If not specified, a short-lived default is used (e.g 15mins). */
|
|
244
|
+
durationSecs?: string | undefined;
|
|
245
|
+
/** A set of policies that apply to this tenant token. */
|
|
246
|
+
policies?: TenantTokenPolicyList | undefined;
|
|
247
|
+
/** Configure the access permissions available with this token. */
|
|
248
|
+
access?: AccessPolicy | undefined;
|
|
249
|
+
}
|
|
250
|
+
export interface IssueTenantTokenResponse {
|
|
251
|
+
/** The tenant Bearer token. Pass this in the `Authorization: Bearer {token}` header when calling Namespace APIs. */
|
|
252
|
+
bearerToken: string | Redacted.Redacted<string>;
|
|
253
|
+
}
|
|
254
|
+
export interface ListTenantGroupsRequest {
|
|
255
|
+
}
|
|
256
|
+
export interface ListTenantGroupsResponseTenantGroup {
|
|
257
|
+
/** A canonical name for the Tenant group. Tenant groups are identified by name and scoped per Namespace Partner. */
|
|
258
|
+
name: string;
|
|
259
|
+
/** A set of policies that apply to every Tenant in this group. */
|
|
260
|
+
policies: TenantGroupPolicyList;
|
|
261
|
+
/** The full history of policy revisions, latest first. Each version entry corresponds to one stored revision of the policy. */
|
|
262
|
+
versions: TenantGroupPolicyList;
|
|
263
|
+
}
|
|
264
|
+
export type ListTenantGroupsResponseTenantGroupList = Array<ListTenantGroupsResponseTenantGroup>;
|
|
265
|
+
export interface ListTenantGroupsResponse {
|
|
266
|
+
tenantGroups: ListTenantGroupsResponseTenantGroupList;
|
|
267
|
+
}
|
|
268
|
+
export interface ListTenantsRequest {
|
|
269
|
+
/** 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. */
|
|
270
|
+
limit?: number | undefined;
|
|
271
|
+
/** 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. */
|
|
272
|
+
cursor?: string | undefined;
|
|
273
|
+
/** 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. */
|
|
274
|
+
creatorId?: string | undefined;
|
|
275
|
+
/** If specified, returns at most one tenant associated with a given external ID. See `Tenant.external_account_id` for details. */
|
|
276
|
+
externalAccountId?: string | undefined;
|
|
277
|
+
}
|
|
278
|
+
export type TenantList = Array<Tenant>;
|
|
279
|
+
export interface ListTenantsResponse {
|
|
280
|
+
tenants: TenantList;
|
|
281
|
+
/** 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
|
+
cursor: string;
|
|
283
|
+
}
|
|
284
|
+
export interface RemoveTenantRequest {
|
|
285
|
+
/** The ID of the Tenant that is the target of a particular call. */
|
|
286
|
+
tenantId?: string | undefined;
|
|
287
|
+
}
|
|
288
|
+
export interface RemoveTenantResponse {
|
|
289
|
+
}
|
|
290
|
+
export interface ResumeTenantRequest {
|
|
291
|
+
/** The ID of the Tenant that is the target of a particular call. */
|
|
292
|
+
tenantId?: string | undefined;
|
|
293
|
+
}
|
|
294
|
+
export interface ResumeTenantResponse {
|
|
295
|
+
}
|
|
296
|
+
export interface SuspendTenantRequest {
|
|
297
|
+
/** The ID of the Tenant that is the target of a particular call. */
|
|
298
|
+
tenantId?: string | undefined;
|
|
299
|
+
}
|
|
300
|
+
export interface SuspendTenantResponse {
|
|
301
|
+
}
|
|
302
|
+
export interface UpdatePoliciesRequest {
|
|
303
|
+
/** The ID of the Tenant that is the target of a particular call. */
|
|
304
|
+
tenantId?: string | undefined;
|
|
305
|
+
/** A set of policies that apply to this Tenant. Some policies are only settable at creation time, and can't be modified later. */
|
|
306
|
+
policies?: TenantPolicyList | undefined;
|
|
307
|
+
/** Only update if revision matches. */
|
|
308
|
+
revision?: string | undefined;
|
|
309
|
+
}
|
|
310
|
+
export interface UpdatePoliciesResponse {
|
|
311
|
+
}
|
|
312
|
+
export interface UpdateTenantRequest {
|
|
313
|
+
/** The ID of the Tenant that is the target of a particular call. */
|
|
314
|
+
tenantId?: string | undefined;
|
|
315
|
+
/** 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. */
|
|
316
|
+
visibleName?: string | undefined;
|
|
317
|
+
/** A set of policies that apply to this Tenant. Some policies are only settable at creation time, and can't be modified later. */
|
|
318
|
+
policies?: TenantPolicyList | undefined;
|
|
319
|
+
/** A set of labels that should be attached to the Tenant. The tenant's label set will be overwritten with the new set. */
|
|
320
|
+
labels?: LabelList | undefined;
|
|
321
|
+
}
|
|
322
|
+
export interface UpdateTenantResponse {
|
|
323
|
+
tenant?: Tenant | undefined;
|
|
324
|
+
}
|
|
325
|
+
export type CreateTenantError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
326
|
+
/** 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
|
+
export declare const createTenant: API.OperationMethod<CreateTenantRequest, CreateTenantResponse, CreateTenantError, NamespaceLabsOpContext>;
|
|
328
|
+
export type DeleteTenantGroupError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
329
|
+
/** 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
|
+
export declare const deleteTenantGroup: API.OperationMethod<DeleteTenantGroupRequest, DeleteTenantGroupResponse, DeleteTenantGroupError, NamespaceLabsOpContext>;
|
|
331
|
+
export type DescribePoliciesError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
332
|
+
/** 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
|
+
export declare const describePolicies: API.OperationMethod<DescribePoliciesRequest, DescribePoliciesResponse, DescribePoliciesError, NamespaceLabsOpContext>;
|
|
334
|
+
export type DescribeTenantGroupError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
335
|
+
/** Lists all Tenant Groups owned by the Namespace Partner Account. */
|
|
336
|
+
export declare const describeTenantGroup: API.OperationMethod<DescribeTenantGroupRequest, DescribeTenantGroupResponse, DescribeTenantGroupError, NamespaceLabsOpContext>;
|
|
337
|
+
export type EnsureTenantForExternalAccountError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
338
|
+
/** 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
|
+
export declare const ensureTenantForExternalAccount: API.OperationMethod<EnsureTenantForExternalAccountRequest, EnsureTenantForExternalAccountResponse, EnsureTenantForExternalAccountError, NamespaceLabsOpContext>;
|
|
340
|
+
export type EnsureTenantGroupError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
341
|
+
/** 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. */
|
|
342
|
+
export declare const ensureTenantGroup: API.OperationMethod<EnsureTenantGroupRequest, EnsureTenantGroupResponse, EnsureTenantGroupError, NamespaceLabsOpContext>;
|
|
343
|
+
export type ExchangeTenantTokenForClientCertError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
344
|
+
/** Exchanges tenant Bearer credentials for an X.509 client certificate with the same tenant identity and no broader permissions. */
|
|
345
|
+
export declare const exchangeTenantTokenForClientCert: API.OperationMethod<ExchangeTenantTokenForClientCertRequest, ExchangeTenantTokenForClientCertResponse, ExchangeTenantTokenForClientCertError, NamespaceLabsOpContext>;
|
|
346
|
+
export type IssueTenantClientCertificateError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
347
|
+
/** 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. */
|
|
348
|
+
export declare const issueTenantClientCertificate: API.OperationMethod<IssueTenantClientCertificateRequest, IssueTenantClientCertificateResponse, IssueTenantClientCertificateError, NamespaceLabsOpContext>;
|
|
349
|
+
export type IssueTenantTokenError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
350
|
+
/** 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. */
|
|
351
|
+
export declare const issueTenantToken: API.OperationMethod<IssueTenantTokenRequest, IssueTenantTokenResponse, IssueTenantTokenError, NamespaceLabsOpContext>;
|
|
352
|
+
export type ListTenantGroupsError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
353
|
+
/** Lists all Tenant Groups owned by the Namespace Partner Account. */
|
|
354
|
+
export declare const listTenantGroups: API.OperationMethod<ListTenantGroupsRequest, ListTenantGroupsResponse, ListTenantGroupsError, NamespaceLabsOpContext>;
|
|
355
|
+
export type ListTenantsError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
356
|
+
/** Lists all tenants that match the criteria specified. */
|
|
357
|
+
export declare const listTenants: API.PaginatedOperationMethod<ListTenantsRequest, ListTenantsResponse, ListTenantsError, NamespaceLabsOpContext, Tenant>;
|
|
358
|
+
export type RemoveTenantError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
359
|
+
/** 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
|
+
export declare const removeTenant: API.OperationMethod<RemoveTenantRequest, RemoveTenantResponse, RemoveTenantError, NamespaceLabsOpContext>;
|
|
361
|
+
export type ResumeTenantError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
362
|
+
/** 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. */
|
|
363
|
+
export declare const resumeTenant: API.OperationMethod<ResumeTenantRequest, ResumeTenantResponse, ResumeTenantError, NamespaceLabsOpContext>;
|
|
364
|
+
export type SuspendTenantError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
365
|
+
/** 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. */
|
|
366
|
+
export declare const suspendTenant: API.OperationMethod<SuspendTenantRequest, SuspendTenantResponse, SuspendTenantError, NamespaceLabsOpContext>;
|
|
367
|
+
export type UpdatePoliciesError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
368
|
+
/** 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. */
|
|
369
|
+
export declare const updatePolicies: API.OperationMethod<UpdatePoliciesRequest, UpdatePoliciesResponse, UpdatePoliciesError, NamespaceLabsOpContext>;
|
|
370
|
+
export type UpdateTenantError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
371
|
+
/** Updates policies attached to a Tenant. ### Errors - If one of the properties that are passed in is invalid, an `InvalidArgument` error is returned. */
|
|
372
|
+
export declare const updateTenant: API.OperationMethod<UpdateTenantRequest, UpdateTenantResponse, UpdateTenantError, NamespaceLabsOpContext>;
|
|
373
|
+
//# sourceMappingURL=iam_tenant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iam_tenant.d.ts","sourceRoot":"","sources":["../../src/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,kBAMrB;CAAG;;;;;;;;;AAEN,qBAAa,kBACX,SAAQ,aAAa,CAAC,uBAMrB;CAAG;;;;;;;;;AAEN,qBAAa,eACX,SAAQ,aAAa,CAAC,oBAMrB;CAAG;;;;;;;;;AA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AAe,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"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import{Ac as e,Ba as t,Dc as n,Fc as r,Kc as i,La as a,Lc as o,a as s,c,e as l,errors$UnknownNamespaceLabsError as u,k as d,l as f,lc as p,m,n as h,pagination$paginateCursor as g,protocol$NamespaceLabsProtocol as _,retry$Retry as v,traits$Http as y,traits$SensitiveValue as b,traits$applyErrorMatchers as x,uc as S,xa as C,xc as w,ya as T,yc as E}from"../_bundle/sdk.js";const D={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 O=/*@__PURE__*/ l(function AlreadyExists(i){return f(i,new.target,[`$5($4()("AlreadyExists",{message:$2,body:$3}).pipe($1),[{status:409,body:{"/code":"already_exists"}}])`,[r,t,w,n,e,x]])});const k=/*@__PURE__*/ l(function FailedPrecondition(t){return f(t,new.target,[`$5($4()("FailedPrecondition",{message:$2,body:$3}).pipe($1),[{status:400,body:{"/code":"failed_precondition"}}])`,[r,T,w,n,e,x]])});const A=/*@__PURE__*/ l(function InvalidArgument(t){return f(t,new.target,[`$5($4()("InvalidArgument",{message:$2,body:$3}).pipe($1),[{status:400,body:{"/code":"invalid_argument"}}])`,[r,T,w,n,e,x]])});const j=/*@__PURE__*/ l(function NotFound(t){return f(t,new.target,[`$5($4()("NotFound",{message:$2,body:$3}).pipe($1),[{status:404}])`,[r,T,w,n,e,x]])});const M=/*@__PURE__*/ l(function PermissionDenied(t){return f(t,new.target,[`$5($4()("PermissionDenied",{message:$2,body:$3}).pipe($1),[{status:403}])`,[r,C,w,n,e,x]])});const N=/*@__PURE__*/ l(function ResourceExhausted(t){return f(t,new.target,[`$5($4()("ResourceExhausted",{message:$2,body:$3}).pipe($1),[{status:429}])`,[r,a,w,n,e,x]])});const P=/*@__PURE__*/ l(function Unauthenticated(t){return f(t,new.target,[`$5($4()("Unauthenticated",{message:$2,body:$3}).pipe($1),[{status:401}])`,[r,C,w,n,e,x]])});const F=/*@__PURE__*/ m(e=>e===s?d(`CreateTenant`,`{input:#1,output:#8:0,errors:[$9,$10,$11,$12,$13,$14,$15,$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}))`,[r,y,w,i,__d6,__d4,E,o,__d5,A,k,P,M,j,O,N,u,_,v,D]):c(F,e));const I=/*@__PURE__*/ m(e=>e===s?d(`DeleteTenantGroup`,`{input:#1,output:#6:0,errors:[$7,$8,$9,$10,$11,$12,$13,$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}))`,[r,y,w,i,E,o,__d7,A,k,P,M,j,O,N,u,_,v,D]):c(I,e));const L=/*@__PURE__*/ m(e=>e===s?d(`DescribePolicies`,`{input:#1,output:#2,errors:[$6,$7,$8,$9,$10,$11,$12,$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})`,[r,y,E,o,__d6,w,A,k,P,M,j,O,N,u,_,v,D]):c(L,e));const R=/*@__PURE__*/ m(e=>e===s?d(`DescribeTenantGroup`,`{input:#1,output:#2,errors:[$8,$9,$10,$11,$12,$13,$14,$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})`,[r,y,w,i,E,o,__d1,__d0,A,k,P,M,j,O,N,u,_,v,D]):c(R,e));const z=/*@__PURE__*/ m(e=>e===s?d(`EnsureTenantForExternalAccount`,`{input:#1,output:#9:0,errors:[$10,$11,$12,$13,$14,$15,$16,$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}))`,[r,y,w,i,__d6,__d4,__d0,E,o,__d5,A,k,P,M,j,O,N,u,_,v,D]):c(z,e));const B=/*@__PURE__*/ m(e=>e===s?d(`EnsureTenantGroup`,`{input:#1,output:#2,errors:[$7,$8,$9,$10,$11,$12,$13,$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})`,[r,y,w,i,__d1,E,o,A,k,P,M,j,O,N,u,_,v,D]):c(B,e));const V=/*@__PURE__*/ m(e=>e===s?d(`ExchangeTenantTokenForClientCert`,`{input:#1,output:#2,errors:[$7,$8,$9,$10,$11,$12,$13,$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})`,[r,y,w,i,__d2,E,o,A,k,P,M,j,O,N,u,_,v,D]):c(V,e));const H=/*@__PURE__*/ m(e=>e===s?d(`IssueTenantClientCertificate`,`{input:#1,output:#2,errors:[$8,$9,$10,$11,$12,$13,$14,$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({}))})`,[r,y,w,i,__d3,E,o,b,A,k,P,M,j,O,N,u,_,v,D]):c(H,e));const U=/*@__PURE__*/ m(e=>e===s?d(`IssueTenantToken`,`{input:#1,output:#2,errors:[$8,$9,$10,$11,$12,$13,$14,$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({}))})`,[r,y,w,i,__d3,E,o,b,A,k,P,M,j,O,N,u,_,v,D]):c(U,e));const W=/*@__PURE__*/ m(e=>e===s?d(`ListTenantGroups`,`{input:#1,output:#4,errors:[$7,$8,$9,$10,$11,$12,$13,$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})`,[r,y,E,o,w,__d1,p,A,k,P,M,j,O,N,u,_,v,D]):c(W,e));const G=/*@__PURE__*/ h(e=>e===s?d(`ListTenants`,`{input:#1,output:#3,errors:[$9,$10,$11,$12,$13,$14,$15,$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})`,[r,y,S,i,w,E,o,__d4,p,A,k,P,M,j,O,N,u,_,v,D,g]):c(G,e));const K=/*@__PURE__*/ m(e=>e===s?d(`RemoveTenant`,`{input:#1,output:#6:0,errors:[$7,$8,$9,$10,$11,$12,$13,$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}))`,[r,y,w,i,E,o,__d7,A,k,P,M,j,O,N,u,_,v,D]):c(K,e));const q=/*@__PURE__*/ m(e=>e===s?d(`ResumeTenant`,`{input:#1,output:#6:0,errors:[$7,$8,$9,$10,$11,$12,$13,$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}))`,[r,y,w,i,E,o,__d7,A,k,P,M,j,O,N,u,_,v,D]):c(q,e));const J=/*@__PURE__*/ m(e=>e===s?d(`SuspendTenant`,`{input:#1,output:#6:0,errors:[$7,$8,$9,$10,$11,$12,$13,$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}))`,[r,y,w,i,E,o,__d7,A,k,P,M,j,O,N,u,_,v,D]):c(J,e));const Y=/*@__PURE__*/ m(e=>e===s?d(`UpdatePolicies`,`{input:#1,output:#7:0,errors:[$8,$9,$10,$11,$12,$13,$14,$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}))`,[r,y,w,i,__d6,E,o,__d7,A,k,P,M,j,O,N,u,_,v,D]):c(Y,e));const X=/*@__PURE__*/ m(e=>e===s?d(`UpdateTenant`,`{input:#1,output:#8:0,errors:[$9,$10,$11,$12,$13,$14,$15,$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}))`,[r,y,w,i,__d6,__d4,E,o,__d5,A,k,P,M,j,O,N,u,_,v,D]):c(X,e));function __d0(){return[`$2($1)`,[r,w,p]]}function __d1(){return[`$4(>2)@"TenantGroupPolicy";$5(#0);$3({policy:$2($1),value:$2($1)})`,[r,w,i,E,o,p]]}function __d2(){return[`$5(>2)@"Permission";$6(#0);$4({resourceType:$2($1),resourceId:$2($1),actions:$2(#3:0)})`,[r,w,i,__d0,E,o,p]]}function __d3(){return[`$4(>3)@"TenantTokenPolicy";$5(#0);$4(>4)@"AccessPolicy";$3({policyType:$2($1),value:$2($1)});$3({grants:$2(#6:1)})`,[r,w,i,E,o,p,__d2]]}function __d4(){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})`,[r,w,i,E,o,p]]}function __d5(){return[`$4(>1)@"CreateTenantResponse";$3({tenant:$2(#1:2)})`,[r,__d4,i,E,o]]}function __d6(){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)})`,[r,w,i,E,o,p]]}function __d7(){return[`$2(>1)@"DeleteTenantGroupResponse";$1({})`,[r,E,o]]}export{O as AlreadyExists,k as FailedPrecondition,A as InvalidArgument,j as NotFound,M as PermissionDenied,N as ResourceExhausted,P as Unauthenticated,F as createTenant,I as deleteTenantGroup,L as describePolicies,R as describeTenantGroup,z as ensureTenantForExternalAccount,B as ensureTenantGroup,V as exchangeTenantTokenForClientCert,H as issueTenantClientCertificate,U as issueTenantToken,W as listTenantGroups,G as listTenants,K as removeTenant,q as resumeTenant,J as suspendTenant,Y as updatePolicies,X as updateTenant};
|
|
2
|
+
/*
|
|
3
|
+
27 32
|
|
4
|
+
e:0:Ac t:0:Ba n:0:Dc r:0:Fc i:0:Kc a:0:La o:0:Lc s:0:a c:0:c l:0:e u:0:errors$UnknownNamespaceLabsError d:0:k f:0:l p:0:lc m:0:m h:0:n g:0:pagination$paginateCursor _:0:protocol$NamespaceLabsProtocol v:0:retry$Retry y:0:traits$Http b:0:traits$SensitiveValue x:0:traits$applyErrorMatchers S:0:uc C:0:xa w:0:xc T:0:ya E:0:yc
|
|
5
|
+
000000002d0004p0006y0009f000cd000ep000hg000k5000mi000ot000r5000tc000vj000xr001030012g0013a001440014y0015v0016t0017r0018p001910019w001ax001c1001d5001e6001f6001g7001h2
|
|
6
|
+
2 1i2 1t5 F|=CreateTenant;1it 1rh;3,j,o,4,1l,1j,q,6,1k,19,18,1d,1b,1a,17,1c,a,h,i,1e
|
|
7
|
+
2 1tv 22g I|=DeleteTenantGroup;1ur 212;3,j,o,4,q,6,1m,19,18,1d,1b,1a,17,1c,a,h,i,1e
|
|
8
|
+
2 236 2cp L|=DescribePolicies;241 2bd;3,j,q,6,1l,o,19,18,1d,1b,1a,17,1c,a,h,i,1e
|
|
9
|
+
2 2df 2oi R|=DescribeTenantGroup;2ed 2mz;3,j,o,4,q,6,1g,1f,19,18,1d,1b,1a,17,1c,a,h,i,1e
|
|
10
|
+
2 2p8 316 z|=EnsureTenantForExternalAccount;2qh 2zd;3,j,o,4,1l,1j,1f,q,6,1k,19,18,1d,1b,1a,17,1c,a,h,i,1e
|
|
11
|
+
2 31w 3bu B|=EnsureTenantGroup;32s 3ag;3,j,o,4,1g,q,6,19,18,1d,1b,1a,17,1c,a,h,i,1e
|
|
12
|
+
2 3ck 3no V|=ExchangeTenantTokenForClientCert;3dv 3ma;3,j,o,4,1h,q,6,19,18,1d,1b,1a,17,1c,a,h,i,1e
|
|
13
|
+
2 3oe 423 H|=IssueTenantClientCertificate;3pl 40n;3,j,o,4,1i,q,6,k,19,18,1d,1b,1a,17,1c,a,h,i,1e
|
|
14
|
+
2 42t 4ew U|=IssueTenantToken;43o 4dg;3,j,o,4,1i,q,6,k,19,18,1d,1b,1a,17,1c,a,h,i,1e
|
|
15
|
+
2 4fm 4r5 W|=ListTenantGroups;4gh 4pr;3,j,q,6,o,1g,d,19,18,1d,1b,1a,17,1c,a,h,i,1e
|
|
16
|
+
2 4rv 56q G|=ListTenants;4sl 556;3,j,m,4,o,q,6,1j,d,19,18,1d,1b,1a,17,1c,a,h,i,1e,g
|
|
17
|
+
2 57g 5g0 K|=RemoveTenant;587 5em;3,j,o,4,q,6,1m,19,18,1d,1b,1a,17,1c,a,h,i,1e
|
|
18
|
+
2 5gq 5pa q|=ResumeTenant;5hh 5nw;3,j,o,4,q,6,1m,19,18,1d,1b,1a,17,1c,a,h,i,1e
|
|
19
|
+
2 5q0 5yl J|=SuspendTenant;5qs 5x7;3,j,o,4,q,6,1m,19,18,1d,1b,1a,17,1c,a,h,i,1e
|
|
20
|
+
2 5zb 691 Y|=UpdatePolicies;604 67i;3,j,o,4,1l,q,6,1m,19,18,1d,1b,1a,17,1c,a,h,i,1e
|
|
21
|
+
2 69r 6k4 X|=UpdateTenant;6ai 6ig;3,j,o,4,1l,1j,q,6,1k,19,18,1d,1b,1a,17,1c,a,h,i,1e
|
|
22
|
+
3 ip nf O|=;k3 mx;3,1,o,2,0,l
|
|
23
|
+
3 o5 ta k|=;po ss;3,p,o,2,0,l
|
|
24
|
+
3 u0 yw A|=;vg ye;3,p,o,2,0,l
|
|
25
|
+
3 zm 136 j|=;10v 12o;3,p,o,2,0,l
|
|
26
|
+
3 13w 17w M|=;15d 17e;3,n,o,2,0,l
|
|
27
|
+
3 18m 1co N|=;1a4 1c6;3,5,o,2,0,l
|
|
28
|
+
3 1de 1hc P|=;1eu 1gu;3,n,o,2,0,l
|
|
29
|
+
0 aj i0 D||
|
|
30
|
+
1 6k6 6lb __d0|=;6ku 6l0;3,o,d
|
|
31
|
+
1 6lb 6oa __d1|=;6lz 6nt;3,o,4,q,6,d
|
|
32
|
+
1 6oa 6rz __d2|=;6oy 6rd;3,o,4,1f,q,6,d
|
|
33
|
+
1 6rz 6wf __d3|=;6sn 6vt;3,o,4,q,6,d,1h
|
|
34
|
+
1 6wf 71w __d4|=;6x3 71f;3,o,4,q,6,d
|
|
35
|
+
1 71w 74h __d5|=;72k 73z;3,1j,4,q,6
|
|
36
|
+
1 74h 79y __d6|=;755 79h;3,o,4,q,6,d
|
|
37
|
+
1 79y 7c2 __d7|=;7am 7br;3,q,6
|
|
38
|
+
*/
|
|
39
|
+
//# 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.TaggedError","T.applyErrorMatchers","C.withBadRequestError","C.withAuthError","C.withThrottlingError","API.D","API.named","T.Http","S.optional","S.Struct","S.suspend","Retry.Retry","API.call","T.SensitiveValue","S.Array","S.Number","TaggedError","withConflictError","Unknown","at","optional","withThrottlingError","suspend","D","error","UnknownNamespaceLabsError","named","newError","Array","opPaginated","paginateCursor","NamespaceLabsProtocol","Retry","Http","SensitiveValue","applyErrorMatchers","Number","withAuthError","String","withBadRequestError","Struct","TELEMETRY","AlreadyExists","FailedPrecondition","i","InvalidArgument","NotFound","PermissionDenied","ResourceExhausted","Unauthenticated","createTenant","call","deleteTenantGroup","describePolicies","describeTenantGroup","ensureTenantForExternalAccount","ensureTenantGroup","exchangeTenantTokenForClientCert","issueTenantClientCertificate","issueTenantToken","listTenantGroups","listTenants","removeTenant","resumeTenant","suspendTenant","updatePolicies","updateTenant"],"sources":["../../src/services/iam_tenant.ts"],"mappings":"mXAmBA,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,gBACT,UAAW,KACb,EAEA,MAAaC,EAAmC,gBAAU,SAAS,cAAc,EAAa,CAC5F,OAAO/C,EAAa,EAAG,WAAY,CAAC,yGAA0G,CAACC,EAAQC,EAAqBC,EAAUC,EAAWC,EAAeC,CAAoB,CAAC,CAAC,CACxO,CAAC,EAED,MAAa0C,EAAwC,gBAAU,SAAS,mBAAmB,EAAa,CACtG,OAAOhD,EAAaiD,EAAG,WAAY,CAAC,mHAAoH,CAAChD,EAAQM,EAAuBJ,EAAUC,EAAWC,EAAeC,CAAoB,CAAC,CAAC,CACpP,CAAC,EAED,MAAa4C,EAAqC,gBAAU,SAAS,gBAAgB,EAAa,CAChG,OAAOlD,EAAaiD,EAAG,WAAY,CAAC,6GAA8G,CAAChD,EAAQM,EAAuBJ,EAAUC,EAAWC,EAAeC,CAAoB,CAAC,CAAC,CAC9O,CAAC,EAED,MAAa6C,EAA8B,gBAAU,SAAS,SAAS,EAAa,CAClF,OAAOnD,EAAaiD,EAAG,WAAY,CAAC,oEAAqE,CAAChD,EAAQM,EAAuBJ,EAAUC,EAAWC,EAAeC,CAAoB,CAAC,CAAC,CACrM,CAAC,EAED,MAAa8C,EAAsC,gBAAU,SAAS,iBAAiB,EAAa,CAClG,OAAOpD,EAAaiD,EAAG,WAAY,CAAC,4EAA6E,CAAChD,EAAQO,EAAiBL,EAAUC,EAAWC,EAAeC,CAAoB,CAAC,CAAC,CACvM,CAAC,EAED,M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CACnB,MAAO,CAAC,0FAA2F,CAAClB,EAAQE,EAAUU,EAAY,KAAMC,EAAUC,EAAWI,CAAO,CAAC,CACvK,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,qHAAsH,CAAClB,EAAQE,EAAUU,EAAYC,EAAUC,EAAWI,EAAS,IAAI,CAAC,CAClM,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,+JAAgK,CAAClB,EAAQE,EAAUU,EAAYC,EAAUC,EAAWI,CAAO,CAAC,CACtO,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,sDAAuD,CAAClB,EAAQ,KAAMY,EAAYC,EAAUC,CAAS,CAAC,CAChH,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,+JAAgK,CAACd,EAAQE,EAAUU,EAAYC,EAAUC,EAAWI,CAAO,CAAC,CACtO,CACA,SAAS,MAAY,CACnB,MAAO,CAAC,4CAA6C,CAAClB,EAAQa,EAAUC,CAAS,CAAC,CACpF"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema-lite";
|
|
3
|
+
import { type NamespaceLabsOpError, type NamespaceLabsOpContext } from "../protocol.ts";
|
|
4
|
+
export type { NamespaceLabsOpError, NamespaceLabsOpContext };
|
|
5
|
+
declare const AlreadyExists_base: S.TaggedErrorClass<"AlreadyExists", {
|
|
6
|
+
readonly message: any;
|
|
7
|
+
readonly body: any;
|
|
8
|
+
}> & (new (...args: any[]) => {
|
|
9
|
+
"@distilled.cloud/error/categories": {
|
|
10
|
+
ConflictError: true;
|
|
11
|
+
};
|
|
12
|
+
});
|
|
13
|
+
export declare class AlreadyExists extends /*@__PURE__*/ AlreadyExists_base {
|
|
14
|
+
}
|
|
15
|
+
declare const FailedPrecondition_base: S.TaggedErrorClass<"FailedPrecondition", {
|
|
16
|
+
readonly message: any;
|
|
17
|
+
readonly body: any;
|
|
18
|
+
}> & (new (...args: any[]) => {
|
|
19
|
+
"@distilled.cloud/error/categories": {
|
|
20
|
+
BadRequestError: true;
|
|
21
|
+
};
|
|
22
|
+
});
|
|
23
|
+
export declare class FailedPrecondition extends /*@__PURE__*/ FailedPrecondition_base {
|
|
24
|
+
}
|
|
25
|
+
declare const InvalidArgument_base: S.TaggedErrorClass<"InvalidArgument", {
|
|
26
|
+
readonly message: any;
|
|
27
|
+
readonly body: any;
|
|
28
|
+
}> & (new (...args: any[]) => {
|
|
29
|
+
"@distilled.cloud/error/categories": {
|
|
30
|
+
BadRequestError: true;
|
|
31
|
+
};
|
|
32
|
+
});
|
|
33
|
+
export declare class InvalidArgument extends /*@__PURE__*/ InvalidArgument_base {
|
|
34
|
+
}
|
|
35
|
+
declare const NotFound_base: S.TaggedErrorClass<"NotFound", {
|
|
36
|
+
readonly message: any;
|
|
37
|
+
readonly body: any;
|
|
38
|
+
}> & (new (...args: any[]) => {
|
|
39
|
+
"@distilled.cloud/error/categories": {
|
|
40
|
+
BadRequestError: true;
|
|
41
|
+
};
|
|
42
|
+
});
|
|
43
|
+
export declare class NotFound extends /*@__PURE__*/ NotFound_base {
|
|
44
|
+
}
|
|
45
|
+
declare const PermissionDenied_base: S.TaggedErrorClass<"PermissionDenied", {
|
|
46
|
+
readonly message: any;
|
|
47
|
+
readonly body: any;
|
|
48
|
+
}> & (new (...args: any[]) => {
|
|
49
|
+
"@distilled.cloud/error/categories": {
|
|
50
|
+
AuthError: true;
|
|
51
|
+
};
|
|
52
|
+
});
|
|
53
|
+
export declare class PermissionDenied extends /*@__PURE__*/ PermissionDenied_base {
|
|
54
|
+
}
|
|
55
|
+
declare const ResourceExhausted_base: S.TaggedErrorClass<"ResourceExhausted", {
|
|
56
|
+
readonly message: any;
|
|
57
|
+
readonly body: any;
|
|
58
|
+
}> & (new (...args: any[]) => {
|
|
59
|
+
"@distilled.cloud/error/categories": {
|
|
60
|
+
ThrottlingError: true;
|
|
61
|
+
};
|
|
62
|
+
});
|
|
63
|
+
export declare class ResourceExhausted extends /*@__PURE__*/ ResourceExhausted_base {
|
|
64
|
+
}
|
|
65
|
+
declare const Unauthenticated_base: S.TaggedErrorClass<"Unauthenticated", {
|
|
66
|
+
readonly message: any;
|
|
67
|
+
readonly body: any;
|
|
68
|
+
}> & (new (...args: any[]) => {
|
|
69
|
+
"@distilled.cloud/error/categories": {
|
|
70
|
+
AuthError: true;
|
|
71
|
+
};
|
|
72
|
+
});
|
|
73
|
+
export declare class Unauthenticated extends /*@__PURE__*/ Unauthenticated_base {
|
|
74
|
+
}
|
|
75
|
+
export interface ListTenantMembersRequest {
|
|
76
|
+
}
|
|
77
|
+
export type TenantMemberRole = "TENANT_MEMBER_ROLE_UNSPECIFIED" | "TENANT_MEMBER_ROLE_OWNER" | "TENANT_MEMBER_ROLE_EDITOR" | "TENANT_MEMBER_ROLE_ADMIN" | "TENANT_MEMBER_ROLE_READER" | "TENANT_MEMBER_ROLE_ACCOUNTANT";
|
|
78
|
+
export interface TenantMember {
|
|
79
|
+
/** The ID of the user. User IDs should be treated as opaque by clients. */
|
|
80
|
+
userId: string;
|
|
81
|
+
/** The user's first name. */
|
|
82
|
+
firstName: string;
|
|
83
|
+
/** The user's last name. */
|
|
84
|
+
lastName: string;
|
|
85
|
+
/** The user's email address. */
|
|
86
|
+
email: string;
|
|
87
|
+
/** The user's role in the tenant. */
|
|
88
|
+
role: TenantMemberRole;
|
|
89
|
+
}
|
|
90
|
+
export type TenantMemberList = Array<TenantMember>;
|
|
91
|
+
export interface ListTenantMembersResponse {
|
|
92
|
+
members: TenantMemberList;
|
|
93
|
+
}
|
|
94
|
+
export interface RemoveTenantMemberRequest {
|
|
95
|
+
/** The ID of the user to remove. */
|
|
96
|
+
userId?: string | undefined;
|
|
97
|
+
}
|
|
98
|
+
export interface RemoveTenantMemberResponse {
|
|
99
|
+
}
|
|
100
|
+
export type ListTenantMembersError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
101
|
+
/** Lists the members of the authenticated tenant. ### Authentication Requires a tenant token with the {"tenant/member", "list"} action permission. */
|
|
102
|
+
export declare const listTenantMembers: API.OperationMethod<ListTenantMembersRequest, ListTenantMembersResponse, ListTenantMembersError, NamespaceLabsOpContext>;
|
|
103
|
+
export type RemoveTenantMemberError = InvalidArgument | FailedPrecondition | Unauthenticated | PermissionDenied | NotFound | AlreadyExists | ResourceExhausted | NamespaceLabsOpError;
|
|
104
|
+
/** Removes a non-owner member from the authenticated tenant. ### Authentication Requires a tenant token with the {"tenant/member", "remove"} action permission. */
|
|
105
|
+
export declare const removeTenantMember: API.OperationMethod<RemoveTenantMemberRequest, RemoveTenantMemberResponse, RemoveTenantMemberError, NamespaceLabsOpContext>;
|
|
106
|
+
//# sourceMappingURL=iam_tenant_membership.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iam_tenant_membership.d.ts","sourceRoot":"","sources":["../../src/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,kBAMrB;CAAG;;;;;;;;;AAEN,qBAAa,kBACX,SAAQ,aAAa,CAAC,uBAMrB;CAAG;;;;;;;;;AAEN,qBAAa,eACX,SAAQ,aAAa,CAAC,oBAMrB;CAAG;;;;;;;;;AAEN,qBAAa,QACX,SAAQ,aAAa,CAAC,aAMrB;CAAG;;;;;;;;;AAEN,qBAAa,gBACX,SAAQ,aAAa,CAAC,qBAMrB;CAAG;;;;;;;;;AAEN,qBAAa,iBACX,SAAQ,aAAa,CAAC,sBAMrB;CAAG;;;;;;;;;AAE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,uBAAuB,EACvB,sBAAsB,CAkBrB,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Ac as e,Ba as t,Dc as n,Fc as r,Kc as i,La as a,Lc as o,a as s,c,e as l,errors$UnknownNamespaceLabsError as u,k as d,l as f,lc as p,m,protocol$NamespaceLabsProtocol as h,retry$Retry as g,traits$Http as _,traits$applyErrorMatchers as v,xa as y,xc as b,ya as x,yc as S}from"../_bundle/sdk.js";const C={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 w=/*@__PURE__*/ l(function AlreadyExists(i){return f(i,new.target,[`$5($4()("AlreadyExists",{message:$2,body:$3}).pipe($1),[{status:409,body:{"/code":"already_exists"}}])`,[r,t,b,n,e,v]])});const T=/*@__PURE__*/ l(function FailedPrecondition(t){return f(t,new.target,[`$5($4()("FailedPrecondition",{message:$2,body:$3}).pipe($1),[{status:400,body:{"/code":"failed_precondition"}}])`,[r,x,b,n,e,v]])});const E=/*@__PURE__*/ l(function InvalidArgument(t){return f(t,new.target,[`$5($4()("InvalidArgument",{message:$2,body:$3}).pipe($1),[{status:400,body:{"/code":"invalid_argument"}}])`,[r,x,b,n,e,v]])});const D=/*@__PURE__*/ l(function NotFound(t){return f(t,new.target,[`$5($4()("NotFound",{message:$2,body:$3}).pipe($1),[{status:404}])`,[r,x,b,n,e,v]])});const O=/*@__PURE__*/ l(function PermissionDenied(t){return f(t,new.target,[`$5($4()("PermissionDenied",{message:$2,body:$3}).pipe($1),[{status:403}])`,[r,y,b,n,e,v]])});const k=/*@__PURE__*/ l(function ResourceExhausted(t){return f(t,new.target,[`$5($4()("ResourceExhausted",{message:$2,body:$3}).pipe($1),[{status:429}])`,[r,a,b,n,e,v]])});const A=/*@__PURE__*/ l(function Unauthenticated(t){return f(t,new.target,[`$5($4()("Unauthenticated",{message:$2,body:$3}).pipe($1),[{status:401}])`,[r,y,b,n,e,v]])});const j=/*@__PURE__*/ m(e=>e===s?d(`TenantMember`,`{input:#1,output:#4,errors:[$6,$7,$8,$9,$10,$11,$12,$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})`,[r,_,S,o,b,p,E,T,A,O,D,w,k,u,h,g,C]):c(j,e));const M=/*@__PURE__*/ m(e=>e===s?d(`RemoveTenantMember`,`{input:#1,output:#2,errors:[$6,$7,$8,$9,$10,$11,$12,$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({})`,[r,_,b,i,S,o,E,T,A,O,D,w,k,u,h,g,C]):c(M,e));export{w as AlreadyExists,T as FailedPrecondition,E as InvalidArgument,D as NotFound,O as PermissionDenied,k as ResourceExhausted,A as Unauthenticated,j as listTenantMembers,M 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.TaggedError","T.applyErrorMatchers","C.withBadRequestError","C.withAuthError","C.withThrottlingError","API.D","API.named","T.Http","S.Struct","S.suspend","S.Array","Retry.Retry","API.call","S.optional","TaggedError","withConflictError","Unknown","at","optional","withThrottlingError","suspend","D","error","UnknownNamespaceLabsError","named","newError","Array","NamespaceLabsProtocol","Retry","Http","applyErrorMatchers","withAuthError","String","withBadRequestError","Struct","TELEMETRY","AlreadyExists","FailedPrecondition","i","InvalidArgument","NotFound","PermissionDenied","ResourceExhausted","Unauthenticated","listTenantMembers","call","removeTenantMember"],"sources":["../../src/services/iam_tenant_membership.ts"],"mappings":"0SAiBA,MAAMwC,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,OAAOzC,EAAa,EAAG,WAAY,CAAC,yGAA0G,CAACC,EAAQC,EAAqBC,EAAUC,EAAWC,EAAeC,CAAoB,CAAC,CAAC,CACxO,CAAC,EAED,MAAaoC,EAAwC,gBAAU,SAAS,mBAAmB,EAAa,CACtG,OAAO1C,EAAa2C,EAAG,WAAY,CAAC,mHAAoH,CAAC1C,EAAQM,EAAuBJ,EAAUC,EAAWC,EAAeC,CAAoB,CAAC,CAAC,CACpP,CAAC,EAED,MAAasC,EAAqC,gBAAU,SAAS,gBAAgB,EAAa,CAChG,OAAO5C,EAAa2C,EAAG,WAAY,CAAC,6GAA8G,CAAC1C,EAAQM,EAAuBJ,EAAUC,EAAWC,EAAeC,CAAoB,CAAC,CAAC,CAC9O,CAAC,EAED,MAAauC,EAA8B,gBAAU,SAAS,SAAS,EAAa,CAClF,OAAO7C,EAAa2C,EAAG,WAAY,CAAC,oEAAqE,CAAC1C,EAAQM,EAAuBJ,EAAUC,EAAWC,EAAeC,CAAoB,CAAC,CAAC,CACrM,CAAC,EAED,MAAawC,EAAsC,gBAAU,SAAS,iBAAiB,EAAa,CAClG,OAAO9C,EAAa2C,EAAG,WAAY,CAAC,4EAA6E,CAAC1C,EAAQO,EAAiBL,EAAUC,EAAWC,EAAeC,CAAoB,CAAC,CAAC,CACvM,CAAC,EAED,MAAayC,EAAuC,gBAAU,SAAS,kBAAkB,EAAa,CACpG,OAAO/C,EAAa2C,EAAG,W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