@workos/openapi-spec 0.175.0 → 0.176.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 +36 -0
- package/dist/services.mjs +5 -0
- package/dist/types.d.ts +69 -0
- package/package.json +1 -1
package/dist/open-api-spec.yaml
CHANGED
|
@@ -15043,6 +15043,42 @@ paths:
|
|
|
15043
15043
|
summary: List CORS origins
|
|
15044
15044
|
tags:
|
|
15045
15045
|
- user-management.cors-origins
|
|
15046
|
+
/user_management/cors_origins/{id}:
|
|
15047
|
+
delete:
|
|
15048
|
+
description: Deletes a CORS origin from the API key's application.
|
|
15049
|
+
operationId: CorsOriginsController_delete
|
|
15050
|
+
parameters:
|
|
15051
|
+
- name: id
|
|
15052
|
+
required: true
|
|
15053
|
+
in: path
|
|
15054
|
+
description: The ID of the CORS origin to delete.
|
|
15055
|
+
schema:
|
|
15056
|
+
type: string
|
|
15057
|
+
example: cors_origin_01HXYZ123456789ABCDEFGHIJ
|
|
15058
|
+
responses:
|
|
15059
|
+
'204':
|
|
15060
|
+
description: CORS origin deleted successfully.
|
|
15061
|
+
'401':
|
|
15062
|
+
description: Unauthorized
|
|
15063
|
+
content:
|
|
15064
|
+
application/json:
|
|
15065
|
+
schema:
|
|
15066
|
+
$ref: '#/components/schemas/ErrorBody'
|
|
15067
|
+
example:
|
|
15068
|
+
message: Unauthorized
|
|
15069
|
+
'404':
|
|
15070
|
+
description: CORS origin not found.
|
|
15071
|
+
content:
|
|
15072
|
+
application/json:
|
|
15073
|
+
schema:
|
|
15074
|
+
$ref: '#/components/schemas/ErrorBody'
|
|
15075
|
+
example:
|
|
15076
|
+
message: >-
|
|
15077
|
+
CORS origin not found:
|
|
15078
|
+
'cors_origin_01HXYZ123456789ABCDEFGHIJ'.
|
|
15079
|
+
summary: Delete a CORS origin
|
|
15080
|
+
tags:
|
|
15081
|
+
- user-management.cors-origins
|
|
15046
15082
|
/user_management/email_verification/{id}:
|
|
15047
15083
|
get:
|
|
15048
15084
|
description: >-
|
package/dist/services.mjs
CHANGED
|
@@ -1119,6 +1119,11 @@ const serviceEndpoints = {
|
|
|
1119
1119
|
"path": "/user_management/cors_origins",
|
|
1120
1120
|
"name": "create_cors_origin"
|
|
1121
1121
|
},
|
|
1122
|
+
{
|
|
1123
|
+
"method": "DELETE",
|
|
1124
|
+
"path": "/user_management/cors_origins/{id}",
|
|
1125
|
+
"name": "delete_cors_origin"
|
|
1126
|
+
},
|
|
1122
1127
|
{
|
|
1123
1128
|
"method": "GET",
|
|
1124
1129
|
"path": "/user_management/email_verification/{id}",
|
package/dist/types.d.ts
CHANGED
|
@@ -2906,6 +2906,26 @@ export interface paths {
|
|
|
2906
2906
|
patch?: never;
|
|
2907
2907
|
trace?: never;
|
|
2908
2908
|
};
|
|
2909
|
+
"/user_management/cors_origins/{id}": {
|
|
2910
|
+
parameters: {
|
|
2911
|
+
query?: never;
|
|
2912
|
+
header?: never;
|
|
2913
|
+
path?: never;
|
|
2914
|
+
cookie?: never;
|
|
2915
|
+
};
|
|
2916
|
+
get?: never;
|
|
2917
|
+
put?: never;
|
|
2918
|
+
post?: never;
|
|
2919
|
+
/**
|
|
2920
|
+
* Delete a CORS origin
|
|
2921
|
+
* @description Deletes a CORS origin from the API key's application.
|
|
2922
|
+
*/
|
|
2923
|
+
delete: operations["CorsOriginsController_delete"];
|
|
2924
|
+
options?: never;
|
|
2925
|
+
head?: never;
|
|
2926
|
+
patch?: never;
|
|
2927
|
+
trace?: never;
|
|
2928
|
+
};
|
|
2909
2929
|
"/user_management/email_verification/{id}": {
|
|
2910
2930
|
parameters: {
|
|
2911
2931
|
query?: never;
|
|
@@ -36705,6 +36725,55 @@ export interface operations {
|
|
|
36705
36725
|
};
|
|
36706
36726
|
};
|
|
36707
36727
|
};
|
|
36728
|
+
CorsOriginsController_delete: {
|
|
36729
|
+
parameters: {
|
|
36730
|
+
query?: never;
|
|
36731
|
+
header?: never;
|
|
36732
|
+
path: {
|
|
36733
|
+
/** @description The ID of the CORS origin to delete. */
|
|
36734
|
+
id: string;
|
|
36735
|
+
};
|
|
36736
|
+
cookie?: never;
|
|
36737
|
+
};
|
|
36738
|
+
requestBody?: never;
|
|
36739
|
+
responses: {
|
|
36740
|
+
/** @description CORS origin deleted successfully. */
|
|
36741
|
+
204: {
|
|
36742
|
+
headers: {
|
|
36743
|
+
[name: string]: unknown;
|
|
36744
|
+
};
|
|
36745
|
+
content?: never;
|
|
36746
|
+
};
|
|
36747
|
+
/** @description Unauthorized */
|
|
36748
|
+
401: {
|
|
36749
|
+
headers: {
|
|
36750
|
+
[name: string]: unknown;
|
|
36751
|
+
};
|
|
36752
|
+
content: {
|
|
36753
|
+
/**
|
|
36754
|
+
* @example {
|
|
36755
|
+
* "message": "Unauthorized"
|
|
36756
|
+
* }
|
|
36757
|
+
*/
|
|
36758
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
36759
|
+
};
|
|
36760
|
+
};
|
|
36761
|
+
/** @description CORS origin not found. */
|
|
36762
|
+
404: {
|
|
36763
|
+
headers: {
|
|
36764
|
+
[name: string]: unknown;
|
|
36765
|
+
};
|
|
36766
|
+
content: {
|
|
36767
|
+
/**
|
|
36768
|
+
* @example {
|
|
36769
|
+
* "message": "CORS origin not found: 'cors_origin_01HXYZ123456789ABCDEFGHIJ'."
|
|
36770
|
+
* }
|
|
36771
|
+
*/
|
|
36772
|
+
"application/json": components["schemas"]["ErrorBody"];
|
|
36773
|
+
};
|
|
36774
|
+
};
|
|
36775
|
+
};
|
|
36776
|
+
};
|
|
36708
36777
|
UserlandUsersController_getEmailVerification: {
|
|
36709
36778
|
parameters: {
|
|
36710
36779
|
query?: never;
|