@liquidmetal-ai/drizzle 0.7.0 → 0.8.1
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/CHANGELOG.md +12 -0
- package/dist/codestore.js +1 -1
- package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts +8 -0
- package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts.map +1 -1
- package/dist/liquidmetal/v1alpha1/catalog_pb.js +1 -1
- package/dist/liquidmetal/v1alpha1/workos_integration_pb.d.ts +814 -0
- package/dist/liquidmetal/v1alpha1/workos_integration_pb.d.ts.map +1 -0
- package/dist/liquidmetal/v1alpha1/workos_integration_pb.js +166 -0
- package/package.json +3 -3
- package/src/codestore.ts +2 -2
- package/src/liquidmetal/v1alpha1/catalog_pb.ts +10 -1
- package/src/liquidmetal/v1alpha1/workos_integration_pb.ts +950 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,950 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.js"
|
|
2
|
+
// @generated from file liquidmetal/v1alpha1/workos_integration.proto (package liquidmetal.v1alpha1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Describes the file liquidmetal/v1alpha1/workos_integration.proto.
|
|
13
|
+
*/
|
|
14
|
+
export const file_liquidmetal_v1alpha1_workos_integration: GenFile = /*@__PURE__*/
|
|
15
|
+
fileDesc("Ci1saXF1aWRt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IDTFhYqgIUTGlxdWlkbWV0YWwuVjFhbHBoYTHKAhRMaXF1aWRtZXRhbFxWMWFscGhhMeICIExpcXVpZG1ldGFsXFYxYWxwaGExXEdQQk1ldGFkYXRh6gIVTGlxdWlkbWV0YWw6OlYxYWxwaGExYgZwcm90bzM", [file_google_protobuf_timestamp]);
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Team represents a WorkOS team.
|
|
19
|
+
*
|
|
20
|
+
* @generated from message liquidmetal.v1alpha1.Team
|
|
21
|
+
*/
|
|
22
|
+
export type Team = Message<"liquidmetal.v1alpha1.Team"> & {
|
|
23
|
+
/**
|
|
24
|
+
* WorkOS team ID
|
|
25
|
+
*
|
|
26
|
+
* @generated from field: string id = 1;
|
|
27
|
+
*/
|
|
28
|
+
id: string;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Team name
|
|
32
|
+
*
|
|
33
|
+
* @generated from field: string name = 2;
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* When the team was created
|
|
39
|
+
*
|
|
40
|
+
* @generated from field: google.protobuf.Timestamp created_at = 3;
|
|
41
|
+
*/
|
|
42
|
+
createdAt?: Timestamp;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* When the team was last updated
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 4;
|
|
48
|
+
*/
|
|
49
|
+
updatedAt?: Timestamp;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Describes the message liquidmetal.v1alpha1.Team.
|
|
54
|
+
* Use `create(TeamSchema)` to create a new message.
|
|
55
|
+
*/
|
|
56
|
+
export const TeamSchema: GenMessage<Team> = /*@__PURE__*/
|
|
57
|
+
messageDesc(file_liquidmetal_v1alpha1_workos_integration, 0);
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Environment represents a WorkOS environment for a Raindrop app.
|
|
61
|
+
* Note: This message does NOT include the API key value, which is stored securely.
|
|
62
|
+
*
|
|
63
|
+
* @generated from message liquidmetal.v1alpha1.Environment
|
|
64
|
+
*/
|
|
65
|
+
export type Environment = Message<"liquidmetal.v1alpha1.Environment"> & {
|
|
66
|
+
/**
|
|
67
|
+
* Environment name (matches Raindrop app name)
|
|
68
|
+
*
|
|
69
|
+
* @generated from field: string name = 1;
|
|
70
|
+
*/
|
|
71
|
+
name: string;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* WorkOS environment ID
|
|
75
|
+
*
|
|
76
|
+
* @generated from field: string environment_id = 2;
|
|
77
|
+
*/
|
|
78
|
+
environmentId: string;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* WorkOS client ID for this environment
|
|
82
|
+
*
|
|
83
|
+
* @generated from field: string client_id = 3;
|
|
84
|
+
*/
|
|
85
|
+
clientId: string;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Environment type (staging or production)
|
|
89
|
+
*
|
|
90
|
+
* @generated from field: liquidmetal.v1alpha1.EnvironmentType environment_type = 4;
|
|
91
|
+
*/
|
|
92
|
+
environmentType: EnvironmentType;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* WorkOS Connect hostname for this environment
|
|
96
|
+
* This is the Connect domain hostname used for OIDC authentication flows
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: optional string workos_connect_hostname = 5;
|
|
99
|
+
*/
|
|
100
|
+
workosConnectHostname?: string;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* WorkOS API hostname (typically api.workos.com)
|
|
104
|
+
*
|
|
105
|
+
* @generated from field: optional string workos_api_hostname = 6;
|
|
106
|
+
*/
|
|
107
|
+
workosApiHostname?: string;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* WorkOS organization ID for this environment
|
|
111
|
+
*
|
|
112
|
+
* @generated from field: optional string workos_organization_id = 7;
|
|
113
|
+
*/
|
|
114
|
+
workosOrganizationId?: string;
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Describes the message liquidmetal.v1alpha1.Environment.
|
|
119
|
+
* Use `create(EnvironmentSchema)` to create a new message.
|
|
120
|
+
*/
|
|
121
|
+
export const EnvironmentSchema: GenMessage<Environment> = /*@__PURE__*/
|
|
122
|
+
messageDesc(file_liquidmetal_v1alpha1_workos_integration, 1);
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* CreateTeamRequest activates WorkOS integration for an organization.
|
|
126
|
+
*
|
|
127
|
+
* @generated from message liquidmetal.v1alpha1.CreateTeamRequest
|
|
128
|
+
*/
|
|
129
|
+
export type CreateTeamRequest = Message<"liquidmetal.v1alpha1.CreateTeamRequest"> & {
|
|
130
|
+
/**
|
|
131
|
+
* User making the request
|
|
132
|
+
*
|
|
133
|
+
* @generated from field: string user_id = 1;
|
|
134
|
+
*/
|
|
135
|
+
userId: string;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Organization to activate WorkOS integration for
|
|
139
|
+
*
|
|
140
|
+
* @generated from field: string organization_id = 2;
|
|
141
|
+
*/
|
|
142
|
+
organizationId: string;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Email address for the team admin
|
|
146
|
+
* This will receive an invitation to join the team
|
|
147
|
+
*
|
|
148
|
+
* @generated from field: string admin_email = 3;
|
|
149
|
+
*/
|
|
150
|
+
adminEmail: string;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Optional name for the WorkOS team.
|
|
154
|
+
* If provided, this name will be cached for future use.
|
|
155
|
+
* If not provided, the cached primary organization name (from bootstrap or previous call) will be used.
|
|
156
|
+
* If neither is available, an error will be returned.
|
|
157
|
+
*
|
|
158
|
+
* @generated from field: optional string name = 4;
|
|
159
|
+
*/
|
|
160
|
+
name?: string;
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Describes the message liquidmetal.v1alpha1.CreateTeamRequest.
|
|
165
|
+
* Use `create(CreateTeamRequestSchema)` to create a new message.
|
|
166
|
+
*/
|
|
167
|
+
export const CreateTeamRequestSchema: GenMessage<CreateTeamRequest> = /*@__PURE__*/
|
|
168
|
+
messageDesc(file_liquidmetal_v1alpha1_workos_integration, 2);
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* CreateTeamResponse returns the created WorkOS team details.
|
|
172
|
+
*
|
|
173
|
+
* @generated from message liquidmetal.v1alpha1.CreateTeamResponse
|
|
174
|
+
*/
|
|
175
|
+
export type CreateTeamResponse = Message<"liquidmetal.v1alpha1.CreateTeamResponse"> & {
|
|
176
|
+
/**
|
|
177
|
+
* @generated from field: liquidmetal.v1alpha1.Team team = 1;
|
|
178
|
+
*/
|
|
179
|
+
team?: Team;
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Describes the message liquidmetal.v1alpha1.CreateTeamResponse.
|
|
184
|
+
* Use `create(CreateTeamResponseSchema)` to create a new message.
|
|
185
|
+
*/
|
|
186
|
+
export const CreateTeamResponseSchema: GenMessage<CreateTeamResponse> = /*@__PURE__*/
|
|
187
|
+
messageDesc(file_liquidmetal_v1alpha1_workos_integration, 3);
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* CreateEnvironmentRequest creates a WorkOS environment and API key for a Raindrop app.
|
|
191
|
+
*
|
|
192
|
+
* @generated from message liquidmetal.v1alpha1.CreateEnvironmentRequest
|
|
193
|
+
*/
|
|
194
|
+
export type CreateEnvironmentRequest = Message<"liquidmetal.v1alpha1.CreateEnvironmentRequest"> & {
|
|
195
|
+
/**
|
|
196
|
+
* User making the request
|
|
197
|
+
*
|
|
198
|
+
* @generated from field: string user_id = 1;
|
|
199
|
+
*/
|
|
200
|
+
userId: string;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Organization the environment belongs to
|
|
204
|
+
*
|
|
205
|
+
* @generated from field: string organization_id = 2;
|
|
206
|
+
*/
|
|
207
|
+
organizationId: string;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Name for the environment (must match Raindrop app name)
|
|
211
|
+
*
|
|
212
|
+
* @generated from field: string environment_name = 3;
|
|
213
|
+
*/
|
|
214
|
+
environmentName: string;
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Type of environment to create (currently only STAGING is supported)
|
|
218
|
+
*
|
|
219
|
+
* @generated from field: liquidmetal.v1alpha1.EnvironmentType environment_type = 4;
|
|
220
|
+
*/
|
|
221
|
+
environmentType: EnvironmentType;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Optional primary organization name for the WorkOS organization to create.
|
|
225
|
+
* If provided, this name will be cached for future use.
|
|
226
|
+
* If not provided, the cached name (from bootstrap or previous call) will be used.
|
|
227
|
+
* If neither is available, an error will be returned.
|
|
228
|
+
*
|
|
229
|
+
* @generated from field: optional string primary_organization_name = 5;
|
|
230
|
+
*/
|
|
231
|
+
primaryOrganizationName?: string;
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Describes the message liquidmetal.v1alpha1.CreateEnvironmentRequest.
|
|
236
|
+
* Use `create(CreateEnvironmentRequestSchema)` to create a new message.
|
|
237
|
+
*/
|
|
238
|
+
export const CreateEnvironmentRequestSchema: GenMessage<CreateEnvironmentRequest> = /*@__PURE__*/
|
|
239
|
+
messageDesc(file_liquidmetal_v1alpha1_workos_integration, 4);
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* CreateEnvironmentResponse confirms environment creation.
|
|
243
|
+
*
|
|
244
|
+
* @generated from message liquidmetal.v1alpha1.CreateEnvironmentResponse
|
|
245
|
+
*/
|
|
246
|
+
export type CreateEnvironmentResponse = Message<"liquidmetal.v1alpha1.CreateEnvironmentResponse"> & {
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Describes the message liquidmetal.v1alpha1.CreateEnvironmentResponse.
|
|
251
|
+
* Use `create(CreateEnvironmentResponseSchema)` to create a new message.
|
|
252
|
+
*/
|
|
253
|
+
export const CreateEnvironmentResponseSchema: GenMessage<CreateEnvironmentResponse> = /*@__PURE__*/
|
|
254
|
+
messageDesc(file_liquidmetal_v1alpha1_workos_integration, 5);
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* SetEnvironmentRequest manually configures all WorkOS environment details for a Raindrop app.
|
|
258
|
+
*
|
|
259
|
+
* @generated from message liquidmetal.v1alpha1.SetEnvironmentRequest
|
|
260
|
+
*/
|
|
261
|
+
export type SetEnvironmentRequest = Message<"liquidmetal.v1alpha1.SetEnvironmentRequest"> & {
|
|
262
|
+
/**
|
|
263
|
+
* User making the request
|
|
264
|
+
*
|
|
265
|
+
* @generated from field: string user_id = 1;
|
|
266
|
+
*/
|
|
267
|
+
userId: string;
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* Organization the environment belongs to
|
|
271
|
+
*
|
|
272
|
+
* @generated from field: string organization_id = 2;
|
|
273
|
+
*/
|
|
274
|
+
organizationId: string;
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Name for the environment (must match Raindrop app name)
|
|
278
|
+
*
|
|
279
|
+
* @generated from field: string environment_name = 3;
|
|
280
|
+
*/
|
|
281
|
+
environmentName: string;
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* WorkOS environment ID
|
|
285
|
+
*
|
|
286
|
+
* @generated from field: string environment_id = 4;
|
|
287
|
+
*/
|
|
288
|
+
environmentId: string;
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* WorkOS client ID
|
|
292
|
+
*
|
|
293
|
+
* @generated from field: string client_id = 5;
|
|
294
|
+
*/
|
|
295
|
+
clientId: string;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* WorkOS API key value (secret)
|
|
299
|
+
*
|
|
300
|
+
* @generated from field: string api_key_value = 6;
|
|
301
|
+
*/
|
|
302
|
+
apiKeyValue: string;
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* Environment type
|
|
306
|
+
*
|
|
307
|
+
* @generated from field: liquidmetal.v1alpha1.EnvironmentType environment_type = 7;
|
|
308
|
+
*/
|
|
309
|
+
environmentType: EnvironmentType;
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* WorkOS organization ID for this environment
|
|
313
|
+
*
|
|
314
|
+
* @generated from field: string workos_organization_id = 8;
|
|
315
|
+
*/
|
|
316
|
+
workosOrganizationId: string;
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* WorkOS Connect hostname for OIDC authentication
|
|
320
|
+
*
|
|
321
|
+
* @generated from field: string workos_connect_hostname = 9;
|
|
322
|
+
*/
|
|
323
|
+
workosConnectHostname: string;
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* WorkOS API hostname (defaults to api.workos.com if not provided)
|
|
327
|
+
*
|
|
328
|
+
* @generated from field: optional string workos_api_hostname = 10;
|
|
329
|
+
*/
|
|
330
|
+
workosApiHostname?: string;
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* Describes the message liquidmetal.v1alpha1.SetEnvironmentRequest.
|
|
335
|
+
* Use `create(SetEnvironmentRequestSchema)` to create a new message.
|
|
336
|
+
*/
|
|
337
|
+
export const SetEnvironmentRequestSchema: GenMessage<SetEnvironmentRequest> = /*@__PURE__*/
|
|
338
|
+
messageDesc(file_liquidmetal_v1alpha1_workos_integration, 6);
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* SetEnvironmentResponse confirms environment configuration.
|
|
342
|
+
*
|
|
343
|
+
* @generated from message liquidmetal.v1alpha1.SetEnvironmentResponse
|
|
344
|
+
*/
|
|
345
|
+
export type SetEnvironmentResponse = Message<"liquidmetal.v1alpha1.SetEnvironmentResponse"> & {
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* Describes the message liquidmetal.v1alpha1.SetEnvironmentResponse.
|
|
350
|
+
* Use `create(SetEnvironmentResponseSchema)` to create a new message.
|
|
351
|
+
*/
|
|
352
|
+
export const SetEnvironmentResponseSchema: GenMessage<SetEnvironmentResponse> = /*@__PURE__*/
|
|
353
|
+
messageDesc(file_liquidmetal_v1alpha1_workos_integration, 7);
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* DeleteEnvironmentRequest removes environment configuration.
|
|
357
|
+
*
|
|
358
|
+
* @generated from message liquidmetal.v1alpha1.DeleteEnvironmentRequest
|
|
359
|
+
*/
|
|
360
|
+
export type DeleteEnvironmentRequest = Message<"liquidmetal.v1alpha1.DeleteEnvironmentRequest"> & {
|
|
361
|
+
/**
|
|
362
|
+
* User making the request
|
|
363
|
+
*
|
|
364
|
+
* @generated from field: string user_id = 1;
|
|
365
|
+
*/
|
|
366
|
+
userId: string;
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* Organization the environment belongs to
|
|
370
|
+
*
|
|
371
|
+
* @generated from field: string organization_id = 2;
|
|
372
|
+
*/
|
|
373
|
+
organizationId: string;
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Name of the environment to delete (matches Raindrop app name)
|
|
377
|
+
*
|
|
378
|
+
* @generated from field: string environment_name = 3;
|
|
379
|
+
*/
|
|
380
|
+
environmentName: string;
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* Describes the message liquidmetal.v1alpha1.DeleteEnvironmentRequest.
|
|
385
|
+
* Use `create(DeleteEnvironmentRequestSchema)` to create a new message.
|
|
386
|
+
*/
|
|
387
|
+
export const DeleteEnvironmentRequestSchema: GenMessage<DeleteEnvironmentRequest> = /*@__PURE__*/
|
|
388
|
+
messageDesc(file_liquidmetal_v1alpha1_workos_integration, 8);
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* DeleteEnvironmentResponse confirms environment deletion.
|
|
392
|
+
*
|
|
393
|
+
* @generated from message liquidmetal.v1alpha1.DeleteEnvironmentResponse
|
|
394
|
+
*/
|
|
395
|
+
export type DeleteEnvironmentResponse = Message<"liquidmetal.v1alpha1.DeleteEnvironmentResponse"> & {
|
|
396
|
+
};
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* Describes the message liquidmetal.v1alpha1.DeleteEnvironmentResponse.
|
|
400
|
+
* Use `create(DeleteEnvironmentResponseSchema)` to create a new message.
|
|
401
|
+
*/
|
|
402
|
+
export const DeleteEnvironmentResponseSchema: GenMessage<DeleteEnvironmentResponse> = /*@__PURE__*/
|
|
403
|
+
messageDesc(file_liquidmetal_v1alpha1_workos_integration, 9);
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* GetTeamRequest retrieves WorkOS team information.
|
|
407
|
+
*
|
|
408
|
+
* @generated from message liquidmetal.v1alpha1.GetTeamRequest
|
|
409
|
+
*/
|
|
410
|
+
export type GetTeamRequest = Message<"liquidmetal.v1alpha1.GetTeamRequest"> & {
|
|
411
|
+
/**
|
|
412
|
+
* User making the request
|
|
413
|
+
*
|
|
414
|
+
* @generated from field: string user_id = 1;
|
|
415
|
+
*/
|
|
416
|
+
userId: string;
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* Organization to get team information for
|
|
420
|
+
*
|
|
421
|
+
* @generated from field: string organization_id = 2;
|
|
422
|
+
*/
|
|
423
|
+
organizationId: string;
|
|
424
|
+
};
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* Describes the message liquidmetal.v1alpha1.GetTeamRequest.
|
|
428
|
+
* Use `create(GetTeamRequestSchema)` to create a new message.
|
|
429
|
+
*/
|
|
430
|
+
export const GetTeamRequestSchema: GenMessage<GetTeamRequest> = /*@__PURE__*/
|
|
431
|
+
messageDesc(file_liquidmetal_v1alpha1_workos_integration, 10);
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* GetTeamResponse returns the WorkOS team details.
|
|
435
|
+
*
|
|
436
|
+
* @generated from message liquidmetal.v1alpha1.GetTeamResponse
|
|
437
|
+
*/
|
|
438
|
+
export type GetTeamResponse = Message<"liquidmetal.v1alpha1.GetTeamResponse"> & {
|
|
439
|
+
/**
|
|
440
|
+
* @generated from field: liquidmetal.v1alpha1.Team team = 1;
|
|
441
|
+
*/
|
|
442
|
+
team?: Team;
|
|
443
|
+
};
|
|
444
|
+
|
|
445
|
+
/**
|
|
446
|
+
* Describes the message liquidmetal.v1alpha1.GetTeamResponse.
|
|
447
|
+
* Use `create(GetTeamResponseSchema)` to create a new message.
|
|
448
|
+
*/
|
|
449
|
+
export const GetTeamResponseSchema: GenMessage<GetTeamResponse> = /*@__PURE__*/
|
|
450
|
+
messageDesc(file_liquidmetal_v1alpha1_workos_integration, 11);
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* ListEnvironmentsRequest retrieves all WorkOS environments for an organization.
|
|
454
|
+
*
|
|
455
|
+
* @generated from message liquidmetal.v1alpha1.ListEnvironmentsRequest
|
|
456
|
+
*/
|
|
457
|
+
export type ListEnvironmentsRequest = Message<"liquidmetal.v1alpha1.ListEnvironmentsRequest"> & {
|
|
458
|
+
/**
|
|
459
|
+
* User making the request
|
|
460
|
+
*
|
|
461
|
+
* @generated from field: string user_id = 1;
|
|
462
|
+
*/
|
|
463
|
+
userId: string;
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* Organization to list environments for
|
|
467
|
+
*
|
|
468
|
+
* @generated from field: string organization_id = 2;
|
|
469
|
+
*/
|
|
470
|
+
organizationId: string;
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* Describes the message liquidmetal.v1alpha1.ListEnvironmentsRequest.
|
|
475
|
+
* Use `create(ListEnvironmentsRequestSchema)` to create a new message.
|
|
476
|
+
*/
|
|
477
|
+
export const ListEnvironmentsRequestSchema: GenMessage<ListEnvironmentsRequest> = /*@__PURE__*/
|
|
478
|
+
messageDesc(file_liquidmetal_v1alpha1_workos_integration, 12);
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* ListEnvironmentsResponse returns all environments.
|
|
482
|
+
*
|
|
483
|
+
* @generated from message liquidmetal.v1alpha1.ListEnvironmentsResponse
|
|
484
|
+
*/
|
|
485
|
+
export type ListEnvironmentsResponse = Message<"liquidmetal.v1alpha1.ListEnvironmentsResponse"> & {
|
|
486
|
+
/**
|
|
487
|
+
* @generated from field: repeated liquidmetal.v1alpha1.Environment environments = 1;
|
|
488
|
+
*/
|
|
489
|
+
environments: Environment[];
|
|
490
|
+
};
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* Describes the message liquidmetal.v1alpha1.ListEnvironmentsResponse.
|
|
494
|
+
* Use `create(ListEnvironmentsResponseSchema)` to create a new message.
|
|
495
|
+
*/
|
|
496
|
+
export const ListEnvironmentsResponseSchema: GenMessage<ListEnvironmentsResponse> = /*@__PURE__*/
|
|
497
|
+
messageDesc(file_liquidmetal_v1alpha1_workos_integration, 13);
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* GetEnvironmentRequest retrieves a specific WorkOS environment.
|
|
501
|
+
*
|
|
502
|
+
* @generated from message liquidmetal.v1alpha1.GetEnvironmentRequest
|
|
503
|
+
*/
|
|
504
|
+
export type GetEnvironmentRequest = Message<"liquidmetal.v1alpha1.GetEnvironmentRequest"> & {
|
|
505
|
+
/**
|
|
506
|
+
* User making the request
|
|
507
|
+
*
|
|
508
|
+
* @generated from field: string user_id = 1;
|
|
509
|
+
*/
|
|
510
|
+
userId: string;
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* Organization the environment belongs to
|
|
514
|
+
*
|
|
515
|
+
* @generated from field: string organization_id = 2;
|
|
516
|
+
*/
|
|
517
|
+
organizationId: string;
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* Name of the environment (matches Raindrop app name)
|
|
521
|
+
*
|
|
522
|
+
* @generated from field: string environment_name = 3;
|
|
523
|
+
*/
|
|
524
|
+
environmentName: string;
|
|
525
|
+
};
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* Describes the message liquidmetal.v1alpha1.GetEnvironmentRequest.
|
|
529
|
+
* Use `create(GetEnvironmentRequestSchema)` to create a new message.
|
|
530
|
+
*/
|
|
531
|
+
export const GetEnvironmentRequestSchema: GenMessage<GetEnvironmentRequest> = /*@__PURE__*/
|
|
532
|
+
messageDesc(file_liquidmetal_v1alpha1_workos_integration, 14);
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* GetEnvironmentResponse returns the environment details.
|
|
536
|
+
*
|
|
537
|
+
* @generated from message liquidmetal.v1alpha1.GetEnvironmentResponse
|
|
538
|
+
*/
|
|
539
|
+
export type GetEnvironmentResponse = Message<"liquidmetal.v1alpha1.GetEnvironmentResponse"> & {
|
|
540
|
+
/**
|
|
541
|
+
* @generated from field: liquidmetal.v1alpha1.Environment environment = 1;
|
|
542
|
+
*/
|
|
543
|
+
environment?: Environment;
|
|
544
|
+
};
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* Describes the message liquidmetal.v1alpha1.GetEnvironmentResponse.
|
|
548
|
+
* Use `create(GetEnvironmentResponseSchema)` to create a new message.
|
|
549
|
+
*/
|
|
550
|
+
export const GetEnvironmentResponseSchema: GenMessage<GetEnvironmentResponse> = /*@__PURE__*/
|
|
551
|
+
messageDesc(file_liquidmetal_v1alpha1_workos_integration, 15);
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* InviteTeamMemberRequest sends an invitation to join the WorkOS team.
|
|
555
|
+
*
|
|
556
|
+
* @generated from message liquidmetal.v1alpha1.InviteTeamMemberRequest
|
|
557
|
+
*/
|
|
558
|
+
export type InviteTeamMemberRequest = Message<"liquidmetal.v1alpha1.InviteTeamMemberRequest"> & {
|
|
559
|
+
/**
|
|
560
|
+
* User making the request
|
|
561
|
+
*
|
|
562
|
+
* @generated from field: string user_id = 1;
|
|
563
|
+
*/
|
|
564
|
+
userId: string;
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* Organization whose team to invite the user to
|
|
568
|
+
*
|
|
569
|
+
* @generated from field: string organization_id = 2;
|
|
570
|
+
*/
|
|
571
|
+
organizationId: string;
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* Email address to send the invitation to
|
|
575
|
+
*
|
|
576
|
+
* @generated from field: string email = 3;
|
|
577
|
+
*/
|
|
578
|
+
email: string;
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* Role for the invited user (e.g., "admin", "member")
|
|
582
|
+
*
|
|
583
|
+
* @generated from field: string role_slug = 4;
|
|
584
|
+
*/
|
|
585
|
+
roleSlug: string;
|
|
586
|
+
};
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* Describes the message liquidmetal.v1alpha1.InviteTeamMemberRequest.
|
|
590
|
+
* Use `create(InviteTeamMemberRequestSchema)` to create a new message.
|
|
591
|
+
*/
|
|
592
|
+
export const InviteTeamMemberRequestSchema: GenMessage<InviteTeamMemberRequest> = /*@__PURE__*/
|
|
593
|
+
messageDesc(file_liquidmetal_v1alpha1_workos_integration, 16);
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* InviteTeamMemberResponse confirms the invitation was sent.
|
|
597
|
+
*
|
|
598
|
+
* @generated from message liquidmetal.v1alpha1.InviteTeamMemberResponse
|
|
599
|
+
*/
|
|
600
|
+
export type InviteTeamMemberResponse = Message<"liquidmetal.v1alpha1.InviteTeamMemberResponse"> & {
|
|
601
|
+
};
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* Describes the message liquidmetal.v1alpha1.InviteTeamMemberResponse.
|
|
605
|
+
* Use `create(InviteTeamMemberResponseSchema)` to create a new message.
|
|
606
|
+
*/
|
|
607
|
+
export const InviteTeamMemberResponseSchema: GenMessage<InviteTeamMemberResponse> = /*@__PURE__*/
|
|
608
|
+
messageDesc(file_liquidmetal_v1alpha1_workos_integration, 17);
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* DeleteAllWorkOSStateRequest removes all WorkOS configuration from the organization's state.
|
|
612
|
+
*
|
|
613
|
+
* @generated from message liquidmetal.v1alpha1.DeleteAllWorkOSStateRequest
|
|
614
|
+
*/
|
|
615
|
+
export type DeleteAllWorkOSStateRequest = Message<"liquidmetal.v1alpha1.DeleteAllWorkOSStateRequest"> & {
|
|
616
|
+
/**
|
|
617
|
+
* User making the request
|
|
618
|
+
*
|
|
619
|
+
* @generated from field: string user_id = 1;
|
|
620
|
+
*/
|
|
621
|
+
userId: string;
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* Organization whose WorkOS state should be deleted
|
|
625
|
+
*
|
|
626
|
+
* @generated from field: string organization_id = 2;
|
|
627
|
+
*/
|
|
628
|
+
organizationId: string;
|
|
629
|
+
};
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* Describes the message liquidmetal.v1alpha1.DeleteAllWorkOSStateRequest.
|
|
633
|
+
* Use `create(DeleteAllWorkOSStateRequestSchema)` to create a new message.
|
|
634
|
+
*/
|
|
635
|
+
export const DeleteAllWorkOSStateRequestSchema: GenMessage<DeleteAllWorkOSStateRequest> = /*@__PURE__*/
|
|
636
|
+
messageDesc(file_liquidmetal_v1alpha1_workos_integration, 18);
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* DeleteAllWorkOSStateResponse confirms the deletion.
|
|
640
|
+
*
|
|
641
|
+
* @generated from message liquidmetal.v1alpha1.DeleteAllWorkOSStateResponse
|
|
642
|
+
*/
|
|
643
|
+
export type DeleteAllWorkOSStateResponse = Message<"liquidmetal.v1alpha1.DeleteAllWorkOSStateResponse"> & {
|
|
644
|
+
};
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* Describes the message liquidmetal.v1alpha1.DeleteAllWorkOSStateResponse.
|
|
648
|
+
* Use `create(DeleteAllWorkOSStateResponseSchema)` to create a new message.
|
|
649
|
+
*/
|
|
650
|
+
export const DeleteAllWorkOSStateResponseSchema: GenMessage<DeleteAllWorkOSStateResponse> = /*@__PURE__*/
|
|
651
|
+
messageDesc(file_liquidmetal_v1alpha1_workos_integration, 19);
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* AttachEnvironmentToVersionRequest links a version to a WorkOS environment.
|
|
655
|
+
*
|
|
656
|
+
* @generated from message liquidmetal.v1alpha1.AttachEnvironmentToVersionRequest
|
|
657
|
+
*/
|
|
658
|
+
export type AttachEnvironmentToVersionRequest = Message<"liquidmetal.v1alpha1.AttachEnvironmentToVersionRequest"> & {
|
|
659
|
+
/**
|
|
660
|
+
* User making the request
|
|
661
|
+
*
|
|
662
|
+
* @generated from field: string user_id = 1;
|
|
663
|
+
*/
|
|
664
|
+
userId: string;
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* Organization the application belongs to
|
|
668
|
+
*
|
|
669
|
+
* @generated from field: string organization_id = 2;
|
|
670
|
+
*/
|
|
671
|
+
organizationId: string;
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* Application name
|
|
675
|
+
*
|
|
676
|
+
* @generated from field: string application_name = 3;
|
|
677
|
+
*/
|
|
678
|
+
applicationName: string;
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* Version ID to attach the environment to
|
|
682
|
+
*
|
|
683
|
+
* @generated from field: string version_id = 4;
|
|
684
|
+
*/
|
|
685
|
+
versionId: string;
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* Name of the WorkOS environment to attach (must already be configured)
|
|
689
|
+
*
|
|
690
|
+
* @generated from field: string environment_name = 5;
|
|
691
|
+
*/
|
|
692
|
+
environmentName: string;
|
|
693
|
+
};
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* Describes the message liquidmetal.v1alpha1.AttachEnvironmentToVersionRequest.
|
|
697
|
+
* Use `create(AttachEnvironmentToVersionRequestSchema)` to create a new message.
|
|
698
|
+
*/
|
|
699
|
+
export const AttachEnvironmentToVersionRequestSchema: GenMessage<AttachEnvironmentToVersionRequest> = /*@__PURE__*/
|
|
700
|
+
messageDesc(file_liquidmetal_v1alpha1_workos_integration, 20);
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* AttachEnvironmentToVersionResponse confirms the attachment.
|
|
704
|
+
*
|
|
705
|
+
* @generated from message liquidmetal.v1alpha1.AttachEnvironmentToVersionResponse
|
|
706
|
+
*/
|
|
707
|
+
export type AttachEnvironmentToVersionResponse = Message<"liquidmetal.v1alpha1.AttachEnvironmentToVersionResponse"> & {
|
|
708
|
+
};
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* Describes the message liquidmetal.v1alpha1.AttachEnvironmentToVersionResponse.
|
|
712
|
+
* Use `create(AttachEnvironmentToVersionResponseSchema)` to create a new message.
|
|
713
|
+
*/
|
|
714
|
+
export const AttachEnvironmentToVersionResponseSchema: GenMessage<AttachEnvironmentToVersionResponse> = /*@__PURE__*/
|
|
715
|
+
messageDesc(file_liquidmetal_v1alpha1_workos_integration, 21);
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* DetachEnvironmentFromVersionRequest unlinks a version from its WorkOS environment.
|
|
719
|
+
*
|
|
720
|
+
* @generated from message liquidmetal.v1alpha1.DetachEnvironmentFromVersionRequest
|
|
721
|
+
*/
|
|
722
|
+
export type DetachEnvironmentFromVersionRequest = Message<"liquidmetal.v1alpha1.DetachEnvironmentFromVersionRequest"> & {
|
|
723
|
+
/**
|
|
724
|
+
* User making the request
|
|
725
|
+
*
|
|
726
|
+
* @generated from field: string user_id = 1;
|
|
727
|
+
*/
|
|
728
|
+
userId: string;
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* Organization the application belongs to
|
|
732
|
+
*
|
|
733
|
+
* @generated from field: string organization_id = 2;
|
|
734
|
+
*/
|
|
735
|
+
organizationId: string;
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* Application name
|
|
739
|
+
*
|
|
740
|
+
* @generated from field: string application_name = 3;
|
|
741
|
+
*/
|
|
742
|
+
applicationName: string;
|
|
743
|
+
|
|
744
|
+
/**
|
|
745
|
+
* Version ID to detach the environment from
|
|
746
|
+
*
|
|
747
|
+
* @generated from field: string version_id = 4;
|
|
748
|
+
*/
|
|
749
|
+
versionId: string;
|
|
750
|
+
};
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* Describes the message liquidmetal.v1alpha1.DetachEnvironmentFromVersionRequest.
|
|
754
|
+
* Use `create(DetachEnvironmentFromVersionRequestSchema)` to create a new message.
|
|
755
|
+
*/
|
|
756
|
+
export const DetachEnvironmentFromVersionRequestSchema: GenMessage<DetachEnvironmentFromVersionRequest> = /*@__PURE__*/
|
|
757
|
+
messageDesc(file_liquidmetal_v1alpha1_workos_integration, 22);
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* DetachEnvironmentFromVersionResponse confirms the detachment.
|
|
761
|
+
*
|
|
762
|
+
* @generated from message liquidmetal.v1alpha1.DetachEnvironmentFromVersionResponse
|
|
763
|
+
*/
|
|
764
|
+
export type DetachEnvironmentFromVersionResponse = Message<"liquidmetal.v1alpha1.DetachEnvironmentFromVersionResponse"> & {
|
|
765
|
+
};
|
|
766
|
+
|
|
767
|
+
/**
|
|
768
|
+
* Describes the message liquidmetal.v1alpha1.DetachEnvironmentFromVersionResponse.
|
|
769
|
+
* Use `create(DetachEnvironmentFromVersionResponseSchema)` to create a new message.
|
|
770
|
+
*/
|
|
771
|
+
export const DetachEnvironmentFromVersionResponseSchema: GenMessage<DetachEnvironmentFromVersionResponse> = /*@__PURE__*/
|
|
772
|
+
messageDesc(file_liquidmetal_v1alpha1_workos_integration, 23);
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* EnvironmentType indicates whether a WorkOS environment is staging or production.
|
|
776
|
+
* Currently only STAGING environments can be created.
|
|
777
|
+
*
|
|
778
|
+
* @generated from enum liquidmetal.v1alpha1.EnvironmentType
|
|
779
|
+
*/
|
|
780
|
+
export enum EnvironmentType {
|
|
781
|
+
/**
|
|
782
|
+
* @generated from enum value: ENVIRONMENT_TYPE_UNSPECIFIED = 0;
|
|
783
|
+
*/
|
|
784
|
+
UNSPECIFIED = 0,
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* @generated from enum value: ENVIRONMENT_TYPE_STAGING = 1;
|
|
788
|
+
*/
|
|
789
|
+
STAGING = 1,
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* @generated from enum value: ENVIRONMENT_TYPE_PRODUCTION = 2;
|
|
793
|
+
*/
|
|
794
|
+
PRODUCTION = 2,
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* Describes the enum liquidmetal.v1alpha1.EnvironmentType.
|
|
799
|
+
*/
|
|
800
|
+
export const EnvironmentTypeSchema: GenEnum<EnvironmentType> = /*@__PURE__*/
|
|
801
|
+
enumDesc(file_liquidmetal_v1alpha1_workos_integration, 0);
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* WorkOSIntegrationService provides integration with WorkOS Platform API for
|
|
805
|
+
* authentication and team management.
|
|
806
|
+
*
|
|
807
|
+
* The service maps LiquidMetal concepts to WorkOS concepts:
|
|
808
|
+
* - 1 LiquidMetal organization = 1 WorkOS team
|
|
809
|
+
* - 1 Raindrop app (all versions) = 1 WorkOS environment = 1 API key
|
|
810
|
+
* - Environment name = Raindrop app name
|
|
811
|
+
*
|
|
812
|
+
* @generated from service liquidmetal.v1alpha1.WorkOSIntegrationService
|
|
813
|
+
*/
|
|
814
|
+
export const WorkOSIntegrationService: GenService<{
|
|
815
|
+
/**
|
|
816
|
+
* CreateTeam activates WorkOS integration for an organization by creating a
|
|
817
|
+
* WorkOS team.
|
|
818
|
+
*
|
|
819
|
+
* Error handling:
|
|
820
|
+
* - If a user with the admin email already exists in WorkOS, this will return
|
|
821
|
+
* an error. The caller should prompt the user to use a different email address.
|
|
822
|
+
*
|
|
823
|
+
* @generated from rpc liquidmetal.v1alpha1.WorkOSIntegrationService.CreateTeam
|
|
824
|
+
*/
|
|
825
|
+
createTeam: {
|
|
826
|
+
methodKind: "unary";
|
|
827
|
+
input: typeof CreateTeamRequestSchema;
|
|
828
|
+
output: typeof CreateTeamResponseSchema;
|
|
829
|
+
},
|
|
830
|
+
/**
|
|
831
|
+
* CreateEnvironment creates a WorkOS environment for a Raindrop app and
|
|
832
|
+
* automatically generates an API key for that environment.
|
|
833
|
+
*
|
|
834
|
+
* The environment name must match the Raindrop app name.
|
|
835
|
+
*
|
|
836
|
+
* @generated from rpc liquidmetal.v1alpha1.WorkOSIntegrationService.CreateEnvironment
|
|
837
|
+
*/
|
|
838
|
+
createEnvironment: {
|
|
839
|
+
methodKind: "unary";
|
|
840
|
+
input: typeof CreateEnvironmentRequestSchema;
|
|
841
|
+
output: typeof CreateEnvironmentResponseSchema;
|
|
842
|
+
},
|
|
843
|
+
/**
|
|
844
|
+
* SetEnvironment manually configures all WorkOS environment details for a Raindrop app.
|
|
845
|
+
* This allows integration with an existing, fully-configured WorkOS environment
|
|
846
|
+
* (including production environments) without calling CreateEnvironment.
|
|
847
|
+
*
|
|
848
|
+
* @generated from rpc liquidmetal.v1alpha1.WorkOSIntegrationService.SetEnvironment
|
|
849
|
+
*/
|
|
850
|
+
setEnvironment: {
|
|
851
|
+
methodKind: "unary";
|
|
852
|
+
input: typeof SetEnvironmentRequestSchema;
|
|
853
|
+
output: typeof SetEnvironmentResponseSchema;
|
|
854
|
+
},
|
|
855
|
+
/**
|
|
856
|
+
* DeleteEnvironment removes the WorkOS environment configuration.
|
|
857
|
+
* This does NOT delete the environment from WorkOS - users must manage that
|
|
858
|
+
* in the WorkOS dashboard.
|
|
859
|
+
*
|
|
860
|
+
* @generated from rpc liquidmetal.v1alpha1.WorkOSIntegrationService.DeleteEnvironment
|
|
861
|
+
*/
|
|
862
|
+
deleteEnvironment: {
|
|
863
|
+
methodKind: "unary";
|
|
864
|
+
input: typeof DeleteEnvironmentRequestSchema;
|
|
865
|
+
output: typeof DeleteEnvironmentResponseSchema;
|
|
866
|
+
},
|
|
867
|
+
/**
|
|
868
|
+
* GetTeam retrieves the WorkOS team information for an organization.
|
|
869
|
+
* Returns an error if WorkOS integration has not been activated.
|
|
870
|
+
*
|
|
871
|
+
* @generated from rpc liquidmetal.v1alpha1.WorkOSIntegrationService.GetTeam
|
|
872
|
+
*/
|
|
873
|
+
getTeam: {
|
|
874
|
+
methodKind: "unary";
|
|
875
|
+
input: typeof GetTeamRequestSchema;
|
|
876
|
+
output: typeof GetTeamResponseSchema;
|
|
877
|
+
},
|
|
878
|
+
/**
|
|
879
|
+
* ListEnvironments returns all WorkOS environments for an organization.
|
|
880
|
+
* Each environment corresponds to a Raindrop app.
|
|
881
|
+
*
|
|
882
|
+
* @generated from rpc liquidmetal.v1alpha1.WorkOSIntegrationService.ListEnvironments
|
|
883
|
+
*/
|
|
884
|
+
listEnvironments: {
|
|
885
|
+
methodKind: "unary";
|
|
886
|
+
input: typeof ListEnvironmentsRequestSchema;
|
|
887
|
+
output: typeof ListEnvironmentsResponseSchema;
|
|
888
|
+
},
|
|
889
|
+
/**
|
|
890
|
+
* GetEnvironment retrieves WorkOS environment details for a specific Raindrop app.
|
|
891
|
+
*
|
|
892
|
+
* @generated from rpc liquidmetal.v1alpha1.WorkOSIntegrationService.GetEnvironment
|
|
893
|
+
*/
|
|
894
|
+
getEnvironment: {
|
|
895
|
+
methodKind: "unary";
|
|
896
|
+
input: typeof GetEnvironmentRequestSchema;
|
|
897
|
+
output: typeof GetEnvironmentResponseSchema;
|
|
898
|
+
},
|
|
899
|
+
/**
|
|
900
|
+
* AttachEnvironmentToVersion configures an application version to use a WorkOS environment.
|
|
901
|
+
* This sets the WORKOS_ENVIRONMENT system environment variable for the version, enabling
|
|
902
|
+
* WorkOS authentication for protected services and actors.
|
|
903
|
+
*
|
|
904
|
+
* The environment must already be configured via CreateEnvironment or SetEnvironment.
|
|
905
|
+
*
|
|
906
|
+
* @generated from rpc liquidmetal.v1alpha1.WorkOSIntegrationService.AttachEnvironmentToVersion
|
|
907
|
+
*/
|
|
908
|
+
attachEnvironmentToVersion: {
|
|
909
|
+
methodKind: "unary";
|
|
910
|
+
input: typeof AttachEnvironmentToVersionRequestSchema;
|
|
911
|
+
output: typeof AttachEnvironmentToVersionResponseSchema;
|
|
912
|
+
},
|
|
913
|
+
/**
|
|
914
|
+
* DetachEnvironmentFromVersion removes WorkOS environment configuration from an application version.
|
|
915
|
+
* This deletes the WORKOS_ENVIRONMENT system environment variable, disabling WorkOS authentication
|
|
916
|
+
* for the version's protected services and actors.
|
|
917
|
+
*
|
|
918
|
+
* @generated from rpc liquidmetal.v1alpha1.WorkOSIntegrationService.DetachEnvironmentFromVersion
|
|
919
|
+
*/
|
|
920
|
+
detachEnvironmentFromVersion: {
|
|
921
|
+
methodKind: "unary";
|
|
922
|
+
input: typeof DetachEnvironmentFromVersionRequestSchema;
|
|
923
|
+
output: typeof DetachEnvironmentFromVersionResponseSchema;
|
|
924
|
+
},
|
|
925
|
+
/**
|
|
926
|
+
* InviteTeamMember sends an invitation for a user to join the WorkOS team.
|
|
927
|
+
*
|
|
928
|
+
* @generated from rpc liquidmetal.v1alpha1.WorkOSIntegrationService.InviteTeamMember
|
|
929
|
+
*/
|
|
930
|
+
inviteTeamMember: {
|
|
931
|
+
methodKind: "unary";
|
|
932
|
+
input: typeof InviteTeamMemberRequestSchema;
|
|
933
|
+
output: typeof InviteTeamMemberResponseSchema;
|
|
934
|
+
},
|
|
935
|
+
/**
|
|
936
|
+
* DeleteAllWorkOSState removes all WorkOS-related configuration from the organization's state.
|
|
937
|
+
* This includes the team information, all environment configurations, and API keys.
|
|
938
|
+
* WARNING: This is a destructive operation that cannot be undone.
|
|
939
|
+
* This does NOT delete anything from WorkOS - only local state is affected.
|
|
940
|
+
*
|
|
941
|
+
* @generated from rpc liquidmetal.v1alpha1.WorkOSIntegrationService.DeleteAllWorkOSState
|
|
942
|
+
*/
|
|
943
|
+
deleteAllWorkOSState: {
|
|
944
|
+
methodKind: "unary";
|
|
945
|
+
input: typeof DeleteAllWorkOSStateRequestSchema;
|
|
946
|
+
output: typeof DeleteAllWorkOSStateResponseSchema;
|
|
947
|
+
},
|
|
948
|
+
}> = /*@__PURE__*/
|
|
949
|
+
serviceDesc(file_liquidmetal_v1alpha1_workos_integration, 0);
|
|
950
|
+
|