@workos/openapi-spec 0.49.0 → 0.50.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.
@@ -35688,6 +35688,7 @@ components:
35688
35688
  enum:
35689
35689
  - oauth
35690
35690
  - api_key
35691
+ - client_credentials
35691
35692
  description: >-
35692
35693
  How accounts authenticate with the provider for this Data
35693
35694
  Integration.
@@ -36202,9 +36203,10 @@ components:
36202
36203
  enum:
36203
36204
  - oauth
36204
36205
  - api_key
36206
+ - client_credentials
36205
36207
  description: >-
36206
- The authentication method used for this connection (`oauth` or
36207
- `api_key`). Defaults to `oauth` if absent.
36208
+ The authentication method used for this connection (`oauth`,
36209
+ `api_key`, or `client_credentials`). Defaults to `oauth` if absent.
36208
36210
  example: oauth
36209
36211
  api_key_last_4:
36210
36212
  type:
@@ -36312,10 +36314,11 @@ components:
36312
36314
  enum:
36313
36315
  - oauth
36314
36316
  - api_key
36317
+ - client_credentials
36315
36318
  description: >-
36316
36319
  The authentication methods supported by this provider
36317
- (`oauth`, `api_key`, or both). Defaults to `["oauth"]` if
36318
- absent.
36320
+ (`oauth`, `api_key`, `client_credentials`, or a combination).
36321
+ Defaults to `["oauth"]` if absent.
36319
36322
  example:
36320
36323
  - oauth
36321
36324
  ownership:
@@ -36394,9 +36397,11 @@ components:
36394
36397
  enum:
36395
36398
  - oauth
36396
36399
  - api_key
36400
+ - client_credentials
36397
36401
  description: >-
36398
36402
  The authentication method used for this connection
36399
- (`oauth` or `api_key`). Defaults to `oauth` if absent.
36403
+ (`oauth`, `api_key`, or `client_credentials`).
36404
+ Defaults to `oauth` if absent.
36400
36405
  example: oauth
36401
36406
  api_key_last_4:
36402
36407
  type:
package/dist/types.d.ts CHANGED
@@ -15311,7 +15311,7 @@ export interface components {
15311
15311
  * "oauth"
15312
15312
  * ]
15313
15313
  */
15314
- auth_methods: ("oauth" | "api_key")[];
15314
+ auth_methods: ("oauth" | "api_key" | "client_credentials")[];
15315
15315
  /** @description The credentials configured for the Data Integration. */
15316
15316
  credentials: {
15317
15317
  /**
@@ -15646,11 +15646,11 @@ export interface components {
15646
15646
  */
15647
15647
  scopes: string[];
15648
15648
  /**
15649
- * @description The authentication method used for this connection (`oauth` or `api_key`). Defaults to `oauth` if absent.
15649
+ * @description The authentication method used for this connection (`oauth`, `api_key`, or `client_credentials`). Defaults to `oauth` if absent.
15650
15650
  * @example oauth
15651
15651
  * @enum {string}
15652
15652
  */
15653
- auth_method?: "oauth" | "api_key";
15653
+ auth_method?: "oauth" | "api_key" | "client_credentials";
15654
15654
  /**
15655
15655
  * @description The last four characters of the API key, or `null` for OAuth connections.
15656
15656
  * @example null
@@ -15728,12 +15728,12 @@ export interface components {
15728
15728
  */
15729
15729
  scopes: string[] | null;
15730
15730
  /**
15731
- * @description The authentication methods supported by this provider (`oauth`, `api_key`, or both). Defaults to `["oauth"]` if absent.
15731
+ * @description The authentication methods supported by this provider (`oauth`, `api_key`, `client_credentials`, or a combination). Defaults to `["oauth"]` if absent.
15732
15732
  * @example [
15733
15733
  * "oauth"
15734
15734
  * ]
15735
15735
  */
15736
- auth_methods?: ("oauth" | "api_key")[];
15736
+ auth_methods?: ("oauth" | "api_key" | "client_credentials")[];
15737
15737
  /**
15738
15738
  * @description Whether the provider is owned by a user or organization.
15739
15739
  * @enum {string}
@@ -15800,11 +15800,11 @@ export interface components {
15800
15800
  */
15801
15801
  scopes: string[];
15802
15802
  /**
15803
- * @description The authentication method used for this connection (`oauth` or `api_key`). Defaults to `oauth` if absent.
15803
+ * @description The authentication method used for this connection (`oauth`, `api_key`, or `client_credentials`). Defaults to `oauth` if absent.
15804
15804
  * @example oauth
15805
15805
  * @enum {string}
15806
15806
  */
15807
- auth_method?: "oauth" | "api_key";
15807
+ auth_method?: "oauth" | "api_key" | "client_credentials";
15808
15808
  /**
15809
15809
  * @description The last four characters of the API key, or `null` for OAuth connections.
15810
15810
  * @example null
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.49.0",
3
+ "version": "0.50.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",