sequenzy 2.1.2 → 2.1.6
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/companies/client/requests/UpdateCompaniesRequest.d.ts +2 -0
- package/dist/cjs/api/resources/companies/types/UpdateCompaniesRequestFooterStyle.d.ts +9 -0
- package/dist/cjs/api/resources/companies/types/UpdateCompaniesRequestFooterStyle.js +12 -0
- package/dist/cjs/api/resources/companies/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/companies/types/index.js +1 -0
- package/dist/cjs/api/resources/inApp/client/Client.d.ts +36 -0
- package/dist/cjs/api/resources/inApp/client/Client.js +138 -0
- package/dist/cjs/api/resources/inApp/client/requests/WriteInAppCopyRequest.d.ts +13 -0
- package/dist/cjs/api/resources/inApp/client/requests/WriteInAppCopyRequest.js +3 -0
- package/dist/cjs/api/resources/inApp/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/inApp/types/ListInAppTemplatesResponse.d.ts +5 -0
- package/dist/cjs/api/resources/inApp/types/ListInAppTemplatesResponse.js +3 -0
- package/dist/cjs/api/resources/inApp/types/ListInAppTemplatesResponseTemplatesItem.d.ts +9 -0
- package/dist/cjs/api/resources/inApp/types/ListInAppTemplatesResponseTemplatesItem.js +3 -0
- package/dist/cjs/api/resources/inApp/types/ListInAppTemplatesResponseTemplatesItemCategory.d.ts +7 -0
- package/dist/cjs/api/resources/inApp/types/ListInAppTemplatesResponseTemplatesItemCategory.js +10 -0
- package/dist/cjs/api/resources/inApp/types/WriteInAppCopyRequestFormat.d.ts +6 -0
- package/dist/cjs/api/resources/inApp/types/WriteInAppCopyRequestFormat.js +9 -0
- package/dist/cjs/api/resources/inApp/types/WriteInAppCopyRequestKind.d.ts +5 -0
- package/dist/cjs/api/resources/inApp/types/WriteInAppCopyRequestKind.js +8 -0
- package/dist/cjs/api/resources/inApp/types/WriteInAppCopyResponse.d.ts +5 -0
- package/dist/cjs/api/resources/inApp/types/WriteInAppCopyResponse.js +3 -0
- package/dist/cjs/api/resources/inApp/types/WriteInAppCopyResponseCopy.d.ts +7 -0
- package/dist/cjs/api/resources/inApp/types/WriteInAppCopyResponseCopy.js +3 -0
- package/dist/cjs/api/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItem.d.ts +5 -0
- package/dist/cjs/api/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItem.js +3 -0
- package/dist/cjs/api/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItemAction.d.ts +5 -0
- package/dist/cjs/api/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItemAction.js +8 -0
- package/dist/cjs/api/resources/inApp/types/index.d.ts +9 -0
- package/dist/cjs/api/resources/inApp/types/index.js +9 -0
- package/dist/cjs/api/resources/push/client/Client.d.ts +97 -0
- package/dist/cjs/api/resources/push/client/Client.js +348 -0
- package/dist/cjs/api/resources/push/client/requests/EndLiveActivityRequest.d.ts +27 -0
- package/dist/cjs/api/resources/push/client/requests/EndLiveActivityRequest.js +3 -0
- package/dist/cjs/api/resources/push/client/requests/ListLiveActivitiesRequest.d.ts +17 -0
- package/dist/cjs/api/resources/push/client/requests/ListLiveActivitiesRequest.js +3 -0
- package/dist/cjs/api/resources/push/client/requests/StartLiveActivityRequest.d.ts +30 -0
- package/dist/cjs/api/resources/push/client/requests/StartLiveActivityRequest.js +3 -0
- package/dist/cjs/api/resources/push/client/requests/UpdateLiveActivityRequest.d.ts +27 -0
- package/dist/cjs/api/resources/push/client/requests/UpdateLiveActivityRequest.js +3 -0
- package/dist/cjs/api/resources/push/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/push/types/EndLiveActivityRequestPriority.d.ts +6 -0
- package/dist/cjs/api/resources/push/types/EndLiveActivityRequestPriority.js +9 -0
- package/dist/cjs/api/resources/push/types/ListLiveActivitiesRequestKind.d.ts +5 -0
- package/dist/cjs/api/resources/push/types/ListLiveActivitiesRequestKind.js +8 -0
- package/dist/cjs/api/resources/push/types/ListLiveActivitiesRequestStatus.d.ts +6 -0
- package/dist/cjs/api/resources/push/types/ListLiveActivitiesRequestStatus.js +9 -0
- package/dist/cjs/api/resources/push/types/ListLiveActivitiesResponse.d.ts +8 -0
- package/dist/cjs/api/resources/push/types/ListLiveActivitiesResponse.js +3 -0
- package/dist/cjs/api/resources/push/types/ListLiveActivitiesResponseSummary.d.ts +9 -0
- package/dist/cjs/api/resources/push/types/ListLiveActivitiesResponseSummary.js +3 -0
- package/dist/cjs/api/resources/push/types/ListLiveActivitiesResponseSummaryActivityTypesItem.d.ts +5 -0
- package/dist/cjs/api/resources/push/types/ListLiveActivitiesResponseSummaryActivityTypesItem.js +3 -0
- package/dist/cjs/api/resources/push/types/UpdateLiveActivityRequestPriority.d.ts +6 -0
- package/dist/cjs/api/resources/push/types/UpdateLiveActivityRequestPriority.js +9 -0
- package/dist/cjs/api/resources/push/types/index.d.ts +7 -0
- package/dist/cjs/api/resources/push/types/index.js +7 -0
- package/dist/cjs/api/resources/sequences/types/SimulateSequencesResponse.d.ts +1 -1
- package/dist/cjs/api/resources/sequences/types/SimulateSequencesResponseReadiness.d.ts +1 -1
- package/dist/cjs/api/resources/webTrackingKeys/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/webTrackingKeys/client/Client.js +2 -2
- package/dist/cjs/api/resources/webTrackingKeys/client/requests/CreateWebTrackingKeysRequest.d.ts +3 -1
- package/dist/cjs/api/resources/webTrackingKeys/client/requests/UpdateWebTrackingKeysRequest.d.ts +3 -1
- package/dist/cjs/api/types/Company.d.ts +3 -0
- package/dist/cjs/api/types/CompanyFooterStyle.d.ts +9 -0
- package/dist/cjs/api/types/CompanyFooterStyle.js +12 -0
- package/dist/cjs/api/types/InAppMessage.d.ts +5 -1
- package/dist/cjs/api/types/InAppMessageImagePlacement.d.ts +6 -0
- package/dist/cjs/api/types/InAppMessageImagePlacement.js +9 -0
- package/dist/cjs/api/types/InAppMessagePosition.d.ts +2 -1
- package/dist/cjs/api/types/InAppMessagePosition.js +2 -1
- package/dist/cjs/api/types/LiveActivityAlert.d.ts +9 -0
- package/dist/cjs/api/types/LiveActivityAlert.js +3 -0
- package/dist/cjs/api/types/LiveActivityDispatch.d.ts +11 -0
- package/dist/cjs/api/types/LiveActivityDispatch.js +3 -0
- package/dist/cjs/api/types/LiveActivityDispatchEvent.d.ts +6 -0
- package/dist/cjs/api/types/LiveActivityDispatchEvent.js +9 -0
- package/dist/cjs/api/types/LiveActivityTime.d.ts +4 -0
- package/dist/cjs/api/types/LiveActivityTime.js +3 -0
- package/dist/cjs/api/types/LiveActivityToken.d.ts +25 -0
- package/dist/cjs/api/types/LiveActivityToken.js +3 -0
- package/dist/cjs/api/types/LiveActivityTokenKind.d.ts +6 -0
- package/dist/cjs/api/types/LiveActivityTokenKind.js +9 -0
- package/dist/cjs/api/types/LiveActivityTokenStatus.d.ts +6 -0
- package/dist/cjs/api/types/LiveActivityTokenStatus.js +9 -0
- package/dist/cjs/api/types/PushDevice.d.ts +1 -0
- package/dist/cjs/api/types/PushDeviceSource.d.ts +2 -0
- package/dist/cjs/api/types/PushDeviceSource.js +2 -0
- package/dist/cjs/api/types/SequenceActionResponse.d.ts +1 -1
- package/dist/cjs/api/types/WebTrackingKey.d.ts +5 -3
- package/dist/cjs/api/types/index.d.ts +9 -0
- package/dist/cjs/api/types/index.js +9 -0
- package/dist/cjs/serialization/resources/companies/client/requests/UpdateCompaniesRequest.d.ts +2 -0
- package/dist/cjs/serialization/resources/companies/client/requests/UpdateCompaniesRequest.js +2 -0
- package/dist/cjs/serialization/resources/companies/types/UpdateCompaniesRequestFooterStyle.d.ts +7 -0
- package/dist/cjs/serialization/resources/companies/types/UpdateCompaniesRequestFooterStyle.js +29 -0
- package/dist/cjs/serialization/resources/companies/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/companies/types/index.js +1 -0
- package/dist/cjs/serialization/resources/inApp/client/requests/WriteInAppCopyRequest.d.ts +14 -0
- package/dist/cjs/serialization/resources/inApp/client/requests/WriteInAppCopyRequest.js +36 -0
- package/dist/cjs/serialization/resources/inApp/client/requests/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/inApp/client/requests/index.js +3 -1
- package/dist/cjs/serialization/resources/inApp/types/ListInAppTemplatesResponse.d.ts +11 -0
- package/dist/cjs/serialization/resources/inApp/types/ListInAppTemplatesResponse.js +33 -0
- package/dist/cjs/serialization/resources/inApp/types/ListInAppTemplatesResponseTemplatesItem.d.ts +14 -0
- package/dist/cjs/serialization/resources/inApp/types/ListInAppTemplatesResponseTemplatesItem.js +36 -0
- package/dist/cjs/serialization/resources/inApp/types/ListInAppTemplatesResponseTemplatesItemCategory.d.ts +7 -0
- package/dist/cjs/serialization/resources/inApp/types/ListInAppTemplatesResponseTemplatesItemCategory.js +29 -0
- package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyRequestFormat.d.ts +7 -0
- package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyRequestFormat.js +29 -0
- package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyRequestKind.d.ts +7 -0
- package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyRequestKind.js +29 -0
- package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyResponse.d.ts +11 -0
- package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyResponse.js +33 -0
- package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyResponseCopy.d.ts +13 -0
- package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyResponseCopy.js +35 -0
- package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItem.d.ts +11 -0
- package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItem.js +33 -0
- package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItemAction.d.ts +7 -0
- package/dist/cjs/serialization/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItemAction.js +29 -0
- package/dist/cjs/serialization/resources/inApp/types/index.d.ts +9 -0
- package/dist/cjs/serialization/resources/inApp/types/index.js +9 -0
- package/dist/cjs/serialization/resources/push/client/requests/EndLiveActivityRequest.d.ts +20 -0
- package/dist/cjs/serialization/resources/push/client/requests/EndLiveActivityRequest.js +42 -0
- package/dist/cjs/serialization/resources/push/client/requests/StartLiveActivityRequest.d.ts +19 -0
- package/dist/cjs/serialization/resources/push/client/requests/StartLiveActivityRequest.js +41 -0
- package/dist/cjs/serialization/resources/push/client/requests/UpdateLiveActivityRequest.d.ts +19 -0
- package/dist/cjs/serialization/resources/push/client/requests/UpdateLiveActivityRequest.js +41 -0
- package/dist/cjs/serialization/resources/push/client/requests/index.d.ts +3 -0
- package/dist/cjs/serialization/resources/push/client/requests/index.js +7 -1
- package/dist/cjs/serialization/resources/push/types/EndLiveActivityRequestPriority.d.ts +7 -0
- package/dist/cjs/serialization/resources/push/types/EndLiveActivityRequestPriority.js +29 -0
- package/dist/cjs/serialization/resources/push/types/ListLiveActivitiesRequestKind.d.ts +7 -0
- package/dist/cjs/serialization/resources/push/types/ListLiveActivitiesRequestKind.js +29 -0
- package/dist/cjs/serialization/resources/push/types/ListLiveActivitiesRequestStatus.d.ts +7 -0
- package/dist/cjs/serialization/resources/push/types/ListLiveActivitiesRequestStatus.js +29 -0
- package/dist/cjs/serialization/resources/push/types/ListLiveActivitiesResponse.d.ts +14 -0
- package/dist/cjs/serialization/resources/push/types/ListLiveActivitiesResponse.js +36 -0
- package/dist/cjs/serialization/resources/push/types/ListLiveActivitiesResponseSummary.d.ts +12 -0
- package/dist/cjs/serialization/resources/push/types/ListLiveActivitiesResponseSummary.js +34 -0
- package/dist/cjs/serialization/resources/push/types/ListLiveActivitiesResponseSummaryActivityTypesItem.d.ts +11 -0
- package/dist/cjs/serialization/resources/push/types/ListLiveActivitiesResponseSummaryActivityTypesItem.js +33 -0
- package/dist/cjs/serialization/resources/push/types/UpdateLiveActivityRequestPriority.d.ts +7 -0
- package/dist/cjs/serialization/resources/push/types/UpdateLiveActivityRequestPriority.js +29 -0
- package/dist/cjs/serialization/resources/push/types/index.d.ts +7 -0
- package/dist/cjs/serialization/resources/push/types/index.js +7 -0
- package/dist/cjs/serialization/resources/webTrackingKeys/client/requests/CreateWebTrackingKeysRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/webTrackingKeys/client/requests/CreateWebTrackingKeysRequest.js +1 -0
- package/dist/cjs/serialization/resources/webTrackingKeys/client/requests/UpdateWebTrackingKeysRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/webTrackingKeys/client/requests/UpdateWebTrackingKeysRequest.js +1 -0
- package/dist/cjs/serialization/types/Company.d.ts +2 -0
- package/dist/cjs/serialization/types/Company.js +2 -0
- package/dist/cjs/serialization/types/CompanyFooterStyle.d.ts +7 -0
- package/dist/cjs/serialization/types/CompanyFooterStyle.js +29 -0
- package/dist/cjs/serialization/types/InAppMessage.d.ts +3 -0
- package/dist/cjs/serialization/types/InAppMessage.js +3 -0
- package/dist/cjs/serialization/types/InAppMessageImagePlacement.d.ts +7 -0
- package/dist/cjs/serialization/types/InAppMessageImagePlacement.js +29 -0
- package/dist/cjs/serialization/types/InAppMessagePosition.d.ts +1 -1
- package/dist/cjs/serialization/types/InAppMessagePosition.js +1 -1
- package/dist/cjs/serialization/types/LiveActivityAlert.d.ts +11 -0
- package/dist/cjs/serialization/types/LiveActivityAlert.js +33 -0
- package/dist/cjs/serialization/types/LiveActivityDispatch.d.ts +15 -0
- package/dist/cjs/serialization/types/LiveActivityDispatch.js +37 -0
- package/dist/cjs/serialization/types/LiveActivityDispatchEvent.d.ts +7 -0
- package/dist/cjs/serialization/types/LiveActivityDispatchEvent.js +29 -0
- package/dist/cjs/serialization/types/LiveActivityTime.d.ts +7 -0
- package/dist/cjs/serialization/types/LiveActivityTime.js +29 -0
- package/dist/cjs/serialization/types/LiveActivityToken.d.ts +25 -0
- package/dist/cjs/serialization/types/LiveActivityToken.js +47 -0
- package/dist/cjs/serialization/types/LiveActivityTokenKind.d.ts +7 -0
- package/dist/cjs/serialization/types/LiveActivityTokenKind.js +29 -0
- package/dist/cjs/serialization/types/LiveActivityTokenStatus.d.ts +7 -0
- package/dist/cjs/serialization/types/LiveActivityTokenStatus.js +29 -0
- package/dist/cjs/serialization/types/PushDeviceSource.d.ts +1 -1
- package/dist/cjs/serialization/types/PushDeviceSource.js +1 -1
- package/dist/cjs/serialization/types/WebTrackingKey.d.ts +1 -0
- package/dist/cjs/serialization/types/WebTrackingKey.js +1 -0
- package/dist/cjs/serialization/types/index.d.ts +9 -0
- package/dist/cjs/serialization/types/index.js +9 -0
- package/dist/esm/api/resources/companies/client/requests/UpdateCompaniesRequest.d.ts +2 -0
- package/dist/esm/api/resources/companies/types/UpdateCompaniesRequestFooterStyle.d.ts +9 -0
- package/dist/esm/api/resources/companies/types/UpdateCompaniesRequestFooterStyle.js +9 -0
- package/dist/esm/api/resources/companies/types/index.d.ts +1 -0
- package/dist/esm/api/resources/companies/types/index.js +1 -0
- package/dist/esm/api/resources/inApp/client/Client.d.ts +36 -0
- package/dist/esm/api/resources/inApp/client/Client.js +138 -0
- package/dist/esm/api/resources/inApp/client/requests/WriteInAppCopyRequest.d.ts +13 -0
- package/dist/esm/api/resources/inApp/client/requests/WriteInAppCopyRequest.js +2 -0
- package/dist/esm/api/resources/inApp/client/requests/index.d.ts +1 -0
- package/dist/esm/api/resources/inApp/types/ListInAppTemplatesResponse.d.ts +5 -0
- package/dist/esm/api/resources/inApp/types/ListInAppTemplatesResponse.js +2 -0
- package/dist/esm/api/resources/inApp/types/ListInAppTemplatesResponseTemplatesItem.d.ts +9 -0
- package/dist/esm/api/resources/inApp/types/ListInAppTemplatesResponseTemplatesItem.js +2 -0
- package/dist/esm/api/resources/inApp/types/ListInAppTemplatesResponseTemplatesItemCategory.d.ts +7 -0
- package/dist/esm/api/resources/inApp/types/ListInAppTemplatesResponseTemplatesItemCategory.js +7 -0
- package/dist/esm/api/resources/inApp/types/WriteInAppCopyRequestFormat.d.ts +6 -0
- package/dist/esm/api/resources/inApp/types/WriteInAppCopyRequestFormat.js +6 -0
- package/dist/esm/api/resources/inApp/types/WriteInAppCopyRequestKind.d.ts +5 -0
- package/dist/esm/api/resources/inApp/types/WriteInAppCopyRequestKind.js +5 -0
- package/dist/esm/api/resources/inApp/types/WriteInAppCopyResponse.d.ts +5 -0
- package/dist/esm/api/resources/inApp/types/WriteInAppCopyResponse.js +2 -0
- package/dist/esm/api/resources/inApp/types/WriteInAppCopyResponseCopy.d.ts +7 -0
- package/dist/esm/api/resources/inApp/types/WriteInAppCopyResponseCopy.js +2 -0
- package/dist/esm/api/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItem.d.ts +5 -0
- package/dist/esm/api/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItem.js +2 -0
- package/dist/esm/api/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItemAction.d.ts +5 -0
- package/dist/esm/api/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItemAction.js +5 -0
- package/dist/esm/api/resources/inApp/types/index.d.ts +9 -0
- package/dist/esm/api/resources/inApp/types/index.js +9 -0
- package/dist/esm/api/resources/push/client/Client.d.ts +97 -0
- package/dist/esm/api/resources/push/client/Client.js +348 -0
- package/dist/esm/api/resources/push/client/requests/EndLiveActivityRequest.d.ts +27 -0
- package/dist/esm/api/resources/push/client/requests/EndLiveActivityRequest.js +2 -0
- package/dist/esm/api/resources/push/client/requests/ListLiveActivitiesRequest.d.ts +17 -0
- package/dist/esm/api/resources/push/client/requests/ListLiveActivitiesRequest.js +2 -0
- package/dist/esm/api/resources/push/client/requests/StartLiveActivityRequest.d.ts +30 -0
- package/dist/esm/api/resources/push/client/requests/StartLiveActivityRequest.js +2 -0
- package/dist/esm/api/resources/push/client/requests/UpdateLiveActivityRequest.d.ts +27 -0
- package/dist/esm/api/resources/push/client/requests/UpdateLiveActivityRequest.js +2 -0
- package/dist/esm/api/resources/push/client/requests/index.d.ts +4 -0
- package/dist/esm/api/resources/push/types/EndLiveActivityRequestPriority.d.ts +6 -0
- package/dist/esm/api/resources/push/types/EndLiveActivityRequestPriority.js +6 -0
- package/dist/esm/api/resources/push/types/ListLiveActivitiesRequestKind.d.ts +5 -0
- package/dist/esm/api/resources/push/types/ListLiveActivitiesRequestKind.js +5 -0
- package/dist/esm/api/resources/push/types/ListLiveActivitiesRequestStatus.d.ts +6 -0
- package/dist/esm/api/resources/push/types/ListLiveActivitiesRequestStatus.js +6 -0
- package/dist/esm/api/resources/push/types/ListLiveActivitiesResponse.d.ts +8 -0
- package/dist/esm/api/resources/push/types/ListLiveActivitiesResponse.js +2 -0
- package/dist/esm/api/resources/push/types/ListLiveActivitiesResponseSummary.d.ts +9 -0
- package/dist/esm/api/resources/push/types/ListLiveActivitiesResponseSummary.js +2 -0
- package/dist/esm/api/resources/push/types/ListLiveActivitiesResponseSummaryActivityTypesItem.d.ts +5 -0
- package/dist/esm/api/resources/push/types/ListLiveActivitiesResponseSummaryActivityTypesItem.js +2 -0
- package/dist/esm/api/resources/push/types/UpdateLiveActivityRequestPriority.d.ts +6 -0
- package/dist/esm/api/resources/push/types/UpdateLiveActivityRequestPriority.js +6 -0
- package/dist/esm/api/resources/push/types/index.d.ts +7 -0
- package/dist/esm/api/resources/push/types/index.js +7 -0
- package/dist/esm/api/resources/sequences/types/SimulateSequencesResponse.d.ts +1 -1
- package/dist/esm/api/resources/sequences/types/SimulateSequencesResponseReadiness.d.ts +1 -1
- package/dist/esm/api/resources/webTrackingKeys/client/Client.d.ts +2 -2
- package/dist/esm/api/resources/webTrackingKeys/client/Client.js +2 -2
- package/dist/esm/api/resources/webTrackingKeys/client/requests/CreateWebTrackingKeysRequest.d.ts +3 -1
- package/dist/esm/api/resources/webTrackingKeys/client/requests/UpdateWebTrackingKeysRequest.d.ts +3 -1
- package/dist/esm/api/types/Company.d.ts +3 -0
- package/dist/esm/api/types/CompanyFooterStyle.d.ts +9 -0
- package/dist/esm/api/types/CompanyFooterStyle.js +9 -0
- package/dist/esm/api/types/InAppMessage.d.ts +5 -1
- package/dist/esm/api/types/InAppMessageImagePlacement.d.ts +6 -0
- package/dist/esm/api/types/InAppMessageImagePlacement.js +6 -0
- package/dist/esm/api/types/InAppMessagePosition.d.ts +2 -1
- package/dist/esm/api/types/InAppMessagePosition.js +2 -1
- package/dist/esm/api/types/LiveActivityAlert.d.ts +9 -0
- package/dist/esm/api/types/LiveActivityAlert.js +2 -0
- package/dist/esm/api/types/LiveActivityDispatch.d.ts +11 -0
- package/dist/esm/api/types/LiveActivityDispatch.js +2 -0
- package/dist/esm/api/types/LiveActivityDispatchEvent.d.ts +6 -0
- package/dist/esm/api/types/LiveActivityDispatchEvent.js +6 -0
- package/dist/esm/api/types/LiveActivityTime.d.ts +4 -0
- package/dist/esm/api/types/LiveActivityTime.js +2 -0
- package/dist/esm/api/types/LiveActivityToken.d.ts +25 -0
- package/dist/esm/api/types/LiveActivityToken.js +2 -0
- package/dist/esm/api/types/LiveActivityTokenKind.d.ts +6 -0
- package/dist/esm/api/types/LiveActivityTokenKind.js +6 -0
- package/dist/esm/api/types/LiveActivityTokenStatus.d.ts +6 -0
- package/dist/esm/api/types/LiveActivityTokenStatus.js +6 -0
- package/dist/esm/api/types/PushDevice.d.ts +1 -0
- package/dist/esm/api/types/PushDeviceSource.d.ts +2 -0
- package/dist/esm/api/types/PushDeviceSource.js +2 -0
- package/dist/esm/api/types/SequenceActionResponse.d.ts +1 -1
- package/dist/esm/api/types/WebTrackingKey.d.ts +5 -3
- package/dist/esm/api/types/index.d.ts +9 -0
- package/dist/esm/api/types/index.js +9 -0
- package/dist/esm/serialization/resources/companies/client/requests/UpdateCompaniesRequest.d.ts +2 -0
- package/dist/esm/serialization/resources/companies/client/requests/UpdateCompaniesRequest.js +2 -0
- package/dist/esm/serialization/resources/companies/types/UpdateCompaniesRequestFooterStyle.d.ts +7 -0
- package/dist/esm/serialization/resources/companies/types/UpdateCompaniesRequestFooterStyle.js +3 -0
- package/dist/esm/serialization/resources/companies/types/index.d.ts +1 -0
- package/dist/esm/serialization/resources/companies/types/index.js +1 -0
- package/dist/esm/serialization/resources/inApp/client/requests/WriteInAppCopyRequest.d.ts +14 -0
- package/dist/esm/serialization/resources/inApp/client/requests/WriteInAppCopyRequest.js +10 -0
- package/dist/esm/serialization/resources/inApp/client/requests/index.d.ts +1 -0
- package/dist/esm/serialization/resources/inApp/client/requests/index.js +1 -0
- package/dist/esm/serialization/resources/inApp/types/ListInAppTemplatesResponse.d.ts +11 -0
- package/dist/esm/serialization/resources/inApp/types/ListInAppTemplatesResponse.js +7 -0
- package/dist/esm/serialization/resources/inApp/types/ListInAppTemplatesResponseTemplatesItem.d.ts +14 -0
- package/dist/esm/serialization/resources/inApp/types/ListInAppTemplatesResponseTemplatesItem.js +10 -0
- package/dist/esm/serialization/resources/inApp/types/ListInAppTemplatesResponseTemplatesItemCategory.d.ts +7 -0
- package/dist/esm/serialization/resources/inApp/types/ListInAppTemplatesResponseTemplatesItemCategory.js +3 -0
- package/dist/esm/serialization/resources/inApp/types/WriteInAppCopyRequestFormat.d.ts +7 -0
- package/dist/esm/serialization/resources/inApp/types/WriteInAppCopyRequestFormat.js +3 -0
- package/dist/esm/serialization/resources/inApp/types/WriteInAppCopyRequestKind.d.ts +7 -0
- package/dist/esm/serialization/resources/inApp/types/WriteInAppCopyRequestKind.js +3 -0
- package/dist/esm/serialization/resources/inApp/types/WriteInAppCopyResponse.d.ts +11 -0
- package/dist/esm/serialization/resources/inApp/types/WriteInAppCopyResponse.js +7 -0
- package/dist/esm/serialization/resources/inApp/types/WriteInAppCopyResponseCopy.d.ts +13 -0
- package/dist/esm/serialization/resources/inApp/types/WriteInAppCopyResponseCopy.js +9 -0
- package/dist/esm/serialization/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItem.d.ts +11 -0
- package/dist/esm/serialization/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItem.js +7 -0
- package/dist/esm/serialization/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItemAction.d.ts +7 -0
- package/dist/esm/serialization/resources/inApp/types/WriteInAppCopyResponseCopyButtonsItemAction.js +3 -0
- package/dist/esm/serialization/resources/inApp/types/index.d.ts +9 -0
- package/dist/esm/serialization/resources/inApp/types/index.js +9 -0
- package/dist/esm/serialization/resources/push/client/requests/EndLiveActivityRequest.d.ts +20 -0
- package/dist/esm/serialization/resources/push/client/requests/EndLiveActivityRequest.js +16 -0
- package/dist/esm/serialization/resources/push/client/requests/StartLiveActivityRequest.d.ts +19 -0
- package/dist/esm/serialization/resources/push/client/requests/StartLiveActivityRequest.js +15 -0
- package/dist/esm/serialization/resources/push/client/requests/UpdateLiveActivityRequest.d.ts +19 -0
- package/dist/esm/serialization/resources/push/client/requests/UpdateLiveActivityRequest.js +15 -0
- package/dist/esm/serialization/resources/push/client/requests/index.d.ts +3 -0
- package/dist/esm/serialization/resources/push/client/requests/index.js +3 -0
- package/dist/esm/serialization/resources/push/types/EndLiveActivityRequestPriority.d.ts +7 -0
- package/dist/esm/serialization/resources/push/types/EndLiveActivityRequestPriority.js +3 -0
- package/dist/esm/serialization/resources/push/types/ListLiveActivitiesRequestKind.d.ts +7 -0
- package/dist/esm/serialization/resources/push/types/ListLiveActivitiesRequestKind.js +3 -0
- package/dist/esm/serialization/resources/push/types/ListLiveActivitiesRequestStatus.d.ts +7 -0
- package/dist/esm/serialization/resources/push/types/ListLiveActivitiesRequestStatus.js +3 -0
- package/dist/esm/serialization/resources/push/types/ListLiveActivitiesResponse.d.ts +14 -0
- package/dist/esm/serialization/resources/push/types/ListLiveActivitiesResponse.js +10 -0
- package/dist/esm/serialization/resources/push/types/ListLiveActivitiesResponseSummary.d.ts +12 -0
- package/dist/esm/serialization/resources/push/types/ListLiveActivitiesResponseSummary.js +8 -0
- package/dist/esm/serialization/resources/push/types/ListLiveActivitiesResponseSummaryActivityTypesItem.d.ts +11 -0
- package/dist/esm/serialization/resources/push/types/ListLiveActivitiesResponseSummaryActivityTypesItem.js +7 -0
- package/dist/esm/serialization/resources/push/types/UpdateLiveActivityRequestPriority.d.ts +7 -0
- package/dist/esm/serialization/resources/push/types/UpdateLiveActivityRequestPriority.js +3 -0
- package/dist/esm/serialization/resources/push/types/index.d.ts +7 -0
- package/dist/esm/serialization/resources/push/types/index.js +7 -0
- package/dist/esm/serialization/resources/webTrackingKeys/client/requests/CreateWebTrackingKeysRequest.d.ts +1 -0
- package/dist/esm/serialization/resources/webTrackingKeys/client/requests/CreateWebTrackingKeysRequest.js +1 -0
- package/dist/esm/serialization/resources/webTrackingKeys/client/requests/UpdateWebTrackingKeysRequest.d.ts +1 -0
- package/dist/esm/serialization/resources/webTrackingKeys/client/requests/UpdateWebTrackingKeysRequest.js +1 -0
- package/dist/esm/serialization/types/Company.d.ts +2 -0
- package/dist/esm/serialization/types/Company.js +2 -0
- package/dist/esm/serialization/types/CompanyFooterStyle.d.ts +7 -0
- package/dist/esm/serialization/types/CompanyFooterStyle.js +3 -0
- package/dist/esm/serialization/types/InAppMessage.d.ts +3 -0
- package/dist/esm/serialization/types/InAppMessage.js +3 -0
- package/dist/esm/serialization/types/InAppMessageImagePlacement.d.ts +7 -0
- package/dist/esm/serialization/types/InAppMessageImagePlacement.js +3 -0
- package/dist/esm/serialization/types/InAppMessagePosition.d.ts +1 -1
- package/dist/esm/serialization/types/InAppMessagePosition.js +1 -1
- package/dist/esm/serialization/types/LiveActivityAlert.d.ts +11 -0
- package/dist/esm/serialization/types/LiveActivityAlert.js +7 -0
- package/dist/esm/serialization/types/LiveActivityDispatch.d.ts +15 -0
- package/dist/esm/serialization/types/LiveActivityDispatch.js +11 -0
- package/dist/esm/serialization/types/LiveActivityDispatchEvent.d.ts +7 -0
- package/dist/esm/serialization/types/LiveActivityDispatchEvent.js +3 -0
- package/dist/esm/serialization/types/LiveActivityTime.d.ts +7 -0
- package/dist/esm/serialization/types/LiveActivityTime.js +3 -0
- package/dist/esm/serialization/types/LiveActivityToken.d.ts +25 -0
- package/dist/esm/serialization/types/LiveActivityToken.js +21 -0
- package/dist/esm/serialization/types/LiveActivityTokenKind.d.ts +7 -0
- package/dist/esm/serialization/types/LiveActivityTokenKind.js +3 -0
- package/dist/esm/serialization/types/LiveActivityTokenStatus.d.ts +7 -0
- package/dist/esm/serialization/types/LiveActivityTokenStatus.js +3 -0
- package/dist/esm/serialization/types/PushDeviceSource.d.ts +1 -1
- package/dist/esm/serialization/types/PushDeviceSource.js +1 -1
- package/dist/esm/serialization/types/WebTrackingKey.d.ts +1 -0
- package/dist/esm/serialization/types/WebTrackingKey.js +1 -0
- package/dist/esm/serialization/types/index.d.ts +9 -0
- package/dist/esm/serialization/types/index.js +9 -0
- package/package.json +1 -1
|
@@ -248,6 +248,66 @@ export class InAppClient {
|
|
|
248
248
|
}
|
|
249
249
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/in-app/messages");
|
|
250
250
|
}
|
|
251
|
+
/**
|
|
252
|
+
* Built-in starting points for in_app sequence steps. Each config is a complete step without a label; link buttons have no url until you add one. Requires the sequences:read scope.
|
|
253
|
+
*
|
|
254
|
+
* @param {InAppClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
255
|
+
*
|
|
256
|
+
* @throws {@link Sequenzy.UnauthorizedError}
|
|
257
|
+
* @throws {@link Sequenzy.ForbiddenError}
|
|
258
|
+
* @throws {@link errors.SequenzyError}
|
|
259
|
+
* @throws {@link errors.SequenzyTimeoutError}
|
|
260
|
+
*
|
|
261
|
+
* @example
|
|
262
|
+
* await client.inApp.listInAppTemplates()
|
|
263
|
+
*/
|
|
264
|
+
listInAppTemplates(requestOptions) {
|
|
265
|
+
return core.HttpResponsePromise.fromPromise(this.__listInAppTemplates(requestOptions));
|
|
266
|
+
}
|
|
267
|
+
async __listInAppTemplates(requestOptions) {
|
|
268
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
269
|
+
const _headers = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
270
|
+
const _response = await core.fetcher({
|
|
271
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
272
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
273
|
+
environments.SequenzyEnvironment.Default, "in-app/templates"),
|
|
274
|
+
method: "GET",
|
|
275
|
+
headers: _headers,
|
|
276
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
277
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
278
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
279
|
+
abortSignal: requestOptions?.abortSignal,
|
|
280
|
+
fetchFn: this._options?.fetch,
|
|
281
|
+
logging: this._options.logging,
|
|
282
|
+
});
|
|
283
|
+
if (_response.ok) {
|
|
284
|
+
return {
|
|
285
|
+
data: serializers.ListInAppTemplatesResponse.parseOrThrow(_response.body, {
|
|
286
|
+
unrecognizedObjectKeys: "passthrough",
|
|
287
|
+
allowUnrecognizedUnionMembers: true,
|
|
288
|
+
allowUnrecognizedEnumValues: true,
|
|
289
|
+
skipValidation: true,
|
|
290
|
+
breadcrumbsPrefix: ["response"],
|
|
291
|
+
}),
|
|
292
|
+
rawResponse: _response.rawResponse,
|
|
293
|
+
};
|
|
294
|
+
}
|
|
295
|
+
if (_response.error.reason === "status-code") {
|
|
296
|
+
switch (_response.error.statusCode) {
|
|
297
|
+
case 401:
|
|
298
|
+
throw new Sequenzy.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
299
|
+
case 403:
|
|
300
|
+
throw new Sequenzy.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
301
|
+
default:
|
|
302
|
+
throw new errors.SequenzyError({
|
|
303
|
+
statusCode: _response.error.statusCode,
|
|
304
|
+
body: _response.error.body,
|
|
305
|
+
rawResponse: _response.rawResponse,
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/in-app/templates");
|
|
310
|
+
}
|
|
251
311
|
/**
|
|
252
312
|
* Records that the app displayed, clicked, dismissed or read an item. The first report of each type sets its timestamp; repeats change nothing except clickCount, and recorded is false. Clicks, dismissals and reads also mark the item displayed. Messages leave the open feed once displayed, clicked or dismissed; cards once dismissed. Requires the subscribers:write scope.
|
|
253
313
|
*
|
|
@@ -328,4 +388,82 @@ export class InAppClient {
|
|
|
328
388
|
}
|
|
329
389
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/in-app/messages/{messageId}/events");
|
|
330
390
|
}
|
|
391
|
+
/**
|
|
392
|
+
* Writes an in-app message's eyebrow, title, message and button labels with AI from a brief. Nothing is saved. Requires the sequences:write scope; limited to 20 requests a minute per workspace.
|
|
393
|
+
*
|
|
394
|
+
* @param {Sequenzy.WriteInAppCopyRequest} request
|
|
395
|
+
* @param {InAppClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
396
|
+
*
|
|
397
|
+
* @throws {@link Sequenzy.UnauthorizedError}
|
|
398
|
+
* @throws {@link Sequenzy.ForbiddenError}
|
|
399
|
+
* @throws {@link Sequenzy.UnprocessableEntityError}
|
|
400
|
+
* @throws {@link Sequenzy.TooManyRequestsError}
|
|
401
|
+
* @throws {@link Sequenzy.InternalServerError}
|
|
402
|
+
* @throws {@link errors.SequenzyError}
|
|
403
|
+
* @throws {@link errors.SequenzyTimeoutError}
|
|
404
|
+
*
|
|
405
|
+
* @example
|
|
406
|
+
* await client.inApp.writeInAppCopy({
|
|
407
|
+
* brief: "brief"
|
|
408
|
+
* })
|
|
409
|
+
*/
|
|
410
|
+
writeInAppCopy(request, requestOptions) {
|
|
411
|
+
return core.HttpResponsePromise.fromPromise(this.__writeInAppCopy(request, requestOptions));
|
|
412
|
+
}
|
|
413
|
+
async __writeInAppCopy(request, requestOptions) {
|
|
414
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
415
|
+
const _headers = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
416
|
+
const _response = await core.fetcher({
|
|
417
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
418
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
419
|
+
environments.SequenzyEnvironment.Default, "in-app/copy"),
|
|
420
|
+
method: "POST",
|
|
421
|
+
headers: _headers,
|
|
422
|
+
contentType: "application/json",
|
|
423
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
424
|
+
requestType: "json",
|
|
425
|
+
body: mergeAdditionalBodyParameters(serializers.WriteInAppCopyRequest.jsonOrThrow(request, {
|
|
426
|
+
unrecognizedObjectKeys: "strip",
|
|
427
|
+
omitUndefined: true,
|
|
428
|
+
}), requestOptions?.additionalBodyParameters),
|
|
429
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
430
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
431
|
+
abortSignal: requestOptions?.abortSignal,
|
|
432
|
+
fetchFn: this._options?.fetch,
|
|
433
|
+
logging: this._options.logging,
|
|
434
|
+
});
|
|
435
|
+
if (_response.ok) {
|
|
436
|
+
return {
|
|
437
|
+
data: serializers.WriteInAppCopyResponse.parseOrThrow(_response.body, {
|
|
438
|
+
unrecognizedObjectKeys: "passthrough",
|
|
439
|
+
allowUnrecognizedUnionMembers: true,
|
|
440
|
+
allowUnrecognizedEnumValues: true,
|
|
441
|
+
skipValidation: true,
|
|
442
|
+
breadcrumbsPrefix: ["response"],
|
|
443
|
+
}),
|
|
444
|
+
rawResponse: _response.rawResponse,
|
|
445
|
+
};
|
|
446
|
+
}
|
|
447
|
+
if (_response.error.reason === "status-code") {
|
|
448
|
+
switch (_response.error.statusCode) {
|
|
449
|
+
case 401:
|
|
450
|
+
throw new Sequenzy.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
451
|
+
case 403:
|
|
452
|
+
throw new Sequenzy.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
453
|
+
case 422:
|
|
454
|
+
throw new Sequenzy.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
455
|
+
case 429:
|
|
456
|
+
throw new Sequenzy.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
457
|
+
case 500:
|
|
458
|
+
throw new Sequenzy.InternalServerError(_response.error.body, _response.rawResponse);
|
|
459
|
+
default:
|
|
460
|
+
throw new errors.SequenzyError({
|
|
461
|
+
statusCode: _response.error.statusCode,
|
|
462
|
+
body: _response.error.body,
|
|
463
|
+
rawResponse: _response.rawResponse,
|
|
464
|
+
});
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/in-app/copy");
|
|
468
|
+
}
|
|
331
469
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as Sequenzy from "../../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* brief: "brief"
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface WriteInAppCopyRequest {
|
|
9
|
+
brief: string;
|
|
10
|
+
format?: Sequenzy.WriteInAppCopyRequestFormat;
|
|
11
|
+
hasImage?: boolean;
|
|
12
|
+
kind?: Sequenzy.WriteInAppCopyRequestKind;
|
|
13
|
+
}
|
|
@@ -2,3 +2,4 @@ export type { DeleteInAppMessageRequest } from "./DeleteInAppMessageRequest.js";
|
|
|
2
2
|
export type { GetInAppStepStatsRequest } from "./GetInAppStepStatsRequest.js";
|
|
3
3
|
export type { ListInAppMessagesRequest } from "./ListInAppMessagesRequest.js";
|
|
4
4
|
export type { RecordInAppEventRequest } from "./RecordInAppEventRequest.js";
|
|
5
|
+
export type { WriteInAppCopyRequest } from "./WriteInAppCopyRequest.js";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Sequenzy from "../../../index.js";
|
|
2
|
+
export interface ListInAppTemplatesResponseTemplatesItem {
|
|
3
|
+
category?: Sequenzy.ListInAppTemplatesResponseTemplatesItemCategory;
|
|
4
|
+
/** An in_app step config without a label. */
|
|
5
|
+
config?: Record<string, unknown>;
|
|
6
|
+
description?: string;
|
|
7
|
+
id?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
}
|
package/dist/esm/api/resources/inApp/types/ListInAppTemplatesResponseTemplatesItemCategory.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const ListInAppTemplatesResponseTemplatesItemCategory: {
|
|
2
|
+
readonly Conversion: "Conversion";
|
|
3
|
+
readonly Onboarding: "Onboarding";
|
|
4
|
+
readonly Announcement: "Announcement";
|
|
5
|
+
readonly Engagement: "Engagement";
|
|
6
|
+
};
|
|
7
|
+
export type ListInAppTemplatesResponseTemplatesItemCategory = (typeof ListInAppTemplatesResponseTemplatesItemCategory)[keyof typeof ListInAppTemplatesResponseTemplatesItemCategory];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const WriteInAppCopyRequestFormat: {
|
|
2
|
+
readonly Modal: "modal";
|
|
3
|
+
readonly Banner: "banner";
|
|
4
|
+
readonly Fullscreen: "fullscreen";
|
|
5
|
+
};
|
|
6
|
+
export type WriteInAppCopyRequestFormat = (typeof WriteInAppCopyRequestFormat)[keyof typeof WriteInAppCopyRequestFormat];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const WriteInAppCopyResponseCopyButtonsItemAction: {
|
|
2
|
+
readonly OpenUrl: "open_url";
|
|
3
|
+
readonly Dismiss: "dismiss";
|
|
4
|
+
};
|
|
5
|
+
export type WriteInAppCopyResponseCopyButtonsItemAction = (typeof WriteInAppCopyResponseCopyButtonsItemAction)[keyof typeof WriteInAppCopyResponseCopyButtonsItemAction];
|
|
@@ -5,5 +5,14 @@ export * from "./ListInAppMessagesRequestKind.js";
|
|
|
5
5
|
export * from "./ListInAppMessagesRequestStatus.js";
|
|
6
6
|
export * from "./ListInAppMessagesResponse.js";
|
|
7
7
|
export * from "./ListInAppMessagesResponseStatus.js";
|
|
8
|
+
export * from "./ListInAppTemplatesResponse.js";
|
|
9
|
+
export * from "./ListInAppTemplatesResponseTemplatesItem.js";
|
|
10
|
+
export * from "./ListInAppTemplatesResponseTemplatesItemCategory.js";
|
|
8
11
|
export * from "./RecordInAppEventRequestType.js";
|
|
9
12
|
export * from "./RecordInAppEventResponse.js";
|
|
13
|
+
export * from "./WriteInAppCopyRequestFormat.js";
|
|
14
|
+
export * from "./WriteInAppCopyRequestKind.js";
|
|
15
|
+
export * from "./WriteInAppCopyResponse.js";
|
|
16
|
+
export * from "./WriteInAppCopyResponseCopy.js";
|
|
17
|
+
export * from "./WriteInAppCopyResponseCopyButtonsItem.js";
|
|
18
|
+
export * from "./WriteInAppCopyResponseCopyButtonsItemAction.js";
|
|
@@ -5,5 +5,14 @@ export * from "./ListInAppMessagesRequestKind.js";
|
|
|
5
5
|
export * from "./ListInAppMessagesRequestStatus.js";
|
|
6
6
|
export * from "./ListInAppMessagesResponse.js";
|
|
7
7
|
export * from "./ListInAppMessagesResponseStatus.js";
|
|
8
|
+
export * from "./ListInAppTemplatesResponse.js";
|
|
9
|
+
export * from "./ListInAppTemplatesResponseTemplatesItem.js";
|
|
10
|
+
export * from "./ListInAppTemplatesResponseTemplatesItemCategory.js";
|
|
8
11
|
export * from "./RecordInAppEventRequestType.js";
|
|
9
12
|
export * from "./RecordInAppEventResponse.js";
|
|
13
|
+
export * from "./WriteInAppCopyRequestFormat.js";
|
|
14
|
+
export * from "./WriteInAppCopyRequestKind.js";
|
|
15
|
+
export * from "./WriteInAppCopyResponse.js";
|
|
16
|
+
export * from "./WriteInAppCopyResponseCopy.js";
|
|
17
|
+
export * from "./WriteInAppCopyResponseCopyButtonsItem.js";
|
|
18
|
+
export * from "./WriteInAppCopyResponseCopyButtonsItemAction.js";
|
|
@@ -126,6 +126,31 @@ export declare class PushClient {
|
|
|
126
126
|
*/
|
|
127
127
|
duplicatePushCampaign(request: Sequenzy.DuplicatePushCampaignRequest, requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.DuplicatePushCampaignResponse>;
|
|
128
128
|
private __duplicatePushCampaign;
|
|
129
|
+
/**
|
|
130
|
+
* 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.
|
|
131
|
+
*
|
|
132
|
+
* @param {Sequenzy.EndLiveActivityRequest} request
|
|
133
|
+
* @param {PushClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
134
|
+
*
|
|
135
|
+
* @throws {@link Sequenzy.BadRequestError}
|
|
136
|
+
* @throws {@link Sequenzy.UnauthorizedError}
|
|
137
|
+
* @throws {@link Sequenzy.ForbiddenError}
|
|
138
|
+
* @throws {@link Sequenzy.NotFoundError}
|
|
139
|
+
* @throws {@link Sequenzy.UnprocessableEntityError}
|
|
140
|
+
* @throws {@link Sequenzy.InternalServerError}
|
|
141
|
+
* @throws {@link errors.SequenzyError}
|
|
142
|
+
* @throws {@link errors.SequenzyTimeoutError}
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* await client.push.endLiveActivity({
|
|
146
|
+
* activityId: "order-1234",
|
|
147
|
+
* contentState: {
|
|
148
|
+
* "key": "value"
|
|
149
|
+
* }
|
|
150
|
+
* })
|
|
151
|
+
*/
|
|
152
|
+
endLiveActivity(request: Sequenzy.EndLiveActivityRequest, requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.LiveActivityDispatch>;
|
|
153
|
+
private __endLiveActivity;
|
|
129
154
|
/**
|
|
130
155
|
* Counts the contacts in an audience (audienceCount) and those with an active device on the selected platforms (eligibleCount). Email status does not affect push eligibility. Requires the campaigns:read scope.
|
|
131
156
|
*
|
|
@@ -206,6 +231,24 @@ export declare class PushClient {
|
|
|
206
231
|
*/
|
|
207
232
|
getPushSettings(requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.GetPushSettingsResponse>;
|
|
208
233
|
private __getPushSettings;
|
|
234
|
+
/**
|
|
235
|
+
* 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.
|
|
236
|
+
*
|
|
237
|
+
* @param {Sequenzy.ListLiveActivitiesRequest} request
|
|
238
|
+
* @param {PushClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
239
|
+
*
|
|
240
|
+
* @throws {@link Sequenzy.UnauthorizedError}
|
|
241
|
+
* @throws {@link Sequenzy.ForbiddenError}
|
|
242
|
+
* @throws {@link Sequenzy.NotFoundError}
|
|
243
|
+
* @throws {@link Sequenzy.InternalServerError}
|
|
244
|
+
* @throws {@link errors.SequenzyError}
|
|
245
|
+
* @throws {@link errors.SequenzyTimeoutError}
|
|
246
|
+
*
|
|
247
|
+
* @example
|
|
248
|
+
* await client.push.listLiveActivities()
|
|
249
|
+
*/
|
|
250
|
+
listLiveActivities(request?: Sequenzy.ListLiveActivitiesRequest, requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.ListLiveActivitiesResponse>;
|
|
251
|
+
private __listLiveActivities;
|
|
209
252
|
/**
|
|
210
253
|
* Lists push campaigns, newest first. Push campaigns also appear in GET /campaigns with type push. Requires the campaigns:read scope.
|
|
211
254
|
*
|
|
@@ -350,6 +393,34 @@ export declare class PushClient {
|
|
|
350
393
|
*/
|
|
351
394
|
setFcmCredentials(request: Sequenzy.SetFcmCredentialsRequest, requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.SetFcmCredentialsResponse>;
|
|
352
395
|
private __setFcmCredentials;
|
|
396
|
+
/**
|
|
397
|
+
* Starts an iOS Live Activity remotely (push-to-start, iOS 17.2+) on every device of one contact that reported a push-to-start token for activityType. Sequenzy adds sequenzy.activityId to the attributes so the 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.
|
|
398
|
+
*
|
|
399
|
+
* @param {Sequenzy.StartLiveActivityRequest} request
|
|
400
|
+
* @param {PushClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
401
|
+
*
|
|
402
|
+
* @throws {@link Sequenzy.BadRequestError}
|
|
403
|
+
* @throws {@link Sequenzy.UnauthorizedError}
|
|
404
|
+
* @throws {@link Sequenzy.ForbiddenError}
|
|
405
|
+
* @throws {@link Sequenzy.NotFoundError}
|
|
406
|
+
* @throws {@link Sequenzy.UnprocessableEntityError}
|
|
407
|
+
* @throws {@link Sequenzy.InternalServerError}
|
|
408
|
+
* @throws {@link errors.SequenzyError}
|
|
409
|
+
* @throws {@link errors.SequenzyTimeoutError}
|
|
410
|
+
*
|
|
411
|
+
* @example
|
|
412
|
+
* await client.push.startLiveActivity({
|
|
413
|
+
* activityId: "order-1234",
|
|
414
|
+
* activityType: "DeliveryAttributes",
|
|
415
|
+
* alert: {},
|
|
416
|
+
* contentState: {
|
|
417
|
+
* "minutesAway": 8,
|
|
418
|
+
* "status": "out_for_delivery"
|
|
419
|
+
* }
|
|
420
|
+
* })
|
|
421
|
+
*/
|
|
422
|
+
startLiveActivity(request: Sequenzy.StartLiveActivityRequest, requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.LiveActivityDispatch>;
|
|
423
|
+
private __startLiveActivity;
|
|
353
424
|
/**
|
|
354
425
|
* Moves a scheduled push campaign back to draft. The queued send is discarded. Requires the campaigns:send scope.
|
|
355
426
|
*
|
|
@@ -372,6 +443,32 @@ export declare class PushClient {
|
|
|
372
443
|
*/
|
|
373
444
|
unschedulePushCampaign(request: Sequenzy.UnschedulePushCampaignRequest, requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.UnschedulePushCampaignResponse>;
|
|
374
445
|
private __unschedulePushCampaign;
|
|
446
|
+
/**
|
|
447
|
+
* 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.
|
|
448
|
+
*
|
|
449
|
+
* @param {Sequenzy.UpdateLiveActivityRequest} request
|
|
450
|
+
* @param {PushClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
451
|
+
*
|
|
452
|
+
* @throws {@link Sequenzy.BadRequestError}
|
|
453
|
+
* @throws {@link Sequenzy.UnauthorizedError}
|
|
454
|
+
* @throws {@link Sequenzy.ForbiddenError}
|
|
455
|
+
* @throws {@link Sequenzy.NotFoundError}
|
|
456
|
+
* @throws {@link Sequenzy.UnprocessableEntityError}
|
|
457
|
+
* @throws {@link Sequenzy.InternalServerError}
|
|
458
|
+
* @throws {@link errors.SequenzyError}
|
|
459
|
+
* @throws {@link errors.SequenzyTimeoutError}
|
|
460
|
+
*
|
|
461
|
+
* @example
|
|
462
|
+
* await client.push.updateLiveActivity({
|
|
463
|
+
* activityId: "order-1234",
|
|
464
|
+
* contentState: {
|
|
465
|
+
* "minutesAway": 8,
|
|
466
|
+
* "status": "out_for_delivery"
|
|
467
|
+
* }
|
|
468
|
+
* })
|
|
469
|
+
*/
|
|
470
|
+
updateLiveActivity(request: Sequenzy.UpdateLiveActivityRequest, requestOptions?: PushClient.RequestOptions): core.HttpResponsePromise<Sequenzy.LiveActivityDispatch>;
|
|
471
|
+
private __updateLiveActivity;
|
|
375
472
|
/**
|
|
376
473
|
* 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.
|
|
377
474
|
*
|