@enbbox/api 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +380 -0
- package/dist/api/activity-api.d.ts +381 -0
- package/dist/api/activity-api.js +636 -0
- package/dist/api/billing-api.d.ts +337 -0
- package/dist/api/billing-api.js +571 -0
- package/dist/api/channel-connections-api.d.ts +263 -0
- package/dist/api/channel-connections-api.js +437 -0
- package/dist/api/channel-endpoints-api.d.ts +263 -0
- package/dist/api/channel-endpoints-api.js +437 -0
- package/dist/api/contexts-api.d.ts +278 -0
- package/dist/api/contexts-api.js +458 -0
- package/dist/api/events-api.d.ts +203 -0
- package/dist/api/events-api.js +341 -0
- package/dist/api/feature-flags-api.d.ts +74 -0
- package/dist/api/feature-flags-api.js +124 -0
- package/dist/api/health-api.d.ts +144 -0
- package/dist/api/health-api.js +237 -0
- package/dist/api/inbound-parse-api.d.ts +79 -0
- package/dist/api/inbound-parse-api.js +129 -0
- package/dist/api/inbox-api.d.ts +582 -0
- package/dist/api/inbox-api.js +976 -0
- package/dist/api/integrations-api.d.ts +420 -0
- package/dist/api/integrations-api.js +707 -0
- package/dist/api/layouts-api.d.ts +431 -0
- package/dist/api/layouts-api.js +721 -0
- package/dist/api/messages-api.d.ts +185 -0
- package/dist/api/messages-api.js +303 -0
- package/dist/api/metrics-api.d.ts +74 -0
- package/dist/api/metrics-api.js +121 -0
- package/dist/api/notification-groups-api.d.ts +202 -0
- package/dist/api/notification-groups-api.js +340 -0
- package/dist/api/notifications-api.d.ts +171 -0
- package/dist/api/notifications-api.js +284 -0
- package/dist/api/preferences-api.d.ts +176 -0
- package/dist/api/preferences-api.js +293 -0
- package/dist/api/projects-api.d.ts +541 -0
- package/dist/api/projects-api.js +915 -0
- package/dist/api/subscribers-api.d.ts +780 -0
- package/dist/api/subscribers-api.js +1292 -0
- package/dist/api/topics-api.d.ts +689 -0
- package/dist/api/topics-api.js +1143 -0
- package/dist/api/translations-api.d.ts +239 -0
- package/dist/api/translations-api.js +405 -0
- package/dist/api/webhooks-api.d.ts +208 -0
- package/dist/api/webhooks-api.js +344 -0
- package/dist/api/workflows-api.d.ts +493 -0
- package/dist/api/workflows-api.js +820 -0
- package/dist/api.d.ts +34 -0
- package/dist/api.js +52 -0
- package/dist/base.d.ts +42 -0
- package/dist/base.js +46 -0
- package/dist/common.d.ts +34 -0
- package/dist/common.js +139 -0
- package/dist/configuration.d.ts +98 -0
- package/dist/configuration.js +44 -0
- package/dist/esm/api/activity-api.d.ts +381 -0
- package/dist/esm/api/activity-api.js +629 -0
- package/dist/esm/api/billing-api.d.ts +337 -0
- package/dist/esm/api/billing-api.js +564 -0
- package/dist/esm/api/channel-connections-api.d.ts +263 -0
- package/dist/esm/api/channel-connections-api.js +430 -0
- package/dist/esm/api/channel-endpoints-api.d.ts +263 -0
- package/dist/esm/api/channel-endpoints-api.js +430 -0
- package/dist/esm/api/contexts-api.d.ts +278 -0
- package/dist/esm/api/contexts-api.js +451 -0
- package/dist/esm/api/events-api.d.ts +203 -0
- package/dist/esm/api/events-api.js +334 -0
- package/dist/esm/api/feature-flags-api.d.ts +74 -0
- package/dist/esm/api/feature-flags-api.js +117 -0
- package/dist/esm/api/health-api.d.ts +144 -0
- package/dist/esm/api/health-api.js +230 -0
- package/dist/esm/api/inbound-parse-api.d.ts +79 -0
- package/dist/esm/api/inbound-parse-api.js +122 -0
- package/dist/esm/api/inbox-api.d.ts +582 -0
- package/dist/esm/api/inbox-api.js +969 -0
- package/dist/esm/api/integrations-api.d.ts +420 -0
- package/dist/esm/api/integrations-api.js +700 -0
- package/dist/esm/api/layouts-api.d.ts +431 -0
- package/dist/esm/api/layouts-api.js +714 -0
- package/dist/esm/api/messages-api.d.ts +185 -0
- package/dist/esm/api/messages-api.js +296 -0
- package/dist/esm/api/metrics-api.d.ts +74 -0
- package/dist/esm/api/metrics-api.js +114 -0
- package/dist/esm/api/notification-groups-api.d.ts +202 -0
- package/dist/esm/api/notification-groups-api.js +333 -0
- package/dist/esm/api/notifications-api.d.ts +171 -0
- package/dist/esm/api/notifications-api.js +277 -0
- package/dist/esm/api/preferences-api.d.ts +176 -0
- package/dist/esm/api/preferences-api.js +286 -0
- package/dist/esm/api/projects-api.d.ts +541 -0
- package/dist/esm/api/projects-api.js +908 -0
- package/dist/esm/api/subscribers-api.d.ts +780 -0
- package/dist/esm/api/subscribers-api.js +1285 -0
- package/dist/esm/api/topics-api.d.ts +689 -0
- package/dist/esm/api/topics-api.js +1136 -0
- package/dist/esm/api/translations-api.d.ts +239 -0
- package/dist/esm/api/translations-api.js +398 -0
- package/dist/esm/api/webhooks-api.d.ts +208 -0
- package/dist/esm/api/webhooks-api.js +337 -0
- package/dist/esm/api/workflows-api.d.ts +493 -0
- package/dist/esm/api/workflows-api.js +813 -0
- package/dist/esm/api.d.ts +34 -0
- package/dist/esm/api.js +36 -0
- package/dist/esm/base.d.ts +42 -0
- package/dist/esm/base.js +41 -0
- package/dist/esm/common.d.ts +34 -0
- package/dist/esm/common.js +126 -0
- package/dist/esm/configuration.d.ts +98 -0
- package/dist/esm/configuration.js +40 -0
- package/dist/esm/index.d.ts +14 -0
- package/dist/esm/index.js +16 -0
- package/dist/esm/models/action-body.d.ts +20 -0
- package/dist/esm/models/action-body.js +14 -0
- package/dist/esm/models/action-record.d.ts +22 -0
- package/dist/esm/models/action-record.js +14 -0
- package/dist/esm/models/action-type.d.ts +22 -0
- package/dist/esm/models/action-type.js +23 -0
- package/dist/esm/models/activity-chart-point.d.ts +40 -0
- package/dist/esm/models/activity-chart-point.js +14 -0
- package/dist/esm/models/activity-record.d.ts +56 -0
- package/dist/esm/models/activity-record.js +14 -0
- package/dist/esm/models/activity-request-record.d.ts +40 -0
- package/dist/esm/models/activity-request-record.js +14 -0
- package/dist/esm/models/activity-stats.d.ts +40 -0
- package/dist/esm/models/activity-stats.js +14 -0
- package/dist/esm/models/actor-type.d.ts +21 -0
- package/dist/esm/models/actor-type.js +22 -0
- package/dist/esm/models/api-key-created.d.ts +32 -0
- package/dist/esm/models/api-key-created.js +14 -0
- package/dist/esm/models/api-key-info.d.ts +32 -0
- package/dist/esm/models/api-key-info.js +14 -0
- package/dist/esm/models/auto-configure-result.d.ts +17 -0
- package/dist/esm/models/auto-configure-result.js +14 -0
- package/dist/esm/models/billing-interval.d.ts +19 -0
- package/dist/esm/models/billing-interval.js +20 -0
- package/dist/esm/models/branding.d.ts +40 -0
- package/dist/esm/models/branding.js +14 -0
- package/dist/esm/models/broadcast-trigger.d.ts +23 -0
- package/dist/esm/models/broadcast-trigger.js +14 -0
- package/dist/esm/models/bulk-create-subscribers.d.ts +18 -0
- package/dist/esm/models/bulk-create-subscribers.js +14 -0
- package/dist/esm/models/bulk-preference-item.d.ts +17 -0
- package/dist/esm/models/bulk-preference-item.js +14 -0
- package/dist/esm/models/bulk-preferences.d.ts +18 -0
- package/dist/esm/models/bulk-preferences.js +14 -0
- package/dist/esm/models/bulk-result.d.ts +16 -0
- package/dist/esm/models/bulk-result.js +14 -0
- package/dist/esm/models/bulk-trigger.d.ts +21 -0
- package/dist/esm/models/bulk-trigger.js +14 -0
- package/dist/esm/models/channel-connection-record.d.ts +37 -0
- package/dist/esm/models/channel-connection-record.js +14 -0
- package/dist/esm/models/channel-endpoint-record.d.ts +41 -0
- package/dist/esm/models/channel-endpoint-record.js +14 -0
- package/dist/esm/models/channel-preferences.d.ts +21 -0
- package/dist/esm/models/channel-preferences.js +14 -0
- package/dist/esm/models/channel-type.d.ts +22 -0
- package/dist/esm/models/channel-type.js +23 -0
- package/dist/esm/models/chart-query.d.ts +20 -0
- package/dist/esm/models/chart-query.js +14 -0
- package/dist/esm/models/chat-oauth-request.d.ts +15 -0
- package/dist/esm/models/chat-oauth-request.js +14 -0
- package/dist/esm/models/chat-oauth.d.ts +17 -0
- package/dist/esm/models/chat-oauth.js +14 -0
- package/dist/esm/models/checkout-session.d.ts +25 -0
- package/dist/esm/models/checkout-session.js +14 -0
- package/dist/esm/models/context-record.d.ts +36 -0
- package/dist/esm/models/context-record.js +14 -0
- package/dist/esm/models/create-channel-connection.d.ts +29 -0
- package/dist/esm/models/create-channel-connection.js +14 -0
- package/dist/esm/models/create-channel-endpoint.d.ts +33 -0
- package/dist/esm/models/create-channel-endpoint.js +14 -0
- package/dist/esm/models/create-checkout.d.ts +25 -0
- package/dist/esm/models/create-checkout.js +14 -0
- package/dist/esm/models/create-context.d.ts +28 -0
- package/dist/esm/models/create-context.js +14 -0
- package/dist/esm/models/create-integration.d.ts +41 -0
- package/dist/esm/models/create-integration.js +14 -0
- package/dist/esm/models/create-layout.d.ts +28 -0
- package/dist/esm/models/create-layout.js +14 -0
- package/dist/esm/models/create-notification-group.d.ts +20 -0
- package/dist/esm/models/create-notification-group.js +14 -0
- package/dist/esm/models/create-project.d.ts +20 -0
- package/dist/esm/models/create-project.js +14 -0
- package/dist/esm/models/create-subscriber.d.ts +52 -0
- package/dist/esm/models/create-subscriber.js +14 -0
- package/dist/esm/models/create-subscription.d.ts +17 -0
- package/dist/esm/models/create-subscription.js +14 -0
- package/dist/esm/models/create-topic.d.ts +24 -0
- package/dist/esm/models/create-topic.js +14 -0
- package/dist/esm/models/create-webhook.d.ts +24 -0
- package/dist/esm/models/create-webhook.js +14 -0
- package/dist/esm/models/create-workflow.d.ts +50 -0
- package/dist/esm/models/create-workflow.js +14 -0
- package/dist/esm/models/cta-type.d.ts +18 -0
- package/dist/esm/models/cta-type.js +19 -0
- package/dist/esm/models/cursor-meta.d.ts +32 -0
- package/dist/esm/models/cursor-meta.js +14 -0
- package/dist/esm/models/cursor-paginated-feed-item-data-inner.d.ts +34 -0
- package/dist/esm/models/cursor-paginated-feed-item-data-inner.js +14 -0
- package/dist/esm/models/cursor-paginated-feed-item.d.ts +26 -0
- package/dist/esm/models/cursor-paginated-feed-item.js +14 -0
- package/dist/esm/models/cursor-paginated-message-record-data-inner.d.ts +39 -0
- package/dist/esm/models/cursor-paginated-message-record-data-inner.js +14 -0
- package/dist/esm/models/cursor-paginated-message-record.d.ts +26 -0
- package/dist/esm/models/cursor-paginated-message-record.js +14 -0
- package/dist/esm/models/cursor-pagination.d.ts +28 -0
- package/dist/esm/models/cursor-pagination.js +14 -0
- package/dist/esm/models/delete-subscription.d.ts +14 -0
- package/dist/esm/models/delete-subscription.js +14 -0
- package/dist/esm/models/delivery-ack.d.ts +17 -0
- package/dist/esm/models/delivery-ack.js +14 -0
- package/dist/esm/models/delivery-status-webhook.d.ts +23 -0
- package/dist/esm/models/delivery-status-webhook.js +14 -0
- package/dist/esm/models/dns-settings.d.ts +24 -0
- package/dist/esm/models/dns-settings.js +14 -0
- package/dist/esm/models/engagement-stats-response.d.ts +32 -0
- package/dist/esm/models/engagement-stats-response.js +14 -0
- package/dist/esm/models/entitlement-item.d.ts +28 -0
- package/dist/esm/models/entitlement-item.js +14 -0
- package/dist/esm/models/entitlements.d.ts +18 -0
- package/dist/esm/models/entitlements.js +14 -0
- package/dist/esm/models/error-detail.d.ts +32 -0
- package/dist/esm/models/error-detail.js +14 -0
- package/dist/esm/models/events-usage.d.ts +24 -0
- package/dist/esm/models/events-usage.js +14 -0
- package/dist/esm/models/feed-item.d.ts +34 -0
- package/dist/esm/models/feed-item.js +14 -0
- package/dist/esm/models/feed-query.d.ts +22 -0
- package/dist/esm/models/feed-query.js +14 -0
- package/dist/esm/models/inbox-notification.d.ts +33 -0
- package/dist/esm/models/inbox-notification.js +14 -0
- package/dist/esm/models/inbox-preference.d.ts +19 -0
- package/dist/esm/models/inbox-preference.js +14 -0
- package/dist/esm/models/inbox-query.d.ts +20 -0
- package/dist/esm/models/inbox-query.js +14 -0
- package/dist/esm/models/index.d.ts +158 -0
- package/dist/esm/models/index.js +158 -0
- package/dist/esm/models/init-session-request.d.ts +24 -0
- package/dist/esm/models/init-session-request.js +14 -0
- package/dist/esm/models/init-session-response.d.ts +24 -0
- package/dist/esm/models/init-session-response.js +14 -0
- package/dist/esm/models/integration-record.d.ts +49 -0
- package/dist/esm/models/integration-record.js +14 -0
- package/dist/esm/models/invite-member-body.d.ts +24 -0
- package/dist/esm/models/invite-member-body.js +14 -0
- package/dist/esm/models/invite-member.d.ts +24 -0
- package/dist/esm/models/invite-member.js +14 -0
- package/dist/esm/models/job-log.d.ts +41 -0
- package/dist/esm/models/job-log.js +14 -0
- package/dist/esm/models/layout-preview-result.d.ts +17 -0
- package/dist/esm/models/layout-preview-result.js +14 -0
- package/dist/esm/models/layout-preview.d.ts +17 -0
- package/dist/esm/models/layout-preview.js +14 -0
- package/dist/esm/models/layout-record.d.ts +31 -0
- package/dist/esm/models/layout-record.js +14 -0
- package/dist/esm/models/layout-usage-item.d.ts +18 -0
- package/dist/esm/models/layout-usage-item.js +14 -0
- package/dist/esm/models/mark-all.d.ts +17 -0
- package/dist/esm/models/mark-all.js +14 -0
- package/dist/esm/models/mark-messages.d.ts +18 -0
- package/dist/esm/models/mark-messages.js +14 -0
- package/dist/esm/models/mark-result.d.ts +17 -0
- package/dist/esm/models/mark-result.js +14 -0
- package/dist/esm/models/member-record.d.ts +32 -0
- package/dist/esm/models/member-record.js +14 -0
- package/dist/esm/models/member-role.d.ts +21 -0
- package/dist/esm/models/member-role.js +22 -0
- package/dist/esm/models/member-status.d.ts +20 -0
- package/dist/esm/models/member-status.js +21 -0
- package/dist/esm/models/message-query.d.ts +40 -0
- package/dist/esm/models/message-query.js +14 -0
- package/dist/esm/models/message-record.d.ts +39 -0
- package/dist/esm/models/message-record.js +14 -0
- package/dist/esm/models/notification-count.d.ts +19 -0
- package/dist/esm/models/notification-count.js +14 -0
- package/dist/esm/models/notification-group-record.d.ts +24 -0
- package/dist/esm/models/notification-group-record.js +14 -0
- package/dist/esm/models/notification-log.d.ts +33 -0
- package/dist/esm/models/notification-log.js +14 -0
- package/dist/esm/models/notification-query.d.ts +28 -0
- package/dist/esm/models/notification-query.js +14 -0
- package/dist/esm/models/offset-meta.d.ts +32 -0
- package/dist/esm/models/offset-meta.js +14 -0
- package/dist/esm/models/offset-pagination.d.ts +32 -0
- package/dist/esm/models/offset-pagination.js +14 -0
- package/dist/esm/models/online-status.d.ts +17 -0
- package/dist/esm/models/online-status.js +14 -0
- package/dist/esm/models/paginated-channel-connection-record-data-inner.d.ts +37 -0
- package/dist/esm/models/paginated-channel-connection-record-data-inner.js +14 -0
- package/dist/esm/models/paginated-channel-connection-record.d.ts +26 -0
- package/dist/esm/models/paginated-channel-connection-record.js +14 -0
- package/dist/esm/models/paginated-channel-endpoint-record-data-inner.d.ts +41 -0
- package/dist/esm/models/paginated-channel-endpoint-record-data-inner.js +14 -0
- package/dist/esm/models/paginated-channel-endpoint-record.d.ts +26 -0
- package/dist/esm/models/paginated-channel-endpoint-record.js +14 -0
- package/dist/esm/models/paginated-context-record-data-inner.d.ts +36 -0
- package/dist/esm/models/paginated-context-record-data-inner.js +14 -0
- package/dist/esm/models/paginated-context-record.d.ts +26 -0
- package/dist/esm/models/paginated-context-record.js +14 -0
- package/dist/esm/models/paginated-integration-record-data-inner.d.ts +49 -0
- package/dist/esm/models/paginated-integration-record-data-inner.js +14 -0
- package/dist/esm/models/paginated-integration-record.d.ts +26 -0
- package/dist/esm/models/paginated-integration-record.js +14 -0
- package/dist/esm/models/paginated-layout-record-data-inner.d.ts +31 -0
- package/dist/esm/models/paginated-layout-record-data-inner.js +14 -0
- package/dist/esm/models/paginated-layout-record.d.ts +26 -0
- package/dist/esm/models/paginated-layout-record.js +14 -0
- package/dist/esm/models/paginated-subscriber-record-data-inner.d.ts +61 -0
- package/dist/esm/models/paginated-subscriber-record-data-inner.js +14 -0
- package/dist/esm/models/paginated-subscriber-record.d.ts +26 -0
- package/dist/esm/models/paginated-subscriber-record.js +14 -0
- package/dist/esm/models/paginated-topic-record-data-inner.d.ts +22 -0
- package/dist/esm/models/paginated-topic-record-data-inner.js +14 -0
- package/dist/esm/models/paginated-topic-record.d.ts +26 -0
- package/dist/esm/models/paginated-topic-record.js +14 -0
- package/dist/esm/models/paginated-topic-subscription-record-data-inner.d.ts +33 -0
- package/dist/esm/models/paginated-topic-subscription-record-data-inner.js +14 -0
- package/dist/esm/models/paginated-topic-subscription-record.d.ts +26 -0
- package/dist/esm/models/paginated-topic-subscription-record.js +14 -0
- package/dist/esm/models/paginated-workflow-record-data-inner.d.ts +52 -0
- package/dist/esm/models/paginated-workflow-record-data-inner.js +14 -0
- package/dist/esm/models/paginated-workflow-record.d.ts +26 -0
- package/dist/esm/models/paginated-workflow-record.js +14 -0
- package/dist/esm/models/pagination-query.d.ts +28 -0
- package/dist/esm/models/pagination-query.js +14 -0
- package/dist/esm/models/patch-credentials.d.ts +23 -0
- package/dist/esm/models/patch-credentials.js +14 -0
- package/dist/esm/models/plan-limits-response.d.ts +45 -0
- package/dist/esm/models/plan-limits-response.js +14 -0
- package/dist/esm/models/plan.d.ts +22 -0
- package/dist/esm/models/plan.js +23 -0
- package/dist/esm/models/portal-url.d.ts +20 -0
- package/dist/esm/models/portal-url.js +14 -0
- package/dist/esm/models/preference-channels.d.ts +21 -0
- package/dist/esm/models/preference-channels.js +14 -0
- package/dist/esm/models/preference-record.d.ts +24 -0
- package/dist/esm/models/preference-record.js +14 -0
- package/dist/esm/models/preview-result.d.ts +14 -0
- package/dist/esm/models/preview-result.js +14 -0
- package/dist/esm/models/price-info.d.ts +32 -0
- package/dist/esm/models/price-info.js +14 -0
- package/dist/esm/models/prices.d.ts +18 -0
- package/dist/esm/models/prices.js +14 -0
- package/dist/esm/models/project-record.d.ts +34 -0
- package/dist/esm/models/project-record.js +14 -0
- package/dist/esm/models/set-credentials.d.ts +23 -0
- package/dist/esm/models/set-credentials.js +14 -0
- package/dist/esm/models/step-preview.d.ts +17 -0
- package/dist/esm/models/step-preview.js +14 -0
- package/dist/esm/models/step-record.d.ts +30 -0
- package/dist/esm/models/step-record.js +14 -0
- package/dist/esm/models/step-type.d.ts +27 -0
- package/dist/esm/models/step-type.js +28 -0
- package/dist/esm/models/subscriber-credential.d.ts +20 -0
- package/dist/esm/models/subscriber-credential.js +14 -0
- package/dist/esm/models/subscriber-payload.d.ts +17 -0
- package/dist/esm/models/subscriber-payload.js +14 -0
- package/dist/esm/models/subscriber-record.d.ts +61 -0
- package/dist/esm/models/subscriber-record.js +14 -0
- package/dist/esm/models/subscription.d.ts +59 -0
- package/dist/esm/models/subscription.js +14 -0
- package/dist/esm/models/sync-workflow.d.ts +18 -0
- package/dist/esm/models/sync-workflow.js +14 -0
- package/dist/esm/models/system-avatar-icon.d.ts +23 -0
- package/dist/esm/models/system-avatar-icon.js +24 -0
- package/dist/esm/models/topic-record.d.ts +22 -0
- package/dist/esm/models/topic-record.js +14 -0
- package/dist/esm/models/topic-subscribers.d.ts +17 -0
- package/dist/esm/models/topic-subscribers.js +14 -0
- package/dist/esm/models/topic-subscription-record.d.ts +33 -0
- package/dist/esm/models/topic-subscription-record.js +14 -0
- package/dist/esm/models/topic-subscription.d.ts +21 -0
- package/dist/esm/models/topic-subscription.js +14 -0
- package/dist/esm/models/trial-info.d.ts +32 -0
- package/dist/esm/models/trial-info.js +14 -0
- package/dist/esm/models/trigger-event.d.ts +41 -0
- package/dist/esm/models/trigger-event.js +14 -0
- package/dist/esm/models/trigger-recipients-one-of.d.ts +17 -0
- package/dist/esm/models/trigger-recipients-one-of.js +14 -0
- package/dist/esm/models/trigger-recipients.d.ts +18 -0
- package/dist/esm/models/trigger-recipients.js +14 -0
- package/dist/esm/models/trigger-result.d.ts +29 -0
- package/dist/esm/models/trigger-result.js +14 -0
- package/dist/esm/models/trigger-status.d.ts +24 -0
- package/dist/esm/models/trigger-status.js +25 -0
- package/dist/esm/models/unseen-count.d.ts +17 -0
- package/dist/esm/models/unseen-count.js +14 -0
- package/dist/esm/models/update-channel-connection.d.ts +17 -0
- package/dist/esm/models/update-channel-connection.js +14 -0
- package/dist/esm/models/update-channel-endpoint.d.ts +21 -0
- package/dist/esm/models/update-channel-endpoint.js +14 -0
- package/dist/esm/models/update-context.d.ts +20 -0
- package/dist/esm/models/update-context.js +14 -0
- package/dist/esm/models/update-inbox-preferences.d.ts +21 -0
- package/dist/esm/models/update-inbox-preferences.js +14 -0
- package/dist/esm/models/update-integration.d.ts +32 -0
- package/dist/esm/models/update-integration.js +14 -0
- package/dist/esm/models/update-layout.d.ts +23 -0
- package/dist/esm/models/update-layout.js +14 -0
- package/dist/esm/models/update-notification-group.d.ts +20 -0
- package/dist/esm/models/update-notification-group.js +14 -0
- package/dist/esm/models/update-preference.d.ts +19 -0
- package/dist/esm/models/update-preference.js +14 -0
- package/dist/esm/models/update-project.d.ts +25 -0
- package/dist/esm/models/update-project.js +14 -0
- package/dist/esm/models/update-subscriber.d.ts +48 -0
- package/dist/esm/models/update-subscriber.js +14 -0
- package/dist/esm/models/update-subscription-meta.d.ts +17 -0
- package/dist/esm/models/update-subscription-meta.js +14 -0
- package/dist/esm/models/update-topic.d.ts +20 -0
- package/dist/esm/models/update-topic.js +14 -0
- package/dist/esm/models/update-workflow.d.ts +42 -0
- package/dist/esm/models/update-workflow.js +14 -0
- package/dist/esm/models/usage.d.ts +49 -0
- package/dist/esm/models/usage.js +14 -0
- package/dist/esm/models/webhook-record.d.ts +40 -0
- package/dist/esm/models/webhook-record.js +14 -0
- package/dist/esm/models/widget-settings.d.ts +20 -0
- package/dist/esm/models/widget-settings.js +14 -0
- package/dist/esm/models/workflow-record.d.ts +52 -0
- package/dist/esm/models/workflow-record.js +14 -0
- package/dist/esm/models/workflow-run-record.d.ts +40 -0
- package/dist/esm/models/workflow-run-record.js +14 -0
- package/dist/esm/models/workflow-stats-response.d.ts +32 -0
- package/dist/esm/models/workflow-stats-response.js +14 -0
- package/dist/esm/models/workflow-status.d.ts +20 -0
- package/dist/esm/models/workflow-status.js +14 -0
- package/dist/esm/models/workflow-step-create.d.ts +41 -0
- package/dist/esm/models/workflow-step-create.js +14 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +32 -0
- package/dist/models/action-body.d.ts +20 -0
- package/dist/models/action-body.js +15 -0
- package/dist/models/action-record.d.ts +22 -0
- package/dist/models/action-record.js +15 -0
- package/dist/models/action-type.d.ts +22 -0
- package/dist/models/action-type.js +26 -0
- package/dist/models/activity-chart-point.d.ts +40 -0
- package/dist/models/activity-chart-point.js +15 -0
- package/dist/models/activity-record.d.ts +56 -0
- package/dist/models/activity-record.js +15 -0
- package/dist/models/activity-request-record.d.ts +40 -0
- package/dist/models/activity-request-record.js +15 -0
- package/dist/models/activity-stats.d.ts +40 -0
- package/dist/models/activity-stats.js +15 -0
- package/dist/models/actor-type.d.ts +21 -0
- package/dist/models/actor-type.js +25 -0
- package/dist/models/api-key-created.d.ts +32 -0
- package/dist/models/api-key-created.js +15 -0
- package/dist/models/api-key-info.d.ts +32 -0
- package/dist/models/api-key-info.js +15 -0
- package/dist/models/auto-configure-result.d.ts +17 -0
- package/dist/models/auto-configure-result.js +15 -0
- package/dist/models/billing-interval.d.ts +19 -0
- package/dist/models/billing-interval.js +23 -0
- package/dist/models/branding.d.ts +40 -0
- package/dist/models/branding.js +15 -0
- package/dist/models/broadcast-trigger.d.ts +23 -0
- package/dist/models/broadcast-trigger.js +15 -0
- package/dist/models/bulk-create-subscribers.d.ts +18 -0
- package/dist/models/bulk-create-subscribers.js +15 -0
- package/dist/models/bulk-preference-item.d.ts +17 -0
- package/dist/models/bulk-preference-item.js +15 -0
- package/dist/models/bulk-preferences.d.ts +18 -0
- package/dist/models/bulk-preferences.js +15 -0
- package/dist/models/bulk-result.d.ts +16 -0
- package/dist/models/bulk-result.js +15 -0
- package/dist/models/bulk-trigger.d.ts +21 -0
- package/dist/models/bulk-trigger.js +15 -0
- package/dist/models/channel-connection-record.d.ts +37 -0
- package/dist/models/channel-connection-record.js +15 -0
- package/dist/models/channel-endpoint-record.d.ts +41 -0
- package/dist/models/channel-endpoint-record.js +15 -0
- package/dist/models/channel-preferences.d.ts +21 -0
- package/dist/models/channel-preferences.js +15 -0
- package/dist/models/channel-type.d.ts +22 -0
- package/dist/models/channel-type.js +26 -0
- package/dist/models/chart-query.d.ts +20 -0
- package/dist/models/chart-query.js +15 -0
- package/dist/models/chat-oauth-request.d.ts +15 -0
- package/dist/models/chat-oauth-request.js +15 -0
- package/dist/models/chat-oauth.d.ts +17 -0
- package/dist/models/chat-oauth.js +15 -0
- package/dist/models/checkout-session.d.ts +25 -0
- package/dist/models/checkout-session.js +15 -0
- package/dist/models/context-record.d.ts +36 -0
- package/dist/models/context-record.js +15 -0
- package/dist/models/create-channel-connection.d.ts +29 -0
- package/dist/models/create-channel-connection.js +15 -0
- package/dist/models/create-channel-endpoint.d.ts +33 -0
- package/dist/models/create-channel-endpoint.js +15 -0
- package/dist/models/create-checkout.d.ts +25 -0
- package/dist/models/create-checkout.js +15 -0
- package/dist/models/create-context.d.ts +28 -0
- package/dist/models/create-context.js +15 -0
- package/dist/models/create-integration.d.ts +41 -0
- package/dist/models/create-integration.js +15 -0
- package/dist/models/create-layout.d.ts +28 -0
- package/dist/models/create-layout.js +15 -0
- package/dist/models/create-notification-group.d.ts +20 -0
- package/dist/models/create-notification-group.js +15 -0
- package/dist/models/create-project.d.ts +20 -0
- package/dist/models/create-project.js +15 -0
- package/dist/models/create-subscriber.d.ts +52 -0
- package/dist/models/create-subscriber.js +15 -0
- package/dist/models/create-subscription.d.ts +17 -0
- package/dist/models/create-subscription.js +15 -0
- package/dist/models/create-topic.d.ts +24 -0
- package/dist/models/create-topic.js +15 -0
- package/dist/models/create-webhook.d.ts +24 -0
- package/dist/models/create-webhook.js +15 -0
- package/dist/models/create-workflow.d.ts +50 -0
- package/dist/models/create-workflow.js +15 -0
- package/dist/models/cta-type.d.ts +18 -0
- package/dist/models/cta-type.js +22 -0
- package/dist/models/cursor-meta.d.ts +32 -0
- package/dist/models/cursor-meta.js +15 -0
- package/dist/models/cursor-paginated-feed-item-data-inner.d.ts +34 -0
- package/dist/models/cursor-paginated-feed-item-data-inner.js +15 -0
- package/dist/models/cursor-paginated-feed-item.d.ts +26 -0
- package/dist/models/cursor-paginated-feed-item.js +15 -0
- package/dist/models/cursor-paginated-message-record-data-inner.d.ts +39 -0
- package/dist/models/cursor-paginated-message-record-data-inner.js +15 -0
- package/dist/models/cursor-paginated-message-record.d.ts +26 -0
- package/dist/models/cursor-paginated-message-record.js +15 -0
- package/dist/models/cursor-pagination.d.ts +28 -0
- package/dist/models/cursor-pagination.js +15 -0
- package/dist/models/delete-subscription.d.ts +14 -0
- package/dist/models/delete-subscription.js +15 -0
- package/dist/models/delivery-ack.d.ts +17 -0
- package/dist/models/delivery-ack.js +15 -0
- package/dist/models/delivery-status-webhook.d.ts +23 -0
- package/dist/models/delivery-status-webhook.js +15 -0
- package/dist/models/dns-settings.d.ts +24 -0
- package/dist/models/dns-settings.js +15 -0
- package/dist/models/engagement-stats-response.d.ts +32 -0
- package/dist/models/engagement-stats-response.js +15 -0
- package/dist/models/entitlement-item.d.ts +28 -0
- package/dist/models/entitlement-item.js +15 -0
- package/dist/models/entitlements.d.ts +18 -0
- package/dist/models/entitlements.js +15 -0
- package/dist/models/error-detail.d.ts +32 -0
- package/dist/models/error-detail.js +15 -0
- package/dist/models/events-usage.d.ts +24 -0
- package/dist/models/events-usage.js +15 -0
- package/dist/models/feed-item.d.ts +34 -0
- package/dist/models/feed-item.js +15 -0
- package/dist/models/feed-query.d.ts +22 -0
- package/dist/models/feed-query.js +15 -0
- package/dist/models/inbox-notification.d.ts +33 -0
- package/dist/models/inbox-notification.js +15 -0
- package/dist/models/inbox-preference.d.ts +19 -0
- package/dist/models/inbox-preference.js +15 -0
- package/dist/models/inbox-query.d.ts +20 -0
- package/dist/models/inbox-query.js +15 -0
- package/dist/models/index.d.ts +158 -0
- package/dist/models/index.js +174 -0
- package/dist/models/init-session-request.d.ts +24 -0
- package/dist/models/init-session-request.js +15 -0
- package/dist/models/init-session-response.d.ts +24 -0
- package/dist/models/init-session-response.js +15 -0
- package/dist/models/integration-record.d.ts +49 -0
- package/dist/models/integration-record.js +15 -0
- package/dist/models/invite-member-body.d.ts +24 -0
- package/dist/models/invite-member-body.js +15 -0
- package/dist/models/invite-member.d.ts +24 -0
- package/dist/models/invite-member.js +15 -0
- package/dist/models/job-log.d.ts +41 -0
- package/dist/models/job-log.js +15 -0
- package/dist/models/layout-preview-result.d.ts +17 -0
- package/dist/models/layout-preview-result.js +15 -0
- package/dist/models/layout-preview.d.ts +17 -0
- package/dist/models/layout-preview.js +15 -0
- package/dist/models/layout-record.d.ts +31 -0
- package/dist/models/layout-record.js +15 -0
- package/dist/models/layout-usage-item.d.ts +18 -0
- package/dist/models/layout-usage-item.js +15 -0
- package/dist/models/mark-all.d.ts +17 -0
- package/dist/models/mark-all.js +15 -0
- package/dist/models/mark-messages.d.ts +18 -0
- package/dist/models/mark-messages.js +15 -0
- package/dist/models/mark-result.d.ts +17 -0
- package/dist/models/mark-result.js +15 -0
- package/dist/models/member-record.d.ts +32 -0
- package/dist/models/member-record.js +15 -0
- package/dist/models/member-role.d.ts +21 -0
- package/dist/models/member-role.js +25 -0
- package/dist/models/member-status.d.ts +20 -0
- package/dist/models/member-status.js +24 -0
- package/dist/models/message-query.d.ts +40 -0
- package/dist/models/message-query.js +15 -0
- package/dist/models/message-record.d.ts +39 -0
- package/dist/models/message-record.js +15 -0
- package/dist/models/notification-count.d.ts +19 -0
- package/dist/models/notification-count.js +15 -0
- package/dist/models/notification-group-record.d.ts +24 -0
- package/dist/models/notification-group-record.js +15 -0
- package/dist/models/notification-log.d.ts +33 -0
- package/dist/models/notification-log.js +15 -0
- package/dist/models/notification-query.d.ts +28 -0
- package/dist/models/notification-query.js +15 -0
- package/dist/models/offset-meta.d.ts +32 -0
- package/dist/models/offset-meta.js +15 -0
- package/dist/models/offset-pagination.d.ts +32 -0
- package/dist/models/offset-pagination.js +15 -0
- package/dist/models/online-status.d.ts +17 -0
- package/dist/models/online-status.js +15 -0
- package/dist/models/paginated-channel-connection-record-data-inner.d.ts +37 -0
- package/dist/models/paginated-channel-connection-record-data-inner.js +15 -0
- package/dist/models/paginated-channel-connection-record.d.ts +26 -0
- package/dist/models/paginated-channel-connection-record.js +15 -0
- package/dist/models/paginated-channel-endpoint-record-data-inner.d.ts +41 -0
- package/dist/models/paginated-channel-endpoint-record-data-inner.js +15 -0
- package/dist/models/paginated-channel-endpoint-record.d.ts +26 -0
- package/dist/models/paginated-channel-endpoint-record.js +15 -0
- package/dist/models/paginated-context-record-data-inner.d.ts +36 -0
- package/dist/models/paginated-context-record-data-inner.js +15 -0
- package/dist/models/paginated-context-record.d.ts +26 -0
- package/dist/models/paginated-context-record.js +15 -0
- package/dist/models/paginated-integration-record-data-inner.d.ts +49 -0
- package/dist/models/paginated-integration-record-data-inner.js +15 -0
- package/dist/models/paginated-integration-record.d.ts +26 -0
- package/dist/models/paginated-integration-record.js +15 -0
- package/dist/models/paginated-layout-record-data-inner.d.ts +31 -0
- package/dist/models/paginated-layout-record-data-inner.js +15 -0
- package/dist/models/paginated-layout-record.d.ts +26 -0
- package/dist/models/paginated-layout-record.js +15 -0
- package/dist/models/paginated-subscriber-record-data-inner.d.ts +61 -0
- package/dist/models/paginated-subscriber-record-data-inner.js +15 -0
- package/dist/models/paginated-subscriber-record.d.ts +26 -0
- package/dist/models/paginated-subscriber-record.js +15 -0
- package/dist/models/paginated-topic-record-data-inner.d.ts +22 -0
- package/dist/models/paginated-topic-record-data-inner.js +15 -0
- package/dist/models/paginated-topic-record.d.ts +26 -0
- package/dist/models/paginated-topic-record.js +15 -0
- package/dist/models/paginated-topic-subscription-record-data-inner.d.ts +33 -0
- package/dist/models/paginated-topic-subscription-record-data-inner.js +15 -0
- package/dist/models/paginated-topic-subscription-record.d.ts +26 -0
- package/dist/models/paginated-topic-subscription-record.js +15 -0
- package/dist/models/paginated-workflow-record-data-inner.d.ts +52 -0
- package/dist/models/paginated-workflow-record-data-inner.js +15 -0
- package/dist/models/paginated-workflow-record.d.ts +26 -0
- package/dist/models/paginated-workflow-record.js +15 -0
- package/dist/models/pagination-query.d.ts +28 -0
- package/dist/models/pagination-query.js +15 -0
- package/dist/models/patch-credentials.d.ts +23 -0
- package/dist/models/patch-credentials.js +15 -0
- package/dist/models/plan-limits-response.d.ts +45 -0
- package/dist/models/plan-limits-response.js +15 -0
- package/dist/models/plan.d.ts +22 -0
- package/dist/models/plan.js +26 -0
- package/dist/models/portal-url.d.ts +20 -0
- package/dist/models/portal-url.js +15 -0
- package/dist/models/preference-channels.d.ts +21 -0
- package/dist/models/preference-channels.js +15 -0
- package/dist/models/preference-record.d.ts +24 -0
- package/dist/models/preference-record.js +15 -0
- package/dist/models/preview-result.d.ts +14 -0
- package/dist/models/preview-result.js +15 -0
- package/dist/models/price-info.d.ts +32 -0
- package/dist/models/price-info.js +15 -0
- package/dist/models/prices.d.ts +18 -0
- package/dist/models/prices.js +15 -0
- package/dist/models/project-record.d.ts +34 -0
- package/dist/models/project-record.js +15 -0
- package/dist/models/set-credentials.d.ts +23 -0
- package/dist/models/set-credentials.js +15 -0
- package/dist/models/step-preview.d.ts +17 -0
- package/dist/models/step-preview.js +15 -0
- package/dist/models/step-record.d.ts +30 -0
- package/dist/models/step-record.js +15 -0
- package/dist/models/step-type.d.ts +27 -0
- package/dist/models/step-type.js +31 -0
- package/dist/models/subscriber-credential.d.ts +20 -0
- package/dist/models/subscriber-credential.js +15 -0
- package/dist/models/subscriber-payload.d.ts +17 -0
- package/dist/models/subscriber-payload.js +15 -0
- package/dist/models/subscriber-record.d.ts +61 -0
- package/dist/models/subscriber-record.js +15 -0
- package/dist/models/subscription.d.ts +59 -0
- package/dist/models/subscription.js +15 -0
- package/dist/models/sync-workflow.d.ts +18 -0
- package/dist/models/sync-workflow.js +15 -0
- package/dist/models/system-avatar-icon.d.ts +23 -0
- package/dist/models/system-avatar-icon.js +27 -0
- package/dist/models/topic-record.d.ts +22 -0
- package/dist/models/topic-record.js +15 -0
- package/dist/models/topic-subscribers.d.ts +17 -0
- package/dist/models/topic-subscribers.js +15 -0
- package/dist/models/topic-subscription-record.d.ts +33 -0
- package/dist/models/topic-subscription-record.js +15 -0
- package/dist/models/topic-subscription.d.ts +21 -0
- package/dist/models/topic-subscription.js +15 -0
- package/dist/models/trial-info.d.ts +32 -0
- package/dist/models/trial-info.js +15 -0
- package/dist/models/trigger-event.d.ts +41 -0
- package/dist/models/trigger-event.js +15 -0
- package/dist/models/trigger-recipients-one-of.d.ts +17 -0
- package/dist/models/trigger-recipients-one-of.js +15 -0
- package/dist/models/trigger-recipients.d.ts +18 -0
- package/dist/models/trigger-recipients.js +15 -0
- package/dist/models/trigger-result.d.ts +29 -0
- package/dist/models/trigger-result.js +15 -0
- package/dist/models/trigger-status.d.ts +24 -0
- package/dist/models/trigger-status.js +28 -0
- package/dist/models/unseen-count.d.ts +17 -0
- package/dist/models/unseen-count.js +15 -0
- package/dist/models/update-channel-connection.d.ts +17 -0
- package/dist/models/update-channel-connection.js +15 -0
- package/dist/models/update-channel-endpoint.d.ts +21 -0
- package/dist/models/update-channel-endpoint.js +15 -0
- package/dist/models/update-context.d.ts +20 -0
- package/dist/models/update-context.js +15 -0
- package/dist/models/update-inbox-preferences.d.ts +21 -0
- package/dist/models/update-inbox-preferences.js +15 -0
- package/dist/models/update-integration.d.ts +32 -0
- package/dist/models/update-integration.js +15 -0
- package/dist/models/update-layout.d.ts +23 -0
- package/dist/models/update-layout.js +15 -0
- package/dist/models/update-notification-group.d.ts +20 -0
- package/dist/models/update-notification-group.js +15 -0
- package/dist/models/update-preference.d.ts +19 -0
- package/dist/models/update-preference.js +15 -0
- package/dist/models/update-project.d.ts +25 -0
- package/dist/models/update-project.js +15 -0
- package/dist/models/update-subscriber.d.ts +48 -0
- package/dist/models/update-subscriber.js +15 -0
- package/dist/models/update-subscription-meta.d.ts +17 -0
- package/dist/models/update-subscription-meta.js +15 -0
- package/dist/models/update-topic.d.ts +20 -0
- package/dist/models/update-topic.js +15 -0
- package/dist/models/update-workflow.d.ts +42 -0
- package/dist/models/update-workflow.js +15 -0
- package/dist/models/usage.d.ts +49 -0
- package/dist/models/usage.js +15 -0
- package/dist/models/webhook-record.d.ts +40 -0
- package/dist/models/webhook-record.js +15 -0
- package/dist/models/widget-settings.d.ts +20 -0
- package/dist/models/widget-settings.js +15 -0
- package/dist/models/workflow-record.d.ts +52 -0
- package/dist/models/workflow-record.js +15 -0
- package/dist/models/workflow-run-record.d.ts +40 -0
- package/dist/models/workflow-run-record.js +15 -0
- package/dist/models/workflow-stats-response.d.ts +32 -0
- package/dist/models/workflow-stats-response.js +15 -0
- package/dist/models/workflow-status.d.ts +20 -0
- package/dist/models/workflow-status.js +15 -0
- package/dist/models/workflow-step-create.d.ts +41 -0
- package/dist/models/workflow-step-create.js +15 -0
- package/package.json +56 -0
|
@@ -0,0 +1,780 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* enbbox API
|
|
3
|
+
* Notification infrastructure API — open-source alternative to Novu/Courier
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { BulkCreateSubscribers } from '../models';
|
|
16
|
+
import type { BulkPreferences } from '../models';
|
|
17
|
+
import type { BulkResult } from '../models';
|
|
18
|
+
import type { CreateSubscriber } from '../models';
|
|
19
|
+
import type { CursorPaginatedFeedItem } from '../models';
|
|
20
|
+
import type { MarkAll } from '../models';
|
|
21
|
+
import type { MarkMessages } from '../models';
|
|
22
|
+
import type { MarkResult } from '../models';
|
|
23
|
+
import type { OnlineStatus } from '../models';
|
|
24
|
+
import type { PaginatedSubscriberRecord } from '../models';
|
|
25
|
+
import type { PatchCredentials } from '../models';
|
|
26
|
+
import type { SetCredentials } from '../models';
|
|
27
|
+
import type { SubscriberRecord } from '../models';
|
|
28
|
+
import type { TopicSubscription } from '../models';
|
|
29
|
+
import type { UnseenCount } from '../models';
|
|
30
|
+
import type { UpdateSubscriber } from '../models';
|
|
31
|
+
/**
|
|
32
|
+
* SubscribersApi - axios parameter creator
|
|
33
|
+
*/
|
|
34
|
+
export declare const SubscribersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @summary POST /v1/subscribers/bulk — create multiple subscribers at once
|
|
38
|
+
* @param {BulkCreateSubscribers} bulkCreateSubscribers
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
bulkCreate: (bulkCreateSubscribers: BulkCreateSubscribers, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @summary PATCH /v1/subscribers/:id/preferences/bulk — update multiple workflow preferences at once
|
|
46
|
+
* @param {string} id Subscriber ID
|
|
47
|
+
* @param {BulkPreferences} bulkPreferences
|
|
48
|
+
* @param {*} [options] Override http request option.
|
|
49
|
+
* @throws {RequiredError}
|
|
50
|
+
*/
|
|
51
|
+
bulkUpdatePreferences: (id: string, bulkPreferences: BulkPreferences, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @summary POST /v1/subscribers
|
|
55
|
+
* @param {CreateSubscriber} createSubscriber
|
|
56
|
+
* @param {*} [options] Override http request option.
|
|
57
|
+
* @throws {RequiredError}
|
|
58
|
+
*/
|
|
59
|
+
createSubscriber: (createSubscriber: CreateSubscriber, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @summary DELETE /v1/subscribers/:id/credentials/:provider_id — remove creds for a provider
|
|
63
|
+
* @param {string} id Subscriber ID
|
|
64
|
+
* @param {string} providerId Provider ID
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
*/
|
|
68
|
+
deleteCredentials: (id: string, providerId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @summary DELETE /v1/subscribers/:subscriber_id
|
|
72
|
+
* @param {string} id Subscriber ID
|
|
73
|
+
* @param {*} [options] Override http request option.
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
*/
|
|
76
|
+
deleteSubscriber: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @summary GET /v1/subscribers/:subscriber_id
|
|
80
|
+
* @param {string} id Subscriber ID
|
|
81
|
+
* @param {*} [options] Override http request option.
|
|
82
|
+
* @throws {RequiredError}
|
|
83
|
+
*/
|
|
84
|
+
getSubscriber: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @summary GET /v1/subscribers/:id/subscriptions — list topic subscriptions for a subscriber
|
|
88
|
+
* @param {string} id Subscriber ID
|
|
89
|
+
* @param {*} [options] Override http request option.
|
|
90
|
+
* @throws {RequiredError}
|
|
91
|
+
*/
|
|
92
|
+
listSubscriberSubscriptions: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
93
|
+
/**
|
|
94
|
+
* Lists subscribers for the current project. When the optional `q` query parameter is provided, the list is powered by Typesense full-text search (searching across email, name, phone, subscriber_id). Without `q`, a standard paginated listing from the primary store is returned.
|
|
95
|
+
* @summary GET /v1/subscribers
|
|
96
|
+
* @param {number | null} [limit] Maximum number of items to return (1–100, default 10).
|
|
97
|
+
* @param {number | null} [offset] Number of items to skip (default 0).
|
|
98
|
+
* @param {string | null} [q] Optional full-text search query (e.g., an email, name, or phone number). When present, search is powered by Typesense.
|
|
99
|
+
* @param {string | null} [filterBy] Optional filter expression for narrowing results. Example: `is_online:=true` or `locale:=en-US`.
|
|
100
|
+
* @param {*} [options] Override http request option.
|
|
101
|
+
* @throws {RequiredError}
|
|
102
|
+
*/
|
|
103
|
+
listSubscribers: (limit?: number | null, offset?: number | null, q?: string | null, filterBy?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @summary POST /v1/subscribers/:id/messages/mark-all — mark all messages
|
|
107
|
+
* @param {string} id Subscriber ID
|
|
108
|
+
* @param {MarkAll} markAll
|
|
109
|
+
* @param {*} [options] Override http request option.
|
|
110
|
+
* @throws {RequiredError}
|
|
111
|
+
*/
|
|
112
|
+
markAllMessages: (id: string, markAll: MarkAll, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @summary POST /v1/subscribers/:id/messages/mark-as — mark messages as read/seen/unseen
|
|
116
|
+
* @param {string} id Subscriber ID
|
|
117
|
+
* @param {MarkMessages} markMessages
|
|
118
|
+
* @param {*} [options] Override http request option.
|
|
119
|
+
* @throws {RequiredError}
|
|
120
|
+
*/
|
|
121
|
+
markMessages: (id: string, markMessages: MarkMessages, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @summary PUT /v1/subscribers/:id/credentials — replace all creds for a provider
|
|
125
|
+
* @param {string} id Subscriber ID
|
|
126
|
+
* @param {SetCredentials} setCredentials
|
|
127
|
+
* @param {*} [options] Override http request option.
|
|
128
|
+
* @throws {RequiredError}
|
|
129
|
+
*/
|
|
130
|
+
setCredentials: (id: string, setCredentials: SetCredentials, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @summary GET /v1/subscribers/:id/notifications/feed — cursor-paginated message list
|
|
134
|
+
* @param {string} id Subscriber ID
|
|
135
|
+
* @param {number | null} [limit]
|
|
136
|
+
* @param {string | null} [after]
|
|
137
|
+
* @param {string | null} [before]
|
|
138
|
+
* @param {string | null} [channel]
|
|
139
|
+
* @param {boolean | null} [read]
|
|
140
|
+
* @param {boolean | null} [seen]
|
|
141
|
+
* @param {*} [options] Override http request option.
|
|
142
|
+
* @throws {RequiredError}
|
|
143
|
+
*/
|
|
144
|
+
subscriberFeed: (id: string, limit?: number | null, after?: string | null, before?: string | null, channel?: string | null, read?: boolean | null, seen?: boolean | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @summary GET /v1/subscribers/:id/notifications/unseen — unseen count
|
|
148
|
+
* @param {string} id Subscriber ID
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
*/
|
|
152
|
+
unseenCount: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* @summary PATCH /v1/subscribers/:id/online-status — set online/offline
|
|
156
|
+
* @param {string} id Subscriber ID
|
|
157
|
+
* @param {OnlineStatus} onlineStatus
|
|
158
|
+
* @param {*} [options] Override http request option.
|
|
159
|
+
* @throws {RequiredError}
|
|
160
|
+
*/
|
|
161
|
+
updateOnlineStatus: (id: string, onlineStatus: OnlineStatus, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @summary PATCH /v1/subscribers/:subscriber_id
|
|
165
|
+
* @param {string} id Subscriber ID
|
|
166
|
+
* @param {UpdateSubscriber} updateSubscriber
|
|
167
|
+
* @param {*} [options] Override http request option.
|
|
168
|
+
* @throws {RequiredError}
|
|
169
|
+
*/
|
|
170
|
+
updateSubscriber: (id: string, updateSubscriber: UpdateSubscriber, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
171
|
+
/**
|
|
172
|
+
*
|
|
173
|
+
* @summary PATCH /v1/subscribers/:id/credentials — upsert/merge creds for a provider
|
|
174
|
+
* @param {string} id Subscriber ID
|
|
175
|
+
* @param {PatchCredentials} patchCredentials
|
|
176
|
+
* @param {*} [options] Override http request option.
|
|
177
|
+
* @throws {RequiredError}
|
|
178
|
+
*/
|
|
179
|
+
upsertCredentials: (id: string, patchCredentials: PatchCredentials, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* SubscribersApi - functional programming interface
|
|
183
|
+
*/
|
|
184
|
+
export declare const SubscribersApiFp: (configuration?: Configuration) => {
|
|
185
|
+
/**
|
|
186
|
+
*
|
|
187
|
+
* @summary POST /v1/subscribers/bulk — create multiple subscribers at once
|
|
188
|
+
* @param {BulkCreateSubscribers} bulkCreateSubscribers
|
|
189
|
+
* @param {*} [options] Override http request option.
|
|
190
|
+
* @throws {RequiredError}
|
|
191
|
+
*/
|
|
192
|
+
bulkCreate(bulkCreateSubscribers: BulkCreateSubscribers, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BulkResult>>;
|
|
193
|
+
/**
|
|
194
|
+
*
|
|
195
|
+
* @summary PATCH /v1/subscribers/:id/preferences/bulk — update multiple workflow preferences at once
|
|
196
|
+
* @param {string} id Subscriber ID
|
|
197
|
+
* @param {BulkPreferences} bulkPreferences
|
|
198
|
+
* @param {*} [options] Override http request option.
|
|
199
|
+
* @throws {RequiredError}
|
|
200
|
+
*/
|
|
201
|
+
bulkUpdatePreferences(id: string, bulkPreferences: BulkPreferences, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @summary POST /v1/subscribers
|
|
205
|
+
* @param {CreateSubscriber} createSubscriber
|
|
206
|
+
* @param {*} [options] Override http request option.
|
|
207
|
+
* @throws {RequiredError}
|
|
208
|
+
*/
|
|
209
|
+
createSubscriber(createSubscriber: CreateSubscriber, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubscriberRecord>>;
|
|
210
|
+
/**
|
|
211
|
+
*
|
|
212
|
+
* @summary DELETE /v1/subscribers/:id/credentials/:provider_id — remove creds for a provider
|
|
213
|
+
* @param {string} id Subscriber ID
|
|
214
|
+
* @param {string} providerId Provider ID
|
|
215
|
+
* @param {*} [options] Override http request option.
|
|
216
|
+
* @throws {RequiredError}
|
|
217
|
+
*/
|
|
218
|
+
deleteCredentials(id: string, providerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
219
|
+
/**
|
|
220
|
+
*
|
|
221
|
+
* @summary DELETE /v1/subscribers/:subscriber_id
|
|
222
|
+
* @param {string} id Subscriber ID
|
|
223
|
+
* @param {*} [options] Override http request option.
|
|
224
|
+
* @throws {RequiredError}
|
|
225
|
+
*/
|
|
226
|
+
deleteSubscriber(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
227
|
+
/**
|
|
228
|
+
*
|
|
229
|
+
* @summary GET /v1/subscribers/:subscriber_id
|
|
230
|
+
* @param {string} id Subscriber ID
|
|
231
|
+
* @param {*} [options] Override http request option.
|
|
232
|
+
* @throws {RequiredError}
|
|
233
|
+
*/
|
|
234
|
+
getSubscriber(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubscriberRecord>>;
|
|
235
|
+
/**
|
|
236
|
+
*
|
|
237
|
+
* @summary GET /v1/subscribers/:id/subscriptions — list topic subscriptions for a subscriber
|
|
238
|
+
* @param {string} id Subscriber ID
|
|
239
|
+
* @param {*} [options] Override http request option.
|
|
240
|
+
* @throws {RequiredError}
|
|
241
|
+
*/
|
|
242
|
+
listSubscriberSubscriptions(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TopicSubscription>>>;
|
|
243
|
+
/**
|
|
244
|
+
* Lists subscribers for the current project. When the optional `q` query parameter is provided, the list is powered by Typesense full-text search (searching across email, name, phone, subscriber_id). Without `q`, a standard paginated listing from the primary store is returned.
|
|
245
|
+
* @summary GET /v1/subscribers
|
|
246
|
+
* @param {number | null} [limit] Maximum number of items to return (1–100, default 10).
|
|
247
|
+
* @param {number | null} [offset] Number of items to skip (default 0).
|
|
248
|
+
* @param {string | null} [q] Optional full-text search query (e.g., an email, name, or phone number). When present, search is powered by Typesense.
|
|
249
|
+
* @param {string | null} [filterBy] Optional filter expression for narrowing results. Example: `is_online:=true` or `locale:=en-US`.
|
|
250
|
+
* @param {*} [options] Override http request option.
|
|
251
|
+
* @throws {RequiredError}
|
|
252
|
+
*/
|
|
253
|
+
listSubscribers(limit?: number | null, offset?: number | null, q?: string | null, filterBy?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedSubscriberRecord>>;
|
|
254
|
+
/**
|
|
255
|
+
*
|
|
256
|
+
* @summary POST /v1/subscribers/:id/messages/mark-all — mark all messages
|
|
257
|
+
* @param {string} id Subscriber ID
|
|
258
|
+
* @param {MarkAll} markAll
|
|
259
|
+
* @param {*} [options] Override http request option.
|
|
260
|
+
* @throws {RequiredError}
|
|
261
|
+
*/
|
|
262
|
+
markAllMessages(id: string, markAll: MarkAll, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MarkResult>>;
|
|
263
|
+
/**
|
|
264
|
+
*
|
|
265
|
+
* @summary POST /v1/subscribers/:id/messages/mark-as — mark messages as read/seen/unseen
|
|
266
|
+
* @param {string} id Subscriber ID
|
|
267
|
+
* @param {MarkMessages} markMessages
|
|
268
|
+
* @param {*} [options] Override http request option.
|
|
269
|
+
* @throws {RequiredError}
|
|
270
|
+
*/
|
|
271
|
+
markMessages(id: string, markMessages: MarkMessages, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MarkResult>>;
|
|
272
|
+
/**
|
|
273
|
+
*
|
|
274
|
+
* @summary PUT /v1/subscribers/:id/credentials — replace all creds for a provider
|
|
275
|
+
* @param {string} id Subscriber ID
|
|
276
|
+
* @param {SetCredentials} setCredentials
|
|
277
|
+
* @param {*} [options] Override http request option.
|
|
278
|
+
* @throws {RequiredError}
|
|
279
|
+
*/
|
|
280
|
+
setCredentials(id: string, setCredentials: SetCredentials, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubscriberRecord>>;
|
|
281
|
+
/**
|
|
282
|
+
*
|
|
283
|
+
* @summary GET /v1/subscribers/:id/notifications/feed — cursor-paginated message list
|
|
284
|
+
* @param {string} id Subscriber ID
|
|
285
|
+
* @param {number | null} [limit]
|
|
286
|
+
* @param {string | null} [after]
|
|
287
|
+
* @param {string | null} [before]
|
|
288
|
+
* @param {string | null} [channel]
|
|
289
|
+
* @param {boolean | null} [read]
|
|
290
|
+
* @param {boolean | null} [seen]
|
|
291
|
+
* @param {*} [options] Override http request option.
|
|
292
|
+
* @throws {RequiredError}
|
|
293
|
+
*/
|
|
294
|
+
subscriberFeed(id: string, limit?: number | null, after?: string | null, before?: string | null, channel?: string | null, read?: boolean | null, seen?: boolean | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CursorPaginatedFeedItem>>;
|
|
295
|
+
/**
|
|
296
|
+
*
|
|
297
|
+
* @summary GET /v1/subscribers/:id/notifications/unseen — unseen count
|
|
298
|
+
* @param {string} id Subscriber ID
|
|
299
|
+
* @param {*} [options] Override http request option.
|
|
300
|
+
* @throws {RequiredError}
|
|
301
|
+
*/
|
|
302
|
+
unseenCount(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnseenCount>>;
|
|
303
|
+
/**
|
|
304
|
+
*
|
|
305
|
+
* @summary PATCH /v1/subscribers/:id/online-status — set online/offline
|
|
306
|
+
* @param {string} id Subscriber ID
|
|
307
|
+
* @param {OnlineStatus} onlineStatus
|
|
308
|
+
* @param {*} [options] Override http request option.
|
|
309
|
+
* @throws {RequiredError}
|
|
310
|
+
*/
|
|
311
|
+
updateOnlineStatus(id: string, onlineStatus: OnlineStatus, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubscriberRecord>>;
|
|
312
|
+
/**
|
|
313
|
+
*
|
|
314
|
+
* @summary PATCH /v1/subscribers/:subscriber_id
|
|
315
|
+
* @param {string} id Subscriber ID
|
|
316
|
+
* @param {UpdateSubscriber} updateSubscriber
|
|
317
|
+
* @param {*} [options] Override http request option.
|
|
318
|
+
* @throws {RequiredError}
|
|
319
|
+
*/
|
|
320
|
+
updateSubscriber(id: string, updateSubscriber: UpdateSubscriber, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubscriberRecord>>;
|
|
321
|
+
/**
|
|
322
|
+
*
|
|
323
|
+
* @summary PATCH /v1/subscribers/:id/credentials — upsert/merge creds for a provider
|
|
324
|
+
* @param {string} id Subscriber ID
|
|
325
|
+
* @param {PatchCredentials} patchCredentials
|
|
326
|
+
* @param {*} [options] Override http request option.
|
|
327
|
+
* @throws {RequiredError}
|
|
328
|
+
*/
|
|
329
|
+
upsertCredentials(id: string, patchCredentials: PatchCredentials, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubscriberRecord>>;
|
|
330
|
+
};
|
|
331
|
+
/**
|
|
332
|
+
* SubscribersApi - factory interface
|
|
333
|
+
*/
|
|
334
|
+
export declare const SubscribersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
335
|
+
/**
|
|
336
|
+
*
|
|
337
|
+
* @summary POST /v1/subscribers/bulk — create multiple subscribers at once
|
|
338
|
+
* @param {BulkCreateSubscribers} bulkCreateSubscribers
|
|
339
|
+
* @param {*} [options] Override http request option.
|
|
340
|
+
* @throws {RequiredError}
|
|
341
|
+
*/
|
|
342
|
+
bulkCreate(bulkCreateSubscribers: BulkCreateSubscribers, options?: RawAxiosRequestConfig): AxiosPromise<BulkResult>;
|
|
343
|
+
/**
|
|
344
|
+
*
|
|
345
|
+
* @summary PATCH /v1/subscribers/:id/preferences/bulk — update multiple workflow preferences at once
|
|
346
|
+
* @param {string} id Subscriber ID
|
|
347
|
+
* @param {BulkPreferences} bulkPreferences
|
|
348
|
+
* @param {*} [options] Override http request option.
|
|
349
|
+
* @throws {RequiredError}
|
|
350
|
+
*/
|
|
351
|
+
bulkUpdatePreferences(id: string, bulkPreferences: BulkPreferences, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
352
|
+
/**
|
|
353
|
+
*
|
|
354
|
+
* @summary POST /v1/subscribers
|
|
355
|
+
* @param {CreateSubscriber} createSubscriber
|
|
356
|
+
* @param {*} [options] Override http request option.
|
|
357
|
+
* @throws {RequiredError}
|
|
358
|
+
*/
|
|
359
|
+
createSubscriber(createSubscriber: CreateSubscriber, options?: RawAxiosRequestConfig): AxiosPromise<SubscriberRecord>;
|
|
360
|
+
/**
|
|
361
|
+
*
|
|
362
|
+
* @summary DELETE /v1/subscribers/:id/credentials/:provider_id — remove creds for a provider
|
|
363
|
+
* @param {string} id Subscriber ID
|
|
364
|
+
* @param {string} providerId Provider ID
|
|
365
|
+
* @param {*} [options] Override http request option.
|
|
366
|
+
* @throws {RequiredError}
|
|
367
|
+
*/
|
|
368
|
+
deleteCredentials(id: string, providerId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
369
|
+
/**
|
|
370
|
+
*
|
|
371
|
+
* @summary DELETE /v1/subscribers/:subscriber_id
|
|
372
|
+
* @param {string} id Subscriber ID
|
|
373
|
+
* @param {*} [options] Override http request option.
|
|
374
|
+
* @throws {RequiredError}
|
|
375
|
+
*/
|
|
376
|
+
deleteSubscriber(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
377
|
+
/**
|
|
378
|
+
*
|
|
379
|
+
* @summary GET /v1/subscribers/:subscriber_id
|
|
380
|
+
* @param {string} id Subscriber ID
|
|
381
|
+
* @param {*} [options] Override http request option.
|
|
382
|
+
* @throws {RequiredError}
|
|
383
|
+
*/
|
|
384
|
+
getSubscriber(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SubscriberRecord>;
|
|
385
|
+
/**
|
|
386
|
+
*
|
|
387
|
+
* @summary GET /v1/subscribers/:id/subscriptions — list topic subscriptions for a subscriber
|
|
388
|
+
* @param {string} id Subscriber ID
|
|
389
|
+
* @param {*} [options] Override http request option.
|
|
390
|
+
* @throws {RequiredError}
|
|
391
|
+
*/
|
|
392
|
+
listSubscriberSubscriptions(id: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<TopicSubscription>>;
|
|
393
|
+
/**
|
|
394
|
+
* Lists subscribers for the current project. When the optional `q` query parameter is provided, the list is powered by Typesense full-text search (searching across email, name, phone, subscriber_id). Without `q`, a standard paginated listing from the primary store is returned.
|
|
395
|
+
* @summary GET /v1/subscribers
|
|
396
|
+
* @param {number | null} [limit] Maximum number of items to return (1–100, default 10).
|
|
397
|
+
* @param {number | null} [offset] Number of items to skip (default 0).
|
|
398
|
+
* @param {string | null} [q] Optional full-text search query (e.g., an email, name, or phone number). When present, search is powered by Typesense.
|
|
399
|
+
* @param {string | null} [filterBy] Optional filter expression for narrowing results. Example: `is_online:=true` or `locale:=en-US`.
|
|
400
|
+
* @param {*} [options] Override http request option.
|
|
401
|
+
* @throws {RequiredError}
|
|
402
|
+
*/
|
|
403
|
+
listSubscribers(limit?: number | null, offset?: number | null, q?: string | null, filterBy?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedSubscriberRecord>;
|
|
404
|
+
/**
|
|
405
|
+
*
|
|
406
|
+
* @summary POST /v1/subscribers/:id/messages/mark-all — mark all messages
|
|
407
|
+
* @param {string} id Subscriber ID
|
|
408
|
+
* @param {MarkAll} markAll
|
|
409
|
+
* @param {*} [options] Override http request option.
|
|
410
|
+
* @throws {RequiredError}
|
|
411
|
+
*/
|
|
412
|
+
markAllMessages(id: string, markAll: MarkAll, options?: RawAxiosRequestConfig): AxiosPromise<MarkResult>;
|
|
413
|
+
/**
|
|
414
|
+
*
|
|
415
|
+
* @summary POST /v1/subscribers/:id/messages/mark-as — mark messages as read/seen/unseen
|
|
416
|
+
* @param {string} id Subscriber ID
|
|
417
|
+
* @param {MarkMessages} markMessages
|
|
418
|
+
* @param {*} [options] Override http request option.
|
|
419
|
+
* @throws {RequiredError}
|
|
420
|
+
*/
|
|
421
|
+
markMessages(id: string, markMessages: MarkMessages, options?: RawAxiosRequestConfig): AxiosPromise<MarkResult>;
|
|
422
|
+
/**
|
|
423
|
+
*
|
|
424
|
+
* @summary PUT /v1/subscribers/:id/credentials — replace all creds for a provider
|
|
425
|
+
* @param {string} id Subscriber ID
|
|
426
|
+
* @param {SetCredentials} setCredentials
|
|
427
|
+
* @param {*} [options] Override http request option.
|
|
428
|
+
* @throws {RequiredError}
|
|
429
|
+
*/
|
|
430
|
+
setCredentials(id: string, setCredentials: SetCredentials, options?: RawAxiosRequestConfig): AxiosPromise<SubscriberRecord>;
|
|
431
|
+
/**
|
|
432
|
+
*
|
|
433
|
+
* @summary GET /v1/subscribers/:id/notifications/feed — cursor-paginated message list
|
|
434
|
+
* @param {string} id Subscriber ID
|
|
435
|
+
* @param {number | null} [limit]
|
|
436
|
+
* @param {string | null} [after]
|
|
437
|
+
* @param {string | null} [before]
|
|
438
|
+
* @param {string | null} [channel]
|
|
439
|
+
* @param {boolean | null} [read]
|
|
440
|
+
* @param {boolean | null} [seen]
|
|
441
|
+
* @param {*} [options] Override http request option.
|
|
442
|
+
* @throws {RequiredError}
|
|
443
|
+
*/
|
|
444
|
+
subscriberFeed(id: string, limit?: number | null, after?: string | null, before?: string | null, channel?: string | null, read?: boolean | null, seen?: boolean | null, options?: RawAxiosRequestConfig): AxiosPromise<CursorPaginatedFeedItem>;
|
|
445
|
+
/**
|
|
446
|
+
*
|
|
447
|
+
* @summary GET /v1/subscribers/:id/notifications/unseen — unseen count
|
|
448
|
+
* @param {string} id Subscriber ID
|
|
449
|
+
* @param {*} [options] Override http request option.
|
|
450
|
+
* @throws {RequiredError}
|
|
451
|
+
*/
|
|
452
|
+
unseenCount(id: string, options?: RawAxiosRequestConfig): AxiosPromise<UnseenCount>;
|
|
453
|
+
/**
|
|
454
|
+
*
|
|
455
|
+
* @summary PATCH /v1/subscribers/:id/online-status — set online/offline
|
|
456
|
+
* @param {string} id Subscriber ID
|
|
457
|
+
* @param {OnlineStatus} onlineStatus
|
|
458
|
+
* @param {*} [options] Override http request option.
|
|
459
|
+
* @throws {RequiredError}
|
|
460
|
+
*/
|
|
461
|
+
updateOnlineStatus(id: string, onlineStatus: OnlineStatus, options?: RawAxiosRequestConfig): AxiosPromise<SubscriberRecord>;
|
|
462
|
+
/**
|
|
463
|
+
*
|
|
464
|
+
* @summary PATCH /v1/subscribers/:subscriber_id
|
|
465
|
+
* @param {string} id Subscriber ID
|
|
466
|
+
* @param {UpdateSubscriber} updateSubscriber
|
|
467
|
+
* @param {*} [options] Override http request option.
|
|
468
|
+
* @throws {RequiredError}
|
|
469
|
+
*/
|
|
470
|
+
updateSubscriber(id: string, updateSubscriber: UpdateSubscriber, options?: RawAxiosRequestConfig): AxiosPromise<SubscriberRecord>;
|
|
471
|
+
/**
|
|
472
|
+
*
|
|
473
|
+
* @summary PATCH /v1/subscribers/:id/credentials — upsert/merge creds for a provider
|
|
474
|
+
* @param {string} id Subscriber ID
|
|
475
|
+
* @param {PatchCredentials} patchCredentials
|
|
476
|
+
* @param {*} [options] Override http request option.
|
|
477
|
+
* @throws {RequiredError}
|
|
478
|
+
*/
|
|
479
|
+
upsertCredentials(id: string, patchCredentials: PatchCredentials, options?: RawAxiosRequestConfig): AxiosPromise<SubscriberRecord>;
|
|
480
|
+
};
|
|
481
|
+
/**
|
|
482
|
+
* SubscribersApi - interface
|
|
483
|
+
*/
|
|
484
|
+
export interface SubscribersApiInterface {
|
|
485
|
+
/**
|
|
486
|
+
*
|
|
487
|
+
* @summary POST /v1/subscribers/bulk — create multiple subscribers at once
|
|
488
|
+
* @param {BulkCreateSubscribers} bulkCreateSubscribers
|
|
489
|
+
* @param {*} [options] Override http request option.
|
|
490
|
+
* @throws {RequiredError}
|
|
491
|
+
*/
|
|
492
|
+
bulkCreate(bulkCreateSubscribers: BulkCreateSubscribers, options?: RawAxiosRequestConfig): AxiosPromise<BulkResult>;
|
|
493
|
+
/**
|
|
494
|
+
*
|
|
495
|
+
* @summary PATCH /v1/subscribers/:id/preferences/bulk — update multiple workflow preferences at once
|
|
496
|
+
* @param {string} id Subscriber ID
|
|
497
|
+
* @param {BulkPreferences} bulkPreferences
|
|
498
|
+
* @param {*} [options] Override http request option.
|
|
499
|
+
* @throws {RequiredError}
|
|
500
|
+
*/
|
|
501
|
+
bulkUpdatePreferences(id: string, bulkPreferences: BulkPreferences, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
502
|
+
/**
|
|
503
|
+
*
|
|
504
|
+
* @summary POST /v1/subscribers
|
|
505
|
+
* @param {CreateSubscriber} createSubscriber
|
|
506
|
+
* @param {*} [options] Override http request option.
|
|
507
|
+
* @throws {RequiredError}
|
|
508
|
+
*/
|
|
509
|
+
createSubscriber(createSubscriber: CreateSubscriber, options?: RawAxiosRequestConfig): AxiosPromise<SubscriberRecord>;
|
|
510
|
+
/**
|
|
511
|
+
*
|
|
512
|
+
* @summary DELETE /v1/subscribers/:id/credentials/:provider_id — remove creds for a provider
|
|
513
|
+
* @param {string} id Subscriber ID
|
|
514
|
+
* @param {string} providerId Provider ID
|
|
515
|
+
* @param {*} [options] Override http request option.
|
|
516
|
+
* @throws {RequiredError}
|
|
517
|
+
*/
|
|
518
|
+
deleteCredentials(id: string, providerId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
519
|
+
/**
|
|
520
|
+
*
|
|
521
|
+
* @summary DELETE /v1/subscribers/:subscriber_id
|
|
522
|
+
* @param {string} id Subscriber ID
|
|
523
|
+
* @param {*} [options] Override http request option.
|
|
524
|
+
* @throws {RequiredError}
|
|
525
|
+
*/
|
|
526
|
+
deleteSubscriber(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
527
|
+
/**
|
|
528
|
+
*
|
|
529
|
+
* @summary GET /v1/subscribers/:subscriber_id
|
|
530
|
+
* @param {string} id Subscriber ID
|
|
531
|
+
* @param {*} [options] Override http request option.
|
|
532
|
+
* @throws {RequiredError}
|
|
533
|
+
*/
|
|
534
|
+
getSubscriber(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SubscriberRecord>;
|
|
535
|
+
/**
|
|
536
|
+
*
|
|
537
|
+
* @summary GET /v1/subscribers/:id/subscriptions — list topic subscriptions for a subscriber
|
|
538
|
+
* @param {string} id Subscriber ID
|
|
539
|
+
* @param {*} [options] Override http request option.
|
|
540
|
+
* @throws {RequiredError}
|
|
541
|
+
*/
|
|
542
|
+
listSubscriberSubscriptions(id: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<TopicSubscription>>;
|
|
543
|
+
/**
|
|
544
|
+
* Lists subscribers for the current project. When the optional `q` query parameter is provided, the list is powered by Typesense full-text search (searching across email, name, phone, subscriber_id). Without `q`, a standard paginated listing from the primary store is returned.
|
|
545
|
+
* @summary GET /v1/subscribers
|
|
546
|
+
* @param {number | null} [limit] Maximum number of items to return (1–100, default 10).
|
|
547
|
+
* @param {number | null} [offset] Number of items to skip (default 0).
|
|
548
|
+
* @param {string | null} [q] Optional full-text search query (e.g., an email, name, or phone number). When present, search is powered by Typesense.
|
|
549
|
+
* @param {string | null} [filterBy] Optional filter expression for narrowing results. Example: `is_online:=true` or `locale:=en-US`.
|
|
550
|
+
* @param {*} [options] Override http request option.
|
|
551
|
+
* @throws {RequiredError}
|
|
552
|
+
*/
|
|
553
|
+
listSubscribers(limit?: number | null, offset?: number | null, q?: string | null, filterBy?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedSubscriberRecord>;
|
|
554
|
+
/**
|
|
555
|
+
*
|
|
556
|
+
* @summary POST /v1/subscribers/:id/messages/mark-all — mark all messages
|
|
557
|
+
* @param {string} id Subscriber ID
|
|
558
|
+
* @param {MarkAll} markAll
|
|
559
|
+
* @param {*} [options] Override http request option.
|
|
560
|
+
* @throws {RequiredError}
|
|
561
|
+
*/
|
|
562
|
+
markAllMessages(id: string, markAll: MarkAll, options?: RawAxiosRequestConfig): AxiosPromise<MarkResult>;
|
|
563
|
+
/**
|
|
564
|
+
*
|
|
565
|
+
* @summary POST /v1/subscribers/:id/messages/mark-as — mark messages as read/seen/unseen
|
|
566
|
+
* @param {string} id Subscriber ID
|
|
567
|
+
* @param {MarkMessages} markMessages
|
|
568
|
+
* @param {*} [options] Override http request option.
|
|
569
|
+
* @throws {RequiredError}
|
|
570
|
+
*/
|
|
571
|
+
markMessages(id: string, markMessages: MarkMessages, options?: RawAxiosRequestConfig): AxiosPromise<MarkResult>;
|
|
572
|
+
/**
|
|
573
|
+
*
|
|
574
|
+
* @summary PUT /v1/subscribers/:id/credentials — replace all creds for a provider
|
|
575
|
+
* @param {string} id Subscriber ID
|
|
576
|
+
* @param {SetCredentials} setCredentials
|
|
577
|
+
* @param {*} [options] Override http request option.
|
|
578
|
+
* @throws {RequiredError}
|
|
579
|
+
*/
|
|
580
|
+
setCredentials(id: string, setCredentials: SetCredentials, options?: RawAxiosRequestConfig): AxiosPromise<SubscriberRecord>;
|
|
581
|
+
/**
|
|
582
|
+
*
|
|
583
|
+
* @summary GET /v1/subscribers/:id/notifications/feed — cursor-paginated message list
|
|
584
|
+
* @param {string} id Subscriber ID
|
|
585
|
+
* @param {number | null} [limit]
|
|
586
|
+
* @param {string | null} [after]
|
|
587
|
+
* @param {string | null} [before]
|
|
588
|
+
* @param {string | null} [channel]
|
|
589
|
+
* @param {boolean | null} [read]
|
|
590
|
+
* @param {boolean | null} [seen]
|
|
591
|
+
* @param {*} [options] Override http request option.
|
|
592
|
+
* @throws {RequiredError}
|
|
593
|
+
*/
|
|
594
|
+
subscriberFeed(id: string, limit?: number | null, after?: string | null, before?: string | null, channel?: string | null, read?: boolean | null, seen?: boolean | null, options?: RawAxiosRequestConfig): AxiosPromise<CursorPaginatedFeedItem>;
|
|
595
|
+
/**
|
|
596
|
+
*
|
|
597
|
+
* @summary GET /v1/subscribers/:id/notifications/unseen — unseen count
|
|
598
|
+
* @param {string} id Subscriber ID
|
|
599
|
+
* @param {*} [options] Override http request option.
|
|
600
|
+
* @throws {RequiredError}
|
|
601
|
+
*/
|
|
602
|
+
unseenCount(id: string, options?: RawAxiosRequestConfig): AxiosPromise<UnseenCount>;
|
|
603
|
+
/**
|
|
604
|
+
*
|
|
605
|
+
* @summary PATCH /v1/subscribers/:id/online-status — set online/offline
|
|
606
|
+
* @param {string} id Subscriber ID
|
|
607
|
+
* @param {OnlineStatus} onlineStatus
|
|
608
|
+
* @param {*} [options] Override http request option.
|
|
609
|
+
* @throws {RequiredError}
|
|
610
|
+
*/
|
|
611
|
+
updateOnlineStatus(id: string, onlineStatus: OnlineStatus, options?: RawAxiosRequestConfig): AxiosPromise<SubscriberRecord>;
|
|
612
|
+
/**
|
|
613
|
+
*
|
|
614
|
+
* @summary PATCH /v1/subscribers/:subscriber_id
|
|
615
|
+
* @param {string} id Subscriber ID
|
|
616
|
+
* @param {UpdateSubscriber} updateSubscriber
|
|
617
|
+
* @param {*} [options] Override http request option.
|
|
618
|
+
* @throws {RequiredError}
|
|
619
|
+
*/
|
|
620
|
+
updateSubscriber(id: string, updateSubscriber: UpdateSubscriber, options?: RawAxiosRequestConfig): AxiosPromise<SubscriberRecord>;
|
|
621
|
+
/**
|
|
622
|
+
*
|
|
623
|
+
* @summary PATCH /v1/subscribers/:id/credentials — upsert/merge creds for a provider
|
|
624
|
+
* @param {string} id Subscriber ID
|
|
625
|
+
* @param {PatchCredentials} patchCredentials
|
|
626
|
+
* @param {*} [options] Override http request option.
|
|
627
|
+
* @throws {RequiredError}
|
|
628
|
+
*/
|
|
629
|
+
upsertCredentials(id: string, patchCredentials: PatchCredentials, options?: RawAxiosRequestConfig): AxiosPromise<SubscriberRecord>;
|
|
630
|
+
}
|
|
631
|
+
/**
|
|
632
|
+
* SubscribersApi - object-oriented interface
|
|
633
|
+
*/
|
|
634
|
+
export declare class SubscribersApi extends BaseAPI implements SubscribersApiInterface {
|
|
635
|
+
/**
|
|
636
|
+
*
|
|
637
|
+
* @summary POST /v1/subscribers/bulk — create multiple subscribers at once
|
|
638
|
+
* @param {BulkCreateSubscribers} bulkCreateSubscribers
|
|
639
|
+
* @param {*} [options] Override http request option.
|
|
640
|
+
* @throws {RequiredError}
|
|
641
|
+
*/
|
|
642
|
+
bulkCreate(bulkCreateSubscribers: BulkCreateSubscribers, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BulkResult, any, {}>>;
|
|
643
|
+
/**
|
|
644
|
+
*
|
|
645
|
+
* @summary PATCH /v1/subscribers/:id/preferences/bulk — update multiple workflow preferences at once
|
|
646
|
+
* @param {string} id Subscriber ID
|
|
647
|
+
* @param {BulkPreferences} bulkPreferences
|
|
648
|
+
* @param {*} [options] Override http request option.
|
|
649
|
+
* @throws {RequiredError}
|
|
650
|
+
*/
|
|
651
|
+
bulkUpdatePreferences(id: string, bulkPreferences: BulkPreferences, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
652
|
+
/**
|
|
653
|
+
*
|
|
654
|
+
* @summary POST /v1/subscribers
|
|
655
|
+
* @param {CreateSubscriber} createSubscriber
|
|
656
|
+
* @param {*} [options] Override http request option.
|
|
657
|
+
* @throws {RequiredError}
|
|
658
|
+
*/
|
|
659
|
+
createSubscriber(createSubscriber: CreateSubscriber, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriberRecord, any, {}>>;
|
|
660
|
+
/**
|
|
661
|
+
*
|
|
662
|
+
* @summary DELETE /v1/subscribers/:id/credentials/:provider_id — remove creds for a provider
|
|
663
|
+
* @param {string} id Subscriber ID
|
|
664
|
+
* @param {string} providerId Provider ID
|
|
665
|
+
* @param {*} [options] Override http request option.
|
|
666
|
+
* @throws {RequiredError}
|
|
667
|
+
*/
|
|
668
|
+
deleteCredentials(id: string, providerId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
669
|
+
/**
|
|
670
|
+
*
|
|
671
|
+
* @summary DELETE /v1/subscribers/:subscriber_id
|
|
672
|
+
* @param {string} id Subscriber ID
|
|
673
|
+
* @param {*} [options] Override http request option.
|
|
674
|
+
* @throws {RequiredError}
|
|
675
|
+
*/
|
|
676
|
+
deleteSubscriber(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
677
|
+
/**
|
|
678
|
+
*
|
|
679
|
+
* @summary GET /v1/subscribers/:subscriber_id
|
|
680
|
+
* @param {string} id Subscriber ID
|
|
681
|
+
* @param {*} [options] Override http request option.
|
|
682
|
+
* @throws {RequiredError}
|
|
683
|
+
*/
|
|
684
|
+
getSubscriber(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriberRecord, any, {}>>;
|
|
685
|
+
/**
|
|
686
|
+
*
|
|
687
|
+
* @summary GET /v1/subscribers/:id/subscriptions — list topic subscriptions for a subscriber
|
|
688
|
+
* @param {string} id Subscriber ID
|
|
689
|
+
* @param {*} [options] Override http request option.
|
|
690
|
+
* @throws {RequiredError}
|
|
691
|
+
*/
|
|
692
|
+
listSubscriberSubscriptions(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TopicSubscription[], any, {}>>;
|
|
693
|
+
/**
|
|
694
|
+
* Lists subscribers for the current project. When the optional `q` query parameter is provided, the list is powered by Typesense full-text search (searching across email, name, phone, subscriber_id). Without `q`, a standard paginated listing from the primary store is returned.
|
|
695
|
+
* @summary GET /v1/subscribers
|
|
696
|
+
* @param {number | null} [limit] Maximum number of items to return (1–100, default 10).
|
|
697
|
+
* @param {number | null} [offset] Number of items to skip (default 0).
|
|
698
|
+
* @param {string | null} [q] Optional full-text search query (e.g., an email, name, or phone number). When present, search is powered by Typesense.
|
|
699
|
+
* @param {string | null} [filterBy] Optional filter expression for narrowing results. Example: `is_online:=true` or `locale:=en-US`.
|
|
700
|
+
* @param {*} [options] Override http request option.
|
|
701
|
+
* @throws {RequiredError}
|
|
702
|
+
*/
|
|
703
|
+
listSubscribers(limit?: number | null, offset?: number | null, q?: string | null, filterBy?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedSubscriberRecord, any, {}>>;
|
|
704
|
+
/**
|
|
705
|
+
*
|
|
706
|
+
* @summary POST /v1/subscribers/:id/messages/mark-all — mark all messages
|
|
707
|
+
* @param {string} id Subscriber ID
|
|
708
|
+
* @param {MarkAll} markAll
|
|
709
|
+
* @param {*} [options] Override http request option.
|
|
710
|
+
* @throws {RequiredError}
|
|
711
|
+
*/
|
|
712
|
+
markAllMessages(id: string, markAll: MarkAll, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MarkResult, any, {}>>;
|
|
713
|
+
/**
|
|
714
|
+
*
|
|
715
|
+
* @summary POST /v1/subscribers/:id/messages/mark-as — mark messages as read/seen/unseen
|
|
716
|
+
* @param {string} id Subscriber ID
|
|
717
|
+
* @param {MarkMessages} markMessages
|
|
718
|
+
* @param {*} [options] Override http request option.
|
|
719
|
+
* @throws {RequiredError}
|
|
720
|
+
*/
|
|
721
|
+
markMessages(id: string, markMessages: MarkMessages, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MarkResult, any, {}>>;
|
|
722
|
+
/**
|
|
723
|
+
*
|
|
724
|
+
* @summary PUT /v1/subscribers/:id/credentials — replace all creds for a provider
|
|
725
|
+
* @param {string} id Subscriber ID
|
|
726
|
+
* @param {SetCredentials} setCredentials
|
|
727
|
+
* @param {*} [options] Override http request option.
|
|
728
|
+
* @throws {RequiredError}
|
|
729
|
+
*/
|
|
730
|
+
setCredentials(id: string, setCredentials: SetCredentials, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriberRecord, any, {}>>;
|
|
731
|
+
/**
|
|
732
|
+
*
|
|
733
|
+
* @summary GET /v1/subscribers/:id/notifications/feed — cursor-paginated message list
|
|
734
|
+
* @param {string} id Subscriber ID
|
|
735
|
+
* @param {number | null} [limit]
|
|
736
|
+
* @param {string | null} [after]
|
|
737
|
+
* @param {string | null} [before]
|
|
738
|
+
* @param {string | null} [channel]
|
|
739
|
+
* @param {boolean | null} [read]
|
|
740
|
+
* @param {boolean | null} [seen]
|
|
741
|
+
* @param {*} [options] Override http request option.
|
|
742
|
+
* @throws {RequiredError}
|
|
743
|
+
*/
|
|
744
|
+
subscriberFeed(id: string, limit?: number | null, after?: string | null, before?: string | null, channel?: string | null, read?: boolean | null, seen?: boolean | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CursorPaginatedFeedItem, any, {}>>;
|
|
745
|
+
/**
|
|
746
|
+
*
|
|
747
|
+
* @summary GET /v1/subscribers/:id/notifications/unseen — unseen count
|
|
748
|
+
* @param {string} id Subscriber ID
|
|
749
|
+
* @param {*} [options] Override http request option.
|
|
750
|
+
* @throws {RequiredError}
|
|
751
|
+
*/
|
|
752
|
+
unseenCount(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UnseenCount, any, {}>>;
|
|
753
|
+
/**
|
|
754
|
+
*
|
|
755
|
+
* @summary PATCH /v1/subscribers/:id/online-status — set online/offline
|
|
756
|
+
* @param {string} id Subscriber ID
|
|
757
|
+
* @param {OnlineStatus} onlineStatus
|
|
758
|
+
* @param {*} [options] Override http request option.
|
|
759
|
+
* @throws {RequiredError}
|
|
760
|
+
*/
|
|
761
|
+
updateOnlineStatus(id: string, onlineStatus: OnlineStatus, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriberRecord, any, {}>>;
|
|
762
|
+
/**
|
|
763
|
+
*
|
|
764
|
+
* @summary PATCH /v1/subscribers/:subscriber_id
|
|
765
|
+
* @param {string} id Subscriber ID
|
|
766
|
+
* @param {UpdateSubscriber} updateSubscriber
|
|
767
|
+
* @param {*} [options] Override http request option.
|
|
768
|
+
* @throws {RequiredError}
|
|
769
|
+
*/
|
|
770
|
+
updateSubscriber(id: string, updateSubscriber: UpdateSubscriber, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriberRecord, any, {}>>;
|
|
771
|
+
/**
|
|
772
|
+
*
|
|
773
|
+
* @summary PATCH /v1/subscribers/:id/credentials — upsert/merge creds for a provider
|
|
774
|
+
* @param {string} id Subscriber ID
|
|
775
|
+
* @param {PatchCredentials} patchCredentials
|
|
776
|
+
* @param {*} [options] Override http request option.
|
|
777
|
+
* @throws {RequiredError}
|
|
778
|
+
*/
|
|
779
|
+
upsertCredentials(id: string, patchCredentials: PatchCredentials, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriberRecord, any, {}>>;
|
|
780
|
+
}
|