@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.
@@ -101,6 +101,27 @@ 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
+ guests?: number | undefined;
115
+ payments: {
116
+ id?: string | undefined;
117
+ payment_method_id?: string | undefined;
118
+ payment_method_name?: string | undefined;
119
+ total: number;
120
+ tip?: number | undefined;
121
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
122
+ currency?: string | undefined;
123
+ date?: string | undefined;
124
+ }[];
104
125
  items: {
105
126
  id: string;
106
127
  quantity: number;
@@ -116,26 +137,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
116
137
  product_id?: string | undefined;
117
138
  accounting_category_id?: string | undefined;
118
139
  }[];
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
140
  }[]>;
140
141
  getCustomers(params?: {
141
142
  search?: string | undefined;
@@ -174,6 +175,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
174
175
  total_discount?: number | undefined;
175
176
  total_refund?: number | undefined;
176
177
  total_tip?: number | undefined;
178
+ currency?: string | undefined;
179
+ country?: string | undefined;
180
+ loyalty?: number | undefined;
181
+ customer_id?: string | undefined;
182
+ location_id?: string | undefined;
183
+ taxes?: {
184
+ tax_rate: number;
185
+ tax_amount: number;
186
+ total: number;
187
+ }[] | undefined;
188
+ guests?: number | undefined;
189
+ payments: {
190
+ id?: string | undefined;
191
+ payment_method_id?: string | undefined;
192
+ payment_method_name?: string | undefined;
193
+ total: number;
194
+ tip?: number | undefined;
195
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
196
+ currency?: string | undefined;
197
+ date?: string | undefined;
198
+ }[];
177
199
  items: {
178
200
  id: string;
179
201
  quantity: number;
@@ -189,26 +211,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
189
211
  product_id?: string | undefined;
190
212
  accounting_category_id?: string | undefined;
191
213
  }[];
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
214
  }>;
213
215
  getCustomer(customerId: string): import("../types/api").RequestData<{
214
216
  id: string;
@@ -344,6 +346,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
344
346
  total_discount?: number | undefined;
345
347
  total_refund?: number | undefined;
346
348
  total_tip?: number | undefined;
349
+ currency?: string | undefined;
350
+ country?: string | undefined;
351
+ loyalty?: number | undefined;
352
+ customer_id?: string | undefined;
353
+ location_id?: string | undefined;
354
+ taxes?: {
355
+ tax_rate: number;
356
+ tax_amount: number;
357
+ total: number;
358
+ }[] | undefined;
359
+ guests?: number | undefined;
360
+ payments: {
361
+ id?: string | undefined;
362
+ payment_method_id?: string | undefined;
363
+ payment_method_name?: string | undefined;
364
+ total: number;
365
+ tip?: number | undefined;
366
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
367
+ currency?: string | undefined;
368
+ date?: string | undefined;
369
+ }[];
347
370
  items: {
348
371
  id: string;
349
372
  quantity: number;
@@ -359,16 +382,53 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
359
382
  product_id?: string | undefined;
360
383
  accounting_category_id?: string | undefined;
361
384
  }[];
362
- payments: {
385
+ }>;
386
+ getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
387
+ id: string;
388
+ name: string;
389
+ id_parent?: string | undefined;
390
+ code?: string | undefined;
391
+ ledger_account_code?: string | undefined;
392
+ posting_account_code?: string | undefined;
393
+ }[]>;
394
+ }>;
395
+ pms: import("../types/api").ApiFor<{
396
+ getLocations(): import("../types/api").RequestData<{
397
+ id: string;
398
+ name: string;
399
+ timezone?: string | undefined;
400
+ address?: {
401
+ address_type?: string | undefined;
402
+ name?: string | undefined;
403
+ street?: string | undefined;
404
+ number?: string | undefined;
405
+ box?: string | undefined;
406
+ city?: string | undefined;
407
+ postal_code?: string | undefined;
408
+ country?: string | undefined;
409
+ } | undefined;
410
+ }[]>;
411
+ getOrders(params: {
412
+ date_from: string;
413
+ date_to: string;
414
+ location_id?: string | undefined;
415
+ state?: "closed" | "consumed" | undefined;
416
+ }): import("../types/api").RequestData<{
417
+ id: string;
418
+ source_ref: {
363
419
  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
- }[];
420
+ model?: string | undefined;
421
+ };
422
+ order_number?: string | undefined;
423
+ creation_date: string;
424
+ closing_date?: string | undefined;
425
+ service_date?: string | undefined;
426
+ device_id?: string | undefined;
427
+ total: number;
428
+ tax_amount: number;
429
+ total_discount?: number | undefined;
430
+ total_refund?: number | undefined;
431
+ total_tip?: number | undefined;
372
432
  currency?: string | undefined;
373
433
  country?: string | undefined;
374
434
  loyalty?: number | undefined;
@@ -379,9 +439,69 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
379
439
  tax_amount: number;
380
440
  total: number;
381
441
  }[] | undefined;
442
+ guests?: number | undefined;
443
+ items: {
444
+ id: string;
445
+ source_ref: {
446
+ id?: string | undefined;
447
+ model?: string | undefined;
448
+ };
449
+ quantity: number;
450
+ unit_price: number;
451
+ total: number;
452
+ tax_amount: number;
453
+ tax_rate?: number | undefined;
454
+ description?: string | undefined;
455
+ discounts?: {
456
+ name?: string | undefined;
457
+ total: number;
458
+ }[] | undefined;
459
+ product_id?: string | undefined;
460
+ accounting_category_id?: string | undefined;
461
+ }[];
462
+ service_id?: string | undefined;
463
+ }[]>;
464
+ getPaymentMethods(params?: {
465
+ location_id?: string | undefined;
466
+ } | undefined): import("../types/api").RequestData<{
467
+ id: string;
468
+ source_ref: {
469
+ id?: string | undefined;
470
+ model?: string | undefined;
471
+ };
472
+ name: string;
473
+ extra?: string | undefined;
474
+ ledger_account_code?: string | undefined;
475
+ }[]>;
476
+ getClosure(date: string, params?: {
477
+ location_id?: string | undefined;
478
+ } | undefined): import("../types/api").RequestData<{
479
+ date: string;
480
+ status: "open" | "closed";
382
481
  }>;
482
+ getPayments(params: {
483
+ date_from: string;
484
+ date_to: string;
485
+ }): import("../types/api").RequestData<{
486
+ id?: string | undefined;
487
+ source_ref: {
488
+ id?: string | undefined;
489
+ model?: string | undefined;
490
+ };
491
+ payment_method_id?: string | undefined;
492
+ payment_method_name?: string | undefined;
493
+ total: number;
494
+ tip?: number | undefined;
495
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
496
+ currency?: string | undefined;
497
+ date?: string | undefined;
498
+ }[]>;
383
499
  getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
384
500
  id: string;
501
+ source_ref: {
502
+ id?: string | undefined;
503
+ model?: string | undefined;
504
+ };
385
505
  name: string;
386
506
  id_parent?: string | undefined;
387
507
  code?: string | undefined;
@@ -866,6 +986,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
866
986
  iban: string;
867
987
  };
868
988
  } | undefined;
989
+ shipping_country?: string | undefined;
869
990
  lines: {
870
991
  line_number?: number | undefined;
871
992
  description: string;
@@ -962,6 +1083,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
962
1083
  iban: string;
963
1084
  };
964
1085
  } | undefined;
1086
+ shipping_country?: string | undefined;
965
1087
  lines: {
966
1088
  line_number?: number | undefined;
967
1089
  description: string;
@@ -1823,6 +1945,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1823
1945
  id: string;
1824
1946
  name: string;
1825
1947
  selected?: boolean | undefined;
1948
+ vat?: string | undefined;
1949
+ company_number?: string | undefined;
1826
1950
  }[]>;
1827
1951
  }>;
1828
1952
  invoicing: import("../types/api").ApiFor<{
@@ -2552,6 +2676,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2552
2676
  date_to?: string | undefined;
2553
2677
  updated_after?: string | undefined;
2554
2678
  include_detailed_refunds?: "true" | "false" | undefined;
2679
+ include_product_categories?: "true" | "false" | undefined;
2680
+ include_customer_details?: "true" | "false" | undefined;
2555
2681
  } | undefined): import("../types/api").RequestData<{
2556
2682
  id: string;
2557
2683
  source_ref: {
@@ -2598,8 +2724,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2598
2724
  created_on?: string | undefined;
2599
2725
  last_updated_on?: string | undefined;
2600
2726
  confirmed_on?: string | undefined;
2727
+ delivery_date?: string | undefined;
2601
2728
  cancelled_on?: string | undefined;
2602
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
2729
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
2603
2730
  discount_amount: number;
2604
2731
  untaxed_amount_without_fees: number;
2605
2732
  tax_amount_without_fees: number;
@@ -2623,6 +2750,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2623
2750
  id: string;
2624
2751
  sku?: string | undefined;
2625
2752
  name: string;
2753
+ categories?: {
2754
+ id: string;
2755
+ name: string;
2756
+ }[] | undefined;
2626
2757
  } | undefined;
2627
2758
  quantity: number;
2628
2759
  untaxed_amount: number;
@@ -2640,6 +2771,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2640
2771
  tax_amount: number;
2641
2772
  total: number;
2642
2773
  }[] | undefined;
2774
+ transactions?: {
2775
+ id: string;
2776
+ created_on?: string | undefined;
2777
+ payment_method_id?: string | undefined;
2778
+ payment_method_name?: string | undefined;
2779
+ amount: number;
2780
+ status: "failed" | "pending" | "success";
2781
+ }[] | undefined;
2643
2782
  }[] | undefined;
2644
2783
  currency: string;
2645
2784
  note?: string | undefined;
@@ -2654,6 +2793,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2654
2793
  id: string;
2655
2794
  sku?: string | undefined;
2656
2795
  name: string;
2796
+ categories?: {
2797
+ id: string;
2798
+ name: string;
2799
+ }[] | undefined;
2657
2800
  } | undefined;
2658
2801
  quantity: number;
2659
2802
  unit_price: number;
@@ -2692,6 +2835,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2692
2835
  payment_method_id?: string | undefined;
2693
2836
  transactions?: {
2694
2837
  id: string;
2838
+ created_on?: string | undefined;
2695
2839
  payment_method_id?: string | undefined;
2696
2840
  payment_method_name?: string | undefined;
2697
2841
  amount: number;
@@ -2789,8 +2933,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2789
2933
  created_on?: string | undefined;
2790
2934
  last_updated_on?: string | undefined;
2791
2935
  confirmed_on?: string | undefined;
2936
+ delivery_date?: string | undefined;
2792
2937
  cancelled_on?: string | undefined;
2793
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
2938
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
2794
2939
  discount_amount: number;
2795
2940
  untaxed_amount_without_fees: number;
2796
2941
  tax_amount_without_fees: number;
@@ -2814,6 +2959,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2814
2959
  id: string;
2815
2960
  sku?: string | undefined;
2816
2961
  name: string;
2962
+ categories?: {
2963
+ id: string;
2964
+ name: string;
2965
+ }[] | undefined;
2817
2966
  } | undefined;
2818
2967
  quantity: number;
2819
2968
  untaxed_amount: number;
@@ -2831,6 +2980,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2831
2980
  tax_amount: number;
2832
2981
  total: number;
2833
2982
  }[] | undefined;
2983
+ transactions?: {
2984
+ id: string;
2985
+ created_on?: string | undefined;
2986
+ payment_method_id?: string | undefined;
2987
+ payment_method_name?: string | undefined;
2988
+ amount: number;
2989
+ status: "failed" | "pending" | "success";
2990
+ }[] | undefined;
2834
2991
  }[] | undefined;
2835
2992
  currency: string;
2836
2993
  note?: string | undefined;
@@ -2845,6 +3002,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2845
3002
  id: string;
2846
3003
  sku?: string | undefined;
2847
3004
  name: string;
3005
+ categories?: {
3006
+ id: string;
3007
+ name: string;
3008
+ }[] | undefined;
2848
3009
  } | undefined;
2849
3010
  quantity: number;
2850
3011
  unit_price: number;
@@ -2883,6 +3044,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2883
3044
  payment_method_id?: string | undefined;
2884
3045
  transactions?: {
2885
3046
  id: string;
3047
+ created_on?: string | undefined;
2886
3048
  payment_method_id?: string | undefined;
2887
3049
  payment_method_name?: string | undefined;
2888
3050
  amount: number;
@@ -2939,8 +3101,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2939
3101
  created_on?: string | undefined;
2940
3102
  last_updated_on?: string | undefined;
2941
3103
  confirmed_on?: string | undefined;
3104
+ delivery_date?: string | undefined;
2942
3105
  cancelled_on?: string | undefined;
2943
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
3106
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
2944
3107
  discount_amount: number;
2945
3108
  untaxed_amount_without_fees: number;
2946
3109
  tax_amount_without_fees: number;
@@ -2964,6 +3127,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2964
3127
  id: string;
2965
3128
  sku?: string | undefined;
2966
3129
  name: string;
3130
+ categories?: {
3131
+ id: string;
3132
+ name: string;
3133
+ }[] | undefined;
2967
3134
  } | undefined;
2968
3135
  quantity: number;
2969
3136
  untaxed_amount: number;
@@ -2981,6 +3148,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2981
3148
  tax_amount: number;
2982
3149
  total: number;
2983
3150
  }[] | undefined;
3151
+ transactions?: {
3152
+ id: string;
3153
+ created_on?: string | undefined;
3154
+ payment_method_id?: string | undefined;
3155
+ payment_method_name?: string | undefined;
3156
+ amount: number;
3157
+ status: "failed" | "pending" | "success";
3158
+ }[] | undefined;
2984
3159
  }[] | undefined;
2985
3160
  currency: string;
2986
3161
  note?: string | undefined;
@@ -2995,6 +3170,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2995
3170
  id: string;
2996
3171
  sku?: string | undefined;
2997
3172
  name: string;
3173
+ categories?: {
3174
+ id: string;
3175
+ name: string;
3176
+ }[] | undefined;
2998
3177
  } | undefined;
2999
3178
  quantity: number;
3000
3179
  unit_price: number;
@@ -3033,6 +3212,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
3033
3212
  payment_method_id?: string | undefined;
3034
3213
  transactions?: {
3035
3214
  id: string;
3215
+ created_on?: string | undefined;
3036
3216
  payment_method_id?: string | undefined;
3037
3217
  payment_method_name?: string | undefined;
3038
3218
  amount: number;
@@ -3272,6 +3452,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
3272
3452
  total_discount?: number | undefined;
3273
3453
  total_refund?: number | undefined;
3274
3454
  total_tip?: number | undefined;
3455
+ currency?: string | undefined;
3456
+ country?: string | undefined;
3457
+ loyalty?: number | undefined;
3458
+ customer_id?: string | undefined;
3459
+ location_id?: string | undefined;
3460
+ taxes?: {
3461
+ tax_rate: number;
3462
+ tax_amount: number;
3463
+ total: number;
3464
+ }[] | undefined;
3465
+ guests?: number | undefined;
3466
+ payments: {
3467
+ id?: string | undefined;
3468
+ payment_method_id?: string | undefined;
3469
+ payment_method_name?: string | undefined;
3470
+ total: number;
3471
+ tip?: number | undefined;
3472
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
3473
+ currency?: string | undefined;
3474
+ date?: string | undefined;
3475
+ }[];
3275
3476
  items: {
3276
3477
  id: string;
3277
3478
  quantity: number;
@@ -3287,26 +3488,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
3287
3488
  product_id?: string | undefined;
3288
3489
  accounting_category_id?: string | undefined;
3289
3490
  }[];
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
3491
  }[]>;
3311
3492
  getCustomers(params?: {
3312
3493
  search?: string | undefined;
@@ -3345,6 +3526,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
3345
3526
  total_discount?: number | undefined;
3346
3527
  total_refund?: number | undefined;
3347
3528
  total_tip?: number | undefined;
3529
+ currency?: string | undefined;
3530
+ country?: string | undefined;
3531
+ loyalty?: number | undefined;
3532
+ customer_id?: string | undefined;
3533
+ location_id?: string | undefined;
3534
+ taxes?: {
3535
+ tax_rate: number;
3536
+ tax_amount: number;
3537
+ total: number;
3538
+ }[] | undefined;
3539
+ guests?: number | undefined;
3540
+ payments: {
3541
+ id?: string | undefined;
3542
+ payment_method_id?: string | undefined;
3543
+ payment_method_name?: string | undefined;
3544
+ total: number;
3545
+ tip?: number | undefined;
3546
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
3547
+ currency?: string | undefined;
3548
+ date?: string | undefined;
3549
+ }[];
3348
3550
  items: {
3349
3551
  id: string;
3350
3552
  quantity: number;
@@ -3360,26 +3562,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
3360
3562
  product_id?: string | undefined;
3361
3563
  accounting_category_id?: string | undefined;
3362
3564
  }[];
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
3565
  }>;
3384
3566
  getCustomer(customerId: string): import("../types/api").RequestData<{
3385
3567
  id: string;
@@ -3515,6 +3697,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
3515
3697
  total_discount?: number | undefined;
3516
3698
  total_refund?: number | undefined;
3517
3699
  total_tip?: number | undefined;
3700
+ currency?: string | undefined;
3701
+ country?: string | undefined;
3702
+ loyalty?: number | undefined;
3703
+ customer_id?: string | undefined;
3704
+ location_id?: string | undefined;
3705
+ taxes?: {
3706
+ tax_rate: number;
3707
+ tax_amount: number;
3708
+ total: number;
3709
+ }[] | undefined;
3710
+ guests?: number | undefined;
3711
+ payments: {
3712
+ id?: string | undefined;
3713
+ payment_method_id?: string | undefined;
3714
+ payment_method_name?: string | undefined;
3715
+ total: number;
3716
+ tip?: number | undefined;
3717
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
3718
+ currency?: string | undefined;
3719
+ date?: string | undefined;
3720
+ }[];
3518
3721
  items: {
3519
3722
  id: string;
3520
3723
  quantity: number;
@@ -3530,16 +3733,53 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
3530
3733
  product_id?: string | undefined;
3531
3734
  accounting_category_id?: string | undefined;
3532
3735
  }[];
3533
- payments: {
3736
+ }>;
3737
+ getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
3738
+ id: string;
3739
+ name: string;
3740
+ id_parent?: string | undefined;
3741
+ code?: string | undefined;
3742
+ ledger_account_code?: string | undefined;
3743
+ posting_account_code?: string | undefined;
3744
+ }[]>;
3745
+ }>;
3746
+ pms: import("../types/api").ApiFor<{
3747
+ getLocations(): import("../types/api").RequestData<{
3748
+ id: string;
3749
+ name: string;
3750
+ timezone?: string | undefined;
3751
+ address?: {
3752
+ address_type?: string | undefined;
3753
+ name?: string | undefined;
3754
+ street?: string | undefined;
3755
+ number?: string | undefined;
3756
+ box?: string | undefined;
3757
+ city?: string | undefined;
3758
+ postal_code?: string | undefined;
3759
+ country?: string | undefined;
3760
+ } | undefined;
3761
+ }[]>;
3762
+ getOrders(params: {
3763
+ date_from: string;
3764
+ date_to: string;
3765
+ location_id?: string | undefined;
3766
+ state?: "closed" | "consumed" | undefined;
3767
+ }): import("../types/api").RequestData<{
3768
+ id: string;
3769
+ source_ref: {
3534
3770
  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
- }[];
3771
+ model?: string | undefined;
3772
+ };
3773
+ order_number?: string | undefined;
3774
+ creation_date: string;
3775
+ closing_date?: string | undefined;
3776
+ service_date?: string | undefined;
3777
+ device_id?: string | undefined;
3778
+ total: number;
3779
+ tax_amount: number;
3780
+ total_discount?: number | undefined;
3781
+ total_refund?: number | undefined;
3782
+ total_tip?: number | undefined;
3543
3783
  currency?: string | undefined;
3544
3784
  country?: string | undefined;
3545
3785
  loyalty?: number | undefined;
@@ -3550,9 +3790,69 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
3550
3790
  tax_amount: number;
3551
3791
  total: number;
3552
3792
  }[] | undefined;
3793
+ guests?: number | undefined;
3794
+ items: {
3795
+ id: string;
3796
+ source_ref: {
3797
+ id?: string | undefined;
3798
+ model?: string | undefined;
3799
+ };
3800
+ quantity: number;
3801
+ unit_price: number;
3802
+ total: number;
3803
+ tax_amount: number;
3804
+ tax_rate?: number | undefined;
3805
+ description?: string | undefined;
3806
+ discounts?: {
3807
+ name?: string | undefined;
3808
+ total: number;
3809
+ }[] | undefined;
3810
+ product_id?: string | undefined;
3811
+ accounting_category_id?: string | undefined;
3812
+ }[];
3813
+ service_id?: string | undefined;
3814
+ }[]>;
3815
+ getPaymentMethods(params?: {
3816
+ location_id?: string | undefined;
3817
+ } | undefined): import("../types/api").RequestData<{
3818
+ id: string;
3819
+ source_ref: {
3820
+ id?: string | undefined;
3821
+ model?: string | undefined;
3822
+ };
3823
+ name: string;
3824
+ extra?: string | undefined;
3825
+ ledger_account_code?: string | undefined;
3826
+ }[]>;
3827
+ getClosure(date: string, params?: {
3828
+ location_id?: string | undefined;
3829
+ } | undefined): import("../types/api").RequestData<{
3830
+ date: string;
3831
+ status: "open" | "closed";
3553
3832
  }>;
3833
+ getPayments(params: {
3834
+ date_from: string;
3835
+ date_to: string;
3836
+ }): import("../types/api").RequestData<{
3837
+ id?: string | undefined;
3838
+ source_ref: {
3839
+ id?: string | undefined;
3840
+ model?: string | undefined;
3841
+ };
3842
+ payment_method_id?: string | undefined;
3843
+ payment_method_name?: string | undefined;
3844
+ total: number;
3845
+ tip?: number | undefined;
3846
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
3847
+ currency?: string | undefined;
3848
+ date?: string | undefined;
3849
+ }[]>;
3554
3850
  getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
3555
3851
  id: string;
3852
+ source_ref: {
3853
+ id?: string | undefined;
3854
+ model?: string | undefined;
3855
+ };
3556
3856
  name: string;
3557
3857
  id_parent?: string | undefined;
3558
3858
  code?: string | undefined;
@@ -4037,6 +4337,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
4037
4337
  iban: string;
4038
4338
  };
4039
4339
  } | undefined;
4340
+ shipping_country?: string | undefined;
4040
4341
  lines: {
4041
4342
  line_number?: number | undefined;
4042
4343
  description: string;
@@ -4133,6 +4434,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
4133
4434
  iban: string;
4134
4435
  };
4135
4436
  } | undefined;
4437
+ shipping_country?: string | undefined;
4136
4438
  lines: {
4137
4439
  line_number?: number | undefined;
4138
4440
  description: string;
@@ -4994,6 +5296,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
4994
5296
  id: string;
4995
5297
  name: string;
4996
5298
  selected?: boolean | undefined;
5299
+ vat?: string | undefined;
5300
+ company_number?: string | undefined;
4997
5301
  }[]>;
4998
5302
  }>;
4999
5303
  invoicing: import("../types/api").ApiFor<{
@@ -5723,6 +6027,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
5723
6027
  date_to?: string | undefined;
5724
6028
  updated_after?: string | undefined;
5725
6029
  include_detailed_refunds?: "true" | "false" | undefined;
6030
+ include_product_categories?: "true" | "false" | undefined;
6031
+ include_customer_details?: "true" | "false" | undefined;
5726
6032
  } | undefined): import("../types/api").RequestData<{
5727
6033
  id: string;
5728
6034
  source_ref: {
@@ -5769,8 +6075,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
5769
6075
  created_on?: string | undefined;
5770
6076
  last_updated_on?: string | undefined;
5771
6077
  confirmed_on?: string | undefined;
6078
+ delivery_date?: string | undefined;
5772
6079
  cancelled_on?: string | undefined;
5773
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
6080
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
5774
6081
  discount_amount: number;
5775
6082
  untaxed_amount_without_fees: number;
5776
6083
  tax_amount_without_fees: number;
@@ -5794,6 +6101,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
5794
6101
  id: string;
5795
6102
  sku?: string | undefined;
5796
6103
  name: string;
6104
+ categories?: {
6105
+ id: string;
6106
+ name: string;
6107
+ }[] | undefined;
5797
6108
  } | undefined;
5798
6109
  quantity: number;
5799
6110
  untaxed_amount: number;
@@ -5811,6 +6122,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
5811
6122
  tax_amount: number;
5812
6123
  total: number;
5813
6124
  }[] | undefined;
6125
+ transactions?: {
6126
+ id: string;
6127
+ created_on?: string | undefined;
6128
+ payment_method_id?: string | undefined;
6129
+ payment_method_name?: string | undefined;
6130
+ amount: number;
6131
+ status: "failed" | "pending" | "success";
6132
+ }[] | undefined;
5814
6133
  }[] | undefined;
5815
6134
  currency: string;
5816
6135
  note?: string | undefined;
@@ -5825,6 +6144,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
5825
6144
  id: string;
5826
6145
  sku?: string | undefined;
5827
6146
  name: string;
6147
+ categories?: {
6148
+ id: string;
6149
+ name: string;
6150
+ }[] | undefined;
5828
6151
  } | undefined;
5829
6152
  quantity: number;
5830
6153
  unit_price: number;
@@ -5863,6 +6186,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
5863
6186
  payment_method_id?: string | undefined;
5864
6187
  transactions?: {
5865
6188
  id: string;
6189
+ created_on?: string | undefined;
5866
6190
  payment_method_id?: string | undefined;
5867
6191
  payment_method_name?: string | undefined;
5868
6192
  amount: number;
@@ -5960,8 +6284,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
5960
6284
  created_on?: string | undefined;
5961
6285
  last_updated_on?: string | undefined;
5962
6286
  confirmed_on?: string | undefined;
6287
+ delivery_date?: string | undefined;
5963
6288
  cancelled_on?: string | undefined;
5964
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
6289
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
5965
6290
  discount_amount: number;
5966
6291
  untaxed_amount_without_fees: number;
5967
6292
  tax_amount_without_fees: number;
@@ -5985,6 +6310,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
5985
6310
  id: string;
5986
6311
  sku?: string | undefined;
5987
6312
  name: string;
6313
+ categories?: {
6314
+ id: string;
6315
+ name: string;
6316
+ }[] | undefined;
5988
6317
  } | undefined;
5989
6318
  quantity: number;
5990
6319
  untaxed_amount: number;
@@ -6002,6 +6331,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6002
6331
  tax_amount: number;
6003
6332
  total: number;
6004
6333
  }[] | undefined;
6334
+ transactions?: {
6335
+ id: string;
6336
+ created_on?: string | undefined;
6337
+ payment_method_id?: string | undefined;
6338
+ payment_method_name?: string | undefined;
6339
+ amount: number;
6340
+ status: "failed" | "pending" | "success";
6341
+ }[] | undefined;
6005
6342
  }[] | undefined;
6006
6343
  currency: string;
6007
6344
  note?: string | undefined;
@@ -6016,6 +6353,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6016
6353
  id: string;
6017
6354
  sku?: string | undefined;
6018
6355
  name: string;
6356
+ categories?: {
6357
+ id: string;
6358
+ name: string;
6359
+ }[] | undefined;
6019
6360
  } | undefined;
6020
6361
  quantity: number;
6021
6362
  unit_price: number;
@@ -6054,6 +6395,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6054
6395
  payment_method_id?: string | undefined;
6055
6396
  transactions?: {
6056
6397
  id: string;
6398
+ created_on?: string | undefined;
6057
6399
  payment_method_id?: string | undefined;
6058
6400
  payment_method_name?: string | undefined;
6059
6401
  amount: number;
@@ -6110,8 +6452,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6110
6452
  created_on?: string | undefined;
6111
6453
  last_updated_on?: string | undefined;
6112
6454
  confirmed_on?: string | undefined;
6455
+ delivery_date?: string | undefined;
6113
6456
  cancelled_on?: string | undefined;
6114
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
6457
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
6115
6458
  discount_amount: number;
6116
6459
  untaxed_amount_without_fees: number;
6117
6460
  tax_amount_without_fees: number;
@@ -6135,6 +6478,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6135
6478
  id: string;
6136
6479
  sku?: string | undefined;
6137
6480
  name: string;
6481
+ categories?: {
6482
+ id: string;
6483
+ name: string;
6484
+ }[] | undefined;
6138
6485
  } | undefined;
6139
6486
  quantity: number;
6140
6487
  untaxed_amount: number;
@@ -6152,6 +6499,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6152
6499
  tax_amount: number;
6153
6500
  total: number;
6154
6501
  }[] | undefined;
6502
+ transactions?: {
6503
+ id: string;
6504
+ created_on?: string | undefined;
6505
+ payment_method_id?: string | undefined;
6506
+ payment_method_name?: string | undefined;
6507
+ amount: number;
6508
+ status: "failed" | "pending" | "success";
6509
+ }[] | undefined;
6155
6510
  }[] | undefined;
6156
6511
  currency: string;
6157
6512
  note?: string | undefined;
@@ -6166,6 +6521,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6166
6521
  id: string;
6167
6522
  sku?: string | undefined;
6168
6523
  name: string;
6524
+ categories?: {
6525
+ id: string;
6526
+ name: string;
6527
+ }[] | undefined;
6169
6528
  } | undefined;
6170
6529
  quantity: number;
6171
6530
  unit_price: number;
@@ -6204,6 +6563,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6204
6563
  payment_method_id?: string | undefined;
6205
6564
  transactions?: {
6206
6565
  id: string;
6566
+ created_on?: string | undefined;
6207
6567
  payment_method_id?: string | undefined;
6208
6568
  payment_method_name?: string | undefined;
6209
6569
  amount: number;
@@ -6443,6 +6803,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6443
6803
  total_discount?: number | undefined;
6444
6804
  total_refund?: number | undefined;
6445
6805
  total_tip?: number | undefined;
6806
+ currency?: string | undefined;
6807
+ country?: string | undefined;
6808
+ loyalty?: number | undefined;
6809
+ customer_id?: string | undefined;
6810
+ location_id?: string | undefined;
6811
+ taxes?: {
6812
+ tax_rate: number;
6813
+ tax_amount: number;
6814
+ total: number;
6815
+ }[] | undefined;
6816
+ guests?: number | undefined;
6817
+ payments: {
6818
+ id?: string | undefined;
6819
+ payment_method_id?: string | undefined;
6820
+ payment_method_name?: string | undefined;
6821
+ total: number;
6822
+ tip?: number | undefined;
6823
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
6824
+ currency?: string | undefined;
6825
+ date?: string | undefined;
6826
+ }[];
6446
6827
  items: {
6447
6828
  id: string;
6448
6829
  quantity: number;
@@ -6458,26 +6839,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6458
6839
  product_id?: string | undefined;
6459
6840
  accounting_category_id?: string | undefined;
6460
6841
  }[];
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
6842
  }[]>;
6482
6843
  getCustomers(params?: {
6483
6844
  search?: string | undefined;
@@ -6516,6 +6877,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6516
6877
  total_discount?: number | undefined;
6517
6878
  total_refund?: number | undefined;
6518
6879
  total_tip?: number | undefined;
6880
+ currency?: string | undefined;
6881
+ country?: string | undefined;
6882
+ loyalty?: number | undefined;
6883
+ customer_id?: string | undefined;
6884
+ location_id?: string | undefined;
6885
+ taxes?: {
6886
+ tax_rate: number;
6887
+ tax_amount: number;
6888
+ total: number;
6889
+ }[] | undefined;
6890
+ guests?: number | undefined;
6891
+ payments: {
6892
+ id?: string | undefined;
6893
+ payment_method_id?: string | undefined;
6894
+ payment_method_name?: string | undefined;
6895
+ total: number;
6896
+ tip?: number | undefined;
6897
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
6898
+ currency?: string | undefined;
6899
+ date?: string | undefined;
6900
+ }[];
6519
6901
  items: {
6520
6902
  id: string;
6521
6903
  quantity: number;
@@ -6531,26 +6913,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6531
6913
  product_id?: string | undefined;
6532
6914
  accounting_category_id?: string | undefined;
6533
6915
  }[];
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
6916
  }>;
6555
6917
  getCustomer(customerId: string): import("../types/api").RequestData<{
6556
6918
  id: string;
@@ -6686,6 +7048,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6686
7048
  total_discount?: number | undefined;
6687
7049
  total_refund?: number | undefined;
6688
7050
  total_tip?: number | undefined;
7051
+ currency?: string | undefined;
7052
+ country?: string | undefined;
7053
+ loyalty?: number | undefined;
7054
+ customer_id?: string | undefined;
7055
+ location_id?: string | undefined;
7056
+ taxes?: {
7057
+ tax_rate: number;
7058
+ tax_amount: number;
7059
+ total: number;
7060
+ }[] | undefined;
7061
+ guests?: number | undefined;
7062
+ payments: {
7063
+ id?: string | undefined;
7064
+ payment_method_id?: string | undefined;
7065
+ payment_method_name?: string | undefined;
7066
+ total: number;
7067
+ tip?: number | undefined;
7068
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
7069
+ currency?: string | undefined;
7070
+ date?: string | undefined;
7071
+ }[];
6689
7072
  items: {
6690
7073
  id: string;
6691
7074
  quantity: number;
@@ -6701,16 +7084,53 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6701
7084
  product_id?: string | undefined;
6702
7085
  accounting_category_id?: string | undefined;
6703
7086
  }[];
6704
- payments: {
7087
+ }>;
7088
+ getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
7089
+ id: string;
7090
+ name: string;
7091
+ id_parent?: string | undefined;
7092
+ code?: string | undefined;
7093
+ ledger_account_code?: string | undefined;
7094
+ posting_account_code?: string | undefined;
7095
+ }[]>;
7096
+ }>;
7097
+ pms: import("../types/api").ApiFor<{
7098
+ getLocations(): import("../types/api").RequestData<{
7099
+ id: string;
7100
+ name: string;
7101
+ timezone?: string | undefined;
7102
+ address?: {
7103
+ address_type?: string | undefined;
7104
+ name?: string | undefined;
7105
+ street?: string | undefined;
7106
+ number?: string | undefined;
7107
+ box?: string | undefined;
7108
+ city?: string | undefined;
7109
+ postal_code?: string | undefined;
7110
+ country?: string | undefined;
7111
+ } | undefined;
7112
+ }[]>;
7113
+ getOrders(params: {
7114
+ date_from: string;
7115
+ date_to: string;
7116
+ location_id?: string | undefined;
7117
+ state?: "closed" | "consumed" | undefined;
7118
+ }): import("../types/api").RequestData<{
7119
+ id: string;
7120
+ source_ref: {
6705
7121
  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
- }[];
7122
+ model?: string | undefined;
7123
+ };
7124
+ order_number?: string | undefined;
7125
+ creation_date: string;
7126
+ closing_date?: string | undefined;
7127
+ service_date?: string | undefined;
7128
+ device_id?: string | undefined;
7129
+ total: number;
7130
+ tax_amount: number;
7131
+ total_discount?: number | undefined;
7132
+ total_refund?: number | undefined;
7133
+ total_tip?: number | undefined;
6714
7134
  currency?: string | undefined;
6715
7135
  country?: string | undefined;
6716
7136
  loyalty?: number | undefined;
@@ -6721,9 +7141,69 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6721
7141
  tax_amount: number;
6722
7142
  total: number;
6723
7143
  }[] | undefined;
7144
+ guests?: number | undefined;
7145
+ items: {
7146
+ id: string;
7147
+ source_ref: {
7148
+ id?: string | undefined;
7149
+ model?: string | undefined;
7150
+ };
7151
+ quantity: number;
7152
+ unit_price: number;
7153
+ total: number;
7154
+ tax_amount: number;
7155
+ tax_rate?: number | undefined;
7156
+ description?: string | undefined;
7157
+ discounts?: {
7158
+ name?: string | undefined;
7159
+ total: number;
7160
+ }[] | undefined;
7161
+ product_id?: string | undefined;
7162
+ accounting_category_id?: string | undefined;
7163
+ }[];
7164
+ service_id?: string | undefined;
7165
+ }[]>;
7166
+ getPaymentMethods(params?: {
7167
+ location_id?: string | undefined;
7168
+ } | undefined): import("../types/api").RequestData<{
7169
+ id: string;
7170
+ source_ref: {
7171
+ id?: string | undefined;
7172
+ model?: string | undefined;
7173
+ };
7174
+ name: string;
7175
+ extra?: string | undefined;
7176
+ ledger_account_code?: string | undefined;
7177
+ }[]>;
7178
+ getClosure(date: string, params?: {
7179
+ location_id?: string | undefined;
7180
+ } | undefined): import("../types/api").RequestData<{
7181
+ date: string;
7182
+ status: "open" | "closed";
6724
7183
  }>;
7184
+ getPayments(params: {
7185
+ date_from: string;
7186
+ date_to: string;
7187
+ }): import("../types/api").RequestData<{
7188
+ id?: string | undefined;
7189
+ source_ref: {
7190
+ id?: string | undefined;
7191
+ model?: string | undefined;
7192
+ };
7193
+ payment_method_id?: string | undefined;
7194
+ payment_method_name?: string | undefined;
7195
+ total: number;
7196
+ tip?: number | undefined;
7197
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
7198
+ currency?: string | undefined;
7199
+ date?: string | undefined;
7200
+ }[]>;
6725
7201
  getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
6726
7202
  id: string;
7203
+ source_ref: {
7204
+ id?: string | undefined;
7205
+ model?: string | undefined;
7206
+ };
6727
7207
  name: string;
6728
7208
  id_parent?: string | undefined;
6729
7209
  code?: string | undefined;
@@ -7208,6 +7688,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
7208
7688
  iban: string;
7209
7689
  };
7210
7690
  } | undefined;
7691
+ shipping_country?: string | undefined;
7211
7692
  lines: {
7212
7693
  line_number?: number | undefined;
7213
7694
  description: string;
@@ -7304,6 +7785,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
7304
7785
  iban: string;
7305
7786
  };
7306
7787
  } | undefined;
7788
+ shipping_country?: string | undefined;
7307
7789
  lines: {
7308
7790
  line_number?: number | undefined;
7309
7791
  description: string;
@@ -8165,6 +8647,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
8165
8647
  id: string;
8166
8648
  name: string;
8167
8649
  selected?: boolean | undefined;
8650
+ vat?: string | undefined;
8651
+ company_number?: string | undefined;
8168
8652
  }[]>;
8169
8653
  }>;
8170
8654
  invoicing: import("../types/api").ApiFor<{
@@ -8894,6 +9378,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
8894
9378
  date_to?: string | undefined;
8895
9379
  updated_after?: string | undefined;
8896
9380
  include_detailed_refunds?: "true" | "false" | undefined;
9381
+ include_product_categories?: "true" | "false" | undefined;
9382
+ include_customer_details?: "true" | "false" | undefined;
8897
9383
  } | undefined): import("../types/api").RequestData<{
8898
9384
  id: string;
8899
9385
  source_ref: {
@@ -8940,8 +9426,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
8940
9426
  created_on?: string | undefined;
8941
9427
  last_updated_on?: string | undefined;
8942
9428
  confirmed_on?: string | undefined;
9429
+ delivery_date?: string | undefined;
8943
9430
  cancelled_on?: string | undefined;
8944
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
9431
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
8945
9432
  discount_amount: number;
8946
9433
  untaxed_amount_without_fees: number;
8947
9434
  tax_amount_without_fees: number;
@@ -8965,6 +9452,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
8965
9452
  id: string;
8966
9453
  sku?: string | undefined;
8967
9454
  name: string;
9455
+ categories?: {
9456
+ id: string;
9457
+ name: string;
9458
+ }[] | undefined;
8968
9459
  } | undefined;
8969
9460
  quantity: number;
8970
9461
  untaxed_amount: number;
@@ -8982,6 +9473,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
8982
9473
  tax_amount: number;
8983
9474
  total: number;
8984
9475
  }[] | undefined;
9476
+ transactions?: {
9477
+ id: string;
9478
+ created_on?: string | undefined;
9479
+ payment_method_id?: string | undefined;
9480
+ payment_method_name?: string | undefined;
9481
+ amount: number;
9482
+ status: "failed" | "pending" | "success";
9483
+ }[] | undefined;
8985
9484
  }[] | undefined;
8986
9485
  currency: string;
8987
9486
  note?: string | undefined;
@@ -8996,6 +9495,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
8996
9495
  id: string;
8997
9496
  sku?: string | undefined;
8998
9497
  name: string;
9498
+ categories?: {
9499
+ id: string;
9500
+ name: string;
9501
+ }[] | undefined;
8999
9502
  } | undefined;
9000
9503
  quantity: number;
9001
9504
  unit_price: number;
@@ -9034,6 +9537,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9034
9537
  payment_method_id?: string | undefined;
9035
9538
  transactions?: {
9036
9539
  id: string;
9540
+ created_on?: string | undefined;
9037
9541
  payment_method_id?: string | undefined;
9038
9542
  payment_method_name?: string | undefined;
9039
9543
  amount: number;
@@ -9131,8 +9635,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9131
9635
  created_on?: string | undefined;
9132
9636
  last_updated_on?: string | undefined;
9133
9637
  confirmed_on?: string | undefined;
9638
+ delivery_date?: string | undefined;
9134
9639
  cancelled_on?: string | undefined;
9135
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
9640
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
9136
9641
  discount_amount: number;
9137
9642
  untaxed_amount_without_fees: number;
9138
9643
  tax_amount_without_fees: number;
@@ -9156,6 +9661,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9156
9661
  id: string;
9157
9662
  sku?: string | undefined;
9158
9663
  name: string;
9664
+ categories?: {
9665
+ id: string;
9666
+ name: string;
9667
+ }[] | undefined;
9159
9668
  } | undefined;
9160
9669
  quantity: number;
9161
9670
  untaxed_amount: number;
@@ -9173,6 +9682,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9173
9682
  tax_amount: number;
9174
9683
  total: number;
9175
9684
  }[] | undefined;
9685
+ transactions?: {
9686
+ id: string;
9687
+ created_on?: string | undefined;
9688
+ payment_method_id?: string | undefined;
9689
+ payment_method_name?: string | undefined;
9690
+ amount: number;
9691
+ status: "failed" | "pending" | "success";
9692
+ }[] | undefined;
9176
9693
  }[] | undefined;
9177
9694
  currency: string;
9178
9695
  note?: string | undefined;
@@ -9187,6 +9704,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9187
9704
  id: string;
9188
9705
  sku?: string | undefined;
9189
9706
  name: string;
9707
+ categories?: {
9708
+ id: string;
9709
+ name: string;
9710
+ }[] | undefined;
9190
9711
  } | undefined;
9191
9712
  quantity: number;
9192
9713
  unit_price: number;
@@ -9225,6 +9746,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9225
9746
  payment_method_id?: string | undefined;
9226
9747
  transactions?: {
9227
9748
  id: string;
9749
+ created_on?: string | undefined;
9228
9750
  payment_method_id?: string | undefined;
9229
9751
  payment_method_name?: string | undefined;
9230
9752
  amount: number;
@@ -9281,8 +9803,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9281
9803
  created_on?: string | undefined;
9282
9804
  last_updated_on?: string | undefined;
9283
9805
  confirmed_on?: string | undefined;
9806
+ delivery_date?: string | undefined;
9284
9807
  cancelled_on?: string | undefined;
9285
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
9808
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
9286
9809
  discount_amount: number;
9287
9810
  untaxed_amount_without_fees: number;
9288
9811
  tax_amount_without_fees: number;
@@ -9306,6 +9829,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9306
9829
  id: string;
9307
9830
  sku?: string | undefined;
9308
9831
  name: string;
9832
+ categories?: {
9833
+ id: string;
9834
+ name: string;
9835
+ }[] | undefined;
9309
9836
  } | undefined;
9310
9837
  quantity: number;
9311
9838
  untaxed_amount: number;
@@ -9323,6 +9850,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9323
9850
  tax_amount: number;
9324
9851
  total: number;
9325
9852
  }[] | undefined;
9853
+ transactions?: {
9854
+ id: string;
9855
+ created_on?: string | undefined;
9856
+ payment_method_id?: string | undefined;
9857
+ payment_method_name?: string | undefined;
9858
+ amount: number;
9859
+ status: "failed" | "pending" | "success";
9860
+ }[] | undefined;
9326
9861
  }[] | undefined;
9327
9862
  currency: string;
9328
9863
  note?: string | undefined;
@@ -9337,6 +9872,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9337
9872
  id: string;
9338
9873
  sku?: string | undefined;
9339
9874
  name: string;
9875
+ categories?: {
9876
+ id: string;
9877
+ name: string;
9878
+ }[] | undefined;
9340
9879
  } | undefined;
9341
9880
  quantity: number;
9342
9881
  unit_price: number;
@@ -9375,6 +9914,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9375
9914
  payment_method_id?: string | undefined;
9376
9915
  transactions?: {
9377
9916
  id: string;
9917
+ created_on?: string | undefined;
9378
9918
  payment_method_id?: string | undefined;
9379
9919
  payment_method_name?: string | undefined;
9380
9920
  amount: number;
@@ -9614,6 +10154,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9614
10154
  total_discount?: number | undefined;
9615
10155
  total_refund?: number | undefined;
9616
10156
  total_tip?: number | undefined;
10157
+ currency?: string | undefined;
10158
+ country?: string | undefined;
10159
+ loyalty?: number | undefined;
10160
+ customer_id?: string | undefined;
10161
+ location_id?: string | undefined;
10162
+ taxes?: {
10163
+ tax_rate: number;
10164
+ tax_amount: number;
10165
+ total: number;
10166
+ }[] | undefined;
10167
+ guests?: number | undefined;
10168
+ payments: {
10169
+ id?: string | undefined;
10170
+ payment_method_id?: string | undefined;
10171
+ payment_method_name?: string | undefined;
10172
+ total: number;
10173
+ tip?: number | undefined;
10174
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
10175
+ currency?: string | undefined;
10176
+ date?: string | undefined;
10177
+ }[];
9617
10178
  items: {
9618
10179
  id: string;
9619
10180
  quantity: number;
@@ -9629,26 +10190,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9629
10190
  product_id?: string | undefined;
9630
10191
  accounting_category_id?: string | undefined;
9631
10192
  }[];
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
10193
  }[]>;
9653
10194
  getCustomers(params?: {
9654
10195
  search?: string | undefined;
@@ -9687,6 +10228,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9687
10228
  total_discount?: number | undefined;
9688
10229
  total_refund?: number | undefined;
9689
10230
  total_tip?: number | undefined;
10231
+ currency?: string | undefined;
10232
+ country?: string | undefined;
10233
+ loyalty?: number | undefined;
10234
+ customer_id?: string | undefined;
10235
+ location_id?: string | undefined;
10236
+ taxes?: {
10237
+ tax_rate: number;
10238
+ tax_amount: number;
10239
+ total: number;
10240
+ }[] | undefined;
10241
+ guests?: number | undefined;
10242
+ payments: {
10243
+ id?: string | undefined;
10244
+ payment_method_id?: string | undefined;
10245
+ payment_method_name?: string | undefined;
10246
+ total: number;
10247
+ tip?: number | undefined;
10248
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
10249
+ currency?: string | undefined;
10250
+ date?: string | undefined;
10251
+ }[];
9690
10252
  items: {
9691
10253
  id: string;
9692
10254
  quantity: number;
@@ -9702,26 +10264,6 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9702
10264
  product_id?: string | undefined;
9703
10265
  accounting_category_id?: string | undefined;
9704
10266
  }[];
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
10267
  }>;
9726
10268
  getCustomer(customerId: string): import("../types/api").RequestData<{
9727
10269
  id: string;
@@ -9857,6 +10399,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9857
10399
  total_discount?: number | undefined;
9858
10400
  total_refund?: number | undefined;
9859
10401
  total_tip?: number | undefined;
10402
+ currency?: string | undefined;
10403
+ country?: string | undefined;
10404
+ loyalty?: number | undefined;
10405
+ customer_id?: string | undefined;
10406
+ location_id?: string | undefined;
10407
+ taxes?: {
10408
+ tax_rate: number;
10409
+ tax_amount: number;
10410
+ total: number;
10411
+ }[] | undefined;
10412
+ guests?: number | undefined;
10413
+ payments: {
10414
+ id?: string | undefined;
10415
+ payment_method_id?: string | undefined;
10416
+ payment_method_name?: string | undefined;
10417
+ total: number;
10418
+ tip?: number | undefined;
10419
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
10420
+ currency?: string | undefined;
10421
+ date?: string | undefined;
10422
+ }[];
9860
10423
  items: {
9861
10424
  id: string;
9862
10425
  quantity: number;
@@ -9872,16 +10435,53 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9872
10435
  product_id?: string | undefined;
9873
10436
  accounting_category_id?: string | undefined;
9874
10437
  }[];
9875
- payments: {
10438
+ }>;
10439
+ getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
10440
+ id: string;
10441
+ name: string;
10442
+ id_parent?: string | undefined;
10443
+ code?: string | undefined;
10444
+ ledger_account_code?: string | undefined;
10445
+ posting_account_code?: string | undefined;
10446
+ }[]>;
10447
+ }>;
10448
+ pms: import("../types/api").ApiFor<{
10449
+ getLocations(): import("../types/api").RequestData<{
10450
+ id: string;
10451
+ name: string;
10452
+ timezone?: string | undefined;
10453
+ address?: {
10454
+ address_type?: string | undefined;
10455
+ name?: string | undefined;
10456
+ street?: string | undefined;
10457
+ number?: string | undefined;
10458
+ box?: string | undefined;
10459
+ city?: string | undefined;
10460
+ postal_code?: string | undefined;
10461
+ country?: string | undefined;
10462
+ } | undefined;
10463
+ }[]>;
10464
+ getOrders(params: {
10465
+ date_from: string;
10466
+ date_to: string;
10467
+ location_id?: string | undefined;
10468
+ state?: "closed" | "consumed" | undefined;
10469
+ }): import("../types/api").RequestData<{
10470
+ id: string;
10471
+ source_ref: {
9876
10472
  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
- }[];
10473
+ model?: string | undefined;
10474
+ };
10475
+ order_number?: string | undefined;
10476
+ creation_date: string;
10477
+ closing_date?: string | undefined;
10478
+ service_date?: string | undefined;
10479
+ device_id?: string | undefined;
10480
+ total: number;
10481
+ tax_amount: number;
10482
+ total_discount?: number | undefined;
10483
+ total_refund?: number | undefined;
10484
+ total_tip?: number | undefined;
9885
10485
  currency?: string | undefined;
9886
10486
  country?: string | undefined;
9887
10487
  loyalty?: number | undefined;
@@ -9892,9 +10492,69 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
9892
10492
  tax_amount: number;
9893
10493
  total: number;
9894
10494
  }[] | undefined;
10495
+ guests?: number | undefined;
10496
+ items: {
10497
+ id: string;
10498
+ source_ref: {
10499
+ id?: string | undefined;
10500
+ model?: string | undefined;
10501
+ };
10502
+ quantity: number;
10503
+ unit_price: number;
10504
+ total: number;
10505
+ tax_amount: number;
10506
+ tax_rate?: number | undefined;
10507
+ description?: string | undefined;
10508
+ discounts?: {
10509
+ name?: string | undefined;
10510
+ total: number;
10511
+ }[] | undefined;
10512
+ product_id?: string | undefined;
10513
+ accounting_category_id?: string | undefined;
10514
+ }[];
10515
+ service_id?: string | undefined;
10516
+ }[]>;
10517
+ getPaymentMethods(params?: {
10518
+ location_id?: string | undefined;
10519
+ } | undefined): import("../types/api").RequestData<{
10520
+ id: string;
10521
+ source_ref: {
10522
+ id?: string | undefined;
10523
+ model?: string | undefined;
10524
+ };
10525
+ name: string;
10526
+ extra?: string | undefined;
10527
+ ledger_account_code?: string | undefined;
10528
+ }[]>;
10529
+ getClosure(date: string, params?: {
10530
+ location_id?: string | undefined;
10531
+ } | undefined): import("../types/api").RequestData<{
10532
+ date: string;
10533
+ status: "open" | "closed";
9895
10534
  }>;
10535
+ getPayments(params: {
10536
+ date_from: string;
10537
+ date_to: string;
10538
+ }): import("../types/api").RequestData<{
10539
+ id?: string | undefined;
10540
+ source_ref: {
10541
+ id?: string | undefined;
10542
+ model?: string | undefined;
10543
+ };
10544
+ payment_method_id?: string | undefined;
10545
+ payment_method_name?: string | undefined;
10546
+ total: number;
10547
+ tip?: number | undefined;
10548
+ status?: "Pending" | "Completed" | "Canceled" | "Failed" | "Unknown" | "Authorised" | undefined;
10549
+ currency?: string | undefined;
10550
+ date?: string | undefined;
10551
+ }[]>;
9896
10552
  getAccountingCategories(params?: {} | undefined): import("../types/api").RequestData<{
9897
10553
  id: string;
10554
+ source_ref: {
10555
+ id?: string | undefined;
10556
+ model?: string | undefined;
10557
+ };
9898
10558
  name: string;
9899
10559
  id_parent?: string | undefined;
9900
10560
  code?: string | undefined;
@@ -10379,6 +11039,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
10379
11039
  iban: string;
10380
11040
  };
10381
11041
  } | undefined;
11042
+ shipping_country?: string | undefined;
10382
11043
  lines: {
10383
11044
  line_number?: number | undefined;
10384
11045
  description: string;
@@ -10475,6 +11136,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
10475
11136
  iban: string;
10476
11137
  };
10477
11138
  } | undefined;
11139
+ shipping_country?: string | undefined;
10478
11140
  lines: {
10479
11141
  line_number?: number | undefined;
10480
11142
  description: string;
@@ -11336,6 +11998,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
11336
11998
  id: string;
11337
11999
  name: string;
11338
12000
  selected?: boolean | undefined;
12001
+ vat?: string | undefined;
12002
+ company_number?: string | undefined;
11339
12003
  }[]>;
11340
12004
  }>;
11341
12005
  invoicing: import("../types/api").ApiFor<{
@@ -12065,6 +12729,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12065
12729
  date_to?: string | undefined;
12066
12730
  updated_after?: string | undefined;
12067
12731
  include_detailed_refunds?: "true" | "false" | undefined;
12732
+ include_product_categories?: "true" | "false" | undefined;
12733
+ include_customer_details?: "true" | "false" | undefined;
12068
12734
  } | undefined): import("../types/api").RequestData<{
12069
12735
  id: string;
12070
12736
  source_ref: {
@@ -12111,8 +12777,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12111
12777
  created_on?: string | undefined;
12112
12778
  last_updated_on?: string | undefined;
12113
12779
  confirmed_on?: string | undefined;
12780
+ delivery_date?: string | undefined;
12114
12781
  cancelled_on?: string | undefined;
12115
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
12782
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
12116
12783
  discount_amount: number;
12117
12784
  untaxed_amount_without_fees: number;
12118
12785
  tax_amount_without_fees: number;
@@ -12136,6 +12803,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12136
12803
  id: string;
12137
12804
  sku?: string | undefined;
12138
12805
  name: string;
12806
+ categories?: {
12807
+ id: string;
12808
+ name: string;
12809
+ }[] | undefined;
12139
12810
  } | undefined;
12140
12811
  quantity: number;
12141
12812
  untaxed_amount: number;
@@ -12153,6 +12824,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12153
12824
  tax_amount: number;
12154
12825
  total: number;
12155
12826
  }[] | undefined;
12827
+ transactions?: {
12828
+ id: string;
12829
+ created_on?: string | undefined;
12830
+ payment_method_id?: string | undefined;
12831
+ payment_method_name?: string | undefined;
12832
+ amount: number;
12833
+ status: "failed" | "pending" | "success";
12834
+ }[] | undefined;
12156
12835
  }[] | undefined;
12157
12836
  currency: string;
12158
12837
  note?: string | undefined;
@@ -12167,6 +12846,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12167
12846
  id: string;
12168
12847
  sku?: string | undefined;
12169
12848
  name: string;
12849
+ categories?: {
12850
+ id: string;
12851
+ name: string;
12852
+ }[] | undefined;
12170
12853
  } | undefined;
12171
12854
  quantity: number;
12172
12855
  unit_price: number;
@@ -12205,6 +12888,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12205
12888
  payment_method_id?: string | undefined;
12206
12889
  transactions?: {
12207
12890
  id: string;
12891
+ created_on?: string | undefined;
12208
12892
  payment_method_id?: string | undefined;
12209
12893
  payment_method_name?: string | undefined;
12210
12894
  amount: number;
@@ -12302,8 +12986,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12302
12986
  created_on?: string | undefined;
12303
12987
  last_updated_on?: string | undefined;
12304
12988
  confirmed_on?: string | undefined;
12989
+ delivery_date?: string | undefined;
12305
12990
  cancelled_on?: string | undefined;
12306
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
12991
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
12307
12992
  discount_amount: number;
12308
12993
  untaxed_amount_without_fees: number;
12309
12994
  tax_amount_without_fees: number;
@@ -12327,6 +13012,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12327
13012
  id: string;
12328
13013
  sku?: string | undefined;
12329
13014
  name: string;
13015
+ categories?: {
13016
+ id: string;
13017
+ name: string;
13018
+ }[] | undefined;
12330
13019
  } | undefined;
12331
13020
  quantity: number;
12332
13021
  untaxed_amount: number;
@@ -12344,6 +13033,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12344
13033
  tax_amount: number;
12345
13034
  total: number;
12346
13035
  }[] | undefined;
13036
+ transactions?: {
13037
+ id: string;
13038
+ created_on?: string | undefined;
13039
+ payment_method_id?: string | undefined;
13040
+ payment_method_name?: string | undefined;
13041
+ amount: number;
13042
+ status: "failed" | "pending" | "success";
13043
+ }[] | undefined;
12347
13044
  }[] | undefined;
12348
13045
  currency: string;
12349
13046
  note?: string | undefined;
@@ -12358,6 +13055,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12358
13055
  id: string;
12359
13056
  sku?: string | undefined;
12360
13057
  name: string;
13058
+ categories?: {
13059
+ id: string;
13060
+ name: string;
13061
+ }[] | undefined;
12361
13062
  } | undefined;
12362
13063
  quantity: number;
12363
13064
  unit_price: number;
@@ -12396,6 +13097,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12396
13097
  payment_method_id?: string | undefined;
12397
13098
  transactions?: {
12398
13099
  id: string;
13100
+ created_on?: string | undefined;
12399
13101
  payment_method_id?: string | undefined;
12400
13102
  payment_method_name?: string | undefined;
12401
13103
  amount: number;
@@ -12452,8 +13154,9 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12452
13154
  created_on?: string | undefined;
12453
13155
  last_updated_on?: string | undefined;
12454
13156
  confirmed_on?: string | undefined;
13157
+ delivery_date?: string | undefined;
12455
13158
  cancelled_on?: string | undefined;
12456
- status: "cancelled" | "draft" | "confirmed" | "shipped" | "refunded";
13159
+ status: "cancelled" | "draft" | "cancelled_unpaid" | "confirmed" | "shipped" | "refunded";
12457
13160
  discount_amount: number;
12458
13161
  untaxed_amount_without_fees: number;
12459
13162
  tax_amount_without_fees: number;
@@ -12477,6 +13180,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12477
13180
  id: string;
12478
13181
  sku?: string | undefined;
12479
13182
  name: string;
13183
+ categories?: {
13184
+ id: string;
13185
+ name: string;
13186
+ }[] | undefined;
12480
13187
  } | undefined;
12481
13188
  quantity: number;
12482
13189
  untaxed_amount: number;
@@ -12494,6 +13201,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12494
13201
  tax_amount: number;
12495
13202
  total: number;
12496
13203
  }[] | undefined;
13204
+ transactions?: {
13205
+ id: string;
13206
+ created_on?: string | undefined;
13207
+ payment_method_id?: string | undefined;
13208
+ payment_method_name?: string | undefined;
13209
+ amount: number;
13210
+ status: "failed" | "pending" | "success";
13211
+ }[] | undefined;
12497
13212
  }[] | undefined;
12498
13213
  currency: string;
12499
13214
  note?: string | undefined;
@@ -12508,6 +13223,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12508
13223
  id: string;
12509
13224
  sku?: string | undefined;
12510
13225
  name: string;
13226
+ categories?: {
13227
+ id: string;
13228
+ name: string;
13229
+ }[] | undefined;
12511
13230
  } | undefined;
12512
13231
  quantity: number;
12513
13232
  unit_price: number;
@@ -12546,6 +13265,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12546
13265
  payment_method_id?: string | undefined;
12547
13266
  transactions?: {
12548
13267
  id: string;
13268
+ created_on?: string | undefined;
12549
13269
  payment_method_id?: string | undefined;
12550
13270
  payment_method_name?: string | undefined;
12551
13271
  amount: number;