@savvycal/appointments-core 1.3.0 → 1.4.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.d.cts CHANGED
@@ -2186,9 +2186,7 @@ interface components {
2186
2186
  * "id": "bi_abc123def456abc123def456",
2187
2187
  * "locked_fields": [
2188
2188
  * "provider_id",
2189
- * "start_at",
2190
- * "end_at",
2191
- * "time_zone"
2189
+ * "slot"
2192
2190
  * ],
2193
2191
  * "metadata": {
2194
2192
  * "source": "web"
@@ -2458,7 +2456,7 @@ interface components {
2458
2456
  */
2459
2457
  end_at?: string | null;
2460
2458
  /** @description Fields to lock from public API updates. */
2461
- locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[] | null;
2459
+ locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[] | null;
2462
2460
  /** @description Custom metadata key-value pairs. */
2463
2461
  metadata?: {
2464
2462
  [key: string]: unknown;
@@ -2519,9 +2517,7 @@ interface components {
2519
2517
  * "id": "bi_abc123def456abc123def456",
2520
2518
  * "locked_fields": [
2521
2519
  * "provider_id",
2522
- * "start_at",
2523
- * "end_at",
2524
- * "time_zone"
2520
+ * "slot"
2525
2521
  * ],
2526
2522
  * "metadata": {
2527
2523
  * "source": "web"
@@ -3093,9 +3089,7 @@ interface components {
3093
3089
  * "id": "bi_abc123def456abc123def456",
3094
3090
  * "locked_fields": [
3095
3091
  * "provider_id",
3096
- * "start_at",
3097
- * "end_at",
3098
- * "time_zone"
3092
+ * "slot"
3099
3093
  * ],
3100
3094
  * "metadata": {
3101
3095
  * "source": "web"
@@ -3542,9 +3536,7 @@ interface components {
3542
3536
  * "id": "bi_abc123def456abc123def456",
3543
3537
  * "locked_fields": [
3544
3538
  * "provider_id",
3545
- * "start_at",
3546
- * "end_at",
3547
- * "time_zone"
3539
+ * "slot"
3548
3540
  * ],
3549
3541
  * "metadata": {
3550
3542
  * "source": "web"
@@ -3908,9 +3900,7 @@ interface components {
3908
3900
  * "id": "bi_abc123def456abc123def456",
3909
3901
  * "locked_fields": [
3910
3902
  * "provider_id",
3911
- * "start_at",
3912
- * "end_at",
3913
- * "time_zone"
3903
+ * "slot"
3914
3904
  * ],
3915
3905
  * "metadata": {
3916
3906
  * "source": "web"
@@ -5441,7 +5431,7 @@ interface components {
5441
5431
  */
5442
5432
  end_at?: string | null;
5443
5433
  /** @description Fields to lock from public API updates. Replaces existing locked_fields entirely. */
5444
- locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[] | null;
5434
+ locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[] | null;
5445
5435
  /** @description Custom metadata key-value pairs. Replaces existing metadata entirely. */
5446
5436
  metadata?: {
5447
5437
  [key: string]: unknown;
@@ -7420,7 +7410,7 @@ interface components {
7420
7410
  /** @description The booking intent ID */
7421
7411
  id: string;
7422
7412
  /** @description Fields that are locked and cannot be updated via the public API. */
7423
- locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
7413
+ locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
7424
7414
  /**
7425
7415
  * @description The object type
7426
7416
  * @enum {string}
@@ -8609,9 +8599,7 @@ interface components {
8609
8599
  * "id": "bi_abc123def456abc123def456",
8610
8600
  * "locked_fields": [
8611
8601
  * "provider_id",
8612
- * "start_at",
8613
- * "end_at",
8614
- * "time_zone"
8602
+ * "slot"
8615
8603
  * ],
8616
8604
  * "metadata": {
8617
8605
  * "source": "web"
@@ -10102,9 +10090,7 @@ interface components {
10102
10090
  * "id": "bi_abc123def456abc123def456",
10103
10091
  * "locked_fields": [
10104
10092
  * "provider_id",
10105
- * "start_at",
10106
- * "end_at",
10107
- * "time_zone"
10093
+ * "slot"
10108
10094
  * ],
10109
10095
  * "metadata": {
10110
10096
  * "source": "web"
@@ -10286,7 +10272,7 @@ interface components {
10286
10272
  /** @description The booking intent ID */
10287
10273
  id: string;
10288
10274
  /** @description Fields that are locked and cannot be updated via the public API. */
10289
- locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
10275
+ locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
10290
10276
  /** @description Custom metadata key-value pairs */
10291
10277
  metadata?: {
10292
10278
  [key: string]: unknown;
@@ -16369,7 +16355,7 @@ declare function createBookingIntent(client: FetchClient, body: RequestBody<"/v1
16369
16355
  } | null;
16370
16356
  client_id?: string | null;
16371
16357
  end_at?: string | null;
16372
- locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[] | null;
16358
+ locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[] | null;
16373
16359
  metadata?: {
16374
16360
  [key: string]: unknown;
16375
16361
  } | null;
@@ -19921,7 +19907,7 @@ declare function updateBookingIntent(client: FetchClient, path: PathParams<"/v1/
19921
19907
  } | null;
19922
19908
  client_id?: string | null;
19923
19909
  end_at?: string | null;
19924
- locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[] | null;
19910
+ locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[] | null;
19925
19911
  metadata?: {
19926
19912
  [key: string]: unknown;
19927
19913
  } | null;
package/dist/index.d.ts CHANGED
@@ -2186,9 +2186,7 @@ interface components {
2186
2186
  * "id": "bi_abc123def456abc123def456",
2187
2187
  * "locked_fields": [
2188
2188
  * "provider_id",
2189
- * "start_at",
2190
- * "end_at",
2191
- * "time_zone"
2189
+ * "slot"
2192
2190
  * ],
2193
2191
  * "metadata": {
2194
2192
  * "source": "web"
@@ -2458,7 +2456,7 @@ interface components {
2458
2456
  */
2459
2457
  end_at?: string | null;
2460
2458
  /** @description Fields to lock from public API updates. */
2461
- locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[] | null;
2459
+ locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[] | null;
2462
2460
  /** @description Custom metadata key-value pairs. */
2463
2461
  metadata?: {
2464
2462
  [key: string]: unknown;
@@ -2519,9 +2517,7 @@ interface components {
2519
2517
  * "id": "bi_abc123def456abc123def456",
2520
2518
  * "locked_fields": [
2521
2519
  * "provider_id",
2522
- * "start_at",
2523
- * "end_at",
2524
- * "time_zone"
2520
+ * "slot"
2525
2521
  * ],
2526
2522
  * "metadata": {
2527
2523
  * "source": "web"
@@ -3093,9 +3089,7 @@ interface components {
3093
3089
  * "id": "bi_abc123def456abc123def456",
3094
3090
  * "locked_fields": [
3095
3091
  * "provider_id",
3096
- * "start_at",
3097
- * "end_at",
3098
- * "time_zone"
3092
+ * "slot"
3099
3093
  * ],
3100
3094
  * "metadata": {
3101
3095
  * "source": "web"
@@ -3542,9 +3536,7 @@ interface components {
3542
3536
  * "id": "bi_abc123def456abc123def456",
3543
3537
  * "locked_fields": [
3544
3538
  * "provider_id",
3545
- * "start_at",
3546
- * "end_at",
3547
- * "time_zone"
3539
+ * "slot"
3548
3540
  * ],
3549
3541
  * "metadata": {
3550
3542
  * "source": "web"
@@ -3908,9 +3900,7 @@ interface components {
3908
3900
  * "id": "bi_abc123def456abc123def456",
3909
3901
  * "locked_fields": [
3910
3902
  * "provider_id",
3911
- * "start_at",
3912
- * "end_at",
3913
- * "time_zone"
3903
+ * "slot"
3914
3904
  * ],
3915
3905
  * "metadata": {
3916
3906
  * "source": "web"
@@ -5441,7 +5431,7 @@ interface components {
5441
5431
  */
5442
5432
  end_at?: string | null;
5443
5433
  /** @description Fields to lock from public API updates. Replaces existing locked_fields entirely. */
5444
- locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[] | null;
5434
+ locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[] | null;
5445
5435
  /** @description Custom metadata key-value pairs. Replaces existing metadata entirely. */
5446
5436
  metadata?: {
5447
5437
  [key: string]: unknown;
@@ -7420,7 +7410,7 @@ interface components {
7420
7410
  /** @description The booking intent ID */
7421
7411
  id: string;
7422
7412
  /** @description Fields that are locked and cannot be updated via the public API. */
7423
- locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
7413
+ locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
7424
7414
  /**
7425
7415
  * @description The object type
7426
7416
  * @enum {string}
@@ -8609,9 +8599,7 @@ interface components {
8609
8599
  * "id": "bi_abc123def456abc123def456",
8610
8600
  * "locked_fields": [
8611
8601
  * "provider_id",
8612
- * "start_at",
8613
- * "end_at",
8614
- * "time_zone"
8602
+ * "slot"
8615
8603
  * ],
8616
8604
  * "metadata": {
8617
8605
  * "source": "web"
@@ -10102,9 +10090,7 @@ interface components {
10102
10090
  * "id": "bi_abc123def456abc123def456",
10103
10091
  * "locked_fields": [
10104
10092
  * "provider_id",
10105
- * "start_at",
10106
- * "end_at",
10107
- * "time_zone"
10093
+ * "slot"
10108
10094
  * ],
10109
10095
  * "metadata": {
10110
10096
  * "source": "web"
@@ -10286,7 +10272,7 @@ interface components {
10286
10272
  /** @description The booking intent ID */
10287
10273
  id: string;
10288
10274
  /** @description Fields that are locked and cannot be updated via the public API. */
10289
- locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[];
10275
+ locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[];
10290
10276
  /** @description Custom metadata key-value pairs */
10291
10277
  metadata?: {
10292
10278
  [key: string]: unknown;
@@ -16369,7 +16355,7 @@ declare function createBookingIntent(client: FetchClient, body: RequestBody<"/v1
16369
16355
  } | null;
16370
16356
  client_id?: string | null;
16371
16357
  end_at?: string | null;
16372
- locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[] | null;
16358
+ locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[] | null;
16373
16359
  metadata?: {
16374
16360
  [key: string]: unknown;
16375
16361
  } | null;
@@ -19921,7 +19907,7 @@ declare function updateBookingIntent(client: FetchClient, path: PathParams<"/v1/
19921
19907
  } | null;
19922
19908
  client_id?: string | null;
19923
19909
  end_at?: string | null;
19924
- locked_fields?: ("service_id" | "provider_id" | "start_at" | "end_at" | "time_zone" | "client_data" | "submissions")[] | null;
19910
+ locked_fields?: ("service_id" | "provider_id" | "slot" | "client_data" | "submissions")[] | null;
19925
19911
  metadata?: {
19926
19912
  [key: string]: unknown;
19927
19913
  } | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@savvycal/appointments-core",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "type": "module",
5
5
  "description": "JavaScript/TypeScript client library for the SavvyCal Appointments API",
6
6
  "main": "./dist/index.cjs",