@savvycal/appointments-core 0.9.0 → 0.11.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 +62 -5
- package/dist/index.d.ts +62 -5
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1351,7 +1351,24 @@ interface components {
|
|
|
1351
1351
|
* "unix_ts": 1736461200,
|
|
1352
1352
|
* "utc": "2025-03-01T03:00:00Z"
|
|
1353
1353
|
* },
|
|
1354
|
-
* "status": "scheduled"
|
|
1354
|
+
* "status": "scheduled",
|
|
1355
|
+
* "urls": {
|
|
1356
|
+
* "add_to_calendar": [
|
|
1357
|
+
* "https://example.com/c/appointments/appt_a1b2c3d4e5f6/add_to_calendar"
|
|
1358
|
+
* ],
|
|
1359
|
+
* "add_to_google_calendar": [
|
|
1360
|
+
* "https://example.com/c/appointments/appt_a1b2c3d4e5f6/add_to_google_calendar"
|
|
1361
|
+
* ],
|
|
1362
|
+
* "cancel": [
|
|
1363
|
+
* "https://example.com/c/appointments/appt_a1b2c3d4e5f6/cancel"
|
|
1364
|
+
* ],
|
|
1365
|
+
* "ics": [
|
|
1366
|
+
* "https://example.com/c/appointments/appt_a1b2c3d4e5f6/ics"
|
|
1367
|
+
* ],
|
|
1368
|
+
* "reschedule": [
|
|
1369
|
+
* "https://example.com/c/appointments/appt_a1b2c3d4e5f6/reschedule"
|
|
1370
|
+
* ]
|
|
1371
|
+
* }
|
|
1355
1372
|
* }
|
|
1356
1373
|
*/
|
|
1357
1374
|
PublicAppointment: {
|
|
@@ -1466,6 +1483,19 @@ interface components {
|
|
|
1466
1483
|
* @enum {string}
|
|
1467
1484
|
*/
|
|
1468
1485
|
status: "scheduled" | "canceled";
|
|
1486
|
+
/** @description URLs related to the appointment for client-facing actions. */
|
|
1487
|
+
urls: {
|
|
1488
|
+
/** @description URLs for adding the appointment to a calendar. */
|
|
1489
|
+
add_to_calendar: string[];
|
|
1490
|
+
/** @description URLs for adding the appointment to Google Calendar. */
|
|
1491
|
+
add_to_google_calendar: string[];
|
|
1492
|
+
/** @description URLs for canceling the appointment. */
|
|
1493
|
+
cancel: string[];
|
|
1494
|
+
/** @description URLs for downloading an ICS file for the appointment. */
|
|
1495
|
+
ics: string[];
|
|
1496
|
+
/** @description URLs for rescheduling the appointment. */
|
|
1497
|
+
reschedule: string[];
|
|
1498
|
+
};
|
|
1469
1499
|
};
|
|
1470
1500
|
/**
|
|
1471
1501
|
* BlocksResponse
|
|
@@ -2609,6 +2639,8 @@ interface components {
|
|
|
2609
2639
|
*/
|
|
2610
2640
|
GenericErrorResponse: {
|
|
2611
2641
|
errors: {
|
|
2642
|
+
/** @description Machine-readable error code (e.g. slot_unavailable, no_available_provider) */
|
|
2643
|
+
code?: string | null;
|
|
2612
2644
|
/** @description Error message */
|
|
2613
2645
|
detail: string;
|
|
2614
2646
|
/** @description HTTP status code */
|
|
@@ -12929,13 +12961,21 @@ interface components {
|
|
|
12929
12961
|
BlockResponse: {
|
|
12930
12962
|
data: components["schemas"]["Block"];
|
|
12931
12963
|
};
|
|
12932
|
-
/**
|
|
12964
|
+
/**
|
|
12965
|
+
* JsonErrorResponse
|
|
12966
|
+
* @description Response schema for validation errors
|
|
12967
|
+
*/
|
|
12933
12968
|
JsonErrorResponse: {
|
|
12934
12969
|
errors: {
|
|
12935
|
-
/**
|
|
12970
|
+
/**
|
|
12971
|
+
* @description Machine-readable error code (e.g. slot_unavailable, no_available_provider, time_range_conflict)
|
|
12972
|
+
* @example slot_unavailable
|
|
12973
|
+
*/
|
|
12974
|
+
code?: string | null;
|
|
12975
|
+
/** @example is not available */
|
|
12936
12976
|
detail: string;
|
|
12937
12977
|
source: {
|
|
12938
|
-
/** @example /
|
|
12978
|
+
/** @example /start_at */
|
|
12939
12979
|
pointer: string;
|
|
12940
12980
|
};
|
|
12941
12981
|
/** @example Invalid value */
|
|
@@ -13836,7 +13876,24 @@ interface components {
|
|
|
13836
13876
|
* "unix_ts": 1736461200,
|
|
13837
13877
|
* "utc": "2025-03-01T03:00:00Z"
|
|
13838
13878
|
* },
|
|
13839
|
-
* "status": "scheduled"
|
|
13879
|
+
* "status": "scheduled",
|
|
13880
|
+
* "urls": {
|
|
13881
|
+
* "add_to_calendar": [
|
|
13882
|
+
* "https://example.com/c/appointments/appt_a1b2c3d4e5f6/add_to_calendar"
|
|
13883
|
+
* ],
|
|
13884
|
+
* "add_to_google_calendar": [
|
|
13885
|
+
* "https://example.com/c/appointments/appt_a1b2c3d4e5f6/add_to_google_calendar"
|
|
13886
|
+
* ],
|
|
13887
|
+
* "cancel": [
|
|
13888
|
+
* "https://example.com/c/appointments/appt_a1b2c3d4e5f6/cancel"
|
|
13889
|
+
* ],
|
|
13890
|
+
* "ics": [
|
|
13891
|
+
* "https://example.com/c/appointments/appt_a1b2c3d4e5f6/ics"
|
|
13892
|
+
* ],
|
|
13893
|
+
* "reschedule": [
|
|
13894
|
+
* "https://example.com/c/appointments/appt_a1b2c3d4e5f6/reschedule"
|
|
13895
|
+
* ]
|
|
13896
|
+
* }
|
|
13840
13897
|
* }
|
|
13841
13898
|
* }
|
|
13842
13899
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -1351,7 +1351,24 @@ interface components {
|
|
|
1351
1351
|
* "unix_ts": 1736461200,
|
|
1352
1352
|
* "utc": "2025-03-01T03:00:00Z"
|
|
1353
1353
|
* },
|
|
1354
|
-
* "status": "scheduled"
|
|
1354
|
+
* "status": "scheduled",
|
|
1355
|
+
* "urls": {
|
|
1356
|
+
* "add_to_calendar": [
|
|
1357
|
+
* "https://example.com/c/appointments/appt_a1b2c3d4e5f6/add_to_calendar"
|
|
1358
|
+
* ],
|
|
1359
|
+
* "add_to_google_calendar": [
|
|
1360
|
+
* "https://example.com/c/appointments/appt_a1b2c3d4e5f6/add_to_google_calendar"
|
|
1361
|
+
* ],
|
|
1362
|
+
* "cancel": [
|
|
1363
|
+
* "https://example.com/c/appointments/appt_a1b2c3d4e5f6/cancel"
|
|
1364
|
+
* ],
|
|
1365
|
+
* "ics": [
|
|
1366
|
+
* "https://example.com/c/appointments/appt_a1b2c3d4e5f6/ics"
|
|
1367
|
+
* ],
|
|
1368
|
+
* "reschedule": [
|
|
1369
|
+
* "https://example.com/c/appointments/appt_a1b2c3d4e5f6/reschedule"
|
|
1370
|
+
* ]
|
|
1371
|
+
* }
|
|
1355
1372
|
* }
|
|
1356
1373
|
*/
|
|
1357
1374
|
PublicAppointment: {
|
|
@@ -1466,6 +1483,19 @@ interface components {
|
|
|
1466
1483
|
* @enum {string}
|
|
1467
1484
|
*/
|
|
1468
1485
|
status: "scheduled" | "canceled";
|
|
1486
|
+
/** @description URLs related to the appointment for client-facing actions. */
|
|
1487
|
+
urls: {
|
|
1488
|
+
/** @description URLs for adding the appointment to a calendar. */
|
|
1489
|
+
add_to_calendar: string[];
|
|
1490
|
+
/** @description URLs for adding the appointment to Google Calendar. */
|
|
1491
|
+
add_to_google_calendar: string[];
|
|
1492
|
+
/** @description URLs for canceling the appointment. */
|
|
1493
|
+
cancel: string[];
|
|
1494
|
+
/** @description URLs for downloading an ICS file for the appointment. */
|
|
1495
|
+
ics: string[];
|
|
1496
|
+
/** @description URLs for rescheduling the appointment. */
|
|
1497
|
+
reschedule: string[];
|
|
1498
|
+
};
|
|
1469
1499
|
};
|
|
1470
1500
|
/**
|
|
1471
1501
|
* BlocksResponse
|
|
@@ -2609,6 +2639,8 @@ interface components {
|
|
|
2609
2639
|
*/
|
|
2610
2640
|
GenericErrorResponse: {
|
|
2611
2641
|
errors: {
|
|
2642
|
+
/** @description Machine-readable error code (e.g. slot_unavailable, no_available_provider) */
|
|
2643
|
+
code?: string | null;
|
|
2612
2644
|
/** @description Error message */
|
|
2613
2645
|
detail: string;
|
|
2614
2646
|
/** @description HTTP status code */
|
|
@@ -12929,13 +12961,21 @@ interface components {
|
|
|
12929
12961
|
BlockResponse: {
|
|
12930
12962
|
data: components["schemas"]["Block"];
|
|
12931
12963
|
};
|
|
12932
|
-
/**
|
|
12964
|
+
/**
|
|
12965
|
+
* JsonErrorResponse
|
|
12966
|
+
* @description Response schema for validation errors
|
|
12967
|
+
*/
|
|
12933
12968
|
JsonErrorResponse: {
|
|
12934
12969
|
errors: {
|
|
12935
|
-
/**
|
|
12970
|
+
/**
|
|
12971
|
+
* @description Machine-readable error code (e.g. slot_unavailable, no_available_provider, time_range_conflict)
|
|
12972
|
+
* @example slot_unavailable
|
|
12973
|
+
*/
|
|
12974
|
+
code?: string | null;
|
|
12975
|
+
/** @example is not available */
|
|
12936
12976
|
detail: string;
|
|
12937
12977
|
source: {
|
|
12938
|
-
/** @example /
|
|
12978
|
+
/** @example /start_at */
|
|
12939
12979
|
pointer: string;
|
|
12940
12980
|
};
|
|
12941
12981
|
/** @example Invalid value */
|
|
@@ -13836,7 +13876,24 @@ interface components {
|
|
|
13836
13876
|
* "unix_ts": 1736461200,
|
|
13837
13877
|
* "utc": "2025-03-01T03:00:00Z"
|
|
13838
13878
|
* },
|
|
13839
|
-
* "status": "scheduled"
|
|
13879
|
+
* "status": "scheduled",
|
|
13880
|
+
* "urls": {
|
|
13881
|
+
* "add_to_calendar": [
|
|
13882
|
+
* "https://example.com/c/appointments/appt_a1b2c3d4e5f6/add_to_calendar"
|
|
13883
|
+
* ],
|
|
13884
|
+
* "add_to_google_calendar": [
|
|
13885
|
+
* "https://example.com/c/appointments/appt_a1b2c3d4e5f6/add_to_google_calendar"
|
|
13886
|
+
* ],
|
|
13887
|
+
* "cancel": [
|
|
13888
|
+
* "https://example.com/c/appointments/appt_a1b2c3d4e5f6/cancel"
|
|
13889
|
+
* ],
|
|
13890
|
+
* "ics": [
|
|
13891
|
+
* "https://example.com/c/appointments/appt_a1b2c3d4e5f6/ics"
|
|
13892
|
+
* ],
|
|
13893
|
+
* "reschedule": [
|
|
13894
|
+
* "https://example.com/c/appointments/appt_a1b2c3d4e5f6/reschedule"
|
|
13895
|
+
* ]
|
|
13896
|
+
* }
|
|
13840
13897
|
* }
|
|
13841
13898
|
* }
|
|
13842
13899
|
*/
|