@savvycal/appointments-core 0.2.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 CHANGED
@@ -83,6 +83,7 @@ __export(index_exports, {
83
83
  rescheduleAppointment: () => rescheduleAppointment,
84
84
  reschedulePublicAppointment: () => reschedulePublicAppointment,
85
85
  updateAccount: () => updateAccount,
86
+ updateAccountUser: () => updateAccountUser,
86
87
  updateBlock: () => updateBlock,
87
88
  updateCancellationReason: () => updateCancellationReason,
88
89
  updateClient: () => updateClient,
@@ -427,6 +428,12 @@ function updateAccount(client, path, body) {
427
428
  params: { path }
428
429
  });
429
430
  }
431
+ function updateAccountUser(client, path, body) {
432
+ return client.PATCH("/v1/users/{user_id}", {
433
+ body,
434
+ params: { path }
435
+ });
436
+ }
430
437
  function updateBlock(client, path, body) {
431
438
  return client.PATCH("/v1/blocks/{block_id}", {
432
439
  body,
@@ -518,6 +525,7 @@ function updateService(client, path, body) {
518
525
  rescheduleAppointment,
519
526
  reschedulePublicAppointment,
520
527
  updateAccount,
528
+ updateAccountUser,
521
529
  updateBlock,
522
530
  updateCancellationReason,
523
531
  updateClient,