@alis-build/alis-open-iam-v1 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/alis/open/iam/v1/group_pb.d.ts +299 -0
- package/alis/open/iam/v1/group_pb.js +84 -0
- package/alis/open/iam/v1/iam_pb.d.ts +126 -0
- package/alis/open/iam/v1/iam_pb.js +46 -0
- package/alis/open/iam/v1/oauth_pb.d.ts +352 -0
- package/alis/open/iam/v1/oauth_pb.js +109 -0
- package/alis/open/iam/v1/role_pb.d.ts +68 -0
- package/alis/open/iam/v1/role_pb.js +19 -0
- package/alis/open/iam/v1/user_pb.d.ts +1156 -0
- package/alis/open/iam/v1/user_pb.js +272 -0
- package/package.json +10 -0
|
@@ -0,0 +1,352 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.1 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/open/iam/v1/oauth.proto (package alis.open.iam.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
import type { IdentityProvider } from "./user_pb";
|
|
8
|
+
import type { Duration } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file alis/open/iam/v1/oauth.proto.
|
|
12
|
+
*/
|
|
13
|
+
export declare const file_alis_open_iam_v1_oauth: GenFile;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @generated from message alis.open.iam.v1.IamConfig
|
|
17
|
+
*/
|
|
18
|
+
export declare type IamConfig = Message<"alis.open.iam.v1.IamConfig"> & {
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: alis.open.iam.v1.IamConfig.AuthProviders auth_providers = 1;
|
|
21
|
+
*/
|
|
22
|
+
authProviders?: IamConfig_AuthProviders | undefined;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: alis.open.iam.v1.IamConfig.SelfSignupSpec self_signup_spec = 2;
|
|
26
|
+
*/
|
|
27
|
+
selfSignupSpec?: IamConfig_SelfSignupSpec | undefined;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: string logo_uri = 3;
|
|
31
|
+
*/
|
|
32
|
+
logoUri: string;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @generated from field: repeated alis.open.iam.v1.IamConfig.CookieDomain cookie_domains = 4;
|
|
36
|
+
*/
|
|
37
|
+
cookieDomains: IamConfig_CookieDomain[];
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: string google_group = 5;
|
|
41
|
+
*/
|
|
42
|
+
googleGroup: string;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Describes the message alis.open.iam.v1.IamConfig.
|
|
47
|
+
* Use `create(IamConfigSchema)` to create a new message.
|
|
48
|
+
*/
|
|
49
|
+
export declare const IamConfigSchema: GenMessage<IamConfig>;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @generated from message alis.open.iam.v1.IamConfig.AuthProviders
|
|
53
|
+
*/
|
|
54
|
+
export declare type IamConfig_AuthProviders = Message<"alis.open.iam.v1.IamConfig.AuthProviders"> & {
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: alis.open.iam.v1.OauthProvider google = 1;
|
|
57
|
+
*/
|
|
58
|
+
google?: OauthProvider | undefined;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @generated from field: alis.open.iam.v1.OauthProvider microsoft = 2;
|
|
62
|
+
*/
|
|
63
|
+
microsoft?: OauthProvider | undefined;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: alis.open.iam.v1.EmailAuthProvider email = 3;
|
|
67
|
+
*/
|
|
68
|
+
email?: EmailAuthProvider | undefined;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @generated from field: alis.open.iam.v1.OauthProvider linkedin = 4;
|
|
72
|
+
*/
|
|
73
|
+
linkedin?: OauthProvider | undefined;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @generated from field: alis.open.iam.v1.AppleAuthProvider apple = 5;
|
|
77
|
+
*/
|
|
78
|
+
apple?: AppleAuthProvider | undefined;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Describes the message alis.open.iam.v1.IamConfig.AuthProviders.
|
|
83
|
+
* Use `create(IamConfig_AuthProvidersSchema)` to create a new message.
|
|
84
|
+
*/
|
|
85
|
+
export declare const IamConfig_AuthProvidersSchema: GenMessage<IamConfig_AuthProviders>;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* @generated from message alis.open.iam.v1.IamConfig.SelfSignupSpec
|
|
89
|
+
*/
|
|
90
|
+
export declare type IamConfig_SelfSignupSpec = Message<"alis.open.iam.v1.IamConfig.SelfSignupSpec"> & {
|
|
91
|
+
/**
|
|
92
|
+
* @generated from field: repeated alis.open.iam.v1.IamConfig.SelfSignupSpec.DomainProvider domain_providers = 1;
|
|
93
|
+
*/
|
|
94
|
+
domainProviders: IamConfig_SelfSignupSpec_DomainProvider[];
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: repeated string default_roles = 2;
|
|
98
|
+
*/
|
|
99
|
+
defaultRoles: string[];
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Describes the message alis.open.iam.v1.IamConfig.SelfSignupSpec.
|
|
104
|
+
* Use `create(IamConfig_SelfSignupSpecSchema)` to create a new message.
|
|
105
|
+
*/
|
|
106
|
+
export declare const IamConfig_SelfSignupSpecSchema: GenMessage<IamConfig_SelfSignupSpec>;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* @generated from message alis.open.iam.v1.IamConfig.SelfSignupSpec.DomainProvider
|
|
110
|
+
*/
|
|
111
|
+
export declare type IamConfig_SelfSignupSpec_DomainProvider = Message<"alis.open.iam.v1.IamConfig.SelfSignupSpec.DomainProvider"> & {
|
|
112
|
+
/**
|
|
113
|
+
* @generated from field: string domain = 1;
|
|
114
|
+
*/
|
|
115
|
+
domain: string;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: alis.open.iam.v1.IdentityProvider identity_provider = 2;
|
|
119
|
+
*/
|
|
120
|
+
identityProvider: IdentityProvider;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* @generated from field: bool force_login = 3;
|
|
124
|
+
*/
|
|
125
|
+
forceLogin: boolean;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Describes the message alis.open.iam.v1.IamConfig.SelfSignupSpec.DomainProvider.
|
|
130
|
+
* Use `create(IamConfig_SelfSignupSpec_DomainProviderSchema)` to create a new message.
|
|
131
|
+
*/
|
|
132
|
+
export declare const IamConfig_SelfSignupSpec_DomainProviderSchema: GenMessage<IamConfig_SelfSignupSpec_DomainProvider>;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* @generated from message alis.open.iam.v1.IamConfig.CookieDomain
|
|
136
|
+
*/
|
|
137
|
+
export declare type IamConfig_CookieDomain = Message<"alis.open.iam.v1.IamConfig.CookieDomain"> & {
|
|
138
|
+
/**
|
|
139
|
+
* @generated from field: string host = 1;
|
|
140
|
+
*/
|
|
141
|
+
host: string;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* @generated from field: string domain = 2;
|
|
145
|
+
*/
|
|
146
|
+
domain: string;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* @generated from field: alis.open.iam.v1.IamConfig.CookieDomain.SameSite same_site = 3;
|
|
150
|
+
*/
|
|
151
|
+
sameSite: IamConfig_CookieDomain_SameSite;
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Describes the message alis.open.iam.v1.IamConfig.CookieDomain.
|
|
156
|
+
* Use `create(IamConfig_CookieDomainSchema)` to create a new message.
|
|
157
|
+
*/
|
|
158
|
+
export declare const IamConfig_CookieDomainSchema: GenMessage<IamConfig_CookieDomain>;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* @generated from enum alis.open.iam.v1.IamConfig.CookieDomain.SameSite
|
|
162
|
+
*/
|
|
163
|
+
export enum IamConfig_CookieDomain_SameSite {
|
|
164
|
+
/**
|
|
165
|
+
* @generated from enum value: SAME_SITE_UNSPECIFIED = 0;
|
|
166
|
+
*/
|
|
167
|
+
UNSPECIFIED = 0,
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* @generated from enum value: SAME_SITE_STRICT = 1;
|
|
171
|
+
*/
|
|
172
|
+
STRICT = 1,
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* @generated from enum value: SAME_SITE_LAX = 2;
|
|
176
|
+
*/
|
|
177
|
+
LAX = 2,
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* @generated from enum value: SAME_SITE_NONE = 3;
|
|
181
|
+
*/
|
|
182
|
+
NONE = 3,
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Describes the enum alis.open.iam.v1.IamConfig.CookieDomain.SameSite.
|
|
187
|
+
*/
|
|
188
|
+
export declare const IamConfig_CookieDomain_SameSiteSchema: GenEnum<IamConfig_CookieDomain_SameSite>;
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* @generated from message alis.open.iam.v1.UiConfig
|
|
192
|
+
*/
|
|
193
|
+
export declare type UiConfig = Message<"alis.open.iam.v1.UiConfig"> & {
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Describes the message alis.open.iam.v1.UiConfig.
|
|
198
|
+
* Use `create(UiConfigSchema)` to create a new message.
|
|
199
|
+
*/
|
|
200
|
+
export declare const UiConfigSchema: GenMessage<UiConfig>;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* @generated from message alis.open.iam.v1.OauthProvider
|
|
204
|
+
*/
|
|
205
|
+
export declare type OauthProvider = Message<"alis.open.iam.v1.OauthProvider"> & {
|
|
206
|
+
/**
|
|
207
|
+
* @generated from field: string client_id = 1;
|
|
208
|
+
*/
|
|
209
|
+
clientId: string;
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* @generated from field: string client_secret = 2;
|
|
213
|
+
*/
|
|
214
|
+
clientSecret: string;
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Describes the message alis.open.iam.v1.OauthProvider.
|
|
219
|
+
* Use `create(OauthProviderSchema)` to create a new message.
|
|
220
|
+
*/
|
|
221
|
+
export declare const OauthProviderSchema: GenMessage<OauthProvider>;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* @generated from message alis.open.iam.v1.EmailAuthProvider
|
|
225
|
+
*/
|
|
226
|
+
export declare type EmailAuthProvider = Message<"alis.open.iam.v1.EmailAuthProvider"> & {
|
|
227
|
+
/**
|
|
228
|
+
* @generated from field: string from_email = 1;
|
|
229
|
+
*/
|
|
230
|
+
fromEmail: string;
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* @generated from field: alis.open.iam.v1.EmailAuthProvider.Server server = 2;
|
|
234
|
+
*/
|
|
235
|
+
server?: EmailAuthProvider_Server | undefined;
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* @generated from field: google.protobuf.Duration throttle_duration = 3;
|
|
239
|
+
*/
|
|
240
|
+
throttleDuration?: Duration | undefined;
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* @generated from field: google.protobuf.Duration signed_in_duration = 4;
|
|
244
|
+
*/
|
|
245
|
+
signedInDuration?: Duration | undefined;
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* Describes the message alis.open.iam.v1.EmailAuthProvider.
|
|
250
|
+
* Use `create(EmailAuthProviderSchema)` to create a new message.
|
|
251
|
+
*/
|
|
252
|
+
export declare const EmailAuthProviderSchema: GenMessage<EmailAuthProvider>;
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* @generated from message alis.open.iam.v1.EmailAuthProvider.Server
|
|
256
|
+
*/
|
|
257
|
+
export declare type EmailAuthProvider_Server = Message<"alis.open.iam.v1.EmailAuthProvider.Server"> & {
|
|
258
|
+
/**
|
|
259
|
+
* @generated from field: alis.open.iam.v1.EmailAuthProvider.Sendgrid sendgrid = 1;
|
|
260
|
+
*/
|
|
261
|
+
sendgrid?: EmailAuthProvider_Sendgrid | undefined;
|
|
262
|
+
};
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Describes the message alis.open.iam.v1.EmailAuthProvider.Server.
|
|
266
|
+
* Use `create(EmailAuthProvider_ServerSchema)` to create a new message.
|
|
267
|
+
*/
|
|
268
|
+
export declare const EmailAuthProvider_ServerSchema: GenMessage<EmailAuthProvider_Server>;
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* @generated from message alis.open.iam.v1.EmailAuthProvider.Sendgrid
|
|
272
|
+
*/
|
|
273
|
+
export declare type EmailAuthProvider_Sendgrid = Message<"alis.open.iam.v1.EmailAuthProvider.Sendgrid"> & {
|
|
274
|
+
/**
|
|
275
|
+
* @generated from field: string api_key = 1;
|
|
276
|
+
*/
|
|
277
|
+
apiKey: string;
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* @generated from oneof alis.open.iam.v1.EmailAuthProvider.Sendgrid.template
|
|
281
|
+
*/
|
|
282
|
+
template: {
|
|
283
|
+
/**
|
|
284
|
+
* @generated from field: string dynamic_template_id = 2;
|
|
285
|
+
*/
|
|
286
|
+
value: string;
|
|
287
|
+
case: "dynamicTemplateId";
|
|
288
|
+
} | { case: undefined; value?: undefined };
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* Describes the message alis.open.iam.v1.EmailAuthProvider.Sendgrid.
|
|
293
|
+
* Use `create(EmailAuthProvider_SendgridSchema)` to create a new message.
|
|
294
|
+
*/
|
|
295
|
+
export declare const EmailAuthProvider_SendgridSchema: GenMessage<EmailAuthProvider_Sendgrid>;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* @generated from message alis.open.iam.v1.AppleAuthProvider
|
|
299
|
+
*/
|
|
300
|
+
export declare type AppleAuthProvider = Message<"alis.open.iam.v1.AppleAuthProvider"> & {
|
|
301
|
+
/**
|
|
302
|
+
* @generated from field: string team_id = 1;
|
|
303
|
+
*/
|
|
304
|
+
teamId: string;
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* @generated from field: string client_id = 2;
|
|
308
|
+
*/
|
|
309
|
+
clientId: string;
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* @generated from field: string client_secret = 3;
|
|
313
|
+
*/
|
|
314
|
+
clientSecret: string;
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* @generated from field: string key_id = 4;
|
|
318
|
+
*/
|
|
319
|
+
keyId: string;
|
|
320
|
+
};
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* Describes the message alis.open.iam.v1.AppleAuthProvider.
|
|
324
|
+
* Use `create(AppleAuthProviderSchema)` to create a new message.
|
|
325
|
+
*/
|
|
326
|
+
export declare const AppleAuthProviderSchema: GenMessage<AppleAuthProvider>;
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* @generated from message alis.open.iam.v1.RefreshToken
|
|
330
|
+
*/
|
|
331
|
+
export declare type RefreshToken = Message<"alis.open.iam.v1.RefreshToken"> & {
|
|
332
|
+
/**
|
|
333
|
+
* @generated from field: string token = 1;
|
|
334
|
+
*/
|
|
335
|
+
token: string;
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* @generated from field: alis.open.iam.v1.IdentityProvider provider = 2;
|
|
339
|
+
*/
|
|
340
|
+
provider: IdentityProvider;
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* @generated from field: string redirect_uri = 3;
|
|
344
|
+
*/
|
|
345
|
+
redirectUri: string;
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* Describes the message alis.open.iam.v1.RefreshToken.
|
|
350
|
+
* Use `create(RefreshTokenSchema)` to create a new message.
|
|
351
|
+
*/
|
|
352
|
+
export declare const RefreshTokenSchema: GenMessage<RefreshToken>;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.1 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/open/iam/v1/oauth.proto (package alis.open.iam.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_alis_open_iam_v1_user } from "./user_pb";
|
|
7
|
+
import { file_google_protobuf_duration } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file alis/open/iam/v1/oauth.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_alis_open_iam_v1_oauth = /*@__PURE__*/
|
|
13
|
+
fileDesc("ChxhbGlzL29wZW4vaWFtL3YxL29hdXRoLnByb3RvEhBhbGlzLm9wZW4uaWFtLnYxIt4HCglJYW1Db25maWcSQQoOYXV0aF9wcm92aWRlcnMYASABKAsyKS5hbGlzLm9wZW4uaWFtLnYxLklhbUNvbmZpZy5BdXRoUHJvdmlkZXJzEkQKEHNlbGZfc2lnbnVwX3NwZWMYAiABKAsyKi5hbGlzLm9wZW4uaWFtLnYxLklhbUNvbmZpZy5TZWxmU2lnbnVwU3BlYxIQCghsb2dvX3VyaRgDIAEoCRJACg5jb29raWVfZG9tYWlucxgEIAMoCzIoLmFsaXMub3Blbi5pYW0udjEuSWFtQ29uZmlnLkNvb2tpZURvbWFpbhIUCgxnb29nbGVfZ3JvdXAYBSABKAkajwIKDUF1dGhQcm92aWRlcnMSLwoGZ29vZ2xlGAEgASgLMh8uYWxpcy5vcGVuLmlhbS52MS5PYXV0aFByb3ZpZGVyEjIKCW1pY3Jvc29mdBgCIAEoCzIfLmFsaXMub3Blbi5pYW0udjEuT2F1dGhQcm92aWRlchIyCgVlbWFpbBgDIAEoCzIjLmFsaXMub3Blbi5pYW0udjEuRW1haWxBdXRoUHJvdmlkZXISMQoIbGlua2VkaW4YBCABKAsyHy5hbGlzLm9wZW4uaWFtLnYxLk9hdXRoUHJvdmlkZXISMgoFYXBwbGUYBSABKAsyIy5hbGlzLm9wZW4uaWFtLnYxLkFwcGxlQXV0aFByb3ZpZGVyGvIBCg5TZWxmU2lnbnVwU3BlYxJTChBkb21haW5fcHJvdmlkZXJzGAEgAygLMjkuYWxpcy5vcGVuLmlhbS52MS5JYW1Db25maWcuU2VsZlNpZ251cFNwZWMuRG9tYWluUHJvdmlkZXISFQoNZGVmYXVsdF9yb2xlcxgCIAMoCRp0Cg5Eb21haW5Qcm92aWRlchIOCgZkb21haW4YASABKAkSPQoRaWRlbnRpdHlfcHJvdmlkZXIYAiABKA4yIi5hbGlzLm9wZW4uaWFtLnYxLklkZW50aXR5UHJvdmlkZXISEwoLZm9yY2VfbG9naW4YAyABKAga1gEKDENvb2tpZURvbWFpbhIMCgRob3N0GAEgASgJEg4KBmRvbWFpbhgCIAEoCRJECglzYW1lX3NpdGUYAyABKA4yMS5hbGlzLm9wZW4uaWFtLnYxLklhbUNvbmZpZy5Db29raWVEb21haW4uU2FtZVNpdGUiYgoIU2FtZVNpdGUSGQoVU0FNRV9TSVRFX1VOU1BFQ0lGSUVEEAASFAoQU0FNRV9TSVRFX1NUUklDVBABEhEKDVNBTUVfU0lURV9MQVgQAhISCg5TQU1FX1NJVEVfTk9ORRADIgoKCFVpQ29uZmlnIjkKDU9hdXRoUHJvdmlkZXISEQoJY2xpZW50X2lkGAEgASgJEhUKDWNsaWVudF9zZWNyZXQYAiABKAki4gIKEUVtYWlsQXV0aFByb3ZpZGVyEhIKCmZyb21fZW1haWwYASABKAkSOgoGc2VydmVyGAIgASgLMiouYWxpcy5vcGVuLmlhbS52MS5FbWFpbEF1dGhQcm92aWRlci5TZXJ2ZXISNAoRdGhyb3R0bGVfZHVyYXRpb24YAyABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb24SNQoSc2lnbmVkX2luX2R1cmF0aW9uGAQgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uGkgKBlNlcnZlchI+CghzZW5kZ3JpZBgBIAEoCzIsLmFsaXMub3Blbi5pYW0udjEuRW1haWxBdXRoUHJvdmlkZXIuU2VuZGdyaWQaRgoIU2VuZGdyaWQSDwoHYXBpX2tleRgBIAEoCRIdChNkeW5hbWljX3RlbXBsYXRlX2lkGAIgASgJSABCCgoIdGVtcGxhdGUiXgoRQXBwbGVBdXRoUHJvdmlkZXISDwoHdGVhbV9pZBgBIAEoCRIRCgljbGllbnRfaWQYAiABKAkSFQoNY2xpZW50X3NlY3JldBgDIAEoCRIOCgZrZXlfaWQYBCABKAkiaQoMUmVmcmVzaFRva2VuEg0KBXRva2VuGAEgASgJEjQKCHByb3ZpZGVyGAIgASgOMiIuYWxpcy5vcGVuLmlhbS52MS5JZGVudGl0eVByb3ZpZGVyEhQKDHJlZGlyZWN0X3VyaRgDIAEoCUIvWi1naXRodWIuY29tL2FsaXMtYnVpbGQvcHVibGljLWdvL2FsaXMvb3Blbi9pYW1iBnByb3RvMw", [file_alis_open_iam_v1_user, file_google_protobuf_duration]);
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message alis.open.iam.v1.IamConfig.
|
|
17
|
+
* Use `create(IamConfigSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const IamConfigSchema = /*@__PURE__*/
|
|
20
|
+
messageDesc(file_alis_open_iam_v1_oauth, 0);
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message alis.open.iam.v1.IamConfig.AuthProviders.
|
|
24
|
+
* Use `create(IamConfig_AuthProvidersSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const IamConfig_AuthProvidersSchema = /*@__PURE__*/
|
|
27
|
+
messageDesc(file_alis_open_iam_v1_oauth, 0, 0);
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message alis.open.iam.v1.IamConfig.SelfSignupSpec.
|
|
31
|
+
* Use `create(IamConfig_SelfSignupSpecSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
export const IamConfig_SelfSignupSpecSchema = /*@__PURE__*/
|
|
34
|
+
messageDesc(file_alis_open_iam_v1_oauth, 0, 1);
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message alis.open.iam.v1.IamConfig.SelfSignupSpec.DomainProvider.
|
|
38
|
+
* Use `create(IamConfig_SelfSignupSpec_DomainProviderSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export const IamConfig_SelfSignupSpec_DomainProviderSchema = /*@__PURE__*/
|
|
41
|
+
messageDesc(file_alis_open_iam_v1_oauth, 0, 1, 0);
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message alis.open.iam.v1.IamConfig.CookieDomain.
|
|
45
|
+
* Use `create(IamConfig_CookieDomainSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
export const IamConfig_CookieDomainSchema = /*@__PURE__*/
|
|
48
|
+
messageDesc(file_alis_open_iam_v1_oauth, 0, 2);
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Describes the enum alis.open.iam.v1.IamConfig.CookieDomain.SameSite.
|
|
52
|
+
*/
|
|
53
|
+
export const IamConfig_CookieDomain_SameSiteSchema = /*@__PURE__*/
|
|
54
|
+
enumDesc(file_alis_open_iam_v1_oauth, 0, 2, 0);
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @generated from enum alis.open.iam.v1.IamConfig.CookieDomain.SameSite
|
|
58
|
+
*/
|
|
59
|
+
export const IamConfig_CookieDomain_SameSite = /*@__PURE__*/
|
|
60
|
+
tsEnum(IamConfig_CookieDomain_SameSiteSchema);
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Describes the message alis.open.iam.v1.UiConfig.
|
|
64
|
+
* Use `create(UiConfigSchema)` to create a new message.
|
|
65
|
+
*/
|
|
66
|
+
export const UiConfigSchema = /*@__PURE__*/
|
|
67
|
+
messageDesc(file_alis_open_iam_v1_oauth, 1);
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Describes the message alis.open.iam.v1.OauthProvider.
|
|
71
|
+
* Use `create(OauthProviderSchema)` to create a new message.
|
|
72
|
+
*/
|
|
73
|
+
export const OauthProviderSchema = /*@__PURE__*/
|
|
74
|
+
messageDesc(file_alis_open_iam_v1_oauth, 2);
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Describes the message alis.open.iam.v1.EmailAuthProvider.
|
|
78
|
+
* Use `create(EmailAuthProviderSchema)` to create a new message.
|
|
79
|
+
*/
|
|
80
|
+
export const EmailAuthProviderSchema = /*@__PURE__*/
|
|
81
|
+
messageDesc(file_alis_open_iam_v1_oauth, 3);
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Describes the message alis.open.iam.v1.EmailAuthProvider.Server.
|
|
85
|
+
* Use `create(EmailAuthProvider_ServerSchema)` to create a new message.
|
|
86
|
+
*/
|
|
87
|
+
export const EmailAuthProvider_ServerSchema = /*@__PURE__*/
|
|
88
|
+
messageDesc(file_alis_open_iam_v1_oauth, 3, 0);
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Describes the message alis.open.iam.v1.EmailAuthProvider.Sendgrid.
|
|
92
|
+
* Use `create(EmailAuthProvider_SendgridSchema)` to create a new message.
|
|
93
|
+
*/
|
|
94
|
+
export const EmailAuthProvider_SendgridSchema = /*@__PURE__*/
|
|
95
|
+
messageDesc(file_alis_open_iam_v1_oauth, 3, 1);
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Describes the message alis.open.iam.v1.AppleAuthProvider.
|
|
99
|
+
* Use `create(AppleAuthProviderSchema)` to create a new message.
|
|
100
|
+
*/
|
|
101
|
+
export const AppleAuthProviderSchema = /*@__PURE__*/
|
|
102
|
+
messageDesc(file_alis_open_iam_v1_oauth, 4);
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Describes the message alis.open.iam.v1.RefreshToken.
|
|
106
|
+
* Use `create(RefreshTokenSchema)` to create a new message.
|
|
107
|
+
*/
|
|
108
|
+
export const RefreshTokenSchema = /*@__PURE__*/
|
|
109
|
+
messageDesc(file_alis_open_iam_v1_oauth, 5);
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.1 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/open/iam/v1/role.proto (package alis.open.iam.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file alis/open/iam/v1/role.proto.
|
|
11
|
+
*/
|
|
12
|
+
export declare const file_alis_open_iam_v1_role: GenFile;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @generated from message alis.open.iam.v1.Role
|
|
16
|
+
*/
|
|
17
|
+
export declare type Role = Message<"alis.open.iam.v1.Role"> & {
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: string name = 1;
|
|
20
|
+
*/
|
|
21
|
+
name: string;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: google.protobuf.Timestamp create_time = 2;
|
|
25
|
+
*/
|
|
26
|
+
createTime?: Timestamp | undefined;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: google.protobuf.Timestamp update_time = 3;
|
|
30
|
+
*/
|
|
31
|
+
updateTime?: Timestamp | undefined;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: bytes etag = 4;
|
|
35
|
+
*/
|
|
36
|
+
etag: Uint8Array;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @generated from field: string title = 5;
|
|
40
|
+
*/
|
|
41
|
+
title: string;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @generated from field: string description = 6;
|
|
45
|
+
*/
|
|
46
|
+
description: string;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @generated from field: repeated string permissions = 7;
|
|
50
|
+
*/
|
|
51
|
+
permissions: string[];
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: repeated string resource_types = 8;
|
|
55
|
+
*/
|
|
56
|
+
resourceTypes: string[];
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @generated from field: bool all_users = 9;
|
|
60
|
+
*/
|
|
61
|
+
allUsers: boolean;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message alis.open.iam.v1.Role.
|
|
66
|
+
* Use `create(RoleSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
export declare const RoleSchema: GenMessage<Role>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.1 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/open/iam/v1/role.proto (package alis.open.iam.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file alis/open/iam/v1/role.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_alis_open_iam_v1_role = /*@__PURE__*/
|
|
12
|
+
fileDesc("ChthbGlzL29wZW4vaWFtL3YxL3JvbGUucHJvdG8SEGFsaXMub3Blbi5pYW0udjEi6AEKBFJvbGUSDAoEbmFtZRgBIAEoCRIvCgtjcmVhdGVfdGltZRgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLwoLdXBkYXRlX3RpbWUYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEgwKBGV0YWcYBCABKAwSDQoFdGl0bGUYBSABKAkSEwoLZGVzY3JpcHRpb24YBiABKAkSEwoLcGVybWlzc2lvbnMYByADKAkSFgoOcmVzb3VyY2VfdHlwZXMYCCADKAkSEQoJYWxsX3VzZXJzGAkgASgIQi9aLWdpdGh1Yi5jb20vYWxpcy1idWlsZC9wdWJsaWMtZ28vYWxpcy9vcGVuL2lhbWIGcHJvdG8z", [file_google_protobuf_timestamp]);
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message alis.open.iam.v1.Role.
|
|
16
|
+
* Use `create(RoleSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
export const RoleSchema = /*@__PURE__*/
|
|
19
|
+
messageDesc(file_alis_open_iam_v1_role, 0);
|