@metamask-previews/notification-services-controller 26.0.1-preview-4f4c98e → 26.0.1-preview-eb263b0ee
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/CHANGELOG.md +0 -1
- package/dist/NotificationServicesController/NotificationServicesController-method-action-types.cjs +7 -0
- package/dist/NotificationServicesController/NotificationServicesController-method-action-types.cjs.map +1 -0
- package/dist/NotificationServicesController/{NotificationServicesController-method-action-types.d.ts → NotificationServicesController-method-action-types.d.cts} +2 -2
- package/dist/NotificationServicesController/NotificationServicesController-method-action-types.d.cts.map +1 -0
- package/dist/NotificationServicesController/NotificationServicesController-method-action-types.d.mts +206 -0
- package/dist/NotificationServicesController/NotificationServicesController-method-action-types.d.mts.map +1 -0
- package/dist/NotificationServicesController/{NotificationServicesController-method-action-types.js → NotificationServicesController-method-action-types.mjs} +1 -1
- package/dist/NotificationServicesController/NotificationServicesController-method-action-types.mjs.map +1 -0
- package/dist/NotificationServicesController/NotificationServicesController.cjs +1055 -0
- package/dist/NotificationServicesController/NotificationServicesController.cjs.map +1 -0
- package/dist/NotificationServicesController/{NotificationServicesController.d.ts → NotificationServicesController.d.cts} +15 -15
- package/dist/NotificationServicesController/NotificationServicesController.d.cts.map +1 -0
- package/dist/NotificationServicesController/NotificationServicesController.d.mts +292 -0
- package/dist/NotificationServicesController/NotificationServicesController.d.mts.map +1 -0
- package/dist/NotificationServicesController/{NotificationServicesController.js → NotificationServicesController.mjs} +26 -18
- package/dist/NotificationServicesController/NotificationServicesController.mjs.map +1 -0
- package/dist/NotificationServicesController/constants/index.cjs +18 -0
- package/dist/NotificationServicesController/constants/index.cjs.map +1 -0
- package/dist/NotificationServicesController/constants/index.d.cts +2 -0
- package/dist/NotificationServicesController/constants/index.d.cts.map +1 -0
- package/dist/NotificationServicesController/constants/index.d.mts +2 -0
- package/dist/NotificationServicesController/constants/index.d.mts.map +1 -0
- package/dist/NotificationServicesController/constants/index.mjs +2 -0
- package/dist/NotificationServicesController/constants/index.mjs.map +1 -0
- package/dist/NotificationServicesController/constants/notification-schema.cjs +46 -0
- package/dist/NotificationServicesController/constants/notification-schema.cjs.map +1 -0
- package/dist/NotificationServicesController/constants/{notification-schema.d.ts → notification-schema.d.cts} +1 -1
- package/dist/NotificationServicesController/constants/notification-schema.d.cts.map +1 -0
- package/dist/NotificationServicesController/constants/notification-schema.d.mts +22 -0
- package/dist/NotificationServicesController/constants/notification-schema.d.mts.map +1 -0
- package/dist/NotificationServicesController/constants/{notification-schema.js → notification-schema.mjs} +1 -1
- package/dist/NotificationServicesController/constants/notification-schema.mjs.map +1 -0
- package/dist/NotificationServicesController/index.cjs +44 -0
- package/dist/NotificationServicesController/index.cjs.map +1 -0
- package/dist/NotificationServicesController/{index.d.ts → index.d.cts} +14 -14
- package/dist/NotificationServicesController/index.d.cts.map +1 -0
- package/dist/NotificationServicesController/index.d.mts +16 -0
- package/dist/NotificationServicesController/index.d.mts.map +1 -0
- package/dist/NotificationServicesController/index.mjs +13 -0
- package/dist/NotificationServicesController/index.mjs.map +1 -0
- package/dist/NotificationServicesController/mocks/index.cjs +21 -0
- package/dist/NotificationServicesController/mocks/index.cjs.map +1 -0
- package/dist/NotificationServicesController/mocks/index.d.cts +5 -0
- package/dist/NotificationServicesController/mocks/index.d.cts.map +1 -0
- package/dist/NotificationServicesController/mocks/index.d.mts +5 -0
- package/dist/NotificationServicesController/mocks/index.d.mts.map +1 -0
- package/dist/NotificationServicesController/mocks/index.mjs +5 -0
- package/dist/NotificationServicesController/mocks/index.mjs.map +1 -0
- package/dist/NotificationServicesController/mocks/mock-feature-announcements.cjs +210 -0
- package/dist/NotificationServicesController/mocks/mock-feature-announcements.cjs.map +1 -0
- package/dist/NotificationServicesController/mocks/{mock-feature-announcements.d.ts → mock-feature-announcements.d.cts} +3 -3
- package/dist/NotificationServicesController/mocks/mock-feature-announcements.d.cts.map +1 -0
- package/dist/NotificationServicesController/mocks/mock-feature-announcements.d.mts +15 -0
- package/dist/NotificationServicesController/mocks/mock-feature-announcements.d.mts.map +1 -0
- package/dist/NotificationServicesController/mocks/{mock-feature-announcements.js → mock-feature-announcements.mjs} +2 -2
- package/dist/NotificationServicesController/mocks/mock-feature-announcements.mjs.map +1 -0
- package/dist/NotificationServicesController/mocks/mock-raw-notifications.cjs +830 -0
- package/dist/NotificationServicesController/mocks/mock-raw-notifications.cjs.map +1 -0
- package/dist/NotificationServicesController/mocks/{mock-raw-notifications.d.ts → mock-raw-notifications.d.cts} +2 -2
- package/dist/NotificationServicesController/mocks/mock-raw-notifications.d.cts.map +1 -0
- package/dist/NotificationServicesController/mocks/mock-raw-notifications.d.mts +104 -0
- package/dist/NotificationServicesController/mocks/mock-raw-notifications.d.mts.map +1 -0
- package/dist/NotificationServicesController/mocks/{mock-raw-notifications.js → mock-raw-notifications.mjs} +2 -2
- package/dist/NotificationServicesController/mocks/mock-raw-notifications.mjs.map +1 -0
- package/dist/NotificationServicesController/mocks/mock-snap-notification.cjs +29 -0
- package/dist/NotificationServicesController/mocks/mock-snap-notification.cjs.map +1 -0
- package/dist/NotificationServicesController/mocks/{mock-snap-notification.d.ts → mock-snap-notification.d.cts} +2 -2
- package/dist/NotificationServicesController/mocks/mock-snap-notification.d.cts.map +1 -0
- package/dist/NotificationServicesController/mocks/mock-snap-notification.d.mts +8 -0
- package/dist/NotificationServicesController/mocks/mock-snap-notification.d.mts.map +1 -0
- package/dist/NotificationServicesController/mocks/{mock-snap-notification.js → mock-snap-notification.mjs} +2 -2
- package/dist/NotificationServicesController/mocks/mock-snap-notification.mjs.map +1 -0
- package/dist/NotificationServicesController/mocks/mockResponses.cjs +53 -0
- package/dist/NotificationServicesController/mocks/mockResponses.cjs.map +1 -0
- package/dist/NotificationServicesController/mocks/{mockResponses.d.ts → mockResponses.d.cts} +3 -3
- package/dist/NotificationServicesController/mocks/mockResponses.d.cts.map +1 -0
- package/dist/NotificationServicesController/mocks/mockResponses.d.mts +14 -0
- package/dist/NotificationServicesController/mocks/mockResponses.d.mts.map +1 -0
- package/dist/NotificationServicesController/mocks/{mockResponses.js → mockResponses.mjs} +6 -6
- package/dist/NotificationServicesController/mocks/mockResponses.mjs.map +1 -0
- package/dist/NotificationServicesController/processors/index.cjs +20 -0
- package/dist/NotificationServicesController/processors/index.cjs.map +1 -0
- package/dist/NotificationServicesController/processors/index.d.cts +4 -0
- package/dist/NotificationServicesController/processors/index.d.cts.map +1 -0
- package/dist/NotificationServicesController/processors/index.d.mts +4 -0
- package/dist/NotificationServicesController/processors/index.d.mts.map +1 -0
- package/dist/NotificationServicesController/processors/index.mjs +4 -0
- package/dist/NotificationServicesController/processors/index.mjs.map +1 -0
- package/dist/NotificationServicesController/processors/process-api-notifications.cjs +24 -0
- package/dist/NotificationServicesController/processors/process-api-notifications.cjs.map +1 -0
- package/dist/NotificationServicesController/processors/{process-api-notifications.d.ts → process-api-notifications.d.cts} +3 -3
- package/dist/NotificationServicesController/processors/process-api-notifications.d.cts.map +1 -0
- package/dist/NotificationServicesController/processors/process-api-notifications.d.mts +10 -0
- package/dist/NotificationServicesController/processors/process-api-notifications.d.mts.map +1 -0
- package/dist/NotificationServicesController/processors/{process-api-notifications.js → process-api-notifications.mjs} +3 -3
- package/dist/NotificationServicesController/processors/process-api-notifications.mjs.map +1 -0
- package/dist/NotificationServicesController/processors/process-feature-announcement.cjs +38 -0
- package/dist/NotificationServicesController/processors/process-feature-announcement.cjs.map +1 -0
- package/dist/NotificationServicesController/processors/{process-feature-announcement.d.ts → process-feature-announcement.d.cts} +3 -3
- package/dist/NotificationServicesController/processors/process-feature-announcement.d.cts.map +1 -0
- package/dist/NotificationServicesController/processors/process-feature-announcement.d.mts +19 -0
- package/dist/NotificationServicesController/processors/process-feature-announcement.d.mts.map +1 -0
- package/dist/NotificationServicesController/processors/{process-feature-announcement.js → process-feature-announcement.mjs} +3 -3
- package/dist/NotificationServicesController/processors/process-feature-announcement.mjs.map +1 -0
- package/dist/NotificationServicesController/processors/process-notifications.cjs +60 -0
- package/dist/NotificationServicesController/processors/process-notifications.cjs.map +1 -0
- package/dist/NotificationServicesController/processors/{process-notifications.d.ts → process-notifications.d.cts} +2 -2
- package/dist/NotificationServicesController/processors/process-notifications.d.cts.map +1 -0
- package/dist/NotificationServicesController/processors/process-notifications.d.mts +20 -0
- package/dist/NotificationServicesController/processors/process-notifications.d.mts.map +1 -0
- package/dist/NotificationServicesController/processors/{process-notifications.js → process-notifications.mjs} +5 -5
- package/dist/NotificationServicesController/processors/process-notifications.mjs.map +1 -0
- package/dist/NotificationServicesController/processors/process-snap-notifications.cjs +25 -0
- package/dist/NotificationServicesController/processors/process-snap-notifications.cjs.map +1 -0
- package/dist/NotificationServicesController/processors/{process-snap-notifications.d.ts → process-snap-notifications.d.cts} +3 -3
- package/dist/NotificationServicesController/processors/process-snap-notifications.d.cts.map +1 -0
- package/dist/NotificationServicesController/processors/process-snap-notifications.d.mts +10 -0
- package/dist/NotificationServicesController/processors/process-snap-notifications.d.mts.map +1 -0
- package/dist/NotificationServicesController/processors/{process-snap-notifications.js → process-snap-notifications.mjs} +3 -3
- package/dist/NotificationServicesController/processors/process-snap-notifications.mjs.map +1 -0
- package/dist/NotificationServicesController/services/api-notifications.cjs +128 -0
- package/dist/NotificationServicesController/services/api-notifications.cjs.map +1 -0
- package/dist/NotificationServicesController/services/{api-notifications.d.ts → api-notifications.d.cts} +2 -2
- package/dist/NotificationServicesController/services/api-notifications.d.cts.map +1 -0
- package/dist/NotificationServicesController/services/api-notifications.d.mts +44 -0
- package/dist/NotificationServicesController/services/api-notifications.d.mts.map +1 -0
- package/dist/NotificationServicesController/services/{api-notifications.js → api-notifications.mjs} +12 -5
- package/dist/NotificationServicesController/services/api-notifications.mjs.map +1 -0
- package/dist/NotificationServicesController/services/feature-announcements.cjs +140 -0
- package/dist/NotificationServicesController/services/feature-announcements.cjs.map +1 -0
- package/dist/NotificationServicesController/services/{feature-announcements.d.ts → feature-announcements.d.cts} +4 -4
- package/dist/NotificationServicesController/services/feature-announcements.d.cts.map +1 -0
- package/dist/NotificationServicesController/services/feature-announcements.d.mts +32 -0
- package/dist/NotificationServicesController/services/feature-announcements.d.mts.map +1 -0
- package/dist/NotificationServicesController/services/{feature-announcements.js → feature-announcements.mjs} +5 -5
- package/dist/NotificationServicesController/services/feature-announcements.mjs.map +1 -0
- package/dist/NotificationServicesController/services/notification-config-cache.cjs +61 -0
- package/dist/NotificationServicesController/services/notification-config-cache.cjs.map +1 -0
- package/dist/NotificationServicesController/services/{notification-config-cache.d.ts → notification-config-cache.d.cts} +1 -1
- package/dist/NotificationServicesController/services/notification-config-cache.d.cts.map +1 -0
- package/dist/NotificationServicesController/services/notification-config-cache.d.mts +15 -0
- package/dist/NotificationServicesController/services/notification-config-cache.d.mts.map +1 -0
- package/dist/NotificationServicesController/services/{notification-config-cache.js → notification-config-cache.mjs} +1 -1
- package/dist/NotificationServicesController/services/notification-config-cache.mjs.map +1 -0
- package/dist/NotificationServicesController/services/perp-notifications.cjs +31 -0
- package/dist/NotificationServicesController/services/perp-notifications.cjs.map +1 -0
- package/dist/NotificationServicesController/services/{perp-notifications.d.ts → perp-notifications.d.cts} +2 -2
- package/dist/NotificationServicesController/services/perp-notifications.d.cts.map +1 -0
- package/dist/NotificationServicesController/services/perp-notifications.d.mts +11 -0
- package/dist/NotificationServicesController/services/perp-notifications.d.mts.map +1 -0
- package/dist/NotificationServicesController/services/{perp-notifications.js → perp-notifications.mjs} +2 -2
- package/dist/NotificationServicesController/services/perp-notifications.mjs.map +1 -0
- package/dist/NotificationServicesController/types/feature-announcement/feature-announcement.cjs +3 -0
- package/dist/NotificationServicesController/types/feature-announcement/feature-announcement.cjs.map +1 -0
- package/dist/NotificationServicesController/types/feature-announcement/{feature-announcement.d.ts → feature-announcement.d.cts} +3 -3
- package/dist/NotificationServicesController/types/feature-announcement/feature-announcement.d.cts.map +1 -0
- package/dist/NotificationServicesController/types/feature-announcement/feature-announcement.d.mts +32 -0
- package/dist/NotificationServicesController/types/feature-announcement/feature-announcement.d.mts.map +1 -0
- package/dist/NotificationServicesController/types/feature-announcement/feature-announcement.mjs +2 -0
- package/dist/NotificationServicesController/types/feature-announcement/feature-announcement.mjs.map +1 -0
- package/dist/NotificationServicesController/types/feature-announcement/index.cjs +3 -0
- package/dist/NotificationServicesController/types/feature-announcement/index.cjs.map +1 -0
- package/dist/NotificationServicesController/types/feature-announcement/index.d.cts +4 -0
- package/dist/NotificationServicesController/types/feature-announcement/index.d.cts.map +1 -0
- package/dist/NotificationServicesController/types/feature-announcement/index.d.mts +4 -0
- package/dist/NotificationServicesController/types/feature-announcement/index.d.mts.map +1 -0
- package/dist/NotificationServicesController/types/feature-announcement/index.mjs +2 -0
- package/dist/NotificationServicesController/types/feature-announcement/index.mjs.map +1 -0
- package/dist/NotificationServicesController/types/feature-announcement/type-feature-announcement.cjs +3 -0
- package/dist/NotificationServicesController/types/feature-announcement/type-feature-announcement.cjs.map +1 -0
- package/dist/NotificationServicesController/types/feature-announcement/{type-feature-announcement.d.ts → type-feature-announcement.d.cts} +3 -3
- package/dist/NotificationServicesController/types/feature-announcement/type-feature-announcement.d.cts.map +1 -0
- package/dist/NotificationServicesController/types/feature-announcement/type-feature-announcement.d.mts +43 -0
- package/dist/NotificationServicesController/types/feature-announcement/type-feature-announcement.d.mts.map +1 -0
- package/dist/NotificationServicesController/types/feature-announcement/type-feature-announcement.mjs +2 -0
- package/dist/NotificationServicesController/types/feature-announcement/type-feature-announcement.mjs.map +1 -0
- package/dist/NotificationServicesController/types/feature-announcement/type-links.cjs +3 -0
- package/dist/NotificationServicesController/types/feature-announcement/type-links.cjs.map +1 -0
- package/dist/NotificationServicesController/types/feature-announcement/{type-links.d.ts → type-links.d.cts} +1 -1
- package/dist/NotificationServicesController/types/feature-announcement/type-links.d.cts.map +1 -0
- package/dist/NotificationServicesController/types/feature-announcement/type-links.d.mts +29 -0
- package/dist/NotificationServicesController/types/feature-announcement/type-links.d.mts.map +1 -0
- package/dist/NotificationServicesController/types/feature-announcement/type-links.mjs +2 -0
- package/dist/NotificationServicesController/types/feature-announcement/type-links.mjs.map +1 -0
- package/dist/NotificationServicesController/types/index.cjs +3 -0
- package/dist/NotificationServicesController/types/index.cjs.map +1 -0
- package/dist/NotificationServicesController/types/index.d.cts +6 -0
- package/dist/NotificationServicesController/types/index.d.cts.map +1 -0
- package/dist/NotificationServicesController/types/index.d.mts +6 -0
- package/dist/NotificationServicesController/types/index.d.mts.map +1 -0
- package/dist/NotificationServicesController/types/index.mjs +2 -0
- package/dist/NotificationServicesController/types/index.mjs.map +1 -0
- package/dist/NotificationServicesController/types/notification/index.cjs +3 -0
- package/dist/NotificationServicesController/types/notification/index.cjs.map +1 -0
- package/dist/NotificationServicesController/types/notification/index.d.cts +2 -0
- package/dist/NotificationServicesController/types/notification/index.d.cts.map +1 -0
- package/dist/NotificationServicesController/types/notification/index.d.mts +2 -0
- package/dist/NotificationServicesController/types/notification/index.d.mts.map +1 -0
- package/dist/NotificationServicesController/types/notification/index.mjs +2 -0
- package/dist/NotificationServicesController/types/notification/index.mjs.map +1 -0
- package/dist/NotificationServicesController/types/notification/notification.cjs +3 -0
- package/dist/NotificationServicesController/types/notification/notification.cjs.map +1 -0
- package/dist/NotificationServicesController/types/notification/{notification.d.ts → notification.d.cts} +5 -5
- package/dist/NotificationServicesController/types/notification/notification.d.cts.map +1 -0
- package/dist/NotificationServicesController/types/notification/notification.d.mts +22 -0
- package/dist/NotificationServicesController/types/notification/notification.d.mts.map +1 -0
- package/dist/NotificationServicesController/types/notification/notification.mjs +2 -0
- package/dist/NotificationServicesController/types/notification/notification.mjs.map +1 -0
- package/dist/NotificationServicesController/types/notification-api/index.cjs +3 -0
- package/dist/NotificationServicesController/types/notification-api/index.cjs.map +1 -0
- package/dist/NotificationServicesController/types/notification-api/index.d.cts +3 -0
- package/dist/NotificationServicesController/types/notification-api/index.d.cts.map +1 -0
- package/dist/NotificationServicesController/types/notification-api/index.d.mts +3 -0
- package/dist/NotificationServicesController/types/notification-api/index.d.mts.map +1 -0
- package/dist/NotificationServicesController/types/notification-api/index.mjs +2 -0
- package/dist/NotificationServicesController/types/notification-api/index.mjs.map +1 -0
- package/dist/NotificationServicesController/types/notification-api/notification-api.cjs +4 -0
- package/dist/NotificationServicesController/types/notification-api/notification-api.cjs.map +1 -0
- package/dist/NotificationServicesController/types/notification-api/{notification-api.d.ts → notification-api.d.cts} +4 -4
- package/dist/NotificationServicesController/types/notification-api/notification-api.d.cts.map +1 -0
- package/dist/NotificationServicesController/types/notification-api/notification-api.d.mts +59 -0
- package/dist/NotificationServicesController/types/notification-api/notification-api.d.mts.map +1 -0
- package/dist/NotificationServicesController/types/notification-api/notification-api.mjs +2 -0
- package/dist/NotificationServicesController/types/notification-api/notification-api.mjs.map +1 -0
- package/dist/NotificationServicesController/types/notification-api/schema.cjs +6 -0
- package/dist/NotificationServicesController/types/notification-api/schema.cjs.map +1 -0
- package/dist/NotificationServicesController/types/notification-api/{schema.d.ts → schema.d.cts} +1 -1
- package/dist/NotificationServicesController/types/notification-api/schema.d.cts.map +1 -0
- package/dist/NotificationServicesController/types/notification-api/schema.d.mts +752 -0
- package/dist/NotificationServicesController/types/notification-api/schema.d.mts.map +1 -0
- package/dist/NotificationServicesController/types/notification-api/{schema.js → schema.mjs} +1 -1
- package/dist/NotificationServicesController/types/notification-api/schema.mjs.map +1 -0
- package/dist/NotificationServicesController/types/perps/index.cjs +3 -0
- package/dist/NotificationServicesController/types/perps/index.cjs.map +1 -0
- package/dist/NotificationServicesController/types/perps/index.d.cts +2 -0
- package/dist/NotificationServicesController/types/perps/index.d.cts.map +1 -0
- package/dist/NotificationServicesController/types/perps/index.d.mts +2 -0
- package/dist/NotificationServicesController/types/perps/index.d.mts.map +1 -0
- package/dist/NotificationServicesController/types/perps/index.mjs +2 -0
- package/dist/NotificationServicesController/types/perps/index.mjs.map +1 -0
- package/dist/NotificationServicesController/types/perps/perp-types.cjs +3 -0
- package/dist/NotificationServicesController/types/perps/perp-types.cjs.map +1 -0
- package/dist/NotificationServicesController/types/perps/perp-types.d.cts +3 -0
- package/dist/NotificationServicesController/types/perps/perp-types.d.cts.map +1 -0
- package/dist/NotificationServicesController/types/perps/perp-types.d.mts +3 -0
- package/dist/NotificationServicesController/types/perps/perp-types.d.mts.map +1 -0
- package/dist/NotificationServicesController/types/perps/perp-types.mjs +2 -0
- package/dist/NotificationServicesController/types/perps/perp-types.mjs.map +1 -0
- package/dist/NotificationServicesController/types/perps/schema.cjs +6 -0
- package/dist/NotificationServicesController/types/perps/schema.cjs.map +1 -0
- package/dist/NotificationServicesController/types/perps/{schema.d.ts → schema.d.cts} +1 -1
- package/dist/NotificationServicesController/types/perps/schema.d.cts.map +1 -0
- package/dist/NotificationServicesController/types/perps/schema.d.mts +133 -0
- package/dist/NotificationServicesController/types/perps/schema.d.mts.map +1 -0
- package/dist/NotificationServicesController/types/perps/{schema.js → schema.mjs} +1 -1
- package/dist/NotificationServicesController/types/perps/schema.mjs.map +1 -0
- package/dist/NotificationServicesController/types/snaps/index.cjs +3 -0
- package/dist/NotificationServicesController/types/snaps/index.cjs.map +1 -0
- package/dist/NotificationServicesController/types/snaps/index.d.cts +2 -0
- package/dist/NotificationServicesController/types/snaps/index.d.cts.map +1 -0
- package/dist/NotificationServicesController/types/snaps/index.d.mts +2 -0
- package/dist/NotificationServicesController/types/snaps/index.d.mts.map +1 -0
- package/dist/NotificationServicesController/types/snaps/index.mjs +2 -0
- package/dist/NotificationServicesController/types/snaps/index.mjs.map +1 -0
- package/dist/NotificationServicesController/types/snaps/snaps.cjs +3 -0
- package/dist/NotificationServicesController/types/snaps/snaps.cjs.map +1 -0
- package/dist/NotificationServicesController/types/snaps/{snaps.d.ts → snaps.d.cts} +2 -2
- package/dist/NotificationServicesController/types/snaps/snaps.d.cts.map +1 -0
- package/dist/NotificationServicesController/types/snaps/snaps.d.mts +23 -0
- package/dist/NotificationServicesController/types/snaps/snaps.d.mts.map +1 -0
- package/dist/NotificationServicesController/types/snaps/snaps.mjs +2 -0
- package/dist/NotificationServicesController/types/snaps/snaps.mjs.map +1 -0
- package/dist/NotificationServicesController/types/type-utils.cjs +3 -0
- package/dist/NotificationServicesController/types/type-utils.cjs.map +1 -0
- package/dist/NotificationServicesController/types/{type-utils.d.ts → type-utils.d.cts} +1 -1
- package/dist/NotificationServicesController/types/type-utils.d.cts.map +1 -0
- package/dist/NotificationServicesController/types/type-utils.d.mts +7 -0
- package/dist/NotificationServicesController/types/type-utils.d.mts.map +1 -0
- package/dist/NotificationServicesController/types/type-utils.mjs +2 -0
- package/dist/NotificationServicesController/types/type-utils.mjs.map +1 -0
- package/dist/NotificationServicesController/utils/get-notification-subtype.cjs +33 -0
- package/dist/NotificationServicesController/utils/get-notification-subtype.cjs.map +1 -0
- package/dist/NotificationServicesController/utils/{get-notification-subtype.d.ts → get-notification-subtype.d.cts} +2 -2
- package/dist/NotificationServicesController/utils/get-notification-subtype.d.cts.map +1 -0
- package/dist/NotificationServicesController/utils/get-notification-subtype.d.mts +17 -0
- package/dist/NotificationServicesController/utils/get-notification-subtype.d.mts.map +1 -0
- package/dist/NotificationServicesController/utils/{get-notification-subtype.js → get-notification-subtype.mjs} +3 -3
- package/dist/NotificationServicesController/utils/get-notification-subtype.mjs.map +1 -0
- package/dist/NotificationServicesController/utils/isVersionInBounds.cjs +37 -0
- package/dist/NotificationServicesController/utils/isVersionInBounds.cjs.map +1 -0
- package/dist/NotificationServicesController/utils/{isVersionInBounds.d.ts → isVersionInBounds.d.cts} +1 -1
- package/dist/NotificationServicesController/utils/isVersionInBounds.d.cts.map +1 -0
- package/dist/NotificationServicesController/utils/isVersionInBounds.d.mts +18 -0
- package/dist/NotificationServicesController/utils/isVersionInBounds.d.mts.map +1 -0
- package/dist/NotificationServicesController/utils/{isVersionInBounds.js → isVersionInBounds.mjs} +2 -2
- package/dist/NotificationServicesController/utils/isVersionInBounds.mjs.map +1 -0
- package/dist/NotificationServicesController/utils/should-auto-expire.cjs +12 -0
- package/dist/NotificationServicesController/utils/should-auto-expire.cjs.map +1 -0
- package/dist/NotificationServicesController/utils/{should-auto-expire.d.ts → should-auto-expire.d.cts} +1 -1
- package/dist/NotificationServicesController/utils/should-auto-expire.d.cts.map +1 -0
- package/dist/NotificationServicesController/utils/should-auto-expire.d.mts +2 -0
- package/dist/NotificationServicesController/utils/should-auto-expire.d.mts.map +1 -0
- package/dist/NotificationServicesController/utils/{should-auto-expire.js → should-auto-expire.mjs} +1 -1
- package/dist/NotificationServicesController/utils/should-auto-expire.mjs.map +1 -0
- package/dist/NotificationServicesController/utils/utils.cjs +25 -0
- package/dist/NotificationServicesController/utils/utils.cjs.map +1 -0
- package/dist/NotificationServicesController/utils/{utils.d.ts → utils.d.cts} +1 -1
- package/dist/NotificationServicesController/utils/utils.d.cts.map +1 -0
- package/dist/NotificationServicesController/utils/utils.d.mts +11 -0
- package/dist/NotificationServicesController/utils/utils.d.mts.map +1 -0
- package/dist/NotificationServicesController/utils/{utils.js → utils.mjs} +1 -1
- package/dist/NotificationServicesController/utils/utils.mjs.map +1 -0
- package/dist/NotificationServicesPushController/NotificationServicesPushController-method-action-types.cjs +7 -0
- package/dist/NotificationServicesPushController/NotificationServicesPushController-method-action-types.cjs.map +1 -0
- package/dist/NotificationServicesPushController/{NotificationServicesPushController-method-action-types.d.ts → NotificationServicesPushController-method-action-types.d.cts} +2 -2
- package/dist/NotificationServicesPushController/NotificationServicesPushController-method-action-types.d.cts.map +1 -0
- package/dist/NotificationServicesPushController/NotificationServicesPushController-method-action-types.d.mts +72 -0
- package/dist/NotificationServicesPushController/NotificationServicesPushController-method-action-types.d.mts.map +1 -0
- package/dist/NotificationServicesPushController/{NotificationServicesPushController-method-action-types.js → NotificationServicesPushController-method-action-types.mjs} +1 -1
- package/dist/NotificationServicesPushController/NotificationServicesPushController-method-action-types.mjs.map +1 -0
- package/dist/NotificationServicesPushController/NotificationServicesPushController.cjs +342 -0
- package/dist/NotificationServicesPushController/NotificationServicesPushController.cjs.map +1 -0
- package/dist/NotificationServicesPushController/{NotificationServicesPushController.d.ts → NotificationServicesPushController.d.cts} +9 -9
- package/dist/NotificationServicesPushController/NotificationServicesPushController.d.cts.map +1 -0
- package/dist/NotificationServicesPushController/NotificationServicesPushController.d.mts +123 -0
- package/dist/NotificationServicesPushController/NotificationServicesPushController.d.mts.map +1 -0
- package/dist/NotificationServicesPushController/{NotificationServicesPushController.js → NotificationServicesPushController.mjs} +11 -4
- package/dist/NotificationServicesPushController/NotificationServicesPushController.mjs.map +1 -0
- package/dist/NotificationServicesPushController/index.cjs +37 -0
- package/dist/NotificationServicesPushController/index.cjs.map +1 -0
- package/dist/NotificationServicesPushController/{index.d.ts → index.d.cts} +9 -9
- package/dist/NotificationServicesPushController/index.d.cts.map +1 -0
- package/dist/NotificationServicesPushController/index.d.mts +11 -0
- package/dist/NotificationServicesPushController/index.d.mts.map +1 -0
- package/dist/NotificationServicesPushController/index.mjs +8 -0
- package/dist/NotificationServicesPushController/index.mjs.map +1 -0
- package/dist/NotificationServicesPushController/mocks/index.cjs +18 -0
- package/dist/NotificationServicesPushController/mocks/index.cjs.map +1 -0
- package/dist/NotificationServicesPushController/mocks/index.d.cts +2 -0
- package/dist/NotificationServicesPushController/mocks/index.d.cts.map +1 -0
- package/dist/NotificationServicesPushController/mocks/index.d.mts +2 -0
- package/dist/NotificationServicesPushController/mocks/index.d.mts.map +1 -0
- package/dist/NotificationServicesPushController/mocks/index.mjs +2 -0
- package/dist/NotificationServicesPushController/mocks/index.mjs.map +1 -0
- package/dist/NotificationServicesPushController/mocks/mockResponse.cjs +48 -0
- package/dist/NotificationServicesPushController/mocks/mockResponse.cjs.map +1 -0
- package/dist/NotificationServicesPushController/mocks/{mockResponse.d.ts → mockResponse.d.cts} +1 -1
- package/dist/NotificationServicesPushController/mocks/mockResponse.d.cts.map +1 -0
- package/dist/NotificationServicesPushController/mocks/mockResponse.d.mts +22 -0
- package/dist/NotificationServicesPushController/mocks/mockResponse.d.mts.map +1 -0
- package/dist/NotificationServicesPushController/mocks/{mockResponse.js → mockResponse.mjs} +2 -2
- package/dist/NotificationServicesPushController/mocks/mockResponse.mjs.map +1 -0
- package/dist/NotificationServicesPushController/services/endpoints.cjs +13 -0
- package/dist/NotificationServicesPushController/services/endpoints.cjs.map +1 -0
- package/dist/NotificationServicesPushController/services/{endpoints.d.ts → endpoints.d.cts} +1 -1
- package/dist/NotificationServicesPushController/services/endpoints.d.cts.map +1 -0
- package/dist/NotificationServicesPushController/services/endpoints.d.mts +4 -0
- package/dist/NotificationServicesPushController/services/endpoints.d.mts.map +1 -0
- package/dist/NotificationServicesPushController/services/{endpoints.js → endpoints.mjs} +1 -1
- package/dist/NotificationServicesPushController/services/endpoints.mjs.map +1 -0
- package/dist/NotificationServicesPushController/services/services.cjs +133 -0
- package/dist/NotificationServicesPushController/services/services.cjs.map +1 -0
- package/dist/NotificationServicesPushController/services/{services.d.ts → services.d.cts} +4 -4
- package/dist/NotificationServicesPushController/services/services.d.cts.map +1 -0
- package/dist/NotificationServicesPushController/services/services.d.mts +90 -0
- package/dist/NotificationServicesPushController/services/services.d.mts.map +1 -0
- package/dist/NotificationServicesPushController/services/{services.js → services.mjs} +2 -2
- package/dist/NotificationServicesPushController/services/services.mjs.map +1 -0
- package/dist/NotificationServicesPushController/types/firebase.cjs +3 -0
- package/dist/NotificationServicesPushController/types/firebase.cjs.map +1 -0
- package/dist/NotificationServicesPushController/types/{firebase.d.ts → firebase.d.cts} +1 -1
- package/dist/NotificationServicesPushController/types/firebase.d.cts.map +1 -0
- package/dist/NotificationServicesPushController/types/firebase.d.mts +53 -0
- package/dist/NotificationServicesPushController/types/firebase.d.mts.map +1 -0
- package/dist/NotificationServicesPushController/types/firebase.mjs +2 -0
- package/dist/NotificationServicesPushController/types/firebase.mjs.map +1 -0
- package/dist/NotificationServicesPushController/types/index.cjs +3 -0
- package/dist/NotificationServicesPushController/types/index.cjs.map +1 -0
- package/dist/NotificationServicesPushController/types/index.d.cts +4 -0
- package/dist/NotificationServicesPushController/types/index.d.cts.map +1 -0
- package/dist/NotificationServicesPushController/types/index.d.mts +4 -0
- package/dist/NotificationServicesPushController/types/index.d.mts.map +1 -0
- package/dist/NotificationServicesPushController/types/index.mjs +2 -0
- package/dist/NotificationServicesPushController/types/index.mjs.map +1 -0
- package/dist/NotificationServicesPushController/types/push-analytics.cjs +5 -0
- package/dist/NotificationServicesPushController/types/push-analytics.cjs.map +1 -0
- package/dist/NotificationServicesPushController/types/{push-analytics.d.ts → push-analytics.d.cts} +1 -1
- package/dist/NotificationServicesPushController/types/push-analytics.d.cts.map +1 -0
- package/dist/NotificationServicesPushController/types/push-analytics.d.mts +18 -0
- package/dist/NotificationServicesPushController/types/push-analytics.d.mts.map +1 -0
- package/dist/NotificationServicesPushController/types/{push-analytics.js → push-analytics.mjs} +1 -1
- package/dist/NotificationServicesPushController/types/push-analytics.mjs.map +1 -0
- package/dist/NotificationServicesPushController/types/push-service-interface.cjs +3 -0
- package/dist/NotificationServicesPushController/types/push-service-interface.cjs.map +1 -0
- package/dist/NotificationServicesPushController/types/{push-service-interface.d.ts → push-service-interface.d.cts} +2 -2
- package/dist/NotificationServicesPushController/types/push-service-interface.d.cts.map +1 -0
- package/dist/NotificationServicesPushController/types/push-service-interface.d.mts +30 -0
- package/dist/NotificationServicesPushController/types/push-service-interface.d.mts.map +1 -0
- package/dist/NotificationServicesPushController/types/push-service-interface.mjs +2 -0
- package/dist/NotificationServicesPushController/types/push-service-interface.mjs.map +1 -0
- package/dist/NotificationServicesPushController/utils/get-notification-data.cjs +84 -0
- package/dist/NotificationServicesPushController/utils/get-notification-data.cjs.map +1 -0
- package/dist/NotificationServicesPushController/utils/{get-notification-data.d.ts → get-notification-data.d.cts} +2 -2
- package/dist/NotificationServicesPushController/utils/get-notification-data.d.cts.map +1 -0
- package/dist/NotificationServicesPushController/utils/get-notification-data.d.mts +42 -0
- package/dist/NotificationServicesPushController/utils/get-notification-data.d.mts.map +1 -0
- package/dist/NotificationServicesPushController/utils/{get-notification-data.js → get-notification-data.mjs} +2 -2
- package/dist/NotificationServicesPushController/utils/get-notification-data.mjs.map +1 -0
- package/dist/NotificationServicesPushController/utils/get-notification-message.cjs +171 -0
- package/dist/NotificationServicesPushController/utils/get-notification-message.cjs.map +1 -0
- package/dist/NotificationServicesPushController/utils/{get-notification-message.d.ts → get-notification-message.d.cts} +3 -3
- package/dist/NotificationServicesPushController/utils/get-notification-message.d.cts.map +1 -0
- package/dist/NotificationServicesPushController/utils/get-notification-message.d.mts +62 -0
- package/dist/NotificationServicesPushController/utils/get-notification-message.d.mts.map +1 -0
- package/dist/NotificationServicesPushController/utils/{get-notification-message.js → get-notification-message.mjs} +2 -2
- package/dist/NotificationServicesPushController/utils/get-notification-message.mjs.map +1 -0
- package/dist/NotificationServicesPushController/utils/index.cjs +20 -0
- package/dist/NotificationServicesPushController/utils/index.cjs.map +1 -0
- package/dist/NotificationServicesPushController/utils/index.d.cts +4 -0
- package/dist/NotificationServicesPushController/utils/index.d.cts.map +1 -0
- package/dist/NotificationServicesPushController/utils/index.d.mts +4 -0
- package/dist/NotificationServicesPushController/utils/index.d.mts.map +1 -0
- package/dist/NotificationServicesPushController/utils/index.mjs +4 -0
- package/dist/NotificationServicesPushController/utils/index.mjs.map +1 -0
- package/dist/NotificationServicesPushController/utils/to-push-analytics-payload.cjs +26 -0
- package/dist/NotificationServicesPushController/utils/to-push-analytics-payload.cjs.map +1 -0
- package/dist/NotificationServicesPushController/utils/{to-push-analytics-payload.d.ts → to-push-analytics-payload.d.cts} +2 -2
- package/dist/NotificationServicesPushController/utils/to-push-analytics-payload.d.cts.map +1 -0
- package/dist/NotificationServicesPushController/utils/to-push-analytics-payload.d.mts +12 -0
- package/dist/NotificationServicesPushController/utils/to-push-analytics-payload.d.mts.map +1 -0
- package/dist/NotificationServicesPushController/utils/{to-push-analytics-payload.js → to-push-analytics-payload.mjs} +1 -1
- package/dist/NotificationServicesPushController/utils/to-push-analytics-payload.mjs.map +1 -0
- package/dist/NotificationServicesPushController/web/index.cjs +8 -0
- package/dist/NotificationServicesPushController/web/index.cjs.map +1 -0
- package/dist/NotificationServicesPushController/web/index.d.cts +2 -0
- package/dist/NotificationServicesPushController/web/index.d.cts.map +1 -0
- package/dist/NotificationServicesPushController/web/index.d.mts +2 -0
- package/dist/NotificationServicesPushController/web/index.d.mts.map +1 -0
- package/dist/NotificationServicesPushController/web/index.mjs +2 -0
- package/dist/NotificationServicesPushController/web/index.mjs.map +1 -0
- package/dist/NotificationServicesPushController/web/push-utils.cjs +169 -0
- package/dist/NotificationServicesPushController/web/push-utils.cjs.map +1 -0
- package/dist/NotificationServicesPushController/web/{push-utils.d.ts → push-utils.d.cts} +5 -4
- package/dist/NotificationServicesPushController/web/push-utils.d.cts.map +1 -0
- package/dist/NotificationServicesPushController/web/push-utils.d.mts +37 -0
- package/dist/NotificationServicesPushController/web/push-utils.d.mts.map +1 -0
- package/dist/NotificationServicesPushController/web/{push-utils.js → push-utils.mjs} +13 -6
- package/dist/NotificationServicesPushController/web/push-utils.mjs.map +1 -0
- package/dist/index.cjs +34 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +4 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +4 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -0
- package/dist/shared/index.cjs +20 -0
- package/dist/shared/index.cjs.map +1 -0
- package/dist/shared/index.d.cts +4 -0
- package/dist/shared/index.d.cts.map +1 -0
- package/dist/shared/index.d.mts +4 -0
- package/dist/shared/index.d.mts.map +1 -0
- package/dist/shared/index.mjs +4 -0
- package/dist/shared/index.mjs.map +1 -0
- package/dist/shared/is-onchain-notification.cjs +15 -0
- package/dist/shared/is-onchain-notification.cjs.map +1 -0
- package/dist/shared/{is-onchain-notification.d.ts → is-onchain-notification.d.cts} +2 -2
- package/dist/shared/is-onchain-notification.d.cts.map +1 -0
- package/dist/shared/is-onchain-notification.d.mts +9 -0
- package/dist/shared/is-onchain-notification.d.mts.map +1 -0
- package/dist/shared/{is-onchain-notification.js → is-onchain-notification.mjs} +2 -2
- package/dist/shared/is-onchain-notification.mjs.map +1 -0
- package/dist/shared/notification-api-type-guards.cjs +24 -0
- package/dist/shared/notification-api-type-guards.cjs.map +1 -0
- package/dist/shared/{notification-api-type-guards.d.ts → notification-api-type-guards.d.cts} +2 -2
- package/dist/shared/notification-api-type-guards.d.cts.map +1 -0
- package/dist/shared/notification-api-type-guards.d.mts +16 -0
- package/dist/shared/notification-api-type-guards.d.mts.map +1 -0
- package/dist/shared/{notification-api-type-guards.js → notification-api-type-guards.mjs} +1 -1
- package/dist/shared/notification-api-type-guards.mjs.map +1 -0
- package/dist/shared/to-raw-notification.cjs +30 -0
- package/dist/shared/to-raw-notification.cjs.map +1 -0
- package/dist/shared/{to-raw-notification.d.ts → to-raw-notification.d.cts} +2 -2
- package/dist/shared/to-raw-notification.d.cts.map +1 -0
- package/dist/shared/to-raw-notification.d.mts +11 -0
- package/dist/shared/to-raw-notification.d.mts.map +1 -0
- package/dist/shared/{to-raw-notification.js → to-raw-notification.mjs} +3 -3
- package/dist/shared/to-raw-notification.mjs.map +1 -0
- package/package.json +58 -24
- package/dist/NotificationServicesController/NotificationServicesController-method-action-types.d.ts.map +0 -1
- package/dist/NotificationServicesController/NotificationServicesController-method-action-types.js.map +0 -1
- package/dist/NotificationServicesController/NotificationServicesController.d.ts.map +0 -1
- package/dist/NotificationServicesController/NotificationServicesController.js.map +0 -1
- package/dist/NotificationServicesController/constants/index.d.ts +0 -2
- package/dist/NotificationServicesController/constants/index.d.ts.map +0 -1
- package/dist/NotificationServicesController/constants/index.js +0 -2
- package/dist/NotificationServicesController/constants/index.js.map +0 -1
- package/dist/NotificationServicesController/constants/notification-schema.d.ts.map +0 -1
- package/dist/NotificationServicesController/constants/notification-schema.js.map +0 -1
- package/dist/NotificationServicesController/index.d.ts.map +0 -1
- package/dist/NotificationServicesController/index.js +0 -13
- package/dist/NotificationServicesController/index.js.map +0 -1
- package/dist/NotificationServicesController/mocks/index.d.ts +0 -5
- package/dist/NotificationServicesController/mocks/index.d.ts.map +0 -1
- package/dist/NotificationServicesController/mocks/index.js +0 -5
- package/dist/NotificationServicesController/mocks/index.js.map +0 -1
- package/dist/NotificationServicesController/mocks/mock-feature-announcements.d.ts.map +0 -1
- package/dist/NotificationServicesController/mocks/mock-feature-announcements.js.map +0 -1
- package/dist/NotificationServicesController/mocks/mock-raw-notifications.d.ts.map +0 -1
- package/dist/NotificationServicesController/mocks/mock-raw-notifications.js.map +0 -1
- package/dist/NotificationServicesController/mocks/mock-snap-notification.d.ts.map +0 -1
- package/dist/NotificationServicesController/mocks/mock-snap-notification.js.map +0 -1
- package/dist/NotificationServicesController/mocks/mockResponses.d.ts.map +0 -1
- package/dist/NotificationServicesController/mocks/mockResponses.js.map +0 -1
- package/dist/NotificationServicesController/processors/index.d.ts +0 -4
- package/dist/NotificationServicesController/processors/index.d.ts.map +0 -1
- package/dist/NotificationServicesController/processors/index.js +0 -4
- package/dist/NotificationServicesController/processors/index.js.map +0 -1
- package/dist/NotificationServicesController/processors/process-api-notifications.d.ts.map +0 -1
- package/dist/NotificationServicesController/processors/process-api-notifications.js.map +0 -1
- package/dist/NotificationServicesController/processors/process-feature-announcement.d.ts.map +0 -1
- package/dist/NotificationServicesController/processors/process-feature-announcement.js.map +0 -1
- package/dist/NotificationServicesController/processors/process-notifications.d.ts.map +0 -1
- package/dist/NotificationServicesController/processors/process-notifications.js.map +0 -1
- package/dist/NotificationServicesController/processors/process-snap-notifications.d.ts.map +0 -1
- package/dist/NotificationServicesController/processors/process-snap-notifications.js.map +0 -1
- package/dist/NotificationServicesController/services/api-notifications.d.ts.map +0 -1
- package/dist/NotificationServicesController/services/api-notifications.js.map +0 -1
- package/dist/NotificationServicesController/services/feature-announcements.d.ts.map +0 -1
- package/dist/NotificationServicesController/services/feature-announcements.js.map +0 -1
- package/dist/NotificationServicesController/services/notification-config-cache.d.ts.map +0 -1
- package/dist/NotificationServicesController/services/notification-config-cache.js.map +0 -1
- package/dist/NotificationServicesController/services/perp-notifications.d.ts.map +0 -1
- package/dist/NotificationServicesController/services/perp-notifications.js.map +0 -1
- package/dist/NotificationServicesController/types/feature-announcement/feature-announcement.d.ts.map +0 -1
- package/dist/NotificationServicesController/types/feature-announcement/feature-announcement.js +0 -2
- package/dist/NotificationServicesController/types/feature-announcement/feature-announcement.js.map +0 -1
- package/dist/NotificationServicesController/types/feature-announcement/index.d.ts +0 -4
- package/dist/NotificationServicesController/types/feature-announcement/index.d.ts.map +0 -1
- package/dist/NotificationServicesController/types/feature-announcement/index.js +0 -2
- package/dist/NotificationServicesController/types/feature-announcement/index.js.map +0 -1
- package/dist/NotificationServicesController/types/feature-announcement/type-feature-announcement.d.ts.map +0 -1
- package/dist/NotificationServicesController/types/feature-announcement/type-feature-announcement.js +0 -2
- package/dist/NotificationServicesController/types/feature-announcement/type-feature-announcement.js.map +0 -1
- package/dist/NotificationServicesController/types/feature-announcement/type-links.d.ts.map +0 -1
- package/dist/NotificationServicesController/types/feature-announcement/type-links.js +0 -2
- package/dist/NotificationServicesController/types/feature-announcement/type-links.js.map +0 -1
- package/dist/NotificationServicesController/types/index.d.ts +0 -6
- package/dist/NotificationServicesController/types/index.d.ts.map +0 -1
- package/dist/NotificationServicesController/types/index.js +0 -2
- package/dist/NotificationServicesController/types/index.js.map +0 -1
- package/dist/NotificationServicesController/types/notification/index.d.ts +0 -2
- package/dist/NotificationServicesController/types/notification/index.d.ts.map +0 -1
- package/dist/NotificationServicesController/types/notification/index.js +0 -2
- package/dist/NotificationServicesController/types/notification/index.js.map +0 -1
- package/dist/NotificationServicesController/types/notification/notification.d.ts.map +0 -1
- package/dist/NotificationServicesController/types/notification/notification.js +0 -2
- package/dist/NotificationServicesController/types/notification/notification.js.map +0 -1
- package/dist/NotificationServicesController/types/notification-api/index.d.ts +0 -3
- package/dist/NotificationServicesController/types/notification-api/index.d.ts.map +0 -1
- package/dist/NotificationServicesController/types/notification-api/index.js +0 -2
- package/dist/NotificationServicesController/types/notification-api/index.js.map +0 -1
- package/dist/NotificationServicesController/types/notification-api/notification-api.d.ts.map +0 -1
- package/dist/NotificationServicesController/types/notification-api/notification-api.js +0 -2
- package/dist/NotificationServicesController/types/notification-api/notification-api.js.map +0 -1
- package/dist/NotificationServicesController/types/notification-api/schema.d.ts.map +0 -1
- package/dist/NotificationServicesController/types/notification-api/schema.js.map +0 -1
- package/dist/NotificationServicesController/types/perps/index.d.ts +0 -2
- package/dist/NotificationServicesController/types/perps/index.d.ts.map +0 -1
- package/dist/NotificationServicesController/types/perps/index.js +0 -2
- package/dist/NotificationServicesController/types/perps/index.js.map +0 -1
- package/dist/NotificationServicesController/types/perps/perp-types.d.ts +0 -3
- package/dist/NotificationServicesController/types/perps/perp-types.d.ts.map +0 -1
- package/dist/NotificationServicesController/types/perps/perp-types.js +0 -2
- package/dist/NotificationServicesController/types/perps/perp-types.js.map +0 -1
- package/dist/NotificationServicesController/types/perps/schema.d.ts.map +0 -1
- package/dist/NotificationServicesController/types/perps/schema.js.map +0 -1
- package/dist/NotificationServicesController/types/snaps/index.d.ts +0 -2
- package/dist/NotificationServicesController/types/snaps/index.d.ts.map +0 -1
- package/dist/NotificationServicesController/types/snaps/index.js +0 -2
- package/dist/NotificationServicesController/types/snaps/index.js.map +0 -1
- package/dist/NotificationServicesController/types/snaps/snaps.d.ts.map +0 -1
- package/dist/NotificationServicesController/types/snaps/snaps.js +0 -2
- package/dist/NotificationServicesController/types/snaps/snaps.js.map +0 -1
- package/dist/NotificationServicesController/types/type-utils.d.ts.map +0 -1
- package/dist/NotificationServicesController/types/type-utils.js +0 -2
- package/dist/NotificationServicesController/types/type-utils.js.map +0 -1
- package/dist/NotificationServicesController/utils/get-notification-subtype.d.ts.map +0 -1
- package/dist/NotificationServicesController/utils/get-notification-subtype.js.map +0 -1
- package/dist/NotificationServicesController/utils/isVersionInBounds.d.ts.map +0 -1
- package/dist/NotificationServicesController/utils/isVersionInBounds.js.map +0 -1
- package/dist/NotificationServicesController/utils/should-auto-expire.d.ts.map +0 -1
- package/dist/NotificationServicesController/utils/should-auto-expire.js.map +0 -1
- package/dist/NotificationServicesController/utils/utils.d.ts.map +0 -1
- package/dist/NotificationServicesController/utils/utils.js.map +0 -1
- package/dist/NotificationServicesPushController/NotificationServicesPushController-method-action-types.d.ts.map +0 -1
- package/dist/NotificationServicesPushController/NotificationServicesPushController-method-action-types.js.map +0 -1
- package/dist/NotificationServicesPushController/NotificationServicesPushController.d.ts.map +0 -1
- package/dist/NotificationServicesPushController/NotificationServicesPushController.js.map +0 -1
- package/dist/NotificationServicesPushController/index.d.ts.map +0 -1
- package/dist/NotificationServicesPushController/index.js +0 -8
- package/dist/NotificationServicesPushController/index.js.map +0 -1
- package/dist/NotificationServicesPushController/mocks/index.d.ts +0 -2
- package/dist/NotificationServicesPushController/mocks/index.d.ts.map +0 -1
- package/dist/NotificationServicesPushController/mocks/index.js +0 -2
- package/dist/NotificationServicesPushController/mocks/index.js.map +0 -1
- package/dist/NotificationServicesPushController/mocks/mockResponse.d.ts.map +0 -1
- package/dist/NotificationServicesPushController/mocks/mockResponse.js.map +0 -1
- package/dist/NotificationServicesPushController/services/endpoints.d.ts.map +0 -1
- package/dist/NotificationServicesPushController/services/endpoints.js.map +0 -1
- package/dist/NotificationServicesPushController/services/services.d.ts.map +0 -1
- package/dist/NotificationServicesPushController/services/services.js.map +0 -1
- package/dist/NotificationServicesPushController/types/firebase.d.ts.map +0 -1
- package/dist/NotificationServicesPushController/types/firebase.js +0 -2
- package/dist/NotificationServicesPushController/types/firebase.js.map +0 -1
- package/dist/NotificationServicesPushController/types/index.d.ts +0 -4
- package/dist/NotificationServicesPushController/types/index.d.ts.map +0 -1
- package/dist/NotificationServicesPushController/types/index.js +0 -2
- package/dist/NotificationServicesPushController/types/index.js.map +0 -1
- package/dist/NotificationServicesPushController/types/push-analytics.d.ts.map +0 -1
- package/dist/NotificationServicesPushController/types/push-analytics.js.map +0 -1
- package/dist/NotificationServicesPushController/types/push-service-interface.d.ts.map +0 -1
- package/dist/NotificationServicesPushController/types/push-service-interface.js +0 -2
- package/dist/NotificationServicesPushController/types/push-service-interface.js.map +0 -1
- package/dist/NotificationServicesPushController/utils/get-notification-data.d.ts.map +0 -1
- package/dist/NotificationServicesPushController/utils/get-notification-data.js.map +0 -1
- package/dist/NotificationServicesPushController/utils/get-notification-message.d.ts.map +0 -1
- package/dist/NotificationServicesPushController/utils/get-notification-message.js.map +0 -1
- package/dist/NotificationServicesPushController/utils/index.d.ts +0 -4
- package/dist/NotificationServicesPushController/utils/index.d.ts.map +0 -1
- package/dist/NotificationServicesPushController/utils/index.js +0 -4
- package/dist/NotificationServicesPushController/utils/index.js.map +0 -1
- package/dist/NotificationServicesPushController/utils/to-push-analytics-payload.d.ts.map +0 -1
- package/dist/NotificationServicesPushController/utils/to-push-analytics-payload.js.map +0 -1
- package/dist/NotificationServicesPushController/web/index.d.ts +0 -2
- package/dist/NotificationServicesPushController/web/index.d.ts.map +0 -1
- package/dist/NotificationServicesPushController/web/index.js +0 -2
- package/dist/NotificationServicesPushController/web/index.js.map +0 -1
- package/dist/NotificationServicesPushController/web/push-utils.d.ts.map +0 -1
- package/dist/NotificationServicesPushController/web/push-utils.js.map +0 -1
- package/dist/index.d.ts +0 -4
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -4
- package/dist/index.js.map +0 -1
- package/dist/shared/index.d.ts +0 -4
- package/dist/shared/index.d.ts.map +0 -1
- package/dist/shared/index.js +0 -4
- package/dist/shared/index.js.map +0 -1
- package/dist/shared/is-onchain-notification.d.ts.map +0 -1
- package/dist/shared/is-onchain-notification.js.map +0 -1
- package/dist/shared/notification-api-type-guards.d.ts.map +0 -1
- package/dist/shared/notification-api-type-guards.js.map +0 -1
- package/dist/shared/to-raw-notification.d.ts.map +0 -1
- package/dist/shared/to-raw-notification.js.map +0 -1
|
@@ -0,0 +1,752 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
* Script: `npx openapi-typescript <PATH_TO_API_SPEC> -o ./schema.ts`
|
|
5
|
+
*/
|
|
6
|
+
export type paths = {
|
|
7
|
+
'/api/v4/notifications': {
|
|
8
|
+
parameters: {
|
|
9
|
+
query?: never;
|
|
10
|
+
header?: never;
|
|
11
|
+
path?: never;
|
|
12
|
+
cookie?: never;
|
|
13
|
+
};
|
|
14
|
+
get?: never;
|
|
15
|
+
put?: never;
|
|
16
|
+
/**
|
|
17
|
+
* List both platform and on-chain notifications for a certain user/address(es)
|
|
18
|
+
* @description Same behaviour as /api/v3/notifications, but the returned notification_type and notification_subtype are taken directly from the producer-set database fields: platform notifications expose platform_notifications.notification_type / notification_subtype, while on-chain notifications expose the constant "wallet_activity" as notification_type and notifications_part.kind as notification_subtype. Clients should distinguish the two shapes structurally (presence of "payload" for on-chain vs "template" for platform).
|
|
19
|
+
*/
|
|
20
|
+
post: {
|
|
21
|
+
parameters: {
|
|
22
|
+
query?: never;
|
|
23
|
+
header?: never;
|
|
24
|
+
path?: never;
|
|
25
|
+
cookie?: never;
|
|
26
|
+
};
|
|
27
|
+
requestBody: {
|
|
28
|
+
content: {
|
|
29
|
+
'application/json': components['schemas']['NotificationInputV3'];
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
responses: {
|
|
33
|
+
/** @description Notifications listed successfully */
|
|
34
|
+
200: {
|
|
35
|
+
headers: {
|
|
36
|
+
[name: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
content: {
|
|
39
|
+
'application/json': components['schemas']['NotificationOutputV4'];
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
/** @description Bad request */
|
|
43
|
+
400: {
|
|
44
|
+
headers: {
|
|
45
|
+
[name: string]: unknown;
|
|
46
|
+
};
|
|
47
|
+
content?: never;
|
|
48
|
+
};
|
|
49
|
+
/** @description Internal server error */
|
|
50
|
+
500: {
|
|
51
|
+
headers: {
|
|
52
|
+
[name: string]: unknown;
|
|
53
|
+
};
|
|
54
|
+
content?: never;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
delete?: never;
|
|
59
|
+
options?: never;
|
|
60
|
+
head?: never;
|
|
61
|
+
patch?: never;
|
|
62
|
+
trace?: never;
|
|
63
|
+
};
|
|
64
|
+
'/api/v4/notifications/mark-as-read': {
|
|
65
|
+
parameters: {
|
|
66
|
+
query?: never;
|
|
67
|
+
header?: never;
|
|
68
|
+
path?: never;
|
|
69
|
+
cookie?: never;
|
|
70
|
+
};
|
|
71
|
+
get?: never;
|
|
72
|
+
put?: never;
|
|
73
|
+
/** Mark notifications as read */
|
|
74
|
+
post: {
|
|
75
|
+
parameters: {
|
|
76
|
+
query?: never;
|
|
77
|
+
header?: never;
|
|
78
|
+
path?: never;
|
|
79
|
+
cookie?: never;
|
|
80
|
+
};
|
|
81
|
+
requestBody: {
|
|
82
|
+
content: {
|
|
83
|
+
'application/json': {
|
|
84
|
+
ids?: string[];
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
responses: {
|
|
89
|
+
/** @description Successfully marked notifications as read */
|
|
90
|
+
200: {
|
|
91
|
+
headers: {
|
|
92
|
+
[name: string]: unknown;
|
|
93
|
+
};
|
|
94
|
+
content?: never;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
delete?: never;
|
|
99
|
+
options?: never;
|
|
100
|
+
head?: never;
|
|
101
|
+
patch?: never;
|
|
102
|
+
trace?: never;
|
|
103
|
+
};
|
|
104
|
+
'/api/v3/notifications': {
|
|
105
|
+
parameters: {
|
|
106
|
+
query?: never;
|
|
107
|
+
header?: never;
|
|
108
|
+
path?: never;
|
|
109
|
+
cookie?: never;
|
|
110
|
+
};
|
|
111
|
+
get?: never;
|
|
112
|
+
put?: never;
|
|
113
|
+
/** List both platform and on-chain notifications for a certain user/address(es) */
|
|
114
|
+
post: {
|
|
115
|
+
parameters: {
|
|
116
|
+
query?: never;
|
|
117
|
+
header?: never;
|
|
118
|
+
path?: never;
|
|
119
|
+
cookie?: never;
|
|
120
|
+
};
|
|
121
|
+
requestBody: {
|
|
122
|
+
content: {
|
|
123
|
+
'application/json': components['schemas']['NotificationInputV3'];
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
responses: {
|
|
127
|
+
/** @description Notifications listed successfully */
|
|
128
|
+
200: {
|
|
129
|
+
headers: {
|
|
130
|
+
[name: string]: unknown;
|
|
131
|
+
};
|
|
132
|
+
content: {
|
|
133
|
+
'application/json': components['schemas']['NotificationOutputV3'];
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
/** @description Bad request */
|
|
137
|
+
400: {
|
|
138
|
+
headers: {
|
|
139
|
+
[name: string]: unknown;
|
|
140
|
+
};
|
|
141
|
+
content?: never;
|
|
142
|
+
};
|
|
143
|
+
/** @description Internal server error */
|
|
144
|
+
500: {
|
|
145
|
+
headers: {
|
|
146
|
+
[name: string]: unknown;
|
|
147
|
+
};
|
|
148
|
+
content?: never;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
delete?: never;
|
|
153
|
+
options?: never;
|
|
154
|
+
head?: never;
|
|
155
|
+
patch?: never;
|
|
156
|
+
trace?: never;
|
|
157
|
+
};
|
|
158
|
+
'/api/v3/notifications/mark-as-read': {
|
|
159
|
+
parameters: {
|
|
160
|
+
query?: never;
|
|
161
|
+
header?: never;
|
|
162
|
+
path?: never;
|
|
163
|
+
cookie?: never;
|
|
164
|
+
};
|
|
165
|
+
get?: never;
|
|
166
|
+
put?: never;
|
|
167
|
+
/** Mark notifications as read */
|
|
168
|
+
post: {
|
|
169
|
+
parameters: {
|
|
170
|
+
query?: never;
|
|
171
|
+
header?: never;
|
|
172
|
+
path?: never;
|
|
173
|
+
cookie?: never;
|
|
174
|
+
};
|
|
175
|
+
requestBody: {
|
|
176
|
+
content: {
|
|
177
|
+
'application/json': {
|
|
178
|
+
ids?: string[];
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
responses: {
|
|
183
|
+
/** @description Successfully marked notifications as read */
|
|
184
|
+
200: {
|
|
185
|
+
headers: {
|
|
186
|
+
[name: string]: unknown;
|
|
187
|
+
};
|
|
188
|
+
content?: never;
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
delete?: never;
|
|
193
|
+
options?: never;
|
|
194
|
+
head?: never;
|
|
195
|
+
patch?: never;
|
|
196
|
+
trace?: never;
|
|
197
|
+
};
|
|
198
|
+
'/api/v2/notifications': {
|
|
199
|
+
parameters: {
|
|
200
|
+
query?: never;
|
|
201
|
+
header?: never;
|
|
202
|
+
path?: never;
|
|
203
|
+
cookie?: never;
|
|
204
|
+
};
|
|
205
|
+
get?: never;
|
|
206
|
+
put?: never;
|
|
207
|
+
/** List all notifications for a certain user/address(es) */
|
|
208
|
+
post: {
|
|
209
|
+
parameters: {
|
|
210
|
+
query?: never;
|
|
211
|
+
header?: never;
|
|
212
|
+
path?: never;
|
|
213
|
+
cookie?: never;
|
|
214
|
+
};
|
|
215
|
+
requestBody: {
|
|
216
|
+
content: {
|
|
217
|
+
'application/json': components['schemas']['NotificationInput'][];
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
responses: {
|
|
221
|
+
/** @description Notifications listed successfully */
|
|
222
|
+
200: {
|
|
223
|
+
headers: {
|
|
224
|
+
[name: string]: unknown;
|
|
225
|
+
};
|
|
226
|
+
content: {
|
|
227
|
+
'application/json': components['schemas']['WalletNotification'][];
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
/** @description Bad request */
|
|
231
|
+
400: {
|
|
232
|
+
headers: {
|
|
233
|
+
[name: string]: unknown;
|
|
234
|
+
};
|
|
235
|
+
content?: never;
|
|
236
|
+
};
|
|
237
|
+
/** @description Internal server error */
|
|
238
|
+
500: {
|
|
239
|
+
headers: {
|
|
240
|
+
[name: string]: unknown;
|
|
241
|
+
};
|
|
242
|
+
content?: never;
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
delete?: never;
|
|
247
|
+
options?: never;
|
|
248
|
+
head?: never;
|
|
249
|
+
patch?: never;
|
|
250
|
+
trace?: never;
|
|
251
|
+
};
|
|
252
|
+
'/api/v2/notifications/mark-as-read': {
|
|
253
|
+
parameters: {
|
|
254
|
+
query?: never;
|
|
255
|
+
header?: never;
|
|
256
|
+
path?: never;
|
|
257
|
+
cookie?: never;
|
|
258
|
+
};
|
|
259
|
+
get?: never;
|
|
260
|
+
put?: never;
|
|
261
|
+
/** Mark notifications as read */
|
|
262
|
+
post: {
|
|
263
|
+
parameters: {
|
|
264
|
+
query?: never;
|
|
265
|
+
header?: never;
|
|
266
|
+
path?: never;
|
|
267
|
+
cookie?: never;
|
|
268
|
+
};
|
|
269
|
+
requestBody: {
|
|
270
|
+
content: {
|
|
271
|
+
'application/json': {
|
|
272
|
+
ids?: string[];
|
|
273
|
+
};
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
responses: {
|
|
277
|
+
/** @description Successfully marked notifications as read */
|
|
278
|
+
200: {
|
|
279
|
+
headers: {
|
|
280
|
+
[name: string]: unknown;
|
|
281
|
+
};
|
|
282
|
+
content?: never;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
delete?: never;
|
|
287
|
+
options?: never;
|
|
288
|
+
head?: never;
|
|
289
|
+
patch?: never;
|
|
290
|
+
trace?: never;
|
|
291
|
+
};
|
|
292
|
+
'/api/v1/notifications': {
|
|
293
|
+
parameters: {
|
|
294
|
+
query?: never;
|
|
295
|
+
header?: never;
|
|
296
|
+
path?: never;
|
|
297
|
+
cookie?: never;
|
|
298
|
+
};
|
|
299
|
+
get?: never;
|
|
300
|
+
put?: never;
|
|
301
|
+
/** List all notifications ordered by most recent */
|
|
302
|
+
post: {
|
|
303
|
+
parameters: {
|
|
304
|
+
query?: {
|
|
305
|
+
/** @description Page number for pagination */
|
|
306
|
+
page?: number;
|
|
307
|
+
/** @description Number of notifications per page for pagination */
|
|
308
|
+
per_page?: number;
|
|
309
|
+
};
|
|
310
|
+
header?: never;
|
|
311
|
+
path?: never;
|
|
312
|
+
cookie?: never;
|
|
313
|
+
};
|
|
314
|
+
requestBody?: {
|
|
315
|
+
content: {
|
|
316
|
+
'application/json': {
|
|
317
|
+
trigger_ids: string[];
|
|
318
|
+
chain_ids?: number[];
|
|
319
|
+
kinds?: string[];
|
|
320
|
+
unread?: boolean;
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
responses: {
|
|
325
|
+
/** @description Successfully fetched a list of notifications */
|
|
326
|
+
200: {
|
|
327
|
+
headers: {
|
|
328
|
+
[name: string]: unknown;
|
|
329
|
+
};
|
|
330
|
+
content: {
|
|
331
|
+
'application/json': components['schemas']['WalletNotification'][];
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
delete?: never;
|
|
337
|
+
options?: never;
|
|
338
|
+
head?: never;
|
|
339
|
+
patch?: never;
|
|
340
|
+
trace?: never;
|
|
341
|
+
};
|
|
342
|
+
'/api/v1/notifications/mark-as-read': {
|
|
343
|
+
parameters: {
|
|
344
|
+
query?: never;
|
|
345
|
+
header?: never;
|
|
346
|
+
path?: never;
|
|
347
|
+
cookie?: never;
|
|
348
|
+
};
|
|
349
|
+
get?: never;
|
|
350
|
+
put?: never;
|
|
351
|
+
/** Mark notifications as read */
|
|
352
|
+
post: {
|
|
353
|
+
parameters: {
|
|
354
|
+
query?: never;
|
|
355
|
+
header?: never;
|
|
356
|
+
path?: never;
|
|
357
|
+
cookie?: never;
|
|
358
|
+
};
|
|
359
|
+
requestBody: {
|
|
360
|
+
content: {
|
|
361
|
+
'application/json': {
|
|
362
|
+
ids?: string[];
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
responses: {
|
|
367
|
+
/** @description Successfully marked notifications as read */
|
|
368
|
+
200: {
|
|
369
|
+
headers: {
|
|
370
|
+
[name: string]: unknown;
|
|
371
|
+
};
|
|
372
|
+
content?: never;
|
|
373
|
+
};
|
|
374
|
+
};
|
|
375
|
+
};
|
|
376
|
+
delete?: never;
|
|
377
|
+
options?: never;
|
|
378
|
+
head?: never;
|
|
379
|
+
patch?: never;
|
|
380
|
+
trace?: never;
|
|
381
|
+
};
|
|
382
|
+
};
|
|
383
|
+
export type webhooks = Record<string, never>;
|
|
384
|
+
export type components = {
|
|
385
|
+
schemas: {
|
|
386
|
+
/**
|
|
387
|
+
* @example mobile
|
|
388
|
+
* @enum {string}
|
|
389
|
+
*/
|
|
390
|
+
AppPlatform: 'portfolio' | 'extension' | 'mobile';
|
|
391
|
+
NotificationInputV3: {
|
|
392
|
+
/** @example en-US */
|
|
393
|
+
locale: string;
|
|
394
|
+
platform: components['schemas']['AppPlatform'];
|
|
395
|
+
addresses: string[];
|
|
396
|
+
};
|
|
397
|
+
NotificationOutputV3: (components['schemas']['PlatformNotification'] | components['schemas']['OnChainNotification'])[];
|
|
398
|
+
PlatformNotification: {
|
|
399
|
+
/**
|
|
400
|
+
* Format: uuid
|
|
401
|
+
* @example 3fa85f64-5717-4562-b3fc-2c963f66afa6
|
|
402
|
+
*/
|
|
403
|
+
id: string;
|
|
404
|
+
/** @enum {string} */
|
|
405
|
+
notification_type: 'platform';
|
|
406
|
+
/** @example position_liquidated */
|
|
407
|
+
notification_subtype: string;
|
|
408
|
+
/** @example false */
|
|
409
|
+
unread: boolean;
|
|
410
|
+
template: components['schemas']['LocalizedNotification'];
|
|
411
|
+
/**
|
|
412
|
+
* Format: date-time
|
|
413
|
+
* @example 2025-10-09T09:45:34.202Z
|
|
414
|
+
*/
|
|
415
|
+
created_at: string;
|
|
416
|
+
};
|
|
417
|
+
LocalizedNotification: {
|
|
418
|
+
image_url: string;
|
|
419
|
+
cta?: components['schemas']['LocalizedNotificationCTA'];
|
|
420
|
+
title: string;
|
|
421
|
+
body: string;
|
|
422
|
+
};
|
|
423
|
+
LocalizedNotificationCTA: {
|
|
424
|
+
content: string;
|
|
425
|
+
link: string;
|
|
426
|
+
};
|
|
427
|
+
OnChainNotification: {
|
|
428
|
+
/**
|
|
429
|
+
* Format: uuid
|
|
430
|
+
* @example 3fa85f64-5717-4562-b3fc-2c963f66afa6
|
|
431
|
+
*/
|
|
432
|
+
id: string;
|
|
433
|
+
/** @enum {string} */
|
|
434
|
+
notification_type: 'on-chain';
|
|
435
|
+
/** @example false */
|
|
436
|
+
unread: boolean;
|
|
437
|
+
/**
|
|
438
|
+
* Format: date-time
|
|
439
|
+
* @example 2025-10-09T09:45:34.202Z
|
|
440
|
+
*/
|
|
441
|
+
created_at: string;
|
|
442
|
+
payload: components['schemas']['OnChainPayload'];
|
|
443
|
+
};
|
|
444
|
+
OnChainPayload: {
|
|
445
|
+
/** @example 1 */
|
|
446
|
+
chain_id: number;
|
|
447
|
+
/** @example 17485840 */
|
|
448
|
+
block_number: number;
|
|
449
|
+
block_timestamp: string;
|
|
450
|
+
/** @example 0x881D40237659C251811CEC9c364ef91dC08D300C */
|
|
451
|
+
tx_hash: string;
|
|
452
|
+
address: string;
|
|
453
|
+
network: components['schemas']['NetworkMetadata'];
|
|
454
|
+
data?: components['schemas']['Data_MetamaskSwapCompleted'] | components['schemas']['Data_LidoStakeReadyToBeWithdrawn'] | components['schemas']['Data_LidoStakeCompleted'] | components['schemas']['Data_LidoWithdrawalRequested'] | components['schemas']['Data_LidoWithdrawalCompleted'] | components['schemas']['Data_RocketPoolStakeCompleted'] | components['schemas']['Data_RocketPoolUnstakeCompleted'] | components['schemas']['Data_ETHSent'] | components['schemas']['Data_ETHReceived'] | components['schemas']['Data_ERC20Sent'] | components['schemas']['Data_ERC20Received'] | components['schemas']['Data_ERC721Sent'] | components['schemas']['Data_ERC721Received'] | components['schemas']['Data_ERC1155Sent'] | components['schemas']['Data_ERC1155Received'];
|
|
455
|
+
};
|
|
456
|
+
/** @description A heterogeneous list of platform and on-chain notifications. The two shapes are discriminated by `notification_type`: a value of "wallet_activity" identifies an OnChainNotificationV4, any other value identifies a PlatformNotificationV4. "wallet_activity" is a reserved value and MUST NOT be used as a producer-set platform notification_type. (This cannot be modelled as a formal OpenAPI discriminator because the platform notification_type set is open-ended.) */
|
|
457
|
+
NotificationOutputV4: (components['schemas']['PlatformNotificationV4'] | components['schemas']['OnChainNotificationV4'])[];
|
|
458
|
+
PlatformNotificationV4: {
|
|
459
|
+
/**
|
|
460
|
+
* Format: uuid
|
|
461
|
+
* @example 3fa85f64-5717-4562-b3fc-2c963f66afa6
|
|
462
|
+
*/
|
|
463
|
+
id: string;
|
|
464
|
+
/**
|
|
465
|
+
* @description Producer-set platform_notifications.notification_type value.
|
|
466
|
+
* @example perps
|
|
467
|
+
*/
|
|
468
|
+
notification_type: string;
|
|
469
|
+
/**
|
|
470
|
+
* @description Producer-set platform_notifications.notification_subtype value.
|
|
471
|
+
* @example position_liquidated
|
|
472
|
+
*/
|
|
473
|
+
notification_subtype: string;
|
|
474
|
+
/** @example false */
|
|
475
|
+
unread: boolean;
|
|
476
|
+
template: components['schemas']['LocalizedNotification'];
|
|
477
|
+
/**
|
|
478
|
+
* Format: date-time
|
|
479
|
+
* @example 2025-10-09T09:45:34.202Z
|
|
480
|
+
*/
|
|
481
|
+
created_at: string;
|
|
482
|
+
};
|
|
483
|
+
OnChainNotificationV4: {
|
|
484
|
+
/**
|
|
485
|
+
* Format: uuid
|
|
486
|
+
* @example 3fa85f64-5717-4562-b3fc-2c963f66afa6
|
|
487
|
+
*/
|
|
488
|
+
id: string;
|
|
489
|
+
/** @enum {string} */
|
|
490
|
+
notification_type: 'wallet_activity';
|
|
491
|
+
/**
|
|
492
|
+
* @description notifications_part.kind value.
|
|
493
|
+
* @example metamask_swap_completed
|
|
494
|
+
*/
|
|
495
|
+
notification_subtype: string;
|
|
496
|
+
/** @example false */
|
|
497
|
+
unread: boolean;
|
|
498
|
+
/**
|
|
499
|
+
* Format: date-time
|
|
500
|
+
* @example 2025-10-09T09:45:34.202Z
|
|
501
|
+
*/
|
|
502
|
+
created_at: string;
|
|
503
|
+
payload: components['schemas']['OnChainPayload'];
|
|
504
|
+
};
|
|
505
|
+
NotificationInput: {
|
|
506
|
+
/** Format: address */
|
|
507
|
+
address: string;
|
|
508
|
+
};
|
|
509
|
+
WalletNotification: {
|
|
510
|
+
/** Format: uuid */
|
|
511
|
+
id: string;
|
|
512
|
+
/** Format: uuid */
|
|
513
|
+
trigger_id: string;
|
|
514
|
+
/** @example 1 */
|
|
515
|
+
chain_id: number;
|
|
516
|
+
/** @example 17485840 */
|
|
517
|
+
block_number: number;
|
|
518
|
+
block_timestamp: string;
|
|
519
|
+
/**
|
|
520
|
+
* Format: address
|
|
521
|
+
* @example 0x881D40237659C251811CEC9c364ef91dC08D300C
|
|
522
|
+
*/
|
|
523
|
+
tx_hash: string;
|
|
524
|
+
/** @example false */
|
|
525
|
+
unread: boolean;
|
|
526
|
+
/** Format: date-time */
|
|
527
|
+
created_at: string;
|
|
528
|
+
/** Format: address */
|
|
529
|
+
address: string;
|
|
530
|
+
data?: components['schemas']['Data_MetamaskSwapCompleted'] | components['schemas']['Data_LidoStakeReadyToBeWithdrawn'] | components['schemas']['Data_LidoStakeCompleted'] | components['schemas']['Data_LidoWithdrawalRequested'] | components['schemas']['Data_LidoWithdrawalCompleted'] | components['schemas']['Data_RocketPoolStakeCompleted'] | components['schemas']['Data_RocketPoolUnstakeCompleted'] | components['schemas']['Data_ETHSent'] | components['schemas']['Data_ETHReceived'] | components['schemas']['Data_ERC20Sent'] | components['schemas']['Data_ERC20Received'] | components['schemas']['Data_ERC721Sent'] | components['schemas']['Data_ERC721Received'] | components['schemas']['Data_ERC1155Sent'] | components['schemas']['Data_ERC1155Received'];
|
|
531
|
+
};
|
|
532
|
+
Data_MetamaskSwapCompleted: {
|
|
533
|
+
/** @enum {string} */
|
|
534
|
+
kind: 'metamask_swap_completed';
|
|
535
|
+
network_fee: components['schemas']['NetworkFee'];
|
|
536
|
+
/** Format: decimal */
|
|
537
|
+
rate: string;
|
|
538
|
+
token_in: components['schemas']['Token'];
|
|
539
|
+
token_out: components['schemas']['Token'];
|
|
540
|
+
};
|
|
541
|
+
Data_LidoStakeCompleted: {
|
|
542
|
+
/** @enum {string} */
|
|
543
|
+
kind: 'lido_stake_completed';
|
|
544
|
+
network_fee: components['schemas']['NetworkFee'];
|
|
545
|
+
stake_in: components['schemas']['Stake'];
|
|
546
|
+
stake_out: components['schemas']['Stake'];
|
|
547
|
+
};
|
|
548
|
+
Data_LidoWithdrawalRequested: {
|
|
549
|
+
/** @enum {string} */
|
|
550
|
+
kind: 'lido_withdrawal_requested';
|
|
551
|
+
network_fee: components['schemas']['NetworkFee'];
|
|
552
|
+
stake_in: components['schemas']['Stake'];
|
|
553
|
+
stake_out: components['schemas']['Stake'];
|
|
554
|
+
};
|
|
555
|
+
Data_LidoStakeReadyToBeWithdrawn: {
|
|
556
|
+
/** @enum {string} */
|
|
557
|
+
kind: 'lido_stake_ready_to_be_withdrawn';
|
|
558
|
+
/** Format: decimal */
|
|
559
|
+
request_id: string;
|
|
560
|
+
staked_eth: components['schemas']['Stake'];
|
|
561
|
+
};
|
|
562
|
+
Data_LidoWithdrawalCompleted: {
|
|
563
|
+
/** @enum {string} */
|
|
564
|
+
kind: 'lido_withdrawal_completed';
|
|
565
|
+
network_fee: components['schemas']['NetworkFee'];
|
|
566
|
+
stake_in: components['schemas']['Stake'];
|
|
567
|
+
stake_out: components['schemas']['Stake'];
|
|
568
|
+
};
|
|
569
|
+
Data_RocketPoolStakeCompleted: {
|
|
570
|
+
/** @enum {string} */
|
|
571
|
+
kind: 'rocketpool_stake_completed';
|
|
572
|
+
network_fee: components['schemas']['NetworkFee'];
|
|
573
|
+
stake_in: components['schemas']['Stake'];
|
|
574
|
+
stake_out: components['schemas']['Stake'];
|
|
575
|
+
};
|
|
576
|
+
Data_RocketPoolUnstakeCompleted: {
|
|
577
|
+
/** @enum {string} */
|
|
578
|
+
kind: 'rocketpool_unstake_completed';
|
|
579
|
+
network_fee: components['schemas']['NetworkFee'];
|
|
580
|
+
stake_in: components['schemas']['Stake'];
|
|
581
|
+
stake_out: components['schemas']['Stake'];
|
|
582
|
+
};
|
|
583
|
+
Data_ETHSent: {
|
|
584
|
+
/** @enum {string} */
|
|
585
|
+
kind: 'eth_sent';
|
|
586
|
+
network_fee: components['schemas']['NetworkFee'];
|
|
587
|
+
/** Format: address */
|
|
588
|
+
from: string;
|
|
589
|
+
/** Format: address */
|
|
590
|
+
to: string;
|
|
591
|
+
amount: {
|
|
592
|
+
/** Format: decimal */
|
|
593
|
+
usd: string;
|
|
594
|
+
/** Format: decimal */
|
|
595
|
+
eth: string;
|
|
596
|
+
};
|
|
597
|
+
};
|
|
598
|
+
Data_ETHReceived: {
|
|
599
|
+
/** @enum {string} */
|
|
600
|
+
kind: 'eth_received';
|
|
601
|
+
network_fee: components['schemas']['NetworkFee'];
|
|
602
|
+
/** Format: address */
|
|
603
|
+
from: string;
|
|
604
|
+
/** Format: address */
|
|
605
|
+
to: string;
|
|
606
|
+
amount: {
|
|
607
|
+
/** Format: decimal */
|
|
608
|
+
usd: string;
|
|
609
|
+
/** Format: decimal */
|
|
610
|
+
eth: string;
|
|
611
|
+
};
|
|
612
|
+
};
|
|
613
|
+
Data_ERC20Sent: {
|
|
614
|
+
/** @enum {string} */
|
|
615
|
+
kind: 'erc20_sent';
|
|
616
|
+
network_fee: components['schemas']['NetworkFee'];
|
|
617
|
+
/** Format: address */
|
|
618
|
+
from: string;
|
|
619
|
+
/** Format: address */
|
|
620
|
+
to: string;
|
|
621
|
+
token: components['schemas']['Token'];
|
|
622
|
+
};
|
|
623
|
+
Data_ERC20Received: {
|
|
624
|
+
/** @enum {string} */
|
|
625
|
+
kind: 'erc20_received';
|
|
626
|
+
network_fee: components['schemas']['NetworkFee'];
|
|
627
|
+
/** Format: address */
|
|
628
|
+
from: string;
|
|
629
|
+
/** Format: address */
|
|
630
|
+
to: string;
|
|
631
|
+
token: components['schemas']['Token'];
|
|
632
|
+
};
|
|
633
|
+
Data_ERC721Sent: {
|
|
634
|
+
/** @enum {string} */
|
|
635
|
+
kind: 'erc721_sent';
|
|
636
|
+
network_fee: components['schemas']['NetworkFee'];
|
|
637
|
+
/** Format: address */
|
|
638
|
+
from: string;
|
|
639
|
+
/** Format: address */
|
|
640
|
+
to: string;
|
|
641
|
+
nft: components['schemas']['NFT'];
|
|
642
|
+
};
|
|
643
|
+
Data_ERC721Received: {
|
|
644
|
+
/** @enum {string} */
|
|
645
|
+
kind: 'erc721_received';
|
|
646
|
+
network_fee: components['schemas']['NetworkFee'];
|
|
647
|
+
/** Format: address */
|
|
648
|
+
from: string;
|
|
649
|
+
/** Format: address */
|
|
650
|
+
to: string;
|
|
651
|
+
nft: components['schemas']['NFT'];
|
|
652
|
+
};
|
|
653
|
+
Data_ERC1155Sent: {
|
|
654
|
+
/** @enum {string} */
|
|
655
|
+
kind: 'erc1155_sent';
|
|
656
|
+
network_fee: components['schemas']['NetworkFee'];
|
|
657
|
+
/** Format: address */
|
|
658
|
+
from: string;
|
|
659
|
+
/** Format: address */
|
|
660
|
+
to: string;
|
|
661
|
+
nft?: components['schemas']['NFT'];
|
|
662
|
+
};
|
|
663
|
+
Data_ERC1155Received: {
|
|
664
|
+
/** @enum {string} */
|
|
665
|
+
kind: 'erc1155_received';
|
|
666
|
+
network_fee: components['schemas']['NetworkFee'];
|
|
667
|
+
/** Format: address */
|
|
668
|
+
from: string;
|
|
669
|
+
/** Format: address */
|
|
670
|
+
to: string;
|
|
671
|
+
nft?: components['schemas']['NFT'];
|
|
672
|
+
};
|
|
673
|
+
NetworkFee: {
|
|
674
|
+
/** Format: decimal */
|
|
675
|
+
gas_price: string;
|
|
676
|
+
/** Format: decimal */
|
|
677
|
+
native_token_price_in_usd: string;
|
|
678
|
+
};
|
|
679
|
+
Token: {
|
|
680
|
+
/** Format: address */
|
|
681
|
+
address: string;
|
|
682
|
+
symbol: string;
|
|
683
|
+
name: string;
|
|
684
|
+
/** Format: decimal */
|
|
685
|
+
amount: string;
|
|
686
|
+
/** Format: int32 */
|
|
687
|
+
decimals: string;
|
|
688
|
+
/** Format: uri */
|
|
689
|
+
image: string;
|
|
690
|
+
/** Format: decimal */
|
|
691
|
+
usd: string;
|
|
692
|
+
};
|
|
693
|
+
NFT: {
|
|
694
|
+
name: string;
|
|
695
|
+
token_id: string;
|
|
696
|
+
/** Format: uri */
|
|
697
|
+
image: string;
|
|
698
|
+
collection: {
|
|
699
|
+
/** Format: address */
|
|
700
|
+
address: string;
|
|
701
|
+
name: string;
|
|
702
|
+
symbol: string;
|
|
703
|
+
/** Format: uri */
|
|
704
|
+
image: string;
|
|
705
|
+
};
|
|
706
|
+
};
|
|
707
|
+
Stake: {
|
|
708
|
+
/** Format: address */
|
|
709
|
+
address: string;
|
|
710
|
+
symbol: string;
|
|
711
|
+
name: string;
|
|
712
|
+
/** Format: decimal */
|
|
713
|
+
amount: string;
|
|
714
|
+
/** Format: int32 */
|
|
715
|
+
decimals: string;
|
|
716
|
+
/** Format: uri */
|
|
717
|
+
image: string;
|
|
718
|
+
/** Format: decimal */
|
|
719
|
+
usd: string;
|
|
720
|
+
};
|
|
721
|
+
BlockExplorer: {
|
|
722
|
+
/**
|
|
723
|
+
* Format: uri
|
|
724
|
+
* @example https://etherscan.io
|
|
725
|
+
*/
|
|
726
|
+
url: string;
|
|
727
|
+
/** @example Etherscan */
|
|
728
|
+
name: string;
|
|
729
|
+
};
|
|
730
|
+
NetworkMetadata: {
|
|
731
|
+
/**
|
|
732
|
+
* @description Human-readable network name
|
|
733
|
+
* @example Ethereum
|
|
734
|
+
*/
|
|
735
|
+
name: string;
|
|
736
|
+
/**
|
|
737
|
+
* @description Native token symbol
|
|
738
|
+
* @example ETH
|
|
739
|
+
*/
|
|
740
|
+
native_symbol: string;
|
|
741
|
+
block_explorer: components['schemas']['BlockExplorer'];
|
|
742
|
+
};
|
|
743
|
+
};
|
|
744
|
+
responses: never;
|
|
745
|
+
parameters: never;
|
|
746
|
+
requestBodies: never;
|
|
747
|
+
headers: never;
|
|
748
|
+
pathItems: never;
|
|
749
|
+
};
|
|
750
|
+
export type $defs = Record<string, never>;
|
|
751
|
+
export type operations = Record<string, never>;
|
|
752
|
+
//# sourceMappingURL=schema.d.mts.map
|