universal-mcp-applications 0.1.1__py3-none-any.whl → 0.1.3__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.
- universal_mcp/applications/airtable/app.py +1 -0
- universal_mcp/applications/apollo/app.py +1 -0
- universal_mcp/applications/{aws-s3 → aws_s3}/app.py +4 -5
- universal_mcp/applications/bill/app.py +3 -3
- universal_mcp/applications/box/app.py +2 -6
- universal_mcp/applications/braze/app.py +2 -6
- universal_mcp/applications/cal_com_v2/__init__.py +1 -0
- universal_mcp/applications/{cal-com-v2 → cal_com_v2}/app.py +138 -182
- universal_mcp/applications/clickup/app.py +2 -2
- universal_mcp/applications/confluence/app.py +1 -0
- universal_mcp/applications/contentful/app.py +8 -19
- universal_mcp/applications/digitalocean/app.py +9 -27
- universal_mcp/applications/{domain-checker → domain_checker}/app.py +2 -1
- universal_mcp/applications/elevenlabs/app.py +98 -3188
- universal_mcp/applications/falai/app.py +1 -0
- universal_mcp/applications/file_system/__init__.py +1 -0
- universal_mcp/applications/file_system/app.py +96 -0
- universal_mcp/applications/fireflies/app.py +4 -3
- universal_mcp/applications/fpl/app.py +1 -0
- universal_mcp/applications/fpl/utils/fixtures.py +1 -1
- universal_mcp/applications/fpl/utils/helper.py +1 -1
- universal_mcp/applications/fpl/utils/position_utils.py +0 -1
- universal_mcp/applications/{ghost-content → ghost_content}/app.py +2 -1
- universal_mcp/applications/github/app.py +4 -3
- universal_mcp/applications/{google-calendar → google_calendar}/app.py +2 -1
- universal_mcp/applications/{google-docs → google_docs}/app.py +1 -1
- universal_mcp/applications/{google-drive → google_drive}/app.py +2 -1
- universal_mcp/applications/google_gemini/app.py +183 -0
- universal_mcp/applications/{google-mail → google_mail}/app.py +2 -1
- universal_mcp/applications/{google-searchconsole → google_searchconsole}/app.py +1 -1
- universal_mcp/applications/{google-sheet → google_sheet}/app.py +3 -2
- universal_mcp/applications/google_sheet/helper.py +385 -0
- universal_mcp/applications/hashnode/app.py +2 -1
- universal_mcp/applications/{http-tools → http_tools}/app.py +2 -1
- universal_mcp/applications/hubspot/app.py +16 -2
- universal_mcp/applications/jira/app.py +7 -18
- universal_mcp/applications/markitdown/app.py +2 -3
- universal_mcp/applications/{ms-teams → ms_teams}/app.py +1 -1
- universal_mcp/applications/openai/app.py +2 -3
- universal_mcp/applications/outlook/app.py +1 -3
- universal_mcp/applications/pipedrive/app.py +2 -6
- universal_mcp/applications/reddit/app.py +1 -0
- universal_mcp/applications/replicate/app.py +3 -3
- universal_mcp/applications/resend/app.py +1 -2
- universal_mcp/applications/rocketlane/app.py +1 -0
- universal_mcp/applications/semrush/app.py +478 -1467
- universal_mcp/applications/sentry/README.md +20 -20
- universal_mcp/applications/sentry/app.py +40 -40
- universal_mcp/applications/serpapi/app.py +2 -2
- universal_mcp/applications/sharepoint/app.py +2 -1
- universal_mcp/applications/shopify/app.py +1 -0
- universal_mcp/applications/slack/app.py +3 -3
- universal_mcp/applications/trello/app.py +9 -27
- universal_mcp/applications/twilio/__init__.py +1 -0
- universal_mcp/applications/{twillo → twilio}/app.py +2 -2
- universal_mcp/applications/twitter/README.md +1 -1
- universal_mcp/applications/twitter/api_segments/dm_conversations_api.py +2 -2
- universal_mcp/applications/twitter/api_segments/lists_api.py +1 -1
- universal_mcp/applications/unipile/app.py +5 -1
- universal_mcp/applications/whatsapp/app.py +18 -17
- universal_mcp/applications/whatsapp/audio.py +110 -0
- universal_mcp/applications/whatsapp/whatsapp.py +398 -0
- universal_mcp/applications/{whatsapp-business → whatsapp_business}/app.py +1 -1
- universal_mcp/applications/youtube/app.py +195 -191
- universal_mcp/applications/zenquotes/app.py +1 -1
- {universal_mcp_applications-0.1.1.dist-info → universal_mcp_applications-0.1.3.dist-info}/METADATA +4 -2
- {universal_mcp_applications-0.1.1.dist-info → universal_mcp_applications-0.1.3.dist-info}/RECORD +97 -95
- universal_mcp/applications/cal-com-v2/__init__.py +0 -1
- universal_mcp/applications/google-ads/__init__.py +0 -1
- universal_mcp/applications/google-ads/app.py +0 -23
- universal_mcp/applications/google-gemini/app.py +0 -663
- universal_mcp/applications/twillo/README.md +0 -0
- universal_mcp/applications/twillo/__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/{domain-checker → domain_checker}/README.md +0 -0
- /universal_mcp/applications/{domain-checker → domain_checker}/__init__.py +0 -0
- /universal_mcp/applications/{ghost-content → ghost_content}/README.md +0 -0
- /universal_mcp/applications/{ghost-content → ghost_content}/__init__.py +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-docs → google_docs}/README.md +0 -0
- /universal_mcp/applications/{google-docs → google_docs}/__init__.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-gemini → google_gemini}/README.md +0 -0
- /universal_mcp/applications/{google-gemini → google_gemini}/__init__.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-searchconsole → google_searchconsole}/README.md +0 -0
- /universal_mcp/applications/{google-searchconsole → google_searchconsole}/__init__.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/{http-tools → http_tools}/README.md +0 -0
- /universal_mcp/applications/{http-tools → http_tools}/__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/{google-ads → twilio}/README.md +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-0.1.1.dist-info → universal_mcp_applications-0.1.3.dist-info}/WHEEL +0 -0
- {universal_mcp_applications-0.1.1.dist-info → universal_mcp_applications-0.1.3.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
|
-
super().__init__(name="
|
|
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
|
|
|
@@ -36,9 +34,7 @@ class CalApp(APIApplication):
|
|
|
36
34
|
self._handle_response(response)
|
|
37
35
|
)
|
|
38
36
|
|
|
39
|
-
def get_provider_access_token(
|
|
40
|
-
self, clientId: str
|
|
41
|
-
) -> Getprovideraccesstokenresponse:
|
|
37
|
+
def get_provider_access_token(self, clientId: str) -> dict[str, Any]:
|
|
42
38
|
"""
|
|
43
39
|
Retrieves an access token for the specified client ID using a GET request.
|
|
44
40
|
|
|
@@ -63,7 +59,7 @@ class CalApp(APIApplication):
|
|
|
63
59
|
self._handle_response(response)
|
|
64
60
|
)
|
|
65
61
|
|
|
66
|
-
def gcal_controller_redirect(self) ->
|
|
62
|
+
def gcal_controller_redirect(self) -> dict[str, Any]:
|
|
67
63
|
"""
|
|
68
64
|
Retrieves and returns an authorization URL for Google Calendar OAuth using the "GET" method at the "/v2/gcal/oauth/auth-url" path.
|
|
69
65
|
|
|
@@ -83,7 +79,7 @@ class CalApp(APIApplication):
|
|
|
83
79
|
self._handle_response(response)
|
|
84
80
|
)
|
|
85
81
|
|
|
86
|
-
def gcal_controller_save(self, state: str, code: str) ->
|
|
82
|
+
def gcal_controller_save(self, state: str, code: str) -> dict[str, Any]:
|
|
87
83
|
"""
|
|
88
84
|
Handles Google Calendar OAuth 2.0 authorization callback by exchanging an authorization code for an access token and saving credentials.
|
|
89
85
|
|
|
@@ -109,7 +105,7 @@ class CalApp(APIApplication):
|
|
|
109
105
|
self._handle_response(response)
|
|
110
106
|
)
|
|
111
107
|
|
|
112
|
-
def gcal_controller_check(self) ->
|
|
108
|
+
def gcal_controller_check(self) -> dict[str, Any]:
|
|
113
109
|
"""
|
|
114
110
|
Checks the Google Calendar availability or status using the v2 API and returns a success response if valid.
|
|
115
111
|
|
|
@@ -131,7 +127,7 @@ class CalApp(APIApplication):
|
|
|
131
127
|
|
|
132
128
|
def list_client_users(
|
|
133
129
|
self, clientId: str, limit: float | None = None
|
|
134
|
-
) ->
|
|
130
|
+
) -> dict[str, Any]:
|
|
135
131
|
"""
|
|
136
132
|
Retrieves a list of users associated with a specific OAuth client ID, optionally limited by the specified query parameter.
|
|
137
133
|
|
|
@@ -165,7 +161,7 @@ class CalApp(APIApplication):
|
|
|
165
161
|
timeZone: str | None = None,
|
|
166
162
|
locale: str | None = None,
|
|
167
163
|
avatarUrl: str | None = None,
|
|
168
|
-
) ->
|
|
164
|
+
) -> dict[str, Any]:
|
|
169
165
|
"""
|
|
170
166
|
Creates a new user for an OAuth client specified by the `clientId` and returns a successful response with a 201 status code.
|
|
171
167
|
|
|
@@ -217,9 +213,7 @@ class CalApp(APIApplication):
|
|
|
217
213
|
self._handle_response(response)
|
|
218
214
|
)
|
|
219
215
|
|
|
220
|
-
def get_oauth_client_user_by_id(
|
|
221
|
-
self, clientId: str, userId: str
|
|
222
|
-
) -> Getoauthclientuserbyidresponse:
|
|
216
|
+
def get_oauth_client_user_by_id(self, clientId: str, userId: str) -> dict[str, Any]:
|
|
223
217
|
"""
|
|
224
218
|
Retrieves user-specific information associated with an OAuth client using the provided client ID and user ID.
|
|
225
219
|
|
|
@@ -259,7 +253,7 @@ class CalApp(APIApplication):
|
|
|
259
253
|
timeZone: str | None = None,
|
|
260
254
|
locale: str | None = None,
|
|
261
255
|
avatarUrl: str | None = None,
|
|
262
|
-
) ->
|
|
256
|
+
) -> dict[str, Any]:
|
|
263
257
|
"""
|
|
264
258
|
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
259
|
|
|
@@ -309,9 +303,7 @@ class CalApp(APIApplication):
|
|
|
309
303
|
self._handle_response(response)
|
|
310
304
|
)
|
|
311
305
|
|
|
312
|
-
def delete_user_by_client_id_id(
|
|
313
|
-
self, clientId: str, userId: str
|
|
314
|
-
) -> Getoauthclientuserbyidresponse:
|
|
306
|
+
def delete_user_by_client_id_id(self, clientId: str, userId: str) -> dict[str, Any]:
|
|
315
307
|
"""
|
|
316
308
|
Removes a user's association with an OAuth client identified by the client ID and user ID.
|
|
317
309
|
|
|
@@ -339,9 +331,7 @@ class CalApp(APIApplication):
|
|
|
339
331
|
self._handle_response(response)
|
|
340
332
|
)
|
|
341
333
|
|
|
342
|
-
def force_refresh_user(
|
|
343
|
-
self, clientId: str, userId: str
|
|
344
|
-
) -> Forcerefreshuserresponse:
|
|
334
|
+
def force_refresh_user(self, clientId: str, userId: str) -> dict[str, Any]:
|
|
345
335
|
"""
|
|
346
336
|
Forces a refresh for the OAuth client's user session, invalidating existing tokens and generating new ones.
|
|
347
337
|
|
|
@@ -377,7 +367,7 @@ class CalApp(APIApplication):
|
|
|
377
367
|
|
|
378
368
|
def refresh_oauth_client_token(
|
|
379
369
|
self, clientId: str, refreshToken: str
|
|
380
|
-
) ->
|
|
370
|
+
) -> dict[str, Any]:
|
|
381
371
|
"""
|
|
382
372
|
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
373
|
|
|
@@ -421,7 +411,7 @@ class CalApp(APIApplication):
|
|
|
421
411
|
triggers: str,
|
|
422
412
|
payloadTemplate: str | None = None,
|
|
423
413
|
secret: str | None = None,
|
|
424
|
-
) ->
|
|
414
|
+
) -> dict[str, Any]:
|
|
425
415
|
"""
|
|
426
416
|
Creates a webhook for an OAuth client using the client ID specified in the path, enabling event-driven communication.
|
|
427
417
|
|
|
@@ -469,7 +459,7 @@ class CalApp(APIApplication):
|
|
|
469
459
|
|
|
470
460
|
def list_webhooks_by_client_id(
|
|
471
461
|
self, clientId: str, take: float | None = None, skip: float | None = None
|
|
472
|
-
) ->
|
|
462
|
+
) -> dict[str, Any]:
|
|
473
463
|
"""
|
|
474
464
|
Retrieves a paginated list of webhooks associated with a specific OAuth client using clientId, take, and skip parameters for pagination.
|
|
475
465
|
|
|
@@ -498,7 +488,7 @@ class CalApp(APIApplication):
|
|
|
498
488
|
self._handle_response(response)
|
|
499
489
|
)
|
|
500
490
|
|
|
501
|
-
def delete_client_webhook(self, clientId: str) ->
|
|
491
|
+
def delete_client_webhook(self, clientId: str) -> dict[str, Any]:
|
|
502
492
|
"""
|
|
503
493
|
Deletes a webhook associated with an OAuth client identified by the provided client ID using the DELETE method.
|
|
504
494
|
|
|
@@ -532,7 +522,7 @@ class CalApp(APIApplication):
|
|
|
532
522
|
subscriberUrl: str | None = None,
|
|
533
523
|
triggers: str | None = None,
|
|
534
524
|
secret: str | None = None,
|
|
535
|
-
) ->
|
|
525
|
+
) -> dict[str, Any]:
|
|
536
526
|
"""
|
|
537
527
|
Updates an existing webhook for a specified OAuth client using the "PATCH" method, modifying its configuration as needed.
|
|
538
528
|
|
|
@@ -578,7 +568,7 @@ class CalApp(APIApplication):
|
|
|
578
568
|
|
|
579
569
|
def get_oauth_client_webhook_by_id(
|
|
580
570
|
self, clientId: str, webhookId: str
|
|
581
|
-
) ->
|
|
571
|
+
) -> dict[str, Any]:
|
|
582
572
|
"""
|
|
583
573
|
Retrieves information about a specific webhook associated with an OAuth client using the "GET" method at the specified path.
|
|
584
574
|
|
|
@@ -608,7 +598,7 @@ class CalApp(APIApplication):
|
|
|
608
598
|
|
|
609
599
|
def delete_oauth_client_webhook_by_id(
|
|
610
600
|
self, clientId: str, webhookId: str
|
|
611
|
-
) ->
|
|
601
|
+
) -> dict[str, Any]:
|
|
612
602
|
"""
|
|
613
603
|
Deletes a webhook associated with a specific OAuth client using the provided client and webhook IDs.
|
|
614
604
|
|
|
@@ -638,7 +628,7 @@ class CalApp(APIApplication):
|
|
|
638
628
|
|
|
639
629
|
def list_org_attributes(
|
|
640
630
|
self, orgId: str, take: float | None = None, skip: float | None = None
|
|
641
|
-
) ->
|
|
631
|
+
) -> dict[str, Any]:
|
|
642
632
|
"""
|
|
643
633
|
Retrieves a list of organization attributes filtered by pagination parameters.
|
|
644
634
|
|
|
@@ -673,7 +663,7 @@ class CalApp(APIApplication):
|
|
|
673
663
|
type: str,
|
|
674
664
|
options: list[dict[str, Any]],
|
|
675
665
|
enabled: bool | None = None,
|
|
676
|
-
) ->
|
|
666
|
+
) -> dict[str, Any]:
|
|
677
667
|
"""
|
|
678
668
|
Adds new attributes to an organization using the API, specifying the organization ID in the path, and returns a successful creation status.
|
|
679
669
|
|
|
@@ -721,7 +711,7 @@ class CalApp(APIApplication):
|
|
|
721
711
|
|
|
722
712
|
def fetch_organization_attribute_by_id(
|
|
723
713
|
self, orgId: str, attributeId: str
|
|
724
|
-
) ->
|
|
714
|
+
) -> dict[str, Any]:
|
|
725
715
|
"""
|
|
726
716
|
Retrieves a specific attribute for an organization based on the provided orgId and attributeId.
|
|
727
717
|
|
|
@@ -757,7 +747,7 @@ class CalApp(APIApplication):
|
|
|
757
747
|
slug: str | None = None,
|
|
758
748
|
type: str | None = None,
|
|
759
749
|
enabled: bool | None = None,
|
|
760
|
-
) ->
|
|
750
|
+
) -> dict[str, Any]:
|
|
761
751
|
"""
|
|
762
752
|
Modifies an attribute of an organization using the PATCH method, updating the specified attribute by ID within the given organization.
|
|
763
753
|
|
|
@@ -799,9 +789,7 @@ class CalApp(APIApplication):
|
|
|
799
789
|
self._handle_response(response)
|
|
800
790
|
)
|
|
801
791
|
|
|
802
|
-
def delete_org_attribute(
|
|
803
|
-
self, orgId: str, attributeId: str
|
|
804
|
-
) -> Createorgattributesresponse:
|
|
792
|
+
def delete_org_attribute(self, orgId: str, attributeId: str) -> dict[str, Any]:
|
|
805
793
|
"""
|
|
806
794
|
Deletes a specified attribute from an organization using the provided orgId and attributeId path parameters.
|
|
807
795
|
|
|
@@ -831,7 +819,7 @@ class CalApp(APIApplication):
|
|
|
831
819
|
|
|
832
820
|
def create_org_attribute_option(
|
|
833
821
|
self, orgId: str, attributeId: str, value: str, slug: str
|
|
834
|
-
) ->
|
|
822
|
+
) -> dict[str, Any]:
|
|
835
823
|
"""
|
|
836
824
|
Creates a new option for the specified attribute in the given organization and returns the created resource.
|
|
837
825
|
|
|
@@ -876,9 +864,7 @@ class CalApp(APIApplication):
|
|
|
876
864
|
self._handle_response(response)
|
|
877
865
|
)
|
|
878
866
|
|
|
879
|
-
def get_org_attribute_options(
|
|
880
|
-
self, orgId: str, attributeId: str
|
|
881
|
-
) -> Getorgattributeoptionsresponse:
|
|
867
|
+
def get_org_attribute_options(self, orgId: str, attributeId: str) -> dict[str, Any]:
|
|
882
868
|
"""
|
|
883
869
|
Retrieves options for a specific attribute within an organization using the "GET" method at the "/v2/organizations/{orgId}/attributes/{attributeId}/options" endpoint.
|
|
884
870
|
|
|
@@ -910,7 +896,7 @@ class CalApp(APIApplication):
|
|
|
910
896
|
|
|
911
897
|
def delete_attribute_option_by_id(
|
|
912
898
|
self, orgId: str, attributeId: str, optionId: str
|
|
913
|
-
) ->
|
|
899
|
+
) -> dict[str, Any]:
|
|
914
900
|
"""
|
|
915
901
|
Deletes a specific attribute option for an organization's custom attributes using the provided orgId, attributeId, and optionId.
|
|
916
902
|
|
|
@@ -948,7 +934,7 @@ class CalApp(APIApplication):
|
|
|
948
934
|
optionId: str,
|
|
949
935
|
value: str | None = None,
|
|
950
936
|
slug: str | None = None,
|
|
951
|
-
) ->
|
|
937
|
+
) -> dict[str, Any]:
|
|
952
938
|
"""
|
|
953
939
|
Updates a specific option for an organization's attribute using partial modifications.
|
|
954
940
|
|
|
@@ -996,7 +982,7 @@ class CalApp(APIApplication):
|
|
|
996
982
|
attributeId: str,
|
|
997
983
|
value: str | None = None,
|
|
998
984
|
attributeOptionId: str | None = None,
|
|
999
|
-
) ->
|
|
985
|
+
) -> dict[str, Any]:
|
|
1000
986
|
"""
|
|
1001
987
|
Assigns attribute options to a user within an organization using the POST method and returns a creation status.
|
|
1002
988
|
|
|
@@ -1041,9 +1027,7 @@ class CalApp(APIApplication):
|
|
|
1041
1027
|
self._handle_response(response)
|
|
1042
1028
|
)
|
|
1043
1029
|
|
|
1044
|
-
def get_user_org_attribute_options(
|
|
1045
|
-
self, orgId: str, userId: str
|
|
1046
|
-
) -> Getuserorgattributeoptionsresponse:
|
|
1030
|
+
def get_user_org_attribute_options(self, orgId: str, userId: str) -> dict[str, Any]:
|
|
1047
1031
|
"""
|
|
1048
1032
|
Retrieves attribute options for a specified user within an organization using the "GET" method.
|
|
1049
1033
|
|
|
@@ -1073,7 +1057,7 @@ class CalApp(APIApplication):
|
|
|
1073
1057
|
|
|
1074
1058
|
def delete_attribute_option(
|
|
1075
1059
|
self, orgId: str, userId: str, attributeOptionId: str
|
|
1076
|
-
) ->
|
|
1060
|
+
) -> dict[str, Any]:
|
|
1077
1061
|
"""
|
|
1078
1062
|
Deletes a specific attribute option for a user within an organization via the provided path parameters.
|
|
1079
1063
|
|
|
@@ -1142,7 +1126,7 @@ class CalApp(APIApplication):
|
|
|
1142
1126
|
hideCalendarEventDetails: bool | None = None,
|
|
1143
1127
|
successRedirectUrl: str | None = None,
|
|
1144
1128
|
assignAllTeamMembers: bool | None = None,
|
|
1145
|
-
) ->
|
|
1129
|
+
) -> dict[str, Any]:
|
|
1146
1130
|
"""
|
|
1147
1131
|
Creates a new event type within a specified team and organization.
|
|
1148
1132
|
|
|
@@ -1254,7 +1238,7 @@ class CalApp(APIApplication):
|
|
|
1254
1238
|
|
|
1255
1239
|
def list_event_types_by_team_and_org(
|
|
1256
1240
|
self, orgId: str, teamId: str, eventSlug: str | None = None
|
|
1257
|
-
) ->
|
|
1241
|
+
) -> dict[str, Any]:
|
|
1258
1242
|
"""
|
|
1259
1243
|
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
1244
|
|
|
@@ -1285,7 +1269,7 @@ class CalApp(APIApplication):
|
|
|
1285
1269
|
|
|
1286
1270
|
def get_event_types_by_team_id(
|
|
1287
1271
|
self, orgId: str, teamId: str, eventTypeId: str
|
|
1288
|
-
) ->
|
|
1272
|
+
) -> dict[str, Any]:
|
|
1289
1273
|
"""
|
|
1290
1274
|
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
1275
|
|
|
@@ -1332,7 +1316,7 @@ class CalApp(APIApplication):
|
|
|
1332
1316
|
guestCompany: str | None = None,
|
|
1333
1317
|
beginMessage: str | None = None,
|
|
1334
1318
|
generalPrompt: str | None = None,
|
|
1335
|
-
) ->
|
|
1319
|
+
) -> dict[str, Any]:
|
|
1336
1320
|
"""
|
|
1337
1321
|
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
1322
|
|
|
@@ -1398,7 +1382,7 @@ class CalApp(APIApplication):
|
|
|
1398
1382
|
|
|
1399
1383
|
def list_event_types_by_org_id(
|
|
1400
1384
|
self, orgId: str, take: float | None = None, skip: float | None = None
|
|
1401
|
-
) ->
|
|
1385
|
+
) -> dict[str, Any]:
|
|
1402
1386
|
"""
|
|
1403
1387
|
Retrieves a paginated list of event types for teams within a specified organization.
|
|
1404
1388
|
|
|
@@ -1429,7 +1413,7 @@ class CalApp(APIApplication):
|
|
|
1429
1413
|
|
|
1430
1414
|
def list_organization_memberships(
|
|
1431
1415
|
self, orgId: str, take: float | None = None, skip: float | None = None
|
|
1432
|
-
) ->
|
|
1416
|
+
) -> dict[str, Any]:
|
|
1433
1417
|
"""
|
|
1434
1418
|
Retrieves a list of memberships for an organization identified by the specified `orgId`, allowing pagination through optional `take` and `skip` query parameters.
|
|
1435
1419
|
|
|
@@ -1465,7 +1449,7 @@ class CalApp(APIApplication):
|
|
|
1465
1449
|
role: str,
|
|
1466
1450
|
accepted: bool | None = None,
|
|
1467
1451
|
disableImpersonation: bool | None = None,
|
|
1468
|
-
) ->
|
|
1452
|
+
) -> dict[str, Any]:
|
|
1469
1453
|
"""
|
|
1470
1454
|
Creates a new membership for an organization identified by {orgId} using the API.
|
|
1471
1455
|
|
|
@@ -1509,9 +1493,7 @@ class CalApp(APIApplication):
|
|
|
1509
1493
|
self._handle_response(response)
|
|
1510
1494
|
)
|
|
1511
1495
|
|
|
1512
|
-
def get_org_membership_by_id(
|
|
1513
|
-
self, orgId: str, membershipId: str
|
|
1514
|
-
) -> Listorganizationmembershipsresponse:
|
|
1496
|
+
def get_org_membership_by_id(self, orgId: str, membershipId: str) -> dict[str, Any]:
|
|
1515
1497
|
"""
|
|
1516
1498
|
Retrieves membership details for a specific organization membership using the provided organization ID and membership ID.
|
|
1517
1499
|
|
|
@@ -1541,7 +1523,7 @@ class CalApp(APIApplication):
|
|
|
1541
1523
|
|
|
1542
1524
|
def delete_org_membership_by_id(
|
|
1543
1525
|
self, orgId: str, membershipId: str
|
|
1544
|
-
) ->
|
|
1526
|
+
) -> dict[str, Any]:
|
|
1545
1527
|
"""
|
|
1546
1528
|
Removes a user's membership from the specified organization by deleting the membership record at the given path.
|
|
1547
1529
|
|
|
@@ -1576,7 +1558,7 @@ class CalApp(APIApplication):
|
|
|
1576
1558
|
accepted: bool | None = None,
|
|
1577
1559
|
role: str | None = None,
|
|
1578
1560
|
disableImpersonation: bool | None = None,
|
|
1579
|
-
) ->
|
|
1561
|
+
) -> dict[str, Any]:
|
|
1580
1562
|
"""
|
|
1581
1563
|
Updates an organization membership's details using the PATCH method and returns the updated membership data.
|
|
1582
1564
|
|
|
@@ -1618,7 +1600,7 @@ class CalApp(APIApplication):
|
|
|
1618
1600
|
|
|
1619
1601
|
def get_organization_schedules(
|
|
1620
1602
|
self, orgId: str, take: float | None = None, skip: float | None = None
|
|
1621
|
-
) ->
|
|
1603
|
+
) -> dict[str, Any]:
|
|
1622
1604
|
"""
|
|
1623
1605
|
Retrieves a list of schedules for the specified organization, using pagination parameters to limit results.
|
|
1624
1606
|
|
|
@@ -1656,7 +1638,7 @@ class CalApp(APIApplication):
|
|
|
1656
1638
|
isDefault: bool,
|
|
1657
1639
|
availability: list[dict[str, Any]] | None = None,
|
|
1658
1640
|
overrides: list[dict[str, Any]] | None = None,
|
|
1659
|
-
) ->
|
|
1641
|
+
) -> dict[str, Any]:
|
|
1660
1642
|
"""
|
|
1661
1643
|
Creates a schedule for the specified user within an organization and returns a success status upon creation.
|
|
1662
1644
|
|
|
@@ -1706,9 +1688,7 @@ class CalApp(APIApplication):
|
|
|
1706
1688
|
self._handle_response(response)
|
|
1707
1689
|
)
|
|
1708
1690
|
|
|
1709
|
-
def get_user_schedule(
|
|
1710
|
-
self, orgId: str, userId: str
|
|
1711
|
-
) -> Getorganizationschedulesresponse:
|
|
1691
|
+
def get_user_schedule(self, orgId: str, userId: str) -> dict[str, Any]:
|
|
1712
1692
|
"""
|
|
1713
1693
|
Retrieves a user's schedule for a specific organization using the GET method.
|
|
1714
1694
|
|
|
@@ -1738,7 +1718,7 @@ class CalApp(APIApplication):
|
|
|
1738
1718
|
|
|
1739
1719
|
def get_schedule_detail(
|
|
1740
1720
|
self, orgId: str, userId: str, scheduleId: str
|
|
1741
|
-
) ->
|
|
1721
|
+
) -> dict[str, Any]:
|
|
1742
1722
|
"""
|
|
1743
1723
|
Retrieves the specified schedule for a user within an organization.
|
|
1744
1724
|
|
|
@@ -1777,7 +1757,7 @@ class CalApp(APIApplication):
|
|
|
1777
1757
|
availability: list[dict[str, Any]] | None = None,
|
|
1778
1758
|
isDefault: bool | None = None,
|
|
1779
1759
|
overrides: list[dict[str, Any]] | None = None,
|
|
1780
|
-
) ->
|
|
1760
|
+
) -> dict[str, Any]:
|
|
1781
1761
|
"""
|
|
1782
1762
|
Updates a user's schedule for a specified organization by applying partial modifications to the schedule's details using the PATCH method.
|
|
1783
1763
|
|
|
@@ -1826,7 +1806,7 @@ class CalApp(APIApplication):
|
|
|
1826
1806
|
|
|
1827
1807
|
def delete_user_schedule_by_id(
|
|
1828
1808
|
self, orgId: str, userId: str, scheduleId: str
|
|
1829
|
-
) ->
|
|
1809
|
+
) -> dict[str, Any]:
|
|
1830
1810
|
"""
|
|
1831
1811
|
Deletes a specific schedule for a user within an organization and returns a success status.
|
|
1832
1812
|
|
|
@@ -1859,7 +1839,7 @@ class CalApp(APIApplication):
|
|
|
1859
1839
|
|
|
1860
1840
|
def get_organization_teams(
|
|
1861
1841
|
self, orgId: str, take: float | None = None, skip: float | None = None
|
|
1862
|
-
) ->
|
|
1842
|
+
) -> dict[str, Any]:
|
|
1863
1843
|
"""
|
|
1864
1844
|
Retrieves a list of teams for a specified organization using the provided orgId, with optional pagination control via take and skip parameters.
|
|
1865
1845
|
|
|
@@ -1910,7 +1890,7 @@ class CalApp(APIApplication):
|
|
|
1910
1890
|
timeZone: str | None = None,
|
|
1911
1891
|
weekStart: str | None = None,
|
|
1912
1892
|
autoAcceptCreator: bool | None = None,
|
|
1913
|
-
) ->
|
|
1893
|
+
) -> dict[str, Any]:
|
|
1914
1894
|
"""
|
|
1915
1895
|
Creates a new team within the specified organization using the provided organization ID and returns a success status upon creation.
|
|
1916
1896
|
|
|
@@ -1986,7 +1966,7 @@ class CalApp(APIApplication):
|
|
|
1986
1966
|
|
|
1987
1967
|
def get_organization_team_me(
|
|
1988
1968
|
self, orgId: str, take: float | None = None, skip: float | None = None
|
|
1989
|
-
) ->
|
|
1969
|
+
) -> dict[str, Any]:
|
|
1990
1970
|
"""
|
|
1991
1971
|
Retrieves the teams for the current user within a specified organization using the "GET" method, optionally allowing pagination through query parameters.
|
|
1992
1972
|
|
|
@@ -2015,9 +1995,7 @@ class CalApp(APIApplication):
|
|
|
2015
1995
|
self._handle_response(response)
|
|
2016
1996
|
)
|
|
2017
1997
|
|
|
2018
|
-
def get_organization_team_by_id(
|
|
2019
|
-
self, orgId: str, teamId: str
|
|
2020
|
-
) -> Createteaminorganizationresponse:
|
|
1998
|
+
def get_organization_team_by_id(self, orgId: str, teamId: str) -> dict[str, Any]:
|
|
2021
1999
|
"""
|
|
2022
2000
|
Retrieves information about a specific team within an organization using the organization and team IDs.
|
|
2023
2001
|
|
|
@@ -2045,9 +2023,7 @@ class CalApp(APIApplication):
|
|
|
2045
2023
|
self._handle_response(response)
|
|
2046
2024
|
)
|
|
2047
2025
|
|
|
2048
|
-
def delete_team_by_id(
|
|
2049
|
-
self, orgId: str, teamId: str
|
|
2050
|
-
) -> Createteaminorganizationresponse:
|
|
2026
|
+
def delete_team_by_id(self, orgId: str, teamId: str) -> dict[str, Any]:
|
|
2051
2027
|
"""
|
|
2052
2028
|
Deletes a specific team within an organization and returns a success status upon completion.
|
|
2053
2029
|
|
|
@@ -2099,7 +2075,7 @@ class CalApp(APIApplication):
|
|
|
2099
2075
|
weekStart: str | None = None,
|
|
2100
2076
|
bookingLimits: str | None = None,
|
|
2101
2077
|
includeManagedEventsInLimits: bool | None = None,
|
|
2102
|
-
) ->
|
|
2078
|
+
) -> dict[str, Any]:
|
|
2103
2079
|
"""
|
|
2104
2080
|
Updates the specified team properties within an organization using partial modifications.
|
|
2105
2081
|
|
|
@@ -2179,7 +2155,7 @@ class CalApp(APIApplication):
|
|
|
2179
2155
|
teamId: str,
|
|
2180
2156
|
take: float | None = None,
|
|
2181
2157
|
skip: float | None = None,
|
|
2182
|
-
) ->
|
|
2158
|
+
) -> dict[str, Any]:
|
|
2183
2159
|
"""
|
|
2184
2160
|
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
2161
|
|
|
@@ -2219,7 +2195,7 @@ class CalApp(APIApplication):
|
|
|
2219
2195
|
role: str,
|
|
2220
2196
|
accepted: bool | None = None,
|
|
2221
2197
|
disableImpersonation: bool | None = None,
|
|
2222
|
-
) ->
|
|
2198
|
+
) -> dict[str, Any]:
|
|
2223
2199
|
"""
|
|
2224
2200
|
Adds a member to the specified team within an organization and returns the membership details.
|
|
2225
2201
|
|
|
@@ -2268,7 +2244,7 @@ class CalApp(APIApplication):
|
|
|
2268
2244
|
|
|
2269
2245
|
def get_membership_details(
|
|
2270
2246
|
self, orgId: str, teamId: str, membershipId: str
|
|
2271
|
-
) ->
|
|
2247
|
+
) -> dict[str, Any]:
|
|
2272
2248
|
"""
|
|
2273
2249
|
Retrieves a specific membership record for a team within an organization, identified by membership ID, team ID, and organization ID.
|
|
2274
2250
|
|
|
@@ -2301,7 +2277,7 @@ class CalApp(APIApplication):
|
|
|
2301
2277
|
|
|
2302
2278
|
def delete_org_team_membership_by_id(
|
|
2303
2279
|
self, orgId: str, teamId: str, membershipId: str
|
|
2304
|
-
) ->
|
|
2280
|
+
) -> dict[str, Any]:
|
|
2305
2281
|
"""
|
|
2306
2282
|
Removes a user's team membership in an organization using the specified organization, team, and membership identifiers.
|
|
2307
2283
|
|
|
@@ -2340,7 +2316,7 @@ class CalApp(APIApplication):
|
|
|
2340
2316
|
accepted: bool | None = None,
|
|
2341
2317
|
role: str | None = None,
|
|
2342
2318
|
disableImpersonation: bool | None = None,
|
|
2343
|
-
) ->
|
|
2319
|
+
) -> dict[str, Any]:
|
|
2344
2320
|
"""
|
|
2345
2321
|
Updates membership details for a specific organization team member using partial modifications and returns a success status.
|
|
2346
2322
|
|
|
@@ -2385,7 +2361,7 @@ class CalApp(APIApplication):
|
|
|
2385
2361
|
|
|
2386
2362
|
def get_schedule_by_user(
|
|
2387
2363
|
self, orgId: str, teamId: str, userId: str
|
|
2388
|
-
) ->
|
|
2364
|
+
) -> dict[str, Any]:
|
|
2389
2365
|
"""
|
|
2390
2366
|
Retrieves the schedule details for a specific user within a designated team and organization.
|
|
2391
2367
|
|
|
@@ -2422,7 +2398,7 @@ class CalApp(APIApplication):
|
|
|
2422
2398
|
take: float | None = None,
|
|
2423
2399
|
skip: float | None = None,
|
|
2424
2400
|
emails: list[str] | None = None,
|
|
2425
|
-
) ->
|
|
2401
|
+
) -> dict[str, Any]:
|
|
2426
2402
|
"""
|
|
2427
2403
|
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
2404
|
|
|
@@ -2470,7 +2446,7 @@ class CalApp(APIApplication):
|
|
|
2470
2446
|
avatarUrl: str | None = None,
|
|
2471
2447
|
organizationRole: str | None = None,
|
|
2472
2448
|
autoAccept: bool | None = None,
|
|
2473
|
-
) ->
|
|
2449
|
+
) -> dict[str, Any]:
|
|
2474
2450
|
"""
|
|
2475
2451
|
Creates a new user within an organization using the provided organization ID.
|
|
2476
2452
|
|
|
@@ -2534,7 +2510,7 @@ class CalApp(APIApplication):
|
|
|
2534
2510
|
)
|
|
2535
2511
|
return Createorguserresponse.model_validate(self._handle_response(response))
|
|
2536
2512
|
|
|
2537
|
-
def delete_member_by_id(self, orgId: str, userId: str) ->
|
|
2513
|
+
def delete_member_by_id(self, orgId: str, userId: str) -> dict[str, Any]:
|
|
2538
2514
|
"""
|
|
2539
2515
|
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
2516
|
|
|
@@ -2562,7 +2538,7 @@ class CalApp(APIApplication):
|
|
|
2562
2538
|
|
|
2563
2539
|
def get_org_webhooks(
|
|
2564
2540
|
self, orgId: str, take: float | None = None, skip: float | None = None
|
|
2565
|
-
) ->
|
|
2541
|
+
) -> dict[str, Any]:
|
|
2566
2542
|
"""
|
|
2567
2543
|
Retrieves a list of webhooks for the specified organization, supporting pagination through skip and take parameters.
|
|
2568
2544
|
|
|
@@ -2597,7 +2573,7 @@ class CalApp(APIApplication):
|
|
|
2597
2573
|
triggers: str,
|
|
2598
2574
|
payloadTemplate: str | None = None,
|
|
2599
2575
|
secret: str | None = None,
|
|
2600
|
-
) ->
|
|
2576
|
+
) -> dict[str, Any]:
|
|
2601
2577
|
"""
|
|
2602
2578
|
Creates an organization webhook that triggers HTTP POST payloads for specified events and returns a success status on creation.
|
|
2603
2579
|
|
|
@@ -2643,7 +2619,7 @@ class CalApp(APIApplication):
|
|
|
2643
2619
|
|
|
2644
2620
|
def get_organization_webhook_by_id(
|
|
2645
2621
|
self, orgId: str, webhookId: str
|
|
2646
|
-
) ->
|
|
2622
|
+
) -> dict[str, Any]:
|
|
2647
2623
|
"""
|
|
2648
2624
|
Retrieves information about a specific webhook identified by `webhookId` for an organization specified by `orgId`.
|
|
2649
2625
|
|
|
@@ -2671,7 +2647,7 @@ class CalApp(APIApplication):
|
|
|
2671
2647
|
|
|
2672
2648
|
def delete_organization_webhook_by_id(
|
|
2673
2649
|
self, orgId: str, webhookId: str
|
|
2674
|
-
) ->
|
|
2650
|
+
) -> dict[str, Any]:
|
|
2675
2651
|
"""
|
|
2676
2652
|
Deletes a specified webhook from an organization using the provided organization and webhook identifiers.
|
|
2677
2653
|
|
|
@@ -2706,7 +2682,7 @@ class CalApp(APIApplication):
|
|
|
2706
2682
|
subscriberUrl: str | None = None,
|
|
2707
2683
|
triggers: str | None = None,
|
|
2708
2684
|
secret: str | None = None,
|
|
2709
|
-
) ->
|
|
2685
|
+
) -> dict[str, Any]:
|
|
2710
2686
|
"""
|
|
2711
2687
|
Updates a specific webhook for an organization using partial modifications via the PATCH method.
|
|
2712
2688
|
|
|
@@ -2764,7 +2740,7 @@ class CalApp(APIApplication):
|
|
|
2764
2740
|
sortCreated: str | None = None,
|
|
2765
2741
|
take: float | None = None,
|
|
2766
2742
|
skip: float | None = None,
|
|
2767
|
-
) ->
|
|
2743
|
+
) -> dict[str, Any]:
|
|
2768
2744
|
"""
|
|
2769
2745
|
Retrieves a filtered list of bookings based on parameters like status, attendee details, event types, time ranges, and pagination settings.
|
|
2770
2746
|
|
|
@@ -2817,7 +2793,7 @@ class CalApp(APIApplication):
|
|
|
2817
2793
|
response = self._get(url, params=query_params)
|
|
2818
2794
|
return Listbookingsresponse.model_validate(self._handle_response(response))
|
|
2819
2795
|
|
|
2820
|
-
def get_booking_by_uid(self, bookingUid: str) ->
|
|
2796
|
+
def get_booking_by_uid(self, bookingUid: str) -> dict[str, Any]:
|
|
2821
2797
|
"""
|
|
2822
2798
|
Retrieves the details of a specific booking using its unique identifier.
|
|
2823
2799
|
|
|
@@ -2840,9 +2816,7 @@ class CalApp(APIApplication):
|
|
|
2840
2816
|
response = self._get(url, params=query_params)
|
|
2841
2817
|
return Getbookingbyuidresponse.model_validate(self._handle_response(response))
|
|
2842
2818
|
|
|
2843
|
-
def reschedule_booking_by_uid(
|
|
2844
|
-
self, bookingUid: str
|
|
2845
|
-
) -> Reschedulebookingbyuidresponse:
|
|
2819
|
+
def reschedule_booking_by_uid(self, bookingUid: str) -> dict[str, Any]:
|
|
2846
2820
|
"""
|
|
2847
2821
|
Reschedules an existing booking identified by its unique `bookingUid`, using the `POST` method at the "/v2/bookings/{bookingUid}/reschedule" endpoint.
|
|
2848
2822
|
|
|
@@ -2873,7 +2847,7 @@ class CalApp(APIApplication):
|
|
|
2873
2847
|
self._handle_response(response)
|
|
2874
2848
|
)
|
|
2875
2849
|
|
|
2876
|
-
def cancel_booking_by_uid(self, bookingUid: str) ->
|
|
2850
|
+
def cancel_booking_by_uid(self, bookingUid: str) -> dict[str, Any]:
|
|
2877
2851
|
"""
|
|
2878
2852
|
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
2853
|
|
|
@@ -2909,7 +2883,7 @@ class CalApp(APIApplication):
|
|
|
2909
2883
|
bookingUid: str,
|
|
2910
2884
|
host: bool | None = None,
|
|
2911
2885
|
attendees: list[dict[str, Any]] | None = None,
|
|
2912
|
-
) ->
|
|
2886
|
+
) -> dict[str, Any]:
|
|
2913
2887
|
"""
|
|
2914
2888
|
Marks a booking as absent using the provided booking UID and authentication token, indicating that the owner of the booking is absent.
|
|
2915
2889
|
|
|
@@ -2949,7 +2923,7 @@ class CalApp(APIApplication):
|
|
|
2949
2923
|
self._handle_response(response)
|
|
2950
2924
|
)
|
|
2951
2925
|
|
|
2952
|
-
def reassign_booking(self, bookingUid: str) ->
|
|
2926
|
+
def reassign_booking(self, bookingUid: str) -> dict[str, Any]:
|
|
2953
2927
|
"""
|
|
2954
2928
|
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
2929
|
|
|
@@ -2980,7 +2954,7 @@ class CalApp(APIApplication):
|
|
|
2980
2954
|
|
|
2981
2955
|
def reassign_booking_to_user(
|
|
2982
2956
|
self, bookingUid: str, userId: str, reason: str | None = None
|
|
2983
|
-
) ->
|
|
2957
|
+
) -> dict[str, Any]:
|
|
2984
2958
|
"""
|
|
2985
2959
|
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
2960
|
|
|
@@ -3019,7 +2993,7 @@ class CalApp(APIApplication):
|
|
|
3019
2993
|
)
|
|
3020
2994
|
return Reassignbookingresponse.model_validate(self._handle_response(response))
|
|
3021
2995
|
|
|
3022
|
-
def confirm_booking(self, bookingUid: str) ->
|
|
2996
|
+
def confirm_booking(self, bookingUid: str) -> dict[str, Any]:
|
|
3023
2997
|
"""
|
|
3024
2998
|
Confirms a specific booking by its unique identifier and returns a success status upon completion.
|
|
3025
2999
|
|
|
@@ -3050,7 +3024,7 @@ class CalApp(APIApplication):
|
|
|
3050
3024
|
|
|
3051
3025
|
def decline_booking(
|
|
3052
3026
|
self, bookingUid: str, reason: str | None = None
|
|
3053
|
-
) ->
|
|
3027
|
+
) -> dict[str, Any]:
|
|
3054
3028
|
"""
|
|
3055
3029
|
Declines a specific booking identified by the bookingUid using the Booking.com API and returns a success status upon completion.
|
|
3056
3030
|
|
|
@@ -3088,7 +3062,7 @@ class CalApp(APIApplication):
|
|
|
3088
3062
|
|
|
3089
3063
|
def save_ics_feed_post(
|
|
3090
3064
|
self, urls: list[str], readOnly: bool | None = None
|
|
3091
|
-
) ->
|
|
3065
|
+
) -> dict[str, Any]:
|
|
3092
3066
|
"""
|
|
3093
3067
|
Saves an ICS calendar feed configuration and returns the created resource.
|
|
3094
3068
|
|
|
@@ -3123,7 +3097,7 @@ class CalApp(APIApplication):
|
|
|
3123
3097
|
)
|
|
3124
3098
|
return Saveicsfeedpostresponse.model_validate(self._handle_response(response))
|
|
3125
3099
|
|
|
3126
|
-
def check_ics_feed(self) ->
|
|
3100
|
+
def check_ics_feed(self) -> dict[str, Any]:
|
|
3127
3101
|
"""
|
|
3128
3102
|
Checks the status and validity of an ICS calendar feed.
|
|
3129
3103
|
|
|
@@ -3148,7 +3122,7 @@ class CalApp(APIApplication):
|
|
|
3148
3122
|
externalId: str,
|
|
3149
3123
|
dateFrom: str | None = None,
|
|
3150
3124
|
dateTo: str | None = None,
|
|
3151
|
-
) ->
|
|
3125
|
+
) -> dict[str, Any]:
|
|
3152
3126
|
"""
|
|
3153
3127
|
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
3128
|
|
|
@@ -3185,7 +3159,7 @@ class CalApp(APIApplication):
|
|
|
3185
3159
|
self._handle_response(response)
|
|
3186
3160
|
)
|
|
3187
3161
|
|
|
3188
|
-
def get_calendars(self) ->
|
|
3162
|
+
def get_calendars(self) -> dict[str, Any]:
|
|
3189
3163
|
"""
|
|
3190
3164
|
Retrieves a list of calendars using the API at the "/v2/calendars" endpoint via the GET method.
|
|
3191
3165
|
|
|
@@ -3203,7 +3177,7 @@ class CalApp(APIApplication):
|
|
|
3203
3177
|
response = self._get(url, params=query_params)
|
|
3204
3178
|
return Getcalendarsresponse.model_validate(self._handle_response(response))
|
|
3205
3179
|
|
|
3206
|
-
def calendars_controller_redirect(self, calendar: str) ->
|
|
3180
|
+
def calendars_controller_redirect(self, calendar: str) -> dict[str, Any]:
|
|
3207
3181
|
"""
|
|
3208
3182
|
Retrieves a connection status for the specified calendar at path "/v2/calendars/{calendar}/connect" using the GET method, requiring authorization and calendar identifier.
|
|
3209
3183
|
|
|
@@ -3282,7 +3256,7 @@ class CalApp(APIApplication):
|
|
|
3282
3256
|
)
|
|
3283
3257
|
return self._handle_response(response)
|
|
3284
3258
|
|
|
3285
|
-
def calendars_controller_check(self, calendar: str) ->
|
|
3259
|
+
def calendars_controller_check(self, calendar: str) -> dict[str, Any]:
|
|
3286
3260
|
"""
|
|
3287
3261
|
Checks the status or availability of a specified calendar using the "GET" method at the "/v2/calendars/{calendar}/check" endpoint.
|
|
3288
3262
|
|
|
@@ -3305,7 +3279,7 @@ class CalApp(APIApplication):
|
|
|
3305
3279
|
response = self._get(url, params=query_params)
|
|
3306
3280
|
return Checkicsfeedresponse.model_validate(self._handle_response(response))
|
|
3307
3281
|
|
|
3308
|
-
def disconnect_calendar(self, calendar: str, id: int) ->
|
|
3282
|
+
def disconnect_calendar(self, calendar: str, id: int) -> dict[str, Any]:
|
|
3309
3283
|
"""
|
|
3310
3284
|
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
3285
|
|
|
@@ -3343,9 +3317,7 @@ class CalApp(APIApplication):
|
|
|
3343
3317
|
self._handle_response(response)
|
|
3344
3318
|
)
|
|
3345
3319
|
|
|
3346
|
-
def conferencing_controller_connect(
|
|
3347
|
-
self, app: str
|
|
3348
|
-
) -> ConferencingcontrollerConnectresponse:
|
|
3320
|
+
def conferencing_controller_connect(self, app: str) -> dict[str, Any]:
|
|
3349
3321
|
"""
|
|
3350
3322
|
Establishes a connection for conferencing using the specified application via the POST method at the "/v2/conferencing/{app}/connect" endpoint.
|
|
3351
3323
|
|
|
@@ -3378,7 +3350,7 @@ class CalApp(APIApplication):
|
|
|
3378
3350
|
|
|
3379
3351
|
def get_auth_url(
|
|
3380
3352
|
self, app: str, returnTo: str, onErrorReturnTo: str
|
|
3381
|
-
) ->
|
|
3353
|
+
) -> dict[str, Any]:
|
|
3382
3354
|
"""
|
|
3383
3355
|
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
3356
|
|
|
@@ -3436,7 +3408,7 @@ class CalApp(APIApplication):
|
|
|
3436
3408
|
response = self._get(url, params=query_params)
|
|
3437
3409
|
return self._handle_response(response)
|
|
3438
3410
|
|
|
3439
|
-
def list_conferencing(self) ->
|
|
3411
|
+
def list_conferencing(self) -> dict[str, Any]:
|
|
3440
3412
|
"""
|
|
3441
3413
|
Retrieves conferencing data using the "GET" method at the "/v2/conferencing" endpoint, returning relevant information.
|
|
3442
3414
|
|
|
@@ -3454,9 +3426,7 @@ class CalApp(APIApplication):
|
|
|
3454
3426
|
response = self._get(url, params=query_params)
|
|
3455
3427
|
return Listconferencingresponse.model_validate(self._handle_response(response))
|
|
3456
3428
|
|
|
3457
|
-
def conferencing_controller_default(
|
|
3458
|
-
self, app: str
|
|
3459
|
-
) -> Getprovideraccesstokenresponse:
|
|
3429
|
+
def conferencing_controller_default(self, app: str) -> dict[str, Any]:
|
|
3460
3430
|
"""
|
|
3461
3431
|
Sets the default conferencing application for the specified app identifier.
|
|
3462
3432
|
|
|
@@ -3487,7 +3457,7 @@ class CalApp(APIApplication):
|
|
|
3487
3457
|
self._handle_response(response)
|
|
3488
3458
|
)
|
|
3489
3459
|
|
|
3490
|
-
def get_default_conferencing(self) ->
|
|
3460
|
+
def get_default_conferencing(self) -> dict[str, Any]:
|
|
3491
3461
|
"""
|
|
3492
3462
|
Retrieves the default conferencing configuration from the API.
|
|
3493
3463
|
|
|
@@ -3507,7 +3477,7 @@ class CalApp(APIApplication):
|
|
|
3507
3477
|
self._handle_response(response)
|
|
3508
3478
|
)
|
|
3509
3479
|
|
|
3510
|
-
def disconnect_conferencing_app(self, app: str) ->
|
|
3480
|
+
def disconnect_conferencing_app(self, app: str) -> dict[str, Any]:
|
|
3511
3481
|
"""
|
|
3512
3482
|
Disconnects all participants from a specified conferencing application instance using the path parameter and returns a success response upon completion.
|
|
3513
3483
|
|
|
@@ -3534,7 +3504,7 @@ class CalApp(APIApplication):
|
|
|
3534
3504
|
|
|
3535
3505
|
def update_destination_calendars(
|
|
3536
3506
|
self, integration: str, externalId: str
|
|
3537
|
-
) ->
|
|
3507
|
+
) -> dict[str, Any]:
|
|
3538
3508
|
"""
|
|
3539
3509
|
Updates a destination calendar at the specified path "/v2/destination-calendars" using the PUT method.
|
|
3540
3510
|
|
|
@@ -3578,7 +3548,7 @@ class CalApp(APIApplication):
|
|
|
3578
3548
|
usernames: str | None = None,
|
|
3579
3549
|
orgSlug: str | None = None,
|
|
3580
3550
|
orgId: float | None = None,
|
|
3581
|
-
) ->
|
|
3551
|
+
) -> dict[str, Any]:
|
|
3582
3552
|
"""
|
|
3583
3553
|
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
3554
|
|
|
@@ -3613,7 +3583,7 @@ class CalApp(APIApplication):
|
|
|
3613
3583
|
response = self._get(url, params=query_params)
|
|
3614
3584
|
return Listeventtypesresponse.model_validate(self._handle_response(response))
|
|
3615
3585
|
|
|
3616
|
-
def get_event_type_by_id(self, eventTypeId: str) ->
|
|
3586
|
+
def get_event_type_by_id(self, eventTypeId: str) -> dict[str, Any]:
|
|
3617
3587
|
"""
|
|
3618
3588
|
Retrieves detailed information about a specific event type by its ID using the Events API.
|
|
3619
3589
|
|
|
@@ -3636,7 +3606,7 @@ class CalApp(APIApplication):
|
|
|
3636
3606
|
response = self._get(url, params=query_params)
|
|
3637
3607
|
return Geteventtypebyidresponse.model_validate(self._handle_response(response))
|
|
3638
3608
|
|
|
3639
|
-
def delete_event_type_by_id(self, eventTypeId: str) ->
|
|
3609
|
+
def delete_event_type_by_id(self, eventTypeId: str) -> dict[str, Any]:
|
|
3640
3610
|
"""
|
|
3641
3611
|
Deletes the specified event type using the provided ID and returns a success status upon completion.
|
|
3642
3612
|
|
|
@@ -3669,7 +3639,7 @@ class CalApp(APIApplication):
|
|
|
3669
3639
|
triggers: str,
|
|
3670
3640
|
payloadTemplate: str | None = None,
|
|
3671
3641
|
secret: str | None = None,
|
|
3672
|
-
) ->
|
|
3642
|
+
) -> dict[str, Any]:
|
|
3673
3643
|
"""
|
|
3674
3644
|
Creates a webhook subscription for a specific event type, returning a success status upon creation.
|
|
3675
3645
|
|
|
@@ -3720,7 +3690,7 @@ class CalApp(APIApplication):
|
|
|
3720
3690
|
eventTypeId: str,
|
|
3721
3691
|
take: float | None = None,
|
|
3722
3692
|
skip: float | None = None,
|
|
3723
|
-
) ->
|
|
3693
|
+
) -> dict[str, Any]:
|
|
3724
3694
|
"""
|
|
3725
3695
|
Retrieves a list of webhooks configured for a specific event type, supporting pagination via take and skip parameters.
|
|
3726
3696
|
|
|
@@ -3747,7 +3717,7 @@ class CalApp(APIApplication):
|
|
|
3747
3717
|
response = self._get(url, params=query_params)
|
|
3748
3718
|
return Geteventwebhooksresponse.model_validate(self._handle_response(response))
|
|
3749
3719
|
|
|
3750
|
-
def delete_event_webhook(self, eventTypeId: str) ->
|
|
3720
|
+
def delete_event_webhook(self, eventTypeId: str) -> dict[str, Any]:
|
|
3751
3721
|
"""
|
|
3752
3722
|
Deletes a webhook associated with a specific event type ID using the DELETE method.
|
|
3753
3723
|
|
|
@@ -3781,7 +3751,7 @@ class CalApp(APIApplication):
|
|
|
3781
3751
|
subscriberUrl: str | None = None,
|
|
3782
3752
|
triggers: str | None = None,
|
|
3783
3753
|
secret: str | None = None,
|
|
3784
|
-
) ->
|
|
3754
|
+
) -> dict[str, Any]:
|
|
3785
3755
|
"""
|
|
3786
3756
|
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
3757
|
|
|
@@ -3825,9 +3795,7 @@ class CalApp(APIApplication):
|
|
|
3825
3795
|
self._handle_response(response)
|
|
3826
3796
|
)
|
|
3827
3797
|
|
|
3828
|
-
def get_webhook_by_id(
|
|
3829
|
-
self, eventTypeId: str, webhookId: str
|
|
3830
|
-
) -> Createeventtypewebhookresponse:
|
|
3798
|
+
def get_webhook_by_id(self, eventTypeId: str, webhookId: str) -> dict[str, Any]:
|
|
3831
3799
|
"""
|
|
3832
3800
|
Retrieves details about a specific webhook for a given event type using the provided event type ID and webhook ID.
|
|
3833
3801
|
|
|
@@ -3857,7 +3825,7 @@ class CalApp(APIApplication):
|
|
|
3857
3825
|
|
|
3858
3826
|
def delete_event_type_webhook_by_id(
|
|
3859
3827
|
self, eventTypeId: str, webhookId: str
|
|
3860
|
-
) ->
|
|
3828
|
+
) -> dict[str, Any]:
|
|
3861
3829
|
"""
|
|
3862
3830
|
Deletes a webhook associated with a specific event type using the provided `eventTypeId` and `webhookId` parameters.
|
|
3863
3831
|
|
|
@@ -3885,7 +3853,7 @@ class CalApp(APIApplication):
|
|
|
3885
3853
|
self._handle_response(response)
|
|
3886
3854
|
)
|
|
3887
3855
|
|
|
3888
|
-
def me_controller_get_me(self) ->
|
|
3856
|
+
def me_controller_get_me(self) -> dict[str, Any]:
|
|
3889
3857
|
"""
|
|
3890
3858
|
Retrieves the authenticated user's profile information and returns it in the API response.
|
|
3891
3859
|
|
|
@@ -3913,7 +3881,7 @@ class CalApp(APIApplication):
|
|
|
3913
3881
|
timeZone: str | None = None,
|
|
3914
3882
|
locale: str | None = None,
|
|
3915
3883
|
avatarUrl: str | None = None,
|
|
3916
|
-
) ->
|
|
3884
|
+
) -> dict[str, Any]:
|
|
3917
3885
|
"""
|
|
3918
3886
|
Updates the properties of the current user's profile at the "/v2/me" path using the PATCH method.
|
|
3919
3887
|
|
|
@@ -3962,7 +3930,7 @@ class CalApp(APIApplication):
|
|
|
3962
3930
|
isDefault: bool,
|
|
3963
3931
|
availability: list[dict[str, Any]] | None = None,
|
|
3964
3932
|
overrides: list[dict[str, Any]] | None = None,
|
|
3965
|
-
) ->
|
|
3933
|
+
) -> dict[str, Any]:
|
|
3966
3934
|
"""
|
|
3967
3935
|
Creates a new schedule using the provided data and returns a successful creation response with a 201 status code.
|
|
3968
3936
|
|
|
@@ -4006,7 +3974,7 @@ class CalApp(APIApplication):
|
|
|
4006
3974
|
self._handle_response(response)
|
|
4007
3975
|
)
|
|
4008
3976
|
|
|
4009
|
-
def list_schedules(self) ->
|
|
3977
|
+
def list_schedules(self) -> dict[str, Any]:
|
|
4010
3978
|
"""
|
|
4011
3979
|
Retrieves a list of schedules using specified authorization headers and API version.
|
|
4012
3980
|
|
|
@@ -4026,7 +3994,7 @@ class CalApp(APIApplication):
|
|
|
4026
3994
|
self._handle_response(response)
|
|
4027
3995
|
)
|
|
4028
3996
|
|
|
4029
|
-
def get_default_schedule(self) ->
|
|
3997
|
+
def get_default_schedule(self) -> dict[str, Any]:
|
|
4030
3998
|
"""
|
|
4031
3999
|
Retrieves the default schedule of the authenticated user using the Cal.com API, returning relevant scheduling information.
|
|
4032
4000
|
|
|
@@ -4046,7 +4014,7 @@ class CalApp(APIApplication):
|
|
|
4046
4014
|
self._handle_response(response)
|
|
4047
4015
|
)
|
|
4048
4016
|
|
|
4049
|
-
def get_schedule_by_id(self, scheduleId: str) ->
|
|
4017
|
+
def get_schedule_by_id(self, scheduleId: str) -> dict[str, Any]:
|
|
4050
4018
|
"""
|
|
4051
4019
|
Retrieves a specific schedule by its ID using the "GET" method at the "/v2/schedules/{scheduleId}" endpoint.
|
|
4052
4020
|
|
|
@@ -4077,7 +4045,7 @@ class CalApp(APIApplication):
|
|
|
4077
4045
|
availability: list[dict[str, Any]] | None = None,
|
|
4078
4046
|
isDefault: bool | None = None,
|
|
4079
4047
|
overrides: list[dict[str, Any]] | None = None,
|
|
4080
|
-
) ->
|
|
4048
|
+
) -> dict[str, Any]:
|
|
4081
4049
|
"""
|
|
4082
4050
|
Updates a schedule's configuration partially by specifying scheduleId and modified fields in the request body, returning a success status upon completion.
|
|
4083
4051
|
|
|
@@ -4118,7 +4086,7 @@ class CalApp(APIApplication):
|
|
|
4118
4086
|
self._handle_response(response)
|
|
4119
4087
|
)
|
|
4120
4088
|
|
|
4121
|
-
def delete_schedule_by_id(self, scheduleId: str) ->
|
|
4089
|
+
def delete_schedule_by_id(self, scheduleId: str) -> dict[str, Any]:
|
|
4122
4090
|
"""
|
|
4123
4091
|
Deletes a specific schedule identified by the `scheduleId` using the `DELETE` method.
|
|
4124
4092
|
|
|
@@ -4145,7 +4113,7 @@ class CalApp(APIApplication):
|
|
|
4145
4113
|
|
|
4146
4114
|
def add_selected_calendar(
|
|
4147
4115
|
self, integration: str, externalId: str, credentialId: float
|
|
4148
|
-
) ->
|
|
4116
|
+
) -> dict[str, Any]:
|
|
4149
4117
|
"""
|
|
4150
4118
|
Creates a new selected calendar entry for external integrations using provided identifiers.
|
|
4151
4119
|
|
|
@@ -4186,7 +4154,7 @@ class CalApp(APIApplication):
|
|
|
4186
4154
|
|
|
4187
4155
|
def delete_selected_calendars(
|
|
4188
4156
|
self, integration: str, externalId: str, credentialId: str
|
|
4189
|
-
) ->
|
|
4157
|
+
) -> dict[str, Any]:
|
|
4190
4158
|
"""
|
|
4191
4159
|
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
4160
|
|
|
@@ -4225,7 +4193,7 @@ class CalApp(APIApplication):
|
|
|
4225
4193
|
slotUtcStartDate: str,
|
|
4226
4194
|
slotUtcEndDate: str,
|
|
4227
4195
|
bookingUid: str | None = None,
|
|
4228
|
-
) ->
|
|
4196
|
+
) -> dict[str, Any]:
|
|
4229
4197
|
"""
|
|
4230
4198
|
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
4199
|
|
|
@@ -4266,7 +4234,7 @@ class CalApp(APIApplication):
|
|
|
4266
4234
|
self._handle_response(response)
|
|
4267
4235
|
)
|
|
4268
4236
|
|
|
4269
|
-
def delete_selected_slot(self, uid: str) ->
|
|
4237
|
+
def delete_selected_slot(self, uid: str) -> dict[str, Any]:
|
|
4270
4238
|
"""
|
|
4271
4239
|
Deletes the specified slot identified by the uid parameter and returns a successful response upon completion.
|
|
4272
4240
|
|
|
@@ -4301,7 +4269,7 @@ class CalApp(APIApplication):
|
|
|
4301
4269
|
timeZone: str | None = None,
|
|
4302
4270
|
orgSlug: str | None = None,
|
|
4303
4271
|
slotFormat: str | None = None,
|
|
4304
|
-
) ->
|
|
4272
|
+
) -> dict[str, Any]:
|
|
4305
4273
|
"""
|
|
4306
4274
|
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
4275
|
|
|
@@ -4348,7 +4316,7 @@ class CalApp(APIApplication):
|
|
|
4348
4316
|
self._handle_response(response)
|
|
4349
4317
|
)
|
|
4350
4318
|
|
|
4351
|
-
def stripe_controller_redirect(self) ->
|
|
4319
|
+
def stripe_controller_redirect(self) -> dict[str, Any]:
|
|
4352
4320
|
"""
|
|
4353
4321
|
Retrieves details of a connected Stripe account using the Stripe-Account header for authorization.
|
|
4354
4322
|
|
|
@@ -4368,9 +4336,7 @@ class CalApp(APIApplication):
|
|
|
4368
4336
|
self._handle_response(response)
|
|
4369
4337
|
)
|
|
4370
4338
|
|
|
4371
|
-
def stripe_controller_save(
|
|
4372
|
-
self, state: str, code: str
|
|
4373
|
-
) -> GcalcontrollerSaveresponse:
|
|
4339
|
+
def stripe_controller_save(self, state: str, code: str) -> dict[str, Any]:
|
|
4374
4340
|
"""
|
|
4375
4341
|
Retrieves a Stripe resource using a state and code query parameter and returns the result upon successful authentication.
|
|
4376
4342
|
|
|
@@ -4396,7 +4362,7 @@ class CalApp(APIApplication):
|
|
|
4396
4362
|
self._handle_response(response)
|
|
4397
4363
|
)
|
|
4398
4364
|
|
|
4399
|
-
def stripe_controller_check(self) ->
|
|
4365
|
+
def stripe_controller_check(self) -> dict[str, Any]:
|
|
4400
4366
|
"""
|
|
4401
4367
|
Checks system status or configuration in Stripe's v2 API and returns a success response.
|
|
4402
4368
|
|
|
@@ -4416,7 +4382,7 @@ class CalApp(APIApplication):
|
|
|
4416
4382
|
self._handle_response(response)
|
|
4417
4383
|
)
|
|
4418
4384
|
|
|
4419
|
-
def get_team_stripe_check(self, teamId: str) ->
|
|
4385
|
+
def get_team_stripe_check(self, teamId: str) -> dict[str, Any]:
|
|
4420
4386
|
"""
|
|
4421
4387
|
Retrieves Stripe payment or subscription data for a specific team using the provided `teamId` and returns relevant information via a GET request.
|
|
4422
4388
|
|
|
@@ -4462,7 +4428,7 @@ class CalApp(APIApplication):
|
|
|
4462
4428
|
timeZone: str | None = None,
|
|
4463
4429
|
weekStart: str | None = None,
|
|
4464
4430
|
autoAcceptCreator: bool | None = None,
|
|
4465
|
-
) ->
|
|
4431
|
+
) -> dict[str, Any]:
|
|
4466
4432
|
"""
|
|
4467
4433
|
Creates a new team using the API and returns a successful response with a 201 status code, indicating the creation of a resource.
|
|
4468
4434
|
|
|
@@ -4533,7 +4499,7 @@ class CalApp(APIApplication):
|
|
|
4533
4499
|
self._handle_response(response)
|
|
4534
4500
|
)
|
|
4535
4501
|
|
|
4536
|
-
def teams_controller_get_teams(self) ->
|
|
4502
|
+
def teams_controller_get_teams(self) -> dict[str, Any]:
|
|
4537
4503
|
"""
|
|
4538
4504
|
Retrieves a list of teams and returns their details in the response.
|
|
4539
4505
|
|
|
@@ -4553,9 +4519,7 @@ class CalApp(APIApplication):
|
|
|
4553
4519
|
self._handle_response(response)
|
|
4554
4520
|
)
|
|
4555
4521
|
|
|
4556
|
-
def teams_controller_get_team(
|
|
4557
|
-
self, teamId: str
|
|
4558
|
-
) -> Createteaminorganizationresponse:
|
|
4522
|
+
def teams_controller_get_team(self, teamId: str) -> dict[str, Any]:
|
|
4559
4523
|
"""
|
|
4560
4524
|
Retrieves information about a team specified by the team ID using the GET method.
|
|
4561
4525
|
|
|
@@ -4603,7 +4567,7 @@ class CalApp(APIApplication):
|
|
|
4603
4567
|
weekStart: str | None = None,
|
|
4604
4568
|
bookingLimits: str | None = None,
|
|
4605
4569
|
includeManagedEventsInLimits: bool | None = None,
|
|
4606
|
-
) ->
|
|
4570
|
+
) -> dict[str, Any]:
|
|
4607
4571
|
"""
|
|
4608
4572
|
Updates team configuration details for the specified team ID.
|
|
4609
4573
|
|
|
@@ -4674,9 +4638,7 @@ class CalApp(APIApplication):
|
|
|
4674
4638
|
self._handle_response(response)
|
|
4675
4639
|
)
|
|
4676
4640
|
|
|
4677
|
-
def teams_controller_delete_team(
|
|
4678
|
-
self, teamId: str
|
|
4679
|
-
) -> Createteaminorganizationresponse:
|
|
4641
|
+
def teams_controller_delete_team(self, teamId: str) -> dict[str, Any]:
|
|
4680
4642
|
"""
|
|
4681
4643
|
Deletes a specified team using the provided team ID.
|
|
4682
4644
|
|
|
@@ -4738,7 +4700,7 @@ class CalApp(APIApplication):
|
|
|
4738
4700
|
hideCalendarEventDetails: bool | None = None,
|
|
4739
4701
|
successRedirectUrl: str | None = None,
|
|
4740
4702
|
assignAllTeamMembers: bool | None = None,
|
|
4741
|
-
) ->
|
|
4703
|
+
) -> dict[str, Any]:
|
|
4742
4704
|
"""
|
|
4743
4705
|
Creates a new event type for a specified team using the API and returns a successful creation status.
|
|
4744
4706
|
|
|
@@ -4847,7 +4809,7 @@ class CalApp(APIApplication):
|
|
|
4847
4809
|
|
|
4848
4810
|
def get_team_event_types(
|
|
4849
4811
|
self, teamId: str, eventSlug: str | None = None
|
|
4850
|
-
) ->
|
|
4812
|
+
) -> dict[str, Any]:
|
|
4851
4813
|
"""
|
|
4852
4814
|
Retrieves a list of event types for a specified team using the provided team ID and optionally filters by event slug.
|
|
4853
4815
|
|
|
@@ -4875,7 +4837,7 @@ class CalApp(APIApplication):
|
|
|
4875
4837
|
|
|
4876
4838
|
def get_event_type_by_team_id(
|
|
4877
4839
|
self, teamId: str, eventTypeId: str
|
|
4878
|
-
) ->
|
|
4840
|
+
) -> dict[str, Any]:
|
|
4879
4841
|
"""
|
|
4880
4842
|
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
4843
|
|
|
@@ -4905,7 +4867,7 @@ class CalApp(APIApplication):
|
|
|
4905
4867
|
|
|
4906
4868
|
def delete_team_event_type_by_id(
|
|
4907
4869
|
self, teamId: str, eventTypeId: str
|
|
4908
|
-
) ->
|
|
4870
|
+
) -> dict[str, Any]:
|
|
4909
4871
|
"""
|
|
4910
4872
|
Deletes a specific event type for a team using the provided path parameters.
|
|
4911
4873
|
|
|
@@ -4948,7 +4910,7 @@ class CalApp(APIApplication):
|
|
|
4948
4910
|
guestCompany: str | None = None,
|
|
4949
4911
|
beginMessage: str | None = None,
|
|
4950
4912
|
generalPrompt: str | None = None,
|
|
4951
|
-
) ->
|
|
4913
|
+
) -> dict[str, Any]:
|
|
4952
4914
|
"""
|
|
4953
4915
|
Creates a phone call for a specific event type within a team using the "POST" method, returning a successful creation status.
|
|
4954
4916
|
|
|
@@ -5016,7 +4978,7 @@ class CalApp(APIApplication):
|
|
|
5016
4978
|
accepted: bool | None = None,
|
|
5017
4979
|
role: str | None = None,
|
|
5018
4980
|
disableImpersonation: bool | None = None,
|
|
5019
|
-
) ->
|
|
4981
|
+
) -> dict[str, Any]:
|
|
5020
4982
|
"""
|
|
5021
4983
|
Adds multiple users to a team using their organization membership IDs through a POST request to the specified team endpoint.
|
|
5022
4984
|
|
|
@@ -5062,7 +5024,7 @@ class CalApp(APIApplication):
|
|
|
5062
5024
|
|
|
5063
5025
|
def get_team_memberships(
|
|
5064
5026
|
self, teamId: str, take: float | None = None, skip: float | None = None
|
|
5065
|
-
) ->
|
|
5027
|
+
) -> dict[str, Any]:
|
|
5066
5028
|
"""
|
|
5067
5029
|
Retrieves paginated membership details for a specific team using `take` and `skip` parameters to manage results.
|
|
5068
5030
|
|
|
@@ -5091,9 +5053,7 @@ class CalApp(APIApplication):
|
|
|
5091
5053
|
self._handle_response(response)
|
|
5092
5054
|
)
|
|
5093
5055
|
|
|
5094
|
-
def get_membership_by_id(
|
|
5095
|
-
self, teamId: str, membershipId: str
|
|
5096
|
-
) -> Listorganizationmembershipsresponse:
|
|
5056
|
+
def get_membership_by_id(self, teamId: str, membershipId: str) -> dict[str, Any]:
|
|
5097
5057
|
"""
|
|
5098
5058
|
Retrieves the membership details for a specific user in a team using the provided membership ID.
|
|
5099
5059
|
|
|
@@ -5128,7 +5088,7 @@ class CalApp(APIApplication):
|
|
|
5128
5088
|
accepted: bool | None = None,
|
|
5129
5089
|
role: str | None = None,
|
|
5130
5090
|
disableImpersonation: bool | None = None,
|
|
5131
|
-
) ->
|
|
5091
|
+
) -> dict[str, Any]:
|
|
5132
5092
|
"""
|
|
5133
5093
|
Updates the membership role for a user in a specific team using the GitHub API and returns a success status.
|
|
5134
5094
|
|
|
@@ -5170,7 +5130,7 @@ class CalApp(APIApplication):
|
|
|
5170
5130
|
|
|
5171
5131
|
def deletegithub_membership_by_id(
|
|
5172
5132
|
self, teamId: str, membershipId: str
|
|
5173
|
-
) ->
|
|
5133
|
+
) -> dict[str, Any]:
|
|
5174
5134
|
"""
|
|
5175
5135
|
Removes a user's team membership in GitHub, requiring admin permissions or organization ownership.
|
|
5176
5136
|
|
|
@@ -5198,7 +5158,7 @@ class CalApp(APIApplication):
|
|
|
5198
5158
|
self._handle_response(response)
|
|
5199
5159
|
)
|
|
5200
5160
|
|
|
5201
|
-
def get_timezones(self) ->
|
|
5161
|
+
def get_timezones(self) -> dict[str, Any]:
|
|
5202
5162
|
"""
|
|
5203
5163
|
Retrieves a list of time zones with associated metadata, including codes, descriptions, and identifiers.
|
|
5204
5164
|
|
|
@@ -5223,7 +5183,7 @@ class CalApp(APIApplication):
|
|
|
5223
5183
|
triggers: str,
|
|
5224
5184
|
payloadTemplate: str | None = None,
|
|
5225
5185
|
secret: str | None = None,
|
|
5226
|
-
) ->
|
|
5186
|
+
) -> dict[str, Any]:
|
|
5227
5187
|
"""
|
|
5228
5188
|
Creates and configures a webhook endpoint to receive HTTP POST notifications for specific events, returning a success response upon creation.
|
|
5229
5189
|
|
|
@@ -5268,7 +5228,7 @@ class CalApp(APIApplication):
|
|
|
5268
5228
|
|
|
5269
5229
|
def webhooks_controller_get_webhooks(
|
|
5270
5230
|
self, take: float | None = None, skip: float | None = None
|
|
5271
|
-
) ->
|
|
5231
|
+
) -> dict[str, Any]:
|
|
5272
5232
|
"""
|
|
5273
5233
|
Retrieves a list of webhooks, allowing pagination with optional parameters to specify the number of items to take and skip.
|
|
5274
5234
|
|
|
@@ -5302,7 +5262,7 @@ class CalApp(APIApplication):
|
|
|
5302
5262
|
subscriberUrl: str | None = None,
|
|
5303
5263
|
triggers: str | None = None,
|
|
5304
5264
|
secret: str | None = None,
|
|
5305
|
-
) ->
|
|
5265
|
+
) -> dict[str, Any]:
|
|
5306
5266
|
"""
|
|
5307
5267
|
Updates a webhook identified by its ID using the PATCH method to modify its configuration.
|
|
5308
5268
|
|
|
@@ -5343,9 +5303,7 @@ class CalApp(APIApplication):
|
|
|
5343
5303
|
self._handle_response(response)
|
|
5344
5304
|
)
|
|
5345
5305
|
|
|
5346
|
-
def webhooks_controller_get_webhook(
|
|
5347
|
-
self, webhookId: str
|
|
5348
|
-
) -> Createandconfigurewebhookresponse:
|
|
5306
|
+
def webhooks_controller_get_webhook(self, webhookId: str) -> dict[str, Any]:
|
|
5349
5307
|
"""
|
|
5350
5308
|
Retrieves information about a specific webhook identified by its ID using the "GET" method.
|
|
5351
5309
|
|
|
@@ -5370,9 +5328,7 @@ class CalApp(APIApplication):
|
|
|
5370
5328
|
self._handle_response(response)
|
|
5371
5329
|
)
|
|
5372
5330
|
|
|
5373
|
-
def delete_user_webhook_by_id(
|
|
5374
|
-
self, webhookId: str
|
|
5375
|
-
) -> Createandconfigurewebhookresponse:
|
|
5331
|
+
def delete_user_webhook_by_id(self, webhookId: str) -> dict[str, Any]:
|
|
5376
5332
|
"""
|
|
5377
5333
|
Deletes a webhook by its ID using the DELETE method at the "/v2/webhooks/{webhookId}" path, removing the specified webhook endpoint.
|
|
5378
5334
|
|