@workos/openapi-spec 0.114.0 → 0.116.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.
@@ -8968,20 +8968,49 @@ paths:
8968
8968
  content:
8969
8969
  application/json:
8970
8970
  schema:
8971
- type: object
8972
- properties:
8973
- code:
8974
- type: string
8975
- description: The error code identifying the type of error.
8976
- example: connection_deletion_in_progress
8977
- const: connection_deletion_in_progress
8978
- message:
8979
- type: string
8980
- description: A human-readable description of the error.
8981
- example: Request could not be processed.
8982
- required:
8983
- - code
8984
- - message
8971
+ oneOf:
8972
+ - type: object
8973
+ properties:
8974
+ code:
8975
+ type: string
8976
+ description: The error code identifying the type of error.
8977
+ example: connection_deletion_in_progress
8978
+ const: connection_deletion_in_progress
8979
+ message:
8980
+ type: string
8981
+ description: A human-readable description of the error.
8982
+ example: Request could not be processed.
8983
+ required:
8984
+ - code
8985
+ - message
8986
+ - type: object
8987
+ properties:
8988
+ code:
8989
+ type: string
8990
+ description: The error code identifying the type of error.
8991
+ example: resource_limit_exceeded
8992
+ const: resource_limit_exceeded
8993
+ message:
8994
+ type: string
8995
+ description: A human-readable description of the error.
8996
+ example: Request could not be processed.
8997
+ required:
8998
+ - code
8999
+ - message
9000
+ - type: object
9001
+ properties:
9002
+ code:
9003
+ type: string
9004
+ description: The error code identifying the type of error.
9005
+ example: too_many_sp_encryption_certs
9006
+ const: too_many_sp_encryption_certs
9007
+ message:
9008
+ type: string
9009
+ description: A human-readable description of the error.
9010
+ example: Request could not be processed.
9011
+ required:
9012
+ - code
9013
+ - message
8985
9014
  '422':
8986
9015
  description: Unprocessable Entity
8987
9016
  content:
@@ -46246,8 +46275,8 @@ components:
46246
46275
  description: >-
46247
46276
  The connection-level configuration values stored for this connection
46248
46277
  — the fields the provider declares at `installation` scope,
46249
- excluding any it declares as secret. Only present when `auth_method`
46250
- is `client_credentials`.
46278
+ excluding secret and undeclared fields. Returned for every
46279
+ authentication method; empty when no stored values can be disclosed.
46251
46280
  example:
46252
46281
  instance_url: https://example.my.salesforce.com
46253
46282
  state:
@@ -46518,9 +46547,9 @@ components:
46518
46547
  description: >-
46519
46548
  The connection-level configuration values stored for
46520
46549
  this connection — the fields the provider declares at
46521
- `installation` scope, excluding any it declares as
46522
- secret. Only present when `auth_method` is
46523
- `client_credentials`.
46550
+ `installation` scope, excluding secret and undeclared
46551
+ fields. Returned for every authentication method;
46552
+ empty when no stored values can be disclosed.
46524
46553
  example: &ref_41
46525
46554
  instance_url: https://example.my.salesforce.com
46526
46555
  state:
@@ -46694,9 +46723,9 @@ components:
46694
46723
  description: >-
46695
46724
  The connection-level configuration values stored for
46696
46725
  this connection — the fields the provider declares at
46697
- `installation` scope, excluding any it declares as
46698
- secret. Only present when `auth_method` is
46699
- `client_credentials`.
46726
+ `installation` scope, excluding secret and undeclared
46727
+ fields. Returned for every authentication method; empty
46728
+ when no stored values can be disclosed.
46700
46729
  example: *ref_41
46701
46730
  state:
46702
46731
  type: string
package/dist/types.d.ts CHANGED
@@ -18469,7 +18469,7 @@ export interface components {
18469
18469
  */
18470
18470
  client_secret_last_4?: string | null;
18471
18471
  /**
18472
- * @description The connection-level configuration values stored for this connection — the fields the provider declares at `installation` scope, excluding any it declares as secret. Only present when `auth_method` is `client_credentials`.
18472
+ * @description The connection-level configuration values stored for this connection — the fields the provider declares at `installation` scope, excluding secret and undeclared fields. Returned for every authentication method; empty when no stored values can be disclosed.
18473
18473
  * @example {
18474
18474
  * "instance_url": "https://example.my.salesforce.com"
18475
18475
  * }
@@ -18665,7 +18665,7 @@ export interface components {
18665
18665
  */
18666
18666
  client_secret_last_4?: string | null;
18667
18667
  /**
18668
- * @description The connection-level configuration values stored for this connection — the fields the provider declares at `installation` scope, excluding any it declares as secret. Only present when `auth_method` is `client_credentials`.
18668
+ * @description The connection-level configuration values stored for this connection — the fields the provider declares at `installation` scope, excluding secret and undeclared fields. Returned for every authentication method; empty when no stored values can be disclosed.
18669
18669
  * @example {
18670
18670
  * "instance_url": "https://example.my.salesforce.com"
18671
18671
  * }
@@ -18781,7 +18781,7 @@ export interface components {
18781
18781
  */
18782
18782
  client_secret_last_4?: string | null;
18783
18783
  /**
18784
- * @description The connection-level configuration values stored for this connection — the fields the provider declares at `installation` scope, excluding any it declares as secret. Only present when `auth_method` is `client_credentials`.
18784
+ * @description The connection-level configuration values stored for this connection — the fields the provider declares at `installation` scope, excluding secret and undeclared fields. Returned for every authentication method; empty when no stored values can be disclosed.
18785
18785
  * @example {
18786
18786
  * "instance_url": "https://example.my.salesforce.com"
18787
18787
  * }
@@ -28129,6 +28129,30 @@ export interface operations {
28129
28129
  * @example Request could not be processed.
28130
28130
  */
28131
28131
  message: string;
28132
+ } | {
28133
+ /**
28134
+ * @description The error code identifying the type of error.
28135
+ * @example resource_limit_exceeded
28136
+ * @constant
28137
+ */
28138
+ code: "resource_limit_exceeded";
28139
+ /**
28140
+ * @description A human-readable description of the error.
28141
+ * @example Request could not be processed.
28142
+ */
28143
+ message: string;
28144
+ } | {
28145
+ /**
28146
+ * @description The error code identifying the type of error.
28147
+ * @example too_many_sp_encryption_certs
28148
+ * @constant
28149
+ */
28150
+ code: "too_many_sp_encryption_certs";
28151
+ /**
28152
+ * @description A human-readable description of the error.
28153
+ * @example Request could not be processed.
28154
+ */
28155
+ message: string;
28132
28156
  };
28133
28157
  };
28134
28158
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.114.0",
3
+ "version": "0.116.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",