@workos/openapi-spec 0.60.0 → 0.62.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.
@@ -17129,6 +17129,25 @@ paths:
17129
17129
  example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
17130
17130
  required:
17131
17131
  - message
17132
+ '409':
17133
+ description: ''
17134
+ content:
17135
+ application/json:
17136
+ schema:
17137
+ type: object
17138
+ properties:
17139
+ code:
17140
+ type: string
17141
+ description: The error code identifying the type of error.
17142
+ example: user_deletion_not_allowed
17143
+ const: user_deletion_not_allowed
17144
+ message:
17145
+ type: string
17146
+ description: A human-readable description of the error.
17147
+ example: Request could not be processed.
17148
+ required:
17149
+ - code
17150
+ - message
17132
17151
  summary: Delete a user
17133
17152
  tags:
17134
17153
  - user-management.users
@@ -21406,13 +21425,13 @@ components:
21406
21425
  config:
21407
21426
  type: object
21408
21427
  description: >-
21409
- Provider-specific config values (e.g. a Snowflake
21410
- `account_identifier`), keyed by the config field. Only fields the
21411
- built-in provider declares are accepted.
21428
+ Provider-specific config values (e.g. a Snowflake `account`), keyed
21429
+ by the config field. Only fields the built-in provider declares are
21430
+ accepted.
21412
21431
  additionalProperties:
21413
21432
  type: string
21414
21433
  example:
21415
- account_identifier: acme-prod
21434
+ account: myorg-myaccount
21416
21435
  credentials:
21417
21436
  description: >-
21418
21437
  The OAuth credentials to configure for the Data Integration.
@@ -35917,7 +35936,7 @@ components:
35917
35936
  organization-credential providers, otherwise the provider root.
35918
35937
  Empty when none are configured.
35919
35938
  example:
35920
- account_identifier: acme-prod
35939
+ account: myorg-myaccount
35921
35940
  created_at:
35922
35941
  type: string
35923
35942
  description: The timestamp when the configuration was created.
@@ -36001,7 +36020,7 @@ components:
36001
36020
  itself (via the data-integrations API) and supplying it here is
36002
36021
  rejected.
36003
36022
  example:
36004
- account_identifier: acme-prod
36023
+ account: myorg-myaccount
36005
36024
  DataIntegration:
36006
36025
  type: object
36007
36026
  properties:
@@ -36158,10 +36177,10 @@ components:
36158
36177
  type: string
36159
36178
  description: >-
36160
36179
  Provider-specific config values set on the Data Integration (e.g. a
36161
- Snowflake `account_identifier`), keyed by config field. Only fields
36162
- the provider declares are accepted.
36180
+ Snowflake `account`), keyed by config field. Only fields the
36181
+ provider declares are accepted.
36163
36182
  example:
36164
- account_identifier: acme-prod
36183
+ account: myorg-myaccount
36165
36184
  custom_provider:
36166
36185
  description: >-
36167
36186
  The OAuth definition when this is a custom provider; `null` for
package/dist/types.d.ts CHANGED
@@ -4349,9 +4349,9 @@ export interface components {
4349
4349
  */
4350
4350
  auth_methods?: ("oauth" | "api_key" | "client_credentials")[];
4351
4351
  /**
4352
- * @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.
4352
+ * @description Provider-specific config values (e.g. a Snowflake `account`), keyed by the config field. Only fields the built-in provider declares are accepted.
4353
4353
  * @example {
4354
- * "account_identifier": "acme-prod"
4354
+ * "account": "myorg-myaccount"
4355
4355
  * }
4356
4356
  */
4357
4357
  config?: {
@@ -15276,7 +15276,7 @@ export interface components {
15276
15276
  /**
15277
15277
  * @description The provider-specific config values in effect for this organization, keyed by config field. Reflects the organization override for organization-credential providers, otherwise the provider root. Empty when none are configured.
15278
15278
  * @example {
15279
- * "account_identifier": "acme-prod"
15279
+ * "account": "myorg-myaccount"
15280
15280
  * }
15281
15281
  */
15282
15282
  config: {
@@ -15330,7 +15330,7 @@ export interface components {
15330
15330
  /**
15331
15331
  * @description Provider-specific config values to set for the organization, keyed by config field. Only fields the provider declares are accepted, and each value must match that field's pattern. Accepted only for providers whose credentials are organization-managed; for shared or custom credential providers, config belongs on the integration itself (via the data-integrations API) and supplying it here is rejected.
15332
15332
  * @example {
15333
- * "account_identifier": "acme-prod"
15333
+ * "account": "myorg-myaccount"
15334
15334
  * }
15335
15335
  */
15336
15336
  config?: {
@@ -15441,9 +15441,9 @@ export interface components {
15441
15441
  api_key_last_4: string | null;
15442
15442
  } | null;
15443
15443
  /**
15444
- * @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.
15444
+ * @description Provider-specific config values set on the Data Integration (e.g. a Snowflake `account`), keyed by config field. Only fields the provider declares are accepted.
15445
15445
  * @example {
15446
- * "account_identifier": "acme-prod"
15446
+ * "account": "myorg-myaccount"
15447
15447
  * }
15448
15448
  */
15449
15449
  config: {
@@ -32185,6 +32185,26 @@ export interface operations {
32185
32185
  };
32186
32186
  };
32187
32187
  };
32188
+ 409: {
32189
+ headers: {
32190
+ [name: string]: unknown;
32191
+ };
32192
+ content: {
32193
+ "application/json": {
32194
+ /**
32195
+ * @description The error code identifying the type of error.
32196
+ * @example user_deletion_not_allowed
32197
+ * @constant
32198
+ */
32199
+ code: "user_deletion_not_allowed";
32200
+ /**
32201
+ * @description A human-readable description of the error.
32202
+ * @example Request could not be processed.
32203
+ */
32204
+ message: string;
32205
+ };
32206
+ };
32207
+ };
32188
32208
  };
32189
32209
  };
32190
32210
  UserlandUsersController_confirmEmailChange: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.60.0",
3
+ "version": "0.62.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",
@@ -56,15 +56,15 @@
56
56
  "lodash": "^4.17.23"
57
57
  },
58
58
  "devDependencies": {
59
- "@types/node": "^26.1.2",
59
+ "@types/node": "^26.2.0",
60
60
  "@workos/oagen": "^0.29.2",
61
- "@workos/oagen-emitters": "^0.24.0",
61
+ "@workos/oagen-emitters": "^0.24.1",
62
62
  "diff2html": "^3.4.56",
63
63
  "husky": "^9.1.7",
64
64
  "js-yaml": "^5.2.3",
65
65
  "openapi-to-postmanv2": "^6.3.2",
66
66
  "tsdown": "^0.22.14",
67
- "tsx": "^4.23.9",
67
+ "tsx": "^4.23.12",
68
68
  "typescript": "^7.0.2"
69
69
  }
70
70
  }