@azure/notification-hubs 1.2.1-alpha.20240410.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 @@
|
|
|
1
|
+
{"version":3,"file":"notificationBodyBuilder.d.ts","sourceRoot":"","sources":["../../../src/models/notificationBodyBuilder.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG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H,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAErC;;OAEG;IACH,GAAG,CAAC,EAAE,uBAAuB,CAAC;CAC/B;AAED;;;;GAIG;AACH,wBAAgB,2BAA2B,CAAC,aAAa,EAAE,kBAAkB,GAAG,MAAM,CAErF;AAED;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAC7B,MAAM,GACN,UAAU,GACV,OAAO,GACP,OAAO,GACP,WAAW,GACX,WAAW,GACX,MAAM,GACN,MAAM,GACN,OAAO,GACP,YAAY,GACZ,QAAQ,GACR,SAAS,GACT,aAAa,CAAC;AAElB;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,KAAK,EAAE,qBAAqB,GAAG,MAAM,CAAC;CACvC;AAED;;;;GAIG;AACH,wBAAgB,kCAAkC,CAChD,aAAa,EAAE,yBAAyB,GACvC,MAAM,CAMR"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.createWindowsBadgeNotificationBody = exports.createBaiduNotificationBody = exports.createAdmNotificationBody = exports.createFirebaseV1NotificationBody = exports.createFirebaseLegacyNotificationBody = exports.createAppleNotificationBody = void 0;
|
|
6
|
+
const core_xml_1 = require("@azure/core-xml");
|
|
7
|
+
/**
|
|
8
|
+
* Creates an APNs native message to send to Notification Hubs.
|
|
9
|
+
* @param nativeMessage - The Apple native message properties to set.
|
|
10
|
+
* @param additionalProperties - Additional properties for Apple messages.
|
|
11
|
+
* @returns An AppleNotification to send to Notification Hubs.
|
|
12
|
+
*/
|
|
13
|
+
function createAppleNotificationBody(nativeMessage) {
|
|
14
|
+
return JSON.stringify(nativeMessage);
|
|
15
|
+
}
|
|
16
|
+
exports.createAppleNotificationBody = createAppleNotificationBody;
|
|
17
|
+
/**
|
|
18
|
+
* Creates a FcmLegacyNotification from a native Firebase payload.
|
|
19
|
+
* @param nativeMessage - The native message payload to send to Notification Hubs.
|
|
20
|
+
* @returns The JSON body to send to Notification Hubs.
|
|
21
|
+
*/
|
|
22
|
+
function createFirebaseLegacyNotificationBody(nativeMessage) {
|
|
23
|
+
return JSON.stringify(nativeMessage);
|
|
24
|
+
}
|
|
25
|
+
exports.createFirebaseLegacyNotificationBody = createFirebaseLegacyNotificationBody;
|
|
26
|
+
/**
|
|
27
|
+
* Creates a FcmV1Notification from a native Firebase payload.
|
|
28
|
+
* @param nativeMessage - The native message payload to send to Notification Hubs.
|
|
29
|
+
* @returns The JSON body to send to Notification Hubs.
|
|
30
|
+
*/
|
|
31
|
+
function createFirebaseV1NotificationBody(nativeMessage) {
|
|
32
|
+
return JSON.stringify(nativeMessage);
|
|
33
|
+
}
|
|
34
|
+
exports.createFirebaseV1NotificationBody = createFirebaseV1NotificationBody;
|
|
35
|
+
/**
|
|
36
|
+
* Creates a AdmNotification from a native ADM payload.
|
|
37
|
+
* @param nativeMessage - The native message payload to send to Notification Hubs.
|
|
38
|
+
* @returns The AdmNotification to send to Notification Hubs.
|
|
39
|
+
*/
|
|
40
|
+
function createAdmNotificationBody(nativeMessage) {
|
|
41
|
+
return JSON.stringify(nativeMessage);
|
|
42
|
+
}
|
|
43
|
+
exports.createAdmNotificationBody = createAdmNotificationBody;
|
|
44
|
+
/**
|
|
45
|
+
* Creates a BaiduNotification from a native Baidu payload.
|
|
46
|
+
* @param nativeMessage - The native message payload to send to Notification Hubs.
|
|
47
|
+
* @returns The JSON body to send to Notification Hubs.
|
|
48
|
+
*/
|
|
49
|
+
function createBaiduNotificationBody(nativeMessage) {
|
|
50
|
+
return JSON.stringify(nativeMessage);
|
|
51
|
+
}
|
|
52
|
+
exports.createBaiduNotificationBody = createBaiduNotificationBody;
|
|
53
|
+
/**
|
|
54
|
+
* Builds a WindowsNotification from a Windows Badge.
|
|
55
|
+
* @param nativeMessage - The Windows Badge Message to build.
|
|
56
|
+
* @returns The WNS XML created with the badge information.
|
|
57
|
+
*/
|
|
58
|
+
function createWindowsBadgeNotificationBody(nativeMessage) {
|
|
59
|
+
const badge = {
|
|
60
|
+
$: { value: nativeMessage.value },
|
|
61
|
+
};
|
|
62
|
+
return (0, core_xml_1.stringifyXML)(badge, { rootName: "badge" });
|
|
63
|
+
}
|
|
64
|
+
exports.createWindowsBadgeNotificationBody = createWindowsBadgeNotificationBody;
|
|
65
|
+
//# sourceMappingURL=notificationBodyBuilder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationBodyBuilder.js","sourceRoot":"","sources":["../../../src/models/notificationBodyBuilder.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,8CAA+C;AAmM/C;;;;;GAKG;AACH,SAAgB,2BAA2B,CAAC,aAAiC;IAC3E,OAAO,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;AACvC,CAAC;AAFD,kEAEC;AAyND;;;;GAIG;AACH,SAAgB,oCAAoC,CAClD,aAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;AACvC,CAAC;AAJD,oFAIC;AA6aD;;;;GAIG;AACH,SAAgB,gCAAgC,CAAC,aAAsC;IACrF,OAAO,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;AACvC,CAAC;AAFD,4EAEC;AAoJD;;;;GAIG;AACH,SAAgB,yBAAyB,CAAC,aAA+B;IACvE,OAAO,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;AACvC,CAAC;AAFD,8DAEC;AAyFD;;;;GAIG;AACH,SAAgB,2BAA2B,CAAC,aAAiC;IAC3E,OAAO,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;AACvC,CAAC;AAFD,kEAEC;AA8BD;;;;GAIG;AACH,SAAgB,kCAAkC,CAChD,aAAwC;IAExC,MAAM,KAAK,GAAG;QACZ,CAAC,EAAE,EAAE,KAAK,EAAE,aAAa,CAAC,KAAK,EAAE;KAClC,CAAC;IAEF,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,CAAC;AACpD,CAAC;AARD,gFAQC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { stringifyXML } from \"@azure/core-xml\";\n\n/**\n * Represents what is in the APNs alert body.\n */\nexport interface AppleAlert {\n /**\n * The title of the notification. Apple Watch displays this string in the short look notification\n * interface. Specify a string that’s quickly understood by the user.\n */\n title?: string;\n\n /**\n * Additional information that explains the purpose of the notification.\n */\n subtitle?: string;\n\n /**\n * The content of the alert message.\n */\n body?: string;\n\n /**\n * The name of the launch image file to display. If the user chooses to launch your app,\n * the contents of the specified image or storyboard file are displayed instead of your app’s normal launch image.\n */\n \"launch-image\"?: string;\n\n /**\n * The key for a localized title string. Specify this key instead of the title key to retrieve\n * the title from your app’s Localizable.strings files. The value must contain the name of a key in your strings file.\n */\n \"title-loc-key\"?: string;\n\n /**\n * An array of strings containing replacement values for variables in your title string.\n * Each %\\@ character in the string specified by the title-loc-key is replaced by a value\n * from this array. The first item in the array replaces the first instance\n * of the %\\@ character in the string, the second item replaces the second instance, and so on.\n */\n \"title-loc-args\"?: string[];\n\n /**\n * The key for a localized subtitle string. Use this key, instead of the subtitle key, to\n * retrieve the subtitle from your app’s Localizable.strings file.\n * The value must contain the name of a key in your strings file.\n */\n \"subtitle-loc-key\"?: string;\n\n /**\n * An array of strings containing replacement values for variables in your title string.\n * Each %\\@ character in the string specified by subtitle-loc-key is replaced by a value\n * from this array. The first item in the array replaces the first instance of the\n * %\\@ character in the string, the second item replaces the second instance, and so on.\n */\n \"subtitle-loc-args\"?: string[];\n\n /**\n * The key for a localized message string. Use this key, instead of the body key, to\n * retrieve the message text from your app’s Localizable.strings file. The value must contain\n * the name of a key in your strings file.\n */\n \"loc-key\"?: string;\n\n /**\n * An array of strings containing replacement values for variables in your message text.\n * Each %\\@ character in the string specified by loc-key is replaced by a value from\n * this array. The first item in the array replaces the first instance of the %\\@ character\n * in the string, the second item replaces the second instance, and so on.\n */\n \"loc-args\"?: string[];\n}\n\n/**\n * Represents an APNs critical sound\n */\nexport interface AppleCriticalSound {\n /**\n * The critical alert flag. Set to 1 to enable the critical alert.\n */\n critical: number;\n\n /**\n * The name of a sound file in your app’s main bundle or in the Library/Sounds folder\n * of your app’s container directory. Specify the string “default” to play the system sound.\n */\n name: string;\n\n /**\n * The volume for the critical alert’s sound. Set this to a value between 0 (silent) and 1 (full volume).\n */\n volume: number;\n}\n\n/**\n * Represents a native APNs message.\n */\nexport interface AppleNativeMessage extends Record<string, any> {\n /**\n * The Apple specific push notification information.\n */\n aps?: AppleApsNativeMessage;\n}\n\n/**\n * Represents a native APNs APS message.\n */\nexport interface AppleApsNativeMessage extends Record<string, any> {\n /**\n * The information for displaying an alert.\n */\n alert?: string | AppleAlert;\n\n /**\n * The number to display in a badge on your app’s icon.\n */\n badge?: number;\n\n /**\n * The name of a sound file in your app’s main bundle or in the Library/Sounds\n * folder of your app’s container directory. Specify the string “default” to\n * play the system sound. Use this key for regular notifications.\n * For critical alerts, use the sound dictionary instead.\n */\n sound?: string | AppleCriticalSound;\n\n /**\n * An app-specific identifier for grouping related notifications.\n */\n \"thread-id\"?: string;\n\n /**\n * The notification’s type.\n */\n category?: string;\n\n /**\n * The background notification flag. To perform a silent background update,\n * specify the value 1 and don’t include the alert, badge, or sound keys in your payload.\n */\n \"content-available\"?: number;\n\n /**\n * The notification service app extension flag. If the value is 1, the system passes\n * the notification to your notification service app extension before delivery.\n */\n \"mutable-content\"?: number;\n\n /**\n * The identifier of the window brought forward.\n */\n \"target-content-id\"?: string;\n\n /**\n * The importance and delivery timing of a notification.\n */\n \"interruption-level\"?: \"passive\" | \"active\" | \"time-sensitive\" | \"critical\";\n\n /**\n * The relevance score, a number between 0 and 1, that the system uses to sort the\n * notifications from your app. The highest score gets featured in the notification summary.\n */\n \"relevance-score\"?: number;\n\n /**\n * The criteria the system evaluates to determine if it displays the notification in the current Focus.\n */\n \"filter-criteria\"?: string;\n\n /**\n * The UNIX timestamp that represents the date at which a Live Activity becomes stale, or out of date.\n */\n \"stale-date\"?: number;\n\n /**\n * The updated or final content for a Live Activity.\n */\n \"content-state\"?: Record<string, any>;\n\n /**\n * The UNIX timestamp that marks the time when you send the remote notification that updates or ends a Live Activity.\n */\n timestamp?: number;\n\n /**\n * 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.\n */\n events?: string;\n\n /**\n * 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.\n */\n \"dismissal-date\"?: number;\n}\n\n/**\n * Creates an APNs native message to send to Notification Hubs.\n * @param nativeMessage - The Apple native message properties to set.\n * @param additionalProperties - Additional properties for Apple messages.\n * @returns An AppleNotification to send to Notification Hubs.\n */\nexport function createAppleNotificationBody(nativeMessage: AppleNativeMessage): string {\n return JSON.stringify(nativeMessage);\n}\n\n/**\n * Represents the targets, options, and payload for HTTP JSON messages for the Firebase Legacy HTTP interface.\n */\nexport interface FirebaseLegacyNativeMessage {\n /**\n * The recipient of a message.\n */\n to?: string;\n\n /**\n * The recipient of a multicast message, a message sent to more than one registration token.\n */\n registration_ids?: string[];\n\n /**\n * A logical expression of conditions that determine the message target.\n */\n condition?: string;\n\n /**\n * Used to identify a group of messages.\n */\n collapse_key?: string;\n\n /**\n * The priority of the message.\n */\n priority?: \"normal\" | \"high\";\n\n /**\n * The background notification flag. To perform a silent background update,\n * specify the value 1 and don’t include the alert, badge, or sound keys in your payload.\n */\n content_available?: boolean;\n\n /**\n * The notification service app extension flag. If the value is 1, the system passes\n * the notification to your notification service app extension before delivery.\n */\n mutable_content?: number;\n\n /**\n * Specifies how long (in seconds) the message should be kept in FCM storage if the device is offline\n */\n time_to_live?: number;\n\n /**\n * The package name of the application where the registration tokens must match in order to receive the message.\n */\n restricted_package_name?: string;\n\n /**\n * When set to true, allows developers to test a request without actually sending a message.\n */\n dry_run?: boolean;\n\n /**\n * Custom key-value pairs of the message's payload.\n */\n data?: Record<string, any>;\n\n /**\n * The predefined, user-visible key-value pairs of the notification payload.\n */\n notification?:\n | FirebaseLegacyAppleNativePayload\n | FirebaseLegacyAndroidNativePayload\n | FirebaseLegacyWebNativePayload;\n}\n\n/**\n * Represents an APNs native payload for the Firebase Legacy HTTP interface.\n */\nexport interface FirebaseLegacyAppleNativePayload {\n /**\n * The notification's title.\n */\n title?: string;\n\n /**\n * The notification's body text.\n */\n body?: string;\n\n /**\n * The sound to play when the device receives the notification.\n */\n sound?: string;\n\n /**\n * The value of the badge on the home screen app icon.\n */\n badge?: string;\n\n /**\n * The action associated with a user click on the notification which corresponds to the APNs category.\n */\n click_action?: string;\n\n /**\n * The notification's subtitle.\n */\n subtitle?: string;\n\n /**\n * 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.\n */\n body_loc_key?: string;\n\n /**\n * 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.\n */\n body_loc_args?: string[];\n\n /**\n * 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.\n */\n title_loc_key?: string;\n\n /**\n * 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.\n */\n title_loc_args?: string[];\n}\n\n/**\n * Represents an Android native payload for the Firebase Legacy HTTP interface.\n */\nexport interface FirebaseLegacyAndroidNativePayload {\n /**\n * The notification's title.\n */\n title?: string;\n\n /**\n * The notification's body text.\n */\n body?: string;\n\n /**\n * The notification's channel ID.\n */\n android_channel_id?: string;\n\n /**\n * The notification's icon.\n */\n icon?: string;\n\n /**\n * The sound to play when the device receives the notification.\n */\n sound?: string;\n\n /**\n * Identifier used to replace existing notifications in the notification drawer.\n */\n tag?: string;\n\n /**\n * The notification's icon color, expressed in #rrggbb format.\n */\n color?: string;\n\n /**\n * The action associated with a user click on the notification.\n */\n click_action?: string;\n\n /**\n * 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.\n */\n body_loc_key?: string;\n\n /**\n * 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.\n */\n body_loc_args?: string[];\n\n /**\n * 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.\n */\n title_loc_key?: string;\n\n /**\n * 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.\n */\n title_loc_args?: string[];\n}\n\n/**\n * Represents an Web Push native payload for the Firebase Legacy HTTP interface.\n */\nexport interface FirebaseLegacyWebNativePayload {\n /**\n * The notification's title.\n */\n title?: string;\n\n /**\n * The notification's body text.\n */\n body?: string;\n\n /**\n * The URL to use for the notification's icon.\n */\n icon?: string;\n\n /**\n * The action associated with a user click on the notification.\n */\n click_action?: string;\n}\n\n/**\n * Creates a FcmLegacyNotification from a native Firebase payload.\n * @param nativeMessage - The native message payload to send to Notification Hubs.\n * @returns The JSON body to send to Notification Hubs.\n */\nexport function createFirebaseLegacyNotificationBody(\n nativeMessage: FirebaseLegacyNativeMessage,\n): string {\n return JSON.stringify(nativeMessage);\n}\n\n/**\n * Represents the targets, options, and payload for HTTP JSON messages for the Firebase V1 interface.\n */\nexport interface FirebaseV1NativeMessage {\n /**\n * Custom key-value pairs of the message's payload.\n */\n data?: Record<string, any>;\n\n /**\n * The predefined, user-visible key-value pairs of the notification payload.\n */\n notification?: FirebaseV1NativeNotification;\n\n /**\n * Android specific options for messages sent through FCM connection server.\n */\n android?: FirebaseV1AndroidConfig;\n\n /**\n * Webpush protocol options.\n */\n webpush?: FirebaseV1WebPushConfig;\n\n /**\n * APNs specific options.\n */\n apns?: FirebaseV1ApnsConfig;\n\n /**\n * FCM options.\n */\n fcm_options?: FirebaseV1FcmOptions;\n\n /**\n * Registration token to send a message to.\n */\n token?: string;\n\n /**\n * Topic name to send a message to, e.g. \"weather\".\n */\n topic?: string;\n\n /**\n * Condition to send a message to, e.g. \"'foo' in topics && 'bar' in topics\".\n */\n condition?: string;\n}\n\n/**\n * Represents a native FCM V1 notification message payload.\n */\nexport interface FirebaseV1NativeNotification {\n /**\n * The notification's title.\n */\n title?: string;\n\n /**\n * The notification's body text.\n */\n body?: string;\n\n /**\n * Contains the URL of an image that is going to be downloaded on the device and displayed in a notification.\n */\n image?: string;\n}\n\n/**\n * Android specific options for messages sent through FCM connection server.\n */\nexport interface FirebaseV1AndroidConfig {\n /**\n * An identifier of a group of messages that can be collapsed, so that only the last message gets sent when delivery can be resumed.\n */\n collapse_key?: string;\n\n /**\n * Message priority. Can take \"normal\" and \"high\" values.\n */\n priority?: \"normal\" | \"high\";\n\n /**\n * How long (in seconds) the message should be kept in FCM storage if the device is offline.\n */\n ttl?: string;\n\n /**\n * Package name of the application where the registration token must match in order to receive the message.\n */\n restricted_package_name?: string;\n\n /**\n * Custom key-value pairs of the message's payload.\n */\n data?: Record<string, any>;\n\n /**\n * Notification to send to android devices.\n */\n notification?: FirebaseV1AndroidNotification;\n\n /**\n * Options for features provided by the FCM SDK for Android.\n */\n fcm_options?: FirebaseV1AndroidFcmOptions;\n\n /**\n * If set to true, messages will be allowed to be delivered to the app while the device is in direct boot mode.\n */\n direct_boot_ok?: boolean;\n}\n\n/**\n * Notification to send to android devices.\n */\nexport interface FirebaseV1AndroidNotification {\n /**\n * The notification's title.\n */\n title?: string;\n\n /**\n * The notification's body text.\n */\n body?: string;\n\n /**\n * The notification's icon.\n */\n icon?: string;\n\n /**\n * The notification's icon color, expressed in #rrggbb format.\n */\n color?: string;\n\n /**\n * The sound to play when the device receives the notification.\n */\n sound?: string;\n\n /**\n * Identifier used to replace existing notifications in the notification drawer.\n */\n tag?: string;\n\n /**\n * The action associated with a user click on the notification.\n */\n click_action?: string;\n\n /**\n * 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.\n */\n body_loc_key?: string;\n\n /**\n * 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.\n */\n body_loc_args?: string[];\n\n /**\n * 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.\n */\n title_loc_key?: string;\n\n /**\n * 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.\n */\n title_loc_args?: string[];\n\n /**\n * The notification's channel id (new in Android O).\n */\n channel_id?: string;\n\n /**\n * Sets the \"ticker\" text, which is sent to accessibility services.\n */\n ticker?: string;\n\n /**\n * When set to false or unset, the notification is automatically dismissed when the user clicks it in the panel.\n */\n sticky?: boolean;\n\n /**\n * Set the time that the event in the notification occurred.\n */\n event_time?: string;\n\n /**\n * Set whether or not this notification is relevant only to the current device.\n */\n local_only?: boolean;\n\n /**\n * Set the relative priority for this notification.\n */\n notification_priority?: number;\n\n /**\n * If set to true, use the Android framework's default sound for the notification.\n */\n default_sound?: boolean;\n\n /**\n * If set to true, use the Android framework's default vibrate pattern for the notification.\n */\n default_vibrate_timings?: boolean;\n\n /**\n * If set to true, use the Android framework's default light settings for the notification.\n */\n default_light_settings?: boolean;\n\n /**\n * Set the vibration pattern to use.\n */\n vibrate_timings?: string[];\n\n /**\n * Set the Notification.visibility of the notification.\n */\n visibility?: number;\n\n /**\n * Sets the number of items this notification represents.\n */\n notification_count?: number;\n\n /**\n * Settings to control the notification's LED blinking rate and color if LED is available on the device.\n */\n light_settings?: {\n color: {\n red: number;\n green: number;\n blue: number;\n alpha: number;\n };\n light_on_duration: string;\n light_off_duration: string;\n };\n\n /**\n * Contains the URL of an image that is going to be displayed in a notification.\n */\n image?: string;\n}\n\n/**\n * Options for features provided by the FCM SDK for Android.\n */\nexport interface FirebaseV1AndroidFcmOptions {\n /**\n * The label associated with the message's analytics data.\n */\n analytics_label?: string;\n}\n\nexport interface FirebaseV1WebPushConfig {\n /**\n * A collection of WebPush protocol options.\n */\n headers?: Record<string, string>;\n\n /**\n * A collection of WebPush protocol options.\n */\n data?: Record<string, string>;\n\n /**\n * Web Notification options as a JSON object.\n */\n notification?: FirebaseV1WebPushNotification;\n\n /**\n * A collection of WebPush protocol options.\n */\n fcm_options?: FirebaseV1WebPushFcmOptions;\n}\n\n/**\n * Represents a Web Push notification payload.\n */\nexport interface FirebaseV1WebPushNotification {\n /**\n * An array of actions to display in the notification.\n */\n actions?: {\n action?: string;\n title?: string;\n icon?: string;\n }[];\n\n /**\n * Defines a title for the notification.\n */\n title?: string;\n\n /**\n * The body string of the notification\n */\n body?: string;\n\n /**\n * A string containing the URL of an icon to be displayed in the notification.\n */\n icon?: string;\n\n /**\n * 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.\n */\n badge?: string;\n\n /**\n * The notification's data.\n */\n data?: Record<string, any>;\n\n /**\n * The direction in which to display the notification.\n */\n dir?: \"auto\" | \"ltr\" | \"rtl\";\n\n /**\n * A string containing the URL of an image to be displayed in the notification.\n */\n image?: string;\n\n /**\n * The notification's language.\n */\n lang?: string;\n\n /**\n * A boolean value specifying whether the user should be notified after a new notification replaces an old one.\n */\n renotify?: boolean;\n\n /**\n * Indicates that a notification should remain active until the user clicks or dismisses it, rather than closing automatically.\n */\n requireInteraction?: boolean;\n\n /**\n * A boolean value specifying whether the notification is silent\n */\n silent?: boolean;\n\n /**\n * A string representing an identifying tag for the notification.\n */\n tag?: string;\n\n /**\n * A number representing the time at which a notification is created or applicable\n */\n timestamp?: number;\n\n /**\n * A vibration pattern for the device's vibration hardware to emit with the notification.\n */\n vibrate?: number[];\n}\n\n/**\n * Options for features provided by the FCM SDK for Web.\n */\nexport interface FirebaseV1WebPushFcmOptions {\n /**\n * The link to open when the user clicks on the notification.\n */\n link?: string;\n\n /**\n * Label associated with the message's analytics data.\n */\n analytics_label?: string;\n}\n\n/**\n * Apple Push Notification Service specific options.\n */\nexport interface FirebaseV1ApnsConfig {\n /**\n * A collection of APNs headers.\n */\n headers?: Record<string, string>;\n\n /**\n * A collection of APNs headers.\n */\n payload?: AppleNativeMessage;\n\n /**\n * A collection of APNs headers.\n */\n fcm_options?: FirebaseV1ApnsFcmOptions;\n}\n\n/**\n * Options for features provided by the FCM SDK for iOS.\n */\nexport interface FirebaseV1ApnsFcmOptions {\n /**\n * Label associated with the message's analytics data.\n */\n analytics_label?: string;\n\n /**\n * Contains the URL of an image that is going to be displayed in a notification.\n */\n image?: string;\n}\n\nexport interface FirebaseV1FcmOptions {\n /**\n * Label associated with the message's analytics data.\n */\n analytics_label?: string;\n}\n\n/**\n * Creates a FcmV1Notification from a native Firebase payload.\n * @param nativeMessage - The native message payload to send to Notification Hubs.\n * @returns The JSON body to send to Notification Hubs.\n */\nexport function createFirebaseV1NotificationBody(nativeMessage: FirebaseV1NativeMessage): string {\n return JSON.stringify(nativeMessage);\n}\n\n/**\n * Describes ADM notification messages.\n */\nexport interface AdmNativeNotification {\n /**\n * The notification's title.\n */\n title?: string;\n\n /**\n * The notification's body text.\n */\n body?: string;\n\n /**\n * The notification's icon.\n */\n icon?: string;\n\n /**\n * The notification's icon color, expressed in #rrggbb format.\n */\n color?: string;\n\n /**\n * The sound to play when the device receives the notification. Supports \"default\" or the filename of a sound resource bundled in the app.\n */\n sound?: string;\n\n /**\n * Identifier used to replace existing notifications in the notification drawer.\n */\n tag?: string;\n\n /**\n * The action associated with a user click on the notification.\n */\n click_action?: string;\n\n /**\n * 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.\n */\n body_loc_key?: string;\n\n /**\n * 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.\n */\n body_loc_args?: string[];\n\n /**\n * 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.\n */\n title_loc_key?: string;\n\n /**\n * 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.\n */\n title_loc_args?: string[];\n\n /**\n * The notification's channel id.\n */\n channel_id?: string;\n\n /**\n * Sets the \"ticker\" text, which is sent to accessibility services.\n */\n ticker?: string;\n\n /**\n * When set to false or unset, the notification is automatically dismissed when the user clicks it in the panel.\n */\n sticky?: boolean;\n\n /**\n * 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\".\n */\n event_time?: string;\n\n /**\n * Set whether or not this notification is relevant only to the current device.\n */\n local_only?: boolean;\n\n /**\n * Set the relative priority for this notification.\n */\n notification_priority?: number;\n\n /**\n * If set to true, use the Android framework's default sound for the notification.\n */\n default_sound?: boolean;\n\n /**\n * Set the Notification.visibility of the notification.\n */\n visibility?: number;\n\n /**\n * Sets the number of items this notification represents.\n */\n notification_count?: number;\n\n /**\n * Contains the URL of an image that is going to be displayed in a notification.\n */\n image?: string;\n}\n\n/**\n * Represents a native ADM notification message payload.\n */\nexport interface AdmNativeMessage {\n /**\n * The notification payload to send with the message.\n */\n notification?: AdmNativeNotification;\n\n /**\n * The payload data to send with the message.\n */\n data?: Record<string, string>;\n\n /**\n * The priority of the msssage.\n */\n priority?: \"normal\" | \"high\";\n\n /**\n * This is an arbitrary string used to indicate that multiple messages are logically the same\n * and that ADM is allowed to drop previously enqueued messages in favor of this new one.\n */\n consolidationKey?: string;\n\n /**\n * The number of seconds that ADM should retain the message if the device is offline.\n */\n expiresAfter?: number;\n\n /**\n * This is a base-64-encoded MD5 checksum of the data parameter.\n */\n md5?: string;\n}\n\n/**\n * Creates a AdmNotification from a native ADM payload.\n * @param nativeMessage - The native message payload to send to Notification Hubs.\n * @returns The AdmNotification to send to Notification Hubs.\n */\nexport function createAdmNotificationBody(nativeMessage: AdmNativeMessage): string {\n return JSON.stringify(nativeMessage);\n}\n\n/**\n * Represents the Baidu Apple native payload.\n */\nexport interface BaiduAppleNativePayload {\n /**\n * The alert string.\n */\n alert?: string;\n\n /**\n * The APNs sound to play.\n */\n sound?: string;\n\n /**\n * The APNs badge count.\n */\n badge?: number;\n}\n\n/**\n * Baidu Native Format:\n * https://stackoverflow.com/questions/42591815/customize-baidu-push-json-payload\n * http://www.tuicool.com/articles/ZnmANn\n */\nexport interface BaiduNativeMessage extends Record<string, any> {\n /**\n * Notification title for Android.\n */\n title?: string;\n\n /**\n * Baidu Notification description for Android.\n */\n description?: string;\n\n /**\n * Baidu Notification builder ID.\n */\n notification_builder_id?: number;\n\n /**\n * Baidu Notification Android basic style.\n */\n notification_basic_style?: number;\n\n /**\n * Baidu Android open type.\n */\n open_type?: number;\n\n /**\n * Baidu Android net support option.\n */\n net_support?: number;\n\n /**\n * Baidu Android user confirm.\n */\n user_confirm?: number;\n\n /**\n * Baidu Android URL.\n */\n url?: string;\n\n /**\n * Baidu Android package content.\n */\n pkg_content?: string;\n\n /**\n * Baidu Android package version.\n */\n pkg_version?: string;\n\n /**\n * Baidu Android custom content dictionary.\n */\n custom_content?: Record<string, any>;\n\n /**\n * Baidu APNs support.\n */\n aps?: BaiduAppleNativePayload;\n}\n\n/**\n * Creates a BaiduNotification from a native Baidu payload.\n * @param nativeMessage - The native message payload to send to Notification Hubs.\n * @returns The JSON body to send to Notification Hubs.\n */\nexport function createBaiduNotificationBody(nativeMessage: BaiduNativeMessage): string {\n return JSON.stringify(nativeMessage);\n}\n\n/**\n * Represents the types of Windows Badge Glyphs\n */\nexport type WindowsBadgeGlyphType =\n | \"none\"\n | \"activity\"\n | \"alarm\"\n | \"alert\"\n | \"attention\"\n | \"available\"\n | \"away\"\n | \"busy\"\n | \"error\"\n | \"newMessage\"\n | \"paused\"\n | \"playing\"\n | \"unavailable\";\n\n/**\n * Represents the Windows Badge Message\n */\nexport interface WindowsBadgeNativeMessage {\n /**\n * Either a numeric value or a string value that specifies a predefined badge glyph.\n */\n value: WindowsBadgeGlyphType | number;\n}\n\n/**\n * Builds a WindowsNotification from a Windows Badge.\n * @param nativeMessage - The Windows Badge Message to build.\n * @returns The WNS XML created with the badge information.\n */\nexport function createWindowsBadgeNotificationBody(\n nativeMessage: WindowsBadgeNativeMessage,\n): string {\n const badge = {\n $: { value: nativeMessage.value },\n };\n\n return stringifyXML(badge, { rootName: \"badge\" });\n}\n"]}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents the notification outcome states.
|
|
3
|
+
*/
|
|
4
|
+
export type NotificationOutcomeState = "Enqueued" | "DetailedStateAvailable" | "Processing" | "Completed" | "Abandoned" | "Unknown" | "NoTargetFound" | "Cancelled";
|
|
5
|
+
/**
|
|
6
|
+
* The per platform count per state.
|
|
7
|
+
*/
|
|
8
|
+
export interface NotificationOutcome {
|
|
9
|
+
/**
|
|
10
|
+
* The state of the notification.
|
|
11
|
+
*/
|
|
12
|
+
state: string;
|
|
13
|
+
/**
|
|
14
|
+
* The count of notifications per state.
|
|
15
|
+
*/
|
|
16
|
+
count: number;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Represents Notification details.
|
|
20
|
+
*/
|
|
21
|
+
export interface NotificationDetails {
|
|
22
|
+
/**
|
|
23
|
+
* The unique notification identifier.
|
|
24
|
+
*/
|
|
25
|
+
notificationId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The notification location.
|
|
28
|
+
*/
|
|
29
|
+
location?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The notification state.
|
|
32
|
+
*/
|
|
33
|
+
state?: NotificationOutcomeState;
|
|
34
|
+
/**
|
|
35
|
+
* The enqueue time of the notification.
|
|
36
|
+
*/
|
|
37
|
+
enqueueTime?: Date;
|
|
38
|
+
/**
|
|
39
|
+
* The notification send start time.
|
|
40
|
+
*/
|
|
41
|
+
startTime?: Date;
|
|
42
|
+
/**
|
|
43
|
+
* The notification send end time.
|
|
44
|
+
*/
|
|
45
|
+
endTime?: Date;
|
|
46
|
+
/**
|
|
47
|
+
* The notification body.
|
|
48
|
+
*/
|
|
49
|
+
notificationBody?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The notification tags.
|
|
52
|
+
*/
|
|
53
|
+
tags?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The notification platforms targeted.
|
|
56
|
+
*/
|
|
57
|
+
targetPlatforms?: string;
|
|
58
|
+
/**
|
|
59
|
+
* The URL for the platform notification services errors.
|
|
60
|
+
*/
|
|
61
|
+
pnsErrorDetailsUrl?: string;
|
|
62
|
+
/**
|
|
63
|
+
* APNs outcomes counts per state.
|
|
64
|
+
*/
|
|
65
|
+
apnsOutcomeCounts?: NotificationOutcome[];
|
|
66
|
+
/**
|
|
67
|
+
* WNS outcomes counts per state.
|
|
68
|
+
*/
|
|
69
|
+
wnsOutcomeCounts?: NotificationOutcome[];
|
|
70
|
+
/**
|
|
71
|
+
* FCM outcome counts per state.
|
|
72
|
+
*/
|
|
73
|
+
fcmOutcomeCounts?: NotificationOutcome[];
|
|
74
|
+
/**
|
|
75
|
+
* ADM outcome counts per state.
|
|
76
|
+
*/
|
|
77
|
+
admOutcomeCounts?: NotificationOutcome[];
|
|
78
|
+
/**
|
|
79
|
+
* Baidu outcome counts per state.
|
|
80
|
+
*/
|
|
81
|
+
baiduOutcomeCounts?: NotificationOutcome[];
|
|
82
|
+
/**
|
|
83
|
+
* Web Push outcome counts per state.
|
|
84
|
+
*/
|
|
85
|
+
browserOutcomeCounts?: NotificationOutcome[];
|
|
86
|
+
/**
|
|
87
|
+
* Xiaomi outcome counts per state.
|
|
88
|
+
*/
|
|
89
|
+
xiaomiOutcomeCounts?: NotificationOutcome[];
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Describes a response from the Notification Hubs which includes a tracking ID, correlation ID and location.
|
|
93
|
+
*/
|
|
94
|
+
export interface NotificationHubsResponse {
|
|
95
|
+
/**
|
|
96
|
+
* The Tracking ID of the operation.
|
|
97
|
+
*/
|
|
98
|
+
trackingId?: string;
|
|
99
|
+
/**
|
|
100
|
+
* The correlation ID of the operation.
|
|
101
|
+
*/
|
|
102
|
+
correlationId?: string;
|
|
103
|
+
/**
|
|
104
|
+
* The location of the operation.
|
|
105
|
+
*/
|
|
106
|
+
location?: string;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Represents the result of the registration.
|
|
110
|
+
*/
|
|
111
|
+
export interface RegistrationResult {
|
|
112
|
+
/**
|
|
113
|
+
* The application platform.
|
|
114
|
+
*/
|
|
115
|
+
applicationPlatform: string;
|
|
116
|
+
/**
|
|
117
|
+
* The PNS handle.
|
|
118
|
+
*/
|
|
119
|
+
pnsHandle: string;
|
|
120
|
+
/**
|
|
121
|
+
* The registration ID.
|
|
122
|
+
*/
|
|
123
|
+
registrationId: string;
|
|
124
|
+
/**
|
|
125
|
+
* The outcome of the registration.
|
|
126
|
+
*/
|
|
127
|
+
outcome: string;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Describes a response from the Notification Hubs service for send operations.
|
|
131
|
+
*/
|
|
132
|
+
export interface NotificationHubsMessageResponse extends NotificationHubsResponse {
|
|
133
|
+
/**
|
|
134
|
+
* The notification ID from the operation. Note this is only available in Standard SKU and above.
|
|
135
|
+
*/
|
|
136
|
+
notificationId?: string;
|
|
137
|
+
/**
|
|
138
|
+
* The number of devices that successfully received the notification.
|
|
139
|
+
*/
|
|
140
|
+
successCount: number;
|
|
141
|
+
/**
|
|
142
|
+
* The number of devices that failed to receive a notification.
|
|
143
|
+
*/
|
|
144
|
+
failureCount: number;
|
|
145
|
+
/**
|
|
146
|
+
* The list of notification outcome results for each device registered with the hub, to which this notification was sent.
|
|
147
|
+
*/
|
|
148
|
+
results: RegistrationResult[];
|
|
149
|
+
/**
|
|
150
|
+
* The state of this notification outcome.
|
|
151
|
+
*/
|
|
152
|
+
state: NotificationOutcomeState;
|
|
153
|
+
}
|
|
154
|
+
//# sourceMappingURL=notificationDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationDetails.d.ts","sourceRoot":"","sources":["../../../src/models/notificationDetails.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAChC,UAAU,GACV,wBAAwB,GACxB,YAAY,GACZ,WAAW,GACX,WAAW,GACX,SAAS,GACT,eAAe,GACf,WAAW,CAAC;AAEhB;;GAEG;AACH,MAAM,WAAW,mBAAm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CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,+BAAgC,SAAQ,wBAAwB;IAC/E;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAE9B;;OAEG;IACH,KAAK,EAAE,wBAAwB,CAAC;CACjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationDetails.js","sourceRoot":"","sources":["../../../src/models/notificationDetails.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * Represents the notification outcome states.\n */\nexport type NotificationOutcomeState =\n | \"Enqueued\"\n | \"DetailedStateAvailable\"\n | \"Processing\"\n | \"Completed\"\n | \"Abandoned\"\n | \"Unknown\"\n | \"NoTargetFound\"\n | \"Cancelled\";\n\n/**\n * The per platform count per state.\n */\nexport interface NotificationOutcome {\n /**\n * The state of the notification.\n */\n state: string;\n\n /**\n * The count of notifications per state.\n */\n count: number;\n}\n\n/**\n * Represents Notification details.\n */\nexport interface NotificationDetails {\n /**\n * The unique notification identifier.\n */\n notificationId?: string;\n\n /**\n * The notification location.\n */\n location?: string;\n\n /**\n * The notification state.\n */\n state?: NotificationOutcomeState;\n\n /**\n * The enqueue time of the notification.\n */\n enqueueTime?: Date;\n\n /**\n * The notification send start time.\n */\n startTime?: Date;\n\n /**\n * The notification send end time.\n */\n endTime?: Date;\n\n /**\n * The notification body.\n */\n notificationBody?: string;\n\n /**\n * The notification tags.\n */\n tags?: string;\n\n /**\n * The notification platforms targeted.\n */\n targetPlatforms?: string;\n\n /**\n * The URL for the platform notification services errors.\n */\n pnsErrorDetailsUrl?: string;\n\n /**\n * APNs outcomes counts per state.\n */\n apnsOutcomeCounts?: NotificationOutcome[];\n\n /**\n * WNS outcomes counts per state.\n */\n wnsOutcomeCounts?: NotificationOutcome[];\n\n /**\n * FCM outcome counts per state.\n */\n fcmOutcomeCounts?: NotificationOutcome[];\n\n /**\n * ADM outcome counts per state.\n */\n admOutcomeCounts?: NotificationOutcome[];\n\n /**\n * Baidu outcome counts per state.\n */\n baiduOutcomeCounts?: NotificationOutcome[];\n\n /**\n * Web Push outcome counts per state.\n */\n browserOutcomeCounts?: NotificationOutcome[];\n\n /**\n * Xiaomi outcome counts per state.\n */\n xiaomiOutcomeCounts?: NotificationOutcome[];\n}\n\n/**\n * Describes a response from the Notification Hubs which includes a tracking ID, correlation ID and location.\n */\nexport interface NotificationHubsResponse {\n /**\n * The Tracking ID of the operation.\n */\n trackingId?: string;\n\n /**\n * The correlation ID of the operation.\n */\n correlationId?: string;\n\n /**\n * The location of the operation.\n */\n location?: string;\n}\n\n/**\n * Represents the result of the registration.\n */\nexport interface RegistrationResult {\n /**\n * The application platform.\n */\n applicationPlatform: string;\n\n /**\n * The PNS handle.\n */\n pnsHandle: string;\n\n /**\n * The registration ID.\n */\n registrationId: string;\n\n /**\n * The outcome of the registration.\n */\n outcome: string;\n}\n\n/**\n * Describes a response from the Notification Hubs service for send operations.\n */\nexport interface NotificationHubsMessageResponse extends NotificationHubsResponse {\n /**\n * The notification ID from the operation. Note this is only available in Standard SKU and above.\n */\n notificationId?: string;\n\n /**\n * The number of devices that successfully received the notification.\n */\n successCount: number;\n\n /**\n * The number of devices that failed to receive a notification.\n */\n failureCount: number;\n\n /**\n * The list of notification outcome results for each device registered with the hub, to which this notification was sent.\n */\n results: RegistrationResult[];\n\n /**\n * The state of this notification outcome.\n */\n state: NotificationOutcomeState;\n}\n"]}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Describes the types of APNs pushes.
|
|
3
|
+
*/
|
|
4
|
+
export type ApnsPushTypes = "alert" | "background" | "voip" | "complication" | "fileprovider" | "mdm" | "location" | "liveactivity" | "pushtotalk";
|
|
5
|
+
/**
|
|
6
|
+
* The list of APNs specific headers.
|
|
7
|
+
*/
|
|
8
|
+
export interface AppleHeaders extends Record<string, unknown> {
|
|
9
|
+
/**
|
|
10
|
+
* The value of this header must accurately reflect the contents of your notification’s payload.
|
|
11
|
+
*/
|
|
12
|
+
"apns-push-type"?: ApnsPushTypes;
|
|
13
|
+
/**
|
|
14
|
+
* A canonical UUID that’s the unique ID for the notification.
|
|
15
|
+
*/
|
|
16
|
+
"apns-id"?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The date at which the notification is no longer valid. This value is a UNIX epoch expressed in seconds (UTC).
|
|
19
|
+
*/
|
|
20
|
+
"apns-expiration"?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The priority of the notification. If you omit this header, APNs sets the notification priority to 10.
|
|
23
|
+
*/
|
|
24
|
+
"apns-priority"?: "5" | "10";
|
|
25
|
+
/**
|
|
26
|
+
* The topic for the notification. In general, the topic is your app’s bundle ID/app ID.
|
|
27
|
+
*/
|
|
28
|
+
"apns-topic"?: string;
|
|
29
|
+
/**
|
|
30
|
+
* An identifier you use to merge multiple notifications into a single notification for the user.
|
|
31
|
+
*/
|
|
32
|
+
"apns-collapse-id"?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* The list of WNS specific types.
|
|
36
|
+
*/
|
|
37
|
+
export type WnsTypes = "wns/toast" | "wns/badge" | "wns/tile" | "wns/raw";
|
|
38
|
+
/**
|
|
39
|
+
* List of WNS specific headers.
|
|
40
|
+
*/
|
|
41
|
+
export interface WindowsHeaders extends Record<string, unknown> {
|
|
42
|
+
/**
|
|
43
|
+
* The header specifies whether this is a tile, toast, badge, or raw notification.
|
|
44
|
+
*/
|
|
45
|
+
"X-WNS-Type"?: WnsTypes;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=notificationHeaderBuilder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationHeaderBuilder.d.ts","sourceRoot":"","sources":["../../../src/models/notificationHeaderBuilder.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,MAAM,MAAM,aAAa,GACrB,OAAO,GACP,YAAY,GACZ,MAAM,GACN,cAAc,GACd,cAAc,GACd,KAAK,GACL,UAAU,GACV,cAAc,GACd,YAAY,CAAC;AAEjB;;GAEG;AACH,MAAM,WAAW,YAAa,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC3D;;OAEG;IACH,gBAAgB,CAAC,EAAE,aAAa,CAAC;IACjC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,eAAe,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;IAC7B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,WAAW,GAAG,WAAW,GAAG,UAAU,GAAG,SAAS,CAAC;AAE1E;;GAEG;AACH,MAAM,WAAW,cAAe,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC7D;;OAEG;IACH,YAAY,CAAC,EAAE,QAAQ,CAAC;CACzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationHeaderBuilder.js","sourceRoot":"","sources":["../../../src/models/notificationHeaderBuilder.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * Describes the types of APNs pushes.\n */\nexport type ApnsPushTypes =\n | \"alert\"\n | \"background\"\n | \"voip\"\n | \"complication\"\n | \"fileprovider\"\n | \"mdm\"\n | \"location\"\n | \"liveactivity\"\n | \"pushtotalk\";\n\n/**\n * The list of APNs specific headers.\n */\nexport interface AppleHeaders extends Record<string, unknown> {\n /**\n * The value of this header must accurately reflect the contents of your notification’s payload.\n */\n \"apns-push-type\"?: ApnsPushTypes;\n /**\n * A canonical UUID that’s the unique ID for the notification.\n */\n \"apns-id\"?: string;\n /**\n * The date at which the notification is no longer valid. This value is a UNIX epoch expressed in seconds (UTC).\n */\n \"apns-expiration\"?: string;\n /**\n * The priority of the notification. If you omit this header, APNs sets the notification priority to 10.\n */\n \"apns-priority\"?: \"5\" | \"10\";\n /**\n * The topic for the notification. In general, the topic is your app’s bundle ID/app ID.\n */\n \"apns-topic\"?: string;\n /**\n * An identifier you use to merge multiple notifications into a single notification for the user.\n */\n \"apns-collapse-id\"?: string;\n}\n\n/**\n * The list of WNS specific types.\n */\nexport type WnsTypes = \"wns/toast\" | \"wns/badge\" | \"wns/tile\" | \"wns/raw\";\n\n/**\n * List of WNS specific headers.\n */\nexport interface WindowsHeaders extends Record<string, unknown> {\n /**\n * The header specifies whether this is a tile, toast, badge, or raw notification.\n */\n \"X-WNS-Type\"?: WnsTypes;\n}\n"]}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { OperationState, SimplePollerLike } from "@azure/core-lro";
|
|
2
|
+
/**
|
|
3
|
+
* Describes the types of notification hub jobs.
|
|
4
|
+
*/
|
|
5
|
+
export type NotificationHubJobType =
|
|
6
|
+
/**
|
|
7
|
+
* Job type to bulk get registrations.
|
|
8
|
+
*/
|
|
9
|
+
"ExportRegistrations"
|
|
10
|
+
/**
|
|
11
|
+
* Job type to bulk create registrations.
|
|
12
|
+
*/
|
|
13
|
+
| "ImportCreateRegistrations"
|
|
14
|
+
/**
|
|
15
|
+
* Job type to bulk update registrations.
|
|
16
|
+
*/
|
|
17
|
+
| "ImportUpdateRegistrations"
|
|
18
|
+
/**
|
|
19
|
+
* Job type to bulk delete registrations.
|
|
20
|
+
*/
|
|
21
|
+
| "ImportDeleteRegistrations"
|
|
22
|
+
/**
|
|
23
|
+
* Job type to bulk upsert registrations.
|
|
24
|
+
*/
|
|
25
|
+
| "ImportUpsertRegistrations";
|
|
26
|
+
/**
|
|
27
|
+
* Describes the types of notification hub job statuses.
|
|
28
|
+
*/
|
|
29
|
+
export type NotificationHubJobStatus =
|
|
30
|
+
/**
|
|
31
|
+
* Indicates that the NotificationHubJob was accepted.
|
|
32
|
+
*/
|
|
33
|
+
"Started"
|
|
34
|
+
/**
|
|
35
|
+
* Indicates that the NotificationHubJob is currently running. Depending on the amount of data,
|
|
36
|
+
* a job may stay in this state for several hours.
|
|
37
|
+
*/
|
|
38
|
+
| "Running"
|
|
39
|
+
/**
|
|
40
|
+
* Indicates that the NotificationHubJob was completed successfully. Any output
|
|
41
|
+
* will be ready where configured via the NotificationHubJob object.
|
|
42
|
+
*/
|
|
43
|
+
| "Completed"
|
|
44
|
+
/**
|
|
45
|
+
* Indicates that the NotificationHubJob has failed.
|
|
46
|
+
*/
|
|
47
|
+
| "Failed";
|
|
48
|
+
/**
|
|
49
|
+
* Represents a Notification Hub Job.
|
|
50
|
+
*/
|
|
51
|
+
export interface NotificationHubJob {
|
|
52
|
+
/**
|
|
53
|
+
* The unique job identifier.
|
|
54
|
+
*/
|
|
55
|
+
jobId?: string;
|
|
56
|
+
/**
|
|
57
|
+
* The output file name.
|
|
58
|
+
*/
|
|
59
|
+
outputFileName?: string;
|
|
60
|
+
/**
|
|
61
|
+
* The file name for the job failures.
|
|
62
|
+
*/
|
|
63
|
+
failuresFileName?: string;
|
|
64
|
+
/**
|
|
65
|
+
* The progress for the job.
|
|
66
|
+
*/
|
|
67
|
+
progress?: number;
|
|
68
|
+
/**
|
|
69
|
+
* The type of job.
|
|
70
|
+
*/
|
|
71
|
+
type: NotificationHubJobType;
|
|
72
|
+
/**
|
|
73
|
+
* The status of the job.
|
|
74
|
+
*/
|
|
75
|
+
status?: NotificationHubJobStatus;
|
|
76
|
+
/**
|
|
77
|
+
* The output container URL.
|
|
78
|
+
*/
|
|
79
|
+
outputContainerUrl: string;
|
|
80
|
+
/**
|
|
81
|
+
* The import file URL.
|
|
82
|
+
*/
|
|
83
|
+
importFileUrl?: string;
|
|
84
|
+
/**
|
|
85
|
+
* The input properties for the notification hub job.
|
|
86
|
+
*/
|
|
87
|
+
inputProperties?: Record<string, string>;
|
|
88
|
+
/**
|
|
89
|
+
* Gets the notification hub job failure message.
|
|
90
|
+
*/
|
|
91
|
+
failure?: string;
|
|
92
|
+
/**
|
|
93
|
+
* The output properties for the notification hub job.
|
|
94
|
+
*/
|
|
95
|
+
outputProperties?: Record<string, string>;
|
|
96
|
+
/**
|
|
97
|
+
* Notification hub job created date.
|
|
98
|
+
*/
|
|
99
|
+
createdAt?: Date;
|
|
100
|
+
/**
|
|
101
|
+
* Notification hub job last updated date.
|
|
102
|
+
*/
|
|
103
|
+
updatedAt?: Date;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Describes a poller for NotificationHubJob types.
|
|
107
|
+
*/
|
|
108
|
+
export type NotificationHubJobPoller = SimplePollerLike<OperationState<NotificationHubJob>, NotificationHubJob>;
|
|
109
|
+
//# sourceMappingURL=notificationHubJob.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationHubJob.d.ts","sourceRoot":"","sources":["../../../src/models/notificationHubJob.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAEnE;;GAEG;AACH,MAAM,MAAM,sBAAsB;AAChC;;GAEG;AACD,qBAAqB;AAEvB;;GAEG;GACD,2BAA2B;AAE7B;;GAEG;GACD,2BAA2B;AAE7B;;GAEG;GACD,2BAA2B;AAE7B;;GAEG;GACD,2BAA2B,CAAC;AAEhC;;GAEG;AACH,MAAM,MAAM,wBAAwB;AAClC;;GAEG;AACD,SAAS;AAEX;;;GAGG;GACD,SAAS;AAEX;;;GAGG;GACD,WAAW;AAEb;;GAEG;GACD,QAAQ,CAAC;AAEb;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,IAAI,EAAE,sBAAsB,CAAC;IAE7B;;OAEG;IACH,MAAM,CAAC,EAAE,wBAAwB,CAAC;IAElC;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAEzC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAE1C;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;IAEjB;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,gBAAgB,CACrD,cAAc,CAAC,kBAAkB,CAAC,EAClC,kBAAkB,CACnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationHubJob.js","sourceRoot":"","sources":["../../../src/models/notificationHubJob.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { OperationState, SimplePollerLike } from \"@azure/core-lro\";\n\n/**\n * Describes the types of notification hub jobs.\n */\nexport type NotificationHubJobType =\n /**\n * Job type to bulk get registrations.\n */\n | \"ExportRegistrations\"\n\n /**\n * Job type to bulk create registrations.\n */\n | \"ImportCreateRegistrations\"\n\n /**\n * Job type to bulk update registrations.\n */\n | \"ImportUpdateRegistrations\"\n\n /**\n * Job type to bulk delete registrations.\n */\n | \"ImportDeleteRegistrations\"\n\n /**\n * Job type to bulk upsert registrations.\n */\n | \"ImportUpsertRegistrations\";\n\n/**\n * Describes the types of notification hub job statuses.\n */\nexport type NotificationHubJobStatus =\n /**\n * Indicates that the NotificationHubJob was accepted.\n */\n | \"Started\"\n\n /**\n * Indicates that the NotificationHubJob is currently running. Depending on the amount of data,\n * a job may stay in this state for several hours.\n */\n | \"Running\"\n\n /**\n * Indicates that the NotificationHubJob was completed successfully. Any output\n * will be ready where configured via the NotificationHubJob object.\n */\n | \"Completed\"\n\n /**\n * Indicates that the NotificationHubJob has failed.\n */\n | \"Failed\";\n\n/**\n * Represents a Notification Hub Job.\n */\nexport interface NotificationHubJob {\n /**\n * The unique job identifier.\n */\n jobId?: string;\n\n /**\n * The output file name.\n */\n outputFileName?: string;\n\n /**\n * The file name for the job failures.\n */\n failuresFileName?: string;\n\n /**\n * The progress for the job.\n */\n progress?: number;\n\n /**\n * The type of job.\n */\n type: NotificationHubJobType;\n\n /**\n * The status of the job.\n */\n status?: NotificationHubJobStatus;\n\n /**\n * The output container URL.\n */\n outputContainerUrl: string;\n\n /**\n * The import file URL.\n */\n importFileUrl?: string;\n\n /**\n * The input properties for the notification hub job.\n */\n inputProperties?: Record<string, string>;\n\n /**\n * Gets the notification hub job failure message.\n */\n failure?: string;\n\n /**\n * The output properties for the notification hub job.\n */\n outputProperties?: Record<string, string>;\n\n /**\n * Notification hub job created date.\n */\n createdAt?: Date;\n\n /**\n * Notification hub job last updated date.\n */\n updatedAt?: Date;\n}\n\n/**\n * Describes a poller for NotificationHubJob types.\n */\nexport type NotificationHubJobPoller = SimplePollerLike<\n OperationState<NotificationHubJob>,\n NotificationHubJob\n>;\n"]}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { ClientOptions, OperationOptions } from "@azure-rest/core-client";
|
|
2
|
+
import { BrowserPushChannel } from "./installation.js";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the options that can be provided while creating the NotificationHubsClientContext.
|
|
5
|
+
*/
|
|
6
|
+
export interface NotificationHubsClientOptions extends ClientOptions {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Options for polled operations including the polling interval cycle.
|
|
10
|
+
*/
|
|
11
|
+
export interface PolledOperationOptions extends OperationOptions {
|
|
12
|
+
/**
|
|
13
|
+
* Time delay between poll requests, in milliseconds.
|
|
14
|
+
*/
|
|
15
|
+
updateIntervalInMs?: number;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Options for sending notifications for both tag based send and broadcast scheduled send.
|
|
19
|
+
*/
|
|
20
|
+
export interface ScheduleNotificationOptions extends OperationOptions {
|
|
21
|
+
/**
|
|
22
|
+
* A tag expression used to target devices. Use the `createTagExpression` function to create a tag expression from an array of tags.
|
|
23
|
+
* If not set, this results in a broadcast notification to be scheduled.
|
|
24
|
+
*/
|
|
25
|
+
tagExpression?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Options for sending notifications for both tag based send and broadcast send.
|
|
29
|
+
*/
|
|
30
|
+
export interface SendNotificationOptions extends OperationOptions {
|
|
31
|
+
/**
|
|
32
|
+
* A tag expression used to target devices. Use the `createTagExpression` function to create a tag expression from an array of tags.
|
|
33
|
+
* If not set, this results in a broadcast notification to be sent.
|
|
34
|
+
*/
|
|
35
|
+
tagExpression?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Set to true to enable test send.
|
|
38
|
+
*/
|
|
39
|
+
enableTestSend?: boolean;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Options for sending notifications to individual devices.
|
|
43
|
+
*/
|
|
44
|
+
export interface DirectSendNotificationOptions extends OperationOptions {
|
|
45
|
+
/**
|
|
46
|
+
* The device handle to send the notification. If an array is provided, this uses batch direct send which is only available in Standard SKU and above.
|
|
47
|
+
*/
|
|
48
|
+
deviceHandle: string | BrowserPushChannel | string[];
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Represents entity update operation options that can be set.
|
|
52
|
+
*/
|
|
53
|
+
export interface EntityOperationOptions extends OperationOptions {
|
|
54
|
+
/**
|
|
55
|
+
* ETag as returned by creation, update, and retrieval, or ‘*’ (overwrite).
|
|
56
|
+
*/
|
|
57
|
+
etag?: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Represents query options to include $top support.
|
|
61
|
+
*/
|
|
62
|
+
export interface RegistrationQueryLimitOptions extends OperationOptions {
|
|
63
|
+
/**
|
|
64
|
+
* The $top query member to get a number of records.
|
|
65
|
+
*/
|
|
66
|
+
top?: number;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Represents query options to include both $top and $filter.
|
|
70
|
+
*/
|
|
71
|
+
export interface RegistrationQueryOptions extends RegistrationQueryLimitOptions {
|
|
72
|
+
/**
|
|
73
|
+
* The OData $filter operator query string.
|
|
74
|
+
*/
|
|
75
|
+
filter?: string;
|
|
76
|
+
}
|
|
77
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../src/models/options.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAEvD;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,aAAa;CAAG;AAEvE;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,gBAAgB;IAC9D;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,gBAAgB;IACnE;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,gBAAgB;IAC/D;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,gBAAgB;IACrE;;OAEG;IACH,YAAY,EAAE,MAAM,GAAG,kBAAkB,GAAG,MAAM,EAAE,CAAC;CACtD;AAED;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,gBAAgB;IAC9D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,gBAAgB;IACrE;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,6BAA6B;IAC7E;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../src/models/options.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { ClientOptions, OperationOptions } from \"@azure-rest/core-client\";\nimport { BrowserPushChannel } from \"./installation.js\";\n\n/**\n * Describes the options that can be provided while creating the NotificationHubsClientContext.\n */\nexport interface NotificationHubsClientOptions extends ClientOptions {}\n\n/**\n * Options for polled operations including the polling interval cycle.\n */\nexport interface PolledOperationOptions extends OperationOptions {\n /**\n * Time delay between poll requests, in milliseconds.\n */\n updateIntervalInMs?: number;\n}\n\n/**\n * Options for sending notifications for both tag based send and broadcast scheduled send.\n */\nexport interface ScheduleNotificationOptions extends OperationOptions {\n /**\n * A tag expression used to target devices. Use the `createTagExpression` function to create a tag expression from an array of tags.\n * If not set, this results in a broadcast notification to be scheduled.\n */\n tagExpression?: string;\n}\n\n/**\n * Options for sending notifications for both tag based send and broadcast send.\n */\nexport interface SendNotificationOptions extends OperationOptions {\n /**\n * A tag expression used to target devices. Use the `createTagExpression` function to create a tag expression from an array of tags.\n * If not set, this results in a broadcast notification to be sent.\n */\n tagExpression?: string;\n /**\n * Set to true to enable test send.\n */\n enableTestSend?: boolean;\n}\n\n/**\n * Options for sending notifications to individual devices.\n */\nexport interface DirectSendNotificationOptions extends OperationOptions {\n /**\n * The device handle to send the notification. If an array is provided, this uses batch direct send which is only available in Standard SKU and above.\n */\n deviceHandle: string | BrowserPushChannel | string[];\n}\n\n/**\n * Represents entity update operation options that can be set.\n */\nexport interface EntityOperationOptions extends OperationOptions {\n /**\n * ETag as returned by creation, update, and retrieval, or ‘*’ (overwrite).\n */\n etag?: string;\n}\n\n/**\n * Represents query options to include $top support.\n */\nexport interface RegistrationQueryLimitOptions extends OperationOptions {\n /**\n * The $top query member to get a number of records.\n */\n top?: number;\n}\n\n/**\n * Represents query options to include both $top and $filter.\n */\nexport interface RegistrationQueryOptions extends RegistrationQueryLimitOptions {\n /**\n * The OData $filter operator query string.\n */\n filter?: string;\n}\n"]}
|