@workos/openapi-spec 0.176.0 → 0.177.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 +27 -0
- package/dist/services.mjs +5 -0
- package/dist/types.d.ts +37 -1
- package/package.json +1 -1
package/dist/open-api-spec.yaml
CHANGED
|
@@ -19752,6 +19752,33 @@ paths:
|
|
|
19752
19752
|
tags:
|
|
19753
19753
|
- webhooks
|
|
19754
19754
|
/webhook_endpoints/{id}:
|
|
19755
|
+
get:
|
|
19756
|
+
description: Get the details of an existing webhook endpoint.
|
|
19757
|
+
operationId: WebhookEndpointsController_get
|
|
19758
|
+
parameters:
|
|
19759
|
+
- name: id
|
|
19760
|
+
required: true
|
|
19761
|
+
in: path
|
|
19762
|
+
description: Unique identifier of the Webhook Endpoint.
|
|
19763
|
+
schema:
|
|
19764
|
+
type: string
|
|
19765
|
+
example: we_0123456789
|
|
19766
|
+
responses:
|
|
19767
|
+
'200':
|
|
19768
|
+
description: Webhook endpoint retrieved successfully.
|
|
19769
|
+
content:
|
|
19770
|
+
application/json:
|
|
19771
|
+
schema:
|
|
19772
|
+
$ref: '#/components/schemas/WebhookEndpointJson'
|
|
19773
|
+
'404':
|
|
19774
|
+
description: Webhook endpoint not found.
|
|
19775
|
+
content:
|
|
19776
|
+
application/json:
|
|
19777
|
+
schema:
|
|
19778
|
+
$ref: '#/components/schemas/ErrorBodyWithCode'
|
|
19779
|
+
summary: Get a Webhook Endpoint
|
|
19780
|
+
tags:
|
|
19781
|
+
- webhooks
|
|
19755
19782
|
patch:
|
|
19756
19783
|
description: Update the properties of an existing webhook endpoint.
|
|
19757
19784
|
operationId: WebhookEndpointsController_update
|
package/dist/services.mjs
CHANGED
|
@@ -1423,6 +1423,11 @@ const serviceEndpoints = {
|
|
|
1423
1423
|
"path": "/webhook_endpoints/{id}",
|
|
1424
1424
|
"name": "delete_webhook_endpoint"
|
|
1425
1425
|
},
|
|
1426
|
+
{
|
|
1427
|
+
"method": "GET",
|
|
1428
|
+
"path": "/webhook_endpoints/{id}",
|
|
1429
|
+
"name": "get_webhook_endpoint"
|
|
1430
|
+
},
|
|
1426
1431
|
{
|
|
1427
1432
|
"method": "PATCH",
|
|
1428
1433
|
"path": "/webhook_endpoints/{id}",
|
package/dist/types.d.ts
CHANGED
|
@@ -4125,7 +4125,11 @@ export interface paths {
|
|
|
4125
4125
|
path?: never;
|
|
4126
4126
|
cookie?: never;
|
|
4127
4127
|
};
|
|
4128
|
-
|
|
4128
|
+
/**
|
|
4129
|
+
* Get a Webhook Endpoint
|
|
4130
|
+
* @description Get the details of an existing webhook endpoint.
|
|
4131
|
+
*/
|
|
4132
|
+
get: operations["WebhookEndpointsController_get"];
|
|
4129
4133
|
put?: never;
|
|
4130
4134
|
post?: never;
|
|
4131
4135
|
/**
|
|
@@ -40804,6 +40808,38 @@ export interface operations {
|
|
|
40804
40808
|
};
|
|
40805
40809
|
};
|
|
40806
40810
|
};
|
|
40811
|
+
WebhookEndpointsController_get: {
|
|
40812
|
+
parameters: {
|
|
40813
|
+
query?: never;
|
|
40814
|
+
header?: never;
|
|
40815
|
+
path: {
|
|
40816
|
+
/** @description Unique identifier of the Webhook Endpoint. */
|
|
40817
|
+
id: string;
|
|
40818
|
+
};
|
|
40819
|
+
cookie?: never;
|
|
40820
|
+
};
|
|
40821
|
+
requestBody?: never;
|
|
40822
|
+
responses: {
|
|
40823
|
+
/** @description Webhook endpoint retrieved successfully. */
|
|
40824
|
+
200: {
|
|
40825
|
+
headers: {
|
|
40826
|
+
[name: string]: unknown;
|
|
40827
|
+
};
|
|
40828
|
+
content: {
|
|
40829
|
+
"application/json": components["schemas"]["WebhookEndpointJson"];
|
|
40830
|
+
};
|
|
40831
|
+
};
|
|
40832
|
+
/** @description Webhook endpoint not found. */
|
|
40833
|
+
404: {
|
|
40834
|
+
headers: {
|
|
40835
|
+
[name: string]: unknown;
|
|
40836
|
+
};
|
|
40837
|
+
content: {
|
|
40838
|
+
"application/json": components["schemas"]["ErrorBodyWithCode"];
|
|
40839
|
+
};
|
|
40840
|
+
};
|
|
40841
|
+
};
|
|
40842
|
+
};
|
|
40807
40843
|
WebhookEndpointsController_delete: {
|
|
40808
40844
|
parameters: {
|
|
40809
40845
|
query?: never;
|