@veruna/api-contracts 15.1.0 → 17.0.0
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/build/controllers/index.d.ts +3 -1
- package/build/controllers/index.js +8 -2
- package/build/controllers/index.js.map +1 -1
- package/build/controllers/notifications.controllers.d.ts +1 -0
- package/build/controllers/notifications.controllers.js +2 -1
- package/build/controllers/notifications.controllers.js.map +1 -1
- package/build/controllers/offers-unreg.controllers.d.ts +1 -0
- package/build/controllers/offers-unreg.controllers.js +5 -0
- package/build/controllers/offers-unreg.controllers.js.map +1 -0
- package/build/controllers/offers.controllers.d.ts +1 -0
- package/build/controllers/offers.controllers.js +5 -0
- package/build/controllers/offers.controllers.js.map +1 -0
- package/build/locales/validation.d.ts +482 -0
- package/build/locales/validation.js +340 -0
- package/build/locales/validation.js.map +1 -1
- package/build/rest-api.d.ts +24 -0
- package/build/rest-api.js +24 -0
- package/build/rest-api.js.map +1 -1
- package/build/routes/index.d.ts +3 -1
- package/build/routes/index.js +7 -2
- package/build/routes/index.js.map +1 -1
- package/build/routes/notifications.routes.d.ts +3 -0
- package/build/routes/notifications.routes.js +4 -1
- package/build/routes/notifications.routes.js.map +1 -1
- package/build/routes/offers.routes.d.ts +16 -0
- package/build/routes/offers.routes.js +20 -0
- package/build/routes/offers.routes.js.map +1 -0
- package/build/routes/web-notifications.routes.d.ts +3 -0
- package/build/routes/web-notifications.routes.js +3 -0
- package/build/routes/web-notifications.routes.js.map +1 -1
- package/build/shared/frontend-routes.d.ts +2 -0
- package/build/shared/frontend-routes.js +9 -1
- package/build/shared/frontend-routes.js.map +1 -1
- package/build/shared/regex.d.ts +1 -0
- package/build/shared/regex.js +2 -1
- package/build/shared/regex.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1/ai/ai.errors.d.ts +1 -0
- package/build/v1/ai/ai.errors.js +5 -0
- package/build/v1/ai/ai.errors.js.map +1 -1
- package/build/v1/attribution/schemas/conversion-type.enum.d.ts +6 -1
- package/build/v1/attribution/schemas/conversion-type.enum.js +5 -0
- package/build/v1/attribution/schemas/conversion-type.enum.js.map +1 -1
- package/build/v1/engagement/schemas/lifecycle-campaign.enum.d.ts +0 -6
- package/build/v1/engagement/schemas/lifecycle-campaign.enum.js +0 -6
- package/build/v1/engagement/schemas/lifecycle-campaign.enum.js.map +1 -1
- package/build/v1/engagement/schemas/lifecycle-stage.enum.d.ts +3 -0
- package/build/v1/engagement/schemas/lifecycle-stage.enum.js +3 -0
- package/build/v1/engagement/schemas/lifecycle-stage.enum.js.map +1 -1
- package/build/v1/engagement/schemas/suppression-channel.enum.d.ts +3 -1
- package/build/v1/engagement/schemas/suppression-channel.enum.js +2 -0
- package/build/v1/engagement/schemas/suppression-channel.enum.js.map +1 -1
- package/build/v1/index.d.ts +1 -0
- package/build/v1/index.js +1 -0
- package/build/v1/index.js.map +1 -1
- package/build/v1/notifications/schemas/email-template.enum.d.ts +2 -8
- package/build/v1/notifications/schemas/email-template.enum.js +1 -7
- package/build/v1/notifications/schemas/email-template.enum.js.map +1 -1
- package/build/v1/notifications/schemas/index.d.ts +1 -0
- package/build/v1/notifications/schemas/index.js +1 -0
- package/build/v1/notifications/schemas/index.js.map +1 -1
- package/build/v1/notifications/schemas/notification-channel.enum.d.ts +3 -1
- package/build/v1/notifications/schemas/notification-channel.enum.js +2 -0
- package/build/v1/notifications/schemas/notification-channel.enum.js.map +1 -1
- package/build/v1/notifications/schemas/notification-job-status.enum.d.ts +2 -1
- package/build/v1/notifications/schemas/notification-job-status.enum.js +1 -0
- package/build/v1/notifications/schemas/notification-job-status.enum.js.map +1 -1
- package/build/v1/notifications/schemas/unsubscribe-params.schema.d.ts +6 -0
- package/build/v1/notifications/schemas/unsubscribe-params.schema.js +16 -0
- package/build/v1/notifications/schemas/unsubscribe-params.schema.js.map +1 -0
- package/build/v1/offers/commands/admin-create-offer-campaign.command.d.ts +125 -0
- package/build/v1/offers/commands/admin-create-offer-campaign.command.js +14 -0
- package/build/v1/offers/commands/admin-create-offer-campaign.command.js.map +1 -0
- package/build/v1/offers/commands/admin-delete-offer-campaign.command.d.ts +12 -0
- package/build/v1/offers/commands/admin-delete-offer-campaign.command.js +15 -0
- package/build/v1/offers/commands/admin-delete-offer-campaign.command.js.map +1 -0
- package/build/v1/offers/commands/admin-issue-offer-campaign.command.d.ts +15 -0
- package/build/v1/offers/commands/admin-issue-offer-campaign.command.js +14 -0
- package/build/v1/offers/commands/admin-issue-offer-campaign.command.js.map +1 -0
- package/build/v1/offers/commands/admin-revoke-offer-campaign.command.d.ts +16 -0
- package/build/v1/offers/commands/admin-revoke-offer-campaign.command.js +15 -0
- package/build/v1/offers/commands/admin-revoke-offer-campaign.command.js.map +1 -0
- package/build/v1/offers/commands/admin-update-offer-campaign.command.d.ts +124 -0
- package/build/v1/offers/commands/admin-update-offer-campaign.command.js +14 -0
- package/build/v1/offers/commands/admin-update-offer-campaign.command.js.map +1 -0
- package/build/v1/offers/commands/index.d.ts +6 -0
- package/build/v1/offers/commands/index.js +25 -0
- package/build/v1/offers/commands/index.js.map +1 -0
- package/build/v1/offers/commands/unreg-track-header-offer.command.d.ts +11 -0
- package/build/v1/offers/commands/unreg-track-header-offer.command.js +15 -0
- package/build/v1/offers/commands/unreg-track-header-offer.command.js.map +1 -0
- package/build/v1/offers/index.d.ts +6 -0
- package/build/v1/offers/index.js +26 -0
- package/build/v1/offers/index.js.map +1 -0
- package/build/v1/offers/offers.errors.d.ts +13 -0
- package/build/v1/offers/offers.errors.js +54 -0
- package/build/v1/offers/offers.errors.js.map +1 -0
- package/build/v1/offers/queries/admin-get-offer-campaign-by-id.query.d.ts +70 -0
- package/build/v1/offers/queries/admin-get-offer-campaign-by-id.query.js +15 -0
- package/build/v1/offers/queries/admin-get-offer-campaign-by-id.query.js.map +1 -0
- package/build/v1/offers/queries/admin-get-offer-campaign-stats.query.d.ts +21 -0
- package/build/v1/offers/queries/admin-get-offer-campaign-stats.query.js +15 -0
- package/build/v1/offers/queries/admin-get-offer-campaign-stats.query.js.map +1 -0
- package/build/v1/offers/queries/admin-list-offer-campaigns.query.d.ts +83 -0
- package/build/v1/offers/queries/admin-list-offer-campaigns.query.js +14 -0
- package/build/v1/offers/queries/admin-list-offer-campaigns.query.js.map +1 -0
- package/build/v1/offers/queries/admin-list-user-offers.query.d.ts +34 -0
- package/build/v1/offers/queries/admin-list-user-offers.query.js +14 -0
- package/build/v1/offers/queries/admin-list-user-offers.query.js.map +1 -0
- package/build/v1/offers/queries/index.d.ts +5 -0
- package/build/v1/offers/queries/index.js +24 -0
- package/build/v1/offers/queries/index.js.map +1 -0
- package/build/v1/offers/queries/unreg-get-header-offer.query.d.ts +23 -0
- package/build/v1/offers/queries/unreg-get-header-offer.query.js +15 -0
- package/build/v1/offers/queries/unreg-get-header-offer.query.js.map +1 -0
- package/build/v1/offers/schemas/admin-list-offer-campaigns-filters.schema.d.ts +18 -0
- package/build/v1/offers/schemas/admin-list-offer-campaigns-filters.schema.js +45 -0
- package/build/v1/offers/schemas/admin-list-offer-campaigns-filters.schema.js.map +1 -0
- package/build/v1/offers/schemas/admin-list-user-offers-filters.schema.d.ts +9 -0
- package/build/v1/offers/schemas/admin-list-user-offers-filters.schema.js +25 -0
- package/build/v1/offers/schemas/admin-list-user-offers-filters.schema.js.map +1 -0
- package/build/v1/offers/schemas/admin-offer-campaign-sort.enum.d.ts +6 -0
- package/build/v1/offers/schemas/admin-offer-campaign-sort.enum.js +11 -0
- package/build/v1/offers/schemas/admin-offer-campaign-sort.enum.js.map +1 -0
- package/build/v1/offers/schemas/guest-offer-banner.schema.d.ts +30 -0
- package/build/v1/offers/schemas/guest-offer-banner.schema.js +21 -0
- package/build/v1/offers/schemas/guest-offer-banner.schema.js.map +1 -0
- package/build/v1/offers/schemas/index.d.ts +18 -0
- package/build/v1/offers/schemas/index.js +39 -0
- package/build/v1/offers/schemas/index.js.map +1 -0
- package/build/v1/offers/schemas/offer-audience.schema.d.ts +7 -0
- package/build/v1/offers/schemas/offer-audience.schema.js +18 -0
- package/build/v1/offers/schemas/offer-audience.schema.js.map +1 -0
- package/build/v1/offers/schemas/offer-campaign-stats.schema.d.ts +14 -0
- package/build/v1/offers/schemas/offer-campaign-stats.schema.js +17 -0
- package/build/v1/offers/schemas/offer-campaign-stats.schema.js.map +1 -0
- package/build/v1/offers/schemas/offer-campaign-status.enum.d.ts +5 -0
- package/build/v1/offers/schemas/offer-campaign-status.enum.js +10 -0
- package/build/v1/offers/schemas/offer-campaign-status.enum.js.map +1 -0
- package/build/v1/offers/schemas/offer-campaign.schema.d.ts +268 -0
- package/build/v1/offers/schemas/offer-campaign.schema.js +248 -0
- package/build/v1/offers/schemas/offer-campaign.schema.js.map +1 -0
- package/build/v1/offers/schemas/offer-countdown-mode.enum.d.ts +5 -0
- package/build/v1/offers/schemas/offer-countdown-mode.enum.js +10 -0
- package/build/v1/offers/schemas/offer-countdown-mode.enum.js.map +1 -0
- package/build/v1/offers/schemas/offer-cta-action.enum.d.ts +4 -0
- package/build/v1/offers/schemas/offer-cta-action.enum.js +9 -0
- package/build/v1/offers/schemas/offer-cta-action.enum.js.map +1 -0
- package/build/v1/offers/schemas/offer-presentation.schema.d.ts +47 -0
- package/build/v1/offers/schemas/offer-presentation.schema.js +97 -0
- package/build/v1/offers/schemas/offer-presentation.schema.js.map +1 -0
- package/build/v1/offers/schemas/offer-promo-template.schema.d.ts +28 -0
- package/build/v1/offers/schemas/offer-promo-template.schema.js +44 -0
- package/build/v1/offers/schemas/offer-promo-template.schema.js.map +1 -0
- package/build/v1/offers/schemas/offer-trigger-type.enum.d.ts +5 -0
- package/build/v1/offers/schemas/offer-trigger-type.enum.js +10 -0
- package/build/v1/offers/schemas/offer-trigger-type.enum.js.map +1 -0
- package/build/v1/offers/schemas/unreg-track-header-offer-request.schema.d.ts +5 -0
- package/build/v1/offers/schemas/unreg-track-header-offer-request.schema.js +11 -0
- package/build/v1/offers/schemas/unreg-track-header-offer-request.schema.js.map +1 -0
- package/build/v1/offers/schemas/user-offer-event-type.enum.d.ts +6 -0
- package/build/v1/offers/schemas/user-offer-event-type.enum.js +11 -0
- package/build/v1/offers/schemas/user-offer-event-type.enum.js.map +1 -0
- package/build/v1/offers/schemas/user-offer-status.enum.d.ts +9 -0
- package/build/v1/offers/schemas/user-offer-status.enum.js +14 -0
- package/build/v1/offers/schemas/user-offer-status.enum.js.map +1 -0
- package/build/v1/offers/schemas/user-offer.schema.d.ts +41 -0
- package/build/v1/offers/schemas/user-offer.schema.js +28 -0
- package/build/v1/offers/schemas/user-offer.schema.js.map +1 -0
- package/build/v1/web-notifications/commands/dismiss-web-notification.command.d.ts +12 -0
- package/build/v1/web-notifications/commands/dismiss-web-notification.command.js +15 -0
- package/build/v1/web-notifications/commands/dismiss-web-notification.command.js.map +1 -0
- package/build/v1/web-notifications/commands/index.d.ts +3 -0
- package/build/v1/web-notifications/commands/index.js +3 -0
- package/build/v1/web-notifications/commands/index.js.map +1 -1
- package/build/v1/web-notifications/commands/track-web-notification-click.command.d.ts +12 -0
- package/build/v1/web-notifications/commands/track-web-notification-click.command.js +15 -0
- package/build/v1/web-notifications/commands/track-web-notification-click.command.js.map +1 -0
- package/build/v1/web-notifications/commands/track-web-notification-impression.command.d.ts +12 -0
- package/build/v1/web-notifications/commands/track-web-notification-impression.command.js +15 -0
- package/build/v1/web-notifications/commands/track-web-notification-impression.command.js.map +1 -0
- package/build/v1/web-notifications/queries/get-web-notifications.query.d.ts +6 -0
- package/build/v1/web-notifications/queries/get-web-unread-count.query.d.ts +2 -0
- package/build/v1/web-notifications/schemas/dismiss-web-notification-response.schema.d.ts +5 -0
- package/build/v1/web-notifications/schemas/dismiss-web-notification-response.schema.js +8 -0
- package/build/v1/web-notifications/schemas/dismiss-web-notification-response.schema.js.map +1 -0
- package/build/v1/web-notifications/schemas/get-web-notifications-query.schema.d.ts +4 -0
- package/build/v1/web-notifications/schemas/get-web-notifications-query.schema.js +20 -0
- package/build/v1/web-notifications/schemas/get-web-notifications-query.schema.js.map +1 -1
- package/build/v1/web-notifications/schemas/index.d.ts +2 -0
- package/build/v1/web-notifications/schemas/index.js +2 -0
- package/build/v1/web-notifications/schemas/index.js.map +1 -1
- package/build/v1/web-notifications/schemas/track-web-notification-engagement-response.schema.d.ts +5 -0
- package/build/v1/web-notifications/schemas/track-web-notification-engagement-response.schema.js +8 -0
- package/build/v1/web-notifications/schemas/track-web-notification-engagement-response.schema.js.map +1 -0
- package/build/v1/web-notifications/schemas/web-notification.schema.d.ts +4 -0
- package/build/v1/web-notifications/schemas/web-notification.schema.js +4 -0
- package/build/v1/web-notifications/schemas/web-notification.schema.js.map +1 -1
- package/build/v1/web-notifications/schemas/web-notifications-response.schema.d.ts +4 -0
- package/build/v1/web-notifications/schemas/web-unread-count-response.schema.d.ts +3 -0
- package/build/v1/web-notifications/schemas/web-unread-count-response.schema.js +3 -0
- package/build/v1/web-notifications/schemas/web-unread-count-response.schema.js.map +1 -1
- package/build-esm/.tsbuildinfo +1 -1
- package/build-esm/controllers/index.js +3 -1
- package/build-esm/controllers/index.js.map +1 -1
- package/build-esm/controllers/notifications.controllers.js +1 -0
- package/build-esm/controllers/notifications.controllers.js.map +1 -1
- package/build-esm/controllers/offers-unreg.controllers.js +2 -0
- package/build-esm/controllers/offers-unreg.controllers.js.map +1 -0
- package/build-esm/controllers/offers.controllers.js +2 -0
- package/build-esm/controllers/offers.controllers.js.map +1 -0
- package/build-esm/locales/validation.js +340 -0
- package/build-esm/locales/validation.js.map +1 -1
- package/build-esm/rest-api.js +26 -2
- package/build-esm/rest-api.js.map +1 -1
- package/build-esm/routes/index.js +3 -1
- package/build-esm/routes/index.js.map +1 -1
- package/build-esm/routes/notifications.routes.js +3 -0
- package/build-esm/routes/notifications.routes.js.map +1 -1
- package/build-esm/routes/offers.routes.js +17 -0
- package/build-esm/routes/offers.routes.js.map +1 -0
- package/build-esm/routes/web-notifications.routes.js +3 -0
- package/build-esm/routes/web-notifications.routes.js.map +1 -1
- package/build-esm/shared/frontend-routes.js +7 -0
- package/build-esm/shared/frontend-routes.js.map +1 -1
- package/build-esm/shared/regex.js +1 -0
- package/build-esm/shared/regex.js.map +1 -1
- package/build-esm/v1/ai/ai.errors.js +5 -0
- package/build-esm/v1/ai/ai.errors.js.map +1 -1
- package/build-esm/v1/attribution/schemas/conversion-type.enum.js +5 -0
- package/build-esm/v1/attribution/schemas/conversion-type.enum.js.map +1 -1
- package/build-esm/v1/engagement/schemas/lifecycle-campaign.enum.js +0 -6
- package/build-esm/v1/engagement/schemas/lifecycle-campaign.enum.js.map +1 -1
- package/build-esm/v1/engagement/schemas/lifecycle-stage.enum.js +3 -0
- package/build-esm/v1/engagement/schemas/lifecycle-stage.enum.js.map +1 -1
- package/build-esm/v1/engagement/schemas/suppression-channel.enum.js +2 -0
- package/build-esm/v1/engagement/schemas/suppression-channel.enum.js.map +1 -1
- package/build-esm/v1/index.js +1 -0
- package/build-esm/v1/index.js.map +1 -1
- package/build-esm/v1/notifications/schemas/email-template.enum.js +1 -7
- package/build-esm/v1/notifications/schemas/email-template.enum.js.map +1 -1
- package/build-esm/v1/notifications/schemas/index.js +1 -0
- package/build-esm/v1/notifications/schemas/index.js.map +1 -1
- package/build-esm/v1/notifications/schemas/notification-channel.enum.js +2 -0
- package/build-esm/v1/notifications/schemas/notification-channel.enum.js.map +1 -1
- package/build-esm/v1/notifications/schemas/notification-job-status.enum.js +1 -0
- package/build-esm/v1/notifications/schemas/notification-job-status.enum.js.map +1 -1
- package/build-esm/v1/notifications/schemas/unsubscribe-params.schema.js +13 -0
- package/build-esm/v1/notifications/schemas/unsubscribe-params.schema.js.map +1 -0
- package/build-esm/v1/offers/commands/admin-create-offer-campaign.command.js +11 -0
- package/build-esm/v1/offers/commands/admin-create-offer-campaign.command.js.map +1 -0
- package/build-esm/v1/offers/commands/admin-delete-offer-campaign.command.js +12 -0
- package/build-esm/v1/offers/commands/admin-delete-offer-campaign.command.js.map +1 -0
- package/build-esm/v1/offers/commands/admin-issue-offer-campaign.command.js +11 -0
- package/build-esm/v1/offers/commands/admin-issue-offer-campaign.command.js.map +1 -0
- package/build-esm/v1/offers/commands/admin-revoke-offer-campaign.command.js +12 -0
- package/build-esm/v1/offers/commands/admin-revoke-offer-campaign.command.js.map +1 -0
- package/build-esm/v1/offers/commands/admin-update-offer-campaign.command.js +11 -0
- package/build-esm/v1/offers/commands/admin-update-offer-campaign.command.js.map +1 -0
- package/build-esm/v1/offers/commands/index.js +7 -0
- package/build-esm/v1/offers/commands/index.js.map +1 -0
- package/build-esm/v1/offers/commands/unreg-track-header-offer.command.js +12 -0
- package/build-esm/v1/offers/commands/unreg-track-header-offer.command.js.map +1 -0
- package/build-esm/v1/offers/index.js +7 -0
- package/build-esm/v1/offers/index.js.map +1 -0
- package/build-esm/v1/offers/offers.errors.js +51 -0
- package/build-esm/v1/offers/offers.errors.js.map +1 -0
- package/build-esm/v1/offers/queries/admin-get-offer-campaign-by-id.query.js +12 -0
- package/build-esm/v1/offers/queries/admin-get-offer-campaign-by-id.query.js.map +1 -0
- package/build-esm/v1/offers/queries/admin-get-offer-campaign-stats.query.js +12 -0
- package/build-esm/v1/offers/queries/admin-get-offer-campaign-stats.query.js.map +1 -0
- package/build-esm/v1/offers/queries/admin-list-offer-campaigns.query.js +11 -0
- package/build-esm/v1/offers/queries/admin-list-offer-campaigns.query.js.map +1 -0
- package/build-esm/v1/offers/queries/admin-list-user-offers.query.js +11 -0
- package/build-esm/v1/offers/queries/admin-list-user-offers.query.js.map +1 -0
- package/build-esm/v1/offers/queries/index.js +6 -0
- package/build-esm/v1/offers/queries/index.js.map +1 -0
- package/build-esm/v1/offers/queries/unreg-get-header-offer.query.js +12 -0
- package/build-esm/v1/offers/queries/unreg-get-header-offer.query.js.map +1 -0
- package/build-esm/v1/offers/schemas/admin-list-offer-campaigns-filters.schema.js +42 -0
- package/build-esm/v1/offers/schemas/admin-list-offer-campaigns-filters.schema.js.map +1 -0
- package/build-esm/v1/offers/schemas/admin-list-user-offers-filters.schema.js +22 -0
- package/build-esm/v1/offers/schemas/admin-list-user-offers-filters.schema.js.map +1 -0
- package/build-esm/v1/offers/schemas/admin-offer-campaign-sort.enum.js +8 -0
- package/build-esm/v1/offers/schemas/admin-offer-campaign-sort.enum.js.map +1 -0
- package/build-esm/v1/offers/schemas/guest-offer-banner.schema.js +18 -0
- package/build-esm/v1/offers/schemas/guest-offer-banner.schema.js.map +1 -0
- package/build-esm/v1/offers/schemas/index.js +18 -0
- package/build-esm/v1/offers/schemas/index.js.map +1 -0
- package/build-esm/v1/offers/schemas/offer-audience.schema.js +15 -0
- package/build-esm/v1/offers/schemas/offer-audience.schema.js.map +1 -0
- package/build-esm/v1/offers/schemas/offer-campaign-stats.schema.js +14 -0
- package/build-esm/v1/offers/schemas/offer-campaign-stats.schema.js.map +1 -0
- package/build-esm/v1/offers/schemas/offer-campaign-status.enum.js +7 -0
- package/build-esm/v1/offers/schemas/offer-campaign-status.enum.js.map +1 -0
- package/build-esm/v1/offers/schemas/offer-campaign.schema.js +245 -0
- package/build-esm/v1/offers/schemas/offer-campaign.schema.js.map +1 -0
- package/build-esm/v1/offers/schemas/offer-countdown-mode.enum.js +7 -0
- package/build-esm/v1/offers/schemas/offer-countdown-mode.enum.js.map +1 -0
- package/build-esm/v1/offers/schemas/offer-cta-action.enum.js +6 -0
- package/build-esm/v1/offers/schemas/offer-cta-action.enum.js.map +1 -0
- package/build-esm/v1/offers/schemas/offer-presentation.schema.js +94 -0
- package/build-esm/v1/offers/schemas/offer-presentation.schema.js.map +1 -0
- package/build-esm/v1/offers/schemas/offer-promo-template.schema.js +41 -0
- package/build-esm/v1/offers/schemas/offer-promo-template.schema.js.map +1 -0
- package/build-esm/v1/offers/schemas/offer-trigger-type.enum.js +7 -0
- package/build-esm/v1/offers/schemas/offer-trigger-type.enum.js.map +1 -0
- package/build-esm/v1/offers/schemas/unreg-track-header-offer-request.schema.js +8 -0
- package/build-esm/v1/offers/schemas/unreg-track-header-offer-request.schema.js.map +1 -0
- package/build-esm/v1/offers/schemas/user-offer-event-type.enum.js +8 -0
- package/build-esm/v1/offers/schemas/user-offer-event-type.enum.js.map +1 -0
- package/build-esm/v1/offers/schemas/user-offer-status.enum.js +11 -0
- package/build-esm/v1/offers/schemas/user-offer-status.enum.js.map +1 -0
- package/build-esm/v1/offers/schemas/user-offer.schema.js +25 -0
- package/build-esm/v1/offers/schemas/user-offer.schema.js.map +1 -0
- package/build-esm/v1/web-notifications/commands/dismiss-web-notification.command.js +12 -0
- package/build-esm/v1/web-notifications/commands/dismiss-web-notification.command.js.map +1 -0
- package/build-esm/v1/web-notifications/commands/index.js +3 -0
- package/build-esm/v1/web-notifications/commands/index.js.map +1 -1
- package/build-esm/v1/web-notifications/commands/track-web-notification-click.command.js +12 -0
- package/build-esm/v1/web-notifications/commands/track-web-notification-click.command.js.map +1 -0
- package/build-esm/v1/web-notifications/commands/track-web-notification-impression.command.js +12 -0
- package/build-esm/v1/web-notifications/commands/track-web-notification-impression.command.js.map +1 -0
- package/build-esm/v1/web-notifications/schemas/dismiss-web-notification-response.schema.js +5 -0
- package/build-esm/v1/web-notifications/schemas/dismiss-web-notification-response.schema.js.map +1 -0
- package/build-esm/v1/web-notifications/schemas/get-web-notifications-query.schema.js +20 -0
- package/build-esm/v1/web-notifications/schemas/get-web-notifications-query.schema.js.map +1 -1
- package/build-esm/v1/web-notifications/schemas/index.js +2 -0
- package/build-esm/v1/web-notifications/schemas/index.js.map +1 -1
- package/build-esm/v1/web-notifications/schemas/track-web-notification-engagement-response.schema.js +5 -0
- package/build-esm/v1/web-notifications/schemas/track-web-notification-engagement-response.schema.js.map +1 -0
- package/build-esm/v1/web-notifications/schemas/web-notification.schema.js +4 -0
- package/build-esm/v1/web-notifications/schemas/web-notification.schema.js.map +1 -1
- package/build-esm/v1/web-notifications/schemas/web-unread-count-response.schema.js +3 -0
- package/build-esm/v1/web-notifications/schemas/web-unread-count-response.schema.js.map +1 -1
- package/package.json +1 -1
package/build/v1/web-notifications/schemas/track-web-notification-engagement-response.schema.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const TrackWebNotificationEngagementResponseSchema: z.ZodObject<{
|
|
3
|
+
tracked: z.ZodBoolean;
|
|
4
|
+
}, z.core.$strip>;
|
|
5
|
+
export type TrackWebNotificationEngagementResponseDto = z.infer<typeof TrackWebNotificationEngagementResponseSchema>;
|
package/build/v1/web-notifications/schemas/track-web-notification-engagement-response.schema.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TrackWebNotificationEngagementResponseSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.TrackWebNotificationEngagementResponseSchema = zod_1.z.object({
|
|
6
|
+
tracked: zod_1.z.boolean(),
|
|
7
|
+
});
|
|
8
|
+
//# sourceMappingURL=track-web-notification-engagement-response.schema.js.map
|
package/build/v1/web-notifications/schemas/track-web-notification-engagement-response.schema.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"track-web-notification-engagement-response.schema.js","sourceRoot":"","sources":["../../../../v1/web-notifications/schemas/track-web-notification-engagement-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAOX,QAAA,4CAA4C,GAAG,OAAC,CAAC,MAAM,CAAC;IACjE,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE;CACvB,CAAC,CAAC"}
|
|
@@ -9,6 +9,10 @@ export declare const WebNotificationSchema: z.ZodObject<{
|
|
|
9
9
|
ctaLabel: z.ZodNullable<z.ZodString>;
|
|
10
10
|
ctaUrl: z.ZodNullable<z.ZodString>;
|
|
11
11
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
12
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
13
|
+
badge: z.ZodNullable<z.ZodString>;
|
|
14
|
+
dismissible: z.ZodBoolean;
|
|
15
|
+
countdownUntil: z.ZodNullable<z.ZodString>;
|
|
12
16
|
readAt: z.ZodNullable<z.ZodString>;
|
|
13
17
|
createdAt: z.ZodString;
|
|
14
18
|
}, z.core.$strip>;
|
|
@@ -13,6 +13,10 @@ exports.WebNotificationSchema = zod_1.z.object({
|
|
|
13
13
|
ctaLabel: zod_1.z.string().nullable(),
|
|
14
14
|
ctaUrl: zod_1.z.string().nullable(),
|
|
15
15
|
imageUrl: zod_1.z.string().nullable(),
|
|
16
|
+
variant: zod_1.z.string().nullable(),
|
|
17
|
+
badge: zod_1.z.string().nullable(),
|
|
18
|
+
dismissible: zod_1.z.boolean(),
|
|
19
|
+
countdownUntil: zod_1.z.string().regex(regex_1.DATETIME_REGEX).nullable(),
|
|
16
20
|
readAt: zod_1.z.string().regex(regex_1.DATETIME_REGEX).nullable(),
|
|
17
21
|
createdAt: zod_1.z.string().regex(regex_1.DATETIME_REGEX),
|
|
18
22
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-notification.schema.js","sourceRoot":"","sources":["../../../../v1/web-notifications/schemas/web-notification.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAmE;AACnE,iGAAwF;AAE3E,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,kBAAU,CAAC;IAClC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,kBAAU,CAAC;IACvC,QAAQ,EAAE,OAAC,CAAC,IAAI,CAAC,2CAAiB,CAAC;IACnC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"web-notification.schema.js","sourceRoot":"","sources":["../../../../v1/web-notifications/schemas/web-notification.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iDAAmE;AACnE,iGAAwF;AAE3E,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,kBAAU,CAAC;IAClC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,kBAAU,CAAC;IACvC,QAAQ,EAAE,OAAC,CAAC,IAAI,CAAC,2CAAiB,CAAC;IACnC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAO/B,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAE5B,WAAW,EAAE,OAAC,CAAC,OAAO,EAAE;IAKxB,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,sBAAc,CAAC,CAAC,QAAQ,EAAE;IAC3D,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,sBAAc,CAAC,CAAC,QAAQ,EAAE;IACnD,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,sBAAc,CAAC;CAC9C,CAAC,CAAC"}
|
|
@@ -9,6 +9,10 @@ export declare const WebNotificationsResponseSchema: z.ZodObject<{
|
|
|
9
9
|
ctaLabel: z.ZodNullable<z.ZodString>;
|
|
10
10
|
ctaUrl: z.ZodNullable<z.ZodString>;
|
|
11
11
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
12
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
13
|
+
badge: z.ZodNullable<z.ZodString>;
|
|
14
|
+
dismissible: z.ZodBoolean;
|
|
15
|
+
countdownUntil: z.ZodNullable<z.ZodString>;
|
|
12
16
|
readAt: z.ZodNullable<z.ZodString>;
|
|
13
17
|
createdAt: z.ZodString;
|
|
14
18
|
}, z.core.$strip>>;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { NotificationGroup } from '../../notifications/schemas/notification-group.enum';
|
|
2
3
|
export declare const WebUnreadCountResponseSchema: z.ZodObject<{
|
|
3
4
|
unreadCount: z.ZodNumber;
|
|
5
|
+
total: z.ZodNumber;
|
|
6
|
+
byGroup: z.ZodRecord<z.ZodEnum<typeof NotificationGroup>, z.ZodNumber>;
|
|
4
7
|
}, z.core.$strip>;
|
|
5
8
|
export type WebUnreadCountResponseDto = z.infer<typeof WebUnreadCountResponseSchema>;
|
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.WebUnreadCountResponseSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const notification_group_enum_1 = require("../../notifications/schemas/notification-group.enum");
|
|
5
6
|
exports.WebUnreadCountResponseSchema = zod_1.z.object({
|
|
6
7
|
unreadCount: zod_1.z.number().int().nonnegative(),
|
|
8
|
+
total: zod_1.z.number().int().nonnegative(),
|
|
9
|
+
byGroup: zod_1.z.record(zod_1.z.enum(notification_group_enum_1.NotificationGroup), zod_1.z.number().int().nonnegative()),
|
|
7
10
|
});
|
|
8
11
|
//# sourceMappingURL=web-unread-count-response.schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-unread-count-response.schema.js","sourceRoot":"","sources":["../../../../v1/web-notifications/schemas/web-unread-count-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;
|
|
1
|
+
{"version":3,"file":"web-unread-count-response.schema.js","sourceRoot":"","sources":["../../../../v1/web-notifications/schemas/web-unread-count-response.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iGAAwF;AAE3E,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC;IAKjD,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC3C,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAErC,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,IAAI,CAAC,2CAAiB,CAAC,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC;CAC/E,CAAC,CAAC"}
|