magicbell-js 1.2.0 → 1.4.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/README.md +30 -6
- package/dist/commonjs/project-client/http/client.d.ts +4 -2
- package/dist/commonjs/project-client/http/client.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/client.js +34 -5
- package/dist/commonjs/project-client/http/client.js.map +1 -1
- package/dist/commonjs/project-client/http/handlers/hook-handler.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/handlers/hook-handler.js +5 -3
- package/dist/commonjs/project-client/http/handlers/hook-handler.js.map +1 -1
- package/dist/commonjs/project-client/http/handlers/request-validation-handler.d.ts +1 -1
- package/dist/commonjs/project-client/http/handlers/request-validation-handler.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/handlers/request-validation-handler.js +15 -4
- package/dist/commonjs/project-client/http/handlers/request-validation-handler.js.map +1 -1
- package/dist/commonjs/project-client/http/handlers/response-validation-handler.js +3 -2
- package/dist/commonjs/project-client/http/handlers/response-validation-handler.js.map +1 -1
- package/dist/commonjs/project-client/http/handlers/retry-handler.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/handlers/retry-handler.js +2 -1
- package/dist/commonjs/project-client/http/handlers/retry-handler.js.map +1 -1
- package/dist/commonjs/project-client/http/hooks/hook.d.ts +1 -1
- package/dist/commonjs/project-client/http/hooks/hook.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/serialization/query-serializer.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/serialization/query-serializer.js +4 -0
- package/dist/commonjs/project-client/http/serialization/query-serializer.js.map +1 -1
- package/dist/commonjs/project-client/http/transport/request-builder.d.ts +4 -1
- package/dist/commonjs/project-client/http/transport/request-builder.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/transport/request-builder.js +23 -1
- package/dist/commonjs/project-client/http/transport/request-builder.js.map +1 -1
- package/dist/commonjs/project-client/http/transport/request-fetch-adapter.d.ts +1 -0
- package/dist/commonjs/project-client/http/transport/request-fetch-adapter.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/transport/request-fetch-adapter.js +5 -2
- package/dist/commonjs/project-client/http/transport/request-fetch-adapter.js.map +1 -1
- package/dist/commonjs/project-client/http/transport/request.d.ts +6 -3
- package/dist/commonjs/project-client/http/transport/request.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/transport/request.js +37 -5
- package/dist/commonjs/project-client/http/transport/request.js.map +1 -1
- package/dist/commonjs/project-client/http/transport/transport-hook-adapter.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/transport/transport-hook-adapter.js +2 -1
- package/dist/commonjs/project-client/http/transport/transport-hook-adapter.js.map +1 -1
- package/dist/commonjs/project-client/http/transport/types.d.ts +12 -2
- package/dist/commonjs/project-client/http/transport/types.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/transport/types.js +4 -0
- package/dist/commonjs/project-client/http/transport/types.js.map +1 -1
- package/dist/commonjs/project-client/http/types.d.ts +6 -1
- package/dist/commonjs/project-client/http/types.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/types.js.map +1 -1
- package/dist/commonjs/project-client/http/utils/content-type.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/utils/content-type.js +22 -9
- package/dist/commonjs/project-client/http/utils/content-type.js.map +1 -1
- package/dist/commonjs/project-client/index.d.ts +3 -0
- package/dist/commonjs/project-client/index.d.ts.map +1 -1
- package/dist/commonjs/project-client/index.js +13 -0
- package/dist/commonjs/project-client/index.js.map +1 -1
- package/dist/commonjs/project-client/services/broadcasts/broadcasts-service.d.ts +6 -6
- package/dist/commonjs/project-client/services/broadcasts/broadcasts-service.js +6 -6
- package/dist/commonjs/project-client/services/broadcasts/models/broadcast-collection.d.ts +274 -274
- package/dist/commonjs/project-client/services/broadcasts/models/broadcast.d.ts +168 -168
- package/dist/commonjs/project-client/services/broadcasts/models/email.d.ts +3 -3
- package/dist/commonjs/project-client/services/broadcasts/models/in-app.d.ts +3 -3
- package/dist/commonjs/project-client/services/broadcasts/models/mobile-push.d.ts +3 -3
- package/dist/commonjs/project-client/services/broadcasts/models/overrides-channels.d.ts +27 -27
- package/dist/commonjs/project-client/services/broadcasts/models/overrides.d.ts +39 -39
- package/dist/commonjs/project-client/services/broadcasts/models/sms.d.ts +3 -3
- package/dist/commonjs/project-client/services/channels/channels-service.d.ts +73 -47
- package/dist/commonjs/project-client/services/channels/channels-service.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/channels/channels-service.js +161 -46
- package/dist/commonjs/project-client/services/channels/channels-service.js.map +1 -1
- package/dist/commonjs/project-client/services/channels/models/apns-token-collection.d.ts +14 -14
- package/dist/commonjs/project-client/services/channels/models/apns-token.d.ts +8 -8
- package/dist/commonjs/project-client/services/channels/models/discard-result.d.ts +8 -8
- package/dist/commonjs/project-client/services/channels/models/expo-token-collection.d.ts +14 -14
- package/dist/commonjs/project-client/services/channels/models/expo-token.d.ts +8 -8
- package/dist/commonjs/project-client/services/channels/models/fcm-token-collection.d.ts +14 -14
- package/dist/commonjs/project-client/services/channels/models/fcm-token.d.ts +8 -8
- package/dist/commonjs/project-client/services/channels/models/inbox-token-response-collection.d.ts +28 -28
- package/dist/commonjs/project-client/services/channels/models/inbox-token-response.d.ts +16 -16
- package/dist/commonjs/project-client/services/channels/models/slack-token-collection.d.ts +14 -14
- package/dist/commonjs/project-client/services/channels/models/slack-token.d.ts +8 -8
- package/dist/commonjs/project-client/services/channels/models/teams-token-collection.d.ts +14 -14
- package/dist/commonjs/project-client/services/channels/models/teams-token.d.ts +8 -8
- package/dist/commonjs/project-client/services/channels/models/web-push-token-collection.d.ts +14 -14
- package/dist/commonjs/project-client/services/channels/models/web-push-token.d.ts +8 -8
- package/dist/commonjs/project-client/services/channels/request-params.d.ts +5 -0
- package/dist/commonjs/project-client/services/channels/request-params.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/common/user.d.ts +6 -6
- package/dist/commonjs/project-client/services/events/events-service.d.ts +4 -4
- package/dist/commonjs/project-client/services/events/events-service.js +4 -4
- package/dist/commonjs/project-client/services/integrations/integrations-service.d.ts +174 -69
- package/dist/commonjs/project-client/services/integrations/integrations-service.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/integrations/integrations-service.js +488 -68
- package/dist/commonjs/project-client/services/integrations/integrations-service.js.map +1 -1
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-collection.d.ts +312 -0
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-collection.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-collection.js +46 -0
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-collection.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-payload.d.ts +48 -0
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-payload.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-payload.js +39 -0
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-payload.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/event-source-config.d.ts +122 -0
- package/dist/commonjs/project-client/services/integrations/models/event-source-config.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/event-source-config.js +50 -0
- package/dist/commonjs/project-client/services/integrations/models/event-source-config.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/github-config-collection.d.ts +312 -0
- package/dist/commonjs/project-client/services/integrations/models/github-config-collection.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/github-config-collection.js +46 -0
- package/dist/commonjs/project-client/services/integrations/models/github-config-collection.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/github-config-payload.d.ts +48 -0
- package/dist/commonjs/project-client/services/integrations/models/github-config-payload.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/github-config-payload.js +39 -0
- package/dist/commonjs/project-client/services/integrations/models/github-config-payload.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/github-config.d.ts +122 -0
- package/dist/commonjs/project-client/services/integrations/models/github-config.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/github-config.js +50 -0
- package/dist/commonjs/project-client/services/integrations/models/github-config.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/inbox-config-collection.d.ts +182 -182
- package/dist/commonjs/project-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
- package/dist/commonjs/project-client/services/integrations/models/inbox-config.d.ts +140 -140
- package/dist/commonjs/project-client/services/integrations/models/index.d.ts +19 -1
- package/dist/commonjs/project-client/services/integrations/models/index.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/integrations/models/index.js +3 -1
- package/dist/commonjs/project-client/services/integrations/models/index.js.map +1 -1
- package/dist/commonjs/project-client/services/integrations/models/security.d.ts +6 -0
- package/dist/commonjs/project-client/services/integrations/models/security.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/security.js +10 -0
- package/dist/commonjs/project-client/services/integrations/models/security.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/{reply-to.d.ts → sendgrid-config-payload-reply-to.d.ts} +6 -6
- package/dist/commonjs/project-client/services/integrations/models/sendgrid-config-payload-reply-to.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/{reply-to.js → sendgrid-config-payload-reply-to.js} +5 -5
- package/dist/commonjs/project-client/services/integrations/models/sendgrid-config-payload-reply-to.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/sendgrid-config-payload.d.ts +1 -1
- package/dist/commonjs/project-client/services/integrations/models/sendgrid-config-payload.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/integrations/models/sendgrid-config-payload.js +4 -4
- package/dist/commonjs/project-client/services/integrations/models/sendgrid-config-payload.js.map +1 -1
- package/dist/commonjs/project-client/services/integrations/models/slack-bot-config-collection.d.ts +312 -0
- package/dist/commonjs/project-client/services/integrations/models/slack-bot-config-collection.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/slack-bot-config-collection.js +46 -0
- package/dist/commonjs/project-client/services/integrations/models/slack-bot-config-collection.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/slack-bot-config-payload.d.ts +48 -0
- package/dist/commonjs/project-client/services/integrations/models/slack-bot-config-payload.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/slack-bot-config-payload.js +39 -0
- package/dist/commonjs/project-client/services/integrations/models/slack-bot-config-payload.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/slack-bot-config.d.ts +122 -0
- package/dist/commonjs/project-client/services/integrations/models/slack-bot-config.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/slack-bot-config.js +50 -0
- package/dist/commonjs/project-client/services/integrations/models/slack-bot-config.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-from.d.ts +62 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-from.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-from.js +44 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-from.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-object-collection.d.ts +768 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-object-collection.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-object-collection.js +46 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-object-collection.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-object.d.ts +458 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-object.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-object.js +50 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-object.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-reply-to.d.ts +62 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-reply-to.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-reply-to.js +44 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-reply-to.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config.d.ts +270 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config.js +71 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-collection.d.ts +345 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-collection.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-collection.js +46 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-collection.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-payload.d.ts +62 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-payload.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-payload.js +44 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-payload.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config.d.ts +145 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config.js +50 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/theme.d.ts +56 -56
- package/dist/commonjs/project-client/services/integrations/models/webpush-config-payload.d.ts +1 -1
- package/dist/commonjs/project-client/services/integrations/request-params.d.ts +15 -0
- package/dist/commonjs/project-client/services/integrations/request-params.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/users/models/user-collection.d.ts +10 -10
- package/dist/commonjs/project-client/services/users/users-service.d.ts +6 -6
- package/dist/commonjs/project-client/services/users/users-service.js +6 -6
- package/dist/commonjs/project-client/services/workflows/index.d.ts +3 -0
- package/dist/commonjs/project-client/services/workflows/index.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/workflows/index.js +8 -0
- package/dist/commonjs/project-client/services/workflows/index.js.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/create-run-response.d.ts +48 -0
- package/dist/commonjs/project-client/services/workflows/models/create-run-response.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/create-run-response.js +39 -0
- package/dist/commonjs/project-client/services/workflows/models/create-run-response.js.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/execute-workflow-request.d.ts +62 -0
- package/dist/commonjs/project-client/services/workflows/models/execute-workflow-request.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/execute-workflow-request.js +44 -0
- package/dist/commonjs/project-client/services/workflows/models/execute-workflow-request.js.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/get-run-response-status.d.ts +104 -0
- package/dist/commonjs/project-client/services/workflows/models/get-run-response-status.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/get-run-response-status.js +59 -0
- package/dist/commonjs/project-client/services/workflows/models/get-run-response-status.js.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/get-run-response.d.ts +228 -0
- package/dist/commonjs/project-client/services/workflows/models/get-run-response.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/get-run-response.js +55 -0
- package/dist/commonjs/project-client/services/workflows/models/get-run-response.js.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/index.d.ts +10 -0
- package/dist/commonjs/project-client/services/workflows/models/index.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/index.js +3 -0
- package/dist/commonjs/project-client/services/workflows/models/index.js.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/steps.d.ts +76 -0
- package/dist/commonjs/project-client/services/workflows/models/steps.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/steps.js +49 -0
- package/dist/commonjs/project-client/services/workflows/models/steps.js.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-definition.d.ts +168 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-definition.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-definition.js +59 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-definition.js.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-run-collection.d.ts +467 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-run-collection.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-run-collection.js +46 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-run-collection.js.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-run-status.d.ts +104 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-run-status.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-run-status.js +59 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-run-status.js.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-run.d.ts +228 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-run.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-run.js +55 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-run.js.map +1 -0
- package/dist/commonjs/project-client/services/workflows/workflows-service.d.ts +42 -0
- package/dist/commonjs/project-client/services/workflows/workflows-service.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/workflows/workflows-service.js +156 -0
- package/dist/commonjs/project-client/services/workflows/workflows-service.js.map +1 -0
- package/dist/commonjs/user-client/http/client.d.ts +4 -2
- package/dist/commonjs/user-client/http/client.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/client.js +34 -5
- package/dist/commonjs/user-client/http/client.js.map +1 -1
- package/dist/commonjs/user-client/http/handlers/hook-handler.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/handlers/hook-handler.js +5 -3
- package/dist/commonjs/user-client/http/handlers/hook-handler.js.map +1 -1
- package/dist/commonjs/user-client/http/handlers/request-validation-handler.d.ts +1 -1
- package/dist/commonjs/user-client/http/handlers/request-validation-handler.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/handlers/request-validation-handler.js +15 -4
- package/dist/commonjs/user-client/http/handlers/request-validation-handler.js.map +1 -1
- package/dist/commonjs/user-client/http/handlers/response-validation-handler.js +3 -2
- package/dist/commonjs/user-client/http/handlers/response-validation-handler.js.map +1 -1
- package/dist/commonjs/user-client/http/handlers/retry-handler.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/handlers/retry-handler.js +2 -1
- package/dist/commonjs/user-client/http/handlers/retry-handler.js.map +1 -1
- package/dist/commonjs/user-client/http/hooks/hook.d.ts +1 -1
- package/dist/commonjs/user-client/http/hooks/hook.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/serialization/query-serializer.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/serialization/query-serializer.js +4 -0
- package/dist/commonjs/user-client/http/serialization/query-serializer.js.map +1 -1
- package/dist/commonjs/user-client/http/transport/request-builder.d.ts +4 -1
- package/dist/commonjs/user-client/http/transport/request-builder.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/transport/request-builder.js +23 -1
- package/dist/commonjs/user-client/http/transport/request-builder.js.map +1 -1
- package/dist/commonjs/user-client/http/transport/request-fetch-adapter.d.ts +1 -0
- package/dist/commonjs/user-client/http/transport/request-fetch-adapter.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/transport/request-fetch-adapter.js +5 -2
- package/dist/commonjs/user-client/http/transport/request-fetch-adapter.js.map +1 -1
- package/dist/commonjs/user-client/http/transport/request.d.ts +6 -3
- package/dist/commonjs/user-client/http/transport/request.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/transport/request.js +37 -5
- package/dist/commonjs/user-client/http/transport/request.js.map +1 -1
- package/dist/commonjs/user-client/http/transport/transport-hook-adapter.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/transport/transport-hook-adapter.js +2 -1
- package/dist/commonjs/user-client/http/transport/transport-hook-adapter.js.map +1 -1
- package/dist/commonjs/user-client/http/transport/types.d.ts +12 -2
- package/dist/commonjs/user-client/http/transport/types.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/transport/types.js +4 -0
- package/dist/commonjs/user-client/http/transport/types.js.map +1 -1
- package/dist/commonjs/user-client/http/types.d.ts +6 -1
- package/dist/commonjs/user-client/http/types.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/types.js.map +1 -1
- package/dist/commonjs/user-client/http/utils/content-type.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/utils/content-type.js +22 -9
- package/dist/commonjs/user-client/http/utils/content-type.js.map +1 -1
- package/dist/commonjs/user-client/services/channels/channels-service.d.ts +99 -57
- package/dist/commonjs/user-client/services/channels/channels-service.d.ts.map +1 -1
- package/dist/commonjs/user-client/services/channels/channels-service.js +236 -56
- package/dist/commonjs/user-client/services/channels/channels-service.js.map +1 -1
- package/dist/commonjs/user-client/services/channels/models/apns-token-collection.d.ts +14 -14
- package/dist/commonjs/user-client/services/channels/models/apns-token.d.ts +8 -8
- package/dist/commonjs/user-client/services/channels/models/categories.d.ts +145 -0
- package/dist/commonjs/user-client/services/channels/models/categories.d.ts.map +1 -0
- package/dist/commonjs/user-client/services/channels/models/categories.js +62 -0
- package/dist/commonjs/user-client/services/channels/models/categories.js.map +1 -0
- package/dist/commonjs/user-client/services/channels/models/channels.d.ts +62 -0
- package/dist/commonjs/user-client/services/channels/models/channels.d.ts.map +1 -0
- package/dist/commonjs/user-client/services/channels/models/channels.js +44 -0
- package/dist/commonjs/user-client/services/channels/models/channels.js.map +1 -0
- package/dist/commonjs/user-client/services/channels/models/discard-result.d.ts +8 -8
- package/dist/commonjs/user-client/services/channels/models/expo-token-collection.d.ts +14 -14
- package/dist/commonjs/user-client/services/channels/models/expo-token.d.ts +8 -8
- package/dist/commonjs/user-client/services/channels/models/fcm-token-collection.d.ts +14 -14
- package/dist/commonjs/user-client/services/channels/models/fcm-token.d.ts +8 -8
- package/dist/commonjs/user-client/services/channels/models/inbox-token-response-collection.d.ts +28 -28
- package/dist/commonjs/user-client/services/channels/models/inbox-token-response.d.ts +16 -16
- package/dist/commonjs/user-client/services/channels/models/index.d.ts +3 -0
- package/dist/commonjs/user-client/services/channels/models/index.d.ts.map +1 -1
- package/dist/commonjs/user-client/services/channels/models/index.js.map +1 -1
- package/dist/commonjs/user-client/services/channels/models/slack-token-collection.d.ts +14 -14
- package/dist/commonjs/user-client/services/channels/models/slack-token.d.ts +8 -8
- package/dist/commonjs/user-client/services/channels/models/teams-token-collection.d.ts +14 -14
- package/dist/commonjs/user-client/services/channels/models/teams-token.d.ts +8 -8
- package/dist/commonjs/user-client/services/channels/models/user-preferences.d.ts +239 -0
- package/dist/commonjs/user-client/services/channels/models/user-preferences.d.ts.map +1 -0
- package/dist/commonjs/user-client/services/channels/models/user-preferences.js +40 -0
- package/dist/commonjs/user-client/services/channels/models/user-preferences.js.map +1 -0
- package/dist/commonjs/user-client/services/channels/models/web-push-token-collection.d.ts +14 -14
- package/dist/commonjs/user-client/services/channels/models/web-push-token.d.ts +8 -8
- package/dist/commonjs/user-client/services/channels/request-params.d.ts +5 -0
- package/dist/commonjs/user-client/services/channels/request-params.d.ts.map +1 -1
- package/dist/commonjs/user-client/services/integrations/integrations-service.d.ts +32 -14
- package/dist/commonjs/user-client/services/integrations/integrations-service.d.ts.map +1 -1
- package/dist/commonjs/user-client/services/integrations/integrations-service.js +95 -14
- package/dist/commonjs/user-client/services/integrations/integrations-service.js.map +1 -1
- package/dist/commonjs/user-client/services/integrations/models/authed-user.d.ts +8 -8
- package/dist/commonjs/user-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
- package/dist/commonjs/user-client/services/integrations/models/slack-installation.d.ts +57 -57
- package/dist/commonjs/user-client/services/integrations/models/slack-start-install.d.ts +8 -8
- package/dist/commonjs/user-client/services/integrations/models/theme.d.ts +56 -56
- package/dist/commonjs/user-client/services/notifications/models/notification-collection.d.ts +56 -56
- package/dist/commonjs/user-client/services/notifications/models/notification.d.ts +32 -32
- package/dist/commonjs/user-client/services/notifications/notifications-service.d.ts +16 -16
- package/dist/commonjs/user-client/services/notifications/notifications-service.js +16 -16
- package/dist/esm/project-client/http/client.d.ts +4 -2
- package/dist/esm/project-client/http/client.d.ts.map +1 -1
- package/dist/esm/project-client/http/client.js +34 -5
- package/dist/esm/project-client/http/client.js.map +1 -1
- package/dist/esm/project-client/http/handlers/hook-handler.d.ts.map +1 -1
- package/dist/esm/project-client/http/handlers/hook-handler.js +5 -3
- package/dist/esm/project-client/http/handlers/hook-handler.js.map +1 -1
- package/dist/esm/project-client/http/handlers/request-validation-handler.d.ts +1 -1
- package/dist/esm/project-client/http/handlers/request-validation-handler.d.ts.map +1 -1
- package/dist/esm/project-client/http/handlers/request-validation-handler.js +15 -4
- package/dist/esm/project-client/http/handlers/request-validation-handler.js.map +1 -1
- package/dist/esm/project-client/http/handlers/response-validation-handler.js +3 -2
- package/dist/esm/project-client/http/handlers/response-validation-handler.js.map +1 -1
- package/dist/esm/project-client/http/handlers/retry-handler.d.ts.map +1 -1
- package/dist/esm/project-client/http/handlers/retry-handler.js +2 -1
- package/dist/esm/project-client/http/handlers/retry-handler.js.map +1 -1
- package/dist/esm/project-client/http/hooks/hook.d.ts +1 -1
- package/dist/esm/project-client/http/hooks/hook.d.ts.map +1 -1
- package/dist/esm/project-client/http/serialization/query-serializer.d.ts.map +1 -1
- package/dist/esm/project-client/http/serialization/query-serializer.js +4 -0
- package/dist/esm/project-client/http/serialization/query-serializer.js.map +1 -1
- package/dist/esm/project-client/http/transport/request-builder.d.ts +4 -1
- package/dist/esm/project-client/http/transport/request-builder.d.ts.map +1 -1
- package/dist/esm/project-client/http/transport/request-builder.js +23 -1
- package/dist/esm/project-client/http/transport/request-builder.js.map +1 -1
- package/dist/esm/project-client/http/transport/request-fetch-adapter.d.ts +1 -0
- package/dist/esm/project-client/http/transport/request-fetch-adapter.d.ts.map +1 -1
- package/dist/esm/project-client/http/transport/request-fetch-adapter.js +5 -2
- package/dist/esm/project-client/http/transport/request-fetch-adapter.js.map +1 -1
- package/dist/esm/project-client/http/transport/request.d.ts +6 -3
- package/dist/esm/project-client/http/transport/request.d.ts.map +1 -1
- package/dist/esm/project-client/http/transport/request.js +37 -5
- package/dist/esm/project-client/http/transport/request.js.map +1 -1
- package/dist/esm/project-client/http/transport/transport-hook-adapter.d.ts.map +1 -1
- package/dist/esm/project-client/http/transport/transport-hook-adapter.js +2 -1
- package/dist/esm/project-client/http/transport/transport-hook-adapter.js.map +1 -1
- package/dist/esm/project-client/http/transport/types.d.ts +12 -2
- package/dist/esm/project-client/http/transport/types.d.ts.map +1 -1
- package/dist/esm/project-client/http/transport/types.js +3 -1
- package/dist/esm/project-client/http/transport/types.js.map +1 -1
- package/dist/esm/project-client/http/types.d.ts +6 -1
- package/dist/esm/project-client/http/types.d.ts.map +1 -1
- package/dist/esm/project-client/http/types.js.map +1 -1
- package/dist/esm/project-client/http/utils/content-type.d.ts.map +1 -1
- package/dist/esm/project-client/http/utils/content-type.js +22 -9
- package/dist/esm/project-client/http/utils/content-type.js.map +1 -1
- package/dist/esm/project-client/index.d.ts +3 -0
- package/dist/esm/project-client/index.d.ts.map +1 -1
- package/dist/esm/project-client/index.js +13 -0
- package/dist/esm/project-client/index.js.map +1 -1
- package/dist/esm/project-client/services/broadcasts/broadcasts-service.d.ts +6 -6
- package/dist/esm/project-client/services/broadcasts/broadcasts-service.js +6 -6
- package/dist/esm/project-client/services/broadcasts/models/broadcast-collection.d.ts +274 -274
- package/dist/esm/project-client/services/broadcasts/models/broadcast.d.ts +168 -168
- package/dist/esm/project-client/services/broadcasts/models/email.d.ts +3 -3
- package/dist/esm/project-client/services/broadcasts/models/in-app.d.ts +3 -3
- package/dist/esm/project-client/services/broadcasts/models/mobile-push.d.ts +3 -3
- package/dist/esm/project-client/services/broadcasts/models/overrides-channels.d.ts +27 -27
- package/dist/esm/project-client/services/broadcasts/models/overrides.d.ts +39 -39
- package/dist/esm/project-client/services/broadcasts/models/sms.d.ts +3 -3
- package/dist/esm/project-client/services/channels/channels-service.d.ts +73 -47
- package/dist/esm/project-client/services/channels/channels-service.d.ts.map +1 -1
- package/dist/esm/project-client/services/channels/channels-service.js +161 -46
- package/dist/esm/project-client/services/channels/channels-service.js.map +1 -1
- package/dist/esm/project-client/services/channels/models/apns-token-collection.d.ts +14 -14
- package/dist/esm/project-client/services/channels/models/apns-token.d.ts +8 -8
- package/dist/esm/project-client/services/channels/models/discard-result.d.ts +8 -8
- package/dist/esm/project-client/services/channels/models/expo-token-collection.d.ts +14 -14
- package/dist/esm/project-client/services/channels/models/expo-token.d.ts +8 -8
- package/dist/esm/project-client/services/channels/models/fcm-token-collection.d.ts +14 -14
- package/dist/esm/project-client/services/channels/models/fcm-token.d.ts +8 -8
- package/dist/esm/project-client/services/channels/models/inbox-token-response-collection.d.ts +28 -28
- package/dist/esm/project-client/services/channels/models/inbox-token-response.d.ts +16 -16
- package/dist/esm/project-client/services/channels/models/slack-token-collection.d.ts +14 -14
- package/dist/esm/project-client/services/channels/models/slack-token.d.ts +8 -8
- package/dist/esm/project-client/services/channels/models/teams-token-collection.d.ts +14 -14
- package/dist/esm/project-client/services/channels/models/teams-token.d.ts +8 -8
- package/dist/esm/project-client/services/channels/models/web-push-token-collection.d.ts +14 -14
- package/dist/esm/project-client/services/channels/models/web-push-token.d.ts +8 -8
- package/dist/esm/project-client/services/channels/request-params.d.ts +5 -0
- package/dist/esm/project-client/services/channels/request-params.d.ts.map +1 -1
- package/dist/esm/project-client/services/common/user.d.ts +6 -6
- package/dist/esm/project-client/services/events/events-service.d.ts +4 -4
- package/dist/esm/project-client/services/events/events-service.js +4 -4
- package/dist/esm/project-client/services/integrations/integrations-service.d.ts +174 -69
- package/dist/esm/project-client/services/integrations/integrations-service.d.ts.map +1 -1
- package/dist/esm/project-client/services/integrations/integrations-service.js +488 -68
- package/dist/esm/project-client/services/integrations/integrations-service.js.map +1 -1
- package/dist/esm/project-client/services/integrations/models/event-source-config-collection.d.ts +312 -0
- package/dist/esm/project-client/services/integrations/models/event-source-config-collection.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/event-source-config-collection.js +43 -0
- package/dist/esm/project-client/services/integrations/models/event-source-config-collection.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/event-source-config-payload.d.ts +48 -0
- package/dist/esm/project-client/services/integrations/models/event-source-config-payload.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/event-source-config-payload.js +36 -0
- package/dist/esm/project-client/services/integrations/models/event-source-config-payload.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/event-source-config.d.ts +122 -0
- package/dist/esm/project-client/services/integrations/models/event-source-config.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/event-source-config.js +47 -0
- package/dist/esm/project-client/services/integrations/models/event-source-config.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/github-config-collection.d.ts +312 -0
- package/dist/esm/project-client/services/integrations/models/github-config-collection.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/github-config-collection.js +43 -0
- package/dist/esm/project-client/services/integrations/models/github-config-collection.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/github-config-payload.d.ts +48 -0
- package/dist/esm/project-client/services/integrations/models/github-config-payload.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/github-config-payload.js +36 -0
- package/dist/esm/project-client/services/integrations/models/github-config-payload.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/github-config.d.ts +122 -0
- package/dist/esm/project-client/services/integrations/models/github-config.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/github-config.js +47 -0
- package/dist/esm/project-client/services/integrations/models/github-config.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/inbox-config-collection.d.ts +182 -182
- package/dist/esm/project-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
- package/dist/esm/project-client/services/integrations/models/inbox-config.d.ts +140 -140
- package/dist/esm/project-client/services/integrations/models/index.d.ts +19 -1
- package/dist/esm/project-client/services/integrations/models/index.d.ts.map +1 -1
- package/dist/esm/project-client/services/integrations/models/index.js +1 -0
- package/dist/esm/project-client/services/integrations/models/index.js.map +1 -1
- package/dist/esm/project-client/services/integrations/models/security.d.ts +6 -0
- package/dist/esm/project-client/services/integrations/models/security.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/security.js +7 -0
- package/dist/esm/project-client/services/integrations/models/security.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/{reply-to.d.ts → sendgrid-config-payload-reply-to.d.ts} +6 -6
- package/dist/esm/project-client/services/integrations/models/sendgrid-config-payload-reply-to.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/{reply-to.js → sendgrid-config-payload-reply-to.js} +4 -4
- package/dist/esm/project-client/services/integrations/models/sendgrid-config-payload-reply-to.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/sendgrid-config-payload.d.ts +1 -1
- package/dist/esm/project-client/services/integrations/models/sendgrid-config-payload.d.ts.map +1 -1
- package/dist/esm/project-client/services/integrations/models/sendgrid-config-payload.js +4 -4
- package/dist/esm/project-client/services/integrations/models/sendgrid-config-payload.js.map +1 -1
- package/dist/esm/project-client/services/integrations/models/slack-bot-config-collection.d.ts +312 -0
- package/dist/esm/project-client/services/integrations/models/slack-bot-config-collection.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/slack-bot-config-collection.js +43 -0
- package/dist/esm/project-client/services/integrations/models/slack-bot-config-collection.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/slack-bot-config-payload.d.ts +48 -0
- package/dist/esm/project-client/services/integrations/models/slack-bot-config-payload.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/slack-bot-config-payload.js +36 -0
- package/dist/esm/project-client/services/integrations/models/slack-bot-config-payload.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/slack-bot-config.d.ts +122 -0
- package/dist/esm/project-client/services/integrations/models/slack-bot-config.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/slack-bot-config.js +47 -0
- package/dist/esm/project-client/services/integrations/models/slack-bot-config.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-from.d.ts +62 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-from.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-from.js +41 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-from.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-object-collection.d.ts +768 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-object-collection.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-object-collection.js +43 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-object-collection.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-object.d.ts +458 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-object.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-object.js +47 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-object.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-reply-to.d.ts +62 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-reply-to.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-reply-to.js +41 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-reply-to.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config.d.ts +270 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config.js +68 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config-collection.d.ts +345 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config-collection.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config-collection.js +43 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config-collection.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config-payload.d.ts +62 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config-payload.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config-payload.js +41 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config-payload.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config.d.ts +145 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config.js +47 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/theme.d.ts +56 -56
- package/dist/esm/project-client/services/integrations/models/webpush-config-payload.d.ts +1 -1
- package/dist/esm/project-client/services/integrations/request-params.d.ts +15 -0
- package/dist/esm/project-client/services/integrations/request-params.d.ts.map +1 -1
- package/dist/esm/project-client/services/users/models/user-collection.d.ts +10 -10
- package/dist/esm/project-client/services/users/users-service.d.ts +6 -6
- package/dist/esm/project-client/services/users/users-service.js +6 -6
- package/dist/esm/project-client/services/workflows/index.d.ts +3 -0
- package/dist/esm/project-client/services/workflows/index.d.ts.map +1 -0
- package/dist/esm/project-client/services/workflows/index.js +3 -0
- package/dist/esm/project-client/services/workflows/index.js.map +1 -0
- package/dist/esm/project-client/services/workflows/models/create-run-response.d.ts +48 -0
- package/dist/esm/project-client/services/workflows/models/create-run-response.d.ts.map +1 -0
- package/dist/esm/project-client/services/workflows/models/create-run-response.js +36 -0
- package/dist/esm/project-client/services/workflows/models/create-run-response.js.map +1 -0
- package/dist/esm/project-client/services/workflows/models/execute-workflow-request.d.ts +62 -0
- package/dist/esm/project-client/services/workflows/models/execute-workflow-request.d.ts.map +1 -0
- package/dist/esm/project-client/services/workflows/models/execute-workflow-request.js +41 -0
- package/dist/esm/project-client/services/workflows/models/execute-workflow-request.js.map +1 -0
- package/dist/esm/project-client/services/workflows/models/get-run-response-status.d.ts +104 -0
- package/dist/esm/project-client/services/workflows/models/get-run-response-status.d.ts.map +1 -0
- package/dist/esm/project-client/services/workflows/models/get-run-response-status.js +56 -0
- package/dist/esm/project-client/services/workflows/models/get-run-response-status.js.map +1 -0
- package/dist/esm/project-client/services/workflows/models/get-run-response.d.ts +228 -0
- package/dist/esm/project-client/services/workflows/models/get-run-response.d.ts.map +1 -0
- package/dist/esm/project-client/services/workflows/models/get-run-response.js +52 -0
- package/dist/esm/project-client/services/workflows/models/get-run-response.js.map +1 -0
- package/dist/esm/project-client/services/workflows/models/index.d.ts +10 -0
- package/dist/esm/project-client/services/workflows/models/index.d.ts.map +1 -0
- package/dist/esm/project-client/services/workflows/models/index.js +2 -0
- package/dist/esm/project-client/services/workflows/models/index.js.map +1 -0
- package/dist/esm/project-client/services/workflows/models/steps.d.ts +76 -0
- package/dist/esm/project-client/services/workflows/models/steps.d.ts.map +1 -0
- package/dist/esm/project-client/services/workflows/models/steps.js +46 -0
- package/dist/esm/project-client/services/workflows/models/steps.js.map +1 -0
- package/dist/esm/project-client/services/workflows/models/workflow-definition.d.ts +168 -0
- package/dist/esm/project-client/services/workflows/models/workflow-definition.d.ts.map +1 -0
- package/dist/esm/project-client/services/workflows/models/workflow-definition.js +56 -0
- package/dist/esm/project-client/services/workflows/models/workflow-definition.js.map +1 -0
- package/dist/esm/project-client/services/workflows/models/workflow-run-collection.d.ts +467 -0
- package/dist/esm/project-client/services/workflows/models/workflow-run-collection.d.ts.map +1 -0
- package/dist/esm/project-client/services/workflows/models/workflow-run-collection.js +43 -0
- package/dist/esm/project-client/services/workflows/models/workflow-run-collection.js.map +1 -0
- package/dist/esm/project-client/services/workflows/models/workflow-run-status.d.ts +104 -0
- package/dist/esm/project-client/services/workflows/models/workflow-run-status.d.ts.map +1 -0
- package/dist/esm/project-client/services/workflows/models/workflow-run-status.js +56 -0
- package/dist/esm/project-client/services/workflows/models/workflow-run-status.js.map +1 -0
- package/dist/esm/project-client/services/workflows/models/workflow-run.d.ts +228 -0
- package/dist/esm/project-client/services/workflows/models/workflow-run.d.ts.map +1 -0
- package/dist/esm/project-client/services/workflows/models/workflow-run.js +52 -0
- package/dist/esm/project-client/services/workflows/models/workflow-run.js.map +1 -0
- package/dist/esm/project-client/services/workflows/workflows-service.d.ts +42 -0
- package/dist/esm/project-client/services/workflows/workflows-service.d.ts.map +1 -0
- package/dist/esm/project-client/services/workflows/workflows-service.js +152 -0
- package/dist/esm/project-client/services/workflows/workflows-service.js.map +1 -0
- package/dist/esm/user-client/http/client.d.ts +4 -2
- package/dist/esm/user-client/http/client.d.ts.map +1 -1
- package/dist/esm/user-client/http/client.js +34 -5
- package/dist/esm/user-client/http/client.js.map +1 -1
- package/dist/esm/user-client/http/handlers/hook-handler.d.ts.map +1 -1
- package/dist/esm/user-client/http/handlers/hook-handler.js +5 -3
- package/dist/esm/user-client/http/handlers/hook-handler.js.map +1 -1
- package/dist/esm/user-client/http/handlers/request-validation-handler.d.ts +1 -1
- package/dist/esm/user-client/http/handlers/request-validation-handler.d.ts.map +1 -1
- package/dist/esm/user-client/http/handlers/request-validation-handler.js +15 -4
- package/dist/esm/user-client/http/handlers/request-validation-handler.js.map +1 -1
- package/dist/esm/user-client/http/handlers/response-validation-handler.js +3 -2
- package/dist/esm/user-client/http/handlers/response-validation-handler.js.map +1 -1
- package/dist/esm/user-client/http/handlers/retry-handler.d.ts.map +1 -1
- package/dist/esm/user-client/http/handlers/retry-handler.js +2 -1
- package/dist/esm/user-client/http/handlers/retry-handler.js.map +1 -1
- package/dist/esm/user-client/http/hooks/hook.d.ts +1 -1
- package/dist/esm/user-client/http/hooks/hook.d.ts.map +1 -1
- package/dist/esm/user-client/http/serialization/query-serializer.d.ts.map +1 -1
- package/dist/esm/user-client/http/serialization/query-serializer.js +4 -0
- package/dist/esm/user-client/http/serialization/query-serializer.js.map +1 -1
- package/dist/esm/user-client/http/transport/request-builder.d.ts +4 -1
- package/dist/esm/user-client/http/transport/request-builder.d.ts.map +1 -1
- package/dist/esm/user-client/http/transport/request-builder.js +23 -1
- package/dist/esm/user-client/http/transport/request-builder.js.map +1 -1
- package/dist/esm/user-client/http/transport/request-fetch-adapter.d.ts +1 -0
- package/dist/esm/user-client/http/transport/request-fetch-adapter.d.ts.map +1 -1
- package/dist/esm/user-client/http/transport/request-fetch-adapter.js +5 -2
- package/dist/esm/user-client/http/transport/request-fetch-adapter.js.map +1 -1
- package/dist/esm/user-client/http/transport/request.d.ts +6 -3
- package/dist/esm/user-client/http/transport/request.d.ts.map +1 -1
- package/dist/esm/user-client/http/transport/request.js +37 -5
- package/dist/esm/user-client/http/transport/request.js.map +1 -1
- package/dist/esm/user-client/http/transport/transport-hook-adapter.d.ts.map +1 -1
- package/dist/esm/user-client/http/transport/transport-hook-adapter.js +2 -1
- package/dist/esm/user-client/http/transport/transport-hook-adapter.js.map +1 -1
- package/dist/esm/user-client/http/transport/types.d.ts +12 -2
- package/dist/esm/user-client/http/transport/types.d.ts.map +1 -1
- package/dist/esm/user-client/http/transport/types.js +3 -1
- package/dist/esm/user-client/http/transport/types.js.map +1 -1
- package/dist/esm/user-client/http/types.d.ts +6 -1
- package/dist/esm/user-client/http/types.d.ts.map +1 -1
- package/dist/esm/user-client/http/types.js.map +1 -1
- package/dist/esm/user-client/http/utils/content-type.d.ts.map +1 -1
- package/dist/esm/user-client/http/utils/content-type.js +22 -9
- package/dist/esm/user-client/http/utils/content-type.js.map +1 -1
- package/dist/esm/user-client/services/channels/channels-service.d.ts +99 -57
- package/dist/esm/user-client/services/channels/channels-service.d.ts.map +1 -1
- package/dist/esm/user-client/services/channels/channels-service.js +236 -56
- package/dist/esm/user-client/services/channels/channels-service.js.map +1 -1
- package/dist/esm/user-client/services/channels/models/apns-token-collection.d.ts +14 -14
- package/dist/esm/user-client/services/channels/models/apns-token.d.ts +8 -8
- package/dist/esm/user-client/services/channels/models/categories.d.ts +145 -0
- package/dist/esm/user-client/services/channels/models/categories.d.ts.map +1 -0
- package/dist/esm/user-client/services/channels/models/categories.js +59 -0
- package/dist/esm/user-client/services/channels/models/categories.js.map +1 -0
- package/dist/esm/user-client/services/channels/models/channels.d.ts +62 -0
- package/dist/esm/user-client/services/channels/models/channels.d.ts.map +1 -0
- package/dist/esm/user-client/services/channels/models/channels.js +41 -0
- package/dist/esm/user-client/services/channels/models/channels.js.map +1 -0
- package/dist/esm/user-client/services/channels/models/discard-result.d.ts +8 -8
- package/dist/esm/user-client/services/channels/models/expo-token-collection.d.ts +14 -14
- package/dist/esm/user-client/services/channels/models/expo-token.d.ts +8 -8
- package/dist/esm/user-client/services/channels/models/fcm-token-collection.d.ts +14 -14
- package/dist/esm/user-client/services/channels/models/fcm-token.d.ts +8 -8
- package/dist/esm/user-client/services/channels/models/inbox-token-response-collection.d.ts +28 -28
- package/dist/esm/user-client/services/channels/models/inbox-token-response.d.ts +16 -16
- package/dist/esm/user-client/services/channels/models/index.d.ts +3 -0
- package/dist/esm/user-client/services/channels/models/index.d.ts.map +1 -1
- package/dist/esm/user-client/services/channels/models/index.js.map +1 -1
- package/dist/esm/user-client/services/channels/models/slack-token-collection.d.ts +14 -14
- package/dist/esm/user-client/services/channels/models/slack-token.d.ts +8 -8
- package/dist/esm/user-client/services/channels/models/teams-token-collection.d.ts +14 -14
- package/dist/esm/user-client/services/channels/models/teams-token.d.ts +8 -8
- package/dist/esm/user-client/services/channels/models/user-preferences.d.ts +239 -0
- package/dist/esm/user-client/services/channels/models/user-preferences.d.ts.map +1 -0
- package/dist/esm/user-client/services/channels/models/user-preferences.js +37 -0
- package/dist/esm/user-client/services/channels/models/user-preferences.js.map +1 -0
- package/dist/esm/user-client/services/channels/models/web-push-token-collection.d.ts +14 -14
- package/dist/esm/user-client/services/channels/models/web-push-token.d.ts +8 -8
- package/dist/esm/user-client/services/channels/request-params.d.ts +5 -0
- package/dist/esm/user-client/services/channels/request-params.d.ts.map +1 -1
- package/dist/esm/user-client/services/integrations/integrations-service.d.ts +32 -14
- package/dist/esm/user-client/services/integrations/integrations-service.d.ts.map +1 -1
- package/dist/esm/user-client/services/integrations/integrations-service.js +95 -14
- package/dist/esm/user-client/services/integrations/integrations-service.js.map +1 -1
- package/dist/esm/user-client/services/integrations/models/authed-user.d.ts +8 -8
- package/dist/esm/user-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
- package/dist/esm/user-client/services/integrations/models/slack-installation.d.ts +57 -57
- package/dist/esm/user-client/services/integrations/models/slack-start-install.d.ts +8 -8
- package/dist/esm/user-client/services/integrations/models/theme.d.ts +56 -56
- package/dist/esm/user-client/services/notifications/models/notification-collection.d.ts +56 -56
- package/dist/esm/user-client/services/notifications/models/notification.d.ts +32 -32
- package/dist/esm/user-client/services/notifications/notifications-service.d.ts +16 -16
- package/dist/esm/user-client/services/notifications/notifications-service.js +16 -16
- package/package.json +3 -3
- package/src/project-client/http/client.ts +44 -6
- package/src/project-client/http/handlers/hook-handler.ts +6 -3
- package/src/project-client/http/handlers/request-validation-handler.ts +14 -4
- package/src/project-client/http/handlers/response-validation-handler.ts +2 -2
- package/src/project-client/http/handlers/retry-handler.ts +4 -1
- package/src/project-client/http/hooks/hook.ts +1 -1
- package/src/project-client/http/serialization/query-serializer.ts +5 -0
- package/src/project-client/http/transport/request-builder.ts +27 -1
- package/src/project-client/http/transport/request-fetch-adapter.ts +6 -2
- package/src/project-client/http/transport/request.ts +31 -5
- package/src/project-client/http/transport/transport-hook-adapter.ts +1 -0
- package/src/project-client/http/transport/types.ts +18 -2
- package/src/project-client/http/types.ts +9 -1
- package/src/project-client/http/utils/content-type.ts +26 -9
- package/src/project-client/index.ts +10 -0
- package/src/project-client/services/broadcasts/broadcasts-service.ts +6 -6
- package/src/project-client/services/channels/channels-service.ts +177 -46
- package/src/project-client/services/channels/request-params.ts +6 -0
- package/src/project-client/services/events/events-service.ts +4 -4
- package/src/project-client/services/integrations/integrations-service.ts +559 -68
- package/src/project-client/services/integrations/models/event-source-config-collection.ts +59 -0
- package/src/project-client/services/integrations/models/event-source-config-payload.ts +45 -0
- package/src/project-client/services/integrations/models/event-source-config.ts +64 -0
- package/src/project-client/services/integrations/models/github-config-collection.ts +54 -0
- package/src/project-client/services/integrations/models/github-config-payload.ts +45 -0
- package/src/project-client/services/integrations/models/github-config.ts +64 -0
- package/src/project-client/services/integrations/models/index.ts +19 -1
- package/src/project-client/services/integrations/models/security.ts +7 -0
- package/src/project-client/services/integrations/models/{reply-to.ts → sendgrid-config-payload-reply-to.ts} +5 -5
- package/src/project-client/services/integrations/models/sendgrid-config-payload.ts +10 -5
- package/src/project-client/services/integrations/models/slack-bot-config-collection.ts +54 -0
- package/src/project-client/services/integrations/models/slack-bot-config-payload.ts +45 -0
- package/src/project-client/services/integrations/models/slack-bot-config.ts +64 -0
- package/src/project-client/services/integrations/models/smtp-config-from.ts +51 -0
- package/src/project-client/services/integrations/models/smtp-config-object-collection.ts +59 -0
- package/src/project-client/services/integrations/models/smtp-config-object.ts +59 -0
- package/src/project-client/services/integrations/models/smtp-config-reply-to.ts +51 -0
- package/src/project-client/services/integrations/models/smtp-config.ts +89 -0
- package/src/project-client/services/integrations/models/stripe-config-collection.ts +54 -0
- package/src/project-client/services/integrations/models/stripe-config-payload.ts +51 -0
- package/src/project-client/services/integrations/models/stripe-config.ts +64 -0
- package/src/project-client/services/integrations/models/webpush-config-payload.ts +1 -1
- package/src/project-client/services/integrations/request-params.ts +20 -0
- package/src/project-client/services/users/users-service.ts +6 -6
- package/src/project-client/services/workflows/index.ts +2 -0
- package/src/project-client/services/workflows/models/create-run-response.ts +45 -0
- package/src/project-client/services/workflows/models/execute-workflow-request.ts +51 -0
- package/src/project-client/services/workflows/models/get-run-response-status.ts +69 -0
- package/src/project-client/services/workflows/models/get-run-response.ts +70 -0
- package/src/project-client/services/workflows/models/index.ts +9 -0
- package/src/project-client/services/workflows/models/steps.ts +57 -0
- package/src/project-client/services/workflows/models/workflow-definition.ts +68 -0
- package/src/project-client/services/workflows/models/workflow-run-collection.ts +54 -0
- package/src/project-client/services/workflows/models/workflow-run-status.ts +69 -0
- package/src/project-client/services/workflows/models/workflow-run.ts +70 -0
- package/src/project-client/services/workflows/workflows-service.ts +172 -0
- package/src/user-client/http/client.ts +44 -6
- package/src/user-client/http/handlers/hook-handler.ts +6 -3
- package/src/user-client/http/handlers/request-validation-handler.ts +14 -4
- package/src/user-client/http/handlers/response-validation-handler.ts +2 -2
- package/src/user-client/http/handlers/retry-handler.ts +4 -1
- package/src/user-client/http/hooks/hook.ts +1 -1
- package/src/user-client/http/serialization/query-serializer.ts +5 -0
- package/src/user-client/http/transport/request-builder.ts +27 -1
- package/src/user-client/http/transport/request-fetch-adapter.ts +6 -2
- package/src/user-client/http/transport/request.ts +31 -5
- package/src/user-client/http/transport/transport-hook-adapter.ts +1 -0
- package/src/user-client/http/transport/types.ts +18 -2
- package/src/user-client/http/types.ts +9 -1
- package/src/user-client/http/utils/content-type.ts +26 -9
- package/src/user-client/services/channels/channels-service.ts +252 -56
- package/src/user-client/services/channels/models/categories.ts +71 -0
- package/src/user-client/services/channels/models/channels.ts +51 -0
- package/src/user-client/services/channels/models/index.ts +3 -0
- package/src/user-client/services/channels/models/user-preferences.ts +47 -0
- package/src/user-client/services/channels/request-params.ts +6 -0
- package/src/user-client/services/integrations/integrations-service.ts +107 -14
- package/src/user-client/services/notifications/notifications-service.ts +16 -16
- package/dist/commonjs/project-client/services/integrations/models/reply-to.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/reply-to.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/reply-to.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/reply-to.js.map +0 -1
|
@@ -25,32 +25,32 @@ export declare const notificationCollection: z.ZodLazy<z.ZodObject<{
|
|
|
25
25
|
updatedAt: string;
|
|
26
26
|
title: string;
|
|
27
27
|
userId: string;
|
|
28
|
-
customAttributes?: any;
|
|
29
28
|
actionUrl?: string | null | undefined;
|
|
30
|
-
|
|
29
|
+
archivedAt?: string | null | undefined;
|
|
31
30
|
category?: string | null | undefined;
|
|
32
|
-
|
|
31
|
+
content?: string | null | undefined;
|
|
32
|
+
customAttributes?: any;
|
|
33
33
|
discardedAt?: string | null | undefined;
|
|
34
|
-
archivedAt?: string | null | undefined;
|
|
35
34
|
readAt?: string | null | undefined;
|
|
36
35
|
seenAt?: string | null | undefined;
|
|
37
36
|
sentAt?: string | null | undefined;
|
|
37
|
+
topic?: string | null | undefined;
|
|
38
38
|
}, {
|
|
39
39
|
createdAt: string;
|
|
40
40
|
id: string;
|
|
41
41
|
updatedAt: string;
|
|
42
42
|
title: string;
|
|
43
43
|
userId: string;
|
|
44
|
-
customAttributes?: any;
|
|
45
44
|
actionUrl?: string | null | undefined;
|
|
46
|
-
|
|
45
|
+
archivedAt?: string | null | undefined;
|
|
47
46
|
category?: string | null | undefined;
|
|
48
|
-
|
|
47
|
+
content?: string | null | undefined;
|
|
48
|
+
customAttributes?: any;
|
|
49
49
|
discardedAt?: string | null | undefined;
|
|
50
|
-
archivedAt?: string | null | undefined;
|
|
51
50
|
readAt?: string | null | undefined;
|
|
52
51
|
seenAt?: string | null | undefined;
|
|
53
52
|
sentAt?: string | null | undefined;
|
|
53
|
+
topic?: string | null | undefined;
|
|
54
54
|
}>>, "many">>;
|
|
55
55
|
links: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
56
56
|
first: z.ZodOptional<z.ZodString>;
|
|
@@ -72,16 +72,16 @@ export declare const notificationCollection: z.ZodLazy<z.ZodObject<{
|
|
|
72
72
|
updatedAt: string;
|
|
73
73
|
title: string;
|
|
74
74
|
userId: string;
|
|
75
|
-
customAttributes?: any;
|
|
76
75
|
actionUrl?: string | null | undefined;
|
|
77
|
-
|
|
76
|
+
archivedAt?: string | null | undefined;
|
|
78
77
|
category?: string | null | undefined;
|
|
79
|
-
|
|
78
|
+
content?: string | null | undefined;
|
|
79
|
+
customAttributes?: any;
|
|
80
80
|
discardedAt?: string | null | undefined;
|
|
81
|
-
archivedAt?: string | null | undefined;
|
|
82
81
|
readAt?: string | null | undefined;
|
|
83
82
|
seenAt?: string | null | undefined;
|
|
84
83
|
sentAt?: string | null | undefined;
|
|
84
|
+
topic?: string | null | undefined;
|
|
85
85
|
}[] | undefined;
|
|
86
86
|
links?: {
|
|
87
87
|
first?: string | undefined;
|
|
@@ -95,16 +95,16 @@ export declare const notificationCollection: z.ZodLazy<z.ZodObject<{
|
|
|
95
95
|
updatedAt: string;
|
|
96
96
|
title: string;
|
|
97
97
|
userId: string;
|
|
98
|
-
customAttributes?: any;
|
|
99
98
|
actionUrl?: string | null | undefined;
|
|
100
|
-
|
|
99
|
+
archivedAt?: string | null | undefined;
|
|
101
100
|
category?: string | null | undefined;
|
|
102
|
-
|
|
101
|
+
content?: string | null | undefined;
|
|
102
|
+
customAttributes?: any;
|
|
103
103
|
discardedAt?: string | null | undefined;
|
|
104
|
-
archivedAt?: string | null | undefined;
|
|
105
104
|
readAt?: string | null | undefined;
|
|
106
105
|
seenAt?: string | null | undefined;
|
|
107
106
|
sentAt?: string | null | undefined;
|
|
107
|
+
topic?: string | null | undefined;
|
|
108
108
|
}[] | undefined;
|
|
109
109
|
links?: {
|
|
110
110
|
first?: string | undefined;
|
|
@@ -146,32 +146,32 @@ export declare const notificationCollectionResponse: z.ZodLazy<z.ZodEffects<z.Zo
|
|
|
146
146
|
updated_at: string;
|
|
147
147
|
title: string;
|
|
148
148
|
user_id: string;
|
|
149
|
-
custom_attributes?: any;
|
|
150
|
-
content?: string | null | undefined;
|
|
151
149
|
action_url?: string | null | undefined;
|
|
150
|
+
archived_at?: string | null | undefined;
|
|
152
151
|
category?: string | null | undefined;
|
|
153
|
-
|
|
152
|
+
content?: string | null | undefined;
|
|
153
|
+
custom_attributes?: any;
|
|
154
154
|
discarded_at?: string | null | undefined;
|
|
155
|
-
archived_at?: string | null | undefined;
|
|
156
155
|
read_at?: string | null | undefined;
|
|
157
156
|
seen_at?: string | null | undefined;
|
|
158
157
|
sent_at?: string | null | undefined;
|
|
158
|
+
topic?: string | null | undefined;
|
|
159
159
|
}, {
|
|
160
160
|
id: string;
|
|
161
161
|
created_at: string;
|
|
162
162
|
updated_at: string;
|
|
163
163
|
title: string;
|
|
164
164
|
user_id: string;
|
|
165
|
-
custom_attributes?: any;
|
|
166
|
-
content?: string | null | undefined;
|
|
167
165
|
action_url?: string | null | undefined;
|
|
166
|
+
archived_at?: string | null | undefined;
|
|
168
167
|
category?: string | null | undefined;
|
|
169
|
-
|
|
168
|
+
content?: string | null | undefined;
|
|
169
|
+
custom_attributes?: any;
|
|
170
170
|
discarded_at?: string | null | undefined;
|
|
171
|
-
archived_at?: string | null | undefined;
|
|
172
171
|
read_at?: string | null | undefined;
|
|
173
172
|
seen_at?: string | null | undefined;
|
|
174
173
|
sent_at?: string | null | undefined;
|
|
174
|
+
topic?: string | null | undefined;
|
|
175
175
|
}>, {
|
|
176
176
|
actionUrl: string | null | undefined;
|
|
177
177
|
archivedAt: string | null | undefined;
|
|
@@ -194,16 +194,16 @@ export declare const notificationCollectionResponse: z.ZodLazy<z.ZodEffects<z.Zo
|
|
|
194
194
|
updated_at: string;
|
|
195
195
|
title: string;
|
|
196
196
|
user_id: string;
|
|
197
|
-
custom_attributes?: any;
|
|
198
|
-
content?: string | null | undefined;
|
|
199
197
|
action_url?: string | null | undefined;
|
|
198
|
+
archived_at?: string | null | undefined;
|
|
200
199
|
category?: string | null | undefined;
|
|
201
|
-
|
|
200
|
+
content?: string | null | undefined;
|
|
201
|
+
custom_attributes?: any;
|
|
202
202
|
discarded_at?: string | null | undefined;
|
|
203
|
-
archived_at?: string | null | undefined;
|
|
204
203
|
read_at?: string | null | undefined;
|
|
205
204
|
seen_at?: string | null | undefined;
|
|
206
205
|
sent_at?: string | null | undefined;
|
|
206
|
+
topic?: string | null | undefined;
|
|
207
207
|
}>>, "many">>;
|
|
208
208
|
links: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
209
209
|
first: z.ZodOptional<z.ZodString>;
|
|
@@ -256,16 +256,16 @@ export declare const notificationCollectionResponse: z.ZodLazy<z.ZodEffects<z.Zo
|
|
|
256
256
|
updated_at: string;
|
|
257
257
|
title: string;
|
|
258
258
|
user_id: string;
|
|
259
|
-
custom_attributes?: any;
|
|
260
|
-
content?: string | null | undefined;
|
|
261
259
|
action_url?: string | null | undefined;
|
|
260
|
+
archived_at?: string | null | undefined;
|
|
262
261
|
category?: string | null | undefined;
|
|
263
|
-
|
|
262
|
+
content?: string | null | undefined;
|
|
263
|
+
custom_attributes?: any;
|
|
264
264
|
discarded_at?: string | null | undefined;
|
|
265
|
-
archived_at?: string | null | undefined;
|
|
266
265
|
read_at?: string | null | undefined;
|
|
267
266
|
seen_at?: string | null | undefined;
|
|
268
267
|
sent_at?: string | null | undefined;
|
|
268
|
+
topic?: string | null | undefined;
|
|
269
269
|
}[] | undefined;
|
|
270
270
|
links?: {
|
|
271
271
|
first?: string | undefined;
|
|
@@ -302,16 +302,16 @@ export declare const notificationCollectionResponse: z.ZodLazy<z.ZodEffects<z.Zo
|
|
|
302
302
|
updated_at: string;
|
|
303
303
|
title: string;
|
|
304
304
|
user_id: string;
|
|
305
|
-
custom_attributes?: any;
|
|
306
|
-
content?: string | null | undefined;
|
|
307
305
|
action_url?: string | null | undefined;
|
|
306
|
+
archived_at?: string | null | undefined;
|
|
308
307
|
category?: string | null | undefined;
|
|
309
|
-
|
|
308
|
+
content?: string | null | undefined;
|
|
309
|
+
custom_attributes?: any;
|
|
310
310
|
discarded_at?: string | null | undefined;
|
|
311
|
-
archived_at?: string | null | undefined;
|
|
312
311
|
read_at?: string | null | undefined;
|
|
313
312
|
seen_at?: string | null | undefined;
|
|
314
313
|
sent_at?: string | null | undefined;
|
|
314
|
+
topic?: string | null | undefined;
|
|
315
315
|
}[] | undefined;
|
|
316
316
|
links?: {
|
|
317
317
|
first?: string | undefined;
|
|
@@ -346,32 +346,32 @@ export declare const notificationCollectionRequest: z.ZodLazy<z.ZodEffects<z.Zod
|
|
|
346
346
|
updatedAt: string;
|
|
347
347
|
title: string;
|
|
348
348
|
userId: string;
|
|
349
|
-
customAttributes?: any;
|
|
350
349
|
actionUrl?: string | null | undefined;
|
|
351
|
-
|
|
350
|
+
archivedAt?: string | null | undefined;
|
|
352
351
|
category?: string | null | undefined;
|
|
353
|
-
|
|
352
|
+
content?: string | null | undefined;
|
|
353
|
+
customAttributes?: any;
|
|
354
354
|
discardedAt?: string | null | undefined;
|
|
355
|
-
archivedAt?: string | null | undefined;
|
|
356
355
|
readAt?: string | null | undefined;
|
|
357
356
|
seenAt?: string | null | undefined;
|
|
358
357
|
sentAt?: string | null | undefined;
|
|
358
|
+
topic?: string | null | undefined;
|
|
359
359
|
}, {
|
|
360
360
|
createdAt: string;
|
|
361
361
|
id: string;
|
|
362
362
|
updatedAt: string;
|
|
363
363
|
title: string;
|
|
364
364
|
userId: string;
|
|
365
|
-
customAttributes?: any;
|
|
366
365
|
actionUrl?: string | null | undefined;
|
|
367
|
-
|
|
366
|
+
archivedAt?: string | null | undefined;
|
|
368
367
|
category?: string | null | undefined;
|
|
369
|
-
|
|
368
|
+
content?: string | null | undefined;
|
|
369
|
+
customAttributes?: any;
|
|
370
370
|
discardedAt?: string | null | undefined;
|
|
371
|
-
archivedAt?: string | null | undefined;
|
|
372
371
|
readAt?: string | null | undefined;
|
|
373
372
|
seenAt?: string | null | undefined;
|
|
374
373
|
sentAt?: string | null | undefined;
|
|
374
|
+
topic?: string | null | undefined;
|
|
375
375
|
}>, {
|
|
376
376
|
action_url: string | null | undefined;
|
|
377
377
|
archived_at: string | null | undefined;
|
|
@@ -394,16 +394,16 @@ export declare const notificationCollectionRequest: z.ZodLazy<z.ZodEffects<z.Zod
|
|
|
394
394
|
updatedAt: string;
|
|
395
395
|
title: string;
|
|
396
396
|
userId: string;
|
|
397
|
-
customAttributes?: any;
|
|
398
397
|
actionUrl?: string | null | undefined;
|
|
399
|
-
|
|
398
|
+
archivedAt?: string | null | undefined;
|
|
400
399
|
category?: string | null | undefined;
|
|
401
|
-
|
|
400
|
+
content?: string | null | undefined;
|
|
401
|
+
customAttributes?: any;
|
|
402
402
|
discardedAt?: string | null | undefined;
|
|
403
|
-
archivedAt?: string | null | undefined;
|
|
404
403
|
readAt?: string | null | undefined;
|
|
405
404
|
seenAt?: string | null | undefined;
|
|
406
405
|
sentAt?: string | null | undefined;
|
|
406
|
+
topic?: string | null | undefined;
|
|
407
407
|
}>>, "many">>;
|
|
408
408
|
links: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
409
409
|
first: z.ZodOptional<z.ZodString>;
|
|
@@ -456,16 +456,16 @@ export declare const notificationCollectionRequest: z.ZodLazy<z.ZodEffects<z.Zod
|
|
|
456
456
|
updatedAt: string;
|
|
457
457
|
title: string;
|
|
458
458
|
userId: string;
|
|
459
|
-
customAttributes?: any;
|
|
460
459
|
actionUrl?: string | null | undefined;
|
|
461
|
-
|
|
460
|
+
archivedAt?: string | null | undefined;
|
|
462
461
|
category?: string | null | undefined;
|
|
463
|
-
|
|
462
|
+
content?: string | null | undefined;
|
|
463
|
+
customAttributes?: any;
|
|
464
464
|
discardedAt?: string | null | undefined;
|
|
465
|
-
archivedAt?: string | null | undefined;
|
|
466
465
|
readAt?: string | null | undefined;
|
|
467
466
|
seenAt?: string | null | undefined;
|
|
468
467
|
sentAt?: string | null | undefined;
|
|
468
|
+
topic?: string | null | undefined;
|
|
469
469
|
}[] | undefined;
|
|
470
470
|
links?: {
|
|
471
471
|
first?: string | undefined;
|
|
@@ -502,16 +502,16 @@ export declare const notificationCollectionRequest: z.ZodLazy<z.ZodEffects<z.Zod
|
|
|
502
502
|
updatedAt: string;
|
|
503
503
|
title: string;
|
|
504
504
|
userId: string;
|
|
505
|
-
customAttributes?: any;
|
|
506
505
|
actionUrl?: string | null | undefined;
|
|
507
|
-
|
|
506
|
+
archivedAt?: string | null | undefined;
|
|
508
507
|
category?: string | null | undefined;
|
|
509
|
-
|
|
508
|
+
content?: string | null | undefined;
|
|
509
|
+
customAttributes?: any;
|
|
510
510
|
discardedAt?: string | null | undefined;
|
|
511
|
-
archivedAt?: string | null | undefined;
|
|
512
511
|
readAt?: string | null | undefined;
|
|
513
512
|
seenAt?: string | null | undefined;
|
|
514
513
|
sentAt?: string | null | undefined;
|
|
514
|
+
topic?: string | null | undefined;
|
|
515
515
|
}[] | undefined;
|
|
516
516
|
links?: {
|
|
517
517
|
first?: string | undefined;
|
|
@@ -24,32 +24,32 @@ export declare const notification: z.ZodLazy<z.ZodObject<{
|
|
|
24
24
|
updatedAt: string;
|
|
25
25
|
title: string;
|
|
26
26
|
userId: string;
|
|
27
|
-
customAttributes?: any;
|
|
28
27
|
actionUrl?: string | null | undefined;
|
|
29
|
-
|
|
28
|
+
archivedAt?: string | null | undefined;
|
|
30
29
|
category?: string | null | undefined;
|
|
31
|
-
|
|
30
|
+
content?: string | null | undefined;
|
|
31
|
+
customAttributes?: any;
|
|
32
32
|
discardedAt?: string | null | undefined;
|
|
33
|
-
archivedAt?: string | null | undefined;
|
|
34
33
|
readAt?: string | null | undefined;
|
|
35
34
|
seenAt?: string | null | undefined;
|
|
36
35
|
sentAt?: string | null | undefined;
|
|
36
|
+
topic?: string | null | undefined;
|
|
37
37
|
}, {
|
|
38
38
|
createdAt: string;
|
|
39
39
|
id: string;
|
|
40
40
|
updatedAt: string;
|
|
41
41
|
title: string;
|
|
42
42
|
userId: string;
|
|
43
|
-
customAttributes?: any;
|
|
44
43
|
actionUrl?: string | null | undefined;
|
|
45
|
-
|
|
44
|
+
archivedAt?: string | null | undefined;
|
|
46
45
|
category?: string | null | undefined;
|
|
47
|
-
|
|
46
|
+
content?: string | null | undefined;
|
|
47
|
+
customAttributes?: any;
|
|
48
48
|
discardedAt?: string | null | undefined;
|
|
49
|
-
archivedAt?: string | null | undefined;
|
|
50
49
|
readAt?: string | null | undefined;
|
|
51
50
|
seenAt?: string | null | undefined;
|
|
52
51
|
sentAt?: string | null | undefined;
|
|
52
|
+
topic?: string | null | undefined;
|
|
53
53
|
}>>;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
@@ -97,32 +97,32 @@ export declare const notificationResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
97
97
|
updated_at: string;
|
|
98
98
|
title: string;
|
|
99
99
|
user_id: string;
|
|
100
|
-
custom_attributes?: any;
|
|
101
|
-
content?: string | null | undefined;
|
|
102
100
|
action_url?: string | null | undefined;
|
|
101
|
+
archived_at?: string | null | undefined;
|
|
103
102
|
category?: string | null | undefined;
|
|
104
|
-
|
|
103
|
+
content?: string | null | undefined;
|
|
104
|
+
custom_attributes?: any;
|
|
105
105
|
discarded_at?: string | null | undefined;
|
|
106
|
-
archived_at?: string | null | undefined;
|
|
107
106
|
read_at?: string | null | undefined;
|
|
108
107
|
seen_at?: string | null | undefined;
|
|
109
108
|
sent_at?: string | null | undefined;
|
|
109
|
+
topic?: string | null | undefined;
|
|
110
110
|
}, {
|
|
111
111
|
id: string;
|
|
112
112
|
created_at: string;
|
|
113
113
|
updated_at: string;
|
|
114
114
|
title: string;
|
|
115
115
|
user_id: string;
|
|
116
|
-
custom_attributes?: any;
|
|
117
|
-
content?: string | null | undefined;
|
|
118
116
|
action_url?: string | null | undefined;
|
|
117
|
+
archived_at?: string | null | undefined;
|
|
119
118
|
category?: string | null | undefined;
|
|
120
|
-
|
|
119
|
+
content?: string | null | undefined;
|
|
120
|
+
custom_attributes?: any;
|
|
121
121
|
discarded_at?: string | null | undefined;
|
|
122
|
-
archived_at?: string | null | undefined;
|
|
123
122
|
read_at?: string | null | undefined;
|
|
124
123
|
seen_at?: string | null | undefined;
|
|
125
124
|
sent_at?: string | null | undefined;
|
|
125
|
+
topic?: string | null | undefined;
|
|
126
126
|
}>, {
|
|
127
127
|
actionUrl: string | null | undefined;
|
|
128
128
|
archivedAt: string | null | undefined;
|
|
@@ -145,16 +145,16 @@ export declare const notificationResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
145
145
|
updated_at: string;
|
|
146
146
|
title: string;
|
|
147
147
|
user_id: string;
|
|
148
|
-
custom_attributes?: any;
|
|
149
|
-
content?: string | null | undefined;
|
|
150
148
|
action_url?: string | null | undefined;
|
|
149
|
+
archived_at?: string | null | undefined;
|
|
151
150
|
category?: string | null | undefined;
|
|
152
|
-
|
|
151
|
+
content?: string | null | undefined;
|
|
152
|
+
custom_attributes?: any;
|
|
153
153
|
discarded_at?: string | null | undefined;
|
|
154
|
-
archived_at?: string | null | undefined;
|
|
155
154
|
read_at?: string | null | undefined;
|
|
156
155
|
seen_at?: string | null | undefined;
|
|
157
156
|
sent_at?: string | null | undefined;
|
|
157
|
+
topic?: string | null | undefined;
|
|
158
158
|
}>>;
|
|
159
159
|
/**
|
|
160
160
|
* The shape of the model mapping from the application shape into the api schema.
|
|
@@ -182,32 +182,32 @@ export declare const notificationRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
182
182
|
updatedAt: string;
|
|
183
183
|
title: string;
|
|
184
184
|
userId: string;
|
|
185
|
-
customAttributes?: any;
|
|
186
185
|
actionUrl?: string | null | undefined;
|
|
187
|
-
|
|
186
|
+
archivedAt?: string | null | undefined;
|
|
188
187
|
category?: string | null | undefined;
|
|
189
|
-
|
|
188
|
+
content?: string | null | undefined;
|
|
189
|
+
customAttributes?: any;
|
|
190
190
|
discardedAt?: string | null | undefined;
|
|
191
|
-
archivedAt?: string | null | undefined;
|
|
192
191
|
readAt?: string | null | undefined;
|
|
193
192
|
seenAt?: string | null | undefined;
|
|
194
193
|
sentAt?: string | null | undefined;
|
|
194
|
+
topic?: string | null | undefined;
|
|
195
195
|
}, {
|
|
196
196
|
createdAt: string;
|
|
197
197
|
id: string;
|
|
198
198
|
updatedAt: string;
|
|
199
199
|
title: string;
|
|
200
200
|
userId: string;
|
|
201
|
-
customAttributes?: any;
|
|
202
201
|
actionUrl?: string | null | undefined;
|
|
203
|
-
|
|
202
|
+
archivedAt?: string | null | undefined;
|
|
204
203
|
category?: string | null | undefined;
|
|
205
|
-
|
|
204
|
+
content?: string | null | undefined;
|
|
205
|
+
customAttributes?: any;
|
|
206
206
|
discardedAt?: string | null | undefined;
|
|
207
|
-
archivedAt?: string | null | undefined;
|
|
208
207
|
readAt?: string | null | undefined;
|
|
209
208
|
seenAt?: string | null | undefined;
|
|
210
209
|
sentAt?: string | null | undefined;
|
|
210
|
+
topic?: string | null | undefined;
|
|
211
211
|
}>, {
|
|
212
212
|
action_url: string | null | undefined;
|
|
213
213
|
archived_at: string | null | undefined;
|
|
@@ -230,15 +230,15 @@ export declare const notificationRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
230
230
|
updatedAt: string;
|
|
231
231
|
title: string;
|
|
232
232
|
userId: string;
|
|
233
|
-
customAttributes?: any;
|
|
234
233
|
actionUrl?: string | null | undefined;
|
|
235
|
-
|
|
234
|
+
archivedAt?: string | null | undefined;
|
|
236
235
|
category?: string | null | undefined;
|
|
237
|
-
|
|
236
|
+
content?: string | null | undefined;
|
|
237
|
+
customAttributes?: any;
|
|
238
238
|
discardedAt?: string | null | undefined;
|
|
239
|
-
archivedAt?: string | null | undefined;
|
|
240
239
|
readAt?: string | null | undefined;
|
|
241
240
|
seenAt?: string | null | undefined;
|
|
242
241
|
sentAt?: string | null | undefined;
|
|
242
|
+
topic?: string | null | undefined;
|
|
243
243
|
}>>;
|
|
244
244
|
//# sourceMappingURL=notification.d.ts.map
|
|
@@ -12,59 +12,59 @@ export declare class NotificationsService extends BaseService {
|
|
|
12
12
|
* @param {string} [params.status] -
|
|
13
13
|
* @param {string} [params.category] -
|
|
14
14
|
* @param {string} [params.topic] -
|
|
15
|
-
* @param {RequestConfig} requestConfig -
|
|
16
|
-
* @returns {Promise<HttpResponse<NotificationCollection>>} OK
|
|
15
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
16
|
+
* @returns {Promise<HttpResponse<NotificationCollection>>} - OK
|
|
17
17
|
*/
|
|
18
18
|
listNotifications(params?: ListNotificationsParams, requestConfig?: RequestConfig): Promise<HttpResponse<NotificationCollection>>;
|
|
19
19
|
/**
|
|
20
20
|
* Archive all notifications.
|
|
21
21
|
* @param {string} [params.category] -
|
|
22
22
|
* @param {string} [params.topic] -
|
|
23
|
-
* @param {RequestConfig} requestConfig -
|
|
24
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
23
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
24
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
25
25
|
*/
|
|
26
26
|
archiveAllNotifications(params?: ArchiveAllNotificationsParams, requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
|
|
27
27
|
/**
|
|
28
28
|
* Marks all notifications as read.
|
|
29
29
|
* @param {string} [params.category] -
|
|
30
30
|
* @param {string} [params.topic] -
|
|
31
|
-
* @param {RequestConfig} requestConfig -
|
|
32
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
31
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
32
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
33
33
|
*/
|
|
34
34
|
markAllNotificationsRead(params?: MarkAllNotificationsReadParams, requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
|
|
35
35
|
/**
|
|
36
36
|
* Gets a notification by ID.
|
|
37
37
|
* @param {string} notificationId -
|
|
38
|
-
* @param {RequestConfig} requestConfig -
|
|
39
|
-
* @returns {Promise<HttpResponse<Notification>>} OK
|
|
38
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
39
|
+
* @returns {Promise<HttpResponse<Notification>>} - OK
|
|
40
40
|
*/
|
|
41
41
|
fetchNotification(notificationId: string, requestConfig?: RequestConfig): Promise<HttpResponse<Notification>>;
|
|
42
42
|
/**
|
|
43
43
|
* Archive a notification.
|
|
44
44
|
* @param {string} notificationId -
|
|
45
|
-
* @param {RequestConfig} requestConfig -
|
|
46
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
45
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
46
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
47
47
|
*/
|
|
48
48
|
archiveNotification(notificationId: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
|
|
49
49
|
/**
|
|
50
50
|
* Marks a notification as read.
|
|
51
51
|
* @param {string} notificationId -
|
|
52
|
-
* @param {RequestConfig} requestConfig -
|
|
53
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
52
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
53
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
54
54
|
*/
|
|
55
55
|
markNotificationRead(notificationId: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
|
|
56
56
|
/**
|
|
57
57
|
* Unarchives a notification.
|
|
58
58
|
* @param {string} notificationId -
|
|
59
|
-
* @param {RequestConfig} requestConfig -
|
|
60
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
59
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
60
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
61
61
|
*/
|
|
62
62
|
unarchiveNotification(notificationId: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
|
|
63
63
|
/**
|
|
64
64
|
* Marks a notification as unread.
|
|
65
65
|
* @param {string} notificationId -
|
|
66
|
-
* @param {RequestConfig} requestConfig -
|
|
67
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
66
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
67
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
68
68
|
*/
|
|
69
69
|
markNotificationUnread(notificationId: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>>;
|
|
70
70
|
}
|
|
@@ -14,8 +14,8 @@ export class NotificationsService extends BaseService {
|
|
|
14
14
|
* @param {string} [params.status] -
|
|
15
15
|
* @param {string} [params.category] -
|
|
16
16
|
* @param {string} [params.topic] -
|
|
17
|
-
* @param {RequestConfig} requestConfig -
|
|
18
|
-
* @returns {Promise<HttpResponse<NotificationCollection>>} OK
|
|
17
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
18
|
+
* @returns {Promise<HttpResponse<NotificationCollection>>} - OK
|
|
19
19
|
*/
|
|
20
20
|
async listNotifications(params, requestConfig) {
|
|
21
21
|
const request = new RequestBuilder()
|
|
@@ -65,8 +65,8 @@ export class NotificationsService extends BaseService {
|
|
|
65
65
|
* Archive all notifications.
|
|
66
66
|
* @param {string} [params.category] -
|
|
67
67
|
* @param {string} [params.topic] -
|
|
68
|
-
* @param {RequestConfig} requestConfig -
|
|
69
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
68
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
69
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
70
70
|
*/
|
|
71
71
|
async archiveAllNotifications(params, requestConfig) {
|
|
72
72
|
const request = new RequestBuilder()
|
|
@@ -100,8 +100,8 @@ export class NotificationsService extends BaseService {
|
|
|
100
100
|
* Marks all notifications as read.
|
|
101
101
|
* @param {string} [params.category] -
|
|
102
102
|
* @param {string} [params.topic] -
|
|
103
|
-
* @param {RequestConfig} requestConfig -
|
|
104
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
103
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
104
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
105
105
|
*/
|
|
106
106
|
async markAllNotificationsRead(params, requestConfig) {
|
|
107
107
|
const request = new RequestBuilder()
|
|
@@ -134,8 +134,8 @@ export class NotificationsService extends BaseService {
|
|
|
134
134
|
/**
|
|
135
135
|
* Gets a notification by ID.
|
|
136
136
|
* @param {string} notificationId -
|
|
137
|
-
* @param {RequestConfig} requestConfig -
|
|
138
|
-
* @returns {Promise<HttpResponse<Notification>>} OK
|
|
137
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
138
|
+
* @returns {Promise<HttpResponse<Notification>>} - OK
|
|
139
139
|
*/
|
|
140
140
|
async fetchNotification(notificationId, requestConfig) {
|
|
141
141
|
const request = new RequestBuilder()
|
|
@@ -164,8 +164,8 @@ export class NotificationsService extends BaseService {
|
|
|
164
164
|
/**
|
|
165
165
|
* Archive a notification.
|
|
166
166
|
* @param {string} notificationId -
|
|
167
|
-
* @param {RequestConfig} requestConfig -
|
|
168
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
167
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
168
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
169
169
|
*/
|
|
170
170
|
async archiveNotification(notificationId, requestConfig) {
|
|
171
171
|
const request = new RequestBuilder()
|
|
@@ -194,8 +194,8 @@ export class NotificationsService extends BaseService {
|
|
|
194
194
|
/**
|
|
195
195
|
* Marks a notification as read.
|
|
196
196
|
* @param {string} notificationId -
|
|
197
|
-
* @param {RequestConfig} requestConfig -
|
|
198
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
197
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
198
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
199
199
|
*/
|
|
200
200
|
async markNotificationRead(notificationId, requestConfig) {
|
|
201
201
|
const request = new RequestBuilder()
|
|
@@ -224,8 +224,8 @@ export class NotificationsService extends BaseService {
|
|
|
224
224
|
/**
|
|
225
225
|
* Unarchives a notification.
|
|
226
226
|
* @param {string} notificationId -
|
|
227
|
-
* @param {RequestConfig} requestConfig -
|
|
228
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
227
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
228
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
229
229
|
*/
|
|
230
230
|
async unarchiveNotification(notificationId, requestConfig) {
|
|
231
231
|
const request = new RequestBuilder()
|
|
@@ -254,8 +254,8 @@ export class NotificationsService extends BaseService {
|
|
|
254
254
|
/**
|
|
255
255
|
* Marks a notification as unread.
|
|
256
256
|
* @param {string} notificationId -
|
|
257
|
-
* @param {RequestConfig} requestConfig -
|
|
258
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
257
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
258
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
259
259
|
*/
|
|
260
260
|
async markNotificationUnread(notificationId, requestConfig) {
|
|
261
261
|
const request = new RequestBuilder()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "magicbell-js",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "OpenAPI 3.1.0 Specification for MagicBell API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -68,11 +68,11 @@
|
|
|
68
68
|
"start": "tshy --watch"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"zod": "3.
|
|
71
|
+
"zod": "3.22.0"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@magicbell/codegen": "^0.4.0",
|
|
75
|
-
"typescript": "
|
|
75
|
+
"typescript": "5.7.3"
|
|
76
76
|
},
|
|
77
77
|
"docs": {
|
|
78
78
|
"name": "JavaScript SDK"
|