@voyant-travel/notifications-react 0.111.7 → 0.111.9
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/hooks/use-notification-deliveries.d.ts +2 -2
- package/dist/hooks/use-notification-delivery-mutation.d.ts +2 -2
- package/dist/hooks/use-notification-delivery.d.ts +2 -2
- package/dist/hooks/use-notification-reminder-rule-mutation.d.ts +3 -3
- package/dist/hooks/use-notification-reminder-rule.d.ts +1 -1
- package/dist/hooks/use-notification-reminder-rules.d.ts +1 -1
- package/dist/hooks/use-notification-reminder-runs.d.ts +4 -4
- package/dist/hooks/use-notification-template-tools.d.ts +3 -3
- package/dist/query-options.d.ts +56 -56
- package/dist/schemas.d.ts +38 -38
- package/package.json +7 -7
|
@@ -7,7 +7,7 @@ export declare function useNotificationDeliveries(options?: UseNotificationDeliv
|
|
|
7
7
|
id: string;
|
|
8
8
|
templateId: string | null;
|
|
9
9
|
templateSlug: string | null;
|
|
10
|
-
targetType: "
|
|
10
|
+
targetType: "booking_payment_schedule" | "invoice" | "booking" | "booking_guarantee" | "payment_session" | "person" | "organization" | "other";
|
|
11
11
|
targetId: string | null;
|
|
12
12
|
personId: string | null;
|
|
13
13
|
organizationId: string | null;
|
|
@@ -17,7 +17,7 @@ export declare function useNotificationDeliveries(options?: UseNotificationDeliv
|
|
|
17
17
|
channel: "email" | "sms";
|
|
18
18
|
provider: string;
|
|
19
19
|
providerMessageId: string | null;
|
|
20
|
-
status: "pending" | "
|
|
20
|
+
status: "pending" | "sent" | "failed" | "cancelled";
|
|
21
21
|
toAddress: string;
|
|
22
22
|
fromAddress: string | null;
|
|
23
23
|
subject: string | null;
|
|
@@ -3,7 +3,7 @@ export declare function useNotificationDeliveryMutation(): {
|
|
|
3
3
|
id: string;
|
|
4
4
|
templateId: string | null;
|
|
5
5
|
templateSlug: string | null;
|
|
6
|
-
targetType: "
|
|
6
|
+
targetType: "booking_payment_schedule" | "invoice" | "booking" | "booking_guarantee" | "payment_session" | "person" | "organization" | "other";
|
|
7
7
|
targetId: string | null;
|
|
8
8
|
personId: string | null;
|
|
9
9
|
organizationId: string | null;
|
|
@@ -13,7 +13,7 @@ export declare function useNotificationDeliveryMutation(): {
|
|
|
13
13
|
channel: "email" | "sms";
|
|
14
14
|
provider: string;
|
|
15
15
|
providerMessageId: string | null;
|
|
16
|
-
status: "pending" | "
|
|
16
|
+
status: "pending" | "sent" | "failed" | "cancelled";
|
|
17
17
|
toAddress: string;
|
|
18
18
|
fromAddress: string | null;
|
|
19
19
|
subject: string | null;
|
|
@@ -4,7 +4,7 @@ export declare function useNotificationDelivery(id: string, options?: {
|
|
|
4
4
|
id: string;
|
|
5
5
|
templateId: string | null;
|
|
6
6
|
templateSlug: string | null;
|
|
7
|
-
targetType: "
|
|
7
|
+
targetType: "booking_payment_schedule" | "invoice" | "booking" | "booking_guarantee" | "payment_session" | "person" | "organization" | "other";
|
|
8
8
|
targetId: string | null;
|
|
9
9
|
personId: string | null;
|
|
10
10
|
organizationId: string | null;
|
|
@@ -14,7 +14,7 @@ export declare function useNotificationDelivery(id: string, options?: {
|
|
|
14
14
|
channel: "email" | "sms";
|
|
15
15
|
provider: string;
|
|
16
16
|
providerMessageId: string | null;
|
|
17
|
-
status: "pending" | "
|
|
17
|
+
status: "pending" | "sent" | "failed" | "cancelled";
|
|
18
18
|
toAddress: string;
|
|
19
19
|
fromAddress: string | null;
|
|
20
20
|
subject: string | null;
|
|
@@ -8,7 +8,7 @@ export declare function useNotificationReminderRuleMutation(): {
|
|
|
8
8
|
slug: string;
|
|
9
9
|
name: string;
|
|
10
10
|
status: "draft" | "active" | "archived";
|
|
11
|
-
targetType: "
|
|
11
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
12
12
|
channel: "email" | "sms";
|
|
13
13
|
provider: string | null;
|
|
14
14
|
templateId: string | null;
|
|
@@ -20,7 +20,7 @@ export declare function useNotificationReminderRuleMutation(): {
|
|
|
20
20
|
}, Error, {
|
|
21
21
|
slug: string;
|
|
22
22
|
name: string;
|
|
23
|
-
targetType: "
|
|
23
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
24
24
|
channel: "email" | "sms";
|
|
25
25
|
status?: "draft" | "active" | "archived" | undefined;
|
|
26
26
|
provider?: string | null | undefined;
|
|
@@ -36,7 +36,7 @@ export declare function useNotificationReminderRuleMutation(): {
|
|
|
36
36
|
slug: string;
|
|
37
37
|
name: string;
|
|
38
38
|
status: "draft" | "active" | "archived";
|
|
39
|
-
targetType: "
|
|
39
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
40
40
|
channel: "email" | "sms";
|
|
41
41
|
provider: string | null;
|
|
42
42
|
templateId: string | null;
|
|
@@ -6,7 +6,7 @@ export declare function useNotificationReminderRule(id: string, options?: UseNot
|
|
|
6
6
|
slug: string;
|
|
7
7
|
name: string;
|
|
8
8
|
status: "draft" | "active" | "archived";
|
|
9
|
-
targetType: "
|
|
9
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
10
10
|
channel: "email" | "sms";
|
|
11
11
|
provider: string | null;
|
|
12
12
|
templateId: string | null;
|
|
@@ -8,7 +8,7 @@ export declare function useNotificationReminderRules(options?: UseNotificationRe
|
|
|
8
8
|
slug: string;
|
|
9
9
|
name: string;
|
|
10
10
|
status: "draft" | "active" | "archived";
|
|
11
|
-
targetType: "
|
|
11
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
12
12
|
channel: "email" | "sms";
|
|
13
13
|
provider: string | null;
|
|
14
14
|
templateId: string | null;
|
|
@@ -6,10 +6,10 @@ export declare function useNotificationReminderRuns(options?: UseNotificationRem
|
|
|
6
6
|
data: {
|
|
7
7
|
id: string;
|
|
8
8
|
reminderRuleId: string;
|
|
9
|
-
targetType: "
|
|
9
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
10
10
|
targetId: string;
|
|
11
11
|
dedupeKey: string;
|
|
12
|
-
status: "
|
|
12
|
+
status: "sent" | "failed" | "queued" | "processing" | "skipped";
|
|
13
13
|
recipient: string | null;
|
|
14
14
|
scheduledFor: string;
|
|
15
15
|
processedAt: string;
|
|
@@ -31,7 +31,7 @@ export declare function useNotificationReminderRuns(options?: UseNotificationRem
|
|
|
31
31
|
slug: string;
|
|
32
32
|
name: string;
|
|
33
33
|
status: "draft" | "active" | "archived";
|
|
34
|
-
targetType: "
|
|
34
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
35
35
|
channel: "email" | "sms";
|
|
36
36
|
provider: string | null;
|
|
37
37
|
templateId: string | null;
|
|
@@ -39,7 +39,7 @@ export declare function useNotificationReminderRuns(options?: UseNotificationRem
|
|
|
39
39
|
};
|
|
40
40
|
delivery: {
|
|
41
41
|
id: string;
|
|
42
|
-
status: "pending" | "
|
|
42
|
+
status: "pending" | "sent" | "failed" | "cancelled";
|
|
43
43
|
channel: "email" | "sms";
|
|
44
44
|
provider: string;
|
|
45
45
|
toAddress: string;
|
|
@@ -23,7 +23,7 @@ export declare function useNotificationTemplateTools(): {
|
|
|
23
23
|
id: string;
|
|
24
24
|
templateId: string | null;
|
|
25
25
|
templateSlug: string | null;
|
|
26
|
-
targetType: "
|
|
26
|
+
targetType: "booking_payment_schedule" | "invoice" | "booking" | "booking_guarantee" | "payment_session" | "person" | "organization" | "other";
|
|
27
27
|
targetId: string | null;
|
|
28
28
|
personId: string | null;
|
|
29
29
|
organizationId: string | null;
|
|
@@ -33,7 +33,7 @@ export declare function useNotificationTemplateTools(): {
|
|
|
33
33
|
channel: "email" | "sms";
|
|
34
34
|
provider: string;
|
|
35
35
|
providerMessageId: string | null;
|
|
36
|
-
status: "pending" | "
|
|
36
|
+
status: "pending" | "sent" | "failed" | "cancelled";
|
|
37
37
|
toAddress: string;
|
|
38
38
|
fromAddress: string | null;
|
|
39
39
|
subject: string | null;
|
|
@@ -66,7 +66,7 @@ export declare function useNotificationTemplateTools(): {
|
|
|
66
66
|
contentId?: string | null | undefined;
|
|
67
67
|
}[] | null | undefined;
|
|
68
68
|
data?: Record<string, unknown> | null | undefined;
|
|
69
|
-
targetType?: "
|
|
69
|
+
targetType?: "booking_payment_schedule" | "invoice" | "booking" | "booking_guarantee" | "payment_session" | "person" | "organization" | "other" | undefined;
|
|
70
70
|
targetId?: string | null | undefined;
|
|
71
71
|
bookingId?: string | null | undefined;
|
|
72
72
|
invoiceId?: string | null | undefined;
|
package/dist/query-options.d.ts
CHANGED
|
@@ -162,7 +162,7 @@ export declare function getNotificationDeliveriesQueryOptions(client: FetchWithV
|
|
|
162
162
|
id: string;
|
|
163
163
|
templateId: string | null;
|
|
164
164
|
templateSlug: string | null;
|
|
165
|
-
targetType: "
|
|
165
|
+
targetType: "booking_payment_schedule" | "invoice" | "booking" | "booking_guarantee" | "payment_session" | "person" | "organization" | "other";
|
|
166
166
|
targetId: string | null;
|
|
167
167
|
personId: string | null;
|
|
168
168
|
organizationId: string | null;
|
|
@@ -172,7 +172,7 @@ export declare function getNotificationDeliveriesQueryOptions(client: FetchWithV
|
|
|
172
172
|
channel: "email" | "sms";
|
|
173
173
|
provider: string;
|
|
174
174
|
providerMessageId: string | null;
|
|
175
|
-
status: "pending" | "
|
|
175
|
+
status: "pending" | "sent" | "failed" | "cancelled";
|
|
176
176
|
toAddress: string;
|
|
177
177
|
fromAddress: string | null;
|
|
178
178
|
subject: string | null;
|
|
@@ -195,7 +195,7 @@ export declare function getNotificationDeliveriesQueryOptions(client: FetchWithV
|
|
|
195
195
|
id: string;
|
|
196
196
|
templateId: string | null;
|
|
197
197
|
templateSlug: string | null;
|
|
198
|
-
targetType: "
|
|
198
|
+
targetType: "booking_payment_schedule" | "invoice" | "booking" | "booking_guarantee" | "payment_session" | "person" | "organization" | "other";
|
|
199
199
|
targetId: string | null;
|
|
200
200
|
personId: string | null;
|
|
201
201
|
organizationId: string | null;
|
|
@@ -205,7 +205,7 @@ export declare function getNotificationDeliveriesQueryOptions(client: FetchWithV
|
|
|
205
205
|
channel: "email" | "sms";
|
|
206
206
|
provider: string;
|
|
207
207
|
providerMessageId: string | null;
|
|
208
|
-
status: "pending" | "
|
|
208
|
+
status: "pending" | "sent" | "failed" | "cancelled";
|
|
209
209
|
toAddress: string;
|
|
210
210
|
fromAddress: string | null;
|
|
211
211
|
subject: string | null;
|
|
@@ -229,7 +229,7 @@ export declare function getNotificationDeliveriesQueryOptions(client: FetchWithV
|
|
|
229
229
|
id: string;
|
|
230
230
|
templateId: string | null;
|
|
231
231
|
templateSlug: string | null;
|
|
232
|
-
targetType: "
|
|
232
|
+
targetType: "booking_payment_schedule" | "invoice" | "booking" | "booking_guarantee" | "payment_session" | "person" | "organization" | "other";
|
|
233
233
|
targetId: string | null;
|
|
234
234
|
personId: string | null;
|
|
235
235
|
organizationId: string | null;
|
|
@@ -239,7 +239,7 @@ export declare function getNotificationDeliveriesQueryOptions(client: FetchWithV
|
|
|
239
239
|
channel: "email" | "sms";
|
|
240
240
|
provider: string;
|
|
241
241
|
providerMessageId: string | null;
|
|
242
|
-
status: "pending" | "
|
|
242
|
+
status: "pending" | "sent" | "failed" | "cancelled";
|
|
243
243
|
toAddress: string;
|
|
244
244
|
fromAddress: string | null;
|
|
245
245
|
subject: string | null;
|
|
@@ -265,7 +265,7 @@ export declare function getNotificationDeliveriesQueryOptions(client: FetchWithV
|
|
|
265
265
|
id: string;
|
|
266
266
|
templateId: string | null;
|
|
267
267
|
templateSlug: string | null;
|
|
268
|
-
targetType: "
|
|
268
|
+
targetType: "booking_payment_schedule" | "invoice" | "booking" | "booking_guarantee" | "payment_session" | "person" | "organization" | "other";
|
|
269
269
|
targetId: string | null;
|
|
270
270
|
personId: string | null;
|
|
271
271
|
organizationId: string | null;
|
|
@@ -275,7 +275,7 @@ export declare function getNotificationDeliveriesQueryOptions(client: FetchWithV
|
|
|
275
275
|
channel: "email" | "sms";
|
|
276
276
|
provider: string;
|
|
277
277
|
providerMessageId: string | null;
|
|
278
|
-
status: "pending" | "
|
|
278
|
+
status: "pending" | "sent" | "failed" | "cancelled";
|
|
279
279
|
toAddress: string;
|
|
280
280
|
fromAddress: string | null;
|
|
281
281
|
subject: string | null;
|
|
@@ -301,7 +301,7 @@ export declare function getNotificationDeliveryQueryOptions(client: FetchWithVal
|
|
|
301
301
|
id: string;
|
|
302
302
|
templateId: string | null;
|
|
303
303
|
templateSlug: string | null;
|
|
304
|
-
targetType: "
|
|
304
|
+
targetType: "booking_payment_schedule" | "invoice" | "booking" | "booking_guarantee" | "payment_session" | "person" | "organization" | "other";
|
|
305
305
|
targetId: string | null;
|
|
306
306
|
personId: string | null;
|
|
307
307
|
organizationId: string | null;
|
|
@@ -311,7 +311,7 @@ export declare function getNotificationDeliveryQueryOptions(client: FetchWithVal
|
|
|
311
311
|
channel: "email" | "sms";
|
|
312
312
|
provider: string;
|
|
313
313
|
providerMessageId: string | null;
|
|
314
|
-
status: "pending" | "
|
|
314
|
+
status: "pending" | "sent" | "failed" | "cancelled";
|
|
315
315
|
toAddress: string;
|
|
316
316
|
fromAddress: string | null;
|
|
317
317
|
subject: string | null;
|
|
@@ -329,7 +329,7 @@ export declare function getNotificationDeliveryQueryOptions(client: FetchWithVal
|
|
|
329
329
|
id: string;
|
|
330
330
|
templateId: string | null;
|
|
331
331
|
templateSlug: string | null;
|
|
332
|
-
targetType: "
|
|
332
|
+
targetType: "booking_payment_schedule" | "invoice" | "booking" | "booking_guarantee" | "payment_session" | "person" | "organization" | "other";
|
|
333
333
|
targetId: string | null;
|
|
334
334
|
personId: string | null;
|
|
335
335
|
organizationId: string | null;
|
|
@@ -339,7 +339,7 @@ export declare function getNotificationDeliveryQueryOptions(client: FetchWithVal
|
|
|
339
339
|
channel: "email" | "sms";
|
|
340
340
|
provider: string;
|
|
341
341
|
providerMessageId: string | null;
|
|
342
|
-
status: "pending" | "
|
|
342
|
+
status: "pending" | "sent" | "failed" | "cancelled";
|
|
343
343
|
toAddress: string;
|
|
344
344
|
fromAddress: string | null;
|
|
345
345
|
subject: string | null;
|
|
@@ -358,7 +358,7 @@ export declare function getNotificationDeliveryQueryOptions(client: FetchWithVal
|
|
|
358
358
|
id: string;
|
|
359
359
|
templateId: string | null;
|
|
360
360
|
templateSlug: string | null;
|
|
361
|
-
targetType: "
|
|
361
|
+
targetType: "booking_payment_schedule" | "invoice" | "booking" | "booking_guarantee" | "payment_session" | "person" | "organization" | "other";
|
|
362
362
|
targetId: string | null;
|
|
363
363
|
personId: string | null;
|
|
364
364
|
organizationId: string | null;
|
|
@@ -368,7 +368,7 @@ export declare function getNotificationDeliveryQueryOptions(client: FetchWithVal
|
|
|
368
368
|
channel: "email" | "sms";
|
|
369
369
|
provider: string;
|
|
370
370
|
providerMessageId: string | null;
|
|
371
|
-
status: "pending" | "
|
|
371
|
+
status: "pending" | "sent" | "failed" | "cancelled";
|
|
372
372
|
toAddress: string;
|
|
373
373
|
fromAddress: string | null;
|
|
374
374
|
subject: string | null;
|
|
@@ -389,7 +389,7 @@ export declare function getNotificationDeliveryQueryOptions(client: FetchWithVal
|
|
|
389
389
|
id: string;
|
|
390
390
|
templateId: string | null;
|
|
391
391
|
templateSlug: string | null;
|
|
392
|
-
targetType: "
|
|
392
|
+
targetType: "booking_payment_schedule" | "invoice" | "booking" | "booking_guarantee" | "payment_session" | "person" | "organization" | "other";
|
|
393
393
|
targetId: string | null;
|
|
394
394
|
personId: string | null;
|
|
395
395
|
organizationId: string | null;
|
|
@@ -399,7 +399,7 @@ export declare function getNotificationDeliveryQueryOptions(client: FetchWithVal
|
|
|
399
399
|
channel: "email" | "sms";
|
|
400
400
|
provider: string;
|
|
401
401
|
providerMessageId: string | null;
|
|
402
|
-
status: "pending" | "
|
|
402
|
+
status: "pending" | "sent" | "failed" | "cancelled";
|
|
403
403
|
toAddress: string;
|
|
404
404
|
fromAddress: string | null;
|
|
405
405
|
subject: string | null;
|
|
@@ -423,7 +423,7 @@ export declare function getNotificationReminderRulesQueryOptions(client: FetchWi
|
|
|
423
423
|
slug: string;
|
|
424
424
|
name: string;
|
|
425
425
|
status: "draft" | "active" | "archived";
|
|
426
|
-
targetType: "
|
|
426
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
427
427
|
channel: "email" | "sms";
|
|
428
428
|
provider: string | null;
|
|
429
429
|
templateId: string | null;
|
|
@@ -442,7 +442,7 @@ export declare function getNotificationReminderRulesQueryOptions(client: FetchWi
|
|
|
442
442
|
slug: string;
|
|
443
443
|
name: string;
|
|
444
444
|
status: "draft" | "active" | "archived";
|
|
445
|
-
targetType: "
|
|
445
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
446
446
|
channel: "email" | "sms";
|
|
447
447
|
provider: string | null;
|
|
448
448
|
templateId: string | null;
|
|
@@ -462,7 +462,7 @@ export declare function getNotificationReminderRulesQueryOptions(client: FetchWi
|
|
|
462
462
|
slug: string;
|
|
463
463
|
name: string;
|
|
464
464
|
status: "draft" | "active" | "archived";
|
|
465
|
-
targetType: "
|
|
465
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
466
466
|
channel: "email" | "sms";
|
|
467
467
|
provider: string | null;
|
|
468
468
|
templateId: string | null;
|
|
@@ -484,7 +484,7 @@ export declare function getNotificationReminderRulesQueryOptions(client: FetchWi
|
|
|
484
484
|
slug: string;
|
|
485
485
|
name: string;
|
|
486
486
|
status: "draft" | "active" | "archived";
|
|
487
|
-
targetType: "
|
|
487
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
488
488
|
channel: "email" | "sms";
|
|
489
489
|
provider: string | null;
|
|
490
490
|
templateId: string | null;
|
|
@@ -506,7 +506,7 @@ export declare function getNotificationReminderRuleQueryOptions(client: FetchWit
|
|
|
506
506
|
slug: string;
|
|
507
507
|
name: string;
|
|
508
508
|
status: "draft" | "active" | "archived";
|
|
509
|
-
targetType: "
|
|
509
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
510
510
|
channel: "email" | "sms";
|
|
511
511
|
provider: string | null;
|
|
512
512
|
templateId: string | null;
|
|
@@ -520,7 +520,7 @@ export declare function getNotificationReminderRuleQueryOptions(client: FetchWit
|
|
|
520
520
|
slug: string;
|
|
521
521
|
name: string;
|
|
522
522
|
status: "draft" | "active" | "archived";
|
|
523
|
-
targetType: "
|
|
523
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
524
524
|
channel: "email" | "sms";
|
|
525
525
|
provider: string | null;
|
|
526
526
|
templateId: string | null;
|
|
@@ -535,7 +535,7 @@ export declare function getNotificationReminderRuleQueryOptions(client: FetchWit
|
|
|
535
535
|
slug: string;
|
|
536
536
|
name: string;
|
|
537
537
|
status: "draft" | "active" | "archived";
|
|
538
|
-
targetType: "
|
|
538
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
539
539
|
channel: "email" | "sms";
|
|
540
540
|
provider: string | null;
|
|
541
541
|
templateId: string | null;
|
|
@@ -552,7 +552,7 @@ export declare function getNotificationReminderRuleQueryOptions(client: FetchWit
|
|
|
552
552
|
slug: string;
|
|
553
553
|
name: string;
|
|
554
554
|
status: "draft" | "active" | "archived";
|
|
555
|
-
targetType: "
|
|
555
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
556
556
|
channel: "email" | "sms";
|
|
557
557
|
provider: string | null;
|
|
558
558
|
templateId: string | null;
|
|
@@ -569,10 +569,10 @@ export declare function getNotificationReminderRunsQueryOptions(client: FetchWit
|
|
|
569
569
|
data: {
|
|
570
570
|
id: string;
|
|
571
571
|
reminderRuleId: string;
|
|
572
|
-
targetType: "
|
|
572
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
573
573
|
targetId: string;
|
|
574
574
|
dedupeKey: string;
|
|
575
|
-
status: "
|
|
575
|
+
status: "sent" | "failed" | "queued" | "processing" | "skipped";
|
|
576
576
|
recipient: string | null;
|
|
577
577
|
scheduledFor: string;
|
|
578
578
|
processedAt: string;
|
|
@@ -594,7 +594,7 @@ export declare function getNotificationReminderRunsQueryOptions(client: FetchWit
|
|
|
594
594
|
slug: string;
|
|
595
595
|
name: string;
|
|
596
596
|
status: "draft" | "active" | "archived";
|
|
597
|
-
targetType: "
|
|
597
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
598
598
|
channel: "email" | "sms";
|
|
599
599
|
provider: string | null;
|
|
600
600
|
templateId: string | null;
|
|
@@ -602,7 +602,7 @@ export declare function getNotificationReminderRunsQueryOptions(client: FetchWit
|
|
|
602
602
|
};
|
|
603
603
|
delivery: {
|
|
604
604
|
id: string;
|
|
605
|
-
status: "pending" | "
|
|
605
|
+
status: "pending" | "sent" | "failed" | "cancelled";
|
|
606
606
|
channel: "email" | "sms";
|
|
607
607
|
provider: string;
|
|
608
608
|
toAddress: string;
|
|
@@ -619,10 +619,10 @@ export declare function getNotificationReminderRunsQueryOptions(client: FetchWit
|
|
|
619
619
|
data: {
|
|
620
620
|
id: string;
|
|
621
621
|
reminderRuleId: string;
|
|
622
|
-
targetType: "
|
|
622
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
623
623
|
targetId: string;
|
|
624
624
|
dedupeKey: string;
|
|
625
|
-
status: "
|
|
625
|
+
status: "sent" | "failed" | "queued" | "processing" | "skipped";
|
|
626
626
|
recipient: string | null;
|
|
627
627
|
scheduledFor: string;
|
|
628
628
|
processedAt: string;
|
|
@@ -644,7 +644,7 @@ export declare function getNotificationReminderRunsQueryOptions(client: FetchWit
|
|
|
644
644
|
slug: string;
|
|
645
645
|
name: string;
|
|
646
646
|
status: "draft" | "active" | "archived";
|
|
647
|
-
targetType: "
|
|
647
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
648
648
|
channel: "email" | "sms";
|
|
649
649
|
provider: string | null;
|
|
650
650
|
templateId: string | null;
|
|
@@ -652,7 +652,7 @@ export declare function getNotificationReminderRunsQueryOptions(client: FetchWit
|
|
|
652
652
|
};
|
|
653
653
|
delivery: {
|
|
654
654
|
id: string;
|
|
655
|
-
status: "pending" | "
|
|
655
|
+
status: "pending" | "sent" | "failed" | "cancelled";
|
|
656
656
|
channel: "email" | "sms";
|
|
657
657
|
provider: string;
|
|
658
658
|
toAddress: string;
|
|
@@ -670,10 +670,10 @@ export declare function getNotificationReminderRunsQueryOptions(client: FetchWit
|
|
|
670
670
|
data: {
|
|
671
671
|
id: string;
|
|
672
672
|
reminderRuleId: string;
|
|
673
|
-
targetType: "
|
|
673
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
674
674
|
targetId: string;
|
|
675
675
|
dedupeKey: string;
|
|
676
|
-
status: "
|
|
676
|
+
status: "sent" | "failed" | "queued" | "processing" | "skipped";
|
|
677
677
|
recipient: string | null;
|
|
678
678
|
scheduledFor: string;
|
|
679
679
|
processedAt: string;
|
|
@@ -695,7 +695,7 @@ export declare function getNotificationReminderRunsQueryOptions(client: FetchWit
|
|
|
695
695
|
slug: string;
|
|
696
696
|
name: string;
|
|
697
697
|
status: "draft" | "active" | "archived";
|
|
698
|
-
targetType: "
|
|
698
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
699
699
|
channel: "email" | "sms";
|
|
700
700
|
provider: string | null;
|
|
701
701
|
templateId: string | null;
|
|
@@ -703,7 +703,7 @@ export declare function getNotificationReminderRunsQueryOptions(client: FetchWit
|
|
|
703
703
|
};
|
|
704
704
|
delivery: {
|
|
705
705
|
id: string;
|
|
706
|
-
status: "pending" | "
|
|
706
|
+
status: "pending" | "sent" | "failed" | "cancelled";
|
|
707
707
|
channel: "email" | "sms";
|
|
708
708
|
provider: string;
|
|
709
709
|
toAddress: string;
|
|
@@ -723,10 +723,10 @@ export declare function getNotificationReminderRunsQueryOptions(client: FetchWit
|
|
|
723
723
|
data: {
|
|
724
724
|
id: string;
|
|
725
725
|
reminderRuleId: string;
|
|
726
|
-
targetType: "
|
|
726
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
727
727
|
targetId: string;
|
|
728
728
|
dedupeKey: string;
|
|
729
|
-
status: "
|
|
729
|
+
status: "sent" | "failed" | "queued" | "processing" | "skipped";
|
|
730
730
|
recipient: string | null;
|
|
731
731
|
scheduledFor: string;
|
|
732
732
|
processedAt: string;
|
|
@@ -748,7 +748,7 @@ export declare function getNotificationReminderRunsQueryOptions(client: FetchWit
|
|
|
748
748
|
slug: string;
|
|
749
749
|
name: string;
|
|
750
750
|
status: "draft" | "active" | "archived";
|
|
751
|
-
targetType: "
|
|
751
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
752
752
|
channel: "email" | "sms";
|
|
753
753
|
provider: string | null;
|
|
754
754
|
templateId: string | null;
|
|
@@ -756,7 +756,7 @@ export declare function getNotificationReminderRunsQueryOptions(client: FetchWit
|
|
|
756
756
|
};
|
|
757
757
|
delivery: {
|
|
758
758
|
id: string;
|
|
759
|
-
status: "pending" | "
|
|
759
|
+
status: "pending" | "sent" | "failed" | "cancelled";
|
|
760
760
|
channel: "email" | "sms";
|
|
761
761
|
provider: string;
|
|
762
762
|
toAddress: string;
|
|
@@ -776,10 +776,10 @@ export declare function getNotificationReminderRunsQueryOptions(client: FetchWit
|
|
|
776
776
|
export declare function getNotificationReminderRunQueryOptions(client: FetchWithValidationOptions, id: string): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
777
777
|
id: string;
|
|
778
778
|
reminderRuleId: string;
|
|
779
|
-
targetType: "
|
|
779
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
780
780
|
targetId: string;
|
|
781
781
|
dedupeKey: string;
|
|
782
|
-
status: "
|
|
782
|
+
status: "sent" | "failed" | "queued" | "processing" | "skipped";
|
|
783
783
|
recipient: string | null;
|
|
784
784
|
scheduledFor: string;
|
|
785
785
|
processedAt: string;
|
|
@@ -801,7 +801,7 @@ export declare function getNotificationReminderRunQueryOptions(client: FetchWith
|
|
|
801
801
|
slug: string;
|
|
802
802
|
name: string;
|
|
803
803
|
status: "draft" | "active" | "archived";
|
|
804
|
-
targetType: "
|
|
804
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
805
805
|
channel: "email" | "sms";
|
|
806
806
|
provider: string | null;
|
|
807
807
|
templateId: string | null;
|
|
@@ -809,7 +809,7 @@ export declare function getNotificationReminderRunQueryOptions(client: FetchWith
|
|
|
809
809
|
};
|
|
810
810
|
delivery: {
|
|
811
811
|
id: string;
|
|
812
|
-
status: "pending" | "
|
|
812
|
+
status: "pending" | "sent" | "failed" | "cancelled";
|
|
813
813
|
channel: "email" | "sms";
|
|
814
814
|
provider: string;
|
|
815
815
|
toAddress: string;
|
|
@@ -821,10 +821,10 @@ export declare function getNotificationReminderRunQueryOptions(client: FetchWith
|
|
|
821
821
|
}, Error, {
|
|
822
822
|
id: string;
|
|
823
823
|
reminderRuleId: string;
|
|
824
|
-
targetType: "
|
|
824
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
825
825
|
targetId: string;
|
|
826
826
|
dedupeKey: string;
|
|
827
|
-
status: "
|
|
827
|
+
status: "sent" | "failed" | "queued" | "processing" | "skipped";
|
|
828
828
|
recipient: string | null;
|
|
829
829
|
scheduledFor: string;
|
|
830
830
|
processedAt: string;
|
|
@@ -846,7 +846,7 @@ export declare function getNotificationReminderRunQueryOptions(client: FetchWith
|
|
|
846
846
|
slug: string;
|
|
847
847
|
name: string;
|
|
848
848
|
status: "draft" | "active" | "archived";
|
|
849
|
-
targetType: "
|
|
849
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
850
850
|
channel: "email" | "sms";
|
|
851
851
|
provider: string | null;
|
|
852
852
|
templateId: string | null;
|
|
@@ -854,7 +854,7 @@ export declare function getNotificationReminderRunQueryOptions(client: FetchWith
|
|
|
854
854
|
};
|
|
855
855
|
delivery: {
|
|
856
856
|
id: string;
|
|
857
|
-
status: "pending" | "
|
|
857
|
+
status: "pending" | "sent" | "failed" | "cancelled";
|
|
858
858
|
channel: "email" | "sms";
|
|
859
859
|
provider: string;
|
|
860
860
|
toAddress: string;
|
|
@@ -867,10 +867,10 @@ export declare function getNotificationReminderRunQueryOptions(client: FetchWith
|
|
|
867
867
|
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
868
868
|
id: string;
|
|
869
869
|
reminderRuleId: string;
|
|
870
|
-
targetType: "
|
|
870
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
871
871
|
targetId: string;
|
|
872
872
|
dedupeKey: string;
|
|
873
|
-
status: "
|
|
873
|
+
status: "sent" | "failed" | "queued" | "processing" | "skipped";
|
|
874
874
|
recipient: string | null;
|
|
875
875
|
scheduledFor: string;
|
|
876
876
|
processedAt: string;
|
|
@@ -892,7 +892,7 @@ export declare function getNotificationReminderRunQueryOptions(client: FetchWith
|
|
|
892
892
|
slug: string;
|
|
893
893
|
name: string;
|
|
894
894
|
status: "draft" | "active" | "archived";
|
|
895
|
-
targetType: "
|
|
895
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
896
896
|
channel: "email" | "sms";
|
|
897
897
|
provider: string | null;
|
|
898
898
|
templateId: string | null;
|
|
@@ -900,7 +900,7 @@ export declare function getNotificationReminderRunQueryOptions(client: FetchWith
|
|
|
900
900
|
};
|
|
901
901
|
delivery: {
|
|
902
902
|
id: string;
|
|
903
|
-
status: "pending" | "
|
|
903
|
+
status: "pending" | "sent" | "failed" | "cancelled";
|
|
904
904
|
channel: "email" | "sms";
|
|
905
905
|
provider: string;
|
|
906
906
|
toAddress: string;
|
|
@@ -915,10 +915,10 @@ export declare function getNotificationReminderRunQueryOptions(client: FetchWith
|
|
|
915
915
|
[dataTagSymbol]: {
|
|
916
916
|
id: string;
|
|
917
917
|
reminderRuleId: string;
|
|
918
|
-
targetType: "
|
|
918
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
919
919
|
targetId: string;
|
|
920
920
|
dedupeKey: string;
|
|
921
|
-
status: "
|
|
921
|
+
status: "sent" | "failed" | "queued" | "processing" | "skipped";
|
|
922
922
|
recipient: string | null;
|
|
923
923
|
scheduledFor: string;
|
|
924
924
|
processedAt: string;
|
|
@@ -940,7 +940,7 @@ export declare function getNotificationReminderRunQueryOptions(client: FetchWith
|
|
|
940
940
|
slug: string;
|
|
941
941
|
name: string;
|
|
942
942
|
status: "draft" | "active" | "archived";
|
|
943
|
-
targetType: "
|
|
943
|
+
targetType: "booking_confirmed" | "booking_payment_schedule" | "payment_complete" | "booking_cancelled_non_payment" | "invoice";
|
|
944
944
|
channel: "email" | "sms";
|
|
945
945
|
provider: string | null;
|
|
946
946
|
templateId: string | null;
|
|
@@ -948,7 +948,7 @@ export declare function getNotificationReminderRunQueryOptions(client: FetchWith
|
|
|
948
948
|
};
|
|
949
949
|
delivery: {
|
|
950
950
|
id: string;
|
|
951
|
-
status: "pending" | "
|
|
951
|
+
status: "pending" | "sent" | "failed" | "cancelled";
|
|
952
952
|
channel: "email" | "sms";
|
|
953
953
|
provider: string;
|
|
954
954
|
toAddress: string;
|
package/dist/schemas.d.ts
CHANGED
|
@@ -41,14 +41,14 @@ export declare const notificationDeliveryRecordSchema: z.ZodObject<{
|
|
|
41
41
|
templateId: z.ZodNullable<z.ZodString>;
|
|
42
42
|
templateSlug: z.ZodNullable<z.ZodString>;
|
|
43
43
|
targetType: z.ZodEnum<{
|
|
44
|
-
other: "other";
|
|
45
|
-
booking: "booking";
|
|
46
|
-
invoice: "invoice";
|
|
47
44
|
booking_payment_schedule: "booking_payment_schedule";
|
|
45
|
+
invoice: "invoice";
|
|
46
|
+
booking: "booking";
|
|
48
47
|
booking_guarantee: "booking_guarantee";
|
|
48
|
+
payment_session: "payment_session";
|
|
49
49
|
person: "person";
|
|
50
50
|
organization: "organization";
|
|
51
|
-
|
|
51
|
+
other: "other";
|
|
52
52
|
}>;
|
|
53
53
|
targetId: z.ZodNullable<z.ZodString>;
|
|
54
54
|
personId: z.ZodNullable<z.ZodString>;
|
|
@@ -64,9 +64,9 @@ export declare const notificationDeliveryRecordSchema: z.ZodObject<{
|
|
|
64
64
|
providerMessageId: z.ZodNullable<z.ZodString>;
|
|
65
65
|
status: z.ZodEnum<{
|
|
66
66
|
pending: "pending";
|
|
67
|
+
sent: "sent";
|
|
67
68
|
failed: "failed";
|
|
68
69
|
cancelled: "cancelled";
|
|
69
|
-
sent: "sent";
|
|
70
70
|
}>;
|
|
71
71
|
toAddress: z.ZodString;
|
|
72
72
|
fromAddress: z.ZodNullable<z.ZodString>;
|
|
@@ -93,11 +93,11 @@ export declare const notificationReminderRuleRecordSchema: z.ZodObject<{
|
|
|
93
93
|
archived: "archived";
|
|
94
94
|
}>;
|
|
95
95
|
targetType: z.ZodEnum<{
|
|
96
|
-
invoice: "invoice";
|
|
97
|
-
booking_payment_schedule: "booking_payment_schedule";
|
|
98
96
|
booking_confirmed: "booking_confirmed";
|
|
97
|
+
booking_payment_schedule: "booking_payment_schedule";
|
|
99
98
|
payment_complete: "payment_complete";
|
|
100
99
|
booking_cancelled_non_payment: "booking_cancelled_non_payment";
|
|
100
|
+
invoice: "invoice";
|
|
101
101
|
}>;
|
|
102
102
|
channel: z.ZodEnum<{
|
|
103
103
|
email: "email";
|
|
@@ -173,14 +173,14 @@ export declare const notificationDeliveryListResponse: z.ZodObject<{
|
|
|
173
173
|
templateId: z.ZodNullable<z.ZodString>;
|
|
174
174
|
templateSlug: z.ZodNullable<z.ZodString>;
|
|
175
175
|
targetType: z.ZodEnum<{
|
|
176
|
-
other: "other";
|
|
177
|
-
booking: "booking";
|
|
178
|
-
invoice: "invoice";
|
|
179
176
|
booking_payment_schedule: "booking_payment_schedule";
|
|
177
|
+
invoice: "invoice";
|
|
178
|
+
booking: "booking";
|
|
180
179
|
booking_guarantee: "booking_guarantee";
|
|
180
|
+
payment_session: "payment_session";
|
|
181
181
|
person: "person";
|
|
182
182
|
organization: "organization";
|
|
183
|
-
|
|
183
|
+
other: "other";
|
|
184
184
|
}>;
|
|
185
185
|
targetId: z.ZodNullable<z.ZodString>;
|
|
186
186
|
personId: z.ZodNullable<z.ZodString>;
|
|
@@ -196,9 +196,9 @@ export declare const notificationDeliveryListResponse: z.ZodObject<{
|
|
|
196
196
|
providerMessageId: z.ZodNullable<z.ZodString>;
|
|
197
197
|
status: z.ZodEnum<{
|
|
198
198
|
pending: "pending";
|
|
199
|
+
sent: "sent";
|
|
199
200
|
failed: "failed";
|
|
200
201
|
cancelled: "cancelled";
|
|
201
|
-
sent: "sent";
|
|
202
202
|
}>;
|
|
203
203
|
toAddress: z.ZodString;
|
|
204
204
|
fromAddress: z.ZodNullable<z.ZodString>;
|
|
@@ -224,14 +224,14 @@ export declare const notificationDeliverySingleResponse: z.ZodObject<{
|
|
|
224
224
|
templateId: z.ZodNullable<z.ZodString>;
|
|
225
225
|
templateSlug: z.ZodNullable<z.ZodString>;
|
|
226
226
|
targetType: z.ZodEnum<{
|
|
227
|
-
other: "other";
|
|
228
|
-
booking: "booking";
|
|
229
|
-
invoice: "invoice";
|
|
230
227
|
booking_payment_schedule: "booking_payment_schedule";
|
|
228
|
+
invoice: "invoice";
|
|
229
|
+
booking: "booking";
|
|
231
230
|
booking_guarantee: "booking_guarantee";
|
|
231
|
+
payment_session: "payment_session";
|
|
232
232
|
person: "person";
|
|
233
233
|
organization: "organization";
|
|
234
|
-
|
|
234
|
+
other: "other";
|
|
235
235
|
}>;
|
|
236
236
|
targetId: z.ZodNullable<z.ZodString>;
|
|
237
237
|
personId: z.ZodNullable<z.ZodString>;
|
|
@@ -247,9 +247,9 @@ export declare const notificationDeliverySingleResponse: z.ZodObject<{
|
|
|
247
247
|
providerMessageId: z.ZodNullable<z.ZodString>;
|
|
248
248
|
status: z.ZodEnum<{
|
|
249
249
|
pending: "pending";
|
|
250
|
+
sent: "sent";
|
|
250
251
|
failed: "failed";
|
|
251
252
|
cancelled: "cancelled";
|
|
252
|
-
sent: "sent";
|
|
253
253
|
}>;
|
|
254
254
|
toAddress: z.ZodString;
|
|
255
255
|
fromAddress: z.ZodNullable<z.ZodString>;
|
|
@@ -277,11 +277,11 @@ export declare const notificationReminderRuleListResponse: z.ZodObject<{
|
|
|
277
277
|
archived: "archived";
|
|
278
278
|
}>;
|
|
279
279
|
targetType: z.ZodEnum<{
|
|
280
|
-
invoice: "invoice";
|
|
281
|
-
booking_payment_schedule: "booking_payment_schedule";
|
|
282
280
|
booking_confirmed: "booking_confirmed";
|
|
281
|
+
booking_payment_schedule: "booking_payment_schedule";
|
|
283
282
|
payment_complete: "payment_complete";
|
|
284
283
|
booking_cancelled_non_payment: "booking_cancelled_non_payment";
|
|
284
|
+
invoice: "invoice";
|
|
285
285
|
}>;
|
|
286
286
|
channel: z.ZodEnum<{
|
|
287
287
|
email: "email";
|
|
@@ -310,11 +310,11 @@ export declare const notificationReminderRuleSingleResponse: z.ZodObject<{
|
|
|
310
310
|
archived: "archived";
|
|
311
311
|
}>;
|
|
312
312
|
targetType: z.ZodEnum<{
|
|
313
|
-
invoice: "invoice";
|
|
314
|
-
booking_payment_schedule: "booking_payment_schedule";
|
|
315
313
|
booking_confirmed: "booking_confirmed";
|
|
314
|
+
booking_payment_schedule: "booking_payment_schedule";
|
|
316
315
|
payment_complete: "payment_complete";
|
|
317
316
|
booking_cancelled_non_payment: "booking_cancelled_non_payment";
|
|
317
|
+
invoice: "invoice";
|
|
318
318
|
}>;
|
|
319
319
|
channel: z.ZodEnum<{
|
|
320
320
|
email: "email";
|
|
@@ -334,20 +334,20 @@ export declare const notificationReminderRunListResponse: z.ZodObject<{
|
|
|
334
334
|
id: z.ZodString;
|
|
335
335
|
reminderRuleId: z.ZodString;
|
|
336
336
|
targetType: z.ZodEnum<{
|
|
337
|
-
invoice: "invoice";
|
|
338
|
-
booking_payment_schedule: "booking_payment_schedule";
|
|
339
337
|
booking_confirmed: "booking_confirmed";
|
|
338
|
+
booking_payment_schedule: "booking_payment_schedule";
|
|
340
339
|
payment_complete: "payment_complete";
|
|
341
340
|
booking_cancelled_non_payment: "booking_cancelled_non_payment";
|
|
341
|
+
invoice: "invoice";
|
|
342
342
|
}>;
|
|
343
343
|
targetId: z.ZodString;
|
|
344
344
|
dedupeKey: z.ZodString;
|
|
345
345
|
status: z.ZodEnum<{
|
|
346
|
-
|
|
346
|
+
sent: "sent";
|
|
347
347
|
failed: "failed";
|
|
348
|
+
queued: "queued";
|
|
348
349
|
processing: "processing";
|
|
349
350
|
skipped: "skipped";
|
|
350
|
-
sent: "sent";
|
|
351
351
|
}>;
|
|
352
352
|
recipient: z.ZodNullable<z.ZodString>;
|
|
353
353
|
scheduledFor: z.ZodString;
|
|
@@ -375,11 +375,11 @@ export declare const notificationReminderRunListResponse: z.ZodObject<{
|
|
|
375
375
|
archived: "archived";
|
|
376
376
|
}>;
|
|
377
377
|
targetType: z.ZodEnum<{
|
|
378
|
-
invoice: "invoice";
|
|
379
|
-
booking_payment_schedule: "booking_payment_schedule";
|
|
380
378
|
booking_confirmed: "booking_confirmed";
|
|
379
|
+
booking_payment_schedule: "booking_payment_schedule";
|
|
381
380
|
payment_complete: "payment_complete";
|
|
382
381
|
booking_cancelled_non_payment: "booking_cancelled_non_payment";
|
|
382
|
+
invoice: "invoice";
|
|
383
383
|
}>;
|
|
384
384
|
channel: z.ZodEnum<{
|
|
385
385
|
email: "email";
|
|
@@ -393,9 +393,9 @@ export declare const notificationReminderRunListResponse: z.ZodObject<{
|
|
|
393
393
|
id: z.ZodString;
|
|
394
394
|
status: z.ZodEnum<{
|
|
395
395
|
pending: "pending";
|
|
396
|
+
sent: "sent";
|
|
396
397
|
failed: "failed";
|
|
397
398
|
cancelled: "cancelled";
|
|
398
|
-
sent: "sent";
|
|
399
399
|
}>;
|
|
400
400
|
channel: z.ZodEnum<{
|
|
401
401
|
email: "email";
|
|
@@ -418,20 +418,20 @@ export declare const notificationReminderRunSingleResponse: z.ZodObject<{
|
|
|
418
418
|
id: z.ZodString;
|
|
419
419
|
reminderRuleId: z.ZodString;
|
|
420
420
|
targetType: z.ZodEnum<{
|
|
421
|
-
invoice: "invoice";
|
|
422
|
-
booking_payment_schedule: "booking_payment_schedule";
|
|
423
421
|
booking_confirmed: "booking_confirmed";
|
|
422
|
+
booking_payment_schedule: "booking_payment_schedule";
|
|
424
423
|
payment_complete: "payment_complete";
|
|
425
424
|
booking_cancelled_non_payment: "booking_cancelled_non_payment";
|
|
425
|
+
invoice: "invoice";
|
|
426
426
|
}>;
|
|
427
427
|
targetId: z.ZodString;
|
|
428
428
|
dedupeKey: z.ZodString;
|
|
429
429
|
status: z.ZodEnum<{
|
|
430
|
-
|
|
430
|
+
sent: "sent";
|
|
431
431
|
failed: "failed";
|
|
432
|
+
queued: "queued";
|
|
432
433
|
processing: "processing";
|
|
433
434
|
skipped: "skipped";
|
|
434
|
-
sent: "sent";
|
|
435
435
|
}>;
|
|
436
436
|
recipient: z.ZodNullable<z.ZodString>;
|
|
437
437
|
scheduledFor: z.ZodString;
|
|
@@ -459,11 +459,11 @@ export declare const notificationReminderRunSingleResponse: z.ZodObject<{
|
|
|
459
459
|
archived: "archived";
|
|
460
460
|
}>;
|
|
461
461
|
targetType: z.ZodEnum<{
|
|
462
|
-
invoice: "invoice";
|
|
463
|
-
booking_payment_schedule: "booking_payment_schedule";
|
|
464
462
|
booking_confirmed: "booking_confirmed";
|
|
463
|
+
booking_payment_schedule: "booking_payment_schedule";
|
|
465
464
|
payment_complete: "payment_complete";
|
|
466
465
|
booking_cancelled_non_payment: "booking_cancelled_non_payment";
|
|
466
|
+
invoice: "invoice";
|
|
467
467
|
}>;
|
|
468
468
|
channel: z.ZodEnum<{
|
|
469
469
|
email: "email";
|
|
@@ -477,9 +477,9 @@ export declare const notificationReminderRunSingleResponse: z.ZodObject<{
|
|
|
477
477
|
id: z.ZodString;
|
|
478
478
|
status: z.ZodEnum<{
|
|
479
479
|
pending: "pending";
|
|
480
|
+
sent: "sent";
|
|
480
481
|
failed: "failed";
|
|
481
482
|
cancelled: "cancelled";
|
|
482
|
-
sent: "sent";
|
|
483
483
|
}>;
|
|
484
484
|
channel: z.ZodEnum<{
|
|
485
485
|
email: "email";
|
|
@@ -508,8 +508,8 @@ export declare const notificationTemplatePreviewResponse: z.ZodObject<{
|
|
|
508
508
|
}, z.core.$strip>;
|
|
509
509
|
}, z.core.$strip>;
|
|
510
510
|
export declare const notificationProviderOptionSchema: z.ZodEnum<{
|
|
511
|
-
automatic: "automatic";
|
|
512
511
|
resend: "resend";
|
|
512
|
+
automatic: "automatic";
|
|
513
513
|
twilio: "twilio";
|
|
514
514
|
}>;
|
|
515
515
|
export declare const notificationTemplateEditorChannelSchema: z.ZodEnum<{
|
|
@@ -522,11 +522,11 @@ export declare const notificationReminderRuleStatusFilterSchema: z.ZodEnum<{
|
|
|
522
522
|
archived: "archived";
|
|
523
523
|
}>;
|
|
524
524
|
export declare const notificationReminderRunStatusFilterSchema: z.ZodEnum<{
|
|
525
|
-
|
|
525
|
+
sent: "sent";
|
|
526
526
|
failed: "failed";
|
|
527
|
+
queued: "queued";
|
|
527
528
|
processing: "processing";
|
|
528
529
|
skipped: "skipped";
|
|
529
|
-
sent: "sent";
|
|
530
530
|
}>;
|
|
531
531
|
export declare const reminderStageAnchorSchema: z.ZodEnum<{
|
|
532
532
|
due_date: "due_date";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyant-travel/notifications-react",
|
|
3
|
-
"version": "0.111.
|
|
3
|
+
"version": "0.111.9",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -76,9 +76,9 @@
|
|
|
76
76
|
"react-dom": "^19.0.0",
|
|
77
77
|
"react-hook-form": "^7.60.0",
|
|
78
78
|
"zod": "^4.0.0",
|
|
79
|
-
"@voyant-travel/
|
|
80
|
-
"@voyant-travel/
|
|
81
|
-
"@voyant-travel/
|
|
79
|
+
"@voyant-travel/admin": "^0.111.2",
|
|
80
|
+
"@voyant-travel/notifications": "^0.111.9",
|
|
81
|
+
"@voyant-travel/ui": "^0.106.2"
|
|
82
82
|
},
|
|
83
83
|
"peerDependenciesMeta": {
|
|
84
84
|
"@voyant-travel/admin": {
|
|
@@ -112,11 +112,11 @@
|
|
|
112
112
|
"typescript": "^6.0.2",
|
|
113
113
|
"vitest": "^4.1.2",
|
|
114
114
|
"zod": "^4.3.6",
|
|
115
|
+
"@voyant-travel/admin": "^0.111.2",
|
|
115
116
|
"@voyant-travel/i18n": "^0.106.1",
|
|
116
|
-
"@voyant-travel/
|
|
117
|
-
"@voyant-travel/notifications": "^0.111.7",
|
|
117
|
+
"@voyant-travel/notifications": "^0.111.9",
|
|
118
118
|
"@voyant-travel/react": "^0.104.1",
|
|
119
|
-
"@voyant-travel/ui": "^0.106.
|
|
119
|
+
"@voyant-travel/ui": "^0.106.2",
|
|
120
120
|
"@voyant-travel/voyant-typescript-config": "^0.1.0"
|
|
121
121
|
},
|
|
122
122
|
"files": [
|