sequenzy 2.1.60 → 2.1.82
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/abTests/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/abTests/client/Client.js +1 -1
- package/dist/cjs/api/resources/abTests/client/requests/UpdateAbTestsRequest.d.ts +1 -1
- package/dist/cjs/api/resources/analytics/client/Client.d.ts +40 -0
- package/dist/cjs/api/resources/analytics/client/Client.js +156 -0
- package/dist/cjs/api/resources/analytics/client/requests/ListCampaignRepliesLegacyRequest.d.ts +14 -0
- package/dist/cjs/api/resources/analytics/client/requests/ListCampaignRepliesLegacyRequest.js +3 -0
- package/dist/cjs/api/resources/analytics/client/requests/ListCampaignRepliesRequest.d.ts +14 -0
- package/dist/cjs/api/resources/analytics/client/requests/ListCampaignRepliesRequest.js +3 -0
- package/dist/cjs/api/resources/analytics/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/analytics/types/ListCampaignRepliesLegacyResponse.d.ts +7 -0
- package/dist/cjs/api/resources/analytics/types/ListCampaignRepliesLegacyResponse.js +3 -0
- package/dist/cjs/api/resources/analytics/types/ListCampaignRepliesResponse.d.ts +7 -0
- package/dist/cjs/api/resources/analytics/types/ListCampaignRepliesResponse.js +3 -0
- package/dist/cjs/api/resources/analytics/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/analytics/types/index.js +2 -0
- package/dist/cjs/api/resources/campaigns/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/campaigns/client/Client.js +1 -1
- package/dist/cjs/api/resources/campaigns/client/requests/ResumeCampaignsRequest.d.ts +1 -1
- package/dist/cjs/api/resources/campaigns/client/requests/ScheduleCampaignsRequest.d.ts +1 -1
- package/dist/cjs/api/resources/inApp/client/Client.d.ts +326 -1
- package/dist/cjs/api/resources/inApp/client/Client.js +1295 -83
- package/dist/cjs/api/resources/inApp/client/requests/CreateInAppCampaignRequest.d.ts +15 -0
- package/dist/cjs/api/resources/inApp/client/requests/CreateInAppCampaignRequest.js +3 -0
- package/dist/cjs/api/resources/inApp/client/requests/CreateInAppPlacementRequest.d.ts +10 -0
- package/dist/cjs/api/resources/inApp/client/requests/CreateInAppPlacementRequest.js +3 -0
- package/dist/cjs/api/resources/inApp/client/requests/DeleteInAppPlacementRequest.d.ts +10 -0
- package/dist/cjs/api/resources/inApp/client/requests/DeleteInAppPlacementRequest.js +3 -0
- package/dist/cjs/api/resources/inApp/client/requests/DuplicateInAppCampaignRequest.d.ts +11 -0
- package/dist/cjs/api/resources/inApp/client/requests/DuplicateInAppCampaignRequest.js +3 -0
- package/dist/cjs/api/resources/inApp/client/requests/EstimateInAppCampaignRecipientsRequest.d.ts +12 -0
- package/dist/cjs/api/resources/inApp/client/requests/EstimateInAppCampaignRecipientsRequest.js +3 -0
- package/dist/cjs/api/resources/inApp/client/requests/GetInAppCampaignRequest.d.ts +9 -0
- package/dist/cjs/api/resources/inApp/client/requests/GetInAppCampaignRequest.js +3 -0
- package/dist/cjs/api/resources/inApp/client/requests/GetInAppCampaignStatsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/inApp/client/requests/GetInAppCampaignStatsRequest.js +3 -0
- package/dist/cjs/api/resources/inApp/client/requests/GetInAppPlacementContentRequest.d.ts +15 -0
- package/dist/cjs/api/resources/inApp/client/requests/GetInAppPlacementContentRequest.js +3 -0
- package/dist/cjs/api/resources/inApp/client/requests/GetInAppPlacementRequest.d.ts +10 -0
- package/dist/cjs/api/resources/inApp/client/requests/GetInAppPlacementRequest.js +3 -0
- package/dist/cjs/api/resources/inApp/client/requests/ListInAppCampaignsRequest.d.ts +11 -0
- package/dist/cjs/api/resources/inApp/client/requests/ListInAppCampaignsRequest.js +3 -0
- package/dist/cjs/api/resources/inApp/client/requests/ListInAppMessagesRequest.d.ts +3 -0
- package/dist/cjs/api/resources/inApp/client/requests/SendInAppCampaignRequest.d.ts +11 -0
- package/dist/cjs/api/resources/inApp/client/requests/SendInAppCampaignRequest.js +3 -0
- package/dist/cjs/api/resources/inApp/client/requests/StopInAppCampaignRequest.d.ts +9 -0
- package/dist/cjs/api/resources/inApp/client/requests/StopInAppCampaignRequest.js +3 -0
- package/dist/cjs/api/resources/inApp/client/requests/UnscheduleInAppCampaignRequest.d.ts +9 -0
- package/dist/cjs/api/resources/inApp/client/requests/UnscheduleInAppCampaignRequest.js +3 -0
- package/dist/cjs/api/resources/inApp/client/requests/UpdateInAppCampaignRequest.d.ts +18 -0
- package/dist/cjs/api/resources/inApp/client/requests/UpdateInAppCampaignRequest.js +3 -0
- package/dist/cjs/api/resources/inApp/client/requests/UpdateInAppPlacementRequest.d.ts +13 -0
- package/dist/cjs/api/resources/inApp/client/requests/UpdateInAppPlacementRequest.js +3 -0
- package/dist/cjs/api/resources/inApp/client/requests/index.d.ts +15 -0
- package/dist/cjs/api/resources/inApp/types/CreateInAppCampaignRequestPriority.d.ts +7 -0
- package/dist/cjs/api/resources/inApp/types/CreateInAppCampaignRequestPriority.js +10 -0
- package/dist/cjs/api/resources/inApp/types/CreateInAppCampaignResponse.d.ts +5 -0
- package/dist/cjs/api/resources/inApp/types/CreateInAppCampaignResponse.js +3 -0
- package/dist/cjs/api/resources/inApp/types/CreateInAppPlacementResponse.d.ts +5 -0
- package/dist/cjs/api/resources/inApp/types/CreateInAppPlacementResponse.js +3 -0
- package/dist/cjs/api/resources/inApp/types/DeleteInAppPlacementResponse.d.ts +5 -0
- package/dist/cjs/api/resources/inApp/types/DeleteInAppPlacementResponse.js +3 -0
- package/dist/cjs/api/resources/inApp/types/DuplicateInAppCampaignResponse.d.ts +5 -0
- package/dist/cjs/api/resources/inApp/types/DuplicateInAppCampaignResponse.js +3 -0
- package/dist/cjs/api/resources/inApp/types/EstimateInAppCampaignRecipientsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/inApp/types/EstimateInAppCampaignRecipientsResponse.js +3 -0
- package/dist/cjs/api/resources/inApp/types/GetInAppCampaignResponse.d.ts +6 -0
- package/dist/cjs/api/resources/inApp/types/GetInAppCampaignResponse.js +3 -0
- package/dist/cjs/api/resources/inApp/types/GetInAppCampaignStatsResponse.d.ts +10 -0
- package/dist/cjs/api/resources/inApp/types/GetInAppCampaignStatsResponse.js +3 -0
- package/dist/cjs/api/resources/inApp/types/GetInAppCampaignStatsResponseState.d.ts +8 -0
- package/dist/cjs/api/resources/inApp/types/GetInAppCampaignStatsResponseState.js +11 -0
- package/dist/cjs/api/resources/inApp/types/GetInAppCampaignStatsResponseStatus.d.ts +7 -0
- package/dist/cjs/api/resources/inApp/types/GetInAppCampaignStatsResponseStatus.js +10 -0
- package/dist/cjs/api/resources/inApp/types/GetInAppPlacementContentResponse.d.ts +6 -0
- package/dist/cjs/api/resources/inApp/types/GetInAppPlacementContentResponse.js +3 -0
- package/dist/cjs/api/resources/inApp/types/GetInAppPlacementContentResponsePlacementsItem.d.ts +5 -0
- package/dist/cjs/api/resources/inApp/types/GetInAppPlacementContentResponsePlacementsItem.js +3 -0
- package/dist/cjs/api/resources/inApp/types/GetInAppPlacementResponse.d.ts +5 -0
- package/dist/cjs/api/resources/inApp/types/GetInAppPlacementResponse.js +3 -0
- package/dist/cjs/api/resources/inApp/types/ListInAppCampaignsRequestStatus.d.ts +7 -0
- package/dist/cjs/api/resources/inApp/types/ListInAppCampaignsRequestStatus.js +10 -0
- package/dist/cjs/api/resources/inApp/types/ListInAppCampaignsResponse.d.ts +6 -0
- package/dist/cjs/api/resources/inApp/types/ListInAppCampaignsResponse.js +3 -0
- package/dist/cjs/api/resources/inApp/types/ListInAppMessagesRequestDeliver.d.ts +5 -0
- package/dist/cjs/api/resources/inApp/types/ListInAppMessagesRequestDeliver.js +8 -0
- package/dist/cjs/api/resources/inApp/types/ListInAppMessagesRequestKind.d.ts +1 -0
- package/dist/cjs/api/resources/inApp/types/ListInAppMessagesRequestKind.js +1 -0
- package/dist/cjs/api/resources/inApp/types/ListInAppPlacementsResponse.d.ts +5 -0
- package/dist/cjs/api/resources/inApp/types/ListInAppPlacementsResponse.js +3 -0
- package/dist/cjs/api/resources/inApp/types/SendInAppCampaignResponse.d.ts +6 -0
- package/dist/cjs/api/resources/inApp/types/SendInAppCampaignResponse.js +3 -0
- package/dist/cjs/api/resources/inApp/types/StopInAppCampaignResponse.d.ts +5 -0
- package/dist/cjs/api/resources/inApp/types/StopInAppCampaignResponse.js +3 -0
- package/dist/cjs/api/resources/inApp/types/UnscheduleInAppCampaignResponse.d.ts +5 -0
- package/dist/cjs/api/resources/inApp/types/UnscheduleInAppCampaignResponse.js +3 -0
- package/dist/cjs/api/resources/inApp/types/UpdateInAppCampaignRequestPriority.d.ts +7 -0
- package/dist/cjs/api/resources/inApp/types/UpdateInAppCampaignRequestPriority.js +10 -0
- package/dist/cjs/api/resources/inApp/types/UpdateInAppCampaignResponse.d.ts +5 -0
- package/dist/cjs/api/resources/inApp/types/UpdateInAppCampaignResponse.js +3 -0
- package/dist/cjs/api/resources/inApp/types/UpdateInAppPlacementResponse.d.ts +5 -0
- package/dist/cjs/api/resources/inApp/types/UpdateInAppPlacementResponse.js +3 -0
- package/dist/cjs/api/resources/inApp/types/index.d.ts +23 -0
- package/dist/cjs/api/resources/inApp/types/index.js +23 -0
- package/dist/cjs/api/resources/push/client/Client.d.ts +46 -6
- package/dist/cjs/api/resources/push/client/Client.js +168 -7
- package/dist/cjs/api/resources/push/client/requests/CreatePushCampaignRequest.d.ts +1 -0
- package/dist/cjs/api/resources/push/client/requests/EndLiveActivityRequest.d.ts +3 -1
- package/dist/cjs/api/resources/push/client/requests/EstimatePushCampaignRecipientsRequest.d.ts +2 -0
- package/dist/cjs/api/resources/push/client/requests/ListLiveActivitiesRequest.d.ts +2 -0
- package/dist/cjs/api/resources/push/client/requests/SendPushCampaignRequest.d.ts +8 -0
- package/dist/cjs/api/resources/push/client/requests/StartLiveActivityRequest.d.ts +7 -1
- package/dist/cjs/api/resources/push/client/requests/TranslatePushCampaignRequest.d.ts +14 -0
- package/dist/cjs/api/resources/push/client/requests/TranslatePushCampaignRequest.js +3 -0
- package/dist/cjs/api/resources/push/client/requests/TranslatePushContentRequest.d.ts +16 -0
- package/dist/cjs/api/resources/push/client/requests/TranslatePushContentRequest.js +3 -0
- package/dist/cjs/api/resources/push/client/requests/UpdateLiveActivityRequest.d.ts +3 -1
- package/dist/cjs/api/resources/push/client/requests/UpdatePushCampaignRequest.d.ts +9 -0
- package/dist/cjs/api/resources/push/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/push/types/EstimatePushCampaignRecipientsResponse.d.ts +3 -0
- package/dist/cjs/api/resources/push/types/EstimatePushCampaignRecipientsResponseTimingCoverage.d.ts +11 -0
- package/dist/cjs/api/resources/push/types/EstimatePushCampaignRecipientsResponseTimingCoverage.js +3 -0
- package/dist/cjs/api/resources/push/types/ListLiveActivitiesRequestPlatform.d.ts +5 -0
- package/dist/cjs/api/resources/push/types/ListLiveActivitiesRequestPlatform.js +8 -0
- package/dist/cjs/api/resources/push/types/TranslatePushCampaignResponse.d.ts +4 -0
- package/dist/cjs/api/resources/push/types/TranslatePushCampaignResponse.js +3 -0
- package/dist/cjs/api/resources/push/types/TranslatePushContentResponse.d.ts +5 -0
- package/dist/cjs/api/resources/push/types/TranslatePushContentResponse.js +3 -0
- package/dist/cjs/api/resources/push/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/push/types/index.js +4 -0
- package/dist/cjs/api/resources/templates/types/GetLocalizationCoverageTemplatesResponse.d.ts +2 -0
- package/dist/cjs/api/resources/templates/types/GetLocalizationCoverageTemplatesResponsePush.d.ts +9 -0
- package/dist/cjs/api/resources/templates/types/GetLocalizationCoverageTemplatesResponsePush.js +3 -0
- package/dist/cjs/api/resources/templates/types/GetLocalizationCoverageTemplatesResponsePushLocalesItem.d.ts +13 -0
- package/dist/cjs/api/resources/templates/types/GetLocalizationCoverageTemplatesResponsePushLocalesItem.js +3 -0
- package/dist/cjs/api/resources/templates/types/TranslateMissingLocalizationsTemplatesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/templates/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/templates/types/index.js +2 -0
- package/dist/cjs/api/resources/webTrackingKeys/client/Client.d.ts +4 -5
- package/dist/cjs/api/resources/webTrackingKeys/client/Client.js +7 -6
- package/dist/cjs/api/resources/webTrackingKeys/client/requests/MintIdentityWebTrackingKeysRequest.d.ts +5 -4
- package/dist/cjs/api/resources/webTrackingKeys/types/MintIdentityWebTrackingKeysResponse.d.ts +3 -2
- package/dist/cjs/api/types/CampaignChannel.d.ts +2 -1
- package/dist/cjs/api/types/CampaignChannel.js +2 -1
- package/dist/cjs/api/types/CampaignReply.d.ts +19 -0
- package/dist/cjs/api/types/CampaignReply.js +3 -0
- package/dist/cjs/api/types/InAppCampaign.d.ts +20 -0
- package/dist/cjs/api/types/InAppCampaign.js +3 -0
- package/dist/cjs/api/types/InAppCampaignMessage.d.ts +28 -0
- package/dist/cjs/api/types/InAppCampaignMessage.js +3 -0
- package/dist/cjs/api/types/InAppCampaignMessageButtonsItem.d.ts +7 -0
- package/dist/cjs/api/types/InAppCampaignMessageButtonsItem.js +3 -0
- package/dist/cjs/api/types/InAppCampaignMessageButtonsItemAction.d.ts +6 -0
- package/dist/cjs/api/types/InAppCampaignMessageButtonsItemAction.js +9 -0
- package/dist/cjs/api/types/InAppCampaignMessageFormat.d.ts +8 -0
- package/dist/cjs/api/types/InAppCampaignMessageFormat.js +11 -0
- package/dist/cjs/api/types/InAppCampaignMessageImagePlacement.d.ts +5 -0
- package/dist/cjs/api/types/InAppCampaignMessageImagePlacement.js +8 -0
- package/dist/cjs/api/types/InAppCampaignMessageKind.d.ts +5 -0
- package/dist/cjs/api/types/InAppCampaignMessageKind.js +8 -0
- package/dist/cjs/api/types/InAppCampaignMessagePosition.d.ts +7 -0
- package/dist/cjs/api/types/InAppCampaignMessagePosition.js +10 -0
- package/dist/cjs/api/types/InAppCampaignPriority.d.ts +6 -0
- package/dist/cjs/api/types/InAppCampaignPriority.js +9 -0
- package/dist/cjs/api/types/InAppCampaignState.d.ts +9 -0
- package/dist/cjs/api/types/InAppCampaignState.js +12 -0
- package/dist/cjs/api/types/InAppCampaignStats.d.ts +16 -0
- package/dist/cjs/api/types/InAppCampaignStats.js +3 -0
- package/dist/cjs/api/types/InAppCampaignStatsButtonsItem.d.ts +4 -0
- package/dist/cjs/api/types/InAppCampaignStatsButtonsItem.js +3 -0
- package/dist/cjs/api/types/InAppCampaignStatus.d.ts +8 -0
- package/dist/cjs/api/types/InAppCampaignStatus.js +11 -0
- package/dist/cjs/api/types/InAppCampaignType.d.ts +4 -0
- package/dist/cjs/api/types/InAppCampaignType.js +7 -0
- package/dist/cjs/api/types/InAppMessage.d.ts +9 -1
- package/dist/cjs/api/types/InAppMessageKind.d.ts +2 -1
- package/dist/cjs/api/types/InAppMessageKind.js +2 -1
- package/dist/cjs/api/types/InAppMessageLayout.d.ts +7 -0
- package/dist/cjs/api/types/InAppMessageLayout.js +10 -0
- package/dist/cjs/api/types/InAppMessagePriority.d.ts +7 -0
- package/dist/cjs/api/types/InAppMessagePriority.js +10 -0
- package/dist/cjs/api/types/InAppPlacement.d.ts +16 -0
- package/dist/cjs/api/types/InAppPlacement.js +3 -0
- package/dist/cjs/api/types/InAppPlacementInput.d.ts +6 -0
- package/dist/cjs/api/types/InAppPlacementInput.js +3 -0
- package/dist/cjs/api/types/InAppPlacementStats.d.ts +16 -0
- package/dist/cjs/api/types/InAppPlacementStats.js +3 -0
- package/dist/cjs/api/types/InAppPlacementWithStats.d.ts +4 -0
- package/dist/cjs/api/types/InAppPlacementWithStats.js +3 -0
- package/dist/cjs/api/types/LiveActivityDispatch.d.ts +4 -0
- package/dist/cjs/api/types/LiveActivityDispatchPlatforms.d.ts +7 -0
- package/dist/cjs/api/types/LiveActivityDispatchPlatforms.js +3 -0
- package/dist/cjs/api/types/LiveActivityToken.d.ts +5 -3
- package/dist/cjs/api/types/LiveActivityTokenPlatform.d.ts +6 -0
- package/dist/cjs/api/types/LiveActivityTokenPlatform.js +9 -0
- package/dist/cjs/api/types/PushCampaign.d.ts +8 -0
- package/dist/cjs/api/types/PushCampaignContent.d.ts +2 -0
- package/dist/cjs/api/types/PushLocalization.d.ts +20 -0
- package/dist/cjs/api/types/PushLocalization.js +3 -0
- package/dist/cjs/api/types/PushLocalizationList.d.ts +5 -0
- package/dist/cjs/api/types/PushLocalizationList.js +3 -0
- package/dist/cjs/api/types/PushLocalizationOrigin.d.ts +6 -0
- package/dist/cjs/api/types/PushLocalizationOrigin.js +9 -0
- package/dist/cjs/api/types/PushTranslationResult.d.ts +11 -0
- package/dist/cjs/api/types/PushTranslationResult.js +3 -0
- package/dist/cjs/api/types/PushTranslationResultFailedItem.d.ts +4 -0
- package/dist/cjs/api/types/PushTranslationResultFailedItem.js +3 -0
- package/dist/cjs/api/types/PushTranslationResultSkippedItem.d.ts +6 -0
- package/dist/cjs/api/types/PushTranslationResultSkippedItem.js +3 -0
- package/dist/cjs/api/types/PushTranslationResultSkippedItemReason.d.ts +6 -0
- package/dist/cjs/api/types/PushTranslationResultSkippedItemReason.js +9 -0
- package/dist/cjs/api/types/SequenceBranchPathStepInput.d.ts +2 -0
- package/dist/cjs/api/types/SequenceInboundWebhook.d.ts +2 -0
- package/dist/cjs/api/types/SequenceInboundWebhookFieldMapping.d.ts +1 -1
- package/dist/cjs/api/types/SequenceInboundWebhookMappingCheck.d.ts +7 -0
- package/dist/cjs/api/types/SequenceInboundWebhookMappingCheck.js +3 -0
- package/dist/cjs/api/types/SequenceInboundWebhookMappingCheckMissingFieldsItem.d.ts +5 -0
- package/dist/cjs/api/types/SequenceInboundWebhookMappingCheckMissingFieldsItem.js +3 -0
- package/dist/cjs/api/types/SequenceInboundWebhookMappingCheckStatus.d.ts +7 -0
- package/dist/cjs/api/types/SequenceInboundWebhookMappingCheckStatus.js +10 -0
- package/dist/cjs/api/types/SequenceStepInput.d.ts +2 -0
- package/dist/cjs/api/types/index.d.ts +33 -0
- package/dist/cjs/api/types/index.js +33 -0
- package/dist/cjs/serialization/resources/analytics/types/ListCampaignRepliesLegacyResponse.d.ts +14 -0
- package/dist/cjs/serialization/resources/analytics/types/ListCampaignRepliesLegacyResponse.js +36 -0
- package/dist/cjs/serialization/resources/analytics/types/ListCampaignRepliesResponse.d.ts +14 -0
- package/dist/cjs/serialization/resources/analytics/types/ListCampaignRepliesResponse.js +36 -0
- package/dist/cjs/serialization/resources/analytics/types/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/analytics/types/index.js +2 -0
- package/dist/cjs/serialization/resources/inApp/client/requests/CreateInAppCampaignRequest.d.ts +15 -0
- package/dist/cjs/serialization/resources/inApp/client/requests/CreateInAppCampaignRequest.js +37 -0
- package/dist/cjs/serialization/resources/inApp/client/requests/CreateInAppPlacementRequest.d.ts +10 -0
- package/dist/cjs/serialization/resources/inApp/client/requests/CreateInAppPlacementRequest.js +34 -0
- package/dist/cjs/serialization/resources/inApp/client/requests/DuplicateInAppCampaignRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/inApp/client/requests/DuplicateInAppCampaignRequest.js +31 -0
- package/dist/cjs/serialization/resources/inApp/client/requests/EstimateInAppCampaignRecipientsRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/inApp/client/requests/EstimateInAppCampaignRecipientsRequest.js +31 -0
- package/dist/cjs/serialization/resources/inApp/client/requests/SendInAppCampaignRequest.d.ts +9 -0
- package/dist/cjs/serialization/resources/inApp/client/requests/SendInAppCampaignRequest.js +31 -0
- package/dist/cjs/serialization/resources/inApp/client/requests/UpdateInAppCampaignRequest.d.ts +15 -0
- package/dist/cjs/serialization/resources/inApp/client/requests/UpdateInAppCampaignRequest.js +37 -0
- package/dist/cjs/serialization/resources/inApp/client/requests/index.d.ts +6 -0
- package/dist/cjs/serialization/resources/inApp/client/requests/index.js +13 -1
- package/dist/cjs/serialization/resources/inApp/types/CreateInAppCampaignRequestPriority.d.ts +7 -0
- package/dist/cjs/serialization/resources/inApp/types/CreateInAppCampaignRequestPriority.js +29 -0
- package/dist/cjs/serialization/resources/inApp/types/CreateInAppCampaignResponse.d.ts +11 -0
- package/dist/cjs/serialization/resources/inApp/types/CreateInAppCampaignResponse.js +33 -0
- package/dist/cjs/serialization/resources/inApp/types/CreateInAppPlacementResponse.d.ts +11 -0
- package/dist/cjs/serialization/resources/inApp/types/CreateInAppPlacementResponse.js +33 -0
- package/dist/cjs/serialization/resources/inApp/types/DeleteInAppPlacementResponse.d.ts +11 -0
- package/dist/cjs/serialization/resources/inApp/types/DeleteInAppPlacementResponse.js +33 -0
- package/dist/cjs/serialization/resources/inApp/types/DuplicateInAppCampaignResponse.d.ts +11 -0
- package/dist/cjs/serialization/resources/inApp/types/DuplicateInAppCampaignResponse.js +33 -0
- package/dist/cjs/serialization/resources/inApp/types/EstimateInAppCampaignRecipientsResponse.d.ts +10 -0
- package/dist/cjs/serialization/resources/inApp/types/EstimateInAppCampaignRecipientsResponse.js +32 -0
- package/dist/cjs/serialization/resources/inApp/types/GetInAppCampaignResponse.d.ts +13 -0
- package/dist/cjs/serialization/resources/inApp/types/GetInAppCampaignResponse.js +35 -0
- package/dist/cjs/serialization/resources/inApp/types/GetInAppCampaignStatsResponse.d.ts +17 -0
- package/dist/cjs/serialization/resources/inApp/types/GetInAppCampaignStatsResponse.js +39 -0
- package/dist/cjs/serialization/resources/inApp/types/GetInAppCampaignStatsResponseState.d.ts +7 -0
- package/dist/cjs/serialization/resources/inApp/types/GetInAppCampaignStatsResponseState.js +29 -0
- package/dist/cjs/serialization/resources/inApp/types/GetInAppCampaignStatsResponseStatus.d.ts +7 -0
- package/dist/cjs/serialization/resources/inApp/types/GetInAppCampaignStatsResponseStatus.js +29 -0
- package/dist/cjs/serialization/resources/inApp/types/GetInAppPlacementContentResponse.d.ts +12 -0
- package/dist/cjs/serialization/resources/inApp/types/GetInAppPlacementContentResponse.js +34 -0
- package/dist/cjs/serialization/resources/inApp/types/GetInAppPlacementContentResponsePlacementsItem.d.ts +11 -0
- package/dist/cjs/serialization/resources/inApp/types/GetInAppPlacementContentResponsePlacementsItem.js +33 -0
- package/dist/cjs/serialization/resources/inApp/types/GetInAppPlacementResponse.d.ts +11 -0
- package/dist/cjs/serialization/resources/inApp/types/GetInAppPlacementResponse.js +33 -0
- package/dist/cjs/serialization/resources/inApp/types/ListInAppCampaignsRequestStatus.d.ts +7 -0
- package/dist/cjs/serialization/resources/inApp/types/ListInAppCampaignsRequestStatus.js +29 -0
- package/dist/cjs/serialization/resources/inApp/types/ListInAppCampaignsResponse.d.ts +12 -0
- package/dist/cjs/serialization/resources/inApp/types/ListInAppCampaignsResponse.js +34 -0
- package/dist/cjs/serialization/resources/inApp/types/ListInAppMessagesRequestDeliver.d.ts +7 -0
- package/dist/cjs/serialization/resources/inApp/types/ListInAppMessagesRequestDeliver.js +29 -0
- package/dist/cjs/serialization/resources/inApp/types/ListInAppMessagesRequestKind.d.ts +1 -1
- package/dist/cjs/serialization/resources/inApp/types/ListInAppMessagesRequestKind.js +1 -1
- package/dist/cjs/serialization/resources/inApp/types/ListInAppPlacementsResponse.d.ts +11 -0
- package/dist/cjs/serialization/resources/inApp/types/ListInAppPlacementsResponse.js +33 -0
- package/dist/cjs/serialization/resources/inApp/types/SendInAppCampaignResponse.d.ts +12 -0
- package/dist/cjs/serialization/resources/inApp/types/SendInAppCampaignResponse.js +34 -0
- package/dist/cjs/serialization/resources/inApp/types/StopInAppCampaignResponse.d.ts +11 -0
- package/dist/cjs/serialization/resources/inApp/types/StopInAppCampaignResponse.js +33 -0
- package/dist/cjs/serialization/resources/inApp/types/UnscheduleInAppCampaignResponse.d.ts +11 -0
- package/dist/cjs/serialization/resources/inApp/types/UnscheduleInAppCampaignResponse.js +33 -0
- package/dist/cjs/serialization/resources/inApp/types/UpdateInAppCampaignRequestPriority.d.ts +7 -0
- package/dist/cjs/serialization/resources/inApp/types/UpdateInAppCampaignRequestPriority.js +29 -0
- package/dist/cjs/serialization/resources/inApp/types/UpdateInAppCampaignResponse.d.ts +11 -0
- package/dist/cjs/serialization/resources/inApp/types/UpdateInAppCampaignResponse.js +33 -0
- package/dist/cjs/serialization/resources/inApp/types/UpdateInAppPlacementResponse.d.ts +11 -0
- package/dist/cjs/serialization/resources/inApp/types/UpdateInAppPlacementResponse.js +33 -0
- package/dist/cjs/serialization/resources/inApp/types/index.d.ts +23 -0
- package/dist/cjs/serialization/resources/inApp/types/index.js +23 -0
- package/dist/cjs/serialization/resources/push/client/requests/CreatePushCampaignRequest.d.ts +2 -0
- package/dist/cjs/serialization/resources/push/client/requests/CreatePushCampaignRequest.js +2 -0
- package/dist/cjs/serialization/resources/push/client/requests/EndLiveActivityRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/push/client/requests/EndLiveActivityRequest.js +1 -0
- package/dist/cjs/serialization/resources/push/client/requests/EstimatePushCampaignRecipientsRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/push/client/requests/EstimatePushCampaignRecipientsRequest.js +1 -0
- package/dist/cjs/serialization/resources/push/client/requests/SendPushCampaignRequest.d.ts +4 -0
- package/dist/cjs/serialization/resources/push/client/requests/SendPushCampaignRequest.js +4 -0
- package/dist/cjs/serialization/resources/push/client/requests/StartLiveActivityRequest.d.ts +3 -0
- package/dist/cjs/serialization/resources/push/client/requests/StartLiveActivityRequest.js +3 -0
- package/dist/cjs/serialization/resources/push/client/requests/TranslatePushCampaignRequest.d.ts +10 -0
- package/dist/cjs/serialization/resources/push/client/requests/TranslatePushCampaignRequest.js +32 -0
- package/dist/cjs/serialization/resources/push/client/requests/TranslatePushContentRequest.d.ts +14 -0
- package/dist/cjs/serialization/resources/push/client/requests/TranslatePushContentRequest.js +36 -0
- package/dist/cjs/serialization/resources/push/client/requests/UpdateLiveActivityRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/push/client/requests/UpdateLiveActivityRequest.js +1 -0
- package/dist/cjs/serialization/resources/push/client/requests/UpdatePushCampaignRequest.d.ts +6 -0
- package/dist/cjs/serialization/resources/push/client/requests/UpdatePushCampaignRequest.js +6 -0
- package/dist/cjs/serialization/resources/push/client/requests/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/push/client/requests/index.js +5 -1
- package/dist/cjs/serialization/resources/push/types/EstimatePushCampaignRecipientsResponse.d.ts +2 -0
- package/dist/cjs/serialization/resources/push/types/EstimatePushCampaignRecipientsResponse.js +2 -0
- package/dist/cjs/serialization/resources/push/types/EstimatePushCampaignRecipientsResponseTimingCoverage.d.ts +11 -0
- package/dist/cjs/serialization/resources/push/types/EstimatePushCampaignRecipientsResponseTimingCoverage.js +33 -0
- package/dist/cjs/serialization/resources/push/types/ListLiveActivitiesRequestPlatform.d.ts +7 -0
- package/dist/cjs/serialization/resources/push/types/ListLiveActivitiesRequestPlatform.js +29 -0
- package/dist/cjs/serialization/resources/push/types/TranslatePushCampaignResponse.d.ts +11 -0
- package/dist/cjs/serialization/resources/push/types/TranslatePushCampaignResponse.js +35 -0
- package/dist/cjs/serialization/resources/push/types/TranslatePushContentResponse.d.ts +11 -0
- package/dist/cjs/serialization/resources/push/types/TranslatePushContentResponse.js +35 -0
- package/dist/cjs/serialization/resources/push/types/index.d.ts +4 -0
- package/dist/cjs/serialization/resources/push/types/index.js +4 -0
- package/dist/cjs/serialization/resources/templates/types/GetLocalizationCoverageTemplatesResponse.d.ts +2 -0
- package/dist/cjs/serialization/resources/templates/types/GetLocalizationCoverageTemplatesResponse.js +2 -0
- package/dist/cjs/serialization/resources/templates/types/GetLocalizationCoverageTemplatesResponsePush.d.ts +11 -0
- package/dist/cjs/serialization/resources/templates/types/GetLocalizationCoverageTemplatesResponsePush.js +33 -0
- package/dist/cjs/serialization/resources/templates/types/GetLocalizationCoverageTemplatesResponsePushLocalesItem.d.ts +15 -0
- package/dist/cjs/serialization/resources/templates/types/GetLocalizationCoverageTemplatesResponsePushLocalesItem.js +37 -0
- package/dist/cjs/serialization/resources/templates/types/TranslateMissingLocalizationsTemplatesResponse.d.ts +2 -0
- package/dist/cjs/serialization/resources/templates/types/TranslateMissingLocalizationsTemplatesResponse.js +2 -0
- package/dist/cjs/serialization/resources/templates/types/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/templates/types/index.js +2 -0
- package/dist/cjs/serialization/resources/webTrackingKeys/client/requests/MintIdentityWebTrackingKeysRequest.d.ts +2 -1
- package/dist/cjs/serialization/resources/webTrackingKeys/client/requests/MintIdentityWebTrackingKeysRequest.js +2 -1
- package/dist/cjs/serialization/resources/webTrackingKeys/types/MintIdentityWebTrackingKeysResponse.d.ts +2 -1
- package/dist/cjs/serialization/resources/webTrackingKeys/types/MintIdentityWebTrackingKeysResponse.js +2 -1
- package/dist/cjs/serialization/types/CampaignChannel.d.ts +1 -1
- package/dist/cjs/serialization/types/CampaignChannel.js +1 -1
- package/dist/cjs/serialization/types/CampaignReply.d.ts +19 -0
- package/dist/cjs/serialization/types/CampaignReply.js +41 -0
- package/dist/cjs/serialization/types/InAppCampaign.d.ts +26 -0
- package/dist/cjs/serialization/types/InAppCampaign.js +50 -0
- package/dist/cjs/serialization/types/InAppCampaignMessage.d.ts +29 -0
- package/dist/cjs/serialization/types/InAppCampaignMessage.js +51 -0
- package/dist/cjs/serialization/types/InAppCampaignMessageButtonsItem.d.ts +12 -0
- package/dist/cjs/serialization/types/InAppCampaignMessageButtonsItem.js +34 -0
- package/dist/cjs/serialization/types/InAppCampaignMessageButtonsItemAction.d.ts +7 -0
- package/dist/cjs/serialization/types/InAppCampaignMessageButtonsItemAction.js +29 -0
- package/dist/cjs/serialization/types/InAppCampaignMessageFormat.d.ts +7 -0
- package/dist/cjs/serialization/types/InAppCampaignMessageFormat.js +29 -0
- package/dist/cjs/serialization/types/InAppCampaignMessageImagePlacement.d.ts +7 -0
- package/dist/cjs/serialization/types/InAppCampaignMessageImagePlacement.js +29 -0
- package/dist/cjs/serialization/types/InAppCampaignMessageKind.d.ts +7 -0
- package/dist/cjs/serialization/types/InAppCampaignMessageKind.js +29 -0
- package/dist/cjs/serialization/types/InAppCampaignMessagePosition.d.ts +7 -0
- package/dist/cjs/serialization/types/InAppCampaignMessagePosition.js +29 -0
- package/dist/cjs/serialization/types/InAppCampaignPriority.d.ts +7 -0
- package/dist/cjs/serialization/types/InAppCampaignPriority.js +29 -0
- package/dist/cjs/serialization/types/InAppCampaignState.d.ts +7 -0
- package/dist/cjs/serialization/types/InAppCampaignState.js +29 -0
- package/dist/cjs/serialization/types/InAppCampaignStats.d.ts +17 -0
- package/dist/cjs/serialization/types/InAppCampaignStats.js +39 -0
- package/dist/cjs/serialization/types/InAppCampaignStatsButtonsItem.d.ts +10 -0
- package/dist/cjs/serialization/types/InAppCampaignStatsButtonsItem.js +32 -0
- package/dist/cjs/serialization/types/InAppCampaignStatus.d.ts +7 -0
- package/dist/cjs/serialization/types/InAppCampaignStatus.js +29 -0
- package/dist/cjs/serialization/types/InAppCampaignType.d.ts +7 -0
- package/dist/cjs/serialization/types/InAppCampaignType.js +29 -0
- package/dist/cjs/serialization/types/InAppMessage.d.ts +6 -0
- package/dist/cjs/serialization/types/InAppMessage.js +6 -0
- package/dist/cjs/serialization/types/InAppMessageKind.d.ts +1 -1
- package/dist/cjs/serialization/types/InAppMessageKind.js +1 -1
- package/dist/cjs/serialization/types/InAppMessageLayout.d.ts +7 -0
- package/dist/cjs/serialization/types/InAppMessageLayout.js +29 -0
- package/dist/cjs/serialization/types/InAppMessagePriority.d.ts +7 -0
- package/dist/cjs/serialization/types/InAppMessagePriority.js +29 -0
- package/dist/cjs/serialization/types/InAppPlacement.d.ts +15 -0
- package/dist/cjs/serialization/types/InAppPlacement.js +37 -0
- package/dist/cjs/serialization/types/InAppPlacementInput.d.ts +12 -0
- package/dist/cjs/serialization/types/InAppPlacementInput.js +34 -0
- package/dist/cjs/serialization/types/InAppPlacementStats.d.ts +14 -0
- package/dist/cjs/serialization/types/InAppPlacementStats.js +36 -0
- package/dist/cjs/serialization/types/InAppPlacementWithStats.d.ts +11 -0
- package/dist/cjs/serialization/types/InAppPlacementWithStats.js +35 -0
- package/dist/cjs/serialization/types/LiveActivityDispatch.d.ts +3 -0
- package/dist/cjs/serialization/types/LiveActivityDispatch.js +3 -0
- package/dist/cjs/serialization/types/LiveActivityDispatchPlatforms.d.ts +10 -0
- package/dist/cjs/serialization/types/LiveActivityDispatchPlatforms.js +32 -0
- package/dist/cjs/serialization/types/LiveActivityToken.d.ts +2 -0
- package/dist/cjs/serialization/types/LiveActivityToken.js +2 -0
- package/dist/cjs/serialization/types/LiveActivityTokenPlatform.d.ts +7 -0
- package/dist/cjs/serialization/types/LiveActivityTokenPlatform.js +29 -0
- package/dist/cjs/serialization/types/PushCampaign.d.ts +4 -0
- package/dist/cjs/serialization/types/PushCampaign.js +4 -0
- package/dist/cjs/serialization/types/PushCampaignContent.d.ts +2 -0
- package/dist/cjs/serialization/types/PushCampaignContent.js +2 -0
- package/dist/cjs/serialization/types/PushLocalization.d.ts +16 -0
- package/dist/cjs/serialization/types/PushLocalization.js +38 -0
- package/dist/cjs/serialization/types/PushLocalizationList.d.ts +8 -0
- package/dist/cjs/serialization/types/PushLocalizationList.js +30 -0
- package/dist/cjs/serialization/types/PushLocalizationOrigin.d.ts +7 -0
- package/dist/cjs/serialization/types/PushLocalizationOrigin.js +29 -0
- package/dist/cjs/serialization/types/PushTranslationResult.d.ts +15 -0
- package/dist/cjs/serialization/types/PushTranslationResult.js +37 -0
- package/dist/cjs/serialization/types/PushTranslationResultFailedItem.d.ts +10 -0
- package/dist/cjs/serialization/types/PushTranslationResultFailedItem.js +32 -0
- package/dist/cjs/serialization/types/PushTranslationResultSkippedItem.d.ts +11 -0
- package/dist/cjs/serialization/types/PushTranslationResultSkippedItem.js +33 -0
- package/dist/cjs/serialization/types/PushTranslationResultSkippedItemReason.d.ts +7 -0
- package/dist/cjs/serialization/types/PushTranslationResultSkippedItemReason.js +29 -0
- package/dist/cjs/serialization/types/SequenceBranchPathStepInput.d.ts +2 -0
- package/dist/cjs/serialization/types/SequenceBranchPathStepInput.js +2 -0
- package/dist/cjs/serialization/types/SequenceInboundWebhook.d.ts +2 -0
- package/dist/cjs/serialization/types/SequenceInboundWebhook.js +2 -0
- package/dist/cjs/serialization/types/SequenceInboundWebhookMappingCheck.d.ts +12 -0
- package/dist/cjs/serialization/types/SequenceInboundWebhookMappingCheck.js +34 -0
- package/dist/cjs/serialization/types/SequenceInboundWebhookMappingCheckMissingFieldsItem.d.ts +10 -0
- package/dist/cjs/serialization/types/SequenceInboundWebhookMappingCheckMissingFieldsItem.js +32 -0
- package/dist/cjs/serialization/types/SequenceInboundWebhookMappingCheckStatus.d.ts +7 -0
- package/dist/cjs/serialization/types/SequenceInboundWebhookMappingCheckStatus.js +29 -0
- package/dist/cjs/serialization/types/SequenceStepInput.d.ts +2 -0
- package/dist/cjs/serialization/types/SequenceStepInput.js +2 -0
- package/dist/cjs/serialization/types/index.d.ts +33 -0
- package/dist/cjs/serialization/types/index.js +33 -0
- package/dist/esm/api/resources/abTests/client/Client.d.ts +1 -1
- package/dist/esm/api/resources/abTests/client/Client.js +1 -1
- package/dist/esm/api/resources/abTests/client/requests/UpdateAbTestsRequest.d.ts +1 -1
- package/dist/esm/api/resources/analytics/client/Client.d.ts +40 -0
- package/dist/esm/api/resources/analytics/client/Client.js +156 -0
- package/dist/esm/api/resources/analytics/client/requests/ListCampaignRepliesLegacyRequest.d.ts +14 -0
- package/dist/esm/api/resources/analytics/client/requests/ListCampaignRepliesLegacyRequest.js +2 -0
- package/dist/esm/api/resources/analytics/client/requests/ListCampaignRepliesRequest.d.ts +14 -0
- package/dist/esm/api/resources/analytics/client/requests/ListCampaignRepliesRequest.js +2 -0
- package/dist/esm/api/resources/analytics/client/requests/index.d.ts +2 -0
- package/dist/esm/api/resources/analytics/types/ListCampaignRepliesLegacyResponse.d.ts +7 -0
- package/dist/esm/api/resources/analytics/types/ListCampaignRepliesLegacyResponse.js +2 -0
- package/dist/esm/api/resources/analytics/types/ListCampaignRepliesResponse.d.ts +7 -0
- package/dist/esm/api/resources/analytics/types/ListCampaignRepliesResponse.js +2 -0
- package/dist/esm/api/resources/analytics/types/index.d.ts +2 -0
- package/dist/esm/api/resources/analytics/types/index.js +2 -0
- package/dist/esm/api/resources/campaigns/client/Client.d.ts +1 -1
- package/dist/esm/api/resources/campaigns/client/Client.js +1 -1
- package/dist/esm/api/resources/campaigns/client/requests/ResumeCampaignsRequest.d.ts +1 -1
- package/dist/esm/api/resources/campaigns/client/requests/ScheduleCampaignsRequest.d.ts +1 -1
- package/dist/esm/api/resources/inApp/client/Client.d.ts +326 -1
- package/dist/esm/api/resources/inApp/client/Client.js +1295 -83
- package/dist/esm/api/resources/inApp/client/requests/CreateInAppCampaignRequest.d.ts +15 -0
- package/dist/esm/api/resources/inApp/client/requests/CreateInAppCampaignRequest.js +2 -0
- package/dist/esm/api/resources/inApp/client/requests/CreateInAppPlacementRequest.d.ts +10 -0
- package/dist/esm/api/resources/inApp/client/requests/CreateInAppPlacementRequest.js +2 -0
- package/dist/esm/api/resources/inApp/client/requests/DeleteInAppPlacementRequest.d.ts +10 -0
- package/dist/esm/api/resources/inApp/client/requests/DeleteInAppPlacementRequest.js +2 -0
- package/dist/esm/api/resources/inApp/client/requests/DuplicateInAppCampaignRequest.d.ts +11 -0
- package/dist/esm/api/resources/inApp/client/requests/DuplicateInAppCampaignRequest.js +2 -0
- package/dist/esm/api/resources/inApp/client/requests/EstimateInAppCampaignRecipientsRequest.d.ts +12 -0
- package/dist/esm/api/resources/inApp/client/requests/EstimateInAppCampaignRecipientsRequest.js +2 -0
- package/dist/esm/api/resources/inApp/client/requests/GetInAppCampaignRequest.d.ts +9 -0
- package/dist/esm/api/resources/inApp/client/requests/GetInAppCampaignRequest.js +2 -0
- package/dist/esm/api/resources/inApp/client/requests/GetInAppCampaignStatsRequest.d.ts +9 -0
- package/dist/esm/api/resources/inApp/client/requests/GetInAppCampaignStatsRequest.js +2 -0
- package/dist/esm/api/resources/inApp/client/requests/GetInAppPlacementContentRequest.d.ts +15 -0
- package/dist/esm/api/resources/inApp/client/requests/GetInAppPlacementContentRequest.js +2 -0
- package/dist/esm/api/resources/inApp/client/requests/GetInAppPlacementRequest.d.ts +10 -0
- package/dist/esm/api/resources/inApp/client/requests/GetInAppPlacementRequest.js +2 -0
- package/dist/esm/api/resources/inApp/client/requests/ListInAppCampaignsRequest.d.ts +11 -0
- package/dist/esm/api/resources/inApp/client/requests/ListInAppCampaignsRequest.js +2 -0
- package/dist/esm/api/resources/inApp/client/requests/ListInAppMessagesRequest.d.ts +3 -0
- package/dist/esm/api/resources/inApp/client/requests/SendInAppCampaignRequest.d.ts +11 -0
- package/dist/esm/api/resources/inApp/client/requests/SendInAppCampaignRequest.js +2 -0
- package/dist/esm/api/resources/inApp/client/requests/StopInAppCampaignRequest.d.ts +9 -0
- package/dist/esm/api/resources/inApp/client/requests/StopInAppCampaignRequest.js +2 -0
- package/dist/esm/api/resources/inApp/client/requests/UnscheduleInAppCampaignRequest.d.ts +9 -0
- package/dist/esm/api/resources/inApp/client/requests/UnscheduleInAppCampaignRequest.js +2 -0
- package/dist/esm/api/resources/inApp/client/requests/UpdateInAppCampaignRequest.d.ts +18 -0
- package/dist/esm/api/resources/inApp/client/requests/UpdateInAppCampaignRequest.js +2 -0
- package/dist/esm/api/resources/inApp/client/requests/UpdateInAppPlacementRequest.d.ts +13 -0
- package/dist/esm/api/resources/inApp/client/requests/UpdateInAppPlacementRequest.js +2 -0
- package/dist/esm/api/resources/inApp/client/requests/index.d.ts +15 -0
- package/dist/esm/api/resources/inApp/types/CreateInAppCampaignRequestPriority.d.ts +7 -0
- package/dist/esm/api/resources/inApp/types/CreateInAppCampaignRequestPriority.js +7 -0
- package/dist/esm/api/resources/inApp/types/CreateInAppCampaignResponse.d.ts +5 -0
- package/dist/esm/api/resources/inApp/types/CreateInAppCampaignResponse.js +2 -0
- package/dist/esm/api/resources/inApp/types/CreateInAppPlacementResponse.d.ts +5 -0
- package/dist/esm/api/resources/inApp/types/CreateInAppPlacementResponse.js +2 -0
- package/dist/esm/api/resources/inApp/types/DeleteInAppPlacementResponse.d.ts +5 -0
- package/dist/esm/api/resources/inApp/types/DeleteInAppPlacementResponse.js +2 -0
- package/dist/esm/api/resources/inApp/types/DuplicateInAppCampaignResponse.d.ts +5 -0
- package/dist/esm/api/resources/inApp/types/DuplicateInAppCampaignResponse.js +2 -0
- package/dist/esm/api/resources/inApp/types/EstimateInAppCampaignRecipientsResponse.d.ts +4 -0
- package/dist/esm/api/resources/inApp/types/EstimateInAppCampaignRecipientsResponse.js +2 -0
- package/dist/esm/api/resources/inApp/types/GetInAppCampaignResponse.d.ts +6 -0
- package/dist/esm/api/resources/inApp/types/GetInAppCampaignResponse.js +2 -0
- package/dist/esm/api/resources/inApp/types/GetInAppCampaignStatsResponse.d.ts +10 -0
- package/dist/esm/api/resources/inApp/types/GetInAppCampaignStatsResponse.js +2 -0
- package/dist/esm/api/resources/inApp/types/GetInAppCampaignStatsResponseState.d.ts +8 -0
- package/dist/esm/api/resources/inApp/types/GetInAppCampaignStatsResponseState.js +8 -0
- package/dist/esm/api/resources/inApp/types/GetInAppCampaignStatsResponseStatus.d.ts +7 -0
- package/dist/esm/api/resources/inApp/types/GetInAppCampaignStatsResponseStatus.js +7 -0
- package/dist/esm/api/resources/inApp/types/GetInAppPlacementContentResponse.d.ts +6 -0
- package/dist/esm/api/resources/inApp/types/GetInAppPlacementContentResponse.js +2 -0
- package/dist/esm/api/resources/inApp/types/GetInAppPlacementContentResponsePlacementsItem.d.ts +5 -0
- package/dist/esm/api/resources/inApp/types/GetInAppPlacementContentResponsePlacementsItem.js +2 -0
- package/dist/esm/api/resources/inApp/types/GetInAppPlacementResponse.d.ts +5 -0
- package/dist/esm/api/resources/inApp/types/GetInAppPlacementResponse.js +2 -0
- package/dist/esm/api/resources/inApp/types/ListInAppCampaignsRequestStatus.d.ts +7 -0
- package/dist/esm/api/resources/inApp/types/ListInAppCampaignsRequestStatus.js +7 -0
- package/dist/esm/api/resources/inApp/types/ListInAppCampaignsResponse.d.ts +6 -0
- package/dist/esm/api/resources/inApp/types/ListInAppCampaignsResponse.js +2 -0
- package/dist/esm/api/resources/inApp/types/ListInAppMessagesRequestDeliver.d.ts +5 -0
- package/dist/esm/api/resources/inApp/types/ListInAppMessagesRequestDeliver.js +5 -0
- package/dist/esm/api/resources/inApp/types/ListInAppMessagesRequestKind.d.ts +1 -0
- package/dist/esm/api/resources/inApp/types/ListInAppMessagesRequestKind.js +1 -0
- package/dist/esm/api/resources/inApp/types/ListInAppPlacementsResponse.d.ts +5 -0
- package/dist/esm/api/resources/inApp/types/ListInAppPlacementsResponse.js +2 -0
- package/dist/esm/api/resources/inApp/types/SendInAppCampaignResponse.d.ts +6 -0
- package/dist/esm/api/resources/inApp/types/SendInAppCampaignResponse.js +2 -0
- package/dist/esm/api/resources/inApp/types/StopInAppCampaignResponse.d.ts +5 -0
- package/dist/esm/api/resources/inApp/types/StopInAppCampaignResponse.js +2 -0
- package/dist/esm/api/resources/inApp/types/UnscheduleInAppCampaignResponse.d.ts +5 -0
- package/dist/esm/api/resources/inApp/types/UnscheduleInAppCampaignResponse.js +2 -0
- package/dist/esm/api/resources/inApp/types/UpdateInAppCampaignRequestPriority.d.ts +7 -0
- package/dist/esm/api/resources/inApp/types/UpdateInAppCampaignRequestPriority.js +7 -0
- package/dist/esm/api/resources/inApp/types/UpdateInAppCampaignResponse.d.ts +5 -0
- package/dist/esm/api/resources/inApp/types/UpdateInAppCampaignResponse.js +2 -0
- package/dist/esm/api/resources/inApp/types/UpdateInAppPlacementResponse.d.ts +5 -0
- package/dist/esm/api/resources/inApp/types/UpdateInAppPlacementResponse.js +2 -0
- package/dist/esm/api/resources/inApp/types/index.d.ts +23 -0
- package/dist/esm/api/resources/inApp/types/index.js +23 -0
- package/dist/esm/api/resources/push/client/Client.d.ts +46 -6
- package/dist/esm/api/resources/push/client/Client.js +168 -7
- package/dist/esm/api/resources/push/client/requests/CreatePushCampaignRequest.d.ts +1 -0
- package/dist/esm/api/resources/push/client/requests/EndLiveActivityRequest.d.ts +3 -1
- package/dist/esm/api/resources/push/client/requests/EstimatePushCampaignRecipientsRequest.d.ts +2 -0
- package/dist/esm/api/resources/push/client/requests/ListLiveActivitiesRequest.d.ts +2 -0
- package/dist/esm/api/resources/push/client/requests/SendPushCampaignRequest.d.ts +8 -0
- package/dist/esm/api/resources/push/client/requests/StartLiveActivityRequest.d.ts +7 -1
- package/dist/esm/api/resources/push/client/requests/TranslatePushCampaignRequest.d.ts +14 -0
- package/dist/esm/api/resources/push/client/requests/TranslatePushCampaignRequest.js +2 -0
- package/dist/esm/api/resources/push/client/requests/TranslatePushContentRequest.d.ts +16 -0
- package/dist/esm/api/resources/push/client/requests/TranslatePushContentRequest.js +2 -0
- package/dist/esm/api/resources/push/client/requests/UpdateLiveActivityRequest.d.ts +3 -1
- package/dist/esm/api/resources/push/client/requests/UpdatePushCampaignRequest.d.ts +9 -0
- package/dist/esm/api/resources/push/client/requests/index.d.ts +2 -0
- package/dist/esm/api/resources/push/types/EstimatePushCampaignRecipientsResponse.d.ts +3 -0
- package/dist/esm/api/resources/push/types/EstimatePushCampaignRecipientsResponseTimingCoverage.d.ts +11 -0
- package/dist/esm/api/resources/push/types/EstimatePushCampaignRecipientsResponseTimingCoverage.js +2 -0
- package/dist/esm/api/resources/push/types/ListLiveActivitiesRequestPlatform.d.ts +5 -0
- package/dist/esm/api/resources/push/types/ListLiveActivitiesRequestPlatform.js +5 -0
- package/dist/esm/api/resources/push/types/TranslatePushCampaignResponse.d.ts +4 -0
- package/dist/esm/api/resources/push/types/TranslatePushCampaignResponse.js +2 -0
- package/dist/esm/api/resources/push/types/TranslatePushContentResponse.d.ts +5 -0
- package/dist/esm/api/resources/push/types/TranslatePushContentResponse.js +2 -0
- package/dist/esm/api/resources/push/types/index.d.ts +4 -0
- package/dist/esm/api/resources/push/types/index.js +4 -0
- package/dist/esm/api/resources/templates/types/GetLocalizationCoverageTemplatesResponse.d.ts +2 -0
- package/dist/esm/api/resources/templates/types/GetLocalizationCoverageTemplatesResponsePush.d.ts +9 -0
- package/dist/esm/api/resources/templates/types/GetLocalizationCoverageTemplatesResponsePush.js +2 -0
- package/dist/esm/api/resources/templates/types/GetLocalizationCoverageTemplatesResponsePushLocalesItem.d.ts +13 -0
- package/dist/esm/api/resources/templates/types/GetLocalizationCoverageTemplatesResponsePushLocalesItem.js +2 -0
- package/dist/esm/api/resources/templates/types/TranslateMissingLocalizationsTemplatesResponse.d.ts +4 -0
- package/dist/esm/api/resources/templates/types/index.d.ts +2 -0
- package/dist/esm/api/resources/templates/types/index.js +2 -0
- package/dist/esm/api/resources/webTrackingKeys/client/Client.d.ts +4 -5
- package/dist/esm/api/resources/webTrackingKeys/client/Client.js +7 -6
- package/dist/esm/api/resources/webTrackingKeys/client/requests/MintIdentityWebTrackingKeysRequest.d.ts +5 -4
- package/dist/esm/api/resources/webTrackingKeys/types/MintIdentityWebTrackingKeysResponse.d.ts +3 -2
- package/dist/esm/api/types/CampaignChannel.d.ts +2 -1
- package/dist/esm/api/types/CampaignChannel.js +2 -1
- package/dist/esm/api/types/CampaignReply.d.ts +19 -0
- package/dist/esm/api/types/CampaignReply.js +2 -0
- package/dist/esm/api/types/InAppCampaign.d.ts +20 -0
- package/dist/esm/api/types/InAppCampaign.js +2 -0
- package/dist/esm/api/types/InAppCampaignMessage.d.ts +28 -0
- package/dist/esm/api/types/InAppCampaignMessage.js +2 -0
- package/dist/esm/api/types/InAppCampaignMessageButtonsItem.d.ts +7 -0
- package/dist/esm/api/types/InAppCampaignMessageButtonsItem.js +2 -0
- package/dist/esm/api/types/InAppCampaignMessageButtonsItemAction.d.ts +6 -0
- package/dist/esm/api/types/InAppCampaignMessageButtonsItemAction.js +6 -0
- package/dist/esm/api/types/InAppCampaignMessageFormat.d.ts +8 -0
- package/dist/esm/api/types/InAppCampaignMessageFormat.js +8 -0
- package/dist/esm/api/types/InAppCampaignMessageImagePlacement.d.ts +5 -0
- package/dist/esm/api/types/InAppCampaignMessageImagePlacement.js +5 -0
- package/dist/esm/api/types/InAppCampaignMessageKind.d.ts +5 -0
- package/dist/esm/api/types/InAppCampaignMessageKind.js +5 -0
- package/dist/esm/api/types/InAppCampaignMessagePosition.d.ts +7 -0
- package/dist/esm/api/types/InAppCampaignMessagePosition.js +7 -0
- package/dist/esm/api/types/InAppCampaignPriority.d.ts +6 -0
- package/dist/esm/api/types/InAppCampaignPriority.js +6 -0
- package/dist/esm/api/types/InAppCampaignState.d.ts +9 -0
- package/dist/esm/api/types/InAppCampaignState.js +9 -0
- package/dist/esm/api/types/InAppCampaignStats.d.ts +16 -0
- package/dist/esm/api/types/InAppCampaignStats.js +2 -0
- package/dist/esm/api/types/InAppCampaignStatsButtonsItem.d.ts +4 -0
- package/dist/esm/api/types/InAppCampaignStatsButtonsItem.js +2 -0
- package/dist/esm/api/types/InAppCampaignStatus.d.ts +8 -0
- package/dist/esm/api/types/InAppCampaignStatus.js +8 -0
- package/dist/esm/api/types/InAppCampaignType.d.ts +4 -0
- package/dist/esm/api/types/InAppCampaignType.js +4 -0
- package/dist/esm/api/types/InAppMessage.d.ts +9 -1
- package/dist/esm/api/types/InAppMessageKind.d.ts +2 -1
- package/dist/esm/api/types/InAppMessageKind.js +2 -1
- package/dist/esm/api/types/InAppMessageLayout.d.ts +7 -0
- package/dist/esm/api/types/InAppMessageLayout.js +7 -0
- package/dist/esm/api/types/InAppMessagePriority.d.ts +7 -0
- package/dist/esm/api/types/InAppMessagePriority.js +7 -0
- package/dist/esm/api/types/InAppPlacement.d.ts +16 -0
- package/dist/esm/api/types/InAppPlacement.js +2 -0
- package/dist/esm/api/types/InAppPlacementInput.d.ts +6 -0
- package/dist/esm/api/types/InAppPlacementInput.js +2 -0
- package/dist/esm/api/types/InAppPlacementStats.d.ts +16 -0
- package/dist/esm/api/types/InAppPlacementStats.js +2 -0
- package/dist/esm/api/types/InAppPlacementWithStats.d.ts +4 -0
- package/dist/esm/api/types/InAppPlacementWithStats.js +2 -0
- package/dist/esm/api/types/LiveActivityDispatch.d.ts +4 -0
- package/dist/esm/api/types/LiveActivityDispatchPlatforms.d.ts +7 -0
- package/dist/esm/api/types/LiveActivityDispatchPlatforms.js +2 -0
- package/dist/esm/api/types/LiveActivityToken.d.ts +5 -3
- package/dist/esm/api/types/LiveActivityTokenPlatform.d.ts +6 -0
- package/dist/esm/api/types/LiveActivityTokenPlatform.js +6 -0
- package/dist/esm/api/types/PushCampaign.d.ts +8 -0
- package/dist/esm/api/types/PushCampaignContent.d.ts +2 -0
- package/dist/esm/api/types/PushLocalization.d.ts +20 -0
- package/dist/esm/api/types/PushLocalization.js +2 -0
- package/dist/esm/api/types/PushLocalizationList.d.ts +5 -0
- package/dist/esm/api/types/PushLocalizationList.js +2 -0
- package/dist/esm/api/types/PushLocalizationOrigin.d.ts +6 -0
- package/dist/esm/api/types/PushLocalizationOrigin.js +6 -0
- package/dist/esm/api/types/PushTranslationResult.d.ts +11 -0
- package/dist/esm/api/types/PushTranslationResult.js +2 -0
- package/dist/esm/api/types/PushTranslationResultFailedItem.d.ts +4 -0
- package/dist/esm/api/types/PushTranslationResultFailedItem.js +2 -0
- package/dist/esm/api/types/PushTranslationResultSkippedItem.d.ts +6 -0
- package/dist/esm/api/types/PushTranslationResultSkippedItem.js +2 -0
- package/dist/esm/api/types/PushTranslationResultSkippedItemReason.d.ts +6 -0
- package/dist/esm/api/types/PushTranslationResultSkippedItemReason.js +6 -0
- package/dist/esm/api/types/SequenceBranchPathStepInput.d.ts +2 -0
- package/dist/esm/api/types/SequenceInboundWebhook.d.ts +2 -0
- package/dist/esm/api/types/SequenceInboundWebhookFieldMapping.d.ts +1 -1
- package/dist/esm/api/types/SequenceInboundWebhookMappingCheck.d.ts +7 -0
- package/dist/esm/api/types/SequenceInboundWebhookMappingCheck.js +2 -0
- package/dist/esm/api/types/SequenceInboundWebhookMappingCheckMissingFieldsItem.d.ts +5 -0
- package/dist/esm/api/types/SequenceInboundWebhookMappingCheckMissingFieldsItem.js +2 -0
- package/dist/esm/api/types/SequenceInboundWebhookMappingCheckStatus.d.ts +7 -0
- package/dist/esm/api/types/SequenceInboundWebhookMappingCheckStatus.js +7 -0
- package/dist/esm/api/types/SequenceStepInput.d.ts +2 -0
- package/dist/esm/api/types/index.d.ts +33 -0
- package/dist/esm/api/types/index.js +33 -0
- package/dist/esm/serialization/resources/analytics/types/ListCampaignRepliesLegacyResponse.d.ts +14 -0
- package/dist/esm/serialization/resources/analytics/types/ListCampaignRepliesLegacyResponse.js +10 -0
- package/dist/esm/serialization/resources/analytics/types/ListCampaignRepliesResponse.d.ts +14 -0
- package/dist/esm/serialization/resources/analytics/types/ListCampaignRepliesResponse.js +10 -0
- package/dist/esm/serialization/resources/analytics/types/index.d.ts +2 -0
- package/dist/esm/serialization/resources/analytics/types/index.js +2 -0
- package/dist/esm/serialization/resources/inApp/client/requests/CreateInAppCampaignRequest.d.ts +15 -0
- package/dist/esm/serialization/resources/inApp/client/requests/CreateInAppCampaignRequest.js +11 -0
- package/dist/esm/serialization/resources/inApp/client/requests/CreateInAppPlacementRequest.d.ts +10 -0
- package/dist/esm/serialization/resources/inApp/client/requests/CreateInAppPlacementRequest.js +8 -0
- package/dist/esm/serialization/resources/inApp/client/requests/DuplicateInAppCampaignRequest.d.ts +9 -0
- package/dist/esm/serialization/resources/inApp/client/requests/DuplicateInAppCampaignRequest.js +5 -0
- package/dist/esm/serialization/resources/inApp/client/requests/EstimateInAppCampaignRecipientsRequest.d.ts +9 -0
- package/dist/esm/serialization/resources/inApp/client/requests/EstimateInAppCampaignRecipientsRequest.js +5 -0
- package/dist/esm/serialization/resources/inApp/client/requests/SendInAppCampaignRequest.d.ts +9 -0
- package/dist/esm/serialization/resources/inApp/client/requests/SendInAppCampaignRequest.js +5 -0
- package/dist/esm/serialization/resources/inApp/client/requests/UpdateInAppCampaignRequest.d.ts +15 -0
- package/dist/esm/serialization/resources/inApp/client/requests/UpdateInAppCampaignRequest.js +11 -0
- package/dist/esm/serialization/resources/inApp/client/requests/index.d.ts +6 -0
- package/dist/esm/serialization/resources/inApp/client/requests/index.js +6 -0
- package/dist/esm/serialization/resources/inApp/types/CreateInAppCampaignRequestPriority.d.ts +7 -0
- package/dist/esm/serialization/resources/inApp/types/CreateInAppCampaignRequestPriority.js +3 -0
- package/dist/esm/serialization/resources/inApp/types/CreateInAppCampaignResponse.d.ts +11 -0
- package/dist/esm/serialization/resources/inApp/types/CreateInAppCampaignResponse.js +7 -0
- package/dist/esm/serialization/resources/inApp/types/CreateInAppPlacementResponse.d.ts +11 -0
- package/dist/esm/serialization/resources/inApp/types/CreateInAppPlacementResponse.js +7 -0
- package/dist/esm/serialization/resources/inApp/types/DeleteInAppPlacementResponse.d.ts +11 -0
- package/dist/esm/serialization/resources/inApp/types/DeleteInAppPlacementResponse.js +7 -0
- package/dist/esm/serialization/resources/inApp/types/DuplicateInAppCampaignResponse.d.ts +11 -0
- package/dist/esm/serialization/resources/inApp/types/DuplicateInAppCampaignResponse.js +7 -0
- package/dist/esm/serialization/resources/inApp/types/EstimateInAppCampaignRecipientsResponse.d.ts +10 -0
- package/dist/esm/serialization/resources/inApp/types/EstimateInAppCampaignRecipientsResponse.js +6 -0
- package/dist/esm/serialization/resources/inApp/types/GetInAppCampaignResponse.d.ts +13 -0
- package/dist/esm/serialization/resources/inApp/types/GetInAppCampaignResponse.js +9 -0
- package/dist/esm/serialization/resources/inApp/types/GetInAppCampaignStatsResponse.d.ts +17 -0
- package/dist/esm/serialization/resources/inApp/types/GetInAppCampaignStatsResponse.js +13 -0
- package/dist/esm/serialization/resources/inApp/types/GetInAppCampaignStatsResponseState.d.ts +7 -0
- package/dist/esm/serialization/resources/inApp/types/GetInAppCampaignStatsResponseState.js +3 -0
- package/dist/esm/serialization/resources/inApp/types/GetInAppCampaignStatsResponseStatus.d.ts +7 -0
- package/dist/esm/serialization/resources/inApp/types/GetInAppCampaignStatsResponseStatus.js +3 -0
- package/dist/esm/serialization/resources/inApp/types/GetInAppPlacementContentResponse.d.ts +12 -0
- package/dist/esm/serialization/resources/inApp/types/GetInAppPlacementContentResponse.js +8 -0
- package/dist/esm/serialization/resources/inApp/types/GetInAppPlacementContentResponsePlacementsItem.d.ts +11 -0
- package/dist/esm/serialization/resources/inApp/types/GetInAppPlacementContentResponsePlacementsItem.js +7 -0
- package/dist/esm/serialization/resources/inApp/types/GetInAppPlacementResponse.d.ts +11 -0
- package/dist/esm/serialization/resources/inApp/types/GetInAppPlacementResponse.js +7 -0
- package/dist/esm/serialization/resources/inApp/types/ListInAppCampaignsRequestStatus.d.ts +7 -0
- package/dist/esm/serialization/resources/inApp/types/ListInAppCampaignsRequestStatus.js +3 -0
- package/dist/esm/serialization/resources/inApp/types/ListInAppCampaignsResponse.d.ts +12 -0
- package/dist/esm/serialization/resources/inApp/types/ListInAppCampaignsResponse.js +8 -0
- package/dist/esm/serialization/resources/inApp/types/ListInAppMessagesRequestDeliver.d.ts +7 -0
- package/dist/esm/serialization/resources/inApp/types/ListInAppMessagesRequestDeliver.js +3 -0
- package/dist/esm/serialization/resources/inApp/types/ListInAppMessagesRequestKind.d.ts +1 -1
- package/dist/esm/serialization/resources/inApp/types/ListInAppMessagesRequestKind.js +1 -1
- package/dist/esm/serialization/resources/inApp/types/ListInAppPlacementsResponse.d.ts +11 -0
- package/dist/esm/serialization/resources/inApp/types/ListInAppPlacementsResponse.js +7 -0
- package/dist/esm/serialization/resources/inApp/types/SendInAppCampaignResponse.d.ts +12 -0
- package/dist/esm/serialization/resources/inApp/types/SendInAppCampaignResponse.js +8 -0
- package/dist/esm/serialization/resources/inApp/types/StopInAppCampaignResponse.d.ts +11 -0
- package/dist/esm/serialization/resources/inApp/types/StopInAppCampaignResponse.js +7 -0
- package/dist/esm/serialization/resources/inApp/types/UnscheduleInAppCampaignResponse.d.ts +11 -0
- package/dist/esm/serialization/resources/inApp/types/UnscheduleInAppCampaignResponse.js +7 -0
- package/dist/esm/serialization/resources/inApp/types/UpdateInAppCampaignRequestPriority.d.ts +7 -0
- package/dist/esm/serialization/resources/inApp/types/UpdateInAppCampaignRequestPriority.js +3 -0
- package/dist/esm/serialization/resources/inApp/types/UpdateInAppCampaignResponse.d.ts +11 -0
- package/dist/esm/serialization/resources/inApp/types/UpdateInAppCampaignResponse.js +7 -0
- package/dist/esm/serialization/resources/inApp/types/UpdateInAppPlacementResponse.d.ts +11 -0
- package/dist/esm/serialization/resources/inApp/types/UpdateInAppPlacementResponse.js +7 -0
- package/dist/esm/serialization/resources/inApp/types/index.d.ts +23 -0
- package/dist/esm/serialization/resources/inApp/types/index.js +23 -0
- package/dist/esm/serialization/resources/push/client/requests/CreatePushCampaignRequest.d.ts +2 -0
- package/dist/esm/serialization/resources/push/client/requests/CreatePushCampaignRequest.js +2 -0
- package/dist/esm/serialization/resources/push/client/requests/EndLiveActivityRequest.d.ts +1 -0
- package/dist/esm/serialization/resources/push/client/requests/EndLiveActivityRequest.js +1 -0
- package/dist/esm/serialization/resources/push/client/requests/EstimatePushCampaignRecipientsRequest.d.ts +1 -0
- package/dist/esm/serialization/resources/push/client/requests/EstimatePushCampaignRecipientsRequest.js +1 -0
- package/dist/esm/serialization/resources/push/client/requests/SendPushCampaignRequest.d.ts +4 -0
- package/dist/esm/serialization/resources/push/client/requests/SendPushCampaignRequest.js +4 -0
- package/dist/esm/serialization/resources/push/client/requests/StartLiveActivityRequest.d.ts +3 -0
- package/dist/esm/serialization/resources/push/client/requests/StartLiveActivityRequest.js +3 -0
- package/dist/esm/serialization/resources/push/client/requests/TranslatePushCampaignRequest.d.ts +10 -0
- package/dist/esm/serialization/resources/push/client/requests/TranslatePushCampaignRequest.js +6 -0
- package/dist/esm/serialization/resources/push/client/requests/TranslatePushContentRequest.d.ts +14 -0
- package/dist/esm/serialization/resources/push/client/requests/TranslatePushContentRequest.js +10 -0
- package/dist/esm/serialization/resources/push/client/requests/UpdateLiveActivityRequest.d.ts +1 -0
- package/dist/esm/serialization/resources/push/client/requests/UpdateLiveActivityRequest.js +1 -0
- package/dist/esm/serialization/resources/push/client/requests/UpdatePushCampaignRequest.d.ts +6 -0
- package/dist/esm/serialization/resources/push/client/requests/UpdatePushCampaignRequest.js +6 -0
- package/dist/esm/serialization/resources/push/client/requests/index.d.ts +2 -0
- package/dist/esm/serialization/resources/push/client/requests/index.js +2 -0
- package/dist/esm/serialization/resources/push/types/EstimatePushCampaignRecipientsResponse.d.ts +2 -0
- package/dist/esm/serialization/resources/push/types/EstimatePushCampaignRecipientsResponse.js +2 -0
- package/dist/esm/serialization/resources/push/types/EstimatePushCampaignRecipientsResponseTimingCoverage.d.ts +11 -0
- package/dist/esm/serialization/resources/push/types/EstimatePushCampaignRecipientsResponseTimingCoverage.js +7 -0
- package/dist/esm/serialization/resources/push/types/ListLiveActivitiesRequestPlatform.d.ts +7 -0
- package/dist/esm/serialization/resources/push/types/ListLiveActivitiesRequestPlatform.js +3 -0
- package/dist/esm/serialization/resources/push/types/TranslatePushCampaignResponse.d.ts +11 -0
- package/dist/esm/serialization/resources/push/types/TranslatePushCampaignResponse.js +9 -0
- package/dist/esm/serialization/resources/push/types/TranslatePushContentResponse.d.ts +11 -0
- package/dist/esm/serialization/resources/push/types/TranslatePushContentResponse.js +9 -0
- package/dist/esm/serialization/resources/push/types/index.d.ts +4 -0
- package/dist/esm/serialization/resources/push/types/index.js +4 -0
- package/dist/esm/serialization/resources/templates/types/GetLocalizationCoverageTemplatesResponse.d.ts +2 -0
- package/dist/esm/serialization/resources/templates/types/GetLocalizationCoverageTemplatesResponse.js +2 -0
- package/dist/esm/serialization/resources/templates/types/GetLocalizationCoverageTemplatesResponsePush.d.ts +11 -0
- package/dist/esm/serialization/resources/templates/types/GetLocalizationCoverageTemplatesResponsePush.js +7 -0
- package/dist/esm/serialization/resources/templates/types/GetLocalizationCoverageTemplatesResponsePushLocalesItem.d.ts +15 -0
- package/dist/esm/serialization/resources/templates/types/GetLocalizationCoverageTemplatesResponsePushLocalesItem.js +11 -0
- package/dist/esm/serialization/resources/templates/types/TranslateMissingLocalizationsTemplatesResponse.d.ts +2 -0
- package/dist/esm/serialization/resources/templates/types/TranslateMissingLocalizationsTemplatesResponse.js +2 -0
- package/dist/esm/serialization/resources/templates/types/index.d.ts +2 -0
- package/dist/esm/serialization/resources/templates/types/index.js +2 -0
- package/dist/esm/serialization/resources/webTrackingKeys/client/requests/MintIdentityWebTrackingKeysRequest.d.ts +2 -1
- package/dist/esm/serialization/resources/webTrackingKeys/client/requests/MintIdentityWebTrackingKeysRequest.js +2 -1
- package/dist/esm/serialization/resources/webTrackingKeys/types/MintIdentityWebTrackingKeysResponse.d.ts +2 -1
- package/dist/esm/serialization/resources/webTrackingKeys/types/MintIdentityWebTrackingKeysResponse.js +2 -1
- package/dist/esm/serialization/types/CampaignChannel.d.ts +1 -1
- package/dist/esm/serialization/types/CampaignChannel.js +1 -1
- package/dist/esm/serialization/types/CampaignReply.d.ts +19 -0
- package/dist/esm/serialization/types/CampaignReply.js +15 -0
- package/dist/esm/serialization/types/InAppCampaign.d.ts +26 -0
- package/dist/esm/serialization/types/InAppCampaign.js +24 -0
- package/dist/esm/serialization/types/InAppCampaignMessage.d.ts +29 -0
- package/dist/esm/serialization/types/InAppCampaignMessage.js +25 -0
- package/dist/esm/serialization/types/InAppCampaignMessageButtonsItem.d.ts +12 -0
- package/dist/esm/serialization/types/InAppCampaignMessageButtonsItem.js +8 -0
- package/dist/esm/serialization/types/InAppCampaignMessageButtonsItemAction.d.ts +7 -0
- package/dist/esm/serialization/types/InAppCampaignMessageButtonsItemAction.js +3 -0
- package/dist/esm/serialization/types/InAppCampaignMessageFormat.d.ts +7 -0
- package/dist/esm/serialization/types/InAppCampaignMessageFormat.js +3 -0
- package/dist/esm/serialization/types/InAppCampaignMessageImagePlacement.d.ts +7 -0
- package/dist/esm/serialization/types/InAppCampaignMessageImagePlacement.js +3 -0
- package/dist/esm/serialization/types/InAppCampaignMessageKind.d.ts +7 -0
- package/dist/esm/serialization/types/InAppCampaignMessageKind.js +3 -0
- package/dist/esm/serialization/types/InAppCampaignMessagePosition.d.ts +7 -0
- package/dist/esm/serialization/types/InAppCampaignMessagePosition.js +3 -0
- package/dist/esm/serialization/types/InAppCampaignPriority.d.ts +7 -0
- package/dist/esm/serialization/types/InAppCampaignPriority.js +3 -0
- package/dist/esm/serialization/types/InAppCampaignState.d.ts +7 -0
- package/dist/esm/serialization/types/InAppCampaignState.js +3 -0
- package/dist/esm/serialization/types/InAppCampaignStats.d.ts +17 -0
- package/dist/esm/serialization/types/InAppCampaignStats.js +13 -0
- package/dist/esm/serialization/types/InAppCampaignStatsButtonsItem.d.ts +10 -0
- package/dist/esm/serialization/types/InAppCampaignStatsButtonsItem.js +6 -0
- package/dist/esm/serialization/types/InAppCampaignStatus.d.ts +7 -0
- package/dist/esm/serialization/types/InAppCampaignStatus.js +3 -0
- package/dist/esm/serialization/types/InAppCampaignType.d.ts +7 -0
- package/dist/esm/serialization/types/InAppCampaignType.js +3 -0
- package/dist/esm/serialization/types/InAppMessage.d.ts +6 -0
- package/dist/esm/serialization/types/InAppMessage.js +6 -0
- package/dist/esm/serialization/types/InAppMessageKind.d.ts +1 -1
- package/dist/esm/serialization/types/InAppMessageKind.js +1 -1
- package/dist/esm/serialization/types/InAppMessageLayout.d.ts +7 -0
- package/dist/esm/serialization/types/InAppMessageLayout.js +3 -0
- package/dist/esm/serialization/types/InAppMessagePriority.d.ts +7 -0
- package/dist/esm/serialization/types/InAppMessagePriority.js +3 -0
- package/dist/esm/serialization/types/InAppPlacement.d.ts +15 -0
- package/dist/esm/serialization/types/InAppPlacement.js +11 -0
- package/dist/esm/serialization/types/InAppPlacementInput.d.ts +12 -0
- package/dist/esm/serialization/types/InAppPlacementInput.js +8 -0
- package/dist/esm/serialization/types/InAppPlacementStats.d.ts +14 -0
- package/dist/esm/serialization/types/InAppPlacementStats.js +10 -0
- package/dist/esm/serialization/types/InAppPlacementWithStats.d.ts +11 -0
- package/dist/esm/serialization/types/InAppPlacementWithStats.js +9 -0
- package/dist/esm/serialization/types/LiveActivityDispatch.d.ts +3 -0
- package/dist/esm/serialization/types/LiveActivityDispatch.js +3 -0
- package/dist/esm/serialization/types/LiveActivityDispatchPlatforms.d.ts +10 -0
- package/dist/esm/serialization/types/LiveActivityDispatchPlatforms.js +6 -0
- package/dist/esm/serialization/types/LiveActivityToken.d.ts +2 -0
- package/dist/esm/serialization/types/LiveActivityToken.js +2 -0
- package/dist/esm/serialization/types/LiveActivityTokenPlatform.d.ts +7 -0
- package/dist/esm/serialization/types/LiveActivityTokenPlatform.js +3 -0
- package/dist/esm/serialization/types/PushCampaign.d.ts +4 -0
- package/dist/esm/serialization/types/PushCampaign.js +4 -0
- package/dist/esm/serialization/types/PushCampaignContent.d.ts +2 -0
- package/dist/esm/serialization/types/PushCampaignContent.js +2 -0
- package/dist/esm/serialization/types/PushLocalization.d.ts +16 -0
- package/dist/esm/serialization/types/PushLocalization.js +12 -0
- package/dist/esm/serialization/types/PushLocalizationList.d.ts +8 -0
- package/dist/esm/serialization/types/PushLocalizationList.js +4 -0
- package/dist/esm/serialization/types/PushLocalizationOrigin.d.ts +7 -0
- package/dist/esm/serialization/types/PushLocalizationOrigin.js +3 -0
- package/dist/esm/serialization/types/PushTranslationResult.d.ts +15 -0
- package/dist/esm/serialization/types/PushTranslationResult.js +11 -0
- package/dist/esm/serialization/types/PushTranslationResultFailedItem.d.ts +10 -0
- package/dist/esm/serialization/types/PushTranslationResultFailedItem.js +6 -0
- package/dist/esm/serialization/types/PushTranslationResultSkippedItem.d.ts +11 -0
- package/dist/esm/serialization/types/PushTranslationResultSkippedItem.js +7 -0
- package/dist/esm/serialization/types/PushTranslationResultSkippedItemReason.d.ts +7 -0
- package/dist/esm/serialization/types/PushTranslationResultSkippedItemReason.js +3 -0
- package/dist/esm/serialization/types/SequenceBranchPathStepInput.d.ts +2 -0
- package/dist/esm/serialization/types/SequenceBranchPathStepInput.js +2 -0
- package/dist/esm/serialization/types/SequenceInboundWebhook.d.ts +2 -0
- package/dist/esm/serialization/types/SequenceInboundWebhook.js +2 -0
- package/dist/esm/serialization/types/SequenceInboundWebhookMappingCheck.d.ts +12 -0
- package/dist/esm/serialization/types/SequenceInboundWebhookMappingCheck.js +8 -0
- package/dist/esm/serialization/types/SequenceInboundWebhookMappingCheckMissingFieldsItem.d.ts +10 -0
- package/dist/esm/serialization/types/SequenceInboundWebhookMappingCheckMissingFieldsItem.js +6 -0
- package/dist/esm/serialization/types/SequenceInboundWebhookMappingCheckStatus.d.ts +7 -0
- package/dist/esm/serialization/types/SequenceInboundWebhookMappingCheckStatus.js +3 -0
- package/dist/esm/serialization/types/SequenceStepInput.d.ts +2 -0
- package/dist/esm/serialization/types/SequenceStepInput.js +2 -0
- package/dist/esm/serialization/types/index.d.ts +33 -0
- package/dist/esm/serialization/types/index.js +33 -0
- package/package.json +1 -1
|
@@ -1,16 +1,39 @@
|
|
|
1
|
+
export * from "./CreateInAppCampaignRequestPriority.js";
|
|
2
|
+
export * from "./CreateInAppCampaignResponse.js";
|
|
3
|
+
export * from "./CreateInAppPlacementResponse.js";
|
|
1
4
|
export * from "./DeleteInAppMessageResponse.js";
|
|
5
|
+
export * from "./DeleteInAppPlacementResponse.js";
|
|
6
|
+
export * from "./DuplicateInAppCampaignResponse.js";
|
|
7
|
+
export * from "./EstimateInAppCampaignRecipientsResponse.js";
|
|
8
|
+
export * from "./GetInAppCampaignResponse.js";
|
|
9
|
+
export * from "./GetInAppCampaignStatsResponse.js";
|
|
10
|
+
export * from "./GetInAppCampaignStatsResponseState.js";
|
|
11
|
+
export * from "./GetInAppCampaignStatsResponseStatus.js";
|
|
12
|
+
export * from "./GetInAppPlacementContentResponse.js";
|
|
13
|
+
export * from "./GetInAppPlacementContentResponsePlacementsItem.js";
|
|
14
|
+
export * from "./GetInAppPlacementResponse.js";
|
|
2
15
|
export * from "./GetInAppStepStatsResponse.js";
|
|
3
16
|
export * from "./GetInAppStepStatsResponseStats.js";
|
|
17
|
+
export * from "./ListInAppCampaignsRequestStatus.js";
|
|
18
|
+
export * from "./ListInAppCampaignsResponse.js";
|
|
19
|
+
export * from "./ListInAppMessagesRequestDeliver.js";
|
|
4
20
|
export * from "./ListInAppMessagesRequestKind.js";
|
|
5
21
|
export * from "./ListInAppMessagesRequestStatus.js";
|
|
6
22
|
export * from "./ListInAppMessagesResponse.js";
|
|
7
23
|
export * from "./ListInAppMessagesResponseStatus.js";
|
|
24
|
+
export * from "./ListInAppPlacementsResponse.js";
|
|
8
25
|
export * from "./ListInAppTemplatesResponse.js";
|
|
9
26
|
export * from "./ListInAppTemplatesResponseTemplatesItem.js";
|
|
10
27
|
export * from "./ListInAppTemplatesResponseTemplatesItemCategory.js";
|
|
11
28
|
export * from "./RecordInAppEventRequestPushPermission.js";
|
|
12
29
|
export * from "./RecordInAppEventRequestType.js";
|
|
13
30
|
export * from "./RecordInAppEventResponse.js";
|
|
31
|
+
export * from "./SendInAppCampaignResponse.js";
|
|
32
|
+
export * from "./StopInAppCampaignResponse.js";
|
|
33
|
+
export * from "./UnscheduleInAppCampaignResponse.js";
|
|
34
|
+
export * from "./UpdateInAppCampaignRequestPriority.js";
|
|
35
|
+
export * from "./UpdateInAppCampaignResponse.js";
|
|
36
|
+
export * from "./UpdateInAppPlacementResponse.js";
|
|
14
37
|
export * from "./ValidateInAppHtmlResponse.js";
|
|
15
38
|
export * from "./ValidateInAppHtmlResponseConversionsItem.js";
|
|
16
39
|
export * from "./ValidateInAppHtmlResponseWarningsItem.js";
|
|
@@ -1,16 +1,39 @@
|
|
|
1
|
+
export * from "./CreateInAppCampaignRequestPriority.js";
|
|
2
|
+
export * from "./CreateInAppCampaignResponse.js";
|
|
3
|
+
export * from "./CreateInAppPlacementResponse.js";
|
|
1
4
|
export * from "./DeleteInAppMessageResponse.js";
|
|
5
|
+
export * from "./DeleteInAppPlacementResponse.js";
|
|
6
|
+
export * from "./DuplicateInAppCampaignResponse.js";
|
|
7
|
+
export * from "./EstimateInAppCampaignRecipientsResponse.js";
|
|
8
|
+
export * from "./GetInAppCampaignResponse.js";
|
|
9
|
+
export * from "./GetInAppCampaignStatsResponse.js";
|
|
10
|
+
export * from "./GetInAppCampaignStatsResponseState.js";
|
|
11
|
+
export * from "./GetInAppCampaignStatsResponseStatus.js";
|
|
12
|
+
export * from "./GetInAppPlacementContentResponse.js";
|
|
13
|
+
export * from "./GetInAppPlacementContentResponsePlacementsItem.js";
|
|
14
|
+
export * from "./GetInAppPlacementResponse.js";
|
|
2
15
|
export * from "./GetInAppStepStatsResponse.js";
|
|
3
16
|
export * from "./GetInAppStepStatsResponseStats.js";
|
|
17
|
+
export * from "./ListInAppCampaignsRequestStatus.js";
|
|
18
|
+
export * from "./ListInAppCampaignsResponse.js";
|
|
19
|
+
export * from "./ListInAppMessagesRequestDeliver.js";
|
|
4
20
|
export * from "./ListInAppMessagesRequestKind.js";
|
|
5
21
|
export * from "./ListInAppMessagesRequestStatus.js";
|
|
6
22
|
export * from "./ListInAppMessagesResponse.js";
|
|
7
23
|
export * from "./ListInAppMessagesResponseStatus.js";
|
|
24
|
+
export * from "./ListInAppPlacementsResponse.js";
|
|
8
25
|
export * from "./ListInAppTemplatesResponse.js";
|
|
9
26
|
export * from "./ListInAppTemplatesResponseTemplatesItem.js";
|
|
10
27
|
export * from "./ListInAppTemplatesResponseTemplatesItemCategory.js";
|
|
11
28
|
export * from "./RecordInAppEventRequestPushPermission.js";
|
|
12
29
|
export * from "./RecordInAppEventRequestType.js";
|
|
13
30
|
export * from "./RecordInAppEventResponse.js";
|
|
31
|
+
export * from "./SendInAppCampaignResponse.js";
|
|
32
|
+
export * from "./StopInAppCampaignResponse.js";
|
|
33
|
+
export * from "./UnscheduleInAppCampaignResponse.js";
|
|
34
|
+
export * from "./UpdateInAppCampaignRequestPriority.js";
|
|
35
|
+
export * from "./UpdateInAppCampaignResponse.js";
|
|
36
|
+
export * from "./UpdateInAppPlacementResponse.js";
|
|
14
37
|
export * from "./ValidateInAppHtmlResponse.js";
|
|
15
38
|
export * from "./ValidateInAppHtmlResponseConversionsItem.js";
|
|
16
39
|
export * from "./ValidateInAppHtmlResponseWarningsItem.js";
|
|
@@ -188,7 +188,7 @@ export declare class PushClient {
|
|
|
188
188
|
duplicatePushCampaign(request: Sequenzy.DuplicatePushCampaignRequest, requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.DuplicatePushCampaignResponse>;
|
|
189
189
|
private __duplicatePushCampaign;
|
|
190
190
|
/**
|
|
191
|
-
* Ends the contact's activity on every device running it. Tokens are marked ended as APNs accepts the push, so an end that failed can be sent again. Without dismissalDate iOS keeps an ended activity on the Lock Screen for up to four hours. Requires the transactional:send scope.
|
|
191
|
+
* Ends the contact's activity on every device running it, iOS and Android, or with broadcast true on every signed-in device running the activityId. Tokens are marked ended as APNs or FCM accepts the push, so an end that failed can be sent again. Without dismissalDate iOS keeps an ended activity on the Lock Screen, and Android keeps the final notification, for up to four hours. Requires the transactional:send scope; broadcast also requires campaigns:send.
|
|
192
192
|
*
|
|
193
193
|
* @param {Sequenzy.EndLiveActivityRequest} request
|
|
194
194
|
* @param {PushClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -331,7 +331,7 @@ export declare class PushClient {
|
|
|
331
331
|
getPushSettings(requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.GetPushSettingsResponse>;
|
|
332
332
|
private __getPushSettings;
|
|
333
333
|
/**
|
|
334
|
-
* Lists ActivityKit tokens the Sequenzy iOS SDK reported, with a summary per activity type (for the contact when email or subscriberId is given). push_to_start tokens can start an activity of their type; update tokens address one running activity. Tokens are masked. Requires the subscribers:read scope.
|
|
334
|
+
* Lists ActivityKit tokens the Sequenzy iOS SDK reported and Android Live Update tokens the Sequenzy Android SDK reported, with a summary per activity type (for the contact when email or subscriberId is given, and for the platform when platform is given). push_to_start tokens can start an activity of their type; update tokens address one running activity. Tokens are masked. Requires the subscribers:read scope.
|
|
335
335
|
*
|
|
336
336
|
* @param {Sequenzy.ListLiveActivitiesRequest} request
|
|
337
337
|
* @param {PushClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -424,7 +424,7 @@ export declare class PushClient {
|
|
|
424
424
|
registerPushDevice(request: Sequenzy.RegisterPushDeviceRequest, requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.RegisterPushDeviceResponse>;
|
|
425
425
|
private __registerPushDevice;
|
|
426
426
|
/**
|
|
427
|
-
* Sends a draft or scheduled push campaign now, or schedules it when scheduledAt is a future ISO 8601 time. Requires content, an audience with at least one contact that has an active device, and at least one selected platform set up in push settings. The audience is re-evaluated when delivery starts. Requires the campaigns:send scope.
|
|
427
|
+
* Sends a draft or scheduled push campaign now, or schedules it when scheduledAt is a future ISO 8601 time. Requires content, an audience with at least one contact that has an active device, and at least one selected platform set up in push settings. The audience is re-evaluated when delivery starts. Optionally deliver in each contact's local time (sendInRecipientTimezone with scheduledAt and scheduledTimezone) or at each contact's optimal hour (sendTimeOptimization); omitted timing fields keep the values saved on the campaign. Push campaigns have no spreadOverHours. Requires the campaigns:send scope.
|
|
428
428
|
*
|
|
429
429
|
* @param {Sequenzy.SendPushCampaignRequest} request
|
|
430
430
|
* @param {PushClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -509,7 +509,7 @@ export declare class PushClient {
|
|
|
509
509
|
setFcmCredentials(request: Sequenzy.SetFcmCredentialsRequest, requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.SetFcmCredentialsResponse>;
|
|
510
510
|
private __setFcmCredentials;
|
|
511
511
|
/**
|
|
512
|
-
* Starts
|
|
512
|
+
* Starts a Live Activity remotely on every device that reported a push-to-start token for activityType, on iOS 17.2+ through APNs and as an Android Live Update through FCM on apps that observe the same type with the Sequenzy Android SDK (promoted on Android 16, an ongoing notification on earlier versions). Target one contact with email or subscriberId, or everyone in a segment, list or tag with exactly one of segmentId, listId or tag (up to 100,000 devices on platforms with push credentials; contacts the app signed in with Sequenzy.identify, whatever their email status). When email or subscriberId is present, segmentId, listId and tag are ignored. All copies share the activityId, so one update or end with broadcast true reaches every device running it. Only platforms with push credentials are sent to; the request fails with 400 when neither APNs nor FCM is set up. Sequenzy adds sequenzy.activityId to the attributes so the iOS SDK can report the new activity's update token under your id. Returns 202 with tokenCount 0, sending nothing, when no device can start it. Calling it again starts another copy. Requires the transactional:send scope; a segment, list or tag also requires campaigns:send.
|
|
513
513
|
*
|
|
514
514
|
* @param {Sequenzy.StartLiveActivityRequest} request
|
|
515
515
|
* @param {PushClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -557,6 +557,46 @@ export declare class PushClient {
|
|
|
557
557
|
*/
|
|
558
558
|
startPushImport(request: Sequenzy.StartPushImportRequest, requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.PushImportResponse>;
|
|
559
559
|
private __startPushImport;
|
|
560
|
+
/**
|
|
561
|
+
* Translates a draft or scheduled push campaign's title and message with AI into the workspace's languages (Settings > Localization) and saves the versions. By default it translates languages with no version and AI versions whose main copy changed since; versions a person wrote are kept unless overwrite is true. Merge tags are kept exactly and their fallback text is translated. Runs inline (a few seconds). The save is skipped with 409 if the campaign changed while translating. Requires the campaigns:write scope.
|
|
562
|
+
*
|
|
563
|
+
* @param {Sequenzy.TranslatePushCampaignRequest} request
|
|
564
|
+
* @param {PushClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
565
|
+
*
|
|
566
|
+
* @throws {@link Sequenzy.BadRequestError}
|
|
567
|
+
* @throws {@link Sequenzy.UnauthorizedError}
|
|
568
|
+
* @throws {@link Sequenzy.ForbiddenError}
|
|
569
|
+
* @throws {@link Sequenzy.NotFoundError}
|
|
570
|
+
* @throws {@link Sequenzy.ConflictError}
|
|
571
|
+
* @throws {@link Sequenzy.InternalServerError}
|
|
572
|
+
* @throws {@link errors.SequenzyError}
|
|
573
|
+
* @throws {@link errors.SequenzyTimeoutError}
|
|
574
|
+
*
|
|
575
|
+
* @example
|
|
576
|
+
* await client.push.translatePushCampaign({
|
|
577
|
+
* campaignId: "campaignId"
|
|
578
|
+
* })
|
|
579
|
+
*/
|
|
580
|
+
translatePushCampaign(request: Sequenzy.TranslatePushCampaignRequest, requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.TranslatePushCampaignResponse>;
|
|
581
|
+
private __translatePushCampaign;
|
|
582
|
+
/**
|
|
583
|
+
* Translates a push title and message with AI into the workspace's languages and returns the versions without saving anything. Use the result as a sequence push step's localizations (nodeUpdates changes.localizations) or a push campaign's. Pass existing versions in localizations to keep them; the same rules as Translate a push campaign decide which languages are translated. Requires the templates:write scope, like the other content generation endpoints.
|
|
584
|
+
*
|
|
585
|
+
* @param {Sequenzy.TranslatePushContentRequest} request
|
|
586
|
+
* @param {PushClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
587
|
+
*
|
|
588
|
+
* @throws {@link Sequenzy.BadRequestError}
|
|
589
|
+
* @throws {@link Sequenzy.UnauthorizedError}
|
|
590
|
+
* @throws {@link Sequenzy.ForbiddenError}
|
|
591
|
+
* @throws {@link Sequenzy.InternalServerError}
|
|
592
|
+
* @throws {@link errors.SequenzyError}
|
|
593
|
+
* @throws {@link errors.SequenzyTimeoutError}
|
|
594
|
+
*
|
|
595
|
+
* @example
|
|
596
|
+
* await client.push.translatePushContent()
|
|
597
|
+
*/
|
|
598
|
+
translatePushContent(request?: Sequenzy.TranslatePushContentRequest, requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.TranslatePushContentResponse>;
|
|
599
|
+
private __translatePushContent;
|
|
560
600
|
/**
|
|
561
601
|
* Moves a scheduled push campaign back to draft. The queued send is discarded. Requires the campaigns:send scope.
|
|
562
602
|
*
|
|
@@ -580,7 +620,7 @@ export declare class PushClient {
|
|
|
580
620
|
unschedulePushCampaign(request: Sequenzy.UnschedulePushCampaignRequest, requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.UnschedulePushCampaignResponse>;
|
|
581
621
|
private __unschedulePushCampaign;
|
|
582
622
|
/**
|
|
583
|
-
* Sends new content state to every running copy of the contact's activity (one per device that reported an update token). Each request carries a fixed timestamp, so a retried or late delivery never replaces newer content. Returns tokenCount 0 when no running copy has reported a token. Requires the transactional:send scope.
|
|
623
|
+
* Sends new content state to every running copy of the contact's activity (one per device that reported an update token, iOS and Android), or with broadcast true to every signed-in device running the activityId, such as an activity started for a segment, list or tag. Each request carries a fixed timestamp, so a retried or late delivery never replaces newer content on either platform. Returns tokenCount 0 when no running copy has reported a token. Requires the transactional:send scope; broadcast also requires campaigns:send.
|
|
584
624
|
*
|
|
585
625
|
* @param {Sequenzy.UpdateLiveActivityRequest} request
|
|
586
626
|
* @param {PushClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -606,7 +646,7 @@ export declare class PushClient {
|
|
|
606
646
|
updateLiveActivity(request: Sequenzy.UpdateLiveActivityRequest, requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.LiveActivityDispatch>;
|
|
607
647
|
private __updateLiveActivity;
|
|
608
648
|
/**
|
|
609
|
-
* Updates a draft or scheduled push campaign. Only the fields you pass change; content fields merge over the stored content. A scheduled campaign keeps its schedule and cannot be cleared to empty content. Requires the campaigns:write scope.
|
|
649
|
+
* Updates a draft or scheduled push campaign. Only the fields you pass change; content fields merge over the stored content. A scheduled campaign keeps its schedule and cannot be cleared to empty content. Delivery timing (sendInRecipientTimezone, scheduledTimezone, sendTimeOptimization, sendTimeWindowHours) saves on drafts; changing it on a scheduled campaign returns 409, so reschedule with the send endpoint instead. Requires the campaigns:write scope.
|
|
610
650
|
*
|
|
611
651
|
* @param {Sequenzy.UpdatePushCampaignRequest} request
|
|
612
652
|
* @param {PushClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -662,7 +662,7 @@ export class PushClient {
|
|
|
662
662
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/push/campaigns/{campaignId}/duplicate");
|
|
663
663
|
}
|
|
664
664
|
/**
|
|
665
|
-
* Ends the contact's activity on every device running it. Tokens are marked ended as APNs accepts the push, so an end that failed can be sent again. Without dismissalDate iOS keeps an ended activity on the Lock Screen for up to four hours. Requires the transactional:send scope.
|
|
665
|
+
* Ends the contact's activity on every device running it, iOS and Android, or with broadcast true on every signed-in device running the activityId. Tokens are marked ended as APNs or FCM accepts the push, so an end that failed can be sent again. Without dismissalDate iOS keeps an ended activity on the Lock Screen, and Android keeps the final notification, for up to four hours. Requires the transactional:send scope; broadcast also requires campaigns:send.
|
|
666
666
|
*
|
|
667
667
|
* @param {Sequenzy.EndLiveActivityRequest} request
|
|
668
668
|
* @param {PushClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -1177,7 +1177,7 @@ export class PushClient {
|
|
|
1177
1177
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/push/settings");
|
|
1178
1178
|
}
|
|
1179
1179
|
/**
|
|
1180
|
-
* Lists ActivityKit tokens the Sequenzy iOS SDK reported, with a summary per activity type (for the contact when email or subscriberId is given). push_to_start tokens can start an activity of their type; update tokens address one running activity. Tokens are masked. Requires the subscribers:read scope.
|
|
1180
|
+
* Lists ActivityKit tokens the Sequenzy iOS SDK reported and Android Live Update tokens the Sequenzy Android SDK reported, with a summary per activity type (for the contact when email or subscriberId is given, and for the platform when platform is given). push_to_start tokens can start an activity of their type; update tokens address one running activity. Tokens are masked. Requires the subscribers:read scope.
|
|
1181
1181
|
*
|
|
1182
1182
|
* @param {Sequenzy.ListLiveActivitiesRequest} request
|
|
1183
1183
|
* @param {PushClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -1196,7 +1196,7 @@ export class PushClient {
|
|
|
1196
1196
|
return core.HttpResponsePromise.fromPromise(this.__listLiveActivities(request, requestOptions));
|
|
1197
1197
|
}
|
|
1198
1198
|
async __listLiveActivities(request = {}, requestOptions) {
|
|
1199
|
-
const { activityId, activityType, cursor, email, kind, limit, status, subscriberId } = request;
|
|
1199
|
+
const { activityId, activityType, cursor, email, kind, limit, platform, status, subscriberId } = request;
|
|
1200
1200
|
const _queryParams = {
|
|
1201
1201
|
activityId,
|
|
1202
1202
|
activityType,
|
|
@@ -1209,6 +1209,12 @@ export class PushClient {
|
|
|
1209
1209
|
})
|
|
1210
1210
|
: undefined,
|
|
1211
1211
|
limit,
|
|
1212
|
+
platform: platform != null
|
|
1213
|
+
? serializers.ListLiveActivitiesRequestPlatform.jsonOrThrow(platform, {
|
|
1214
|
+
unrecognizedObjectKeys: "strip",
|
|
1215
|
+
omitUndefined: true,
|
|
1216
|
+
})
|
|
1217
|
+
: undefined,
|
|
1212
1218
|
status: status != null
|
|
1213
1219
|
? serializers.ListLiveActivitiesRequestStatus.jsonOrThrow(status, {
|
|
1214
1220
|
unrecognizedObjectKeys: "strip",
|
|
@@ -1592,7 +1598,7 @@ export class PushClient {
|
|
|
1592
1598
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/push/devices");
|
|
1593
1599
|
}
|
|
1594
1600
|
/**
|
|
1595
|
-
* Sends a draft or scheduled push campaign now, or schedules it when scheduledAt is a future ISO 8601 time. Requires content, an audience with at least one contact that has an active device, and at least one selected platform set up in push settings. The audience is re-evaluated when delivery starts. Requires the campaigns:send scope.
|
|
1601
|
+
* Sends a draft or scheduled push campaign now, or schedules it when scheduledAt is a future ISO 8601 time. Requires content, an audience with at least one contact that has an active device, and at least one selected platform set up in push settings. The audience is re-evaluated when delivery starts. Optionally deliver in each contact's local time (sendInRecipientTimezone with scheduledAt and scheduledTimezone) or at each contact's optimal hour (sendTimeOptimization); omitted timing fields keep the values saved on the campaign. Push campaigns have no spreadOverHours. Requires the campaigns:send scope.
|
|
1596
1602
|
*
|
|
1597
1603
|
* @param {Sequenzy.SendPushCampaignRequest} request
|
|
1598
1604
|
* @param {PushClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -1906,7 +1912,7 @@ export class PushClient {
|
|
|
1906
1912
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "PUT", "/push/settings/android");
|
|
1907
1913
|
}
|
|
1908
1914
|
/**
|
|
1909
|
-
* Starts
|
|
1915
|
+
* Starts a Live Activity remotely on every device that reported a push-to-start token for activityType, on iOS 17.2+ through APNs and as an Android Live Update through FCM on apps that observe the same type with the Sequenzy Android SDK (promoted on Android 16, an ongoing notification on earlier versions). Target one contact with email or subscriberId, or everyone in a segment, list or tag with exactly one of segmentId, listId or tag (up to 100,000 devices on platforms with push credentials; contacts the app signed in with Sequenzy.identify, whatever their email status). When email or subscriberId is present, segmentId, listId and tag are ignored. All copies share the activityId, so one update or end with broadcast true reaches every device running it. Only platforms with push credentials are sent to; the request fails with 400 when neither APNs nor FCM is set up. Sequenzy adds sequenzy.activityId to the attributes so the iOS SDK can report the new activity's update token under your id. Returns 202 with tokenCount 0, sending nothing, when no device can start it. Calling it again starts another copy. Requires the transactional:send scope; a segment, list or tag also requires campaigns:send.
|
|
1910
1916
|
*
|
|
1911
1917
|
* @param {Sequenzy.StartLiveActivityRequest} request
|
|
1912
1918
|
* @param {PushClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -2065,6 +2071,161 @@ export class PushClient {
|
|
|
2065
2071
|
}
|
|
2066
2072
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/push/imports/{importId}/start");
|
|
2067
2073
|
}
|
|
2074
|
+
/**
|
|
2075
|
+
* Translates a draft or scheduled push campaign's title and message with AI into the workspace's languages (Settings > Localization) and saves the versions. By default it translates languages with no version and AI versions whose main copy changed since; versions a person wrote are kept unless overwrite is true. Merge tags are kept exactly and their fallback text is translated. Runs inline (a few seconds). The save is skipped with 409 if the campaign changed while translating. Requires the campaigns:write scope.
|
|
2076
|
+
*
|
|
2077
|
+
* @param {Sequenzy.TranslatePushCampaignRequest} request
|
|
2078
|
+
* @param {PushClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2079
|
+
*
|
|
2080
|
+
* @throws {@link Sequenzy.BadRequestError}
|
|
2081
|
+
* @throws {@link Sequenzy.UnauthorizedError}
|
|
2082
|
+
* @throws {@link Sequenzy.ForbiddenError}
|
|
2083
|
+
* @throws {@link Sequenzy.NotFoundError}
|
|
2084
|
+
* @throws {@link Sequenzy.ConflictError}
|
|
2085
|
+
* @throws {@link Sequenzy.InternalServerError}
|
|
2086
|
+
* @throws {@link errors.SequenzyError}
|
|
2087
|
+
* @throws {@link errors.SequenzyTimeoutError}
|
|
2088
|
+
*
|
|
2089
|
+
* @example
|
|
2090
|
+
* await client.push.translatePushCampaign({
|
|
2091
|
+
* campaignId: "campaignId"
|
|
2092
|
+
* })
|
|
2093
|
+
*/
|
|
2094
|
+
translatePushCampaign(request, requestOptions) {
|
|
2095
|
+
return core.HttpResponsePromise.fromPromise(this.__translatePushCampaign(request, requestOptions));
|
|
2096
|
+
}
|
|
2097
|
+
async __translatePushCampaign(request, requestOptions) {
|
|
2098
|
+
const { campaignId, ..._body } = request;
|
|
2099
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
2100
|
+
const _headers = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
2101
|
+
const _response = await core.fetcher({
|
|
2102
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
2103
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
2104
|
+
environments.SequenzyEnvironment.Default, `push/campaigns/${core.url.encodePathParam(campaignId)}/translate`),
|
|
2105
|
+
method: "POST",
|
|
2106
|
+
headers: _headers,
|
|
2107
|
+
contentType: "application/json",
|
|
2108
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
2109
|
+
requestType: "json",
|
|
2110
|
+
body: mergeAdditionalBodyParameters(serializers.TranslatePushCampaignRequest.jsonOrThrow(_body, {
|
|
2111
|
+
unrecognizedObjectKeys: "strip",
|
|
2112
|
+
omitUndefined: true,
|
|
2113
|
+
}), requestOptions?.additionalBodyParameters),
|
|
2114
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
2115
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
2116
|
+
abortSignal: requestOptions?.abortSignal,
|
|
2117
|
+
fetchFn: this._options?.fetch,
|
|
2118
|
+
logging: this._options.logging,
|
|
2119
|
+
});
|
|
2120
|
+
if (_response.ok) {
|
|
2121
|
+
return {
|
|
2122
|
+
data: serializers.TranslatePushCampaignResponse.parseOrThrow(_response.body, {
|
|
2123
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2124
|
+
allowUnrecognizedUnionMembers: true,
|
|
2125
|
+
allowUnrecognizedEnumValues: true,
|
|
2126
|
+
skipValidation: true,
|
|
2127
|
+
breadcrumbsPrefix: ["response"],
|
|
2128
|
+
}),
|
|
2129
|
+
rawResponse: _response.rawResponse,
|
|
2130
|
+
};
|
|
2131
|
+
}
|
|
2132
|
+
if (_response.error.reason === "status-code") {
|
|
2133
|
+
switch (_response.error.statusCode) {
|
|
2134
|
+
case 400:
|
|
2135
|
+
throw new Sequenzy.BadRequestError(_response.error.body, _response.rawResponse);
|
|
2136
|
+
case 401:
|
|
2137
|
+
throw new Sequenzy.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
2138
|
+
case 403:
|
|
2139
|
+
throw new Sequenzy.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
2140
|
+
case 404:
|
|
2141
|
+
throw new Sequenzy.NotFoundError(_response.error.body, _response.rawResponse);
|
|
2142
|
+
case 409:
|
|
2143
|
+
throw new Sequenzy.ConflictError(_response.error.body, _response.rawResponse);
|
|
2144
|
+
case 500:
|
|
2145
|
+
throw new Sequenzy.InternalServerError(_response.error.body, _response.rawResponse);
|
|
2146
|
+
default:
|
|
2147
|
+
throw new errors.SequenzyError({
|
|
2148
|
+
statusCode: _response.error.statusCode,
|
|
2149
|
+
body: _response.error.body,
|
|
2150
|
+
rawResponse: _response.rawResponse,
|
|
2151
|
+
});
|
|
2152
|
+
}
|
|
2153
|
+
}
|
|
2154
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/push/campaigns/{campaignId}/translate");
|
|
2155
|
+
}
|
|
2156
|
+
/**
|
|
2157
|
+
* Translates a push title and message with AI into the workspace's languages and returns the versions without saving anything. Use the result as a sequence push step's localizations (nodeUpdates changes.localizations) or a push campaign's. Pass existing versions in localizations to keep them; the same rules as Translate a push campaign decide which languages are translated. Requires the templates:write scope, like the other content generation endpoints.
|
|
2158
|
+
*
|
|
2159
|
+
* @param {Sequenzy.TranslatePushContentRequest} request
|
|
2160
|
+
* @param {PushClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2161
|
+
*
|
|
2162
|
+
* @throws {@link Sequenzy.BadRequestError}
|
|
2163
|
+
* @throws {@link Sequenzy.UnauthorizedError}
|
|
2164
|
+
* @throws {@link Sequenzy.ForbiddenError}
|
|
2165
|
+
* @throws {@link Sequenzy.InternalServerError}
|
|
2166
|
+
* @throws {@link errors.SequenzyError}
|
|
2167
|
+
* @throws {@link errors.SequenzyTimeoutError}
|
|
2168
|
+
*
|
|
2169
|
+
* @example
|
|
2170
|
+
* await client.push.translatePushContent()
|
|
2171
|
+
*/
|
|
2172
|
+
translatePushContent(request = {}, requestOptions) {
|
|
2173
|
+
return core.HttpResponsePromise.fromPromise(this.__translatePushContent(request, requestOptions));
|
|
2174
|
+
}
|
|
2175
|
+
async __translatePushContent(request = {}, requestOptions) {
|
|
2176
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
2177
|
+
const _headers = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
2178
|
+
const _response = await core.fetcher({
|
|
2179
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
2180
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
2181
|
+
environments.SequenzyEnvironment.Default, "push/translate"),
|
|
2182
|
+
method: "POST",
|
|
2183
|
+
headers: _headers,
|
|
2184
|
+
contentType: "application/json",
|
|
2185
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
2186
|
+
requestType: "json",
|
|
2187
|
+
body: mergeAdditionalBodyParameters(serializers.TranslatePushContentRequest.jsonOrThrow(request, {
|
|
2188
|
+
unrecognizedObjectKeys: "strip",
|
|
2189
|
+
omitUndefined: true,
|
|
2190
|
+
}), requestOptions?.additionalBodyParameters),
|
|
2191
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
2192
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
2193
|
+
abortSignal: requestOptions?.abortSignal,
|
|
2194
|
+
fetchFn: this._options?.fetch,
|
|
2195
|
+
logging: this._options.logging,
|
|
2196
|
+
});
|
|
2197
|
+
if (_response.ok) {
|
|
2198
|
+
return {
|
|
2199
|
+
data: serializers.TranslatePushContentResponse.parseOrThrow(_response.body, {
|
|
2200
|
+
unrecognizedObjectKeys: "passthrough",
|
|
2201
|
+
allowUnrecognizedUnionMembers: true,
|
|
2202
|
+
allowUnrecognizedEnumValues: true,
|
|
2203
|
+
skipValidation: true,
|
|
2204
|
+
breadcrumbsPrefix: ["response"],
|
|
2205
|
+
}),
|
|
2206
|
+
rawResponse: _response.rawResponse,
|
|
2207
|
+
};
|
|
2208
|
+
}
|
|
2209
|
+
if (_response.error.reason === "status-code") {
|
|
2210
|
+
switch (_response.error.statusCode) {
|
|
2211
|
+
case 400:
|
|
2212
|
+
throw new Sequenzy.BadRequestError(_response.error.body, _response.rawResponse);
|
|
2213
|
+
case 401:
|
|
2214
|
+
throw new Sequenzy.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
2215
|
+
case 403:
|
|
2216
|
+
throw new Sequenzy.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
2217
|
+
case 500:
|
|
2218
|
+
throw new Sequenzy.InternalServerError(_response.error.body, _response.rawResponse);
|
|
2219
|
+
default:
|
|
2220
|
+
throw new errors.SequenzyError({
|
|
2221
|
+
statusCode: _response.error.statusCode,
|
|
2222
|
+
body: _response.error.body,
|
|
2223
|
+
rawResponse: _response.rawResponse,
|
|
2224
|
+
});
|
|
2225
|
+
}
|
|
2226
|
+
}
|
|
2227
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/push/translate");
|
|
2228
|
+
}
|
|
2068
2229
|
/**
|
|
2069
2230
|
* Moves a scheduled push campaign back to draft. The queued send is discarded. Requires the campaigns:send scope.
|
|
2070
2231
|
*
|
|
@@ -2142,7 +2303,7 @@ export class PushClient {
|
|
|
2142
2303
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/push/campaigns/{campaignId}/unschedule");
|
|
2143
2304
|
}
|
|
2144
2305
|
/**
|
|
2145
|
-
* Sends new content state to every running copy of the contact's activity (one per device that reported an update token). Each request carries a fixed timestamp, so a retried or late delivery never replaces newer content. Returns tokenCount 0 when no running copy has reported a token. Requires the transactional:send scope.
|
|
2306
|
+
* Sends new content state to every running copy of the contact's activity (one per device that reported an update token, iOS and Android), or with broadcast true to every signed-in device running the activityId, such as an activity started for a segment, list or tag. Each request carries a fixed timestamp, so a retried or late delivery never replaces newer content on either platform. Returns tokenCount 0 when no running copy has reported a token. Requires the transactional:send scope; broadcast also requires campaigns:send.
|
|
2146
2307
|
*
|
|
2147
2308
|
* @param {Sequenzy.UpdateLiveActivityRequest} request
|
|
2148
2309
|
* @param {PushClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -2227,7 +2388,7 @@ export class PushClient {
|
|
|
2227
2388
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/push/live-activities/update");
|
|
2228
2389
|
}
|
|
2229
2390
|
/**
|
|
2230
|
-
* Updates a draft or scheduled push campaign. Only the fields you pass change; content fields merge over the stored content. A scheduled campaign keeps its schedule and cannot be cleared to empty content. Requires the campaigns:write scope.
|
|
2391
|
+
* Updates a draft or scheduled push campaign. Only the fields you pass change; content fields merge over the stored content. A scheduled campaign keeps its schedule and cannot be cleared to empty content. Delivery timing (sendInRecipientTimezone, scheduledTimezone, sendTimeOptimization, sendTimeWindowHours) saves on drafts; changing it on a scheduled campaign returns 409, so reschedule with the send endpoint instead. Requires the campaigns:write scope.
|
|
2231
2392
|
*
|
|
2232
2393
|
* @param {Sequenzy.UpdatePushCampaignRequest} request
|
|
2233
2394
|
* @param {PushClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -10,6 +10,7 @@ export interface CreatePushCampaignRequest {
|
|
|
10
10
|
iconUrl?: string | null;
|
|
11
11
|
/** Optional https image shown in the notification. */
|
|
12
12
|
imageUrl?: string | null;
|
|
13
|
+
localizations?: Sequenzy.PushLocalizationList;
|
|
13
14
|
name?: string;
|
|
14
15
|
/** Limit delivery to these platforms. Omit or pass an empty array for every platform. */
|
|
15
16
|
platforms?: Sequenzy.CreatePushCampaignRequestPlatformsItem[];
|
|
@@ -12,10 +12,12 @@ export interface EndLiveActivityRequest {
|
|
|
12
12
|
/** Your id for the activity, chosen when it starts. */
|
|
13
13
|
activityId: string;
|
|
14
14
|
alert?: Sequenzy.LiveActivityAlert;
|
|
15
|
+
/** true sends to every signed-in device running this activityId, of any contact, counting at most 10 devices per contact and up to 100,000 in all. Use it for shared activities such as one started for a segment, list or tag, never for a per-person id like an order, since anyone signed in to your app who runs the id receives the content. Ignored when email or subscriberId is present. */
|
|
16
|
+
broadcast?: boolean;
|
|
15
17
|
/** Final content shown until the activity is removed. Required, as in Apple's end payloads. */
|
|
16
18
|
contentState: Record<string, unknown>;
|
|
17
19
|
dismissalDate?: Sequenzy.LiveActivityTime;
|
|
18
|
-
/** Contact whose activity it is. Provide email or subscriberId
|
|
20
|
+
/** Contact whose activity it is. Provide email or subscriberId, or broadcast. Per-contact requests reach only that contact's devices, so a token registered under the same activityId by another device never receives this content. */
|
|
19
21
|
email?: string;
|
|
20
22
|
/** high (default) delivers immediately and counts against Apple's Live Activity update budget; low (apns-priority 5) does not. Pushes with an alert always go at high priority. */
|
|
21
23
|
priority?: Sequenzy.EndLiveActivityRequestPriority;
|
package/dist/esm/api/resources/push/client/requests/EstimatePushCampaignRecipientsRequest.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ import type * as Sequenzy from "../../../../index.js";
|
|
|
8
8
|
* }
|
|
9
9
|
*/
|
|
10
10
|
export interface EstimatePushCampaignRecipientsRequest {
|
|
11
|
+
/** Also return timingCoverage, which counts the eligible contacts that local-time delivery and send-time optimization can personalize. */
|
|
12
|
+
includeTimingCoverage?: boolean;
|
|
11
13
|
platforms?: Sequenzy.EstimatePushCampaignRecipientsRequestPlatformsItem[];
|
|
12
14
|
/** Audience, same shape as campaign targetLists. */
|
|
13
15
|
targetLists: Record<string, unknown>;
|
|
@@ -12,6 +12,8 @@ export interface ListLiveActivitiesRequest {
|
|
|
12
12
|
email?: string;
|
|
13
13
|
kind?: Sequenzy.ListLiveActivitiesRequestKind;
|
|
14
14
|
limit?: number;
|
|
15
|
+
/** Only iOS Live Activity tokens or Android Live Update tokens. The summary counts the same platform. */
|
|
16
|
+
platform?: Sequenzy.ListLiveActivitiesRequestPlatform;
|
|
15
17
|
status?: Sequenzy.ListLiveActivitiesRequestStatus;
|
|
16
18
|
subscriberId?: string;
|
|
17
19
|
}
|
|
@@ -9,4 +9,12 @@ export interface SendPushCampaignRequest {
|
|
|
9
9
|
campaignId: string;
|
|
10
10
|
/** Future ISO 8601 time. Omit or null to send immediately. */
|
|
11
11
|
scheduledAt?: Date | null;
|
|
12
|
+
/** IANA timezone the scheduled wall-clock time refers to, for example America/New_York. null clears it. */
|
|
13
|
+
scheduledTimezone?: string | null;
|
|
14
|
+
/** Deliver scheduledAt's wall-clock time in each contact's own timezone, using the timezone the contact's most recently seen active device reported, else the contact's timezone attribute. Needs scheduledAt and scheduledTimezone when sending. Contacts whose local time has already passed get the push right away; contacts with no known timezone get it at scheduledAt. Delivery starts where the wall time first occurs (UTC+14), so a campaign can stay sending for about 26 hours. Enabling it turns sendTimeOptimization off; omit to keep the saved value. */
|
|
15
|
+
sendInRecipientTimezone?: boolean;
|
|
16
|
+
/** Send each contact the push at their most engaged UTC hour within sendTimeWindowHours of the start (now, or scheduledAt). The hour is their most-clicked push hour over the last 90 days (at least 3 clicks), else their most-opened email hour, else the workspace's most-clicked push hour (once it has at least 20 clicks in the last 90 days), else the start. Enabling it turns sendInRecipientTimezone off; passing both as true returns 400. Omit to keep the saved value. */
|
|
17
|
+
sendTimeOptimization?: boolean;
|
|
18
|
+
/** Hours after the start in which optimized sends may land. Omit to keep the saved value, which is 12 if never set. */
|
|
19
|
+
sendTimeWindowHours?: number;
|
|
12
20
|
}
|
|
@@ -21,10 +21,16 @@ export interface StartLiveActivityRequest {
|
|
|
21
21
|
attributes?: Record<string, unknown>;
|
|
22
22
|
/** Your Swift ContentState as JSON. Date fields decode as seconds since 2001-01-01 unless your struct decodes them differently. */
|
|
23
23
|
contentState: Record<string, unknown>;
|
|
24
|
-
/** Contact whose devices start the activity. Provide email or subscriberId. */
|
|
24
|
+
/** Contact whose devices start the activity. Provide email or subscriberId, or one of segmentId, listId or tag. */
|
|
25
25
|
email?: string;
|
|
26
|
+
/** Start it for every contact in this list. */
|
|
27
|
+
listId?: string;
|
|
26
28
|
/** Orders a person's concurrent activities; higher shows first. */
|
|
27
29
|
relevanceScore?: number;
|
|
30
|
+
/** Start it for every contact in this segment. */
|
|
31
|
+
segmentId?: string;
|
|
28
32
|
staleDate?: Sequenzy.LiveActivityTime;
|
|
29
33
|
subscriberId?: string;
|
|
34
|
+
/** Start it for every contact with this tag. One tag name without commas, matched like campaign tag filters, so Lakers Fan also matches lakers-fan. */
|
|
35
|
+
tag?: string;
|
|
30
36
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* campaignId: "campaignId"
|
|
5
|
+
* }
|
|
6
|
+
*/
|
|
7
|
+
export interface TranslatePushCampaignRequest {
|
|
8
|
+
/** Push campaign ID. */
|
|
9
|
+
campaignId: string;
|
|
10
|
+
/** Languages to translate into. Omit for every workspace language except the main one. Languages outside the workspace's list are rejected. */
|
|
11
|
+
locales?: string[];
|
|
12
|
+
/** Retranslate every requested language, replacing versions a person wrote. */
|
|
13
|
+
overwrite?: boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as Sequenzy from "../../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {}
|
|
5
|
+
*/
|
|
6
|
+
export interface TranslatePushContentRequest {
|
|
7
|
+
/** Main-language message. */
|
|
8
|
+
body?: string;
|
|
9
|
+
/** Languages to translate into. Omit for every workspace language except the main one. */
|
|
10
|
+
locales?: string[];
|
|
11
|
+
localizations?: Sequenzy.PushLocalizationList;
|
|
12
|
+
/** Retranslate versions a person wrote too. */
|
|
13
|
+
overwrite?: boolean;
|
|
14
|
+
/** Main-language title. A title or a body is required. */
|
|
15
|
+
title?: string;
|
|
16
|
+
}
|
|
@@ -13,9 +13,11 @@ export interface UpdateLiveActivityRequest {
|
|
|
13
13
|
/** Your id for the activity, chosen when it starts. */
|
|
14
14
|
activityId: string;
|
|
15
15
|
alert?: Sequenzy.LiveActivityAlert;
|
|
16
|
+
/** true sends to every signed-in device running this activityId, of any contact, counting at most 10 devices per contact and up to 100,000 in all. Use it for shared activities such as one started for a segment, list or tag, never for a per-person id like an order, since anyone signed in to your app who runs the id receives the content. Ignored when email or subscriberId is present. */
|
|
17
|
+
broadcast?: boolean;
|
|
16
18
|
/** Your Swift ContentState as JSON. Date fields decode as seconds since 2001-01-01 unless your struct decodes them differently. */
|
|
17
19
|
contentState: Record<string, unknown>;
|
|
18
|
-
/** Contact whose activity it is. Provide email or subscriberId
|
|
20
|
+
/** Contact whose activity it is. Provide email or subscriberId, or broadcast. Per-contact requests reach only that contact's devices, so a token registered under the same activityId by another device never receives this content. */
|
|
19
21
|
email?: string;
|
|
20
22
|
/** high (default) delivers immediately and counts against Apple's Live Activity update budget; low (apns-priority 5) does not. Pushes with an alert always go at high priority. */
|
|
21
23
|
priority?: Sequenzy.UpdateLiveActivityRequestPriority;
|
|
@@ -14,9 +14,18 @@ export interface UpdatePushCampaignRequest {
|
|
|
14
14
|
iconUrl?: string | null;
|
|
15
15
|
/** Optional https image shown in the notification. */
|
|
16
16
|
imageUrl?: string | null;
|
|
17
|
+
localizations?: Sequenzy.PushLocalizationList;
|
|
17
18
|
name?: string;
|
|
18
19
|
/** Limit delivery to these platforms. Omit or pass an empty array for every platform. */
|
|
19
20
|
platforms?: Sequenzy.UpdatePushCampaignRequestPlatformsItem[];
|
|
21
|
+
/** IANA timezone the scheduled wall-clock time refers to, for example America/New_York. null clears it. */
|
|
22
|
+
scheduledTimezone?: string | null;
|
|
23
|
+
/** Deliver scheduledAt's wall-clock time in each contact's own timezone, using the timezone the contact's most recently seen active device reported, else the contact's timezone attribute. Needs scheduledAt and scheduledTimezone when sending. Contacts whose local time has already passed get the push right away; contacts with no known timezone get it at scheduledAt. Delivery starts where the wall time first occurs (UTC+14), so a campaign can stay sending for about 26 hours. Enabling it turns sendTimeOptimization off; omit to keep the saved value. */
|
|
24
|
+
sendInRecipientTimezone?: boolean;
|
|
25
|
+
/** Send each contact the push at their most engaged UTC hour within sendTimeWindowHours of the start (now, or scheduledAt). The hour is their most-clicked push hour over the last 90 days (at least 3 clicks), else their most-opened email hour, else the workspace's most-clicked push hour (once it has at least 20 clicks in the last 90 days), else the start. Enabling it turns sendInRecipientTimezone off; passing both as true returns 400. Omit to keep the saved value. */
|
|
26
|
+
sendTimeOptimization?: boolean;
|
|
27
|
+
/** Hours after the start in which optimized sends may land. Omit to keep the saved value, which is 12 if never set. */
|
|
28
|
+
sendTimeWindowHours?: number;
|
|
20
29
|
/** Audience, same shape as campaign targetLists. */
|
|
21
30
|
targetLists?: Record<string, unknown>;
|
|
22
31
|
/** Notification title. Merge tags such as {{FIRST_NAME|there}} are supported. */
|
|
@@ -22,6 +22,8 @@ export type { SetApnsCredentialsRequest } from "./SetApnsCredentialsRequest.js";
|
|
|
22
22
|
export type { SetFcmCredentialsRequest } from "./SetFcmCredentialsRequest.js";
|
|
23
23
|
export type { StartLiveActivityRequest } from "./StartLiveActivityRequest.js";
|
|
24
24
|
export type { StartPushImportRequest } from "./StartPushImportRequest.js";
|
|
25
|
+
export type { TranslatePushCampaignRequest } from "./TranslatePushCampaignRequest.js";
|
|
26
|
+
export type { TranslatePushContentRequest } from "./TranslatePushContentRequest.js";
|
|
25
27
|
export type { UnschedulePushCampaignRequest } from "./UnschedulePushCampaignRequest.js";
|
|
26
28
|
export type { UpdateLiveActivityRequest } from "./UpdateLiveActivityRequest.js";
|
|
27
29
|
export type { UpdatePushCampaignRequest } from "./UpdatePushCampaignRequest.js";
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import type * as Sequenzy from "../../../index.js";
|
|
1
2
|
export interface EstimatePushCampaignRecipientsResponse {
|
|
2
3
|
audienceCount?: number;
|
|
3
4
|
eligibleCount?: number;
|
|
4
5
|
success?: boolean;
|
|
6
|
+
/** Present when includeTimingCoverage is true. */
|
|
7
|
+
timingCoverage?: Sequenzy.EstimatePushCampaignRecipientsResponseTimingCoverage;
|
|
5
8
|
}
|