@workos/openapi-spec 0.143.0 → 0.144.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.
- package/dist/open-api-spec.yaml +23 -7
- package/dist/types.d.ts +11 -1
- package/package.json +1 -1
package/dist/open-api-spec.yaml
CHANGED
|
@@ -12662,6 +12662,7 @@ paths:
|
|
|
12662
12662
|
- repo
|
|
12663
12663
|
- user:email
|
|
12664
12664
|
missing_scopes: []
|
|
12665
|
+
metadata: {}
|
|
12665
12666
|
config: {}
|
|
12666
12667
|
'400':
|
|
12667
12668
|
description: Bad Request
|
|
@@ -47928,6 +47929,18 @@ components:
|
|
|
47928
47929
|
the access token, they're listed here. Present for `oauth` and
|
|
47929
47930
|
`client_credentials` credentials; absent for `api_key`.
|
|
47930
47931
|
example: []
|
|
47932
|
+
metadata:
|
|
47933
|
+
type: object
|
|
47934
|
+
additionalProperties: {}
|
|
47935
|
+
description: >-
|
|
47936
|
+
Non-sensitive fields captured from the provider token response
|
|
47937
|
+
(e.g. Salesforce `instance_url`), as configured for the
|
|
47938
|
+
provider. Captured on OAuth code exchange and refresh, and on
|
|
47939
|
+
each `client_credentials` mint. A field a later OAuth refresh
|
|
47940
|
+
omits keeps its stored value. Present for `oauth` and
|
|
47941
|
+
`client_credentials` credentials; absent for `api_key`.
|
|
47942
|
+
example: &ref_39
|
|
47943
|
+
instance_url: https://acme.my.salesforce.com
|
|
47931
47944
|
config:
|
|
47932
47945
|
type: object
|
|
47933
47946
|
additionalProperties:
|
|
@@ -47951,6 +47964,7 @@ components:
|
|
|
47951
47964
|
- expires_at
|
|
47952
47965
|
- scopes
|
|
47953
47966
|
- missing_scopes
|
|
47967
|
+
- metadata
|
|
47954
47968
|
- config
|
|
47955
47969
|
- type: object
|
|
47956
47970
|
properties:
|
|
@@ -48047,9 +48061,11 @@ components:
|
|
|
48047
48061
|
description: >-
|
|
48048
48062
|
Non-sensitive fields captured from the provider token response
|
|
48049
48063
|
(e.g. Salesforce `instance_url`), as configured for the
|
|
48050
|
-
provider.
|
|
48051
|
-
|
|
48052
|
-
|
|
48064
|
+
provider. Captured on OAuth code exchange and refresh, and on
|
|
48065
|
+
each `client_credentials` mint. A field a later OAuth refresh
|
|
48066
|
+
omits keeps its stored value. Present for `oauth` and
|
|
48067
|
+
`client_credentials` credentials; absent for `api_key`.
|
|
48068
|
+
example: *ref_39
|
|
48053
48069
|
config:
|
|
48054
48070
|
type: object
|
|
48055
48071
|
additionalProperties:
|
|
@@ -48496,7 +48512,7 @@ components:
|
|
|
48496
48512
|
items:
|
|
48497
48513
|
type: string
|
|
48498
48514
|
description: The OAuth scopes granted for this connection.
|
|
48499
|
-
example: &
|
|
48515
|
+
example: &ref_40
|
|
48500
48516
|
- repo
|
|
48501
48517
|
- user:email
|
|
48502
48518
|
auth_method:
|
|
@@ -48546,7 +48562,7 @@ components:
|
|
|
48546
48562
|
`installation` scope, excluding secret and undeclared
|
|
48547
48563
|
fields. Returned for every authentication method;
|
|
48548
48564
|
empty when no stored values can be disclosed.
|
|
48549
|
-
example: &
|
|
48565
|
+
example: &ref_41
|
|
48550
48566
|
instance_url: https://example.my.salesforce.com
|
|
48551
48567
|
state:
|
|
48552
48568
|
type: string
|
|
@@ -48731,7 +48747,7 @@ components:
|
|
|
48731
48747
|
items:
|
|
48732
48748
|
type: string
|
|
48733
48749
|
description: The OAuth scopes granted for this connection.
|
|
48734
|
-
example: *
|
|
48750
|
+
example: *ref_40
|
|
48735
48751
|
auth_method:
|
|
48736
48752
|
type: string
|
|
48737
48753
|
enum:
|
|
@@ -48778,7 +48794,7 @@ components:
|
|
|
48778
48794
|
`installation` scope, excluding secret and undeclared
|
|
48779
48795
|
fields. Returned for every authentication method; empty
|
|
48780
48796
|
when no stored values can be disclosed.
|
|
48781
|
-
example: *
|
|
48797
|
+
example: *ref_41
|
|
48782
48798
|
state:
|
|
48783
48799
|
type: string
|
|
48784
48800
|
enum:
|
package/dist/types.d.ts
CHANGED
|
@@ -18551,6 +18551,15 @@ export interface components {
|
|
|
18551
18551
|
* @example []
|
|
18552
18552
|
*/
|
|
18553
18553
|
missing_scopes: string[];
|
|
18554
|
+
/**
|
|
18555
|
+
* @description Non-sensitive fields captured from the provider token response (e.g. Salesforce `instance_url`), as configured for the provider. Captured on OAuth code exchange and refresh, and on each `client_credentials` mint. A field a later OAuth refresh omits keeps its stored value. Present for `oauth` and `client_credentials` credentials; absent for `api_key`.
|
|
18556
|
+
* @example {
|
|
18557
|
+
* "instance_url": "https://acme.my.salesforce.com"
|
|
18558
|
+
* }
|
|
18559
|
+
*/
|
|
18560
|
+
metadata: {
|
|
18561
|
+
[key: string]: unknown;
|
|
18562
|
+
};
|
|
18554
18563
|
/**
|
|
18555
18564
|
* @description Provider-declared, non-secret config from the installation snapshot, with current defaults for unset fields. Includes both integration- and installation-scope fields; omits undeclared fields and fields marked secret. Use these values to address a per-tenant host, such as Snowflake's `account` or Zendesk's `subdomain`. Empty when no values are disclosable. Changes to integration or organization pins require reconnecting or explicitly rebinding the connection. Defaults are live and can differ from a cached token's audience until refresh or re-mint.
|
|
18556
18565
|
* @example {
|
|
@@ -18621,7 +18630,7 @@ export interface components {
|
|
|
18621
18630
|
*/
|
|
18622
18631
|
missing_scopes: string[];
|
|
18623
18632
|
/**
|
|
18624
|
-
* @description Non-sensitive fields captured from the provider token response (e.g. Salesforce `instance_url`), as configured for the provider.
|
|
18633
|
+
* @description Non-sensitive fields captured from the provider token response (e.g. Salesforce `instance_url`), as configured for the provider. Captured on OAuth code exchange and refresh, and on each `client_credentials` mint. A field a later OAuth refresh omits keeps its stored value. Present for `oauth` and `client_credentials` credentials; absent for `api_key`.
|
|
18625
18634
|
* @example {
|
|
18626
18635
|
* "instance_url": "https://acme.my.salesforce.com"
|
|
18627
18636
|
* }
|
|
@@ -31716,6 +31725,7 @@ export interface operations {
|
|
|
31716
31725
|
* "user:email"
|
|
31717
31726
|
* ],
|
|
31718
31727
|
* "missing_scopes": [],
|
|
31728
|
+
* "metadata": {},
|
|
31719
31729
|
* "config": {}
|
|
31720
31730
|
* }
|
|
31721
31731
|
* }
|