@workos/openapi-spec 0.45.0 → 0.46.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.
@@ -21093,6 +21093,16 @@ components:
21093
21093
  - api_key
21094
21094
  example:
21095
21095
  - oauth
21096
+ config:
21097
+ type: object
21098
+ description: >-
21099
+ Provider-specific config values (e.g. a Snowflake
21100
+ `account_identifier`), keyed by the config field. Only fields the
21101
+ built-in provider declares are accepted.
21102
+ additionalProperties:
21103
+ type: string
21104
+ example:
21105
+ account_identifier: acme-prod
21096
21106
  credentials:
21097
21107
  description: >-
21098
21108
  The OAuth credentials to configure for the Data Integration.
@@ -35707,6 +35717,16 @@ components:
35707
35717
  - organization_id
35708
35718
  - api_key_last_4
35709
35719
  - type: 'null'
35720
+ config:
35721
+ type: object
35722
+ additionalProperties:
35723
+ type: string
35724
+ description: >-
35725
+ Provider-specific config values set on the Data Integration (e.g. a
35726
+ Snowflake `account_identifier`), keyed by config field. Only fields
35727
+ the provider declares are accepted.
35728
+ example:
35729
+ account_identifier: acme-prod
35710
35730
  custom_provider:
35711
35731
  description: >-
35712
35732
  The OAuth definition when this is a custom provider; `null` for
@@ -35814,6 +35834,7 @@ components:
35814
35834
  - auth_methods
35815
35835
  - credentials
35816
35836
  - installation
35837
+ - config
35817
35838
  - custom_provider
35818
35839
  - created_at
35819
35840
  - updated_at
package/dist/types.d.ts CHANGED
@@ -4328,6 +4328,15 @@ export interface components {
4328
4328
  * ]
4329
4329
  */
4330
4330
  auth_methods?: ("oauth" | "api_key")[];
4331
+ /**
4332
+ * @description Provider-specific config values (e.g. a Snowflake `account_identifier`), keyed by the config field. Only fields the built-in provider declares are accepted.
4333
+ * @example {
4334
+ * "account_identifier": "acme-prod"
4335
+ * }
4336
+ */
4337
+ config?: {
4338
+ [key: string]: string;
4339
+ };
4331
4340
  /** @description The OAuth credentials to configure for the Data Integration. Required for OAuth integrations; omit when `auth_methods` is `["api_key"]`. */
4332
4341
  credentials?: components["schemas"]["DataIntegrationCredentialsDto"];
4333
4342
  /** @description An optional API key to install for the first tenant on an `api_key` integration. Omit to declare a keyless integration; tenants can be added later via the per-installation API key path. */
@@ -15353,6 +15362,15 @@ export interface components {
15353
15362
  */
15354
15363
  api_key_last_4: string | null;
15355
15364
  } | null;
15365
+ /**
15366
+ * @description Provider-specific config values set on the Data Integration (e.g. a Snowflake `account_identifier`), keyed by config field. Only fields the provider declares are accepted.
15367
+ * @example {
15368
+ * "account_identifier": "acme-prod"
15369
+ * }
15370
+ */
15371
+ config: {
15372
+ [key: string]: string;
15373
+ };
15356
15374
  /** @description The OAuth definition when this is a custom provider; `null` for built-in providers. */
15357
15375
  custom_provider: {
15358
15376
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.45.0",
3
+ "version": "0.46.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",