@workos/openapi-spec 0.48.0 → 0.49.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.
@@ -13867,6 +13867,20 @@ paths:
13867
13867
  required:
13868
13868
  - code
13869
13869
  - message
13870
+ - type: object
13871
+ properties:
13872
+ code:
13873
+ type: string
13874
+ description: The error code identifying the type of error.
13875
+ example: email_domain_not_deliverable
13876
+ const: email_domain_not_deliverable
13877
+ message:
13878
+ type: string
13879
+ description: A human-readable description of the error.
13880
+ example: Request could not be processed.
13881
+ required:
13882
+ - code
13883
+ - message
13870
13884
  '404':
13871
13885
  description: Not Found
13872
13886
  content:
@@ -14212,6 +14226,20 @@ paths:
14212
14226
  required:
14213
14227
  - code
14214
14228
  - message
14229
+ - type: object
14230
+ properties:
14231
+ code:
14232
+ type: string
14233
+ description: The error code identifying the type of error.
14234
+ example: email_domain_not_deliverable
14235
+ const: email_domain_not_deliverable
14236
+ message:
14237
+ type: string
14238
+ description: A human-readable description of the error.
14239
+ example: Request could not be processed.
14240
+ required:
14241
+ - code
14242
+ - message
14215
14243
  '404':
14216
14244
  description: Not Found
14217
14245
  content:
@@ -14552,6 +14580,20 @@ paths:
14552
14580
  required:
14553
14581
  - error
14554
14582
  - error_description
14583
+ - type: object
14584
+ properties:
14585
+ code:
14586
+ type: string
14587
+ description: The error code identifying the type of error.
14588
+ example: email_domain_not_deliverable
14589
+ const: email_domain_not_deliverable
14590
+ message:
14591
+ type: string
14592
+ description: A human-readable description of the error.
14593
+ example: Request could not be processed.
14594
+ required:
14595
+ - code
14596
+ - message
14555
14597
  '422':
14556
14598
  description: Unprocessable Entity
14557
14599
  content:
package/dist/types.d.ts CHANGED
@@ -29127,6 +29127,18 @@ export interface operations {
29127
29127
  * @example Request could not be processed.
29128
29128
  */
29129
29129
  message: string;
29130
+ } | {
29131
+ /**
29132
+ * @description The error code identifying the type of error.
29133
+ * @example email_domain_not_deliverable
29134
+ * @constant
29135
+ */
29136
+ code: "email_domain_not_deliverable";
29137
+ /**
29138
+ * @description A human-readable description of the error.
29139
+ * @example Request could not be processed.
29140
+ */
29141
+ message: string;
29130
29142
  };
29131
29143
  };
29132
29144
  };
@@ -29436,6 +29448,18 @@ export interface operations {
29436
29448
  * @example Invite has already been accepted.
29437
29449
  */
29438
29450
  message: string;
29451
+ } | {
29452
+ /**
29453
+ * @description The error code identifying the type of error.
29454
+ * @example email_domain_not_deliverable
29455
+ * @constant
29456
+ */
29457
+ code: "email_domain_not_deliverable";
29458
+ /**
29459
+ * @description A human-readable description of the error.
29460
+ * @example Request could not be processed.
29461
+ */
29462
+ message: string;
29439
29463
  };
29440
29464
  };
29441
29465
  };
@@ -29753,6 +29777,18 @@ export interface operations {
29753
29777
  * @example The request failed due to: sign_up_not_allowed.
29754
29778
  */
29755
29779
  error_description: string;
29780
+ } | {
29781
+ /**
29782
+ * @description The error code identifying the type of error.
29783
+ * @example email_domain_not_deliverable
29784
+ * @constant
29785
+ */
29786
+ code: "email_domain_not_deliverable";
29787
+ /**
29788
+ * @description A human-readable description of the error.
29789
+ * @example Request could not be processed.
29790
+ */
29791
+ message: string;
29756
29792
  };
29757
29793
  };
29758
29794
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.48.0",
3
+ "version": "0.49.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",