subscriber.dto.d.ts 802 B

123456789101112131415161718192021222324252627
  1. import { ChatProviderIdEnum, PushProviderIdEnum } from '../../consts';
  2. import { EnvironmentId, ExternalSubscriberId, OrganizationId } from '../../types';
  3. interface IChannelCredentials {
  4. webhookUrl?: string;
  5. deviceTokens?: string[];
  6. }
  7. interface IChannelSettings {
  8. _integrationId: string;
  9. providerId: ChatProviderIdEnum | PushProviderIdEnum;
  10. credentials: IChannelCredentials;
  11. }
  12. export declare class SubscriberDto {
  13. _id: string;
  14. _organizationId: OrganizationId;
  15. _environmentId: EnvironmentId;
  16. firstName: string;
  17. lastName: string;
  18. email: string;
  19. phone?: string;
  20. avatar?: string;
  21. locale?: string;
  22. subscriberId: ExternalSubscriberId;
  23. channels?: IChannelSettings[];
  24. deleted: boolean;
  25. }
  26. export {};
  27. //# sourceMappingURL=subscriber.dto.d.ts.map