@verdocs/js-sdk 4.2.82 → 4.2.84
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/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2265,7 +2265,7 @@ const updateOrganizationThumbnail = (endpoint, organizationId, file, onUploadPro
|
|
|
2265
2265
|
* ```
|
|
2266
2266
|
*/
|
|
2267
2267
|
const getWebhooks = (endpoint) => endpoint.api //
|
|
2268
|
-
.get(`/v2/webhooks
|
|
2268
|
+
.get(`/v2/webhooks`)
|
|
2269
2269
|
.then((r) => r.data);
|
|
2270
2270
|
/**
|
|
2271
2271
|
* Update the registered Webhook configuration for the caller's organization. Note that
|
|
@@ -2279,7 +2279,7 @@ const getWebhooks = (endpoint) => endpoint.api //
|
|
|
2279
2279
|
* ```
|
|
2280
2280
|
*/
|
|
2281
2281
|
const setWebhooks = (endpoint, params) => endpoint.api //
|
|
2282
|
-
.patch(`/v2/webhooks
|
|
2282
|
+
.patch(`/v2/webhooks`, params)
|
|
2283
2283
|
.then((r) => r.data);
|
|
2284
2284
|
|
|
2285
2285
|
/**
|
|
@@ -2847,7 +2847,7 @@ const createTemplateFromSharepoint = (endpoint, params) => {
|
|
|
2847
2847
|
* ```
|
|
2848
2848
|
*/
|
|
2849
2849
|
const updateTemplate = (endpoint, templateId, params) => endpoint.api //
|
|
2850
|
-
.
|
|
2850
|
+
.patch(`/v2/templates/${templateId}`, params)
|
|
2851
2851
|
.then((r) => r.data);
|
|
2852
2852
|
/**
|
|
2853
2853
|
* Delete a template.
|