@savvycal/appointments-core 0.10.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 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
@@ -13846,7 +13876,24 @@ interface components {
13846
13876
  * "unix_ts": 1736461200,
13847
13877
  * "utc": "2025-03-01T03:00:00Z"
13848
13878
  * },
13849
- * "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
+ * }
13850
13897
  * }
13851
13898
  * }
13852
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
@@ -13846,7 +13876,24 @@ interface components {
13846
13876
  * "unix_ts": 1736461200,
13847
13877
  * "utc": "2025-03-01T03:00:00Z"
13848
13878
  * },
13849
- * "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
+ * }
13850
13897
  * }
13851
13898
  * }
13852
13899
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@savvycal/appointments-core",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "type": "module",
5
5
  "description": "JavaScript/TypeScript client library for the SavvyCal Appointments API",
6
6
  "main": "./dist/index.cjs",