pingram-python 1.0.37__py3-none-any.whl → 1.0.39__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.
- pingram/__init__.py +9 -3
- pingram/api/library_api.py +3 -3
- pingram/api/logs_api.py +557 -3
- pingram/api/profile_api.py +0 -290
- pingram/api/webhooks_api.py +6 -6
- pingram/api_client.py +1 -1
- pingram/configuration.py +1 -1
- pingram/models/__init__.py +4 -1
- pingram/models/{change_email_request.py → confirm_change_email_request.py} +8 -8
- pingram/models/create_library_request.py +1 -1
- pingram/models/get_logs_response_messages_inner.py +4 -4
- pingram/models/get_logs_response_messages_inner_attachments_inner.py +19 -7
- pingram/models/logs_delivery_status_response.py +95 -0
- pingram/models/logs_delivery_status_response_statuses_inner.py +110 -0
- pingram/models/logs_get_response_logs_inner.py +28 -20
- pingram/models/start_change_email_request.py +91 -0
- pingram/models/webhook_endpoint_upsert_request.py +1 -1
- {pingram_python-1.0.37.dist-info → pingram_python-1.0.39.dist-info}/METADATA +1 -1
- {pingram_python-1.0.37.dist-info → pingram_python-1.0.39.dist-info}/RECORD +22 -19
- {pingram_python-1.0.37.dist-info → pingram_python-1.0.39.dist-info}/WHEEL +0 -0
- {pingram_python-1.0.37.dist-info → pingram_python-1.0.39.dist-info}/licenses/LICENSE +0 -0
- {pingram_python-1.0.37.dist-info → pingram_python-1.0.39.dist-info}/top_level.txt +0 -0
pingram/__init__.py
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
""" # noqa: E501
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
__version__ = "1.0.
|
|
17
|
+
__version__ = "1.0.39"
|
|
18
18
|
|
|
19
19
|
# Define package exports
|
|
20
20
|
__all__ = [
|
|
@@ -90,9 +90,9 @@ __all__ = [
|
|
|
90
90
|
"CampaignWebhookResponse",
|
|
91
91
|
"CancelSubscriptionRequest",
|
|
92
92
|
"Chained",
|
|
93
|
-
"ChangeEmailRequest",
|
|
94
93
|
"ChangePhoneRequest",
|
|
95
94
|
"ChannelsEnum",
|
|
95
|
+
"ConfirmChangeEmailRequest",
|
|
96
96
|
"CreateAccountRequest",
|
|
97
97
|
"CreateAccountRequestPlan",
|
|
98
98
|
"CreateAccountResponse",
|
|
@@ -240,6 +240,8 @@ __all__ = [
|
|
|
240
240
|
"ListVoiceCallsResponseCallsInner",
|
|
241
241
|
"LogQueryPostBody",
|
|
242
242
|
"LogsBulkRequest",
|
|
243
|
+
"LogsDeliveryStatusResponse",
|
|
244
|
+
"LogsDeliveryStatusResponseStatusesInner",
|
|
243
245
|
"LogsGetResponse",
|
|
244
246
|
"LogsGetResponseLogsInner",
|
|
245
247
|
"LogsQueryResponse",
|
|
@@ -308,6 +310,7 @@ __all__ = [
|
|
|
308
310
|
"SetDefaultTemplateRequest",
|
|
309
311
|
"SlackConnectInviteResponse",
|
|
310
312
|
"SlackInteractivityResponse",
|
|
313
|
+
"StartChangeEmailRequest",
|
|
311
314
|
"SubNotification",
|
|
312
315
|
"SubNotificationPUTRequest",
|
|
313
316
|
"SuccessResponse",
|
|
@@ -438,9 +441,9 @@ from pingram.models.broadcast_response_audience import BroadcastResponseAudience
|
|
|
438
441
|
from pingram.models.campaign_webhook_response import CampaignWebhookResponse as CampaignWebhookResponse
|
|
439
442
|
from pingram.models.cancel_subscription_request import CancelSubscriptionRequest as CancelSubscriptionRequest
|
|
440
443
|
from pingram.models.chained import Chained as Chained
|
|
441
|
-
from pingram.models.change_email_request import ChangeEmailRequest as ChangeEmailRequest
|
|
442
444
|
from pingram.models.change_phone_request import ChangePhoneRequest as ChangePhoneRequest
|
|
443
445
|
from pingram.models.channels_enum import ChannelsEnum as ChannelsEnum
|
|
446
|
+
from pingram.models.confirm_change_email_request import ConfirmChangeEmailRequest as ConfirmChangeEmailRequest
|
|
444
447
|
from pingram.models.create_account_request import CreateAccountRequest as CreateAccountRequest
|
|
445
448
|
from pingram.models.create_account_request_plan import CreateAccountRequestPlan as CreateAccountRequestPlan
|
|
446
449
|
from pingram.models.create_account_response import CreateAccountResponse as CreateAccountResponse
|
|
@@ -588,6 +591,8 @@ from pingram.models.list_voice_calls_response import ListVoiceCallsResponse as L
|
|
|
588
591
|
from pingram.models.list_voice_calls_response_calls_inner import ListVoiceCallsResponseCallsInner as ListVoiceCallsResponseCallsInner
|
|
589
592
|
from pingram.models.log_query_post_body import LogQueryPostBody as LogQueryPostBody
|
|
590
593
|
from pingram.models.logs_bulk_request import LogsBulkRequest as LogsBulkRequest
|
|
594
|
+
from pingram.models.logs_delivery_status_response import LogsDeliveryStatusResponse as LogsDeliveryStatusResponse
|
|
595
|
+
from pingram.models.logs_delivery_status_response_statuses_inner import LogsDeliveryStatusResponseStatusesInner as LogsDeliveryStatusResponseStatusesInner
|
|
591
596
|
from pingram.models.logs_get_response import LogsGetResponse as LogsGetResponse
|
|
592
597
|
from pingram.models.logs_get_response_logs_inner import LogsGetResponseLogsInner as LogsGetResponseLogsInner
|
|
593
598
|
from pingram.models.logs_query_response import LogsQueryResponse as LogsQueryResponse
|
|
@@ -656,6 +661,7 @@ from pingram.models.sender_post_response import SenderPostResponse as SenderPost
|
|
|
656
661
|
from pingram.models.set_default_template_request import SetDefaultTemplateRequest as SetDefaultTemplateRequest
|
|
657
662
|
from pingram.models.slack_connect_invite_response import SlackConnectInviteResponse as SlackConnectInviteResponse
|
|
658
663
|
from pingram.models.slack_interactivity_response import SlackInteractivityResponse as SlackInteractivityResponse
|
|
664
|
+
from pingram.models.start_change_email_request import StartChangeEmailRequest as StartChangeEmailRequest
|
|
659
665
|
from pingram.models.sub_notification import SubNotification as SubNotification
|
|
660
666
|
from pingram.models.sub_notification_put_request import SubNotificationPUTRequest as SubNotificationPUTRequest
|
|
661
667
|
from pingram.models.success_response import SuccessResponse as SuccessResponse
|
pingram/api/library_api.py
CHANGED
|
@@ -59,7 +59,7 @@ class LibraryApi:
|
|
|
59
59
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
60
60
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
61
61
|
) -> CreateLibraryResponse:
|
|
62
|
-
"""Create an upload slot in the account library. PUT the file to the returned uploadUrl with
|
|
62
|
+
"""Create an upload slot in the account library. contentType must be image/png, image/jpeg, image/gif, or image/webp. PUT the file to the returned uploadUrl with that Content-Type, then use the returned url in emails and the editor.
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
:param use_case: Library use-case (required)
|
|
@@ -134,7 +134,7 @@ class LibraryApi:
|
|
|
134
134
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
135
135
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
136
136
|
) -> ApiResponse[CreateLibraryResponse]:
|
|
137
|
-
"""Create an upload slot in the account library. PUT the file to the returned uploadUrl with
|
|
137
|
+
"""Create an upload slot in the account library. contentType must be image/png, image/jpeg, image/gif, or image/webp. PUT the file to the returned uploadUrl with that Content-Type, then use the returned url in emails and the editor.
|
|
138
138
|
|
|
139
139
|
|
|
140
140
|
:param use_case: Library use-case (required)
|
|
@@ -209,7 +209,7 @@ class LibraryApi:
|
|
|
209
209
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
210
210
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
211
211
|
) -> RESTResponseType:
|
|
212
|
-
"""Create an upload slot in the account library. PUT the file to the returned uploadUrl with
|
|
212
|
+
"""Create an upload slot in the account library. contentType must be image/png, image/jpeg, image/gif, or image/webp. PUT the file to the returned uploadUrl with that Content-Type, then use the returned url in emails and the editor.
|
|
213
213
|
|
|
214
214
|
|
|
215
215
|
:param use_case: Library use-case (required)
|