@valon-technologies/gestalt 0.0.1-alpha.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,772 @@
1
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
2
+ // @generated from file v1/plugin.proto (package gestalt.provider.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { EmptySchema, Timestamp, Value } from "@bufbuild/protobuf/wkt";
8
+ import { file_google_protobuf_empty, file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
9
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file v1/plugin.proto.
13
+ */
14
+ export const file_v1_plugin: GenFile = /*@__PURE__*/
15
+ fileDesc("Cg92MS9wbHVnaW4ucHJvdG8SE2dlc3RhbHQucHJvdmlkZXIudjEifgoQQ2F0YWxvZ1BhcmFtZXRlchIMCgRuYW1lGAEgASgJEgwKBHR5cGUYAiABKAkSEwoLZGVzY3JpcHRpb24YAyABKAkSEAoIcmVxdWlyZWQYBCABKAgSJwoHZGVmYXVsdBgFIAEoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZSLeAQoUT3BlcmF0aW9uQW5ub3RhdGlvbnMSGwoOcmVhZF9vbmx5X2hpbnQYASABKAhIAIgBARIcCg9pZGVtcG90ZW50X2hpbnQYAiABKAhIAYgBARIdChBkZXN0cnVjdGl2ZV9oaW50GAMgASgISAKIAQESHAoPb3Blbl93b3JsZF9oaW50GAQgASgISAOIAQFCEQoPX3JlYWRfb25seV9oaW50QhIKEF9pZGVtcG90ZW50X2hpbnRCEwoRX2Rlc3RydWN0aXZlX2hpbnRCEgoQX29wZW5fd29ybGRfaGludCKAAwoQQ2F0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MKE0ludGVncmF0aW9uUHJvdmlkZXISTAoLR2V0TWV0YWRhdGESFi5nb29nbGUucHJvdG9idWYuRW1wdHkaJS5nZXN0YWx0LnByb3ZpZGVyLnYxLlByb3ZpZGVyTWV0YWRhdGESZgoNU3RhcnRQcm92aWRlchIpLmdlc3RhbHQucHJvdmlkZXIudjEuU3RhcnRQcm92aWRlclJlcXVlc3QaKi5nZXN0YWx0LnByb3ZpZGVyLnYxLlN0YXJ0UHJvdmlkZXJSZXNwb25zZRJUCgdFeGVjdXRlEiMuZ2VzdGFsdC5wcm92aWRlci52MS5FeGVjdXRlUmVxdWVzdBokLmdlc3RhbHQucHJvdmlkZXIudjEuT3BlcmF0aW9uUmVzdWx0EnIKEUdldFNlc3Npb25DYXRhbG9nEi0uZ2VzdGFsdC5wcm92aWRlci52MS5HZXRTZXNzaW9uQ2F0YWxvZ1JlcXVlc3QaLi5nZXN0YWx0LnByb3ZpZGVyLnYxLkdldFNlc3Npb25DYXRhbG9nUmVzcG9uc2USYAoLUG9zdENvbm5lY3QSJy5nZXN0YWx0LnByb3ZpZGVyLnYxLlBvc3RDb25uZWN0UmVxdWVzdBooLmdlc3RhbHQucHJvdmlkZXIudjEuUG9zdENvbm5lY3RSZXNwb25zZUI7WjlnaXRodWIuY29tL3ZhbG9uLXRlY2hub2xvZ2llcy9nZXN0YWx0L3Nkay9nby9nZW4vdjE7cHJvdG9iBnByb3RvMw", [file_google_protobuf_empty, file_google_protobuf_struct, file_google_protobuf_timestamp]);
16
+
17
+ /**
18
+ * @generated from message gestalt.provider.v1.CatalogParameter
19
+ */
20
+ export type CatalogParameter = Message<"gestalt.provider.v1.CatalogParameter"> & {
21
+ /**
22
+ * @generated from field: string name = 1;
23
+ */
24
+ name: string;
25
+
26
+ /**
27
+ * @generated from field: string type = 2;
28
+ */
29
+ type: string;
30
+
31
+ /**
32
+ * @generated from field: string description = 3;
33
+ */
34
+ description: string;
35
+
36
+ /**
37
+ * @generated from field: bool required = 4;
38
+ */
39
+ required: boolean;
40
+
41
+ /**
42
+ * @generated from field: google.protobuf.Value default = 5;
43
+ */
44
+ default?: Value;
45
+ };
46
+
47
+ /**
48
+ * Describes the message gestalt.provider.v1.CatalogParameter.
49
+ * Use `create(CatalogParameterSchema)` to create a new message.
50
+ */
51
+ export const CatalogParameterSchema: GenMessage<CatalogParameter> = /*@__PURE__*/
52
+ messageDesc(file_v1_plugin, 0);
53
+
54
+ /**
55
+ * @generated from message gestalt.provider.v1.OperationAnnotations
56
+ */
57
+ export type OperationAnnotations = Message<"gestalt.provider.v1.OperationAnnotations"> & {
58
+ /**
59
+ * @generated from field: optional bool read_only_hint = 1;
60
+ */
61
+ readOnlyHint?: boolean;
62
+
63
+ /**
64
+ * @generated from field: optional bool idempotent_hint = 2;
65
+ */
66
+ idempotentHint?: boolean;
67
+
68
+ /**
69
+ * @generated from field: optional bool destructive_hint = 3;
70
+ */
71
+ destructiveHint?: boolean;
72
+
73
+ /**
74
+ * @generated from field: optional bool open_world_hint = 4;
75
+ */
76
+ openWorldHint?: boolean;
77
+ };
78
+
79
+ /**
80
+ * Describes the message gestalt.provider.v1.OperationAnnotations.
81
+ * Use `create(OperationAnnotationsSchema)` to create a new message.
82
+ */
83
+ export const OperationAnnotationsSchema: GenMessage<OperationAnnotations> = /*@__PURE__*/
84
+ messageDesc(file_v1_plugin, 1);
85
+
86
+ /**
87
+ * @generated from message gestalt.provider.v1.CatalogOperation
88
+ */
89
+ export type CatalogOperation = Message<"gestalt.provider.v1.CatalogOperation"> & {
90
+ /**
91
+ * @generated from field: string id = 1;
92
+ */
93
+ id: string;
94
+
95
+ /**
96
+ * @generated from field: string method = 2;
97
+ */
98
+ method: string;
99
+
100
+ /**
101
+ * @generated from field: string title = 3;
102
+ */
103
+ title: string;
104
+
105
+ /**
106
+ * @generated from field: string description = 4;
107
+ */
108
+ description: string;
109
+
110
+ /**
111
+ * @generated from field: string input_schema = 5;
112
+ */
113
+ inputSchema: string;
114
+
115
+ /**
116
+ * @generated from field: string output_schema = 6;
117
+ */
118
+ outputSchema: string;
119
+
120
+ /**
121
+ * @generated from field: gestalt.provider.v1.OperationAnnotations annotations = 7;
122
+ */
123
+ annotations?: OperationAnnotations;
124
+
125
+ /**
126
+ * @generated from field: repeated gestalt.provider.v1.CatalogParameter parameters = 8;
127
+ */
128
+ parameters: CatalogParameter[];
129
+
130
+ /**
131
+ * @generated from field: repeated string required_scopes = 9;
132
+ */
133
+ requiredScopes: string[];
134
+
135
+ /**
136
+ * @generated from field: repeated string tags = 10;
137
+ */
138
+ tags: string[];
139
+
140
+ /**
141
+ * @generated from field: bool read_only = 11;
142
+ */
143
+ readOnly: boolean;
144
+
145
+ /**
146
+ * @generated from field: optional bool visible = 12;
147
+ */
148
+ visible?: boolean;
149
+
150
+ /**
151
+ * @generated from field: string transport = 13;
152
+ */
153
+ transport: string;
154
+
155
+ /**
156
+ * @generated from field: repeated string allowed_roles = 14;
157
+ */
158
+ allowedRoles: string[];
159
+ };
160
+
161
+ /**
162
+ * Describes the message gestalt.provider.v1.CatalogOperation.
163
+ * Use `create(CatalogOperationSchema)` to create a new message.
164
+ */
165
+ export const CatalogOperationSchema: GenMessage<CatalogOperation> = /*@__PURE__*/
166
+ messageDesc(file_v1_plugin, 2);
167
+
168
+ /**
169
+ * @generated from message gestalt.provider.v1.Catalog
170
+ */
171
+ export type Catalog = Message<"gestalt.provider.v1.Catalog"> & {
172
+ /**
173
+ * @generated from field: string name = 1;
174
+ */
175
+ name: string;
176
+
177
+ /**
178
+ * @generated from field: string display_name = 2;
179
+ */
180
+ displayName: string;
181
+
182
+ /**
183
+ * @generated from field: string description = 3;
184
+ */
185
+ description: string;
186
+
187
+ /**
188
+ * @generated from field: string icon_svg = 4;
189
+ */
190
+ iconSvg: string;
191
+
192
+ /**
193
+ * @generated from field: repeated gestalt.provider.v1.CatalogOperation operations = 5;
194
+ */
195
+ operations: CatalogOperation[];
196
+ };
197
+
198
+ /**
199
+ * Describes the message gestalt.provider.v1.Catalog.
200
+ * Use `create(CatalogSchema)` to create a new message.
201
+ */
202
+ export const CatalogSchema: GenMessage<Catalog> = /*@__PURE__*/
203
+ messageDesc(file_v1_plugin, 3);
204
+
205
+ /**
206
+ * @generated from message gestalt.provider.v1.ConnectionParamDef
207
+ */
208
+ export type ConnectionParamDef = Message<"gestalt.provider.v1.ConnectionParamDef"> & {
209
+ /**
210
+ * @generated from field: bool required = 1;
211
+ */
212
+ required: boolean;
213
+
214
+ /**
215
+ * @generated from field: string description = 2;
216
+ */
217
+ description: string;
218
+
219
+ /**
220
+ * @generated from field: string default_value = 3;
221
+ */
222
+ defaultValue: string;
223
+
224
+ /**
225
+ * @generated from field: string from = 4;
226
+ */
227
+ from: string;
228
+
229
+ /**
230
+ * @generated from field: string field = 5;
231
+ */
232
+ field: string;
233
+ };
234
+
235
+ /**
236
+ * Describes the message gestalt.provider.v1.ConnectionParamDef.
237
+ * Use `create(ConnectionParamDefSchema)` to create a new message.
238
+ */
239
+ export const ConnectionParamDefSchema: GenMessage<ConnectionParamDef> = /*@__PURE__*/
240
+ messageDesc(file_v1_plugin, 4);
241
+
242
+ /**
243
+ * @generated from message gestalt.provider.v1.ProviderMetadata
244
+ */
245
+ export type ProviderMetadata = Message<"gestalt.provider.v1.ProviderMetadata"> & {
246
+ /**
247
+ * @generated from field: string name = 1;
248
+ */
249
+ name: string;
250
+
251
+ /**
252
+ * @generated from field: string display_name = 2;
253
+ */
254
+ displayName: string;
255
+
256
+ /**
257
+ * @generated from field: string description = 3;
258
+ */
259
+ description: string;
260
+
261
+ /**
262
+ * @generated from field: gestalt.provider.v1.ConnectionMode connection_mode = 4;
263
+ */
264
+ connectionMode: ConnectionMode;
265
+
266
+ /**
267
+ * @generated from field: repeated string auth_types = 5;
268
+ */
269
+ authTypes: string[];
270
+
271
+ /**
272
+ * @generated from field: map<string, gestalt.provider.v1.ConnectionParamDef> connection_params = 6;
273
+ */
274
+ connectionParams: { [key: string]: ConnectionParamDef };
275
+
276
+ /**
277
+ * @generated from field: gestalt.provider.v1.Catalog static_catalog = 7;
278
+ */
279
+ staticCatalog?: Catalog;
280
+
281
+ /**
282
+ * @generated from field: bool supports_session_catalog = 8;
283
+ */
284
+ supportsSessionCatalog: boolean;
285
+
286
+ /**
287
+ * @generated from field: bool supports_post_connect = 9;
288
+ */
289
+ supportsPostConnect: boolean;
290
+
291
+ /**
292
+ * @generated from field: int32 min_protocol_version = 11;
293
+ */
294
+ minProtocolVersion: number;
295
+
296
+ /**
297
+ * @generated from field: int32 max_protocol_version = 12;
298
+ */
299
+ maxProtocolVersion: number;
300
+ };
301
+
302
+ /**
303
+ * Describes the message gestalt.provider.v1.ProviderMetadata.
304
+ * Use `create(ProviderMetadataSchema)` to create a new message.
305
+ */
306
+ export const ProviderMetadataSchema: GenMessage<ProviderMetadata> = /*@__PURE__*/
307
+ messageDesc(file_v1_plugin, 5);
308
+
309
+ /**
310
+ * @generated from message gestalt.provider.v1.OperationResult
311
+ */
312
+ export type OperationResult = Message<"gestalt.provider.v1.OperationResult"> & {
313
+ /**
314
+ * @generated from field: int32 status = 1;
315
+ */
316
+ status: number;
317
+
318
+ /**
319
+ * @generated from field: string body = 2;
320
+ */
321
+ body: string;
322
+ };
323
+
324
+ /**
325
+ * Describes the message gestalt.provider.v1.OperationResult.
326
+ * Use `create(OperationResultSchema)` to create a new message.
327
+ */
328
+ export const OperationResultSchema: GenMessage<OperationResult> = /*@__PURE__*/
329
+ messageDesc(file_v1_plugin, 6);
330
+
331
+ /**
332
+ * @generated from message gestalt.provider.v1.IntegrationToken
333
+ */
334
+ export type IntegrationToken = Message<"gestalt.provider.v1.IntegrationToken"> & {
335
+ /**
336
+ * @generated from field: string id = 1;
337
+ */
338
+ id: string;
339
+
340
+ /**
341
+ * @generated from field: string user_id = 2;
342
+ */
343
+ userId: string;
344
+
345
+ /**
346
+ * @generated from field: string integration = 3;
347
+ */
348
+ integration: string;
349
+
350
+ /**
351
+ * @generated from field: string instance = 4;
352
+ */
353
+ instance: string;
354
+
355
+ /**
356
+ * @generated from field: string access_token = 5;
357
+ */
358
+ accessToken: string;
359
+
360
+ /**
361
+ * @generated from field: string refresh_token = 6;
362
+ */
363
+ refreshToken: string;
364
+
365
+ /**
366
+ * @generated from field: string scopes = 7;
367
+ */
368
+ scopes: string;
369
+
370
+ /**
371
+ * @generated from field: google.protobuf.Timestamp expires_at = 8;
372
+ */
373
+ expiresAt?: Timestamp;
374
+
375
+ /**
376
+ * @generated from field: google.protobuf.Timestamp last_refreshed_at = 9;
377
+ */
378
+ lastRefreshedAt?: Timestamp;
379
+
380
+ /**
381
+ * @generated from field: int32 refresh_error_count = 10;
382
+ */
383
+ refreshErrorCount: number;
384
+
385
+ /**
386
+ * @generated from field: string metadata_json = 11;
387
+ */
388
+ metadataJson: string;
389
+
390
+ /**
391
+ * @generated from field: google.protobuf.Timestamp created_at = 12;
392
+ */
393
+ createdAt?: Timestamp;
394
+
395
+ /**
396
+ * @generated from field: google.protobuf.Timestamp updated_at = 13;
397
+ */
398
+ updatedAt?: Timestamp;
399
+ };
400
+
401
+ /**
402
+ * Describes the message gestalt.provider.v1.IntegrationToken.
403
+ * Use `create(IntegrationTokenSchema)` to create a new message.
404
+ */
405
+ export const IntegrationTokenSchema: GenMessage<IntegrationToken> = /*@__PURE__*/
406
+ messageDesc(file_v1_plugin, 7);
407
+
408
+ /**
409
+ * @generated from message gestalt.provider.v1.SubjectContext
410
+ */
411
+ export type SubjectContext = Message<"gestalt.provider.v1.SubjectContext"> & {
412
+ /**
413
+ * @generated from field: string id = 1;
414
+ */
415
+ id: string;
416
+
417
+ /**
418
+ * @generated from field: string kind = 2;
419
+ */
420
+ kind: string;
421
+
422
+ /**
423
+ * @generated from field: string display_name = 3;
424
+ */
425
+ displayName: string;
426
+
427
+ /**
428
+ * @generated from field: string auth_source = 4;
429
+ */
430
+ authSource: string;
431
+ };
432
+
433
+ /**
434
+ * Describes the message gestalt.provider.v1.SubjectContext.
435
+ * Use `create(SubjectContextSchema)` to create a new message.
436
+ */
437
+ export const SubjectContextSchema: GenMessage<SubjectContext> = /*@__PURE__*/
438
+ messageDesc(file_v1_plugin, 8);
439
+
440
+ /**
441
+ * @generated from message gestalt.provider.v1.CredentialContext
442
+ */
443
+ export type CredentialContext = Message<"gestalt.provider.v1.CredentialContext"> & {
444
+ /**
445
+ * @generated from field: string mode = 1;
446
+ */
447
+ mode: string;
448
+
449
+ /**
450
+ * @generated from field: string subject_id = 2;
451
+ */
452
+ subjectId: string;
453
+
454
+ /**
455
+ * @generated from field: string connection = 3;
456
+ */
457
+ connection: string;
458
+
459
+ /**
460
+ * @generated from field: string instance = 4;
461
+ */
462
+ instance: string;
463
+ };
464
+
465
+ /**
466
+ * Describes the message gestalt.provider.v1.CredentialContext.
467
+ * Use `create(CredentialContextSchema)` to create a new message.
468
+ */
469
+ export const CredentialContextSchema: GenMessage<CredentialContext> = /*@__PURE__*/
470
+ messageDesc(file_v1_plugin, 9);
471
+
472
+ /**
473
+ * @generated from message gestalt.provider.v1.AccessContext
474
+ */
475
+ export type AccessContext = Message<"gestalt.provider.v1.AccessContext"> & {
476
+ /**
477
+ * @generated from field: string policy = 1;
478
+ */
479
+ policy: string;
480
+
481
+ /**
482
+ * @generated from field: string role = 2;
483
+ */
484
+ role: string;
485
+ };
486
+
487
+ /**
488
+ * Describes the message gestalt.provider.v1.AccessContext.
489
+ * Use `create(AccessContextSchema)` to create a new message.
490
+ */
491
+ export const AccessContextSchema: GenMessage<AccessContext> = /*@__PURE__*/
492
+ messageDesc(file_v1_plugin, 10);
493
+
494
+ /**
495
+ * @generated from message gestalt.provider.v1.RequestContext
496
+ */
497
+ export type RequestContext = Message<"gestalt.provider.v1.RequestContext"> & {
498
+ /**
499
+ * @generated from field: gestalt.provider.v1.SubjectContext subject = 1;
500
+ */
501
+ subject?: SubjectContext;
502
+
503
+ /**
504
+ * @generated from field: gestalt.provider.v1.CredentialContext credential = 2;
505
+ */
506
+ credential?: CredentialContext;
507
+
508
+ /**
509
+ * @generated from field: gestalt.provider.v1.AccessContext access = 3;
510
+ */
511
+ access?: AccessContext;
512
+ };
513
+
514
+ /**
515
+ * Describes the message gestalt.provider.v1.RequestContext.
516
+ * Use `create(RequestContextSchema)` to create a new message.
517
+ */
518
+ export const RequestContextSchema: GenMessage<RequestContext> = /*@__PURE__*/
519
+ messageDesc(file_v1_plugin, 11);
520
+
521
+ /**
522
+ * @generated from message gestalt.provider.v1.ExecuteRequest
523
+ */
524
+ export type ExecuteRequest = Message<"gestalt.provider.v1.ExecuteRequest"> & {
525
+ /**
526
+ * @generated from field: string operation = 1;
527
+ */
528
+ operation: string;
529
+
530
+ /**
531
+ * @generated from field: google.protobuf.Struct params = 2;
532
+ */
533
+ params?: JsonObject;
534
+
535
+ /**
536
+ * @generated from field: string token = 3;
537
+ */
538
+ token: string;
539
+
540
+ /**
541
+ * @generated from field: map<string, string> connection_params = 4;
542
+ */
543
+ connectionParams: { [key: string]: string };
544
+
545
+ /**
546
+ * @generated from field: string invocation_id = 5;
547
+ */
548
+ invocationId: string;
549
+
550
+ /**
551
+ * @generated from field: gestalt.provider.v1.RequestContext context = 6;
552
+ */
553
+ context?: RequestContext;
554
+ };
555
+
556
+ /**
557
+ * Describes the message gestalt.provider.v1.ExecuteRequest.
558
+ * Use `create(ExecuteRequestSchema)` to create a new message.
559
+ */
560
+ export const ExecuteRequestSchema: GenMessage<ExecuteRequest> = /*@__PURE__*/
561
+ messageDesc(file_v1_plugin, 12);
562
+
563
+ /**
564
+ * @generated from message gestalt.provider.v1.GetSessionCatalogRequest
565
+ */
566
+ export type GetSessionCatalogRequest = Message<"gestalt.provider.v1.GetSessionCatalogRequest"> & {
567
+ /**
568
+ * @generated from field: string token = 1;
569
+ */
570
+ token: string;
571
+
572
+ /**
573
+ * @generated from field: map<string, string> connection_params = 2;
574
+ */
575
+ connectionParams: { [key: string]: string };
576
+
577
+ /**
578
+ * @generated from field: string invocation_id = 3;
579
+ */
580
+ invocationId: string;
581
+
582
+ /**
583
+ * @generated from field: gestalt.provider.v1.RequestContext context = 4;
584
+ */
585
+ context?: RequestContext;
586
+ };
587
+
588
+ /**
589
+ * Describes the message gestalt.provider.v1.GetSessionCatalogRequest.
590
+ * Use `create(GetSessionCatalogRequestSchema)` to create a new message.
591
+ */
592
+ export const GetSessionCatalogRequestSchema: GenMessage<GetSessionCatalogRequest> = /*@__PURE__*/
593
+ messageDesc(file_v1_plugin, 13);
594
+
595
+ /**
596
+ * @generated from message gestalt.provider.v1.GetSessionCatalogResponse
597
+ */
598
+ export type GetSessionCatalogResponse = Message<"gestalt.provider.v1.GetSessionCatalogResponse"> & {
599
+ /**
600
+ * @generated from field: gestalt.provider.v1.Catalog catalog = 1;
601
+ */
602
+ catalog?: Catalog;
603
+ };
604
+
605
+ /**
606
+ * Describes the message gestalt.provider.v1.GetSessionCatalogResponse.
607
+ * Use `create(GetSessionCatalogResponseSchema)` to create a new message.
608
+ */
609
+ export const GetSessionCatalogResponseSchema: GenMessage<GetSessionCatalogResponse> = /*@__PURE__*/
610
+ messageDesc(file_v1_plugin, 14);
611
+
612
+ /**
613
+ * @generated from message gestalt.provider.v1.PostConnectRequest
614
+ */
615
+ export type PostConnectRequest = Message<"gestalt.provider.v1.PostConnectRequest"> & {
616
+ /**
617
+ * @generated from field: gestalt.provider.v1.IntegrationToken token = 1;
618
+ */
619
+ token?: IntegrationToken;
620
+ };
621
+
622
+ /**
623
+ * Describes the message gestalt.provider.v1.PostConnectRequest.
624
+ * Use `create(PostConnectRequestSchema)` to create a new message.
625
+ */
626
+ export const PostConnectRequestSchema: GenMessage<PostConnectRequest> = /*@__PURE__*/
627
+ messageDesc(file_v1_plugin, 15);
628
+
629
+ /**
630
+ * @generated from message gestalt.provider.v1.PostConnectResponse
631
+ */
632
+ export type PostConnectResponse = Message<"gestalt.provider.v1.PostConnectResponse"> & {
633
+ /**
634
+ * @generated from field: map<string, string> metadata = 1;
635
+ */
636
+ metadata: { [key: string]: string };
637
+ };
638
+
639
+ /**
640
+ * Describes the message gestalt.provider.v1.PostConnectResponse.
641
+ * Use `create(PostConnectResponseSchema)` to create a new message.
642
+ */
643
+ export const PostConnectResponseSchema: GenMessage<PostConnectResponse> = /*@__PURE__*/
644
+ messageDesc(file_v1_plugin, 16);
645
+
646
+ /**
647
+ * @generated from message gestalt.provider.v1.StartProviderRequest
648
+ */
649
+ export type StartProviderRequest = Message<"gestalt.provider.v1.StartProviderRequest"> & {
650
+ /**
651
+ * @generated from field: string name = 1;
652
+ */
653
+ name: string;
654
+
655
+ /**
656
+ * @generated from field: google.protobuf.Struct config = 2;
657
+ */
658
+ config?: JsonObject;
659
+
660
+ /**
661
+ * @generated from field: int32 protocol_version = 4;
662
+ */
663
+ protocolVersion: number;
664
+ };
665
+
666
+ /**
667
+ * Describes the message gestalt.provider.v1.StartProviderRequest.
668
+ * Use `create(StartProviderRequestSchema)` to create a new message.
669
+ */
670
+ export const StartProviderRequestSchema: GenMessage<StartProviderRequest> = /*@__PURE__*/
671
+ messageDesc(file_v1_plugin, 17);
672
+
673
+ /**
674
+ * @generated from message gestalt.provider.v1.StartProviderResponse
675
+ */
676
+ export type StartProviderResponse = Message<"gestalt.provider.v1.StartProviderResponse"> & {
677
+ /**
678
+ * @generated from field: int32 protocol_version = 1;
679
+ */
680
+ protocolVersion: number;
681
+ };
682
+
683
+ /**
684
+ * Describes the message gestalt.provider.v1.StartProviderResponse.
685
+ * Use `create(StartProviderResponseSchema)` to create a new message.
686
+ */
687
+ export const StartProviderResponseSchema: GenMessage<StartProviderResponse> = /*@__PURE__*/
688
+ messageDesc(file_v1_plugin, 18);
689
+
690
+ /**
691
+ * @generated from enum gestalt.provider.v1.ConnectionMode
692
+ */
693
+ export enum ConnectionMode {
694
+ /**
695
+ * @generated from enum value: CONNECTION_MODE_UNSPECIFIED = 0;
696
+ */
697
+ UNSPECIFIED = 0,
698
+
699
+ /**
700
+ * @generated from enum value: CONNECTION_MODE_NONE = 1;
701
+ */
702
+ NONE = 1,
703
+
704
+ /**
705
+ * @generated from enum value: CONNECTION_MODE_USER = 2;
706
+ */
707
+ USER = 2,
708
+
709
+ /**
710
+ * @generated from enum value: CONNECTION_MODE_IDENTITY = 3;
711
+ */
712
+ IDENTITY = 3,
713
+
714
+ /**
715
+ * @generated from enum value: CONNECTION_MODE_EITHER = 4;
716
+ */
717
+ EITHER = 4,
718
+ }
719
+
720
+ /**
721
+ * Describes the enum gestalt.provider.v1.ConnectionMode.
722
+ */
723
+ export const ConnectionModeSchema: GenEnum<ConnectionMode> = /*@__PURE__*/
724
+ enumDesc(file_v1_plugin, 0);
725
+
726
+ /**
727
+ * @generated from service gestalt.provider.v1.IntegrationProvider
728
+ */
729
+ export const IntegrationProvider: GenService<{
730
+ /**
731
+ * @generated from rpc gestalt.provider.v1.IntegrationProvider.GetMetadata
732
+ */
733
+ getMetadata: {
734
+ methodKind: "unary";
735
+ input: typeof EmptySchema;
736
+ output: typeof ProviderMetadataSchema;
737
+ },
738
+ /**
739
+ * @generated from rpc gestalt.provider.v1.IntegrationProvider.StartProvider
740
+ */
741
+ startProvider: {
742
+ methodKind: "unary";
743
+ input: typeof StartProviderRequestSchema;
744
+ output: typeof StartProviderResponseSchema;
745
+ },
746
+ /**
747
+ * @generated from rpc gestalt.provider.v1.IntegrationProvider.Execute
748
+ */
749
+ execute: {
750
+ methodKind: "unary";
751
+ input: typeof ExecuteRequestSchema;
752
+ output: typeof OperationResultSchema;
753
+ },
754
+ /**
755
+ * @generated from rpc gestalt.provider.v1.IntegrationProvider.GetSessionCatalog
756
+ */
757
+ getSessionCatalog: {
758
+ methodKind: "unary";
759
+ input: typeof GetSessionCatalogRequestSchema;
760
+ output: typeof GetSessionCatalogResponseSchema;
761
+ },
762
+ /**
763
+ * @generated from rpc gestalt.provider.v1.IntegrationProvider.PostConnect
764
+ */
765
+ postConnect: {
766
+ methodKind: "unary";
767
+ input: typeof PostConnectRequestSchema;
768
+ output: typeof PostConnectResponseSchema;
769
+ },
770
+ }> = /*@__PURE__*/
771
+ serviceDesc(file_v1_plugin, 0);
772
+