@chift/chift-nodejs 1.0.14 → 1.0.16

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.
@@ -87,6 +87,27 @@ declare const Consumers: (internalApi: InternalAPI) => {
87
87
  total_discount?: number | undefined;
88
88
  total_refund?: number | undefined;
89
89
  total_tip?: number | undefined;
90
+ currency?: string | undefined;
91
+ country?: string | undefined;
92
+ loyalty?: number | undefined;
93
+ customer_id?: string | undefined;
94
+ location_id?: string | undefined;
95
+ taxes?: {
96
+ tax_rate: number;
97
+ tax_amount: number;
98
+ total: number;
99
+ }[] | undefined;
100
+ guests?: number | undefined;
101
+ payments: {
102
+ id?: string | undefined;
103
+ payment_method_id?: string | undefined;
104
+ payment_method_name?: string | undefined;
105
+ total: number;
106
+ tip?: number | undefined;
107
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
108
+ currency?: string | undefined;
109
+ date?: string | undefined;
110
+ }[];
90
111
  items: {
91
112
  id: string;
92
113
  quantity: number;
@@ -102,26 +123,6 @@ declare const Consumers: (internalApi: InternalAPI) => {
102
123
  product_id?: string | undefined;
103
124
  accounting_category_id?: string | undefined;
104
125
  }[];
105
- payments: {
106
- id?: string | undefined;
107
- payment_method_id?: string | undefined;
108
- payment_method_name?: string | undefined;
109
- total: number;
110
- tip?: number | undefined;
111
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
112
- currency?: string | undefined;
113
- date?: string | undefined;
114
- }[];
115
- currency?: string | undefined;
116
- country?: string | undefined;
117
- loyalty?: number | undefined;
118
- customer_id?: string | undefined;
119
- location_id?: string | undefined;
120
- taxes?: {
121
- tax_rate: number;
122
- tax_amount: number;
123
- total: number;
124
- }[] | undefined;
125
126
  }[]>;
126
127
  getCustomers(params?: {
127
128
  search?: string | undefined;
@@ -160,6 +161,27 @@ declare const Consumers: (internalApi: InternalAPI) => {
160
161
  total_discount?: number | undefined;
161
162
  total_refund?: number | undefined;
162
163
  total_tip?: number | undefined;
164
+ currency?: string | undefined;
165
+ country?: string | undefined;
166
+ loyalty?: number | undefined;
167
+ customer_id?: string | undefined;
168
+ location_id?: string | undefined;
169
+ taxes?: {
170
+ tax_rate: number;
171
+ tax_amount: number;
172
+ total: number;
173
+ }[] | undefined;
174
+ guests?: number | undefined;
175
+ payments: {
176
+ id?: string | undefined;
177
+ payment_method_id?: string | undefined;
178
+ payment_method_name?: string | undefined;
179
+ total: number;
180
+ tip?: number | undefined;
181
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
182
+ currency?: string | undefined;
183
+ date?: string | undefined;
184
+ }[];
163
185
  items: {
164
186
  id: string;
165
187
  quantity: number;
@@ -175,26 +197,6 @@ declare const Consumers: (internalApi: InternalAPI) => {
175
197
  product_id?: string | undefined;
176
198
  accounting_category_id?: string | undefined;
177
199
  }[];
178
- payments: {
179
- id?: string | undefined;
180
- payment_method_id?: string | undefined;
181
- payment_method_name?: string | undefined;
182
- total: number;
183
- tip?: number | undefined;
184
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
185
- currency?: string | undefined;
186
- date?: string | undefined;
187
- }[];
188
- currency?: string | undefined;
189
- country?: string | undefined;
190
- loyalty?: number | undefined;
191
- customer_id?: string | undefined;
192
- location_id?: string | undefined;
193
- taxes?: {
194
- tax_rate: number;
195
- tax_amount: number;
196
- total: number;
197
- }[] | undefined;
198
200
  }>;
199
201
  getCustomer(customerId: string): import("../types/api").RequestData<{
200
202
  id: string;
@@ -330,6 +332,27 @@ declare const Consumers: (internalApi: InternalAPI) => {
330
332
  total_discount?: number | undefined;
331
333
  total_refund?: number | undefined;
332
334
  total_tip?: number | undefined;
335
+ currency?: string | undefined;
336
+ country?: string | undefined;
337
+ loyalty?: number | undefined;
338
+ customer_id?: string | undefined;
339
+ location_id?: string | undefined;
340
+ taxes?: {
341
+ tax_rate: number;
342
+ tax_amount: number;
343
+ total: number;
344
+ }[] | undefined;
345
+ guests?: number | undefined;
346
+ payments: {
347
+ id?: string | undefined;
348
+ payment_method_id?: string | undefined;
349
+ payment_method_name?: string | undefined;
350
+ total: number;
351
+ tip?: number | undefined;
352
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
353
+ currency?: string | undefined;
354
+ date?: string | undefined;
355
+ }[];
333
356
  items: {
334
357
  id: string;
335
358
  quantity: number;
@@ -345,16 +368,53 @@ declare const Consumers: (internalApi: InternalAPI) => {
345
368
  product_id?: string | undefined;
346
369
  accounting_category_id?: string | undefined;
347
370
  }[];
348
- payments: {
371
+ }>;
372
+ getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
373
+ id: string;
374
+ name: string;
375
+ id_parent?: string | undefined;
376
+ code?: string | undefined;
377
+ ledger_account_code?: string | undefined;
378
+ posting_account_code?: string | undefined;
379
+ }[]>;
380
+ }>;
381
+ pms: import("../types/api").ApiFor<{
382
+ getLocations(): import("../types/api").RequestData<{
383
+ id: string;
384
+ name: string;
385
+ timezone?: string | undefined;
386
+ address?: {
387
+ address_type?: string | undefined;
388
+ name?: string | undefined;
389
+ street?: string | undefined;
390
+ number?: string | undefined;
391
+ box?: string | undefined;
392
+ city?: string | undefined;
393
+ postal_code?: string | undefined;
394
+ country?: string | undefined;
395
+ } | undefined;
396
+ }[]>;
397
+ getOrders(params: {
398
+ date_from: string;
399
+ date_to: string;
400
+ location_id?: string | undefined;
401
+ state?: "closed" | "consumed" | undefined;
402
+ }): import("../types/api").RequestData<{
403
+ id: string;
404
+ source_ref: {
349
405
  id?: string | undefined;
350
- payment_method_id?: string | undefined;
351
- payment_method_name?: string | undefined;
352
- total: number;
353
- tip?: number | undefined;
354
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
355
- currency?: string | undefined;
356
- date?: string | undefined;
357
- }[];
406
+ model?: string | undefined;
407
+ };
408
+ order_number?: string | undefined;
409
+ creation_date: string;
410
+ closing_date?: string | undefined;
411
+ service_date?: string | undefined;
412
+ device_id?: string | undefined;
413
+ total: number;
414
+ tax_amount: number;
415
+ total_discount?: number | undefined;
416
+ total_refund?: number | undefined;
417
+ total_tip?: number | undefined;
358
418
  currency?: string | undefined;
359
419
  country?: string | undefined;
360
420
  loyalty?: number | undefined;
@@ -365,9 +425,69 @@ declare const Consumers: (internalApi: InternalAPI) => {
365
425
  tax_amount: number;
366
426
  total: number;
367
427
  }[] | undefined;
428
+ guests?: number | undefined;
429
+ items: {
430
+ id: string;
431
+ source_ref: {
432
+ id?: string | undefined;
433
+ model?: string | undefined;
434
+ };
435
+ quantity: number;
436
+ unit_price: number;
437
+ total: number;
438
+ tax_amount: number;
439
+ tax_rate?: number | undefined;
440
+ description?: string | undefined;
441
+ discounts?: {
442
+ name?: string | undefined;
443
+ total: number;
444
+ }[] | undefined;
445
+ product_id?: string | undefined;
446
+ accounting_category_id?: string | undefined;
447
+ }[];
448
+ service_id?: string | undefined;
449
+ }[]>;
450
+ getPaymentMethods(params?: {
451
+ location_id?: string | undefined;
452
+ } | undefined): import("../types/api").RequestData<{
453
+ id: string;
454
+ source_ref: {
455
+ id?: string | undefined;
456
+ model?: string | undefined;
457
+ };
458
+ name: string;
459
+ extra?: string | undefined;
460
+ ledger_account_code?: string | undefined;
461
+ }[]>;
462
+ getClosure(date: string, params?: {
463
+ location_id?: string | undefined;
464
+ } | undefined): import("../types/api").RequestData<{
465
+ date: string;
466
+ status: "open" | "closed";
368
467
  }>;
468
+ getPayments(params: {
469
+ date_from: string;
470
+ date_to: string;
471
+ }): import("../types/api").RequestData<{
472
+ id?: string | undefined;
473
+ source_ref: {
474
+ id?: string | undefined;
475
+ model?: string | undefined;
476
+ };
477
+ payment_method_id?: string | undefined;
478
+ payment_method_name?: string | undefined;
479
+ total: number;
480
+ tip?: number | undefined;
481
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
482
+ currency?: string | undefined;
483
+ date?: string | undefined;
484
+ }[]>;
369
485
  getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
370
486
  id: string;
487
+ source_ref: {
488
+ id?: string | undefined;
489
+ model?: string | undefined;
490
+ };
371
491
  name: string;
372
492
  id_parent?: string | undefined;
373
493
  code?: string | undefined;
@@ -852,6 +972,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
852
972
  iban: string;
853
973
  };
854
974
  } | undefined;
975
+ shipping_country?: string | undefined;
855
976
  lines: {
856
977
  line_number?: number | undefined;
857
978
  description: string;
@@ -948,6 +1069,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
948
1069
  iban: string;
949
1070
  };
950
1071
  } | undefined;
1072
+ shipping_country?: string | undefined;
951
1073
  lines: {
952
1074
  line_number?: number | undefined;
953
1075
  description: string;
@@ -1809,6 +1931,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
1809
1931
  id: string;
1810
1932
  name: string;
1811
1933
  selected?: boolean | undefined;
1934
+ vat?: string | undefined;
1935
+ company_number?: string | undefined;
1812
1936
  }[]>;
1813
1937
  }>;
1814
1938
  invoicing: import("../types/api").ApiFor<{
@@ -2538,6 +2662,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
2538
2662
  date_to?: string | undefined;
2539
2663
  updated_after?: string | undefined;
2540
2664
  include_detailed_refunds?: "true" | "false" | undefined;
2665
+ include_product_categories?: "true" | "false" | undefined;
2666
+ include_customer_details?: "true" | "false" | undefined;
2541
2667
  } | undefined): import("../types/api").RequestData<{
2542
2668
  id: string;
2543
2669
  source_ref: {
@@ -2584,8 +2710,9 @@ declare const Consumers: (internalApi: InternalAPI) => {
2584
2710
  created_on?: string | undefined;
2585
2711
  last_updated_on?: string | undefined;
2586
2712
  confirmed_on?: string | undefined;
2713
+ delivery_date?: string | undefined;
2587
2714
  cancelled_on?: string | undefined;
2588
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
2715
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
2589
2716
  discount_amount: number;
2590
2717
  untaxed_amount_without_fees: number;
2591
2718
  tax_amount_without_fees: number;
@@ -2609,6 +2736,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
2609
2736
  id: string;
2610
2737
  sku?: string | undefined;
2611
2738
  name: string;
2739
+ categories?: {
2740
+ id: string;
2741
+ name: string;
2742
+ }[] | undefined;
2612
2743
  } | undefined;
2613
2744
  quantity: number;
2614
2745
  untaxed_amount: number;
@@ -2626,6 +2757,14 @@ declare const Consumers: (internalApi: InternalAPI) => {
2626
2757
  tax_amount: number;
2627
2758
  total: number;
2628
2759
  }[] | undefined;
2760
+ transactions?: {
2761
+ id: string;
2762
+ created_on?: string | undefined;
2763
+ payment_method_id?: string | undefined;
2764
+ payment_method_name?: string | undefined;
2765
+ amount: number;
2766
+ status: "failed" | "pending" | "success";
2767
+ }[] | undefined;
2629
2768
  }[] | undefined;
2630
2769
  currency: string;
2631
2770
  note?: string | undefined;
@@ -2640,6 +2779,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
2640
2779
  id: string;
2641
2780
  sku?: string | undefined;
2642
2781
  name: string;
2782
+ categories?: {
2783
+ id: string;
2784
+ name: string;
2785
+ }[] | undefined;
2643
2786
  } | undefined;
2644
2787
  quantity: number;
2645
2788
  unit_price: number;
@@ -2678,6 +2821,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
2678
2821
  payment_method_id?: string | undefined;
2679
2822
  transactions?: {
2680
2823
  id: string;
2824
+ created_on?: string | undefined;
2681
2825
  payment_method_id?: string | undefined;
2682
2826
  payment_method_name?: string | undefined;
2683
2827
  amount: number;
@@ -2775,8 +2919,9 @@ declare const Consumers: (internalApi: InternalAPI) => {
2775
2919
  created_on?: string | undefined;
2776
2920
  last_updated_on?: string | undefined;
2777
2921
  confirmed_on?: string | undefined;
2922
+ delivery_date?: string | undefined;
2778
2923
  cancelled_on?: string | undefined;
2779
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
2924
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
2780
2925
  discount_amount: number;
2781
2926
  untaxed_amount_without_fees: number;
2782
2927
  tax_amount_without_fees: number;
@@ -2800,6 +2945,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
2800
2945
  id: string;
2801
2946
  sku?: string | undefined;
2802
2947
  name: string;
2948
+ categories?: {
2949
+ id: string;
2950
+ name: string;
2951
+ }[] | undefined;
2803
2952
  } | undefined;
2804
2953
  quantity: number;
2805
2954
  untaxed_amount: number;
@@ -2817,6 +2966,14 @@ declare const Consumers: (internalApi: InternalAPI) => {
2817
2966
  tax_amount: number;
2818
2967
  total: number;
2819
2968
  }[] | undefined;
2969
+ transactions?: {
2970
+ id: string;
2971
+ created_on?: string | undefined;
2972
+ payment_method_id?: string | undefined;
2973
+ payment_method_name?: string | undefined;
2974
+ amount: number;
2975
+ status: "failed" | "pending" | "success";
2976
+ }[] | undefined;
2820
2977
  }[] | undefined;
2821
2978
  currency: string;
2822
2979
  note?: string | undefined;
@@ -2831,6 +2988,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
2831
2988
  id: string;
2832
2989
  sku?: string | undefined;
2833
2990
  name: string;
2991
+ categories?: {
2992
+ id: string;
2993
+ name: string;
2994
+ }[] | undefined;
2834
2995
  } | undefined;
2835
2996
  quantity: number;
2836
2997
  unit_price: number;
@@ -2869,6 +3030,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
2869
3030
  payment_method_id?: string | undefined;
2870
3031
  transactions?: {
2871
3032
  id: string;
3033
+ created_on?: string | undefined;
2872
3034
  payment_method_id?: string | undefined;
2873
3035
  payment_method_name?: string | undefined;
2874
3036
  amount: number;
@@ -2925,8 +3087,9 @@ declare const Consumers: (internalApi: InternalAPI) => {
2925
3087
  created_on?: string | undefined;
2926
3088
  last_updated_on?: string | undefined;
2927
3089
  confirmed_on?: string | undefined;
3090
+ delivery_date?: string | undefined;
2928
3091
  cancelled_on?: string | undefined;
2929
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
3092
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
2930
3093
  discount_amount: number;
2931
3094
  untaxed_amount_without_fees: number;
2932
3095
  tax_amount_without_fees: number;
@@ -2950,6 +3113,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
2950
3113
  id: string;
2951
3114
  sku?: string | undefined;
2952
3115
  name: string;
3116
+ categories?: {
3117
+ id: string;
3118
+ name: string;
3119
+ }[] | undefined;
2953
3120
  } | undefined;
2954
3121
  quantity: number;
2955
3122
  untaxed_amount: number;
@@ -2967,6 +3134,14 @@ declare const Consumers: (internalApi: InternalAPI) => {
2967
3134
  tax_amount: number;
2968
3135
  total: number;
2969
3136
  }[] | undefined;
3137
+ transactions?: {
3138
+ id: string;
3139
+ created_on?: string | undefined;
3140
+ payment_method_id?: string | undefined;
3141
+ payment_method_name?: string | undefined;
3142
+ amount: number;
3143
+ status: "failed" | "pending" | "success";
3144
+ }[] | undefined;
2970
3145
  }[] | undefined;
2971
3146
  currency: string;
2972
3147
  note?: string | undefined;
@@ -2981,6 +3156,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
2981
3156
  id: string;
2982
3157
  sku?: string | undefined;
2983
3158
  name: string;
3159
+ categories?: {
3160
+ id: string;
3161
+ name: string;
3162
+ }[] | undefined;
2984
3163
  } | undefined;
2985
3164
  quantity: number;
2986
3165
  unit_price: number;
@@ -3019,6 +3198,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
3019
3198
  payment_method_id?: string | undefined;
3020
3199
  transactions?: {
3021
3200
  id: string;
3201
+ created_on?: string | undefined;
3022
3202
  payment_method_id?: string | undefined;
3023
3203
  payment_method_name?: string | undefined;
3024
3204
  amount: number;
@@ -3242,6 +3422,27 @@ declare const Consumers: (internalApi: InternalAPI) => {
3242
3422
  total_discount?: number | undefined;
3243
3423
  total_refund?: number | undefined;
3244
3424
  total_tip?: number | undefined;
3425
+ currency?: string | undefined;
3426
+ country?: string | undefined;
3427
+ loyalty?: number | undefined;
3428
+ customer_id?: string | undefined;
3429
+ location_id?: string | undefined;
3430
+ taxes?: {
3431
+ tax_rate: number;
3432
+ tax_amount: number;
3433
+ total: number;
3434
+ }[] | undefined;
3435
+ guests?: number | undefined;
3436
+ payments: {
3437
+ id?: string | undefined;
3438
+ payment_method_id?: string | undefined;
3439
+ payment_method_name?: string | undefined;
3440
+ total: number;
3441
+ tip?: number | undefined;
3442
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
3443
+ currency?: string | undefined;
3444
+ date?: string | undefined;
3445
+ }[];
3245
3446
  items: {
3246
3447
  id: string;
3247
3448
  quantity: number;
@@ -3257,26 +3458,6 @@ declare const Consumers: (internalApi: InternalAPI) => {
3257
3458
  product_id?: string | undefined;
3258
3459
  accounting_category_id?: string | undefined;
3259
3460
  }[];
3260
- payments: {
3261
- id?: string | undefined;
3262
- payment_method_id?: string | undefined;
3263
- payment_method_name?: string | undefined;
3264
- total: number;
3265
- tip?: number | undefined;
3266
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
3267
- currency?: string | undefined;
3268
- date?: string | undefined;
3269
- }[];
3270
- currency?: string | undefined;
3271
- country?: string | undefined;
3272
- loyalty?: number | undefined;
3273
- customer_id?: string | undefined;
3274
- location_id?: string | undefined;
3275
- taxes?: {
3276
- tax_rate: number;
3277
- tax_amount: number;
3278
- total: number;
3279
- }[] | undefined;
3280
3461
  }[]>;
3281
3462
  getCustomers(params?: {
3282
3463
  search?: string | undefined;
@@ -3315,6 +3496,27 @@ declare const Consumers: (internalApi: InternalAPI) => {
3315
3496
  total_discount?: number | undefined;
3316
3497
  total_refund?: number | undefined;
3317
3498
  total_tip?: number | undefined;
3499
+ currency?: string | undefined;
3500
+ country?: string | undefined;
3501
+ loyalty?: number | undefined;
3502
+ customer_id?: string | undefined;
3503
+ location_id?: string | undefined;
3504
+ taxes?: {
3505
+ tax_rate: number;
3506
+ tax_amount: number;
3507
+ total: number;
3508
+ }[] | undefined;
3509
+ guests?: number | undefined;
3510
+ payments: {
3511
+ id?: string | undefined;
3512
+ payment_method_id?: string | undefined;
3513
+ payment_method_name?: string | undefined;
3514
+ total: number;
3515
+ tip?: number | undefined;
3516
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
3517
+ currency?: string | undefined;
3518
+ date?: string | undefined;
3519
+ }[];
3318
3520
  items: {
3319
3521
  id: string;
3320
3522
  quantity: number;
@@ -3330,26 +3532,6 @@ declare const Consumers: (internalApi: InternalAPI) => {
3330
3532
  product_id?: string | undefined;
3331
3533
  accounting_category_id?: string | undefined;
3332
3534
  }[];
3333
- payments: {
3334
- id?: string | undefined;
3335
- payment_method_id?: string | undefined;
3336
- payment_method_name?: string | undefined;
3337
- total: number;
3338
- tip?: number | undefined;
3339
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
3340
- currency?: string | undefined;
3341
- date?: string | undefined;
3342
- }[];
3343
- currency?: string | undefined;
3344
- country?: string | undefined;
3345
- loyalty?: number | undefined;
3346
- customer_id?: string | undefined;
3347
- location_id?: string | undefined;
3348
- taxes?: {
3349
- tax_rate: number;
3350
- tax_amount: number;
3351
- total: number;
3352
- }[] | undefined;
3353
3535
  }>;
3354
3536
  getCustomer(customerId: string): import("../types/api").RequestData<{
3355
3537
  id: string;
@@ -3485,6 +3667,27 @@ declare const Consumers: (internalApi: InternalAPI) => {
3485
3667
  total_discount?: number | undefined;
3486
3668
  total_refund?: number | undefined;
3487
3669
  total_tip?: number | undefined;
3670
+ currency?: string | undefined;
3671
+ country?: string | undefined;
3672
+ loyalty?: number | undefined;
3673
+ customer_id?: string | undefined;
3674
+ location_id?: string | undefined;
3675
+ taxes?: {
3676
+ tax_rate: number;
3677
+ tax_amount: number;
3678
+ total: number;
3679
+ }[] | undefined;
3680
+ guests?: number | undefined;
3681
+ payments: {
3682
+ id?: string | undefined;
3683
+ payment_method_id?: string | undefined;
3684
+ payment_method_name?: string | undefined;
3685
+ total: number;
3686
+ tip?: number | undefined;
3687
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
3688
+ currency?: string | undefined;
3689
+ date?: string | undefined;
3690
+ }[];
3488
3691
  items: {
3489
3692
  id: string;
3490
3693
  quantity: number;
@@ -3500,16 +3703,53 @@ declare const Consumers: (internalApi: InternalAPI) => {
3500
3703
  product_id?: string | undefined;
3501
3704
  accounting_category_id?: string | undefined;
3502
3705
  }[];
3503
- payments: {
3706
+ }>;
3707
+ getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
3708
+ id: string;
3709
+ name: string;
3710
+ id_parent?: string | undefined;
3711
+ code?: string | undefined;
3712
+ ledger_account_code?: string | undefined;
3713
+ posting_account_code?: string | undefined;
3714
+ }[]>;
3715
+ }>;
3716
+ pms: import("../types/api").ApiFor<{
3717
+ getLocations(): import("../types/api").RequestData<{
3718
+ id: string;
3719
+ name: string;
3720
+ timezone?: string | undefined;
3721
+ address?: {
3722
+ address_type?: string | undefined;
3723
+ name?: string | undefined;
3724
+ street?: string | undefined;
3725
+ number?: string | undefined;
3726
+ box?: string | undefined;
3727
+ city?: string | undefined;
3728
+ postal_code?: string | undefined;
3729
+ country?: string | undefined;
3730
+ } | undefined;
3731
+ }[]>;
3732
+ getOrders(params: {
3733
+ date_from: string;
3734
+ date_to: string;
3735
+ location_id?: string | undefined;
3736
+ state?: "closed" | "consumed" | undefined;
3737
+ }): import("../types/api").RequestData<{
3738
+ id: string;
3739
+ source_ref: {
3504
3740
  id?: string | undefined;
3505
- payment_method_id?: string | undefined;
3506
- payment_method_name?: string | undefined;
3507
- total: number;
3508
- tip?: number | undefined;
3509
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
3510
- currency?: string | undefined;
3511
- date?: string | undefined;
3512
- }[];
3741
+ model?: string | undefined;
3742
+ };
3743
+ order_number?: string | undefined;
3744
+ creation_date: string;
3745
+ closing_date?: string | undefined;
3746
+ service_date?: string | undefined;
3747
+ device_id?: string | undefined;
3748
+ total: number;
3749
+ tax_amount: number;
3750
+ total_discount?: number | undefined;
3751
+ total_refund?: number | undefined;
3752
+ total_tip?: number | undefined;
3513
3753
  currency?: string | undefined;
3514
3754
  country?: string | undefined;
3515
3755
  loyalty?: number | undefined;
@@ -3520,9 +3760,69 @@ declare const Consumers: (internalApi: InternalAPI) => {
3520
3760
  tax_amount: number;
3521
3761
  total: number;
3522
3762
  }[] | undefined;
3763
+ guests?: number | undefined;
3764
+ items: {
3765
+ id: string;
3766
+ source_ref: {
3767
+ id?: string | undefined;
3768
+ model?: string | undefined;
3769
+ };
3770
+ quantity: number;
3771
+ unit_price: number;
3772
+ total: number;
3773
+ tax_amount: number;
3774
+ tax_rate?: number | undefined;
3775
+ description?: string | undefined;
3776
+ discounts?: {
3777
+ name?: string | undefined;
3778
+ total: number;
3779
+ }[] | undefined;
3780
+ product_id?: string | undefined;
3781
+ accounting_category_id?: string | undefined;
3782
+ }[];
3783
+ service_id?: string | undefined;
3784
+ }[]>;
3785
+ getPaymentMethods(params?: {
3786
+ location_id?: string | undefined;
3787
+ } | undefined): import("../types/api").RequestData<{
3788
+ id: string;
3789
+ source_ref: {
3790
+ id?: string | undefined;
3791
+ model?: string | undefined;
3792
+ };
3793
+ name: string;
3794
+ extra?: string | undefined;
3795
+ ledger_account_code?: string | undefined;
3796
+ }[]>;
3797
+ getClosure(date: string, params?: {
3798
+ location_id?: string | undefined;
3799
+ } | undefined): import("../types/api").RequestData<{
3800
+ date: string;
3801
+ status: "open" | "closed";
3523
3802
  }>;
3803
+ getPayments(params: {
3804
+ date_from: string;
3805
+ date_to: string;
3806
+ }): import("../types/api").RequestData<{
3807
+ id?: string | undefined;
3808
+ source_ref: {
3809
+ id?: string | undefined;
3810
+ model?: string | undefined;
3811
+ };
3812
+ payment_method_id?: string | undefined;
3813
+ payment_method_name?: string | undefined;
3814
+ total: number;
3815
+ tip?: number | undefined;
3816
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
3817
+ currency?: string | undefined;
3818
+ date?: string | undefined;
3819
+ }[]>;
3524
3820
  getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
3525
3821
  id: string;
3822
+ source_ref: {
3823
+ id?: string | undefined;
3824
+ model?: string | undefined;
3825
+ };
3526
3826
  name: string;
3527
3827
  id_parent?: string | undefined;
3528
3828
  code?: string | undefined;
@@ -4007,6 +4307,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
4007
4307
  iban: string;
4008
4308
  };
4009
4309
  } | undefined;
4310
+ shipping_country?: string | undefined;
4010
4311
  lines: {
4011
4312
  line_number?: number | undefined;
4012
4313
  description: string;
@@ -4103,6 +4404,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
4103
4404
  iban: string;
4104
4405
  };
4105
4406
  } | undefined;
4407
+ shipping_country?: string | undefined;
4106
4408
  lines: {
4107
4409
  line_number?: number | undefined;
4108
4410
  description: string;
@@ -4964,6 +5266,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
4964
5266
  id: string;
4965
5267
  name: string;
4966
5268
  selected?: boolean | undefined;
5269
+ vat?: string | undefined;
5270
+ company_number?: string | undefined;
4967
5271
  }[]>;
4968
5272
  }>;
4969
5273
  invoicing: import("../types/api").ApiFor<{
@@ -5693,6 +5997,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
5693
5997
  date_to?: string | undefined;
5694
5998
  updated_after?: string | undefined;
5695
5999
  include_detailed_refunds?: "true" | "false" | undefined;
6000
+ include_product_categories?: "true" | "false" | undefined;
6001
+ include_customer_details?: "true" | "false" | undefined;
5696
6002
  } | undefined): import("../types/api").RequestData<{
5697
6003
  id: string;
5698
6004
  source_ref: {
@@ -5739,8 +6045,9 @@ declare const Consumers: (internalApi: InternalAPI) => {
5739
6045
  created_on?: string | undefined;
5740
6046
  last_updated_on?: string | undefined;
5741
6047
  confirmed_on?: string | undefined;
6048
+ delivery_date?: string | undefined;
5742
6049
  cancelled_on?: string | undefined;
5743
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
6050
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
5744
6051
  discount_amount: number;
5745
6052
  untaxed_amount_without_fees: number;
5746
6053
  tax_amount_without_fees: number;
@@ -5764,6 +6071,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
5764
6071
  id: string;
5765
6072
  sku?: string | undefined;
5766
6073
  name: string;
6074
+ categories?: {
6075
+ id: string;
6076
+ name: string;
6077
+ }[] | undefined;
5767
6078
  } | undefined;
5768
6079
  quantity: number;
5769
6080
  untaxed_amount: number;
@@ -5781,6 +6092,14 @@ declare const Consumers: (internalApi: InternalAPI) => {
5781
6092
  tax_amount: number;
5782
6093
  total: number;
5783
6094
  }[] | undefined;
6095
+ transactions?: {
6096
+ id: string;
6097
+ created_on?: string | undefined;
6098
+ payment_method_id?: string | undefined;
6099
+ payment_method_name?: string | undefined;
6100
+ amount: number;
6101
+ status: "failed" | "pending" | "success";
6102
+ }[] | undefined;
5784
6103
  }[] | undefined;
5785
6104
  currency: string;
5786
6105
  note?: string | undefined;
@@ -5795,6 +6114,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
5795
6114
  id: string;
5796
6115
  sku?: string | undefined;
5797
6116
  name: string;
6117
+ categories?: {
6118
+ id: string;
6119
+ name: string;
6120
+ }[] | undefined;
5798
6121
  } | undefined;
5799
6122
  quantity: number;
5800
6123
  unit_price: number;
@@ -5833,6 +6156,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
5833
6156
  payment_method_id?: string | undefined;
5834
6157
  transactions?: {
5835
6158
  id: string;
6159
+ created_on?: string | undefined;
5836
6160
  payment_method_id?: string | undefined;
5837
6161
  payment_method_name?: string | undefined;
5838
6162
  amount: number;
@@ -5930,8 +6254,9 @@ declare const Consumers: (internalApi: InternalAPI) => {
5930
6254
  created_on?: string | undefined;
5931
6255
  last_updated_on?: string | undefined;
5932
6256
  confirmed_on?: string | undefined;
6257
+ delivery_date?: string | undefined;
5933
6258
  cancelled_on?: string | undefined;
5934
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
6259
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
5935
6260
  discount_amount: number;
5936
6261
  untaxed_amount_without_fees: number;
5937
6262
  tax_amount_without_fees: number;
@@ -5955,6 +6280,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
5955
6280
  id: string;
5956
6281
  sku?: string | undefined;
5957
6282
  name: string;
6283
+ categories?: {
6284
+ id: string;
6285
+ name: string;
6286
+ }[] | undefined;
5958
6287
  } | undefined;
5959
6288
  quantity: number;
5960
6289
  untaxed_amount: number;
@@ -5972,6 +6301,14 @@ declare const Consumers: (internalApi: InternalAPI) => {
5972
6301
  tax_amount: number;
5973
6302
  total: number;
5974
6303
  }[] | undefined;
6304
+ transactions?: {
6305
+ id: string;
6306
+ created_on?: string | undefined;
6307
+ payment_method_id?: string | undefined;
6308
+ payment_method_name?: string | undefined;
6309
+ amount: number;
6310
+ status: "failed" | "pending" | "success";
6311
+ }[] | undefined;
5975
6312
  }[] | undefined;
5976
6313
  currency: string;
5977
6314
  note?: string | undefined;
@@ -5986,6 +6323,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
5986
6323
  id: string;
5987
6324
  sku?: string | undefined;
5988
6325
  name: string;
6326
+ categories?: {
6327
+ id: string;
6328
+ name: string;
6329
+ }[] | undefined;
5989
6330
  } | undefined;
5990
6331
  quantity: number;
5991
6332
  unit_price: number;
@@ -6024,6 +6365,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
6024
6365
  payment_method_id?: string | undefined;
6025
6366
  transactions?: {
6026
6367
  id: string;
6368
+ created_on?: string | undefined;
6027
6369
  payment_method_id?: string | undefined;
6028
6370
  payment_method_name?: string | undefined;
6029
6371
  amount: number;
@@ -6080,8 +6422,9 @@ declare const Consumers: (internalApi: InternalAPI) => {
6080
6422
  created_on?: string | undefined;
6081
6423
  last_updated_on?: string | undefined;
6082
6424
  confirmed_on?: string | undefined;
6425
+ delivery_date?: string | undefined;
6083
6426
  cancelled_on?: string | undefined;
6084
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
6427
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
6085
6428
  discount_amount: number;
6086
6429
  untaxed_amount_without_fees: number;
6087
6430
  tax_amount_without_fees: number;
@@ -6105,6 +6448,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
6105
6448
  id: string;
6106
6449
  sku?: string | undefined;
6107
6450
  name: string;
6451
+ categories?: {
6452
+ id: string;
6453
+ name: string;
6454
+ }[] | undefined;
6108
6455
  } | undefined;
6109
6456
  quantity: number;
6110
6457
  untaxed_amount: number;
@@ -6122,6 +6469,14 @@ declare const Consumers: (internalApi: InternalAPI) => {
6122
6469
  tax_amount: number;
6123
6470
  total: number;
6124
6471
  }[] | undefined;
6472
+ transactions?: {
6473
+ id: string;
6474
+ created_on?: string | undefined;
6475
+ payment_method_id?: string | undefined;
6476
+ payment_method_name?: string | undefined;
6477
+ amount: number;
6478
+ status: "failed" | "pending" | "success";
6479
+ }[] | undefined;
6125
6480
  }[] | undefined;
6126
6481
  currency: string;
6127
6482
  note?: string | undefined;
@@ -6136,6 +6491,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
6136
6491
  id: string;
6137
6492
  sku?: string | undefined;
6138
6493
  name: string;
6494
+ categories?: {
6495
+ id: string;
6496
+ name: string;
6497
+ }[] | undefined;
6139
6498
  } | undefined;
6140
6499
  quantity: number;
6141
6500
  unit_price: number;
@@ -6174,6 +6533,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
6174
6533
  payment_method_id?: string | undefined;
6175
6534
  transactions?: {
6176
6535
  id: string;
6536
+ created_on?: string | undefined;
6177
6537
  payment_method_id?: string | undefined;
6178
6538
  payment_method_name?: string | undefined;
6179
6539
  amount: number;
@@ -6397,6 +6757,27 @@ declare const Consumers: (internalApi: InternalAPI) => {
6397
6757
  total_discount?: number | undefined;
6398
6758
  total_refund?: number | undefined;
6399
6759
  total_tip?: number | undefined;
6760
+ currency?: string | undefined;
6761
+ country?: string | undefined;
6762
+ loyalty?: number | undefined;
6763
+ customer_id?: string | undefined;
6764
+ location_id?: string | undefined;
6765
+ taxes?: {
6766
+ tax_rate: number;
6767
+ tax_amount: number;
6768
+ total: number;
6769
+ }[] | undefined;
6770
+ guests?: number | undefined;
6771
+ payments: {
6772
+ id?: string | undefined;
6773
+ payment_method_id?: string | undefined;
6774
+ payment_method_name?: string | undefined;
6775
+ total: number;
6776
+ tip?: number | undefined;
6777
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
6778
+ currency?: string | undefined;
6779
+ date?: string | undefined;
6780
+ }[];
6400
6781
  items: {
6401
6782
  id: string;
6402
6783
  quantity: number;
@@ -6412,26 +6793,6 @@ declare const Consumers: (internalApi: InternalAPI) => {
6412
6793
  product_id?: string | undefined;
6413
6794
  accounting_category_id?: string | undefined;
6414
6795
  }[];
6415
- payments: {
6416
- id?: string | undefined;
6417
- payment_method_id?: string | undefined;
6418
- payment_method_name?: string | undefined;
6419
- total: number;
6420
- tip?: number | undefined;
6421
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
6422
- currency?: string | undefined;
6423
- date?: string | undefined;
6424
- }[];
6425
- currency?: string | undefined;
6426
- country?: string | undefined;
6427
- loyalty?: number | undefined;
6428
- customer_id?: string | undefined;
6429
- location_id?: string | undefined;
6430
- taxes?: {
6431
- tax_rate: number;
6432
- tax_amount: number;
6433
- total: number;
6434
- }[] | undefined;
6435
6796
  }[]>;
6436
6797
  getCustomers(params?: {
6437
6798
  search?: string | undefined;
@@ -6470,6 +6831,27 @@ declare const Consumers: (internalApi: InternalAPI) => {
6470
6831
  total_discount?: number | undefined;
6471
6832
  total_refund?: number | undefined;
6472
6833
  total_tip?: number | undefined;
6834
+ currency?: string | undefined;
6835
+ country?: string | undefined;
6836
+ loyalty?: number | undefined;
6837
+ customer_id?: string | undefined;
6838
+ location_id?: string | undefined;
6839
+ taxes?: {
6840
+ tax_rate: number;
6841
+ tax_amount: number;
6842
+ total: number;
6843
+ }[] | undefined;
6844
+ guests?: number | undefined;
6845
+ payments: {
6846
+ id?: string | undefined;
6847
+ payment_method_id?: string | undefined;
6848
+ payment_method_name?: string | undefined;
6849
+ total: number;
6850
+ tip?: number | undefined;
6851
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
6852
+ currency?: string | undefined;
6853
+ date?: string | undefined;
6854
+ }[];
6473
6855
  items: {
6474
6856
  id: string;
6475
6857
  quantity: number;
@@ -6485,26 +6867,6 @@ declare const Consumers: (internalApi: InternalAPI) => {
6485
6867
  product_id?: string | undefined;
6486
6868
  accounting_category_id?: string | undefined;
6487
6869
  }[];
6488
- payments: {
6489
- id?: string | undefined;
6490
- payment_method_id?: string | undefined;
6491
- payment_method_name?: string | undefined;
6492
- total: number;
6493
- tip?: number | undefined;
6494
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
6495
- currency?: string | undefined;
6496
- date?: string | undefined;
6497
- }[];
6498
- currency?: string | undefined;
6499
- country?: string | undefined;
6500
- loyalty?: number | undefined;
6501
- customer_id?: string | undefined;
6502
- location_id?: string | undefined;
6503
- taxes?: {
6504
- tax_rate: number;
6505
- tax_amount: number;
6506
- total: number;
6507
- }[] | undefined;
6508
6870
  }>;
6509
6871
  getCustomer(customerId: string): import("../types/api").RequestData<{
6510
6872
  id: string;
@@ -6640,6 +7002,27 @@ declare const Consumers: (internalApi: InternalAPI) => {
6640
7002
  total_discount?: number | undefined;
6641
7003
  total_refund?: number | undefined;
6642
7004
  total_tip?: number | undefined;
7005
+ currency?: string | undefined;
7006
+ country?: string | undefined;
7007
+ loyalty?: number | undefined;
7008
+ customer_id?: string | undefined;
7009
+ location_id?: string | undefined;
7010
+ taxes?: {
7011
+ tax_rate: number;
7012
+ tax_amount: number;
7013
+ total: number;
7014
+ }[] | undefined;
7015
+ guests?: number | undefined;
7016
+ payments: {
7017
+ id?: string | undefined;
7018
+ payment_method_id?: string | undefined;
7019
+ payment_method_name?: string | undefined;
7020
+ total: number;
7021
+ tip?: number | undefined;
7022
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
7023
+ currency?: string | undefined;
7024
+ date?: string | undefined;
7025
+ }[];
6643
7026
  items: {
6644
7027
  id: string;
6645
7028
  quantity: number;
@@ -6655,16 +7038,53 @@ declare const Consumers: (internalApi: InternalAPI) => {
6655
7038
  product_id?: string | undefined;
6656
7039
  accounting_category_id?: string | undefined;
6657
7040
  }[];
6658
- payments: {
7041
+ }>;
7042
+ getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
7043
+ id: string;
7044
+ name: string;
7045
+ id_parent?: string | undefined;
7046
+ code?: string | undefined;
7047
+ ledger_account_code?: string | undefined;
7048
+ posting_account_code?: string | undefined;
7049
+ }[]>;
7050
+ }>;
7051
+ pms: import("../types/api").ApiFor<{
7052
+ getLocations(): import("../types/api").RequestData<{
7053
+ id: string;
7054
+ name: string;
7055
+ timezone?: string | undefined;
7056
+ address?: {
7057
+ address_type?: string | undefined;
7058
+ name?: string | undefined;
7059
+ street?: string | undefined;
7060
+ number?: string | undefined;
7061
+ box?: string | undefined;
7062
+ city?: string | undefined;
7063
+ postal_code?: string | undefined;
7064
+ country?: string | undefined;
7065
+ } | undefined;
7066
+ }[]>;
7067
+ getOrders(params: {
7068
+ date_from: string;
7069
+ date_to: string;
7070
+ location_id?: string | undefined;
7071
+ state?: "closed" | "consumed" | undefined;
7072
+ }): import("../types/api").RequestData<{
7073
+ id: string;
7074
+ source_ref: {
6659
7075
  id?: string | undefined;
6660
- payment_method_id?: string | undefined;
6661
- payment_method_name?: string | undefined;
6662
- total: number;
6663
- tip?: number | undefined;
6664
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
6665
- currency?: string | undefined;
6666
- date?: string | undefined;
6667
- }[];
7076
+ model?: string | undefined;
7077
+ };
7078
+ order_number?: string | undefined;
7079
+ creation_date: string;
7080
+ closing_date?: string | undefined;
7081
+ service_date?: string | undefined;
7082
+ device_id?: string | undefined;
7083
+ total: number;
7084
+ tax_amount: number;
7085
+ total_discount?: number | undefined;
7086
+ total_refund?: number | undefined;
7087
+ total_tip?: number | undefined;
6668
7088
  currency?: string | undefined;
6669
7089
  country?: string | undefined;
6670
7090
  loyalty?: number | undefined;
@@ -6675,9 +7095,69 @@ declare const Consumers: (internalApi: InternalAPI) => {
6675
7095
  tax_amount: number;
6676
7096
  total: number;
6677
7097
  }[] | undefined;
7098
+ guests?: number | undefined;
7099
+ items: {
7100
+ id: string;
7101
+ source_ref: {
7102
+ id?: string | undefined;
7103
+ model?: string | undefined;
7104
+ };
7105
+ quantity: number;
7106
+ unit_price: number;
7107
+ total: number;
7108
+ tax_amount: number;
7109
+ tax_rate?: number | undefined;
7110
+ description?: string | undefined;
7111
+ discounts?: {
7112
+ name?: string | undefined;
7113
+ total: number;
7114
+ }[] | undefined;
7115
+ product_id?: string | undefined;
7116
+ accounting_category_id?: string | undefined;
7117
+ }[];
7118
+ service_id?: string | undefined;
7119
+ }[]>;
7120
+ getPaymentMethods(params?: {
7121
+ location_id?: string | undefined;
7122
+ } | undefined): import("../types/api").RequestData<{
7123
+ id: string;
7124
+ source_ref: {
7125
+ id?: string | undefined;
7126
+ model?: string | undefined;
7127
+ };
7128
+ name: string;
7129
+ extra?: string | undefined;
7130
+ ledger_account_code?: string | undefined;
7131
+ }[]>;
7132
+ getClosure(date: string, params?: {
7133
+ location_id?: string | undefined;
7134
+ } | undefined): import("../types/api").RequestData<{
7135
+ date: string;
7136
+ status: "open" | "closed";
6678
7137
  }>;
7138
+ getPayments(params: {
7139
+ date_from: string;
7140
+ date_to: string;
7141
+ }): import("../types/api").RequestData<{
7142
+ id?: string | undefined;
7143
+ source_ref: {
7144
+ id?: string | undefined;
7145
+ model?: string | undefined;
7146
+ };
7147
+ payment_method_id?: string | undefined;
7148
+ payment_method_name?: string | undefined;
7149
+ total: number;
7150
+ tip?: number | undefined;
7151
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
7152
+ currency?: string | undefined;
7153
+ date?: string | undefined;
7154
+ }[]>;
6679
7155
  getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
6680
7156
  id: string;
7157
+ source_ref: {
7158
+ id?: string | undefined;
7159
+ model?: string | undefined;
7160
+ };
6681
7161
  name: string;
6682
7162
  id_parent?: string | undefined;
6683
7163
  code?: string | undefined;
@@ -7162,6 +7642,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
7162
7642
  iban: string;
7163
7643
  };
7164
7644
  } | undefined;
7645
+ shipping_country?: string | undefined;
7165
7646
  lines: {
7166
7647
  line_number?: number | undefined;
7167
7648
  description: string;
@@ -7258,6 +7739,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
7258
7739
  iban: string;
7259
7740
  };
7260
7741
  } | undefined;
7742
+ shipping_country?: string | undefined;
7261
7743
  lines: {
7262
7744
  line_number?: number | undefined;
7263
7745
  description: string;
@@ -8119,6 +8601,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
8119
8601
  id: string;
8120
8602
  name: string;
8121
8603
  selected?: boolean | undefined;
8604
+ vat?: string | undefined;
8605
+ company_number?: string | undefined;
8122
8606
  }[]>;
8123
8607
  }>;
8124
8608
  invoicing: import("../types/api").ApiFor<{
@@ -8848,6 +9332,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
8848
9332
  date_to?: string | undefined;
8849
9333
  updated_after?: string | undefined;
8850
9334
  include_detailed_refunds?: "true" | "false" | undefined;
9335
+ include_product_categories?: "true" | "false" | undefined;
9336
+ include_customer_details?: "true" | "false" | undefined;
8851
9337
  } | undefined): import("../types/api").RequestData<{
8852
9338
  id: string;
8853
9339
  source_ref: {
@@ -8894,8 +9380,9 @@ declare const Consumers: (internalApi: InternalAPI) => {
8894
9380
  created_on?: string | undefined;
8895
9381
  last_updated_on?: string | undefined;
8896
9382
  confirmed_on?: string | undefined;
9383
+ delivery_date?: string | undefined;
8897
9384
  cancelled_on?: string | undefined;
8898
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
9385
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
8899
9386
  discount_amount: number;
8900
9387
  untaxed_amount_without_fees: number;
8901
9388
  tax_amount_without_fees: number;
@@ -8919,6 +9406,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
8919
9406
  id: string;
8920
9407
  sku?: string | undefined;
8921
9408
  name: string;
9409
+ categories?: {
9410
+ id: string;
9411
+ name: string;
9412
+ }[] | undefined;
8922
9413
  } | undefined;
8923
9414
  quantity: number;
8924
9415
  untaxed_amount: number;
@@ -8936,6 +9427,14 @@ declare const Consumers: (internalApi: InternalAPI) => {
8936
9427
  tax_amount: number;
8937
9428
  total: number;
8938
9429
  }[] | undefined;
9430
+ transactions?: {
9431
+ id: string;
9432
+ created_on?: string | undefined;
9433
+ payment_method_id?: string | undefined;
9434
+ payment_method_name?: string | undefined;
9435
+ amount: number;
9436
+ status: "failed" | "pending" | "success";
9437
+ }[] | undefined;
8939
9438
  }[] | undefined;
8940
9439
  currency: string;
8941
9440
  note?: string | undefined;
@@ -8950,6 +9449,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
8950
9449
  id: string;
8951
9450
  sku?: string | undefined;
8952
9451
  name: string;
9452
+ categories?: {
9453
+ id: string;
9454
+ name: string;
9455
+ }[] | undefined;
8953
9456
  } | undefined;
8954
9457
  quantity: number;
8955
9458
  unit_price: number;
@@ -8988,6 +9491,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
8988
9491
  payment_method_id?: string | undefined;
8989
9492
  transactions?: {
8990
9493
  id: string;
9494
+ created_on?: string | undefined;
8991
9495
  payment_method_id?: string | undefined;
8992
9496
  payment_method_name?: string | undefined;
8993
9497
  amount: number;
@@ -9085,8 +9589,9 @@ declare const Consumers: (internalApi: InternalAPI) => {
9085
9589
  created_on?: string | undefined;
9086
9590
  last_updated_on?: string | undefined;
9087
9591
  confirmed_on?: string | undefined;
9592
+ delivery_date?: string | undefined;
9088
9593
  cancelled_on?: string | undefined;
9089
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
9594
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
9090
9595
  discount_amount: number;
9091
9596
  untaxed_amount_without_fees: number;
9092
9597
  tax_amount_without_fees: number;
@@ -9110,6 +9615,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
9110
9615
  id: string;
9111
9616
  sku?: string | undefined;
9112
9617
  name: string;
9618
+ categories?: {
9619
+ id: string;
9620
+ name: string;
9621
+ }[] | undefined;
9113
9622
  } | undefined;
9114
9623
  quantity: number;
9115
9624
  untaxed_amount: number;
@@ -9127,6 +9636,14 @@ declare const Consumers: (internalApi: InternalAPI) => {
9127
9636
  tax_amount: number;
9128
9637
  total: number;
9129
9638
  }[] | undefined;
9639
+ transactions?: {
9640
+ id: string;
9641
+ created_on?: string | undefined;
9642
+ payment_method_id?: string | undefined;
9643
+ payment_method_name?: string | undefined;
9644
+ amount: number;
9645
+ status: "failed" | "pending" | "success";
9646
+ }[] | undefined;
9130
9647
  }[] | undefined;
9131
9648
  currency: string;
9132
9649
  note?: string | undefined;
@@ -9141,6 +9658,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
9141
9658
  id: string;
9142
9659
  sku?: string | undefined;
9143
9660
  name: string;
9661
+ categories?: {
9662
+ id: string;
9663
+ name: string;
9664
+ }[] | undefined;
9144
9665
  } | undefined;
9145
9666
  quantity: number;
9146
9667
  unit_price: number;
@@ -9179,6 +9700,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
9179
9700
  payment_method_id?: string | undefined;
9180
9701
  transactions?: {
9181
9702
  id: string;
9703
+ created_on?: string | undefined;
9182
9704
  payment_method_id?: string | undefined;
9183
9705
  payment_method_name?: string | undefined;
9184
9706
  amount: number;
@@ -9235,8 +9757,9 @@ declare const Consumers: (internalApi: InternalAPI) => {
9235
9757
  created_on?: string | undefined;
9236
9758
  last_updated_on?: string | undefined;
9237
9759
  confirmed_on?: string | undefined;
9760
+ delivery_date?: string | undefined;
9238
9761
  cancelled_on?: string | undefined;
9239
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
9762
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
9240
9763
  discount_amount: number;
9241
9764
  untaxed_amount_without_fees: number;
9242
9765
  tax_amount_without_fees: number;
@@ -9260,6 +9783,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
9260
9783
  id: string;
9261
9784
  sku?: string | undefined;
9262
9785
  name: string;
9786
+ categories?: {
9787
+ id: string;
9788
+ name: string;
9789
+ }[] | undefined;
9263
9790
  } | undefined;
9264
9791
  quantity: number;
9265
9792
  untaxed_amount: number;
@@ -9277,6 +9804,14 @@ declare const Consumers: (internalApi: InternalAPI) => {
9277
9804
  tax_amount: number;
9278
9805
  total: number;
9279
9806
  }[] | undefined;
9807
+ transactions?: {
9808
+ id: string;
9809
+ created_on?: string | undefined;
9810
+ payment_method_id?: string | undefined;
9811
+ payment_method_name?: string | undefined;
9812
+ amount: number;
9813
+ status: "failed" | "pending" | "success";
9814
+ }[] | undefined;
9280
9815
  }[] | undefined;
9281
9816
  currency: string;
9282
9817
  note?: string | undefined;
@@ -9291,6 +9826,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
9291
9826
  id: string;
9292
9827
  sku?: string | undefined;
9293
9828
  name: string;
9829
+ categories?: {
9830
+ id: string;
9831
+ name: string;
9832
+ }[] | undefined;
9294
9833
  } | undefined;
9295
9834
  quantity: number;
9296
9835
  unit_price: number;
@@ -9329,6 +9868,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
9329
9868
  payment_method_id?: string | undefined;
9330
9869
  transactions?: {
9331
9870
  id: string;
9871
+ created_on?: string | undefined;
9332
9872
  payment_method_id?: string | undefined;
9333
9873
  payment_method_name?: string | undefined;
9334
9874
  amount: number;
@@ -9552,6 +10092,27 @@ declare const Consumers: (internalApi: InternalAPI) => {
9552
10092
  total_discount?: number | undefined;
9553
10093
  total_refund?: number | undefined;
9554
10094
  total_tip?: number | undefined;
10095
+ currency?: string | undefined;
10096
+ country?: string | undefined;
10097
+ loyalty?: number | undefined;
10098
+ customer_id?: string | undefined;
10099
+ location_id?: string | undefined;
10100
+ taxes?: {
10101
+ tax_rate: number;
10102
+ tax_amount: number;
10103
+ total: number;
10104
+ }[] | undefined;
10105
+ guests?: number | undefined;
10106
+ payments: {
10107
+ id?: string | undefined;
10108
+ payment_method_id?: string | undefined;
10109
+ payment_method_name?: string | undefined;
10110
+ total: number;
10111
+ tip?: number | undefined;
10112
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
10113
+ currency?: string | undefined;
10114
+ date?: string | undefined;
10115
+ }[];
9555
10116
  items: {
9556
10117
  id: string;
9557
10118
  quantity: number;
@@ -9567,26 +10128,6 @@ declare const Consumers: (internalApi: InternalAPI) => {
9567
10128
  product_id?: string | undefined;
9568
10129
  accounting_category_id?: string | undefined;
9569
10130
  }[];
9570
- payments: {
9571
- id?: string | undefined;
9572
- payment_method_id?: string | undefined;
9573
- payment_method_name?: string | undefined;
9574
- total: number;
9575
- tip?: number | undefined;
9576
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
9577
- currency?: string | undefined;
9578
- date?: string | undefined;
9579
- }[];
9580
- currency?: string | undefined;
9581
- country?: string | undefined;
9582
- loyalty?: number | undefined;
9583
- customer_id?: string | undefined;
9584
- location_id?: string | undefined;
9585
- taxes?: {
9586
- tax_rate: number;
9587
- tax_amount: number;
9588
- total: number;
9589
- }[] | undefined;
9590
10131
  }[]>;
9591
10132
  getCustomers(params?: {
9592
10133
  search?: string | undefined;
@@ -9625,6 +10166,27 @@ declare const Consumers: (internalApi: InternalAPI) => {
9625
10166
  total_discount?: number | undefined;
9626
10167
  total_refund?: number | undefined;
9627
10168
  total_tip?: number | undefined;
10169
+ currency?: string | undefined;
10170
+ country?: string | undefined;
10171
+ loyalty?: number | undefined;
10172
+ customer_id?: string | undefined;
10173
+ location_id?: string | undefined;
10174
+ taxes?: {
10175
+ tax_rate: number;
10176
+ tax_amount: number;
10177
+ total: number;
10178
+ }[] | undefined;
10179
+ guests?: number | undefined;
10180
+ payments: {
10181
+ id?: string | undefined;
10182
+ payment_method_id?: string | undefined;
10183
+ payment_method_name?: string | undefined;
10184
+ total: number;
10185
+ tip?: number | undefined;
10186
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
10187
+ currency?: string | undefined;
10188
+ date?: string | undefined;
10189
+ }[];
9628
10190
  items: {
9629
10191
  id: string;
9630
10192
  quantity: number;
@@ -9640,26 +10202,6 @@ declare const Consumers: (internalApi: InternalAPI) => {
9640
10202
  product_id?: string | undefined;
9641
10203
  accounting_category_id?: string | undefined;
9642
10204
  }[];
9643
- payments: {
9644
- id?: string | undefined;
9645
- payment_method_id?: string | undefined;
9646
- payment_method_name?: string | undefined;
9647
- total: number;
9648
- tip?: number | undefined;
9649
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
9650
- currency?: string | undefined;
9651
- date?: string | undefined;
9652
- }[];
9653
- currency?: string | undefined;
9654
- country?: string | undefined;
9655
- loyalty?: number | undefined;
9656
- customer_id?: string | undefined;
9657
- location_id?: string | undefined;
9658
- taxes?: {
9659
- tax_rate: number;
9660
- tax_amount: number;
9661
- total: number;
9662
- }[] | undefined;
9663
10205
  }>;
9664
10206
  getCustomer(customerId: string): import("../types/api").RequestData<{
9665
10207
  id: string;
@@ -9795,6 +10337,27 @@ declare const Consumers: (internalApi: InternalAPI) => {
9795
10337
  total_discount?: number | undefined;
9796
10338
  total_refund?: number | undefined;
9797
10339
  total_tip?: number | undefined;
10340
+ currency?: string | undefined;
10341
+ country?: string | undefined;
10342
+ loyalty?: number | undefined;
10343
+ customer_id?: string | undefined;
10344
+ location_id?: string | undefined;
10345
+ taxes?: {
10346
+ tax_rate: number;
10347
+ tax_amount: number;
10348
+ total: number;
10349
+ }[] | undefined;
10350
+ guests?: number | undefined;
10351
+ payments: {
10352
+ id?: string | undefined;
10353
+ payment_method_id?: string | undefined;
10354
+ payment_method_name?: string | undefined;
10355
+ total: number;
10356
+ tip?: number | undefined;
10357
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
10358
+ currency?: string | undefined;
10359
+ date?: string | undefined;
10360
+ }[];
9798
10361
  items: {
9799
10362
  id: string;
9800
10363
  quantity: number;
@@ -9810,16 +10373,53 @@ declare const Consumers: (internalApi: InternalAPI) => {
9810
10373
  product_id?: string | undefined;
9811
10374
  accounting_category_id?: string | undefined;
9812
10375
  }[];
9813
- payments: {
10376
+ }>;
10377
+ getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
10378
+ id: string;
10379
+ name: string;
10380
+ id_parent?: string | undefined;
10381
+ code?: string | undefined;
10382
+ ledger_account_code?: string | undefined;
10383
+ posting_account_code?: string | undefined;
10384
+ }[]>;
10385
+ }>;
10386
+ pms: import("../types/api").ApiFor<{
10387
+ getLocations(): import("../types/api").RequestData<{
10388
+ id: string;
10389
+ name: string;
10390
+ timezone?: string | undefined;
10391
+ address?: {
10392
+ address_type?: string | undefined;
10393
+ name?: string | undefined;
10394
+ street?: string | undefined;
10395
+ number?: string | undefined;
10396
+ box?: string | undefined;
10397
+ city?: string | undefined;
10398
+ postal_code?: string | undefined;
10399
+ country?: string | undefined;
10400
+ } | undefined;
10401
+ }[]>;
10402
+ getOrders(params: {
10403
+ date_from: string;
10404
+ date_to: string;
10405
+ location_id?: string | undefined;
10406
+ state?: "closed" | "consumed" | undefined;
10407
+ }): import("../types/api").RequestData<{
10408
+ id: string;
10409
+ source_ref: {
9814
10410
  id?: string | undefined;
9815
- payment_method_id?: string | undefined;
9816
- payment_method_name?: string | undefined;
9817
- total: number;
9818
- tip?: number | undefined;
9819
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
9820
- currency?: string | undefined;
9821
- date?: string | undefined;
9822
- }[];
10411
+ model?: string | undefined;
10412
+ };
10413
+ order_number?: string | undefined;
10414
+ creation_date: string;
10415
+ closing_date?: string | undefined;
10416
+ service_date?: string | undefined;
10417
+ device_id?: string | undefined;
10418
+ total: number;
10419
+ tax_amount: number;
10420
+ total_discount?: number | undefined;
10421
+ total_refund?: number | undefined;
10422
+ total_tip?: number | undefined;
9823
10423
  currency?: string | undefined;
9824
10424
  country?: string | undefined;
9825
10425
  loyalty?: number | undefined;
@@ -9830,9 +10430,69 @@ declare const Consumers: (internalApi: InternalAPI) => {
9830
10430
  tax_amount: number;
9831
10431
  total: number;
9832
10432
  }[] | undefined;
10433
+ guests?: number | undefined;
10434
+ items: {
10435
+ id: string;
10436
+ source_ref: {
10437
+ id?: string | undefined;
10438
+ model?: string | undefined;
10439
+ };
10440
+ quantity: number;
10441
+ unit_price: number;
10442
+ total: number;
10443
+ tax_amount: number;
10444
+ tax_rate?: number | undefined;
10445
+ description?: string | undefined;
10446
+ discounts?: {
10447
+ name?: string | undefined;
10448
+ total: number;
10449
+ }[] | undefined;
10450
+ product_id?: string | undefined;
10451
+ accounting_category_id?: string | undefined;
10452
+ }[];
10453
+ service_id?: string | undefined;
10454
+ }[]>;
10455
+ getPaymentMethods(params?: {
10456
+ location_id?: string | undefined;
10457
+ } | undefined): import("../types/api").RequestData<{
10458
+ id: string;
10459
+ source_ref: {
10460
+ id?: string | undefined;
10461
+ model?: string | undefined;
10462
+ };
10463
+ name: string;
10464
+ extra?: string | undefined;
10465
+ ledger_account_code?: string | undefined;
10466
+ }[]>;
10467
+ getClosure(date: string, params?: {
10468
+ location_id?: string | undefined;
10469
+ } | undefined): import("../types/api").RequestData<{
10470
+ date: string;
10471
+ status: "open" | "closed";
9833
10472
  }>;
10473
+ getPayments(params: {
10474
+ date_from: string;
10475
+ date_to: string;
10476
+ }): import("../types/api").RequestData<{
10477
+ id?: string | undefined;
10478
+ source_ref: {
10479
+ id?: string | undefined;
10480
+ model?: string | undefined;
10481
+ };
10482
+ payment_method_id?: string | undefined;
10483
+ payment_method_name?: string | undefined;
10484
+ total: number;
10485
+ tip?: number | undefined;
10486
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
10487
+ currency?: string | undefined;
10488
+ date?: string | undefined;
10489
+ }[]>;
9834
10490
  getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
9835
10491
  id: string;
10492
+ source_ref: {
10493
+ id?: string | undefined;
10494
+ model?: string | undefined;
10495
+ };
9836
10496
  name: string;
9837
10497
  id_parent?: string | undefined;
9838
10498
  code?: string | undefined;
@@ -10317,6 +10977,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
10317
10977
  iban: string;
10318
10978
  };
10319
10979
  } | undefined;
10980
+ shipping_country?: string | undefined;
10320
10981
  lines: {
10321
10982
  line_number?: number | undefined;
10322
10983
  description: string;
@@ -10413,6 +11074,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
10413
11074
  iban: string;
10414
11075
  };
10415
11076
  } | undefined;
11077
+ shipping_country?: string | undefined;
10416
11078
  lines: {
10417
11079
  line_number?: number | undefined;
10418
11080
  description: string;
@@ -11274,6 +11936,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
11274
11936
  id: string;
11275
11937
  name: string;
11276
11938
  selected?: boolean | undefined;
11939
+ vat?: string | undefined;
11940
+ company_number?: string | undefined;
11277
11941
  }[]>;
11278
11942
  }>;
11279
11943
  invoicing: import("../types/api").ApiFor<{
@@ -12003,6 +12667,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
12003
12667
  date_to?: string | undefined;
12004
12668
  updated_after?: string | undefined;
12005
12669
  include_detailed_refunds?: "true" | "false" | undefined;
12670
+ include_product_categories?: "true" | "false" | undefined;
12671
+ include_customer_details?: "true" | "false" | undefined;
12006
12672
  } | undefined): import("../types/api").RequestData<{
12007
12673
  id: string;
12008
12674
  source_ref: {
@@ -12049,8 +12715,9 @@ declare const Consumers: (internalApi: InternalAPI) => {
12049
12715
  created_on?: string | undefined;
12050
12716
  last_updated_on?: string | undefined;
12051
12717
  confirmed_on?: string | undefined;
12718
+ delivery_date?: string | undefined;
12052
12719
  cancelled_on?: string | undefined;
12053
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
12720
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
12054
12721
  discount_amount: number;
12055
12722
  untaxed_amount_without_fees: number;
12056
12723
  tax_amount_without_fees: number;
@@ -12074,6 +12741,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
12074
12741
  id: string;
12075
12742
  sku?: string | undefined;
12076
12743
  name: string;
12744
+ categories?: {
12745
+ id: string;
12746
+ name: string;
12747
+ }[] | undefined;
12077
12748
  } | undefined;
12078
12749
  quantity: number;
12079
12750
  untaxed_amount: number;
@@ -12091,6 +12762,14 @@ declare const Consumers: (internalApi: InternalAPI) => {
12091
12762
  tax_amount: number;
12092
12763
  total: number;
12093
12764
  }[] | undefined;
12765
+ transactions?: {
12766
+ id: string;
12767
+ created_on?: string | undefined;
12768
+ payment_method_id?: string | undefined;
12769
+ payment_method_name?: string | undefined;
12770
+ amount: number;
12771
+ status: "failed" | "pending" | "success";
12772
+ }[] | undefined;
12094
12773
  }[] | undefined;
12095
12774
  currency: string;
12096
12775
  note?: string | undefined;
@@ -12105,6 +12784,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
12105
12784
  id: string;
12106
12785
  sku?: string | undefined;
12107
12786
  name: string;
12787
+ categories?: {
12788
+ id: string;
12789
+ name: string;
12790
+ }[] | undefined;
12108
12791
  } | undefined;
12109
12792
  quantity: number;
12110
12793
  unit_price: number;
@@ -12143,6 +12826,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
12143
12826
  payment_method_id?: string | undefined;
12144
12827
  transactions?: {
12145
12828
  id: string;
12829
+ created_on?: string | undefined;
12146
12830
  payment_method_id?: string | undefined;
12147
12831
  payment_method_name?: string | undefined;
12148
12832
  amount: number;
@@ -12240,8 +12924,9 @@ declare const Consumers: (internalApi: InternalAPI) => {
12240
12924
  created_on?: string | undefined;
12241
12925
  last_updated_on?: string | undefined;
12242
12926
  confirmed_on?: string | undefined;
12927
+ delivery_date?: string | undefined;
12243
12928
  cancelled_on?: string | undefined;
12244
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
12929
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
12245
12930
  discount_amount: number;
12246
12931
  untaxed_amount_without_fees: number;
12247
12932
  tax_amount_without_fees: number;
@@ -12265,6 +12950,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
12265
12950
  id: string;
12266
12951
  sku?: string | undefined;
12267
12952
  name: string;
12953
+ categories?: {
12954
+ id: string;
12955
+ name: string;
12956
+ }[] | undefined;
12268
12957
  } | undefined;
12269
12958
  quantity: number;
12270
12959
  untaxed_amount: number;
@@ -12282,6 +12971,14 @@ declare const Consumers: (internalApi: InternalAPI) => {
12282
12971
  tax_amount: number;
12283
12972
  total: number;
12284
12973
  }[] | undefined;
12974
+ transactions?: {
12975
+ id: string;
12976
+ created_on?: string | undefined;
12977
+ payment_method_id?: string | undefined;
12978
+ payment_method_name?: string | undefined;
12979
+ amount: number;
12980
+ status: "failed" | "pending" | "success";
12981
+ }[] | undefined;
12285
12982
  }[] | undefined;
12286
12983
  currency: string;
12287
12984
  note?: string | undefined;
@@ -12296,6 +12993,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
12296
12993
  id: string;
12297
12994
  sku?: string | undefined;
12298
12995
  name: string;
12996
+ categories?: {
12997
+ id: string;
12998
+ name: string;
12999
+ }[] | undefined;
12299
13000
  } | undefined;
12300
13001
  quantity: number;
12301
13002
  unit_price: number;
@@ -12334,6 +13035,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
12334
13035
  payment_method_id?: string | undefined;
12335
13036
  transactions?: {
12336
13037
  id: string;
13038
+ created_on?: string | undefined;
12337
13039
  payment_method_id?: string | undefined;
12338
13040
  payment_method_name?: string | undefined;
12339
13041
  amount: number;
@@ -12390,8 +13092,9 @@ declare const Consumers: (internalApi: InternalAPI) => {
12390
13092
  created_on?: string | undefined;
12391
13093
  last_updated_on?: string | undefined;
12392
13094
  confirmed_on?: string | undefined;
13095
+ delivery_date?: string | undefined;
12393
13096
  cancelled_on?: string | undefined;
12394
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
13097
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
12395
13098
  discount_amount: number;
12396
13099
  untaxed_amount_without_fees: number;
12397
13100
  tax_amount_without_fees: number;
@@ -12415,6 +13118,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
12415
13118
  id: string;
12416
13119
  sku?: string | undefined;
12417
13120
  name: string;
13121
+ categories?: {
13122
+ id: string;
13123
+ name: string;
13124
+ }[] | undefined;
12418
13125
  } | undefined;
12419
13126
  quantity: number;
12420
13127
  untaxed_amount: number;
@@ -12432,6 +13139,14 @@ declare const Consumers: (internalApi: InternalAPI) => {
12432
13139
  tax_amount: number;
12433
13140
  total: number;
12434
13141
  }[] | undefined;
13142
+ transactions?: {
13143
+ id: string;
13144
+ created_on?: string | undefined;
13145
+ payment_method_id?: string | undefined;
13146
+ payment_method_name?: string | undefined;
13147
+ amount: number;
13148
+ status: "failed" | "pending" | "success";
13149
+ }[] | undefined;
12435
13150
  }[] | undefined;
12436
13151
  currency: string;
12437
13152
  note?: string | undefined;
@@ -12446,6 +13161,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
12446
13161
  id: string;
12447
13162
  sku?: string | undefined;
12448
13163
  name: string;
13164
+ categories?: {
13165
+ id: string;
13166
+ name: string;
13167
+ }[] | undefined;
12449
13168
  } | undefined;
12450
13169
  quantity: number;
12451
13170
  unit_price: number;
@@ -12484,6 +13203,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
12484
13203
  payment_method_id?: string | undefined;
12485
13204
  transactions?: {
12486
13205
  id: string;
13206
+ created_on?: string | undefined;
12487
13207
  payment_method_id?: string | undefined;
12488
13208
  payment_method_name?: string | undefined;
12489
13209
  amount: number;
@@ -12707,6 +13427,27 @@ declare const Consumers: (internalApi: InternalAPI) => {
12707
13427
  total_discount?: number | undefined;
12708
13428
  total_refund?: number | undefined;
12709
13429
  total_tip?: number | undefined;
13430
+ currency?: string | undefined;
13431
+ country?: string | undefined;
13432
+ loyalty?: number | undefined;
13433
+ customer_id?: string | undefined;
13434
+ location_id?: string | undefined;
13435
+ taxes?: {
13436
+ tax_rate: number;
13437
+ tax_amount: number;
13438
+ total: number;
13439
+ }[] | undefined;
13440
+ guests?: number | undefined;
13441
+ payments: {
13442
+ id?: string | undefined;
13443
+ payment_method_id?: string | undefined;
13444
+ payment_method_name?: string | undefined;
13445
+ total: number;
13446
+ tip?: number | undefined;
13447
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
13448
+ currency?: string | undefined;
13449
+ date?: string | undefined;
13450
+ }[];
12710
13451
  items: {
12711
13452
  id: string;
12712
13453
  quantity: number;
@@ -12722,26 +13463,6 @@ declare const Consumers: (internalApi: InternalAPI) => {
12722
13463
  product_id?: string | undefined;
12723
13464
  accounting_category_id?: string | undefined;
12724
13465
  }[];
12725
- payments: {
12726
- id?: string | undefined;
12727
- payment_method_id?: string | undefined;
12728
- payment_method_name?: string | undefined;
12729
- total: number;
12730
- tip?: number | undefined;
12731
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
12732
- currency?: string | undefined;
12733
- date?: string | undefined;
12734
- }[];
12735
- currency?: string | undefined;
12736
- country?: string | undefined;
12737
- loyalty?: number | undefined;
12738
- customer_id?: string | undefined;
12739
- location_id?: string | undefined;
12740
- taxes?: {
12741
- tax_rate: number;
12742
- tax_amount: number;
12743
- total: number;
12744
- }[] | undefined;
12745
13466
  }[]>;
12746
13467
  getCustomers(params?: {
12747
13468
  search?: string | undefined;
@@ -12780,6 +13501,27 @@ declare const Consumers: (internalApi: InternalAPI) => {
12780
13501
  total_discount?: number | undefined;
12781
13502
  total_refund?: number | undefined;
12782
13503
  total_tip?: number | undefined;
13504
+ currency?: string | undefined;
13505
+ country?: string | undefined;
13506
+ loyalty?: number | undefined;
13507
+ customer_id?: string | undefined;
13508
+ location_id?: string | undefined;
13509
+ taxes?: {
13510
+ tax_rate: number;
13511
+ tax_amount: number;
13512
+ total: number;
13513
+ }[] | undefined;
13514
+ guests?: number | undefined;
13515
+ payments: {
13516
+ id?: string | undefined;
13517
+ payment_method_id?: string | undefined;
13518
+ payment_method_name?: string | undefined;
13519
+ total: number;
13520
+ tip?: number | undefined;
13521
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
13522
+ currency?: string | undefined;
13523
+ date?: string | undefined;
13524
+ }[];
12783
13525
  items: {
12784
13526
  id: string;
12785
13527
  quantity: number;
@@ -12795,26 +13537,6 @@ declare const Consumers: (internalApi: InternalAPI) => {
12795
13537
  product_id?: string | undefined;
12796
13538
  accounting_category_id?: string | undefined;
12797
13539
  }[];
12798
- payments: {
12799
- id?: string | undefined;
12800
- payment_method_id?: string | undefined;
12801
- payment_method_name?: string | undefined;
12802
- total: number;
12803
- tip?: number | undefined;
12804
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
12805
- currency?: string | undefined;
12806
- date?: string | undefined;
12807
- }[];
12808
- currency?: string | undefined;
12809
- country?: string | undefined;
12810
- loyalty?: number | undefined;
12811
- customer_id?: string | undefined;
12812
- location_id?: string | undefined;
12813
- taxes?: {
12814
- tax_rate: number;
12815
- tax_amount: number;
12816
- total: number;
12817
- }[] | undefined;
12818
13540
  }>;
12819
13541
  getCustomer(customerId: string): import("../types/api").RequestData<{
12820
13542
  id: string;
@@ -12950,6 +13672,27 @@ declare const Consumers: (internalApi: InternalAPI) => {
12950
13672
  total_discount?: number | undefined;
12951
13673
  total_refund?: number | undefined;
12952
13674
  total_tip?: number | undefined;
13675
+ currency?: string | undefined;
13676
+ country?: string | undefined;
13677
+ loyalty?: number | undefined;
13678
+ customer_id?: string | undefined;
13679
+ location_id?: string | undefined;
13680
+ taxes?: {
13681
+ tax_rate: number;
13682
+ tax_amount: number;
13683
+ total: number;
13684
+ }[] | undefined;
13685
+ guests?: number | undefined;
13686
+ payments: {
13687
+ id?: string | undefined;
13688
+ payment_method_id?: string | undefined;
13689
+ payment_method_name?: string | undefined;
13690
+ total: number;
13691
+ tip?: number | undefined;
13692
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
13693
+ currency?: string | undefined;
13694
+ date?: string | undefined;
13695
+ }[];
12953
13696
  items: {
12954
13697
  id: string;
12955
13698
  quantity: number;
@@ -12965,16 +13708,53 @@ declare const Consumers: (internalApi: InternalAPI) => {
12965
13708
  product_id?: string | undefined;
12966
13709
  accounting_category_id?: string | undefined;
12967
13710
  }[];
12968
- payments: {
13711
+ }>;
13712
+ getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
13713
+ id: string;
13714
+ name: string;
13715
+ id_parent?: string | undefined;
13716
+ code?: string | undefined;
13717
+ ledger_account_code?: string | undefined;
13718
+ posting_account_code?: string | undefined;
13719
+ }[]>;
13720
+ }>;
13721
+ pms: import("../types/api").ApiFor<{
13722
+ getLocations(): import("../types/api").RequestData<{
13723
+ id: string;
13724
+ name: string;
13725
+ timezone?: string | undefined;
13726
+ address?: {
13727
+ address_type?: string | undefined;
13728
+ name?: string | undefined;
13729
+ street?: string | undefined;
13730
+ number?: string | undefined;
13731
+ box?: string | undefined;
13732
+ city?: string | undefined;
13733
+ postal_code?: string | undefined;
13734
+ country?: string | undefined;
13735
+ } | undefined;
13736
+ }[]>;
13737
+ getOrders(params: {
13738
+ date_from: string;
13739
+ date_to: string;
13740
+ location_id?: string | undefined;
13741
+ state?: "closed" | "consumed" | undefined;
13742
+ }): import("../types/api").RequestData<{
13743
+ id: string;
13744
+ source_ref: {
12969
13745
  id?: string | undefined;
12970
- payment_method_id?: string | undefined;
12971
- payment_method_name?: string | undefined;
12972
- total: number;
12973
- tip?: number | undefined;
12974
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
12975
- currency?: string | undefined;
12976
- date?: string | undefined;
12977
- }[];
13746
+ model?: string | undefined;
13747
+ };
13748
+ order_number?: string | undefined;
13749
+ creation_date: string;
13750
+ closing_date?: string | undefined;
13751
+ service_date?: string | undefined;
13752
+ device_id?: string | undefined;
13753
+ total: number;
13754
+ tax_amount: number;
13755
+ total_discount?: number | undefined;
13756
+ total_refund?: number | undefined;
13757
+ total_tip?: number | undefined;
12978
13758
  currency?: string | undefined;
12979
13759
  country?: string | undefined;
12980
13760
  loyalty?: number | undefined;
@@ -12985,9 +13765,69 @@ declare const Consumers: (internalApi: InternalAPI) => {
12985
13765
  tax_amount: number;
12986
13766
  total: number;
12987
13767
  }[] | undefined;
13768
+ guests?: number | undefined;
13769
+ items: {
13770
+ id: string;
13771
+ source_ref: {
13772
+ id?: string | undefined;
13773
+ model?: string | undefined;
13774
+ };
13775
+ quantity: number;
13776
+ unit_price: number;
13777
+ total: number;
13778
+ tax_amount: number;
13779
+ tax_rate?: number | undefined;
13780
+ description?: string | undefined;
13781
+ discounts?: {
13782
+ name?: string | undefined;
13783
+ total: number;
13784
+ }[] | undefined;
13785
+ product_id?: string | undefined;
13786
+ accounting_category_id?: string | undefined;
13787
+ }[];
13788
+ service_id?: string | undefined;
13789
+ }[]>;
13790
+ getPaymentMethods(params?: {
13791
+ location_id?: string | undefined;
13792
+ } | undefined): import("../types/api").RequestData<{
13793
+ id: string;
13794
+ source_ref: {
13795
+ id?: string | undefined;
13796
+ model?: string | undefined;
13797
+ };
13798
+ name: string;
13799
+ extra?: string | undefined;
13800
+ ledger_account_code?: string | undefined;
13801
+ }[]>;
13802
+ getClosure(date: string, params?: {
13803
+ location_id?: string | undefined;
13804
+ } | undefined): import("../types/api").RequestData<{
13805
+ date: string;
13806
+ status: "open" | "closed";
12988
13807
  }>;
13808
+ getPayments(params: {
13809
+ date_from: string;
13810
+ date_to: string;
13811
+ }): import("../types/api").RequestData<{
13812
+ id?: string | undefined;
13813
+ source_ref: {
13814
+ id?: string | undefined;
13815
+ model?: string | undefined;
13816
+ };
13817
+ payment_method_id?: string | undefined;
13818
+ payment_method_name?: string | undefined;
13819
+ total: number;
13820
+ tip?: number | undefined;
13821
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
13822
+ currency?: string | undefined;
13823
+ date?: string | undefined;
13824
+ }[]>;
12989
13825
  getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
12990
13826
  id: string;
13827
+ source_ref: {
13828
+ id?: string | undefined;
13829
+ model?: string | undefined;
13830
+ };
12991
13831
  name: string;
12992
13832
  id_parent?: string | undefined;
12993
13833
  code?: string | undefined;
@@ -13472,6 +14312,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
13472
14312
  iban: string;
13473
14313
  };
13474
14314
  } | undefined;
14315
+ shipping_country?: string | undefined;
13475
14316
  lines: {
13476
14317
  line_number?: number | undefined;
13477
14318
  description: string;
@@ -13568,6 +14409,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
13568
14409
  iban: string;
13569
14410
  };
13570
14411
  } | undefined;
14412
+ shipping_country?: string | undefined;
13571
14413
  lines: {
13572
14414
  line_number?: number | undefined;
13573
14415
  description: string;
@@ -14429,6 +15271,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
14429
15271
  id: string;
14430
15272
  name: string;
14431
15273
  selected?: boolean | undefined;
15274
+ vat?: string | undefined;
15275
+ company_number?: string | undefined;
14432
15276
  }[]>;
14433
15277
  }>;
14434
15278
  invoicing: import("../types/api").ApiFor<{
@@ -15158,6 +16002,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
15158
16002
  date_to?: string | undefined;
15159
16003
  updated_after?: string | undefined;
15160
16004
  include_detailed_refunds?: "true" | "false" | undefined;
16005
+ include_product_categories?: "true" | "false" | undefined;
16006
+ include_customer_details?: "true" | "false" | undefined;
15161
16007
  } | undefined): import("../types/api").RequestData<{
15162
16008
  id: string;
15163
16009
  source_ref: {
@@ -15204,8 +16050,9 @@ declare const Consumers: (internalApi: InternalAPI) => {
15204
16050
  created_on?: string | undefined;
15205
16051
  last_updated_on?: string | undefined;
15206
16052
  confirmed_on?: string | undefined;
16053
+ delivery_date?: string | undefined;
15207
16054
  cancelled_on?: string | undefined;
15208
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
16055
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
15209
16056
  discount_amount: number;
15210
16057
  untaxed_amount_without_fees: number;
15211
16058
  tax_amount_without_fees: number;
@@ -15229,6 +16076,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
15229
16076
  id: string;
15230
16077
  sku?: string | undefined;
15231
16078
  name: string;
16079
+ categories?: {
16080
+ id: string;
16081
+ name: string;
16082
+ }[] | undefined;
15232
16083
  } | undefined;
15233
16084
  quantity: number;
15234
16085
  untaxed_amount: number;
@@ -15246,6 +16097,14 @@ declare const Consumers: (internalApi: InternalAPI) => {
15246
16097
  tax_amount: number;
15247
16098
  total: number;
15248
16099
  }[] | undefined;
16100
+ transactions?: {
16101
+ id: string;
16102
+ created_on?: string | undefined;
16103
+ payment_method_id?: string | undefined;
16104
+ payment_method_name?: string | undefined;
16105
+ amount: number;
16106
+ status: "failed" | "pending" | "success";
16107
+ }[] | undefined;
15249
16108
  }[] | undefined;
15250
16109
  currency: string;
15251
16110
  note?: string | undefined;
@@ -15260,6 +16119,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
15260
16119
  id: string;
15261
16120
  sku?: string | undefined;
15262
16121
  name: string;
16122
+ categories?: {
16123
+ id: string;
16124
+ name: string;
16125
+ }[] | undefined;
15263
16126
  } | undefined;
15264
16127
  quantity: number;
15265
16128
  unit_price: number;
@@ -15298,6 +16161,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
15298
16161
  payment_method_id?: string | undefined;
15299
16162
  transactions?: {
15300
16163
  id: string;
16164
+ created_on?: string | undefined;
15301
16165
  payment_method_id?: string | undefined;
15302
16166
  payment_method_name?: string | undefined;
15303
16167
  amount: number;
@@ -15395,8 +16259,9 @@ declare const Consumers: (internalApi: InternalAPI) => {
15395
16259
  created_on?: string | undefined;
15396
16260
  last_updated_on?: string | undefined;
15397
16261
  confirmed_on?: string | undefined;
16262
+ delivery_date?: string | undefined;
15398
16263
  cancelled_on?: string | undefined;
15399
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
16264
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
15400
16265
  discount_amount: number;
15401
16266
  untaxed_amount_without_fees: number;
15402
16267
  tax_amount_without_fees: number;
@@ -15420,6 +16285,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
15420
16285
  id: string;
15421
16286
  sku?: string | undefined;
15422
16287
  name: string;
16288
+ categories?: {
16289
+ id: string;
16290
+ name: string;
16291
+ }[] | undefined;
15423
16292
  } | undefined;
15424
16293
  quantity: number;
15425
16294
  untaxed_amount: number;
@@ -15437,6 +16306,14 @@ declare const Consumers: (internalApi: InternalAPI) => {
15437
16306
  tax_amount: number;
15438
16307
  total: number;
15439
16308
  }[] | undefined;
16309
+ transactions?: {
16310
+ id: string;
16311
+ created_on?: string | undefined;
16312
+ payment_method_id?: string | undefined;
16313
+ payment_method_name?: string | undefined;
16314
+ amount: number;
16315
+ status: "failed" | "pending" | "success";
16316
+ }[] | undefined;
15440
16317
  }[] | undefined;
15441
16318
  currency: string;
15442
16319
  note?: string | undefined;
@@ -15451,6 +16328,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
15451
16328
  id: string;
15452
16329
  sku?: string | undefined;
15453
16330
  name: string;
16331
+ categories?: {
16332
+ id: string;
16333
+ name: string;
16334
+ }[] | undefined;
15454
16335
  } | undefined;
15455
16336
  quantity: number;
15456
16337
  unit_price: number;
@@ -15489,6 +16370,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
15489
16370
  payment_method_id?: string | undefined;
15490
16371
  transactions?: {
15491
16372
  id: string;
16373
+ created_on?: string | undefined;
15492
16374
  payment_method_id?: string | undefined;
15493
16375
  payment_method_name?: string | undefined;
15494
16376
  amount: number;
@@ -15545,8 +16427,9 @@ declare const Consumers: (internalApi: InternalAPI) => {
15545
16427
  created_on?: string | undefined;
15546
16428
  last_updated_on?: string | undefined;
15547
16429
  confirmed_on?: string | undefined;
16430
+ delivery_date?: string | undefined;
15548
16431
  cancelled_on?: string | undefined;
15549
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
16432
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
15550
16433
  discount_amount: number;
15551
16434
  untaxed_amount_without_fees: number;
15552
16435
  tax_amount_without_fees: number;
@@ -15570,6 +16453,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
15570
16453
  id: string;
15571
16454
  sku?: string | undefined;
15572
16455
  name: string;
16456
+ categories?: {
16457
+ id: string;
16458
+ name: string;
16459
+ }[] | undefined;
15573
16460
  } | undefined;
15574
16461
  quantity: number;
15575
16462
  untaxed_amount: number;
@@ -15587,6 +16474,14 @@ declare const Consumers: (internalApi: InternalAPI) => {
15587
16474
  tax_amount: number;
15588
16475
  total: number;
15589
16476
  }[] | undefined;
16477
+ transactions?: {
16478
+ id: string;
16479
+ created_on?: string | undefined;
16480
+ payment_method_id?: string | undefined;
16481
+ payment_method_name?: string | undefined;
16482
+ amount: number;
16483
+ status: "failed" | "pending" | "success";
16484
+ }[] | undefined;
15590
16485
  }[] | undefined;
15591
16486
  currency: string;
15592
16487
  note?: string | undefined;
@@ -15601,6 +16496,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
15601
16496
  id: string;
15602
16497
  sku?: string | undefined;
15603
16498
  name: string;
16499
+ categories?: {
16500
+ id: string;
16501
+ name: string;
16502
+ }[] | undefined;
15604
16503
  } | undefined;
15605
16504
  quantity: number;
15606
16505
  unit_price: number;
@@ -15639,6 +16538,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
15639
16538
  payment_method_id?: string | undefined;
15640
16539
  transactions?: {
15641
16540
  id: string;
16541
+ created_on?: string | undefined;
15642
16542
  payment_method_id?: string | undefined;
15643
16543
  payment_method_name?: string | undefined;
15644
16544
  amount: number;