@workos/openapi-spec 0.54.0 → 0.55.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.
@@ -35908,40 +35908,46 @@ components:
35908
35908
  example:
35909
35909
  - oauth
35910
35910
  credentials:
35911
- type: object
35912
- properties:
35913
- type:
35914
- type: string
35915
- enum:
35916
- - custom
35917
- - organization
35918
- description: >-
35919
- The credentials type. `custom` uses your own OAuth app
35920
- credentials; `organization` has each organization supply its own
35921
- credentials (so `client_id`/`redacted_client_secret` are null on
35922
- the integration itself).
35923
- example: custom
35924
- client_id:
35925
- type:
35926
- - string
35927
- - 'null'
35928
- description: >-
35929
- The OAuth client ID configured for the provider app. Null for
35930
- `organization` credentials.
35931
- example: Iv1.abc123
35932
- redacted_client_secret:
35933
- type:
35934
- - string
35935
- - 'null'
35936
- description: >-
35937
- The last four characters of the OAuth client secret. The full
35938
- secret is never returned. Null for `organization` credentials.
35939
- example: '6789'
35940
- required:
35941
- - type
35942
- - client_id
35943
- - redacted_client_secret
35944
- description: The credentials configured for the Data Integration.
35911
+ description: >-
35912
+ The integration-level OAuth app credentials. `null` for `api_key`
35913
+ integrations, which hold no OAuth credentials (keys are installed
35914
+ per-tenant).
35915
+ oneOf:
35916
+ - type: object
35917
+ properties:
35918
+ type:
35919
+ type: string
35920
+ enum:
35921
+ - custom
35922
+ - organization
35923
+ description: >-
35924
+ The credentials type. `custom` uses your own OAuth app
35925
+ credentials; `organization` has each organization supply its
35926
+ own credentials (so `client_id`/`redacted_client_secret` are
35927
+ null on the integration itself).
35928
+ example: custom
35929
+ client_id:
35930
+ type:
35931
+ - string
35932
+ - 'null'
35933
+ description: >-
35934
+ The OAuth client ID configured for the provider app. Null
35935
+ for `organization` credentials.
35936
+ example: Iv1.abc123
35937
+ redacted_client_secret:
35938
+ type:
35939
+ - string
35940
+ - 'null'
35941
+ description: >-
35942
+ The last four characters of the OAuth client secret. The
35943
+ full secret is never returned. Null for `organization`
35944
+ credentials.
35945
+ example: '6789'
35946
+ required:
35947
+ - type
35948
+ - client_id
35949
+ - redacted_client_secret
35950
+ - type: 'null'
35945
35951
  installation:
35946
35952
  description: >-
35947
35953
  The tenant installation created when an API key was supplied at
package/dist/types.d.ts CHANGED
@@ -15378,7 +15378,7 @@ export interface components {
15378
15378
  * ]
15379
15379
  */
15380
15380
  auth_methods: ("oauth" | "api_key" | "client_credentials")[];
15381
- /** @description The credentials configured for the Data Integration. */
15381
+ /** @description The integration-level OAuth app credentials. `null` for `api_key` integrations, which hold no OAuth credentials (keys are installed per-tenant). */
15382
15382
  credentials: {
15383
15383
  /**
15384
15384
  * @description The credentials type. `custom` uses your own OAuth app credentials; `organization` has each organization supply its own credentials (so `client_id`/`redacted_client_secret` are null on the integration itself).
@@ -15396,7 +15396,7 @@ export interface components {
15396
15396
  * @example 6789
15397
15397
  */
15398
15398
  redacted_client_secret: string | null;
15399
- };
15399
+ } | null;
15400
15400
  /**
15401
15401
  * @description The tenant installation created when an API key was supplied at creation time; `null` otherwise. Not populated on list/get responses.
15402
15402
  * @example null
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.54.0",
3
+ "version": "0.55.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",