@feedmepos/mf-e-invoice 0.0.53 → 0.0.54

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