@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
|
@@ -13,12 +13,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
13
13
|
type: "user-primary-email";
|
|
14
14
|
user_id: string;
|
|
15
15
|
} | {
|
|
16
|
+
emails: string[];
|
|
16
17
|
type: "user-custom-emails";
|
|
17
18
|
user_id: string;
|
|
18
|
-
emails: string[];
|
|
19
19
|
} | {
|
|
20
|
-
type: "custom-emails";
|
|
21
20
|
emails: string[];
|
|
21
|
+
type: "custom-emails";
|
|
22
22
|
};
|
|
23
23
|
variables: Record<string, {} | null>;
|
|
24
24
|
skip_deliverability_check: boolean;
|
|
@@ -51,12 +51,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
51
51
|
type: "user-primary-email";
|
|
52
52
|
user_id: string;
|
|
53
53
|
} | {
|
|
54
|
+
emails: string[];
|
|
54
55
|
type: "user-custom-emails";
|
|
55
56
|
user_id: string;
|
|
56
|
-
emails: string[];
|
|
57
57
|
} | {
|
|
58
|
-
type: "custom-emails";
|
|
59
58
|
emails: string[];
|
|
59
|
+
type: "custom-emails";
|
|
60
60
|
};
|
|
61
61
|
variables: Record<string, {} | null>;
|
|
62
62
|
skip_deliverability_check: boolean;
|
|
@@ -89,12 +89,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
89
89
|
type: "user-primary-email";
|
|
90
90
|
user_id: string;
|
|
91
91
|
} | {
|
|
92
|
+
emails: string[];
|
|
92
93
|
type: "user-custom-emails";
|
|
93
94
|
user_id: string;
|
|
94
|
-
emails: string[];
|
|
95
95
|
} | {
|
|
96
|
-
type: "custom-emails";
|
|
97
96
|
emails: string[];
|
|
97
|
+
type: "custom-emails";
|
|
98
98
|
};
|
|
99
99
|
variables: Record<string, {} | null>;
|
|
100
100
|
skip_deliverability_check: boolean;
|
|
@@ -128,12 +128,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
128
128
|
type: "user-primary-email";
|
|
129
129
|
user_id: string;
|
|
130
130
|
} | {
|
|
131
|
+
emails: string[];
|
|
131
132
|
type: "user-custom-emails";
|
|
132
133
|
user_id: string;
|
|
133
|
-
emails: string[];
|
|
134
134
|
} | {
|
|
135
|
-
type: "custom-emails";
|
|
136
135
|
emails: string[];
|
|
136
|
+
type: "custom-emails";
|
|
137
137
|
};
|
|
138
138
|
variables: Record<string, {} | null>;
|
|
139
139
|
skip_deliverability_check: boolean;
|
|
@@ -170,12 +170,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
170
170
|
type: "user-primary-email";
|
|
171
171
|
user_id: string;
|
|
172
172
|
} | {
|
|
173
|
+
emails: string[];
|
|
173
174
|
type: "user-custom-emails";
|
|
174
175
|
user_id: string;
|
|
175
|
-
emails: string[];
|
|
176
176
|
} | {
|
|
177
|
-
type: "custom-emails";
|
|
178
177
|
emails: string[];
|
|
178
|
+
type: "custom-emails";
|
|
179
179
|
};
|
|
180
180
|
variables: Record<string, {} | null>;
|
|
181
181
|
skip_deliverability_check: boolean;
|
|
@@ -216,12 +216,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
216
216
|
type: "user-primary-email";
|
|
217
217
|
user_id: string;
|
|
218
218
|
} | {
|
|
219
|
+
emails: string[];
|
|
219
220
|
type: "user-custom-emails";
|
|
220
221
|
user_id: string;
|
|
221
|
-
emails: string[];
|
|
222
222
|
} | {
|
|
223
|
-
type: "custom-emails";
|
|
224
223
|
emails: string[];
|
|
224
|
+
type: "custom-emails";
|
|
225
225
|
};
|
|
226
226
|
variables: Record<string, {} | null>;
|
|
227
227
|
skip_deliverability_check: boolean;
|
|
@@ -262,12 +262,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
262
262
|
type: "user-primary-email";
|
|
263
263
|
user_id: string;
|
|
264
264
|
} | {
|
|
265
|
+
emails: string[];
|
|
265
266
|
type: "user-custom-emails";
|
|
266
267
|
user_id: string;
|
|
267
|
-
emails: string[];
|
|
268
268
|
} | {
|
|
269
|
-
type: "custom-emails";
|
|
270
269
|
emails: string[];
|
|
270
|
+
type: "custom-emails";
|
|
271
271
|
};
|
|
272
272
|
variables: Record<string, {} | null>;
|
|
273
273
|
skip_deliverability_check: boolean;
|
|
@@ -309,12 +309,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
309
309
|
type: "user-primary-email";
|
|
310
310
|
user_id: string;
|
|
311
311
|
} | {
|
|
312
|
+
emails: string[];
|
|
312
313
|
type: "user-custom-emails";
|
|
313
314
|
user_id: string;
|
|
314
|
-
emails: string[];
|
|
315
315
|
} | {
|
|
316
|
-
type: "custom-emails";
|
|
317
316
|
emails: string[];
|
|
317
|
+
type: "custom-emails";
|
|
318
318
|
};
|
|
319
319
|
variables: Record<string, {} | null>;
|
|
320
320
|
skip_deliverability_check: boolean;
|
|
@@ -366,12 +366,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
366
366
|
type: "user-primary-email";
|
|
367
367
|
user_id: string;
|
|
368
368
|
} | {
|
|
369
|
+
emails: string[];
|
|
369
370
|
type: "user-custom-emails";
|
|
370
371
|
user_id: string;
|
|
371
|
-
emails: string[];
|
|
372
372
|
} | {
|
|
373
|
-
type: "custom-emails";
|
|
374
373
|
emails: string[];
|
|
374
|
+
type: "custom-emails";
|
|
375
375
|
};
|
|
376
376
|
variables: Record<string, {} | null>;
|
|
377
377
|
skip_deliverability_check: boolean;
|
|
@@ -408,12 +408,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
408
408
|
type: "user-primary-email";
|
|
409
409
|
user_id: string;
|
|
410
410
|
} | {
|
|
411
|
+
emails: string[];
|
|
411
412
|
type: "user-custom-emails";
|
|
412
413
|
user_id: string;
|
|
413
|
-
emails: string[];
|
|
414
414
|
} | {
|
|
415
|
-
type: "custom-emails";
|
|
416
415
|
emails: string[];
|
|
416
|
+
type: "custom-emails";
|
|
417
417
|
};
|
|
418
418
|
variables: Record<string, {} | null>;
|
|
419
419
|
skip_deliverability_check: boolean;
|
|
@@ -456,12 +456,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
456
456
|
type: "user-primary-email";
|
|
457
457
|
user_id: string;
|
|
458
458
|
} | {
|
|
459
|
+
emails: string[];
|
|
459
460
|
type: "user-custom-emails";
|
|
460
461
|
user_id: string;
|
|
461
|
-
emails: string[];
|
|
462
462
|
} | {
|
|
463
|
-
type: "custom-emails";
|
|
464
463
|
emails: string[];
|
|
464
|
+
type: "custom-emails";
|
|
465
465
|
};
|
|
466
466
|
variables: Record<string, {} | null>;
|
|
467
467
|
skip_deliverability_check: boolean;
|
|
@@ -504,12 +504,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
504
504
|
type: "user-primary-email";
|
|
505
505
|
user_id: string;
|
|
506
506
|
} | {
|
|
507
|
+
emails: string[];
|
|
507
508
|
type: "user-custom-emails";
|
|
508
509
|
user_id: string;
|
|
509
|
-
emails: string[];
|
|
510
510
|
} | {
|
|
511
|
-
type: "custom-emails";
|
|
512
511
|
emails: string[];
|
|
512
|
+
type: "custom-emails";
|
|
513
513
|
};
|
|
514
514
|
variables: Record<string, {} | null>;
|
|
515
515
|
skip_deliverability_check: boolean;
|
|
@@ -553,12 +553,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
553
553
|
type: "user-primary-email";
|
|
554
554
|
user_id: string;
|
|
555
555
|
} | {
|
|
556
|
+
emails: string[];
|
|
556
557
|
type: "user-custom-emails";
|
|
557
558
|
user_id: string;
|
|
558
|
-
emails: string[];
|
|
559
559
|
} | {
|
|
560
|
-
type: "custom-emails";
|
|
561
560
|
emails: string[];
|
|
561
|
+
type: "custom-emails";
|
|
562
562
|
};
|
|
563
563
|
variables: Record<string, {} | null>;
|
|
564
564
|
skip_deliverability_check: boolean;
|
|
@@ -603,12 +603,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
603
603
|
type: "user-primary-email";
|
|
604
604
|
user_id: string;
|
|
605
605
|
} | {
|
|
606
|
+
emails: string[];
|
|
606
607
|
type: "user-custom-emails";
|
|
607
608
|
user_id: string;
|
|
608
|
-
emails: string[];
|
|
609
609
|
} | {
|
|
610
|
-
type: "custom-emails";
|
|
611
610
|
emails: string[];
|
|
611
|
+
type: "custom-emails";
|
|
612
612
|
};
|
|
613
613
|
variables: Record<string, {} | null>;
|
|
614
614
|
skip_deliverability_check: boolean;
|
|
@@ -653,12 +653,12 @@ declare const emailOutboxReadSchema: yup$1.MixedSchema<{
|
|
|
653
653
|
type: "user-primary-email";
|
|
654
654
|
user_id: string;
|
|
655
655
|
} | {
|
|
656
|
+
emails: string[];
|
|
656
657
|
type: "user-custom-emails";
|
|
657
658
|
user_id: string;
|
|
658
|
-
emails: string[];
|
|
659
659
|
} | {
|
|
660
|
-
type: "custom-emails";
|
|
661
660
|
emails: string[];
|
|
661
|
+
type: "custom-emails";
|
|
662
662
|
};
|
|
663
663
|
variables: Record<string, {} | null>;
|
|
664
664
|
skip_deliverability_check: boolean;
|
|
@@ -699,12 +699,12 @@ declare const emailOutboxUpdateSchema: yup$1.ObjectSchema<{
|
|
|
699
699
|
type: "user-primary-email";
|
|
700
700
|
user_id: string;
|
|
701
701
|
} | {
|
|
702
|
+
emails: string[];
|
|
702
703
|
type: "user-custom-emails";
|
|
703
704
|
user_id: string;
|
|
704
|
-
emails: string[];
|
|
705
705
|
} | {
|
|
706
|
-
type: "custom-emails";
|
|
707
706
|
emails: string[];
|
|
707
|
+
type: "custom-emails";
|
|
708
708
|
} | undefined;
|
|
709
709
|
variables: Record<string, {} | null> | undefined;
|
|
710
710
|
skip_deliverability_check: boolean | undefined;
|
|
@@ -733,12 +733,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
733
733
|
type: "user-primary-email";
|
|
734
734
|
user_id: string;
|
|
735
735
|
} | {
|
|
736
|
+
emails: string[];
|
|
736
737
|
type: "user-custom-emails";
|
|
737
738
|
user_id: string;
|
|
738
|
-
emails: string[];
|
|
739
739
|
} | {
|
|
740
|
-
type: "custom-emails";
|
|
741
740
|
emails: string[];
|
|
741
|
+
type: "custom-emails";
|
|
742
742
|
};
|
|
743
743
|
variables: Record<string, {} | null>;
|
|
744
744
|
skip_deliverability_check: boolean;
|
|
@@ -771,12 +771,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
771
771
|
type: "user-primary-email";
|
|
772
772
|
user_id: string;
|
|
773
773
|
} | {
|
|
774
|
+
emails: string[];
|
|
774
775
|
type: "user-custom-emails";
|
|
775
776
|
user_id: string;
|
|
776
|
-
emails: string[];
|
|
777
777
|
} | {
|
|
778
|
-
type: "custom-emails";
|
|
779
778
|
emails: string[];
|
|
779
|
+
type: "custom-emails";
|
|
780
780
|
};
|
|
781
781
|
variables: Record<string, {} | null>;
|
|
782
782
|
skip_deliverability_check: boolean;
|
|
@@ -809,12 +809,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
809
809
|
type: "user-primary-email";
|
|
810
810
|
user_id: string;
|
|
811
811
|
} | {
|
|
812
|
+
emails: string[];
|
|
812
813
|
type: "user-custom-emails";
|
|
813
814
|
user_id: string;
|
|
814
|
-
emails: string[];
|
|
815
815
|
} | {
|
|
816
|
-
type: "custom-emails";
|
|
817
816
|
emails: string[];
|
|
817
|
+
type: "custom-emails";
|
|
818
818
|
};
|
|
819
819
|
variables: Record<string, {} | null>;
|
|
820
820
|
skip_deliverability_check: boolean;
|
|
@@ -848,12 +848,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
848
848
|
type: "user-primary-email";
|
|
849
849
|
user_id: string;
|
|
850
850
|
} | {
|
|
851
|
+
emails: string[];
|
|
851
852
|
type: "user-custom-emails";
|
|
852
853
|
user_id: string;
|
|
853
|
-
emails: string[];
|
|
854
854
|
} | {
|
|
855
|
-
type: "custom-emails";
|
|
856
855
|
emails: string[];
|
|
856
|
+
type: "custom-emails";
|
|
857
857
|
};
|
|
858
858
|
variables: Record<string, {} | null>;
|
|
859
859
|
skip_deliverability_check: boolean;
|
|
@@ -890,12 +890,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
890
890
|
type: "user-primary-email";
|
|
891
891
|
user_id: string;
|
|
892
892
|
} | {
|
|
893
|
+
emails: string[];
|
|
893
894
|
type: "user-custom-emails";
|
|
894
895
|
user_id: string;
|
|
895
|
-
emails: string[];
|
|
896
896
|
} | {
|
|
897
|
-
type: "custom-emails";
|
|
898
897
|
emails: string[];
|
|
898
|
+
type: "custom-emails";
|
|
899
899
|
};
|
|
900
900
|
variables: Record<string, {} | null>;
|
|
901
901
|
skip_deliverability_check: boolean;
|
|
@@ -936,12 +936,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
936
936
|
type: "user-primary-email";
|
|
937
937
|
user_id: string;
|
|
938
938
|
} | {
|
|
939
|
+
emails: string[];
|
|
939
940
|
type: "user-custom-emails";
|
|
940
941
|
user_id: string;
|
|
941
|
-
emails: string[];
|
|
942
942
|
} | {
|
|
943
|
-
type: "custom-emails";
|
|
944
943
|
emails: string[];
|
|
944
|
+
type: "custom-emails";
|
|
945
945
|
};
|
|
946
946
|
variables: Record<string, {} | null>;
|
|
947
947
|
skip_deliverability_check: boolean;
|
|
@@ -982,12 +982,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
982
982
|
type: "user-primary-email";
|
|
983
983
|
user_id: string;
|
|
984
984
|
} | {
|
|
985
|
+
emails: string[];
|
|
985
986
|
type: "user-custom-emails";
|
|
986
987
|
user_id: string;
|
|
987
|
-
emails: string[];
|
|
988
988
|
} | {
|
|
989
|
-
type: "custom-emails";
|
|
990
989
|
emails: string[];
|
|
990
|
+
type: "custom-emails";
|
|
991
991
|
};
|
|
992
992
|
variables: Record<string, {} | null>;
|
|
993
993
|
skip_deliverability_check: boolean;
|
|
@@ -1029,12 +1029,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1029
1029
|
type: "user-primary-email";
|
|
1030
1030
|
user_id: string;
|
|
1031
1031
|
} | {
|
|
1032
|
+
emails: string[];
|
|
1032
1033
|
type: "user-custom-emails";
|
|
1033
1034
|
user_id: string;
|
|
1034
|
-
emails: string[];
|
|
1035
1035
|
} | {
|
|
1036
|
-
type: "custom-emails";
|
|
1037
1036
|
emails: string[];
|
|
1037
|
+
type: "custom-emails";
|
|
1038
1038
|
};
|
|
1039
1039
|
variables: Record<string, {} | null>;
|
|
1040
1040
|
skip_deliverability_check: boolean;
|
|
@@ -1086,12 +1086,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1086
1086
|
type: "user-primary-email";
|
|
1087
1087
|
user_id: string;
|
|
1088
1088
|
} | {
|
|
1089
|
+
emails: string[];
|
|
1089
1090
|
type: "user-custom-emails";
|
|
1090
1091
|
user_id: string;
|
|
1091
|
-
emails: string[];
|
|
1092
1092
|
} | {
|
|
1093
|
-
type: "custom-emails";
|
|
1094
1093
|
emails: string[];
|
|
1094
|
+
type: "custom-emails";
|
|
1095
1095
|
};
|
|
1096
1096
|
variables: Record<string, {} | null>;
|
|
1097
1097
|
skip_deliverability_check: boolean;
|
|
@@ -1128,12 +1128,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1128
1128
|
type: "user-primary-email";
|
|
1129
1129
|
user_id: string;
|
|
1130
1130
|
} | {
|
|
1131
|
+
emails: string[];
|
|
1131
1132
|
type: "user-custom-emails";
|
|
1132
1133
|
user_id: string;
|
|
1133
|
-
emails: string[];
|
|
1134
1134
|
} | {
|
|
1135
|
-
type: "custom-emails";
|
|
1136
1135
|
emails: string[];
|
|
1136
|
+
type: "custom-emails";
|
|
1137
1137
|
};
|
|
1138
1138
|
variables: Record<string, {} | null>;
|
|
1139
1139
|
skip_deliverability_check: boolean;
|
|
@@ -1176,12 +1176,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1176
1176
|
type: "user-primary-email";
|
|
1177
1177
|
user_id: string;
|
|
1178
1178
|
} | {
|
|
1179
|
+
emails: string[];
|
|
1179
1180
|
type: "user-custom-emails";
|
|
1180
1181
|
user_id: string;
|
|
1181
|
-
emails: string[];
|
|
1182
1182
|
} | {
|
|
1183
|
-
type: "custom-emails";
|
|
1184
1183
|
emails: string[];
|
|
1184
|
+
type: "custom-emails";
|
|
1185
1185
|
};
|
|
1186
1186
|
variables: Record<string, {} | null>;
|
|
1187
1187
|
skip_deliverability_check: boolean;
|
|
@@ -1224,12 +1224,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1224
1224
|
type: "user-primary-email";
|
|
1225
1225
|
user_id: string;
|
|
1226
1226
|
} | {
|
|
1227
|
+
emails: string[];
|
|
1227
1228
|
type: "user-custom-emails";
|
|
1228
1229
|
user_id: string;
|
|
1229
|
-
emails: string[];
|
|
1230
1230
|
} | {
|
|
1231
|
-
type: "custom-emails";
|
|
1232
1231
|
emails: string[];
|
|
1232
|
+
type: "custom-emails";
|
|
1233
1233
|
};
|
|
1234
1234
|
variables: Record<string, {} | null>;
|
|
1235
1235
|
skip_deliverability_check: boolean;
|
|
@@ -1273,12 +1273,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1273
1273
|
type: "user-primary-email";
|
|
1274
1274
|
user_id: string;
|
|
1275
1275
|
} | {
|
|
1276
|
+
emails: string[];
|
|
1276
1277
|
type: "user-custom-emails";
|
|
1277
1278
|
user_id: string;
|
|
1278
|
-
emails: string[];
|
|
1279
1279
|
} | {
|
|
1280
|
-
type: "custom-emails";
|
|
1281
1280
|
emails: string[];
|
|
1281
|
+
type: "custom-emails";
|
|
1282
1282
|
};
|
|
1283
1283
|
variables: Record<string, {} | null>;
|
|
1284
1284
|
skip_deliverability_check: boolean;
|
|
@@ -1323,12 +1323,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1323
1323
|
type: "user-primary-email";
|
|
1324
1324
|
user_id: string;
|
|
1325
1325
|
} | {
|
|
1326
|
+
emails: string[];
|
|
1326
1327
|
type: "user-custom-emails";
|
|
1327
1328
|
user_id: string;
|
|
1328
|
-
emails: string[];
|
|
1329
1329
|
} | {
|
|
1330
|
-
type: "custom-emails";
|
|
1331
1330
|
emails: string[];
|
|
1331
|
+
type: "custom-emails";
|
|
1332
1332
|
};
|
|
1333
1333
|
variables: Record<string, {} | null>;
|
|
1334
1334
|
skip_deliverability_check: boolean;
|
|
@@ -1373,12 +1373,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1373
1373
|
type: "user-primary-email";
|
|
1374
1374
|
user_id: string;
|
|
1375
1375
|
} | {
|
|
1376
|
+
emails: string[];
|
|
1376
1377
|
type: "user-custom-emails";
|
|
1377
1378
|
user_id: string;
|
|
1378
|
-
emails: string[];
|
|
1379
1379
|
} | {
|
|
1380
|
-
type: "custom-emails";
|
|
1381
1380
|
emails: string[];
|
|
1381
|
+
type: "custom-emails";
|
|
1382
1382
|
};
|
|
1383
1383
|
variables: Record<string, {} | null>;
|
|
1384
1384
|
skip_deliverability_check: boolean;
|
|
@@ -1419,12 +1419,12 @@ declare const emailOutboxCrud: CrudSchemaFromOptions<{
|
|
|
1419
1419
|
type: "user-primary-email";
|
|
1420
1420
|
user_id: string;
|
|
1421
1421
|
} | {
|
|
1422
|
+
emails: string[];
|
|
1422
1423
|
type: "user-custom-emails";
|
|
1423
1424
|
user_id: string;
|
|
1424
|
-
emails: string[];
|
|
1425
1425
|
} | {
|
|
1426
|
-
type: "custom-emails";
|
|
1427
1426
|
emails: string[];
|
|
1427
|
+
type: "custom-emails";
|
|
1428
1428
|
} | undefined;
|
|
1429
1429
|
variables: Record<string, {} | null> | undefined;
|
|
1430
1430
|
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;
|
|
@@ -6,13 +6,10 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
6
6
|
id: string | null;
|
|
7
7
|
quantity: number;
|
|
8
8
|
product: {
|
|
9
|
-
free_trial?: DayInterval | undefined;
|
|
10
9
|
client_metadata?: {} | null | undefined;
|
|
11
10
|
client_read_only_metadata?: {} | null | undefined;
|
|
12
11
|
server_metadata?: {} | null | undefined;
|
|
13
|
-
|
|
14
|
-
server_only: boolean;
|
|
15
|
-
customer_type: "team" | "user" | "custom";
|
|
12
|
+
free_trial?: DayInterval | undefined;
|
|
16
13
|
stackable: boolean;
|
|
17
14
|
prices: Record<string, {
|
|
18
15
|
interval?: DayInterval | undefined;
|
|
@@ -25,9 +22,12 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
25
22
|
CAD?: string | undefined;
|
|
26
23
|
free_trial?: DayInterval | undefined;
|
|
27
24
|
}>;
|
|
25
|
+
display_name: string;
|
|
26
|
+
server_only: boolean;
|
|
27
|
+
customer_type: "user" | "team" | "custom";
|
|
28
28
|
included_items: Record<string, {
|
|
29
|
-
quantity?: number | undefined;
|
|
30
29
|
repeat?: "never" | DayInterval | undefined;
|
|
30
|
+
quantity?: number | undefined;
|
|
31
31
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
32
32
|
}>;
|
|
33
33
|
};
|
|
@@ -39,15 +39,11 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
39
39
|
is_cancelable: boolean;
|
|
40
40
|
} | null | undefined;
|
|
41
41
|
switch_options: {
|
|
42
|
-
product_id: string;
|
|
43
42
|
product: {
|
|
44
|
-
free_trial?: DayInterval | undefined;
|
|
45
43
|
client_metadata?: {} | null | undefined;
|
|
46
44
|
client_read_only_metadata?: {} | null | undefined;
|
|
47
45
|
server_metadata?: {} | null | undefined;
|
|
48
|
-
|
|
49
|
-
server_only: boolean;
|
|
50
|
-
customer_type: "team" | "user" | "custom";
|
|
46
|
+
free_trial?: DayInterval | undefined;
|
|
51
47
|
stackable: boolean;
|
|
52
48
|
prices: Record<string, {
|
|
53
49
|
interval?: DayInterval | undefined;
|
|
@@ -60,12 +56,16 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
|
|
|
60
56
|
CAD?: string | undefined;
|
|
61
57
|
free_trial?: DayInterval | undefined;
|
|
62
58
|
}>;
|
|
59
|
+
display_name: string;
|
|
60
|
+
server_only: boolean;
|
|
61
|
+
customer_type: "user" | "team" | "custom";
|
|
63
62
|
included_items: Record<string, {
|
|
64
|
-
quantity?: number | undefined;
|
|
65
63
|
repeat?: "never" | DayInterval | undefined;
|
|
64
|
+
quantity?: number | undefined;
|
|
66
65
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
67
66
|
}>;
|
|
68
67
|
};
|
|
68
|
+
product_id: string;
|
|
69
69
|
}[] | undefined;
|
|
70
70
|
}, yup$1.AnyObject, {
|
|
71
71
|
id: undefined;
|
|
@@ -102,15 +102,11 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
102
102
|
is_cancelable: boolean;
|
|
103
103
|
} | null | undefined;
|
|
104
104
|
switch_options?: {
|
|
105
|
-
product_id: string;
|
|
106
105
|
product: {
|
|
107
|
-
free_trial?: DayInterval | undefined;
|
|
108
106
|
client_metadata?: {} | null | undefined;
|
|
109
107
|
client_read_only_metadata?: {} | null | undefined;
|
|
110
108
|
server_metadata?: {} | null | undefined;
|
|
111
|
-
|
|
112
|
-
server_only: boolean;
|
|
113
|
-
customer_type: "team" | "user" | "custom";
|
|
109
|
+
free_trial?: DayInterval | undefined;
|
|
114
110
|
stackable: boolean;
|
|
115
111
|
prices: Record<string, {
|
|
116
112
|
interval?: DayInterval | undefined;
|
|
@@ -123,23 +119,22 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
123
119
|
CAD?: string | undefined;
|
|
124
120
|
free_trial?: DayInterval | undefined;
|
|
125
121
|
}>;
|
|
122
|
+
display_name: string;
|
|
123
|
+
server_only: boolean;
|
|
124
|
+
customer_type: "user" | "team" | "custom";
|
|
126
125
|
included_items: Record<string, {
|
|
127
|
-
quantity?: number | undefined;
|
|
128
126
|
repeat?: "never" | DayInterval | undefined;
|
|
127
|
+
quantity?: number | undefined;
|
|
129
128
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
130
129
|
}>;
|
|
131
130
|
};
|
|
131
|
+
product_id: string;
|
|
132
132
|
}[] | undefined;
|
|
133
|
-
id: string | null;
|
|
134
|
-
quantity: number;
|
|
135
133
|
product: {
|
|
136
|
-
free_trial?: DayInterval | undefined;
|
|
137
134
|
client_metadata?: {} | null | undefined;
|
|
138
135
|
client_read_only_metadata?: {} | null | undefined;
|
|
139
136
|
server_metadata?: {} | null | undefined;
|
|
140
|
-
|
|
141
|
-
server_only: boolean;
|
|
142
|
-
customer_type: "team" | "user" | "custom";
|
|
137
|
+
free_trial?: DayInterval | undefined;
|
|
143
138
|
stackable: boolean;
|
|
144
139
|
prices: Record<string, {
|
|
145
140
|
interval?: DayInterval | undefined;
|
|
@@ -152,12 +147,17 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
|
|
|
152
147
|
CAD?: string | undefined;
|
|
153
148
|
free_trial?: DayInterval | undefined;
|
|
154
149
|
}>;
|
|
150
|
+
display_name: string;
|
|
151
|
+
server_only: boolean;
|
|
152
|
+
customer_type: "user" | "team" | "custom";
|
|
155
153
|
included_items: Record<string, {
|
|
156
|
-
quantity?: number | undefined;
|
|
157
154
|
repeat?: "never" | DayInterval | undefined;
|
|
155
|
+
quantity?: number | undefined;
|
|
158
156
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
159
157
|
}>;
|
|
160
158
|
};
|
|
159
|
+
quantity: number;
|
|
160
|
+
id: string | null;
|
|
161
161
|
}[];
|
|
162
162
|
is_paginated: boolean;
|
|
163
163
|
pagination: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"products.d.ts","names":[],"sources":["../../../src/interface/crud/products.ts"],"mappings":";;;;cAQa,yBAAA,EAAyB,KAAA,CAAA,YAAA
|
|
1
|
+
{"version":3,"file":"products.d.ts","names":[],"sources":["../../../src/interface/crud/products.ts"],"mappings":";;;;cAQa,yBAAA,EAAyB,KAAA,CAAA,YAAA;;;;;;;iBAc1B,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;;;;qBAMnC,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,4BAAA,GAA+B,KAAA,CAAI,SAAA,QAAiB,kCAAA;AAAA,KAEpD,2BAAA;EACV,aAAA;EACA,WAAA;EACA,MAAA;EACA,KAAA;AAAA"}
|
|
@@ -79,11 +79,11 @@ declare const userApiKeysCrud: CrudSchemaFromOptions<{
|
|
|
79
79
|
user_id: undefined;
|
|
80
80
|
}, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
|
|
81
81
|
type: "user";
|
|
82
|
+
description: string;
|
|
82
83
|
id: string;
|
|
83
84
|
created_at_millis: number;
|
|
84
85
|
expires_at_millis: number | undefined;
|
|
85
86
|
user_id: string;
|
|
86
|
-
description: string;
|
|
87
87
|
manually_revoked_at_millis: number | undefined;
|
|
88
88
|
is_public: boolean;
|
|
89
89
|
} & {
|
|
@@ -177,11 +177,11 @@ declare const teamApiKeysCrud: CrudSchemaFromOptions<{
|
|
|
177
177
|
team_id: undefined;
|
|
178
178
|
}, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
|
|
179
179
|
type: "team";
|
|
180
|
+
description: string;
|
|
180
181
|
id: string;
|
|
181
182
|
created_at_millis: number;
|
|
182
183
|
expires_at_millis: number | undefined;
|
|
183
184
|
team_id: string;
|
|
184
|
-
description: string;
|
|
185
185
|
manually_revoked_at_millis: number | undefined;
|
|
186
186
|
is_public: boolean;
|
|
187
187
|
} & {
|