@hexclave/shared 1.0.33 → 1.0.34
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/config/schema.d.ts +62 -62
- package/dist/esm/config/schema.d.ts +62 -62
- package/dist/esm/interface/admin-metrics.d.ts +7 -7
- package/dist/esm/interface/conversations.d.ts +31 -31
- package/dist/esm/interface/crud/email-outbox.d.ts +64 -64
- package/dist/esm/interface/crud/invoices.d.ts +2 -2
- package/dist/esm/interface/crud/products.d.ts +24 -24
- package/dist/esm/interface/crud/products.d.ts.map +1 -1
- package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
- package/dist/esm/interface/crud/transactions.d.ts +25 -25
- package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
- package/dist/esm/interface/crud/users.d.ts +2 -2
- package/dist/esm/known-errors.d.ts +6 -6
- package/dist/esm/schema-fields.d.ts +7 -7
- package/dist/esm/sessions.d.ts +1 -1
- package/dist/interface/admin-metrics.d.ts +7 -7
- package/dist/interface/conversations.d.ts +31 -31
- package/dist/interface/crud/email-outbox.d.ts +64 -64
- package/dist/interface/crud/invoices.d.ts +2 -2
- package/dist/interface/crud/products.d.ts +24 -24
- package/dist/interface/crud/products.d.ts.map +1 -1
- package/dist/interface/crud/project-api-keys.d.ts +2 -2
- package/dist/interface/crud/transactions.d.ts +25 -25
- package/dist/interface/crud/transactions.d.ts.map +1 -1
- package/dist/interface/crud/users.d.ts +2 -2
- package/dist/known-errors.d.ts +6 -6
- package/dist/schema-fields.d.ts +7 -7
- package/dist/sessions.d.ts +1 -1
- package/package.json +1 -1
|
@@ -56,9 +56,9 @@ declare const conversationSummarySchema: yup$1.ObjectSchema<{
|
|
|
56
56
|
preview: string | null;
|
|
57
57
|
lastActivityAt: string;
|
|
58
58
|
metadata: {
|
|
59
|
-
tags: string[];
|
|
60
59
|
assignedToUserId: string | null;
|
|
61
60
|
assignedToDisplayName: string | null;
|
|
61
|
+
tags: string[];
|
|
62
62
|
firstResponseDueAt: string | null;
|
|
63
63
|
firstResponseAt: string | null;
|
|
64
64
|
nextResponseDueAt: string | null;
|
|
@@ -139,8 +139,8 @@ declare const conversationMessageSchema: yup$1.ObjectSchema<{
|
|
|
139
139
|
createdAt: string;
|
|
140
140
|
sender: {
|
|
141
141
|
type: "user" | "agent" | "system";
|
|
142
|
-
id: string | null;
|
|
143
142
|
displayName: string | null;
|
|
143
|
+
id: string | null;
|
|
144
144
|
primaryEmail: string | null;
|
|
145
145
|
};
|
|
146
146
|
}, yup$1.AnyObject, {
|
|
@@ -173,29 +173,29 @@ declare const conversationListResponseSchema: yup$1.ObjectSchema<{
|
|
|
173
173
|
lastOutboundAt?: string | null | undefined;
|
|
174
174
|
closedAt?: string | null | undefined;
|
|
175
175
|
recordMetadata?: {} | null | undefined;
|
|
176
|
+
priority: "low" | "normal" | "high" | "urgent";
|
|
176
177
|
status: "open" | "pending" | "closed";
|
|
177
178
|
subject: string;
|
|
178
|
-
priority: "low" | "normal" | "high" | "urgent";
|
|
179
|
-
metadata: {
|
|
180
|
-
tags: string[];
|
|
181
|
-
assignedToUserId: string | null;
|
|
182
|
-
assignedToDisplayName: string | null;
|
|
183
|
-
firstResponseDueAt: string | null;
|
|
184
|
-
firstResponseAt: string | null;
|
|
185
|
-
nextResponseDueAt: string | null;
|
|
186
|
-
lastCustomerReplyAt: string | null;
|
|
187
|
-
lastAgentReplyAt: string | null;
|
|
188
|
-
};
|
|
189
|
-
source: "email" | "manual" | "chat" | "api";
|
|
190
179
|
conversationId: string;
|
|
191
180
|
userId: string | null;
|
|
192
181
|
teamId: string | null;
|
|
193
182
|
userDisplayName: string | null;
|
|
194
183
|
userPrimaryEmail: string | null;
|
|
195
184
|
userProfileImageUrl: string | null;
|
|
185
|
+
source: "email" | "manual" | "chat" | "api";
|
|
196
186
|
lastMessageType: "message" | "internal-note" | "status-change";
|
|
197
187
|
preview: string | null;
|
|
198
188
|
lastActivityAt: string;
|
|
189
|
+
metadata: {
|
|
190
|
+
assignedToUserId: string | null;
|
|
191
|
+
assignedToDisplayName: string | null;
|
|
192
|
+
tags: string[];
|
|
193
|
+
firstResponseDueAt: string | null;
|
|
194
|
+
firstResponseAt: string | null;
|
|
195
|
+
nextResponseDueAt: string | null;
|
|
196
|
+
lastCustomerReplyAt: string | null;
|
|
197
|
+
lastAgentReplyAt: string | null;
|
|
198
|
+
};
|
|
199
199
|
}[];
|
|
200
200
|
hasMore: boolean;
|
|
201
201
|
}, yup$1.AnyObject, {
|
|
@@ -211,48 +211,48 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
|
|
|
211
211
|
lastOutboundAt?: string | null | undefined;
|
|
212
212
|
closedAt?: string | null | undefined;
|
|
213
213
|
recordMetadata?: {} | null | undefined;
|
|
214
|
+
priority: "low" | "normal" | "high" | "urgent";
|
|
214
215
|
status: "open" | "pending" | "closed";
|
|
215
216
|
subject: string;
|
|
216
|
-
priority: "low" | "normal" | "high" | "urgent";
|
|
217
|
-
metadata: {
|
|
218
|
-
tags: string[];
|
|
219
|
-
assignedToUserId: string | null;
|
|
220
|
-
assignedToDisplayName: string | null;
|
|
221
|
-
firstResponseDueAt: string | null;
|
|
222
|
-
firstResponseAt: string | null;
|
|
223
|
-
nextResponseDueAt: string | null;
|
|
224
|
-
lastCustomerReplyAt: string | null;
|
|
225
|
-
lastAgentReplyAt: string | null;
|
|
226
|
-
};
|
|
227
|
-
source: "email" | "manual" | "chat" | "api";
|
|
228
217
|
conversationId: string;
|
|
229
218
|
userId: string | null;
|
|
230
219
|
teamId: string | null;
|
|
231
220
|
userDisplayName: string | null;
|
|
232
221
|
userPrimaryEmail: string | null;
|
|
233
222
|
userProfileImageUrl: string | null;
|
|
223
|
+
source: "email" | "manual" | "chat" | "api";
|
|
234
224
|
lastMessageType: "message" | "internal-note" | "status-change";
|
|
235
225
|
preview: string | null;
|
|
236
226
|
lastActivityAt: string;
|
|
227
|
+
metadata: {
|
|
228
|
+
assignedToUserId: string | null;
|
|
229
|
+
assignedToDisplayName: string | null;
|
|
230
|
+
tags: string[];
|
|
231
|
+
firstResponseDueAt: string | null;
|
|
232
|
+
firstResponseAt: string | null;
|
|
233
|
+
nextResponseDueAt: string | null;
|
|
234
|
+
lastCustomerReplyAt: string | null;
|
|
235
|
+
lastAgentReplyAt: string | null;
|
|
236
|
+
};
|
|
237
237
|
};
|
|
238
238
|
messages: {
|
|
239
|
+
priority: "low" | "normal" | "high" | "urgent";
|
|
239
240
|
id: string;
|
|
240
241
|
status: "open" | "pending" | "closed";
|
|
241
242
|
subject: string;
|
|
242
|
-
priority: "low" | "normal" | "high" | "urgent";
|
|
243
|
-
metadata: {} | null;
|
|
244
|
-
body: string | null;
|
|
245
|
-
source: "email" | "manual" | "chat" | "api";
|
|
246
243
|
conversationId: string;
|
|
247
244
|
userId: string | null;
|
|
248
245
|
teamId: string | null;
|
|
246
|
+
source: "email" | "manual" | "chat" | "api";
|
|
247
|
+
metadata: {} | null;
|
|
249
248
|
createdAt: string;
|
|
250
249
|
messageType: "message" | "internal-note" | "status-change";
|
|
250
|
+
body: string | null;
|
|
251
251
|
attachments: {}[];
|
|
252
252
|
sender: {
|
|
253
253
|
type: "user" | "agent" | "system";
|
|
254
|
-
id: string | null;
|
|
255
254
|
displayName: string | null;
|
|
255
|
+
id: string | null;
|
|
256
256
|
primaryEmail: string | null;
|
|
257
257
|
};
|
|
258
258
|
}[];
|
|
@@ -14,12 +14,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
14
14
|
type: "user-primary-email";
|
|
15
15
|
user_id: string;
|
|
16
16
|
} | {
|
|
17
|
+
emails: string[];
|
|
17
18
|
type: "user-custom-emails";
|
|
18
19
|
user_id: string;
|
|
19
|
-
emails: string[];
|
|
20
20
|
} | {
|
|
21
|
-
type: "custom-emails";
|
|
22
21
|
emails: string[];
|
|
22
|
+
type: "custom-emails";
|
|
23
23
|
};
|
|
24
24
|
variables: Record<string, {} | null>;
|
|
25
25
|
skip_deliverability_check: boolean;
|
|
@@ -52,12 +52,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
52
52
|
type: "user-primary-email";
|
|
53
53
|
user_id: string;
|
|
54
54
|
} | {
|
|
55
|
+
emails: string[];
|
|
55
56
|
type: "user-custom-emails";
|
|
56
57
|
user_id: string;
|
|
57
|
-
emails: string[];
|
|
58
58
|
} | {
|
|
59
|
-
type: "custom-emails";
|
|
60
59
|
emails: string[];
|
|
60
|
+
type: "custom-emails";
|
|
61
61
|
};
|
|
62
62
|
variables: Record<string, {} | null>;
|
|
63
63
|
skip_deliverability_check: boolean;
|
|
@@ -90,12 +90,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
90
90
|
type: "user-primary-email";
|
|
91
91
|
user_id: string;
|
|
92
92
|
} | {
|
|
93
|
+
emails: string[];
|
|
93
94
|
type: "user-custom-emails";
|
|
94
95
|
user_id: string;
|
|
95
|
-
emails: string[];
|
|
96
96
|
} | {
|
|
97
|
-
type: "custom-emails";
|
|
98
97
|
emails: string[];
|
|
98
|
+
type: "custom-emails";
|
|
99
99
|
};
|
|
100
100
|
variables: Record<string, {} | null>;
|
|
101
101
|
skip_deliverability_check: boolean;
|
|
@@ -129,12 +129,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
129
129
|
type: "user-primary-email";
|
|
130
130
|
user_id: string;
|
|
131
131
|
} | {
|
|
132
|
+
emails: string[];
|
|
132
133
|
type: "user-custom-emails";
|
|
133
134
|
user_id: string;
|
|
134
|
-
emails: string[];
|
|
135
135
|
} | {
|
|
136
|
-
type: "custom-emails";
|
|
137
136
|
emails: string[];
|
|
137
|
+
type: "custom-emails";
|
|
138
138
|
};
|
|
139
139
|
variables: Record<string, {} | null>;
|
|
140
140
|
skip_deliverability_check: boolean;
|
|
@@ -171,12 +171,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
171
171
|
type: "user-primary-email";
|
|
172
172
|
user_id: string;
|
|
173
173
|
} | {
|
|
174
|
+
emails: string[];
|
|
174
175
|
type: "user-custom-emails";
|
|
175
176
|
user_id: string;
|
|
176
|
-
emails: string[];
|
|
177
177
|
} | {
|
|
178
|
-
type: "custom-emails";
|
|
179
178
|
emails: string[];
|
|
179
|
+
type: "custom-emails";
|
|
180
180
|
};
|
|
181
181
|
variables: Record<string, {} | null>;
|
|
182
182
|
skip_deliverability_check: boolean;
|
|
@@ -217,12 +217,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
217
217
|
type: "user-primary-email";
|
|
218
218
|
user_id: string;
|
|
219
219
|
} | {
|
|
220
|
+
emails: string[];
|
|
220
221
|
type: "user-custom-emails";
|
|
221
222
|
user_id: string;
|
|
222
|
-
emails: string[];
|
|
223
223
|
} | {
|
|
224
|
-
type: "custom-emails";
|
|
225
224
|
emails: string[];
|
|
225
|
+
type: "custom-emails";
|
|
226
226
|
};
|
|
227
227
|
variables: Record<string, {} | null>;
|
|
228
228
|
skip_deliverability_check: boolean;
|
|
@@ -263,12 +263,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
263
263
|
type: "user-primary-email";
|
|
264
264
|
user_id: string;
|
|
265
265
|
} | {
|
|
266
|
+
emails: string[];
|
|
266
267
|
type: "user-custom-emails";
|
|
267
268
|
user_id: string;
|
|
268
|
-
emails: string[];
|
|
269
269
|
} | {
|
|
270
|
-
type: "custom-emails";
|
|
271
270
|
emails: string[];
|
|
271
|
+
type: "custom-emails";
|
|
272
272
|
};
|
|
273
273
|
variables: Record<string, {} | null>;
|
|
274
274
|
skip_deliverability_check: boolean;
|
|
@@ -310,12 +310,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
310
310
|
type: "user-primary-email";
|
|
311
311
|
user_id: string;
|
|
312
312
|
} | {
|
|
313
|
+
emails: string[];
|
|
313
314
|
type: "user-custom-emails";
|
|
314
315
|
user_id: string;
|
|
315
|
-
emails: string[];
|
|
316
316
|
} | {
|
|
317
|
-
type: "custom-emails";
|
|
318
317
|
emails: string[];
|
|
318
|
+
type: "custom-emails";
|
|
319
319
|
};
|
|
320
320
|
variables: Record<string, {} | null>;
|
|
321
321
|
skip_deliverability_check: boolean;
|
|
@@ -367,12 +367,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
367
367
|
type: "user-primary-email";
|
|
368
368
|
user_id: string;
|
|
369
369
|
} | {
|
|
370
|
+
emails: string[];
|
|
370
371
|
type: "user-custom-emails";
|
|
371
372
|
user_id: string;
|
|
372
|
-
emails: string[];
|
|
373
373
|
} | {
|
|
374
|
-
type: "custom-emails";
|
|
375
374
|
emails: string[];
|
|
375
|
+
type: "custom-emails";
|
|
376
376
|
};
|
|
377
377
|
variables: Record<string, {} | null>;
|
|
378
378
|
skip_deliverability_check: boolean;
|
|
@@ -409,12 +409,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
409
409
|
type: "user-primary-email";
|
|
410
410
|
user_id: string;
|
|
411
411
|
} | {
|
|
412
|
+
emails: string[];
|
|
412
413
|
type: "user-custom-emails";
|
|
413
414
|
user_id: string;
|
|
414
|
-
emails: string[];
|
|
415
415
|
} | {
|
|
416
|
-
type: "custom-emails";
|
|
417
416
|
emails: string[];
|
|
417
|
+
type: "custom-emails";
|
|
418
418
|
};
|
|
419
419
|
variables: Record<string, {} | null>;
|
|
420
420
|
skip_deliverability_check: boolean;
|
|
@@ -457,12 +457,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
457
457
|
type: "user-primary-email";
|
|
458
458
|
user_id: string;
|
|
459
459
|
} | {
|
|
460
|
+
emails: string[];
|
|
460
461
|
type: "user-custom-emails";
|
|
461
462
|
user_id: string;
|
|
462
|
-
emails: string[];
|
|
463
463
|
} | {
|
|
464
|
-
type: "custom-emails";
|
|
465
464
|
emails: string[];
|
|
465
|
+
type: "custom-emails";
|
|
466
466
|
};
|
|
467
467
|
variables: Record<string, {} | null>;
|
|
468
468
|
skip_deliverability_check: boolean;
|
|
@@ -505,12 +505,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
505
505
|
type: "user-primary-email";
|
|
506
506
|
user_id: string;
|
|
507
507
|
} | {
|
|
508
|
+
emails: string[];
|
|
508
509
|
type: "user-custom-emails";
|
|
509
510
|
user_id: string;
|
|
510
|
-
emails: string[];
|
|
511
511
|
} | {
|
|
512
|
-
type: "custom-emails";
|
|
513
512
|
emails: string[];
|
|
513
|
+
type: "custom-emails";
|
|
514
514
|
};
|
|
515
515
|
variables: Record<string, {} | null>;
|
|
516
516
|
skip_deliverability_check: boolean;
|
|
@@ -554,12 +554,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
554
554
|
type: "user-primary-email";
|
|
555
555
|
user_id: string;
|
|
556
556
|
} | {
|
|
557
|
+
emails: string[];
|
|
557
558
|
type: "user-custom-emails";
|
|
558
559
|
user_id: string;
|
|
559
|
-
emails: string[];
|
|
560
560
|
} | {
|
|
561
|
-
type: "custom-emails";
|
|
562
561
|
emails: string[];
|
|
562
|
+
type: "custom-emails";
|
|
563
563
|
};
|
|
564
564
|
variables: Record<string, {} | null>;
|
|
565
565
|
skip_deliverability_check: boolean;
|
|
@@ -604,12 +604,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
604
604
|
type: "user-primary-email";
|
|
605
605
|
user_id: string;
|
|
606
606
|
} | {
|
|
607
|
+
emails: string[];
|
|
607
608
|
type: "user-custom-emails";
|
|
608
609
|
user_id: string;
|
|
609
|
-
emails: string[];
|
|
610
610
|
} | {
|
|
611
|
-
type: "custom-emails";
|
|
612
611
|
emails: string[];
|
|
612
|
+
type: "custom-emails";
|
|
613
613
|
};
|
|
614
614
|
variables: Record<string, {} | null>;
|
|
615
615
|
skip_deliverability_check: boolean;
|
|
@@ -654,12 +654,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
654
654
|
type: "user-primary-email";
|
|
655
655
|
user_id: string;
|
|
656
656
|
} | {
|
|
657
|
+
emails: string[];
|
|
657
658
|
type: "user-custom-emails";
|
|
658
659
|
user_id: string;
|
|
659
|
-
emails: string[];
|
|
660
660
|
} | {
|
|
661
|
-
type: "custom-emails";
|
|
662
661
|
emails: string[];
|
|
662
|
+
type: "custom-emails";
|
|
663
663
|
};
|
|
664
664
|
variables: Record<string, {} | null>;
|
|
665
665
|
skip_deliverability_check: boolean;
|
|
@@ -700,12 +700,12 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
|
|
|
700
700
|
type: "user-primary-email";
|
|
701
701
|
user_id: string;
|
|
702
702
|
} | {
|
|
703
|
+
emails: string[];
|
|
703
704
|
type: "user-custom-emails";
|
|
704
705
|
user_id: string;
|
|
705
|
-
emails: string[];
|
|
706
706
|
} | {
|
|
707
|
-
type: "custom-emails";
|
|
708
707
|
emails: string[];
|
|
708
|
+
type: "custom-emails";
|
|
709
709
|
} | undefined;
|
|
710
710
|
variables: Record<string, {} | null> | undefined;
|
|
711
711
|
skip_deliverability_check: boolean | undefined;
|
|
@@ -734,12 +734,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
734
734
|
type: "user-primary-email";
|
|
735
735
|
user_id: string;
|
|
736
736
|
} | {
|
|
737
|
+
emails: string[];
|
|
737
738
|
type: "user-custom-emails";
|
|
738
739
|
user_id: string;
|
|
739
|
-
emails: string[];
|
|
740
740
|
} | {
|
|
741
|
-
type: "custom-emails";
|
|
742
741
|
emails: string[];
|
|
742
|
+
type: "custom-emails";
|
|
743
743
|
};
|
|
744
744
|
variables: Record<string, {} | null>;
|
|
745
745
|
skip_deliverability_check: boolean;
|
|
@@ -772,12 +772,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
772
772
|
type: "user-primary-email";
|
|
773
773
|
user_id: string;
|
|
774
774
|
} | {
|
|
775
|
+
emails: string[];
|
|
775
776
|
type: "user-custom-emails";
|
|
776
777
|
user_id: string;
|
|
777
|
-
emails: string[];
|
|
778
778
|
} | {
|
|
779
|
-
type: "custom-emails";
|
|
780
779
|
emails: string[];
|
|
780
|
+
type: "custom-emails";
|
|
781
781
|
};
|
|
782
782
|
variables: Record<string, {} | null>;
|
|
783
783
|
skip_deliverability_check: boolean;
|
|
@@ -810,12 +810,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
810
810
|
type: "user-primary-email";
|
|
811
811
|
user_id: string;
|
|
812
812
|
} | {
|
|
813
|
+
emails: string[];
|
|
813
814
|
type: "user-custom-emails";
|
|
814
815
|
user_id: string;
|
|
815
|
-
emails: string[];
|
|
816
816
|
} | {
|
|
817
|
-
type: "custom-emails";
|
|
818
817
|
emails: string[];
|
|
818
|
+
type: "custom-emails";
|
|
819
819
|
};
|
|
820
820
|
variables: Record<string, {} | null>;
|
|
821
821
|
skip_deliverability_check: boolean;
|
|
@@ -849,12 +849,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
849
849
|
type: "user-primary-email";
|
|
850
850
|
user_id: string;
|
|
851
851
|
} | {
|
|
852
|
+
emails: string[];
|
|
852
853
|
type: "user-custom-emails";
|
|
853
854
|
user_id: string;
|
|
854
|
-
emails: string[];
|
|
855
855
|
} | {
|
|
856
|
-
type: "custom-emails";
|
|
857
856
|
emails: string[];
|
|
857
|
+
type: "custom-emails";
|
|
858
858
|
};
|
|
859
859
|
variables: Record<string, {} | null>;
|
|
860
860
|
skip_deliverability_check: boolean;
|
|
@@ -891,12 +891,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
891
891
|
type: "user-primary-email";
|
|
892
892
|
user_id: string;
|
|
893
893
|
} | {
|
|
894
|
+
emails: string[];
|
|
894
895
|
type: "user-custom-emails";
|
|
895
896
|
user_id: string;
|
|
896
|
-
emails: string[];
|
|
897
897
|
} | {
|
|
898
|
-
type: "custom-emails";
|
|
899
898
|
emails: string[];
|
|
899
|
+
type: "custom-emails";
|
|
900
900
|
};
|
|
901
901
|
variables: Record<string, {} | null>;
|
|
902
902
|
skip_deliverability_check: boolean;
|
|
@@ -937,12 +937,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
937
937
|
type: "user-primary-email";
|
|
938
938
|
user_id: string;
|
|
939
939
|
} | {
|
|
940
|
+
emails: string[];
|
|
940
941
|
type: "user-custom-emails";
|
|
941
942
|
user_id: string;
|
|
942
|
-
emails: string[];
|
|
943
943
|
} | {
|
|
944
|
-
type: "custom-emails";
|
|
945
944
|
emails: string[];
|
|
945
|
+
type: "custom-emails";
|
|
946
946
|
};
|
|
947
947
|
variables: Record<string, {} | null>;
|
|
948
948
|
skip_deliverability_check: boolean;
|
|
@@ -983,12 +983,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
983
983
|
type: "user-primary-email";
|
|
984
984
|
user_id: string;
|
|
985
985
|
} | {
|
|
986
|
+
emails: string[];
|
|
986
987
|
type: "user-custom-emails";
|
|
987
988
|
user_id: string;
|
|
988
|
-
emails: string[];
|
|
989
989
|
} | {
|
|
990
|
-
type: "custom-emails";
|
|
991
990
|
emails: string[];
|
|
991
|
+
type: "custom-emails";
|
|
992
992
|
};
|
|
993
993
|
variables: Record<string, {} | null>;
|
|
994
994
|
skip_deliverability_check: boolean;
|
|
@@ -1030,12 +1030,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1030
1030
|
type: "user-primary-email";
|
|
1031
1031
|
user_id: string;
|
|
1032
1032
|
} | {
|
|
1033
|
+
emails: string[];
|
|
1033
1034
|
type: "user-custom-emails";
|
|
1034
1035
|
user_id: string;
|
|
1035
|
-
emails: string[];
|
|
1036
1036
|
} | {
|
|
1037
|
-
type: "custom-emails";
|
|
1038
1037
|
emails: string[];
|
|
1038
|
+
type: "custom-emails";
|
|
1039
1039
|
};
|
|
1040
1040
|
variables: Record<string, {} | null>;
|
|
1041
1041
|
skip_deliverability_check: boolean;
|
|
@@ -1087,12 +1087,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1087
1087
|
type: "user-primary-email";
|
|
1088
1088
|
user_id: string;
|
|
1089
1089
|
} | {
|
|
1090
|
+
emails: string[];
|
|
1090
1091
|
type: "user-custom-emails";
|
|
1091
1092
|
user_id: string;
|
|
1092
|
-
emails: string[];
|
|
1093
1093
|
} | {
|
|
1094
|
-
type: "custom-emails";
|
|
1095
1094
|
emails: string[];
|
|
1095
|
+
type: "custom-emails";
|
|
1096
1096
|
};
|
|
1097
1097
|
variables: Record<string, {} | null>;
|
|
1098
1098
|
skip_deliverability_check: boolean;
|
|
@@ -1129,12 +1129,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1129
1129
|
type: "user-primary-email";
|
|
1130
1130
|
user_id: string;
|
|
1131
1131
|
} | {
|
|
1132
|
+
emails: string[];
|
|
1132
1133
|
type: "user-custom-emails";
|
|
1133
1134
|
user_id: string;
|
|
1134
|
-
emails: string[];
|
|
1135
1135
|
} | {
|
|
1136
|
-
type: "custom-emails";
|
|
1137
1136
|
emails: string[];
|
|
1137
|
+
type: "custom-emails";
|
|
1138
1138
|
};
|
|
1139
1139
|
variables: Record<string, {} | null>;
|
|
1140
1140
|
skip_deliverability_check: boolean;
|
|
@@ -1177,12 +1177,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1177
1177
|
type: "user-primary-email";
|
|
1178
1178
|
user_id: string;
|
|
1179
1179
|
} | {
|
|
1180
|
+
emails: string[];
|
|
1180
1181
|
type: "user-custom-emails";
|
|
1181
1182
|
user_id: string;
|
|
1182
|
-
emails: string[];
|
|
1183
1183
|
} | {
|
|
1184
|
-
type: "custom-emails";
|
|
1185
1184
|
emails: string[];
|
|
1185
|
+
type: "custom-emails";
|
|
1186
1186
|
};
|
|
1187
1187
|
variables: Record<string, {} | null>;
|
|
1188
1188
|
skip_deliverability_check: boolean;
|
|
@@ -1225,12 +1225,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1225
1225
|
type: "user-primary-email";
|
|
1226
1226
|
user_id: string;
|
|
1227
1227
|
} | {
|
|
1228
|
+
emails: string[];
|
|
1228
1229
|
type: "user-custom-emails";
|
|
1229
1230
|
user_id: string;
|
|
1230
|
-
emails: string[];
|
|
1231
1231
|
} | {
|
|
1232
|
-
type: "custom-emails";
|
|
1233
1232
|
emails: string[];
|
|
1233
|
+
type: "custom-emails";
|
|
1234
1234
|
};
|
|
1235
1235
|
variables: Record<string, {} | null>;
|
|
1236
1236
|
skip_deliverability_check: boolean;
|
|
@@ -1274,12 +1274,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1274
1274
|
type: "user-primary-email";
|
|
1275
1275
|
user_id: string;
|
|
1276
1276
|
} | {
|
|
1277
|
+
emails: string[];
|
|
1277
1278
|
type: "user-custom-emails";
|
|
1278
1279
|
user_id: string;
|
|
1279
|
-
emails: string[];
|
|
1280
1280
|
} | {
|
|
1281
|
-
type: "custom-emails";
|
|
1282
1281
|
emails: string[];
|
|
1282
|
+
type: "custom-emails";
|
|
1283
1283
|
};
|
|
1284
1284
|
variables: Record<string, {} | null>;
|
|
1285
1285
|
skip_deliverability_check: boolean;
|
|
@@ -1324,12 +1324,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1324
1324
|
type: "user-primary-email";
|
|
1325
1325
|
user_id: string;
|
|
1326
1326
|
} | {
|
|
1327
|
+
emails: string[];
|
|
1327
1328
|
type: "user-custom-emails";
|
|
1328
1329
|
user_id: string;
|
|
1329
|
-
emails: string[];
|
|
1330
1330
|
} | {
|
|
1331
|
-
type: "custom-emails";
|
|
1332
1331
|
emails: string[];
|
|
1332
|
+
type: "custom-emails";
|
|
1333
1333
|
};
|
|
1334
1334
|
variables: Record<string, {} | null>;
|
|
1335
1335
|
skip_deliverability_check: boolean;
|
|
@@ -1374,12 +1374,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1374
1374
|
type: "user-primary-email";
|
|
1375
1375
|
user_id: string;
|
|
1376
1376
|
} | {
|
|
1377
|
+
emails: string[];
|
|
1377
1378
|
type: "user-custom-emails";
|
|
1378
1379
|
user_id: string;
|
|
1379
|
-
emails: string[];
|
|
1380
1380
|
} | {
|
|
1381
|
-
type: "custom-emails";
|
|
1382
1381
|
emails: string[];
|
|
1382
|
+
type: "custom-emails";
|
|
1383
1383
|
};
|
|
1384
1384
|
variables: Record<string, {} | null>;
|
|
1385
1385
|
skip_deliverability_check: boolean;
|
|
@@ -1420,12 +1420,12 @@ declare const emailOutboxCrud: ______crud0.CrudSchemaFromOptions<{
|
|
|
1420
1420
|
type: "user-primary-email";
|
|
1421
1421
|
user_id: string;
|
|
1422
1422
|
} | {
|
|
1423
|
+
emails: string[];
|
|
1423
1424
|
type: "user-custom-emails";
|
|
1424
1425
|
user_id: string;
|
|
1425
|
-
emails: string[];
|
|
1426
1426
|
} | {
|
|
1427
|
-
type: "custom-emails";
|
|
1428
1427
|
emails: string[];
|
|
1428
|
+
type: "custom-emails";
|
|
1429
1429
|
} | undefined;
|
|
1430
1430
|
variables: Record<string, {} | null> | undefined;
|
|
1431
1431
|
skip_deliverability_check: boolean | undefined;
|
|
@@ -3,7 +3,7 @@ import * as yup$1 from "yup";
|
|
|
3
3
|
//#region src/interface/crud/invoices.d.ts
|
|
4
4
|
declare const customerInvoiceReadSchema: yup$1.ObjectSchema<{
|
|
5
5
|
created_at_millis: number;
|
|
6
|
-
status: "
|
|
6
|
+
status: "open" | "draft" | "paid" | "uncollectible" | "void" | null;
|
|
7
7
|
amount_total: number;
|
|
8
8
|
hosted_invoice_url: string | null;
|
|
9
9
|
}, yup$1.AnyObject, {
|
|
@@ -15,7 +15,7 @@ declare const customerInvoiceReadSchema: yup$1.ObjectSchema<{
|
|
|
15
15
|
type CustomerInvoiceRead = yup$1.InferType<typeof customerInvoiceReadSchema>;
|
|
16
16
|
declare const customerInvoicesListResponseSchema: yup$1.ObjectSchema<{
|
|
17
17
|
items: {
|
|
18
|
-
status: "
|
|
18
|
+
status: "open" | "draft" | "paid" | "uncollectible" | "void" | null;
|
|
19
19
|
created_at_millis: number;
|
|
20
20
|
amount_total: number;
|
|
21
21
|
hosted_invoice_url: string | null;
|