@chift/chift-nodejs 1.0.30 → 1.0.32

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.
@@ -27,6 +27,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
27
27
  }[] | null | undefined;
28
28
  country?: string | null | undefined;
29
29
  redirect: boolean | null;
30
+ apis?: ("Payment" | "Point of Sale" | "eCommerce" | "Accounting" | "Invoicing" | "Banking" | "Custom" | "Property Management System")[] | null | undefined;
30
31
  } | null | undefined) => Promise<{
31
32
  url: string;
32
33
  }>;
@@ -112,7 +113,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
112
113
  total_refund: number | null;
113
114
  total_tip: number | null;
114
115
  delivery_fee: number | null;
115
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
116
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
117
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
116
118
  currency?: string | null | undefined;
117
119
  country?: string | null | undefined;
118
120
  loyalty?: number | null | undefined;
@@ -147,7 +149,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
147
149
  discounts: {
148
150
  name?: string | null | undefined;
149
151
  total: number;
150
- type: "OFFERED" | "UNKNOWN" | "LOSS";
152
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
151
153
  }[] | null;
152
154
  product_id?: string | null | undefined;
153
155
  accounting_category_id?: string | null | undefined;
@@ -191,7 +193,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
191
193
  total_refund: number | null;
192
194
  total_tip: number | null;
193
195
  delivery_fee: number | null;
194
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
196
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
197
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
195
198
  currency?: string | null | undefined;
196
199
  country?: string | null | undefined;
197
200
  loyalty?: number | null | undefined;
@@ -226,7 +229,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
226
229
  discounts: {
227
230
  name?: string | null | undefined;
228
231
  total: number;
229
- type: "OFFERED" | "UNKNOWN" | "LOSS";
232
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
230
233
  }[] | null;
231
234
  product_id?: string | null | undefined;
232
235
  accounting_category_id?: string | null | undefined;
@@ -380,7 +383,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
380
383
  total_refund: number | null;
381
384
  total_tip: number | null;
382
385
  delivery_fee: number | null;
383
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
386
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
387
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
384
388
  currency?: string | null | undefined;
385
389
  country?: string | null | undefined;
386
390
  loyalty?: number | null | undefined;
@@ -415,7 +419,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
415
419
  discounts: {
416
420
  name?: string | null | undefined;
417
421
  total: number;
418
- type: "OFFERED" | "UNKNOWN" | "LOSS";
422
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
419
423
  }[] | null;
420
424
  product_id?: string | null | undefined;
421
425
  accounting_category_id?: string | null | undefined;
@@ -485,7 +489,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
485
489
  total_refund: number | null;
486
490
  total_tip: number | null;
487
491
  delivery_fee: number | null;
488
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
492
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
493
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
489
494
  currency?: string | null | undefined;
490
495
  country?: string | null | undefined;
491
496
  loyalty?: number | null | undefined;
@@ -514,7 +519,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
514
519
  discounts: {
515
520
  name?: string | null | undefined;
516
521
  total: number;
517
- type: "OFFERED" | "UNKNOWN" | "LOSS";
522
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
518
523
  }[] | null;
519
524
  product_id?: string | null | undefined;
520
525
  accounting_category_id?: string | null | undefined;
@@ -740,7 +745,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
740
745
  discounts: {
741
746
  name?: string | null | undefined;
742
747
  total: number;
743
- type: "OFFERED" | "UNKNOWN" | "LOSS";
748
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
744
749
  }[] | null;
745
750
  product_id?: string | null | undefined;
746
751
  accounting_category_id?: string | null | undefined;
@@ -2677,6 +2682,13 @@ declare const Consumers: (internalApi: InternalAPI) => {
2677
2682
  account: string;
2678
2683
  amount: number;
2679
2684
  description?: string | null | undefined;
2685
+ tax_info?: {
2686
+ tax_code: string;
2687
+ tax_amount: number;
2688
+ vat_account?: string | null | undefined;
2689
+ reversed_vat_account?: string | null | undefined;
2690
+ description?: string | null | undefined;
2691
+ } | null | undefined;
2680
2692
  automated_matching_number?: string | null | undefined;
2681
2693
  }[];
2682
2694
  pdf?: string | null | undefined;
@@ -2684,6 +2696,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
2684
2696
  folder_id?: string | null | undefined;
2685
2697
  financial_counterpart_account?: string | null | undefined;
2686
2698
  force_currency_exchange?: boolean | null | undefined;
2699
+ ignore_accounting_id?: boolean | undefined;
2687
2700
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
2688
2701
  date: string;
2689
2702
  journal_id: string;
@@ -2697,6 +2710,13 @@ declare const Consumers: (internalApi: InternalAPI) => {
2697
2710
  account: string;
2698
2711
  amount: number;
2699
2712
  description?: string | null | undefined;
2713
+ tax_info?: {
2714
+ tax_code: string;
2715
+ tax_amount: number;
2716
+ vat_account?: string | null | undefined;
2717
+ reversed_vat_account?: string | null | undefined;
2718
+ description?: string | null | undefined;
2719
+ } | null | undefined;
2700
2720
  automated_matching_number?: string | null | undefined;
2701
2721
  counterpart_account: string;
2702
2722
  }[];
@@ -2937,39 +2957,49 @@ declare const Consumers: (internalApi: InternalAPI) => {
2937
2957
  createBankTransactions(bankStatement: {
2938
2958
  bank_statement_date: string;
2939
2959
  bank_account_id: string;
2960
+ currency: string;
2940
2961
  external_bank_statement_id: string;
2941
2962
  opening_balance?: number | null | undefined;
2942
2963
  pdf?: string | null | undefined;
2943
2964
  items: {
2944
- account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
2945
- account?: string | null | undefined;
2965
+ general_ledger_account?: string | null | undefined;
2946
2966
  description?: string | null | undefined;
2947
2967
  external_transaction_id?: string | null | undefined;
2948
- date: string;
2949
2968
  amount: number;
2950
2969
  fee_amount: number | null;
2951
2970
  tax_amount: number | null;
2952
- currency: string;
2953
2971
  currency_exchange_rate: number | null;
2972
+ counterpart?: {
2973
+ counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
2974
+ id?: string | null | undefined;
2975
+ name?: string | null | undefined;
2976
+ iban?: string | null | undefined;
2977
+ bank_account?: string | null | undefined;
2978
+ } | null | undefined;
2954
2979
  }[];
2955
2980
  }, params?: {
2956
2981
  folder_id?: string | null | undefined;
2957
2982
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
2958
2983
  bank_statement_date: string;
2959
2984
  bank_account_id: string;
2985
+ currency: string;
2960
2986
  id?: string | null | undefined;
2961
2987
  external_bank_statement_id?: string | null | undefined;
2962
2988
  items: {
2963
- account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
2964
- account?: string | null | undefined;
2989
+ general_ledger_account?: string | null | undefined;
2965
2990
  description?: string | null | undefined;
2966
2991
  external_transaction_id?: string | null | undefined;
2967
- date: string;
2968
2992
  amount: number;
2969
2993
  fee_amount: number | null;
2970
2994
  tax_amount: number | null;
2971
- currency: string;
2972
2995
  currency_exchange_rate: number | null;
2996
+ counterpart?: {
2997
+ counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
2998
+ id?: string | null | undefined;
2999
+ name?: string | null | undefined;
3000
+ iban?: string | null | undefined;
3001
+ bank_account?: string | null | undefined;
3002
+ } | null | undefined;
2973
3003
  id?: string | null | undefined;
2974
3004
  }[];
2975
3005
  }>;
@@ -3527,7 +3557,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
3527
3557
  } | null | undefined;
3528
3558
  }>;
3529
3559
  getContacts(params?: {
3530
- contact_type?: "supplier" | "all" | "prospect" | "customer" | undefined;
3560
+ contact_type?: "supplier" | "all" | "customer" | "prospect" | undefined;
3531
3561
  } | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
3532
3562
  id: string;
3533
3563
  source_ref: {
@@ -4988,6 +5018,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
4988
5018
  };
4989
5019
  id: string;
4990
5020
  created_on: string;
5021
+ modified_on: string;
4991
5022
  }[]>;
4992
5023
  addDataByDataStoreId: (dataStoreId: string, data: {
4993
5024
  data: {
@@ -4999,6 +5030,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
4999
5030
  };
5000
5031
  id: string;
5001
5032
  created_on: string;
5033
+ modified_on: string;
5002
5034
  }[]>;
5003
5035
  getSyncData: (syncId: string) => Promise<{
5004
5036
  syncid: string;
@@ -5024,6 +5056,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
5024
5056
  sub_mapping_name: string;
5025
5057
  sub_mapping_description?: string | null | undefined;
5026
5058
  }[] | null | undefined;
5059
+ skip_mappings?: {
5060
+ name: string;
5061
+ skip_reason: "presync" | "challenge";
5062
+ }[] | null | undefined;
5027
5063
  link_metadata?: {
5028
5064
  [key: string]: unknown;
5029
5065
  } | null | undefined;
@@ -5076,6 +5112,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
5076
5112
  };
5077
5113
  id: string;
5078
5114
  created_on: string;
5115
+ modified_on: string;
5079
5116
  }[]>;
5080
5117
  addDataByDataStoreName: (dataStoreName: string, data: {
5081
5118
  data: {
@@ -5087,6 +5124,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
5087
5124
  };
5088
5125
  id: string;
5089
5126
  created_on: string;
5127
+ modified_on: string;
5090
5128
  }[] | undefined>;
5091
5129
  updateDataStoreData: (dataStoreId: string, dataStoreDataId: string, data: {
5092
5130
  data: {
@@ -5098,6 +5136,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
5098
5136
  };
5099
5137
  id: string;
5100
5138
  created_on: string;
5139
+ modified_on: string;
5101
5140
  }[]>;
5102
5141
  deleteDataStoreData: (dataStoreId: string, dataStoreDataId: string) => Promise<import("../types/sync").SimpleResponseModel>;
5103
5142
  logData: (logs: import("../types/consumers").ConsumerLog[]) => Promise<import("../types/sync").SimpleResponseModel>;
@@ -5185,6 +5224,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
5185
5224
  }[] | null | undefined;
5186
5225
  country?: string | null | undefined;
5187
5226
  redirect: boolean | null;
5227
+ apis?: ("Payment" | "Point of Sale" | "eCommerce" | "Accounting" | "Invoicing" | "Banking" | "Custom" | "Property Management System")[] | null | undefined;
5188
5228
  } | null | undefined) => Promise<{
5189
5229
  url: string;
5190
5230
  }>;
@@ -5270,7 +5310,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
5270
5310
  total_refund: number | null;
5271
5311
  total_tip: number | null;
5272
5312
  delivery_fee: number | null;
5273
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
5313
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
5314
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
5274
5315
  currency?: string | null | undefined;
5275
5316
  country?: string | null | undefined;
5276
5317
  loyalty?: number | null | undefined;
@@ -5305,7 +5346,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
5305
5346
  discounts: {
5306
5347
  name?: string | null | undefined;
5307
5348
  total: number;
5308
- type: "OFFERED" | "UNKNOWN" | "LOSS";
5349
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
5309
5350
  }[] | null;
5310
5351
  product_id?: string | null | undefined;
5311
5352
  accounting_category_id?: string | null | undefined;
@@ -5349,7 +5390,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
5349
5390
  total_refund: number | null;
5350
5391
  total_tip: number | null;
5351
5392
  delivery_fee: number | null;
5352
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
5393
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
5394
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
5353
5395
  currency?: string | null | undefined;
5354
5396
  country?: string | null | undefined;
5355
5397
  loyalty?: number | null | undefined;
@@ -5384,7 +5426,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
5384
5426
  discounts: {
5385
5427
  name?: string | null | undefined;
5386
5428
  total: number;
5387
- type: "OFFERED" | "UNKNOWN" | "LOSS";
5429
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
5388
5430
  }[] | null;
5389
5431
  product_id?: string | null | undefined;
5390
5432
  accounting_category_id?: string | null | undefined;
@@ -5538,7 +5580,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
5538
5580
  total_refund: number | null;
5539
5581
  total_tip: number | null;
5540
5582
  delivery_fee: number | null;
5541
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
5583
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
5584
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
5542
5585
  currency?: string | null | undefined;
5543
5586
  country?: string | null | undefined;
5544
5587
  loyalty?: number | null | undefined;
@@ -5573,7 +5616,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
5573
5616
  discounts: {
5574
5617
  name?: string | null | undefined;
5575
5618
  total: number;
5576
- type: "OFFERED" | "UNKNOWN" | "LOSS";
5619
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
5577
5620
  }[] | null;
5578
5621
  product_id?: string | null | undefined;
5579
5622
  accounting_category_id?: string | null | undefined;
@@ -5643,7 +5686,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
5643
5686
  total_refund: number | null;
5644
5687
  total_tip: number | null;
5645
5688
  delivery_fee: number | null;
5646
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
5689
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
5690
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
5647
5691
  currency?: string | null | undefined;
5648
5692
  country?: string | null | undefined;
5649
5693
  loyalty?: number | null | undefined;
@@ -5672,7 +5716,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
5672
5716
  discounts: {
5673
5717
  name?: string | null | undefined;
5674
5718
  total: number;
5675
- type: "OFFERED" | "UNKNOWN" | "LOSS";
5719
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
5676
5720
  }[] | null;
5677
5721
  product_id?: string | null | undefined;
5678
5722
  accounting_category_id?: string | null | undefined;
@@ -5898,7 +5942,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
5898
5942
  discounts: {
5899
5943
  name?: string | null | undefined;
5900
5944
  total: number;
5901
- type: "OFFERED" | "UNKNOWN" | "LOSS";
5945
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
5902
5946
  }[] | null;
5903
5947
  product_id?: string | null | undefined;
5904
5948
  accounting_category_id?: string | null | undefined;
@@ -7835,6 +7879,13 @@ declare const Consumers: (internalApi: InternalAPI) => {
7835
7879
  account: string;
7836
7880
  amount: number;
7837
7881
  description?: string | null | undefined;
7882
+ tax_info?: {
7883
+ tax_code: string;
7884
+ tax_amount: number;
7885
+ vat_account?: string | null | undefined;
7886
+ reversed_vat_account?: string | null | undefined;
7887
+ description?: string | null | undefined;
7888
+ } | null | undefined;
7838
7889
  automated_matching_number?: string | null | undefined;
7839
7890
  }[];
7840
7891
  pdf?: string | null | undefined;
@@ -7842,6 +7893,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
7842
7893
  folder_id?: string | null | undefined;
7843
7894
  financial_counterpart_account?: string | null | undefined;
7844
7895
  force_currency_exchange?: boolean | null | undefined;
7896
+ ignore_accounting_id?: boolean | undefined;
7845
7897
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
7846
7898
  date: string;
7847
7899
  journal_id: string;
@@ -7855,6 +7907,13 @@ declare const Consumers: (internalApi: InternalAPI) => {
7855
7907
  account: string;
7856
7908
  amount: number;
7857
7909
  description?: string | null | undefined;
7910
+ tax_info?: {
7911
+ tax_code: string;
7912
+ tax_amount: number;
7913
+ vat_account?: string | null | undefined;
7914
+ reversed_vat_account?: string | null | undefined;
7915
+ description?: string | null | undefined;
7916
+ } | null | undefined;
7858
7917
  automated_matching_number?: string | null | undefined;
7859
7918
  counterpart_account: string;
7860
7919
  }[];
@@ -8095,39 +8154,49 @@ declare const Consumers: (internalApi: InternalAPI) => {
8095
8154
  createBankTransactions(bankStatement: {
8096
8155
  bank_statement_date: string;
8097
8156
  bank_account_id: string;
8157
+ currency: string;
8098
8158
  external_bank_statement_id: string;
8099
8159
  opening_balance?: number | null | undefined;
8100
8160
  pdf?: string | null | undefined;
8101
8161
  items: {
8102
- account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
8103
- account?: string | null | undefined;
8162
+ general_ledger_account?: string | null | undefined;
8104
8163
  description?: string | null | undefined;
8105
8164
  external_transaction_id?: string | null | undefined;
8106
- date: string;
8107
8165
  amount: number;
8108
8166
  fee_amount: number | null;
8109
8167
  tax_amount: number | null;
8110
- currency: string;
8111
8168
  currency_exchange_rate: number | null;
8169
+ counterpart?: {
8170
+ counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
8171
+ id?: string | null | undefined;
8172
+ name?: string | null | undefined;
8173
+ iban?: string | null | undefined;
8174
+ bank_account?: string | null | undefined;
8175
+ } | null | undefined;
8112
8176
  }[];
8113
8177
  }, params?: {
8114
8178
  folder_id?: string | null | undefined;
8115
8179
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
8116
8180
  bank_statement_date: string;
8117
8181
  bank_account_id: string;
8182
+ currency: string;
8118
8183
  id?: string | null | undefined;
8119
8184
  external_bank_statement_id?: string | null | undefined;
8120
8185
  items: {
8121
- account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
8122
- account?: string | null | undefined;
8186
+ general_ledger_account?: string | null | undefined;
8123
8187
  description?: string | null | undefined;
8124
8188
  external_transaction_id?: string | null | undefined;
8125
- date: string;
8126
8189
  amount: number;
8127
8190
  fee_amount: number | null;
8128
8191
  tax_amount: number | null;
8129
- currency: string;
8130
8192
  currency_exchange_rate: number | null;
8193
+ counterpart?: {
8194
+ counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
8195
+ id?: string | null | undefined;
8196
+ name?: string | null | undefined;
8197
+ iban?: string | null | undefined;
8198
+ bank_account?: string | null | undefined;
8199
+ } | null | undefined;
8131
8200
  id?: string | null | undefined;
8132
8201
  }[];
8133
8202
  }>;
@@ -8685,7 +8754,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
8685
8754
  } | null | undefined;
8686
8755
  }>;
8687
8756
  getContacts(params?: {
8688
- contact_type?: "supplier" | "all" | "prospect" | "customer" | undefined;
8757
+ contact_type?: "supplier" | "all" | "customer" | "prospect" | undefined;
8689
8758
  } | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
8690
8759
  id: string;
8691
8760
  source_ref: {
@@ -10146,6 +10215,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
10146
10215
  };
10147
10216
  id: string;
10148
10217
  created_on: string;
10218
+ modified_on: string;
10149
10219
  }[]>;
10150
10220
  addDataByDataStoreId: (dataStoreId: string, data: {
10151
10221
  data: {
@@ -10157,6 +10227,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
10157
10227
  };
10158
10228
  id: string;
10159
10229
  created_on: string;
10230
+ modified_on: string;
10160
10231
  }[]>;
10161
10232
  getSyncData: (syncId: string) => Promise<{
10162
10233
  syncid: string;
@@ -10182,6 +10253,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
10182
10253
  sub_mapping_name: string;
10183
10254
  sub_mapping_description?: string | null | undefined;
10184
10255
  }[] | null | undefined;
10256
+ skip_mappings?: {
10257
+ name: string;
10258
+ skip_reason: "presync" | "challenge";
10259
+ }[] | null | undefined;
10185
10260
  link_metadata?: {
10186
10261
  [key: string]: unknown;
10187
10262
  } | null | undefined;
@@ -10234,6 +10309,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
10234
10309
  };
10235
10310
  id: string;
10236
10311
  created_on: string;
10312
+ modified_on: string;
10237
10313
  }[]>;
10238
10314
  addDataByDataStoreName: (dataStoreName: string, data: {
10239
10315
  data: {
@@ -10245,6 +10321,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
10245
10321
  };
10246
10322
  id: string;
10247
10323
  created_on: string;
10324
+ modified_on: string;
10248
10325
  }[] | undefined>;
10249
10326
  updateDataStoreData: (dataStoreId: string, dataStoreDataId: string, data: {
10250
10327
  data: {
@@ -10256,6 +10333,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
10256
10333
  };
10257
10334
  id: string;
10258
10335
  created_on: string;
10336
+ modified_on: string;
10259
10337
  }[]>;
10260
10338
  deleteDataStoreData: (dataStoreId: string, dataStoreDataId: string) => Promise<import("../types/sync").SimpleResponseModel>;
10261
10339
  logData: (logs: import("../types/consumers").ConsumerLog[]) => Promise<import("../types/sync").SimpleResponseModel>;
@@ -10343,6 +10421,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
10343
10421
  }[] | null | undefined;
10344
10422
  country?: string | null | undefined;
10345
10423
  redirect: boolean | null;
10424
+ apis?: ("Payment" | "Point of Sale" | "eCommerce" | "Accounting" | "Invoicing" | "Banking" | "Custom" | "Property Management System")[] | null | undefined;
10346
10425
  } | null | undefined) => Promise<{
10347
10426
  url: string;
10348
10427
  }>;
@@ -10428,7 +10507,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
10428
10507
  total_refund: number | null;
10429
10508
  total_tip: number | null;
10430
10509
  delivery_fee: number | null;
10431
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
10510
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
10511
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
10432
10512
  currency?: string | null | undefined;
10433
10513
  country?: string | null | undefined;
10434
10514
  loyalty?: number | null | undefined;
@@ -10463,7 +10543,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
10463
10543
  discounts: {
10464
10544
  name?: string | null | undefined;
10465
10545
  total: number;
10466
- type: "OFFERED" | "UNKNOWN" | "LOSS";
10546
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
10467
10547
  }[] | null;
10468
10548
  product_id?: string | null | undefined;
10469
10549
  accounting_category_id?: string | null | undefined;
@@ -10507,7 +10587,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
10507
10587
  total_refund: number | null;
10508
10588
  total_tip: number | null;
10509
10589
  delivery_fee: number | null;
10510
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
10590
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
10591
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
10511
10592
  currency?: string | null | undefined;
10512
10593
  country?: string | null | undefined;
10513
10594
  loyalty?: number | null | undefined;
@@ -10542,7 +10623,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
10542
10623
  discounts: {
10543
10624
  name?: string | null | undefined;
10544
10625
  total: number;
10545
- type: "OFFERED" | "UNKNOWN" | "LOSS";
10626
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
10546
10627
  }[] | null;
10547
10628
  product_id?: string | null | undefined;
10548
10629
  accounting_category_id?: string | null | undefined;
@@ -10696,7 +10777,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
10696
10777
  total_refund: number | null;
10697
10778
  total_tip: number | null;
10698
10779
  delivery_fee: number | null;
10699
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
10780
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
10781
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
10700
10782
  currency?: string | null | undefined;
10701
10783
  country?: string | null | undefined;
10702
10784
  loyalty?: number | null | undefined;
@@ -10731,7 +10813,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
10731
10813
  discounts: {
10732
10814
  name?: string | null | undefined;
10733
10815
  total: number;
10734
- type: "OFFERED" | "UNKNOWN" | "LOSS";
10816
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
10735
10817
  }[] | null;
10736
10818
  product_id?: string | null | undefined;
10737
10819
  accounting_category_id?: string | null | undefined;
@@ -10801,7 +10883,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
10801
10883
  total_refund: number | null;
10802
10884
  total_tip: number | null;
10803
10885
  delivery_fee: number | null;
10804
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
10886
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
10887
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
10805
10888
  currency?: string | null | undefined;
10806
10889
  country?: string | null | undefined;
10807
10890
  loyalty?: number | null | undefined;
@@ -10830,7 +10913,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
10830
10913
  discounts: {
10831
10914
  name?: string | null | undefined;
10832
10915
  total: number;
10833
- type: "OFFERED" | "UNKNOWN" | "LOSS";
10916
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
10834
10917
  }[] | null;
10835
10918
  product_id?: string | null | undefined;
10836
10919
  accounting_category_id?: string | null | undefined;
@@ -11056,7 +11139,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
11056
11139
  discounts: {
11057
11140
  name?: string | null | undefined;
11058
11141
  total: number;
11059
- type: "OFFERED" | "UNKNOWN" | "LOSS";
11142
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
11060
11143
  }[] | null;
11061
11144
  product_id?: string | null | undefined;
11062
11145
  accounting_category_id?: string | null | undefined;
@@ -12993,6 +13076,13 @@ declare const Consumers: (internalApi: InternalAPI) => {
12993
13076
  account: string;
12994
13077
  amount: number;
12995
13078
  description?: string | null | undefined;
13079
+ tax_info?: {
13080
+ tax_code: string;
13081
+ tax_amount: number;
13082
+ vat_account?: string | null | undefined;
13083
+ reversed_vat_account?: string | null | undefined;
13084
+ description?: string | null | undefined;
13085
+ } | null | undefined;
12996
13086
  automated_matching_number?: string | null | undefined;
12997
13087
  }[];
12998
13088
  pdf?: string | null | undefined;
@@ -13000,6 +13090,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
13000
13090
  folder_id?: string | null | undefined;
13001
13091
  financial_counterpart_account?: string | null | undefined;
13002
13092
  force_currency_exchange?: boolean | null | undefined;
13093
+ ignore_accounting_id?: boolean | undefined;
13003
13094
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
13004
13095
  date: string;
13005
13096
  journal_id: string;
@@ -13013,6 +13104,13 @@ declare const Consumers: (internalApi: InternalAPI) => {
13013
13104
  account: string;
13014
13105
  amount: number;
13015
13106
  description?: string | null | undefined;
13107
+ tax_info?: {
13108
+ tax_code: string;
13109
+ tax_amount: number;
13110
+ vat_account?: string | null | undefined;
13111
+ reversed_vat_account?: string | null | undefined;
13112
+ description?: string | null | undefined;
13113
+ } | null | undefined;
13016
13114
  automated_matching_number?: string | null | undefined;
13017
13115
  counterpart_account: string;
13018
13116
  }[];
@@ -13253,39 +13351,49 @@ declare const Consumers: (internalApi: InternalAPI) => {
13253
13351
  createBankTransactions(bankStatement: {
13254
13352
  bank_statement_date: string;
13255
13353
  bank_account_id: string;
13354
+ currency: string;
13256
13355
  external_bank_statement_id: string;
13257
13356
  opening_balance?: number | null | undefined;
13258
13357
  pdf?: string | null | undefined;
13259
13358
  items: {
13260
- account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
13261
- account?: string | null | undefined;
13359
+ general_ledger_account?: string | null | undefined;
13262
13360
  description?: string | null | undefined;
13263
13361
  external_transaction_id?: string | null | undefined;
13264
- date: string;
13265
13362
  amount: number;
13266
13363
  fee_amount: number | null;
13267
13364
  tax_amount: number | null;
13268
- currency: string;
13269
13365
  currency_exchange_rate: number | null;
13366
+ counterpart?: {
13367
+ counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
13368
+ id?: string | null | undefined;
13369
+ name?: string | null | undefined;
13370
+ iban?: string | null | undefined;
13371
+ bank_account?: string | null | undefined;
13372
+ } | null | undefined;
13270
13373
  }[];
13271
13374
  }, params?: {
13272
13375
  folder_id?: string | null | undefined;
13273
13376
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
13274
13377
  bank_statement_date: string;
13275
13378
  bank_account_id: string;
13379
+ currency: string;
13276
13380
  id?: string | null | undefined;
13277
13381
  external_bank_statement_id?: string | null | undefined;
13278
13382
  items: {
13279
- account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
13280
- account?: string | null | undefined;
13383
+ general_ledger_account?: string | null | undefined;
13281
13384
  description?: string | null | undefined;
13282
13385
  external_transaction_id?: string | null | undefined;
13283
- date: string;
13284
13386
  amount: number;
13285
13387
  fee_amount: number | null;
13286
13388
  tax_amount: number | null;
13287
- currency: string;
13288
13389
  currency_exchange_rate: number | null;
13390
+ counterpart?: {
13391
+ counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
13392
+ id?: string | null | undefined;
13393
+ name?: string | null | undefined;
13394
+ iban?: string | null | undefined;
13395
+ bank_account?: string | null | undefined;
13396
+ } | null | undefined;
13289
13397
  id?: string | null | undefined;
13290
13398
  }[];
13291
13399
  }>;
@@ -13843,7 +13951,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
13843
13951
  } | null | undefined;
13844
13952
  }>;
13845
13953
  getContacts(params?: {
13846
- contact_type?: "supplier" | "all" | "prospect" | "customer" | undefined;
13954
+ contact_type?: "supplier" | "all" | "customer" | "prospect" | undefined;
13847
13955
  } | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
13848
13956
  id: string;
13849
13957
  source_ref: {
@@ -15304,6 +15412,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
15304
15412
  };
15305
15413
  id: string;
15306
15414
  created_on: string;
15415
+ modified_on: string;
15307
15416
  }[]>;
15308
15417
  addDataByDataStoreId: (dataStoreId: string, data: {
15309
15418
  data: {
@@ -15315,6 +15424,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
15315
15424
  };
15316
15425
  id: string;
15317
15426
  created_on: string;
15427
+ modified_on: string;
15318
15428
  }[]>;
15319
15429
  getSyncData: (syncId: string) => Promise<{
15320
15430
  syncid: string;
@@ -15340,6 +15450,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
15340
15450
  sub_mapping_name: string;
15341
15451
  sub_mapping_description?: string | null | undefined;
15342
15452
  }[] | null | undefined;
15453
+ skip_mappings?: {
15454
+ name: string;
15455
+ skip_reason: "presync" | "challenge";
15456
+ }[] | null | undefined;
15343
15457
  link_metadata?: {
15344
15458
  [key: string]: unknown;
15345
15459
  } | null | undefined;
@@ -15392,6 +15506,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
15392
15506
  };
15393
15507
  id: string;
15394
15508
  created_on: string;
15509
+ modified_on: string;
15395
15510
  }[]>;
15396
15511
  addDataByDataStoreName: (dataStoreName: string, data: {
15397
15512
  data: {
@@ -15403,6 +15518,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
15403
15518
  };
15404
15519
  id: string;
15405
15520
  created_on: string;
15521
+ modified_on: string;
15406
15522
  }[] | undefined>;
15407
15523
  updateDataStoreData: (dataStoreId: string, dataStoreDataId: string, data: {
15408
15524
  data: {
@@ -15414,6 +15530,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
15414
15530
  };
15415
15531
  id: string;
15416
15532
  created_on: string;
15533
+ modified_on: string;
15417
15534
  }[]>;
15418
15535
  deleteDataStoreData: (dataStoreId: string, dataStoreDataId: string) => Promise<import("../types/sync").SimpleResponseModel>;
15419
15536
  logData: (logs: import("../types/consumers").ConsumerLog[]) => Promise<import("../types/sync").SimpleResponseModel>;
@@ -15501,6 +15618,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
15501
15618
  }[] | null | undefined;
15502
15619
  country?: string | null | undefined;
15503
15620
  redirect: boolean | null;
15621
+ apis?: ("Payment" | "Point of Sale" | "eCommerce" | "Accounting" | "Invoicing" | "Banking" | "Custom" | "Property Management System")[] | null | undefined;
15504
15622
  } | null | undefined) => Promise<{
15505
15623
  url: string;
15506
15624
  }>;
@@ -15586,7 +15704,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
15586
15704
  total_refund: number | null;
15587
15705
  total_tip: number | null;
15588
15706
  delivery_fee: number | null;
15589
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
15707
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
15708
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
15590
15709
  currency?: string | null | undefined;
15591
15710
  country?: string | null | undefined;
15592
15711
  loyalty?: number | null | undefined;
@@ -15621,7 +15740,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
15621
15740
  discounts: {
15622
15741
  name?: string | null | undefined;
15623
15742
  total: number;
15624
- type: "OFFERED" | "UNKNOWN" | "LOSS";
15743
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
15625
15744
  }[] | null;
15626
15745
  product_id?: string | null | undefined;
15627
15746
  accounting_category_id?: string | null | undefined;
@@ -15665,7 +15784,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
15665
15784
  total_refund: number | null;
15666
15785
  total_tip: number | null;
15667
15786
  delivery_fee: number | null;
15668
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
15787
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
15788
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
15669
15789
  currency?: string | null | undefined;
15670
15790
  country?: string | null | undefined;
15671
15791
  loyalty?: number | null | undefined;
@@ -15700,7 +15820,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
15700
15820
  discounts: {
15701
15821
  name?: string | null | undefined;
15702
15822
  total: number;
15703
- type: "OFFERED" | "UNKNOWN" | "LOSS";
15823
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
15704
15824
  }[] | null;
15705
15825
  product_id?: string | null | undefined;
15706
15826
  accounting_category_id?: string | null | undefined;
@@ -15854,7 +15974,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
15854
15974
  total_refund: number | null;
15855
15975
  total_tip: number | null;
15856
15976
  delivery_fee: number | null;
15857
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
15977
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
15978
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
15858
15979
  currency?: string | null | undefined;
15859
15980
  country?: string | null | undefined;
15860
15981
  loyalty?: number | null | undefined;
@@ -15889,7 +16010,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
15889
16010
  discounts: {
15890
16011
  name?: string | null | undefined;
15891
16012
  total: number;
15892
- type: "OFFERED" | "UNKNOWN" | "LOSS";
16013
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
15893
16014
  }[] | null;
15894
16015
  product_id?: string | null | undefined;
15895
16016
  accounting_category_id?: string | null | undefined;
@@ -15959,7 +16080,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
15959
16080
  total_refund: number | null;
15960
16081
  total_tip: number | null;
15961
16082
  delivery_fee: number | null;
15962
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
16083
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
16084
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
15963
16085
  currency?: string | null | undefined;
15964
16086
  country?: string | null | undefined;
15965
16087
  loyalty?: number | null | undefined;
@@ -15988,7 +16110,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
15988
16110
  discounts: {
15989
16111
  name?: string | null | undefined;
15990
16112
  total: number;
15991
- type: "OFFERED" | "UNKNOWN" | "LOSS";
16113
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
15992
16114
  }[] | null;
15993
16115
  product_id?: string | null | undefined;
15994
16116
  accounting_category_id?: string | null | undefined;
@@ -16214,7 +16336,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
16214
16336
  discounts: {
16215
16337
  name?: string | null | undefined;
16216
16338
  total: number;
16217
- type: "OFFERED" | "UNKNOWN" | "LOSS";
16339
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
16218
16340
  }[] | null;
16219
16341
  product_id?: string | null | undefined;
16220
16342
  accounting_category_id?: string | null | undefined;
@@ -18151,6 +18273,13 @@ declare const Consumers: (internalApi: InternalAPI) => {
18151
18273
  account: string;
18152
18274
  amount: number;
18153
18275
  description?: string | null | undefined;
18276
+ tax_info?: {
18277
+ tax_code: string;
18278
+ tax_amount: number;
18279
+ vat_account?: string | null | undefined;
18280
+ reversed_vat_account?: string | null | undefined;
18281
+ description?: string | null | undefined;
18282
+ } | null | undefined;
18154
18283
  automated_matching_number?: string | null | undefined;
18155
18284
  }[];
18156
18285
  pdf?: string | null | undefined;
@@ -18158,6 +18287,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
18158
18287
  folder_id?: string | null | undefined;
18159
18288
  financial_counterpart_account?: string | null | undefined;
18160
18289
  force_currency_exchange?: boolean | null | undefined;
18290
+ ignore_accounting_id?: boolean | undefined;
18161
18291
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
18162
18292
  date: string;
18163
18293
  journal_id: string;
@@ -18171,6 +18301,13 @@ declare const Consumers: (internalApi: InternalAPI) => {
18171
18301
  account: string;
18172
18302
  amount: number;
18173
18303
  description?: string | null | undefined;
18304
+ tax_info?: {
18305
+ tax_code: string;
18306
+ tax_amount: number;
18307
+ vat_account?: string | null | undefined;
18308
+ reversed_vat_account?: string | null | undefined;
18309
+ description?: string | null | undefined;
18310
+ } | null | undefined;
18174
18311
  automated_matching_number?: string | null | undefined;
18175
18312
  counterpart_account: string;
18176
18313
  }[];
@@ -18411,39 +18548,49 @@ declare const Consumers: (internalApi: InternalAPI) => {
18411
18548
  createBankTransactions(bankStatement: {
18412
18549
  bank_statement_date: string;
18413
18550
  bank_account_id: string;
18551
+ currency: string;
18414
18552
  external_bank_statement_id: string;
18415
18553
  opening_balance?: number | null | undefined;
18416
18554
  pdf?: string | null | undefined;
18417
18555
  items: {
18418
- account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
18419
- account?: string | null | undefined;
18556
+ general_ledger_account?: string | null | undefined;
18420
18557
  description?: string | null | undefined;
18421
18558
  external_transaction_id?: string | null | undefined;
18422
- date: string;
18423
18559
  amount: number;
18424
18560
  fee_amount: number | null;
18425
18561
  tax_amount: number | null;
18426
- currency: string;
18427
18562
  currency_exchange_rate: number | null;
18563
+ counterpart?: {
18564
+ counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
18565
+ id?: string | null | undefined;
18566
+ name?: string | null | undefined;
18567
+ iban?: string | null | undefined;
18568
+ bank_account?: string | null | undefined;
18569
+ } | null | undefined;
18428
18570
  }[];
18429
18571
  }, params?: {
18430
18572
  folder_id?: string | null | undefined;
18431
18573
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
18432
18574
  bank_statement_date: string;
18433
18575
  bank_account_id: string;
18576
+ currency: string;
18434
18577
  id?: string | null | undefined;
18435
18578
  external_bank_statement_id?: string | null | undefined;
18436
18579
  items: {
18437
- account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
18438
- account?: string | null | undefined;
18580
+ general_ledger_account?: string | null | undefined;
18439
18581
  description?: string | null | undefined;
18440
18582
  external_transaction_id?: string | null | undefined;
18441
- date: string;
18442
18583
  amount: number;
18443
18584
  fee_amount: number | null;
18444
18585
  tax_amount: number | null;
18445
- currency: string;
18446
18586
  currency_exchange_rate: number | null;
18587
+ counterpart?: {
18588
+ counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
18589
+ id?: string | null | undefined;
18590
+ name?: string | null | undefined;
18591
+ iban?: string | null | undefined;
18592
+ bank_account?: string | null | undefined;
18593
+ } | null | undefined;
18447
18594
  id?: string | null | undefined;
18448
18595
  }[];
18449
18596
  }>;
@@ -19001,7 +19148,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
19001
19148
  } | null | undefined;
19002
19149
  }>;
19003
19150
  getContacts(params?: {
19004
- contact_type?: "supplier" | "all" | "prospect" | "customer" | undefined;
19151
+ contact_type?: "supplier" | "all" | "customer" | "prospect" | undefined;
19005
19152
  } | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
19006
19153
  id: string;
19007
19154
  source_ref: {
@@ -20462,6 +20609,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
20462
20609
  };
20463
20610
  id: string;
20464
20611
  created_on: string;
20612
+ modified_on: string;
20465
20613
  }[]>;
20466
20614
  addDataByDataStoreId: (dataStoreId: string, data: {
20467
20615
  data: {
@@ -20473,6 +20621,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
20473
20621
  };
20474
20622
  id: string;
20475
20623
  created_on: string;
20624
+ modified_on: string;
20476
20625
  }[]>;
20477
20626
  getSyncData: (syncId: string) => Promise<{
20478
20627
  syncid: string;
@@ -20498,6 +20647,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
20498
20647
  sub_mapping_name: string;
20499
20648
  sub_mapping_description?: string | null | undefined;
20500
20649
  }[] | null | undefined;
20650
+ skip_mappings?: {
20651
+ name: string;
20652
+ skip_reason: "presync" | "challenge";
20653
+ }[] | null | undefined;
20501
20654
  link_metadata?: {
20502
20655
  [key: string]: unknown;
20503
20656
  } | null | undefined;
@@ -20550,6 +20703,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
20550
20703
  };
20551
20704
  id: string;
20552
20705
  created_on: string;
20706
+ modified_on: string;
20553
20707
  }[]>;
20554
20708
  addDataByDataStoreName: (dataStoreName: string, data: {
20555
20709
  data: {
@@ -20561,6 +20715,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
20561
20715
  };
20562
20716
  id: string;
20563
20717
  created_on: string;
20718
+ modified_on: string;
20564
20719
  }[] | undefined>;
20565
20720
  updateDataStoreData: (dataStoreId: string, dataStoreDataId: string, data: {
20566
20721
  data: {
@@ -20572,6 +20727,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
20572
20727
  };
20573
20728
  id: string;
20574
20729
  created_on: string;
20730
+ modified_on: string;
20575
20731
  }[]>;
20576
20732
  deleteDataStoreData: (dataStoreId: string, dataStoreDataId: string) => Promise<import("../types/sync").SimpleResponseModel>;
20577
20733
  logData: (logs: import("../types/consumers").ConsumerLog[]) => Promise<import("../types/sync").SimpleResponseModel>;
@@ -20659,6 +20815,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
20659
20815
  }[] | null | undefined;
20660
20816
  country?: string | null | undefined;
20661
20817
  redirect: boolean | null;
20818
+ apis?: ("Payment" | "Point of Sale" | "eCommerce" | "Accounting" | "Invoicing" | "Banking" | "Custom" | "Property Management System")[] | null | undefined;
20662
20819
  } | null | undefined) => Promise<{
20663
20820
  url: string;
20664
20821
  }>;
@@ -20744,7 +20901,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
20744
20901
  total_refund: number | null;
20745
20902
  total_tip: number | null;
20746
20903
  delivery_fee: number | null;
20747
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
20904
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
20905
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
20748
20906
  currency?: string | null | undefined;
20749
20907
  country?: string | null | undefined;
20750
20908
  loyalty?: number | null | undefined;
@@ -20779,7 +20937,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
20779
20937
  discounts: {
20780
20938
  name?: string | null | undefined;
20781
20939
  total: number;
20782
- type: "OFFERED" | "UNKNOWN" | "LOSS";
20940
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
20783
20941
  }[] | null;
20784
20942
  product_id?: string | null | undefined;
20785
20943
  accounting_category_id?: string | null | undefined;
@@ -20823,7 +20981,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
20823
20981
  total_refund: number | null;
20824
20982
  total_tip: number | null;
20825
20983
  delivery_fee: number | null;
20826
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
20984
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
20985
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
20827
20986
  currency?: string | null | undefined;
20828
20987
  country?: string | null | undefined;
20829
20988
  loyalty?: number | null | undefined;
@@ -20858,7 +21017,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
20858
21017
  discounts: {
20859
21018
  name?: string | null | undefined;
20860
21019
  total: number;
20861
- type: "OFFERED" | "UNKNOWN" | "LOSS";
21020
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
20862
21021
  }[] | null;
20863
21022
  product_id?: string | null | undefined;
20864
21023
  accounting_category_id?: string | null | undefined;
@@ -21012,7 +21171,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
21012
21171
  total_refund: number | null;
21013
21172
  total_tip: number | null;
21014
21173
  delivery_fee: number | null;
21015
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
21174
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
21175
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
21016
21176
  currency?: string | null | undefined;
21017
21177
  country?: string | null | undefined;
21018
21178
  loyalty?: number | null | undefined;
@@ -21047,7 +21207,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
21047
21207
  discounts: {
21048
21208
  name?: string | null | undefined;
21049
21209
  total: number;
21050
- type: "OFFERED" | "UNKNOWN" | "LOSS";
21210
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
21051
21211
  }[] | null;
21052
21212
  product_id?: string | null | undefined;
21053
21213
  accounting_category_id?: string | null | undefined;
@@ -21117,7 +21277,8 @@ declare const Consumers: (internalApi: InternalAPI) => {
21117
21277
  total_refund: number | null;
21118
21278
  total_tip: number | null;
21119
21279
  delivery_fee: number | null;
21120
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
21280
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
21281
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
21121
21282
  currency?: string | null | undefined;
21122
21283
  country?: string | null | undefined;
21123
21284
  loyalty?: number | null | undefined;
@@ -21146,7 +21307,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
21146
21307
  discounts: {
21147
21308
  name?: string | null | undefined;
21148
21309
  total: number;
21149
- type: "OFFERED" | "UNKNOWN" | "LOSS";
21310
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
21150
21311
  }[] | null;
21151
21312
  product_id?: string | null | undefined;
21152
21313
  accounting_category_id?: string | null | undefined;
@@ -21372,7 +21533,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
21372
21533
  discounts: {
21373
21534
  name?: string | null | undefined;
21374
21535
  total: number;
21375
- type: "OFFERED" | "UNKNOWN" | "LOSS";
21536
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
21376
21537
  }[] | null;
21377
21538
  product_id?: string | null | undefined;
21378
21539
  accounting_category_id?: string | null | undefined;
@@ -23309,6 +23470,13 @@ declare const Consumers: (internalApi: InternalAPI) => {
23309
23470
  account: string;
23310
23471
  amount: number;
23311
23472
  description?: string | null | undefined;
23473
+ tax_info?: {
23474
+ tax_code: string;
23475
+ tax_amount: number;
23476
+ vat_account?: string | null | undefined;
23477
+ reversed_vat_account?: string | null | undefined;
23478
+ description?: string | null | undefined;
23479
+ } | null | undefined;
23312
23480
  automated_matching_number?: string | null | undefined;
23313
23481
  }[];
23314
23482
  pdf?: string | null | undefined;
@@ -23316,6 +23484,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
23316
23484
  folder_id?: string | null | undefined;
23317
23485
  financial_counterpart_account?: string | null | undefined;
23318
23486
  force_currency_exchange?: boolean | null | undefined;
23487
+ ignore_accounting_id?: boolean | undefined;
23319
23488
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
23320
23489
  date: string;
23321
23490
  journal_id: string;
@@ -23329,6 +23498,13 @@ declare const Consumers: (internalApi: InternalAPI) => {
23329
23498
  account: string;
23330
23499
  amount: number;
23331
23500
  description?: string | null | undefined;
23501
+ tax_info?: {
23502
+ tax_code: string;
23503
+ tax_amount: number;
23504
+ vat_account?: string | null | undefined;
23505
+ reversed_vat_account?: string | null | undefined;
23506
+ description?: string | null | undefined;
23507
+ } | null | undefined;
23332
23508
  automated_matching_number?: string | null | undefined;
23333
23509
  counterpart_account: string;
23334
23510
  }[];
@@ -23569,39 +23745,49 @@ declare const Consumers: (internalApi: InternalAPI) => {
23569
23745
  createBankTransactions(bankStatement: {
23570
23746
  bank_statement_date: string;
23571
23747
  bank_account_id: string;
23748
+ currency: string;
23572
23749
  external_bank_statement_id: string;
23573
23750
  opening_balance?: number | null | undefined;
23574
23751
  pdf?: string | null | undefined;
23575
23752
  items: {
23576
- account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
23577
- account?: string | null | undefined;
23753
+ general_ledger_account?: string | null | undefined;
23578
23754
  description?: string | null | undefined;
23579
23755
  external_transaction_id?: string | null | undefined;
23580
- date: string;
23581
23756
  amount: number;
23582
23757
  fee_amount: number | null;
23583
23758
  tax_amount: number | null;
23584
- currency: string;
23585
23759
  currency_exchange_rate: number | null;
23760
+ counterpart?: {
23761
+ counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
23762
+ id?: string | null | undefined;
23763
+ name?: string | null | undefined;
23764
+ iban?: string | null | undefined;
23765
+ bank_account?: string | null | undefined;
23766
+ } | null | undefined;
23586
23767
  }[];
23587
23768
  }, params?: {
23588
23769
  folder_id?: string | null | undefined;
23589
23770
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
23590
23771
  bank_statement_date: string;
23591
23772
  bank_account_id: string;
23773
+ currency: string;
23592
23774
  id?: string | null | undefined;
23593
23775
  external_bank_statement_id?: string | null | undefined;
23594
23776
  items: {
23595
- account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
23596
- account?: string | null | undefined;
23777
+ general_ledger_account?: string | null | undefined;
23597
23778
  description?: string | null | undefined;
23598
23779
  external_transaction_id?: string | null | undefined;
23599
- date: string;
23600
23780
  amount: number;
23601
23781
  fee_amount: number | null;
23602
23782
  tax_amount: number | null;
23603
- currency: string;
23604
23783
  currency_exchange_rate: number | null;
23784
+ counterpart?: {
23785
+ counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
23786
+ id?: string | null | undefined;
23787
+ name?: string | null | undefined;
23788
+ iban?: string | null | undefined;
23789
+ bank_account?: string | null | undefined;
23790
+ } | null | undefined;
23605
23791
  id?: string | null | undefined;
23606
23792
  }[];
23607
23793
  }>;
@@ -24159,7 +24345,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
24159
24345
  } | null | undefined;
24160
24346
  }>;
24161
24347
  getContacts(params?: {
24162
- contact_type?: "supplier" | "all" | "prospect" | "customer" | undefined;
24348
+ contact_type?: "supplier" | "all" | "customer" | "prospect" | undefined;
24163
24349
  } | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
24164
24350
  id: string;
24165
24351
  source_ref: {
@@ -25620,6 +25806,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
25620
25806
  };
25621
25807
  id: string;
25622
25808
  created_on: string;
25809
+ modified_on: string;
25623
25810
  }[]>;
25624
25811
  addDataByDataStoreId: (dataStoreId: string, data: {
25625
25812
  data: {
@@ -25631,6 +25818,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
25631
25818
  };
25632
25819
  id: string;
25633
25820
  created_on: string;
25821
+ modified_on: string;
25634
25822
  }[]>;
25635
25823
  getSyncData: (syncId: string) => Promise<{
25636
25824
  syncid: string;
@@ -25656,6 +25844,10 @@ declare const Consumers: (internalApi: InternalAPI) => {
25656
25844
  sub_mapping_name: string;
25657
25845
  sub_mapping_description?: string | null | undefined;
25658
25846
  }[] | null | undefined;
25847
+ skip_mappings?: {
25848
+ name: string;
25849
+ skip_reason: "presync" | "challenge";
25850
+ }[] | null | undefined;
25659
25851
  link_metadata?: {
25660
25852
  [key: string]: unknown;
25661
25853
  } | null | undefined;
@@ -25708,6 +25900,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
25708
25900
  };
25709
25901
  id: string;
25710
25902
  created_on: string;
25903
+ modified_on: string;
25711
25904
  }[]>;
25712
25905
  addDataByDataStoreName: (dataStoreName: string, data: {
25713
25906
  data: {
@@ -25719,6 +25912,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
25719
25912
  };
25720
25913
  id: string;
25721
25914
  created_on: string;
25915
+ modified_on: string;
25722
25916
  }[] | undefined>;
25723
25917
  updateDataStoreData: (dataStoreId: string, dataStoreDataId: string, data: {
25724
25918
  data: {
@@ -25730,6 +25924,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
25730
25924
  };
25731
25925
  id: string;
25732
25926
  created_on: string;
25927
+ modified_on: string;
25733
25928
  }[]>;
25734
25929
  deleteDataStoreData: (dataStoreId: string, dataStoreDataId: string) => Promise<import("../types/sync").SimpleResponseModel>;
25735
25930
  logData: (logs: import("../types/consumers").ConsumerLog[]) => Promise<import("../types/sync").SimpleResponseModel>;