@workos/openapi-spec 0.157.0 → 0.158.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 +7 -7
- package/dist/types.d.ts +5 -5
- package/package.json +1 -1
package/dist/open-api-spec.yaml
CHANGED
|
@@ -6146,8 +6146,8 @@ paths:
|
|
|
6146
6146
|
/client/token:
|
|
6147
6147
|
post:
|
|
6148
6148
|
description: >-
|
|
6149
|
-
Generate a short-lived, session-bound token for the
|
|
6150
|
-
|
|
6149
|
+
Generate a short-lived, session-bound token for the Widgets API, scoped
|
|
6150
|
+
to an organization and user.
|
|
6151
6151
|
operationId: ClientApiTokenController_issueClientApiToken
|
|
6152
6152
|
parameters: []
|
|
6153
6153
|
requestBody:
|
|
@@ -6181,7 +6181,7 @@ paths:
|
|
|
6181
6181
|
application/json:
|
|
6182
6182
|
schema:
|
|
6183
6183
|
$ref: '#/components/schemas/ErrorBody'
|
|
6184
|
-
summary: Generate a
|
|
6184
|
+
summary: Generate a Widgets API token
|
|
6185
6185
|
tags:
|
|
6186
6186
|
- client
|
|
6187
6187
|
/connect/applications:
|
|
@@ -19294,7 +19294,7 @@ tags:
|
|
|
19294
19294
|
- name: authorization
|
|
19295
19295
|
description: Authorization and access control.
|
|
19296
19296
|
- name: client
|
|
19297
|
-
description:
|
|
19297
|
+
description: Widgets API token management.
|
|
19298
19298
|
- name: connections
|
|
19299
19299
|
description: Manage SSO connections.
|
|
19300
19300
|
- name: directories
|
|
@@ -23744,11 +23744,11 @@ components:
|
|
|
23744
23744
|
properties:
|
|
23745
23745
|
organization_id:
|
|
23746
23746
|
type: string
|
|
23747
|
-
description: The ID of the organization to scope the
|
|
23747
|
+
description: The ID of the organization to scope the Widgets API token to.
|
|
23748
23748
|
example: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
23749
23749
|
user_id:
|
|
23750
23750
|
type: string
|
|
23751
|
-
description: The ID of the user to issue the
|
|
23751
|
+
description: The ID of the user to issue the Widgets API token for.
|
|
23752
23752
|
example: user_01E4ZCR3C56J083X43JQXF3JK5
|
|
23753
23753
|
required:
|
|
23754
23754
|
- organization_id
|
|
@@ -44713,7 +44713,7 @@ components:
|
|
|
44713
44713
|
properties:
|
|
44714
44714
|
token:
|
|
44715
44715
|
type: string
|
|
44716
|
-
description: The
|
|
44716
|
+
description: The Widgets API token.
|
|
44717
44717
|
example: eyJhbGciOiJSUzI1NiIsImtpZCI6InNlc3Npb24...
|
|
44718
44718
|
required:
|
|
44719
44719
|
- token
|
package/dist/types.d.ts
CHANGED
|
@@ -1141,8 +1141,8 @@ export interface paths {
|
|
|
1141
1141
|
get?: never;
|
|
1142
1142
|
put?: never;
|
|
1143
1143
|
/**
|
|
1144
|
-
* Generate a
|
|
1145
|
-
* @description Generate a short-lived, session-bound token for the
|
|
1144
|
+
* Generate a Widgets API token
|
|
1145
|
+
* @description Generate a short-lived, session-bound token for the Widgets API, scoped to an organization and user.
|
|
1146
1146
|
*/
|
|
1147
1147
|
post: operations["ClientApiTokenController_issueClientApiToken"];
|
|
1148
1148
|
delete?: never;
|
|
@@ -6508,12 +6508,12 @@ export interface components {
|
|
|
6508
6508
|
};
|
|
6509
6509
|
ClientApiTokenDto: {
|
|
6510
6510
|
/**
|
|
6511
|
-
* @description The ID of the organization to scope the
|
|
6511
|
+
* @description The ID of the organization to scope the Widgets API token to.
|
|
6512
6512
|
* @example org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
6513
6513
|
*/
|
|
6514
6514
|
organization_id: string;
|
|
6515
6515
|
/**
|
|
6516
|
-
* @description The ID of the user to issue the
|
|
6516
|
+
* @description The ID of the user to issue the Widgets API token for.
|
|
6517
6517
|
* @example user_01E4ZCR3C56J083X43JQXF3JK5
|
|
6518
6518
|
*/
|
|
6519
6519
|
user_id: string;
|
|
@@ -22814,7 +22814,7 @@ export interface components {
|
|
|
22814
22814
|
};
|
|
22815
22815
|
ClientApiTokenResponse: {
|
|
22816
22816
|
/**
|
|
22817
|
-
* @description The
|
|
22817
|
+
* @description The Widgets API token.
|
|
22818
22818
|
* @example eyJhbGciOiJSUzI1NiIsImtpZCI6InNlc3Npb24...
|
|
22819
22819
|
*/
|
|
22820
22820
|
token: string;
|