magicbell-js 0.3.0 → 1.1.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 +6 -6
- package/dist/commonjs/project-client/http/transport/request-builder.js.map +1 -1
- package/dist/commonjs/project-client/services/broadcasts/models/broadcast-collection.d.ts +265 -265
- 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/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/common/user.d.ts +6 -6
- 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/theme.d.ts +56 -56
- package/dist/commonjs/project-client/services/users/models/user-collection.d.ts +10 -10
- package/dist/commonjs/socket.d.ts +11 -0
- package/dist/commonjs/socket.d.ts.map +1 -0
- package/dist/commonjs/socket.js +196 -0
- package/dist/commonjs/socket.js.map +1 -0
- package/dist/commonjs/user-client/http/transport/request-builder.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/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/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/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/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/esm/project-client/http/transport/request-builder.js.map +1 -1
- package/dist/esm/project-client/services/broadcasts/models/broadcast-collection.d.ts +265 -265
- 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/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/common/user.d.ts +6 -6
- 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/theme.d.ts +56 -56
- package/dist/esm/project-client/services/users/models/user-collection.d.ts +10 -10
- package/dist/esm/socket.d.ts +11 -0
- package/dist/esm/socket.d.ts.map +1 -0
- package/dist/esm/socket.js +192 -0
- package/dist/esm/socket.js.map +1 -0
- package/dist/esm/user-client/http/transport/request-builder.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/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/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/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/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/package.json +14 -3
- package/socket/package.json +4 -0
- package/src/project-client/http/transport/request-builder.ts +1 -1
- package/src/socket.ts +228 -0
- package/src/user-client/http/transport/request-builder.ts +1 -1
|
@@ -299,12 +299,22 @@ export declare const broadcast: z.ZodLazy<z.ZodObject<{
|
|
|
299
299
|
lastSeenAt?: string | null | undefined;
|
|
300
300
|
updatedAt?: string | null | undefined;
|
|
301
301
|
}[] | null;
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
302
|
+
status?: {
|
|
303
|
+
errors: {
|
|
304
|
+
message?: string | undefined;
|
|
305
|
+
}[] | null;
|
|
306
|
+
status: string;
|
|
307
|
+
summary: {
|
|
308
|
+
failures: number;
|
|
309
|
+
total: number;
|
|
310
|
+
};
|
|
311
|
+
} | undefined;
|
|
305
312
|
createdAt?: string | undefined;
|
|
306
313
|
customAttributes?: any;
|
|
307
314
|
id?: string | undefined;
|
|
315
|
+
actionUrl?: string | null | undefined;
|
|
316
|
+
content?: string | null | undefined;
|
|
317
|
+
category?: string | null | undefined;
|
|
308
318
|
overrides?: {
|
|
309
319
|
channels?: {
|
|
310
320
|
email?: {
|
|
@@ -341,16 +351,6 @@ export declare const broadcast: z.ZodLazy<z.ZodObject<{
|
|
|
341
351
|
webPush?: any;
|
|
342
352
|
} | undefined;
|
|
343
353
|
} | null | undefined;
|
|
344
|
-
status?: {
|
|
345
|
-
errors: {
|
|
346
|
-
message?: string | undefined;
|
|
347
|
-
}[] | null;
|
|
348
|
-
status: string;
|
|
349
|
-
summary: {
|
|
350
|
-
failures: number;
|
|
351
|
-
total: number;
|
|
352
|
-
};
|
|
353
|
-
} | undefined;
|
|
354
354
|
topic?: string | null | undefined;
|
|
355
355
|
}, {
|
|
356
356
|
title: string;
|
|
@@ -366,12 +366,22 @@ export declare const broadcast: z.ZodLazy<z.ZodObject<{
|
|
|
366
366
|
lastSeenAt?: string | null | undefined;
|
|
367
367
|
updatedAt?: string | null | undefined;
|
|
368
368
|
}[] | null;
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
369
|
+
status?: {
|
|
370
|
+
errors: {
|
|
371
|
+
message?: string | undefined;
|
|
372
|
+
}[] | null;
|
|
373
|
+
status: string;
|
|
374
|
+
summary: {
|
|
375
|
+
failures: number;
|
|
376
|
+
total: number;
|
|
377
|
+
};
|
|
378
|
+
} | undefined;
|
|
372
379
|
createdAt?: string | undefined;
|
|
373
380
|
customAttributes?: any;
|
|
374
381
|
id?: string | undefined;
|
|
382
|
+
actionUrl?: string | null | undefined;
|
|
383
|
+
content?: string | null | undefined;
|
|
384
|
+
category?: string | null | undefined;
|
|
375
385
|
overrides?: {
|
|
376
386
|
channels?: {
|
|
377
387
|
email?: {
|
|
@@ -408,16 +418,6 @@ export declare const broadcast: z.ZodLazy<z.ZodObject<{
|
|
|
408
418
|
webPush?: any;
|
|
409
419
|
} | undefined;
|
|
410
420
|
} | null | undefined;
|
|
411
|
-
status?: {
|
|
412
|
-
errors: {
|
|
413
|
-
message?: string | undefined;
|
|
414
|
-
}[] | null;
|
|
415
|
-
status: string;
|
|
416
|
-
summary: {
|
|
417
|
-
failures: number;
|
|
418
|
-
total: number;
|
|
419
|
-
};
|
|
420
|
-
} | undefined;
|
|
421
421
|
topic?: string | null | undefined;
|
|
422
422
|
}>>;
|
|
423
423
|
/**
|
|
@@ -454,84 +454,84 @@ export declare const broadcastResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
454
454
|
content: z.ZodOptional<z.ZodString>;
|
|
455
455
|
title: z.ZodOptional<z.ZodString>;
|
|
456
456
|
}, "strip", z.ZodTypeAny, {
|
|
457
|
-
action_url?: string | null | undefined;
|
|
458
457
|
content?: string | undefined;
|
|
459
458
|
title?: string | undefined;
|
|
460
|
-
}, {
|
|
461
459
|
action_url?: string | null | undefined;
|
|
460
|
+
}, {
|
|
462
461
|
content?: string | undefined;
|
|
463
462
|
title?: string | undefined;
|
|
463
|
+
action_url?: string | null | undefined;
|
|
464
464
|
}>, {
|
|
465
465
|
actionUrl: string | null | undefined;
|
|
466
466
|
content: string | undefined;
|
|
467
467
|
title: string | undefined;
|
|
468
468
|
}, {
|
|
469
|
-
action_url?: string | null | undefined;
|
|
470
469
|
content?: string | undefined;
|
|
471
470
|
title?: string | undefined;
|
|
471
|
+
action_url?: string | null | undefined;
|
|
472
472
|
}>>>;
|
|
473
473
|
in_app: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
474
474
|
action_url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
475
475
|
content: z.ZodOptional<z.ZodString>;
|
|
476
476
|
title: z.ZodOptional<z.ZodString>;
|
|
477
477
|
}, "strip", z.ZodTypeAny, {
|
|
478
|
-
action_url?: string | null | undefined;
|
|
479
478
|
content?: string | undefined;
|
|
480
479
|
title?: string | undefined;
|
|
481
|
-
}, {
|
|
482
480
|
action_url?: string | null | undefined;
|
|
481
|
+
}, {
|
|
483
482
|
content?: string | undefined;
|
|
484
483
|
title?: string | undefined;
|
|
484
|
+
action_url?: string | null | undefined;
|
|
485
485
|
}>, {
|
|
486
486
|
actionUrl: string | null | undefined;
|
|
487
487
|
content: string | undefined;
|
|
488
488
|
title: string | undefined;
|
|
489
489
|
}, {
|
|
490
|
-
action_url?: string | null | undefined;
|
|
491
490
|
content?: string | undefined;
|
|
492
491
|
title?: string | undefined;
|
|
492
|
+
action_url?: string | null | undefined;
|
|
493
493
|
}>>>;
|
|
494
494
|
mobile_push: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
495
495
|
action_url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
496
496
|
content: z.ZodOptional<z.ZodString>;
|
|
497
497
|
title: z.ZodOptional<z.ZodString>;
|
|
498
498
|
}, "strip", z.ZodTypeAny, {
|
|
499
|
-
action_url?: string | null | undefined;
|
|
500
499
|
content?: string | undefined;
|
|
501
500
|
title?: string | undefined;
|
|
502
|
-
}, {
|
|
503
501
|
action_url?: string | null | undefined;
|
|
502
|
+
}, {
|
|
504
503
|
content?: string | undefined;
|
|
505
504
|
title?: string | undefined;
|
|
505
|
+
action_url?: string | null | undefined;
|
|
506
506
|
}>, {
|
|
507
507
|
actionUrl: string | null | undefined;
|
|
508
508
|
content: string | undefined;
|
|
509
509
|
title: string | undefined;
|
|
510
510
|
}, {
|
|
511
|
-
action_url?: string | null | undefined;
|
|
512
511
|
content?: string | undefined;
|
|
513
512
|
title?: string | undefined;
|
|
513
|
+
action_url?: string | null | undefined;
|
|
514
514
|
}>>>;
|
|
515
515
|
sms: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
516
516
|
action_url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
517
517
|
content: z.ZodOptional<z.ZodString>;
|
|
518
518
|
title: z.ZodOptional<z.ZodString>;
|
|
519
519
|
}, "strip", z.ZodTypeAny, {
|
|
520
|
-
action_url?: string | null | undefined;
|
|
521
520
|
content?: string | undefined;
|
|
522
521
|
title?: string | undefined;
|
|
523
|
-
}, {
|
|
524
522
|
action_url?: string | null | undefined;
|
|
523
|
+
}, {
|
|
525
524
|
content?: string | undefined;
|
|
526
525
|
title?: string | undefined;
|
|
526
|
+
action_url?: string | null | undefined;
|
|
527
527
|
}>, {
|
|
528
528
|
actionUrl: string | null | undefined;
|
|
529
529
|
content: string | undefined;
|
|
530
530
|
title: string | undefined;
|
|
531
531
|
}, {
|
|
532
|
-
action_url?: string | null | undefined;
|
|
533
532
|
content?: string | undefined;
|
|
534
533
|
title?: string | undefined;
|
|
534
|
+
action_url?: string | null | undefined;
|
|
535
535
|
}>>>;
|
|
536
536
|
}, "strip", z.ZodTypeAny, {
|
|
537
537
|
email?: {
|
|
@@ -539,41 +539,41 @@ export declare const broadcastResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
539
539
|
content: string | undefined;
|
|
540
540
|
title: string | undefined;
|
|
541
541
|
} | undefined;
|
|
542
|
-
|
|
542
|
+
sms?: {
|
|
543
543
|
actionUrl: string | null | undefined;
|
|
544
544
|
content: string | undefined;
|
|
545
545
|
title: string | undefined;
|
|
546
546
|
} | undefined;
|
|
547
|
-
|
|
547
|
+
in_app?: {
|
|
548
548
|
actionUrl: string | null | undefined;
|
|
549
549
|
content: string | undefined;
|
|
550
550
|
title: string | undefined;
|
|
551
551
|
} | undefined;
|
|
552
|
-
|
|
552
|
+
mobile_push?: {
|
|
553
553
|
actionUrl: string | null | undefined;
|
|
554
554
|
content: string | undefined;
|
|
555
555
|
title: string | undefined;
|
|
556
556
|
} | undefined;
|
|
557
557
|
}, {
|
|
558
558
|
email?: {
|
|
559
|
+
content?: string | undefined;
|
|
560
|
+
title?: string | undefined;
|
|
559
561
|
action_url?: string | null | undefined;
|
|
562
|
+
} | undefined;
|
|
563
|
+
sms?: {
|
|
560
564
|
content?: string | undefined;
|
|
561
565
|
title?: string | undefined;
|
|
566
|
+
action_url?: string | null | undefined;
|
|
562
567
|
} | undefined;
|
|
563
568
|
in_app?: {
|
|
564
|
-
action_url?: string | null | undefined;
|
|
565
569
|
content?: string | undefined;
|
|
566
570
|
title?: string | undefined;
|
|
571
|
+
action_url?: string | null | undefined;
|
|
567
572
|
} | undefined;
|
|
568
573
|
mobile_push?: {
|
|
569
|
-
action_url?: string | null | undefined;
|
|
570
574
|
content?: string | undefined;
|
|
571
575
|
title?: string | undefined;
|
|
572
|
-
} | undefined;
|
|
573
|
-
sms?: {
|
|
574
576
|
action_url?: string | null | undefined;
|
|
575
|
-
content?: string | undefined;
|
|
576
|
-
title?: string | undefined;
|
|
577
577
|
} | undefined;
|
|
578
578
|
}>, {
|
|
579
579
|
email: {
|
|
@@ -598,24 +598,24 @@ export declare const broadcastResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
598
598
|
} | undefined;
|
|
599
599
|
}, {
|
|
600
600
|
email?: {
|
|
601
|
+
content?: string | undefined;
|
|
602
|
+
title?: string | undefined;
|
|
601
603
|
action_url?: string | null | undefined;
|
|
604
|
+
} | undefined;
|
|
605
|
+
sms?: {
|
|
602
606
|
content?: string | undefined;
|
|
603
607
|
title?: string | undefined;
|
|
608
|
+
action_url?: string | null | undefined;
|
|
604
609
|
} | undefined;
|
|
605
610
|
in_app?: {
|
|
606
|
-
action_url?: string | null | undefined;
|
|
607
611
|
content?: string | undefined;
|
|
608
612
|
title?: string | undefined;
|
|
613
|
+
action_url?: string | null | undefined;
|
|
609
614
|
} | undefined;
|
|
610
615
|
mobile_push?: {
|
|
611
|
-
action_url?: string | null | undefined;
|
|
612
616
|
content?: string | undefined;
|
|
613
617
|
title?: string | undefined;
|
|
614
|
-
} | undefined;
|
|
615
|
-
sms?: {
|
|
616
618
|
action_url?: string | null | undefined;
|
|
617
|
-
content?: string | undefined;
|
|
618
|
-
title?: string | undefined;
|
|
619
619
|
} | undefined;
|
|
620
620
|
}>>>;
|
|
621
621
|
providers: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
@@ -712,24 +712,24 @@ export declare const broadcastResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
712
712
|
}, {
|
|
713
713
|
channels?: {
|
|
714
714
|
email?: {
|
|
715
|
+
content?: string | undefined;
|
|
716
|
+
title?: string | undefined;
|
|
715
717
|
action_url?: string | null | undefined;
|
|
718
|
+
} | undefined;
|
|
719
|
+
sms?: {
|
|
716
720
|
content?: string | undefined;
|
|
717
721
|
title?: string | undefined;
|
|
722
|
+
action_url?: string | null | undefined;
|
|
718
723
|
} | undefined;
|
|
719
724
|
in_app?: {
|
|
720
|
-
action_url?: string | null | undefined;
|
|
721
725
|
content?: string | undefined;
|
|
722
726
|
title?: string | undefined;
|
|
727
|
+
action_url?: string | null | undefined;
|
|
723
728
|
} | undefined;
|
|
724
729
|
mobile_push?: {
|
|
725
|
-
action_url?: string | null | undefined;
|
|
726
730
|
content?: string | undefined;
|
|
727
731
|
title?: string | undefined;
|
|
728
|
-
} | undefined;
|
|
729
|
-
sms?: {
|
|
730
732
|
action_url?: string | null | undefined;
|
|
731
|
-
content?: string | undefined;
|
|
732
|
-
title?: string | undefined;
|
|
733
733
|
} | undefined;
|
|
734
734
|
} | undefined;
|
|
735
735
|
providers?: {
|
|
@@ -782,24 +782,24 @@ export declare const broadcastResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
782
782
|
}, {
|
|
783
783
|
channels?: {
|
|
784
784
|
email?: {
|
|
785
|
+
content?: string | undefined;
|
|
786
|
+
title?: string | undefined;
|
|
785
787
|
action_url?: string | null | undefined;
|
|
788
|
+
} | undefined;
|
|
789
|
+
sms?: {
|
|
786
790
|
content?: string | undefined;
|
|
787
791
|
title?: string | undefined;
|
|
792
|
+
action_url?: string | null | undefined;
|
|
788
793
|
} | undefined;
|
|
789
794
|
in_app?: {
|
|
790
|
-
action_url?: string | null | undefined;
|
|
791
795
|
content?: string | undefined;
|
|
792
796
|
title?: string | undefined;
|
|
797
|
+
action_url?: string | null | undefined;
|
|
793
798
|
} | undefined;
|
|
794
799
|
mobile_push?: {
|
|
795
|
-
action_url?: string | null | undefined;
|
|
796
800
|
content?: string | undefined;
|
|
797
801
|
title?: string | undefined;
|
|
798
|
-
} | undefined;
|
|
799
|
-
sms?: {
|
|
800
802
|
action_url?: string | null | undefined;
|
|
801
|
-
content?: string | undefined;
|
|
802
|
-
title?: string | undefined;
|
|
803
803
|
} | undefined;
|
|
804
804
|
} | undefined;
|
|
805
805
|
providers?: {
|
|
@@ -827,23 +827,23 @@ export declare const broadcastResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
827
827
|
last_seen_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
828
828
|
updated_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
829
829
|
}, "strip", z.ZodTypeAny, {
|
|
830
|
+
email?: string | null | undefined;
|
|
831
|
+
id?: string | undefined;
|
|
830
832
|
created_at?: string | null | undefined;
|
|
831
833
|
custom_attributes?: any;
|
|
832
|
-
email?: string | null | undefined;
|
|
833
834
|
external_id?: string | null | undefined;
|
|
834
835
|
first_name?: string | null | undefined;
|
|
835
|
-
id?: string | undefined;
|
|
836
836
|
last_name?: string | null | undefined;
|
|
837
837
|
last_notified_at?: string | null | undefined;
|
|
838
838
|
last_seen_at?: string | null | undefined;
|
|
839
839
|
updated_at?: string | null | undefined;
|
|
840
840
|
}, {
|
|
841
|
+
email?: string | null | undefined;
|
|
842
|
+
id?: string | undefined;
|
|
841
843
|
created_at?: string | null | undefined;
|
|
842
844
|
custom_attributes?: any;
|
|
843
|
-
email?: string | null | undefined;
|
|
844
845
|
external_id?: string | null | undefined;
|
|
845
846
|
first_name?: string | null | undefined;
|
|
846
|
-
id?: string | undefined;
|
|
847
847
|
last_name?: string | null | undefined;
|
|
848
848
|
last_notified_at?: string | null | undefined;
|
|
849
849
|
last_seen_at?: string | null | undefined;
|
|
@@ -860,12 +860,12 @@ export declare const broadcastResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
860
860
|
lastSeenAt: string | null | undefined;
|
|
861
861
|
updatedAt: string | null | undefined;
|
|
862
862
|
}, {
|
|
863
|
+
email?: string | null | undefined;
|
|
864
|
+
id?: string | undefined;
|
|
863
865
|
created_at?: string | null | undefined;
|
|
864
866
|
custom_attributes?: any;
|
|
865
|
-
email?: string | null | undefined;
|
|
866
867
|
external_id?: string | null | undefined;
|
|
867
868
|
first_name?: string | null | undefined;
|
|
868
|
-
id?: string | undefined;
|
|
869
869
|
last_name?: string | null | undefined;
|
|
870
870
|
last_notified_at?: string | null | undefined;
|
|
871
871
|
last_seen_at?: string | null | undefined;
|
|
@@ -953,12 +953,22 @@ export declare const broadcastResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
953
953
|
lastSeenAt: string | null | undefined;
|
|
954
954
|
updatedAt: string | null | undefined;
|
|
955
955
|
}[] | null;
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
956
|
+
status?: {
|
|
957
|
+
errors: {
|
|
958
|
+
message: string | undefined;
|
|
959
|
+
}[] | null;
|
|
960
|
+
status: string;
|
|
961
|
+
summary: {
|
|
962
|
+
failures: number;
|
|
963
|
+
total: number;
|
|
964
|
+
};
|
|
965
|
+
} | undefined;
|
|
966
|
+
id?: string | undefined;
|
|
959
967
|
created_at?: string | undefined;
|
|
960
968
|
custom_attributes?: any;
|
|
961
|
-
|
|
969
|
+
content?: string | null | undefined;
|
|
970
|
+
action_url?: string | null | undefined;
|
|
971
|
+
category?: string | null | undefined;
|
|
962
972
|
overrides?: {
|
|
963
973
|
channels: {
|
|
964
974
|
email: {
|
|
@@ -995,58 +1005,58 @@ export declare const broadcastResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
995
1005
|
webPush: any;
|
|
996
1006
|
} | undefined;
|
|
997
1007
|
} | null | undefined;
|
|
998
|
-
status?: {
|
|
999
|
-
errors: {
|
|
1000
|
-
message: string | undefined;
|
|
1001
|
-
}[] | null;
|
|
1002
|
-
status: string;
|
|
1003
|
-
summary: {
|
|
1004
|
-
failures: number;
|
|
1005
|
-
total: number;
|
|
1006
|
-
};
|
|
1007
|
-
} | undefined;
|
|
1008
1008
|
topic?: string | null | undefined;
|
|
1009
1009
|
}, {
|
|
1010
1010
|
title: string;
|
|
1011
1011
|
recipients: {
|
|
1012
|
+
email?: string | null | undefined;
|
|
1013
|
+
id?: string | undefined;
|
|
1012
1014
|
created_at?: string | null | undefined;
|
|
1013
1015
|
custom_attributes?: any;
|
|
1014
|
-
email?: string | null | undefined;
|
|
1015
1016
|
external_id?: string | null | undefined;
|
|
1016
1017
|
first_name?: string | null | undefined;
|
|
1017
|
-
id?: string | undefined;
|
|
1018
1018
|
last_name?: string | null | undefined;
|
|
1019
1019
|
last_notified_at?: string | null | undefined;
|
|
1020
1020
|
last_seen_at?: string | null | undefined;
|
|
1021
1021
|
updated_at?: string | null | undefined;
|
|
1022
1022
|
}[] | null;
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1023
|
+
status?: {
|
|
1024
|
+
errors: {
|
|
1025
|
+
message?: string | undefined;
|
|
1026
|
+
}[] | null;
|
|
1027
|
+
status: string;
|
|
1028
|
+
summary: {
|
|
1029
|
+
failures: number;
|
|
1030
|
+
total: number;
|
|
1031
|
+
};
|
|
1032
|
+
} | undefined;
|
|
1033
|
+
id?: string | undefined;
|
|
1026
1034
|
created_at?: string | undefined;
|
|
1027
1035
|
custom_attributes?: any;
|
|
1028
|
-
|
|
1036
|
+
content?: string | null | undefined;
|
|
1037
|
+
action_url?: string | null | undefined;
|
|
1038
|
+
category?: string | null | undefined;
|
|
1029
1039
|
overrides?: {
|
|
1030
1040
|
channels?: {
|
|
1031
1041
|
email?: {
|
|
1042
|
+
content?: string | undefined;
|
|
1043
|
+
title?: string | undefined;
|
|
1032
1044
|
action_url?: string | null | undefined;
|
|
1045
|
+
} | undefined;
|
|
1046
|
+
sms?: {
|
|
1033
1047
|
content?: string | undefined;
|
|
1034
1048
|
title?: string | undefined;
|
|
1049
|
+
action_url?: string | null | undefined;
|
|
1035
1050
|
} | undefined;
|
|
1036
1051
|
in_app?: {
|
|
1037
|
-
action_url?: string | null | undefined;
|
|
1038
1052
|
content?: string | undefined;
|
|
1039
1053
|
title?: string | undefined;
|
|
1054
|
+
action_url?: string | null | undefined;
|
|
1040
1055
|
} | undefined;
|
|
1041
1056
|
mobile_push?: {
|
|
1042
|
-
action_url?: string | null | undefined;
|
|
1043
1057
|
content?: string | undefined;
|
|
1044
1058
|
title?: string | undefined;
|
|
1045
|
-
} | undefined;
|
|
1046
|
-
sms?: {
|
|
1047
1059
|
action_url?: string | null | undefined;
|
|
1048
|
-
content?: string | undefined;
|
|
1049
|
-
title?: string | undefined;
|
|
1050
1060
|
} | undefined;
|
|
1051
1061
|
} | undefined;
|
|
1052
1062
|
providers?: {
|
|
@@ -1062,16 +1072,6 @@ export declare const broadcastResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1062
1072
|
web_push?: any;
|
|
1063
1073
|
} | undefined;
|
|
1064
1074
|
} | null | undefined;
|
|
1065
|
-
status?: {
|
|
1066
|
-
errors: {
|
|
1067
|
-
message?: string | undefined;
|
|
1068
|
-
}[] | null;
|
|
1069
|
-
status: string;
|
|
1070
|
-
summary: {
|
|
1071
|
-
failures: number;
|
|
1072
|
-
total: number;
|
|
1073
|
-
};
|
|
1074
|
-
} | undefined;
|
|
1075
1075
|
topic?: string | null | undefined;
|
|
1076
1076
|
}>, {
|
|
1077
1077
|
actionUrl: string | null | undefined;
|
|
@@ -1143,44 +1143,54 @@ export declare const broadcastResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1143
1143
|
}, {
|
|
1144
1144
|
title: string;
|
|
1145
1145
|
recipients: {
|
|
1146
|
+
email?: string | null | undefined;
|
|
1147
|
+
id?: string | undefined;
|
|
1146
1148
|
created_at?: string | null | undefined;
|
|
1147
1149
|
custom_attributes?: any;
|
|
1148
|
-
email?: string | null | undefined;
|
|
1149
1150
|
external_id?: string | null | undefined;
|
|
1150
1151
|
first_name?: string | null | undefined;
|
|
1151
|
-
id?: string | undefined;
|
|
1152
1152
|
last_name?: string | null | undefined;
|
|
1153
1153
|
last_notified_at?: string | null | undefined;
|
|
1154
1154
|
last_seen_at?: string | null | undefined;
|
|
1155
1155
|
updated_at?: string | null | undefined;
|
|
1156
1156
|
}[] | null;
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1157
|
+
status?: {
|
|
1158
|
+
errors: {
|
|
1159
|
+
message?: string | undefined;
|
|
1160
|
+
}[] | null;
|
|
1161
|
+
status: string;
|
|
1162
|
+
summary: {
|
|
1163
|
+
failures: number;
|
|
1164
|
+
total: number;
|
|
1165
|
+
};
|
|
1166
|
+
} | undefined;
|
|
1167
|
+
id?: string | undefined;
|
|
1160
1168
|
created_at?: string | undefined;
|
|
1161
1169
|
custom_attributes?: any;
|
|
1162
|
-
|
|
1170
|
+
content?: string | null | undefined;
|
|
1171
|
+
action_url?: string | null | undefined;
|
|
1172
|
+
category?: string | null | undefined;
|
|
1163
1173
|
overrides?: {
|
|
1164
1174
|
channels?: {
|
|
1165
1175
|
email?: {
|
|
1176
|
+
content?: string | undefined;
|
|
1177
|
+
title?: string | undefined;
|
|
1166
1178
|
action_url?: string | null | undefined;
|
|
1179
|
+
} | undefined;
|
|
1180
|
+
sms?: {
|
|
1167
1181
|
content?: string | undefined;
|
|
1168
1182
|
title?: string | undefined;
|
|
1183
|
+
action_url?: string | null | undefined;
|
|
1169
1184
|
} | undefined;
|
|
1170
1185
|
in_app?: {
|
|
1171
|
-
action_url?: string | null | undefined;
|
|
1172
1186
|
content?: string | undefined;
|
|
1173
1187
|
title?: string | undefined;
|
|
1188
|
+
action_url?: string | null | undefined;
|
|
1174
1189
|
} | undefined;
|
|
1175
1190
|
mobile_push?: {
|
|
1176
|
-
action_url?: string | null | undefined;
|
|
1177
1191
|
content?: string | undefined;
|
|
1178
1192
|
title?: string | undefined;
|
|
1179
|
-
} | undefined;
|
|
1180
|
-
sms?: {
|
|
1181
1193
|
action_url?: string | null | undefined;
|
|
1182
|
-
content?: string | undefined;
|
|
1183
|
-
title?: string | undefined;
|
|
1184
1194
|
} | undefined;
|
|
1185
1195
|
} | undefined;
|
|
1186
1196
|
providers?: {
|
|
@@ -1196,16 +1206,6 @@ export declare const broadcastResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1196
1206
|
web_push?: any;
|
|
1197
1207
|
} | undefined;
|
|
1198
1208
|
} | null | undefined;
|
|
1199
|
-
status?: {
|
|
1200
|
-
errors: {
|
|
1201
|
-
message?: string | undefined;
|
|
1202
|
-
}[] | null;
|
|
1203
|
-
status: string;
|
|
1204
|
-
summary: {
|
|
1205
|
-
failures: number;
|
|
1206
|
-
total: number;
|
|
1207
|
-
};
|
|
1208
|
-
} | undefined;
|
|
1209
1209
|
topic?: string | null | undefined;
|
|
1210
1210
|
}>>;
|
|
1211
1211
|
/**
|
|
@@ -1725,12 +1725,22 @@ export declare const broadcastRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1725
1725
|
last_seen_at: string | null | undefined;
|
|
1726
1726
|
updated_at: string | null | undefined;
|
|
1727
1727
|
}[] | null;
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1728
|
+
status?: {
|
|
1729
|
+
errors: {
|
|
1730
|
+
message: string | undefined;
|
|
1731
|
+
}[] | null;
|
|
1732
|
+
status: string;
|
|
1733
|
+
summary: {
|
|
1734
|
+
failures: number;
|
|
1735
|
+
total: number;
|
|
1736
|
+
};
|
|
1737
|
+
} | undefined;
|
|
1731
1738
|
createdAt?: string | undefined;
|
|
1732
1739
|
customAttributes?: any;
|
|
1733
1740
|
id?: string | undefined;
|
|
1741
|
+
actionUrl?: string | null | undefined;
|
|
1742
|
+
content?: string | null | undefined;
|
|
1743
|
+
category?: string | null | undefined;
|
|
1734
1744
|
overrides?: {
|
|
1735
1745
|
channels: {
|
|
1736
1746
|
email: {
|
|
@@ -1767,16 +1777,6 @@ export declare const broadcastRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1767
1777
|
web_push: any;
|
|
1768
1778
|
} | undefined;
|
|
1769
1779
|
} | null | undefined;
|
|
1770
|
-
status?: {
|
|
1771
|
-
errors: {
|
|
1772
|
-
message: string | undefined;
|
|
1773
|
-
}[] | null;
|
|
1774
|
-
status: string;
|
|
1775
|
-
summary: {
|
|
1776
|
-
failures: number;
|
|
1777
|
-
total: number;
|
|
1778
|
-
};
|
|
1779
|
-
} | undefined;
|
|
1780
1780
|
topic?: string | null | undefined;
|
|
1781
1781
|
}, {
|
|
1782
1782
|
title: string;
|
|
@@ -1792,12 +1792,22 @@ export declare const broadcastRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1792
1792
|
lastSeenAt?: string | null | undefined;
|
|
1793
1793
|
updatedAt?: string | null | undefined;
|
|
1794
1794
|
}[] | null;
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1795
|
+
status?: {
|
|
1796
|
+
errors: {
|
|
1797
|
+
message?: string | undefined;
|
|
1798
|
+
}[] | null;
|
|
1799
|
+
status: string;
|
|
1800
|
+
summary: {
|
|
1801
|
+
failures: number;
|
|
1802
|
+
total: number;
|
|
1803
|
+
};
|
|
1804
|
+
} | undefined;
|
|
1798
1805
|
createdAt?: string | undefined;
|
|
1799
1806
|
customAttributes?: any;
|
|
1800
1807
|
id?: string | undefined;
|
|
1808
|
+
actionUrl?: string | null | undefined;
|
|
1809
|
+
content?: string | null | undefined;
|
|
1810
|
+
category?: string | null | undefined;
|
|
1801
1811
|
overrides?: {
|
|
1802
1812
|
channels?: {
|
|
1803
1813
|
email?: {
|
|
@@ -1834,16 +1844,6 @@ export declare const broadcastRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1834
1844
|
webPush?: any;
|
|
1835
1845
|
} | undefined;
|
|
1836
1846
|
} | null | undefined;
|
|
1837
|
-
status?: {
|
|
1838
|
-
errors: {
|
|
1839
|
-
message?: string | undefined;
|
|
1840
|
-
}[] | null;
|
|
1841
|
-
status: string;
|
|
1842
|
-
summary: {
|
|
1843
|
-
failures: number;
|
|
1844
|
-
total: number;
|
|
1845
|
-
};
|
|
1846
|
-
} | undefined;
|
|
1847
1847
|
topic?: string | null | undefined;
|
|
1848
1848
|
}>, {
|
|
1849
1849
|
action_url: string | null | undefined;
|
|
@@ -1926,12 +1926,22 @@ export declare const broadcastRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1926
1926
|
lastSeenAt?: string | null | undefined;
|
|
1927
1927
|
updatedAt?: string | null | undefined;
|
|
1928
1928
|
}[] | null;
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1929
|
+
status?: {
|
|
1930
|
+
errors: {
|
|
1931
|
+
message?: string | undefined;
|
|
1932
|
+
}[] | null;
|
|
1933
|
+
status: string;
|
|
1934
|
+
summary: {
|
|
1935
|
+
failures: number;
|
|
1936
|
+
total: number;
|
|
1937
|
+
};
|
|
1938
|
+
} | undefined;
|
|
1932
1939
|
createdAt?: string | undefined;
|
|
1933
1940
|
customAttributes?: any;
|
|
1934
1941
|
id?: string | undefined;
|
|
1942
|
+
actionUrl?: string | null | undefined;
|
|
1943
|
+
content?: string | null | undefined;
|
|
1944
|
+
category?: string | null | undefined;
|
|
1935
1945
|
overrides?: {
|
|
1936
1946
|
channels?: {
|
|
1937
1947
|
email?: {
|
|
@@ -1968,16 +1978,6 @@ export declare const broadcastRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1968
1978
|
webPush?: any;
|
|
1969
1979
|
} | undefined;
|
|
1970
1980
|
} | null | undefined;
|
|
1971
|
-
status?: {
|
|
1972
|
-
errors: {
|
|
1973
|
-
message?: string | undefined;
|
|
1974
|
-
}[] | null;
|
|
1975
|
-
status: string;
|
|
1976
|
-
summary: {
|
|
1977
|
-
failures: number;
|
|
1978
|
-
total: number;
|
|
1979
|
-
};
|
|
1980
|
-
} | undefined;
|
|
1981
1981
|
topic?: string | null | undefined;
|
|
1982
1982
|
}>>;
|
|
1983
1983
|
//# sourceMappingURL=broadcast.d.ts.map
|