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