@feedmepos/mf-e-invoice 0.0.65 → 0.0.68
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/{EInvoice-B9lJ3ijP.js → EInvoice-vYf-dUfJ.js} +2100 -2086
- package/dist/api/index.d.ts +1 -2
- package/dist/app.js +1 -1
- package/dist/store/index.d.ts +457 -445
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/type/index.d.ts +2 -0
- package/dist/type/malaysia/components/accounting-party.dto.d.ts +625 -0
- package/dist/type/malaysia/components/allowance.dto.d.ts +33 -0
- package/dist/type/malaysia/components/billing.dto.d.ts +198 -0
- package/dist/type/malaysia/components/invoice-line.dto.d.ts +601 -0
- package/dist/type/malaysia/components/payment.dto.d.ts +38 -0
- package/dist/type/malaysia/components/signature.dto.d.ts +8988 -0
- package/dist/type/malaysia/components/tax.dto.d.ts +410 -0
- package/dist/type/malaysia/e-invoice-profile.do.d.ts +1756 -0
- package/dist/type/malaysia/e-invoice.do.d.ts +4808 -0
- package/dist/type/malaysia/e-invoice.dto.d.ts +5146 -0
- package/dist/type/malaysia/e-invoice.enum.d.ts +5 -0
- package/dist/type/malaysia/index.d.ts +11 -0
- package/dist/type/profile/e-invoice-base-profile.do.d.ts +136 -0
- package/dist/type/profile/e-invoice-profile.enum.d.ts +7 -0
- package/dist/type/profile/e-invoice.enum.d.ts +9 -0
- package/dist/type/report-invoice.dto.d.ts +123 -0
- package/dist/type/thailand/e-invoice-profile.do.d.ts +155 -128
- package/dist/type/thailand/e-invoice.do.d.ts +120 -110
- package/dist/type/thailand/e-invoice.dto.d.ts +76 -76
- package/dist/type/vietnam/e-invoice-profile.do.d.ts +108 -108
- package/dist/type/vietnam/e-invoice.do.d.ts +56 -56
- package/dist/type/vietnam/e-invoice.dto.d.ts +13 -13
- package/dist/types.d.ts +2 -3
- package/dist/views/EInvoiceCopyDialog.vue.d.ts +3 -56
- package/dist/views/manager/malaysia/MalaysiaItemSettingsDialog.vue.d.ts +1 -1
- package/dist/views/manager/malaysia/MalaysiaProfileDialog.vue.d.ts +1 -1
- package/dist/views/manager/malaysia/data.d.ts +2 -1
- package/dist/views/manager/malaysia/malaysia.d.ts +2 -1
- package/dist/views/manager/manager.d.ts +2 -2
- package/dist/views/manager/thailand/thailand.d.ts +2 -2
- package/dist/views/manager/vietnam/VietnamItemSettingsDialog.vue.d.ts +2 -2
- package/dist/views/submission.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from
|
|
1
|
+
import { z } from "zod";
|
|
2
2
|
export declare const FdoThEInvoiceCustomerBaseProfile: z.ZodObject<z.extendShape<{
|
|
3
3
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
4
4
|
type: z.ZodEnum<["individual", "company"]>;
|
|
@@ -35,12 +35,11 @@ export declare const FdoThEInvoiceCustomerBaseProfile: z.ZodObject<z.extendShape
|
|
|
35
35
|
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
36
36
|
tinNo: z.ZodString;
|
|
37
37
|
}>, "strip", z.ZodTypeAny, {
|
|
38
|
-
email?: string | null | undefined;
|
|
39
38
|
nickname?: string | null | undefined;
|
|
40
|
-
|
|
41
|
-
_id: string;
|
|
39
|
+
email?: string | null | undefined;
|
|
42
40
|
type: "individual" | "company";
|
|
43
41
|
name: string;
|
|
42
|
+
_id: string;
|
|
44
43
|
phoneNumber: string;
|
|
45
44
|
address: {
|
|
46
45
|
coordinates?: number[] | null | undefined;
|
|
@@ -52,13 +51,13 @@ export declare const FdoThEInvoiceCustomerBaseProfile: z.ZodObject<z.extendShape
|
|
|
52
51
|
postcode: string;
|
|
53
52
|
};
|
|
54
53
|
userId: string;
|
|
54
|
+
tinNo: string;
|
|
55
55
|
}, {
|
|
56
|
-
email?: string | null | undefined;
|
|
57
56
|
nickname?: string | null | undefined;
|
|
58
|
-
|
|
59
|
-
_id: string;
|
|
57
|
+
email?: string | null | undefined;
|
|
60
58
|
type: "individual" | "company";
|
|
61
59
|
name: string;
|
|
60
|
+
_id: string;
|
|
62
61
|
phoneNumber: string;
|
|
63
62
|
address: {
|
|
64
63
|
coordinates?: number[] | null | undefined;
|
|
@@ -70,6 +69,7 @@ export declare const FdoThEInvoiceCustomerBaseProfile: z.ZodObject<z.extendShape
|
|
|
70
69
|
postcode: string;
|
|
71
70
|
};
|
|
72
71
|
userId: string;
|
|
72
|
+
tinNo: string;
|
|
73
73
|
}>;
|
|
74
74
|
export declare const FdoThEInvoiceIndividualProfile: z.ZodObject<z.extendShape<z.extendShape<{
|
|
75
75
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -110,13 +110,12 @@ export declare const FdoThEInvoiceIndividualProfile: z.ZodObject<z.extendShape<z
|
|
|
110
110
|
type: z.ZodLiteral<"individual">;
|
|
111
111
|
branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
112
112
|
}>, "strip", z.ZodTypeAny, {
|
|
113
|
-
email?: string | null | undefined;
|
|
114
113
|
nickname?: string | null | undefined;
|
|
114
|
+
email?: string | null | undefined;
|
|
115
115
|
branchCode?: string | null | undefined;
|
|
116
|
-
tinNo: string;
|
|
117
|
-
_id: string;
|
|
118
116
|
type: "individual";
|
|
119
117
|
name: string;
|
|
118
|
+
_id: string;
|
|
120
119
|
phoneNumber: string;
|
|
121
120
|
address: {
|
|
122
121
|
coordinates?: number[] | null | undefined;
|
|
@@ -128,14 +127,14 @@ export declare const FdoThEInvoiceIndividualProfile: z.ZodObject<z.extendShape<z
|
|
|
128
127
|
postcode: string;
|
|
129
128
|
};
|
|
130
129
|
userId: string;
|
|
130
|
+
tinNo: string;
|
|
131
131
|
}, {
|
|
132
|
-
email?: string | null | undefined;
|
|
133
132
|
nickname?: string | null | undefined;
|
|
133
|
+
email?: string | null | undefined;
|
|
134
134
|
branchCode?: string | null | undefined;
|
|
135
|
-
tinNo: string;
|
|
136
|
-
_id: string;
|
|
137
135
|
type: "individual";
|
|
138
136
|
name: string;
|
|
137
|
+
_id: string;
|
|
139
138
|
phoneNumber: string;
|
|
140
139
|
address: {
|
|
141
140
|
coordinates?: number[] | null | undefined;
|
|
@@ -147,6 +146,7 @@ export declare const FdoThEInvoiceIndividualProfile: z.ZodObject<z.extendShape<z
|
|
|
147
146
|
postcode: string;
|
|
148
147
|
};
|
|
149
148
|
userId: string;
|
|
149
|
+
tinNo: string;
|
|
150
150
|
}>;
|
|
151
151
|
export declare const FdoThEInvoiceCompanyProfile: z.ZodObject<z.extendShape<z.extendShape<{
|
|
152
152
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -187,12 +187,11 @@ export declare const FdoThEInvoiceCompanyProfile: z.ZodObject<z.extendShape<z.ex
|
|
|
187
187
|
type: z.ZodLiteral<"company">;
|
|
188
188
|
branchCode: z.ZodString;
|
|
189
189
|
}>, "strip", z.ZodTypeAny, {
|
|
190
|
-
email?: string | null | undefined;
|
|
191
190
|
nickname?: string | null | undefined;
|
|
192
|
-
|
|
193
|
-
_id: string;
|
|
191
|
+
email?: string | null | undefined;
|
|
194
192
|
type: "company";
|
|
195
193
|
name: string;
|
|
194
|
+
_id: string;
|
|
196
195
|
phoneNumber: string;
|
|
197
196
|
address: {
|
|
198
197
|
coordinates?: number[] | null | undefined;
|
|
@@ -204,14 +203,14 @@ export declare const FdoThEInvoiceCompanyProfile: z.ZodObject<z.extendShape<z.ex
|
|
|
204
203
|
postcode: string;
|
|
205
204
|
};
|
|
206
205
|
userId: string;
|
|
206
|
+
tinNo: string;
|
|
207
207
|
branchCode: string;
|
|
208
208
|
}, {
|
|
209
|
-
email?: string | null | undefined;
|
|
210
209
|
nickname?: string | null | undefined;
|
|
211
|
-
|
|
212
|
-
_id: string;
|
|
210
|
+
email?: string | null | undefined;
|
|
213
211
|
type: "company";
|
|
214
212
|
name: string;
|
|
213
|
+
_id: string;
|
|
215
214
|
phoneNumber: string;
|
|
216
215
|
address: {
|
|
217
216
|
coordinates?: number[] | null | undefined;
|
|
@@ -223,6 +222,7 @@ export declare const FdoThEInvoiceCompanyProfile: z.ZodObject<z.extendShape<z.ex
|
|
|
223
222
|
postcode: string;
|
|
224
223
|
};
|
|
225
224
|
userId: string;
|
|
225
|
+
tinNo: string;
|
|
226
226
|
branchCode: string;
|
|
227
227
|
}>;
|
|
228
228
|
export declare const FdoThEInvoiceCustomerProfile: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
|
|
@@ -264,13 +264,12 @@ export declare const FdoThEInvoiceCustomerProfile: z.ZodDiscriminatedUnion<"type
|
|
|
264
264
|
type: z.ZodLiteral<"individual">;
|
|
265
265
|
branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
266
266
|
}>, "strip", z.ZodTypeAny, {
|
|
267
|
-
email?: string | null | undefined;
|
|
268
267
|
nickname?: string | null | undefined;
|
|
268
|
+
email?: string | null | undefined;
|
|
269
269
|
branchCode?: string | null | undefined;
|
|
270
|
-
tinNo: string;
|
|
271
|
-
_id: string;
|
|
272
270
|
type: "individual";
|
|
273
271
|
name: string;
|
|
272
|
+
_id: string;
|
|
274
273
|
phoneNumber: string;
|
|
275
274
|
address: {
|
|
276
275
|
coordinates?: number[] | null | undefined;
|
|
@@ -282,14 +281,14 @@ export declare const FdoThEInvoiceCustomerProfile: z.ZodDiscriminatedUnion<"type
|
|
|
282
281
|
postcode: string;
|
|
283
282
|
};
|
|
284
283
|
userId: string;
|
|
284
|
+
tinNo: string;
|
|
285
285
|
}, {
|
|
286
|
-
email?: string | null | undefined;
|
|
287
286
|
nickname?: string | null | undefined;
|
|
287
|
+
email?: string | null | undefined;
|
|
288
288
|
branchCode?: string | null | undefined;
|
|
289
|
-
tinNo: string;
|
|
290
|
-
_id: string;
|
|
291
289
|
type: "individual";
|
|
292
290
|
name: string;
|
|
291
|
+
_id: string;
|
|
293
292
|
phoneNumber: string;
|
|
294
293
|
address: {
|
|
295
294
|
coordinates?: number[] | null | undefined;
|
|
@@ -301,6 +300,7 @@ export declare const FdoThEInvoiceCustomerProfile: z.ZodDiscriminatedUnion<"type
|
|
|
301
300
|
postcode: string;
|
|
302
301
|
};
|
|
303
302
|
userId: string;
|
|
303
|
+
tinNo: string;
|
|
304
304
|
}> | z.ZodObject<z.extendShape<z.extendShape<{
|
|
305
305
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
306
306
|
type: z.ZodEnum<["individual", "company"]>;
|
|
@@ -340,12 +340,11 @@ export declare const FdoThEInvoiceCustomerProfile: z.ZodDiscriminatedUnion<"type
|
|
|
340
340
|
type: z.ZodLiteral<"company">;
|
|
341
341
|
branchCode: z.ZodString;
|
|
342
342
|
}>, "strip", z.ZodTypeAny, {
|
|
343
|
-
email?: string | null | undefined;
|
|
344
343
|
nickname?: string | null | undefined;
|
|
345
|
-
|
|
346
|
-
_id: string;
|
|
344
|
+
email?: string | null | undefined;
|
|
347
345
|
type: "company";
|
|
348
346
|
name: string;
|
|
347
|
+
_id: string;
|
|
349
348
|
phoneNumber: string;
|
|
350
349
|
address: {
|
|
351
350
|
coordinates?: number[] | null | undefined;
|
|
@@ -357,14 +356,14 @@ export declare const FdoThEInvoiceCustomerProfile: z.ZodDiscriminatedUnion<"type
|
|
|
357
356
|
postcode: string;
|
|
358
357
|
};
|
|
359
358
|
userId: string;
|
|
359
|
+
tinNo: string;
|
|
360
360
|
branchCode: string;
|
|
361
361
|
}, {
|
|
362
|
-
email?: string | null | undefined;
|
|
363
362
|
nickname?: string | null | undefined;
|
|
364
|
-
|
|
365
|
-
_id: string;
|
|
363
|
+
email?: string | null | undefined;
|
|
366
364
|
type: "company";
|
|
367
365
|
name: string;
|
|
366
|
+
_id: string;
|
|
368
367
|
phoneNumber: string;
|
|
369
368
|
address: {
|
|
370
369
|
coordinates?: number[] | null | undefined;
|
|
@@ -376,6 +375,7 @@ export declare const FdoThEInvoiceCustomerProfile: z.ZodDiscriminatedUnion<"type
|
|
|
376
375
|
postcode: string;
|
|
377
376
|
};
|
|
378
377
|
userId: string;
|
|
378
|
+
tinNo: string;
|
|
379
379
|
branchCode: string;
|
|
380
380
|
}>>;
|
|
381
381
|
export declare const FdoThEInvoiceCustomerProfileDoc: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
|
|
@@ -417,13 +417,12 @@ export declare const FdoThEInvoiceCustomerProfileDoc: z.ZodDiscriminatedUnion<"t
|
|
|
417
417
|
type: z.ZodLiteral<"individual">;
|
|
418
418
|
branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
419
419
|
}>, "strip", z.ZodTypeAny, {
|
|
420
|
-
email?: string | null | undefined;
|
|
421
420
|
nickname?: string | null | undefined;
|
|
421
|
+
email?: string | null | undefined;
|
|
422
422
|
branchCode?: string | null | undefined;
|
|
423
|
-
tinNo: string;
|
|
424
|
-
_id: string;
|
|
425
423
|
type: "individual";
|
|
426
424
|
name: string;
|
|
425
|
+
_id: string;
|
|
427
426
|
phoneNumber: string;
|
|
428
427
|
address: {
|
|
429
428
|
coordinates?: number[] | null | undefined;
|
|
@@ -435,14 +434,14 @@ export declare const FdoThEInvoiceCustomerProfileDoc: z.ZodDiscriminatedUnion<"t
|
|
|
435
434
|
postcode: string;
|
|
436
435
|
};
|
|
437
436
|
userId: string;
|
|
437
|
+
tinNo: string;
|
|
438
438
|
}, {
|
|
439
|
-
email?: string | null | undefined;
|
|
440
439
|
nickname?: string | null | undefined;
|
|
440
|
+
email?: string | null | undefined;
|
|
441
441
|
branchCode?: string | null | undefined;
|
|
442
|
-
tinNo: string;
|
|
443
|
-
_id: string;
|
|
444
442
|
type: "individual";
|
|
445
443
|
name: string;
|
|
444
|
+
_id: string;
|
|
446
445
|
phoneNumber: string;
|
|
447
446
|
address: {
|
|
448
447
|
coordinates?: number[] | null | undefined;
|
|
@@ -454,6 +453,7 @@ export declare const FdoThEInvoiceCustomerProfileDoc: z.ZodDiscriminatedUnion<"t
|
|
|
454
453
|
postcode: string;
|
|
455
454
|
};
|
|
456
455
|
userId: string;
|
|
456
|
+
tinNo: string;
|
|
457
457
|
}> | z.ZodObject<z.extendShape<z.extendShape<{
|
|
458
458
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
459
459
|
type: z.ZodEnum<["individual", "company"]>;
|
|
@@ -493,12 +493,11 @@ export declare const FdoThEInvoiceCustomerProfileDoc: z.ZodDiscriminatedUnion<"t
|
|
|
493
493
|
type: z.ZodLiteral<"company">;
|
|
494
494
|
branchCode: z.ZodString;
|
|
495
495
|
}>, "strip", z.ZodTypeAny, {
|
|
496
|
-
email?: string | null | undefined;
|
|
497
496
|
nickname?: string | null | undefined;
|
|
498
|
-
|
|
499
|
-
_id: string;
|
|
497
|
+
email?: string | null | undefined;
|
|
500
498
|
type: "company";
|
|
501
499
|
name: string;
|
|
500
|
+
_id: string;
|
|
502
501
|
phoneNumber: string;
|
|
503
502
|
address: {
|
|
504
503
|
coordinates?: number[] | null | undefined;
|
|
@@ -510,14 +509,14 @@ export declare const FdoThEInvoiceCustomerProfileDoc: z.ZodDiscriminatedUnion<"t
|
|
|
510
509
|
postcode: string;
|
|
511
510
|
};
|
|
512
511
|
userId: string;
|
|
512
|
+
tinNo: string;
|
|
513
513
|
branchCode: string;
|
|
514
514
|
}, {
|
|
515
|
-
email?: string | null | undefined;
|
|
516
515
|
nickname?: string | null | undefined;
|
|
517
|
-
|
|
518
|
-
_id: string;
|
|
516
|
+
email?: string | null | undefined;
|
|
519
517
|
type: "company";
|
|
520
518
|
name: string;
|
|
519
|
+
_id: string;
|
|
521
520
|
phoneNumber: string;
|
|
522
521
|
address: {
|
|
523
522
|
coordinates?: number[] | null | undefined;
|
|
@@ -529,6 +528,7 @@ export declare const FdoThEInvoiceCustomerProfileDoc: z.ZodDiscriminatedUnion<"t
|
|
|
529
528
|
postcode: string;
|
|
530
529
|
};
|
|
531
530
|
userId: string;
|
|
531
|
+
tinNo: string;
|
|
532
532
|
branchCode: string;
|
|
533
533
|
}>>;
|
|
534
534
|
export declare const FdoThEInvoiceCustomerProfileSchema: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<Omit<z.extendShape<z.extendShape<{
|
|
@@ -570,10 +570,9 @@ export declare const FdoThEInvoiceCustomerProfileSchema: z.ZodDiscriminatedUnion
|
|
|
570
570
|
type: z.ZodLiteral<"individual">;
|
|
571
571
|
branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
572
572
|
}>, "_id">, "strip", z.ZodTypeAny, {
|
|
573
|
-
email?: string | null | undefined;
|
|
574
573
|
nickname?: string | null | undefined;
|
|
574
|
+
email?: string | null | undefined;
|
|
575
575
|
branchCode?: string | null | undefined;
|
|
576
|
-
tinNo: string;
|
|
577
576
|
type: "individual";
|
|
578
577
|
name: string;
|
|
579
578
|
phoneNumber: string;
|
|
@@ -587,11 +586,11 @@ export declare const FdoThEInvoiceCustomerProfileSchema: z.ZodDiscriminatedUnion
|
|
|
587
586
|
postcode: string;
|
|
588
587
|
};
|
|
589
588
|
userId: string;
|
|
589
|
+
tinNo: string;
|
|
590
590
|
}, {
|
|
591
|
-
email?: string | null | undefined;
|
|
592
591
|
nickname?: string | null | undefined;
|
|
592
|
+
email?: string | null | undefined;
|
|
593
593
|
branchCode?: string | null | undefined;
|
|
594
|
-
tinNo: string;
|
|
595
594
|
type: "individual";
|
|
596
595
|
name: string;
|
|
597
596
|
phoneNumber: string;
|
|
@@ -605,6 +604,7 @@ export declare const FdoThEInvoiceCustomerProfileSchema: z.ZodDiscriminatedUnion
|
|
|
605
604
|
postcode: string;
|
|
606
605
|
};
|
|
607
606
|
userId: string;
|
|
607
|
+
tinNo: string;
|
|
608
608
|
}> | z.ZodObject<Omit<z.extendShape<z.extendShape<{
|
|
609
609
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
610
610
|
type: z.ZodEnum<["individual", "company"]>;
|
|
@@ -644,9 +644,8 @@ export declare const FdoThEInvoiceCustomerProfileSchema: z.ZodDiscriminatedUnion
|
|
|
644
644
|
type: z.ZodLiteral<"company">;
|
|
645
645
|
branchCode: z.ZodString;
|
|
646
646
|
}>, "_id">, "strip", z.ZodTypeAny, {
|
|
647
|
-
email?: string | null | undefined;
|
|
648
647
|
nickname?: string | null | undefined;
|
|
649
|
-
|
|
648
|
+
email?: string | null | undefined;
|
|
650
649
|
type: "company";
|
|
651
650
|
name: string;
|
|
652
651
|
phoneNumber: string;
|
|
@@ -660,11 +659,11 @@ export declare const FdoThEInvoiceCustomerProfileSchema: z.ZodDiscriminatedUnion
|
|
|
660
659
|
postcode: string;
|
|
661
660
|
};
|
|
662
661
|
userId: string;
|
|
662
|
+
tinNo: string;
|
|
663
663
|
branchCode: string;
|
|
664
664
|
}, {
|
|
665
|
-
email?: string | null | undefined;
|
|
666
665
|
nickname?: string | null | undefined;
|
|
667
|
-
|
|
666
|
+
email?: string | null | undefined;
|
|
668
667
|
type: "company";
|
|
669
668
|
name: string;
|
|
670
669
|
phoneNumber: string;
|
|
@@ -678,6 +677,7 @@ export declare const FdoThEInvoiceCustomerProfileSchema: z.ZodDiscriminatedUnion
|
|
|
678
677
|
postcode: string;
|
|
679
678
|
};
|
|
680
679
|
userId: string;
|
|
680
|
+
tinNo: string;
|
|
681
681
|
branchCode: string;
|
|
682
682
|
}>>;
|
|
683
683
|
export declare const FdoThEInvoiceItemInfo: z.ZodObject<{
|
|
@@ -744,17 +744,18 @@ export declare const FdoThEInvoiceMerchantBaseProfile: z.ZodObject<z.extendShape
|
|
|
744
744
|
}>;
|
|
745
745
|
phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
746
746
|
}, {
|
|
747
|
-
branchCode: z.ZodString
|
|
747
|
+
branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
748
748
|
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
749
749
|
queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
750
|
+
taxRegNo: z.ZodString;
|
|
750
751
|
}>, "strip", z.ZodTypeAny, {
|
|
752
|
+
phoneNo?: string | null | undefined;
|
|
751
753
|
email?: string | null | undefined;
|
|
752
754
|
queryToken?: string | null | undefined;
|
|
753
|
-
|
|
754
|
-
tinNo: string;
|
|
755
|
-
_id: string;
|
|
755
|
+
branchCode?: string | null | undefined;
|
|
756
756
|
type: "restaurant" | "marketing";
|
|
757
757
|
name: string;
|
|
758
|
+
_id: string;
|
|
758
759
|
address: {
|
|
759
760
|
coordinates?: number[] | null | undefined;
|
|
760
761
|
line2?: string | null | undefined;
|
|
@@ -764,17 +765,18 @@ export declare const FdoThEInvoiceMerchantBaseProfile: z.ZodObject<z.extendShape
|
|
|
764
765
|
city: string;
|
|
765
766
|
postcode: string;
|
|
766
767
|
};
|
|
767
|
-
branchCode: string;
|
|
768
768
|
businessId: string;
|
|
769
769
|
regNo: string;
|
|
770
|
+
tinNo: string;
|
|
771
|
+
taxRegNo: string;
|
|
770
772
|
}, {
|
|
773
|
+
phoneNo?: string | null | undefined;
|
|
771
774
|
email?: string | null | undefined;
|
|
772
775
|
queryToken?: string | null | undefined;
|
|
773
|
-
|
|
774
|
-
tinNo: string;
|
|
775
|
-
_id: string;
|
|
776
|
+
branchCode?: string | null | undefined;
|
|
776
777
|
type: "restaurant" | "marketing";
|
|
777
778
|
name: string;
|
|
779
|
+
_id: string;
|
|
778
780
|
address: {
|
|
779
781
|
coordinates?: number[] | null | undefined;
|
|
780
782
|
line2?: string | null | undefined;
|
|
@@ -784,9 +786,10 @@ export declare const FdoThEInvoiceMerchantBaseProfile: z.ZodObject<z.extendShape
|
|
|
784
786
|
city: string;
|
|
785
787
|
postcode: string;
|
|
786
788
|
};
|
|
787
|
-
branchCode: string;
|
|
788
789
|
businessId: string;
|
|
789
790
|
regNo: string;
|
|
791
|
+
tinNo: string;
|
|
792
|
+
taxRegNo: string;
|
|
790
793
|
}>;
|
|
791
794
|
export declare const FdoThEInvoiceRestaurantProfile: z.ZodObject<z.extendShape<z.extendShape<{
|
|
792
795
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -822,20 +825,21 @@ export declare const FdoThEInvoiceRestaurantProfile: z.ZodObject<z.extendShape<z
|
|
|
822
825
|
}>;
|
|
823
826
|
phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
824
827
|
}, {
|
|
825
|
-
branchCode: z.ZodString
|
|
828
|
+
branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
826
829
|
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
827
830
|
queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
831
|
+
taxRegNo: z.ZodString;
|
|
828
832
|
}>, {
|
|
829
833
|
type: z.ZodLiteral<"restaurant">;
|
|
830
834
|
restaurantId: z.ZodString;
|
|
831
835
|
}>, "strip", z.ZodTypeAny, {
|
|
836
|
+
phoneNo?: string | null | undefined;
|
|
832
837
|
email?: string | null | undefined;
|
|
833
838
|
queryToken?: string | null | undefined;
|
|
834
|
-
|
|
835
|
-
tinNo: string;
|
|
836
|
-
_id: string;
|
|
839
|
+
branchCode?: string | null | undefined;
|
|
837
840
|
type: "restaurant";
|
|
838
841
|
name: string;
|
|
842
|
+
_id: string;
|
|
839
843
|
address: {
|
|
840
844
|
coordinates?: number[] | null | undefined;
|
|
841
845
|
line2?: string | null | undefined;
|
|
@@ -845,18 +849,19 @@ export declare const FdoThEInvoiceRestaurantProfile: z.ZodObject<z.extendShape<z
|
|
|
845
849
|
city: string;
|
|
846
850
|
postcode: string;
|
|
847
851
|
};
|
|
848
|
-
branchCode: string;
|
|
849
852
|
businessId: string;
|
|
850
853
|
regNo: string;
|
|
854
|
+
tinNo: string;
|
|
851
855
|
restaurantId: string;
|
|
856
|
+
taxRegNo: string;
|
|
852
857
|
}, {
|
|
858
|
+
phoneNo?: string | null | undefined;
|
|
853
859
|
email?: string | null | undefined;
|
|
854
860
|
queryToken?: string | null | undefined;
|
|
855
|
-
|
|
856
|
-
tinNo: string;
|
|
857
|
-
_id: string;
|
|
861
|
+
branchCode?: string | null | undefined;
|
|
858
862
|
type: "restaurant";
|
|
859
863
|
name: string;
|
|
864
|
+
_id: string;
|
|
860
865
|
address: {
|
|
861
866
|
coordinates?: number[] | null | undefined;
|
|
862
867
|
line2?: string | null | undefined;
|
|
@@ -866,10 +871,11 @@ export declare const FdoThEInvoiceRestaurantProfile: z.ZodObject<z.extendShape<z
|
|
|
866
871
|
city: string;
|
|
867
872
|
postcode: string;
|
|
868
873
|
};
|
|
869
|
-
branchCode: string;
|
|
870
874
|
businessId: string;
|
|
871
875
|
regNo: string;
|
|
876
|
+
tinNo: string;
|
|
872
877
|
restaurantId: string;
|
|
878
|
+
taxRegNo: string;
|
|
873
879
|
}>;
|
|
874
880
|
export declare const FdoThEInvoiceMarketingProfile: z.ZodObject<z.extendShape<z.extendShape<{
|
|
875
881
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -905,19 +911,20 @@ export declare const FdoThEInvoiceMarketingProfile: z.ZodObject<z.extendShape<z.
|
|
|
905
911
|
}>;
|
|
906
912
|
phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
907
913
|
}, {
|
|
908
|
-
branchCode: z.ZodString
|
|
914
|
+
branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
909
915
|
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
910
916
|
queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
917
|
+
taxRegNo: z.ZodString;
|
|
911
918
|
}>, {
|
|
912
919
|
type: z.ZodLiteral<"marketing">;
|
|
913
920
|
}>, "strip", z.ZodTypeAny, {
|
|
921
|
+
phoneNo?: string | null | undefined;
|
|
914
922
|
email?: string | null | undefined;
|
|
915
923
|
queryToken?: string | null | undefined;
|
|
916
|
-
|
|
917
|
-
tinNo: string;
|
|
918
|
-
_id: string;
|
|
924
|
+
branchCode?: string | null | undefined;
|
|
919
925
|
type: "marketing";
|
|
920
926
|
name: string;
|
|
927
|
+
_id: string;
|
|
921
928
|
address: {
|
|
922
929
|
coordinates?: number[] | null | undefined;
|
|
923
930
|
line2?: string | null | undefined;
|
|
@@ -927,17 +934,18 @@ export declare const FdoThEInvoiceMarketingProfile: z.ZodObject<z.extendShape<z.
|
|
|
927
934
|
city: string;
|
|
928
935
|
postcode: string;
|
|
929
936
|
};
|
|
930
|
-
branchCode: string;
|
|
931
937
|
businessId: string;
|
|
932
938
|
regNo: string;
|
|
939
|
+
tinNo: string;
|
|
940
|
+
taxRegNo: string;
|
|
933
941
|
}, {
|
|
942
|
+
phoneNo?: string | null | undefined;
|
|
934
943
|
email?: string | null | undefined;
|
|
935
944
|
queryToken?: string | null | undefined;
|
|
936
|
-
|
|
937
|
-
tinNo: string;
|
|
938
|
-
_id: string;
|
|
945
|
+
branchCode?: string | null | undefined;
|
|
939
946
|
type: "marketing";
|
|
940
947
|
name: string;
|
|
948
|
+
_id: string;
|
|
941
949
|
address: {
|
|
942
950
|
coordinates?: number[] | null | undefined;
|
|
943
951
|
line2?: string | null | undefined;
|
|
@@ -947,9 +955,10 @@ export declare const FdoThEInvoiceMarketingProfile: z.ZodObject<z.extendShape<z.
|
|
|
947
955
|
city: string;
|
|
948
956
|
postcode: string;
|
|
949
957
|
};
|
|
950
|
-
branchCode: string;
|
|
951
958
|
businessId: string;
|
|
952
959
|
regNo: string;
|
|
960
|
+
tinNo: string;
|
|
961
|
+
taxRegNo: string;
|
|
953
962
|
}>;
|
|
954
963
|
export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
|
|
955
964
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -985,20 +994,21 @@ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
|
|
|
985
994
|
}>;
|
|
986
995
|
phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
987
996
|
}, {
|
|
988
|
-
branchCode: z.ZodString
|
|
997
|
+
branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
989
998
|
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
990
999
|
queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1000
|
+
taxRegNo: z.ZodString;
|
|
991
1001
|
}>, {
|
|
992
1002
|
type: z.ZodLiteral<"restaurant">;
|
|
993
1003
|
restaurantId: z.ZodString;
|
|
994
1004
|
}>, "strip", z.ZodTypeAny, {
|
|
1005
|
+
phoneNo?: string | null | undefined;
|
|
995
1006
|
email?: string | null | undefined;
|
|
996
1007
|
queryToken?: string | null | undefined;
|
|
997
|
-
|
|
998
|
-
tinNo: string;
|
|
999
|
-
_id: string;
|
|
1008
|
+
branchCode?: string | null | undefined;
|
|
1000
1009
|
type: "restaurant";
|
|
1001
1010
|
name: string;
|
|
1011
|
+
_id: string;
|
|
1002
1012
|
address: {
|
|
1003
1013
|
coordinates?: number[] | null | undefined;
|
|
1004
1014
|
line2?: string | null | undefined;
|
|
@@ -1008,18 +1018,19 @@ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
|
|
|
1008
1018
|
city: string;
|
|
1009
1019
|
postcode: string;
|
|
1010
1020
|
};
|
|
1011
|
-
branchCode: string;
|
|
1012
1021
|
businessId: string;
|
|
1013
1022
|
regNo: string;
|
|
1023
|
+
tinNo: string;
|
|
1014
1024
|
restaurantId: string;
|
|
1025
|
+
taxRegNo: string;
|
|
1015
1026
|
}, {
|
|
1027
|
+
phoneNo?: string | null | undefined;
|
|
1016
1028
|
email?: string | null | undefined;
|
|
1017
1029
|
queryToken?: string | null | undefined;
|
|
1018
|
-
|
|
1019
|
-
tinNo: string;
|
|
1020
|
-
_id: string;
|
|
1030
|
+
branchCode?: string | null | undefined;
|
|
1021
1031
|
type: "restaurant";
|
|
1022
1032
|
name: string;
|
|
1033
|
+
_id: string;
|
|
1023
1034
|
address: {
|
|
1024
1035
|
coordinates?: number[] | null | undefined;
|
|
1025
1036
|
line2?: string | null | undefined;
|
|
@@ -1029,10 +1040,11 @@ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
|
|
|
1029
1040
|
city: string;
|
|
1030
1041
|
postcode: string;
|
|
1031
1042
|
};
|
|
1032
|
-
branchCode: string;
|
|
1033
1043
|
businessId: string;
|
|
1034
1044
|
regNo: string;
|
|
1045
|
+
tinNo: string;
|
|
1035
1046
|
restaurantId: string;
|
|
1047
|
+
taxRegNo: string;
|
|
1036
1048
|
}> | z.ZodObject<z.extendShape<z.extendShape<{
|
|
1037
1049
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1038
1050
|
type: z.ZodEnum<["restaurant", "marketing"]>;
|
|
@@ -1067,19 +1079,20 @@ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
|
|
|
1067
1079
|
}>;
|
|
1068
1080
|
phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1069
1081
|
}, {
|
|
1070
|
-
branchCode: z.ZodString
|
|
1082
|
+
branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1071
1083
|
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1072
1084
|
queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1085
|
+
taxRegNo: z.ZodString;
|
|
1073
1086
|
}>, {
|
|
1074
1087
|
type: z.ZodLiteral<"marketing">;
|
|
1075
1088
|
}>, "strip", z.ZodTypeAny, {
|
|
1089
|
+
phoneNo?: string | null | undefined;
|
|
1076
1090
|
email?: string | null | undefined;
|
|
1077
1091
|
queryToken?: string | null | undefined;
|
|
1078
|
-
|
|
1079
|
-
tinNo: string;
|
|
1080
|
-
_id: string;
|
|
1092
|
+
branchCode?: string | null | undefined;
|
|
1081
1093
|
type: "marketing";
|
|
1082
1094
|
name: string;
|
|
1095
|
+
_id: string;
|
|
1083
1096
|
address: {
|
|
1084
1097
|
coordinates?: number[] | null | undefined;
|
|
1085
1098
|
line2?: string | null | undefined;
|
|
@@ -1089,17 +1102,18 @@ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
|
|
|
1089
1102
|
city: string;
|
|
1090
1103
|
postcode: string;
|
|
1091
1104
|
};
|
|
1092
|
-
branchCode: string;
|
|
1093
1105
|
businessId: string;
|
|
1094
1106
|
regNo: string;
|
|
1107
|
+
tinNo: string;
|
|
1108
|
+
taxRegNo: string;
|
|
1095
1109
|
}, {
|
|
1110
|
+
phoneNo?: string | null | undefined;
|
|
1096
1111
|
email?: string | null | undefined;
|
|
1097
1112
|
queryToken?: string | null | undefined;
|
|
1098
|
-
|
|
1099
|
-
tinNo: string;
|
|
1100
|
-
_id: string;
|
|
1113
|
+
branchCode?: string | null | undefined;
|
|
1101
1114
|
type: "marketing";
|
|
1102
1115
|
name: string;
|
|
1116
|
+
_id: string;
|
|
1103
1117
|
address: {
|
|
1104
1118
|
coordinates?: number[] | null | undefined;
|
|
1105
1119
|
line2?: string | null | undefined;
|
|
@@ -1109,9 +1123,10 @@ export declare const FdoThEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type
|
|
|
1109
1123
|
city: string;
|
|
1110
1124
|
postcode: string;
|
|
1111
1125
|
};
|
|
1112
|
-
branchCode: string;
|
|
1113
1126
|
businessId: string;
|
|
1114
1127
|
regNo: string;
|
|
1128
|
+
tinNo: string;
|
|
1129
|
+
taxRegNo: string;
|
|
1115
1130
|
}>>;
|
|
1116
1131
|
export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
|
|
1117
1132
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1147,20 +1162,21 @@ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
|
|
|
1147
1162
|
}>;
|
|
1148
1163
|
phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1149
1164
|
}, {
|
|
1150
|
-
branchCode: z.ZodString
|
|
1165
|
+
branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1151
1166
|
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1152
1167
|
queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1168
|
+
taxRegNo: z.ZodString;
|
|
1153
1169
|
}>, {
|
|
1154
1170
|
type: z.ZodLiteral<"restaurant">;
|
|
1155
1171
|
restaurantId: z.ZodString;
|
|
1156
1172
|
}>, "strip", z.ZodTypeAny, {
|
|
1173
|
+
phoneNo?: string | null | undefined;
|
|
1157
1174
|
email?: string | null | undefined;
|
|
1158
1175
|
queryToken?: string | null | undefined;
|
|
1159
|
-
|
|
1160
|
-
tinNo: string;
|
|
1161
|
-
_id: string;
|
|
1176
|
+
branchCode?: string | null | undefined;
|
|
1162
1177
|
type: "restaurant";
|
|
1163
1178
|
name: string;
|
|
1179
|
+
_id: string;
|
|
1164
1180
|
address: {
|
|
1165
1181
|
coordinates?: number[] | null | undefined;
|
|
1166
1182
|
line2?: string | null | undefined;
|
|
@@ -1170,18 +1186,19 @@ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
|
|
|
1170
1186
|
city: string;
|
|
1171
1187
|
postcode: string;
|
|
1172
1188
|
};
|
|
1173
|
-
branchCode: string;
|
|
1174
1189
|
businessId: string;
|
|
1175
1190
|
regNo: string;
|
|
1191
|
+
tinNo: string;
|
|
1176
1192
|
restaurantId: string;
|
|
1193
|
+
taxRegNo: string;
|
|
1177
1194
|
}, {
|
|
1195
|
+
phoneNo?: string | null | undefined;
|
|
1178
1196
|
email?: string | null | undefined;
|
|
1179
1197
|
queryToken?: string | null | undefined;
|
|
1180
|
-
|
|
1181
|
-
tinNo: string;
|
|
1182
|
-
_id: string;
|
|
1198
|
+
branchCode?: string | null | undefined;
|
|
1183
1199
|
type: "restaurant";
|
|
1184
1200
|
name: string;
|
|
1201
|
+
_id: string;
|
|
1185
1202
|
address: {
|
|
1186
1203
|
coordinates?: number[] | null | undefined;
|
|
1187
1204
|
line2?: string | null | undefined;
|
|
@@ -1191,10 +1208,11 @@ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
|
|
|
1191
1208
|
city: string;
|
|
1192
1209
|
postcode: string;
|
|
1193
1210
|
};
|
|
1194
|
-
branchCode: string;
|
|
1195
1211
|
businessId: string;
|
|
1196
1212
|
regNo: string;
|
|
1213
|
+
tinNo: string;
|
|
1197
1214
|
restaurantId: string;
|
|
1215
|
+
taxRegNo: string;
|
|
1198
1216
|
}> | z.ZodObject<z.extendShape<z.extendShape<{
|
|
1199
1217
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1200
1218
|
type: z.ZodEnum<["restaurant", "marketing"]>;
|
|
@@ -1229,19 +1247,20 @@ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
|
|
|
1229
1247
|
}>;
|
|
1230
1248
|
phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1231
1249
|
}, {
|
|
1232
|
-
branchCode: z.ZodString
|
|
1250
|
+
branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1233
1251
|
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1234
1252
|
queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1253
|
+
taxRegNo: z.ZodString;
|
|
1235
1254
|
}>, {
|
|
1236
1255
|
type: z.ZodLiteral<"marketing">;
|
|
1237
1256
|
}>, "strip", z.ZodTypeAny, {
|
|
1257
|
+
phoneNo?: string | null | undefined;
|
|
1238
1258
|
email?: string | null | undefined;
|
|
1239
1259
|
queryToken?: string | null | undefined;
|
|
1240
|
-
|
|
1241
|
-
tinNo: string;
|
|
1242
|
-
_id: string;
|
|
1260
|
+
branchCode?: string | null | undefined;
|
|
1243
1261
|
type: "marketing";
|
|
1244
1262
|
name: string;
|
|
1263
|
+
_id: string;
|
|
1245
1264
|
address: {
|
|
1246
1265
|
coordinates?: number[] | null | undefined;
|
|
1247
1266
|
line2?: string | null | undefined;
|
|
@@ -1251,17 +1270,18 @@ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
|
|
|
1251
1270
|
city: string;
|
|
1252
1271
|
postcode: string;
|
|
1253
1272
|
};
|
|
1254
|
-
branchCode: string;
|
|
1255
1273
|
businessId: string;
|
|
1256
1274
|
regNo: string;
|
|
1275
|
+
tinNo: string;
|
|
1276
|
+
taxRegNo: string;
|
|
1257
1277
|
}, {
|
|
1278
|
+
phoneNo?: string | null | undefined;
|
|
1258
1279
|
email?: string | null | undefined;
|
|
1259
1280
|
queryToken?: string | null | undefined;
|
|
1260
|
-
|
|
1261
|
-
tinNo: string;
|
|
1262
|
-
_id: string;
|
|
1281
|
+
branchCode?: string | null | undefined;
|
|
1263
1282
|
type: "marketing";
|
|
1264
1283
|
name: string;
|
|
1284
|
+
_id: string;
|
|
1265
1285
|
address: {
|
|
1266
1286
|
coordinates?: number[] | null | undefined;
|
|
1267
1287
|
line2?: string | null | undefined;
|
|
@@ -1271,9 +1291,10 @@ export declare const FdoThEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"t
|
|
|
1271
1291
|
city: string;
|
|
1272
1292
|
postcode: string;
|
|
1273
1293
|
};
|
|
1274
|
-
branchCode: string;
|
|
1275
1294
|
businessId: string;
|
|
1276
1295
|
regNo: string;
|
|
1296
|
+
tinNo: string;
|
|
1297
|
+
taxRegNo: string;
|
|
1277
1298
|
}>>;
|
|
1278
1299
|
export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<Omit<z.extendShape<z.extendShape<{
|
|
1279
1300
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1309,17 +1330,18 @@ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
|
|
|
1309
1330
|
}>;
|
|
1310
1331
|
phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1311
1332
|
}, {
|
|
1312
|
-
branchCode: z.ZodString
|
|
1333
|
+
branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1313
1334
|
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1314
1335
|
queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1336
|
+
taxRegNo: z.ZodString;
|
|
1315
1337
|
}>, {
|
|
1316
1338
|
type: z.ZodLiteral<"restaurant">;
|
|
1317
1339
|
restaurantId: z.ZodString;
|
|
1318
1340
|
}>, "_id">, "strip", z.ZodTypeAny, {
|
|
1341
|
+
phoneNo?: string | null | undefined;
|
|
1319
1342
|
email?: string | null | undefined;
|
|
1320
1343
|
queryToken?: string | null | undefined;
|
|
1321
|
-
|
|
1322
|
-
tinNo: string;
|
|
1344
|
+
branchCode?: string | null | undefined;
|
|
1323
1345
|
type: "restaurant";
|
|
1324
1346
|
name: string;
|
|
1325
1347
|
address: {
|
|
@@ -1331,15 +1353,16 @@ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
|
|
|
1331
1353
|
city: string;
|
|
1332
1354
|
postcode: string;
|
|
1333
1355
|
};
|
|
1334
|
-
branchCode: string;
|
|
1335
1356
|
businessId: string;
|
|
1336
1357
|
regNo: string;
|
|
1358
|
+
tinNo: string;
|
|
1337
1359
|
restaurantId: string;
|
|
1360
|
+
taxRegNo: string;
|
|
1338
1361
|
}, {
|
|
1362
|
+
phoneNo?: string | null | undefined;
|
|
1339
1363
|
email?: string | null | undefined;
|
|
1340
1364
|
queryToken?: string | null | undefined;
|
|
1341
|
-
|
|
1342
|
-
tinNo: string;
|
|
1365
|
+
branchCode?: string | null | undefined;
|
|
1343
1366
|
type: "restaurant";
|
|
1344
1367
|
name: string;
|
|
1345
1368
|
address: {
|
|
@@ -1351,10 +1374,11 @@ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
|
|
|
1351
1374
|
city: string;
|
|
1352
1375
|
postcode: string;
|
|
1353
1376
|
};
|
|
1354
|
-
branchCode: string;
|
|
1355
1377
|
businessId: string;
|
|
1356
1378
|
regNo: string;
|
|
1379
|
+
tinNo: string;
|
|
1357
1380
|
restaurantId: string;
|
|
1381
|
+
taxRegNo: string;
|
|
1358
1382
|
}> | z.ZodObject<Omit<z.extendShape<z.extendShape<{
|
|
1359
1383
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1360
1384
|
type: z.ZodEnum<["restaurant", "marketing"]>;
|
|
@@ -1389,16 +1413,17 @@ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
|
|
|
1389
1413
|
}>;
|
|
1390
1414
|
phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1391
1415
|
}, {
|
|
1392
|
-
branchCode: z.ZodString
|
|
1416
|
+
branchCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1393
1417
|
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1394
1418
|
queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1419
|
+
taxRegNo: z.ZodString;
|
|
1395
1420
|
}>, {
|
|
1396
1421
|
type: z.ZodLiteral<"marketing">;
|
|
1397
1422
|
}>, "_id">, "strip", z.ZodTypeAny, {
|
|
1423
|
+
phoneNo?: string | null | undefined;
|
|
1398
1424
|
email?: string | null | undefined;
|
|
1399
1425
|
queryToken?: string | null | undefined;
|
|
1400
|
-
|
|
1401
|
-
tinNo: string;
|
|
1426
|
+
branchCode?: string | null | undefined;
|
|
1402
1427
|
type: "marketing";
|
|
1403
1428
|
name: string;
|
|
1404
1429
|
address: {
|
|
@@ -1410,14 +1435,15 @@ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
|
|
|
1410
1435
|
city: string;
|
|
1411
1436
|
postcode: string;
|
|
1412
1437
|
};
|
|
1413
|
-
branchCode: string;
|
|
1414
1438
|
businessId: string;
|
|
1415
1439
|
regNo: string;
|
|
1440
|
+
tinNo: string;
|
|
1441
|
+
taxRegNo: string;
|
|
1416
1442
|
}, {
|
|
1443
|
+
phoneNo?: string | null | undefined;
|
|
1417
1444
|
email?: string | null | undefined;
|
|
1418
1445
|
queryToken?: string | null | undefined;
|
|
1419
|
-
|
|
1420
|
-
tinNo: string;
|
|
1446
|
+
branchCode?: string | null | undefined;
|
|
1421
1447
|
type: "marketing";
|
|
1422
1448
|
name: string;
|
|
1423
1449
|
address: {
|
|
@@ -1429,9 +1455,10 @@ export declare const FdoThEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion
|
|
|
1429
1455
|
city: string;
|
|
1430
1456
|
postcode: string;
|
|
1431
1457
|
};
|
|
1432
|
-
branchCode: string;
|
|
1433
1458
|
businessId: string;
|
|
1434
1459
|
regNo: string;
|
|
1460
|
+
tinNo: string;
|
|
1461
|
+
taxRegNo: string;
|
|
1435
1462
|
}>>;
|
|
1436
1463
|
export type FdoThEInvoiceCustomerBaseProfile = z.infer<typeof FdoThEInvoiceCustomerBaseProfile>;
|
|
1437
1464
|
export type FdoThEInvoiceIndividualProfile = z.infer<typeof FdoThEInvoiceIndividualProfile>;
|