@valon-technologies/gestalt 0.0.1-alpha.1 → 0.0.1-alpha.9
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/README.md +8 -26
- package/gen/v1/{auth_pb.ts → authentication_pb.ts} +51 -17
- package/gen/v1/authorization_pb.ts +857 -0
- package/gen/v1/cache_pb.ts +32 -0
- package/gen/v1/datastore_pb.ts +62 -0
- package/gen/v1/plugin_pb.ts +216 -18
- package/gen/v1/runtime_pb.ts +27 -3
- package/gen/v1/s3_pb.ts +39 -0
- package/gen/v1/secrets_pb.ts +6 -0
- package/gen/v1/workflow_pb.ts +1372 -0
- package/package.json +12 -10
- package/src/api.ts +56 -0
- package/src/auth.ts +67 -16
- package/src/build.ts +37 -21
- package/src/cache.ts +32 -0
- package/src/catalog.ts +27 -0
- package/src/index.ts +87 -18
- package/src/indexeddb.ts +166 -0
- package/src/invoker.ts +124 -0
- package/src/plugin.ts +93 -38
- package/src/provider-kind.ts +107 -0
- package/src/provider.ts +32 -1
- package/src/runtime.ts +233 -218
- package/src/s3.ts +135 -20
- package/src/schema.ts +46 -0
- package/src/secrets.ts +12 -0
- package/src/target.ts +58 -60
- package/src/workflow-manager.ts +131 -0
- package/src/workflow.ts +479 -0
- package/tsconfig.json +1 -0
package/gen/v1/plugin_pb.ts
CHANGED
|
@@ -12,9 +12,12 @@ import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
|
12
12
|
* Describes the file v1/plugin.proto.
|
|
13
13
|
*/
|
|
14
14
|
export const file_v1_plugin: GenFile = /*@__PURE__*/
|
|
15
|
-
fileDesc("
|
|
15
|
+
fileDesc("Cg92MS9wbHVnaW4ucHJvdG8SE2dlc3RhbHQucHJvdmlkZXIudjEifgoQQ2F0YWxvZ1BhcmFtZXRlchIMCgRuYW1lGAEgASgJEgwKBHR5cGUYAiABKAkSEwoLZGVzY3JpcHRpb24YAyABKAkSEAoIcmVxdWlyZWQYBCABKAgSJwoHZGVm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YWxvbi10ZWNobm9sb2dpZXMvZ2VzdGFsdC9zZGsvZ28vZ2VuL3YxO3Byb3RvYgZwcm90bzM", [file_google_protobuf_empty, file_google_protobuf_struct, file_google_protobuf_timestamp]);
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
+
* CatalogParameter describes one input parameter surfaced in the generated
|
|
19
|
+
* catalog for an operation.
|
|
20
|
+
*
|
|
18
21
|
* @generated from message gestalt.provider.v1.CatalogParameter
|
|
19
22
|
*/
|
|
20
23
|
export type CatalogParameter = Message<"gestalt.provider.v1.CatalogParameter"> & {
|
|
@@ -52,6 +55,9 @@ export const CatalogParameterSchema: GenMessage<CatalogParameter> = /*@__PURE__*
|
|
|
52
55
|
messageDesc(file_v1_plugin, 0);
|
|
53
56
|
|
|
54
57
|
/**
|
|
58
|
+
* OperationAnnotations carries optional host hints about how an operation
|
|
59
|
+
* behaves.
|
|
60
|
+
*
|
|
55
61
|
* @generated from message gestalt.provider.v1.OperationAnnotations
|
|
56
62
|
*/
|
|
57
63
|
export type OperationAnnotations = Message<"gestalt.provider.v1.OperationAnnotations"> & {
|
|
@@ -84,6 +90,9 @@ export const OperationAnnotationsSchema: GenMessage<OperationAnnotations> = /*@_
|
|
|
84
90
|
messageDesc(file_v1_plugin, 1);
|
|
85
91
|
|
|
86
92
|
/**
|
|
93
|
+
* CatalogOperation is one executable operation exposed by an integration
|
|
94
|
+
* provider.
|
|
95
|
+
*
|
|
87
96
|
* @generated from message gestalt.provider.v1.CatalogOperation
|
|
88
97
|
*/
|
|
89
98
|
export type CatalogOperation = Message<"gestalt.provider.v1.CatalogOperation"> & {
|
|
@@ -166,6 +175,9 @@ export const CatalogOperationSchema: GenMessage<CatalogOperation> = /*@__PURE__*
|
|
|
166
175
|
messageDesc(file_v1_plugin, 2);
|
|
167
176
|
|
|
168
177
|
/**
|
|
178
|
+
* Catalog is the static or request-scoped executable surface exposed by a
|
|
179
|
+
* provider.
|
|
180
|
+
*
|
|
169
181
|
* @generated from message gestalt.provider.v1.Catalog
|
|
170
182
|
*/
|
|
171
183
|
export type Catalog = Message<"gestalt.provider.v1.Catalog"> & {
|
|
@@ -203,6 +215,8 @@ export const CatalogSchema: GenMessage<Catalog> = /*@__PURE__*/
|
|
|
203
215
|
messageDesc(file_v1_plugin, 3);
|
|
204
216
|
|
|
205
217
|
/**
|
|
218
|
+
* ConnectionParamDef describes one provider-defined connection parameter.
|
|
219
|
+
*
|
|
206
220
|
* @generated from message gestalt.provider.v1.ConnectionParamDef
|
|
207
221
|
*/
|
|
208
222
|
export type ConnectionParamDef = Message<"gestalt.provider.v1.ConnectionParamDef"> & {
|
|
@@ -240,6 +254,8 @@ export const ConnectionParamDefSchema: GenMessage<ConnectionParamDef> = /*@__PUR
|
|
|
240
254
|
messageDesc(file_v1_plugin, 4);
|
|
241
255
|
|
|
242
256
|
/**
|
|
257
|
+
* ProviderMetadata describes an integration provider's static capabilities.
|
|
258
|
+
*
|
|
243
259
|
* @generated from message gestalt.provider.v1.ProviderMetadata
|
|
244
260
|
*/
|
|
245
261
|
export type ProviderMetadata = Message<"gestalt.provider.v1.ProviderMetadata"> & {
|
|
@@ -307,6 +323,8 @@ export const ProviderMetadataSchema: GenMessage<ProviderMetadata> = /*@__PURE__*
|
|
|
307
323
|
messageDesc(file_v1_plugin, 5);
|
|
308
324
|
|
|
309
325
|
/**
|
|
326
|
+
* OperationResult is the serialized result returned from an Execute call.
|
|
327
|
+
*
|
|
310
328
|
* @generated from message gestalt.provider.v1.OperationResult
|
|
311
329
|
*/
|
|
312
330
|
export type OperationResult = Message<"gestalt.provider.v1.OperationResult"> & {
|
|
@@ -329,6 +347,128 @@ export const OperationResultSchema: GenMessage<OperationResult> = /*@__PURE__*/
|
|
|
329
347
|
messageDesc(file_v1_plugin, 6);
|
|
330
348
|
|
|
331
349
|
/**
|
|
350
|
+
* PluginInvocationGrant describes one plugin operation grant minted into an
|
|
351
|
+
* exchanged invocation token.
|
|
352
|
+
*
|
|
353
|
+
* @generated from message gestalt.provider.v1.PluginInvocationGrant
|
|
354
|
+
*/
|
|
355
|
+
export type PluginInvocationGrant = Message<"gestalt.provider.v1.PluginInvocationGrant"> & {
|
|
356
|
+
/**
|
|
357
|
+
* @generated from field: string plugin = 1;
|
|
358
|
+
*/
|
|
359
|
+
plugin: string;
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* @generated from field: repeated string operations = 2;
|
|
363
|
+
*/
|
|
364
|
+
operations: string[];
|
|
365
|
+
};
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* Describes the message gestalt.provider.v1.PluginInvocationGrant.
|
|
369
|
+
* Use `create(PluginInvocationGrantSchema)` to create a new message.
|
|
370
|
+
*/
|
|
371
|
+
export const PluginInvocationGrantSchema: GenMessage<PluginInvocationGrant> = /*@__PURE__*/
|
|
372
|
+
messageDesc(file_v1_plugin, 7);
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* ExchangeInvocationTokenRequest narrows an existing invocation token to a
|
|
376
|
+
* child token that carries only the requested plugin grants.
|
|
377
|
+
*
|
|
378
|
+
* @generated from message gestalt.provider.v1.ExchangeInvocationTokenRequest
|
|
379
|
+
*/
|
|
380
|
+
export type ExchangeInvocationTokenRequest = Message<"gestalt.provider.v1.ExchangeInvocationTokenRequest"> & {
|
|
381
|
+
/**
|
|
382
|
+
* @generated from field: string parent_invocation_token = 1;
|
|
383
|
+
*/
|
|
384
|
+
parentInvocationToken: string;
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* @generated from field: repeated gestalt.provider.v1.PluginInvocationGrant grants = 2;
|
|
388
|
+
*/
|
|
389
|
+
grants: PluginInvocationGrant[];
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* @generated from field: int64 ttl_seconds = 3;
|
|
393
|
+
*/
|
|
394
|
+
ttlSeconds: bigint;
|
|
395
|
+
};
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* Describes the message gestalt.provider.v1.ExchangeInvocationTokenRequest.
|
|
399
|
+
* Use `create(ExchangeInvocationTokenRequestSchema)` to create a new message.
|
|
400
|
+
*/
|
|
401
|
+
export const ExchangeInvocationTokenRequestSchema: GenMessage<ExchangeInvocationTokenRequest> = /*@__PURE__*/
|
|
402
|
+
messageDesc(file_v1_plugin, 8);
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* ExchangeInvocationTokenResponse returns the child invocation token.
|
|
406
|
+
*
|
|
407
|
+
* @generated from message gestalt.provider.v1.ExchangeInvocationTokenResponse
|
|
408
|
+
*/
|
|
409
|
+
export type ExchangeInvocationTokenResponse = Message<"gestalt.provider.v1.ExchangeInvocationTokenResponse"> & {
|
|
410
|
+
/**
|
|
411
|
+
* @generated from field: string invocation_token = 1;
|
|
412
|
+
*/
|
|
413
|
+
invocationToken: string;
|
|
414
|
+
};
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* Describes the message gestalt.provider.v1.ExchangeInvocationTokenResponse.
|
|
418
|
+
* Use `create(ExchangeInvocationTokenResponseSchema)` to create a new message.
|
|
419
|
+
*/
|
|
420
|
+
export const ExchangeInvocationTokenResponseSchema: GenMessage<ExchangeInvocationTokenResponse> = /*@__PURE__*/
|
|
421
|
+
messageDesc(file_v1_plugin, 9);
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* PluginInvokeRequest invokes a declared operation on another plugin through
|
|
425
|
+
* the host-side invoker service.
|
|
426
|
+
*
|
|
427
|
+
* @generated from message gestalt.provider.v1.PluginInvokeRequest
|
|
428
|
+
*/
|
|
429
|
+
export type PluginInvokeRequest = Message<"gestalt.provider.v1.PluginInvokeRequest"> & {
|
|
430
|
+
/**
|
|
431
|
+
* @generated from field: string plugin = 2;
|
|
432
|
+
*/
|
|
433
|
+
plugin: string;
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* @generated from field: string operation = 3;
|
|
437
|
+
*/
|
|
438
|
+
operation: string;
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* @generated from field: google.protobuf.Struct params = 4;
|
|
442
|
+
*/
|
|
443
|
+
params?: JsonObject;
|
|
444
|
+
|
|
445
|
+
/**
|
|
446
|
+
* @generated from field: string connection = 5;
|
|
447
|
+
*/
|
|
448
|
+
connection: string;
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* @generated from field: string instance = 6;
|
|
452
|
+
*/
|
|
453
|
+
instance: string;
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* @generated from field: string invocation_token = 7;
|
|
457
|
+
*/
|
|
458
|
+
invocationToken: string;
|
|
459
|
+
};
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* Describes the message gestalt.provider.v1.PluginInvokeRequest.
|
|
463
|
+
* Use `create(PluginInvokeRequestSchema)` to create a new message.
|
|
464
|
+
*/
|
|
465
|
+
export const PluginInvokeRequestSchema: GenMessage<PluginInvokeRequest> = /*@__PURE__*/
|
|
466
|
+
messageDesc(file_v1_plugin, 10);
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* IntegrationToken is the host-managed token payload passed into post-connect
|
|
470
|
+
* hooks.
|
|
471
|
+
*
|
|
332
472
|
* @generated from message gestalt.provider.v1.IntegrationToken
|
|
333
473
|
*/
|
|
334
474
|
export type IntegrationToken = Message<"gestalt.provider.v1.IntegrationToken"> & {
|
|
@@ -403,9 +543,11 @@ export type IntegrationToken = Message<"gestalt.provider.v1.IntegrationToken"> &
|
|
|
403
543
|
* Use `create(IntegrationTokenSchema)` to create a new message.
|
|
404
544
|
*/
|
|
405
545
|
export const IntegrationTokenSchema: GenMessage<IntegrationToken> = /*@__PURE__*/
|
|
406
|
-
messageDesc(file_v1_plugin,
|
|
546
|
+
messageDesc(file_v1_plugin, 11);
|
|
407
547
|
|
|
408
548
|
/**
|
|
549
|
+
* SubjectContext identifies the caller that initiated an operation.
|
|
550
|
+
*
|
|
409
551
|
* @generated from message gestalt.provider.v1.SubjectContext
|
|
410
552
|
*/
|
|
411
553
|
export type SubjectContext = Message<"gestalt.provider.v1.SubjectContext"> & {
|
|
@@ -435,9 +577,11 @@ export type SubjectContext = Message<"gestalt.provider.v1.SubjectContext"> & {
|
|
|
435
577
|
* Use `create(SubjectContextSchema)` to create a new message.
|
|
436
578
|
*/
|
|
437
579
|
export const SubjectContextSchema: GenMessage<SubjectContext> = /*@__PURE__*/
|
|
438
|
-
messageDesc(file_v1_plugin,
|
|
580
|
+
messageDesc(file_v1_plugin, 12);
|
|
439
581
|
|
|
440
582
|
/**
|
|
583
|
+
* CredentialContext describes the resolved credential used for an operation.
|
|
584
|
+
*
|
|
441
585
|
* @generated from message gestalt.provider.v1.CredentialContext
|
|
442
586
|
*/
|
|
443
587
|
export type CredentialContext = Message<"gestalt.provider.v1.CredentialContext"> & {
|
|
@@ -467,9 +611,11 @@ export type CredentialContext = Message<"gestalt.provider.v1.CredentialContext">
|
|
|
467
611
|
* Use `create(CredentialContextSchema)` to create a new message.
|
|
468
612
|
*/
|
|
469
613
|
export const CredentialContextSchema: GenMessage<CredentialContext> = /*@__PURE__*/
|
|
470
|
-
messageDesc(file_v1_plugin,
|
|
614
|
+
messageDesc(file_v1_plugin, 13);
|
|
471
615
|
|
|
472
616
|
/**
|
|
617
|
+
* AccessContext describes the host-side access decision for an operation.
|
|
618
|
+
*
|
|
473
619
|
* @generated from message gestalt.provider.v1.AccessContext
|
|
474
620
|
*/
|
|
475
621
|
export type AccessContext = Message<"gestalt.provider.v1.AccessContext"> & {
|
|
@@ -489,9 +635,12 @@ export type AccessContext = Message<"gestalt.provider.v1.AccessContext"> & {
|
|
|
489
635
|
* Use `create(AccessContextSchema)` to create a new message.
|
|
490
636
|
*/
|
|
491
637
|
export const AccessContextSchema: GenMessage<AccessContext> = /*@__PURE__*/
|
|
492
|
-
messageDesc(file_v1_plugin,
|
|
638
|
+
messageDesc(file_v1_plugin, 14);
|
|
493
639
|
|
|
494
640
|
/**
|
|
641
|
+
* RequestContext bundles the caller, credential, and access metadata for one
|
|
642
|
+
* operation.
|
|
643
|
+
*
|
|
495
644
|
* @generated from message gestalt.provider.v1.RequestContext
|
|
496
645
|
*/
|
|
497
646
|
export type RequestContext = Message<"gestalt.provider.v1.RequestContext"> & {
|
|
@@ -509,6 +658,11 @@ export type RequestContext = Message<"gestalt.provider.v1.RequestContext"> & {
|
|
|
509
658
|
* @generated from field: gestalt.provider.v1.AccessContext access = 3;
|
|
510
659
|
*/
|
|
511
660
|
access?: AccessContext;
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* @generated from field: google.protobuf.Struct workflow = 4;
|
|
664
|
+
*/
|
|
665
|
+
workflow?: JsonObject;
|
|
512
666
|
};
|
|
513
667
|
|
|
514
668
|
/**
|
|
@@ -516,9 +670,11 @@ export type RequestContext = Message<"gestalt.provider.v1.RequestContext"> & {
|
|
|
516
670
|
* Use `create(RequestContextSchema)` to create a new message.
|
|
517
671
|
*/
|
|
518
672
|
export const RequestContextSchema: GenMessage<RequestContext> = /*@__PURE__*/
|
|
519
|
-
messageDesc(file_v1_plugin,
|
|
673
|
+
messageDesc(file_v1_plugin, 15);
|
|
520
674
|
|
|
521
675
|
/**
|
|
676
|
+
* ExecuteRequest invokes one executable operation.
|
|
677
|
+
*
|
|
522
678
|
* @generated from message gestalt.provider.v1.ExecuteRequest
|
|
523
679
|
*/
|
|
524
680
|
export type ExecuteRequest = Message<"gestalt.provider.v1.ExecuteRequest"> & {
|
|
@@ -551,6 +707,11 @@ export type ExecuteRequest = Message<"gestalt.provider.v1.ExecuteRequest"> & {
|
|
|
551
707
|
* @generated from field: gestalt.provider.v1.RequestContext context = 6;
|
|
552
708
|
*/
|
|
553
709
|
context?: RequestContext;
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* @generated from field: string invocation_token = 8;
|
|
713
|
+
*/
|
|
714
|
+
invocationToken: string;
|
|
554
715
|
};
|
|
555
716
|
|
|
556
717
|
/**
|
|
@@ -558,9 +719,12 @@ export type ExecuteRequest = Message<"gestalt.provider.v1.ExecuteRequest"> & {
|
|
|
558
719
|
* Use `create(ExecuteRequestSchema)` to create a new message.
|
|
559
720
|
*/
|
|
560
721
|
export const ExecuteRequestSchema: GenMessage<ExecuteRequest> = /*@__PURE__*/
|
|
561
|
-
messageDesc(file_v1_plugin,
|
|
722
|
+
messageDesc(file_v1_plugin, 16);
|
|
562
723
|
|
|
563
724
|
/**
|
|
725
|
+
* GetSessionCatalogRequest asks a provider for request-scoped catalog
|
|
726
|
+
* extensions.
|
|
727
|
+
*
|
|
564
728
|
* @generated from message gestalt.provider.v1.GetSessionCatalogRequest
|
|
565
729
|
*/
|
|
566
730
|
export type GetSessionCatalogRequest = Message<"gestalt.provider.v1.GetSessionCatalogRequest"> & {
|
|
@@ -590,9 +754,11 @@ export type GetSessionCatalogRequest = Message<"gestalt.provider.v1.GetSessionCa
|
|
|
590
754
|
* Use `create(GetSessionCatalogRequestSchema)` to create a new message.
|
|
591
755
|
*/
|
|
592
756
|
export const GetSessionCatalogRequestSchema: GenMessage<GetSessionCatalogRequest> = /*@__PURE__*/
|
|
593
|
-
messageDesc(file_v1_plugin,
|
|
757
|
+
messageDesc(file_v1_plugin, 17);
|
|
594
758
|
|
|
595
759
|
/**
|
|
760
|
+
* GetSessionCatalogResponse returns request-scoped catalog extensions.
|
|
761
|
+
*
|
|
596
762
|
* @generated from message gestalt.provider.v1.GetSessionCatalogResponse
|
|
597
763
|
*/
|
|
598
764
|
export type GetSessionCatalogResponse = Message<"gestalt.provider.v1.GetSessionCatalogResponse"> & {
|
|
@@ -607,9 +773,11 @@ export type GetSessionCatalogResponse = Message<"gestalt.provider.v1.GetSessionC
|
|
|
607
773
|
* Use `create(GetSessionCatalogResponseSchema)` to create a new message.
|
|
608
774
|
*/
|
|
609
775
|
export const GetSessionCatalogResponseSchema: GenMessage<GetSessionCatalogResponse> = /*@__PURE__*/
|
|
610
|
-
messageDesc(file_v1_plugin,
|
|
776
|
+
messageDesc(file_v1_plugin, 18);
|
|
611
777
|
|
|
612
778
|
/**
|
|
779
|
+
* PostConnectRequest notifies a provider that a connection has completed.
|
|
780
|
+
*
|
|
613
781
|
* @generated from message gestalt.provider.v1.PostConnectRequest
|
|
614
782
|
*/
|
|
615
783
|
export type PostConnectRequest = Message<"gestalt.provider.v1.PostConnectRequest"> & {
|
|
@@ -624,9 +792,12 @@ export type PostConnectRequest = Message<"gestalt.provider.v1.PostConnectRequest
|
|
|
624
792
|
* Use `create(PostConnectRequestSchema)` to create a new message.
|
|
625
793
|
*/
|
|
626
794
|
export const PostConnectRequestSchema: GenMessage<PostConnectRequest> = /*@__PURE__*/
|
|
627
|
-
messageDesc(file_v1_plugin,
|
|
795
|
+
messageDesc(file_v1_plugin, 19);
|
|
628
796
|
|
|
629
797
|
/**
|
|
798
|
+
* PostConnectResponse returns provider-defined metadata captured after
|
|
799
|
+
* connection.
|
|
800
|
+
*
|
|
630
801
|
* @generated from message gestalt.provider.v1.PostConnectResponse
|
|
631
802
|
*/
|
|
632
803
|
export type PostConnectResponse = Message<"gestalt.provider.v1.PostConnectResponse"> & {
|
|
@@ -641,9 +812,12 @@ export type PostConnectResponse = Message<"gestalt.provider.v1.PostConnectRespon
|
|
|
641
812
|
* Use `create(PostConnectResponseSchema)` to create a new message.
|
|
642
813
|
*/
|
|
643
814
|
export const PostConnectResponseSchema: GenMessage<PostConnectResponse> = /*@__PURE__*/
|
|
644
|
-
messageDesc(file_v1_plugin,
|
|
815
|
+
messageDesc(file_v1_plugin, 20);
|
|
645
816
|
|
|
646
817
|
/**
|
|
818
|
+
* StartProviderRequest configures an integration provider for one runtime
|
|
819
|
+
* session.
|
|
820
|
+
*
|
|
647
821
|
* @generated from message gestalt.provider.v1.StartProviderRequest
|
|
648
822
|
*/
|
|
649
823
|
export type StartProviderRequest = Message<"gestalt.provider.v1.StartProviderRequest"> & {
|
|
@@ -668,9 +842,11 @@ export type StartProviderRequest = Message<"gestalt.provider.v1.StartProviderReq
|
|
|
668
842
|
* Use `create(StartProviderRequestSchema)` to create a new message.
|
|
669
843
|
*/
|
|
670
844
|
export const StartProviderRequestSchema: GenMessage<StartProviderRequest> = /*@__PURE__*/
|
|
671
|
-
messageDesc(file_v1_plugin,
|
|
845
|
+
messageDesc(file_v1_plugin, 21);
|
|
672
846
|
|
|
673
847
|
/**
|
|
848
|
+
* StartProviderResponse confirms the protocol version the provider is serving.
|
|
849
|
+
*
|
|
674
850
|
* @generated from message gestalt.provider.v1.StartProviderResponse
|
|
675
851
|
*/
|
|
676
852
|
export type StartProviderResponse = Message<"gestalt.provider.v1.StartProviderResponse"> & {
|
|
@@ -685,9 +861,11 @@ export type StartProviderResponse = Message<"gestalt.provider.v1.StartProviderRe
|
|
|
685
861
|
* Use `create(StartProviderResponseSchema)` to create a new message.
|
|
686
862
|
*/
|
|
687
863
|
export const StartProviderResponseSchema: GenMessage<StartProviderResponse> = /*@__PURE__*/
|
|
688
|
-
messageDesc(file_v1_plugin,
|
|
864
|
+
messageDesc(file_v1_plugin, 22);
|
|
689
865
|
|
|
690
866
|
/**
|
|
867
|
+
* ConnectionMode describes which credential sources a provider accepts.
|
|
868
|
+
*
|
|
691
869
|
* @generated from enum gestalt.provider.v1.ConnectionMode
|
|
692
870
|
*/
|
|
693
871
|
export enum ConnectionMode {
|
|
@@ -710,11 +888,6 @@ export enum ConnectionMode {
|
|
|
710
888
|
* @generated from enum value: CONNECTION_MODE_IDENTITY = 3;
|
|
711
889
|
*/
|
|
712
890
|
IDENTITY = 3,
|
|
713
|
-
|
|
714
|
-
/**
|
|
715
|
-
* @generated from enum value: CONNECTION_MODE_EITHER = 4;
|
|
716
|
-
*/
|
|
717
|
-
EITHER = 4,
|
|
718
891
|
}
|
|
719
892
|
|
|
720
893
|
/**
|
|
@@ -724,6 +897,8 @@ export const ConnectionModeSchema: GenEnum<ConnectionMode> = /*@__PURE__*/
|
|
|
724
897
|
enumDesc(file_v1_plugin, 0);
|
|
725
898
|
|
|
726
899
|
/**
|
|
900
|
+
* IntegrationProvider models the shared Gestalt integration-provider protocol.
|
|
901
|
+
*
|
|
727
902
|
* @generated from service gestalt.provider.v1.IntegrationProvider
|
|
728
903
|
*/
|
|
729
904
|
export const IntegrationProvider: GenService<{
|
|
@@ -770,3 +945,26 @@ export const IntegrationProvider: GenService<{
|
|
|
770
945
|
}> = /*@__PURE__*/
|
|
771
946
|
serviceDesc(file_v1_plugin, 0);
|
|
772
947
|
|
|
948
|
+
/**
|
|
949
|
+
* @generated from service gestalt.provider.v1.PluginInvoker
|
|
950
|
+
*/
|
|
951
|
+
export const PluginInvoker: GenService<{
|
|
952
|
+
/**
|
|
953
|
+
* @generated from rpc gestalt.provider.v1.PluginInvoker.ExchangeInvocationToken
|
|
954
|
+
*/
|
|
955
|
+
exchangeInvocationToken: {
|
|
956
|
+
methodKind: "unary";
|
|
957
|
+
input: typeof ExchangeInvocationTokenRequestSchema;
|
|
958
|
+
output: typeof ExchangeInvocationTokenResponseSchema;
|
|
959
|
+
},
|
|
960
|
+
/**
|
|
961
|
+
* @generated from rpc gestalt.provider.v1.PluginInvoker.Invoke
|
|
962
|
+
*/
|
|
963
|
+
invoke: {
|
|
964
|
+
methodKind: "unary";
|
|
965
|
+
input: typeof PluginInvokeRequestSchema;
|
|
966
|
+
output: typeof OperationResultSchema;
|
|
967
|
+
},
|
|
968
|
+
}> = /*@__PURE__*/
|
|
969
|
+
serviceDesc(file_v1_plugin, 1);
|
|
970
|
+
|
package/gen/v1/runtime_pb.ts
CHANGED
|
@@ -12,9 +12,12 @@ import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
|
12
12
|
* Describes the file v1/runtime.proto.
|
|
13
13
|
*/
|
|
14
14
|
export const file_v1_runtime: GenFile = /*@__PURE__*/
|
|
15
|
-
fileDesc("
|
|
15
|
+
fileDesc("ChB2MS9ydW50aW1lLnByb3RvEhNnZXN0YWx0LnByb3ZpZGVyLnYxItsBChBQcm92aWRlcklkZW50aXR5Ei8KBGtpbmQYASABKA4yIS5nZXN0YWx0LnByb3ZpZGVyLnYxLlByb3ZpZGVyS2luZBIMCg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FsdC5wcm92aWRlci52MS5Db25maWd1cmVQcm92aWRlclJlcXVlc3QaLi5nZXN0YWx0LnByb3ZpZGVyLnYxLkNvbmZpZ3VyZVByb3ZpZGVyUmVzcG9uc2USTwoLSGVhbHRoQ2hlY2sSFi5nb29nbGUucHJvdG9idWYuRW1wdHkaKC5nZXN0YWx0LnByb3ZpZGVyLnYxLkhlYWx0aENoZWNrUmVzcG9uc2VCO1o5Z2l0aHViLmNvbS92YWxvbi10ZWNobm9sb2dpZXMvZ2VzdGFsdC9zZGsvZ28vZ2VuL3YxO3Byb3RvYgZwcm90bzM", [file_google_protobuf_empty, file_google_protobuf_struct]);
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
+
* ProviderIdentity describes a provider surface and the protocol versions it
|
|
19
|
+
* supports.
|
|
20
|
+
*
|
|
18
21
|
* @generated from message gestalt.provider.v1.ProviderIdentity
|
|
19
22
|
*/
|
|
20
23
|
export type ProviderIdentity = Message<"gestalt.provider.v1.ProviderIdentity"> & {
|
|
@@ -67,6 +70,9 @@ export const ProviderIdentitySchema: GenMessage<ProviderIdentity> = /*@__PURE__*
|
|
|
67
70
|
messageDesc(file_v1_runtime, 0);
|
|
68
71
|
|
|
69
72
|
/**
|
|
73
|
+
* ConfigureProviderRequest configures a non-integration provider for one
|
|
74
|
+
* runtime session.
|
|
75
|
+
*
|
|
70
76
|
* @generated from message gestalt.provider.v1.ConfigureProviderRequest
|
|
71
77
|
*/
|
|
72
78
|
export type ConfigureProviderRequest = Message<"gestalt.provider.v1.ConfigureProviderRequest"> & {
|
|
@@ -94,6 +100,9 @@ export const ConfigureProviderRequestSchema: GenMessage<ConfigureProviderRequest
|
|
|
94
100
|
messageDesc(file_v1_runtime, 1);
|
|
95
101
|
|
|
96
102
|
/**
|
|
103
|
+
* ConfigureProviderResponse confirms the protocol version the provider is
|
|
104
|
+
* serving.
|
|
105
|
+
*
|
|
97
106
|
* @generated from message gestalt.provider.v1.ConfigureProviderResponse
|
|
98
107
|
*/
|
|
99
108
|
export type ConfigureProviderResponse = Message<"gestalt.provider.v1.ConfigureProviderResponse"> & {
|
|
@@ -111,6 +120,8 @@ export const ConfigureProviderResponseSchema: GenMessage<ConfigureProviderRespon
|
|
|
111
120
|
messageDesc(file_v1_runtime, 2);
|
|
112
121
|
|
|
113
122
|
/**
|
|
123
|
+
* HealthCheckResponse reports runtime readiness for a provider surface.
|
|
124
|
+
*
|
|
114
125
|
* @generated from message gestalt.provider.v1.HealthCheckResponse
|
|
115
126
|
*/
|
|
116
127
|
export type HealthCheckResponse = Message<"gestalt.provider.v1.HealthCheckResponse"> & {
|
|
@@ -147,9 +158,9 @@ export enum ProviderKind {
|
|
|
147
158
|
INTEGRATION = 1,
|
|
148
159
|
|
|
149
160
|
/**
|
|
150
|
-
* @generated from enum value:
|
|
161
|
+
* @generated from enum value: PROVIDER_KIND_AUTHENTICATION = 2;
|
|
151
162
|
*/
|
|
152
|
-
|
|
163
|
+
AUTHENTICATION = 2,
|
|
153
164
|
|
|
154
165
|
/**
|
|
155
166
|
* @generated from enum value: PROVIDER_KIND_INDEXEDDB = 3;
|
|
@@ -175,6 +186,16 @@ export enum ProviderKind {
|
|
|
175
186
|
* @generated from enum value: PROVIDER_KIND_S3 = 7;
|
|
176
187
|
*/
|
|
177
188
|
S3 = 7,
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* @generated from enum value: PROVIDER_KIND_WORKFLOW = 8;
|
|
192
|
+
*/
|
|
193
|
+
WORKFLOW = 8,
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* @generated from enum value: PROVIDER_KIND_AUTHORIZATION = 9;
|
|
197
|
+
*/
|
|
198
|
+
AUTHORIZATION = 9,
|
|
178
199
|
}
|
|
179
200
|
|
|
180
201
|
/**
|
|
@@ -184,6 +205,9 @@ export const ProviderKindSchema: GenEnum<ProviderKind> = /*@__PURE__*/
|
|
|
184
205
|
enumDesc(file_v1_runtime, 0);
|
|
185
206
|
|
|
186
207
|
/**
|
|
208
|
+
* ProviderLifecycle is the common lifecycle protocol shared by every provider
|
|
209
|
+
* kind.
|
|
210
|
+
*
|
|
187
211
|
* @generated from service gestalt.provider.v1.ProviderLifecycle
|
|
188
212
|
*/
|
|
189
213
|
export const ProviderLifecycle: GenService<{
|