@workos/openapi-spec 0.47.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:
@@ -24697,13 +24739,6 @@ components:
24697
24739
  - object
24698
24740
  - domain
24699
24741
  description: List of Organization Domains.
24700
- callback_endpoint:
24701
- type: string
24702
- description: >-
24703
- The immutable callback endpoint for this Connection. For SAML
24704
- connections this is the ACS URL; for OIDC connections this is the
24705
- redirect URI.
24706
- example: https://auth.workos.com/sso/saml/acs/conn_externalkey
24707
24742
  created_at:
24708
24743
  format: date-time
24709
24744
  type: string
package/dist/types.d.ts CHANGED
@@ -6806,11 +6806,6 @@ export interface components {
6806
6806
  */
6807
6807
  domain: string;
6808
6808
  }[];
6809
- /**
6810
- * @description The immutable callback endpoint for this Connection. For SAML connections this is the ACS URL; for OIDC connections this is the redirect URI.
6811
- * @example https://auth.workos.com/sso/saml/acs/conn_externalkey
6812
- */
6813
- callback_endpoint?: string;
6814
6809
  /**
6815
6810
  * Format: date-time
6816
6811
  * @description An ISO 8601 timestamp.
@@ -29132,6 +29127,18 @@ export interface operations {
29132
29127
  * @example Request could not be processed.
29133
29128
  */
29134
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;
29135
29142
  };
29136
29143
  };
29137
29144
  };
@@ -29441,6 +29448,18 @@ export interface operations {
29441
29448
  * @example Invite has already been accepted.
29442
29449
  */
29443
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;
29444
29463
  };
29445
29464
  };
29446
29465
  };
@@ -29758,6 +29777,18 @@ export interface operations {
29758
29777
  * @example The request failed due to: sign_up_not_allowed.
29759
29778
  */
29760
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;
29761
29792
  };
29762
29793
  };
29763
29794
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.47.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",
@@ -58,13 +58,13 @@
58
58
  "devDependencies": {
59
59
  "@types/js-yaml": "^4.0.9",
60
60
  "@types/node": "^26.1.1",
61
- "@workos/oagen": "^0.27.0",
62
- "@workos/oagen-emitters": "^0.21.0",
61
+ "@workos/oagen": "^0.28.0",
62
+ "@workos/oagen-emitters": "^0.22.0",
63
63
  "diff2html": "^3.4.56",
64
64
  "husky": "^9.1.7",
65
65
  "js-yaml": "^4.1.1",
66
66
  "openapi-to-postmanv2": "^6.3.1",
67
- "tsdown": "^0.22.13",
67
+ "tsdown": "^0.22.14",
68
68
  "tsx": "^4.23.1",
69
69
  "typescript": "^7.0.2"
70
70
  }