@eide/foir-proto-ts 0.3.9 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eide/foir-proto-ts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./analytics/v1/analytics_pb": "./src/analytics/v1/analytics_pb.js",
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"./identity/v1/identity_pb": "./src/identity/v1/identity_pb.js",
|
|
18
18
|
"./identity/v1/identity_connect": "./src/identity/v1/identity_connect.js",
|
|
19
19
|
"./integrations/v1/integrations_pb": "./src/integrations/v1/integrations_pb.js",
|
|
20
|
+
"./integrations/v1/integrations_connect": "./src/integrations/v1/integrations_connect.js",
|
|
20
21
|
"./models/v1/models_pb": "./src/models/v1/models_pb.js",
|
|
21
22
|
"./models/v1/models_connect": "./src/models/v1/models_connect.js",
|
|
22
23
|
"./notifications/v1/notifications_pb": "./src/notifications/v1/notifications_pb.js",
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.6.1 with parameter "import_extension=js"
|
|
2
|
+
// @generated from file integrations/v1/integrations.proto (package integrations.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { GetIntegrationCredentialRequest, GetIntegrationCredentialResponse, IssueExchangeTicketRequest, IssueExchangeTicketResponse, WriteIntegrationCredentialRequest, WriteIntegrationCredentialResponse } from "./integrations_pbjs";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service integrations.v1.IntegrationCredentialsService
|
|
11
|
+
*/
|
|
12
|
+
export declare const IntegrationCredentialsService: {
|
|
13
|
+
readonly typeName: "integrations.v1.IntegrationCredentialsService",
|
|
14
|
+
readonly methods: {
|
|
15
|
+
/**
|
|
16
|
+
* Return the plaintext credential for (project, integration). Requires
|
|
17
|
+
* the caller's capability set to include credentials:read for this
|
|
18
|
+
* integration. On success, updates last_read_at and emits an audit row.
|
|
19
|
+
*
|
|
20
|
+
* @generated from rpc integrations.v1.IntegrationCredentialsService.GetIntegrationCredential
|
|
21
|
+
*/
|
|
22
|
+
readonly getIntegrationCredential: {
|
|
23
|
+
readonly name: "GetIntegrationCredential",
|
|
24
|
+
readonly I: typeof GetIntegrationCredentialRequest,
|
|
25
|
+
readonly O: typeof GetIntegrationCredentialResponse,
|
|
26
|
+
readonly kind: MethodKind.Unary,
|
|
27
|
+
},
|
|
28
|
+
/**
|
|
29
|
+
* Encrypt and store a credential for (project, integration). Overwrites
|
|
30
|
+
* any existing value. Requires the caller's capability set to include
|
|
31
|
+
* credentials:write for this integration. Emits an audit row of kind
|
|
32
|
+
* credential_write.
|
|
33
|
+
*
|
|
34
|
+
* @generated from rpc integrations.v1.IntegrationCredentialsService.WriteIntegrationCredential
|
|
35
|
+
*/
|
|
36
|
+
readonly writeIntegrationCredential: {
|
|
37
|
+
readonly name: "WriteIntegrationCredential",
|
|
38
|
+
readonly I: typeof WriteIntegrationCredentialRequest,
|
|
39
|
+
readonly O: typeof WriteIntegrationCredentialResponse,
|
|
40
|
+
readonly kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @generated from service integrations.v1.IntegrationAuthService
|
|
47
|
+
*/
|
|
48
|
+
export declare const IntegrationAuthService: {
|
|
49
|
+
readonly typeName: "integrations.v1.IntegrationAuthService",
|
|
50
|
+
readonly methods: {
|
|
51
|
+
/**
|
|
52
|
+
* Create a single-use exchange ticket for the given (project, integration)
|
|
53
|
+
* with capability credentials:write. The admin caller must have
|
|
54
|
+
* TENANT_OWNER / PROJECT_ADMIN (or be a platform admin) for the target
|
|
55
|
+
* project. Emits an auth_events row of kind ticket_issue.
|
|
56
|
+
*
|
|
57
|
+
* @generated from rpc integrations.v1.IntegrationAuthService.IssueExchangeTicket
|
|
58
|
+
*/
|
|
59
|
+
readonly issueExchangeTicket: {
|
|
60
|
+
readonly name: "IssueExchangeTicket",
|
|
61
|
+
readonly I: typeof IssueExchangeTicketRequest,
|
|
62
|
+
readonly O: typeof IssueExchangeTicketResponse,
|
|
63
|
+
readonly kind: MethodKind.Unary,
|
|
64
|
+
},
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.6.1 with parameter "import_extension=js"
|
|
2
|
+
// @generated from file integrations/v1/integrations.proto (package integrations.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { GetIntegrationCredentialRequest, GetIntegrationCredentialResponse, IssueExchangeTicketRequest, IssueExchangeTicketResponse, WriteIntegrationCredentialRequest, WriteIntegrationCredentialResponse } from "./integrations_pbjs";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service integrations.v1.IntegrationCredentialsService
|
|
11
|
+
*/
|
|
12
|
+
export const IntegrationCredentialsService = {
|
|
13
|
+
typeName: "integrations.v1.IntegrationCredentialsService",
|
|
14
|
+
methods: {
|
|
15
|
+
/**
|
|
16
|
+
* Return the plaintext credential for (project, integration). Requires
|
|
17
|
+
* the caller's capability set to include credentials:read for this
|
|
18
|
+
* integration. On success, updates last_read_at and emits an audit row.
|
|
19
|
+
*
|
|
20
|
+
* @generated from rpc integrations.v1.IntegrationCredentialsService.GetIntegrationCredential
|
|
21
|
+
*/
|
|
22
|
+
getIntegrationCredential: {
|
|
23
|
+
name: "GetIntegrationCredential",
|
|
24
|
+
I: GetIntegrationCredentialRequest,
|
|
25
|
+
O: GetIntegrationCredentialResponse,
|
|
26
|
+
kind: MethodKind.Unary,
|
|
27
|
+
},
|
|
28
|
+
/**
|
|
29
|
+
* Encrypt and store a credential for (project, integration). Overwrites
|
|
30
|
+
* any existing value. Requires the caller's capability set to include
|
|
31
|
+
* credentials:write for this integration. Emits an audit row of kind
|
|
32
|
+
* credential_write.
|
|
33
|
+
*
|
|
34
|
+
* @generated from rpc integrations.v1.IntegrationCredentialsService.WriteIntegrationCredential
|
|
35
|
+
*/
|
|
36
|
+
writeIntegrationCredential: {
|
|
37
|
+
name: "WriteIntegrationCredential",
|
|
38
|
+
I: WriteIntegrationCredentialRequest,
|
|
39
|
+
O: WriteIntegrationCredentialResponse,
|
|
40
|
+
kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @generated from service integrations.v1.IntegrationAuthService
|
|
47
|
+
*/
|
|
48
|
+
export const IntegrationAuthService = {
|
|
49
|
+
typeName: "integrations.v1.IntegrationAuthService",
|
|
50
|
+
methods: {
|
|
51
|
+
/**
|
|
52
|
+
* Create a single-use exchange ticket for the given (project, integration)
|
|
53
|
+
* with capability credentials:write. The admin caller must have
|
|
54
|
+
* TENANT_OWNER / PROJECT_ADMIN (or be a platform admin) for the target
|
|
55
|
+
* project. Emits an auth_events row of kind ticket_issue.
|
|
56
|
+
*
|
|
57
|
+
* @generated from rpc integrations.v1.IntegrationAuthService.IssueExchangeTicket
|
|
58
|
+
*/
|
|
59
|
+
issueExchangeTicket: {
|
|
60
|
+
name: "IssueExchangeTicket",
|
|
61
|
+
I: IssueExchangeTicketRequest,
|
|
62
|
+
O: IssueExchangeTicketResponse,
|
|
63
|
+
kind: MethodKind.Unary,
|
|
64
|
+
},
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file integrations/v1/integrations.proto (package integrations.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
7
7
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
8
|
|
|
@@ -368,6 +368,199 @@ export declare type ExtensionConfig = Message<"integrations.v1.ExtensionConfig">
|
|
|
368
368
|
*/
|
|
369
369
|
export declare const ExtensionConfigSchema: GenMessage<ExtensionConfig>;
|
|
370
370
|
|
|
371
|
+
/**
|
|
372
|
+
* A single credential slot for one (project, integration). The encrypted
|
|
373
|
+
* payload's plaintext shape is middleware-specific (Shopify OAuth token,
|
|
374
|
+
* Stripe API key, SSH keypair, etc.) — the platform treats it as opaque
|
|
375
|
+
* bytes and never parses it.
|
|
376
|
+
*
|
|
377
|
+
* @generated from message integrations.v1.IntegrationCredentialValue
|
|
378
|
+
*/
|
|
379
|
+
export declare type IntegrationCredentialValue = Message<"integrations.v1.IntegrationCredentialValue"> & {
|
|
380
|
+
/**
|
|
381
|
+
* Plaintext credential bytes. Populated on read responses (after successful
|
|
382
|
+
* capability check + decryption) and on write requests. NEVER populated on
|
|
383
|
+
* any other response.
|
|
384
|
+
*
|
|
385
|
+
* @generated from field: bytes value = 1;
|
|
386
|
+
*/
|
|
387
|
+
value: Uint8Array;
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* Identifier of the key that encrypted this value at rest. Carried across
|
|
391
|
+
* the wire so rotation is possible without breaking old rows.
|
|
392
|
+
*
|
|
393
|
+
* @generated from field: string encryption_key_id = 2;
|
|
394
|
+
*/
|
|
395
|
+
encryptionKeyId: string;
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* When the credential was last decrypted and returned to a caller. Updated
|
|
399
|
+
* on every successful GetIntegrationCredential call. Null if never read.
|
|
400
|
+
*
|
|
401
|
+
* @generated from field: optional google.protobuf.Timestamp last_read_at = 3;
|
|
402
|
+
*/
|
|
403
|
+
lastReadAt?: Timestamp;
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* When the credential was last written. Null if never written.
|
|
407
|
+
*
|
|
408
|
+
* @generated from field: optional google.protobuf.Timestamp last_written_at = 4;
|
|
409
|
+
*/
|
|
410
|
+
lastWrittenAt?: Timestamp;
|
|
411
|
+
};
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* Describes the message integrations.v1.IntegrationCredentialValue.
|
|
415
|
+
* Use `create(IntegrationCredentialValueSchema)` to create a new message.
|
|
416
|
+
*/
|
|
417
|
+
export declare const IntegrationCredentialValueSchema: GenMessage<IntegrationCredentialValue>;
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* @generated from message integrations.v1.GetIntegrationCredentialRequest
|
|
421
|
+
*/
|
|
422
|
+
export declare type GetIntegrationCredentialRequest = Message<"integrations.v1.GetIntegrationCredentialRequest"> & {
|
|
423
|
+
/**
|
|
424
|
+
* @generated from field: string project_id = 1;
|
|
425
|
+
*/
|
|
426
|
+
projectId: string;
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* @generated from field: string integration_name = 2;
|
|
430
|
+
*/
|
|
431
|
+
integrationName: string;
|
|
432
|
+
};
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* Describes the message integrations.v1.GetIntegrationCredentialRequest.
|
|
436
|
+
* Use `create(GetIntegrationCredentialRequestSchema)` to create a new message.
|
|
437
|
+
*/
|
|
438
|
+
export declare const GetIntegrationCredentialRequestSchema: GenMessage<GetIntegrationCredentialRequest>;
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* @generated from message integrations.v1.GetIntegrationCredentialResponse
|
|
442
|
+
*/
|
|
443
|
+
export declare type GetIntegrationCredentialResponse = Message<"integrations.v1.GetIntegrationCredentialResponse"> & {
|
|
444
|
+
/**
|
|
445
|
+
* @generated from field: integrations.v1.IntegrationCredentialValue credential = 1;
|
|
446
|
+
*/
|
|
447
|
+
credential?: IntegrationCredentialValue;
|
|
448
|
+
};
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* Describes the message integrations.v1.GetIntegrationCredentialResponse.
|
|
452
|
+
* Use `create(GetIntegrationCredentialResponseSchema)` to create a new message.
|
|
453
|
+
*/
|
|
454
|
+
export declare const GetIntegrationCredentialResponseSchema: GenMessage<GetIntegrationCredentialResponse>;
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* @generated from message integrations.v1.WriteIntegrationCredentialRequest
|
|
458
|
+
*/
|
|
459
|
+
export declare type WriteIntegrationCredentialRequest = Message<"integrations.v1.WriteIntegrationCredentialRequest"> & {
|
|
460
|
+
/**
|
|
461
|
+
* @generated from field: string project_id = 1;
|
|
462
|
+
*/
|
|
463
|
+
projectId: string;
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* @generated from field: string integration_name = 2;
|
|
467
|
+
*/
|
|
468
|
+
integrationName: string;
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* Plaintext bytes to encrypt and store. Replaces any existing value for
|
|
472
|
+
* this (project, integration).
|
|
473
|
+
*
|
|
474
|
+
* @generated from field: bytes value = 3;
|
|
475
|
+
*/
|
|
476
|
+
value: Uint8Array;
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* Optional correlation context to include in the audit log entry
|
|
480
|
+
* (webhook delivery id, manual trigger id, admin action id, etc.).
|
|
481
|
+
*
|
|
482
|
+
* @generated from field: optional string context = 4;
|
|
483
|
+
*/
|
|
484
|
+
context?: string;
|
|
485
|
+
};
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* Describes the message integrations.v1.WriteIntegrationCredentialRequest.
|
|
489
|
+
* Use `create(WriteIntegrationCredentialRequestSchema)` to create a new message.
|
|
490
|
+
*/
|
|
491
|
+
export declare const WriteIntegrationCredentialRequestSchema: GenMessage<WriteIntegrationCredentialRequest>;
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* @generated from message integrations.v1.WriteIntegrationCredentialResponse
|
|
495
|
+
*/
|
|
496
|
+
export declare type WriteIntegrationCredentialResponse = Message<"integrations.v1.WriteIntegrationCredentialResponse"> & {
|
|
497
|
+
/**
|
|
498
|
+
* Metadata about the newly stored credential. Never includes the plaintext.
|
|
499
|
+
*
|
|
500
|
+
* @generated from field: string encryption_key_id = 1;
|
|
501
|
+
*/
|
|
502
|
+
encryptionKeyId: string;
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* @generated from field: google.protobuf.Timestamp last_written_at = 2;
|
|
506
|
+
*/
|
|
507
|
+
lastWrittenAt?: Timestamp;
|
|
508
|
+
};
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* Describes the message integrations.v1.WriteIntegrationCredentialResponse.
|
|
512
|
+
* Use `create(WriteIntegrationCredentialResponseSchema)` to create a new message.
|
|
513
|
+
*/
|
|
514
|
+
export declare const WriteIntegrationCredentialResponseSchema: GenMessage<WriteIntegrationCredentialResponse>;
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* @generated from message integrations.v1.IssueExchangeTicketRequest
|
|
518
|
+
*/
|
|
519
|
+
export declare type IssueExchangeTicketRequest = Message<"integrations.v1.IssueExchangeTicketRequest"> & {
|
|
520
|
+
/**
|
|
521
|
+
* @generated from field: string project_id = 1;
|
|
522
|
+
*/
|
|
523
|
+
projectId: string;
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* @generated from field: string integration_name = 2;
|
|
527
|
+
*/
|
|
528
|
+
integrationName: string;
|
|
529
|
+
};
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* Describes the message integrations.v1.IssueExchangeTicketRequest.
|
|
533
|
+
* Use `create(IssueExchangeTicketRequestSchema)` to create a new message.
|
|
534
|
+
*/
|
|
535
|
+
export declare const IssueExchangeTicketRequestSchema: GenMessage<IssueExchangeTicketRequest>;
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* @generated from message integrations.v1.IssueExchangeTicketResponse
|
|
539
|
+
*/
|
|
540
|
+
export declare type IssueExchangeTicketResponse = Message<"integrations.v1.IssueExchangeTicketResponse"> & {
|
|
541
|
+
/**
|
|
542
|
+
* Opaque single-use ticket id. Must be embedded in OAuth `state` and
|
|
543
|
+
* POSTed back by the middleware to /api/v1/auth/exchange-ticket.
|
|
544
|
+
*
|
|
545
|
+
* @generated from field: string ticket = 1;
|
|
546
|
+
*/
|
|
547
|
+
ticket: string;
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* Absolute expiry (10 minutes from issue). After this point the ticket
|
|
551
|
+
* is rejected even if it has not yet been redeemed.
|
|
552
|
+
*
|
|
553
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 2;
|
|
554
|
+
*/
|
|
555
|
+
expiresAt?: Timestamp;
|
|
556
|
+
};
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* Describes the message integrations.v1.IssueExchangeTicketResponse.
|
|
560
|
+
* Use `create(IssueExchangeTicketResponseSchema)` to create a new message.
|
|
561
|
+
*/
|
|
562
|
+
export declare const IssueExchangeTicketResponseSchema: GenMessage<IssueExchangeTicketResponse>;
|
|
563
|
+
|
|
371
564
|
/**
|
|
372
565
|
* Credential strategies the middleware uses when talking to the external
|
|
373
566
|
* service. Drives which authorization flow the admin UI renders.
|
|
@@ -506,3 +699,53 @@ export enum ExtensionTarget {
|
|
|
506
699
|
*/
|
|
507
700
|
export declare const ExtensionTargetSchema: GenEnum<ExtensionTarget>;
|
|
508
701
|
|
|
702
|
+
/**
|
|
703
|
+
* @generated from service integrations.v1.IntegrationCredentialsService
|
|
704
|
+
*/
|
|
705
|
+
export declare const IntegrationCredentialsService: GenService<{
|
|
706
|
+
/**
|
|
707
|
+
* Return the plaintext credential for (project, integration). Requires
|
|
708
|
+
* the caller's capability set to include credentials:read for this
|
|
709
|
+
* integration. On success, updates last_read_at and emits an audit row.
|
|
710
|
+
*
|
|
711
|
+
* @generated from rpc integrations.v1.IntegrationCredentialsService.GetIntegrationCredential
|
|
712
|
+
*/
|
|
713
|
+
getIntegrationCredential: {
|
|
714
|
+
methodKind: "unary";
|
|
715
|
+
input: typeof GetIntegrationCredentialRequestSchema;
|
|
716
|
+
output: typeof GetIntegrationCredentialResponseSchema;
|
|
717
|
+
},
|
|
718
|
+
/**
|
|
719
|
+
* Encrypt and store a credential for (project, integration). Overwrites
|
|
720
|
+
* any existing value. Requires the caller's capability set to include
|
|
721
|
+
* credentials:write for this integration. Emits an audit row of kind
|
|
722
|
+
* credential_write.
|
|
723
|
+
*
|
|
724
|
+
* @generated from rpc integrations.v1.IntegrationCredentialsService.WriteIntegrationCredential
|
|
725
|
+
*/
|
|
726
|
+
writeIntegrationCredential: {
|
|
727
|
+
methodKind: "unary";
|
|
728
|
+
input: typeof WriteIntegrationCredentialRequestSchema;
|
|
729
|
+
output: typeof WriteIntegrationCredentialResponseSchema;
|
|
730
|
+
},
|
|
731
|
+
}>;
|
|
732
|
+
|
|
733
|
+
/**
|
|
734
|
+
* @generated from service integrations.v1.IntegrationAuthService
|
|
735
|
+
*/
|
|
736
|
+
export declare const IntegrationAuthService: GenService<{
|
|
737
|
+
/**
|
|
738
|
+
* Create a single-use exchange ticket for the given (project, integration)
|
|
739
|
+
* with capability credentials:write. The admin caller must have
|
|
740
|
+
* TENANT_OWNER / PROJECT_ADMIN (or be a platform admin) for the target
|
|
741
|
+
* project. Emits an auth_events row of kind ticket_issue.
|
|
742
|
+
*
|
|
743
|
+
* @generated from rpc integrations.v1.IntegrationAuthService.IssueExchangeTicket
|
|
744
|
+
*/
|
|
745
|
+
issueExchangeTicket: {
|
|
746
|
+
methodKind: "unary";
|
|
747
|
+
input: typeof IssueExchangeTicketRequestSchema;
|
|
748
|
+
output: typeof IssueExchangeTicketResponseSchema;
|
|
749
|
+
},
|
|
750
|
+
}>;
|
|
751
|
+
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
// @generated from file integrations/v1/integrations.proto (package integrations.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import { file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Describes the file integrations/v1/integrations.proto.
|
|
10
10
|
*/
|
|
11
11
|
export const file_integrations_v1_integrations = /*@__PURE__*/
|
|
12
|
-
fileDesc("
|
|
12
|
+
fileDesc("CiJpbnRlZ3JhdGlvbnMvdjEvaW50ZWdyYXRpb25zLnByb3RvEg9pbnRlZ3JhdGlvbnMudjEiJAoVSW50ZWdyYXRpb25NaWRkbGV3YXJlEgsKA3VybBgBIAEoCSKIAQoWSW50ZWdyYXRpb25DcmVkZW50aWFscxI1CghzdHJhdGVneRgBIAEoDjIjLmludGVncmF0aW9ucy52MS5DcmVkZW50aWFsU3RyYXRlZ3kSLAoGdmFsdWVzGAIgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdEgAiAEBQgkKB192YWx1ZXMiwgEKDk1vZGVsU2VlZEZpZWxkEgwKBHR5cGUYASABKAkSEAoIcmVxdWlyZWQYAiABKAgSEwoLbmF0dXJhbF9rZXkYAyABKAgSEgoFbGFiZWwYBCABKAlIAIgBARIWCgloZWxwX3RleHQYBSABKAlIAYgBARIsCgZjb25maWcYBiABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0SAKIAQFCCAoGX2xhYmVsQgwKCl9oZWxwX3RleHRCCQoHX2NvbmZpZyKTAQoJTW9kZWxTZWVkEjYKBmZpZWxkcxgBIAMoCzImLmludGVncmF0aW9ucy52MS5Nb2RlbFNlZWQuRmll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FJlc3BvbnNlEoUBChpXcml0ZUludGVncmF0aW9uQ3JlZGVudGlhbBIyLmludGVncmF0aW9ucy52MS5Xcml0ZUludGVncmF0aW9uQ3JlZGVudGlhbFJlcXVlc3QaMy5pbnRlZ3JhdGlvbnMudjEuV3JpdGVJbnRlZ3JhdGlvbkNyZWRlbnRpYWxSZXNwb25zZTKKAQoWSW50ZWdyYXRpb25BdXRoU2VydmljZRJwChNJc3N1ZUV4Y2hhbmdlVGlja2V0EisuaW50ZWdyYXRpb25zLnYxLklzc3VlRXhjaGFuZ2VUaWNrZXRSZXF1ZXN0GiwuaW50ZWdyYXRpb25zLnYxLklzc3VlRXhjaGFuZ2VUaWNrZXRSZXNwb25zZUJFWkNnaXRodWIuY29tL2VpZGVzdHVkaW8vZm9pci9nZW4vcHJvdG8vaW50ZWdyYXRpb25zL3YxO2ludGVncmF0aW9uc3YxYgZwcm90bzM", [file_google_protobuf_struct, file_google_protobuf_timestamp]);
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Describes the message integrations.v1.IntegrationMiddleware.
|
|
@@ -74,6 +74,55 @@ export const ExtensionPlacementSchema = /*@__PURE__*/
|
|
|
74
74
|
export const ExtensionConfigSchema = /*@__PURE__*/
|
|
75
75
|
messageDesc(file_integrations_v1_integrations, 8);
|
|
76
76
|
|
|
77
|
+
/**
|
|
78
|
+
* Describes the message integrations.v1.IntegrationCredentialValue.
|
|
79
|
+
* Use `create(IntegrationCredentialValueSchema)` to create a new message.
|
|
80
|
+
*/
|
|
81
|
+
export const IntegrationCredentialValueSchema = /*@__PURE__*/
|
|
82
|
+
messageDesc(file_integrations_v1_integrations, 9);
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Describes the message integrations.v1.GetIntegrationCredentialRequest.
|
|
86
|
+
* Use `create(GetIntegrationCredentialRequestSchema)` to create a new message.
|
|
87
|
+
*/
|
|
88
|
+
export const GetIntegrationCredentialRequestSchema = /*@__PURE__*/
|
|
89
|
+
messageDesc(file_integrations_v1_integrations, 10);
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Describes the message integrations.v1.GetIntegrationCredentialResponse.
|
|
93
|
+
* Use `create(GetIntegrationCredentialResponseSchema)` to create a new message.
|
|
94
|
+
*/
|
|
95
|
+
export const GetIntegrationCredentialResponseSchema = /*@__PURE__*/
|
|
96
|
+
messageDesc(file_integrations_v1_integrations, 11);
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Describes the message integrations.v1.WriteIntegrationCredentialRequest.
|
|
100
|
+
* Use `create(WriteIntegrationCredentialRequestSchema)` to create a new message.
|
|
101
|
+
*/
|
|
102
|
+
export const WriteIntegrationCredentialRequestSchema = /*@__PURE__*/
|
|
103
|
+
messageDesc(file_integrations_v1_integrations, 12);
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Describes the message integrations.v1.WriteIntegrationCredentialResponse.
|
|
107
|
+
* Use `create(WriteIntegrationCredentialResponseSchema)` to create a new message.
|
|
108
|
+
*/
|
|
109
|
+
export const WriteIntegrationCredentialResponseSchema = /*@__PURE__*/
|
|
110
|
+
messageDesc(file_integrations_v1_integrations, 13);
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Describes the message integrations.v1.IssueExchangeTicketRequest.
|
|
114
|
+
* Use `create(IssueExchangeTicketRequestSchema)` to create a new message.
|
|
115
|
+
*/
|
|
116
|
+
export const IssueExchangeTicketRequestSchema = /*@__PURE__*/
|
|
117
|
+
messageDesc(file_integrations_v1_integrations, 14);
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Describes the message integrations.v1.IssueExchangeTicketResponse.
|
|
121
|
+
* Use `create(IssueExchangeTicketResponseSchema)` to create a new message.
|
|
122
|
+
*/
|
|
123
|
+
export const IssueExchangeTicketResponseSchema = /*@__PURE__*/
|
|
124
|
+
messageDesc(file_integrations_v1_integrations, 15);
|
|
125
|
+
|
|
77
126
|
/**
|
|
78
127
|
* Describes the enum integrations.v1.CredentialStrategy.
|
|
79
128
|
*/
|
|
@@ -130,3 +179,15 @@ export const ExtensionTargetSchema = /*@__PURE__*/
|
|
|
130
179
|
export const ExtensionTarget = /*@__PURE__*/
|
|
131
180
|
tsEnum(ExtensionTargetSchema);
|
|
132
181
|
|
|
182
|
+
/**
|
|
183
|
+
* @generated from service integrations.v1.IntegrationCredentialsService
|
|
184
|
+
*/
|
|
185
|
+
export const IntegrationCredentialsService = /*@__PURE__*/
|
|
186
|
+
serviceDesc(file_integrations_v1_integrations, 0);
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* @generated from service integrations.v1.IntegrationAuthService
|
|
190
|
+
*/
|
|
191
|
+
export const IntegrationAuthService = /*@__PURE__*/
|
|
192
|
+
serviceDesc(file_integrations_v1_integrations, 1);
|
|
193
|
+
|