@workos/openapi-spec 0.107.0 → 0.109.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/dist/open-api-spec.yaml +210 -161
- package/dist/types.d.ts +135 -105
- package/package.json +1 -1
package/dist/open-api-spec.yaml
CHANGED
|
@@ -43679,6 +43679,68 @@ components:
|
|
|
43679
43679
|
- data
|
|
43680
43680
|
- created_at
|
|
43681
43681
|
- object
|
|
43682
|
+
- type: object
|
|
43683
|
+
properties:
|
|
43684
|
+
id:
|
|
43685
|
+
type: string
|
|
43686
|
+
description: Unique identifier for the event.
|
|
43687
|
+
example: event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
43688
|
+
event:
|
|
43689
|
+
type: string
|
|
43690
|
+
const: vault.dek.rekeyed
|
|
43691
|
+
data:
|
|
43692
|
+
type: object
|
|
43693
|
+
properties:
|
|
43694
|
+
actor_id:
|
|
43695
|
+
type: string
|
|
43696
|
+
description: The unique identifier of the actor.
|
|
43697
|
+
example: user_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
43698
|
+
actor_source:
|
|
43699
|
+
type: string
|
|
43700
|
+
enum:
|
|
43701
|
+
- api
|
|
43702
|
+
- dashboard
|
|
43703
|
+
actor_name:
|
|
43704
|
+
type: string
|
|
43705
|
+
description: The name of the actor.
|
|
43706
|
+
example: Jane Doe
|
|
43707
|
+
key_ids:
|
|
43708
|
+
type: array
|
|
43709
|
+
items:
|
|
43710
|
+
type: string
|
|
43711
|
+
description: >-
|
|
43712
|
+
The unique identifiers of the re-encrypted data
|
|
43713
|
+
encryption keys.
|
|
43714
|
+
example:
|
|
43715
|
+
- dek_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
43716
|
+
key_context:
|
|
43717
|
+
type: object
|
|
43718
|
+
additionalProperties:
|
|
43719
|
+
type: string
|
|
43720
|
+
required:
|
|
43721
|
+
- actor_id
|
|
43722
|
+
- actor_source
|
|
43723
|
+
- actor_name
|
|
43724
|
+
- key_ids
|
|
43725
|
+
- key_context
|
|
43726
|
+
description: The event payload.
|
|
43727
|
+
created_at:
|
|
43728
|
+
format: date-time
|
|
43729
|
+
type: string
|
|
43730
|
+
description: An ISO 8601 timestamp.
|
|
43731
|
+
example: '2026-01-15T12:00:00.000Z'
|
|
43732
|
+
context:
|
|
43733
|
+
$ref: '#/components/schemas/EventContextDto'
|
|
43734
|
+
object:
|
|
43735
|
+
type: string
|
|
43736
|
+
description: Distinguishes the Event object.
|
|
43737
|
+
const: event
|
|
43738
|
+
required:
|
|
43739
|
+
- id
|
|
43740
|
+
- event
|
|
43741
|
+
- data
|
|
43742
|
+
- created_at
|
|
43743
|
+
- object
|
|
43682
43744
|
- type: object
|
|
43683
43745
|
properties:
|
|
43684
43746
|
id:
|
|
@@ -45439,109 +45501,161 @@ components:
|
|
|
45439
45501
|
required:
|
|
45440
45502
|
- code
|
|
45441
45503
|
- message
|
|
45442
|
-
|
|
45504
|
+
DataIntegrationVendedCredential:
|
|
45505
|
+
discriminator:
|
|
45506
|
+
propertyName: auth_method
|
|
45443
45507
|
oneOf:
|
|
45444
45508
|
- type: object
|
|
45445
45509
|
properties:
|
|
45446
|
-
|
|
45447
|
-
type:
|
|
45448
|
-
description:
|
|
45449
|
-
const:
|
|
45450
|
-
|
|
45451
|
-
type:
|
|
45452
|
-
|
|
45453
|
-
|
|
45454
|
-
|
|
45455
|
-
|
|
45456
|
-
|
|
45457
|
-
|
|
45458
|
-
|
|
45459
|
-
|
|
45460
|
-
|
|
45461
|
-
|
|
45462
|
-
|
|
45463
|
-
|
|
45464
|
-
|
|
45465
|
-
|
|
45466
|
-
|
|
45467
|
-
|
|
45468
|
-
|
|
45469
|
-
|
|
45470
|
-
|
|
45471
|
-
|
|
45472
|
-
|
|
45473
|
-
|
|
45474
|
-
|
|
45475
|
-
|
|
45476
|
-
|
|
45477
|
-
|
|
45478
|
-
|
|
45479
|
-
|
|
45480
|
-
|
|
45481
|
-
|
|
45482
|
-
|
|
45483
|
-
|
|
45484
|
-
|
|
45485
|
-
|
|
45486
|
-
|
|
45487
|
-
|
|
45488
|
-
|
|
45489
|
-
|
|
45490
|
-
|
|
45491
|
-
|
|
45492
|
-
|
|
45493
|
-
|
|
45494
|
-
|
|
45495
|
-
|
|
45496
|
-
example: []
|
|
45497
|
-
required:
|
|
45498
|
-
- object
|
|
45499
|
-
- auth_method
|
|
45500
|
-
- value
|
|
45501
|
-
- expires_at
|
|
45502
|
-
- scopes
|
|
45503
|
-
- missing_scopes
|
|
45504
|
-
description: The credential object containing the vended secret.
|
|
45510
|
+
object:
|
|
45511
|
+
type: string
|
|
45512
|
+
description: Distinguishes the credential object.
|
|
45513
|
+
const: credential
|
|
45514
|
+
auth_method:
|
|
45515
|
+
type: string
|
|
45516
|
+
description: >-
|
|
45517
|
+
The authentication method for this credential. Additional values
|
|
45518
|
+
may be added in the future; handle unknown values gracefully.
|
|
45519
|
+
x-extensible-enum:
|
|
45520
|
+
- oauth
|
|
45521
|
+
- api_key
|
|
45522
|
+
- client_credentials
|
|
45523
|
+
const: oauth
|
|
45524
|
+
value:
|
|
45525
|
+
type: string
|
|
45526
|
+
format: password
|
|
45527
|
+
description: >-
|
|
45528
|
+
The vended secret. An OAuth access token when `auth_method` is
|
|
45529
|
+
`oauth`, the API key when `api_key`, or the client-credentials
|
|
45530
|
+
access token when `client_credentials`.
|
|
45531
|
+
example: gho_16C7e42F292c6912E7710c838347Ae178B4a
|
|
45532
|
+
expires_at:
|
|
45533
|
+
type:
|
|
45534
|
+
- string
|
|
45535
|
+
- 'null'
|
|
45536
|
+
description: >-
|
|
45537
|
+
The ISO-8601 formatted timestamp indicating when the credential
|
|
45538
|
+
expires, or `null` if it does not expire. Present for `oauth`
|
|
45539
|
+
and `client_credentials` credentials; absent for `api_key`.
|
|
45540
|
+
example: '2025-12-31T23:59:59.000Z'
|
|
45541
|
+
scopes:
|
|
45542
|
+
type: array
|
|
45543
|
+
items:
|
|
45544
|
+
type: string
|
|
45545
|
+
description: >-
|
|
45546
|
+
The scopes granted to the access token. Present for `oauth` and
|
|
45547
|
+
`client_credentials` credentials; absent for `api_key`.
|
|
45548
|
+
example:
|
|
45549
|
+
- repo
|
|
45550
|
+
- user:email
|
|
45551
|
+
missing_scopes:
|
|
45552
|
+
type: array
|
|
45553
|
+
items:
|
|
45554
|
+
type: string
|
|
45555
|
+
description: >-
|
|
45556
|
+
If the integration has requested scopes that aren't present on
|
|
45557
|
+
the access token, they're listed here. Present for `oauth` and
|
|
45558
|
+
`client_credentials` credentials; absent for `api_key`.
|
|
45559
|
+
example: []
|
|
45505
45560
|
required:
|
|
45506
|
-
-
|
|
45507
|
-
-
|
|
45561
|
+
- object
|
|
45562
|
+
- auth_method
|
|
45563
|
+
- value
|
|
45564
|
+
- expires_at
|
|
45565
|
+
- scopes
|
|
45566
|
+
- missing_scopes
|
|
45508
45567
|
- type: object
|
|
45509
45568
|
properties:
|
|
45510
|
-
|
|
45511
|
-
type:
|
|
45512
|
-
description:
|
|
45513
|
-
const:
|
|
45514
|
-
|
|
45569
|
+
object:
|
|
45570
|
+
type: string
|
|
45571
|
+
description: Distinguishes the credential object.
|
|
45572
|
+
const: credential
|
|
45573
|
+
auth_method:
|
|
45574
|
+
type: string
|
|
45575
|
+
description: >-
|
|
45576
|
+
The authentication method for this credential. Additional values
|
|
45577
|
+
may be added in the future; handle unknown values gracefully.
|
|
45578
|
+
x-extensible-enum:
|
|
45579
|
+
- oauth
|
|
45580
|
+
- api_key
|
|
45581
|
+
- client_credentials
|
|
45582
|
+
const: api_key
|
|
45583
|
+
value:
|
|
45584
|
+
type: string
|
|
45585
|
+
format: password
|
|
45586
|
+
description: The API key secret.
|
|
45587
|
+
example: sk-1234567890abcdef
|
|
45588
|
+
required:
|
|
45589
|
+
- object
|
|
45590
|
+
- auth_method
|
|
45591
|
+
- value
|
|
45592
|
+
- type: object
|
|
45593
|
+
properties:
|
|
45594
|
+
object:
|
|
45595
|
+
type: string
|
|
45596
|
+
description: Distinguishes the credential object.
|
|
45597
|
+
const: credential
|
|
45598
|
+
auth_method:
|
|
45599
|
+
type: string
|
|
45600
|
+
description: >-
|
|
45601
|
+
The authentication method for this credential. Additional values
|
|
45602
|
+
may be added in the future; handle unknown values gracefully.
|
|
45603
|
+
x-extensible-enum:
|
|
45604
|
+
- oauth
|
|
45605
|
+
- api_key
|
|
45606
|
+
- client_credentials
|
|
45607
|
+
const: client_credentials
|
|
45608
|
+
value:
|
|
45609
|
+
type: string
|
|
45610
|
+
format: password
|
|
45611
|
+
description: The client-credentials access token.
|
|
45612
|
+
example: 00D5g000000XXXX!AQEAQ...
|
|
45613
|
+
expires_at:
|
|
45614
|
+
type:
|
|
45615
|
+
- string
|
|
45616
|
+
- 'null'
|
|
45617
|
+
description: >-
|
|
45618
|
+
The ISO-8601 formatted timestamp indicating when the credential
|
|
45619
|
+
expires.
|
|
45620
|
+
example: '2025-12-31T23:59:59.000Z'
|
|
45621
|
+
scopes:
|
|
45622
|
+
type: array
|
|
45623
|
+
items:
|
|
45624
|
+
type: string
|
|
45625
|
+
description: The scopes granted to the access token.
|
|
45626
|
+
example:
|
|
45627
|
+
- api
|
|
45628
|
+
missing_scopes:
|
|
45629
|
+
type: array
|
|
45630
|
+
items:
|
|
45631
|
+
type: string
|
|
45632
|
+
description: >-
|
|
45633
|
+
If the integration has requested scopes that aren't present on
|
|
45634
|
+
the access token, they're listed here. The scopes granted to a
|
|
45635
|
+
client-credentials token are governed by the connected
|
|
45636
|
+
organization's client application, so the integration's
|
|
45637
|
+
configured scopes are requests or defaults rather than
|
|
45638
|
+
guarantees.
|
|
45639
|
+
example: []
|
|
45640
|
+
metadata:
|
|
45515
45641
|
type: object
|
|
45516
|
-
|
|
45517
|
-
|
|
45518
|
-
|
|
45519
|
-
|
|
45520
|
-
|
|
45521
|
-
|
|
45522
|
-
|
|
45523
|
-
description: >-
|
|
45524
|
-
The authentication method for this credential. Additional
|
|
45525
|
-
values may be added in the future; handle unknown values
|
|
45526
|
-
gracefully.
|
|
45527
|
-
x-extensible-enum:
|
|
45528
|
-
- oauth
|
|
45529
|
-
- api_key
|
|
45530
|
-
- client_credentials
|
|
45531
|
-
const: api_key
|
|
45532
|
-
value:
|
|
45533
|
-
type: string
|
|
45534
|
-
format: password
|
|
45535
|
-
description: The API key secret.
|
|
45536
|
-
example: sk-1234567890abcdef
|
|
45537
|
-
required:
|
|
45538
|
-
- object
|
|
45539
|
-
- auth_method
|
|
45540
|
-
- value
|
|
45541
|
-
description: The credential object containing the vended secret.
|
|
45642
|
+
additionalProperties: {}
|
|
45643
|
+
description: >-
|
|
45644
|
+
Non-sensitive fields captured from the provider token response
|
|
45645
|
+
(e.g. Salesforce `instance_url`), as configured for the
|
|
45646
|
+
provider. Only present for `client_credentials` credentials.
|
|
45647
|
+
example:
|
|
45648
|
+
instance_url: https://acme.my.salesforce.com
|
|
45542
45649
|
required:
|
|
45543
|
-
-
|
|
45544
|
-
-
|
|
45650
|
+
- object
|
|
45651
|
+
- auth_method
|
|
45652
|
+
- value
|
|
45653
|
+
- expires_at
|
|
45654
|
+
- scopes
|
|
45655
|
+
- missing_scopes
|
|
45656
|
+
- metadata
|
|
45657
|
+
DataIntegrationCredentialsResponse:
|
|
45658
|
+
oneOf:
|
|
45545
45659
|
- type: object
|
|
45546
45660
|
properties:
|
|
45547
45661
|
active:
|
|
@@ -45549,72 +45663,7 @@ components:
|
|
|
45549
45663
|
description: Indicates credentials are available.
|
|
45550
45664
|
const: true
|
|
45551
45665
|
credential:
|
|
45552
|
-
|
|
45553
|
-
properties:
|
|
45554
|
-
object:
|
|
45555
|
-
type: string
|
|
45556
|
-
description: Distinguishes the credential object.
|
|
45557
|
-
const: credential
|
|
45558
|
-
auth_method:
|
|
45559
|
-
type: string
|
|
45560
|
-
description: >-
|
|
45561
|
-
The authentication method for this credential. Additional
|
|
45562
|
-
values may be added in the future; handle unknown values
|
|
45563
|
-
gracefully.
|
|
45564
|
-
x-extensible-enum:
|
|
45565
|
-
- oauth
|
|
45566
|
-
- api_key
|
|
45567
|
-
- client_credentials
|
|
45568
|
-
const: client_credentials
|
|
45569
|
-
value:
|
|
45570
|
-
type: string
|
|
45571
|
-
format: password
|
|
45572
|
-
description: The client-credentials access token.
|
|
45573
|
-
example: 00D5g000000XXXX!AQEAQ...
|
|
45574
|
-
expires_at:
|
|
45575
|
-
type:
|
|
45576
|
-
- string
|
|
45577
|
-
- 'null'
|
|
45578
|
-
description: >-
|
|
45579
|
-
The ISO-8601 formatted timestamp indicating when the
|
|
45580
|
-
credential expires.
|
|
45581
|
-
example: '2025-12-31T23:59:59.000Z'
|
|
45582
|
-
scopes:
|
|
45583
|
-
type: array
|
|
45584
|
-
items:
|
|
45585
|
-
type: string
|
|
45586
|
-
description: The scopes granted to the access token.
|
|
45587
|
-
example:
|
|
45588
|
-
- api
|
|
45589
|
-
missing_scopes:
|
|
45590
|
-
type: array
|
|
45591
|
-
items:
|
|
45592
|
-
type: string
|
|
45593
|
-
description: >-
|
|
45594
|
-
If the integration has requested scopes that aren't present
|
|
45595
|
-
on the access token, they're listed here. The scopes granted
|
|
45596
|
-
to a client-credentials token are governed by the connected
|
|
45597
|
-
organization's client application, so the integration's
|
|
45598
|
-
configured scopes are requests or defaults rather than
|
|
45599
|
-
guarantees.
|
|
45600
|
-
example: []
|
|
45601
|
-
metadata:
|
|
45602
|
-
type: object
|
|
45603
|
-
additionalProperties: {}
|
|
45604
|
-
description: >-
|
|
45605
|
-
Non-sensitive fields captured from the provider token
|
|
45606
|
-
response (e.g. Salesforce `instance_url`), as configured for
|
|
45607
|
-
the provider.
|
|
45608
|
-
example:
|
|
45609
|
-
instance_url: https://acme.my.salesforce.com
|
|
45610
|
-
required:
|
|
45611
|
-
- object
|
|
45612
|
-
- auth_method
|
|
45613
|
-
- value
|
|
45614
|
-
- expires_at
|
|
45615
|
-
- scopes
|
|
45616
|
-
- missing_scopes
|
|
45617
|
-
- metadata
|
|
45666
|
+
$ref: '#/components/schemas/DataIntegrationVendedCredential'
|
|
45618
45667
|
description: The credential object containing the vended secret.
|
|
45619
45668
|
required:
|
|
45620
45669
|
- active
|
package/dist/types.d.ts
CHANGED
|
@@ -16877,6 +16877,51 @@ export interface components {
|
|
|
16877
16877
|
* @constant
|
|
16878
16878
|
*/
|
|
16879
16879
|
object: "event";
|
|
16880
|
+
} | {
|
|
16881
|
+
/**
|
|
16882
|
+
* @description Unique identifier for the event.
|
|
16883
|
+
* @example event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
16884
|
+
*/
|
|
16885
|
+
id: string;
|
|
16886
|
+
/** @constant */
|
|
16887
|
+
event: "vault.dek.rekeyed";
|
|
16888
|
+
/** @description The event payload. */
|
|
16889
|
+
data: {
|
|
16890
|
+
/**
|
|
16891
|
+
* @description The unique identifier of the actor.
|
|
16892
|
+
* @example user_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
16893
|
+
*/
|
|
16894
|
+
actor_id: string;
|
|
16895
|
+
/** @enum {string} */
|
|
16896
|
+
actor_source: "api" | "dashboard";
|
|
16897
|
+
/**
|
|
16898
|
+
* @description The name of the actor.
|
|
16899
|
+
* @example Jane Doe
|
|
16900
|
+
*/
|
|
16901
|
+
actor_name: string;
|
|
16902
|
+
/**
|
|
16903
|
+
* @description The unique identifiers of the re-encrypted data encryption keys.
|
|
16904
|
+
* @example [
|
|
16905
|
+
* "dek_01EHWNCE74X7JSDV0X3SZ3KJNY"
|
|
16906
|
+
* ]
|
|
16907
|
+
*/
|
|
16908
|
+
key_ids: string[];
|
|
16909
|
+
key_context: {
|
|
16910
|
+
[key: string]: string;
|
|
16911
|
+
};
|
|
16912
|
+
};
|
|
16913
|
+
/**
|
|
16914
|
+
* Format: date-time
|
|
16915
|
+
* @description An ISO 8601 timestamp.
|
|
16916
|
+
* @example 2026-01-15T12:00:00.000Z
|
|
16917
|
+
*/
|
|
16918
|
+
created_at: string;
|
|
16919
|
+
context?: components["schemas"]["EventContextDto"];
|
|
16920
|
+
/**
|
|
16921
|
+
* @description Distinguishes the Event object.
|
|
16922
|
+
* @constant
|
|
16923
|
+
*/
|
|
16924
|
+
object: "event";
|
|
16880
16925
|
} | {
|
|
16881
16926
|
/**
|
|
16882
16927
|
* @description Unique identifier for the event.
|
|
@@ -18187,125 +18232,110 @@ export interface components {
|
|
|
18187
18232
|
*/
|
|
18188
18233
|
message: string;
|
|
18189
18234
|
};
|
|
18190
|
-
|
|
18235
|
+
DataIntegrationVendedCredential: {
|
|
18191
18236
|
/**
|
|
18192
|
-
* @description
|
|
18237
|
+
* @description Distinguishes the credential object.
|
|
18193
18238
|
* @constant
|
|
18194
18239
|
*/
|
|
18195
|
-
|
|
18196
|
-
/**
|
|
18197
|
-
|
|
18198
|
-
|
|
18199
|
-
|
|
18200
|
-
|
|
18201
|
-
|
|
18202
|
-
|
|
18203
|
-
|
|
18204
|
-
|
|
18205
|
-
|
|
18206
|
-
|
|
18207
|
-
|
|
18208
|
-
|
|
18209
|
-
|
|
18210
|
-
|
|
18211
|
-
|
|
18212
|
-
|
|
18213
|
-
|
|
18214
|
-
|
|
18215
|
-
|
|
18216
|
-
|
|
18217
|
-
|
|
18218
|
-
|
|
18219
|
-
|
|
18220
|
-
|
|
18221
|
-
|
|
18222
|
-
|
|
18223
|
-
|
|
18224
|
-
|
|
18225
|
-
*/
|
|
18226
|
-
scopes: string[];
|
|
18227
|
-
/**
|
|
18228
|
-
* @description If the integration has requested scopes that aren't present on the access token, they're listed here.
|
|
18229
|
-
* @example []
|
|
18230
|
-
*/
|
|
18231
|
-
missing_scopes: string[];
|
|
18232
|
-
};
|
|
18240
|
+
object: "credential";
|
|
18241
|
+
/**
|
|
18242
|
+
* @description The authentication method for this credential. Additional values may be added in the future; handle unknown values gracefully.
|
|
18243
|
+
* @constant
|
|
18244
|
+
*/
|
|
18245
|
+
auth_method: "oauth";
|
|
18246
|
+
/**
|
|
18247
|
+
* Format: password
|
|
18248
|
+
* @description The vended secret. An OAuth access token when `auth_method` is `oauth`, the API key when `api_key`, or the client-credentials access token when `client_credentials`.
|
|
18249
|
+
* @example gho_16C7e42F292c6912E7710c838347Ae178B4a
|
|
18250
|
+
*/
|
|
18251
|
+
value: string;
|
|
18252
|
+
/**
|
|
18253
|
+
* @description The ISO-8601 formatted timestamp indicating when the credential expires, or `null` if it does not expire. Present for `oauth` and `client_credentials` credentials; absent for `api_key`.
|
|
18254
|
+
* @example 2025-12-31T23:59:59.000Z
|
|
18255
|
+
*/
|
|
18256
|
+
expires_at: string | null;
|
|
18257
|
+
/**
|
|
18258
|
+
* @description The scopes granted to the access token. Present for `oauth` and `client_credentials` credentials; absent for `api_key`.
|
|
18259
|
+
* @example [
|
|
18260
|
+
* "repo",
|
|
18261
|
+
* "user:email"
|
|
18262
|
+
* ]
|
|
18263
|
+
*/
|
|
18264
|
+
scopes: string[];
|
|
18265
|
+
/**
|
|
18266
|
+
* @description If the integration has requested scopes that aren't present on the access token, they're listed here. Present for `oauth` and `client_credentials` credentials; absent for `api_key`.
|
|
18267
|
+
* @example []
|
|
18268
|
+
*/
|
|
18269
|
+
missing_scopes: string[];
|
|
18233
18270
|
} | {
|
|
18234
18271
|
/**
|
|
18235
|
-
* @description
|
|
18272
|
+
* @description Distinguishes the credential object.
|
|
18236
18273
|
* @constant
|
|
18237
18274
|
*/
|
|
18238
|
-
|
|
18239
|
-
/**
|
|
18240
|
-
|
|
18241
|
-
|
|
18242
|
-
|
|
18243
|
-
|
|
18244
|
-
|
|
18245
|
-
|
|
18246
|
-
|
|
18247
|
-
|
|
18248
|
-
|
|
18249
|
-
|
|
18250
|
-
auth_method: "api_key";
|
|
18251
|
-
/**
|
|
18252
|
-
* Format: password
|
|
18253
|
-
* @description The API key secret.
|
|
18254
|
-
* @example sk-1234567890abcdef
|
|
18255
|
-
*/
|
|
18256
|
-
value: string;
|
|
18257
|
-
};
|
|
18275
|
+
object: "credential";
|
|
18276
|
+
/**
|
|
18277
|
+
* @description The authentication method for this credential. Additional values may be added in the future; handle unknown values gracefully.
|
|
18278
|
+
* @constant
|
|
18279
|
+
*/
|
|
18280
|
+
auth_method: "api_key";
|
|
18281
|
+
/**
|
|
18282
|
+
* Format: password
|
|
18283
|
+
* @description The API key secret.
|
|
18284
|
+
* @example sk-1234567890abcdef
|
|
18285
|
+
*/
|
|
18286
|
+
value: string;
|
|
18258
18287
|
} | {
|
|
18288
|
+
/**
|
|
18289
|
+
* @description Distinguishes the credential object.
|
|
18290
|
+
* @constant
|
|
18291
|
+
*/
|
|
18292
|
+
object: "credential";
|
|
18293
|
+
/**
|
|
18294
|
+
* @description The authentication method for this credential. Additional values may be added in the future; handle unknown values gracefully.
|
|
18295
|
+
* @constant
|
|
18296
|
+
*/
|
|
18297
|
+
auth_method: "client_credentials";
|
|
18298
|
+
/**
|
|
18299
|
+
* Format: password
|
|
18300
|
+
* @description The client-credentials access token.
|
|
18301
|
+
* @example 00D5g000000XXXX!AQEAQ...
|
|
18302
|
+
*/
|
|
18303
|
+
value: string;
|
|
18304
|
+
/**
|
|
18305
|
+
* @description The ISO-8601 formatted timestamp indicating when the credential expires.
|
|
18306
|
+
* @example 2025-12-31T23:59:59.000Z
|
|
18307
|
+
*/
|
|
18308
|
+
expires_at: string | null;
|
|
18309
|
+
/**
|
|
18310
|
+
* @description The scopes granted to the access token.
|
|
18311
|
+
* @example [
|
|
18312
|
+
* "api"
|
|
18313
|
+
* ]
|
|
18314
|
+
*/
|
|
18315
|
+
scopes: string[];
|
|
18316
|
+
/**
|
|
18317
|
+
* @description If the integration has requested scopes that aren't present on the access token, they're listed here. The scopes granted to a client-credentials token are governed by the connected organization's client application, so the integration's configured scopes are requests or defaults rather than guarantees.
|
|
18318
|
+
* @example []
|
|
18319
|
+
*/
|
|
18320
|
+
missing_scopes: string[];
|
|
18321
|
+
/**
|
|
18322
|
+
* @description Non-sensitive fields captured from the provider token response (e.g. Salesforce `instance_url`), as configured for the provider. Only present for `client_credentials` credentials.
|
|
18323
|
+
* @example {
|
|
18324
|
+
* "instance_url": "https://acme.my.salesforce.com"
|
|
18325
|
+
* }
|
|
18326
|
+
*/
|
|
18327
|
+
metadata: {
|
|
18328
|
+
[key: string]: unknown;
|
|
18329
|
+
};
|
|
18330
|
+
};
|
|
18331
|
+
DataIntegrationCredentialsResponse: {
|
|
18259
18332
|
/**
|
|
18260
18333
|
* @description Indicates credentials are available.
|
|
18261
18334
|
* @constant
|
|
18262
18335
|
*/
|
|
18263
18336
|
active: true;
|
|
18264
18337
|
/** @description The credential object containing the vended secret. */
|
|
18265
|
-
credential:
|
|
18266
|
-
/**
|
|
18267
|
-
* @description Distinguishes the credential object.
|
|
18268
|
-
* @constant
|
|
18269
|
-
*/
|
|
18270
|
-
object: "credential";
|
|
18271
|
-
/**
|
|
18272
|
-
* @description The authentication method for this credential. Additional values may be added in the future; handle unknown values gracefully.
|
|
18273
|
-
* @constant
|
|
18274
|
-
*/
|
|
18275
|
-
auth_method: "client_credentials";
|
|
18276
|
-
/**
|
|
18277
|
-
* Format: password
|
|
18278
|
-
* @description The client-credentials access token.
|
|
18279
|
-
* @example 00D5g000000XXXX!AQEAQ...
|
|
18280
|
-
*/
|
|
18281
|
-
value: string;
|
|
18282
|
-
/**
|
|
18283
|
-
* @description The ISO-8601 formatted timestamp indicating when the credential expires.
|
|
18284
|
-
* @example 2025-12-31T23:59:59.000Z
|
|
18285
|
-
*/
|
|
18286
|
-
expires_at: string | null;
|
|
18287
|
-
/**
|
|
18288
|
-
* @description The scopes granted to the access token.
|
|
18289
|
-
* @example [
|
|
18290
|
-
* "api"
|
|
18291
|
-
* ]
|
|
18292
|
-
*/
|
|
18293
|
-
scopes: string[];
|
|
18294
|
-
/**
|
|
18295
|
-
* @description If the integration has requested scopes that aren't present on the access token, they're listed here. The scopes granted to a client-credentials token are governed by the connected organization's client application, so the integration's configured scopes are requests or defaults rather than guarantees.
|
|
18296
|
-
* @example []
|
|
18297
|
-
*/
|
|
18298
|
-
missing_scopes: string[];
|
|
18299
|
-
/**
|
|
18300
|
-
* @description Non-sensitive fields captured from the provider token response (e.g. Salesforce `instance_url`), as configured for the provider.
|
|
18301
|
-
* @example {
|
|
18302
|
-
* "instance_url": "https://acme.my.salesforce.com"
|
|
18303
|
-
* }
|
|
18304
|
-
*/
|
|
18305
|
-
metadata: {
|
|
18306
|
-
[key: string]: unknown;
|
|
18307
|
-
};
|
|
18308
|
-
};
|
|
18338
|
+
credential: components["schemas"]["DataIntegrationVendedCredential"];
|
|
18309
18339
|
} | {
|
|
18310
18340
|
/**
|
|
18311
18341
|
* @description Indicates credentials are not available.
|