@chift/chift-nodejs 1.0.31 → 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.
@@ -33,6 +33,7 @@ export declare class API {
33
33
  }[] | null | undefined;
34
34
  country?: string | null | undefined;
35
35
  redirect: boolean | null;
36
+ apis?: ("Payment" | "Point of Sale" | "eCommerce" | "Accounting" | "Invoicing" | "Banking" | "Custom" | "Property Management System")[] | null | undefined;
36
37
  } | null | undefined) => Promise<{
37
38
  url: string;
38
39
  }>;
@@ -118,7 +119,8 @@ export declare class API {
118
119
  total_refund: number | null;
119
120
  total_tip: number | null;
120
121
  delivery_fee: number | null;
121
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
122
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
123
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
122
124
  currency?: string | null | undefined;
123
125
  country?: string | null | undefined;
124
126
  loyalty?: number | null | undefined;
@@ -153,7 +155,7 @@ export declare class API {
153
155
  discounts: {
154
156
  name?: string | null | undefined;
155
157
  total: number;
156
- type: "OFFERED" | "UNKNOWN" | "LOSS";
158
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
157
159
  }[] | null;
158
160
  product_id?: string | null | undefined;
159
161
  accounting_category_id?: string | null | undefined;
@@ -197,7 +199,8 @@ export declare class API {
197
199
  total_refund: number | null;
198
200
  total_tip: number | null;
199
201
  delivery_fee: number | null;
200
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
202
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
203
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
201
204
  currency?: string | null | undefined;
202
205
  country?: string | null | undefined;
203
206
  loyalty?: number | null | undefined;
@@ -232,7 +235,7 @@ export declare class API {
232
235
  discounts: {
233
236
  name?: string | null | undefined;
234
237
  total: number;
235
- type: "OFFERED" | "UNKNOWN" | "LOSS";
238
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
236
239
  }[] | null;
237
240
  product_id?: string | null | undefined;
238
241
  accounting_category_id?: string | null | undefined;
@@ -386,7 +389,8 @@ export declare class API {
386
389
  total_refund: number | null;
387
390
  total_tip: number | null;
388
391
  delivery_fee: number | null;
389
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
392
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
393
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
390
394
  currency?: string | null | undefined;
391
395
  country?: string | null | undefined;
392
396
  loyalty?: number | null | undefined;
@@ -421,7 +425,7 @@ export declare class API {
421
425
  discounts: {
422
426
  name?: string | null | undefined;
423
427
  total: number;
424
- type: "OFFERED" | "UNKNOWN" | "LOSS";
428
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
425
429
  }[] | null;
426
430
  product_id?: string | null | undefined;
427
431
  accounting_category_id?: string | null | undefined;
@@ -491,7 +495,8 @@ export declare class API {
491
495
  total_refund: number | null;
492
496
  total_tip: number | null;
493
497
  delivery_fee: number | null;
494
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
498
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
499
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
495
500
  currency?: string | null | undefined;
496
501
  country?: string | null | undefined;
497
502
  loyalty?: number | null | undefined;
@@ -520,7 +525,7 @@ export declare class API {
520
525
  discounts: {
521
526
  name?: string | null | undefined;
522
527
  total: number;
523
- type: "OFFERED" | "UNKNOWN" | "LOSS";
528
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
524
529
  }[] | null;
525
530
  product_id?: string | null | undefined;
526
531
  accounting_category_id?: string | null | undefined;
@@ -746,7 +751,7 @@ export declare class API {
746
751
  discounts: {
747
752
  name?: string | null | undefined;
748
753
  total: number;
749
- type: "OFFERED" | "UNKNOWN" | "LOSS";
754
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
750
755
  }[] | null;
751
756
  product_id?: string | null | undefined;
752
757
  accounting_category_id?: string | null | undefined;
@@ -2683,6 +2688,13 @@ export declare class API {
2683
2688
  account: string;
2684
2689
  amount: number;
2685
2690
  description?: string | null | undefined;
2691
+ tax_info?: {
2692
+ tax_code: string;
2693
+ tax_amount: number;
2694
+ vat_account?: string | null | undefined;
2695
+ reversed_vat_account?: string | null | undefined;
2696
+ description?: string | null | undefined;
2697
+ } | null | undefined;
2686
2698
  automated_matching_number?: string | null | undefined;
2687
2699
  }[];
2688
2700
  pdf?: string | null | undefined;
@@ -2690,6 +2702,7 @@ export declare class API {
2690
2702
  folder_id?: string | null | undefined;
2691
2703
  financial_counterpart_account?: string | null | undefined;
2692
2704
  force_currency_exchange?: boolean | null | undefined;
2705
+ ignore_accounting_id?: boolean | undefined;
2693
2706
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
2694
2707
  date: string;
2695
2708
  journal_id: string;
@@ -2703,6 +2716,13 @@ export declare class API {
2703
2716
  account: string;
2704
2717
  amount: number;
2705
2718
  description?: string | null | undefined;
2719
+ tax_info?: {
2720
+ tax_code: string;
2721
+ tax_amount: number;
2722
+ vat_account?: string | null | undefined;
2723
+ reversed_vat_account?: string | null | undefined;
2724
+ description?: string | null | undefined;
2725
+ } | null | undefined;
2706
2726
  automated_matching_number?: string | null | undefined;
2707
2727
  counterpart_account: string;
2708
2728
  }[];
@@ -2943,39 +2963,49 @@ export declare class API {
2943
2963
  createBankTransactions(bankStatement: {
2944
2964
  bank_statement_date: string;
2945
2965
  bank_account_id: string;
2966
+ currency: string;
2946
2967
  external_bank_statement_id: string;
2947
2968
  opening_balance?: number | null | undefined;
2948
2969
  pdf?: string | null | undefined;
2949
2970
  items: {
2950
- account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
2951
- account?: string | null | undefined;
2971
+ general_ledger_account?: string | null | undefined;
2952
2972
  description?: string | null | undefined;
2953
2973
  external_transaction_id?: string | null | undefined;
2954
- date: string;
2955
2974
  amount: number;
2956
2975
  fee_amount: number | null;
2957
2976
  tax_amount: number | null;
2958
- currency: string;
2959
2977
  currency_exchange_rate: number | null;
2978
+ counterpart?: {
2979
+ counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
2980
+ id?: string | null | undefined;
2981
+ name?: string | null | undefined;
2982
+ iban?: string | null | undefined;
2983
+ bank_account?: string | null | undefined;
2984
+ } | null | undefined;
2960
2985
  }[];
2961
2986
  }, params?: {
2962
2987
  folder_id?: string | null | undefined;
2963
2988
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
2964
2989
  bank_statement_date: string;
2965
2990
  bank_account_id: string;
2991
+ currency: string;
2966
2992
  id?: string | null | undefined;
2967
2993
  external_bank_statement_id?: string | null | undefined;
2968
2994
  items: {
2969
- account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
2970
- account?: string | null | undefined;
2995
+ general_ledger_account?: string | null | undefined;
2971
2996
  description?: string | null | undefined;
2972
2997
  external_transaction_id?: string | null | undefined;
2973
- date: string;
2974
2998
  amount: number;
2975
2999
  fee_amount: number | null;
2976
3000
  tax_amount: number | null;
2977
- currency: string;
2978
3001
  currency_exchange_rate: number | null;
3002
+ counterpart?: {
3003
+ counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
3004
+ id?: string | null | undefined;
3005
+ name?: string | null | undefined;
3006
+ iban?: string | null | undefined;
3007
+ bank_account?: string | null | undefined;
3008
+ } | null | undefined;
2979
3009
  id?: string | null | undefined;
2980
3010
  }[];
2981
3011
  }>;
@@ -3533,7 +3563,7 @@ export declare class API {
3533
3563
  } | null | undefined;
3534
3564
  }>;
3535
3565
  getContacts(params?: {
3536
- contact_type?: "supplier" | "all" | "prospect" | "customer" | undefined;
3566
+ contact_type?: "supplier" | "all" | "customer" | "prospect" | undefined;
3537
3567
  } | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
3538
3568
  id: string;
3539
3569
  source_ref: {
@@ -4994,6 +5024,7 @@ export declare class API {
4994
5024
  };
4995
5025
  id: string;
4996
5026
  created_on: string;
5027
+ modified_on: string;
4997
5028
  }[]>;
4998
5029
  addDataByDataStoreId: (dataStoreId: string, data: {
4999
5030
  data: {
@@ -5005,6 +5036,7 @@ export declare class API {
5005
5036
  };
5006
5037
  id: string;
5007
5038
  created_on: string;
5039
+ modified_on: string;
5008
5040
  }[]>;
5009
5041
  getSyncData: (syncId: string) => Promise<{
5010
5042
  syncid: string;
@@ -5030,6 +5062,10 @@ export declare class API {
5030
5062
  sub_mapping_name: string;
5031
5063
  sub_mapping_description?: string | null | undefined;
5032
5064
  }[] | null | undefined;
5065
+ skip_mappings?: {
5066
+ name: string;
5067
+ skip_reason: "presync" | "challenge";
5068
+ }[] | null | undefined;
5033
5069
  link_metadata?: {
5034
5070
  [key: string]: unknown;
5035
5071
  } | null | undefined;
@@ -5082,6 +5118,7 @@ export declare class API {
5082
5118
  };
5083
5119
  id: string;
5084
5120
  created_on: string;
5121
+ modified_on: string;
5085
5122
  }[]>;
5086
5123
  addDataByDataStoreName: (dataStoreName: string, data: {
5087
5124
  data: {
@@ -5093,6 +5130,7 @@ export declare class API {
5093
5130
  };
5094
5131
  id: string;
5095
5132
  created_on: string;
5133
+ modified_on: string;
5096
5134
  }[] | undefined>;
5097
5135
  updateDataStoreData: (dataStoreId: string, dataStoreDataId: string, data: {
5098
5136
  data: {
@@ -5104,6 +5142,7 @@ export declare class API {
5104
5142
  };
5105
5143
  id: string;
5106
5144
  created_on: string;
5145
+ modified_on: string;
5107
5146
  }[]>;
5108
5147
  deleteDataStoreData: (dataStoreId: string, dataStoreDataId: string) => Promise<import("../types/sync").SimpleResponseModel>;
5109
5148
  logData: (logs: import("../types/consumers").ConsumerLog[]) => Promise<import("../types/sync").SimpleResponseModel>;
@@ -5196,6 +5235,7 @@ export declare class API {
5196
5235
  }[] | null | undefined;
5197
5236
  country?: string | null | undefined;
5198
5237
  redirect: boolean | null;
5238
+ apis?: ("Payment" | "Point of Sale" | "eCommerce" | "Accounting" | "Invoicing" | "Banking" | "Custom" | "Property Management System")[] | null | undefined;
5199
5239
  } | null | undefined) => Promise<{
5200
5240
  url: string;
5201
5241
  }>;
@@ -5281,7 +5321,8 @@ export declare class API {
5281
5321
  total_refund: number | null;
5282
5322
  total_tip: number | null;
5283
5323
  delivery_fee: number | null;
5284
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
5324
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
5325
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
5285
5326
  currency?: string | null | undefined;
5286
5327
  country?: string | null | undefined;
5287
5328
  loyalty?: number | null | undefined;
@@ -5316,7 +5357,7 @@ export declare class API {
5316
5357
  discounts: {
5317
5358
  name?: string | null | undefined;
5318
5359
  total: number;
5319
- type: "OFFERED" | "UNKNOWN" | "LOSS";
5360
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
5320
5361
  }[] | null;
5321
5362
  product_id?: string | null | undefined;
5322
5363
  accounting_category_id?: string | null | undefined;
@@ -5360,7 +5401,8 @@ export declare class API {
5360
5401
  total_refund: number | null;
5361
5402
  total_tip: number | null;
5362
5403
  delivery_fee: number | null;
5363
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
5404
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
5405
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
5364
5406
  currency?: string | null | undefined;
5365
5407
  country?: string | null | undefined;
5366
5408
  loyalty?: number | null | undefined;
@@ -5395,7 +5437,7 @@ export declare class API {
5395
5437
  discounts: {
5396
5438
  name?: string | null | undefined;
5397
5439
  total: number;
5398
- type: "OFFERED" | "UNKNOWN" | "LOSS";
5440
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
5399
5441
  }[] | null;
5400
5442
  product_id?: string | null | undefined;
5401
5443
  accounting_category_id?: string | null | undefined;
@@ -5549,7 +5591,8 @@ export declare class API {
5549
5591
  total_refund: number | null;
5550
5592
  total_tip: number | null;
5551
5593
  delivery_fee: number | null;
5552
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
5594
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
5595
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
5553
5596
  currency?: string | null | undefined;
5554
5597
  country?: string | null | undefined;
5555
5598
  loyalty?: number | null | undefined;
@@ -5584,7 +5627,7 @@ export declare class API {
5584
5627
  discounts: {
5585
5628
  name?: string | null | undefined;
5586
5629
  total: number;
5587
- type: "OFFERED" | "UNKNOWN" | "LOSS";
5630
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
5588
5631
  }[] | null;
5589
5632
  product_id?: string | null | undefined;
5590
5633
  accounting_category_id?: string | null | undefined;
@@ -5654,7 +5697,8 @@ export declare class API {
5654
5697
  total_refund: number | null;
5655
5698
  total_tip: number | null;
5656
5699
  delivery_fee: number | null;
5657
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
5700
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
5701
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
5658
5702
  currency?: string | null | undefined;
5659
5703
  country?: string | null | undefined;
5660
5704
  loyalty?: number | null | undefined;
@@ -5683,7 +5727,7 @@ export declare class API {
5683
5727
  discounts: {
5684
5728
  name?: string | null | undefined;
5685
5729
  total: number;
5686
- type: "OFFERED" | "UNKNOWN" | "LOSS";
5730
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
5687
5731
  }[] | null;
5688
5732
  product_id?: string | null | undefined;
5689
5733
  accounting_category_id?: string | null | undefined;
@@ -5909,7 +5953,7 @@ export declare class API {
5909
5953
  discounts: {
5910
5954
  name?: string | null | undefined;
5911
5955
  total: number;
5912
- type: "OFFERED" | "UNKNOWN" | "LOSS";
5956
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
5913
5957
  }[] | null;
5914
5958
  product_id?: string | null | undefined;
5915
5959
  accounting_category_id?: string | null | undefined;
@@ -7846,6 +7890,13 @@ export declare class API {
7846
7890
  account: string;
7847
7891
  amount: number;
7848
7892
  description?: string | null | undefined;
7893
+ tax_info?: {
7894
+ tax_code: string;
7895
+ tax_amount: number;
7896
+ vat_account?: string | null | undefined;
7897
+ reversed_vat_account?: string | null | undefined;
7898
+ description?: string | null | undefined;
7899
+ } | null | undefined;
7849
7900
  automated_matching_number?: string | null | undefined;
7850
7901
  }[];
7851
7902
  pdf?: string | null | undefined;
@@ -7853,6 +7904,7 @@ export declare class API {
7853
7904
  folder_id?: string | null | undefined;
7854
7905
  financial_counterpart_account?: string | null | undefined;
7855
7906
  force_currency_exchange?: boolean | null | undefined;
7907
+ ignore_accounting_id?: boolean | undefined;
7856
7908
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
7857
7909
  date: string;
7858
7910
  journal_id: string;
@@ -7866,6 +7918,13 @@ export declare class API {
7866
7918
  account: string;
7867
7919
  amount: number;
7868
7920
  description?: string | null | undefined;
7921
+ tax_info?: {
7922
+ tax_code: string;
7923
+ tax_amount: number;
7924
+ vat_account?: string | null | undefined;
7925
+ reversed_vat_account?: string | null | undefined;
7926
+ description?: string | null | undefined;
7927
+ } | null | undefined;
7869
7928
  automated_matching_number?: string | null | undefined;
7870
7929
  counterpart_account: string;
7871
7930
  }[];
@@ -8106,39 +8165,49 @@ export declare class API {
8106
8165
  createBankTransactions(bankStatement: {
8107
8166
  bank_statement_date: string;
8108
8167
  bank_account_id: string;
8168
+ currency: string;
8109
8169
  external_bank_statement_id: string;
8110
8170
  opening_balance?: number | null | undefined;
8111
8171
  pdf?: string | null | undefined;
8112
8172
  items: {
8113
- account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
8114
- account?: string | null | undefined;
8173
+ general_ledger_account?: string | null | undefined;
8115
8174
  description?: string | null | undefined;
8116
8175
  external_transaction_id?: string | null | undefined;
8117
- date: string;
8118
8176
  amount: number;
8119
8177
  fee_amount: number | null;
8120
8178
  tax_amount: number | null;
8121
- currency: string;
8122
8179
  currency_exchange_rate: number | null;
8180
+ counterpart?: {
8181
+ counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
8182
+ id?: string | null | undefined;
8183
+ name?: string | null | undefined;
8184
+ iban?: string | null | undefined;
8185
+ bank_account?: string | null | undefined;
8186
+ } | null | undefined;
8123
8187
  }[];
8124
8188
  }, params?: {
8125
8189
  folder_id?: string | null | undefined;
8126
8190
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
8127
8191
  bank_statement_date: string;
8128
8192
  bank_account_id: string;
8193
+ currency: string;
8129
8194
  id?: string | null | undefined;
8130
8195
  external_bank_statement_id?: string | null | undefined;
8131
8196
  items: {
8132
- account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
8133
- account?: string | null | undefined;
8197
+ general_ledger_account?: string | null | undefined;
8134
8198
  description?: string | null | undefined;
8135
8199
  external_transaction_id?: string | null | undefined;
8136
- date: string;
8137
8200
  amount: number;
8138
8201
  fee_amount: number | null;
8139
8202
  tax_amount: number | null;
8140
- currency: string;
8141
8203
  currency_exchange_rate: number | null;
8204
+ counterpart?: {
8205
+ counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
8206
+ id?: string | null | undefined;
8207
+ name?: string | null | undefined;
8208
+ iban?: string | null | undefined;
8209
+ bank_account?: string | null | undefined;
8210
+ } | null | undefined;
8142
8211
  id?: string | null | undefined;
8143
8212
  }[];
8144
8213
  }>;
@@ -8696,7 +8765,7 @@ export declare class API {
8696
8765
  } | null | undefined;
8697
8766
  }>;
8698
8767
  getContacts(params?: {
8699
- contact_type?: "supplier" | "all" | "prospect" | "customer" | undefined;
8768
+ contact_type?: "supplier" | "all" | "customer" | "prospect" | undefined;
8700
8769
  } | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
8701
8770
  id: string;
8702
8771
  source_ref: {
@@ -10157,6 +10226,7 @@ export declare class API {
10157
10226
  };
10158
10227
  id: string;
10159
10228
  created_on: string;
10229
+ modified_on: string;
10160
10230
  }[]>;
10161
10231
  addDataByDataStoreId: (dataStoreId: string, data: {
10162
10232
  data: {
@@ -10168,6 +10238,7 @@ export declare class API {
10168
10238
  };
10169
10239
  id: string;
10170
10240
  created_on: string;
10241
+ modified_on: string;
10171
10242
  }[]>;
10172
10243
  getSyncData: (syncId: string) => Promise<{
10173
10244
  syncid: string;
@@ -10193,6 +10264,10 @@ export declare class API {
10193
10264
  sub_mapping_name: string;
10194
10265
  sub_mapping_description?: string | null | undefined;
10195
10266
  }[] | null | undefined;
10267
+ skip_mappings?: {
10268
+ name: string;
10269
+ skip_reason: "presync" | "challenge";
10270
+ }[] | null | undefined;
10196
10271
  link_metadata?: {
10197
10272
  [key: string]: unknown;
10198
10273
  } | null | undefined;
@@ -10245,6 +10320,7 @@ export declare class API {
10245
10320
  };
10246
10321
  id: string;
10247
10322
  created_on: string;
10323
+ modified_on: string;
10248
10324
  }[]>;
10249
10325
  addDataByDataStoreName: (dataStoreName: string, data: {
10250
10326
  data: {
@@ -10256,6 +10332,7 @@ export declare class API {
10256
10332
  };
10257
10333
  id: string;
10258
10334
  created_on: string;
10335
+ modified_on: string;
10259
10336
  }[] | undefined>;
10260
10337
  updateDataStoreData: (dataStoreId: string, dataStoreDataId: string, data: {
10261
10338
  data: {
@@ -10267,6 +10344,7 @@ export declare class API {
10267
10344
  };
10268
10345
  id: string;
10269
10346
  created_on: string;
10347
+ modified_on: string;
10270
10348
  }[]>;
10271
10349
  deleteDataStoreData: (dataStoreId: string, dataStoreDataId: string) => Promise<import("../types/sync").SimpleResponseModel>;
10272
10350
  logData: (logs: import("../types/consumers").ConsumerLog[]) => Promise<import("../types/sync").SimpleResponseModel>;
@@ -10354,6 +10432,7 @@ export declare class API {
10354
10432
  }[] | null | undefined;
10355
10433
  country?: string | null | undefined;
10356
10434
  redirect: boolean | null;
10435
+ apis?: ("Payment" | "Point of Sale" | "eCommerce" | "Accounting" | "Invoicing" | "Banking" | "Custom" | "Property Management System")[] | null | undefined;
10357
10436
  } | null | undefined) => Promise<{
10358
10437
  url: string;
10359
10438
  }>;
@@ -10439,7 +10518,8 @@ export declare class API {
10439
10518
  total_refund: number | null;
10440
10519
  total_tip: number | null;
10441
10520
  delivery_fee: number | null;
10442
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
10521
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
10522
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
10443
10523
  currency?: string | null | undefined;
10444
10524
  country?: string | null | undefined;
10445
10525
  loyalty?: number | null | undefined;
@@ -10474,7 +10554,7 @@ export declare class API {
10474
10554
  discounts: {
10475
10555
  name?: string | null | undefined;
10476
10556
  total: number;
10477
- type: "OFFERED" | "UNKNOWN" | "LOSS";
10557
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
10478
10558
  }[] | null;
10479
10559
  product_id?: string | null | undefined;
10480
10560
  accounting_category_id?: string | null | undefined;
@@ -10518,7 +10598,8 @@ export declare class API {
10518
10598
  total_refund: number | null;
10519
10599
  total_tip: number | null;
10520
10600
  delivery_fee: number | null;
10521
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
10601
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
10602
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
10522
10603
  currency?: string | null | undefined;
10523
10604
  country?: string | null | undefined;
10524
10605
  loyalty?: number | null | undefined;
@@ -10553,7 +10634,7 @@ export declare class API {
10553
10634
  discounts: {
10554
10635
  name?: string | null | undefined;
10555
10636
  total: number;
10556
- type: "OFFERED" | "UNKNOWN" | "LOSS";
10637
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
10557
10638
  }[] | null;
10558
10639
  product_id?: string | null | undefined;
10559
10640
  accounting_category_id?: string | null | undefined;
@@ -10707,7 +10788,8 @@ export declare class API {
10707
10788
  total_refund: number | null;
10708
10789
  total_tip: number | null;
10709
10790
  delivery_fee: number | null;
10710
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
10791
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
10792
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
10711
10793
  currency?: string | null | undefined;
10712
10794
  country?: string | null | undefined;
10713
10795
  loyalty?: number | null | undefined;
@@ -10742,7 +10824,7 @@ export declare class API {
10742
10824
  discounts: {
10743
10825
  name?: string | null | undefined;
10744
10826
  total: number;
10745
- type: "OFFERED" | "UNKNOWN" | "LOSS";
10827
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
10746
10828
  }[] | null;
10747
10829
  product_id?: string | null | undefined;
10748
10830
  accounting_category_id?: string | null | undefined;
@@ -10812,7 +10894,8 @@ export declare class API {
10812
10894
  total_refund: number | null;
10813
10895
  total_tip: number | null;
10814
10896
  delivery_fee: number | null;
10815
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
10897
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
10898
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
10816
10899
  currency?: string | null | undefined;
10817
10900
  country?: string | null | undefined;
10818
10901
  loyalty?: number | null | undefined;
@@ -10841,7 +10924,7 @@ export declare class API {
10841
10924
  discounts: {
10842
10925
  name?: string | null | undefined;
10843
10926
  total: number;
10844
- type: "OFFERED" | "UNKNOWN" | "LOSS";
10927
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
10845
10928
  }[] | null;
10846
10929
  product_id?: string | null | undefined;
10847
10930
  accounting_category_id?: string | null | undefined;
@@ -11067,7 +11150,7 @@ export declare class API {
11067
11150
  discounts: {
11068
11151
  name?: string | null | undefined;
11069
11152
  total: number;
11070
- type: "OFFERED" | "UNKNOWN" | "LOSS";
11153
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
11071
11154
  }[] | null;
11072
11155
  product_id?: string | null | undefined;
11073
11156
  accounting_category_id?: string | null | undefined;
@@ -13004,6 +13087,13 @@ export declare class API {
13004
13087
  account: string;
13005
13088
  amount: number;
13006
13089
  description?: string | null | undefined;
13090
+ tax_info?: {
13091
+ tax_code: string;
13092
+ tax_amount: number;
13093
+ vat_account?: string | null | undefined;
13094
+ reversed_vat_account?: string | null | undefined;
13095
+ description?: string | null | undefined;
13096
+ } | null | undefined;
13007
13097
  automated_matching_number?: string | null | undefined;
13008
13098
  }[];
13009
13099
  pdf?: string | null | undefined;
@@ -13011,6 +13101,7 @@ export declare class API {
13011
13101
  folder_id?: string | null | undefined;
13012
13102
  financial_counterpart_account?: string | null | undefined;
13013
13103
  force_currency_exchange?: boolean | null | undefined;
13104
+ ignore_accounting_id?: boolean | undefined;
13014
13105
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
13015
13106
  date: string;
13016
13107
  journal_id: string;
@@ -13024,6 +13115,13 @@ export declare class API {
13024
13115
  account: string;
13025
13116
  amount: number;
13026
13117
  description?: string | null | undefined;
13118
+ tax_info?: {
13119
+ tax_code: string;
13120
+ tax_amount: number;
13121
+ vat_account?: string | null | undefined;
13122
+ reversed_vat_account?: string | null | undefined;
13123
+ description?: string | null | undefined;
13124
+ } | null | undefined;
13027
13125
  automated_matching_number?: string | null | undefined;
13028
13126
  counterpart_account: string;
13029
13127
  }[];
@@ -13264,39 +13362,49 @@ export declare class API {
13264
13362
  createBankTransactions(bankStatement: {
13265
13363
  bank_statement_date: string;
13266
13364
  bank_account_id: string;
13365
+ currency: string;
13267
13366
  external_bank_statement_id: string;
13268
13367
  opening_balance?: number | null | undefined;
13269
13368
  pdf?: string | null | undefined;
13270
13369
  items: {
13271
- account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
13272
- account?: string | null | undefined;
13370
+ general_ledger_account?: string | null | undefined;
13273
13371
  description?: string | null | undefined;
13274
13372
  external_transaction_id?: string | null | undefined;
13275
- date: string;
13276
13373
  amount: number;
13277
13374
  fee_amount: number | null;
13278
13375
  tax_amount: number | null;
13279
- currency: string;
13280
13376
  currency_exchange_rate: number | null;
13377
+ counterpart?: {
13378
+ counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
13379
+ id?: string | null | undefined;
13380
+ name?: string | null | undefined;
13381
+ iban?: string | null | undefined;
13382
+ bank_account?: string | null | undefined;
13383
+ } | null | undefined;
13281
13384
  }[];
13282
13385
  }, params?: {
13283
13386
  folder_id?: string | null | undefined;
13284
13387
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
13285
13388
  bank_statement_date: string;
13286
13389
  bank_account_id: string;
13390
+ currency: string;
13287
13391
  id?: string | null | undefined;
13288
13392
  external_bank_statement_id?: string | null | undefined;
13289
13393
  items: {
13290
- account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
13291
- account?: string | null | undefined;
13394
+ general_ledger_account?: string | null | undefined;
13292
13395
  description?: string | null | undefined;
13293
13396
  external_transaction_id?: string | null | undefined;
13294
- date: string;
13295
13397
  amount: number;
13296
13398
  fee_amount: number | null;
13297
13399
  tax_amount: number | null;
13298
- currency: string;
13299
13400
  currency_exchange_rate: number | null;
13401
+ counterpart?: {
13402
+ counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
13403
+ id?: string | null | undefined;
13404
+ name?: string | null | undefined;
13405
+ iban?: string | null | undefined;
13406
+ bank_account?: string | null | undefined;
13407
+ } | null | undefined;
13300
13408
  id?: string | null | undefined;
13301
13409
  }[];
13302
13410
  }>;
@@ -13854,7 +13962,7 @@ export declare class API {
13854
13962
  } | null | undefined;
13855
13963
  }>;
13856
13964
  getContacts(params?: {
13857
- contact_type?: "supplier" | "all" | "prospect" | "customer" | undefined;
13965
+ contact_type?: "supplier" | "all" | "customer" | "prospect" | undefined;
13858
13966
  } | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
13859
13967
  id: string;
13860
13968
  source_ref: {
@@ -15315,6 +15423,7 @@ export declare class API {
15315
15423
  };
15316
15424
  id: string;
15317
15425
  created_on: string;
15426
+ modified_on: string;
15318
15427
  }[]>;
15319
15428
  addDataByDataStoreId: (dataStoreId: string, data: {
15320
15429
  data: {
@@ -15326,6 +15435,7 @@ export declare class API {
15326
15435
  };
15327
15436
  id: string;
15328
15437
  created_on: string;
15438
+ modified_on: string;
15329
15439
  }[]>;
15330
15440
  getSyncData: (syncId: string) => Promise<{
15331
15441
  syncid: string;
@@ -15351,6 +15461,10 @@ export declare class API {
15351
15461
  sub_mapping_name: string;
15352
15462
  sub_mapping_description?: string | null | undefined;
15353
15463
  }[] | null | undefined;
15464
+ skip_mappings?: {
15465
+ name: string;
15466
+ skip_reason: "presync" | "challenge";
15467
+ }[] | null | undefined;
15354
15468
  link_metadata?: {
15355
15469
  [key: string]: unknown;
15356
15470
  } | null | undefined;
@@ -15403,6 +15517,7 @@ export declare class API {
15403
15517
  };
15404
15518
  id: string;
15405
15519
  created_on: string;
15520
+ modified_on: string;
15406
15521
  }[]>;
15407
15522
  addDataByDataStoreName: (dataStoreName: string, data: {
15408
15523
  data: {
@@ -15414,6 +15529,7 @@ export declare class API {
15414
15529
  };
15415
15530
  id: string;
15416
15531
  created_on: string;
15532
+ modified_on: string;
15417
15533
  }[] | undefined>;
15418
15534
  updateDataStoreData: (dataStoreId: string, dataStoreDataId: string, data: {
15419
15535
  data: {
@@ -15425,6 +15541,7 @@ export declare class API {
15425
15541
  };
15426
15542
  id: string;
15427
15543
  created_on: string;
15544
+ modified_on: string;
15428
15545
  }[]>;
15429
15546
  deleteDataStoreData: (dataStoreId: string, dataStoreDataId: string) => Promise<import("../types/sync").SimpleResponseModel>;
15430
15547
  logData: (logs: import("../types/consumers").ConsumerLog[]) => Promise<import("../types/sync").SimpleResponseModel>;
@@ -15512,6 +15629,7 @@ export declare class API {
15512
15629
  }[] | null | undefined;
15513
15630
  country?: string | null | undefined;
15514
15631
  redirect: boolean | null;
15632
+ apis?: ("Payment" | "Point of Sale" | "eCommerce" | "Accounting" | "Invoicing" | "Banking" | "Custom" | "Property Management System")[] | null | undefined;
15515
15633
  } | null | undefined) => Promise<{
15516
15634
  url: string;
15517
15635
  }>;
@@ -15597,7 +15715,8 @@ export declare class API {
15597
15715
  total_refund: number | null;
15598
15716
  total_tip: number | null;
15599
15717
  delivery_fee: number | null;
15600
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
15718
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
15719
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
15601
15720
  currency?: string | null | undefined;
15602
15721
  country?: string | null | undefined;
15603
15722
  loyalty?: number | null | undefined;
@@ -15632,7 +15751,7 @@ export declare class API {
15632
15751
  discounts: {
15633
15752
  name?: string | null | undefined;
15634
15753
  total: number;
15635
- type: "OFFERED" | "UNKNOWN" | "LOSS";
15754
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
15636
15755
  }[] | null;
15637
15756
  product_id?: string | null | undefined;
15638
15757
  accounting_category_id?: string | null | undefined;
@@ -15676,7 +15795,8 @@ export declare class API {
15676
15795
  total_refund: number | null;
15677
15796
  total_tip: number | null;
15678
15797
  delivery_fee: number | null;
15679
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
15798
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
15799
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
15680
15800
  currency?: string | null | undefined;
15681
15801
  country?: string | null | undefined;
15682
15802
  loyalty?: number | null | undefined;
@@ -15711,7 +15831,7 @@ export declare class API {
15711
15831
  discounts: {
15712
15832
  name?: string | null | undefined;
15713
15833
  total: number;
15714
- type: "OFFERED" | "UNKNOWN" | "LOSS";
15834
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
15715
15835
  }[] | null;
15716
15836
  product_id?: string | null | undefined;
15717
15837
  accounting_category_id?: string | null | undefined;
@@ -15865,7 +15985,8 @@ export declare class API {
15865
15985
  total_refund: number | null;
15866
15986
  total_tip: number | null;
15867
15987
  delivery_fee: number | null;
15868
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
15988
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
15989
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
15869
15990
  currency?: string | null | undefined;
15870
15991
  country?: string | null | undefined;
15871
15992
  loyalty?: number | null | undefined;
@@ -15900,7 +16021,7 @@ export declare class API {
15900
16021
  discounts: {
15901
16022
  name?: string | null | undefined;
15902
16023
  total: number;
15903
- type: "OFFERED" | "UNKNOWN" | "LOSS";
16024
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
15904
16025
  }[] | null;
15905
16026
  product_id?: string | null | undefined;
15906
16027
  accounting_category_id?: string | null | undefined;
@@ -15970,7 +16091,8 @@ export declare class API {
15970
16091
  total_refund: number | null;
15971
16092
  total_tip: number | null;
15972
16093
  delivery_fee: number | null;
15973
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
16094
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
16095
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
15974
16096
  currency?: string | null | undefined;
15975
16097
  country?: string | null | undefined;
15976
16098
  loyalty?: number | null | undefined;
@@ -15999,7 +16121,7 @@ export declare class API {
15999
16121
  discounts: {
16000
16122
  name?: string | null | undefined;
16001
16123
  total: number;
16002
- type: "OFFERED" | "UNKNOWN" | "LOSS";
16124
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
16003
16125
  }[] | null;
16004
16126
  product_id?: string | null | undefined;
16005
16127
  accounting_category_id?: string | null | undefined;
@@ -16225,7 +16347,7 @@ export declare class API {
16225
16347
  discounts: {
16226
16348
  name?: string | null | undefined;
16227
16349
  total: number;
16228
- type: "OFFERED" | "UNKNOWN" | "LOSS";
16350
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
16229
16351
  }[] | null;
16230
16352
  product_id?: string | null | undefined;
16231
16353
  accounting_category_id?: string | null | undefined;
@@ -18162,6 +18284,13 @@ export declare class API {
18162
18284
  account: string;
18163
18285
  amount: number;
18164
18286
  description?: string | null | undefined;
18287
+ tax_info?: {
18288
+ tax_code: string;
18289
+ tax_amount: number;
18290
+ vat_account?: string | null | undefined;
18291
+ reversed_vat_account?: string | null | undefined;
18292
+ description?: string | null | undefined;
18293
+ } | null | undefined;
18165
18294
  automated_matching_number?: string | null | undefined;
18166
18295
  }[];
18167
18296
  pdf?: string | null | undefined;
@@ -18169,6 +18298,7 @@ export declare class API {
18169
18298
  folder_id?: string | null | undefined;
18170
18299
  financial_counterpart_account?: string | null | undefined;
18171
18300
  force_currency_exchange?: boolean | null | undefined;
18301
+ ignore_accounting_id?: boolean | undefined;
18172
18302
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
18173
18303
  date: string;
18174
18304
  journal_id: string;
@@ -18182,6 +18312,13 @@ export declare class API {
18182
18312
  account: string;
18183
18313
  amount: number;
18184
18314
  description?: string | null | undefined;
18315
+ tax_info?: {
18316
+ tax_code: string;
18317
+ tax_amount: number;
18318
+ vat_account?: string | null | undefined;
18319
+ reversed_vat_account?: string | null | undefined;
18320
+ description?: string | null | undefined;
18321
+ } | null | undefined;
18185
18322
  automated_matching_number?: string | null | undefined;
18186
18323
  counterpart_account: string;
18187
18324
  }[];
@@ -18422,39 +18559,49 @@ export declare class API {
18422
18559
  createBankTransactions(bankStatement: {
18423
18560
  bank_statement_date: string;
18424
18561
  bank_account_id: string;
18562
+ currency: string;
18425
18563
  external_bank_statement_id: string;
18426
18564
  opening_balance?: number | null | undefined;
18427
18565
  pdf?: string | null | undefined;
18428
18566
  items: {
18429
- account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
18430
- account?: string | null | undefined;
18567
+ general_ledger_account?: string | null | undefined;
18431
18568
  description?: string | null | undefined;
18432
18569
  external_transaction_id?: string | null | undefined;
18433
- date: string;
18434
18570
  amount: number;
18435
18571
  fee_amount: number | null;
18436
18572
  tax_amount: number | null;
18437
- currency: string;
18438
18573
  currency_exchange_rate: number | null;
18574
+ counterpart?: {
18575
+ counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
18576
+ id?: string | null | undefined;
18577
+ name?: string | null | undefined;
18578
+ iban?: string | null | undefined;
18579
+ bank_account?: string | null | undefined;
18580
+ } | null | undefined;
18439
18581
  }[];
18440
18582
  }, params?: {
18441
18583
  folder_id?: string | null | undefined;
18442
18584
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
18443
18585
  bank_statement_date: string;
18444
18586
  bank_account_id: string;
18587
+ currency: string;
18445
18588
  id?: string | null | undefined;
18446
18589
  external_bank_statement_id?: string | null | undefined;
18447
18590
  items: {
18448
- account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
18449
- account?: string | null | undefined;
18591
+ general_ledger_account?: string | null | undefined;
18450
18592
  description?: string | null | undefined;
18451
18593
  external_transaction_id?: string | null | undefined;
18452
- date: string;
18453
18594
  amount: number;
18454
18595
  fee_amount: number | null;
18455
18596
  tax_amount: number | null;
18456
- currency: string;
18457
18597
  currency_exchange_rate: number | null;
18598
+ counterpart?: {
18599
+ counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
18600
+ id?: string | null | undefined;
18601
+ name?: string | null | undefined;
18602
+ iban?: string | null | undefined;
18603
+ bank_account?: string | null | undefined;
18604
+ } | null | undefined;
18458
18605
  id?: string | null | undefined;
18459
18606
  }[];
18460
18607
  }>;
@@ -19012,7 +19159,7 @@ export declare class API {
19012
19159
  } | null | undefined;
19013
19160
  }>;
19014
19161
  getContacts(params?: {
19015
- contact_type?: "supplier" | "all" | "prospect" | "customer" | undefined;
19162
+ contact_type?: "supplier" | "all" | "customer" | "prospect" | undefined;
19016
19163
  } | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
19017
19164
  id: string;
19018
19165
  source_ref: {
@@ -20473,6 +20620,7 @@ export declare class API {
20473
20620
  };
20474
20621
  id: string;
20475
20622
  created_on: string;
20623
+ modified_on: string;
20476
20624
  }[]>;
20477
20625
  addDataByDataStoreId: (dataStoreId: string, data: {
20478
20626
  data: {
@@ -20484,6 +20632,7 @@ export declare class API {
20484
20632
  };
20485
20633
  id: string;
20486
20634
  created_on: string;
20635
+ modified_on: string;
20487
20636
  }[]>;
20488
20637
  getSyncData: (syncId: string) => Promise<{
20489
20638
  syncid: string;
@@ -20509,6 +20658,10 @@ export declare class API {
20509
20658
  sub_mapping_name: string;
20510
20659
  sub_mapping_description?: string | null | undefined;
20511
20660
  }[] | null | undefined;
20661
+ skip_mappings?: {
20662
+ name: string;
20663
+ skip_reason: "presync" | "challenge";
20664
+ }[] | null | undefined;
20512
20665
  link_metadata?: {
20513
20666
  [key: string]: unknown;
20514
20667
  } | null | undefined;
@@ -20561,6 +20714,7 @@ export declare class API {
20561
20714
  };
20562
20715
  id: string;
20563
20716
  created_on: string;
20717
+ modified_on: string;
20564
20718
  }[]>;
20565
20719
  addDataByDataStoreName: (dataStoreName: string, data: {
20566
20720
  data: {
@@ -20572,6 +20726,7 @@ export declare class API {
20572
20726
  };
20573
20727
  id: string;
20574
20728
  created_on: string;
20729
+ modified_on: string;
20575
20730
  }[] | undefined>;
20576
20731
  updateDataStoreData: (dataStoreId: string, dataStoreDataId: string, data: {
20577
20732
  data: {
@@ -20583,6 +20738,7 @@ export declare class API {
20583
20738
  };
20584
20739
  id: string;
20585
20740
  created_on: string;
20741
+ modified_on: string;
20586
20742
  }[]>;
20587
20743
  deleteDataStoreData: (dataStoreId: string, dataStoreDataId: string) => Promise<import("../types/sync").SimpleResponseModel>;
20588
20744
  logData: (logs: import("../types/consumers").ConsumerLog[]) => Promise<import("../types/sync").SimpleResponseModel>;
@@ -20675,6 +20831,7 @@ export declare class API {
20675
20831
  }[] | null | undefined;
20676
20832
  country?: string | null | undefined;
20677
20833
  redirect: boolean | null;
20834
+ apis?: ("Payment" | "Point of Sale" | "eCommerce" | "Accounting" | "Invoicing" | "Banking" | "Custom" | "Property Management System")[] | null | undefined;
20678
20835
  } | null | undefined) => Promise<{
20679
20836
  url: string;
20680
20837
  }>;
@@ -20760,7 +20917,8 @@ export declare class API {
20760
20917
  total_refund: number | null;
20761
20918
  total_tip: number | null;
20762
20919
  delivery_fee: number | null;
20763
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
20920
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
20921
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
20764
20922
  currency?: string | null | undefined;
20765
20923
  country?: string | null | undefined;
20766
20924
  loyalty?: number | null | undefined;
@@ -20795,7 +20953,7 @@ export declare class API {
20795
20953
  discounts: {
20796
20954
  name?: string | null | undefined;
20797
20955
  total: number;
20798
- type: "OFFERED" | "UNKNOWN" | "LOSS";
20956
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
20799
20957
  }[] | null;
20800
20958
  product_id?: string | null | undefined;
20801
20959
  accounting_category_id?: string | null | undefined;
@@ -20839,7 +20997,8 @@ export declare class API {
20839
20997
  total_refund: number | null;
20840
20998
  total_tip: number | null;
20841
20999
  delivery_fee: number | null;
20842
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
21000
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
21001
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
20843
21002
  currency?: string | null | undefined;
20844
21003
  country?: string | null | undefined;
20845
21004
  loyalty?: number | null | undefined;
@@ -20874,7 +21033,7 @@ export declare class API {
20874
21033
  discounts: {
20875
21034
  name?: string | null | undefined;
20876
21035
  total: number;
20877
- type: "OFFERED" | "UNKNOWN" | "LOSS";
21036
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
20878
21037
  }[] | null;
20879
21038
  product_id?: string | null | undefined;
20880
21039
  accounting_category_id?: string | null | undefined;
@@ -21028,7 +21187,8 @@ export declare class API {
21028
21187
  total_refund: number | null;
21029
21188
  total_tip: number | null;
21030
21189
  delivery_fee: number | null;
21031
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
21190
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
21191
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
21032
21192
  currency?: string | null | undefined;
21033
21193
  country?: string | null | undefined;
21034
21194
  loyalty?: number | null | undefined;
@@ -21063,7 +21223,7 @@ export declare class API {
21063
21223
  discounts: {
21064
21224
  name?: string | null | undefined;
21065
21225
  total: number;
21066
- type: "OFFERED" | "UNKNOWN" | "LOSS";
21226
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
21067
21227
  }[] | null;
21068
21228
  product_id?: string | null | undefined;
21069
21229
  accounting_category_id?: string | null | undefined;
@@ -21133,7 +21293,8 @@ export declare class API {
21133
21293
  total_refund: number | null;
21134
21294
  total_tip: number | null;
21135
21295
  delivery_fee: number | null;
21136
- mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
21296
+ mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
21297
+ source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
21137
21298
  currency?: string | null | undefined;
21138
21299
  country?: string | null | undefined;
21139
21300
  loyalty?: number | null | undefined;
@@ -21162,7 +21323,7 @@ export declare class API {
21162
21323
  discounts: {
21163
21324
  name?: string | null | undefined;
21164
21325
  total: number;
21165
- type: "OFFERED" | "UNKNOWN" | "LOSS";
21326
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
21166
21327
  }[] | null;
21167
21328
  product_id?: string | null | undefined;
21168
21329
  accounting_category_id?: string | null | undefined;
@@ -21388,7 +21549,7 @@ export declare class API {
21388
21549
  discounts: {
21389
21550
  name?: string | null | undefined;
21390
21551
  total: number;
21391
- type: "OFFERED" | "UNKNOWN" | "LOSS";
21552
+ type: "UNKNOWN" | "OFFERED" | "LOSS";
21392
21553
  }[] | null;
21393
21554
  product_id?: string | null | undefined;
21394
21555
  accounting_category_id?: string | null | undefined;
@@ -23325,6 +23486,13 @@ export declare class API {
23325
23486
  account: string;
23326
23487
  amount: number;
23327
23488
  description?: string | null | undefined;
23489
+ tax_info?: {
23490
+ tax_code: string;
23491
+ tax_amount: number;
23492
+ vat_account?: string | null | undefined;
23493
+ reversed_vat_account?: string | null | undefined;
23494
+ description?: string | null | undefined;
23495
+ } | null | undefined;
23328
23496
  automated_matching_number?: string | null | undefined;
23329
23497
  }[];
23330
23498
  pdf?: string | null | undefined;
@@ -23332,6 +23500,7 @@ export declare class API {
23332
23500
  folder_id?: string | null | undefined;
23333
23501
  financial_counterpart_account?: string | null | undefined;
23334
23502
  force_currency_exchange?: boolean | null | undefined;
23503
+ ignore_accounting_id?: boolean | undefined;
23335
23504
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
23336
23505
  date: string;
23337
23506
  journal_id: string;
@@ -23345,6 +23514,13 @@ export declare class API {
23345
23514
  account: string;
23346
23515
  amount: number;
23347
23516
  description?: string | null | undefined;
23517
+ tax_info?: {
23518
+ tax_code: string;
23519
+ tax_amount: number;
23520
+ vat_account?: string | null | undefined;
23521
+ reversed_vat_account?: string | null | undefined;
23522
+ description?: string | null | undefined;
23523
+ } | null | undefined;
23348
23524
  automated_matching_number?: string | null | undefined;
23349
23525
  counterpart_account: string;
23350
23526
  }[];
@@ -23585,39 +23761,49 @@ export declare class API {
23585
23761
  createBankTransactions(bankStatement: {
23586
23762
  bank_statement_date: string;
23587
23763
  bank_account_id: string;
23764
+ currency: string;
23588
23765
  external_bank_statement_id: string;
23589
23766
  opening_balance?: number | null | undefined;
23590
23767
  pdf?: string | null | undefined;
23591
23768
  items: {
23592
- account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
23593
- account?: string | null | undefined;
23769
+ general_ledger_account?: string | null | undefined;
23594
23770
  description?: string | null | undefined;
23595
23771
  external_transaction_id?: string | null | undefined;
23596
- date: string;
23597
23772
  amount: number;
23598
23773
  fee_amount: number | null;
23599
23774
  tax_amount: number | null;
23600
- currency: string;
23601
23775
  currency_exchange_rate: number | null;
23776
+ counterpart?: {
23777
+ counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
23778
+ id?: string | null | undefined;
23779
+ name?: string | null | undefined;
23780
+ iban?: string | null | undefined;
23781
+ bank_account?: string | null | undefined;
23782
+ } | null | undefined;
23602
23783
  }[];
23603
23784
  }, params?: {
23604
23785
  folder_id?: string | null | undefined;
23605
23786
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
23606
23787
  bank_statement_date: string;
23607
23788
  bank_account_id: string;
23789
+ currency: string;
23608
23790
  id?: string | null | undefined;
23609
23791
  external_bank_statement_id?: string | null | undefined;
23610
23792
  items: {
23611
- account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
23612
- account?: string | null | undefined;
23793
+ general_ledger_account?: string | null | undefined;
23613
23794
  description?: string | null | undefined;
23614
23795
  external_transaction_id?: string | null | undefined;
23615
- date: string;
23616
23796
  amount: number;
23617
23797
  fee_amount: number | null;
23618
23798
  tax_amount: number | null;
23619
- currency: string;
23620
23799
  currency_exchange_rate: number | null;
23800
+ counterpart?: {
23801
+ counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
23802
+ id?: string | null | undefined;
23803
+ name?: string | null | undefined;
23804
+ iban?: string | null | undefined;
23805
+ bank_account?: string | null | undefined;
23806
+ } | null | undefined;
23621
23807
  id?: string | null | undefined;
23622
23808
  }[];
23623
23809
  }>;
@@ -24175,7 +24361,7 @@ export declare class API {
24175
24361
  } | null | undefined;
24176
24362
  }>;
24177
24363
  getContacts(params?: {
24178
- contact_type?: "supplier" | "all" | "prospect" | "customer" | undefined;
24364
+ contact_type?: "supplier" | "all" | "customer" | "prospect" | undefined;
24179
24365
  } | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
24180
24366
  id: string;
24181
24367
  source_ref: {
@@ -25636,6 +25822,7 @@ export declare class API {
25636
25822
  };
25637
25823
  id: string;
25638
25824
  created_on: string;
25825
+ modified_on: string;
25639
25826
  }[]>;
25640
25827
  addDataByDataStoreId: (dataStoreId: string, data: {
25641
25828
  data: {
@@ -25647,6 +25834,7 @@ export declare class API {
25647
25834
  };
25648
25835
  id: string;
25649
25836
  created_on: string;
25837
+ modified_on: string;
25650
25838
  }[]>;
25651
25839
  getSyncData: (syncId: string) => Promise<{
25652
25840
  syncid: string;
@@ -25672,6 +25860,10 @@ export declare class API {
25672
25860
  sub_mapping_name: string;
25673
25861
  sub_mapping_description?: string | null | undefined;
25674
25862
  }[] | null | undefined;
25863
+ skip_mappings?: {
25864
+ name: string;
25865
+ skip_reason: "presync" | "challenge";
25866
+ }[] | null | undefined;
25675
25867
  link_metadata?: {
25676
25868
  [key: string]: unknown;
25677
25869
  } | null | undefined;
@@ -25724,6 +25916,7 @@ export declare class API {
25724
25916
  };
25725
25917
  id: string;
25726
25918
  created_on: string;
25919
+ modified_on: string;
25727
25920
  }[]>;
25728
25921
  addDataByDataStoreName: (dataStoreName: string, data: {
25729
25922
  data: {
@@ -25735,6 +25928,7 @@ export declare class API {
25735
25928
  };
25736
25929
  id: string;
25737
25930
  created_on: string;
25931
+ modified_on: string;
25738
25932
  }[] | undefined>;
25739
25933
  updateDataStoreData: (dataStoreId: string, dataStoreDataId: string, data: {
25740
25934
  data: {
@@ -25746,6 +25940,7 @@ export declare class API {
25746
25940
  };
25747
25941
  id: string;
25748
25942
  created_on: string;
25943
+ modified_on: string;
25749
25944
  }[]>;
25750
25945
  deleteDataStoreData: (dataStoreId: string, dataStoreDataId: string) => Promise<import("../types/sync").SimpleResponseModel>;
25751
25946
  logData: (logs: import("../types/consumers").ConsumerLog[]) => Promise<import("../types/sync").SimpleResponseModel>;
@@ -25825,7 +26020,7 @@ export declare class API {
25825
26020
  name: string;
25826
26021
  description?: string | null | undefined;
25827
26022
  status: "active" | "inactive";
25828
- api: "Payment" | "Point of Sale" | "eCommerce" | "Accounting" | "Invoicing" | "Communication" | "Banking" | "Custom" | "Property Management System";
26023
+ api: "Payment" | "Point of Sale" | "eCommerce" | "Accounting" | "Invoicing" | "Banking" | "Custom" | "Property Management System" | "Communication";
25829
26024
  logo_url: string;
25830
26025
  icon_url: string;
25831
26026
  post_connections: {
@@ -25833,6 +26028,10 @@ export declare class API {
25833
26028
  title: string;
25834
26029
  optional: boolean;
25835
26030
  resource: string;
26031
+ config: {
26032
+ enabled: boolean;
26033
+ allow_multiple: boolean;
26034
+ };
25836
26035
  }[] | null;
25837
26036
  operations_coverage: {
25838
26037
  operation: string;
@@ -25933,6 +26132,7 @@ export declare class API {
25933
26132
  };
25934
26133
  id: string;
25935
26134
  created_on: string;
26135
+ modified_on: string;
25936
26136
  }[]>;
25937
26137
  createConsumerDataStoreData: (consumerId: string, datastoreId: string, body: {
25938
26138
  data: {
@@ -25944,6 +26144,7 @@ export declare class API {
25944
26144
  };
25945
26145
  id: string;
25946
26146
  created_on: string;
26147
+ modified_on: string;
25947
26148
  }>;
25948
26149
  updateConsumerDataStoreData: (consumerId: string, datastoreId: string, datastoreDataId: string, body: {
25949
26150
  data: {
@@ -25955,6 +26156,7 @@ export declare class API {
25955
26156
  };
25956
26157
  id: string;
25957
26158
  created_on: string;
26159
+ modified_on: string;
25958
26160
  }>;
25959
26161
  deleteConsumerDataStoreData: (consumerId: string, datastoreId: string, datastoreDataId: string) => Promise<void>;
25960
26162
  };