@savvycal/appointments-core 0.4.0 → 0.5.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 +172 -35
- package/dist/index.d.ts +172 -35
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1608,6 +1608,9 @@ interface components {
|
|
|
1608
1608
|
* "ics": [
|
|
1609
1609
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/ics"
|
|
1610
1610
|
* ],
|
|
1611
|
+
* "join": [
|
|
1612
|
+
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/join"
|
|
1613
|
+
* ],
|
|
1611
1614
|
* "reschedule": [
|
|
1612
1615
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/reschedule"
|
|
1613
1616
|
* ]
|
|
@@ -1843,6 +1846,9 @@ interface components {
|
|
|
1843
1846
|
* "ics": [
|
|
1844
1847
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/ics"
|
|
1845
1848
|
* ],
|
|
1849
|
+
* "join": [
|
|
1850
|
+
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/join"
|
|
1851
|
+
* ],
|
|
1846
1852
|
* "reschedule": [
|
|
1847
1853
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/reschedule"
|
|
1848
1854
|
* ]
|
|
@@ -2701,6 +2707,8 @@ interface components {
|
|
|
2701
2707
|
confirm: string[];
|
|
2702
2708
|
/** @description URLs for the client to use to download an iCal file for this appointment. */
|
|
2703
2709
|
ics: string[];
|
|
2710
|
+
/** @description URLs for the client to use to join this appointment. */
|
|
2711
|
+
join: string[];
|
|
2704
2712
|
/** @description URLs for the client to use to reschedule this appointment. */
|
|
2705
2713
|
reschedule: string[];
|
|
2706
2714
|
};
|
|
@@ -3633,9 +3641,9 @@ interface components {
|
|
|
3633
3641
|
*/
|
|
3634
3642
|
passive: boolean;
|
|
3635
3643
|
/** @description List of role IDs to assign to the user. */
|
|
3636
|
-
role_ids
|
|
3644
|
+
role_ids: string[];
|
|
3637
3645
|
/** @description The user's time zone. */
|
|
3638
|
-
time_zone
|
|
3646
|
+
time_zone: string;
|
|
3639
3647
|
};
|
|
3640
3648
|
/**
|
|
3641
3649
|
* ConnectedAccountDeletedEventData
|
|
@@ -3646,6 +3654,7 @@ interface components {
|
|
|
3646
3654
|
* "created_at": "2025-03-12T12:34:55Z",
|
|
3647
3655
|
* "display_name": "John Doe",
|
|
3648
3656
|
* "email": "user@example.com",
|
|
3657
|
+
* "external_account_id": null,
|
|
3649
3658
|
* "external_subject": "123456789",
|
|
3650
3659
|
* "id": "cact_d025a96ac0c6",
|
|
3651
3660
|
* "object": "connected_account",
|
|
@@ -3660,12 +3669,13 @@ interface components {
|
|
|
3660
3669
|
ConnectedAccountDeletedEventData: {
|
|
3661
3670
|
/**
|
|
3662
3671
|
* ConnectedAccount
|
|
3663
|
-
* @description This is an object representing a connected calendar account (e.g., a Google Calendar integration).
|
|
3672
|
+
* @description This is an object representing a connected calendar account (e.g., a Google Calendar or Microsoft 365 integration).
|
|
3664
3673
|
* @example {
|
|
3665
3674
|
* "connection_scope": "user",
|
|
3666
3675
|
* "created_at": "2025-03-12T12:34:55Z",
|
|
3667
3676
|
* "display_name": "John Doe",
|
|
3668
3677
|
* "email": "user@example.com",
|
|
3678
|
+
* "external_account_id": null,
|
|
3669
3679
|
* "external_subject": "123456789",
|
|
3670
3680
|
* "id": "cact_d025a96ac0c6",
|
|
3671
3681
|
* "object": "connected_account",
|
|
@@ -3690,6 +3700,8 @@ interface components {
|
|
|
3690
3700
|
display_name: string | null;
|
|
3691
3701
|
/** @description The email address associated with this connected account. */
|
|
3692
3702
|
email: string;
|
|
3703
|
+
/** @description The unique identifier for the organization at the provider (e.g., Zoom account number). */
|
|
3704
|
+
external_account_id: string | null;
|
|
3693
3705
|
/** @description The unique identifier for this account at the provider. */
|
|
3694
3706
|
external_subject: string;
|
|
3695
3707
|
/** @description Unique identifier for the object. */
|
|
@@ -3700,10 +3712,10 @@ interface components {
|
|
|
3700
3712
|
*/
|
|
3701
3713
|
object: "connected_account";
|
|
3702
3714
|
/**
|
|
3703
|
-
* @description The
|
|
3715
|
+
* @description The provider for this connected account.
|
|
3704
3716
|
* @enum {string}
|
|
3705
3717
|
*/
|
|
3706
|
-
provider: "google";
|
|
3718
|
+
provider: "google" | "microsoft" | "zoom_admin";
|
|
3707
3719
|
/**
|
|
3708
3720
|
* @description The current status of the connection. 'active' means the connection is working, 'reconnect_required' means the OAuth token has failed and needs reauthorization, 'insufficient_permissions' means the user did not grant all required OAuth scopes.
|
|
3709
3721
|
* @enum {string}
|
|
@@ -4176,6 +4188,7 @@ interface components {
|
|
|
4176
4188
|
* "created_at": "2025-03-12T12:34:55Z",
|
|
4177
4189
|
* "display_name": "John Doe",
|
|
4178
4190
|
* "email": "user@example.com",
|
|
4191
|
+
* "external_account_id": null,
|
|
4179
4192
|
* "external_subject": "123456789",
|
|
4180
4193
|
* "id": "cact_d025a96ac0c6",
|
|
4181
4194
|
* "object": "connected_account",
|
|
@@ -4190,12 +4203,13 @@ interface components {
|
|
|
4190
4203
|
ConnectedAccountReconnectedEventData: {
|
|
4191
4204
|
/**
|
|
4192
4205
|
* ConnectedAccount
|
|
4193
|
-
* @description This is an object representing a connected calendar account (e.g., a Google Calendar integration).
|
|
4206
|
+
* @description This is an object representing a connected calendar account (e.g., a Google Calendar or Microsoft 365 integration).
|
|
4194
4207
|
* @example {
|
|
4195
4208
|
* "connection_scope": "user",
|
|
4196
4209
|
* "created_at": "2025-03-12T12:34:55Z",
|
|
4197
4210
|
* "display_name": "John Doe",
|
|
4198
4211
|
* "email": "user@example.com",
|
|
4212
|
+
* "external_account_id": null,
|
|
4199
4213
|
* "external_subject": "123456789",
|
|
4200
4214
|
* "id": "cact_d025a96ac0c6",
|
|
4201
4215
|
* "object": "connected_account",
|
|
@@ -4220,6 +4234,8 @@ interface components {
|
|
|
4220
4234
|
display_name: string | null;
|
|
4221
4235
|
/** @description The email address associated with this connected account. */
|
|
4222
4236
|
email: string;
|
|
4237
|
+
/** @description The unique identifier for the organization at the provider (e.g., Zoom account number). */
|
|
4238
|
+
external_account_id: string | null;
|
|
4223
4239
|
/** @description The unique identifier for this account at the provider. */
|
|
4224
4240
|
external_subject: string;
|
|
4225
4241
|
/** @description Unique identifier for the object. */
|
|
@@ -4230,10 +4246,10 @@ interface components {
|
|
|
4230
4246
|
*/
|
|
4231
4247
|
object: "connected_account";
|
|
4232
4248
|
/**
|
|
4233
|
-
* @description The
|
|
4249
|
+
* @description The provider for this connected account.
|
|
4234
4250
|
* @enum {string}
|
|
4235
4251
|
*/
|
|
4236
|
-
provider: "google";
|
|
4252
|
+
provider: "google" | "microsoft" | "zoom_admin";
|
|
4237
4253
|
/**
|
|
4238
4254
|
* @description The current status of the connection. 'active' means the connection is working, 'reconnect_required' means the OAuth token has failed and needs reauthorization, 'insufficient_permissions' means the user did not grant all required OAuth scopes.
|
|
4239
4255
|
* @enum {string}
|
|
@@ -4353,6 +4369,7 @@ interface components {
|
|
|
4353
4369
|
* "created_at": "2025-03-12T12:34:55Z",
|
|
4354
4370
|
* "display_name": "John Doe",
|
|
4355
4371
|
* "email": "user@example.com",
|
|
4372
|
+
* "external_account_id": null,
|
|
4356
4373
|
* "external_subject": "123456789",
|
|
4357
4374
|
* "id": "cact_d025a96ac0c6",
|
|
4358
4375
|
* "object": "connected_account",
|
|
@@ -4673,6 +4690,9 @@ interface components {
|
|
|
4673
4690
|
* "ics": [
|
|
4674
4691
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/ics"
|
|
4675
4692
|
* ],
|
|
4693
|
+
* "join": [
|
|
4694
|
+
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/join"
|
|
4695
|
+
* ],
|
|
4676
4696
|
* "reschedule": [
|
|
4677
4697
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/reschedule"
|
|
4678
4698
|
* ]
|
|
@@ -4892,6 +4912,9 @@ interface components {
|
|
|
4892
4912
|
* "ics": [
|
|
4893
4913
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/ics"
|
|
4894
4914
|
* ],
|
|
4915
|
+
* "join": [
|
|
4916
|
+
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/join"
|
|
4917
|
+
* ],
|
|
4895
4918
|
* "reschedule": [
|
|
4896
4919
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/reschedule"
|
|
4897
4920
|
* ]
|
|
@@ -5750,6 +5773,8 @@ interface components {
|
|
|
5750
5773
|
confirm: string[];
|
|
5751
5774
|
/** @description URLs for the client to use to download an iCal file for this appointment. */
|
|
5752
5775
|
ics: string[];
|
|
5776
|
+
/** @description URLs for the client to use to join this appointment. */
|
|
5777
|
+
join: string[];
|
|
5753
5778
|
/** @description URLs for the client to use to reschedule this appointment. */
|
|
5754
5779
|
reschedule: string[];
|
|
5755
5780
|
};
|
|
@@ -5846,6 +5871,7 @@ interface components {
|
|
|
5846
5871
|
* "created_at": "2025-03-12T12:34:55Z",
|
|
5847
5872
|
* "display_name": "John Doe",
|
|
5848
5873
|
* "email": "user@example.com",
|
|
5874
|
+
* "external_account_id": null,
|
|
5849
5875
|
* "external_subject": "123456789",
|
|
5850
5876
|
* "id": "cact_d025a96ac0c6",
|
|
5851
5877
|
* "object": "connected_account",
|
|
@@ -5860,12 +5886,13 @@ interface components {
|
|
|
5860
5886
|
ConnectedAccountRefreshFailedEventData: {
|
|
5861
5887
|
/**
|
|
5862
5888
|
* ConnectedAccount
|
|
5863
|
-
* @description This is an object representing a connected calendar account (e.g., a Google Calendar integration).
|
|
5889
|
+
* @description This is an object representing a connected calendar account (e.g., a Google Calendar or Microsoft 365 integration).
|
|
5864
5890
|
* @example {
|
|
5865
5891
|
* "connection_scope": "user",
|
|
5866
5892
|
* "created_at": "2025-03-12T12:34:55Z",
|
|
5867
5893
|
* "display_name": "John Doe",
|
|
5868
5894
|
* "email": "user@example.com",
|
|
5895
|
+
* "external_account_id": null,
|
|
5869
5896
|
* "external_subject": "123456789",
|
|
5870
5897
|
* "id": "cact_d025a96ac0c6",
|
|
5871
5898
|
* "object": "connected_account",
|
|
@@ -5890,6 +5917,8 @@ interface components {
|
|
|
5890
5917
|
display_name: string | null;
|
|
5891
5918
|
/** @description The email address associated with this connected account. */
|
|
5892
5919
|
email: string;
|
|
5920
|
+
/** @description The unique identifier for the organization at the provider (e.g., Zoom account number). */
|
|
5921
|
+
external_account_id: string | null;
|
|
5893
5922
|
/** @description The unique identifier for this account at the provider. */
|
|
5894
5923
|
external_subject: string;
|
|
5895
5924
|
/** @description Unique identifier for the object. */
|
|
@@ -5900,10 +5929,10 @@ interface components {
|
|
|
5900
5929
|
*/
|
|
5901
5930
|
object: "connected_account";
|
|
5902
5931
|
/**
|
|
5903
|
-
* @description The
|
|
5932
|
+
* @description The provider for this connected account.
|
|
5904
5933
|
* @enum {string}
|
|
5905
5934
|
*/
|
|
5906
|
-
provider: "google";
|
|
5935
|
+
provider: "google" | "microsoft" | "zoom_admin";
|
|
5907
5936
|
/**
|
|
5908
5937
|
* @description The current status of the connection. 'active' means the connection is working, 'reconnect_required' means the OAuth token has failed and needs reauthorization, 'insufficient_permissions' means the user did not grant all required OAuth scopes.
|
|
5909
5938
|
* @enum {string}
|
|
@@ -6136,6 +6165,9 @@ interface components {
|
|
|
6136
6165
|
* "ics": [
|
|
6137
6166
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/ics"
|
|
6138
6167
|
* ],
|
|
6168
|
+
* "join": [
|
|
6169
|
+
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/join"
|
|
6170
|
+
* ],
|
|
6139
6171
|
* "reschedule": [
|
|
6140
6172
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/reschedule"
|
|
6141
6173
|
* ]
|
|
@@ -6366,6 +6398,9 @@ interface components {
|
|
|
6366
6398
|
* "ics": [
|
|
6367
6399
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/ics"
|
|
6368
6400
|
* ],
|
|
6401
|
+
* "join": [
|
|
6402
|
+
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/join"
|
|
6403
|
+
* ],
|
|
6369
6404
|
* "reschedule": [
|
|
6370
6405
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/reschedule"
|
|
6371
6406
|
* ]
|
|
@@ -7224,6 +7259,8 @@ interface components {
|
|
|
7224
7259
|
confirm: string[];
|
|
7225
7260
|
/** @description URLs for the client to use to download an iCal file for this appointment. */
|
|
7226
7261
|
ics: string[];
|
|
7262
|
+
/** @description URLs for the client to use to join this appointment. */
|
|
7263
|
+
join: string[];
|
|
7227
7264
|
/** @description URLs for the client to use to reschedule this appointment. */
|
|
7228
7265
|
reschedule: string[];
|
|
7229
7266
|
};
|
|
@@ -7444,6 +7481,9 @@ interface components {
|
|
|
7444
7481
|
* "ics": [
|
|
7445
7482
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/ics"
|
|
7446
7483
|
* ],
|
|
7484
|
+
* "join": [
|
|
7485
|
+
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/join"
|
|
7486
|
+
* ],
|
|
7447
7487
|
* "reschedule": [
|
|
7448
7488
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/reschedule"
|
|
7449
7489
|
* ]
|
|
@@ -8302,6 +8342,8 @@ interface components {
|
|
|
8302
8342
|
confirm: string[];
|
|
8303
8343
|
/** @description URLs for the client to use to download an iCal file for this appointment. */
|
|
8304
8344
|
ics: string[];
|
|
8345
|
+
/** @description URLs for the client to use to join this appointment. */
|
|
8346
|
+
join: string[];
|
|
8305
8347
|
/** @description URLs for the client to use to reschedule this appointment. */
|
|
8306
8348
|
reschedule: string[];
|
|
8307
8349
|
};
|
|
@@ -8602,6 +8644,9 @@ interface components {
|
|
|
8602
8644
|
* "ics": [
|
|
8603
8645
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/ics"
|
|
8604
8646
|
* ],
|
|
8647
|
+
* "join": [
|
|
8648
|
+
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/join"
|
|
8649
|
+
* ],
|
|
8605
8650
|
* "reschedule": [
|
|
8606
8651
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/reschedule"
|
|
8607
8652
|
* ]
|
|
@@ -9460,6 +9505,8 @@ interface components {
|
|
|
9460
9505
|
confirm: string[];
|
|
9461
9506
|
/** @description URLs for the client to use to download an iCal file for this appointment. */
|
|
9462
9507
|
ics: string[];
|
|
9508
|
+
/** @description URLs for the client to use to join this appointment. */
|
|
9509
|
+
join: string[];
|
|
9463
9510
|
/** @description URLs for the client to use to reschedule this appointment. */
|
|
9464
9511
|
reschedule: string[];
|
|
9465
9512
|
};
|
|
@@ -9680,6 +9727,9 @@ interface components {
|
|
|
9680
9727
|
* "ics": [
|
|
9681
9728
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/ics"
|
|
9682
9729
|
* ],
|
|
9730
|
+
* "join": [
|
|
9731
|
+
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/join"
|
|
9732
|
+
* ],
|
|
9683
9733
|
* "reschedule": [
|
|
9684
9734
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/reschedule"
|
|
9685
9735
|
* ]
|
|
@@ -10538,6 +10588,8 @@ interface components {
|
|
|
10538
10588
|
confirm: string[];
|
|
10539
10589
|
/** @description URLs for the client to use to download an iCal file for this appointment. */
|
|
10540
10590
|
ics: string[];
|
|
10591
|
+
/** @description URLs for the client to use to join this appointment. */
|
|
10592
|
+
join: string[];
|
|
10541
10593
|
/** @description URLs for the client to use to reschedule this appointment. */
|
|
10542
10594
|
reschedule: string[];
|
|
10543
10595
|
};
|
|
@@ -10758,6 +10810,9 @@ interface components {
|
|
|
10758
10810
|
* "ics": [
|
|
10759
10811
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/ics"
|
|
10760
10812
|
* ],
|
|
10813
|
+
* "join": [
|
|
10814
|
+
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/join"
|
|
10815
|
+
* ],
|
|
10761
10816
|
* "reschedule": [
|
|
10762
10817
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/reschedule"
|
|
10763
10818
|
* ]
|
|
@@ -11616,6 +11671,8 @@ interface components {
|
|
|
11616
11671
|
confirm: string[];
|
|
11617
11672
|
/** @description URLs for the client to use to download an iCal file for this appointment. */
|
|
11618
11673
|
ics: string[];
|
|
11674
|
+
/** @description URLs for the client to use to join this appointment. */
|
|
11675
|
+
join: string[];
|
|
11619
11676
|
/** @description URLs for the client to use to reschedule this appointment. */
|
|
11620
11677
|
reschedule: string[];
|
|
11621
11678
|
};
|
|
@@ -11982,12 +12039,13 @@ interface components {
|
|
|
11982
12039
|
} | {
|
|
11983
12040
|
/**
|
|
11984
12041
|
* ConnectedAccount
|
|
11985
|
-
* @description This is an object representing a connected calendar account (e.g., a Google Calendar integration).
|
|
12042
|
+
* @description This is an object representing a connected calendar account (e.g., a Google Calendar or Microsoft 365 integration).
|
|
11986
12043
|
* @example {
|
|
11987
12044
|
* "connection_scope": "user",
|
|
11988
12045
|
* "created_at": "2025-03-12T12:34:55Z",
|
|
11989
12046
|
* "display_name": "John Doe",
|
|
11990
12047
|
* "email": "user@example.com",
|
|
12048
|
+
* "external_account_id": null,
|
|
11991
12049
|
* "external_subject": "123456789",
|
|
11992
12050
|
* "id": "cact_d025a96ac0c6",
|
|
11993
12051
|
* "object": "connected_account",
|
|
@@ -12012,6 +12070,8 @@ interface components {
|
|
|
12012
12070
|
display_name: string | null;
|
|
12013
12071
|
/** @description The email address associated with this connected account. */
|
|
12014
12072
|
email: string;
|
|
12073
|
+
/** @description The unique identifier for the organization at the provider (e.g., Zoom account number). */
|
|
12074
|
+
external_account_id: string | null;
|
|
12015
12075
|
/** @description The unique identifier for this account at the provider. */
|
|
12016
12076
|
external_subject: string;
|
|
12017
12077
|
/** @description Unique identifier for the object. */
|
|
@@ -12022,10 +12082,10 @@ interface components {
|
|
|
12022
12082
|
*/
|
|
12023
12083
|
object: "connected_account";
|
|
12024
12084
|
/**
|
|
12025
|
-
* @description The
|
|
12085
|
+
* @description The provider for this connected account.
|
|
12026
12086
|
* @enum {string}
|
|
12027
12087
|
*/
|
|
12028
|
-
provider: "google";
|
|
12088
|
+
provider: "google" | "microsoft" | "zoom_admin";
|
|
12029
12089
|
/**
|
|
12030
12090
|
* @description The current status of the connection. 'active' means the connection is working, 'reconnect_required' means the OAuth token has failed and needs reauthorization, 'insufficient_permissions' means the user did not grant all required OAuth scopes.
|
|
12031
12091
|
* @enum {string}
|
|
@@ -12047,12 +12107,13 @@ interface components {
|
|
|
12047
12107
|
} | {
|
|
12048
12108
|
/**
|
|
12049
12109
|
* ConnectedAccount
|
|
12050
|
-
* @description This is an object representing a connected calendar account (e.g., a Google Calendar integration).
|
|
12110
|
+
* @description This is an object representing a connected calendar account (e.g., a Google Calendar or Microsoft 365 integration).
|
|
12051
12111
|
* @example {
|
|
12052
12112
|
* "connection_scope": "user",
|
|
12053
12113
|
* "created_at": "2025-03-12T12:34:55Z",
|
|
12054
12114
|
* "display_name": "John Doe",
|
|
12055
12115
|
* "email": "user@example.com",
|
|
12116
|
+
* "external_account_id": null,
|
|
12056
12117
|
* "external_subject": "123456789",
|
|
12057
12118
|
* "id": "cact_d025a96ac0c6",
|
|
12058
12119
|
* "object": "connected_account",
|
|
@@ -12077,6 +12138,8 @@ interface components {
|
|
|
12077
12138
|
display_name: string | null;
|
|
12078
12139
|
/** @description The email address associated with this connected account. */
|
|
12079
12140
|
email: string;
|
|
12141
|
+
/** @description The unique identifier for the organization at the provider (e.g., Zoom account number). */
|
|
12142
|
+
external_account_id: string | null;
|
|
12080
12143
|
/** @description The unique identifier for this account at the provider. */
|
|
12081
12144
|
external_subject: string;
|
|
12082
12145
|
/** @description Unique identifier for the object. */
|
|
@@ -12087,10 +12150,10 @@ interface components {
|
|
|
12087
12150
|
*/
|
|
12088
12151
|
object: "connected_account";
|
|
12089
12152
|
/**
|
|
12090
|
-
* @description The
|
|
12153
|
+
* @description The provider for this connected account.
|
|
12091
12154
|
* @enum {string}
|
|
12092
12155
|
*/
|
|
12093
|
-
provider: "google";
|
|
12156
|
+
provider: "google" | "microsoft" | "zoom_admin";
|
|
12094
12157
|
/**
|
|
12095
12158
|
* @description The current status of the connection. 'active' means the connection is working, 'reconnect_required' means the OAuth token has failed and needs reauthorization, 'insufficient_permissions' means the user did not grant all required OAuth scopes.
|
|
12096
12159
|
* @enum {string}
|
|
@@ -12112,12 +12175,13 @@ interface components {
|
|
|
12112
12175
|
} | {
|
|
12113
12176
|
/**
|
|
12114
12177
|
* ConnectedAccount
|
|
12115
|
-
* @description This is an object representing a connected calendar account (e.g., a Google Calendar integration).
|
|
12178
|
+
* @description This is an object representing a connected calendar account (e.g., a Google Calendar or Microsoft 365 integration).
|
|
12116
12179
|
* @example {
|
|
12117
12180
|
* "connection_scope": "user",
|
|
12118
12181
|
* "created_at": "2025-03-12T12:34:55Z",
|
|
12119
12182
|
* "display_name": "John Doe",
|
|
12120
12183
|
* "email": "user@example.com",
|
|
12184
|
+
* "external_account_id": null,
|
|
12121
12185
|
* "external_subject": "123456789",
|
|
12122
12186
|
* "id": "cact_d025a96ac0c6",
|
|
12123
12187
|
* "object": "connected_account",
|
|
@@ -12142,6 +12206,8 @@ interface components {
|
|
|
12142
12206
|
display_name: string | null;
|
|
12143
12207
|
/** @description The email address associated with this connected account. */
|
|
12144
12208
|
email: string;
|
|
12209
|
+
/** @description The unique identifier for the organization at the provider (e.g., Zoom account number). */
|
|
12210
|
+
external_account_id: string | null;
|
|
12145
12211
|
/** @description The unique identifier for this account at the provider. */
|
|
12146
12212
|
external_subject: string;
|
|
12147
12213
|
/** @description Unique identifier for the object. */
|
|
@@ -12152,10 +12218,10 @@ interface components {
|
|
|
12152
12218
|
*/
|
|
12153
12219
|
object: "connected_account";
|
|
12154
12220
|
/**
|
|
12155
|
-
* @description The
|
|
12221
|
+
* @description The provider for this connected account.
|
|
12156
12222
|
* @enum {string}
|
|
12157
12223
|
*/
|
|
12158
|
-
provider: "google";
|
|
12224
|
+
provider: "google" | "microsoft" | "zoom_admin";
|
|
12159
12225
|
/**
|
|
12160
12226
|
* @description The current status of the connection. 'active' means the connection is working, 'reconnect_required' means the OAuth token has failed and needs reauthorization, 'insufficient_permissions' means the user did not grant all required OAuth scopes.
|
|
12161
12227
|
* @enum {string}
|
|
@@ -12177,12 +12243,13 @@ interface components {
|
|
|
12177
12243
|
} | {
|
|
12178
12244
|
/**
|
|
12179
12245
|
* ConnectedAccount
|
|
12180
|
-
* @description This is an object representing a connected calendar account (e.g., a Google Calendar integration).
|
|
12246
|
+
* @description This is an object representing a connected calendar account (e.g., a Google Calendar or Microsoft 365 integration).
|
|
12181
12247
|
* @example {
|
|
12182
12248
|
* "connection_scope": "user",
|
|
12183
12249
|
* "created_at": "2025-03-12T12:34:55Z",
|
|
12184
12250
|
* "display_name": "John Doe",
|
|
12185
12251
|
* "email": "user@example.com",
|
|
12252
|
+
* "external_account_id": null,
|
|
12186
12253
|
* "external_subject": "123456789",
|
|
12187
12254
|
* "id": "cact_d025a96ac0c6",
|
|
12188
12255
|
* "object": "connected_account",
|
|
@@ -12207,6 +12274,8 @@ interface components {
|
|
|
12207
12274
|
display_name: string | null;
|
|
12208
12275
|
/** @description The email address associated with this connected account. */
|
|
12209
12276
|
email: string;
|
|
12277
|
+
/** @description The unique identifier for the organization at the provider (e.g., Zoom account number). */
|
|
12278
|
+
external_account_id: string | null;
|
|
12210
12279
|
/** @description The unique identifier for this account at the provider. */
|
|
12211
12280
|
external_subject: string;
|
|
12212
12281
|
/** @description Unique identifier for the object. */
|
|
@@ -12217,10 +12286,10 @@ interface components {
|
|
|
12217
12286
|
*/
|
|
12218
12287
|
object: "connected_account";
|
|
12219
12288
|
/**
|
|
12220
|
-
* @description The
|
|
12289
|
+
* @description The provider for this connected account.
|
|
12221
12290
|
* @enum {string}
|
|
12222
12291
|
*/
|
|
12223
|
-
provider: "google";
|
|
12292
|
+
provider: "google" | "microsoft" | "zoom_admin";
|
|
12224
12293
|
/**
|
|
12225
12294
|
* @description The current status of the connection. 'active' means the connection is working, 'reconnect_required' means the OAuth token has failed and needs reauthorization, 'insufficient_permissions' means the user did not grant all required OAuth scopes.
|
|
12226
12295
|
* @enum {string}
|
|
@@ -12462,6 +12531,9 @@ interface components {
|
|
|
12462
12531
|
* "ics": [
|
|
12463
12532
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/ics"
|
|
12464
12533
|
* ],
|
|
12534
|
+
* "join": [
|
|
12535
|
+
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/join"
|
|
12536
|
+
* ],
|
|
12465
12537
|
* "reschedule": [
|
|
12466
12538
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/reschedule"
|
|
12467
12539
|
* ]
|
|
@@ -13078,6 +13150,9 @@ interface components {
|
|
|
13078
13150
|
* "ics": [
|
|
13079
13151
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/ics"
|
|
13080
13152
|
* ],
|
|
13153
|
+
* "join": [
|
|
13154
|
+
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/join"
|
|
13155
|
+
* ],
|
|
13081
13156
|
* "reschedule": [
|
|
13082
13157
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/reschedule"
|
|
13083
13158
|
* ]
|
|
@@ -13910,6 +13985,7 @@ interface components {
|
|
|
13910
13985
|
* "created_at": "2025-03-12T12:34:55Z",
|
|
13911
13986
|
* "display_name": "John Doe",
|
|
13912
13987
|
* "email": "user@example.com",
|
|
13988
|
+
* "external_account_id": null,
|
|
13913
13989
|
* "external_subject": "123456789",
|
|
13914
13990
|
* "id": "cact_d025a96ac0c6",
|
|
13915
13991
|
* "object": "connected_account",
|
|
@@ -13924,12 +14000,13 @@ interface components {
|
|
|
13924
14000
|
ConnectedAccountCreatedEventData: {
|
|
13925
14001
|
/**
|
|
13926
14002
|
* ConnectedAccount
|
|
13927
|
-
* @description This is an object representing a connected calendar account (e.g., a Google Calendar integration).
|
|
14003
|
+
* @description This is an object representing a connected calendar account (e.g., a Google Calendar or Microsoft 365 integration).
|
|
13928
14004
|
* @example {
|
|
13929
14005
|
* "connection_scope": "user",
|
|
13930
14006
|
* "created_at": "2025-03-12T12:34:55Z",
|
|
13931
14007
|
* "display_name": "John Doe",
|
|
13932
14008
|
* "email": "user@example.com",
|
|
14009
|
+
* "external_account_id": null,
|
|
13933
14010
|
* "external_subject": "123456789",
|
|
13934
14011
|
* "id": "cact_d025a96ac0c6",
|
|
13935
14012
|
* "object": "connected_account",
|
|
@@ -13954,6 +14031,8 @@ interface components {
|
|
|
13954
14031
|
display_name: string | null;
|
|
13955
14032
|
/** @description The email address associated with this connected account. */
|
|
13956
14033
|
email: string;
|
|
14034
|
+
/** @description The unique identifier for the organization at the provider (e.g., Zoom account number). */
|
|
14035
|
+
external_account_id: string | null;
|
|
13957
14036
|
/** @description The unique identifier for this account at the provider. */
|
|
13958
14037
|
external_subject: string;
|
|
13959
14038
|
/** @description Unique identifier for the object. */
|
|
@@ -13964,10 +14043,10 @@ interface components {
|
|
|
13964
14043
|
*/
|
|
13965
14044
|
object: "connected_account";
|
|
13966
14045
|
/**
|
|
13967
|
-
* @description The
|
|
14046
|
+
* @description The provider for this connected account.
|
|
13968
14047
|
* @enum {string}
|
|
13969
14048
|
*/
|
|
13970
|
-
provider: "google";
|
|
14049
|
+
provider: "google" | "microsoft" | "zoom_admin";
|
|
13971
14050
|
/**
|
|
13972
14051
|
* @description The current status of the connection. 'active' means the connection is working, 'reconnect_required' means the OAuth token has failed and needs reauthorization, 'insufficient_permissions' means the user did not grant all required OAuth scopes.
|
|
13973
14052
|
* @enum {string}
|
|
@@ -14314,12 +14393,32 @@ interface components {
|
|
|
14314
14393
|
* UpdateAccountUserRequest
|
|
14315
14394
|
* @description Request schema for updating a user in an account
|
|
14316
14395
|
* @example {
|
|
14317
|
-
* "
|
|
14396
|
+
* "email": "john.doe@example.com",
|
|
14397
|
+
* "first_name": "John",
|
|
14398
|
+
* "last_name": "Doe",
|
|
14399
|
+
* "passive": true,
|
|
14400
|
+
* "role_ids": [
|
|
14401
|
+
* "role_abc123def456"
|
|
14402
|
+
* ],
|
|
14403
|
+
* "time_zone": "America/Chicago"
|
|
14318
14404
|
* }
|
|
14319
14405
|
*/
|
|
14320
14406
|
UpdateAccountUserRequest: {
|
|
14407
|
+
/**
|
|
14408
|
+
* Format: email
|
|
14409
|
+
* @description The user's email address.
|
|
14410
|
+
*/
|
|
14411
|
+
email?: string;
|
|
14412
|
+
/** @description The user's first name. */
|
|
14413
|
+
first_name?: string;
|
|
14414
|
+
/** @description The user's last name. */
|
|
14415
|
+
last_name?: string;
|
|
14321
14416
|
/** @description Whether this user is passive. Passive users do not receive direct email notifications (e.g., OAuth reconnection notices). Use this for platform/headless scenarios where the platform handles user communication. */
|
|
14322
14417
|
passive?: boolean;
|
|
14418
|
+
/** @description List of role IDs to assign to the user. Replaces all existing role assignments. */
|
|
14419
|
+
role_ids?: string[];
|
|
14420
|
+
/** @description The user's time zone. */
|
|
14421
|
+
time_zone?: string;
|
|
14323
14422
|
};
|
|
14324
14423
|
/**
|
|
14325
14424
|
* AdvanceNoticePolicy
|
|
@@ -14546,6 +14645,9 @@ interface components {
|
|
|
14546
14645
|
* "ics": [
|
|
14547
14646
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/ics"
|
|
14548
14647
|
* ],
|
|
14648
|
+
* "join": [
|
|
14649
|
+
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/join"
|
|
14650
|
+
* ],
|
|
14549
14651
|
* "reschedule": [
|
|
14550
14652
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/reschedule"
|
|
14551
14653
|
* ]
|
|
@@ -14765,6 +14867,9 @@ interface components {
|
|
|
14765
14867
|
* "ics": [
|
|
14766
14868
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/ics"
|
|
14767
14869
|
* ],
|
|
14870
|
+
* "join": [
|
|
14871
|
+
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/join"
|
|
14872
|
+
* ],
|
|
14768
14873
|
* "reschedule": [
|
|
14769
14874
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/reschedule"
|
|
14770
14875
|
* ]
|
|
@@ -15623,6 +15728,8 @@ interface components {
|
|
|
15623
15728
|
confirm: string[];
|
|
15624
15729
|
/** @description URLs for the client to use to download an iCal file for this appointment. */
|
|
15625
15730
|
ics: string[];
|
|
15731
|
+
/** @description URLs for the client to use to join this appointment. */
|
|
15732
|
+
join: string[];
|
|
15626
15733
|
/** @description URLs for the client to use to reschedule this appointment. */
|
|
15627
15734
|
reschedule: string[];
|
|
15628
15735
|
};
|
|
@@ -15913,6 +16020,7 @@ interface components {
|
|
|
15913
16020
|
* "created_at": "2025-03-12T12:34:55Z",
|
|
15914
16021
|
* "display_name": "John Doe",
|
|
15915
16022
|
* "email": "user@example.com",
|
|
16023
|
+
* "external_account_id": null,
|
|
15916
16024
|
* "external_subject": "123456789",
|
|
15917
16025
|
* "id": "cact_d025a96ac0c6",
|
|
15918
16026
|
* "object": "connected_account",
|
|
@@ -16439,6 +16547,9 @@ interface components {
|
|
|
16439
16547
|
* "ics": [
|
|
16440
16548
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/ics"
|
|
16441
16549
|
* ],
|
|
16550
|
+
* "join": [
|
|
16551
|
+
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/join"
|
|
16552
|
+
* ],
|
|
16442
16553
|
* "reschedule": [
|
|
16443
16554
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/reschedule"
|
|
16444
16555
|
* ]
|
|
@@ -16658,6 +16769,9 @@ interface components {
|
|
|
16658
16769
|
* "ics": [
|
|
16659
16770
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/ics"
|
|
16660
16771
|
* ],
|
|
16772
|
+
* "join": [
|
|
16773
|
+
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/join"
|
|
16774
|
+
* ],
|
|
16661
16775
|
* "reschedule": [
|
|
16662
16776
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/reschedule"
|
|
16663
16777
|
* ]
|
|
@@ -17516,6 +17630,8 @@ interface components {
|
|
|
17516
17630
|
confirm: string[];
|
|
17517
17631
|
/** @description URLs for the client to use to download an iCal file for this appointment. */
|
|
17518
17632
|
ics: string[];
|
|
17633
|
+
/** @description URLs for the client to use to join this appointment. */
|
|
17634
|
+
join: string[];
|
|
17519
17635
|
/** @description URLs for the client to use to reschedule this appointment. */
|
|
17520
17636
|
reschedule: string[];
|
|
17521
17637
|
};
|
|
@@ -17898,6 +18014,9 @@ interface components {
|
|
|
17898
18014
|
* "ics": [
|
|
17899
18015
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/ics"
|
|
17900
18016
|
* ],
|
|
18017
|
+
* "join": [
|
|
18018
|
+
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/join"
|
|
18019
|
+
* ],
|
|
17901
18020
|
* "reschedule": [
|
|
17902
18021
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/reschedule"
|
|
17903
18022
|
* ]
|
|
@@ -18756,6 +18875,8 @@ interface components {
|
|
|
18756
18875
|
confirm: string[];
|
|
18757
18876
|
/** @description URLs for the client to use to download an iCal file for this appointment. */
|
|
18758
18877
|
ics: string[];
|
|
18878
|
+
/** @description URLs for the client to use to join this appointment. */
|
|
18879
|
+
join: string[];
|
|
18759
18880
|
/** @description URLs for the client to use to reschedule this appointment. */
|
|
18760
18881
|
reschedule: string[];
|
|
18761
18882
|
};
|
|
@@ -18863,12 +18984,13 @@ interface components {
|
|
|
18863
18984
|
};
|
|
18864
18985
|
/**
|
|
18865
18986
|
* ConnectedAccount
|
|
18866
|
-
* @description This is an object representing a connected calendar account (e.g., a Google Calendar integration).
|
|
18987
|
+
* @description This is an object representing a connected calendar account (e.g., a Google Calendar or Microsoft 365 integration).
|
|
18867
18988
|
* @example {
|
|
18868
18989
|
* "connection_scope": "user",
|
|
18869
18990
|
* "created_at": "2025-03-12T12:34:55Z",
|
|
18870
18991
|
* "display_name": "John Doe",
|
|
18871
18992
|
* "email": "user@example.com",
|
|
18993
|
+
* "external_account_id": null,
|
|
18872
18994
|
* "external_subject": "123456789",
|
|
18873
18995
|
* "id": "cact_d025a96ac0c6",
|
|
18874
18996
|
* "object": "connected_account",
|
|
@@ -18893,6 +19015,8 @@ interface components {
|
|
|
18893
19015
|
display_name: string | null;
|
|
18894
19016
|
/** @description The email address associated with this connected account. */
|
|
18895
19017
|
email: string;
|
|
19018
|
+
/** @description The unique identifier for the organization at the provider (e.g., Zoom account number). */
|
|
19019
|
+
external_account_id: string | null;
|
|
18896
19020
|
/** @description The unique identifier for this account at the provider. */
|
|
18897
19021
|
external_subject: string;
|
|
18898
19022
|
/** @description Unique identifier for the object. */
|
|
@@ -18903,10 +19027,10 @@ interface components {
|
|
|
18903
19027
|
*/
|
|
18904
19028
|
object: "connected_account";
|
|
18905
19029
|
/**
|
|
18906
|
-
* @description The
|
|
19030
|
+
* @description The provider for this connected account.
|
|
18907
19031
|
* @enum {string}
|
|
18908
19032
|
*/
|
|
18909
|
-
provider: "google";
|
|
19033
|
+
provider: "google" | "microsoft" | "zoom_admin";
|
|
18910
19034
|
/**
|
|
18911
19035
|
* @description The current status of the connection. 'active' means the connection is working, 'reconnect_required' means the OAuth token has failed and needs reauthorization, 'insufficient_permissions' means the user did not grant all required OAuth scopes.
|
|
18912
19036
|
* @enum {string}
|
|
@@ -19360,6 +19484,9 @@ interface components {
|
|
|
19360
19484
|
* "ics": [
|
|
19361
19485
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/ics"
|
|
19362
19486
|
* ],
|
|
19487
|
+
* "join": [
|
|
19488
|
+
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/join"
|
|
19489
|
+
* ],
|
|
19363
19490
|
* "reschedule": [
|
|
19364
19491
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/reschedule"
|
|
19365
19492
|
* ]
|
|
@@ -19579,6 +19706,9 @@ interface components {
|
|
|
19579
19706
|
* "ics": [
|
|
19580
19707
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/ics"
|
|
19581
19708
|
* ],
|
|
19709
|
+
* "join": [
|
|
19710
|
+
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/join"
|
|
19711
|
+
* ],
|
|
19582
19712
|
* "reschedule": [
|
|
19583
19713
|
* "https://savvycal.app/c/appointments/appt_a1b2c3d4e5f6/reschedule"
|
|
19584
19714
|
* ]
|
|
@@ -20437,6 +20567,8 @@ interface components {
|
|
|
20437
20567
|
confirm: string[];
|
|
20438
20568
|
/** @description URLs for the client to use to download an iCal file for this appointment. */
|
|
20439
20569
|
ics: string[];
|
|
20570
|
+
/** @description URLs for the client to use to join this appointment. */
|
|
20571
|
+
join: string[];
|
|
20440
20572
|
/** @description URLs for the client to use to reschedule this appointment. */
|
|
20441
20573
|
reschedule: string[];
|
|
20442
20574
|
};
|
|
@@ -23758,7 +23890,7 @@ interface operations {
|
|
|
23758
23890
|
/** @description Only return connected accounts that belong to the specified user. */
|
|
23759
23891
|
user_id?: string;
|
|
23760
23892
|
/** @description Only return connected accounts for the specified provider. */
|
|
23761
|
-
provider?: "google";
|
|
23893
|
+
provider?: "google" | "microsoft" | "zoom_admin";
|
|
23762
23894
|
};
|
|
23763
23895
|
header?: {
|
|
23764
23896
|
/**
|
|
@@ -24247,8 +24379,8 @@ declare function createAccountUser(client: FetchClient, body: RequestBody<"/v1/u
|
|
|
24247
24379
|
last_name: string;
|
|
24248
24380
|
notify: boolean;
|
|
24249
24381
|
passive: boolean;
|
|
24250
|
-
role_ids
|
|
24251
|
-
time_zone
|
|
24382
|
+
role_ids: string[];
|
|
24383
|
+
time_zone: string;
|
|
24252
24384
|
} | undefined;
|
|
24253
24385
|
}, `${string}/${string}`>>;
|
|
24254
24386
|
declare function createAppointment(client: FetchClient, body: RequestBody<"/v1/appointments", "post">): Promise<openapi_fetch.FetchResponse<{
|
|
@@ -26294,7 +26426,7 @@ declare function listConnectedAccounts(client: FetchClient, query?: QueryParams<
|
|
|
26294
26426
|
page?: number;
|
|
26295
26427
|
page_size?: number;
|
|
26296
26428
|
user_id?: string;
|
|
26297
|
-
provider?: "google";
|
|
26429
|
+
provider?: "google" | "microsoft" | "zoom_admin";
|
|
26298
26430
|
};
|
|
26299
26431
|
header?: {
|
|
26300
26432
|
"X-SavvyCal-Account"?: string;
|
|
@@ -26335,7 +26467,7 @@ declare function listConnectedAccounts(client: FetchClient, query?: QueryParams<
|
|
|
26335
26467
|
page?: number;
|
|
26336
26468
|
page_size?: number;
|
|
26337
26469
|
user_id?: string;
|
|
26338
|
-
provider?: "google";
|
|
26470
|
+
provider?: "google" | "microsoft" | "zoom_admin";
|
|
26339
26471
|
} | undefined;
|
|
26340
26472
|
};
|
|
26341
26473
|
}, `${string}/${string}`>>;
|
|
@@ -27002,7 +27134,12 @@ declare function updateAccountUser(client: FetchClient, path: PathParams<"/v1/us
|
|
|
27002
27134
|
};
|
|
27003
27135
|
}, {
|
|
27004
27136
|
body: {
|
|
27137
|
+
email?: string;
|
|
27138
|
+
first_name?: string;
|
|
27139
|
+
last_name?: string;
|
|
27005
27140
|
passive?: boolean;
|
|
27141
|
+
role_ids?: string[];
|
|
27142
|
+
time_zone?: string;
|
|
27006
27143
|
} | undefined;
|
|
27007
27144
|
params: {
|
|
27008
27145
|
path: {
|