@workos/openapi-spec 0.142.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 +25 -7
- package/dist/types.d.ts +12 -2
- 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
|
|
@@ -32166,6 +32167,8 @@ components:
|
|
|
32166
32167
|
type: string
|
|
32167
32168
|
enum:
|
|
32168
32169
|
- widgets:users-table:manage
|
|
32170
|
+
- widgets:user-api-keys:manage-self
|
|
32171
|
+
- widgets:user-api-keys:manage-all
|
|
32169
32172
|
- widgets:domain-verification:manage
|
|
32170
32173
|
- widgets:sso:manage
|
|
32171
32174
|
- widgets:api-keys:manage
|
|
@@ -47926,6 +47929,18 @@ components:
|
|
|
47926
47929
|
the access token, they're listed here. Present for `oauth` and
|
|
47927
47930
|
`client_credentials` credentials; absent for `api_key`.
|
|
47928
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
|
|
47929
47944
|
config:
|
|
47930
47945
|
type: object
|
|
47931
47946
|
additionalProperties:
|
|
@@ -47949,6 +47964,7 @@ components:
|
|
|
47949
47964
|
- expires_at
|
|
47950
47965
|
- scopes
|
|
47951
47966
|
- missing_scopes
|
|
47967
|
+
- metadata
|
|
47952
47968
|
- config
|
|
47953
47969
|
- type: object
|
|
47954
47970
|
properties:
|
|
@@ -48045,9 +48061,11 @@ components:
|
|
|
48045
48061
|
description: >-
|
|
48046
48062
|
Non-sensitive fields captured from the provider token response
|
|
48047
48063
|
(e.g. Salesforce `instance_url`), as configured for the
|
|
48048
|
-
provider.
|
|
48049
|
-
|
|
48050
|
-
|
|
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
|
|
48051
48069
|
config:
|
|
48052
48070
|
type: object
|
|
48053
48071
|
additionalProperties:
|
|
@@ -48494,7 +48512,7 @@ components:
|
|
|
48494
48512
|
items:
|
|
48495
48513
|
type: string
|
|
48496
48514
|
description: The OAuth scopes granted for this connection.
|
|
48497
|
-
example: &
|
|
48515
|
+
example: &ref_40
|
|
48498
48516
|
- repo
|
|
48499
48517
|
- user:email
|
|
48500
48518
|
auth_method:
|
|
@@ -48544,7 +48562,7 @@ components:
|
|
|
48544
48562
|
`installation` scope, excluding secret and undeclared
|
|
48545
48563
|
fields. Returned for every authentication method;
|
|
48546
48564
|
empty when no stored values can be disclosed.
|
|
48547
|
-
example: &
|
|
48565
|
+
example: &ref_41
|
|
48548
48566
|
instance_url: https://example.my.salesforce.com
|
|
48549
48567
|
state:
|
|
48550
48568
|
type: string
|
|
@@ -48729,7 +48747,7 @@ components:
|
|
|
48729
48747
|
items:
|
|
48730
48748
|
type: string
|
|
48731
48749
|
description: The OAuth scopes granted for this connection.
|
|
48732
|
-
example: *
|
|
48750
|
+
example: *ref_40
|
|
48733
48751
|
auth_method:
|
|
48734
48752
|
type: string
|
|
48735
48753
|
enum:
|
|
@@ -48776,7 +48794,7 @@ components:
|
|
|
48776
48794
|
`installation` scope, excluding secret and undeclared
|
|
48777
48795
|
fields. Returned for every authentication method; empty
|
|
48778
48796
|
when no stored values can be disclosed.
|
|
48779
|
-
example: *
|
|
48797
|
+
example: *ref_41
|
|
48780
48798
|
state:
|
|
48781
48799
|
type: string
|
|
48782
48800
|
enum:
|
package/dist/types.d.ts
CHANGED
|
@@ -6420,7 +6420,7 @@ export interface components {
|
|
|
6420
6420
|
* "widgets:users-table:manage"
|
|
6421
6421
|
* ]
|
|
6422
6422
|
*/
|
|
6423
|
-
scopes?: ("widgets:users-table:manage" | "widgets:domain-verification:manage" | "widgets:sso:manage" | "widgets:api-keys:manage" | "widgets:dsync:manage" | "widgets:audit-log-streaming:manage" | "widgets:pipes:manage")[];
|
|
6423
|
+
scopes?: ("widgets:users-table:manage" | "widgets:user-api-keys:manage-self" | "widgets:user-api-keys:manage-all" | "widgets:domain-verification:manage" | "widgets:sso:manage" | "widgets:api-keys:manage" | "widgets:dsync:manage" | "widgets:audit-log-streaming:manage" | "widgets:pipes:manage")[];
|
|
6424
6424
|
};
|
|
6425
6425
|
ClientApiTokenDto: {
|
|
6426
6426
|
/**
|
|
@@ -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
|
* }
|