@chift/chift-nodejs 1.0.14 → 1.0.15

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.
@@ -101,6 +101,26 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
101
101
  total_discount?: number | undefined;
102
102
  total_refund?: number | undefined;
103
103
  total_tip?: number | undefined;
104
+ currency?: string | undefined;
105
+ country?: string | undefined;
106
+ loyalty?: number | undefined;
107
+ customer_id?: string | undefined;
108
+ location_id?: string | undefined;
109
+ taxes?: {
110
+ tax_rate: number;
111
+ tax_amount: number;
112
+ total: number;
113
+ }[] | undefined;
114
+ payments: {
115
+ id?: string | undefined;
116
+ payment_method_id?: string | undefined;
117
+ payment_method_name?: string | undefined;
118
+ total: number;
119
+ tip?: number | undefined;
120
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
121
+ currency?: string | undefined;
122
+ date?: string | undefined;
123
+ }[];
104
124
  items: {
105
125
  id: string;
106
126
  quantity: number;
@@ -116,26 +136,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
116
136
  product_id?: string | undefined;
117
137
  accounting_category_id?: string | undefined;
118
138
  }[];
119
- payments: {
120
- id?: string | undefined;
121
- payment_method_id?: string | undefined;
122
- payment_method_name?: string | undefined;
123
- total: number;
124
- tip?: number | undefined;
125
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
126
- currency?: string | undefined;
127
- date?: string | undefined;
128
- }[];
129
- currency?: string | undefined;
130
- country?: string | undefined;
131
- loyalty?: number | undefined;
132
- customer_id?: string | undefined;
133
- location_id?: string | undefined;
134
- taxes?: {
135
- tax_rate: number;
136
- tax_amount: number;
137
- total: number;
138
- }[] | undefined;
139
139
  }[]>;
140
140
  getCustomers(params?: {
141
141
  search?: string | undefined;
@@ -174,6 +174,26 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
174
174
  total_discount?: number | undefined;
175
175
  total_refund?: number | undefined;
176
176
  total_tip?: number | undefined;
177
+ currency?: string | undefined;
178
+ country?: string | undefined;
179
+ loyalty?: number | undefined;
180
+ customer_id?: string | undefined;
181
+ location_id?: string | undefined;
182
+ taxes?: {
183
+ tax_rate: number;
184
+ tax_amount: number;
185
+ total: number;
186
+ }[] | undefined;
187
+ payments: {
188
+ id?: string | undefined;
189
+ payment_method_id?: string | undefined;
190
+ payment_method_name?: string | undefined;
191
+ total: number;
192
+ tip?: number | undefined;
193
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
194
+ currency?: string | undefined;
195
+ date?: string | undefined;
196
+ }[];
177
197
  items: {
178
198
  id: string;
179
199
  quantity: number;
@@ -189,26 +209,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
189
209
  product_id?: string | undefined;
190
210
  accounting_category_id?: string | undefined;
191
211
  }[];
192
- payments: {
193
- id?: string | undefined;
194
- payment_method_id?: string | undefined;
195
- payment_method_name?: string | undefined;
196
- total: number;
197
- tip?: number | undefined;
198
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
199
- currency?: string | undefined;
200
- date?: string | undefined;
201
- }[];
202
- currency?: string | undefined;
203
- country?: string | undefined;
204
- loyalty?: number | undefined;
205
- customer_id?: string | undefined;
206
- location_id?: string | undefined;
207
- taxes?: {
208
- tax_rate: number;
209
- tax_amount: number;
210
- total: number;
211
- }[] | undefined;
212
212
  }>;
213
213
  getCustomer(customerId: string): import("../types/api").RequestData<{
214
214
  id: string;
@@ -344,6 +344,26 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
344
344
  total_discount?: number | undefined;
345
345
  total_refund?: number | undefined;
346
346
  total_tip?: number | undefined;
347
+ currency?: string | undefined;
348
+ country?: string | undefined;
349
+ loyalty?: number | undefined;
350
+ customer_id?: string | undefined;
351
+ location_id?: string | undefined;
352
+ taxes?: {
353
+ tax_rate: number;
354
+ tax_amount: number;
355
+ total: number;
356
+ }[] | undefined;
357
+ payments: {
358
+ id?: string | undefined;
359
+ payment_method_id?: string | undefined;
360
+ payment_method_name?: string | undefined;
361
+ total: number;
362
+ tip?: number | undefined;
363
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
364
+ currency?: string | undefined;
365
+ date?: string | undefined;
366
+ }[];
347
367
  items: {
348
368
  id: string;
349
369
  quantity: number;
@@ -359,16 +379,53 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
359
379
  product_id?: string | undefined;
360
380
  accounting_category_id?: string | undefined;
361
381
  }[];
362
- payments: {
382
+ }>;
383
+ getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
384
+ id: string;
385
+ name: string;
386
+ id_parent?: string | undefined;
387
+ code?: string | undefined;
388
+ ledger_account_code?: string | undefined;
389
+ posting_account_code?: string | undefined;
390
+ }[]>;
391
+ }>;
392
+ pms: import("../types/api").ApiFor<{
393
+ getLocations(): import("../types/api").RequestData<{
394
+ id: string;
395
+ name: string;
396
+ timezone?: string | undefined;
397
+ address?: {
398
+ address_type?: string | undefined;
399
+ name?: string | undefined;
400
+ street?: string | undefined;
401
+ number?: string | undefined;
402
+ box?: string | undefined;
403
+ city?: string | undefined;
404
+ postal_code?: string | undefined;
405
+ country?: string | undefined;
406
+ } | undefined;
407
+ }[]>;
408
+ getOrders(params: {
409
+ date_from: string;
410
+ date_to: string;
411
+ location_id?: string | undefined;
412
+ state?: "closed" | "consumed" | undefined;
413
+ }): import("../types/api").RequestData<{
414
+ id: string;
415
+ source_ref: {
363
416
  id?: string | undefined;
364
- payment_method_id?: string | undefined;
365
- payment_method_name?: string | undefined;
366
- total: number;
367
- tip?: number | undefined;
368
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
369
- currency?: string | undefined;
370
- date?: string | undefined;
371
- }[];
417
+ model?: string | undefined;
418
+ };
419
+ order_number?: string | undefined;
420
+ creation_date: string;
421
+ closing_date?: string | undefined;
422
+ service_date?: string | undefined;
423
+ device_id?: string | undefined;
424
+ total: number;
425
+ tax_amount: number;
426
+ total_discount?: number | undefined;
427
+ total_refund?: number | undefined;
428
+ total_tip?: number | undefined;
372
429
  currency?: string | undefined;
373
430
  country?: string | undefined;
374
431
  loyalty?: number | undefined;
@@ -379,9 +436,68 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
379
436
  tax_amount: number;
380
437
  total: number;
381
438
  }[] | undefined;
439
+ items: {
440
+ id: string;
441
+ source_ref: {
442
+ id?: string | undefined;
443
+ model?: string | undefined;
444
+ };
445
+ quantity: number;
446
+ unit_price: number;
447
+ total: number;
448
+ tax_amount: number;
449
+ tax_rate?: number | undefined;
450
+ description?: string | undefined;
451
+ discounts?: {
452
+ name?: string | undefined;
453
+ total: number;
454
+ }[] | undefined;
455
+ product_id?: string | undefined;
456
+ accounting_category_id?: string | undefined;
457
+ }[];
458
+ service_id?: string | undefined;
459
+ }[]>;
460
+ getPaymentMethods(params?: {
461
+ location_id?: string | undefined;
462
+ } | undefined): import("../types/api").RequestData<{
463
+ id: string;
464
+ source_ref: {
465
+ id?: string | undefined;
466
+ model?: string | undefined;
467
+ };
468
+ name: string;
469
+ extra?: string | undefined;
470
+ ledger_account_code?: string | undefined;
471
+ }[]>;
472
+ getClosure(date: string, params?: {
473
+ location_id?: string | undefined;
474
+ } | undefined): import("../types/api").RequestData<{
475
+ date: string;
476
+ status: "open" | "closed";
382
477
  }>;
478
+ getPayments(params: {
479
+ date_from: string;
480
+ date_to: string;
481
+ }): import("../types/api").RequestData<{
482
+ id?: string | undefined;
483
+ source_ref: {
484
+ id?: string | undefined;
485
+ model?: string | undefined;
486
+ };
487
+ payment_method_id?: string | undefined;
488
+ payment_method_name?: string | undefined;
489
+ total: number;
490
+ tip?: number | undefined;
491
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
492
+ currency?: string | undefined;
493
+ date?: string | undefined;
494
+ }[]>;
383
495
  getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
384
496
  id: string;
497
+ source_ref: {
498
+ id?: string | undefined;
499
+ model?: string | undefined;
500
+ };
385
501
  name: string;
386
502
  id_parent?: string | undefined;
387
503
  code?: string | undefined;
@@ -866,6 +982,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
866
982
  iban: string;
867
983
  };
868
984
  } | undefined;
985
+ shipping_country?: string | undefined;
869
986
  lines: {
870
987
  line_number?: number | undefined;
871
988
  description: string;
@@ -962,6 +1079,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
962
1079
  iban: string;
963
1080
  };
964
1081
  } | undefined;
1082
+ shipping_country?: string | undefined;
965
1083
  lines: {
966
1084
  line_number?: number | undefined;
967
1085
  description: string;
@@ -1823,6 +1941,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1823
1941
  id: string;
1824
1942
  name: string;
1825
1943
  selected?: boolean | undefined;
1944
+ vat?: string | undefined;
1945
+ company_number?: string | undefined;
1826
1946
  }[]>;
1827
1947
  }>;
1828
1948
  invoicing: import("../types/api").ApiFor<{
@@ -2552,6 +2672,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2552
2672
  date_to?: string | undefined;
2553
2673
  updated_after?: string | undefined;
2554
2674
  include_detailed_refunds?: "true" | "false" | undefined;
2675
+ include_product_categories?: "true" | "false" | undefined;
2555
2676
  } | undefined): import("../types/api").RequestData<{
2556
2677
  id: string;
2557
2678
  source_ref: {
@@ -2598,8 +2719,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2598
2719
  created_on?: string | undefined;
2599
2720
  last_updated_on?: string | undefined;
2600
2721
  confirmed_on?: string | undefined;
2722
+ delivery_date?: string | undefined;
2601
2723
  cancelled_on?: string | undefined;
2602
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
2724
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
2603
2725
  discount_amount: number;
2604
2726
  untaxed_amount_without_fees: number;
2605
2727
  tax_amount_without_fees: number;
@@ -2623,6 +2745,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2623
2745
  id: string;
2624
2746
  sku?: string | undefined;
2625
2747
  name: string;
2748
+ categories?: {
2749
+ id: string;
2750
+ name: string;
2751
+ }[] | undefined;
2626
2752
  } | undefined;
2627
2753
  quantity: number;
2628
2754
  untaxed_amount: number;
@@ -2640,6 +2766,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2640
2766
  tax_amount: number;
2641
2767
  total: number;
2642
2768
  }[] | undefined;
2769
+ transactions?: {
2770
+ id: string;
2771
+ payment_method_id?: string | undefined;
2772
+ payment_method_name?: string | undefined;
2773
+ amount: number;
2774
+ status: "failed" | "pending" | "success";
2775
+ }[] | undefined;
2643
2776
  }[] | undefined;
2644
2777
  currency: string;
2645
2778
  note?: string | undefined;
@@ -2654,6 +2787,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2654
2787
  id: string;
2655
2788
  sku?: string | undefined;
2656
2789
  name: string;
2790
+ categories?: {
2791
+ id: string;
2792
+ name: string;
2793
+ }[] | undefined;
2657
2794
  } | undefined;
2658
2795
  quantity: number;
2659
2796
  unit_price: number;
@@ -2789,8 +2926,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2789
2926
  created_on?: string | undefined;
2790
2927
  last_updated_on?: string | undefined;
2791
2928
  confirmed_on?: string | undefined;
2929
+ delivery_date?: string | undefined;
2792
2930
  cancelled_on?: string | undefined;
2793
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
2931
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
2794
2932
  discount_amount: number;
2795
2933
  untaxed_amount_without_fees: number;
2796
2934
  tax_amount_without_fees: number;
@@ -2814,6 +2952,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2814
2952
  id: string;
2815
2953
  sku?: string | undefined;
2816
2954
  name: string;
2955
+ categories?: {
2956
+ id: string;
2957
+ name: string;
2958
+ }[] | undefined;
2817
2959
  } | undefined;
2818
2960
  quantity: number;
2819
2961
  untaxed_amount: number;
@@ -2831,6 +2973,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2831
2973
  tax_amount: number;
2832
2974
  total: number;
2833
2975
  }[] | undefined;
2976
+ transactions?: {
2977
+ id: string;
2978
+ payment_method_id?: string | undefined;
2979
+ payment_method_name?: string | undefined;
2980
+ amount: number;
2981
+ status: "failed" | "pending" | "success";
2982
+ }[] | undefined;
2834
2983
  }[] | undefined;
2835
2984
  currency: string;
2836
2985
  note?: string | undefined;
@@ -2845,6 +2994,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2845
2994
  id: string;
2846
2995
  sku?: string | undefined;
2847
2996
  name: string;
2997
+ categories?: {
2998
+ id: string;
2999
+ name: string;
3000
+ }[] | undefined;
2848
3001
  } | undefined;
2849
3002
  quantity: number;
2850
3003
  unit_price: number;
@@ -2939,8 +3092,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2939
3092
  created_on?: string | undefined;
2940
3093
  last_updated_on?: string | undefined;
2941
3094
  confirmed_on?: string | undefined;
3095
+ delivery_date?: string | undefined;
2942
3096
  cancelled_on?: string | undefined;
2943
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
3097
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
2944
3098
  discount_amount: number;
2945
3099
  untaxed_amount_without_fees: number;
2946
3100
  tax_amount_without_fees: number;
@@ -2964,6 +3118,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2964
3118
  id: string;
2965
3119
  sku?: string | undefined;
2966
3120
  name: string;
3121
+ categories?: {
3122
+ id: string;
3123
+ name: string;
3124
+ }[] | undefined;
2967
3125
  } | undefined;
2968
3126
  quantity: number;
2969
3127
  untaxed_amount: number;
@@ -2981,6 +3139,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2981
3139
  tax_amount: number;
2982
3140
  total: number;
2983
3141
  }[] | undefined;
3142
+ transactions?: {
3143
+ id: string;
3144
+ payment_method_id?: string | undefined;
3145
+ payment_method_name?: string | undefined;
3146
+ amount: number;
3147
+ status: "failed" | "pending" | "success";
3148
+ }[] | undefined;
2984
3149
  }[] | undefined;
2985
3150
  currency: string;
2986
3151
  note?: string | undefined;
@@ -2995,6 +3160,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2995
3160
  id: string;
2996
3161
  sku?: string | undefined;
2997
3162
  name: string;
3163
+ categories?: {
3164
+ id: string;
3165
+ name: string;
3166
+ }[] | undefined;
2998
3167
  } | undefined;
2999
3168
  quantity: number;
3000
3169
  unit_price: number;
@@ -3272,6 +3441,26 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
3272
3441
  total_discount?: number | undefined;
3273
3442
  total_refund?: number | undefined;
3274
3443
  total_tip?: number | undefined;
3444
+ currency?: string | undefined;
3445
+ country?: string | undefined;
3446
+ loyalty?: number | undefined;
3447
+ customer_id?: string | undefined;
3448
+ location_id?: string | undefined;
3449
+ taxes?: {
3450
+ tax_rate: number;
3451
+ tax_amount: number;
3452
+ total: number;
3453
+ }[] | undefined;
3454
+ payments: {
3455
+ id?: string | undefined;
3456
+ payment_method_id?: string | undefined;
3457
+ payment_method_name?: string | undefined;
3458
+ total: number;
3459
+ tip?: number | undefined;
3460
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
3461
+ currency?: string | undefined;
3462
+ date?: string | undefined;
3463
+ }[];
3275
3464
  items: {
3276
3465
  id: string;
3277
3466
  quantity: number;
@@ -3287,26 +3476,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
3287
3476
  product_id?: string | undefined;
3288
3477
  accounting_category_id?: string | undefined;
3289
3478
  }[];
3290
- payments: {
3291
- id?: string | undefined;
3292
- payment_method_id?: string | undefined;
3293
- payment_method_name?: string | undefined;
3294
- total: number;
3295
- tip?: number | undefined;
3296
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
3297
- currency?: string | undefined;
3298
- date?: string | undefined;
3299
- }[];
3300
- currency?: string | undefined;
3301
- country?: string | undefined;
3302
- loyalty?: number | undefined;
3303
- customer_id?: string | undefined;
3304
- location_id?: string | undefined;
3305
- taxes?: {
3306
- tax_rate: number;
3307
- tax_amount: number;
3308
- total: number;
3309
- }[] | undefined;
3310
3479
  }[]>;
3311
3480
  getCustomers(params?: {
3312
3481
  search?: string | undefined;
@@ -3345,6 +3514,26 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
3345
3514
  total_discount?: number | undefined;
3346
3515
  total_refund?: number | undefined;
3347
3516
  total_tip?: number | undefined;
3517
+ currency?: string | undefined;
3518
+ country?: string | undefined;
3519
+ loyalty?: number | undefined;
3520
+ customer_id?: string | undefined;
3521
+ location_id?: string | undefined;
3522
+ taxes?: {
3523
+ tax_rate: number;
3524
+ tax_amount: number;
3525
+ total: number;
3526
+ }[] | undefined;
3527
+ payments: {
3528
+ id?: string | undefined;
3529
+ payment_method_id?: string | undefined;
3530
+ payment_method_name?: string | undefined;
3531
+ total: number;
3532
+ tip?: number | undefined;
3533
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
3534
+ currency?: string | undefined;
3535
+ date?: string | undefined;
3536
+ }[];
3348
3537
  items: {
3349
3538
  id: string;
3350
3539
  quantity: number;
@@ -3360,26 +3549,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
3360
3549
  product_id?: string | undefined;
3361
3550
  accounting_category_id?: string | undefined;
3362
3551
  }[];
3363
- payments: {
3364
- id?: string | undefined;
3365
- payment_method_id?: string | undefined;
3366
- payment_method_name?: string | undefined;
3367
- total: number;
3368
- tip?: number | undefined;
3369
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
3370
- currency?: string | undefined;
3371
- date?: string | undefined;
3372
- }[];
3373
- currency?: string | undefined;
3374
- country?: string | undefined;
3375
- loyalty?: number | undefined;
3376
- customer_id?: string | undefined;
3377
- location_id?: string | undefined;
3378
- taxes?: {
3379
- tax_rate: number;
3380
- tax_amount: number;
3381
- total: number;
3382
- }[] | undefined;
3383
3552
  }>;
3384
3553
  getCustomer(customerId: string): import("../types/api").RequestData<{
3385
3554
  id: string;
@@ -3515,6 +3684,26 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
3515
3684
  total_discount?: number | undefined;
3516
3685
  total_refund?: number | undefined;
3517
3686
  total_tip?: number | undefined;
3687
+ currency?: string | undefined;
3688
+ country?: string | undefined;
3689
+ loyalty?: number | undefined;
3690
+ customer_id?: string | undefined;
3691
+ location_id?: string | undefined;
3692
+ taxes?: {
3693
+ tax_rate: number;
3694
+ tax_amount: number;
3695
+ total: number;
3696
+ }[] | undefined;
3697
+ payments: {
3698
+ id?: string | undefined;
3699
+ payment_method_id?: string | undefined;
3700
+ payment_method_name?: string | undefined;
3701
+ total: number;
3702
+ tip?: number | undefined;
3703
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
3704
+ currency?: string | undefined;
3705
+ date?: string | undefined;
3706
+ }[];
3518
3707
  items: {
3519
3708
  id: string;
3520
3709
  quantity: number;
@@ -3530,16 +3719,53 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
3530
3719
  product_id?: string | undefined;
3531
3720
  accounting_category_id?: string | undefined;
3532
3721
  }[];
3533
- payments: {
3722
+ }>;
3723
+ getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
3724
+ id: string;
3725
+ name: string;
3726
+ id_parent?: string | undefined;
3727
+ code?: string | undefined;
3728
+ ledger_account_code?: string | undefined;
3729
+ posting_account_code?: string | undefined;
3730
+ }[]>;
3731
+ }>;
3732
+ pms: import("../types/api").ApiFor<{
3733
+ getLocations(): import("../types/api").RequestData<{
3734
+ id: string;
3735
+ name: string;
3736
+ timezone?: string | undefined;
3737
+ address?: {
3738
+ address_type?: string | undefined;
3739
+ name?: string | undefined;
3740
+ street?: string | undefined;
3741
+ number?: string | undefined;
3742
+ box?: string | undefined;
3743
+ city?: string | undefined;
3744
+ postal_code?: string | undefined;
3745
+ country?: string | undefined;
3746
+ } | undefined;
3747
+ }[]>;
3748
+ getOrders(params: {
3749
+ date_from: string;
3750
+ date_to: string;
3751
+ location_id?: string | undefined;
3752
+ state?: "closed" | "consumed" | undefined;
3753
+ }): import("../types/api").RequestData<{
3754
+ id: string;
3755
+ source_ref: {
3534
3756
  id?: string | undefined;
3535
- payment_method_id?: string | undefined;
3536
- payment_method_name?: string | undefined;
3537
- total: number;
3538
- tip?: number | undefined;
3539
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
3540
- currency?: string | undefined;
3541
- date?: string | undefined;
3542
- }[];
3757
+ model?: string | undefined;
3758
+ };
3759
+ order_number?: string | undefined;
3760
+ creation_date: string;
3761
+ closing_date?: string | undefined;
3762
+ service_date?: string | undefined;
3763
+ device_id?: string | undefined;
3764
+ total: number;
3765
+ tax_amount: number;
3766
+ total_discount?: number | undefined;
3767
+ total_refund?: number | undefined;
3768
+ total_tip?: number | undefined;
3543
3769
  currency?: string | undefined;
3544
3770
  country?: string | undefined;
3545
3771
  loyalty?: number | undefined;
@@ -3550,9 +3776,68 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
3550
3776
  tax_amount: number;
3551
3777
  total: number;
3552
3778
  }[] | undefined;
3779
+ items: {
3780
+ id: string;
3781
+ source_ref: {
3782
+ id?: string | undefined;
3783
+ model?: string | undefined;
3784
+ };
3785
+ quantity: number;
3786
+ unit_price: number;
3787
+ total: number;
3788
+ tax_amount: number;
3789
+ tax_rate?: number | undefined;
3790
+ description?: string | undefined;
3791
+ discounts?: {
3792
+ name?: string | undefined;
3793
+ total: number;
3794
+ }[] | undefined;
3795
+ product_id?: string | undefined;
3796
+ accounting_category_id?: string | undefined;
3797
+ }[];
3798
+ service_id?: string | undefined;
3799
+ }[]>;
3800
+ getPaymentMethods(params?: {
3801
+ location_id?: string | undefined;
3802
+ } | undefined): import("../types/api").RequestData<{
3803
+ id: string;
3804
+ source_ref: {
3805
+ id?: string | undefined;
3806
+ model?: string | undefined;
3807
+ };
3808
+ name: string;
3809
+ extra?: string | undefined;
3810
+ ledger_account_code?: string | undefined;
3811
+ }[]>;
3812
+ getClosure(date: string, params?: {
3813
+ location_id?: string | undefined;
3814
+ } | undefined): import("../types/api").RequestData<{
3815
+ date: string;
3816
+ status: "open" | "closed";
3553
3817
  }>;
3818
+ getPayments(params: {
3819
+ date_from: string;
3820
+ date_to: string;
3821
+ }): import("../types/api").RequestData<{
3822
+ id?: string | undefined;
3823
+ source_ref: {
3824
+ id?: string | undefined;
3825
+ model?: string | undefined;
3826
+ };
3827
+ payment_method_id?: string | undefined;
3828
+ payment_method_name?: string | undefined;
3829
+ total: number;
3830
+ tip?: number | undefined;
3831
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
3832
+ currency?: string | undefined;
3833
+ date?: string | undefined;
3834
+ }[]>;
3554
3835
  getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
3555
3836
  id: string;
3837
+ source_ref: {
3838
+ id?: string | undefined;
3839
+ model?: string | undefined;
3840
+ };
3556
3841
  name: string;
3557
3842
  id_parent?: string | undefined;
3558
3843
  code?: string | undefined;
@@ -4037,6 +4322,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
4037
4322
  iban: string;
4038
4323
  };
4039
4324
  } | undefined;
4325
+ shipping_country?: string | undefined;
4040
4326
  lines: {
4041
4327
  line_number?: number | undefined;
4042
4328
  description: string;
@@ -4133,6 +4419,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
4133
4419
  iban: string;
4134
4420
  };
4135
4421
  } | undefined;
4422
+ shipping_country?: string | undefined;
4136
4423
  lines: {
4137
4424
  line_number?: number | undefined;
4138
4425
  description: string;
@@ -4994,6 +5281,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
4994
5281
  id: string;
4995
5282
  name: string;
4996
5283
  selected?: boolean | undefined;
5284
+ vat?: string | undefined;
5285
+ company_number?: string | undefined;
4997
5286
  }[]>;
4998
5287
  }>;
4999
5288
  invoicing: import("../types/api").ApiFor<{
@@ -5723,6 +6012,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
5723
6012
  date_to?: string | undefined;
5724
6013
  updated_after?: string | undefined;
5725
6014
  include_detailed_refunds?: "true" | "false" | undefined;
6015
+ include_product_categories?: "true" | "false" | undefined;
5726
6016
  } | undefined): import("../types/api").RequestData<{
5727
6017
  id: string;
5728
6018
  source_ref: {
@@ -5769,8 +6059,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
5769
6059
  created_on?: string | undefined;
5770
6060
  last_updated_on?: string | undefined;
5771
6061
  confirmed_on?: string | undefined;
6062
+ delivery_date?: string | undefined;
5772
6063
  cancelled_on?: string | undefined;
5773
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
6064
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
5774
6065
  discount_amount: number;
5775
6066
  untaxed_amount_without_fees: number;
5776
6067
  tax_amount_without_fees: number;
@@ -5794,6 +6085,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
5794
6085
  id: string;
5795
6086
  sku?: string | undefined;
5796
6087
  name: string;
6088
+ categories?: {
6089
+ id: string;
6090
+ name: string;
6091
+ }[] | undefined;
5797
6092
  } | undefined;
5798
6093
  quantity: number;
5799
6094
  untaxed_amount: number;
@@ -5811,6 +6106,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
5811
6106
  tax_amount: number;
5812
6107
  total: number;
5813
6108
  }[] | undefined;
6109
+ transactions?: {
6110
+ id: string;
6111
+ payment_method_id?: string | undefined;
6112
+ payment_method_name?: string | undefined;
6113
+ amount: number;
6114
+ status: "failed" | "pending" | "success";
6115
+ }[] | undefined;
5814
6116
  }[] | undefined;
5815
6117
  currency: string;
5816
6118
  note?: string | undefined;
@@ -5825,6 +6127,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
5825
6127
  id: string;
5826
6128
  sku?: string | undefined;
5827
6129
  name: string;
6130
+ categories?: {
6131
+ id: string;
6132
+ name: string;
6133
+ }[] | undefined;
5828
6134
  } | undefined;
5829
6135
  quantity: number;
5830
6136
  unit_price: number;
@@ -5960,8 +6266,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
5960
6266
  created_on?: string | undefined;
5961
6267
  last_updated_on?: string | undefined;
5962
6268
  confirmed_on?: string | undefined;
6269
+ delivery_date?: string | undefined;
5963
6270
  cancelled_on?: string | undefined;
5964
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
6271
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
5965
6272
  discount_amount: number;
5966
6273
  untaxed_amount_without_fees: number;
5967
6274
  tax_amount_without_fees: number;
@@ -5985,6 +6292,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
5985
6292
  id: string;
5986
6293
  sku?: string | undefined;
5987
6294
  name: string;
6295
+ categories?: {
6296
+ id: string;
6297
+ name: string;
6298
+ }[] | undefined;
5988
6299
  } | undefined;
5989
6300
  quantity: number;
5990
6301
  untaxed_amount: number;
@@ -6002,6 +6313,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6002
6313
  tax_amount: number;
6003
6314
  total: number;
6004
6315
  }[] | undefined;
6316
+ transactions?: {
6317
+ id: string;
6318
+ payment_method_id?: string | undefined;
6319
+ payment_method_name?: string | undefined;
6320
+ amount: number;
6321
+ status: "failed" | "pending" | "success";
6322
+ }[] | undefined;
6005
6323
  }[] | undefined;
6006
6324
  currency: string;
6007
6325
  note?: string | undefined;
@@ -6016,6 +6334,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6016
6334
  id: string;
6017
6335
  sku?: string | undefined;
6018
6336
  name: string;
6337
+ categories?: {
6338
+ id: string;
6339
+ name: string;
6340
+ }[] | undefined;
6019
6341
  } | undefined;
6020
6342
  quantity: number;
6021
6343
  unit_price: number;
@@ -6110,8 +6432,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6110
6432
  created_on?: string | undefined;
6111
6433
  last_updated_on?: string | undefined;
6112
6434
  confirmed_on?: string | undefined;
6435
+ delivery_date?: string | undefined;
6113
6436
  cancelled_on?: string | undefined;
6114
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
6437
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
6115
6438
  discount_amount: number;
6116
6439
  untaxed_amount_without_fees: number;
6117
6440
  tax_amount_without_fees: number;
@@ -6135,6 +6458,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6135
6458
  id: string;
6136
6459
  sku?: string | undefined;
6137
6460
  name: string;
6461
+ categories?: {
6462
+ id: string;
6463
+ name: string;
6464
+ }[] | undefined;
6138
6465
  } | undefined;
6139
6466
  quantity: number;
6140
6467
  untaxed_amount: number;
@@ -6152,6 +6479,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6152
6479
  tax_amount: number;
6153
6480
  total: number;
6154
6481
  }[] | undefined;
6482
+ transactions?: {
6483
+ id: string;
6484
+ payment_method_id?: string | undefined;
6485
+ payment_method_name?: string | undefined;
6486
+ amount: number;
6487
+ status: "failed" | "pending" | "success";
6488
+ }[] | undefined;
6155
6489
  }[] | undefined;
6156
6490
  currency: string;
6157
6491
  note?: string | undefined;
@@ -6166,6 +6500,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6166
6500
  id: string;
6167
6501
  sku?: string | undefined;
6168
6502
  name: string;
6503
+ categories?: {
6504
+ id: string;
6505
+ name: string;
6506
+ }[] | undefined;
6169
6507
  } | undefined;
6170
6508
  quantity: number;
6171
6509
  unit_price: number;
@@ -6443,6 +6781,26 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6443
6781
  total_discount?: number | undefined;
6444
6782
  total_refund?: number | undefined;
6445
6783
  total_tip?: number | undefined;
6784
+ currency?: string | undefined;
6785
+ country?: string | undefined;
6786
+ loyalty?: number | undefined;
6787
+ customer_id?: string | undefined;
6788
+ location_id?: string | undefined;
6789
+ taxes?: {
6790
+ tax_rate: number;
6791
+ tax_amount: number;
6792
+ total: number;
6793
+ }[] | undefined;
6794
+ payments: {
6795
+ id?: string | undefined;
6796
+ payment_method_id?: string | undefined;
6797
+ payment_method_name?: string | undefined;
6798
+ total: number;
6799
+ tip?: number | undefined;
6800
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
6801
+ currency?: string | undefined;
6802
+ date?: string | undefined;
6803
+ }[];
6446
6804
  items: {
6447
6805
  id: string;
6448
6806
  quantity: number;
@@ -6458,26 +6816,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6458
6816
  product_id?: string | undefined;
6459
6817
  accounting_category_id?: string | undefined;
6460
6818
  }[];
6461
- payments: {
6462
- id?: string | undefined;
6463
- payment_method_id?: string | undefined;
6464
- payment_method_name?: string | undefined;
6465
- total: number;
6466
- tip?: number | undefined;
6467
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
6468
- currency?: string | undefined;
6469
- date?: string | undefined;
6470
- }[];
6471
- currency?: string | undefined;
6472
- country?: string | undefined;
6473
- loyalty?: number | undefined;
6474
- customer_id?: string | undefined;
6475
- location_id?: string | undefined;
6476
- taxes?: {
6477
- tax_rate: number;
6478
- tax_amount: number;
6479
- total: number;
6480
- }[] | undefined;
6481
6819
  }[]>;
6482
6820
  getCustomers(params?: {
6483
6821
  search?: string | undefined;
@@ -6516,6 +6854,26 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6516
6854
  total_discount?: number | undefined;
6517
6855
  total_refund?: number | undefined;
6518
6856
  total_tip?: number | undefined;
6857
+ currency?: string | undefined;
6858
+ country?: string | undefined;
6859
+ loyalty?: number | undefined;
6860
+ customer_id?: string | undefined;
6861
+ location_id?: string | undefined;
6862
+ taxes?: {
6863
+ tax_rate: number;
6864
+ tax_amount: number;
6865
+ total: number;
6866
+ }[] | undefined;
6867
+ payments: {
6868
+ id?: string | undefined;
6869
+ payment_method_id?: string | undefined;
6870
+ payment_method_name?: string | undefined;
6871
+ total: number;
6872
+ tip?: number | undefined;
6873
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
6874
+ currency?: string | undefined;
6875
+ date?: string | undefined;
6876
+ }[];
6519
6877
  items: {
6520
6878
  id: string;
6521
6879
  quantity: number;
@@ -6531,26 +6889,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6531
6889
  product_id?: string | undefined;
6532
6890
  accounting_category_id?: string | undefined;
6533
6891
  }[];
6534
- payments: {
6535
- id?: string | undefined;
6536
- payment_method_id?: string | undefined;
6537
- payment_method_name?: string | undefined;
6538
- total: number;
6539
- tip?: number | undefined;
6540
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
6541
- currency?: string | undefined;
6542
- date?: string | undefined;
6543
- }[];
6544
- currency?: string | undefined;
6545
- country?: string | undefined;
6546
- loyalty?: number | undefined;
6547
- customer_id?: string | undefined;
6548
- location_id?: string | undefined;
6549
- taxes?: {
6550
- tax_rate: number;
6551
- tax_amount: number;
6552
- total: number;
6553
- }[] | undefined;
6554
6892
  }>;
6555
6893
  getCustomer(customerId: string): import("../types/api").RequestData<{
6556
6894
  id: string;
@@ -6686,6 +7024,26 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6686
7024
  total_discount?: number | undefined;
6687
7025
  total_refund?: number | undefined;
6688
7026
  total_tip?: number | undefined;
7027
+ currency?: string | undefined;
7028
+ country?: string | undefined;
7029
+ loyalty?: number | undefined;
7030
+ customer_id?: string | undefined;
7031
+ location_id?: string | undefined;
7032
+ taxes?: {
7033
+ tax_rate: number;
7034
+ tax_amount: number;
7035
+ total: number;
7036
+ }[] | undefined;
7037
+ payments: {
7038
+ id?: string | undefined;
7039
+ payment_method_id?: string | undefined;
7040
+ payment_method_name?: string | undefined;
7041
+ total: number;
7042
+ tip?: number | undefined;
7043
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
7044
+ currency?: string | undefined;
7045
+ date?: string | undefined;
7046
+ }[];
6689
7047
  items: {
6690
7048
  id: string;
6691
7049
  quantity: number;
@@ -6701,16 +7059,53 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6701
7059
  product_id?: string | undefined;
6702
7060
  accounting_category_id?: string | undefined;
6703
7061
  }[];
6704
- payments: {
7062
+ }>;
7063
+ getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
7064
+ id: string;
7065
+ name: string;
7066
+ id_parent?: string | undefined;
7067
+ code?: string | undefined;
7068
+ ledger_account_code?: string | undefined;
7069
+ posting_account_code?: string | undefined;
7070
+ }[]>;
7071
+ }>;
7072
+ pms: import("../types/api").ApiFor<{
7073
+ getLocations(): import("../types/api").RequestData<{
7074
+ id: string;
7075
+ name: string;
7076
+ timezone?: string | undefined;
7077
+ address?: {
7078
+ address_type?: string | undefined;
7079
+ name?: string | undefined;
7080
+ street?: string | undefined;
7081
+ number?: string | undefined;
7082
+ box?: string | undefined;
7083
+ city?: string | undefined;
7084
+ postal_code?: string | undefined;
7085
+ country?: string | undefined;
7086
+ } | undefined;
7087
+ }[]>;
7088
+ getOrders(params: {
7089
+ date_from: string;
7090
+ date_to: string;
7091
+ location_id?: string | undefined;
7092
+ state?: "closed" | "consumed" | undefined;
7093
+ }): import("../types/api").RequestData<{
7094
+ id: string;
7095
+ source_ref: {
6705
7096
  id?: string | undefined;
6706
- payment_method_id?: string | undefined;
6707
- payment_method_name?: string | undefined;
6708
- total: number;
6709
- tip?: number | undefined;
6710
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
6711
- currency?: string | undefined;
6712
- date?: string | undefined;
6713
- }[];
7097
+ model?: string | undefined;
7098
+ };
7099
+ order_number?: string | undefined;
7100
+ creation_date: string;
7101
+ closing_date?: string | undefined;
7102
+ service_date?: string | undefined;
7103
+ device_id?: string | undefined;
7104
+ total: number;
7105
+ tax_amount: number;
7106
+ total_discount?: number | undefined;
7107
+ total_refund?: number | undefined;
7108
+ total_tip?: number | undefined;
6714
7109
  currency?: string | undefined;
6715
7110
  country?: string | undefined;
6716
7111
  loyalty?: number | undefined;
@@ -6721,9 +7116,68 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6721
7116
  tax_amount: number;
6722
7117
  total: number;
6723
7118
  }[] | undefined;
7119
+ items: {
7120
+ id: string;
7121
+ source_ref: {
7122
+ id?: string | undefined;
7123
+ model?: string | undefined;
7124
+ };
7125
+ quantity: number;
7126
+ unit_price: number;
7127
+ total: number;
7128
+ tax_amount: number;
7129
+ tax_rate?: number | undefined;
7130
+ description?: string | undefined;
7131
+ discounts?: {
7132
+ name?: string | undefined;
7133
+ total: number;
7134
+ }[] | undefined;
7135
+ product_id?: string | undefined;
7136
+ accounting_category_id?: string | undefined;
7137
+ }[];
7138
+ service_id?: string | undefined;
7139
+ }[]>;
7140
+ getPaymentMethods(params?: {
7141
+ location_id?: string | undefined;
7142
+ } | undefined): import("../types/api").RequestData<{
7143
+ id: string;
7144
+ source_ref: {
7145
+ id?: string | undefined;
7146
+ model?: string | undefined;
7147
+ };
7148
+ name: string;
7149
+ extra?: string | undefined;
7150
+ ledger_account_code?: string | undefined;
7151
+ }[]>;
7152
+ getClosure(date: string, params?: {
7153
+ location_id?: string | undefined;
7154
+ } | undefined): import("../types/api").RequestData<{
7155
+ date: string;
7156
+ status: "open" | "closed";
6724
7157
  }>;
7158
+ getPayments(params: {
7159
+ date_from: string;
7160
+ date_to: string;
7161
+ }): import("../types/api").RequestData<{
7162
+ id?: string | undefined;
7163
+ source_ref: {
7164
+ id?: string | undefined;
7165
+ model?: string | undefined;
7166
+ };
7167
+ payment_method_id?: string | undefined;
7168
+ payment_method_name?: string | undefined;
7169
+ total: number;
7170
+ tip?: number | undefined;
7171
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
7172
+ currency?: string | undefined;
7173
+ date?: string | undefined;
7174
+ }[]>;
6725
7175
  getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
6726
7176
  id: string;
7177
+ source_ref: {
7178
+ id?: string | undefined;
7179
+ model?: string | undefined;
7180
+ };
6727
7181
  name: string;
6728
7182
  id_parent?: string | undefined;
6729
7183
  code?: string | undefined;
@@ -7208,6 +7662,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
7208
7662
  iban: string;
7209
7663
  };
7210
7664
  } | undefined;
7665
+ shipping_country?: string | undefined;
7211
7666
  lines: {
7212
7667
  line_number?: number | undefined;
7213
7668
  description: string;
@@ -7304,6 +7759,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
7304
7759
  iban: string;
7305
7760
  };
7306
7761
  } | undefined;
7762
+ shipping_country?: string | undefined;
7307
7763
  lines: {
7308
7764
  line_number?: number | undefined;
7309
7765
  description: string;
@@ -8165,6 +8621,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
8165
8621
  id: string;
8166
8622
  name: string;
8167
8623
  selected?: boolean | undefined;
8624
+ vat?: string | undefined;
8625
+ company_number?: string | undefined;
8168
8626
  }[]>;
8169
8627
  }>;
8170
8628
  invoicing: import("../types/api").ApiFor<{
@@ -8894,6 +9352,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
8894
9352
  date_to?: string | undefined;
8895
9353
  updated_after?: string | undefined;
8896
9354
  include_detailed_refunds?: "true" | "false" | undefined;
9355
+ include_product_categories?: "true" | "false" | undefined;
8897
9356
  } | undefined): import("../types/api").RequestData<{
8898
9357
  id: string;
8899
9358
  source_ref: {
@@ -8940,8 +9399,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
8940
9399
  created_on?: string | undefined;
8941
9400
  last_updated_on?: string | undefined;
8942
9401
  confirmed_on?: string | undefined;
9402
+ delivery_date?: string | undefined;
8943
9403
  cancelled_on?: string | undefined;
8944
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
9404
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
8945
9405
  discount_amount: number;
8946
9406
  untaxed_amount_without_fees: number;
8947
9407
  tax_amount_without_fees: number;
@@ -8965,6 +9425,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
8965
9425
  id: string;
8966
9426
  sku?: string | undefined;
8967
9427
  name: string;
9428
+ categories?: {
9429
+ id: string;
9430
+ name: string;
9431
+ }[] | undefined;
8968
9432
  } | undefined;
8969
9433
  quantity: number;
8970
9434
  untaxed_amount: number;
@@ -8982,6 +9446,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
8982
9446
  tax_amount: number;
8983
9447
  total: number;
8984
9448
  }[] | undefined;
9449
+ transactions?: {
9450
+ id: string;
9451
+ payment_method_id?: string | undefined;
9452
+ payment_method_name?: string | undefined;
9453
+ amount: number;
9454
+ status: "failed" | "pending" | "success";
9455
+ }[] | undefined;
8985
9456
  }[] | undefined;
8986
9457
  currency: string;
8987
9458
  note?: string | undefined;
@@ -8996,6 +9467,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
8996
9467
  id: string;
8997
9468
  sku?: string | undefined;
8998
9469
  name: string;
9470
+ categories?: {
9471
+ id: string;
9472
+ name: string;
9473
+ }[] | undefined;
8999
9474
  } | undefined;
9000
9475
  quantity: number;
9001
9476
  unit_price: number;
@@ -9131,8 +9606,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9131
9606
  created_on?: string | undefined;
9132
9607
  last_updated_on?: string | undefined;
9133
9608
  confirmed_on?: string | undefined;
9609
+ delivery_date?: string | undefined;
9134
9610
  cancelled_on?: string | undefined;
9135
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
9611
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
9136
9612
  discount_amount: number;
9137
9613
  untaxed_amount_without_fees: number;
9138
9614
  tax_amount_without_fees: number;
@@ -9156,6 +9632,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9156
9632
  id: string;
9157
9633
  sku?: string | undefined;
9158
9634
  name: string;
9635
+ categories?: {
9636
+ id: string;
9637
+ name: string;
9638
+ }[] | undefined;
9159
9639
  } | undefined;
9160
9640
  quantity: number;
9161
9641
  untaxed_amount: number;
@@ -9173,6 +9653,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9173
9653
  tax_amount: number;
9174
9654
  total: number;
9175
9655
  }[] | undefined;
9656
+ transactions?: {
9657
+ id: string;
9658
+ payment_method_id?: string | undefined;
9659
+ payment_method_name?: string | undefined;
9660
+ amount: number;
9661
+ status: "failed" | "pending" | "success";
9662
+ }[] | undefined;
9176
9663
  }[] | undefined;
9177
9664
  currency: string;
9178
9665
  note?: string | undefined;
@@ -9187,6 +9674,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9187
9674
  id: string;
9188
9675
  sku?: string | undefined;
9189
9676
  name: string;
9677
+ categories?: {
9678
+ id: string;
9679
+ name: string;
9680
+ }[] | undefined;
9190
9681
  } | undefined;
9191
9682
  quantity: number;
9192
9683
  unit_price: number;
@@ -9281,8 +9772,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9281
9772
  created_on?: string | undefined;
9282
9773
  last_updated_on?: string | undefined;
9283
9774
  confirmed_on?: string | undefined;
9775
+ delivery_date?: string | undefined;
9284
9776
  cancelled_on?: string | undefined;
9285
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
9777
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
9286
9778
  discount_amount: number;
9287
9779
  untaxed_amount_without_fees: number;
9288
9780
  tax_amount_without_fees: number;
@@ -9306,6 +9798,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9306
9798
  id: string;
9307
9799
  sku?: string | undefined;
9308
9800
  name: string;
9801
+ categories?: {
9802
+ id: string;
9803
+ name: string;
9804
+ }[] | undefined;
9309
9805
  } | undefined;
9310
9806
  quantity: number;
9311
9807
  untaxed_amount: number;
@@ -9323,6 +9819,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9323
9819
  tax_amount: number;
9324
9820
  total: number;
9325
9821
  }[] | undefined;
9822
+ transactions?: {
9823
+ id: string;
9824
+ payment_method_id?: string | undefined;
9825
+ payment_method_name?: string | undefined;
9826
+ amount: number;
9827
+ status: "failed" | "pending" | "success";
9828
+ }[] | undefined;
9326
9829
  }[] | undefined;
9327
9830
  currency: string;
9328
9831
  note?: string | undefined;
@@ -9337,6 +9840,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9337
9840
  id: string;
9338
9841
  sku?: string | undefined;
9339
9842
  name: string;
9843
+ categories?: {
9844
+ id: string;
9845
+ name: string;
9846
+ }[] | undefined;
9340
9847
  } | undefined;
9341
9848
  quantity: number;
9342
9849
  unit_price: number;
@@ -9614,6 +10121,26 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9614
10121
  total_discount?: number | undefined;
9615
10122
  total_refund?: number | undefined;
9616
10123
  total_tip?: number | undefined;
10124
+ currency?: string | undefined;
10125
+ country?: string | undefined;
10126
+ loyalty?: number | undefined;
10127
+ customer_id?: string | undefined;
10128
+ location_id?: string | undefined;
10129
+ taxes?: {
10130
+ tax_rate: number;
10131
+ tax_amount: number;
10132
+ total: number;
10133
+ }[] | undefined;
10134
+ payments: {
10135
+ id?: string | undefined;
10136
+ payment_method_id?: string | undefined;
10137
+ payment_method_name?: string | undefined;
10138
+ total: number;
10139
+ tip?: number | undefined;
10140
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
10141
+ currency?: string | undefined;
10142
+ date?: string | undefined;
10143
+ }[];
9617
10144
  items: {
9618
10145
  id: string;
9619
10146
  quantity: number;
@@ -9629,26 +10156,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9629
10156
  product_id?: string | undefined;
9630
10157
  accounting_category_id?: string | undefined;
9631
10158
  }[];
9632
- payments: {
9633
- id?: string | undefined;
9634
- payment_method_id?: string | undefined;
9635
- payment_method_name?: string | undefined;
9636
- total: number;
9637
- tip?: number | undefined;
9638
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
9639
- currency?: string | undefined;
9640
- date?: string | undefined;
9641
- }[];
9642
- currency?: string | undefined;
9643
- country?: string | undefined;
9644
- loyalty?: number | undefined;
9645
- customer_id?: string | undefined;
9646
- location_id?: string | undefined;
9647
- taxes?: {
9648
- tax_rate: number;
9649
- tax_amount: number;
9650
- total: number;
9651
- }[] | undefined;
9652
10159
  }[]>;
9653
10160
  getCustomers(params?: {
9654
10161
  search?: string | undefined;
@@ -9687,6 +10194,26 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9687
10194
  total_discount?: number | undefined;
9688
10195
  total_refund?: number | undefined;
9689
10196
  total_tip?: number | undefined;
10197
+ currency?: string | undefined;
10198
+ country?: string | undefined;
10199
+ loyalty?: number | undefined;
10200
+ customer_id?: string | undefined;
10201
+ location_id?: string | undefined;
10202
+ taxes?: {
10203
+ tax_rate: number;
10204
+ tax_amount: number;
10205
+ total: number;
10206
+ }[] | undefined;
10207
+ payments: {
10208
+ id?: string | undefined;
10209
+ payment_method_id?: string | undefined;
10210
+ payment_method_name?: string | undefined;
10211
+ total: number;
10212
+ tip?: number | undefined;
10213
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
10214
+ currency?: string | undefined;
10215
+ date?: string | undefined;
10216
+ }[];
9690
10217
  items: {
9691
10218
  id: string;
9692
10219
  quantity: number;
@@ -9702,26 +10229,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9702
10229
  product_id?: string | undefined;
9703
10230
  accounting_category_id?: string | undefined;
9704
10231
  }[];
9705
- payments: {
9706
- id?: string | undefined;
9707
- payment_method_id?: string | undefined;
9708
- payment_method_name?: string | undefined;
9709
- total: number;
9710
- tip?: number | undefined;
9711
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
9712
- currency?: string | undefined;
9713
- date?: string | undefined;
9714
- }[];
9715
- currency?: string | undefined;
9716
- country?: string | undefined;
9717
- loyalty?: number | undefined;
9718
- customer_id?: string | undefined;
9719
- location_id?: string | undefined;
9720
- taxes?: {
9721
- tax_rate: number;
9722
- tax_amount: number;
9723
- total: number;
9724
- }[] | undefined;
9725
10232
  }>;
9726
10233
  getCustomer(customerId: string): import("../types/api").RequestData<{
9727
10234
  id: string;
@@ -9857,6 +10364,26 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9857
10364
  total_discount?: number | undefined;
9858
10365
  total_refund?: number | undefined;
9859
10366
  total_tip?: number | undefined;
10367
+ currency?: string | undefined;
10368
+ country?: string | undefined;
10369
+ loyalty?: number | undefined;
10370
+ customer_id?: string | undefined;
10371
+ location_id?: string | undefined;
10372
+ taxes?: {
10373
+ tax_rate: number;
10374
+ tax_amount: number;
10375
+ total: number;
10376
+ }[] | undefined;
10377
+ payments: {
10378
+ id?: string | undefined;
10379
+ payment_method_id?: string | undefined;
10380
+ payment_method_name?: string | undefined;
10381
+ total: number;
10382
+ tip?: number | undefined;
10383
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
10384
+ currency?: string | undefined;
10385
+ date?: string | undefined;
10386
+ }[];
9860
10387
  items: {
9861
10388
  id: string;
9862
10389
  quantity: number;
@@ -9872,16 +10399,53 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9872
10399
  product_id?: string | undefined;
9873
10400
  accounting_category_id?: string | undefined;
9874
10401
  }[];
9875
- payments: {
10402
+ }>;
10403
+ getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
10404
+ id: string;
10405
+ name: string;
10406
+ id_parent?: string | undefined;
10407
+ code?: string | undefined;
10408
+ ledger_account_code?: string | undefined;
10409
+ posting_account_code?: string | undefined;
10410
+ }[]>;
10411
+ }>;
10412
+ pms: import("../types/api").ApiFor<{
10413
+ getLocations(): import("../types/api").RequestData<{
10414
+ id: string;
10415
+ name: string;
10416
+ timezone?: string | undefined;
10417
+ address?: {
10418
+ address_type?: string | undefined;
10419
+ name?: string | undefined;
10420
+ street?: string | undefined;
10421
+ number?: string | undefined;
10422
+ box?: string | undefined;
10423
+ city?: string | undefined;
10424
+ postal_code?: string | undefined;
10425
+ country?: string | undefined;
10426
+ } | undefined;
10427
+ }[]>;
10428
+ getOrders(params: {
10429
+ date_from: string;
10430
+ date_to: string;
10431
+ location_id?: string | undefined;
10432
+ state?: "closed" | "consumed" | undefined;
10433
+ }): import("../types/api").RequestData<{
10434
+ id: string;
10435
+ source_ref: {
9876
10436
  id?: string | undefined;
9877
- payment_method_id?: string | undefined;
9878
- payment_method_name?: string | undefined;
9879
- total: number;
9880
- tip?: number | undefined;
9881
- status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
9882
- currency?: string | undefined;
9883
- date?: string | undefined;
9884
- }[];
10437
+ model?: string | undefined;
10438
+ };
10439
+ order_number?: string | undefined;
10440
+ creation_date: string;
10441
+ closing_date?: string | undefined;
10442
+ service_date?: string | undefined;
10443
+ device_id?: string | undefined;
10444
+ total: number;
10445
+ tax_amount: number;
10446
+ total_discount?: number | undefined;
10447
+ total_refund?: number | undefined;
10448
+ total_tip?: number | undefined;
9885
10449
  currency?: string | undefined;
9886
10450
  country?: string | undefined;
9887
10451
  loyalty?: number | undefined;
@@ -9892,9 +10456,68 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9892
10456
  tax_amount: number;
9893
10457
  total: number;
9894
10458
  }[] | undefined;
10459
+ items: {
10460
+ id: string;
10461
+ source_ref: {
10462
+ id?: string | undefined;
10463
+ model?: string | undefined;
10464
+ };
10465
+ quantity: number;
10466
+ unit_price: number;
10467
+ total: number;
10468
+ tax_amount: number;
10469
+ tax_rate?: number | undefined;
10470
+ description?: string | undefined;
10471
+ discounts?: {
10472
+ name?: string | undefined;
10473
+ total: number;
10474
+ }[] | undefined;
10475
+ product_id?: string | undefined;
10476
+ accounting_category_id?: string | undefined;
10477
+ }[];
10478
+ service_id?: string | undefined;
10479
+ }[]>;
10480
+ getPaymentMethods(params?: {
10481
+ location_id?: string | undefined;
10482
+ } | undefined): import("../types/api").RequestData<{
10483
+ id: string;
10484
+ source_ref: {
10485
+ id?: string | undefined;
10486
+ model?: string | undefined;
10487
+ };
10488
+ name: string;
10489
+ extra?: string | undefined;
10490
+ ledger_account_code?: string | undefined;
10491
+ }[]>;
10492
+ getClosure(date: string, params?: {
10493
+ location_id?: string | undefined;
10494
+ } | undefined): import("../types/api").RequestData<{
10495
+ date: string;
10496
+ status: "open" | "closed";
9895
10497
  }>;
10498
+ getPayments(params: {
10499
+ date_from: string;
10500
+ date_to: string;
10501
+ }): import("../types/api").RequestData<{
10502
+ id?: string | undefined;
10503
+ source_ref: {
10504
+ id?: string | undefined;
10505
+ model?: string | undefined;
10506
+ };
10507
+ payment_method_id?: string | undefined;
10508
+ payment_method_name?: string | undefined;
10509
+ total: number;
10510
+ tip?: number | undefined;
10511
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
10512
+ currency?: string | undefined;
10513
+ date?: string | undefined;
10514
+ }[]>;
9896
10515
  getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
9897
10516
  id: string;
10517
+ source_ref: {
10518
+ id?: string | undefined;
10519
+ model?: string | undefined;
10520
+ };
9898
10521
  name: string;
9899
10522
  id_parent?: string | undefined;
9900
10523
  code?: string | undefined;
@@ -10379,6 +11002,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
10379
11002
  iban: string;
10380
11003
  };
10381
11004
  } | undefined;
11005
+ shipping_country?: string | undefined;
10382
11006
  lines: {
10383
11007
  line_number?: number | undefined;
10384
11008
  description: string;
@@ -10475,6 +11099,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
10475
11099
  iban: string;
10476
11100
  };
10477
11101
  } | undefined;
11102
+ shipping_country?: string | undefined;
10478
11103
  lines: {
10479
11104
  line_number?: number | undefined;
10480
11105
  description: string;
@@ -11336,6 +11961,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
11336
11961
  id: string;
11337
11962
  name: string;
11338
11963
  selected?: boolean | undefined;
11964
+ vat?: string | undefined;
11965
+ company_number?: string | undefined;
11339
11966
  }[]>;
11340
11967
  }>;
11341
11968
  invoicing: import("../types/api").ApiFor<{
@@ -12065,6 +12692,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12065
12692
  date_to?: string | undefined;
12066
12693
  updated_after?: string | undefined;
12067
12694
  include_detailed_refunds?: "true" | "false" | undefined;
12695
+ include_product_categories?: "true" | "false" | undefined;
12068
12696
  } | undefined): import("../types/api").RequestData<{
12069
12697
  id: string;
12070
12698
  source_ref: {
@@ -12111,8 +12739,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12111
12739
  created_on?: string | undefined;
12112
12740
  last_updated_on?: string | undefined;
12113
12741
  confirmed_on?: string | undefined;
12742
+ delivery_date?: string | undefined;
12114
12743
  cancelled_on?: string | undefined;
12115
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
12744
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
12116
12745
  discount_amount: number;
12117
12746
  untaxed_amount_without_fees: number;
12118
12747
  tax_amount_without_fees: number;
@@ -12136,6 +12765,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12136
12765
  id: string;
12137
12766
  sku?: string | undefined;
12138
12767
  name: string;
12768
+ categories?: {
12769
+ id: string;
12770
+ name: string;
12771
+ }[] | undefined;
12139
12772
  } | undefined;
12140
12773
  quantity: number;
12141
12774
  untaxed_amount: number;
@@ -12153,6 +12786,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12153
12786
  tax_amount: number;
12154
12787
  total: number;
12155
12788
  }[] | undefined;
12789
+ transactions?: {
12790
+ id: string;
12791
+ payment_method_id?: string | undefined;
12792
+ payment_method_name?: string | undefined;
12793
+ amount: number;
12794
+ status: "failed" | "pending" | "success";
12795
+ }[] | undefined;
12156
12796
  }[] | undefined;
12157
12797
  currency: string;
12158
12798
  note?: string | undefined;
@@ -12167,6 +12807,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12167
12807
  id: string;
12168
12808
  sku?: string | undefined;
12169
12809
  name: string;
12810
+ categories?: {
12811
+ id: string;
12812
+ name: string;
12813
+ }[] | undefined;
12170
12814
  } | undefined;
12171
12815
  quantity: number;
12172
12816
  unit_price: number;
@@ -12302,8 +12946,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12302
12946
  created_on?: string | undefined;
12303
12947
  last_updated_on?: string | undefined;
12304
12948
  confirmed_on?: string | undefined;
12949
+ delivery_date?: string | undefined;
12305
12950
  cancelled_on?: string | undefined;
12306
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
12951
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
12307
12952
  discount_amount: number;
12308
12953
  untaxed_amount_without_fees: number;
12309
12954
  tax_amount_without_fees: number;
@@ -12327,6 +12972,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12327
12972
  id: string;
12328
12973
  sku?: string | undefined;
12329
12974
  name: string;
12975
+ categories?: {
12976
+ id: string;
12977
+ name: string;
12978
+ }[] | undefined;
12330
12979
  } | undefined;
12331
12980
  quantity: number;
12332
12981
  untaxed_amount: number;
@@ -12344,6 +12993,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12344
12993
  tax_amount: number;
12345
12994
  total: number;
12346
12995
  }[] | undefined;
12996
+ transactions?: {
12997
+ id: string;
12998
+ payment_method_id?: string | undefined;
12999
+ payment_method_name?: string | undefined;
13000
+ amount: number;
13001
+ status: "failed" | "pending" | "success";
13002
+ }[] | undefined;
12347
13003
  }[] | undefined;
12348
13004
  currency: string;
12349
13005
  note?: string | undefined;
@@ -12358,6 +13014,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12358
13014
  id: string;
12359
13015
  sku?: string | undefined;
12360
13016
  name: string;
13017
+ categories?: {
13018
+ id: string;
13019
+ name: string;
13020
+ }[] | undefined;
12361
13021
  } | undefined;
12362
13022
  quantity: number;
12363
13023
  unit_price: number;
@@ -12452,8 +13112,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12452
13112
  created_on?: string | undefined;
12453
13113
  last_updated_on?: string | undefined;
12454
13114
  confirmed_on?: string | undefined;
13115
+ delivery_date?: string | undefined;
12455
13116
  cancelled_on?: string | undefined;
12456
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
13117
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
12457
13118
  discount_amount: number;
12458
13119
  untaxed_amount_without_fees: number;
12459
13120
  tax_amount_without_fees: number;
@@ -12477,6 +13138,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12477
13138
  id: string;
12478
13139
  sku?: string | undefined;
12479
13140
  name: string;
13141
+ categories?: {
13142
+ id: string;
13143
+ name: string;
13144
+ }[] | undefined;
12480
13145
  } | undefined;
12481
13146
  quantity: number;
12482
13147
  untaxed_amount: number;
@@ -12494,6 +13159,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12494
13159
  tax_amount: number;
12495
13160
  total: number;
12496
13161
  }[] | undefined;
13162
+ transactions?: {
13163
+ id: string;
13164
+ payment_method_id?: string | undefined;
13165
+ payment_method_name?: string | undefined;
13166
+ amount: number;
13167
+ status: "failed" | "pending" | "success";
13168
+ }[] | undefined;
12497
13169
  }[] | undefined;
12498
13170
  currency: string;
12499
13171
  note?: string | undefined;
@@ -12508,6 +13180,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12508
13180
  id: string;
12509
13181
  sku?: string | undefined;
12510
13182
  name: string;
13183
+ categories?: {
13184
+ id: string;
13185
+ name: string;
13186
+ }[] | undefined;
12511
13187
  } | undefined;
12512
13188
  quantity: number;
12513
13189
  unit_price: number;