sequenzy 2.1.84 → 2.1.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api/resources/accounts/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/accounts/client/Client.js +1 -1
- package/dist/cjs/api/resources/analytics/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/analytics/client/Client.js +5 -3
- package/dist/cjs/api/resources/analytics/client/requests/ListCampaignPollResponsesLegacyRequest.d.ts +2 -0
- package/dist/cjs/api/resources/analytics/client/requests/ListCampaignPollResponsesRequest.d.ts +2 -0
- package/dist/cjs/api/resources/campaigns/client/Client.js +2 -1
- package/dist/cjs/api/resources/campaigns/client/requests/ListCampaignsRequest.d.ts +2 -0
- package/dist/cjs/api/resources/campaigns/types/ListCampaignsResponsePagination.d.ts +4 -0
- package/dist/cjs/api/resources/inApp/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/inApp/client/Client.js +1 -1
- package/dist/cjs/api/resources/inApp/types/EstimateInAppCampaignRecipientsResponse.d.ts +2 -0
- package/dist/cjs/api/resources/media/client/Client.d.ts +23 -0
- package/dist/cjs/api/resources/media/client/Client.js +90 -0
- package/dist/cjs/api/resources/media/client/requests/CropEmailImageRequest.d.ts +21 -0
- package/dist/cjs/api/resources/media/client/requests/CropEmailImageRequest.js +3 -0
- package/dist/cjs/api/resources/media/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/media/types/CropEmailImageRequestAspectRatio.d.ts +4 -0
- package/dist/cjs/api/resources/media/types/CropEmailImageRequestAspectRatio.js +3 -0
- package/dist/cjs/api/resources/media/types/CropEmailImageRequestCrop.d.ts +9 -0
- package/dist/cjs/api/resources/media/types/CropEmailImageRequestCrop.js +3 -0
- package/dist/cjs/api/resources/media/types/CropEmailImageResponse.d.ts +12 -0
- package/dist/cjs/api/resources/media/types/CropEmailImageResponse.js +3 -0
- package/dist/cjs/api/resources/media/types/CropEmailImageResponseAsset.d.ts +15 -0
- package/dist/cjs/api/resources/media/types/CropEmailImageResponseAsset.js +3 -0
- package/dist/cjs/api/resources/media/types/CropEmailImageResponseCrop.d.ts +11 -0
- package/dist/cjs/api/resources/media/types/CropEmailImageResponseCrop.js +3 -0
- package/dist/cjs/api/resources/media/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/media/types/index.js +5 -0
- package/dist/cjs/api/resources/push/client/requests/SendTestPushRequest.d.ts +2 -0
- package/dist/cjs/api/resources/push/client/requests/TranslatePushContentRequest.d.ts +2 -0
- package/dist/cjs/api/resources/push/types/TranslatePushContentRequestPlatformsItem.d.ts +6 -0
- package/dist/cjs/api/resources/push/types/TranslatePushContentRequestPlatformsItem.js +9 -0
- package/dist/cjs/api/resources/push/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/push/types/index.js +1 -0
- package/dist/cjs/api/resources/segments/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/segments/client/Client.js +1 -1
- package/dist/cjs/api/resources/segments/types/DeleteSegmentsResponse.d.ts +9 -0
- package/dist/cjs/api/resources/segments/types/DeleteSegmentsResponseAffectedAudienceSyncsItem.d.ts +4 -0
- package/dist/cjs/api/resources/segments/types/DeleteSegmentsResponseAffectedAudienceSyncsItem.js +3 -0
- package/dist/cjs/api/resources/segments/types/DeleteSegmentsResponseAffectedCampaignsItem.d.ts +7 -0
- package/dist/cjs/api/resources/segments/types/DeleteSegmentsResponseAffectedCampaignsItem.js +3 -0
- package/dist/cjs/api/resources/segments/types/DeleteSegmentsResponseAffectedSegmentsItem.d.ts +4 -0
- package/dist/cjs/api/resources/segments/types/DeleteSegmentsResponseAffectedSegmentsItem.js +3 -0
- package/dist/cjs/api/resources/segments/types/DeleteSegmentsResponseAffectedSequencesItem.d.ts +8 -0
- package/dist/cjs/api/resources/segments/types/DeleteSegmentsResponseAffectedSequencesItem.js +3 -0
- package/dist/cjs/api/resources/segments/types/DeleteSegmentsResponseAffectedSequencesItemStatus.d.ts +6 -0
- package/dist/cjs/api/resources/segments/types/DeleteSegmentsResponseAffectedSequencesItemStatus.js +9 -0
- package/dist/cjs/api/resources/segments/types/DeleteSegmentsResponseAffectedSequencesItemUsagesItem.d.ts +8 -0
- package/dist/cjs/api/resources/segments/types/DeleteSegmentsResponseAffectedSequencesItemUsagesItem.js +11 -0
- package/dist/cjs/api/resources/segments/types/index.d.ts +6 -0
- package/dist/cjs/api/resources/segments/types/index.js +6 -0
- package/dist/cjs/api/resources/sequences/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/sequences/client/Client.js +4 -3
- package/dist/cjs/api/resources/sequences/client/requests/ListSequencesRequest.d.ts +2 -0
- package/dist/cjs/api/resources/sequences/types/DeleteSequencesResponse.d.ts +5 -0
- package/dist/cjs/api/resources/sequences/types/DeleteSequencesResponse.js +3 -0
- package/dist/cjs/api/resources/sequences/types/ListSequencesResponsePagination.d.ts +4 -0
- package/dist/cjs/api/resources/sequences/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/sequences/types/index.js +1 -0
- package/dist/cjs/api/resources/subscribers/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/subscribers/client/Client.js +3 -3
- package/dist/cjs/api/resources/subscribers/resources/events/types/TriggerBulkEventsResponse.d.ts +3 -0
- package/dist/cjs/api/resources/subscribers/resources/events/types/TriggerEventsResponse.d.ts +3 -0
- package/dist/cjs/api/resources/subscribers/resources/tags/client/Client.d.ts +3 -1
- package/dist/cjs/api/resources/subscribers/resources/tags/client/Client.js +7 -1
- package/dist/cjs/api/resources/subscribers/resources/tags/client/requests/RemoveTagsRequest.d.ts +3 -3
- package/dist/cjs/api/resources/subscribers/resources/tags/types/AddTagsResponse.d.ts +3 -0
- package/dist/cjs/api/resources/subscribers/resources/tags/types/RemoveTagsResponse.d.ts +2 -0
- package/dist/cjs/api/resources/subscribers/resources/tags/types/RemoveTagsResponseSubscriber.d.ts +1 -1
- package/dist/cjs/api/resources/subscribers/types/AddTagsBulkResponse.d.ts +3 -0
- package/dist/cjs/api/resources/subscribers/types/CreateSubscribersResponse.d.ts +3 -0
- package/dist/cjs/api/resources/subscribers/types/ImportEventsSubscribersResponse.d.ts +3 -0
- package/dist/cjs/api/resources/subscribers/types/UpdateByExternalIdSubscribersResponse.d.ts +3 -0
- package/dist/cjs/api/resources/subscribers/types/UpdateSubscribersResponse.d.ts +3 -0
- package/dist/cjs/api/resources/templates/client/Client.js +2 -1
- package/dist/cjs/api/resources/templates/client/requests/ListTemplatesRequest.d.ts +2 -0
- package/dist/cjs/api/resources/templates/types/ListTemplatesResponsePagination.d.ts +4 -0
- package/dist/cjs/api/types/OutboundWebhookEventType.d.ts +1 -0
- package/dist/cjs/api/types/OutboundWebhookEventType.js +1 -0
- package/dist/cjs/api/types/PollResponse.d.ts +6 -0
- package/dist/cjs/api/types/SequenceTriggerWarnings.d.ts +4 -0
- package/dist/cjs/api/types/SequenceTriggerWarnings.js +3 -0
- package/dist/cjs/api/types/SequenceTriggersRan.d.ts +4 -0
- package/dist/cjs/api/types/SequenceTriggersRan.js +3 -0
- package/dist/cjs/api/types/SequenceTriggersSkippedReason.d.ts +7 -0
- package/dist/cjs/api/types/SequenceTriggersSkippedReason.js +10 -0
- package/dist/cjs/api/types/index.d.ts +3 -0
- package/dist/cjs/api/types/index.js +3 -0
- package/dist/cjs/serialization/resources/campaigns/types/ListCampaignsResponsePagination.d.ts +2 -0
- package/dist/cjs/serialization/resources/campaigns/types/ListCampaignsResponsePagination.js +2 -0
- package/dist/cjs/serialization/resources/inApp/types/EstimateInAppCampaignRecipientsResponse.d.ts +1 -0
- package/dist/cjs/serialization/resources/inApp/types/EstimateInAppCampaignRecipientsResponse.js +1 -0
- package/dist/cjs/serialization/resources/media/client/requests/CropEmailImageRequest.d.ts +16 -0
- package/dist/cjs/serialization/resources/media/client/requests/CropEmailImageRequest.js +38 -0
- package/dist/cjs/serialization/resources/media/client/requests/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/media/client/requests/index.js +3 -1
- package/dist/cjs/serialization/resources/media/types/CropEmailImageRequestAspectRatio.d.ts +7 -0
- package/dist/cjs/serialization/resources/media/types/CropEmailImageRequestAspectRatio.js +29 -0
- package/dist/cjs/serialization/resources/media/types/CropEmailImageRequestCrop.d.ts +12 -0
- package/dist/cjs/serialization/resources/media/types/CropEmailImageRequestCrop.js +34 -0
- package/dist/cjs/serialization/resources/media/types/CropEmailImageResponse.d.ts +15 -0
- package/dist/cjs/serialization/resources/media/types/CropEmailImageResponse.js +37 -0
- package/dist/cjs/serialization/resources/media/types/CropEmailImageResponseAsset.d.ts +18 -0
- package/dist/cjs/serialization/resources/media/types/CropEmailImageResponseAsset.js +40 -0
- package/dist/cjs/serialization/resources/media/types/CropEmailImageResponseCrop.d.ts +14 -0
- package/dist/cjs/serialization/resources/media/types/CropEmailImageResponseCrop.js +36 -0
- package/dist/cjs/serialization/resources/media/types/index.d.ts +5 -0
- package/dist/cjs/serialization/resources/media/types/index.js +5 -0
- package/dist/cjs/serialization/resources/push/client/requests/SendTestPushRequest.d.ts +2 -0
- package/dist/cjs/serialization/resources/push/client/requests/SendTestPushRequest.js +2 -0
- package/dist/cjs/serialization/resources/push/client/requests/TranslatePushContentRequest.d.ts +2 -0
- package/dist/cjs/serialization/resources/push/client/requests/TranslatePushContentRequest.js +2 -0
- package/dist/cjs/serialization/resources/push/types/TranslatePushContentRequestPlatformsItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/push/types/TranslatePushContentRequestPlatformsItem.js +29 -0
- package/dist/cjs/serialization/resources/push/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/push/types/index.js +1 -0
- package/dist/cjs/serialization/resources/segments/types/DeleteSegmentsResponse.d.ts +8 -0
- package/dist/cjs/serialization/resources/segments/types/DeleteSegmentsResponse.js +8 -0
- package/dist/cjs/serialization/resources/segments/types/DeleteSegmentsResponseAffectedAudienceSyncsItem.d.ts +10 -0
- package/dist/cjs/serialization/resources/segments/types/DeleteSegmentsResponseAffectedAudienceSyncsItem.js +32 -0
- package/dist/cjs/serialization/resources/segments/types/DeleteSegmentsResponseAffectedCampaignsItem.d.ts +12 -0
- package/dist/cjs/serialization/resources/segments/types/DeleteSegmentsResponseAffectedCampaignsItem.js +34 -0
- package/dist/cjs/serialization/resources/segments/types/DeleteSegmentsResponseAffectedSegmentsItem.d.ts +10 -0
- package/dist/cjs/serialization/resources/segments/types/DeleteSegmentsResponseAffectedSegmentsItem.js +32 -0
- package/dist/cjs/serialization/resources/segments/types/DeleteSegmentsResponseAffectedSequencesItem.d.ts +14 -0
- package/dist/cjs/serialization/resources/segments/types/DeleteSegmentsResponseAffectedSequencesItem.js +36 -0
- package/dist/cjs/serialization/resources/segments/types/DeleteSegmentsResponseAffectedSequencesItemStatus.d.ts +7 -0
- package/dist/cjs/serialization/resources/segments/types/DeleteSegmentsResponseAffectedSequencesItemStatus.js +29 -0
- package/dist/cjs/serialization/resources/segments/types/DeleteSegmentsResponseAffectedSequencesItemUsagesItem.d.ts +7 -0
- package/dist/cjs/serialization/resources/segments/types/DeleteSegmentsResponseAffectedSequencesItemUsagesItem.js +29 -0
- package/dist/cjs/serialization/resources/segments/types/index.d.ts +6 -0
- package/dist/cjs/serialization/resources/segments/types/index.js +6 -0
- package/dist/cjs/serialization/resources/sequences/types/DeleteSequencesResponse.d.ts +10 -0
- package/dist/cjs/serialization/resources/sequences/types/DeleteSequencesResponse.js +34 -0
- package/dist/cjs/serialization/resources/sequences/types/ListSequencesResponsePagination.d.ts +2 -0
- package/dist/cjs/serialization/resources/sequences/types/ListSequencesResponsePagination.js +2 -0
- package/dist/cjs/serialization/resources/sequences/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/sequences/types/index.js +1 -0
- package/dist/cjs/serialization/resources/subscribers/resources/events/types/TriggerBulkEventsResponse.d.ts +6 -0
- package/dist/cjs/serialization/resources/subscribers/resources/events/types/TriggerBulkEventsResponse.js +6 -0
- package/dist/cjs/serialization/resources/subscribers/resources/events/types/TriggerEventsResponse.d.ts +6 -0
- package/dist/cjs/serialization/resources/subscribers/resources/events/types/TriggerEventsResponse.js +6 -0
- package/dist/cjs/serialization/resources/subscribers/resources/tags/types/AddTagsResponse.d.ts +6 -0
- package/dist/cjs/serialization/resources/subscribers/resources/tags/types/AddTagsResponse.js +6 -0
- package/dist/cjs/serialization/resources/subscribers/resources/tags/types/RemoveTagsResponse.d.ts +1 -0
- package/dist/cjs/serialization/resources/subscribers/resources/tags/types/RemoveTagsResponse.js +1 -0
- package/dist/cjs/serialization/resources/subscribers/types/AddTagsBulkResponse.d.ts +6 -0
- package/dist/cjs/serialization/resources/subscribers/types/AddTagsBulkResponse.js +6 -0
- package/dist/cjs/serialization/resources/subscribers/types/CreateSubscribersResponse.d.ts +6 -0
- package/dist/cjs/serialization/resources/subscribers/types/CreateSubscribersResponse.js +6 -0
- package/dist/cjs/serialization/resources/subscribers/types/ImportEventsSubscribersResponse.d.ts +6 -0
- package/dist/cjs/serialization/resources/subscribers/types/ImportEventsSubscribersResponse.js +6 -0
- package/dist/cjs/serialization/resources/subscribers/types/UpdateByExternalIdSubscribersResponse.d.ts +6 -0
- package/dist/cjs/serialization/resources/subscribers/types/UpdateByExternalIdSubscribersResponse.js +6 -0
- package/dist/cjs/serialization/resources/subscribers/types/UpdateSubscribersResponse.d.ts +6 -0
- package/dist/cjs/serialization/resources/subscribers/types/UpdateSubscribersResponse.js +6 -0
- package/dist/cjs/serialization/resources/templates/types/ListTemplatesResponsePagination.d.ts +2 -0
- package/dist/cjs/serialization/resources/templates/types/ListTemplatesResponsePagination.js +2 -0
- package/dist/cjs/serialization/types/OutboundWebhookEventType.d.ts +1 -1
- package/dist/cjs/serialization/types/OutboundWebhookEventType.js +1 -0
- package/dist/cjs/serialization/types/PollResponse.d.ts +3 -0
- package/dist/cjs/serialization/types/PollResponse.js +3 -0
- package/dist/cjs/serialization/types/SequenceTriggerWarnings.d.ts +7 -0
- package/dist/cjs/serialization/types/SequenceTriggerWarnings.js +29 -0
- package/dist/cjs/serialization/types/SequenceTriggersRan.d.ts +7 -0
- package/dist/cjs/serialization/types/SequenceTriggersRan.js +29 -0
- package/dist/cjs/serialization/types/SequenceTriggersSkippedReason.d.ts +7 -0
- package/dist/cjs/serialization/types/SequenceTriggersSkippedReason.js +29 -0
- package/dist/cjs/serialization/types/index.d.ts +3 -0
- package/dist/cjs/serialization/types/index.js +3 -0
- package/dist/esm/api/resources/accounts/client/Client.d.ts +1 -1
- package/dist/esm/api/resources/accounts/client/Client.js +1 -1
- package/dist/esm/api/resources/analytics/client/Client.d.ts +1 -1
- package/dist/esm/api/resources/analytics/client/Client.js +5 -3
- package/dist/esm/api/resources/analytics/client/requests/ListCampaignPollResponsesLegacyRequest.d.ts +2 -0
- package/dist/esm/api/resources/analytics/client/requests/ListCampaignPollResponsesRequest.d.ts +2 -0
- package/dist/esm/api/resources/campaigns/client/Client.js +2 -1
- package/dist/esm/api/resources/campaigns/client/requests/ListCampaignsRequest.d.ts +2 -0
- package/dist/esm/api/resources/campaigns/types/ListCampaignsResponsePagination.d.ts +4 -0
- package/dist/esm/api/resources/inApp/client/Client.d.ts +1 -1
- package/dist/esm/api/resources/inApp/client/Client.js +1 -1
- package/dist/esm/api/resources/inApp/types/EstimateInAppCampaignRecipientsResponse.d.ts +2 -0
- package/dist/esm/api/resources/media/client/Client.d.ts +23 -0
- package/dist/esm/api/resources/media/client/Client.js +90 -0
- package/dist/esm/api/resources/media/client/requests/CropEmailImageRequest.d.ts +21 -0
- package/dist/esm/api/resources/media/client/requests/CropEmailImageRequest.js +2 -0
- package/dist/esm/api/resources/media/client/requests/index.d.ts +1 -0
- package/dist/esm/api/resources/media/types/CropEmailImageRequestAspectRatio.d.ts +4 -0
- package/dist/esm/api/resources/media/types/CropEmailImageRequestAspectRatio.js +2 -0
- package/dist/esm/api/resources/media/types/CropEmailImageRequestCrop.d.ts +9 -0
- package/dist/esm/api/resources/media/types/CropEmailImageRequestCrop.js +2 -0
- package/dist/esm/api/resources/media/types/CropEmailImageResponse.d.ts +12 -0
- package/dist/esm/api/resources/media/types/CropEmailImageResponse.js +2 -0
- package/dist/esm/api/resources/media/types/CropEmailImageResponseAsset.d.ts +15 -0
- package/dist/esm/api/resources/media/types/CropEmailImageResponseAsset.js +2 -0
- package/dist/esm/api/resources/media/types/CropEmailImageResponseCrop.d.ts +11 -0
- package/dist/esm/api/resources/media/types/CropEmailImageResponseCrop.js +2 -0
- package/dist/esm/api/resources/media/types/index.d.ts +5 -0
- package/dist/esm/api/resources/media/types/index.js +5 -0
- package/dist/esm/api/resources/push/client/requests/SendTestPushRequest.d.ts +2 -0
- package/dist/esm/api/resources/push/client/requests/TranslatePushContentRequest.d.ts +2 -0
- package/dist/esm/api/resources/push/types/TranslatePushContentRequestPlatformsItem.d.ts +6 -0
- package/dist/esm/api/resources/push/types/TranslatePushContentRequestPlatformsItem.js +6 -0
- package/dist/esm/api/resources/push/types/index.d.ts +1 -0
- package/dist/esm/api/resources/push/types/index.js +1 -0
- package/dist/esm/api/resources/segments/client/Client.d.ts +1 -1
- package/dist/esm/api/resources/segments/client/Client.js +1 -1
- package/dist/esm/api/resources/segments/types/DeleteSegmentsResponse.d.ts +9 -0
- package/dist/esm/api/resources/segments/types/DeleteSegmentsResponseAffectedAudienceSyncsItem.d.ts +4 -0
- package/dist/esm/api/resources/segments/types/DeleteSegmentsResponseAffectedAudienceSyncsItem.js +2 -0
- package/dist/esm/api/resources/segments/types/DeleteSegmentsResponseAffectedCampaignsItem.d.ts +7 -0
- package/dist/esm/api/resources/segments/types/DeleteSegmentsResponseAffectedCampaignsItem.js +2 -0
- package/dist/esm/api/resources/segments/types/DeleteSegmentsResponseAffectedSegmentsItem.d.ts +4 -0
- package/dist/esm/api/resources/segments/types/DeleteSegmentsResponseAffectedSegmentsItem.js +2 -0
- package/dist/esm/api/resources/segments/types/DeleteSegmentsResponseAffectedSequencesItem.d.ts +8 -0
- package/dist/esm/api/resources/segments/types/DeleteSegmentsResponseAffectedSequencesItem.js +2 -0
- package/dist/esm/api/resources/segments/types/DeleteSegmentsResponseAffectedSequencesItemStatus.d.ts +6 -0
- package/dist/esm/api/resources/segments/types/DeleteSegmentsResponseAffectedSequencesItemStatus.js +6 -0
- package/dist/esm/api/resources/segments/types/DeleteSegmentsResponseAffectedSequencesItemUsagesItem.d.ts +8 -0
- package/dist/esm/api/resources/segments/types/DeleteSegmentsResponseAffectedSequencesItemUsagesItem.js +8 -0
- package/dist/esm/api/resources/segments/types/index.d.ts +6 -0
- package/dist/esm/api/resources/segments/types/index.js +6 -0
- package/dist/esm/api/resources/sequences/client/Client.d.ts +2 -2
- package/dist/esm/api/resources/sequences/client/Client.js +4 -3
- package/dist/esm/api/resources/sequences/client/requests/ListSequencesRequest.d.ts +2 -0
- package/dist/esm/api/resources/sequences/types/DeleteSequencesResponse.d.ts +5 -0
- package/dist/esm/api/resources/sequences/types/DeleteSequencesResponse.js +2 -0
- package/dist/esm/api/resources/sequences/types/ListSequencesResponsePagination.d.ts +4 -0
- package/dist/esm/api/resources/sequences/types/index.d.ts +1 -0
- package/dist/esm/api/resources/sequences/types/index.js +1 -0
- package/dist/esm/api/resources/subscribers/client/Client.d.ts +3 -3
- package/dist/esm/api/resources/subscribers/client/Client.js +3 -3
- package/dist/esm/api/resources/subscribers/resources/events/types/TriggerBulkEventsResponse.d.ts +3 -0
- package/dist/esm/api/resources/subscribers/resources/events/types/TriggerEventsResponse.d.ts +3 -0
- package/dist/esm/api/resources/subscribers/resources/tags/client/Client.d.ts +3 -1
- package/dist/esm/api/resources/subscribers/resources/tags/client/Client.js +7 -1
- package/dist/esm/api/resources/subscribers/resources/tags/client/requests/RemoveTagsRequest.d.ts +3 -3
- package/dist/esm/api/resources/subscribers/resources/tags/types/AddTagsResponse.d.ts +3 -0
- package/dist/esm/api/resources/subscribers/resources/tags/types/RemoveTagsResponse.d.ts +2 -0
- package/dist/esm/api/resources/subscribers/resources/tags/types/RemoveTagsResponseSubscriber.d.ts +1 -1
- package/dist/esm/api/resources/subscribers/types/AddTagsBulkResponse.d.ts +3 -0
- package/dist/esm/api/resources/subscribers/types/CreateSubscribersResponse.d.ts +3 -0
- package/dist/esm/api/resources/subscribers/types/ImportEventsSubscribersResponse.d.ts +3 -0
- package/dist/esm/api/resources/subscribers/types/UpdateByExternalIdSubscribersResponse.d.ts +3 -0
- package/dist/esm/api/resources/subscribers/types/UpdateSubscribersResponse.d.ts +3 -0
- package/dist/esm/api/resources/templates/client/Client.js +2 -1
- package/dist/esm/api/resources/templates/client/requests/ListTemplatesRequest.d.ts +2 -0
- package/dist/esm/api/resources/templates/types/ListTemplatesResponsePagination.d.ts +4 -0
- package/dist/esm/api/types/OutboundWebhookEventType.d.ts +1 -0
- package/dist/esm/api/types/OutboundWebhookEventType.js +1 -0
- package/dist/esm/api/types/PollResponse.d.ts +6 -0
- package/dist/esm/api/types/SequenceTriggerWarnings.d.ts +4 -0
- package/dist/esm/api/types/SequenceTriggerWarnings.js +2 -0
- package/dist/esm/api/types/SequenceTriggersRan.d.ts +4 -0
- package/dist/esm/api/types/SequenceTriggersRan.js +2 -0
- package/dist/esm/api/types/SequenceTriggersSkippedReason.d.ts +7 -0
- package/dist/esm/api/types/SequenceTriggersSkippedReason.js +7 -0
- package/dist/esm/api/types/index.d.ts +3 -0
- package/dist/esm/api/types/index.js +3 -0
- package/dist/esm/serialization/resources/campaigns/types/ListCampaignsResponsePagination.d.ts +2 -0
- package/dist/esm/serialization/resources/campaigns/types/ListCampaignsResponsePagination.js +2 -0
- package/dist/esm/serialization/resources/inApp/types/EstimateInAppCampaignRecipientsResponse.d.ts +1 -0
- package/dist/esm/serialization/resources/inApp/types/EstimateInAppCampaignRecipientsResponse.js +1 -0
- package/dist/esm/serialization/resources/media/client/requests/CropEmailImageRequest.d.ts +16 -0
- package/dist/esm/serialization/resources/media/client/requests/CropEmailImageRequest.js +12 -0
- package/dist/esm/serialization/resources/media/client/requests/index.d.ts +1 -0
- package/dist/esm/serialization/resources/media/client/requests/index.js +1 -0
- package/dist/esm/serialization/resources/media/types/CropEmailImageRequestAspectRatio.d.ts +7 -0
- package/dist/esm/serialization/resources/media/types/CropEmailImageRequestAspectRatio.js +3 -0
- package/dist/esm/serialization/resources/media/types/CropEmailImageRequestCrop.d.ts +12 -0
- package/dist/esm/serialization/resources/media/types/CropEmailImageRequestCrop.js +8 -0
- package/dist/esm/serialization/resources/media/types/CropEmailImageResponse.d.ts +15 -0
- package/dist/esm/serialization/resources/media/types/CropEmailImageResponse.js +11 -0
- package/dist/esm/serialization/resources/media/types/CropEmailImageResponseAsset.d.ts +18 -0
- package/dist/esm/serialization/resources/media/types/CropEmailImageResponseAsset.js +14 -0
- package/dist/esm/serialization/resources/media/types/CropEmailImageResponseCrop.d.ts +14 -0
- package/dist/esm/serialization/resources/media/types/CropEmailImageResponseCrop.js +10 -0
- package/dist/esm/serialization/resources/media/types/index.d.ts +5 -0
- package/dist/esm/serialization/resources/media/types/index.js +5 -0
- package/dist/esm/serialization/resources/push/client/requests/SendTestPushRequest.d.ts +2 -0
- package/dist/esm/serialization/resources/push/client/requests/SendTestPushRequest.js +2 -0
- package/dist/esm/serialization/resources/push/client/requests/TranslatePushContentRequest.d.ts +2 -0
- package/dist/esm/serialization/resources/push/client/requests/TranslatePushContentRequest.js +2 -0
- package/dist/esm/serialization/resources/push/types/TranslatePushContentRequestPlatformsItem.d.ts +7 -0
- package/dist/esm/serialization/resources/push/types/TranslatePushContentRequestPlatformsItem.js +3 -0
- package/dist/esm/serialization/resources/push/types/index.d.ts +1 -0
- package/dist/esm/serialization/resources/push/types/index.js +1 -0
- package/dist/esm/serialization/resources/segments/types/DeleteSegmentsResponse.d.ts +8 -0
- package/dist/esm/serialization/resources/segments/types/DeleteSegmentsResponse.js +8 -0
- package/dist/esm/serialization/resources/segments/types/DeleteSegmentsResponseAffectedAudienceSyncsItem.d.ts +10 -0
- package/dist/esm/serialization/resources/segments/types/DeleteSegmentsResponseAffectedAudienceSyncsItem.js +6 -0
- package/dist/esm/serialization/resources/segments/types/DeleteSegmentsResponseAffectedCampaignsItem.d.ts +12 -0
- package/dist/esm/serialization/resources/segments/types/DeleteSegmentsResponseAffectedCampaignsItem.js +8 -0
- package/dist/esm/serialization/resources/segments/types/DeleteSegmentsResponseAffectedSegmentsItem.d.ts +10 -0
- package/dist/esm/serialization/resources/segments/types/DeleteSegmentsResponseAffectedSegmentsItem.js +6 -0
- package/dist/esm/serialization/resources/segments/types/DeleteSegmentsResponseAffectedSequencesItem.d.ts +14 -0
- package/dist/esm/serialization/resources/segments/types/DeleteSegmentsResponseAffectedSequencesItem.js +10 -0
- package/dist/esm/serialization/resources/segments/types/DeleteSegmentsResponseAffectedSequencesItemStatus.d.ts +7 -0
- package/dist/esm/serialization/resources/segments/types/DeleteSegmentsResponseAffectedSequencesItemStatus.js +3 -0
- package/dist/esm/serialization/resources/segments/types/DeleteSegmentsResponseAffectedSequencesItemUsagesItem.d.ts +7 -0
- package/dist/esm/serialization/resources/segments/types/DeleteSegmentsResponseAffectedSequencesItemUsagesItem.js +3 -0
- package/dist/esm/serialization/resources/segments/types/index.d.ts +6 -0
- package/dist/esm/serialization/resources/segments/types/index.js +6 -0
- package/dist/esm/serialization/resources/sequences/types/DeleteSequencesResponse.d.ts +10 -0
- package/dist/esm/serialization/resources/sequences/types/DeleteSequencesResponse.js +8 -0
- package/dist/esm/serialization/resources/sequences/types/ListSequencesResponsePagination.d.ts +2 -0
- package/dist/esm/serialization/resources/sequences/types/ListSequencesResponsePagination.js +2 -0
- package/dist/esm/serialization/resources/sequences/types/index.d.ts +1 -0
- package/dist/esm/serialization/resources/sequences/types/index.js +1 -0
- package/dist/esm/serialization/resources/subscribers/resources/events/types/TriggerBulkEventsResponse.d.ts +6 -0
- package/dist/esm/serialization/resources/subscribers/resources/events/types/TriggerBulkEventsResponse.js +6 -0
- package/dist/esm/serialization/resources/subscribers/resources/events/types/TriggerEventsResponse.d.ts +6 -0
- package/dist/esm/serialization/resources/subscribers/resources/events/types/TriggerEventsResponse.js +6 -0
- package/dist/esm/serialization/resources/subscribers/resources/tags/types/AddTagsResponse.d.ts +6 -0
- package/dist/esm/serialization/resources/subscribers/resources/tags/types/AddTagsResponse.js +6 -0
- package/dist/esm/serialization/resources/subscribers/resources/tags/types/RemoveTagsResponse.d.ts +1 -0
- package/dist/esm/serialization/resources/subscribers/resources/tags/types/RemoveTagsResponse.js +1 -0
- package/dist/esm/serialization/resources/subscribers/types/AddTagsBulkResponse.d.ts +6 -0
- package/dist/esm/serialization/resources/subscribers/types/AddTagsBulkResponse.js +6 -0
- package/dist/esm/serialization/resources/subscribers/types/CreateSubscribersResponse.d.ts +6 -0
- package/dist/esm/serialization/resources/subscribers/types/CreateSubscribersResponse.js +6 -0
- package/dist/esm/serialization/resources/subscribers/types/ImportEventsSubscribersResponse.d.ts +6 -0
- package/dist/esm/serialization/resources/subscribers/types/ImportEventsSubscribersResponse.js +6 -0
- package/dist/esm/serialization/resources/subscribers/types/UpdateByExternalIdSubscribersResponse.d.ts +6 -0
- package/dist/esm/serialization/resources/subscribers/types/UpdateByExternalIdSubscribersResponse.js +6 -0
- package/dist/esm/serialization/resources/subscribers/types/UpdateSubscribersResponse.d.ts +6 -0
- package/dist/esm/serialization/resources/subscribers/types/UpdateSubscribersResponse.js +6 -0
- package/dist/esm/serialization/resources/templates/types/ListTemplatesResponsePagination.d.ts +2 -0
- package/dist/esm/serialization/resources/templates/types/ListTemplatesResponsePagination.js +2 -0
- package/dist/esm/serialization/types/OutboundWebhookEventType.d.ts +1 -1
- package/dist/esm/serialization/types/OutboundWebhookEventType.js +1 -0
- package/dist/esm/serialization/types/PollResponse.d.ts +3 -0
- package/dist/esm/serialization/types/PollResponse.js +3 -0
- package/dist/esm/serialization/types/SequenceTriggerWarnings.d.ts +7 -0
- package/dist/esm/serialization/types/SequenceTriggerWarnings.js +3 -0
- package/dist/esm/serialization/types/SequenceTriggersRan.d.ts +7 -0
- package/dist/esm/serialization/types/SequenceTriggersRan.js +3 -0
- package/dist/esm/serialization/types/SequenceTriggersSkippedReason.d.ts +7 -0
- package/dist/esm/serialization/types/SequenceTriggersSkippedReason.js +3 -0
- package/dist/esm/serialization/types/index.d.ts +3 -0
- package/dist/esm/serialization/types/index.js +3 -0
- package/package.json +1 -1
|
@@ -9,6 +9,9 @@ export declare namespace PollResponse {
|
|
|
9
9
|
answers?: string[] | null;
|
|
10
10
|
attributeKey?: (string | null | undefined) | null;
|
|
11
11
|
blockId?: string | null;
|
|
12
|
+
comment?: (string | null | undefined) | null;
|
|
13
|
+
commentAnswer?: (string | null | undefined) | null;
|
|
14
|
+
commentedAt?: (string | null | undefined) | null;
|
|
12
15
|
email?: (string | null | undefined) | null;
|
|
13
16
|
externalId?: (string | null | undefined) | null;
|
|
14
17
|
firstName?: (string | null | undefined) | null;
|
|
@@ -32,6 +32,9 @@ exports.PollResponse = core.serialization.object({
|
|
|
32
32
|
answers: core.serialization.list(core.serialization.string()).optional(),
|
|
33
33
|
attributeKey: core.serialization.string().optionalNullable(),
|
|
34
34
|
blockId: core.serialization.string().optional(),
|
|
35
|
+
comment: core.serialization.string().optionalNullable(),
|
|
36
|
+
commentAnswer: core.serialization.string().optionalNullable(),
|
|
37
|
+
commentedAt: core.serialization.date().optionalNullable(),
|
|
35
38
|
email: core.serialization.string().optionalNullable(),
|
|
36
39
|
externalId: core.serialization.string().optionalNullable(),
|
|
37
40
|
firstName: core.serialization.string().optionalNullable(),
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Sequenzy from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
export declare const SequenceTriggerWarnings: core.serialization.Schema<serializers.SequenceTriggerWarnings.Raw, Sequenzy.SequenceTriggerWarnings>;
|
|
5
|
+
export declare namespace SequenceTriggerWarnings {
|
|
6
|
+
type Raw = string[];
|
|
7
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
20
|
+
if (mod && mod.__esModule) return mod;
|
|
21
|
+
var result = {};
|
|
22
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
23
|
+
__setModuleDefault(result, mod);
|
|
24
|
+
return result;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.SequenceTriggerWarnings = void 0;
|
|
28
|
+
const core = __importStar(require("../../core/index.js"));
|
|
29
|
+
exports.SequenceTriggerWarnings = core.serialization.list(core.serialization.string());
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Sequenzy from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
export declare const SequenceTriggersRan: core.serialization.Schema<serializers.SequenceTriggersRan.Raw, Sequenzy.SequenceTriggersRan>;
|
|
5
|
+
export declare namespace SequenceTriggersRan {
|
|
6
|
+
type Raw = boolean;
|
|
7
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
20
|
+
if (mod && mod.__esModule) return mod;
|
|
21
|
+
var result = {};
|
|
22
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
23
|
+
__setModuleDefault(result, mod);
|
|
24
|
+
return result;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.SequenceTriggersRan = void 0;
|
|
28
|
+
const core = __importStar(require("../../core/index.js"));
|
|
29
|
+
exports.SequenceTriggersRan = core.serialization.boolean();
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Sequenzy from "../../api/index.js";
|
|
2
|
+
import * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
export declare const SequenceTriggersSkippedReason: core.serialization.Schema<serializers.SequenceTriggersSkippedReason.Raw, Sequenzy.SequenceTriggersSkippedReason>;
|
|
5
|
+
export declare namespace SequenceTriggersSkippedReason {
|
|
6
|
+
type Raw = "missing_scope" | "not_requested" | "historical";
|
|
7
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
20
|
+
if (mod && mod.__esModule) return mod;
|
|
21
|
+
var result = {};
|
|
22
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
23
|
+
__setModuleDefault(result, mod);
|
|
24
|
+
return result;
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.SequenceTriggersSkippedReason = void 0;
|
|
28
|
+
const core = __importStar(require("../../core/index.js"));
|
|
29
|
+
exports.SequenceTriggersSkippedReason = core.serialization.enum_(["missing_scope", "not_requested", "historical"]);
|
|
@@ -855,7 +855,10 @@ export * from "./SequenceTriggerPropertyFilter.js";
|
|
|
855
855
|
export * from "./SequenceTriggerPropertyFilterOperator.js";
|
|
856
856
|
export * from "./SequenceTriggerPropertyFilterValue.js";
|
|
857
857
|
export * from "./SequenceTriggerPropertyFilterValueThreeItem.js";
|
|
858
|
+
export * from "./SequenceTriggersRan.js";
|
|
859
|
+
export * from "./SequenceTriggersSkippedReason.js";
|
|
858
860
|
export * from "./SequenceTriggerType.js";
|
|
861
|
+
export * from "./SequenceTriggerWarnings.js";
|
|
859
862
|
export * from "./SequenceWaitUntilInput.js";
|
|
860
863
|
export * from "./SequenceWaitUntilInputDirection.js";
|
|
861
864
|
export * from "./SequenceWaitUntilInputMissingAction.js";
|
|
@@ -871,7 +871,10 @@ __exportStar(require("./SequenceTriggerPropertyFilter.js"), exports);
|
|
|
871
871
|
__exportStar(require("./SequenceTriggerPropertyFilterOperator.js"), exports);
|
|
872
872
|
__exportStar(require("./SequenceTriggerPropertyFilterValue.js"), exports);
|
|
873
873
|
__exportStar(require("./SequenceTriggerPropertyFilterValueThreeItem.js"), exports);
|
|
874
|
+
__exportStar(require("./SequenceTriggersRan.js"), exports);
|
|
875
|
+
__exportStar(require("./SequenceTriggersSkippedReason.js"), exports);
|
|
874
876
|
__exportStar(require("./SequenceTriggerType.js"), exports);
|
|
877
|
+
__exportStar(require("./SequenceTriggerWarnings.js"), exports);
|
|
875
878
|
__exportStar(require("./SequenceWaitUntilInput.js"), exports);
|
|
876
879
|
__exportStar(require("./SequenceWaitUntilInputDirection.js"), exports);
|
|
877
880
|
__exportStar(require("./SequenceWaitUntilInputMissingAction.js"), exports);
|
|
@@ -74,7 +74,7 @@ export declare class AccountsClient {
|
|
|
74
74
|
createFromOrganizationId(request: Sequenzy.AccountOrganizationIdKey, requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<Sequenzy.CreateFromOrganizationIdAccountsResponse>;
|
|
75
75
|
private __createFromOrganizationId;
|
|
76
76
|
/**
|
|
77
|
-
* Deletes
|
|
77
|
+
* Deletes one customer organization (a B2B account your contacts belong to, shown under Subscribers > Organizations) and its memberships. Contacts are kept; their `organization.*` attributes (and the older `account.*` alias) are cleared or replaced by another organization they belong to. Never deletes your Sequenzy account, workspace, login or API keys.
|
|
78
78
|
*
|
|
79
79
|
* @param {Sequenzy.DeleteAccountsRequest} request
|
|
80
80
|
* @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -242,7 +242,7 @@ export class AccountsClient {
|
|
|
242
242
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/account-suggestions/organization-ids");
|
|
243
243
|
}
|
|
244
244
|
/**
|
|
245
|
-
* Deletes
|
|
245
|
+
* Deletes one customer organization (a B2B account your contacts belong to, shown under Subscribers > Organizations) and its memberships. Contacts are kept; their `organization.*` attributes (and the older `account.*` alias) are cleared or replaced by another organization they belong to. Never deletes your Sequenzy account, workspace, login or API keys.
|
|
246
246
|
*
|
|
247
247
|
* @param {Sequenzy.DeleteAccountsRequest} request
|
|
248
248
|
* @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -258,7 +258,7 @@ export declare class AnalyticsClient {
|
|
|
258
258
|
listCampaignEvents(request: Sequenzy.ListCampaignEventsRequest, requestOptions?: AnalyticsClient.RequestOptions): core.HttpResponsePromise<Sequenzy.ListCampaignEventsResponse>;
|
|
259
259
|
private __listCampaignEvents;
|
|
260
260
|
/**
|
|
261
|
-
* Returns one row per respondent per Poll or NPS block in a campaign, newest answer first, with the answer, its stored value, the subscriber attribute the answer was saved to, and the response time. Only each subscriber's latest answer per block is returned, so counts match the `polls` summaries from the campaign metrics endpoint. Multi-select answers list every selected option in `answers` and `values`. For a sequence email step, pass the step's automation node ID as `campaignId`. Also available at `GET /campaigns/{campaignId}/poll-responses`.
|
|
261
|
+
* Returns one row per respondent per Poll or NPS block in a campaign, newest answer first, with the answer, its stored value, the subscriber attribute the answer was saved to, and the response time. Only each subscriber's latest answer per block is returned, so counts match the `polls` summaries from the campaign metrics endpoint. Multi-select answers list every selected option in `answers` and `values`. Each row also carries the respondent's latest comment from the poll's confirmation page; pass `hasComment=true` to list only respondents who commented, newest comment first. For a sequence email step, pass the step's automation node ID as `campaignId`. Also available at `GET /campaigns/{campaignId}/poll-responses`.
|
|
262
262
|
*
|
|
263
263
|
* @param {Sequenzy.ListCampaignPollResponsesRequest} request
|
|
264
264
|
* @param {AnalyticsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -1162,7 +1162,7 @@ export class AnalyticsClient {
|
|
|
1162
1162
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/metrics/campaigns/{campaignId}/events");
|
|
1163
1163
|
}
|
|
1164
1164
|
/**
|
|
1165
|
-
* Returns one row per respondent per Poll or NPS block in a campaign, newest answer first, with the answer, its stored value, the subscriber attribute the answer was saved to, and the response time. Only each subscriber's latest answer per block is returned, so counts match the `polls` summaries from the campaign metrics endpoint. Multi-select answers list every selected option in `answers` and `values`. For a sequence email step, pass the step's automation node ID as `campaignId`. Also available at `GET /campaigns/{campaignId}/poll-responses`.
|
|
1165
|
+
* Returns one row per respondent per Poll or NPS block in a campaign, newest answer first, with the answer, its stored value, the subscriber attribute the answer was saved to, and the response time. Only each subscriber's latest answer per block is returned, so counts match the `polls` summaries from the campaign metrics endpoint. Multi-select answers list every selected option in `answers` and `values`. Each row also carries the respondent's latest comment from the poll's confirmation page; pass `hasComment=true` to list only respondents who commented, newest comment first. For a sequence email step, pass the step's automation node ID as `campaignId`. Also available at `GET /campaigns/{campaignId}/poll-responses`.
|
|
1166
1166
|
*
|
|
1167
1167
|
* @param {Sequenzy.ListCampaignPollResponsesRequest} request
|
|
1168
1168
|
* @param {AnalyticsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -1183,9 +1183,10 @@ export class AnalyticsClient {
|
|
|
1183
1183
|
return core.HttpResponsePromise.fromPromise(this.__listCampaignPollResponses(request, requestOptions));
|
|
1184
1184
|
}
|
|
1185
1185
|
async __listCampaignPollResponses(request, requestOptions) {
|
|
1186
|
-
const { campaignId, blockId, limit, page } = request;
|
|
1186
|
+
const { campaignId, blockId, hasComment, limit, page } = request;
|
|
1187
1187
|
const _queryParams = {
|
|
1188
1188
|
blockId,
|
|
1189
|
+
hasComment,
|
|
1189
1190
|
limit,
|
|
1190
1191
|
page,
|
|
1191
1192
|
};
|
|
@@ -1262,9 +1263,10 @@ export class AnalyticsClient {
|
|
|
1262
1263
|
return core.HttpResponsePromise.fromPromise(this.__listCampaignPollResponsesLegacy(request, requestOptions));
|
|
1263
1264
|
}
|
|
1264
1265
|
async __listCampaignPollResponsesLegacy(request, requestOptions) {
|
|
1265
|
-
const { campaignId, blockId, limit, page } = request;
|
|
1266
|
+
const { campaignId, blockId, hasComment, limit, page } = request;
|
|
1266
1267
|
const _queryParams = {
|
|
1267
1268
|
blockId,
|
|
1269
|
+
hasComment,
|
|
1268
1270
|
limit,
|
|
1269
1271
|
page,
|
|
1270
1272
|
};
|
package/dist/esm/api/resources/analytics/client/requests/ListCampaignPollResponsesLegacyRequest.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export interface ListCampaignPollResponsesLegacyRequest {
|
|
|
9
9
|
campaignId: string;
|
|
10
10
|
/** Restrict results to one poll block. */
|
|
11
11
|
blockId?: string;
|
|
12
|
+
/** Pass `true` to list only respondents who left a comment, newest comment first. */
|
|
13
|
+
hasComment?: boolean;
|
|
12
14
|
/** Responses per page (max 500) */
|
|
13
15
|
limit?: number;
|
|
14
16
|
/** Page number */
|
package/dist/esm/api/resources/analytics/client/requests/ListCampaignPollResponsesRequest.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export interface ListCampaignPollResponsesRequest {
|
|
|
9
9
|
campaignId: string;
|
|
10
10
|
/** Restrict results to one poll block. Block IDs come from the `polls` array of the campaign metrics endpoint. */
|
|
11
11
|
blockId?: string;
|
|
12
|
+
/** Pass `true` to list only respondents who left a comment, newest comment first. */
|
|
13
|
+
hasComment?: boolean;
|
|
12
14
|
/** Responses per page (max 500) */
|
|
13
15
|
limit?: number;
|
|
14
16
|
/** Page number */
|
|
@@ -1299,11 +1299,12 @@ export class CampaignsClient {
|
|
|
1299
1299
|
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
1300
1300
|
}
|
|
1301
1301
|
async __list(request = {}, requestOptions) {
|
|
1302
|
-
const { label, limit, offset, status } = request;
|
|
1302
|
+
const { label, limit, offset, page, status } = request;
|
|
1303
1303
|
const _queryParams = {
|
|
1304
1304
|
label,
|
|
1305
1305
|
limit,
|
|
1306
1306
|
offset,
|
|
1307
|
+
page,
|
|
1307
1308
|
status: status != null
|
|
1308
1309
|
? serializers.ListCampaignsRequestStatus.jsonOrThrow(status, {
|
|
1309
1310
|
unrecognizedObjectKeys: "strip",
|
|
@@ -10,6 +10,8 @@ export interface ListCampaignsRequest {
|
|
|
10
10
|
limit?: number;
|
|
11
11
|
/** Optional zero-based row offset. */
|
|
12
12
|
offset?: number;
|
|
13
|
+
/** Optional 1-based page number, used when offset is absent: page=N starts at row (N - 1) * limit. An explicit offset takes precedence; a malformed page is ignored. */
|
|
14
|
+
page?: number;
|
|
13
15
|
/** Optional campaign status filter. */
|
|
14
16
|
status?: Sequenzy.ListCampaignsRequestStatus;
|
|
15
17
|
}
|
|
@@ -114,7 +114,7 @@ export declare class InAppClient {
|
|
|
114
114
|
duplicateInAppCampaign(request: Sequenzy.DuplicateInAppCampaignRequest, requestOptions?: InAppClient.RequestOptions): core.HttpResponsePromise<Sequenzy.DuplicateInAppCampaignResponse>;
|
|
115
115
|
private __duplicateInAppCampaign;
|
|
116
116
|
/**
|
|
117
|
-
* Counts the contacts who match an audience now. Contacts who join the audience while the campaign is live get it too. Requires the campaigns:read scope.
|
|
117
|
+
* Counts the contacts who match an audience now, and how many of them are known to have your app connected. Contacts who join the audience while the campaign is live get it too. Requires the campaigns:read scope.
|
|
118
118
|
*
|
|
119
119
|
* @param {Sequenzy.EstimateInAppCampaignRecipientsRequest} request
|
|
120
120
|
* @param {InAppClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -386,7 +386,7 @@ export class InAppClient {
|
|
|
386
386
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/in-app/campaigns/{campaignId}/duplicate");
|
|
387
387
|
}
|
|
388
388
|
/**
|
|
389
|
-
* Counts the contacts who match an audience now. Contacts who join the audience while the campaign is live get it too. Requires the campaigns:read scope.
|
|
389
|
+
* Counts the contacts who match an audience now, and how many of them are known to have your app connected. Contacts who join the audience while the campaign is live get it too. Requires the campaigns:read scope.
|
|
390
390
|
*
|
|
391
391
|
* @param {Sequenzy.EstimateInAppCampaignRecipientsRequest} request
|
|
392
392
|
* @param {InAppClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export interface EstimateInAppCampaignRecipientsResponse {
|
|
2
|
+
/** Contacts in the audience known to have your app connected, from an active iOS or Android device or an in-app message their app displayed. A lower bound; everyone in the audience gets the campaign the next time their app fetches the feed. */
|
|
3
|
+
appUserCount?: number;
|
|
2
4
|
audienceCount?: number;
|
|
3
5
|
success?: boolean;
|
|
4
6
|
}
|
|
@@ -55,6 +55,29 @@ export declare class MediaClient {
|
|
|
55
55
|
*/
|
|
56
56
|
createEmailImageUploadUrl(request: Sequenzy.CreateEmailImageUploadUrlRequest, requestOptions?: MediaClient.RequestOptions): core.HttpResponsePromise<Sequenzy.CreateEmailImageUploadUrlResponse>;
|
|
57
57
|
private __createEmailImageUploadUrl;
|
|
58
|
+
/**
|
|
59
|
+
* Crops a media-library image, or a Pexels or Unsplash photo, into a new hosted image in the company's media library. The crop is baked into the file, so every email client shows exactly the selected area. Pass either crop or aspectRatio. The original is kept. Requests are idempotent: the same source and pixel area return the same asset. Requires emails:write.
|
|
60
|
+
*
|
|
61
|
+
* @param {Sequenzy.CropEmailImageRequest} request
|
|
62
|
+
* @param {MediaClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link Sequenzy.BadRequestError}
|
|
65
|
+
* @throws {@link Sequenzy.UnauthorizedError}
|
|
66
|
+
* @throws {@link Sequenzy.ForbiddenError}
|
|
67
|
+
* @throws {@link Sequenzy.NotFoundError}
|
|
68
|
+
* @throws {@link Sequenzy.ContentTooLargeError}
|
|
69
|
+
* @throws {@link Sequenzy.UnprocessableEntityError}
|
|
70
|
+
* @throws {@link Sequenzy.ServiceUnavailableError}
|
|
71
|
+
* @throws {@link errors.SequenzyError}
|
|
72
|
+
* @throws {@link errors.SequenzyTimeoutError}
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* await client.media.cropEmailImage({
|
|
76
|
+
* sourceUrl: "sourceUrl"
|
|
77
|
+
* })
|
|
78
|
+
*/
|
|
79
|
+
cropEmailImage(request: Sequenzy.CropEmailImageRequest, requestOptions?: MediaClient.RequestOptions): core.HttpResponsePromise<Sequenzy.CropEmailImageResponse>;
|
|
80
|
+
private __cropEmailImage;
|
|
58
81
|
/**
|
|
59
82
|
* Uploads the exact bytes to the authenticated URL returned by POST /media/upload-url. The server enforces the requested size, verifies the file signature, and creates the public object only once.
|
|
60
83
|
*
|
|
@@ -165,6 +165,96 @@ export class MediaClient {
|
|
|
165
165
|
}
|
|
166
166
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/media/upload-url");
|
|
167
167
|
}
|
|
168
|
+
/**
|
|
169
|
+
* Crops a media-library image, or a Pexels or Unsplash photo, into a new hosted image in the company's media library. The crop is baked into the file, so every email client shows exactly the selected area. Pass either crop or aspectRatio. The original is kept. Requests are idempotent: the same source and pixel area return the same asset. Requires emails:write.
|
|
170
|
+
*
|
|
171
|
+
* @param {Sequenzy.CropEmailImageRequest} request
|
|
172
|
+
* @param {MediaClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
173
|
+
*
|
|
174
|
+
* @throws {@link Sequenzy.BadRequestError}
|
|
175
|
+
* @throws {@link Sequenzy.UnauthorizedError}
|
|
176
|
+
* @throws {@link Sequenzy.ForbiddenError}
|
|
177
|
+
* @throws {@link Sequenzy.NotFoundError}
|
|
178
|
+
* @throws {@link Sequenzy.ContentTooLargeError}
|
|
179
|
+
* @throws {@link Sequenzy.UnprocessableEntityError}
|
|
180
|
+
* @throws {@link Sequenzy.ServiceUnavailableError}
|
|
181
|
+
* @throws {@link errors.SequenzyError}
|
|
182
|
+
* @throws {@link errors.SequenzyTimeoutError}
|
|
183
|
+
*
|
|
184
|
+
* @example
|
|
185
|
+
* await client.media.cropEmailImage({
|
|
186
|
+
* sourceUrl: "sourceUrl"
|
|
187
|
+
* })
|
|
188
|
+
*/
|
|
189
|
+
cropEmailImage(request, requestOptions) {
|
|
190
|
+
return core.HttpResponsePromise.fromPromise(this.__cropEmailImage(request, requestOptions));
|
|
191
|
+
}
|
|
192
|
+
async __cropEmailImage(request, requestOptions) {
|
|
193
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
194
|
+
const _headers = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
195
|
+
const _response = await core.fetcher({
|
|
196
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
197
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
198
|
+
environments.SequenzyEnvironment.Default, "media/crop"),
|
|
199
|
+
method: "POST",
|
|
200
|
+
headers: _headers,
|
|
201
|
+
contentType: "application/json",
|
|
202
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
203
|
+
requestType: "json",
|
|
204
|
+
body: mergeAdditionalBodyParameters(serializers.CropEmailImageRequest.jsonOrThrow(request, {
|
|
205
|
+
unrecognizedObjectKeys: "strip",
|
|
206
|
+
omitUndefined: true,
|
|
207
|
+
}), requestOptions?.additionalBodyParameters),
|
|
208
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
209
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
210
|
+
abortSignal: requestOptions?.abortSignal,
|
|
211
|
+
fetchFn: this._options?.fetch,
|
|
212
|
+
logging: this._options.logging,
|
|
213
|
+
});
|
|
214
|
+
if (_response.ok) {
|
|
215
|
+
return {
|
|
216
|
+
data: serializers.CropEmailImageResponse.parseOrThrow(_response.body, {
|
|
217
|
+
unrecognizedObjectKeys: "passthrough",
|
|
218
|
+
allowUnrecognizedUnionMembers: true,
|
|
219
|
+
allowUnrecognizedEnumValues: true,
|
|
220
|
+
skipValidation: true,
|
|
221
|
+
breadcrumbsPrefix: ["response"],
|
|
222
|
+
}),
|
|
223
|
+
rawResponse: _response.rawResponse,
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
if (_response.error.reason === "status-code") {
|
|
227
|
+
switch (_response.error.statusCode) {
|
|
228
|
+
case 400:
|
|
229
|
+
throw new Sequenzy.BadRequestError(_response.error.body, _response.rawResponse);
|
|
230
|
+
case 401:
|
|
231
|
+
throw new Sequenzy.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
232
|
+
case 403:
|
|
233
|
+
throw new Sequenzy.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
234
|
+
case 404:
|
|
235
|
+
throw new Sequenzy.NotFoundError(_response.error.body, _response.rawResponse);
|
|
236
|
+
case 413:
|
|
237
|
+
throw new Sequenzy.ContentTooLargeError(serializers.Error_.parseOrThrow(_response.error.body, {
|
|
238
|
+
unrecognizedObjectKeys: "passthrough",
|
|
239
|
+
allowUnrecognizedUnionMembers: true,
|
|
240
|
+
allowUnrecognizedEnumValues: true,
|
|
241
|
+
skipValidation: true,
|
|
242
|
+
breadcrumbsPrefix: ["response"],
|
|
243
|
+
}), _response.rawResponse);
|
|
244
|
+
case 422:
|
|
245
|
+
throw new Sequenzy.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
246
|
+
case 503:
|
|
247
|
+
throw new Sequenzy.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
248
|
+
default:
|
|
249
|
+
throw new errors.SequenzyError({
|
|
250
|
+
statusCode: _response.error.statusCode,
|
|
251
|
+
body: _response.error.body,
|
|
252
|
+
rawResponse: _response.rawResponse,
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/media/crop");
|
|
257
|
+
}
|
|
168
258
|
/**
|
|
169
259
|
* Uploads the exact bytes to the authenticated URL returned by POST /media/upload-url. The server enforces the requested size, verifies the file signature, and creates the public object only once.
|
|
170
260
|
*
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type * as Sequenzy from "../../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* sourceUrl: "sourceUrl"
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface CropEmailImageRequest {
|
|
9
|
+
/** Stored on the new asset; longer text is cut at 500 characters. Defaults to the generated file name. A repeated crop keeps the first request's alt text. */
|
|
10
|
+
altText?: string;
|
|
11
|
+
/** Width / height as a number or "W:H" string, between 1:10 and 10:1. Crops the largest area of that shape. Mutually exclusive with crop. */
|
|
12
|
+
aspectRatio?: Sequenzy.CropEmailImageRequestAspectRatio;
|
|
13
|
+
/** Area to keep, as fractions of the upright (EXIF-oriented) image. Must stay inside the image. Mutually exclusive with aspectRatio. */
|
|
14
|
+
crop?: Sequenzy.CropEmailImageRequestCrop;
|
|
15
|
+
/** With aspectRatio only. Horizontal center of the crop. Defaults to 0.5. */
|
|
16
|
+
focusX?: number;
|
|
17
|
+
/** With aspectRatio only. Vertical center of the crop. Defaults to 0.5. */
|
|
18
|
+
focusY?: number;
|
|
19
|
+
/** Hosted URL of the original image: a media-library URL or a Pexels/Unsplash photo. Merge tags and other hosts are rejected. */
|
|
20
|
+
sourceUrl: string;
|
|
21
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export type { CompleteEmailImageUploadRequest } from "./CompleteEmailImageUploadRequest.js";
|
|
2
2
|
export type { CreateEmailImageUploadUrlRequest } from "./CreateEmailImageUploadUrlRequest.js";
|
|
3
|
+
export type { CropEmailImageRequest } from "./CropEmailImageRequest.js";
|
|
3
4
|
export type { UploadEmailImageBytesRequest } from "./UploadEmailImageBytesRequest.js";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Sequenzy from "../../../index.js";
|
|
2
|
+
export interface CropEmailImageResponse {
|
|
3
|
+
/** The new media-library asset holding the cropped image. */
|
|
4
|
+
asset?: Sequenzy.CropEmailImageResponseAsset;
|
|
5
|
+
/** Crop record to store on the image block next to src, so the editor can re-open or undo the crop. x, y, width and height are snapped to whole source pixels. */
|
|
6
|
+
crop?: Sequenzy.CropEmailImageResponseCrop;
|
|
7
|
+
/** Upright height of the original in pixels. */
|
|
8
|
+
sourceHeight?: number;
|
|
9
|
+
/** Upright width of the original in pixels. */
|
|
10
|
+
sourceWidth?: number;
|
|
11
|
+
success?: boolean;
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The new media-library asset holding the cropped image.
|
|
3
|
+
*/
|
|
4
|
+
export interface CropEmailImageResponseAsset {
|
|
5
|
+
altText?: string | null;
|
|
6
|
+
companyId?: string;
|
|
7
|
+
createdAt?: Date;
|
|
8
|
+
filename?: string;
|
|
9
|
+
height?: string | null;
|
|
10
|
+
id?: string;
|
|
11
|
+
mimeType?: string;
|
|
12
|
+
size?: string;
|
|
13
|
+
url?: string;
|
|
14
|
+
width?: string | null;
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Crop record to store on the image block next to src, so the editor can re-open or undo the crop. x, y, width and height are snapped to whole source pixels.
|
|
3
|
+
*/
|
|
4
|
+
export interface CropEmailImageResponseCrop {
|
|
5
|
+
croppedSrc?: string;
|
|
6
|
+
height?: number;
|
|
7
|
+
sourceSrc?: string;
|
|
8
|
+
width?: number;
|
|
9
|
+
x?: number;
|
|
10
|
+
y?: number;
|
|
11
|
+
}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
export * from "./CompleteEmailImageUploadResponse.js";
|
|
2
2
|
export * from "./CompleteEmailImageUploadResponseAsset.js";
|
|
3
3
|
export * from "./CreateEmailImageUploadUrlResponse.js";
|
|
4
|
+
export * from "./CropEmailImageRequestAspectRatio.js";
|
|
5
|
+
export * from "./CropEmailImageRequestCrop.js";
|
|
6
|
+
export * from "./CropEmailImageResponse.js";
|
|
7
|
+
export * from "./CropEmailImageResponseAsset.js";
|
|
8
|
+
export * from "./CropEmailImageResponseCrop.js";
|
|
4
9
|
export * from "./UploadEmailImageBytesResponse.js";
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
export * from "./CompleteEmailImageUploadResponse.js";
|
|
2
2
|
export * from "./CompleteEmailImageUploadResponseAsset.js";
|
|
3
3
|
export * from "./CreateEmailImageUploadUrlResponse.js";
|
|
4
|
+
export * from "./CropEmailImageRequestAspectRatio.js";
|
|
5
|
+
export * from "./CropEmailImageRequestCrop.js";
|
|
6
|
+
export * from "./CropEmailImageResponse.js";
|
|
7
|
+
export * from "./CropEmailImageResponseAsset.js";
|
|
8
|
+
export * from "./CropEmailImageResponseCrop.js";
|
|
4
9
|
export * from "./UploadEmailImageBytesResponse.js";
|
|
@@ -14,6 +14,8 @@ export interface SendTestPushRequest {
|
|
|
14
14
|
iconUrl?: string | null;
|
|
15
15
|
/** Optional https image shown in the notification. */
|
|
16
16
|
imageUrl?: string | null;
|
|
17
|
+
/** Accepted so a campaign body can be sent as is, but not used. A test always sends the title and body given here. */
|
|
18
|
+
localizations?: Sequenzy.PushLocalizationList;
|
|
17
19
|
/** Limit delivery to these platforms. Omit or pass an empty array for every platform. */
|
|
18
20
|
platforms?: Sequenzy.SendTestPushRequestPlatformsItem[];
|
|
19
21
|
/** Notify every active device of this subscriber. */
|
|
@@ -11,6 +11,8 @@ export interface TranslatePushContentRequest {
|
|
|
11
11
|
localizations?: Sequenzy.PushLocalizationList;
|
|
12
12
|
/** Retranslate versions a person wrote too. */
|
|
13
13
|
overwrite?: boolean;
|
|
14
|
+
/** Accepted so a campaign body can be sent as is, but not used. Translation does not depend on the platform. */
|
|
15
|
+
platforms?: Sequenzy.TranslatePushContentRequestPlatformsItem[];
|
|
14
16
|
/** Main-language title. A title or a body is required. */
|
|
15
17
|
title?: string;
|
|
16
18
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const TranslatePushContentRequestPlatformsItem: {
|
|
2
|
+
readonly Web: "web";
|
|
3
|
+
readonly Ios: "ios";
|
|
4
|
+
readonly Android: "android";
|
|
5
|
+
};
|
|
6
|
+
export type TranslatePushContentRequestPlatformsItem = (typeof TranslatePushContentRequestPlatformsItem)[keyof typeof TranslatePushContentRequestPlatformsItem];
|