@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.js
CHANGED
|
@@ -2267,7 +2267,7 @@ const updateOrganizationThumbnail = (endpoint, organizationId, file, onUploadPro
|
|
|
2267
2267
|
* ```
|
|
2268
2268
|
*/
|
|
2269
2269
|
const getWebhooks = (endpoint) => endpoint.api //
|
|
2270
|
-
.get(`/v2/webhooks
|
|
2270
|
+
.get(`/v2/webhooks`)
|
|
2271
2271
|
.then((r) => r.data);
|
|
2272
2272
|
/**
|
|
2273
2273
|
* Update the registered Webhook configuration for the caller's organization. Note that
|
|
@@ -2281,7 +2281,7 @@ const getWebhooks = (endpoint) => endpoint.api //
|
|
|
2281
2281
|
* ```
|
|
2282
2282
|
*/
|
|
2283
2283
|
const setWebhooks = (endpoint, params) => endpoint.api //
|
|
2284
|
-
.patch(`/v2/webhooks
|
|
2284
|
+
.patch(`/v2/webhooks`, params)
|
|
2285
2285
|
.then((r) => r.data);
|
|
2286
2286
|
|
|
2287
2287
|
/**
|
|
@@ -2849,7 +2849,7 @@ const createTemplateFromSharepoint = (endpoint, params) => {
|
|
|
2849
2849
|
* ```
|
|
2850
2850
|
*/
|
|
2851
2851
|
const updateTemplate = (endpoint, templateId, params) => endpoint.api //
|
|
2852
|
-
.
|
|
2852
|
+
.patch(`/v2/templates/${templateId}`, params)
|
|
2853
2853
|
.then((r) => r.data);
|
|
2854
2854
|
/**
|
|
2855
2855
|
* Delete a template.
|