@workos/openapi-spec 0.110.0 → 0.112.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.
@@ -4365,6 +4365,7 @@ paths:
4365
4365
  source:
4366
4366
  type: direct
4367
4367
  group_role_assignment_id: null
4368
+ group: null
4368
4369
  created_at: '2026-01-15T12:00:00.000Z'
4369
4370
  updated_at: '2026-01-15T12:00:00.000Z'
4370
4371
  description: Created
@@ -11512,6 +11513,14 @@ paths:
11512
11513
  Returns credentials for a user's connected account. Branches on the
11513
11514
  installation's `auth_method`: OAuth installations return an access token
11514
11515
  (refreshed if needed); API-key installations return the stored secret.
11516
+ Every active credential includes `config`: provider-declared, non-secret
11517
+ values from the installation snapshot, with current provider defaults
11518
+ for unset fields. Editing integration or organization configuration does
11519
+ not change the snapshot; reconnect or explicitly rebind the connection
11520
+ to adopt those edits. Defaults remain live, so a changed default can
11521
+ appear in `config` before a cached token is refreshed or re-minted.
11522
+ Credentials that never refresh require a reconnect or rebind when a
11523
+ default changes their routing.
11515
11524
  operationId: DataIntegrationsController_vendCredentials
11516
11525
  parameters:
11517
11526
  - name: slug
@@ -11592,6 +11601,7 @@ paths:
11592
11601
  - repo
11593
11602
  - user:email
11594
11603
  missing_scopes: []
11604
+ config: {}
11595
11605
  '400':
11596
11606
  description: Bad Request
11597
11607
  content:
@@ -32231,9 +32241,28 @@ components:
32231
32241
  The ID of the group role assignment the role was derived from,
32232
32242
  or null if direct.
32233
32243
  example: null
32244
+ group:
32245
+ description: The group the role was derived from, or null if direct.
32246
+ example: null
32247
+ oneOf:
32248
+ - type: object
32249
+ properties:
32250
+ id:
32251
+ type: string
32252
+ description: The unique ID of the Group the role was derived from.
32253
+ example: group_01HXYZ123456789ABCDEFGHIJ
32254
+ name:
32255
+ type: string
32256
+ description: The name of the Group the role was derived from.
32257
+ example: Marketing team
32258
+ required:
32259
+ - id
32260
+ - name
32261
+ - type: 'null'
32234
32262
  required:
32235
32263
  - type
32236
32264
  - group_role_assignment_id
32265
+ - group
32237
32266
  description: The origin of the role assignment.
32238
32267
  created_at:
32239
32268
  format: date-time
@@ -45571,6 +45600,22 @@ components:
45571
45600
  the access token, they're listed here. Present for `oauth` and
45572
45601
  `client_credentials` credentials; absent for `api_key`.
45573
45602
  example: []
45603
+ config:
45604
+ type: object
45605
+ additionalProperties:
45606
+ type: string
45607
+ description: >-
45608
+ Provider-declared, non-secret config from the installation
45609
+ snapshot, with current defaults for unset fields. Includes both
45610
+ integration- and installation-scope fields; omits undeclared
45611
+ fields and fields marked secret. Use these values to address a
45612
+ per-tenant host, such as Snowflake's `account` or Zendesk's
45613
+ `subdomain`. Empty when no values are disclosable. Changes to
45614
+ integration or organization pins require reconnecting or
45615
+ explicitly rebinding the connection. Defaults are live and can
45616
+ differ from a cached token's audience until refresh or re-mint.
45617
+ example: &ref_39
45618
+ account: myorg-myaccount
45574
45619
  required:
45575
45620
  - object
45576
45621
  - auth_method
@@ -45578,6 +45623,7 @@ components:
45578
45623
  - expires_at
45579
45624
  - scopes
45580
45625
  - missing_scopes
45626
+ - config
45581
45627
  - type: object
45582
45628
  properties:
45583
45629
  object:
@@ -45599,10 +45645,26 @@ components:
45599
45645
  format: password
45600
45646
  description: The API key secret.
45601
45647
  example: sk-1234567890abcdef
45648
+ config:
45649
+ type: object
45650
+ additionalProperties:
45651
+ type: string
45652
+ description: >-
45653
+ Provider-declared, non-secret config from the installation
45654
+ snapshot, with current defaults for unset fields. Includes both
45655
+ integration- and installation-scope fields; omits undeclared
45656
+ fields and fields marked secret. Use these values to address a
45657
+ per-tenant host, such as Snowflake's `account` or Zendesk's
45658
+ `subdomain`. Empty when no values are disclosable. Changes to
45659
+ integration or organization pins require reconnecting or
45660
+ explicitly rebinding the connection. Defaults are live and can
45661
+ differ from a cached token's audience until refresh or re-mint.
45662
+ example: *ref_39
45602
45663
  required:
45603
45664
  - object
45604
45665
  - auth_method
45605
45666
  - value
45667
+ - config
45606
45668
  - type: object
45607
45669
  properties:
45608
45670
  object:
@@ -45660,6 +45722,21 @@ components:
45660
45722
  provider. Only present for `client_credentials` credentials.
45661
45723
  example:
45662
45724
  instance_url: https://acme.my.salesforce.com
45725
+ config:
45726
+ type: object
45727
+ additionalProperties:
45728
+ type: string
45729
+ description: >-
45730
+ Provider-declared, non-secret config from the installation
45731
+ snapshot, with current defaults for unset fields. Includes both
45732
+ integration- and installation-scope fields; omits undeclared
45733
+ fields and fields marked secret. Use these values to address a
45734
+ per-tenant host, such as Snowflake's `account` or Zendesk's
45735
+ `subdomain`. Empty when no values are disclosable. Changes to
45736
+ integration or organization pins require reconnecting or
45737
+ explicitly rebinding the connection. Defaults are live and can
45738
+ differ from a cached token's audience until refresh or re-mint.
45739
+ example: *ref_39
45663
45740
  required:
45664
45741
  - object
45665
45742
  - auth_method
@@ -45668,6 +45745,7 @@ components:
45668
45745
  - scopes
45669
45746
  - missing_scopes
45670
45747
  - metadata
45748
+ - config
45671
45749
  DataIntegrationCredentialsResponse:
45672
45750
  oneOf:
45673
45751
  - type: object
@@ -46038,7 +46116,7 @@ components:
46038
46116
  items:
46039
46117
  type: string
46040
46118
  description: The OAuth scopes granted for this connection.
46041
- example: &ref_39
46119
+ example: &ref_40
46042
46120
  - repo
46043
46121
  - user:email
46044
46122
  auth_method:
@@ -46088,7 +46166,7 @@ components:
46088
46166
  `installation` scope, excluding any it declares as
46089
46167
  secret. Only present when `auth_method` is
46090
46168
  `client_credentials`.
46091
- example: &ref_40
46169
+ example: &ref_41
46092
46170
  instance_url: https://example.my.salesforce.com
46093
46171
  state:
46094
46172
  type: string
@@ -46217,7 +46295,7 @@ components:
46217
46295
  items:
46218
46296
  type: string
46219
46297
  description: The OAuth scopes granted for this connection.
46220
- example: *ref_39
46298
+ example: *ref_40
46221
46299
  auth_method:
46222
46300
  type: string
46223
46301
  enum:
@@ -46264,7 +46342,7 @@ components:
46264
46342
  `installation` scope, excluding any it declares as
46265
46343
  secret. Only present when `auth_method` is
46266
46344
  `client_credentials`.
46267
- example: *ref_40
46345
+ example: *ref_41
46268
46346
  state:
46269
46347
  type: string
46270
46348
  enum:
package/dist/types.d.ts CHANGED
@@ -1532,7 +1532,7 @@ export interface paths {
1532
1532
  put?: never;
1533
1533
  /**
1534
1534
  * Vend credentials for a connected account
1535
- * @description Returns credentials for a user's connected account. Branches on the installation's `auth_method`: OAuth installations return an access token (refreshed if needed); API-key installations return the stored secret.
1535
+ * @description Returns credentials for a user's connected account. Branches on the installation's `auth_method`: OAuth installations return an access token (refreshed if needed); API-key installations return the stored secret. Every active credential includes `config`: provider-declared, non-secret values from the installation snapshot, with current provider defaults for unset fields. Editing integration or organization configuration does not change the snapshot; reconnect or explicitly rebind the connection to adopt those edits. Defaults remain live, so a changed default can appear in `config` before a cached token is refreshed or re-minted. Credentials that never refresh require a reconnect or rebind when a default changes their routing.
1536
1536
  */
1537
1537
  post: operations["DataIntegrationsController_vendCredentials"];
1538
1538
  delete?: never;
@@ -8051,6 +8051,22 @@ export interface components {
8051
8051
  * @example null
8052
8052
  */
8053
8053
  group_role_assignment_id: string | null;
8054
+ /**
8055
+ * @description The group the role was derived from, or null if direct.
8056
+ * @example null
8057
+ */
8058
+ group: {
8059
+ /**
8060
+ * @description The unique ID of the Group the role was derived from.
8061
+ * @example group_01HXYZ123456789ABCDEFGHIJ
8062
+ */
8063
+ id: string;
8064
+ /**
8065
+ * @description The name of the Group the role was derived from.
8066
+ * @example Marketing team
8067
+ */
8068
+ name: string;
8069
+ } | null;
8054
8070
  };
8055
8071
  /**
8056
8072
  * Format: date-time
@@ -18267,6 +18283,15 @@ export interface components {
18267
18283
  * @example []
18268
18284
  */
18269
18285
  missing_scopes: string[];
18286
+ /**
18287
+ * @description Provider-declared, non-secret config from the installation snapshot, with current defaults for unset fields. Includes both integration- and installation-scope fields; omits undeclared fields and fields marked secret. Use these values to address a per-tenant host, such as Snowflake's `account` or Zendesk's `subdomain`. Empty when no values are disclosable. Changes to integration or organization pins require reconnecting or explicitly rebinding the connection. Defaults are live and can differ from a cached token's audience until refresh or re-mint.
18288
+ * @example {
18289
+ * "account": "myorg-myaccount"
18290
+ * }
18291
+ */
18292
+ config: {
18293
+ [key: string]: string;
18294
+ };
18270
18295
  } | {
18271
18296
  /**
18272
18297
  * @description Distinguishes the credential object.
@@ -18284,6 +18309,15 @@ export interface components {
18284
18309
  * @example sk-1234567890abcdef
18285
18310
  */
18286
18311
  value: string;
18312
+ /**
18313
+ * @description Provider-declared, non-secret config from the installation snapshot, with current defaults for unset fields. Includes both integration- and installation-scope fields; omits undeclared fields and fields marked secret. Use these values to address a per-tenant host, such as Snowflake's `account` or Zendesk's `subdomain`. Empty when no values are disclosable. Changes to integration or organization pins require reconnecting or explicitly rebinding the connection. Defaults are live and can differ from a cached token's audience until refresh or re-mint.
18314
+ * @example {
18315
+ * "account": "myorg-myaccount"
18316
+ * }
18317
+ */
18318
+ config: {
18319
+ [key: string]: string;
18320
+ };
18287
18321
  } | {
18288
18322
  /**
18289
18323
  * @description Distinguishes the credential object.
@@ -18327,6 +18361,15 @@ export interface components {
18327
18361
  metadata: {
18328
18362
  [key: string]: unknown;
18329
18363
  };
18364
+ /**
18365
+ * @description Provider-declared, non-secret config from the installation snapshot, with current defaults for unset fields. Includes both integration- and installation-scope fields; omits undeclared fields and fields marked secret. Use these values to address a per-tenant host, such as Snowflake's `account` or Zendesk's `subdomain`. Empty when no values are disclosable. Changes to integration or organization pins require reconnecting or explicitly rebinding the connection. Defaults are live and can differ from a cached token's audience until refresh or re-mint.
18366
+ * @example {
18367
+ * "account": "myorg-myaccount"
18368
+ * }
18369
+ */
18370
+ config: {
18371
+ [key: string]: string;
18372
+ };
18330
18373
  };
18331
18374
  DataIntegrationCredentialsResponse: {
18332
18375
  /**
@@ -23811,7 +23854,8 @@ export interface operations {
23811
23854
  * },
23812
23855
  * "source": {
23813
23856
  * "type": "direct",
23814
- * "group_role_assignment_id": null
23857
+ * "group_role_assignment_id": null,
23858
+ * "group": null
23815
23859
  * },
23816
23860
  * "created_at": "2026-01-15T12:00:00.000Z",
23817
23861
  * "updated_at": "2026-01-15T12:00:00.000Z"
@@ -30342,7 +30386,8 @@ export interface operations {
30342
30386
  * "repo",
30343
30387
  * "user:email"
30344
30388
  * ],
30345
- * "missing_scopes": []
30389
+ * "missing_scopes": [],
30390
+ * "config": {}
30346
30391
  * }
30347
30392
  * }
30348
30393
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.110.0",
3
+ "version": "0.112.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",