@azure/notification-hubs 1.2.1-alpha.20240411.1 → 1.2.1-alpha.20240412.2
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/browser/auth/hmacSha256-browser.d.mts.map +1 -0
- package/dist/browser/auth/hmacSha256-browser.mjs.map +1 -0
- package/{types/src/auth/hmacSha256.browser.d.ts → dist/browser/auth/hmacSha256.d.ts} +1 -1
- package/{dist-esm/src/auth/hmacSha256.browser.js → dist/browser/auth/hmacSha256.js} +1 -1
- package/dist/browser/package.json +3 -0
- package/dist/commonjs/api/beginSubmitNotificationHubJob.d.ts +12 -0
- package/dist/commonjs/api/beginSubmitNotificationHubJob.d.ts.map +1 -0
- package/dist/commonjs/api/beginSubmitNotificationHubJob.js +119 -0
- package/dist/commonjs/api/beginSubmitNotificationHubJob.js.map +1 -0
- package/dist/commonjs/api/cancelScheduledNotification.d.ts +13 -0
- package/dist/commonjs/api/cancelScheduledNotification.d.ts.map +1 -0
- package/dist/commonjs/api/cancelScheduledNotification.js +28 -0
- package/dist/commonjs/api/cancelScheduledNotification.js.map +1 -0
- package/dist/commonjs/api/clientContext.d.ts +28 -0
- package/dist/commonjs/api/clientContext.d.ts.map +1 -0
- package/dist/commonjs/api/clientContext.js +60 -0
- package/dist/commonjs/api/clientContext.js.map +1 -0
- package/dist/commonjs/api/createOrUpdateInstallation.d.ts +13 -0
- package/dist/commonjs/api/createOrUpdateInstallation.d.ts.map +1 -0
- package/dist/commonjs/api/createOrUpdateInstallation.js +29 -0
- package/dist/commonjs/api/createOrUpdateInstallation.js.map +1 -0
- package/dist/commonjs/api/createOrUpdateRegistration.d.ts +12 -0
- package/dist/commonjs/api/createOrUpdateRegistration.d.ts.map +1 -0
- package/dist/commonjs/api/createOrUpdateRegistration.js +22 -0
- package/dist/commonjs/api/createOrUpdateRegistration.js.map +1 -0
- package/dist/commonjs/api/createRegistration.d.ts +13 -0
- package/dist/commonjs/api/createRegistration.d.ts.map +1 -0
- package/dist/commonjs/api/createRegistration.js +29 -0
- package/dist/commonjs/api/createRegistration.js.map +1 -0
- package/dist/commonjs/api/createRegistrationId.d.ts +10 -0
- package/dist/commonjs/api/createRegistrationId.d.ts.map +1 -0
- package/dist/commonjs/api/createRegistrationId.js +39 -0
- package/dist/commonjs/api/createRegistrationId.js.map +1 -0
- package/dist/commonjs/api/deleteInstallation.d.ts +12 -0
- package/dist/commonjs/api/deleteInstallation.d.ts.map +1 -0
- package/dist/commonjs/api/deleteInstallation.js +27 -0
- package/dist/commonjs/api/deleteInstallation.js.map +1 -0
- package/dist/commonjs/api/deleteRegistration.d.ts +12 -0
- package/dist/commonjs/api/deleteRegistration.d.ts.map +1 -0
- package/dist/commonjs/api/deleteRegistration.js +30 -0
- package/dist/commonjs/api/deleteRegistration.js.map +1 -0
- package/dist/commonjs/api/getFeedbackContainerUrl.d.ts +11 -0
- package/dist/commonjs/api/getFeedbackContainerUrl.d.ts.map +1 -0
- package/dist/commonjs/api/getFeedbackContainerUrl.js +28 -0
- package/dist/commonjs/api/getFeedbackContainerUrl.js.map +1 -0
- package/dist/commonjs/api/getInstallation.d.ts +12 -0
- package/dist/commonjs/api/getInstallation.d.ts.map +1 -0
- package/dist/commonjs/api/getInstallation.js +28 -0
- package/dist/commonjs/api/getInstallation.js.map +1 -0
- package/dist/commonjs/api/getNotificationHubJob.d.ts +12 -0
- package/dist/commonjs/api/getNotificationHubJob.d.ts.map +1 -0
- package/dist/commonjs/api/getNotificationHubJob.js +29 -0
- package/dist/commonjs/api/getNotificationHubJob.js.map +1 -0
- package/dist/commonjs/api/getNotificationOutcomeDetails.d.ts +13 -0
- package/dist/commonjs/api/getNotificationOutcomeDetails.d.ts.map +1 -0
- package/dist/commonjs/api/getNotificationOutcomeDetails.js +29 -0
- package/dist/commonjs/api/getNotificationOutcomeDetails.js.map +1 -0
- package/dist/commonjs/api/getRegistration.d.ts +12 -0
- package/dist/commonjs/api/getRegistration.d.ts.map +1 -0
- package/dist/commonjs/api/getRegistration.js +29 -0
- package/dist/commonjs/api/getRegistration.js.map +1 -0
- package/dist/commonjs/api/index.d.ts +24 -0
- package/dist/commonjs/api/index.d.ts.map +1 -0
- package/dist/commonjs/api/index.js +29 -0
- package/dist/commonjs/api/index.js.map +1 -0
- package/dist/commonjs/api/internal/_client.d.ts +27 -0
- package/dist/commonjs/api/internal/_client.d.ts.map +1 -0
- package/dist/commonjs/api/internal/_client.js +98 -0
- package/dist/commonjs/api/internal/_client.js.map +1 -0
- package/dist/commonjs/api/internal/_createOrUpdateRegistrationDescription.d.ts +8 -0
- package/dist/commonjs/api/internal/_createOrUpdateRegistrationDescription.d.ts.map +1 -0
- package/dist/commonjs/api/internal/_createOrUpdateRegistrationDescription.js +35 -0
- package/dist/commonjs/api/internal/_createOrUpdateRegistrationDescription.js.map +1 -0
- package/dist/commonjs/api/internal/_listRegistrations.d.ts +6 -0
- package/dist/commonjs/api/internal/_listRegistrations.d.ts.map +1 -0
- package/dist/commonjs/api/internal/_listRegistrations.js +65 -0
- package/dist/commonjs/api/internal/_listRegistrations.js.map +1 -0
- package/dist/commonjs/api/listNotificationHubJobs.d.ts +11 -0
- package/dist/commonjs/api/listNotificationHubJobs.d.ts.map +1 -0
- package/dist/commonjs/api/listNotificationHubJobs.js +28 -0
- package/dist/commonjs/api/listNotificationHubJobs.js.map +1 -0
- package/dist/commonjs/api/listRegistrations.d.ts +12 -0
- package/dist/commonjs/api/listRegistrations.d.ts.map +1 -0
- package/dist/commonjs/api/listRegistrations.js +39 -0
- package/dist/commonjs/api/listRegistrations.js.map +1 -0
- package/dist/commonjs/api/listRegistrationsByChannel.d.ts +13 -0
- package/dist/commonjs/api/listRegistrationsByChannel.d.ts.map +1 -0
- package/dist/commonjs/api/listRegistrationsByChannel.js +62 -0
- package/dist/commonjs/api/listRegistrationsByChannel.js.map +1 -0
- package/dist/commonjs/api/listRegistrationsByTag.d.ts +13 -0
- package/dist/commonjs/api/listRegistrationsByTag.d.ts.map +1 -0
- package/dist/commonjs/api/listRegistrationsByTag.js +94 -0
- package/dist/commonjs/api/listRegistrationsByTag.js.map +1 -0
- package/dist/commonjs/api/scheduleNotification.d.ts +15 -0
- package/dist/commonjs/api/scheduleNotification.d.ts.map +1 -0
- package/dist/commonjs/api/scheduleNotification.js +35 -0
- package/dist/commonjs/api/scheduleNotification.js.map +1 -0
- package/dist/commonjs/api/sendNotification.d.ts +13 -0
- package/dist/commonjs/api/sendNotification.d.ts.map +1 -0
- package/dist/commonjs/api/sendNotification.js +67 -0
- package/dist/commonjs/api/sendNotification.js.map +1 -0
- package/dist/commonjs/api/submitNotificationHubJob.d.ts +13 -0
- package/dist/commonjs/api/submitNotificationHubJob.d.ts.map +1 -0
- package/dist/commonjs/api/submitNotificationHubJob.js +31 -0
- package/dist/commonjs/api/submitNotificationHubJob.js.map +1 -0
- package/dist/commonjs/api/updateInstallation.d.ts +14 -0
- package/dist/commonjs/api/updateInstallation.d.ts.map +1 -0
- package/dist/commonjs/api/updateInstallation.js +30 -0
- package/dist/commonjs/api/updateInstallation.js.map +1 -0
- package/dist/commonjs/api/updateRegistration.d.ts +12 -0
- package/dist/commonjs/api/updateRegistration.d.ts.map +1 -0
- package/dist/commonjs/api/updateRegistration.js +26 -0
- package/dist/commonjs/api/updateRegistration.js.map +1 -0
- package/dist/commonjs/auth/connectionStringUtils.d.ts +43 -0
- package/dist/commonjs/auth/connectionStringUtils.d.ts.map +1 -0
- package/dist/commonjs/auth/connectionStringUtils.js +78 -0
- package/dist/commonjs/auth/connectionStringUtils.js.map +1 -0
- package/dist/commonjs/auth/hmacSha256.js +12 -0
- package/dist/commonjs/auth/hmacSha256.js.map +1 -0
- package/dist/commonjs/auth/sasTokenCredential.d.ts +37 -0
- package/dist/commonjs/auth/sasTokenCredential.d.ts.map +1 -0
- package/dist/commonjs/auth/sasTokenCredential.js +49 -0
- package/dist/commonjs/auth/sasTokenCredential.js.map +1 -0
- package/dist/commonjs/index.d.ts +3 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +8 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +11 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +16 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/installation.d.ts +231 -0
- package/dist/commonjs/models/installation.d.ts.map +1 -0
- package/dist/commonjs/models/installation.js +78 -0
- package/dist/commonjs/models/installation.js.map +1 -0
- package/dist/commonjs/models/notification.d.ts +274 -0
- package/dist/commonjs/models/notification.d.ts.map +1 -0
- package/dist/commonjs/models/notification.js +181 -0
- package/dist/commonjs/models/notification.js.map +1 -0
- package/dist/commonjs/models/notificationBodyBuilder.d.ts +933 -0
- package/dist/commonjs/models/notificationBodyBuilder.d.ts.map +1 -0
- package/dist/commonjs/models/notificationBodyBuilder.js +65 -0
- package/dist/commonjs/models/notificationBodyBuilder.js.map +1 -0
- package/dist/commonjs/models/notificationDetails.d.ts +154 -0
- package/dist/commonjs/models/notificationDetails.d.ts.map +1 -0
- package/dist/commonjs/models/notificationDetails.js +5 -0
- package/dist/commonjs/models/notificationDetails.js.map +1 -0
- package/dist/commonjs/models/notificationHeaderBuilder.d.ts +47 -0
- package/dist/commonjs/models/notificationHeaderBuilder.d.ts.map +1 -0
- package/dist/commonjs/models/notificationHeaderBuilder.js +5 -0
- package/dist/commonjs/models/notificationHeaderBuilder.js.map +1 -0
- package/dist/commonjs/models/notificationHubJob.d.ts +109 -0
- package/dist/commonjs/models/notificationHubJob.d.ts.map +1 -0
- package/dist/commonjs/models/notificationHubJob.js +5 -0
- package/dist/commonjs/models/notificationHubJob.js.map +1 -0
- package/dist/commonjs/models/options.d.ts +77 -0
- package/dist/commonjs/models/options.d.ts.map +1 -0
- package/dist/commonjs/models/options.js +5 -0
- package/dist/commonjs/models/options.js.map +1 -0
- package/dist/commonjs/models/registration.d.ts +595 -0
- package/dist/commonjs/models/registration.d.ts.map +1 -0
- package/dist/commonjs/models/registration.js +150 -0
- package/dist/commonjs/models/registration.js.map +1 -0
- package/dist/commonjs/models/response.d.ts +15 -0
- package/dist/commonjs/models/response.d.ts.map +1 -0
- package/dist/commonjs/models/response.js +5 -0
- package/dist/commonjs/models/response.js.map +1 -0
- package/dist/commonjs/models/tagExpressionBuilder.d.ts +7 -0
- package/dist/commonjs/models/tagExpressionBuilder.d.ts.map +1 -0
- package/dist/commonjs/models/tagExpressionBuilder.js +15 -0
- package/dist/commonjs/models/tagExpressionBuilder.js.map +1 -0
- package/dist/commonjs/notificationHubsClient.d.ts +180 -0
- package/dist/commonjs/notificationHubsClient.d.ts.map +1 -0
- package/dist/commonjs/notificationHubsClient.js +246 -0
- package/dist/commonjs/notificationHubsClient.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/serializers/notificationDetailsSerializer.d.ts +7 -0
- package/dist/commonjs/serializers/notificationDetailsSerializer.d.ts.map +1 -0
- package/dist/commonjs/serializers/notificationDetailsSerializer.js +68 -0
- package/dist/commonjs/serializers/notificationDetailsSerializer.js.map +1 -0
- package/dist/commonjs/serializers/notificationHubJobSerializer.d.ts +21 -0
- package/dist/commonjs/serializers/notificationHubJobSerializer.d.ts.map +1 -0
- package/dist/commonjs/serializers/notificationHubJobSerializer.js +86 -0
- package/dist/commonjs/serializers/notificationHubJobSerializer.js.map +1 -0
- package/dist/commonjs/serializers/notificationOutcomeSerializer.d.ts +3 -0
- package/dist/commonjs/serializers/notificationOutcomeSerializer.d.ts.map +1 -0
- package/dist/commonjs/serializers/notificationOutcomeSerializer.js +35 -0
- package/dist/commonjs/serializers/notificationOutcomeSerializer.js.map +1 -0
- package/dist/commonjs/serializers/registrationSerializer.d.ts +213 -0
- package/dist/commonjs/serializers/registrationSerializer.d.ts.map +1 -0
- package/dist/commonjs/serializers/registrationSerializer.js +409 -0
- package/dist/commonjs/serializers/registrationSerializer.js.map +1 -0
- package/dist/commonjs/utils/constants.d.ts +10 -0
- package/dist/commonjs/utils/constants.d.ts.map +1 -0
- package/dist/commonjs/utils/constants.js +15 -0
- package/dist/commonjs/utils/constants.js.map +1 -0
- package/dist/commonjs/utils/notificationUtils.d.ts +6 -0
- package/dist/commonjs/utils/notificationUtils.d.ts.map +1 -0
- package/dist/commonjs/utils/notificationUtils.js +23 -0
- package/dist/commonjs/utils/notificationUtils.js.map +1 -0
- package/dist/commonjs/utils/optionUtils.d.ts +14 -0
- package/dist/commonjs/utils/optionUtils.d.ts.map +1 -0
- package/dist/commonjs/utils/optionUtils.js +25 -0
- package/dist/commonjs/utils/optionUtils.js.map +1 -0
- package/dist/commonjs/utils/tracing.d.ts +6 -0
- package/dist/commonjs/utils/tracing.d.ts.map +1 -0
- package/dist/commonjs/utils/tracing.js +17 -0
- package/dist/commonjs/utils/tracing.js.map +1 -0
- package/dist/commonjs/utils/utils.d.ts +67 -0
- package/dist/commonjs/utils/utils.d.ts.map +1 -0
- package/dist/commonjs/utils/utils.js +144 -0
- package/dist/commonjs/utils/utils.js.map +1 -0
- package/dist/commonjs/utils/xmlUtils.d.ts +46 -0
- package/dist/commonjs/utils/xmlUtils.d.ts.map +1 -0
- package/dist/commonjs/utils/xmlUtils.js +108 -0
- package/dist/commonjs/utils/xmlUtils.js.map +1 -0
- package/dist/esm/api/beginSubmitNotificationHubJob.d.ts +12 -0
- package/dist/esm/api/beginSubmitNotificationHubJob.d.ts.map +1 -0
- package/dist/esm/api/beginSubmitNotificationHubJob.js +115 -0
- package/dist/esm/api/beginSubmitNotificationHubJob.js.map +1 -0
- package/dist/esm/api/cancelScheduledNotification.d.ts +13 -0
- package/dist/esm/api/cancelScheduledNotification.d.ts.map +1 -0
- package/dist/esm/api/cancelScheduledNotification.js +24 -0
- package/dist/esm/api/cancelScheduledNotification.js.map +1 -0
- package/dist/esm/api/clientContext.d.ts +28 -0
- package/dist/esm/api/clientContext.d.ts.map +1 -0
- package/dist/esm/api/clientContext.js +55 -0
- package/dist/esm/api/clientContext.js.map +1 -0
- package/dist/esm/api/createOrUpdateInstallation.d.ts +13 -0
- package/dist/esm/api/createOrUpdateInstallation.d.ts.map +1 -0
- package/dist/esm/api/createOrUpdateInstallation.js +25 -0
- package/dist/esm/api/createOrUpdateInstallation.js.map +1 -0
- package/dist/esm/api/createOrUpdateRegistration.d.ts +12 -0
- package/dist/esm/api/createOrUpdateRegistration.d.ts.map +1 -0
- package/dist/esm/api/createOrUpdateRegistration.js +18 -0
- package/dist/esm/api/createOrUpdateRegistration.js.map +1 -0
- package/dist/esm/api/createRegistration.d.ts +13 -0
- package/dist/esm/api/createRegistration.d.ts.map +1 -0
- package/dist/esm/api/createRegistration.js +25 -0
- package/dist/esm/api/createRegistration.js.map +1 -0
- package/dist/esm/api/createRegistrationId.d.ts +10 -0
- package/dist/esm/api/createRegistrationId.d.ts.map +1 -0
- package/dist/esm/api/createRegistrationId.js +35 -0
- package/dist/esm/api/createRegistrationId.js.map +1 -0
- package/dist/esm/api/deleteInstallation.d.ts +12 -0
- package/dist/esm/api/deleteInstallation.d.ts.map +1 -0
- package/dist/esm/api/deleteInstallation.js +23 -0
- package/dist/esm/api/deleteInstallation.js.map +1 -0
- package/dist/esm/api/deleteRegistration.d.ts +12 -0
- package/dist/esm/api/deleteRegistration.d.ts.map +1 -0
- package/dist/esm/api/deleteRegistration.js +26 -0
- package/dist/esm/api/deleteRegistration.js.map +1 -0
- package/dist/esm/api/getFeedbackContainerUrl.d.ts +11 -0
- package/dist/esm/api/getFeedbackContainerUrl.d.ts.map +1 -0
- package/dist/esm/api/getFeedbackContainerUrl.js +24 -0
- package/dist/esm/api/getFeedbackContainerUrl.js.map +1 -0
- package/dist/esm/api/getInstallation.d.ts +12 -0
- package/dist/esm/api/getInstallation.d.ts.map +1 -0
- package/dist/esm/api/getInstallation.js +24 -0
- package/dist/esm/api/getInstallation.js.map +1 -0
- package/dist/esm/api/getNotificationHubJob.d.ts +12 -0
- package/dist/esm/api/getNotificationHubJob.d.ts.map +1 -0
- package/dist/esm/api/getNotificationHubJob.js +25 -0
- package/dist/esm/api/getNotificationHubJob.js.map +1 -0
- package/dist/esm/api/getNotificationOutcomeDetails.d.ts +13 -0
- package/dist/esm/api/getNotificationOutcomeDetails.d.ts.map +1 -0
- package/dist/esm/api/getNotificationOutcomeDetails.js +25 -0
- package/dist/esm/api/getNotificationOutcomeDetails.js.map +1 -0
- package/dist/esm/api/getRegistration.d.ts +12 -0
- package/dist/esm/api/getRegistration.d.ts.map +1 -0
- package/dist/esm/api/getRegistration.js +25 -0
- package/dist/esm/api/getRegistration.js.map +1 -0
- package/dist/esm/api/index.d.ts +24 -0
- package/dist/esm/api/index.d.ts.map +1 -0
- package/dist/esm/api/index.js +26 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/internal/_client.d.ts +27 -0
- package/dist/esm/api/internal/_client.d.ts.map +1 -0
- package/dist/esm/api/internal/_client.js +91 -0
- package/dist/esm/api/internal/_client.js.map +1 -0
- package/dist/esm/api/internal/_createOrUpdateRegistrationDescription.d.ts +8 -0
- package/dist/esm/api/internal/_createOrUpdateRegistrationDescription.d.ts.map +1 -0
- package/dist/esm/api/internal/_createOrUpdateRegistrationDescription.js +31 -0
- package/dist/esm/api/internal/_createOrUpdateRegistrationDescription.js.map +1 -0
- package/dist/esm/api/internal/_listRegistrations.d.ts +6 -0
- package/dist/esm/api/internal/_listRegistrations.d.ts.map +1 -0
- package/dist/esm/api/internal/_listRegistrations.js +60 -0
- package/dist/esm/api/internal/_listRegistrations.js.map +1 -0
- package/dist/esm/api/listNotificationHubJobs.d.ts +11 -0
- package/dist/esm/api/listNotificationHubJobs.d.ts.map +1 -0
- package/dist/esm/api/listNotificationHubJobs.js +24 -0
- package/dist/esm/api/listNotificationHubJobs.js.map +1 -0
- package/dist/esm/api/listRegistrations.d.ts +12 -0
- package/dist/esm/api/listRegistrations.d.ts.map +1 -0
- package/dist/esm/api/listRegistrations.js +35 -0
- package/dist/esm/api/listRegistrations.js.map +1 -0
- package/dist/esm/api/listRegistrationsByChannel.d.ts +13 -0
- package/dist/esm/api/listRegistrationsByChannel.d.ts.map +1 -0
- package/dist/esm/api/listRegistrationsByChannel.js +58 -0
- package/dist/esm/api/listRegistrationsByChannel.js.map +1 -0
- package/dist/esm/api/listRegistrationsByTag.d.ts +13 -0
- package/dist/esm/api/listRegistrationsByTag.d.ts.map +1 -0
- package/dist/esm/api/listRegistrationsByTag.js +90 -0
- package/dist/esm/api/listRegistrationsByTag.js.map +1 -0
- package/dist/esm/api/scheduleNotification.d.ts +15 -0
- package/dist/esm/api/scheduleNotification.d.ts.map +1 -0
- package/dist/esm/api/scheduleNotification.js +31 -0
- package/dist/esm/api/scheduleNotification.js.map +1 -0
- package/dist/esm/api/sendNotification.d.ts +13 -0
- package/dist/esm/api/sendNotification.d.ts.map +1 -0
- package/dist/esm/api/sendNotification.js +63 -0
- package/dist/esm/api/sendNotification.js.map +1 -0
- package/dist/esm/api/submitNotificationHubJob.d.ts +13 -0
- package/dist/esm/api/submitNotificationHubJob.d.ts.map +1 -0
- package/dist/esm/api/submitNotificationHubJob.js +27 -0
- package/dist/esm/api/submitNotificationHubJob.js.map +1 -0
- package/dist/esm/api/updateInstallation.d.ts +14 -0
- package/dist/esm/api/updateInstallation.d.ts.map +1 -0
- package/dist/esm/api/updateInstallation.js +26 -0
- package/dist/esm/api/updateInstallation.js.map +1 -0
- package/dist/esm/api/updateRegistration.d.ts +12 -0
- package/dist/esm/api/updateRegistration.d.ts.map +1 -0
- package/dist/esm/api/updateRegistration.js +22 -0
- package/dist/esm/api/updateRegistration.js.map +1 -0
- package/dist/esm/auth/connectionStringUtils.d.ts +43 -0
- package/dist/esm/auth/connectionStringUtils.d.ts.map +1 -0
- package/dist/esm/auth/connectionStringUtils.js +73 -0
- package/dist/esm/auth/connectionStringUtils.js.map +1 -0
- package/dist/esm/auth/hmacSha256.d.ts +2 -0
- package/dist/esm/auth/hmacSha256.d.ts.map +1 -0
- package/dist/esm/auth/sasTokenCredential.d.ts +37 -0
- package/dist/esm/auth/sasTokenCredential.d.ts.map +1 -0
- package/dist/esm/auth/sasTokenCredential.js +45 -0
- package/dist/esm/auth/sasTokenCredential.js.map +1 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/models/index.d.ts +11 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +13 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/installation.d.ts +231 -0
- package/dist/esm/models/installation.d.ts.map +1 -0
- package/dist/esm/models/installation.js +67 -0
- package/dist/esm/models/installation.js.map +1 -0
- package/dist/esm/models/notification.d.ts +274 -0
- package/dist/esm/models/notification.d.ts.map +1 -0
- package/dist/esm/models/notification.js +164 -0
- package/dist/esm/models/notification.js.map +1 -0
- package/dist/esm/models/notificationBodyBuilder.d.ts +933 -0
- package/dist/esm/models/notificationBodyBuilder.d.ts.map +1 -0
- package/dist/esm/models/notificationBodyBuilder.js +56 -0
- package/dist/esm/models/notificationBodyBuilder.js.map +1 -0
- package/dist/esm/models/notificationDetails.d.ts +154 -0
- package/dist/esm/models/notificationDetails.d.ts.map +1 -0
- package/dist/esm/models/notificationDetails.js +4 -0
- package/dist/esm/models/notificationDetails.js.map +1 -0
- package/dist/esm/models/notificationHeaderBuilder.d.ts +47 -0
- package/dist/esm/models/notificationHeaderBuilder.d.ts.map +1 -0
- package/dist/esm/models/notificationHeaderBuilder.js +4 -0
- package/dist/esm/models/notificationHeaderBuilder.js.map +1 -0
- package/dist/esm/models/notificationHubJob.d.ts +109 -0
- package/dist/esm/models/notificationHubJob.d.ts.map +1 -0
- package/dist/esm/models/notificationHubJob.js +4 -0
- package/dist/esm/models/notificationHubJob.js.map +1 -0
- package/dist/esm/models/options.d.ts +77 -0
- package/dist/esm/models/options.d.ts.map +1 -0
- package/dist/esm/models/options.js +4 -0
- package/dist/esm/models/options.js.map +1 -0
- package/dist/esm/models/registration.d.ts +595 -0
- package/dist/esm/models/registration.d.ts.map +1 -0
- package/dist/esm/models/registration.js +131 -0
- package/dist/esm/models/registration.js.map +1 -0
- package/dist/esm/models/response.d.ts +15 -0
- package/dist/esm/models/response.d.ts.map +1 -0
- package/dist/esm/models/response.js +4 -0
- package/dist/esm/models/response.js.map +1 -0
- package/dist/esm/models/tagExpressionBuilder.d.ts +7 -0
- package/dist/esm/models/tagExpressionBuilder.d.ts.map +1 -0
- package/dist/esm/models/tagExpressionBuilder.js +11 -0
- package/dist/esm/models/tagExpressionBuilder.js.map +1 -0
- package/dist/esm/notificationHubsClient.d.ts +180 -0
- package/dist/esm/notificationHubsClient.d.ts.map +1 -0
- package/dist/esm/notificationHubsClient.js +242 -0
- package/dist/esm/notificationHubsClient.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/serializers/notificationDetailsSerializer.d.ts +7 -0
- package/dist/esm/serializers/notificationDetailsSerializer.d.ts.map +1 -0
- package/dist/esm/serializers/notificationDetailsSerializer.js +64 -0
- package/dist/esm/serializers/notificationDetailsSerializer.js.map +1 -0
- package/dist/esm/serializers/notificationHubJobSerializer.d.ts +21 -0
- package/dist/esm/serializers/notificationHubJobSerializer.d.ts.map +1 -0
- package/dist/esm/serializers/notificationHubJobSerializer.js +80 -0
- package/dist/esm/serializers/notificationHubJobSerializer.js.map +1 -0
- package/dist/esm/serializers/notificationOutcomeSerializer.d.ts +3 -0
- package/dist/esm/serializers/notificationOutcomeSerializer.d.ts.map +1 -0
- package/dist/esm/serializers/notificationOutcomeSerializer.js +31 -0
- package/dist/esm/serializers/notificationOutcomeSerializer.js.map +1 -0
- package/dist/esm/serializers/registrationSerializer.d.ts +213 -0
- package/dist/esm/serializers/registrationSerializer.d.ts.map +1 -0
- package/dist/esm/serializers/registrationSerializer.js +406 -0
- package/dist/esm/serializers/registrationSerializer.js.map +1 -0
- package/dist/esm/utils/constants.d.ts +10 -0
- package/dist/esm/utils/constants.d.ts.map +1 -0
- package/dist/esm/utils/constants.js +12 -0
- package/dist/esm/utils/constants.js.map +1 -0
- package/dist/esm/utils/notificationUtils.d.ts +6 -0
- package/dist/esm/utils/notificationUtils.d.ts.map +1 -0
- package/dist/esm/utils/notificationUtils.js +19 -0
- package/dist/esm/utils/notificationUtils.js.map +1 -0
- package/dist/esm/utils/optionUtils.d.ts +14 -0
- package/dist/esm/utils/optionUtils.d.ts.map +1 -0
- package/dist/esm/utils/optionUtils.js +20 -0
- package/dist/esm/utils/optionUtils.js.map +1 -0
- package/dist/esm/utils/tracing.d.ts +6 -0
- package/dist/esm/utils/tracing.d.ts.map +1 -0
- package/dist/esm/utils/tracing.js +14 -0
- package/dist/esm/utils/tracing.js.map +1 -0
- package/dist/esm/utils/utils.d.ts +67 -0
- package/dist/esm/utils/utils.d.ts.map +1 -0
- package/dist/esm/utils/utils.js +130 -0
- package/dist/esm/utils/utils.js.map +1 -0
- package/dist/esm/utils/xmlUtils.d.ts +46 -0
- package/dist/esm/utils/xmlUtils.d.ts.map +1 -0
- package/dist/esm/utils/xmlUtils.js +101 -0
- package/dist/esm/utils/xmlUtils.js.map +1 -0
- package/dist/react-native/api/beginSubmitNotificationHubJob.d.ts +12 -0
- package/dist/react-native/api/beginSubmitNotificationHubJob.d.ts.map +1 -0
- package/dist/react-native/api/beginSubmitNotificationHubJob.js +115 -0
- package/dist/react-native/api/beginSubmitNotificationHubJob.js.map +1 -0
- package/dist/react-native/api/cancelScheduledNotification.d.ts +13 -0
- package/dist/react-native/api/cancelScheduledNotification.d.ts.map +1 -0
- package/dist/react-native/api/cancelScheduledNotification.js +24 -0
- package/dist/react-native/api/cancelScheduledNotification.js.map +1 -0
- package/dist/react-native/api/clientContext.d.ts +28 -0
- package/dist/react-native/api/clientContext.d.ts.map +1 -0
- package/dist/react-native/api/clientContext.js +55 -0
- package/dist/react-native/api/clientContext.js.map +1 -0
- package/dist/react-native/api/createOrUpdateInstallation.d.ts +13 -0
- package/dist/react-native/api/createOrUpdateInstallation.d.ts.map +1 -0
- package/dist/react-native/api/createOrUpdateInstallation.js +25 -0
- package/dist/react-native/api/createOrUpdateInstallation.js.map +1 -0
- package/dist/react-native/api/createOrUpdateRegistration.d.ts +12 -0
- package/dist/react-native/api/createOrUpdateRegistration.d.ts.map +1 -0
- package/dist/react-native/api/createOrUpdateRegistration.js +18 -0
- package/dist/react-native/api/createOrUpdateRegistration.js.map +1 -0
- package/dist/react-native/api/createRegistration.d.ts +13 -0
- package/dist/react-native/api/createRegistration.d.ts.map +1 -0
- package/dist/react-native/api/createRegistration.js +25 -0
- package/dist/react-native/api/createRegistration.js.map +1 -0
- package/dist/react-native/api/createRegistrationId.d.ts +10 -0
- package/dist/react-native/api/createRegistrationId.d.ts.map +1 -0
- package/dist/react-native/api/createRegistrationId.js +35 -0
- package/dist/react-native/api/createRegistrationId.js.map +1 -0
- package/dist/react-native/api/deleteInstallation.d.ts +12 -0
- package/dist/react-native/api/deleteInstallation.d.ts.map +1 -0
- package/dist/react-native/api/deleteInstallation.js +23 -0
- package/dist/react-native/api/deleteInstallation.js.map +1 -0
- package/dist/react-native/api/deleteRegistration.d.ts +12 -0
- package/dist/react-native/api/deleteRegistration.d.ts.map +1 -0
- package/dist/react-native/api/deleteRegistration.js +26 -0
- package/dist/react-native/api/deleteRegistration.js.map +1 -0
- package/dist/react-native/api/getFeedbackContainerUrl.d.ts +11 -0
- package/dist/react-native/api/getFeedbackContainerUrl.d.ts.map +1 -0
- package/dist/react-native/api/getFeedbackContainerUrl.js +24 -0
- package/dist/react-native/api/getFeedbackContainerUrl.js.map +1 -0
- package/dist/react-native/api/getInstallation.d.ts +12 -0
- package/dist/react-native/api/getInstallation.d.ts.map +1 -0
- package/dist/react-native/api/getInstallation.js +24 -0
- package/dist/react-native/api/getInstallation.js.map +1 -0
- package/dist/react-native/api/getNotificationHubJob.d.ts +12 -0
- package/dist/react-native/api/getNotificationHubJob.d.ts.map +1 -0
- package/dist/react-native/api/getNotificationHubJob.js +25 -0
- package/dist/react-native/api/getNotificationHubJob.js.map +1 -0
- package/dist/react-native/api/getNotificationOutcomeDetails.d.ts +13 -0
- package/dist/react-native/api/getNotificationOutcomeDetails.d.ts.map +1 -0
- package/dist/react-native/api/getNotificationOutcomeDetails.js +25 -0
- package/dist/react-native/api/getNotificationOutcomeDetails.js.map +1 -0
- package/dist/react-native/api/getRegistration.d.ts +12 -0
- package/dist/react-native/api/getRegistration.d.ts.map +1 -0
- package/dist/react-native/api/getRegistration.js +25 -0
- package/dist/react-native/api/getRegistration.js.map +1 -0
- package/dist/react-native/api/index.d.ts +24 -0
- package/dist/react-native/api/index.d.ts.map +1 -0
- package/dist/react-native/api/index.js +26 -0
- package/dist/react-native/api/index.js.map +1 -0
- package/dist/react-native/api/internal/_client.d.ts +27 -0
- package/dist/react-native/api/internal/_client.d.ts.map +1 -0
- package/dist/react-native/api/internal/_client.js +91 -0
- package/dist/react-native/api/internal/_client.js.map +1 -0
- package/dist/react-native/api/internal/_createOrUpdateRegistrationDescription.d.ts +8 -0
- package/dist/react-native/api/internal/_createOrUpdateRegistrationDescription.d.ts.map +1 -0
- package/dist/react-native/api/internal/_createOrUpdateRegistrationDescription.js +31 -0
- package/dist/react-native/api/internal/_createOrUpdateRegistrationDescription.js.map +1 -0
- package/dist/react-native/api/internal/_listRegistrations.d.ts +6 -0
- package/dist/react-native/api/internal/_listRegistrations.d.ts.map +1 -0
- package/dist/react-native/api/internal/_listRegistrations.js +60 -0
- package/dist/react-native/api/internal/_listRegistrations.js.map +1 -0
- package/dist/react-native/api/listNotificationHubJobs.d.ts +11 -0
- package/dist/react-native/api/listNotificationHubJobs.d.ts.map +1 -0
- package/dist/react-native/api/listNotificationHubJobs.js +24 -0
- package/dist/react-native/api/listNotificationHubJobs.js.map +1 -0
- package/dist/react-native/api/listRegistrations.d.ts +12 -0
- package/dist/react-native/api/listRegistrations.d.ts.map +1 -0
- package/dist/react-native/api/listRegistrations.js +35 -0
- package/dist/react-native/api/listRegistrations.js.map +1 -0
- package/dist/react-native/api/listRegistrationsByChannel.d.ts +13 -0
- package/dist/react-native/api/listRegistrationsByChannel.d.ts.map +1 -0
- package/dist/react-native/api/listRegistrationsByChannel.js +58 -0
- package/dist/react-native/api/listRegistrationsByChannel.js.map +1 -0
- package/dist/react-native/api/listRegistrationsByTag.d.ts +13 -0
- package/dist/react-native/api/listRegistrationsByTag.d.ts.map +1 -0
- package/dist/react-native/api/listRegistrationsByTag.js +90 -0
- package/dist/react-native/api/listRegistrationsByTag.js.map +1 -0
- package/dist/react-native/api/scheduleNotification.d.ts +15 -0
- package/dist/react-native/api/scheduleNotification.d.ts.map +1 -0
- package/dist/react-native/api/scheduleNotification.js +31 -0
- package/dist/react-native/api/scheduleNotification.js.map +1 -0
- package/dist/react-native/api/sendNotification.d.ts +13 -0
- package/dist/react-native/api/sendNotification.d.ts.map +1 -0
- package/dist/react-native/api/sendNotification.js +63 -0
- package/dist/react-native/api/sendNotification.js.map +1 -0
- package/dist/react-native/api/submitNotificationHubJob.d.ts +13 -0
- package/dist/react-native/api/submitNotificationHubJob.d.ts.map +1 -0
- package/dist/react-native/api/submitNotificationHubJob.js +27 -0
- package/dist/react-native/api/submitNotificationHubJob.js.map +1 -0
- package/dist/react-native/api/updateInstallation.d.ts +14 -0
- package/dist/react-native/api/updateInstallation.d.ts.map +1 -0
- package/dist/react-native/api/updateInstallation.js +26 -0
- package/dist/react-native/api/updateInstallation.js.map +1 -0
- package/dist/react-native/api/updateRegistration.d.ts +12 -0
- package/dist/react-native/api/updateRegistration.d.ts.map +1 -0
- package/dist/react-native/api/updateRegistration.js +22 -0
- package/dist/react-native/api/updateRegistration.js.map +1 -0
- package/dist/react-native/auth/connectionStringUtils.d.ts +43 -0
- package/dist/react-native/auth/connectionStringUtils.d.ts.map +1 -0
- package/dist/react-native/auth/connectionStringUtils.js +73 -0
- package/dist/react-native/auth/connectionStringUtils.js.map +1 -0
- package/dist/react-native/auth/hmacSha256.d.ts +2 -0
- package/dist/react-native/auth/hmacSha256.d.ts.map +1 -0
- package/dist/react-native/auth/hmacSha256.js +8 -0
- package/dist/react-native/auth/hmacSha256.js.map +1 -0
- package/dist/react-native/auth/sasTokenCredential.d.ts +37 -0
- package/dist/react-native/auth/sasTokenCredential.d.ts.map +1 -0
- package/dist/react-native/auth/sasTokenCredential.js +45 -0
- package/dist/react-native/auth/sasTokenCredential.js.map +1 -0
- package/dist/react-native/index.d.ts +3 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +5 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/models/index.d.ts +11 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +13 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/installation.d.ts +231 -0
- package/dist/react-native/models/installation.d.ts.map +1 -0
- package/dist/react-native/models/installation.js +67 -0
- package/dist/react-native/models/installation.js.map +1 -0
- package/dist/react-native/models/notification.d.ts +274 -0
- package/dist/react-native/models/notification.d.ts.map +1 -0
- package/dist/react-native/models/notification.js +164 -0
- package/dist/react-native/models/notification.js.map +1 -0
- package/dist/react-native/models/notificationBodyBuilder.d.ts +933 -0
- package/dist/react-native/models/notificationBodyBuilder.d.ts.map +1 -0
- package/dist/react-native/models/notificationBodyBuilder.js +56 -0
- package/dist/react-native/models/notificationBodyBuilder.js.map +1 -0
- package/dist/react-native/models/notificationDetails.d.ts +154 -0
- package/dist/react-native/models/notificationDetails.d.ts.map +1 -0
- package/dist/react-native/models/notificationDetails.js +4 -0
- package/dist/react-native/models/notificationDetails.js.map +1 -0
- package/dist/react-native/models/notificationHeaderBuilder.d.ts +47 -0
- package/dist/react-native/models/notificationHeaderBuilder.d.ts.map +1 -0
- package/dist/react-native/models/notificationHeaderBuilder.js +4 -0
- package/dist/react-native/models/notificationHeaderBuilder.js.map +1 -0
- package/dist/react-native/models/notificationHubJob.d.ts +109 -0
- package/dist/react-native/models/notificationHubJob.d.ts.map +1 -0
- package/dist/react-native/models/notificationHubJob.js +4 -0
- package/dist/react-native/models/notificationHubJob.js.map +1 -0
- package/dist/react-native/models/options.d.ts +77 -0
- package/dist/react-native/models/options.d.ts.map +1 -0
- package/dist/react-native/models/options.js +4 -0
- package/dist/react-native/models/options.js.map +1 -0
- package/dist/react-native/models/registration.d.ts +595 -0
- package/dist/react-native/models/registration.d.ts.map +1 -0
- package/dist/react-native/models/registration.js +131 -0
- package/dist/react-native/models/registration.js.map +1 -0
- package/dist/react-native/models/response.d.ts +15 -0
- package/dist/react-native/models/response.d.ts.map +1 -0
- package/dist/react-native/models/response.js +4 -0
- package/dist/react-native/models/response.js.map +1 -0
- package/dist/react-native/models/tagExpressionBuilder.d.ts +7 -0
- package/dist/react-native/models/tagExpressionBuilder.d.ts.map +1 -0
- package/dist/react-native/models/tagExpressionBuilder.js +11 -0
- package/dist/react-native/models/tagExpressionBuilder.js.map +1 -0
- package/dist/react-native/notificationHubsClient.d.ts +180 -0
- package/dist/react-native/notificationHubsClient.d.ts.map +1 -0
- package/dist/react-native/notificationHubsClient.js +242 -0
- package/dist/react-native/notificationHubsClient.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/serializers/notificationDetailsSerializer.d.ts +7 -0
- package/dist/react-native/serializers/notificationDetailsSerializer.d.ts.map +1 -0
- package/dist/react-native/serializers/notificationDetailsSerializer.js +64 -0
- package/dist/react-native/serializers/notificationDetailsSerializer.js.map +1 -0
- package/dist/react-native/serializers/notificationHubJobSerializer.d.ts +21 -0
- package/dist/react-native/serializers/notificationHubJobSerializer.d.ts.map +1 -0
- package/dist/react-native/serializers/notificationHubJobSerializer.js +80 -0
- package/dist/react-native/serializers/notificationHubJobSerializer.js.map +1 -0
- package/dist/react-native/serializers/notificationOutcomeSerializer.d.ts +3 -0
- package/dist/react-native/serializers/notificationOutcomeSerializer.d.ts.map +1 -0
- package/dist/react-native/serializers/notificationOutcomeSerializer.js +31 -0
- package/dist/react-native/serializers/notificationOutcomeSerializer.js.map +1 -0
- package/dist/react-native/serializers/registrationSerializer.d.ts +213 -0
- package/dist/react-native/serializers/registrationSerializer.d.ts.map +1 -0
- package/dist/react-native/serializers/registrationSerializer.js +406 -0
- package/dist/react-native/serializers/registrationSerializer.js.map +1 -0
- package/dist/react-native/utils/constants.d.ts +10 -0
- package/dist/react-native/utils/constants.d.ts.map +1 -0
- package/dist/react-native/utils/constants.js +12 -0
- package/dist/react-native/utils/constants.js.map +1 -0
- package/dist/react-native/utils/notificationUtils.d.ts +6 -0
- package/dist/react-native/utils/notificationUtils.d.ts.map +1 -0
- package/dist/react-native/utils/notificationUtils.js +19 -0
- package/dist/react-native/utils/notificationUtils.js.map +1 -0
- package/dist/react-native/utils/optionUtils.d.ts +14 -0
- package/dist/react-native/utils/optionUtils.d.ts.map +1 -0
- package/dist/react-native/utils/optionUtils.js +20 -0
- package/dist/react-native/utils/optionUtils.js.map +1 -0
- package/dist/react-native/utils/tracing.d.ts +6 -0
- package/dist/react-native/utils/tracing.d.ts.map +1 -0
- package/dist/react-native/utils/tracing.js +14 -0
- package/dist/react-native/utils/tracing.js.map +1 -0
- package/dist/react-native/utils/utils.d.ts +67 -0
- package/dist/react-native/utils/utils.d.ts.map +1 -0
- package/dist/react-native/utils/utils.js +130 -0
- package/dist/react-native/utils/utils.js.map +1 -0
- package/dist/react-native/utils/xmlUtils.d.ts +46 -0
- package/dist/react-native/utils/xmlUtils.d.ts.map +1 -0
- package/dist/react-native/utils/xmlUtils.js +101 -0
- package/dist/react-native/utils/xmlUtils.js.map +1 -0
- package/package.json +105 -70
- package/dist/index.cjs +0 -2602
- package/dist/index.cjs.map +0 -1
- package/dist-esm/src/auth/hmacSha256.browser.js.map +0 -1
- package/types/latest/api/notification-hubs.d.ts +0 -1438
- package/types/latest/models/notification-hubs.d.ts +0 -2610
- package/types/src/auth/hmacSha256.browser.d.ts.map +0 -1
- /package/{types/src → dist/browser}/api/beginSubmitNotificationHubJob.d.ts +0 -0
- /package/{types/src → dist/browser}/api/beginSubmitNotificationHubJob.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/beginSubmitNotificationHubJob.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/beginSubmitNotificationHubJob.js.map +0 -0
- /package/{types/src → dist/browser}/api/cancelScheduledNotification.d.ts +0 -0
- /package/{types/src → dist/browser}/api/cancelScheduledNotification.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/cancelScheduledNotification.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/cancelScheduledNotification.js.map +0 -0
- /package/{types/src → dist/browser}/api/clientContext.d.ts +0 -0
- /package/{types/src → dist/browser}/api/clientContext.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/clientContext.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/clientContext.js.map +0 -0
- /package/{types/src → dist/browser}/api/createOrUpdateInstallation.d.ts +0 -0
- /package/{types/src → dist/browser}/api/createOrUpdateInstallation.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/createOrUpdateInstallation.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/createOrUpdateInstallation.js.map +0 -0
- /package/{types/src → dist/browser}/api/createOrUpdateRegistration.d.ts +0 -0
- /package/{types/src → dist/browser}/api/createOrUpdateRegistration.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/createOrUpdateRegistration.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/createOrUpdateRegistration.js.map +0 -0
- /package/{types/src → dist/browser}/api/createRegistration.d.ts +0 -0
- /package/{types/src → dist/browser}/api/createRegistration.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/createRegistration.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/createRegistration.js.map +0 -0
- /package/{types/src → dist/browser}/api/createRegistrationId.d.ts +0 -0
- /package/{types/src → dist/browser}/api/createRegistrationId.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/createRegistrationId.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/createRegistrationId.js.map +0 -0
- /package/{types/src → dist/browser}/api/deleteInstallation.d.ts +0 -0
- /package/{types/src → dist/browser}/api/deleteInstallation.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/deleteInstallation.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/deleteInstallation.js.map +0 -0
- /package/{types/src → dist/browser}/api/deleteRegistration.d.ts +0 -0
- /package/{types/src → dist/browser}/api/deleteRegistration.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/deleteRegistration.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/deleteRegistration.js.map +0 -0
- /package/{types/src → dist/browser}/api/getFeedbackContainerUrl.d.ts +0 -0
- /package/{types/src → dist/browser}/api/getFeedbackContainerUrl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/getFeedbackContainerUrl.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/getFeedbackContainerUrl.js.map +0 -0
- /package/{types/src → dist/browser}/api/getInstallation.d.ts +0 -0
- /package/{types/src → dist/browser}/api/getInstallation.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/getInstallation.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/getInstallation.js.map +0 -0
- /package/{types/src → dist/browser}/api/getNotificationHubJob.d.ts +0 -0
- /package/{types/src → dist/browser}/api/getNotificationHubJob.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/getNotificationHubJob.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/getNotificationHubJob.js.map +0 -0
- /package/{types/src → dist/browser}/api/getNotificationOutcomeDetails.d.ts +0 -0
- /package/{types/src → dist/browser}/api/getNotificationOutcomeDetails.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/getNotificationOutcomeDetails.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/getNotificationOutcomeDetails.js.map +0 -0
- /package/{types/src → dist/browser}/api/getRegistration.d.ts +0 -0
- /package/{types/src → dist/browser}/api/getRegistration.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/getRegistration.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/getRegistration.js.map +0 -0
- /package/{types/src → dist/browser}/api/index.d.ts +0 -0
- /package/{types/src → dist/browser}/api/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/index.js.map +0 -0
- /package/{types/src → dist/browser}/api/internal/_client.d.ts +0 -0
- /package/{types/src → dist/browser}/api/internal/_client.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/internal/_client.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/internal/_client.js.map +0 -0
- /package/{types/src → dist/browser}/api/internal/_createOrUpdateRegistrationDescription.d.ts +0 -0
- /package/{types/src → dist/browser}/api/internal/_createOrUpdateRegistrationDescription.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/internal/_createOrUpdateRegistrationDescription.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/internal/_createOrUpdateRegistrationDescription.js.map +0 -0
- /package/{types/src → dist/browser}/api/internal/_listRegistrations.d.ts +0 -0
- /package/{types/src → dist/browser}/api/internal/_listRegistrations.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/internal/_listRegistrations.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/internal/_listRegistrations.js.map +0 -0
- /package/{types/src → dist/browser}/api/listNotificationHubJobs.d.ts +0 -0
- /package/{types/src → dist/browser}/api/listNotificationHubJobs.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/listNotificationHubJobs.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/listNotificationHubJobs.js.map +0 -0
- /package/{types/src → dist/browser}/api/listRegistrations.d.ts +0 -0
- /package/{types/src → dist/browser}/api/listRegistrations.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/listRegistrations.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/listRegistrations.js.map +0 -0
- /package/{types/src → dist/browser}/api/listRegistrationsByChannel.d.ts +0 -0
- /package/{types/src → dist/browser}/api/listRegistrationsByChannel.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/listRegistrationsByChannel.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/listRegistrationsByChannel.js.map +0 -0
- /package/{types/src → dist/browser}/api/listRegistrationsByTag.d.ts +0 -0
- /package/{types/src → dist/browser}/api/listRegistrationsByTag.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/listRegistrationsByTag.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/listRegistrationsByTag.js.map +0 -0
- /package/{types/src → dist/browser}/api/scheduleNotification.d.ts +0 -0
- /package/{types/src → dist/browser}/api/scheduleNotification.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/scheduleNotification.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/scheduleNotification.js.map +0 -0
- /package/{types/src → dist/browser}/api/sendNotification.d.ts +0 -0
- /package/{types/src → dist/browser}/api/sendNotification.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/sendNotification.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/sendNotification.js.map +0 -0
- /package/{types/src → dist/browser}/api/submitNotificationHubJob.d.ts +0 -0
- /package/{types/src → dist/browser}/api/submitNotificationHubJob.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/submitNotificationHubJob.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/submitNotificationHubJob.js.map +0 -0
- /package/{types/src → dist/browser}/api/updateInstallation.d.ts +0 -0
- /package/{types/src → dist/browser}/api/updateInstallation.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/updateInstallation.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/updateInstallation.js.map +0 -0
- /package/{types/src → dist/browser}/api/updateRegistration.d.ts +0 -0
- /package/{types/src → dist/browser}/api/updateRegistration.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/api/updateRegistration.js +0 -0
- /package/{dist-esm/src → dist/browser}/api/updateRegistration.js.map +0 -0
- /package/{types/src → dist/browser}/auth/connectionStringUtils.d.ts +0 -0
- /package/{types/src → dist/browser}/auth/connectionStringUtils.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/auth/connectionStringUtils.js +0 -0
- /package/{dist-esm/src → dist/browser}/auth/connectionStringUtils.js.map +0 -0
- /package/{types/src → dist/browser}/auth/sasTokenCredential.d.ts +0 -0
- /package/{types/src → dist/browser}/auth/sasTokenCredential.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/auth/sasTokenCredential.js +0 -0
- /package/{dist-esm/src → dist/browser}/auth/sasTokenCredential.js.map +0 -0
- /package/{types/src → dist/browser}/index.d.ts +0 -0
- /package/{types/src → dist/browser}/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/index.js.map +0 -0
- /package/{types/src → dist/browser}/models/index.d.ts +0 -0
- /package/{types/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js.map +0 -0
- /package/{types/src → dist/browser}/models/installation.d.ts +0 -0
- /package/{types/src → dist/browser}/models/installation.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/installation.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/installation.js.map +0 -0
- /package/{types/src → dist/browser}/models/notification.d.ts +0 -0
- /package/{types/src → dist/browser}/models/notification.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/notification.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/notification.js.map +0 -0
- /package/{types/src → dist/browser}/models/notificationBodyBuilder.d.ts +0 -0
- /package/{types/src → dist/browser}/models/notificationBodyBuilder.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/notificationBodyBuilder.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/notificationBodyBuilder.js.map +0 -0
- /package/{types/src → dist/browser}/models/notificationDetails.d.ts +0 -0
- /package/{types/src → dist/browser}/models/notificationDetails.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/notificationDetails.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/notificationDetails.js.map +0 -0
- /package/{types/src → dist/browser}/models/notificationHeaderBuilder.d.ts +0 -0
- /package/{types/src → dist/browser}/models/notificationHeaderBuilder.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/notificationHeaderBuilder.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/notificationHeaderBuilder.js.map +0 -0
- /package/{types/src → dist/browser}/models/notificationHubJob.d.ts +0 -0
- /package/{types/src → dist/browser}/models/notificationHubJob.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/notificationHubJob.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/notificationHubJob.js.map +0 -0
- /package/{types/src → dist/browser}/models/options.d.ts +0 -0
- /package/{types/src → dist/browser}/models/options.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/options.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/options.js.map +0 -0
- /package/{types/src → dist/browser}/models/registration.d.ts +0 -0
- /package/{types/src → dist/browser}/models/registration.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/registration.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/registration.js.map +0 -0
- /package/{types/src → dist/browser}/models/response.d.ts +0 -0
- /package/{types/src → dist/browser}/models/response.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/response.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/response.js.map +0 -0
- /package/{types/src → dist/browser}/models/tagExpressionBuilder.d.ts +0 -0
- /package/{types/src → dist/browser}/models/tagExpressionBuilder.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/tagExpressionBuilder.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/tagExpressionBuilder.js.map +0 -0
- /package/{types/src → dist/browser}/notificationHubsClient.d.ts +0 -0
- /package/{types/src → dist/browser}/notificationHubsClient.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/notificationHubsClient.js +0 -0
- /package/{dist-esm/src → dist/browser}/notificationHubsClient.js.map +0 -0
- /package/{types/src → dist/browser}/serializers/notificationDetailsSerializer.d.ts +0 -0
- /package/{types/src → dist/browser}/serializers/notificationDetailsSerializer.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/serializers/notificationDetailsSerializer.js +0 -0
- /package/{dist-esm/src → dist/browser}/serializers/notificationDetailsSerializer.js.map +0 -0
- /package/{types/src → dist/browser}/serializers/notificationHubJobSerializer.d.ts +0 -0
- /package/{types/src → dist/browser}/serializers/notificationHubJobSerializer.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/serializers/notificationHubJobSerializer.js +0 -0
- /package/{dist-esm/src → dist/browser}/serializers/notificationHubJobSerializer.js.map +0 -0
- /package/{types/src → dist/browser}/serializers/notificationOutcomeSerializer.d.ts +0 -0
- /package/{types/src → dist/browser}/serializers/notificationOutcomeSerializer.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/serializers/notificationOutcomeSerializer.js +0 -0
- /package/{dist-esm/src → dist/browser}/serializers/notificationOutcomeSerializer.js.map +0 -0
- /package/{types/src → dist/browser}/serializers/registrationSerializer.d.ts +0 -0
- /package/{types/src → dist/browser}/serializers/registrationSerializer.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/serializers/registrationSerializer.js +0 -0
- /package/{dist-esm/src → dist/browser}/serializers/registrationSerializer.js.map +0 -0
- /package/{types/src → dist/browser}/utils/constants.d.ts +0 -0
- /package/{types/src → dist/browser}/utils/constants.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/utils/constants.js +0 -0
- /package/{dist-esm/src → dist/browser}/utils/constants.js.map +0 -0
- /package/{types/src → dist/browser}/utils/notificationUtils.d.ts +0 -0
- /package/{types/src → dist/browser}/utils/notificationUtils.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/utils/notificationUtils.js +0 -0
- /package/{dist-esm/src → dist/browser}/utils/notificationUtils.js.map +0 -0
- /package/{types/src → dist/browser}/utils/optionUtils.d.ts +0 -0
- /package/{types/src → dist/browser}/utils/optionUtils.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/utils/optionUtils.js +0 -0
- /package/{dist-esm/src → dist/browser}/utils/optionUtils.js.map +0 -0
- /package/{types/src → dist/browser}/utils/tracing.d.ts +0 -0
- /package/{types/src → dist/browser}/utils/tracing.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/utils/tracing.js +0 -0
- /package/{dist-esm/src → dist/browser}/utils/tracing.js.map +0 -0
- /package/{types/src → dist/browser}/utils/utils.d.ts +0 -0
- /package/{types/src → dist/browser}/utils/utils.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/utils/utils.js +0 -0
- /package/{dist-esm/src → dist/browser}/utils/utils.js.map +0 -0
- /package/{types/src → dist/browser}/utils/xmlUtils.d.ts +0 -0
- /package/{types/src → dist/browser}/utils/xmlUtils.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/utils/xmlUtils.js +0 -0
- /package/{dist-esm/src → dist/browser}/utils/xmlUtils.js.map +0 -0
- /package/{types/src → dist/commonjs}/auth/hmacSha256.d.ts +0 -0
- /package/{types/src → dist/commonjs}/auth/hmacSha256.d.ts.map +0 -0
- /package/{types/latest → dist/commonjs}/tsdoc-metadata.json +0 -0
- /package/{dist-esm/src → dist/esm}/auth/hmacSha256.js +0 -0
- /package/{dist-esm/src → dist/esm}/auth/hmacSha256.js.map +0 -0
- /package/{types/latest → dist}/notification-hubs.d.ts +0 -0
|
@@ -0,0 +1,933 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents what is in the APNs alert body.
|
|
3
|
+
*/
|
|
4
|
+
export interface AppleAlert {
|
|
5
|
+
/**
|
|
6
|
+
* The title of the notification. Apple Watch displays this string in the short look notification
|
|
7
|
+
* interface. Specify a string that’s quickly understood by the user.
|
|
8
|
+
*/
|
|
9
|
+
title?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Additional information that explains the purpose of the notification.
|
|
12
|
+
*/
|
|
13
|
+
subtitle?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The content of the alert message.
|
|
16
|
+
*/
|
|
17
|
+
body?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The name of the launch image file to display. If the user chooses to launch your app,
|
|
20
|
+
* the contents of the specified image or storyboard file are displayed instead of your app’s normal launch image.
|
|
21
|
+
*/
|
|
22
|
+
"launch-image"?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The key for a localized title string. Specify this key instead of the title key to retrieve
|
|
25
|
+
* the title from your app’s Localizable.strings files. The value must contain the name of a key in your strings file.
|
|
26
|
+
*/
|
|
27
|
+
"title-loc-key"?: string;
|
|
28
|
+
/**
|
|
29
|
+
* An array of strings containing replacement values for variables in your title string.
|
|
30
|
+
* Each %\@ character in the string specified by the title-loc-key is replaced by a value
|
|
31
|
+
* from this array. The first item in the array replaces the first instance
|
|
32
|
+
* of the %\@ character in the string, the second item replaces the second instance, and so on.
|
|
33
|
+
*/
|
|
34
|
+
"title-loc-args"?: string[];
|
|
35
|
+
/**
|
|
36
|
+
* The key for a localized subtitle string. Use this key, instead of the subtitle key, to
|
|
37
|
+
* retrieve the subtitle from your app’s Localizable.strings file.
|
|
38
|
+
* The value must contain the name of a key in your strings file.
|
|
39
|
+
*/
|
|
40
|
+
"subtitle-loc-key"?: string;
|
|
41
|
+
/**
|
|
42
|
+
* An array of strings containing replacement values for variables in your title string.
|
|
43
|
+
* Each %\@ character in the string specified by subtitle-loc-key is replaced by a value
|
|
44
|
+
* from this array. The first item in the array replaces the first instance of the
|
|
45
|
+
* %\@ character in the string, the second item replaces the second instance, and so on.
|
|
46
|
+
*/
|
|
47
|
+
"subtitle-loc-args"?: string[];
|
|
48
|
+
/**
|
|
49
|
+
* The key for a localized message string. Use this key, instead of the body key, to
|
|
50
|
+
* retrieve the message text from your app’s Localizable.strings file. The value must contain
|
|
51
|
+
* the name of a key in your strings file.
|
|
52
|
+
*/
|
|
53
|
+
"loc-key"?: string;
|
|
54
|
+
/**
|
|
55
|
+
* An array of strings containing replacement values for variables in your message text.
|
|
56
|
+
* Each %\@ character in the string specified by loc-key is replaced by a value from
|
|
57
|
+
* this array. The first item in the array replaces the first instance of the %\@ character
|
|
58
|
+
* in the string, the second item replaces the second instance, and so on.
|
|
59
|
+
*/
|
|
60
|
+
"loc-args"?: string[];
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Represents an APNs critical sound
|
|
64
|
+
*/
|
|
65
|
+
export interface AppleCriticalSound {
|
|
66
|
+
/**
|
|
67
|
+
* The critical alert flag. Set to 1 to enable the critical alert.
|
|
68
|
+
*/
|
|
69
|
+
critical: number;
|
|
70
|
+
/**
|
|
71
|
+
* The name of a sound file in your app’s main bundle or in the Library/Sounds folder
|
|
72
|
+
* of your app’s container directory. Specify the string “default” to play the system sound.
|
|
73
|
+
*/
|
|
74
|
+
name: string;
|
|
75
|
+
/**
|
|
76
|
+
* The volume for the critical alert’s sound. Set this to a value between 0 (silent) and 1 (full volume).
|
|
77
|
+
*/
|
|
78
|
+
volume: number;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Represents a native APNs message.
|
|
82
|
+
*/
|
|
83
|
+
export interface AppleNativeMessage extends Record<string, any> {
|
|
84
|
+
/**
|
|
85
|
+
* The Apple specific push notification information.
|
|
86
|
+
*/
|
|
87
|
+
aps?: AppleApsNativeMessage;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Represents a native APNs APS message.
|
|
91
|
+
*/
|
|
92
|
+
export interface AppleApsNativeMessage extends Record<string, any> {
|
|
93
|
+
/**
|
|
94
|
+
* The information for displaying an alert.
|
|
95
|
+
*/
|
|
96
|
+
alert?: string | AppleAlert;
|
|
97
|
+
/**
|
|
98
|
+
* The number to display in a badge on your app’s icon.
|
|
99
|
+
*/
|
|
100
|
+
badge?: number;
|
|
101
|
+
/**
|
|
102
|
+
* The name of a sound file in your app’s main bundle or in the Library/Sounds
|
|
103
|
+
* folder of your app’s container directory. Specify the string “default” to
|
|
104
|
+
* play the system sound. Use this key for regular notifications.
|
|
105
|
+
* For critical alerts, use the sound dictionary instead.
|
|
106
|
+
*/
|
|
107
|
+
sound?: string | AppleCriticalSound;
|
|
108
|
+
/**
|
|
109
|
+
* An app-specific identifier for grouping related notifications.
|
|
110
|
+
*/
|
|
111
|
+
"thread-id"?: string;
|
|
112
|
+
/**
|
|
113
|
+
* The notification’s type.
|
|
114
|
+
*/
|
|
115
|
+
category?: string;
|
|
116
|
+
/**
|
|
117
|
+
* The background notification flag. To perform a silent background update,
|
|
118
|
+
* specify the value 1 and don’t include the alert, badge, or sound keys in your payload.
|
|
119
|
+
*/
|
|
120
|
+
"content-available"?: number;
|
|
121
|
+
/**
|
|
122
|
+
* The notification service app extension flag. If the value is 1, the system passes
|
|
123
|
+
* the notification to your notification service app extension before delivery.
|
|
124
|
+
*/
|
|
125
|
+
"mutable-content"?: number;
|
|
126
|
+
/**
|
|
127
|
+
* The identifier of the window brought forward.
|
|
128
|
+
*/
|
|
129
|
+
"target-content-id"?: string;
|
|
130
|
+
/**
|
|
131
|
+
* The importance and delivery timing of a notification.
|
|
132
|
+
*/
|
|
133
|
+
"interruption-level"?: "passive" | "active" | "time-sensitive" | "critical";
|
|
134
|
+
/**
|
|
135
|
+
* The relevance score, a number between 0 and 1, that the system uses to sort the
|
|
136
|
+
* notifications from your app. The highest score gets featured in the notification summary.
|
|
137
|
+
*/
|
|
138
|
+
"relevance-score"?: number;
|
|
139
|
+
/**
|
|
140
|
+
* The criteria the system evaluates to determine if it displays the notification in the current Focus.
|
|
141
|
+
*/
|
|
142
|
+
"filter-criteria"?: string;
|
|
143
|
+
/**
|
|
144
|
+
* The UNIX timestamp that represents the date at which a Live Activity becomes stale, or out of date.
|
|
145
|
+
*/
|
|
146
|
+
"stale-date"?: number;
|
|
147
|
+
/**
|
|
148
|
+
* The updated or final content for a Live Activity.
|
|
149
|
+
*/
|
|
150
|
+
"content-state"?: Record<string, any>;
|
|
151
|
+
/**
|
|
152
|
+
* The UNIX timestamp that marks the time when you send the remote notification that updates or ends a Live Activity.
|
|
153
|
+
*/
|
|
154
|
+
timestamp?: number;
|
|
155
|
+
/**
|
|
156
|
+
* The string that describes whether you update or end an ongoing Live Activity with the remote push notification. To update the Live Activity, use update. To end the Live Activity, use end.
|
|
157
|
+
*/
|
|
158
|
+
events?: string;
|
|
159
|
+
/**
|
|
160
|
+
* The UNIX timestamp that represents the date at which the system ends a Live Activity and removes it from the Dynamic Island and the Lock Screen.
|
|
161
|
+
*/
|
|
162
|
+
"dismissal-date"?: number;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Creates an APNs native message to send to Notification Hubs.
|
|
166
|
+
* @param nativeMessage - The Apple native message properties to set.
|
|
167
|
+
* @param additionalProperties - Additional properties for Apple messages.
|
|
168
|
+
* @returns An AppleNotification to send to Notification Hubs.
|
|
169
|
+
*/
|
|
170
|
+
export declare function createAppleNotificationBody(nativeMessage: AppleNativeMessage): string;
|
|
171
|
+
/**
|
|
172
|
+
* Represents the targets, options, and payload for HTTP JSON messages for the Firebase Legacy HTTP interface.
|
|
173
|
+
*/
|
|
174
|
+
export interface FirebaseLegacyNativeMessage {
|
|
175
|
+
/**
|
|
176
|
+
* The recipient of a message.
|
|
177
|
+
*/
|
|
178
|
+
to?: string;
|
|
179
|
+
/**
|
|
180
|
+
* The recipient of a multicast message, a message sent to more than one registration token.
|
|
181
|
+
*/
|
|
182
|
+
registration_ids?: string[];
|
|
183
|
+
/**
|
|
184
|
+
* A logical expression of conditions that determine the message target.
|
|
185
|
+
*/
|
|
186
|
+
condition?: string;
|
|
187
|
+
/**
|
|
188
|
+
* Used to identify a group of messages.
|
|
189
|
+
*/
|
|
190
|
+
collapse_key?: string;
|
|
191
|
+
/**
|
|
192
|
+
* The priority of the message.
|
|
193
|
+
*/
|
|
194
|
+
priority?: "normal" | "high";
|
|
195
|
+
/**
|
|
196
|
+
* The background notification flag. To perform a silent background update,
|
|
197
|
+
* specify the value 1 and don’t include the alert, badge, or sound keys in your payload.
|
|
198
|
+
*/
|
|
199
|
+
content_available?: boolean;
|
|
200
|
+
/**
|
|
201
|
+
* The notification service app extension flag. If the value is 1, the system passes
|
|
202
|
+
* the notification to your notification service app extension before delivery.
|
|
203
|
+
*/
|
|
204
|
+
mutable_content?: number;
|
|
205
|
+
/**
|
|
206
|
+
* Specifies how long (in seconds) the message should be kept in FCM storage if the device is offline
|
|
207
|
+
*/
|
|
208
|
+
time_to_live?: number;
|
|
209
|
+
/**
|
|
210
|
+
* The package name of the application where the registration tokens must match in order to receive the message.
|
|
211
|
+
*/
|
|
212
|
+
restricted_package_name?: string;
|
|
213
|
+
/**
|
|
214
|
+
* When set to true, allows developers to test a request without actually sending a message.
|
|
215
|
+
*/
|
|
216
|
+
dry_run?: boolean;
|
|
217
|
+
/**
|
|
218
|
+
* Custom key-value pairs of the message's payload.
|
|
219
|
+
*/
|
|
220
|
+
data?: Record<string, any>;
|
|
221
|
+
/**
|
|
222
|
+
* The predefined, user-visible key-value pairs of the notification payload.
|
|
223
|
+
*/
|
|
224
|
+
notification?: FirebaseLegacyAppleNativePayload | FirebaseLegacyAndroidNativePayload | FirebaseLegacyWebNativePayload;
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* Represents an APNs native payload for the Firebase Legacy HTTP interface.
|
|
228
|
+
*/
|
|
229
|
+
export interface FirebaseLegacyAppleNativePayload {
|
|
230
|
+
/**
|
|
231
|
+
* The notification's title.
|
|
232
|
+
*/
|
|
233
|
+
title?: string;
|
|
234
|
+
/**
|
|
235
|
+
* The notification's body text.
|
|
236
|
+
*/
|
|
237
|
+
body?: string;
|
|
238
|
+
/**
|
|
239
|
+
* The sound to play when the device receives the notification.
|
|
240
|
+
*/
|
|
241
|
+
sound?: string;
|
|
242
|
+
/**
|
|
243
|
+
* The value of the badge on the home screen app icon.
|
|
244
|
+
*/
|
|
245
|
+
badge?: string;
|
|
246
|
+
/**
|
|
247
|
+
* The action associated with a user click on the notification which corresponds to the APNs category.
|
|
248
|
+
*/
|
|
249
|
+
click_action?: string;
|
|
250
|
+
/**
|
|
251
|
+
* The notification's subtitle.
|
|
252
|
+
*/
|
|
253
|
+
subtitle?: string;
|
|
254
|
+
/**
|
|
255
|
+
* The key to the body string in the app's string resources to use to localize the body text to the user's current localization.
|
|
256
|
+
*/
|
|
257
|
+
body_loc_key?: string;
|
|
258
|
+
/**
|
|
259
|
+
* Variable string values to be used in place of the format specifiers in body_loc_key to use to localize the body text to the user's current localization.
|
|
260
|
+
*/
|
|
261
|
+
body_loc_args?: string[];
|
|
262
|
+
/**
|
|
263
|
+
* The key to the title string in the app's string resources to use to localize the title text to the user's current localization.
|
|
264
|
+
*/
|
|
265
|
+
title_loc_key?: string;
|
|
266
|
+
/**
|
|
267
|
+
* Variable string values to be used in place of the format specifiers in title_loc_key to use to localize the title text to the user's current localization.
|
|
268
|
+
*/
|
|
269
|
+
title_loc_args?: string[];
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* Represents an Android native payload for the Firebase Legacy HTTP interface.
|
|
273
|
+
*/
|
|
274
|
+
export interface FirebaseLegacyAndroidNativePayload {
|
|
275
|
+
/**
|
|
276
|
+
* The notification's title.
|
|
277
|
+
*/
|
|
278
|
+
title?: string;
|
|
279
|
+
/**
|
|
280
|
+
* The notification's body text.
|
|
281
|
+
*/
|
|
282
|
+
body?: string;
|
|
283
|
+
/**
|
|
284
|
+
* The notification's channel ID.
|
|
285
|
+
*/
|
|
286
|
+
android_channel_id?: string;
|
|
287
|
+
/**
|
|
288
|
+
* The notification's icon.
|
|
289
|
+
*/
|
|
290
|
+
icon?: string;
|
|
291
|
+
/**
|
|
292
|
+
* The sound to play when the device receives the notification.
|
|
293
|
+
*/
|
|
294
|
+
sound?: string;
|
|
295
|
+
/**
|
|
296
|
+
* Identifier used to replace existing notifications in the notification drawer.
|
|
297
|
+
*/
|
|
298
|
+
tag?: string;
|
|
299
|
+
/**
|
|
300
|
+
* The notification's icon color, expressed in #rrggbb format.
|
|
301
|
+
*/
|
|
302
|
+
color?: string;
|
|
303
|
+
/**
|
|
304
|
+
* The action associated with a user click on the notification.
|
|
305
|
+
*/
|
|
306
|
+
click_action?: string;
|
|
307
|
+
/**
|
|
308
|
+
* The key to the body string in the app's string resources to use to localize the body text to the user's current localization.
|
|
309
|
+
*/
|
|
310
|
+
body_loc_key?: string;
|
|
311
|
+
/**
|
|
312
|
+
* Variable string values to be used in place of the format specifiers in body_loc_key to use to localize the body text to the user's current localization.
|
|
313
|
+
*/
|
|
314
|
+
body_loc_args?: string[];
|
|
315
|
+
/**
|
|
316
|
+
* The key to the title string in the app's string resources to use to localize the title text to the user's current localization.
|
|
317
|
+
*/
|
|
318
|
+
title_loc_key?: string;
|
|
319
|
+
/**
|
|
320
|
+
* Variable string values to be used in place of the format specifiers in title_loc_key to use to localize the title text to the user's current localization.
|
|
321
|
+
*/
|
|
322
|
+
title_loc_args?: string[];
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Represents an Web Push native payload for the Firebase Legacy HTTP interface.
|
|
326
|
+
*/
|
|
327
|
+
export interface FirebaseLegacyWebNativePayload {
|
|
328
|
+
/**
|
|
329
|
+
* The notification's title.
|
|
330
|
+
*/
|
|
331
|
+
title?: string;
|
|
332
|
+
/**
|
|
333
|
+
* The notification's body text.
|
|
334
|
+
*/
|
|
335
|
+
body?: string;
|
|
336
|
+
/**
|
|
337
|
+
* The URL to use for the notification's icon.
|
|
338
|
+
*/
|
|
339
|
+
icon?: string;
|
|
340
|
+
/**
|
|
341
|
+
* The action associated with a user click on the notification.
|
|
342
|
+
*/
|
|
343
|
+
click_action?: string;
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* Creates a FcmLegacyNotification from a native Firebase payload.
|
|
347
|
+
* @param nativeMessage - The native message payload to send to Notification Hubs.
|
|
348
|
+
* @returns The JSON body to send to Notification Hubs.
|
|
349
|
+
*/
|
|
350
|
+
export declare function createFirebaseLegacyNotificationBody(nativeMessage: FirebaseLegacyNativeMessage): string;
|
|
351
|
+
/**
|
|
352
|
+
* Represents the targets, options, and payload for HTTP JSON messages for the Firebase V1 interface.
|
|
353
|
+
*/
|
|
354
|
+
export interface FirebaseV1NativeMessage {
|
|
355
|
+
/**
|
|
356
|
+
* Custom key-value pairs of the message's payload.
|
|
357
|
+
*/
|
|
358
|
+
data?: Record<string, any>;
|
|
359
|
+
/**
|
|
360
|
+
* The predefined, user-visible key-value pairs of the notification payload.
|
|
361
|
+
*/
|
|
362
|
+
notification?: FirebaseV1NativeNotification;
|
|
363
|
+
/**
|
|
364
|
+
* Android specific options for messages sent through FCM connection server.
|
|
365
|
+
*/
|
|
366
|
+
android?: FirebaseV1AndroidConfig;
|
|
367
|
+
/**
|
|
368
|
+
* Webpush protocol options.
|
|
369
|
+
*/
|
|
370
|
+
webpush?: FirebaseV1WebPushConfig;
|
|
371
|
+
/**
|
|
372
|
+
* APNs specific options.
|
|
373
|
+
*/
|
|
374
|
+
apns?: FirebaseV1ApnsConfig;
|
|
375
|
+
/**
|
|
376
|
+
* FCM options.
|
|
377
|
+
*/
|
|
378
|
+
fcm_options?: FirebaseV1FcmOptions;
|
|
379
|
+
/**
|
|
380
|
+
* Registration token to send a message to.
|
|
381
|
+
*/
|
|
382
|
+
token?: string;
|
|
383
|
+
/**
|
|
384
|
+
* Topic name to send a message to, e.g. "weather".
|
|
385
|
+
*/
|
|
386
|
+
topic?: string;
|
|
387
|
+
/**
|
|
388
|
+
* Condition to send a message to, e.g. "'foo' in topics && 'bar' in topics".
|
|
389
|
+
*/
|
|
390
|
+
condition?: string;
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* Represents a native FCM V1 notification message payload.
|
|
394
|
+
*/
|
|
395
|
+
export interface FirebaseV1NativeNotification {
|
|
396
|
+
/**
|
|
397
|
+
* The notification's title.
|
|
398
|
+
*/
|
|
399
|
+
title?: string;
|
|
400
|
+
/**
|
|
401
|
+
* The notification's body text.
|
|
402
|
+
*/
|
|
403
|
+
body?: string;
|
|
404
|
+
/**
|
|
405
|
+
* Contains the URL of an image that is going to be downloaded on the device and displayed in a notification.
|
|
406
|
+
*/
|
|
407
|
+
image?: string;
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* Android specific options for messages sent through FCM connection server.
|
|
411
|
+
*/
|
|
412
|
+
export interface FirebaseV1AndroidConfig {
|
|
413
|
+
/**
|
|
414
|
+
* An identifier of a group of messages that can be collapsed, so that only the last message gets sent when delivery can be resumed.
|
|
415
|
+
*/
|
|
416
|
+
collapse_key?: string;
|
|
417
|
+
/**
|
|
418
|
+
* Message priority. Can take "normal" and "high" values.
|
|
419
|
+
*/
|
|
420
|
+
priority?: "normal" | "high";
|
|
421
|
+
/**
|
|
422
|
+
* How long (in seconds) the message should be kept in FCM storage if the device is offline.
|
|
423
|
+
*/
|
|
424
|
+
ttl?: string;
|
|
425
|
+
/**
|
|
426
|
+
* Package name of the application where the registration token must match in order to receive the message.
|
|
427
|
+
*/
|
|
428
|
+
restricted_package_name?: string;
|
|
429
|
+
/**
|
|
430
|
+
* Custom key-value pairs of the message's payload.
|
|
431
|
+
*/
|
|
432
|
+
data?: Record<string, any>;
|
|
433
|
+
/**
|
|
434
|
+
* Notification to send to android devices.
|
|
435
|
+
*/
|
|
436
|
+
notification?: FirebaseV1AndroidNotification;
|
|
437
|
+
/**
|
|
438
|
+
* Options for features provided by the FCM SDK for Android.
|
|
439
|
+
*/
|
|
440
|
+
fcm_options?: FirebaseV1AndroidFcmOptions;
|
|
441
|
+
/**
|
|
442
|
+
* If set to true, messages will be allowed to be delivered to the app while the device is in direct boot mode.
|
|
443
|
+
*/
|
|
444
|
+
direct_boot_ok?: boolean;
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* Notification to send to android devices.
|
|
448
|
+
*/
|
|
449
|
+
export interface FirebaseV1AndroidNotification {
|
|
450
|
+
/**
|
|
451
|
+
* The notification's title.
|
|
452
|
+
*/
|
|
453
|
+
title?: string;
|
|
454
|
+
/**
|
|
455
|
+
* The notification's body text.
|
|
456
|
+
*/
|
|
457
|
+
body?: string;
|
|
458
|
+
/**
|
|
459
|
+
* The notification's icon.
|
|
460
|
+
*/
|
|
461
|
+
icon?: string;
|
|
462
|
+
/**
|
|
463
|
+
* The notification's icon color, expressed in #rrggbb format.
|
|
464
|
+
*/
|
|
465
|
+
color?: string;
|
|
466
|
+
/**
|
|
467
|
+
* The sound to play when the device receives the notification.
|
|
468
|
+
*/
|
|
469
|
+
sound?: string;
|
|
470
|
+
/**
|
|
471
|
+
* Identifier used to replace existing notifications in the notification drawer.
|
|
472
|
+
*/
|
|
473
|
+
tag?: string;
|
|
474
|
+
/**
|
|
475
|
+
* The action associated with a user click on the notification.
|
|
476
|
+
*/
|
|
477
|
+
click_action?: string;
|
|
478
|
+
/**
|
|
479
|
+
* The key to the body string in the app's string resources to use to localize the body text to the user's current localization.
|
|
480
|
+
*/
|
|
481
|
+
body_loc_key?: string;
|
|
482
|
+
/**
|
|
483
|
+
* Variable string values to be used in place of the format specifiers in body_loc_key to use to localize the body text to the user's current localization.
|
|
484
|
+
*/
|
|
485
|
+
body_loc_args?: string[];
|
|
486
|
+
/**
|
|
487
|
+
* The key to the title string in the app's string resources to use to localize the title text to the user's current localization.
|
|
488
|
+
*/
|
|
489
|
+
title_loc_key?: string;
|
|
490
|
+
/**
|
|
491
|
+
* Variable string values to be used in place of the format specifiers in title_loc_key to use to localize the title text to the user's current localization.
|
|
492
|
+
*/
|
|
493
|
+
title_loc_args?: string[];
|
|
494
|
+
/**
|
|
495
|
+
* The notification's channel id (new in Android O).
|
|
496
|
+
*/
|
|
497
|
+
channel_id?: string;
|
|
498
|
+
/**
|
|
499
|
+
* Sets the "ticker" text, which is sent to accessibility services.
|
|
500
|
+
*/
|
|
501
|
+
ticker?: string;
|
|
502
|
+
/**
|
|
503
|
+
* When set to false or unset, the notification is automatically dismissed when the user clicks it in the panel.
|
|
504
|
+
*/
|
|
505
|
+
sticky?: boolean;
|
|
506
|
+
/**
|
|
507
|
+
* Set the time that the event in the notification occurred.
|
|
508
|
+
*/
|
|
509
|
+
event_time?: string;
|
|
510
|
+
/**
|
|
511
|
+
* Set whether or not this notification is relevant only to the current device.
|
|
512
|
+
*/
|
|
513
|
+
local_only?: boolean;
|
|
514
|
+
/**
|
|
515
|
+
* Set the relative priority for this notification.
|
|
516
|
+
*/
|
|
517
|
+
notification_priority?: number;
|
|
518
|
+
/**
|
|
519
|
+
* If set to true, use the Android framework's default sound for the notification.
|
|
520
|
+
*/
|
|
521
|
+
default_sound?: boolean;
|
|
522
|
+
/**
|
|
523
|
+
* If set to true, use the Android framework's default vibrate pattern for the notification.
|
|
524
|
+
*/
|
|
525
|
+
default_vibrate_timings?: boolean;
|
|
526
|
+
/**
|
|
527
|
+
* If set to true, use the Android framework's default light settings for the notification.
|
|
528
|
+
*/
|
|
529
|
+
default_light_settings?: boolean;
|
|
530
|
+
/**
|
|
531
|
+
* Set the vibration pattern to use.
|
|
532
|
+
*/
|
|
533
|
+
vibrate_timings?: string[];
|
|
534
|
+
/**
|
|
535
|
+
* Set the Notification.visibility of the notification.
|
|
536
|
+
*/
|
|
537
|
+
visibility?: number;
|
|
538
|
+
/**
|
|
539
|
+
* Sets the number of items this notification represents.
|
|
540
|
+
*/
|
|
541
|
+
notification_count?: number;
|
|
542
|
+
/**
|
|
543
|
+
* Settings to control the notification's LED blinking rate and color if LED is available on the device.
|
|
544
|
+
*/
|
|
545
|
+
light_settings?: {
|
|
546
|
+
color: {
|
|
547
|
+
red: number;
|
|
548
|
+
green: number;
|
|
549
|
+
blue: number;
|
|
550
|
+
alpha: number;
|
|
551
|
+
};
|
|
552
|
+
light_on_duration: string;
|
|
553
|
+
light_off_duration: string;
|
|
554
|
+
};
|
|
555
|
+
/**
|
|
556
|
+
* Contains the URL of an image that is going to be displayed in a notification.
|
|
557
|
+
*/
|
|
558
|
+
image?: string;
|
|
559
|
+
}
|
|
560
|
+
/**
|
|
561
|
+
* Options for features provided by the FCM SDK for Android.
|
|
562
|
+
*/
|
|
563
|
+
export interface FirebaseV1AndroidFcmOptions {
|
|
564
|
+
/**
|
|
565
|
+
* The label associated with the message's analytics data.
|
|
566
|
+
*/
|
|
567
|
+
analytics_label?: string;
|
|
568
|
+
}
|
|
569
|
+
export interface FirebaseV1WebPushConfig {
|
|
570
|
+
/**
|
|
571
|
+
* A collection of WebPush protocol options.
|
|
572
|
+
*/
|
|
573
|
+
headers?: Record<string, string>;
|
|
574
|
+
/**
|
|
575
|
+
* A collection of WebPush protocol options.
|
|
576
|
+
*/
|
|
577
|
+
data?: Record<string, string>;
|
|
578
|
+
/**
|
|
579
|
+
* Web Notification options as a JSON object.
|
|
580
|
+
*/
|
|
581
|
+
notification?: FirebaseV1WebPushNotification;
|
|
582
|
+
/**
|
|
583
|
+
* A collection of WebPush protocol options.
|
|
584
|
+
*/
|
|
585
|
+
fcm_options?: FirebaseV1WebPushFcmOptions;
|
|
586
|
+
}
|
|
587
|
+
/**
|
|
588
|
+
* Represents a Web Push notification payload.
|
|
589
|
+
*/
|
|
590
|
+
export interface FirebaseV1WebPushNotification {
|
|
591
|
+
/**
|
|
592
|
+
* An array of actions to display in the notification.
|
|
593
|
+
*/
|
|
594
|
+
actions?: {
|
|
595
|
+
action?: string;
|
|
596
|
+
title?: string;
|
|
597
|
+
icon?: string;
|
|
598
|
+
}[];
|
|
599
|
+
/**
|
|
600
|
+
* Defines a title for the notification.
|
|
601
|
+
*/
|
|
602
|
+
title?: string;
|
|
603
|
+
/**
|
|
604
|
+
* The body string of the notification
|
|
605
|
+
*/
|
|
606
|
+
body?: string;
|
|
607
|
+
/**
|
|
608
|
+
* A string containing the URL of an icon to be displayed in the notification.
|
|
609
|
+
*/
|
|
610
|
+
icon?: string;
|
|
611
|
+
/**
|
|
612
|
+
* A string containing the URL of an image to represent the notification when there is not enough space to display the notification itself such as for example, the Android Notification Bar.
|
|
613
|
+
*/
|
|
614
|
+
badge?: string;
|
|
615
|
+
/**
|
|
616
|
+
* The notification's data.
|
|
617
|
+
*/
|
|
618
|
+
data?: Record<string, any>;
|
|
619
|
+
/**
|
|
620
|
+
* The direction in which to display the notification.
|
|
621
|
+
*/
|
|
622
|
+
dir?: "auto" | "ltr" | "rtl";
|
|
623
|
+
/**
|
|
624
|
+
* A string containing the URL of an image to be displayed in the notification.
|
|
625
|
+
*/
|
|
626
|
+
image?: string;
|
|
627
|
+
/**
|
|
628
|
+
* The notification's language.
|
|
629
|
+
*/
|
|
630
|
+
lang?: string;
|
|
631
|
+
/**
|
|
632
|
+
* A boolean value specifying whether the user should be notified after a new notification replaces an old one.
|
|
633
|
+
*/
|
|
634
|
+
renotify?: boolean;
|
|
635
|
+
/**
|
|
636
|
+
* Indicates that a notification should remain active until the user clicks or dismisses it, rather than closing automatically.
|
|
637
|
+
*/
|
|
638
|
+
requireInteraction?: boolean;
|
|
639
|
+
/**
|
|
640
|
+
* A boolean value specifying whether the notification is silent
|
|
641
|
+
*/
|
|
642
|
+
silent?: boolean;
|
|
643
|
+
/**
|
|
644
|
+
* A string representing an identifying tag for the notification.
|
|
645
|
+
*/
|
|
646
|
+
tag?: string;
|
|
647
|
+
/**
|
|
648
|
+
* A number representing the time at which a notification is created or applicable
|
|
649
|
+
*/
|
|
650
|
+
timestamp?: number;
|
|
651
|
+
/**
|
|
652
|
+
* A vibration pattern for the device's vibration hardware to emit with the notification.
|
|
653
|
+
*/
|
|
654
|
+
vibrate?: number[];
|
|
655
|
+
}
|
|
656
|
+
/**
|
|
657
|
+
* Options for features provided by the FCM SDK for Web.
|
|
658
|
+
*/
|
|
659
|
+
export interface FirebaseV1WebPushFcmOptions {
|
|
660
|
+
/**
|
|
661
|
+
* The link to open when the user clicks on the notification.
|
|
662
|
+
*/
|
|
663
|
+
link?: string;
|
|
664
|
+
/**
|
|
665
|
+
* Label associated with the message's analytics data.
|
|
666
|
+
*/
|
|
667
|
+
analytics_label?: string;
|
|
668
|
+
}
|
|
669
|
+
/**
|
|
670
|
+
* Apple Push Notification Service specific options.
|
|
671
|
+
*/
|
|
672
|
+
export interface FirebaseV1ApnsConfig {
|
|
673
|
+
/**
|
|
674
|
+
* A collection of APNs headers.
|
|
675
|
+
*/
|
|
676
|
+
headers?: Record<string, string>;
|
|
677
|
+
/**
|
|
678
|
+
* A collection of APNs headers.
|
|
679
|
+
*/
|
|
680
|
+
payload?: AppleNativeMessage;
|
|
681
|
+
/**
|
|
682
|
+
* A collection of APNs headers.
|
|
683
|
+
*/
|
|
684
|
+
fcm_options?: FirebaseV1ApnsFcmOptions;
|
|
685
|
+
}
|
|
686
|
+
/**
|
|
687
|
+
* Options for features provided by the FCM SDK for iOS.
|
|
688
|
+
*/
|
|
689
|
+
export interface FirebaseV1ApnsFcmOptions {
|
|
690
|
+
/**
|
|
691
|
+
* Label associated with the message's analytics data.
|
|
692
|
+
*/
|
|
693
|
+
analytics_label?: string;
|
|
694
|
+
/**
|
|
695
|
+
* Contains the URL of an image that is going to be displayed in a notification.
|
|
696
|
+
*/
|
|
697
|
+
image?: string;
|
|
698
|
+
}
|
|
699
|
+
export interface FirebaseV1FcmOptions {
|
|
700
|
+
/**
|
|
701
|
+
* Label associated with the message's analytics data.
|
|
702
|
+
*/
|
|
703
|
+
analytics_label?: string;
|
|
704
|
+
}
|
|
705
|
+
/**
|
|
706
|
+
* Creates a FcmV1Notification from a native Firebase payload.
|
|
707
|
+
* @param nativeMessage - The native message payload to send to Notification Hubs.
|
|
708
|
+
* @returns The JSON body to send to Notification Hubs.
|
|
709
|
+
*/
|
|
710
|
+
export declare function createFirebaseV1NotificationBody(nativeMessage: FirebaseV1NativeMessage): string;
|
|
711
|
+
/**
|
|
712
|
+
* Describes ADM notification messages.
|
|
713
|
+
*/
|
|
714
|
+
export interface AdmNativeNotification {
|
|
715
|
+
/**
|
|
716
|
+
* The notification's title.
|
|
717
|
+
*/
|
|
718
|
+
title?: string;
|
|
719
|
+
/**
|
|
720
|
+
* The notification's body text.
|
|
721
|
+
*/
|
|
722
|
+
body?: string;
|
|
723
|
+
/**
|
|
724
|
+
* The notification's icon.
|
|
725
|
+
*/
|
|
726
|
+
icon?: string;
|
|
727
|
+
/**
|
|
728
|
+
* The notification's icon color, expressed in #rrggbb format.
|
|
729
|
+
*/
|
|
730
|
+
color?: string;
|
|
731
|
+
/**
|
|
732
|
+
* The sound to play when the device receives the notification. Supports "default" or the filename of a sound resource bundled in the app.
|
|
733
|
+
*/
|
|
734
|
+
sound?: string;
|
|
735
|
+
/**
|
|
736
|
+
* Identifier used to replace existing notifications in the notification drawer.
|
|
737
|
+
*/
|
|
738
|
+
tag?: string;
|
|
739
|
+
/**
|
|
740
|
+
* The action associated with a user click on the notification.
|
|
741
|
+
*/
|
|
742
|
+
click_action?: string;
|
|
743
|
+
/**
|
|
744
|
+
* The key to the body string in the app's string resources to use to localize the body text to the user's current localization.
|
|
745
|
+
*/
|
|
746
|
+
body_loc_key?: string;
|
|
747
|
+
/**
|
|
748
|
+
* Variable string values to be used in place of the format specifiers in body_loc_key to use to localize the body text to the user's current localization.
|
|
749
|
+
*/
|
|
750
|
+
body_loc_args?: string[];
|
|
751
|
+
/**
|
|
752
|
+
* The key to the title string in the app's string resources to use to localize the title text to the user's current localization.
|
|
753
|
+
*/
|
|
754
|
+
title_loc_key?: string;
|
|
755
|
+
/**
|
|
756
|
+
* Variable string values to be used in place of the format specifiers in title_loc_key to use to localize the title text to the user's current localization.
|
|
757
|
+
*/
|
|
758
|
+
title_loc_args?: string[];
|
|
759
|
+
/**
|
|
760
|
+
* The notification's channel id.
|
|
761
|
+
*/
|
|
762
|
+
channel_id?: string;
|
|
763
|
+
/**
|
|
764
|
+
* Sets the "ticker" text, which is sent to accessibility services.
|
|
765
|
+
*/
|
|
766
|
+
ticker?: string;
|
|
767
|
+
/**
|
|
768
|
+
* When set to false or unset, the notification is automatically dismissed when the user clicks it in the panel.
|
|
769
|
+
*/
|
|
770
|
+
sticky?: boolean;
|
|
771
|
+
/**
|
|
772
|
+
* Set the time that the event in the notification occurred. Must be a timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
|
|
773
|
+
*/
|
|
774
|
+
event_time?: string;
|
|
775
|
+
/**
|
|
776
|
+
* Set whether or not this notification is relevant only to the current device.
|
|
777
|
+
*/
|
|
778
|
+
local_only?: boolean;
|
|
779
|
+
/**
|
|
780
|
+
* Set the relative priority for this notification.
|
|
781
|
+
*/
|
|
782
|
+
notification_priority?: number;
|
|
783
|
+
/**
|
|
784
|
+
* If set to true, use the Android framework's default sound for the notification.
|
|
785
|
+
*/
|
|
786
|
+
default_sound?: boolean;
|
|
787
|
+
/**
|
|
788
|
+
* Set the Notification.visibility of the notification.
|
|
789
|
+
*/
|
|
790
|
+
visibility?: number;
|
|
791
|
+
/**
|
|
792
|
+
* Sets the number of items this notification represents.
|
|
793
|
+
*/
|
|
794
|
+
notification_count?: number;
|
|
795
|
+
/**
|
|
796
|
+
* Contains the URL of an image that is going to be displayed in a notification.
|
|
797
|
+
*/
|
|
798
|
+
image?: string;
|
|
799
|
+
}
|
|
800
|
+
/**
|
|
801
|
+
* Represents a native ADM notification message payload.
|
|
802
|
+
*/
|
|
803
|
+
export interface AdmNativeMessage {
|
|
804
|
+
/**
|
|
805
|
+
* The notification payload to send with the message.
|
|
806
|
+
*/
|
|
807
|
+
notification?: AdmNativeNotification;
|
|
808
|
+
/**
|
|
809
|
+
* The payload data to send with the message.
|
|
810
|
+
*/
|
|
811
|
+
data?: Record<string, string>;
|
|
812
|
+
/**
|
|
813
|
+
* The priority of the msssage.
|
|
814
|
+
*/
|
|
815
|
+
priority?: "normal" | "high";
|
|
816
|
+
/**
|
|
817
|
+
* This is an arbitrary string used to indicate that multiple messages are logically the same
|
|
818
|
+
* and that ADM is allowed to drop previously enqueued messages in favor of this new one.
|
|
819
|
+
*/
|
|
820
|
+
consolidationKey?: string;
|
|
821
|
+
/**
|
|
822
|
+
* The number of seconds that ADM should retain the message if the device is offline.
|
|
823
|
+
*/
|
|
824
|
+
expiresAfter?: number;
|
|
825
|
+
/**
|
|
826
|
+
* This is a base-64-encoded MD5 checksum of the data parameter.
|
|
827
|
+
*/
|
|
828
|
+
md5?: string;
|
|
829
|
+
}
|
|
830
|
+
/**
|
|
831
|
+
* Creates a AdmNotification from a native ADM payload.
|
|
832
|
+
* @param nativeMessage - The native message payload to send to Notification Hubs.
|
|
833
|
+
* @returns The AdmNotification to send to Notification Hubs.
|
|
834
|
+
*/
|
|
835
|
+
export declare function createAdmNotificationBody(nativeMessage: AdmNativeMessage): string;
|
|
836
|
+
/**
|
|
837
|
+
* Represents the Baidu Apple native payload.
|
|
838
|
+
*/
|
|
839
|
+
export interface BaiduAppleNativePayload {
|
|
840
|
+
/**
|
|
841
|
+
* The alert string.
|
|
842
|
+
*/
|
|
843
|
+
alert?: string;
|
|
844
|
+
/**
|
|
845
|
+
* The APNs sound to play.
|
|
846
|
+
*/
|
|
847
|
+
sound?: string;
|
|
848
|
+
/**
|
|
849
|
+
* The APNs badge count.
|
|
850
|
+
*/
|
|
851
|
+
badge?: number;
|
|
852
|
+
}
|
|
853
|
+
/**
|
|
854
|
+
* Baidu Native Format:
|
|
855
|
+
* https://stackoverflow.com/questions/42591815/customize-baidu-push-json-payload
|
|
856
|
+
* http://www.tuicool.com/articles/ZnmANn
|
|
857
|
+
*/
|
|
858
|
+
export interface BaiduNativeMessage extends Record<string, any> {
|
|
859
|
+
/**
|
|
860
|
+
* Notification title for Android.
|
|
861
|
+
*/
|
|
862
|
+
title?: string;
|
|
863
|
+
/**
|
|
864
|
+
* Baidu Notification description for Android.
|
|
865
|
+
*/
|
|
866
|
+
description?: string;
|
|
867
|
+
/**
|
|
868
|
+
* Baidu Notification builder ID.
|
|
869
|
+
*/
|
|
870
|
+
notification_builder_id?: number;
|
|
871
|
+
/**
|
|
872
|
+
* Baidu Notification Android basic style.
|
|
873
|
+
*/
|
|
874
|
+
notification_basic_style?: number;
|
|
875
|
+
/**
|
|
876
|
+
* Baidu Android open type.
|
|
877
|
+
*/
|
|
878
|
+
open_type?: number;
|
|
879
|
+
/**
|
|
880
|
+
* Baidu Android net support option.
|
|
881
|
+
*/
|
|
882
|
+
net_support?: number;
|
|
883
|
+
/**
|
|
884
|
+
* Baidu Android user confirm.
|
|
885
|
+
*/
|
|
886
|
+
user_confirm?: number;
|
|
887
|
+
/**
|
|
888
|
+
* Baidu Android URL.
|
|
889
|
+
*/
|
|
890
|
+
url?: string;
|
|
891
|
+
/**
|
|
892
|
+
* Baidu Android package content.
|
|
893
|
+
*/
|
|
894
|
+
pkg_content?: string;
|
|
895
|
+
/**
|
|
896
|
+
* Baidu Android package version.
|
|
897
|
+
*/
|
|
898
|
+
pkg_version?: string;
|
|
899
|
+
/**
|
|
900
|
+
* Baidu Android custom content dictionary.
|
|
901
|
+
*/
|
|
902
|
+
custom_content?: Record<string, any>;
|
|
903
|
+
/**
|
|
904
|
+
* Baidu APNs support.
|
|
905
|
+
*/
|
|
906
|
+
aps?: BaiduAppleNativePayload;
|
|
907
|
+
}
|
|
908
|
+
/**
|
|
909
|
+
* Creates a BaiduNotification from a native Baidu payload.
|
|
910
|
+
* @param nativeMessage - The native message payload to send to Notification Hubs.
|
|
911
|
+
* @returns The JSON body to send to Notification Hubs.
|
|
912
|
+
*/
|
|
913
|
+
export declare function createBaiduNotificationBody(nativeMessage: BaiduNativeMessage): string;
|
|
914
|
+
/**
|
|
915
|
+
* Represents the types of Windows Badge Glyphs
|
|
916
|
+
*/
|
|
917
|
+
export type WindowsBadgeGlyphType = "none" | "activity" | "alarm" | "alert" | "attention" | "available" | "away" | "busy" | "error" | "newMessage" | "paused" | "playing" | "unavailable";
|
|
918
|
+
/**
|
|
919
|
+
* Represents the Windows Badge Message
|
|
920
|
+
*/
|
|
921
|
+
export interface WindowsBadgeNativeMessage {
|
|
922
|
+
/**
|
|
923
|
+
* Either a numeric value or a string value that specifies a predefined badge glyph.
|
|
924
|
+
*/
|
|
925
|
+
value: WindowsBadgeGlyphType | number;
|
|
926
|
+
}
|
|
927
|
+
/**
|
|
928
|
+
* Builds a WindowsNotification from a Windows Badge.
|
|
929
|
+
* @param nativeMessage - The Windows Badge Message to build.
|
|
930
|
+
* @returns The WNS XML created with the badge information.
|
|
931
|
+
*/
|
|
932
|
+
export declare function createWindowsBadgeNotificationBody(nativeMessage: WindowsBadgeNativeMessage): string;
|
|
933
|
+
//# sourceMappingURL=notificationBodyBuilder.d.ts.map
|