@savvycal/appointments-core 0.1.0 → 0.3.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/index.cjs +8 -0
- package/dist/index.d.cts +2367 -356
- package/dist/index.d.ts +2367 -356
- package/dist/index.js +7 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -333,6 +333,12 @@ function updateAccount(client, path, body) {
|
|
|
333
333
|
params: { path }
|
|
334
334
|
});
|
|
335
335
|
}
|
|
336
|
+
function updateAccountUser(client, path, body) {
|
|
337
|
+
return client.PATCH("/v1/users/{user_id}", {
|
|
338
|
+
body,
|
|
339
|
+
params: { path }
|
|
340
|
+
});
|
|
341
|
+
}
|
|
336
342
|
function updateBlock(client, path, body) {
|
|
337
343
|
return client.PATCH("/v1/blocks/{block_id}", {
|
|
338
344
|
body,
|
|
@@ -423,6 +429,7 @@ export {
|
|
|
423
429
|
rescheduleAppointment,
|
|
424
430
|
reschedulePublicAppointment,
|
|
425
431
|
updateAccount,
|
|
432
|
+
updateAccountUser,
|
|
426
433
|
updateBlock,
|
|
427
434
|
updateCancellationReason,
|
|
428
435
|
updateClient,
|