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