@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.
Files changed (39) hide show
  1. package/dist/{EInvoice-B9lJ3ijP.js → EInvoice-vYf-dUfJ.js} +2100 -2086
  2. package/dist/api/index.d.ts +1 -2
  3. package/dist/app.js +1 -1
  4. package/dist/store/index.d.ts +457 -445
  5. package/dist/tsconfig.app.tsbuildinfo +1 -1
  6. package/dist/type/index.d.ts +2 -0
  7. package/dist/type/malaysia/components/accounting-party.dto.d.ts +625 -0
  8. package/dist/type/malaysia/components/allowance.dto.d.ts +33 -0
  9. package/dist/type/malaysia/components/billing.dto.d.ts +198 -0
  10. package/dist/type/malaysia/components/invoice-line.dto.d.ts +601 -0
  11. package/dist/type/malaysia/components/payment.dto.d.ts +38 -0
  12. package/dist/type/malaysia/components/signature.dto.d.ts +8988 -0
  13. package/dist/type/malaysia/components/tax.dto.d.ts +410 -0
  14. package/dist/type/malaysia/e-invoice-profile.do.d.ts +1756 -0
  15. package/dist/type/malaysia/e-invoice.do.d.ts +4808 -0
  16. package/dist/type/malaysia/e-invoice.dto.d.ts +5146 -0
  17. package/dist/type/malaysia/e-invoice.enum.d.ts +5 -0
  18. package/dist/type/malaysia/index.d.ts +11 -0
  19. package/dist/type/profile/e-invoice-base-profile.do.d.ts +136 -0
  20. package/dist/type/profile/e-invoice-profile.enum.d.ts +7 -0
  21. package/dist/type/profile/e-invoice.enum.d.ts +9 -0
  22. package/dist/type/report-invoice.dto.d.ts +123 -0
  23. package/dist/type/thailand/e-invoice-profile.do.d.ts +155 -128
  24. package/dist/type/thailand/e-invoice.do.d.ts +120 -110
  25. package/dist/type/thailand/e-invoice.dto.d.ts +76 -76
  26. package/dist/type/vietnam/e-invoice-profile.do.d.ts +108 -108
  27. package/dist/type/vietnam/e-invoice.do.d.ts +56 -56
  28. package/dist/type/vietnam/e-invoice.dto.d.ts +13 -13
  29. package/dist/types.d.ts +2 -3
  30. package/dist/views/EInvoiceCopyDialog.vue.d.ts +3 -56
  31. package/dist/views/manager/malaysia/MalaysiaItemSettingsDialog.vue.d.ts +1 -1
  32. package/dist/views/manager/malaysia/MalaysiaProfileDialog.vue.d.ts +1 -1
  33. package/dist/views/manager/malaysia/data.d.ts +2 -1
  34. package/dist/views/manager/malaysia/malaysia.d.ts +2 -1
  35. package/dist/views/manager/manager.d.ts +2 -2
  36. package/dist/views/manager/thailand/thailand.d.ts +2 -2
  37. package/dist/views/manager/vietnam/VietnamItemSettingsDialog.vue.d.ts +2 -2
  38. package/dist/views/submission.d.ts +2 -1
  39. package/package.json +1 -1
@@ -0,0 +1,1756 @@
1
+ import { z } from "zod";
2
+ export declare const FdoMyEInvoiceCustomerBaseProfile: z.ZodObject<z.extendShape<{
3
+ _id: z.ZodEffects<z.ZodString, string, string>;
4
+ type: z.ZodEnum<["individual", "company"]>;
5
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6
+ name: z.ZodString;
7
+ phoneNumber: z.ZodString;
8
+ address: z.ZodObject<{
9
+ line1: z.ZodString;
10
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11
+ state: z.ZodString;
12
+ city: z.ZodString;
13
+ postcode: z.ZodString;
14
+ country: z.ZodString;
15
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ coordinates?: number[] | null | undefined;
18
+ line2?: string | null | undefined;
19
+ state: string;
20
+ country: string;
21
+ line1: string;
22
+ city: string;
23
+ postcode: string;
24
+ }, {
25
+ coordinates?: number[] | null | undefined;
26
+ line2?: string | null | undefined;
27
+ state: string;
28
+ country: string;
29
+ line1: string;
30
+ city: string;
31
+ postcode: string;
32
+ }>;
33
+ userId: z.ZodString;
34
+ }, {
35
+ email: z.ZodString;
36
+ }>, "strip", z.ZodTypeAny, {
37
+ nickname?: string | null | undefined;
38
+ type: "individual" | "company";
39
+ name: string;
40
+ _id: string;
41
+ phoneNumber: string;
42
+ address: {
43
+ coordinates?: number[] | null | undefined;
44
+ line2?: string | null | undefined;
45
+ state: string;
46
+ country: string;
47
+ line1: string;
48
+ city: string;
49
+ postcode: string;
50
+ };
51
+ userId: string;
52
+ email: string;
53
+ }, {
54
+ nickname?: string | null | undefined;
55
+ type: "individual" | "company";
56
+ name: string;
57
+ _id: string;
58
+ phoneNumber: string;
59
+ address: {
60
+ coordinates?: number[] | null | undefined;
61
+ line2?: string | null | undefined;
62
+ state: string;
63
+ country: string;
64
+ line1: string;
65
+ city: string;
66
+ postcode: string;
67
+ };
68
+ userId: string;
69
+ email: string;
70
+ }>;
71
+ export declare const FdoEInvoiceIndividualIdentity: z.ZodObject<{
72
+ identityType: z.ZodEnum<["ic", "army", "passport"]>;
73
+ identityNo: z.ZodString;
74
+ }, "strip", z.ZodTypeAny, {
75
+ identityType: "ic" | "army" | "passport";
76
+ identityNo: string;
77
+ }, {
78
+ identityType: "ic" | "army" | "passport";
79
+ identityNo: string;
80
+ }>;
81
+ export declare const FdoMyEInvoiceIndividualProfile: z.ZodObject<z.extendShape<z.extendShape<{
82
+ _id: z.ZodEffects<z.ZodString, string, string>;
83
+ type: z.ZodEnum<["individual", "company"]>;
84
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
85
+ name: z.ZodString;
86
+ phoneNumber: z.ZodString;
87
+ address: z.ZodObject<{
88
+ line1: z.ZodString;
89
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
90
+ state: z.ZodString;
91
+ city: z.ZodString;
92
+ postcode: z.ZodString;
93
+ country: z.ZodString;
94
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
95
+ }, "strip", z.ZodTypeAny, {
96
+ coordinates?: number[] | null | undefined;
97
+ line2?: string | null | undefined;
98
+ state: string;
99
+ country: string;
100
+ line1: string;
101
+ city: string;
102
+ postcode: string;
103
+ }, {
104
+ coordinates?: number[] | null | undefined;
105
+ line2?: string | null | undefined;
106
+ state: string;
107
+ country: string;
108
+ line1: string;
109
+ city: string;
110
+ postcode: string;
111
+ }>;
112
+ userId: z.ZodString;
113
+ }, {
114
+ email: z.ZodString;
115
+ }>, {
116
+ type: z.ZodLiteral<"individual">;
117
+ tinNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
118
+ identity: z.ZodNullable<z.ZodOptional<z.ZodObject<{
119
+ identityType: z.ZodEnum<["ic", "army", "passport"]>;
120
+ identityNo: z.ZodString;
121
+ }, "strip", z.ZodTypeAny, {
122
+ identityType: "ic" | "army" | "passport";
123
+ identityNo: string;
124
+ }, {
125
+ identityType: "ic" | "army" | "passport";
126
+ identityNo: string;
127
+ }>>>;
128
+ }>, "strip", z.ZodTypeAny, {
129
+ nickname?: string | null | undefined;
130
+ tinNo?: string | null | undefined;
131
+ identity?: {
132
+ identityType: "ic" | "army" | "passport";
133
+ identityNo: string;
134
+ } | null | undefined;
135
+ type: "individual";
136
+ name: string;
137
+ _id: string;
138
+ phoneNumber: string;
139
+ address: {
140
+ coordinates?: number[] | null | undefined;
141
+ line2?: string | null | undefined;
142
+ state: string;
143
+ country: string;
144
+ line1: string;
145
+ city: string;
146
+ postcode: string;
147
+ };
148
+ userId: string;
149
+ email: string;
150
+ }, {
151
+ nickname?: string | null | undefined;
152
+ tinNo?: string | null | undefined;
153
+ identity?: {
154
+ identityType: "ic" | "army" | "passport";
155
+ identityNo: string;
156
+ } | null | undefined;
157
+ type: "individual";
158
+ name: string;
159
+ _id: string;
160
+ phoneNumber: string;
161
+ address: {
162
+ coordinates?: number[] | null | undefined;
163
+ line2?: string | null | undefined;
164
+ state: string;
165
+ country: string;
166
+ line1: string;
167
+ city: string;
168
+ postcode: string;
169
+ };
170
+ userId: string;
171
+ email: string;
172
+ }>;
173
+ export declare const FdoMyEInvoiceCompanyProfile: z.ZodObject<z.extendShape<z.extendShape<{
174
+ _id: z.ZodEffects<z.ZodString, string, string>;
175
+ type: z.ZodEnum<["individual", "company"]>;
176
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
177
+ name: z.ZodString;
178
+ phoneNumber: z.ZodString;
179
+ address: z.ZodObject<{
180
+ line1: z.ZodString;
181
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
182
+ state: z.ZodString;
183
+ city: z.ZodString;
184
+ postcode: z.ZodString;
185
+ country: z.ZodString;
186
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
187
+ }, "strip", z.ZodTypeAny, {
188
+ coordinates?: number[] | null | undefined;
189
+ line2?: string | null | undefined;
190
+ state: string;
191
+ country: string;
192
+ line1: string;
193
+ city: string;
194
+ postcode: string;
195
+ }, {
196
+ coordinates?: number[] | null | undefined;
197
+ line2?: string | null | undefined;
198
+ state: string;
199
+ country: string;
200
+ line1: string;
201
+ city: string;
202
+ postcode: string;
203
+ }>;
204
+ userId: z.ZodString;
205
+ }, {
206
+ email: z.ZodString;
207
+ }>, {
208
+ type: z.ZodLiteral<"company">;
209
+ tinNo: z.ZodString;
210
+ registerNo: z.ZodString;
211
+ sstNo: z.ZodString;
212
+ }>, "strip", z.ZodTypeAny, {
213
+ nickname?: string | null | undefined;
214
+ type: "company";
215
+ name: string;
216
+ _id: string;
217
+ phoneNumber: string;
218
+ address: {
219
+ coordinates?: number[] | null | undefined;
220
+ line2?: string | null | undefined;
221
+ state: string;
222
+ country: string;
223
+ line1: string;
224
+ city: string;
225
+ postcode: string;
226
+ };
227
+ userId: string;
228
+ tinNo: string;
229
+ email: string;
230
+ registerNo: string;
231
+ sstNo: string;
232
+ }, {
233
+ nickname?: string | null | undefined;
234
+ type: "company";
235
+ name: string;
236
+ _id: string;
237
+ phoneNumber: string;
238
+ address: {
239
+ coordinates?: number[] | null | undefined;
240
+ line2?: string | null | undefined;
241
+ state: string;
242
+ country: string;
243
+ line1: string;
244
+ city: string;
245
+ postcode: string;
246
+ };
247
+ userId: string;
248
+ tinNo: string;
249
+ email: string;
250
+ registerNo: string;
251
+ sstNo: string;
252
+ }>;
253
+ export declare const FdoMyEInvoiceCustomerProfile: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
254
+ _id: z.ZodEffects<z.ZodString, string, string>;
255
+ type: z.ZodEnum<["individual", "company"]>;
256
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
257
+ name: z.ZodString;
258
+ phoneNumber: z.ZodString;
259
+ address: z.ZodObject<{
260
+ line1: z.ZodString;
261
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
262
+ state: z.ZodString;
263
+ city: z.ZodString;
264
+ postcode: z.ZodString;
265
+ country: z.ZodString;
266
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
267
+ }, "strip", z.ZodTypeAny, {
268
+ coordinates?: number[] | null | undefined;
269
+ line2?: string | null | undefined;
270
+ state: string;
271
+ country: string;
272
+ line1: string;
273
+ city: string;
274
+ postcode: string;
275
+ }, {
276
+ coordinates?: number[] | null | undefined;
277
+ line2?: string | null | undefined;
278
+ state: string;
279
+ country: string;
280
+ line1: string;
281
+ city: string;
282
+ postcode: string;
283
+ }>;
284
+ userId: z.ZodString;
285
+ }, {
286
+ email: z.ZodString;
287
+ }>, {
288
+ type: z.ZodLiteral<"individual">;
289
+ tinNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
290
+ identity: z.ZodNullable<z.ZodOptional<z.ZodObject<{
291
+ identityType: z.ZodEnum<["ic", "army", "passport"]>;
292
+ identityNo: z.ZodString;
293
+ }, "strip", z.ZodTypeAny, {
294
+ identityType: "ic" | "army" | "passport";
295
+ identityNo: string;
296
+ }, {
297
+ identityType: "ic" | "army" | "passport";
298
+ identityNo: string;
299
+ }>>>;
300
+ }>, "strip", z.ZodTypeAny, {
301
+ nickname?: string | null | undefined;
302
+ tinNo?: string | null | undefined;
303
+ identity?: {
304
+ identityType: "ic" | "army" | "passport";
305
+ identityNo: string;
306
+ } | null | undefined;
307
+ type: "individual";
308
+ name: string;
309
+ _id: string;
310
+ phoneNumber: string;
311
+ address: {
312
+ coordinates?: number[] | null | undefined;
313
+ line2?: string | null | undefined;
314
+ state: string;
315
+ country: string;
316
+ line1: string;
317
+ city: string;
318
+ postcode: string;
319
+ };
320
+ userId: string;
321
+ email: string;
322
+ }, {
323
+ nickname?: string | null | undefined;
324
+ tinNo?: string | null | undefined;
325
+ identity?: {
326
+ identityType: "ic" | "army" | "passport";
327
+ identityNo: string;
328
+ } | null | undefined;
329
+ type: "individual";
330
+ name: string;
331
+ _id: string;
332
+ phoneNumber: string;
333
+ address: {
334
+ coordinates?: number[] | null | undefined;
335
+ line2?: string | null | undefined;
336
+ state: string;
337
+ country: string;
338
+ line1: string;
339
+ city: string;
340
+ postcode: string;
341
+ };
342
+ userId: string;
343
+ email: string;
344
+ }> | z.ZodObject<z.extendShape<z.extendShape<{
345
+ _id: z.ZodEffects<z.ZodString, string, string>;
346
+ type: z.ZodEnum<["individual", "company"]>;
347
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
348
+ name: z.ZodString;
349
+ phoneNumber: z.ZodString;
350
+ address: z.ZodObject<{
351
+ line1: z.ZodString;
352
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
353
+ state: z.ZodString;
354
+ city: z.ZodString;
355
+ postcode: z.ZodString;
356
+ country: z.ZodString;
357
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
358
+ }, "strip", z.ZodTypeAny, {
359
+ coordinates?: number[] | null | undefined;
360
+ line2?: string | null | undefined;
361
+ state: string;
362
+ country: string;
363
+ line1: string;
364
+ city: string;
365
+ postcode: string;
366
+ }, {
367
+ coordinates?: number[] | null | undefined;
368
+ line2?: string | null | undefined;
369
+ state: string;
370
+ country: string;
371
+ line1: string;
372
+ city: string;
373
+ postcode: string;
374
+ }>;
375
+ userId: z.ZodString;
376
+ }, {
377
+ email: z.ZodString;
378
+ }>, {
379
+ type: z.ZodLiteral<"company">;
380
+ tinNo: z.ZodString;
381
+ registerNo: z.ZodString;
382
+ sstNo: z.ZodString;
383
+ }>, "strip", z.ZodTypeAny, {
384
+ nickname?: string | null | undefined;
385
+ type: "company";
386
+ name: string;
387
+ _id: string;
388
+ phoneNumber: string;
389
+ address: {
390
+ coordinates?: number[] | null | undefined;
391
+ line2?: string | null | undefined;
392
+ state: string;
393
+ country: string;
394
+ line1: string;
395
+ city: string;
396
+ postcode: string;
397
+ };
398
+ userId: string;
399
+ tinNo: string;
400
+ email: string;
401
+ registerNo: string;
402
+ sstNo: string;
403
+ }, {
404
+ nickname?: string | null | undefined;
405
+ type: "company";
406
+ name: string;
407
+ _id: string;
408
+ phoneNumber: string;
409
+ address: {
410
+ coordinates?: number[] | null | undefined;
411
+ line2?: string | null | undefined;
412
+ state: string;
413
+ country: string;
414
+ line1: string;
415
+ city: string;
416
+ postcode: string;
417
+ };
418
+ userId: string;
419
+ tinNo: string;
420
+ email: string;
421
+ registerNo: string;
422
+ sstNo: string;
423
+ }>>;
424
+ export declare const FdoMyEInvoiceCustomerProfileDoc: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
425
+ _id: z.ZodEffects<z.ZodString, string, string>;
426
+ type: z.ZodEnum<["individual", "company"]>;
427
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
428
+ name: z.ZodString;
429
+ phoneNumber: z.ZodString;
430
+ address: z.ZodObject<{
431
+ line1: z.ZodString;
432
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
433
+ state: z.ZodString;
434
+ city: z.ZodString;
435
+ postcode: z.ZodString;
436
+ country: z.ZodString;
437
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
438
+ }, "strip", z.ZodTypeAny, {
439
+ coordinates?: number[] | null | undefined;
440
+ line2?: string | null | undefined;
441
+ state: string;
442
+ country: string;
443
+ line1: string;
444
+ city: string;
445
+ postcode: string;
446
+ }, {
447
+ coordinates?: number[] | null | undefined;
448
+ line2?: string | null | undefined;
449
+ state: string;
450
+ country: string;
451
+ line1: string;
452
+ city: string;
453
+ postcode: string;
454
+ }>;
455
+ userId: z.ZodString;
456
+ }, {
457
+ email: z.ZodString;
458
+ }>, {
459
+ type: z.ZodLiteral<"individual">;
460
+ tinNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
461
+ identity: z.ZodNullable<z.ZodOptional<z.ZodObject<{
462
+ identityType: z.ZodEnum<["ic", "army", "passport"]>;
463
+ identityNo: z.ZodString;
464
+ }, "strip", z.ZodTypeAny, {
465
+ identityType: "ic" | "army" | "passport";
466
+ identityNo: string;
467
+ }, {
468
+ identityType: "ic" | "army" | "passport";
469
+ identityNo: string;
470
+ }>>>;
471
+ }>, "strip", z.ZodTypeAny, {
472
+ nickname?: string | null | undefined;
473
+ tinNo?: string | null | undefined;
474
+ identity?: {
475
+ identityType: "ic" | "army" | "passport";
476
+ identityNo: string;
477
+ } | null | undefined;
478
+ type: "individual";
479
+ name: string;
480
+ _id: string;
481
+ phoneNumber: string;
482
+ address: {
483
+ coordinates?: number[] | null | undefined;
484
+ line2?: string | null | undefined;
485
+ state: string;
486
+ country: string;
487
+ line1: string;
488
+ city: string;
489
+ postcode: string;
490
+ };
491
+ userId: string;
492
+ email: string;
493
+ }, {
494
+ nickname?: string | null | undefined;
495
+ tinNo?: string | null | undefined;
496
+ identity?: {
497
+ identityType: "ic" | "army" | "passport";
498
+ identityNo: string;
499
+ } | null | undefined;
500
+ type: "individual";
501
+ name: string;
502
+ _id: string;
503
+ phoneNumber: string;
504
+ address: {
505
+ coordinates?: number[] | null | undefined;
506
+ line2?: string | null | undefined;
507
+ state: string;
508
+ country: string;
509
+ line1: string;
510
+ city: string;
511
+ postcode: string;
512
+ };
513
+ userId: string;
514
+ email: string;
515
+ }> | z.ZodObject<z.extendShape<z.extendShape<{
516
+ _id: z.ZodEffects<z.ZodString, string, string>;
517
+ type: z.ZodEnum<["individual", "company"]>;
518
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
519
+ name: z.ZodString;
520
+ phoneNumber: z.ZodString;
521
+ address: z.ZodObject<{
522
+ line1: z.ZodString;
523
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
524
+ state: z.ZodString;
525
+ city: z.ZodString;
526
+ postcode: z.ZodString;
527
+ country: z.ZodString;
528
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
529
+ }, "strip", z.ZodTypeAny, {
530
+ coordinates?: number[] | null | undefined;
531
+ line2?: string | null | undefined;
532
+ state: string;
533
+ country: string;
534
+ line1: string;
535
+ city: string;
536
+ postcode: string;
537
+ }, {
538
+ coordinates?: number[] | null | undefined;
539
+ line2?: string | null | undefined;
540
+ state: string;
541
+ country: string;
542
+ line1: string;
543
+ city: string;
544
+ postcode: string;
545
+ }>;
546
+ userId: z.ZodString;
547
+ }, {
548
+ email: z.ZodString;
549
+ }>, {
550
+ type: z.ZodLiteral<"company">;
551
+ tinNo: z.ZodString;
552
+ registerNo: z.ZodString;
553
+ sstNo: z.ZodString;
554
+ }>, "strip", z.ZodTypeAny, {
555
+ nickname?: string | null | undefined;
556
+ type: "company";
557
+ name: string;
558
+ _id: string;
559
+ phoneNumber: string;
560
+ address: {
561
+ coordinates?: number[] | null | undefined;
562
+ line2?: string | null | undefined;
563
+ state: string;
564
+ country: string;
565
+ line1: string;
566
+ city: string;
567
+ postcode: string;
568
+ };
569
+ userId: string;
570
+ tinNo: string;
571
+ email: string;
572
+ registerNo: string;
573
+ sstNo: string;
574
+ }, {
575
+ nickname?: string | null | undefined;
576
+ type: "company";
577
+ name: string;
578
+ _id: string;
579
+ phoneNumber: string;
580
+ address: {
581
+ coordinates?: number[] | null | undefined;
582
+ line2?: string | null | undefined;
583
+ state: string;
584
+ country: string;
585
+ line1: string;
586
+ city: string;
587
+ postcode: string;
588
+ };
589
+ userId: string;
590
+ tinNo: string;
591
+ email: string;
592
+ registerNo: string;
593
+ sstNo: string;
594
+ }>>;
595
+ export declare const FdoMyEInvoiceCustomerProfileSchema: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<Omit<z.extendShape<z.extendShape<{
596
+ _id: z.ZodEffects<z.ZodString, string, string>;
597
+ type: z.ZodEnum<["individual", "company"]>;
598
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
599
+ name: z.ZodString;
600
+ phoneNumber: z.ZodString;
601
+ address: z.ZodObject<{
602
+ line1: z.ZodString;
603
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
604
+ state: z.ZodString;
605
+ city: z.ZodString;
606
+ postcode: z.ZodString;
607
+ country: z.ZodString;
608
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
609
+ }, "strip", z.ZodTypeAny, {
610
+ coordinates?: number[] | null | undefined;
611
+ line2?: string | null | undefined;
612
+ state: string;
613
+ country: string;
614
+ line1: string;
615
+ city: string;
616
+ postcode: string;
617
+ }, {
618
+ coordinates?: number[] | null | undefined;
619
+ line2?: string | null | undefined;
620
+ state: string;
621
+ country: string;
622
+ line1: string;
623
+ city: string;
624
+ postcode: string;
625
+ }>;
626
+ userId: z.ZodString;
627
+ }, {
628
+ email: z.ZodString;
629
+ }>, {
630
+ type: z.ZodLiteral<"individual">;
631
+ tinNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
632
+ identity: z.ZodNullable<z.ZodOptional<z.ZodObject<{
633
+ identityType: z.ZodEnum<["ic", "army", "passport"]>;
634
+ identityNo: z.ZodString;
635
+ }, "strip", z.ZodTypeAny, {
636
+ identityType: "ic" | "army" | "passport";
637
+ identityNo: string;
638
+ }, {
639
+ identityType: "ic" | "army" | "passport";
640
+ identityNo: string;
641
+ }>>>;
642
+ }>, "_id">, "strip", z.ZodTypeAny, {
643
+ nickname?: string | null | undefined;
644
+ tinNo?: string | null | undefined;
645
+ identity?: {
646
+ identityType: "ic" | "army" | "passport";
647
+ identityNo: string;
648
+ } | null | undefined;
649
+ type: "individual";
650
+ name: string;
651
+ phoneNumber: string;
652
+ address: {
653
+ coordinates?: number[] | null | undefined;
654
+ line2?: string | null | undefined;
655
+ state: string;
656
+ country: string;
657
+ line1: string;
658
+ city: string;
659
+ postcode: string;
660
+ };
661
+ userId: string;
662
+ email: string;
663
+ }, {
664
+ nickname?: string | null | undefined;
665
+ tinNo?: string | null | undefined;
666
+ identity?: {
667
+ identityType: "ic" | "army" | "passport";
668
+ identityNo: string;
669
+ } | null | undefined;
670
+ type: "individual";
671
+ name: string;
672
+ phoneNumber: string;
673
+ address: {
674
+ coordinates?: number[] | null | undefined;
675
+ line2?: string | null | undefined;
676
+ state: string;
677
+ country: string;
678
+ line1: string;
679
+ city: string;
680
+ postcode: string;
681
+ };
682
+ userId: string;
683
+ email: string;
684
+ }> | z.ZodObject<Omit<z.extendShape<z.extendShape<{
685
+ _id: z.ZodEffects<z.ZodString, string, string>;
686
+ type: z.ZodEnum<["individual", "company"]>;
687
+ nickname: z.ZodNullable<z.ZodOptional<z.ZodString>>;
688
+ name: z.ZodString;
689
+ phoneNumber: z.ZodString;
690
+ address: z.ZodObject<{
691
+ line1: z.ZodString;
692
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
693
+ state: z.ZodString;
694
+ city: z.ZodString;
695
+ postcode: z.ZodString;
696
+ country: z.ZodString;
697
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
698
+ }, "strip", z.ZodTypeAny, {
699
+ coordinates?: number[] | null | undefined;
700
+ line2?: string | null | undefined;
701
+ state: string;
702
+ country: string;
703
+ line1: string;
704
+ city: string;
705
+ postcode: string;
706
+ }, {
707
+ coordinates?: number[] | null | undefined;
708
+ line2?: string | null | undefined;
709
+ state: string;
710
+ country: string;
711
+ line1: string;
712
+ city: string;
713
+ postcode: string;
714
+ }>;
715
+ userId: z.ZodString;
716
+ }, {
717
+ email: z.ZodString;
718
+ }>, {
719
+ type: z.ZodLiteral<"company">;
720
+ tinNo: z.ZodString;
721
+ registerNo: z.ZodString;
722
+ sstNo: z.ZodString;
723
+ }>, "_id">, "strip", z.ZodTypeAny, {
724
+ nickname?: string | null | undefined;
725
+ type: "company";
726
+ name: string;
727
+ phoneNumber: string;
728
+ address: {
729
+ coordinates?: number[] | null | undefined;
730
+ line2?: string | null | undefined;
731
+ state: string;
732
+ country: string;
733
+ line1: string;
734
+ city: string;
735
+ postcode: string;
736
+ };
737
+ userId: string;
738
+ tinNo: string;
739
+ email: string;
740
+ registerNo: string;
741
+ sstNo: string;
742
+ }, {
743
+ nickname?: string | null | undefined;
744
+ type: "company";
745
+ name: string;
746
+ phoneNumber: string;
747
+ address: {
748
+ coordinates?: number[] | null | undefined;
749
+ line2?: string | null | undefined;
750
+ state: string;
751
+ country: string;
752
+ line1: string;
753
+ city: string;
754
+ postcode: string;
755
+ };
756
+ userId: string;
757
+ tinNo: string;
758
+ email: string;
759
+ registerNo: string;
760
+ sstNo: string;
761
+ }>>;
762
+ export declare const FdoMyEInvoiceItemInfo: z.ZodObject<{
763
+ taxExemptionReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
764
+ }, "strip", z.ZodTypeAny, {
765
+ taxExemptionReason?: string | null | undefined;
766
+ }, {
767
+ taxExemptionReason?: string | null | undefined;
768
+ }>;
769
+ export declare const FdoMyEInvoiceSetting: z.ZodObject<{
770
+ _id: z.ZodEffects<z.ZodString, string, string>;
771
+ businessId: z.ZodString;
772
+ items: z.ZodRecord<z.ZodString, z.ZodObject<{
773
+ taxExemptionReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
774
+ }, "strip", z.ZodTypeAny, {
775
+ taxExemptionReason?: string | null | undefined;
776
+ }, {
777
+ taxExemptionReason?: string | null | undefined;
778
+ }>>;
779
+ }, "strip", z.ZodTypeAny, {
780
+ _id: string;
781
+ businessId: string;
782
+ items: Record<string, {
783
+ taxExemptionReason?: string | null | undefined;
784
+ }>;
785
+ }, {
786
+ _id: string;
787
+ businessId: string;
788
+ items: Record<string, {
789
+ taxExemptionReason?: string | null | undefined;
790
+ }>;
791
+ }>;
792
+ export declare const FdoMyEInvoiceSubmissionSchedule: z.ZodObject<{
793
+ day: z.ZodNumber;
794
+ hour: z.ZodNumber;
795
+ }, "strip", z.ZodTypeAny, {
796
+ day: number;
797
+ hour: number;
798
+ }, {
799
+ day: number;
800
+ hour: number;
801
+ }>;
802
+ export declare const FdoMyEInvoiceMerchantBaseProfile: z.ZodObject<z.extendShape<{
803
+ _id: z.ZodEffects<z.ZodString, string, string>;
804
+ type: z.ZodEnum<["restaurant", "marketing"]>;
805
+ businessId: z.ZodString;
806
+ regNo: z.ZodString;
807
+ tinNo: z.ZodString;
808
+ name: z.ZodString;
809
+ address: z.ZodObject<{
810
+ line1: z.ZodString;
811
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
812
+ state: z.ZodString;
813
+ city: z.ZodString;
814
+ postcode: z.ZodString;
815
+ country: z.ZodString;
816
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
817
+ }, "strip", z.ZodTypeAny, {
818
+ coordinates?: number[] | null | undefined;
819
+ line2?: string | null | undefined;
820
+ state: string;
821
+ country: string;
822
+ line1: string;
823
+ city: string;
824
+ postcode: string;
825
+ }, {
826
+ coordinates?: number[] | null | undefined;
827
+ line2?: string | null | undefined;
828
+ state: string;
829
+ country: string;
830
+ line1: string;
831
+ city: string;
832
+ postcode: string;
833
+ }>;
834
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
835
+ }, {
836
+ active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
837
+ msicCode: z.ZodString;
838
+ sstRegNo: z.ZodString;
839
+ email: z.ZodString;
840
+ schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
841
+ day: z.ZodNumber;
842
+ hour: z.ZodNumber;
843
+ }, "strip", z.ZodTypeAny, {
844
+ day: number;
845
+ hour: number;
846
+ }, {
847
+ day: number;
848
+ hour: number;
849
+ }>>>;
850
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
851
+ }>, "strip", z.ZodTypeAny, {
852
+ phoneNo?: string | null | undefined;
853
+ active?: string | null | undefined;
854
+ schedule?: {
855
+ day: number;
856
+ hour: number;
857
+ } | null | undefined;
858
+ queryToken?: string | null | undefined;
859
+ type: "restaurant" | "marketing";
860
+ name: string;
861
+ _id: string;
862
+ address: {
863
+ coordinates?: number[] | null | undefined;
864
+ line2?: string | null | undefined;
865
+ state: string;
866
+ country: string;
867
+ line1: string;
868
+ city: string;
869
+ postcode: string;
870
+ };
871
+ businessId: string;
872
+ regNo: string;
873
+ tinNo: string;
874
+ email: string;
875
+ msicCode: string;
876
+ sstRegNo: string;
877
+ }, {
878
+ phoneNo?: string | null | undefined;
879
+ active?: string | null | undefined;
880
+ schedule?: {
881
+ day: number;
882
+ hour: number;
883
+ } | null | undefined;
884
+ queryToken?: string | null | undefined;
885
+ type: "restaurant" | "marketing";
886
+ name: string;
887
+ _id: string;
888
+ address: {
889
+ coordinates?: number[] | null | undefined;
890
+ line2?: string | null | undefined;
891
+ state: string;
892
+ country: string;
893
+ line1: string;
894
+ city: string;
895
+ postcode: string;
896
+ };
897
+ businessId: string;
898
+ regNo: string;
899
+ tinNo: string;
900
+ email: string;
901
+ msicCode: string;
902
+ sstRegNo: string;
903
+ }>;
904
+ export declare const FdoMyEInvoiceRestaurantProfile: z.ZodObject<z.extendShape<z.extendShape<{
905
+ _id: z.ZodEffects<z.ZodString, string, string>;
906
+ type: z.ZodEnum<["restaurant", "marketing"]>;
907
+ businessId: z.ZodString;
908
+ regNo: z.ZodString;
909
+ tinNo: z.ZodString;
910
+ name: z.ZodString;
911
+ address: z.ZodObject<{
912
+ line1: z.ZodString;
913
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
914
+ state: z.ZodString;
915
+ city: z.ZodString;
916
+ postcode: z.ZodString;
917
+ country: z.ZodString;
918
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
919
+ }, "strip", z.ZodTypeAny, {
920
+ coordinates?: number[] | null | undefined;
921
+ line2?: string | null | undefined;
922
+ state: string;
923
+ country: string;
924
+ line1: string;
925
+ city: string;
926
+ postcode: string;
927
+ }, {
928
+ coordinates?: number[] | null | undefined;
929
+ line2?: string | null | undefined;
930
+ state: string;
931
+ country: string;
932
+ line1: string;
933
+ city: string;
934
+ postcode: string;
935
+ }>;
936
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
937
+ }, {
938
+ active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
939
+ msicCode: z.ZodString;
940
+ sstRegNo: z.ZodString;
941
+ email: z.ZodString;
942
+ schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
943
+ day: z.ZodNumber;
944
+ hour: z.ZodNumber;
945
+ }, "strip", z.ZodTypeAny, {
946
+ day: number;
947
+ hour: number;
948
+ }, {
949
+ day: number;
950
+ hour: number;
951
+ }>>>;
952
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
953
+ }>, {
954
+ type: z.ZodLiteral<"restaurant">;
955
+ restaurantId: z.ZodString;
956
+ }>, "strip", z.ZodTypeAny, {
957
+ phoneNo?: string | null | undefined;
958
+ active?: string | null | undefined;
959
+ schedule?: {
960
+ day: number;
961
+ hour: number;
962
+ } | null | undefined;
963
+ queryToken?: string | null | undefined;
964
+ type: "restaurant";
965
+ name: string;
966
+ _id: string;
967
+ address: {
968
+ coordinates?: number[] | null | undefined;
969
+ line2?: string | null | undefined;
970
+ state: string;
971
+ country: string;
972
+ line1: string;
973
+ city: string;
974
+ postcode: string;
975
+ };
976
+ businessId: string;
977
+ regNo: string;
978
+ tinNo: string;
979
+ email: string;
980
+ msicCode: string;
981
+ sstRegNo: string;
982
+ restaurantId: string;
983
+ }, {
984
+ phoneNo?: string | null | undefined;
985
+ active?: string | null | undefined;
986
+ schedule?: {
987
+ day: number;
988
+ hour: number;
989
+ } | null | undefined;
990
+ queryToken?: string | null | undefined;
991
+ type: "restaurant";
992
+ name: string;
993
+ _id: string;
994
+ address: {
995
+ coordinates?: number[] | null | undefined;
996
+ line2?: string | null | undefined;
997
+ state: string;
998
+ country: string;
999
+ line1: string;
1000
+ city: string;
1001
+ postcode: string;
1002
+ };
1003
+ businessId: string;
1004
+ regNo: string;
1005
+ tinNo: string;
1006
+ email: string;
1007
+ msicCode: string;
1008
+ sstRegNo: string;
1009
+ restaurantId: string;
1010
+ }>;
1011
+ export declare const FdoMyEInvoiceMarketingProfile: z.ZodObject<z.extendShape<z.extendShape<{
1012
+ _id: z.ZodEffects<z.ZodString, string, string>;
1013
+ type: z.ZodEnum<["restaurant", "marketing"]>;
1014
+ businessId: z.ZodString;
1015
+ regNo: z.ZodString;
1016
+ tinNo: z.ZodString;
1017
+ name: z.ZodString;
1018
+ address: z.ZodObject<{
1019
+ line1: z.ZodString;
1020
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1021
+ state: z.ZodString;
1022
+ city: z.ZodString;
1023
+ postcode: z.ZodString;
1024
+ country: z.ZodString;
1025
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1026
+ }, "strip", z.ZodTypeAny, {
1027
+ coordinates?: number[] | null | undefined;
1028
+ line2?: string | null | undefined;
1029
+ state: string;
1030
+ country: string;
1031
+ line1: string;
1032
+ city: string;
1033
+ postcode: string;
1034
+ }, {
1035
+ coordinates?: number[] | null | undefined;
1036
+ line2?: string | null | undefined;
1037
+ state: string;
1038
+ country: string;
1039
+ line1: string;
1040
+ city: string;
1041
+ postcode: string;
1042
+ }>;
1043
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1044
+ }, {
1045
+ active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1046
+ msicCode: z.ZodString;
1047
+ sstRegNo: z.ZodString;
1048
+ email: z.ZodString;
1049
+ schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1050
+ day: z.ZodNumber;
1051
+ hour: z.ZodNumber;
1052
+ }, "strip", z.ZodTypeAny, {
1053
+ day: number;
1054
+ hour: number;
1055
+ }, {
1056
+ day: number;
1057
+ hour: number;
1058
+ }>>>;
1059
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1060
+ }>, {
1061
+ type: z.ZodLiteral<"marketing">;
1062
+ }>, "strip", z.ZodTypeAny, {
1063
+ phoneNo?: string | null | undefined;
1064
+ active?: string | null | undefined;
1065
+ schedule?: {
1066
+ day: number;
1067
+ hour: number;
1068
+ } | null | undefined;
1069
+ queryToken?: string | null | undefined;
1070
+ type: "marketing";
1071
+ name: string;
1072
+ _id: string;
1073
+ address: {
1074
+ coordinates?: number[] | null | undefined;
1075
+ line2?: string | null | undefined;
1076
+ state: string;
1077
+ country: string;
1078
+ line1: string;
1079
+ city: string;
1080
+ postcode: string;
1081
+ };
1082
+ businessId: string;
1083
+ regNo: string;
1084
+ tinNo: string;
1085
+ email: string;
1086
+ msicCode: string;
1087
+ sstRegNo: string;
1088
+ }, {
1089
+ phoneNo?: string | null | undefined;
1090
+ active?: string | null | undefined;
1091
+ schedule?: {
1092
+ day: number;
1093
+ hour: number;
1094
+ } | null | undefined;
1095
+ queryToken?: string | null | undefined;
1096
+ type: "marketing";
1097
+ name: string;
1098
+ _id: string;
1099
+ address: {
1100
+ coordinates?: number[] | null | undefined;
1101
+ line2?: string | null | undefined;
1102
+ state: string;
1103
+ country: string;
1104
+ line1: string;
1105
+ city: string;
1106
+ postcode: string;
1107
+ };
1108
+ businessId: string;
1109
+ regNo: string;
1110
+ tinNo: string;
1111
+ email: string;
1112
+ msicCode: string;
1113
+ sstRegNo: string;
1114
+ }>;
1115
+ export declare const FdoMyEInvoiceMerchantProfile: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
1116
+ _id: z.ZodEffects<z.ZodString, string, string>;
1117
+ type: z.ZodEnum<["restaurant", "marketing"]>;
1118
+ businessId: z.ZodString;
1119
+ regNo: z.ZodString;
1120
+ tinNo: z.ZodString;
1121
+ name: z.ZodString;
1122
+ address: z.ZodObject<{
1123
+ line1: z.ZodString;
1124
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1125
+ state: z.ZodString;
1126
+ city: z.ZodString;
1127
+ postcode: z.ZodString;
1128
+ country: z.ZodString;
1129
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1130
+ }, "strip", z.ZodTypeAny, {
1131
+ coordinates?: number[] | null | undefined;
1132
+ line2?: string | null | undefined;
1133
+ state: string;
1134
+ country: string;
1135
+ line1: string;
1136
+ city: string;
1137
+ postcode: string;
1138
+ }, {
1139
+ coordinates?: number[] | null | undefined;
1140
+ line2?: string | null | undefined;
1141
+ state: string;
1142
+ country: string;
1143
+ line1: string;
1144
+ city: string;
1145
+ postcode: string;
1146
+ }>;
1147
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1148
+ }, {
1149
+ active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1150
+ msicCode: z.ZodString;
1151
+ sstRegNo: z.ZodString;
1152
+ email: z.ZodString;
1153
+ schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1154
+ day: z.ZodNumber;
1155
+ hour: z.ZodNumber;
1156
+ }, "strip", z.ZodTypeAny, {
1157
+ day: number;
1158
+ hour: number;
1159
+ }, {
1160
+ day: number;
1161
+ hour: number;
1162
+ }>>>;
1163
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1164
+ }>, {
1165
+ type: z.ZodLiteral<"restaurant">;
1166
+ restaurantId: z.ZodString;
1167
+ }>, "strip", z.ZodTypeAny, {
1168
+ phoneNo?: string | null | undefined;
1169
+ active?: string | null | undefined;
1170
+ schedule?: {
1171
+ day: number;
1172
+ hour: number;
1173
+ } | null | undefined;
1174
+ queryToken?: string | null | undefined;
1175
+ type: "restaurant";
1176
+ name: string;
1177
+ _id: string;
1178
+ address: {
1179
+ coordinates?: number[] | null | undefined;
1180
+ line2?: string | null | undefined;
1181
+ state: string;
1182
+ country: string;
1183
+ line1: string;
1184
+ city: string;
1185
+ postcode: string;
1186
+ };
1187
+ businessId: string;
1188
+ regNo: string;
1189
+ tinNo: string;
1190
+ email: string;
1191
+ msicCode: string;
1192
+ sstRegNo: string;
1193
+ restaurantId: string;
1194
+ }, {
1195
+ phoneNo?: string | null | undefined;
1196
+ active?: string | null | undefined;
1197
+ schedule?: {
1198
+ day: number;
1199
+ hour: number;
1200
+ } | null | undefined;
1201
+ queryToken?: string | null | undefined;
1202
+ type: "restaurant";
1203
+ name: string;
1204
+ _id: string;
1205
+ address: {
1206
+ coordinates?: number[] | null | undefined;
1207
+ line2?: string | null | undefined;
1208
+ state: string;
1209
+ country: string;
1210
+ line1: string;
1211
+ city: string;
1212
+ postcode: string;
1213
+ };
1214
+ businessId: string;
1215
+ regNo: string;
1216
+ tinNo: string;
1217
+ email: string;
1218
+ msicCode: string;
1219
+ sstRegNo: string;
1220
+ restaurantId: string;
1221
+ }> | z.ZodObject<z.extendShape<z.extendShape<{
1222
+ _id: z.ZodEffects<z.ZodString, string, string>;
1223
+ type: z.ZodEnum<["restaurant", "marketing"]>;
1224
+ businessId: z.ZodString;
1225
+ regNo: z.ZodString;
1226
+ tinNo: z.ZodString;
1227
+ name: z.ZodString;
1228
+ address: z.ZodObject<{
1229
+ line1: z.ZodString;
1230
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1231
+ state: z.ZodString;
1232
+ city: z.ZodString;
1233
+ postcode: z.ZodString;
1234
+ country: z.ZodString;
1235
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1236
+ }, "strip", z.ZodTypeAny, {
1237
+ coordinates?: number[] | null | undefined;
1238
+ line2?: string | null | undefined;
1239
+ state: string;
1240
+ country: string;
1241
+ line1: string;
1242
+ city: string;
1243
+ postcode: string;
1244
+ }, {
1245
+ coordinates?: number[] | null | undefined;
1246
+ line2?: string | null | undefined;
1247
+ state: string;
1248
+ country: string;
1249
+ line1: string;
1250
+ city: string;
1251
+ postcode: string;
1252
+ }>;
1253
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1254
+ }, {
1255
+ active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1256
+ msicCode: z.ZodString;
1257
+ sstRegNo: z.ZodString;
1258
+ email: z.ZodString;
1259
+ schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1260
+ day: z.ZodNumber;
1261
+ hour: z.ZodNumber;
1262
+ }, "strip", z.ZodTypeAny, {
1263
+ day: number;
1264
+ hour: number;
1265
+ }, {
1266
+ day: number;
1267
+ hour: number;
1268
+ }>>>;
1269
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1270
+ }>, {
1271
+ type: z.ZodLiteral<"marketing">;
1272
+ }>, "strip", z.ZodTypeAny, {
1273
+ phoneNo?: string | null | undefined;
1274
+ active?: string | null | undefined;
1275
+ schedule?: {
1276
+ day: number;
1277
+ hour: number;
1278
+ } | null | undefined;
1279
+ queryToken?: string | null | undefined;
1280
+ type: "marketing";
1281
+ name: string;
1282
+ _id: string;
1283
+ address: {
1284
+ coordinates?: number[] | null | undefined;
1285
+ line2?: string | null | undefined;
1286
+ state: string;
1287
+ country: string;
1288
+ line1: string;
1289
+ city: string;
1290
+ postcode: string;
1291
+ };
1292
+ businessId: string;
1293
+ regNo: string;
1294
+ tinNo: string;
1295
+ email: string;
1296
+ msicCode: string;
1297
+ sstRegNo: string;
1298
+ }, {
1299
+ phoneNo?: string | null | undefined;
1300
+ active?: string | null | undefined;
1301
+ schedule?: {
1302
+ day: number;
1303
+ hour: number;
1304
+ } | null | undefined;
1305
+ queryToken?: string | null | undefined;
1306
+ type: "marketing";
1307
+ name: string;
1308
+ _id: string;
1309
+ address: {
1310
+ coordinates?: number[] | null | undefined;
1311
+ line2?: string | null | undefined;
1312
+ state: string;
1313
+ country: string;
1314
+ line1: string;
1315
+ city: string;
1316
+ postcode: string;
1317
+ };
1318
+ businessId: string;
1319
+ regNo: string;
1320
+ tinNo: string;
1321
+ email: string;
1322
+ msicCode: string;
1323
+ sstRegNo: string;
1324
+ }>>;
1325
+ export declare const FdoMyEInvoiceMerchantProfileDoc: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
1326
+ _id: z.ZodEffects<z.ZodString, string, string>;
1327
+ type: z.ZodEnum<["restaurant", "marketing"]>;
1328
+ businessId: z.ZodString;
1329
+ regNo: z.ZodString;
1330
+ tinNo: z.ZodString;
1331
+ name: z.ZodString;
1332
+ address: z.ZodObject<{
1333
+ line1: z.ZodString;
1334
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1335
+ state: z.ZodString;
1336
+ city: z.ZodString;
1337
+ postcode: z.ZodString;
1338
+ country: z.ZodString;
1339
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1340
+ }, "strip", z.ZodTypeAny, {
1341
+ coordinates?: number[] | null | undefined;
1342
+ line2?: string | null | undefined;
1343
+ state: string;
1344
+ country: string;
1345
+ line1: string;
1346
+ city: string;
1347
+ postcode: string;
1348
+ }, {
1349
+ coordinates?: number[] | null | undefined;
1350
+ line2?: string | null | undefined;
1351
+ state: string;
1352
+ country: string;
1353
+ line1: string;
1354
+ city: string;
1355
+ postcode: string;
1356
+ }>;
1357
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1358
+ }, {
1359
+ active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1360
+ msicCode: z.ZodString;
1361
+ sstRegNo: z.ZodString;
1362
+ email: z.ZodString;
1363
+ schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1364
+ day: z.ZodNumber;
1365
+ hour: z.ZodNumber;
1366
+ }, "strip", z.ZodTypeAny, {
1367
+ day: number;
1368
+ hour: number;
1369
+ }, {
1370
+ day: number;
1371
+ hour: number;
1372
+ }>>>;
1373
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1374
+ }>, {
1375
+ type: z.ZodLiteral<"restaurant">;
1376
+ restaurantId: z.ZodString;
1377
+ }>, "strip", z.ZodTypeAny, {
1378
+ phoneNo?: string | null | undefined;
1379
+ active?: string | null | undefined;
1380
+ schedule?: {
1381
+ day: number;
1382
+ hour: number;
1383
+ } | null | undefined;
1384
+ queryToken?: string | null | undefined;
1385
+ type: "restaurant";
1386
+ name: string;
1387
+ _id: string;
1388
+ address: {
1389
+ coordinates?: number[] | null | undefined;
1390
+ line2?: string | null | undefined;
1391
+ state: string;
1392
+ country: string;
1393
+ line1: string;
1394
+ city: string;
1395
+ postcode: string;
1396
+ };
1397
+ businessId: string;
1398
+ regNo: string;
1399
+ tinNo: string;
1400
+ email: string;
1401
+ msicCode: string;
1402
+ sstRegNo: string;
1403
+ restaurantId: string;
1404
+ }, {
1405
+ phoneNo?: string | null | undefined;
1406
+ active?: string | null | undefined;
1407
+ schedule?: {
1408
+ day: number;
1409
+ hour: number;
1410
+ } | null | undefined;
1411
+ queryToken?: string | null | undefined;
1412
+ type: "restaurant";
1413
+ name: string;
1414
+ _id: string;
1415
+ address: {
1416
+ coordinates?: number[] | null | undefined;
1417
+ line2?: string | null | undefined;
1418
+ state: string;
1419
+ country: string;
1420
+ line1: string;
1421
+ city: string;
1422
+ postcode: string;
1423
+ };
1424
+ businessId: string;
1425
+ regNo: string;
1426
+ tinNo: string;
1427
+ email: string;
1428
+ msicCode: string;
1429
+ sstRegNo: string;
1430
+ restaurantId: string;
1431
+ }> | z.ZodObject<z.extendShape<z.extendShape<{
1432
+ _id: z.ZodEffects<z.ZodString, string, string>;
1433
+ type: z.ZodEnum<["restaurant", "marketing"]>;
1434
+ businessId: z.ZodString;
1435
+ regNo: z.ZodString;
1436
+ tinNo: z.ZodString;
1437
+ name: z.ZodString;
1438
+ address: z.ZodObject<{
1439
+ line1: z.ZodString;
1440
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1441
+ state: z.ZodString;
1442
+ city: z.ZodString;
1443
+ postcode: z.ZodString;
1444
+ country: z.ZodString;
1445
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1446
+ }, "strip", z.ZodTypeAny, {
1447
+ coordinates?: number[] | null | undefined;
1448
+ line2?: string | null | undefined;
1449
+ state: string;
1450
+ country: string;
1451
+ line1: string;
1452
+ city: string;
1453
+ postcode: string;
1454
+ }, {
1455
+ coordinates?: number[] | null | undefined;
1456
+ line2?: string | null | undefined;
1457
+ state: string;
1458
+ country: string;
1459
+ line1: string;
1460
+ city: string;
1461
+ postcode: string;
1462
+ }>;
1463
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1464
+ }, {
1465
+ active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1466
+ msicCode: z.ZodString;
1467
+ sstRegNo: z.ZodString;
1468
+ email: z.ZodString;
1469
+ schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1470
+ day: z.ZodNumber;
1471
+ hour: z.ZodNumber;
1472
+ }, "strip", z.ZodTypeAny, {
1473
+ day: number;
1474
+ hour: number;
1475
+ }, {
1476
+ day: number;
1477
+ hour: number;
1478
+ }>>>;
1479
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1480
+ }>, {
1481
+ type: z.ZodLiteral<"marketing">;
1482
+ }>, "strip", z.ZodTypeAny, {
1483
+ phoneNo?: string | null | undefined;
1484
+ active?: string | null | undefined;
1485
+ schedule?: {
1486
+ day: number;
1487
+ hour: number;
1488
+ } | null | undefined;
1489
+ queryToken?: string | null | undefined;
1490
+ type: "marketing";
1491
+ name: string;
1492
+ _id: string;
1493
+ address: {
1494
+ coordinates?: number[] | null | undefined;
1495
+ line2?: string | null | undefined;
1496
+ state: string;
1497
+ country: string;
1498
+ line1: string;
1499
+ city: string;
1500
+ postcode: string;
1501
+ };
1502
+ businessId: string;
1503
+ regNo: string;
1504
+ tinNo: string;
1505
+ email: string;
1506
+ msicCode: string;
1507
+ sstRegNo: string;
1508
+ }, {
1509
+ phoneNo?: string | null | undefined;
1510
+ active?: string | null | undefined;
1511
+ schedule?: {
1512
+ day: number;
1513
+ hour: number;
1514
+ } | null | undefined;
1515
+ queryToken?: string | null | undefined;
1516
+ type: "marketing";
1517
+ name: string;
1518
+ _id: string;
1519
+ address: {
1520
+ coordinates?: number[] | null | undefined;
1521
+ line2?: string | null | undefined;
1522
+ state: string;
1523
+ country: string;
1524
+ line1: string;
1525
+ city: string;
1526
+ postcode: string;
1527
+ };
1528
+ businessId: string;
1529
+ regNo: string;
1530
+ tinNo: string;
1531
+ email: string;
1532
+ msicCode: string;
1533
+ sstRegNo: string;
1534
+ }>>;
1535
+ export declare const FdoMyEInvoiceMerchantProfileSchema: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<Omit<z.extendShape<z.extendShape<{
1536
+ _id: z.ZodEffects<z.ZodString, string, string>;
1537
+ type: z.ZodEnum<["restaurant", "marketing"]>;
1538
+ businessId: z.ZodString;
1539
+ regNo: z.ZodString;
1540
+ tinNo: z.ZodString;
1541
+ name: z.ZodString;
1542
+ address: z.ZodObject<{
1543
+ line1: z.ZodString;
1544
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1545
+ state: z.ZodString;
1546
+ city: z.ZodString;
1547
+ postcode: z.ZodString;
1548
+ country: z.ZodString;
1549
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1550
+ }, "strip", z.ZodTypeAny, {
1551
+ coordinates?: number[] | null | undefined;
1552
+ line2?: string | null | undefined;
1553
+ state: string;
1554
+ country: string;
1555
+ line1: string;
1556
+ city: string;
1557
+ postcode: string;
1558
+ }, {
1559
+ coordinates?: number[] | null | undefined;
1560
+ line2?: string | null | undefined;
1561
+ state: string;
1562
+ country: string;
1563
+ line1: string;
1564
+ city: string;
1565
+ postcode: string;
1566
+ }>;
1567
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1568
+ }, {
1569
+ active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1570
+ msicCode: z.ZodString;
1571
+ sstRegNo: z.ZodString;
1572
+ email: z.ZodString;
1573
+ schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1574
+ day: z.ZodNumber;
1575
+ hour: z.ZodNumber;
1576
+ }, "strip", z.ZodTypeAny, {
1577
+ day: number;
1578
+ hour: number;
1579
+ }, {
1580
+ day: number;
1581
+ hour: number;
1582
+ }>>>;
1583
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1584
+ }>, {
1585
+ type: z.ZodLiteral<"restaurant">;
1586
+ restaurantId: z.ZodString;
1587
+ }>, "_id">, "strip", z.ZodTypeAny, {
1588
+ phoneNo?: string | null | undefined;
1589
+ active?: string | null | undefined;
1590
+ schedule?: {
1591
+ day: number;
1592
+ hour: number;
1593
+ } | null | undefined;
1594
+ queryToken?: string | null | undefined;
1595
+ type: "restaurant";
1596
+ name: string;
1597
+ address: {
1598
+ coordinates?: number[] | null | undefined;
1599
+ line2?: string | null | undefined;
1600
+ state: string;
1601
+ country: string;
1602
+ line1: string;
1603
+ city: string;
1604
+ postcode: string;
1605
+ };
1606
+ businessId: string;
1607
+ regNo: string;
1608
+ tinNo: string;
1609
+ email: string;
1610
+ msicCode: string;
1611
+ sstRegNo: string;
1612
+ restaurantId: string;
1613
+ }, {
1614
+ phoneNo?: string | null | undefined;
1615
+ active?: string | null | undefined;
1616
+ schedule?: {
1617
+ day: number;
1618
+ hour: number;
1619
+ } | null | undefined;
1620
+ queryToken?: string | null | undefined;
1621
+ type: "restaurant";
1622
+ name: string;
1623
+ address: {
1624
+ coordinates?: number[] | null | undefined;
1625
+ line2?: string | null | undefined;
1626
+ state: string;
1627
+ country: string;
1628
+ line1: string;
1629
+ city: string;
1630
+ postcode: string;
1631
+ };
1632
+ businessId: string;
1633
+ regNo: string;
1634
+ tinNo: string;
1635
+ email: string;
1636
+ msicCode: string;
1637
+ sstRegNo: string;
1638
+ restaurantId: string;
1639
+ }> | z.ZodObject<Omit<z.extendShape<z.extendShape<{
1640
+ _id: z.ZodEffects<z.ZodString, string, string>;
1641
+ type: z.ZodEnum<["restaurant", "marketing"]>;
1642
+ businessId: z.ZodString;
1643
+ regNo: z.ZodString;
1644
+ tinNo: z.ZodString;
1645
+ name: z.ZodString;
1646
+ address: z.ZodObject<{
1647
+ line1: z.ZodString;
1648
+ line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1649
+ state: z.ZodString;
1650
+ city: z.ZodString;
1651
+ postcode: z.ZodString;
1652
+ country: z.ZodString;
1653
+ coordinates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1654
+ }, "strip", z.ZodTypeAny, {
1655
+ coordinates?: number[] | null | undefined;
1656
+ line2?: string | null | undefined;
1657
+ state: string;
1658
+ country: string;
1659
+ line1: string;
1660
+ city: string;
1661
+ postcode: string;
1662
+ }, {
1663
+ coordinates?: number[] | null | undefined;
1664
+ line2?: string | null | undefined;
1665
+ state: string;
1666
+ country: string;
1667
+ line1: string;
1668
+ city: string;
1669
+ postcode: string;
1670
+ }>;
1671
+ phoneNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1672
+ }, {
1673
+ active: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1674
+ msicCode: z.ZodString;
1675
+ sstRegNo: z.ZodString;
1676
+ email: z.ZodString;
1677
+ schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1678
+ day: z.ZodNumber;
1679
+ hour: z.ZodNumber;
1680
+ }, "strip", z.ZodTypeAny, {
1681
+ day: number;
1682
+ hour: number;
1683
+ }, {
1684
+ day: number;
1685
+ hour: number;
1686
+ }>>>;
1687
+ queryToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1688
+ }>, {
1689
+ type: z.ZodLiteral<"marketing">;
1690
+ }>, "_id">, "strip", z.ZodTypeAny, {
1691
+ phoneNo?: string | null | undefined;
1692
+ active?: string | null | undefined;
1693
+ schedule?: {
1694
+ day: number;
1695
+ hour: number;
1696
+ } | null | undefined;
1697
+ queryToken?: string | null | undefined;
1698
+ type: "marketing";
1699
+ name: string;
1700
+ address: {
1701
+ coordinates?: number[] | null | undefined;
1702
+ line2?: string | null | undefined;
1703
+ state: string;
1704
+ country: string;
1705
+ line1: string;
1706
+ city: string;
1707
+ postcode: string;
1708
+ };
1709
+ businessId: string;
1710
+ regNo: string;
1711
+ tinNo: string;
1712
+ email: string;
1713
+ msicCode: string;
1714
+ sstRegNo: string;
1715
+ }, {
1716
+ phoneNo?: string | null | undefined;
1717
+ active?: string | null | undefined;
1718
+ schedule?: {
1719
+ day: number;
1720
+ hour: number;
1721
+ } | null | undefined;
1722
+ queryToken?: string | null | undefined;
1723
+ type: "marketing";
1724
+ name: string;
1725
+ address: {
1726
+ coordinates?: number[] | null | undefined;
1727
+ line2?: string | null | undefined;
1728
+ state: string;
1729
+ country: string;
1730
+ line1: string;
1731
+ city: string;
1732
+ postcode: string;
1733
+ };
1734
+ businessId: string;
1735
+ regNo: string;
1736
+ tinNo: string;
1737
+ email: string;
1738
+ msicCode: string;
1739
+ sstRegNo: string;
1740
+ }>>;
1741
+ export type FdoMyEInvoiceCustomerBaseProfile = z.infer<typeof FdoMyEInvoiceCustomerBaseProfile>;
1742
+ export type FdoEInvoiceIndividualIdentity = z.infer<typeof FdoEInvoiceIndividualIdentity>;
1743
+ export type FdoMyEInvoiceIndividualProfile = z.infer<typeof FdoMyEInvoiceIndividualProfile>;
1744
+ export type FdoMyEInvoiceCompanyProfile = z.infer<typeof FdoMyEInvoiceCompanyProfile>;
1745
+ export type FdoMyEInvoiceCustomerProfile = z.infer<typeof FdoMyEInvoiceCustomerProfile>;
1746
+ export type FdoMyEInvoiceCustomerProfileDoc = z.infer<typeof FdoMyEInvoiceCustomerProfileDoc>;
1747
+ export type FdoMyEInvoiceCustomerProfileSchema = z.infer<typeof FdoMyEInvoiceCustomerProfileSchema>;
1748
+ export type FdoMyEInvoiceItemInfo = z.infer<typeof FdoMyEInvoiceItemInfo>;
1749
+ export type FdoMyEInvoiceSetting = z.infer<typeof FdoMyEInvoiceSetting>;
1750
+ export type FdoMyEInvoiceSubmissionSchedule = z.infer<typeof FdoMyEInvoiceSubmissionSchedule>;
1751
+ export type FdoMyEInvoiceMerchantBaseProfile = z.infer<typeof FdoMyEInvoiceMerchantBaseProfile>;
1752
+ export type FdoMyEInvoiceRestaurantProfile = z.infer<typeof FdoMyEInvoiceRestaurantProfile>;
1753
+ export type FdoMyEInvoiceMarketingProfile = z.infer<typeof FdoMyEInvoiceMarketingProfile>;
1754
+ export type FdoMyEInvoiceMerchantProfile = z.infer<typeof FdoMyEInvoiceMerchantProfile>;
1755
+ export type FdoMyEInvoiceMerchantProfileDoc = z.infer<typeof FdoMyEInvoiceMerchantProfileDoc>;
1756
+ export type FdoMyEInvoiceMerchantProfileSchema = z.infer<typeof FdoMyEInvoiceMerchantProfileSchema>;