universal-mcp-applications 0.1.1__py3-none-any.whl → 0.1.2__py3-none-any.whl
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.
Potentially problematic release.
This version of universal-mcp-applications might be problematic. Click here for more details.
- universal_mcp/applications/{aws-s3 → aws_s3}/app.py +1 -1
- universal_mcp/applications/cal_com_v2/__init__.py +1 -0
- universal_mcp/applications/{cal-com-v2 → cal_com_v2}/app.py +137 -139
- universal_mcp/applications/clickup/app.py +2 -2
- universal_mcp/applications/github/app.py +1 -2
- universal_mcp/applications/{google-sheet → google_sheet}/app.py +1 -1
- universal_mcp/applications/google_sheet/helper.py +345 -0
- universal_mcp/applications/hashnode/app.py +1 -1
- universal_mcp/applications/hubspot/app.py +13 -2
- universal_mcp/applications/markitdown/app.py +1 -1
- universal_mcp/applications/{ms-teams → ms_teams}/app.py +1 -1
- universal_mcp/applications/semrush/app.py +479 -1468
- universal_mcp/applications/sharepoint/app.py +1 -1
- {universal_mcp_applications-0.1.1.dist-info → universal_mcp_applications-0.1.2.dist-info}/METADATA +1 -1
- {universal_mcp_applications-0.1.1.dist-info → universal_mcp_applications-0.1.2.dist-info}/RECORD +42 -41
- universal_mcp/applications/cal-com-v2/__init__.py +0 -1
- /universal_mcp/applications/{aws-s3 → aws_s3}/README.md +0 -0
- /universal_mcp/applications/{aws-s3 → aws_s3}/__init__.py +0 -0
- /universal_mcp/applications/{cal-com-v2 → cal_com_v2}/README.md +0 -0
- /universal_mcp/applications/{google-calendar → google_calendar}/README.md +0 -0
- /universal_mcp/applications/{google-calendar → google_calendar}/__init__.py +0 -0
- /universal_mcp/applications/{google-calendar → google_calendar}/app.py +0 -0
- /universal_mcp/applications/{google-docs → google_docs}/README.md +0 -0
- /universal_mcp/applications/{google-docs → google_docs}/__init__.py +0 -0
- /universal_mcp/applications/{google-docs → google_docs}/app.py +0 -0
- /universal_mcp/applications/{google-drive → google_drive}/README.md +0 -0
- /universal_mcp/applications/{google-drive → google_drive}/__init__.py +0 -0
- /universal_mcp/applications/{google-drive → google_drive}/app.py +0 -0
- /universal_mcp/applications/{google-gemini → google_gemini}/README.md +0 -0
- /universal_mcp/applications/{google-gemini → google_gemini}/__init__.py +0 -0
- /universal_mcp/applications/{google-gemini → google_gemini}/app.py +0 -0
- /universal_mcp/applications/{google-mail → google_mail}/README.md +0 -0
- /universal_mcp/applications/{google-mail → google_mail}/__init__.py +0 -0
- /universal_mcp/applications/{google-mail → google_mail}/app.py +0 -0
- /universal_mcp/applications/{google-sheet → google_sheet}/README.md +0 -0
- /universal_mcp/applications/{google-sheet → google_sheet}/__init__.py +0 -0
- /universal_mcp/applications/{ms-teams → ms_teams}/README.md +0 -0
- /universal_mcp/applications/{ms-teams → ms_teams}/__init__.py +0 -0
- /universal_mcp/applications/{whatsapp-business → whatsapp_business}/README.md +0 -0
- /universal_mcp/applications/{whatsapp-business → whatsapp_business}/__init__.py +0 -0
- /universal_mcp/applications/{whatsapp-business → whatsapp_business}/app.py +0 -0
- {universal_mcp_applications-0.1.1.dist-info → universal_mcp_applications-0.1.2.dist-info}/WHEEL +0 -0
- {universal_mcp_applications-0.1.1.dist-info → universal_mcp_applications-0.1.2.dist-info}/licenses/LICENSE +0 -0
|
@@ -3,15 +3,13 @@ from typing import Any
|
|
|
3
3
|
from universal_mcp.applications.application import APIApplication
|
|
4
4
|
from universal_mcp.integrations import Integration
|
|
5
5
|
|
|
6
|
-
from .schemas import *
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
class CalApp(APIApplication):
|
|
7
|
+
class CalComV2App(APIApplication):
|
|
10
8
|
def __init__(self, integration: Integration = None, **kwargs) -> None:
|
|
11
9
|
super().__init__(name="cal-com-v2", integration=integration, **kwargs)
|
|
12
10
|
self.base_url = "https://api.cal.com"
|
|
13
11
|
|
|
14
|
-
def get_provider_details(self, clientId: str) ->
|
|
12
|
+
def get_provider_details(self, clientId: str) -> dict[str, Any]:
|
|
15
13
|
"""
|
|
16
14
|
Retrieves information for a provider using the client ID provided in the path.
|
|
17
15
|
|
|
@@ -38,7 +36,7 @@ class CalApp(APIApplication):
|
|
|
38
36
|
|
|
39
37
|
def get_provider_access_token(
|
|
40
38
|
self, clientId: str
|
|
41
|
-
) ->
|
|
39
|
+
) -> dict[str, Any]:
|
|
42
40
|
"""
|
|
43
41
|
Retrieves an access token for the specified client ID using a GET request.
|
|
44
42
|
|
|
@@ -63,7 +61,7 @@ class CalApp(APIApplication):
|
|
|
63
61
|
self._handle_response(response)
|
|
64
62
|
)
|
|
65
63
|
|
|
66
|
-
def gcal_controller_redirect(self) ->
|
|
64
|
+
def gcal_controller_redirect(self) -> dict[str, Any]:
|
|
67
65
|
"""
|
|
68
66
|
Retrieves and returns an authorization URL for Google Calendar OAuth using the "GET" method at the "/v2/gcal/oauth/auth-url" path.
|
|
69
67
|
|
|
@@ -83,7 +81,7 @@ class CalApp(APIApplication):
|
|
|
83
81
|
self._handle_response(response)
|
|
84
82
|
)
|
|
85
83
|
|
|
86
|
-
def gcal_controller_save(self, state: str, code: str) ->
|
|
84
|
+
def gcal_controller_save(self, state: str, code: str) -> dict[str, Any]:
|
|
87
85
|
"""
|
|
88
86
|
Handles Google Calendar OAuth 2.0 authorization callback by exchanging an authorization code for an access token and saving credentials.
|
|
89
87
|
|
|
@@ -109,7 +107,7 @@ class CalApp(APIApplication):
|
|
|
109
107
|
self._handle_response(response)
|
|
110
108
|
)
|
|
111
109
|
|
|
112
|
-
def gcal_controller_check(self) ->
|
|
110
|
+
def gcal_controller_check(self) -> dict[str, Any]:
|
|
113
111
|
"""
|
|
114
112
|
Checks the Google Calendar availability or status using the v2 API and returns a success response if valid.
|
|
115
113
|
|
|
@@ -131,7 +129,7 @@ class CalApp(APIApplication):
|
|
|
131
129
|
|
|
132
130
|
def list_client_users(
|
|
133
131
|
self, clientId: str, limit: float | None = None
|
|
134
|
-
) ->
|
|
132
|
+
) -> dict[str, Any]:
|
|
135
133
|
"""
|
|
136
134
|
Retrieves a list of users associated with a specific OAuth client ID, optionally limited by the specified query parameter.
|
|
137
135
|
|
|
@@ -165,7 +163,7 @@ class CalApp(APIApplication):
|
|
|
165
163
|
timeZone: str | None = None,
|
|
166
164
|
locale: str | None = None,
|
|
167
165
|
avatarUrl: str | None = None,
|
|
168
|
-
) ->
|
|
166
|
+
) -> dict[str, Any]:
|
|
169
167
|
"""
|
|
170
168
|
Creates a new user for an OAuth client specified by the `clientId` and returns a successful response with a 201 status code.
|
|
171
169
|
|
|
@@ -219,7 +217,7 @@ class CalApp(APIApplication):
|
|
|
219
217
|
|
|
220
218
|
def get_oauth_client_user_by_id(
|
|
221
219
|
self, clientId: str, userId: str
|
|
222
|
-
) ->
|
|
220
|
+
) -> dict[str, Any]:
|
|
223
221
|
"""
|
|
224
222
|
Retrieves user-specific information associated with an OAuth client using the provided client ID and user ID.
|
|
225
223
|
|
|
@@ -259,7 +257,7 @@ class CalApp(APIApplication):
|
|
|
259
257
|
timeZone: str | None = None,
|
|
260
258
|
locale: str | None = None,
|
|
261
259
|
avatarUrl: str | None = None,
|
|
262
|
-
) ->
|
|
260
|
+
) -> dict[str, Any]:
|
|
263
261
|
"""
|
|
264
262
|
Updates the association of a user with a specified OAuth client using the PATCH method on the "/v2/oauth-clients/{clientId}/users/{userId}" path.
|
|
265
263
|
|
|
@@ -311,7 +309,7 @@ class CalApp(APIApplication):
|
|
|
311
309
|
|
|
312
310
|
def delete_user_by_client_id_id(
|
|
313
311
|
self, clientId: str, userId: str
|
|
314
|
-
) ->
|
|
312
|
+
) -> dict[str, Any]:
|
|
315
313
|
"""
|
|
316
314
|
Removes a user's association with an OAuth client identified by the client ID and user ID.
|
|
317
315
|
|
|
@@ -341,7 +339,7 @@ class CalApp(APIApplication):
|
|
|
341
339
|
|
|
342
340
|
def force_refresh_user(
|
|
343
341
|
self, clientId: str, userId: str
|
|
344
|
-
) ->
|
|
342
|
+
) -> dict[str, Any]:
|
|
345
343
|
"""
|
|
346
344
|
Forces a refresh for the OAuth client's user session, invalidating existing tokens and generating new ones.
|
|
347
345
|
|
|
@@ -377,7 +375,7 @@ class CalApp(APIApplication):
|
|
|
377
375
|
|
|
378
376
|
def refresh_oauth_client_token(
|
|
379
377
|
self, clientId: str, refreshToken: str
|
|
380
|
-
) ->
|
|
378
|
+
) -> dict[str, Any]:
|
|
381
379
|
"""
|
|
382
380
|
Refreshes an access token for a specified client using OAuth 2.0, allowing the client to obtain a new access token without user interaction.
|
|
383
381
|
|
|
@@ -421,7 +419,7 @@ class CalApp(APIApplication):
|
|
|
421
419
|
triggers: str,
|
|
422
420
|
payloadTemplate: str | None = None,
|
|
423
421
|
secret: str | None = None,
|
|
424
|
-
) ->
|
|
422
|
+
) -> dict[str, Any]:
|
|
425
423
|
"""
|
|
426
424
|
Creates a webhook for an OAuth client using the client ID specified in the path, enabling event-driven communication.
|
|
427
425
|
|
|
@@ -469,7 +467,7 @@ class CalApp(APIApplication):
|
|
|
469
467
|
|
|
470
468
|
def list_webhooks_by_client_id(
|
|
471
469
|
self, clientId: str, take: float | None = None, skip: float | None = None
|
|
472
|
-
) ->
|
|
470
|
+
) -> dict[str, Any]:
|
|
473
471
|
"""
|
|
474
472
|
Retrieves a paginated list of webhooks associated with a specific OAuth client using clientId, take, and skip parameters for pagination.
|
|
475
473
|
|
|
@@ -498,7 +496,7 @@ class CalApp(APIApplication):
|
|
|
498
496
|
self._handle_response(response)
|
|
499
497
|
)
|
|
500
498
|
|
|
501
|
-
def delete_client_webhook(self, clientId: str) ->
|
|
499
|
+
def delete_client_webhook(self, clientId: str) -> dict[str, Any]:
|
|
502
500
|
"""
|
|
503
501
|
Deletes a webhook associated with an OAuth client identified by the provided client ID using the DELETE method.
|
|
504
502
|
|
|
@@ -532,7 +530,7 @@ class CalApp(APIApplication):
|
|
|
532
530
|
subscriberUrl: str | None = None,
|
|
533
531
|
triggers: str | None = None,
|
|
534
532
|
secret: str | None = None,
|
|
535
|
-
) ->
|
|
533
|
+
) -> dict[str, Any]:
|
|
536
534
|
"""
|
|
537
535
|
Updates an existing webhook for a specified OAuth client using the "PATCH" method, modifying its configuration as needed.
|
|
538
536
|
|
|
@@ -578,7 +576,7 @@ class CalApp(APIApplication):
|
|
|
578
576
|
|
|
579
577
|
def get_oauth_client_webhook_by_id(
|
|
580
578
|
self, clientId: str, webhookId: str
|
|
581
|
-
) ->
|
|
579
|
+
) -> dict[str, Any]:
|
|
582
580
|
"""
|
|
583
581
|
Retrieves information about a specific webhook associated with an OAuth client using the "GET" method at the specified path.
|
|
584
582
|
|
|
@@ -608,7 +606,7 @@ class CalApp(APIApplication):
|
|
|
608
606
|
|
|
609
607
|
def delete_oauth_client_webhook_by_id(
|
|
610
608
|
self, clientId: str, webhookId: str
|
|
611
|
-
) ->
|
|
609
|
+
) -> dict[str, Any]:
|
|
612
610
|
"""
|
|
613
611
|
Deletes a webhook associated with a specific OAuth client using the provided client and webhook IDs.
|
|
614
612
|
|
|
@@ -638,7 +636,7 @@ class CalApp(APIApplication):
|
|
|
638
636
|
|
|
639
637
|
def list_org_attributes(
|
|
640
638
|
self, orgId: str, take: float | None = None, skip: float | None = None
|
|
641
|
-
) ->
|
|
639
|
+
) -> dict[str, Any]:
|
|
642
640
|
"""
|
|
643
641
|
Retrieves a list of organization attributes filtered by pagination parameters.
|
|
644
642
|
|
|
@@ -673,7 +671,7 @@ class CalApp(APIApplication):
|
|
|
673
671
|
type: str,
|
|
674
672
|
options: list[dict[str, Any]],
|
|
675
673
|
enabled: bool | None = None,
|
|
676
|
-
) ->
|
|
674
|
+
) -> dict[str, Any]:
|
|
677
675
|
"""
|
|
678
676
|
Adds new attributes to an organization using the API, specifying the organization ID in the path, and returns a successful creation status.
|
|
679
677
|
|
|
@@ -721,7 +719,7 @@ class CalApp(APIApplication):
|
|
|
721
719
|
|
|
722
720
|
def fetch_organization_attribute_by_id(
|
|
723
721
|
self, orgId: str, attributeId: str
|
|
724
|
-
) ->
|
|
722
|
+
) -> dict[str, Any]:
|
|
725
723
|
"""
|
|
726
724
|
Retrieves a specific attribute for an organization based on the provided orgId and attributeId.
|
|
727
725
|
|
|
@@ -757,7 +755,7 @@ class CalApp(APIApplication):
|
|
|
757
755
|
slug: str | None = None,
|
|
758
756
|
type: str | None = None,
|
|
759
757
|
enabled: bool | None = None,
|
|
760
|
-
) ->
|
|
758
|
+
) -> dict[str, Any]:
|
|
761
759
|
"""
|
|
762
760
|
Modifies an attribute of an organization using the PATCH method, updating the specified attribute by ID within the given organization.
|
|
763
761
|
|
|
@@ -801,7 +799,7 @@ class CalApp(APIApplication):
|
|
|
801
799
|
|
|
802
800
|
def delete_org_attribute(
|
|
803
801
|
self, orgId: str, attributeId: str
|
|
804
|
-
) ->
|
|
802
|
+
) -> dict[str, Any]:
|
|
805
803
|
"""
|
|
806
804
|
Deletes a specified attribute from an organization using the provided orgId and attributeId path parameters.
|
|
807
805
|
|
|
@@ -831,7 +829,7 @@ class CalApp(APIApplication):
|
|
|
831
829
|
|
|
832
830
|
def create_org_attribute_option(
|
|
833
831
|
self, orgId: str, attributeId: str, value: str, slug: str
|
|
834
|
-
) ->
|
|
832
|
+
) -> dict[str, Any]:
|
|
835
833
|
"""
|
|
836
834
|
Creates a new option for the specified attribute in the given organization and returns the created resource.
|
|
837
835
|
|
|
@@ -878,7 +876,7 @@ class CalApp(APIApplication):
|
|
|
878
876
|
|
|
879
877
|
def get_org_attribute_options(
|
|
880
878
|
self, orgId: str, attributeId: str
|
|
881
|
-
) ->
|
|
879
|
+
) -> dict[str, Any]:
|
|
882
880
|
"""
|
|
883
881
|
Retrieves options for a specific attribute within an organization using the "GET" method at the "/v2/organizations/{orgId}/attributes/{attributeId}/options" endpoint.
|
|
884
882
|
|
|
@@ -910,7 +908,7 @@ class CalApp(APIApplication):
|
|
|
910
908
|
|
|
911
909
|
def delete_attribute_option_by_id(
|
|
912
910
|
self, orgId: str, attributeId: str, optionId: str
|
|
913
|
-
) ->
|
|
911
|
+
) -> dict[str, Any]:
|
|
914
912
|
"""
|
|
915
913
|
Deletes a specific attribute option for an organization's custom attributes using the provided orgId, attributeId, and optionId.
|
|
916
914
|
|
|
@@ -948,7 +946,7 @@ class CalApp(APIApplication):
|
|
|
948
946
|
optionId: str,
|
|
949
947
|
value: str | None = None,
|
|
950
948
|
slug: str | None = None,
|
|
951
|
-
) ->
|
|
949
|
+
) -> dict[str, Any]:
|
|
952
950
|
"""
|
|
953
951
|
Updates a specific option for an organization's attribute using partial modifications.
|
|
954
952
|
|
|
@@ -996,7 +994,7 @@ class CalApp(APIApplication):
|
|
|
996
994
|
attributeId: str,
|
|
997
995
|
value: str | None = None,
|
|
998
996
|
attributeOptionId: str | None = None,
|
|
999
|
-
) ->
|
|
997
|
+
) -> dict[str, Any]:
|
|
1000
998
|
"""
|
|
1001
999
|
Assigns attribute options to a user within an organization using the POST method and returns a creation status.
|
|
1002
1000
|
|
|
@@ -1043,7 +1041,7 @@ class CalApp(APIApplication):
|
|
|
1043
1041
|
|
|
1044
1042
|
def get_user_org_attribute_options(
|
|
1045
1043
|
self, orgId: str, userId: str
|
|
1046
|
-
) ->
|
|
1044
|
+
) -> dict[str, Any]:
|
|
1047
1045
|
"""
|
|
1048
1046
|
Retrieves attribute options for a specified user within an organization using the "GET" method.
|
|
1049
1047
|
|
|
@@ -1073,7 +1071,7 @@ class CalApp(APIApplication):
|
|
|
1073
1071
|
|
|
1074
1072
|
def delete_attribute_option(
|
|
1075
1073
|
self, orgId: str, userId: str, attributeOptionId: str
|
|
1076
|
-
) ->
|
|
1074
|
+
) -> dict[str, Any]:
|
|
1077
1075
|
"""
|
|
1078
1076
|
Deletes a specific attribute option for a user within an organization via the provided path parameters.
|
|
1079
1077
|
|
|
@@ -1142,7 +1140,7 @@ class CalApp(APIApplication):
|
|
|
1142
1140
|
hideCalendarEventDetails: bool | None = None,
|
|
1143
1141
|
successRedirectUrl: str | None = None,
|
|
1144
1142
|
assignAllTeamMembers: bool | None = None,
|
|
1145
|
-
) ->
|
|
1143
|
+
) -> dict[str, Any]:
|
|
1146
1144
|
"""
|
|
1147
1145
|
Creates a new event type within a specified team and organization.
|
|
1148
1146
|
|
|
@@ -1254,7 +1252,7 @@ class CalApp(APIApplication):
|
|
|
1254
1252
|
|
|
1255
1253
|
def list_event_types_by_team_and_org(
|
|
1256
1254
|
self, orgId: str, teamId: str, eventSlug: str | None = None
|
|
1257
|
-
) ->
|
|
1255
|
+
) -> dict[str, Any]:
|
|
1258
1256
|
"""
|
|
1259
1257
|
Retrieves event types for a specific team within an organization using the "GET" method at the "/v2/organizations/{orgId}/teams/{teamId}/event-types" endpoint, optionally filtering by event slug.
|
|
1260
1258
|
|
|
@@ -1285,7 +1283,7 @@ class CalApp(APIApplication):
|
|
|
1285
1283
|
|
|
1286
1284
|
def get_event_types_by_team_id(
|
|
1287
1285
|
self, orgId: str, teamId: str, eventTypeId: str
|
|
1288
|
-
) ->
|
|
1286
|
+
) -> dict[str, Any]:
|
|
1289
1287
|
"""
|
|
1290
1288
|
Retrieves details about a specific event type within a team of an organization using the provided organization ID, team ID, and event type ID.
|
|
1291
1289
|
|
|
@@ -1332,7 +1330,7 @@ class CalApp(APIApplication):
|
|
|
1332
1330
|
guestCompany: str | None = None,
|
|
1333
1331
|
beginMessage: str | None = None,
|
|
1334
1332
|
generalPrompt: str | None = None,
|
|
1335
|
-
) ->
|
|
1333
|
+
) -> dict[str, Any]:
|
|
1336
1334
|
"""
|
|
1337
1335
|
Initiates a phone call for a specific event type under an organization's team context and returns a 201 Created response upon successful creation.
|
|
1338
1336
|
|
|
@@ -1398,7 +1396,7 @@ class CalApp(APIApplication):
|
|
|
1398
1396
|
|
|
1399
1397
|
def list_event_types_by_org_id(
|
|
1400
1398
|
self, orgId: str, take: float | None = None, skip: float | None = None
|
|
1401
|
-
) ->
|
|
1399
|
+
) -> dict[str, Any]:
|
|
1402
1400
|
"""
|
|
1403
1401
|
Retrieves a paginated list of event types for teams within a specified organization.
|
|
1404
1402
|
|
|
@@ -1429,7 +1427,7 @@ class CalApp(APIApplication):
|
|
|
1429
1427
|
|
|
1430
1428
|
def list_organization_memberships(
|
|
1431
1429
|
self, orgId: str, take: float | None = None, skip: float | None = None
|
|
1432
|
-
) ->
|
|
1430
|
+
) -> dict[str, Any]:
|
|
1433
1431
|
"""
|
|
1434
1432
|
Retrieves a list of memberships for an organization identified by the specified `orgId`, allowing pagination through optional `take` and `skip` query parameters.
|
|
1435
1433
|
|
|
@@ -1465,7 +1463,7 @@ class CalApp(APIApplication):
|
|
|
1465
1463
|
role: str,
|
|
1466
1464
|
accepted: bool | None = None,
|
|
1467
1465
|
disableImpersonation: bool | None = None,
|
|
1468
|
-
) ->
|
|
1466
|
+
) -> dict[str, Any]:
|
|
1469
1467
|
"""
|
|
1470
1468
|
Creates a new membership for an organization identified by {orgId} using the API.
|
|
1471
1469
|
|
|
@@ -1511,7 +1509,7 @@ class CalApp(APIApplication):
|
|
|
1511
1509
|
|
|
1512
1510
|
def get_org_membership_by_id(
|
|
1513
1511
|
self, orgId: str, membershipId: str
|
|
1514
|
-
) ->
|
|
1512
|
+
) -> dict[str, Any]:
|
|
1515
1513
|
"""
|
|
1516
1514
|
Retrieves membership details for a specific organization membership using the provided organization ID and membership ID.
|
|
1517
1515
|
|
|
@@ -1541,7 +1539,7 @@ class CalApp(APIApplication):
|
|
|
1541
1539
|
|
|
1542
1540
|
def delete_org_membership_by_id(
|
|
1543
1541
|
self, orgId: str, membershipId: str
|
|
1544
|
-
) ->
|
|
1542
|
+
) -> dict[str, Any]:
|
|
1545
1543
|
"""
|
|
1546
1544
|
Removes a user's membership from the specified organization by deleting the membership record at the given path.
|
|
1547
1545
|
|
|
@@ -1576,7 +1574,7 @@ class CalApp(APIApplication):
|
|
|
1576
1574
|
accepted: bool | None = None,
|
|
1577
1575
|
role: str | None = None,
|
|
1578
1576
|
disableImpersonation: bool | None = None,
|
|
1579
|
-
) ->
|
|
1577
|
+
) -> dict[str, Any]:
|
|
1580
1578
|
"""
|
|
1581
1579
|
Updates an organization membership's details using the PATCH method and returns the updated membership data.
|
|
1582
1580
|
|
|
@@ -1618,7 +1616,7 @@ class CalApp(APIApplication):
|
|
|
1618
1616
|
|
|
1619
1617
|
def get_organization_schedules(
|
|
1620
1618
|
self, orgId: str, take: float | None = None, skip: float | None = None
|
|
1621
|
-
) ->
|
|
1619
|
+
) -> dict[str, Any]:
|
|
1622
1620
|
"""
|
|
1623
1621
|
Retrieves a list of schedules for the specified organization, using pagination parameters to limit results.
|
|
1624
1622
|
|
|
@@ -1656,7 +1654,7 @@ class CalApp(APIApplication):
|
|
|
1656
1654
|
isDefault: bool,
|
|
1657
1655
|
availability: list[dict[str, Any]] | None = None,
|
|
1658
1656
|
overrides: list[dict[str, Any]] | None = None,
|
|
1659
|
-
) ->
|
|
1657
|
+
) -> dict[str, Any]:
|
|
1660
1658
|
"""
|
|
1661
1659
|
Creates a schedule for the specified user within an organization and returns a success status upon creation.
|
|
1662
1660
|
|
|
@@ -1708,7 +1706,7 @@ class CalApp(APIApplication):
|
|
|
1708
1706
|
|
|
1709
1707
|
def get_user_schedule(
|
|
1710
1708
|
self, orgId: str, userId: str
|
|
1711
|
-
) ->
|
|
1709
|
+
) -> dict[str, Any]:
|
|
1712
1710
|
"""
|
|
1713
1711
|
Retrieves a user's schedule for a specific organization using the GET method.
|
|
1714
1712
|
|
|
@@ -1738,7 +1736,7 @@ class CalApp(APIApplication):
|
|
|
1738
1736
|
|
|
1739
1737
|
def get_schedule_detail(
|
|
1740
1738
|
self, orgId: str, userId: str, scheduleId: str
|
|
1741
|
-
) ->
|
|
1739
|
+
) -> dict[str, Any]:
|
|
1742
1740
|
"""
|
|
1743
1741
|
Retrieves the specified schedule for a user within an organization.
|
|
1744
1742
|
|
|
@@ -1777,7 +1775,7 @@ class CalApp(APIApplication):
|
|
|
1777
1775
|
availability: list[dict[str, Any]] | None = None,
|
|
1778
1776
|
isDefault: bool | None = None,
|
|
1779
1777
|
overrides: list[dict[str, Any]] | None = None,
|
|
1780
|
-
) ->
|
|
1778
|
+
) -> dict[str, Any]:
|
|
1781
1779
|
"""
|
|
1782
1780
|
Updates a user's schedule for a specified organization by applying partial modifications to the schedule's details using the PATCH method.
|
|
1783
1781
|
|
|
@@ -1826,7 +1824,7 @@ class CalApp(APIApplication):
|
|
|
1826
1824
|
|
|
1827
1825
|
def delete_user_schedule_by_id(
|
|
1828
1826
|
self, orgId: str, userId: str, scheduleId: str
|
|
1829
|
-
) ->
|
|
1827
|
+
) -> dict[str, Any]:
|
|
1830
1828
|
"""
|
|
1831
1829
|
Deletes a specific schedule for a user within an organization and returns a success status.
|
|
1832
1830
|
|
|
@@ -1859,7 +1857,7 @@ class CalApp(APIApplication):
|
|
|
1859
1857
|
|
|
1860
1858
|
def get_organization_teams(
|
|
1861
1859
|
self, orgId: str, take: float | None = None, skip: float | None = None
|
|
1862
|
-
) ->
|
|
1860
|
+
) -> dict[str, Any]:
|
|
1863
1861
|
"""
|
|
1864
1862
|
Retrieves a list of teams for a specified organization using the provided orgId, with optional pagination control via take and skip parameters.
|
|
1865
1863
|
|
|
@@ -1910,7 +1908,7 @@ class CalApp(APIApplication):
|
|
|
1910
1908
|
timeZone: str | None = None,
|
|
1911
1909
|
weekStart: str | None = None,
|
|
1912
1910
|
autoAcceptCreator: bool | None = None,
|
|
1913
|
-
) ->
|
|
1911
|
+
) -> dict[str, Any]:
|
|
1914
1912
|
"""
|
|
1915
1913
|
Creates a new team within the specified organization using the provided organization ID and returns a success status upon creation.
|
|
1916
1914
|
|
|
@@ -1986,7 +1984,7 @@ class CalApp(APIApplication):
|
|
|
1986
1984
|
|
|
1987
1985
|
def get_organization_team_me(
|
|
1988
1986
|
self, orgId: str, take: float | None = None, skip: float | None = None
|
|
1989
|
-
) ->
|
|
1987
|
+
) -> dict[str, Any]:
|
|
1990
1988
|
"""
|
|
1991
1989
|
Retrieves the teams for the current user within a specified organization using the "GET" method, optionally allowing pagination through query parameters.
|
|
1992
1990
|
|
|
@@ -2017,7 +2015,7 @@ class CalApp(APIApplication):
|
|
|
2017
2015
|
|
|
2018
2016
|
def get_organization_team_by_id(
|
|
2019
2017
|
self, orgId: str, teamId: str
|
|
2020
|
-
) ->
|
|
2018
|
+
) -> dict[str, Any]:
|
|
2021
2019
|
"""
|
|
2022
2020
|
Retrieves information about a specific team within an organization using the organization and team IDs.
|
|
2023
2021
|
|
|
@@ -2047,7 +2045,7 @@ class CalApp(APIApplication):
|
|
|
2047
2045
|
|
|
2048
2046
|
def delete_team_by_id(
|
|
2049
2047
|
self, orgId: str, teamId: str
|
|
2050
|
-
) ->
|
|
2048
|
+
) -> dict[str, Any]:
|
|
2051
2049
|
"""
|
|
2052
2050
|
Deletes a specific team within an organization and returns a success status upon completion.
|
|
2053
2051
|
|
|
@@ -2099,7 +2097,7 @@ class CalApp(APIApplication):
|
|
|
2099
2097
|
weekStart: str | None = None,
|
|
2100
2098
|
bookingLimits: str | None = None,
|
|
2101
2099
|
includeManagedEventsInLimits: bool | None = None,
|
|
2102
|
-
) ->
|
|
2100
|
+
) -> dict[str, Any]:
|
|
2103
2101
|
"""
|
|
2104
2102
|
Updates the specified team properties within an organization using partial modifications.
|
|
2105
2103
|
|
|
@@ -2179,7 +2177,7 @@ class CalApp(APIApplication):
|
|
|
2179
2177
|
teamId: str,
|
|
2180
2178
|
take: float | None = None,
|
|
2181
2179
|
skip: float | None = None,
|
|
2182
|
-
) ->
|
|
2180
|
+
) -> dict[str, Any]:
|
|
2183
2181
|
"""
|
|
2184
2182
|
Retrieves a paginated list of memberships for a specified team within an organization, using path parameters for orgId and teamId, and query parameters for pagination (take and skip).
|
|
2185
2183
|
|
|
@@ -2219,7 +2217,7 @@ class CalApp(APIApplication):
|
|
|
2219
2217
|
role: str,
|
|
2220
2218
|
accepted: bool | None = None,
|
|
2221
2219
|
disableImpersonation: bool | None = None,
|
|
2222
|
-
) ->
|
|
2220
|
+
) -> dict[str, Any]:
|
|
2223
2221
|
"""
|
|
2224
2222
|
Adds a member to the specified team within an organization and returns the membership details.
|
|
2225
2223
|
|
|
@@ -2268,7 +2266,7 @@ class CalApp(APIApplication):
|
|
|
2268
2266
|
|
|
2269
2267
|
def get_membership_details(
|
|
2270
2268
|
self, orgId: str, teamId: str, membershipId: str
|
|
2271
|
-
) ->
|
|
2269
|
+
) -> dict[str, Any]:
|
|
2272
2270
|
"""
|
|
2273
2271
|
Retrieves a specific membership record for a team within an organization, identified by membership ID, team ID, and organization ID.
|
|
2274
2272
|
|
|
@@ -2301,7 +2299,7 @@ class CalApp(APIApplication):
|
|
|
2301
2299
|
|
|
2302
2300
|
def delete_org_team_membership_by_id(
|
|
2303
2301
|
self, orgId: str, teamId: str, membershipId: str
|
|
2304
|
-
) ->
|
|
2302
|
+
) -> dict[str, Any]:
|
|
2305
2303
|
"""
|
|
2306
2304
|
Removes a user's team membership in an organization using the specified organization, team, and membership identifiers.
|
|
2307
2305
|
|
|
@@ -2340,7 +2338,7 @@ class CalApp(APIApplication):
|
|
|
2340
2338
|
accepted: bool | None = None,
|
|
2341
2339
|
role: str | None = None,
|
|
2342
2340
|
disableImpersonation: bool | None = None,
|
|
2343
|
-
) ->
|
|
2341
|
+
) -> dict[str, Any]:
|
|
2344
2342
|
"""
|
|
2345
2343
|
Updates membership details for a specific organization team member using partial modifications and returns a success status.
|
|
2346
2344
|
|
|
@@ -2385,7 +2383,7 @@ class CalApp(APIApplication):
|
|
|
2385
2383
|
|
|
2386
2384
|
def get_schedule_by_user(
|
|
2387
2385
|
self, orgId: str, teamId: str, userId: str
|
|
2388
|
-
) ->
|
|
2386
|
+
) -> dict[str, Any]:
|
|
2389
2387
|
"""
|
|
2390
2388
|
Retrieves the schedule details for a specific user within a designated team and organization.
|
|
2391
2389
|
|
|
@@ -2422,7 +2420,7 @@ class CalApp(APIApplication):
|
|
|
2422
2420
|
take: float | None = None,
|
|
2423
2421
|
skip: float | None = None,
|
|
2424
2422
|
emails: list[str] | None = None,
|
|
2425
|
-
) ->
|
|
2423
|
+
) -> dict[str, Any]:
|
|
2426
2424
|
"""
|
|
2427
2425
|
Retrieves a list of users for a specified organization, allowing filtering by take, skip, and emails parameters, using the GET method on the "/v2/organizations/{orgId}/users" endpoint.
|
|
2428
2426
|
|
|
@@ -2470,7 +2468,7 @@ class CalApp(APIApplication):
|
|
|
2470
2468
|
avatarUrl: str | None = None,
|
|
2471
2469
|
organizationRole: str | None = None,
|
|
2472
2470
|
autoAccept: bool | None = None,
|
|
2473
|
-
) ->
|
|
2471
|
+
) -> dict[str, Any]:
|
|
2474
2472
|
"""
|
|
2475
2473
|
Creates a new user within an organization using the provided organization ID.
|
|
2476
2474
|
|
|
@@ -2534,7 +2532,7 @@ class CalApp(APIApplication):
|
|
|
2534
2532
|
)
|
|
2535
2533
|
return Createorguserresponse.model_validate(self._handle_response(response))
|
|
2536
2534
|
|
|
2537
|
-
def delete_member_by_id(self, orgId: str, userId: str) ->
|
|
2535
|
+
def delete_member_by_id(self, orgId: str, userId: str) -> dict[str, Any]:
|
|
2538
2536
|
"""
|
|
2539
2537
|
Deletes a user with the specified user ID from an organization identified by the provided organization ID using the DELETE method, returning a status message upon success.
|
|
2540
2538
|
|
|
@@ -2562,7 +2560,7 @@ class CalApp(APIApplication):
|
|
|
2562
2560
|
|
|
2563
2561
|
def get_org_webhooks(
|
|
2564
2562
|
self, orgId: str, take: float | None = None, skip: float | None = None
|
|
2565
|
-
) ->
|
|
2563
|
+
) -> dict[str, Any]:
|
|
2566
2564
|
"""
|
|
2567
2565
|
Retrieves a list of webhooks for the specified organization, supporting pagination through skip and take parameters.
|
|
2568
2566
|
|
|
@@ -2597,7 +2595,7 @@ class CalApp(APIApplication):
|
|
|
2597
2595
|
triggers: str,
|
|
2598
2596
|
payloadTemplate: str | None = None,
|
|
2599
2597
|
secret: str | None = None,
|
|
2600
|
-
) ->
|
|
2598
|
+
) -> dict[str, Any]:
|
|
2601
2599
|
"""
|
|
2602
2600
|
Creates an organization webhook that triggers HTTP POST payloads for specified events and returns a success status on creation.
|
|
2603
2601
|
|
|
@@ -2643,7 +2641,7 @@ class CalApp(APIApplication):
|
|
|
2643
2641
|
|
|
2644
2642
|
def get_organization_webhook_by_id(
|
|
2645
2643
|
self, orgId: str, webhookId: str
|
|
2646
|
-
) ->
|
|
2644
|
+
) -> dict[str, Any]:
|
|
2647
2645
|
"""
|
|
2648
2646
|
Retrieves information about a specific webhook identified by `webhookId` for an organization specified by `orgId`.
|
|
2649
2647
|
|
|
@@ -2671,7 +2669,7 @@ class CalApp(APIApplication):
|
|
|
2671
2669
|
|
|
2672
2670
|
def delete_organization_webhook_by_id(
|
|
2673
2671
|
self, orgId: str, webhookId: str
|
|
2674
|
-
) ->
|
|
2672
|
+
) -> dict[str, Any]:
|
|
2675
2673
|
"""
|
|
2676
2674
|
Deletes a specified webhook from an organization using the provided organization and webhook identifiers.
|
|
2677
2675
|
|
|
@@ -2706,7 +2704,7 @@ class CalApp(APIApplication):
|
|
|
2706
2704
|
subscriberUrl: str | None = None,
|
|
2707
2705
|
triggers: str | None = None,
|
|
2708
2706
|
secret: str | None = None,
|
|
2709
|
-
) ->
|
|
2707
|
+
) -> dict[str, Any]:
|
|
2710
2708
|
"""
|
|
2711
2709
|
Updates a specific webhook for an organization using partial modifications via the PATCH method.
|
|
2712
2710
|
|
|
@@ -2764,7 +2762,7 @@ class CalApp(APIApplication):
|
|
|
2764
2762
|
sortCreated: str | None = None,
|
|
2765
2763
|
take: float | None = None,
|
|
2766
2764
|
skip: float | None = None,
|
|
2767
|
-
) ->
|
|
2765
|
+
) -> dict[str, Any]:
|
|
2768
2766
|
"""
|
|
2769
2767
|
Retrieves a filtered list of bookings based on parameters like status, attendee details, event types, time ranges, and pagination settings.
|
|
2770
2768
|
|
|
@@ -2817,7 +2815,7 @@ class CalApp(APIApplication):
|
|
|
2817
2815
|
response = self._get(url, params=query_params)
|
|
2818
2816
|
return Listbookingsresponse.model_validate(self._handle_response(response))
|
|
2819
2817
|
|
|
2820
|
-
def get_booking_by_uid(self, bookingUid: str) ->
|
|
2818
|
+
def get_booking_by_uid(self, bookingUid: str) -> dict[str, Any]:
|
|
2821
2819
|
"""
|
|
2822
2820
|
Retrieves the details of a specific booking using its unique identifier.
|
|
2823
2821
|
|
|
@@ -2842,7 +2840,7 @@ class CalApp(APIApplication):
|
|
|
2842
2840
|
|
|
2843
2841
|
def reschedule_booking_by_uid(
|
|
2844
2842
|
self, bookingUid: str
|
|
2845
|
-
) ->
|
|
2843
|
+
) -> dict[str, Any]:
|
|
2846
2844
|
"""
|
|
2847
2845
|
Reschedules an existing booking identified by its unique `bookingUid`, using the `POST` method at the "/v2/bookings/{bookingUid}/reschedule" endpoint.
|
|
2848
2846
|
|
|
@@ -2873,7 +2871,7 @@ class CalApp(APIApplication):
|
|
|
2873
2871
|
self._handle_response(response)
|
|
2874
2872
|
)
|
|
2875
2873
|
|
|
2876
|
-
def cancel_booking_by_uid(self, bookingUid: str) ->
|
|
2874
|
+
def cancel_booking_by_uid(self, bookingUid: str) -> dict[str, Any]:
|
|
2877
2875
|
"""
|
|
2878
2876
|
Cancels a booking by sending a POST request to the "/v2/bookings/{bookingUid}/cancel" endpoint, using the provided booking UID to identify the booking to be canceled.
|
|
2879
2877
|
|
|
@@ -2909,7 +2907,7 @@ class CalApp(APIApplication):
|
|
|
2909
2907
|
bookingUid: str,
|
|
2910
2908
|
host: bool | None = None,
|
|
2911
2909
|
attendees: list[dict[str, Any]] | None = None,
|
|
2912
|
-
) ->
|
|
2910
|
+
) -> dict[str, Any]:
|
|
2913
2911
|
"""
|
|
2914
2912
|
Marks a booking as absent using the provided booking UID and authentication token, indicating that the owner of the booking is absent.
|
|
2915
2913
|
|
|
@@ -2949,7 +2947,7 @@ class CalApp(APIApplication):
|
|
|
2949
2947
|
self._handle_response(response)
|
|
2950
2948
|
)
|
|
2951
2949
|
|
|
2952
|
-
def reassign_booking(self, bookingUid: str) ->
|
|
2950
|
+
def reassign_booking(self, bookingUid: str) -> dict[str, Any]:
|
|
2953
2951
|
"""
|
|
2954
2952
|
Reassigns a booking to a different team member or booking page via a POST request to the specified booking UID, potentially allowing double bookings if availability conflicts exist.
|
|
2955
2953
|
|
|
@@ -2980,7 +2978,7 @@ class CalApp(APIApplication):
|
|
|
2980
2978
|
|
|
2981
2979
|
def reassign_booking_to_user(
|
|
2982
2980
|
self, bookingUid: str, userId: str, reason: str | None = None
|
|
2983
|
-
) ->
|
|
2981
|
+
) -> dict[str, Any]:
|
|
2984
2982
|
"""
|
|
2985
2983
|
Reassigns a booking to a specific user specified by the `userId` using a POST request, requiring authorization and providing a reason for the reassignment.
|
|
2986
2984
|
|
|
@@ -3019,7 +3017,7 @@ class CalApp(APIApplication):
|
|
|
3019
3017
|
)
|
|
3020
3018
|
return Reassignbookingresponse.model_validate(self._handle_response(response))
|
|
3021
3019
|
|
|
3022
|
-
def confirm_booking(self, bookingUid: str) ->
|
|
3020
|
+
def confirm_booking(self, bookingUid: str) -> dict[str, Any]:
|
|
3023
3021
|
"""
|
|
3024
3022
|
Confirms a specific booking by its unique identifier and returns a success status upon completion.
|
|
3025
3023
|
|
|
@@ -3050,7 +3048,7 @@ class CalApp(APIApplication):
|
|
|
3050
3048
|
|
|
3051
3049
|
def decline_booking(
|
|
3052
3050
|
self, bookingUid: str, reason: str | None = None
|
|
3053
|
-
) ->
|
|
3051
|
+
) -> dict[str, Any]:
|
|
3054
3052
|
"""
|
|
3055
3053
|
Declines a specific booking identified by the bookingUid using the Booking.com API and returns a success status upon completion.
|
|
3056
3054
|
|
|
@@ -3088,7 +3086,7 @@ class CalApp(APIApplication):
|
|
|
3088
3086
|
|
|
3089
3087
|
def save_ics_feed_post(
|
|
3090
3088
|
self, urls: list[str], readOnly: bool | None = None
|
|
3091
|
-
) ->
|
|
3089
|
+
) -> dict[str, Any]:
|
|
3092
3090
|
"""
|
|
3093
3091
|
Saves an ICS calendar feed configuration and returns the created resource.
|
|
3094
3092
|
|
|
@@ -3123,7 +3121,7 @@ class CalApp(APIApplication):
|
|
|
3123
3121
|
)
|
|
3124
3122
|
return Saveicsfeedpostresponse.model_validate(self._handle_response(response))
|
|
3125
3123
|
|
|
3126
|
-
def check_ics_feed(self) ->
|
|
3124
|
+
def check_ics_feed(self) -> dict[str, Any]:
|
|
3127
3125
|
"""
|
|
3128
3126
|
Checks the status and validity of an ICS calendar feed.
|
|
3129
3127
|
|
|
@@ -3148,7 +3146,7 @@ class CalApp(APIApplication):
|
|
|
3148
3146
|
externalId: str,
|
|
3149
3147
|
dateFrom: str | None = None,
|
|
3150
3148
|
dateTo: str | None = None,
|
|
3151
|
-
) ->
|
|
3149
|
+
) -> dict[str, Any]:
|
|
3152
3150
|
"""
|
|
3153
3151
|
Retrieves a list of busy times for specified calendars within a given date range using the "GET" method at "/v2/calendars/busy-times," allowing for time zone and credential specification.
|
|
3154
3152
|
|
|
@@ -3185,7 +3183,7 @@ class CalApp(APIApplication):
|
|
|
3185
3183
|
self._handle_response(response)
|
|
3186
3184
|
)
|
|
3187
3185
|
|
|
3188
|
-
def get_calendars(self) ->
|
|
3186
|
+
def get_calendars(self) -> dict[str, Any]:
|
|
3189
3187
|
"""
|
|
3190
3188
|
Retrieves a list of calendars using the API at the "/v2/calendars" endpoint via the GET method.
|
|
3191
3189
|
|
|
@@ -3203,7 +3201,7 @@ class CalApp(APIApplication):
|
|
|
3203
3201
|
response = self._get(url, params=query_params)
|
|
3204
3202
|
return Getcalendarsresponse.model_validate(self._handle_response(response))
|
|
3205
3203
|
|
|
3206
|
-
def calendars_controller_redirect(self, calendar: str) ->
|
|
3204
|
+
def calendars_controller_redirect(self, calendar: str) -> dict[str, Any]:
|
|
3207
3205
|
"""
|
|
3208
3206
|
Retrieves a connection status for the specified calendar at path "/v2/calendars/{calendar}/connect" using the GET method, requiring authorization and calendar identifier.
|
|
3209
3207
|
|
|
@@ -3282,7 +3280,7 @@ class CalApp(APIApplication):
|
|
|
3282
3280
|
)
|
|
3283
3281
|
return self._handle_response(response)
|
|
3284
3282
|
|
|
3285
|
-
def calendars_controller_check(self, calendar: str) ->
|
|
3283
|
+
def calendars_controller_check(self, calendar: str) -> dict[str, Any]:
|
|
3286
3284
|
"""
|
|
3287
3285
|
Checks the status or availability of a specified calendar using the "GET" method at the "/v2/calendars/{calendar}/check" endpoint.
|
|
3288
3286
|
|
|
@@ -3305,7 +3303,7 @@ class CalApp(APIApplication):
|
|
|
3305
3303
|
response = self._get(url, params=query_params)
|
|
3306
3304
|
return Checkicsfeedresponse.model_validate(self._handle_response(response))
|
|
3307
3305
|
|
|
3308
|
-
def disconnect_calendar(self, calendar: str, id: int) ->
|
|
3306
|
+
def disconnect_calendar(self, calendar: str, id: int) -> dict[str, Any]:
|
|
3309
3307
|
"""
|
|
3310
3308
|
Disconnects a specified calendar from a user's account using the Cal.com API, requiring a POST request to the "/v2/calendars/{calendar}/disconnect" endpoint with the calendar type and credential ID in the request body.
|
|
3311
3309
|
|
|
@@ -3345,7 +3343,7 @@ class CalApp(APIApplication):
|
|
|
3345
3343
|
|
|
3346
3344
|
def conferencing_controller_connect(
|
|
3347
3345
|
self, app: str
|
|
3348
|
-
) ->
|
|
3346
|
+
) -> dict[str, Any]:
|
|
3349
3347
|
"""
|
|
3350
3348
|
Establishes a connection for conferencing using the specified application via the POST method at the "/v2/conferencing/{app}/connect" endpoint.
|
|
3351
3349
|
|
|
@@ -3378,7 +3376,7 @@ class CalApp(APIApplication):
|
|
|
3378
3376
|
|
|
3379
3377
|
def get_auth_url(
|
|
3380
3378
|
self, app: str, returnTo: str, onErrorReturnTo: str
|
|
3381
|
-
) ->
|
|
3379
|
+
) -> dict[str, Any]:
|
|
3382
3380
|
"""
|
|
3383
3381
|
Generates an authorization URL for OAuth in a conferencing application using the "GET" method at the "/v2/conferencing/{app}/oauth/auth-url" path, accepting parameters such as the application name and return URLs.
|
|
3384
3382
|
|
|
@@ -3436,7 +3434,7 @@ class CalApp(APIApplication):
|
|
|
3436
3434
|
response = self._get(url, params=query_params)
|
|
3437
3435
|
return self._handle_response(response)
|
|
3438
3436
|
|
|
3439
|
-
def list_conferencing(self) ->
|
|
3437
|
+
def list_conferencing(self) -> dict[str, Any]:
|
|
3440
3438
|
"""
|
|
3441
3439
|
Retrieves conferencing data using the "GET" method at the "/v2/conferencing" endpoint, returning relevant information.
|
|
3442
3440
|
|
|
@@ -3456,7 +3454,7 @@ class CalApp(APIApplication):
|
|
|
3456
3454
|
|
|
3457
3455
|
def conferencing_controller_default(
|
|
3458
3456
|
self, app: str
|
|
3459
|
-
) ->
|
|
3457
|
+
) -> dict[str, Any]:
|
|
3460
3458
|
"""
|
|
3461
3459
|
Sets the default conferencing application for the specified app identifier.
|
|
3462
3460
|
|
|
@@ -3487,7 +3485,7 @@ class CalApp(APIApplication):
|
|
|
3487
3485
|
self._handle_response(response)
|
|
3488
3486
|
)
|
|
3489
3487
|
|
|
3490
|
-
def get_default_conferencing(self) ->
|
|
3488
|
+
def get_default_conferencing(self) -> dict[str, Any]:
|
|
3491
3489
|
"""
|
|
3492
3490
|
Retrieves the default conferencing configuration from the API.
|
|
3493
3491
|
|
|
@@ -3507,7 +3505,7 @@ class CalApp(APIApplication):
|
|
|
3507
3505
|
self._handle_response(response)
|
|
3508
3506
|
)
|
|
3509
3507
|
|
|
3510
|
-
def disconnect_conferencing_app(self, app: str) ->
|
|
3508
|
+
def disconnect_conferencing_app(self, app: str) -> dict[str, Any]:
|
|
3511
3509
|
"""
|
|
3512
3510
|
Disconnects all participants from a specified conferencing application instance using the path parameter and returns a success response upon completion.
|
|
3513
3511
|
|
|
@@ -3534,7 +3532,7 @@ class CalApp(APIApplication):
|
|
|
3534
3532
|
|
|
3535
3533
|
def update_destination_calendars(
|
|
3536
3534
|
self, integration: str, externalId: str
|
|
3537
|
-
) ->
|
|
3535
|
+
) -> dict[str, Any]:
|
|
3538
3536
|
"""
|
|
3539
3537
|
Updates a destination calendar at the specified path "/v2/destination-calendars" using the PUT method.
|
|
3540
3538
|
|
|
@@ -3578,7 +3576,7 @@ class CalApp(APIApplication):
|
|
|
3578
3576
|
usernames: str | None = None,
|
|
3579
3577
|
orgSlug: str | None = None,
|
|
3580
3578
|
orgId: float | None = None,
|
|
3581
|
-
) ->
|
|
3579
|
+
) -> dict[str, Any]:
|
|
3582
3580
|
"""
|
|
3583
3581
|
Retrieves a list of event types using the GET method, allowing filtering by username, event slug, usernames list, organization slug, and organization ID through query parameters.
|
|
3584
3582
|
|
|
@@ -3613,7 +3611,7 @@ class CalApp(APIApplication):
|
|
|
3613
3611
|
response = self._get(url, params=query_params)
|
|
3614
3612
|
return Listeventtypesresponse.model_validate(self._handle_response(response))
|
|
3615
3613
|
|
|
3616
|
-
def get_event_type_by_id(self, eventTypeId: str) ->
|
|
3614
|
+
def get_event_type_by_id(self, eventTypeId: str) -> dict[str, Any]:
|
|
3617
3615
|
"""
|
|
3618
3616
|
Retrieves detailed information about a specific event type by its ID using the Events API.
|
|
3619
3617
|
|
|
@@ -3636,7 +3634,7 @@ class CalApp(APIApplication):
|
|
|
3636
3634
|
response = self._get(url, params=query_params)
|
|
3637
3635
|
return Geteventtypebyidresponse.model_validate(self._handle_response(response))
|
|
3638
3636
|
|
|
3639
|
-
def delete_event_type_by_id(self, eventTypeId: str) ->
|
|
3637
|
+
def delete_event_type_by_id(self, eventTypeId: str) -> dict[str, Any]:
|
|
3640
3638
|
"""
|
|
3641
3639
|
Deletes the specified event type using the provided ID and returns a success status upon completion.
|
|
3642
3640
|
|
|
@@ -3669,7 +3667,7 @@ class CalApp(APIApplication):
|
|
|
3669
3667
|
triggers: str,
|
|
3670
3668
|
payloadTemplate: str | None = None,
|
|
3671
3669
|
secret: str | None = None,
|
|
3672
|
-
) ->
|
|
3670
|
+
) -> dict[str, Any]:
|
|
3673
3671
|
"""
|
|
3674
3672
|
Creates a webhook subscription for a specific event type, returning a success status upon creation.
|
|
3675
3673
|
|
|
@@ -3720,7 +3718,7 @@ class CalApp(APIApplication):
|
|
|
3720
3718
|
eventTypeId: str,
|
|
3721
3719
|
take: float | None = None,
|
|
3722
3720
|
skip: float | None = None,
|
|
3723
|
-
) ->
|
|
3721
|
+
) -> dict[str, Any]:
|
|
3724
3722
|
"""
|
|
3725
3723
|
Retrieves a list of webhooks configured for a specific event type, supporting pagination via take and skip parameters.
|
|
3726
3724
|
|
|
@@ -3747,7 +3745,7 @@ class CalApp(APIApplication):
|
|
|
3747
3745
|
response = self._get(url, params=query_params)
|
|
3748
3746
|
return Geteventwebhooksresponse.model_validate(self._handle_response(response))
|
|
3749
3747
|
|
|
3750
|
-
def delete_event_webhook(self, eventTypeId: str) ->
|
|
3748
|
+
def delete_event_webhook(self, eventTypeId: str) -> dict[str, Any]:
|
|
3751
3749
|
"""
|
|
3752
3750
|
Deletes a webhook associated with a specific event type ID using the DELETE method.
|
|
3753
3751
|
|
|
@@ -3781,7 +3779,7 @@ class CalApp(APIApplication):
|
|
|
3781
3779
|
subscriberUrl: str | None = None,
|
|
3782
3780
|
triggers: str | None = None,
|
|
3783
3781
|
secret: str | None = None,
|
|
3784
|
-
) ->
|
|
3782
|
+
) -> dict[str, Any]:
|
|
3785
3783
|
"""
|
|
3786
3784
|
Updates a webhook associated with a specific event type using the PATCH method, modifying its properties at the path "/v2/event-types/{eventTypeId}/webhooks/{webhookId}".
|
|
3787
3785
|
|
|
@@ -3827,7 +3825,7 @@ class CalApp(APIApplication):
|
|
|
3827
3825
|
|
|
3828
3826
|
def get_webhook_by_id(
|
|
3829
3827
|
self, eventTypeId: str, webhookId: str
|
|
3830
|
-
) ->
|
|
3828
|
+
) -> dict[str, Any]:
|
|
3831
3829
|
"""
|
|
3832
3830
|
Retrieves details about a specific webhook for a given event type using the provided event type ID and webhook ID.
|
|
3833
3831
|
|
|
@@ -3857,7 +3855,7 @@ class CalApp(APIApplication):
|
|
|
3857
3855
|
|
|
3858
3856
|
def delete_event_type_webhook_by_id(
|
|
3859
3857
|
self, eventTypeId: str, webhookId: str
|
|
3860
|
-
) ->
|
|
3858
|
+
) -> dict[str, Any]:
|
|
3861
3859
|
"""
|
|
3862
3860
|
Deletes a webhook associated with a specific event type using the provided `eventTypeId` and `webhookId` parameters.
|
|
3863
3861
|
|
|
@@ -3885,7 +3883,7 @@ class CalApp(APIApplication):
|
|
|
3885
3883
|
self._handle_response(response)
|
|
3886
3884
|
)
|
|
3887
3885
|
|
|
3888
|
-
def me_controller_get_me(self) ->
|
|
3886
|
+
def me_controller_get_me(self) -> dict[str, Any]:
|
|
3889
3887
|
"""
|
|
3890
3888
|
Retrieves the authenticated user's profile information and returns it in the API response.
|
|
3891
3889
|
|
|
@@ -3913,7 +3911,7 @@ class CalApp(APIApplication):
|
|
|
3913
3911
|
timeZone: str | None = None,
|
|
3914
3912
|
locale: str | None = None,
|
|
3915
3913
|
avatarUrl: str | None = None,
|
|
3916
|
-
) ->
|
|
3914
|
+
) -> dict[str, Any]:
|
|
3917
3915
|
"""
|
|
3918
3916
|
Updates the properties of the current user's profile at the "/v2/me" path using the PATCH method.
|
|
3919
3917
|
|
|
@@ -3962,7 +3960,7 @@ class CalApp(APIApplication):
|
|
|
3962
3960
|
isDefault: bool,
|
|
3963
3961
|
availability: list[dict[str, Any]] | None = None,
|
|
3964
3962
|
overrides: list[dict[str, Any]] | None = None,
|
|
3965
|
-
) ->
|
|
3963
|
+
) -> dict[str, Any]:
|
|
3966
3964
|
"""
|
|
3967
3965
|
Creates a new schedule using the provided data and returns a successful creation response with a 201 status code.
|
|
3968
3966
|
|
|
@@ -4006,7 +4004,7 @@ class CalApp(APIApplication):
|
|
|
4006
4004
|
self._handle_response(response)
|
|
4007
4005
|
)
|
|
4008
4006
|
|
|
4009
|
-
def list_schedules(self) ->
|
|
4007
|
+
def list_schedules(self) -> dict[str, Any]:
|
|
4010
4008
|
"""
|
|
4011
4009
|
Retrieves a list of schedules using specified authorization headers and API version.
|
|
4012
4010
|
|
|
@@ -4026,7 +4024,7 @@ class CalApp(APIApplication):
|
|
|
4026
4024
|
self._handle_response(response)
|
|
4027
4025
|
)
|
|
4028
4026
|
|
|
4029
|
-
def get_default_schedule(self) ->
|
|
4027
|
+
def get_default_schedule(self) -> dict[str, Any]:
|
|
4030
4028
|
"""
|
|
4031
4029
|
Retrieves the default schedule of the authenticated user using the Cal.com API, returning relevant scheduling information.
|
|
4032
4030
|
|
|
@@ -4046,7 +4044,7 @@ class CalApp(APIApplication):
|
|
|
4046
4044
|
self._handle_response(response)
|
|
4047
4045
|
)
|
|
4048
4046
|
|
|
4049
|
-
def get_schedule_by_id(self, scheduleId: str) ->
|
|
4047
|
+
def get_schedule_by_id(self, scheduleId: str) -> dict[str, Any]:
|
|
4050
4048
|
"""
|
|
4051
4049
|
Retrieves a specific schedule by its ID using the "GET" method at the "/v2/schedules/{scheduleId}" endpoint.
|
|
4052
4050
|
|
|
@@ -4077,7 +4075,7 @@ class CalApp(APIApplication):
|
|
|
4077
4075
|
availability: list[dict[str, Any]] | None = None,
|
|
4078
4076
|
isDefault: bool | None = None,
|
|
4079
4077
|
overrides: list[dict[str, Any]] | None = None,
|
|
4080
|
-
) ->
|
|
4078
|
+
) -> dict[str, Any]:
|
|
4081
4079
|
"""
|
|
4082
4080
|
Updates a schedule's configuration partially by specifying scheduleId and modified fields in the request body, returning a success status upon completion.
|
|
4083
4081
|
|
|
@@ -4118,7 +4116,7 @@ class CalApp(APIApplication):
|
|
|
4118
4116
|
self._handle_response(response)
|
|
4119
4117
|
)
|
|
4120
4118
|
|
|
4121
|
-
def delete_schedule_by_id(self, scheduleId: str) ->
|
|
4119
|
+
def delete_schedule_by_id(self, scheduleId: str) -> dict[str, Any]:
|
|
4122
4120
|
"""
|
|
4123
4121
|
Deletes a specific schedule identified by the `scheduleId` using the `DELETE` method.
|
|
4124
4122
|
|
|
@@ -4145,7 +4143,7 @@ class CalApp(APIApplication):
|
|
|
4145
4143
|
|
|
4146
4144
|
def add_selected_calendar(
|
|
4147
4145
|
self, integration: str, externalId: str, credentialId: float
|
|
4148
|
-
) ->
|
|
4146
|
+
) -> dict[str, Any]:
|
|
4149
4147
|
"""
|
|
4150
4148
|
Creates a new selected calendar entry for external integrations using provided identifiers.
|
|
4151
4149
|
|
|
@@ -4186,7 +4184,7 @@ class CalApp(APIApplication):
|
|
|
4186
4184
|
|
|
4187
4185
|
def delete_selected_calendars(
|
|
4188
4186
|
self, integration: str, externalId: str, credentialId: str
|
|
4189
|
-
) ->
|
|
4187
|
+
) -> dict[str, Any]:
|
|
4190
4188
|
"""
|
|
4191
4189
|
Deletes one or more selected calendars based on integration, external ID, and credential ID using the DELETE method at the "/v2/selected-calendars" path.
|
|
4192
4190
|
|
|
@@ -4225,7 +4223,7 @@ class CalApp(APIApplication):
|
|
|
4225
4223
|
slotUtcStartDate: str,
|
|
4226
4224
|
slotUtcEndDate: str,
|
|
4227
4225
|
bookingUid: str | None = None,
|
|
4228
|
-
) ->
|
|
4226
|
+
) -> dict[str, Any]:
|
|
4229
4227
|
"""
|
|
4230
4228
|
Reserves a slot using the "POST" method at "/v2/slots/reserve", creating a new reservation and returning a successful response when the operation is completed.
|
|
4231
4229
|
|
|
@@ -4266,7 +4264,7 @@ class CalApp(APIApplication):
|
|
|
4266
4264
|
self._handle_response(response)
|
|
4267
4265
|
)
|
|
4268
4266
|
|
|
4269
|
-
def delete_selected_slot(self, uid: str) ->
|
|
4267
|
+
def delete_selected_slot(self, uid: str) -> dict[str, Any]:
|
|
4270
4268
|
"""
|
|
4271
4269
|
Deletes the specified slot identified by the uid parameter and returns a successful response upon completion.
|
|
4272
4270
|
|
|
@@ -4301,7 +4299,7 @@ class CalApp(APIApplication):
|
|
|
4301
4299
|
timeZone: str | None = None,
|
|
4302
4300
|
orgSlug: str | None = None,
|
|
4303
4301
|
slotFormat: str | None = None,
|
|
4304
|
-
) ->
|
|
4302
|
+
) -> dict[str, Any]:
|
|
4305
4303
|
"""
|
|
4306
4304
|
Retrieves a list of available slots within a specified time range, filtered by event type, user list, and other criteria, using the `GET` method at `/v2/slots/available`.
|
|
4307
4305
|
|
|
@@ -4348,7 +4346,7 @@ class CalApp(APIApplication):
|
|
|
4348
4346
|
self._handle_response(response)
|
|
4349
4347
|
)
|
|
4350
4348
|
|
|
4351
|
-
def stripe_controller_redirect(self) ->
|
|
4349
|
+
def stripe_controller_redirect(self) -> dict[str, Any]:
|
|
4352
4350
|
"""
|
|
4353
4351
|
Retrieves details of a connected Stripe account using the Stripe-Account header for authorization.
|
|
4354
4352
|
|
|
@@ -4370,7 +4368,7 @@ class CalApp(APIApplication):
|
|
|
4370
4368
|
|
|
4371
4369
|
def stripe_controller_save(
|
|
4372
4370
|
self, state: str, code: str
|
|
4373
|
-
) ->
|
|
4371
|
+
) -> dict[str, Any]:
|
|
4374
4372
|
"""
|
|
4375
4373
|
Retrieves a Stripe resource using a state and code query parameter and returns the result upon successful authentication.
|
|
4376
4374
|
|
|
@@ -4396,7 +4394,7 @@ class CalApp(APIApplication):
|
|
|
4396
4394
|
self._handle_response(response)
|
|
4397
4395
|
)
|
|
4398
4396
|
|
|
4399
|
-
def stripe_controller_check(self) ->
|
|
4397
|
+
def stripe_controller_check(self) -> dict[str, Any]:
|
|
4400
4398
|
"""
|
|
4401
4399
|
Checks system status or configuration in Stripe's v2 API and returns a success response.
|
|
4402
4400
|
|
|
@@ -4416,7 +4414,7 @@ class CalApp(APIApplication):
|
|
|
4416
4414
|
self._handle_response(response)
|
|
4417
4415
|
)
|
|
4418
4416
|
|
|
4419
|
-
def get_team_stripe_check(self, teamId: str) ->
|
|
4417
|
+
def get_team_stripe_check(self, teamId: str) -> dict[str, Any]:
|
|
4420
4418
|
"""
|
|
4421
4419
|
Retrieves Stripe payment or subscription data for a specific team using the provided `teamId` and returns relevant information via a GET request.
|
|
4422
4420
|
|
|
@@ -4462,7 +4460,7 @@ class CalApp(APIApplication):
|
|
|
4462
4460
|
timeZone: str | None = None,
|
|
4463
4461
|
weekStart: str | None = None,
|
|
4464
4462
|
autoAcceptCreator: bool | None = None,
|
|
4465
|
-
) ->
|
|
4463
|
+
) -> dict[str, Any]:
|
|
4466
4464
|
"""
|
|
4467
4465
|
Creates a new team using the API and returns a successful response with a 201 status code, indicating the creation of a resource.
|
|
4468
4466
|
|
|
@@ -4533,7 +4531,7 @@ class CalApp(APIApplication):
|
|
|
4533
4531
|
self._handle_response(response)
|
|
4534
4532
|
)
|
|
4535
4533
|
|
|
4536
|
-
def teams_controller_get_teams(self) ->
|
|
4534
|
+
def teams_controller_get_teams(self) -> dict[str, Any]:
|
|
4537
4535
|
"""
|
|
4538
4536
|
Retrieves a list of teams and returns their details in the response.
|
|
4539
4537
|
|
|
@@ -4555,7 +4553,7 @@ class CalApp(APIApplication):
|
|
|
4555
4553
|
|
|
4556
4554
|
def teams_controller_get_team(
|
|
4557
4555
|
self, teamId: str
|
|
4558
|
-
) ->
|
|
4556
|
+
) -> dict[str, Any]:
|
|
4559
4557
|
"""
|
|
4560
4558
|
Retrieves information about a team specified by the team ID using the GET method.
|
|
4561
4559
|
|
|
@@ -4603,7 +4601,7 @@ class CalApp(APIApplication):
|
|
|
4603
4601
|
weekStart: str | None = None,
|
|
4604
4602
|
bookingLimits: str | None = None,
|
|
4605
4603
|
includeManagedEventsInLimits: bool | None = None,
|
|
4606
|
-
) ->
|
|
4604
|
+
) -> dict[str, Any]:
|
|
4607
4605
|
"""
|
|
4608
4606
|
Updates team configuration details for the specified team ID.
|
|
4609
4607
|
|
|
@@ -4676,7 +4674,7 @@ class CalApp(APIApplication):
|
|
|
4676
4674
|
|
|
4677
4675
|
def teams_controller_delete_team(
|
|
4678
4676
|
self, teamId: str
|
|
4679
|
-
) ->
|
|
4677
|
+
) -> dict[str, Any]:
|
|
4680
4678
|
"""
|
|
4681
4679
|
Deletes a specified team using the provided team ID.
|
|
4682
4680
|
|
|
@@ -4738,7 +4736,7 @@ class CalApp(APIApplication):
|
|
|
4738
4736
|
hideCalendarEventDetails: bool | None = None,
|
|
4739
4737
|
successRedirectUrl: str | None = None,
|
|
4740
4738
|
assignAllTeamMembers: bool | None = None,
|
|
4741
|
-
) ->
|
|
4739
|
+
) -> dict[str, Any]:
|
|
4742
4740
|
"""
|
|
4743
4741
|
Creates a new event type for a specified team using the API and returns a successful creation status.
|
|
4744
4742
|
|
|
@@ -4847,7 +4845,7 @@ class CalApp(APIApplication):
|
|
|
4847
4845
|
|
|
4848
4846
|
def get_team_event_types(
|
|
4849
4847
|
self, teamId: str, eventSlug: str | None = None
|
|
4850
|
-
) ->
|
|
4848
|
+
) -> dict[str, Any]:
|
|
4851
4849
|
"""
|
|
4852
4850
|
Retrieves a list of event types for a specified team using the provided team ID and optionally filters by event slug.
|
|
4853
4851
|
|
|
@@ -4875,7 +4873,7 @@ class CalApp(APIApplication):
|
|
|
4875
4873
|
|
|
4876
4874
|
def get_event_type_by_team_id(
|
|
4877
4875
|
self, teamId: str, eventTypeId: str
|
|
4878
|
-
) ->
|
|
4876
|
+
) -> dict[str, Any]:
|
|
4879
4877
|
"""
|
|
4880
4878
|
Retrieves details about a specific event type within a team using the "GET" method, requiring both team ID and event type ID as path parameters.
|
|
4881
4879
|
|
|
@@ -4905,7 +4903,7 @@ class CalApp(APIApplication):
|
|
|
4905
4903
|
|
|
4906
4904
|
def delete_team_event_type_by_id(
|
|
4907
4905
|
self, teamId: str, eventTypeId: str
|
|
4908
|
-
) ->
|
|
4906
|
+
) -> dict[str, Any]:
|
|
4909
4907
|
"""
|
|
4910
4908
|
Deletes a specific event type for a team using the provided path parameters.
|
|
4911
4909
|
|
|
@@ -4948,7 +4946,7 @@ class CalApp(APIApplication):
|
|
|
4948
4946
|
guestCompany: str | None = None,
|
|
4949
4947
|
beginMessage: str | None = None,
|
|
4950
4948
|
generalPrompt: str | None = None,
|
|
4951
|
-
) ->
|
|
4949
|
+
) -> dict[str, Any]:
|
|
4952
4950
|
"""
|
|
4953
4951
|
Creates a phone call for a specific event type within a team using the "POST" method, returning a successful creation status.
|
|
4954
4952
|
|
|
@@ -5016,7 +5014,7 @@ class CalApp(APIApplication):
|
|
|
5016
5014
|
accepted: bool | None = None,
|
|
5017
5015
|
role: str | None = None,
|
|
5018
5016
|
disableImpersonation: bool | None = None,
|
|
5019
|
-
) ->
|
|
5017
|
+
) -> dict[str, Any]:
|
|
5020
5018
|
"""
|
|
5021
5019
|
Adds multiple users to a team using their organization membership IDs through a POST request to the specified team endpoint.
|
|
5022
5020
|
|
|
@@ -5062,7 +5060,7 @@ class CalApp(APIApplication):
|
|
|
5062
5060
|
|
|
5063
5061
|
def get_team_memberships(
|
|
5064
5062
|
self, teamId: str, take: float | None = None, skip: float | None = None
|
|
5065
|
-
) ->
|
|
5063
|
+
) -> dict[str, Any]:
|
|
5066
5064
|
"""
|
|
5067
5065
|
Retrieves paginated membership details for a specific team using `take` and `skip` parameters to manage results.
|
|
5068
5066
|
|
|
@@ -5093,7 +5091,7 @@ class CalApp(APIApplication):
|
|
|
5093
5091
|
|
|
5094
5092
|
def get_membership_by_id(
|
|
5095
5093
|
self, teamId: str, membershipId: str
|
|
5096
|
-
) ->
|
|
5094
|
+
) -> dict[str, Any]:
|
|
5097
5095
|
"""
|
|
5098
5096
|
Retrieves the membership details for a specific user in a team using the provided membership ID.
|
|
5099
5097
|
|
|
@@ -5128,7 +5126,7 @@ class CalApp(APIApplication):
|
|
|
5128
5126
|
accepted: bool | None = None,
|
|
5129
5127
|
role: str | None = None,
|
|
5130
5128
|
disableImpersonation: bool | None = None,
|
|
5131
|
-
) ->
|
|
5129
|
+
) -> dict[str, Any]:
|
|
5132
5130
|
"""
|
|
5133
5131
|
Updates the membership role for a user in a specific team using the GitHub API and returns a success status.
|
|
5134
5132
|
|
|
@@ -5170,7 +5168,7 @@ class CalApp(APIApplication):
|
|
|
5170
5168
|
|
|
5171
5169
|
def deletegithub_membership_by_id(
|
|
5172
5170
|
self, teamId: str, membershipId: str
|
|
5173
|
-
) ->
|
|
5171
|
+
) -> dict[str, Any]:
|
|
5174
5172
|
"""
|
|
5175
5173
|
Removes a user's team membership in GitHub, requiring admin permissions or organization ownership.
|
|
5176
5174
|
|
|
@@ -5198,7 +5196,7 @@ class CalApp(APIApplication):
|
|
|
5198
5196
|
self._handle_response(response)
|
|
5199
5197
|
)
|
|
5200
5198
|
|
|
5201
|
-
def get_timezones(self) ->
|
|
5199
|
+
def get_timezones(self) -> dict[str, Any]:
|
|
5202
5200
|
"""
|
|
5203
5201
|
Retrieves a list of time zones with associated metadata, including codes, descriptions, and identifiers.
|
|
5204
5202
|
|
|
@@ -5223,7 +5221,7 @@ class CalApp(APIApplication):
|
|
|
5223
5221
|
triggers: str,
|
|
5224
5222
|
payloadTemplate: str | None = None,
|
|
5225
5223
|
secret: str | None = None,
|
|
5226
|
-
) ->
|
|
5224
|
+
) -> dict[str, Any]:
|
|
5227
5225
|
"""
|
|
5228
5226
|
Creates and configures a webhook endpoint to receive HTTP POST notifications for specific events, returning a success response upon creation.
|
|
5229
5227
|
|
|
@@ -5268,7 +5266,7 @@ class CalApp(APIApplication):
|
|
|
5268
5266
|
|
|
5269
5267
|
def webhooks_controller_get_webhooks(
|
|
5270
5268
|
self, take: float | None = None, skip: float | None = None
|
|
5271
|
-
) ->
|
|
5269
|
+
) -> dict[str, Any]:
|
|
5272
5270
|
"""
|
|
5273
5271
|
Retrieves a list of webhooks, allowing pagination with optional parameters to specify the number of items to take and skip.
|
|
5274
5272
|
|
|
@@ -5302,7 +5300,7 @@ class CalApp(APIApplication):
|
|
|
5302
5300
|
subscriberUrl: str | None = None,
|
|
5303
5301
|
triggers: str | None = None,
|
|
5304
5302
|
secret: str | None = None,
|
|
5305
|
-
) ->
|
|
5303
|
+
) -> dict[str, Any]:
|
|
5306
5304
|
"""
|
|
5307
5305
|
Updates a webhook identified by its ID using the PATCH method to modify its configuration.
|
|
5308
5306
|
|
|
@@ -5345,7 +5343,7 @@ class CalApp(APIApplication):
|
|
|
5345
5343
|
|
|
5346
5344
|
def webhooks_controller_get_webhook(
|
|
5347
5345
|
self, webhookId: str
|
|
5348
|
-
) ->
|
|
5346
|
+
) -> dict[str, Any]:
|
|
5349
5347
|
"""
|
|
5350
5348
|
Retrieves information about a specific webhook identified by its ID using the "GET" method.
|
|
5351
5349
|
|
|
@@ -5372,7 +5370,7 @@ class CalApp(APIApplication):
|
|
|
5372
5370
|
|
|
5373
5371
|
def delete_user_webhook_by_id(
|
|
5374
5372
|
self, webhookId: str
|
|
5375
|
-
) ->
|
|
5373
|
+
) -> dict[str, Any]:
|
|
5376
5374
|
"""
|
|
5377
5375
|
Deletes a webhook by its ID using the DELETE method at the "/v2/webhooks/{webhookId}" path, removing the specified webhook endpoint.
|
|
5378
5376
|
|