@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.
- package/dist/src/modules/accounting.d.ts +2 -2
- package/dist/src/modules/api.d.ts +293 -91
- package/dist/src/modules/consumer.d.ts +57 -19
- package/dist/src/modules/consumers.d.ts +285 -90
- package/dist/src/modules/datastores.d.ts +3 -0
- package/dist/src/modules/ecommerce.d.ts +2 -2
- package/dist/src/modules/integrations.d.ts +5 -1
- package/dist/src/modules/invoicing.d.ts +1 -1
- package/dist/src/modules/payment.d.ts +1 -1
- package/dist/src/modules/pos.d.ts +1 -1
- package/dist/src/modules/sync.d.ts +228 -72
- package/dist/src/types/public-api/schema.d.ts +1599 -1274
- package/package.json +1 -1
- package/src/types/public-api/schema.d.ts +1599 -1274
|
@@ -48,6 +48,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
48
48
|
}[] | null | undefined;
|
|
49
49
|
country?: string | null | undefined;
|
|
50
50
|
redirect: boolean | null;
|
|
51
|
+
apis?: ("Payment" | "Point of Sale" | "eCommerce" | "Accounting" | "Invoicing" | "Banking" | "Custom" | "Property Management System")[] | null | undefined;
|
|
51
52
|
} | null | undefined) => Promise<{
|
|
52
53
|
url: string;
|
|
53
54
|
}>;
|
|
@@ -133,7 +134,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
133
134
|
total_refund: number | null;
|
|
134
135
|
total_tip: number | null;
|
|
135
136
|
delivery_fee: number | null;
|
|
136
|
-
mode
|
|
137
|
+
mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
|
|
138
|
+
source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
|
|
137
139
|
currency?: string | null | undefined;
|
|
138
140
|
country?: string | null | undefined;
|
|
139
141
|
loyalty?: number | null | undefined;
|
|
@@ -168,7 +170,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
168
170
|
discounts: {
|
|
169
171
|
name?: string | null | undefined;
|
|
170
172
|
total: number;
|
|
171
|
-
type: "
|
|
173
|
+
type: "UNKNOWN" | "OFFERED" | "LOSS";
|
|
172
174
|
}[] | null;
|
|
173
175
|
product_id?: string | null | undefined;
|
|
174
176
|
accounting_category_id?: string | null | undefined;
|
|
@@ -212,7 +214,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
212
214
|
total_refund: number | null;
|
|
213
215
|
total_tip: number | null;
|
|
214
216
|
delivery_fee: number | null;
|
|
215
|
-
mode
|
|
217
|
+
mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
|
|
218
|
+
source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
|
|
216
219
|
currency?: string | null | undefined;
|
|
217
220
|
country?: string | null | undefined;
|
|
218
221
|
loyalty?: number | null | undefined;
|
|
@@ -247,7 +250,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
247
250
|
discounts: {
|
|
248
251
|
name?: string | null | undefined;
|
|
249
252
|
total: number;
|
|
250
|
-
type: "
|
|
253
|
+
type: "UNKNOWN" | "OFFERED" | "LOSS";
|
|
251
254
|
}[] | null;
|
|
252
255
|
product_id?: string | null | undefined;
|
|
253
256
|
accounting_category_id?: string | null | undefined;
|
|
@@ -401,7 +404,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
401
404
|
total_refund: number | null;
|
|
402
405
|
total_tip: number | null;
|
|
403
406
|
delivery_fee: number | null;
|
|
404
|
-
mode
|
|
407
|
+
mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
|
|
408
|
+
source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
|
|
405
409
|
currency?: string | null | undefined;
|
|
406
410
|
country?: string | null | undefined;
|
|
407
411
|
loyalty?: number | null | undefined;
|
|
@@ -436,7 +440,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
436
440
|
discounts: {
|
|
437
441
|
name?: string | null | undefined;
|
|
438
442
|
total: number;
|
|
439
|
-
type: "
|
|
443
|
+
type: "UNKNOWN" | "OFFERED" | "LOSS";
|
|
440
444
|
}[] | null;
|
|
441
445
|
product_id?: string | null | undefined;
|
|
442
446
|
accounting_category_id?: string | null | undefined;
|
|
@@ -506,7 +510,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
506
510
|
total_refund: number | null;
|
|
507
511
|
total_tip: number | null;
|
|
508
512
|
delivery_fee: number | null;
|
|
509
|
-
mode
|
|
513
|
+
mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
|
|
514
|
+
source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
|
|
510
515
|
currency?: string | null | undefined;
|
|
511
516
|
country?: string | null | undefined;
|
|
512
517
|
loyalty?: number | null | undefined;
|
|
@@ -535,7 +540,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
535
540
|
discounts: {
|
|
536
541
|
name?: string | null | undefined;
|
|
537
542
|
total: number;
|
|
538
|
-
type: "
|
|
543
|
+
type: "UNKNOWN" | "OFFERED" | "LOSS";
|
|
539
544
|
}[] | null;
|
|
540
545
|
product_id?: string | null | undefined;
|
|
541
546
|
accounting_category_id?: string | null | undefined;
|
|
@@ -761,7 +766,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
761
766
|
discounts: {
|
|
762
767
|
name?: string | null | undefined;
|
|
763
768
|
total: number;
|
|
764
|
-
type: "
|
|
769
|
+
type: "UNKNOWN" | "OFFERED" | "LOSS";
|
|
765
770
|
}[] | null;
|
|
766
771
|
product_id?: string | null | undefined;
|
|
767
772
|
accounting_category_id?: string | null | undefined;
|
|
@@ -2698,6 +2703,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2698
2703
|
account: string;
|
|
2699
2704
|
amount: number;
|
|
2700
2705
|
description?: string | null | undefined;
|
|
2706
|
+
tax_info?: {
|
|
2707
|
+
tax_code: string;
|
|
2708
|
+
tax_amount: number;
|
|
2709
|
+
vat_account?: string | null | undefined;
|
|
2710
|
+
reversed_vat_account?: string | null | undefined;
|
|
2711
|
+
description?: string | null | undefined;
|
|
2712
|
+
} | null | undefined;
|
|
2701
2713
|
automated_matching_number?: string | null | undefined;
|
|
2702
2714
|
}[];
|
|
2703
2715
|
pdf?: string | null | undefined;
|
|
@@ -2705,6 +2717,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2705
2717
|
folder_id?: string | null | undefined;
|
|
2706
2718
|
financial_counterpart_account?: string | null | undefined;
|
|
2707
2719
|
force_currency_exchange?: boolean | null | undefined;
|
|
2720
|
+
ignore_accounting_id?: boolean | undefined;
|
|
2708
2721
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
2709
2722
|
date: string;
|
|
2710
2723
|
journal_id: string;
|
|
@@ -2718,6 +2731,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2718
2731
|
account: string;
|
|
2719
2732
|
amount: number;
|
|
2720
2733
|
description?: string | null | undefined;
|
|
2734
|
+
tax_info?: {
|
|
2735
|
+
tax_code: string;
|
|
2736
|
+
tax_amount: number;
|
|
2737
|
+
vat_account?: string | null | undefined;
|
|
2738
|
+
reversed_vat_account?: string | null | undefined;
|
|
2739
|
+
description?: string | null | undefined;
|
|
2740
|
+
} | null | undefined;
|
|
2721
2741
|
automated_matching_number?: string | null | undefined;
|
|
2722
2742
|
counterpart_account: string;
|
|
2723
2743
|
}[];
|
|
@@ -2958,39 +2978,49 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2958
2978
|
createBankTransactions(bankStatement: {
|
|
2959
2979
|
bank_statement_date: string;
|
|
2960
2980
|
bank_account_id: string;
|
|
2981
|
+
currency: string;
|
|
2961
2982
|
external_bank_statement_id: string;
|
|
2962
2983
|
opening_balance?: number | null | undefined;
|
|
2963
2984
|
pdf?: string | null | undefined;
|
|
2964
2985
|
items: {
|
|
2965
|
-
|
|
2966
|
-
account?: string | null | undefined;
|
|
2986
|
+
general_ledger_account?: string | null | undefined;
|
|
2967
2987
|
description?: string | null | undefined;
|
|
2968
2988
|
external_transaction_id?: string | null | undefined;
|
|
2969
|
-
date: string;
|
|
2970
2989
|
amount: number;
|
|
2971
2990
|
fee_amount: number | null;
|
|
2972
2991
|
tax_amount: number | null;
|
|
2973
|
-
currency: string;
|
|
2974
2992
|
currency_exchange_rate: number | null;
|
|
2993
|
+
counterpart?: {
|
|
2994
|
+
counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
|
|
2995
|
+
id?: string | null | undefined;
|
|
2996
|
+
name?: string | null | undefined;
|
|
2997
|
+
iban?: string | null | undefined;
|
|
2998
|
+
bank_account?: string | null | undefined;
|
|
2999
|
+
} | null | undefined;
|
|
2975
3000
|
}[];
|
|
2976
3001
|
}, params?: {
|
|
2977
3002
|
folder_id?: string | null | undefined;
|
|
2978
3003
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
2979
3004
|
bank_statement_date: string;
|
|
2980
3005
|
bank_account_id: string;
|
|
3006
|
+
currency: string;
|
|
2981
3007
|
id?: string | null | undefined;
|
|
2982
3008
|
external_bank_statement_id?: string | null | undefined;
|
|
2983
3009
|
items: {
|
|
2984
|
-
|
|
2985
|
-
account?: string | null | undefined;
|
|
3010
|
+
general_ledger_account?: string | null | undefined;
|
|
2986
3011
|
description?: string | null | undefined;
|
|
2987
3012
|
external_transaction_id?: string | null | undefined;
|
|
2988
|
-
date: string;
|
|
2989
3013
|
amount: number;
|
|
2990
3014
|
fee_amount: number | null;
|
|
2991
3015
|
tax_amount: number | null;
|
|
2992
|
-
currency: string;
|
|
2993
3016
|
currency_exchange_rate: number | null;
|
|
3017
|
+
counterpart?: {
|
|
3018
|
+
counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
|
|
3019
|
+
id?: string | null | undefined;
|
|
3020
|
+
name?: string | null | undefined;
|
|
3021
|
+
iban?: string | null | undefined;
|
|
3022
|
+
bank_account?: string | null | undefined;
|
|
3023
|
+
} | null | undefined;
|
|
2994
3024
|
id?: string | null | undefined;
|
|
2995
3025
|
}[];
|
|
2996
3026
|
}>;
|
|
@@ -3548,7 +3578,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
3548
3578
|
} | null | undefined;
|
|
3549
3579
|
}>;
|
|
3550
3580
|
getContacts(params?: {
|
|
3551
|
-
contact_type?: "supplier" | "all" | "
|
|
3581
|
+
contact_type?: "supplier" | "all" | "customer" | "prospect" | undefined;
|
|
3552
3582
|
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
3553
3583
|
id: string;
|
|
3554
3584
|
source_ref: {
|
|
@@ -5009,6 +5039,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5009
5039
|
};
|
|
5010
5040
|
id: string;
|
|
5011
5041
|
created_on: string;
|
|
5042
|
+
modified_on: string;
|
|
5012
5043
|
}[]>;
|
|
5013
5044
|
addDataByDataStoreId: (dataStoreId: string, data: {
|
|
5014
5045
|
data: {
|
|
@@ -5020,6 +5051,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5020
5051
|
};
|
|
5021
5052
|
id: string;
|
|
5022
5053
|
created_on: string;
|
|
5054
|
+
modified_on: string;
|
|
5023
5055
|
}[]>;
|
|
5024
5056
|
getSyncData: (syncId: string) => Promise<{
|
|
5025
5057
|
syncid: string;
|
|
@@ -5045,6 +5077,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5045
5077
|
sub_mapping_name: string;
|
|
5046
5078
|
sub_mapping_description?: string | null | undefined;
|
|
5047
5079
|
}[] | null | undefined;
|
|
5080
|
+
skip_mappings?: {
|
|
5081
|
+
name: string;
|
|
5082
|
+
skip_reason: "presync" | "challenge";
|
|
5083
|
+
}[] | null | undefined;
|
|
5048
5084
|
link_metadata?: {
|
|
5049
5085
|
[key: string]: unknown;
|
|
5050
5086
|
} | null | undefined;
|
|
@@ -5097,6 +5133,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5097
5133
|
};
|
|
5098
5134
|
id: string;
|
|
5099
5135
|
created_on: string;
|
|
5136
|
+
modified_on: string;
|
|
5100
5137
|
}[]>;
|
|
5101
5138
|
addDataByDataStoreName: (dataStoreName: string, data: {
|
|
5102
5139
|
data: {
|
|
@@ -5108,6 +5145,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5108
5145
|
};
|
|
5109
5146
|
id: string;
|
|
5110
5147
|
created_on: string;
|
|
5148
|
+
modified_on: string;
|
|
5111
5149
|
}[] | undefined>;
|
|
5112
5150
|
updateDataStoreData: (dataStoreId: string, dataStoreDataId: string, data: {
|
|
5113
5151
|
data: {
|
|
@@ -5119,6 +5157,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5119
5157
|
};
|
|
5120
5158
|
id: string;
|
|
5121
5159
|
created_on: string;
|
|
5160
|
+
modified_on: string;
|
|
5122
5161
|
}[]>;
|
|
5123
5162
|
deleteDataStoreData: (dataStoreId: string, dataStoreDataId: string) => Promise<import("../types/sync").SimpleResponseModel>;
|
|
5124
5163
|
logData: (logs: import("../types/consumers").ConsumerLog[]) => Promise<import("../types/sync").SimpleResponseModel>;
|
|
@@ -5229,6 +5268,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5229
5268
|
}[] | null | undefined;
|
|
5230
5269
|
country?: string | null | undefined;
|
|
5231
5270
|
redirect: boolean | null;
|
|
5271
|
+
apis?: ("Payment" | "Point of Sale" | "eCommerce" | "Accounting" | "Invoicing" | "Banking" | "Custom" | "Property Management System")[] | null | undefined;
|
|
5232
5272
|
} | null | undefined) => Promise<{
|
|
5233
5273
|
url: string;
|
|
5234
5274
|
}>;
|
|
@@ -5314,7 +5354,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5314
5354
|
total_refund: number | null;
|
|
5315
5355
|
total_tip: number | null;
|
|
5316
5356
|
delivery_fee: number | null;
|
|
5317
|
-
mode
|
|
5357
|
+
mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
|
|
5358
|
+
source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
|
|
5318
5359
|
currency?: string | null | undefined;
|
|
5319
5360
|
country?: string | null | undefined;
|
|
5320
5361
|
loyalty?: number | null | undefined;
|
|
@@ -5349,7 +5390,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5349
5390
|
discounts: {
|
|
5350
5391
|
name?: string | null | undefined;
|
|
5351
5392
|
total: number;
|
|
5352
|
-
type: "
|
|
5393
|
+
type: "UNKNOWN" | "OFFERED" | "LOSS";
|
|
5353
5394
|
}[] | null;
|
|
5354
5395
|
product_id?: string | null | undefined;
|
|
5355
5396
|
accounting_category_id?: string | null | undefined;
|
|
@@ -5393,7 +5434,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5393
5434
|
total_refund: number | null;
|
|
5394
5435
|
total_tip: number | null;
|
|
5395
5436
|
delivery_fee: number | null;
|
|
5396
|
-
mode
|
|
5437
|
+
mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
|
|
5438
|
+
source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
|
|
5397
5439
|
currency?: string | null | undefined;
|
|
5398
5440
|
country?: string | null | undefined;
|
|
5399
5441
|
loyalty?: number | null | undefined;
|
|
@@ -5428,7 +5470,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5428
5470
|
discounts: {
|
|
5429
5471
|
name?: string | null | undefined;
|
|
5430
5472
|
total: number;
|
|
5431
|
-
type: "
|
|
5473
|
+
type: "UNKNOWN" | "OFFERED" | "LOSS";
|
|
5432
5474
|
}[] | null;
|
|
5433
5475
|
product_id?: string | null | undefined;
|
|
5434
5476
|
accounting_category_id?: string | null | undefined;
|
|
@@ -5582,7 +5624,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5582
5624
|
total_refund: number | null;
|
|
5583
5625
|
total_tip: number | null;
|
|
5584
5626
|
delivery_fee: number | null;
|
|
5585
|
-
mode
|
|
5627
|
+
mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
|
|
5628
|
+
source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
|
|
5586
5629
|
currency?: string | null | undefined;
|
|
5587
5630
|
country?: string | null | undefined;
|
|
5588
5631
|
loyalty?: number | null | undefined;
|
|
@@ -5617,7 +5660,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5617
5660
|
discounts: {
|
|
5618
5661
|
name?: string | null | undefined;
|
|
5619
5662
|
total: number;
|
|
5620
|
-
type: "
|
|
5663
|
+
type: "UNKNOWN" | "OFFERED" | "LOSS";
|
|
5621
5664
|
}[] | null;
|
|
5622
5665
|
product_id?: string | null | undefined;
|
|
5623
5666
|
accounting_category_id?: string | null | undefined;
|
|
@@ -5687,7 +5730,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5687
5730
|
total_refund: number | null;
|
|
5688
5731
|
total_tip: number | null;
|
|
5689
5732
|
delivery_fee: number | null;
|
|
5690
|
-
mode
|
|
5733
|
+
mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
|
|
5734
|
+
source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
|
|
5691
5735
|
currency?: string | null | undefined;
|
|
5692
5736
|
country?: string | null | undefined;
|
|
5693
5737
|
loyalty?: number | null | undefined;
|
|
@@ -5716,7 +5760,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5716
5760
|
discounts: {
|
|
5717
5761
|
name?: string | null | undefined;
|
|
5718
5762
|
total: number;
|
|
5719
|
-
type: "
|
|
5763
|
+
type: "UNKNOWN" | "OFFERED" | "LOSS";
|
|
5720
5764
|
}[] | null;
|
|
5721
5765
|
product_id?: string | null | undefined;
|
|
5722
5766
|
accounting_category_id?: string | null | undefined;
|
|
@@ -5942,7 +5986,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5942
5986
|
discounts: {
|
|
5943
5987
|
name?: string | null | undefined;
|
|
5944
5988
|
total: number;
|
|
5945
|
-
type: "
|
|
5989
|
+
type: "UNKNOWN" | "OFFERED" | "LOSS";
|
|
5946
5990
|
}[] | null;
|
|
5947
5991
|
product_id?: string | null | undefined;
|
|
5948
5992
|
accounting_category_id?: string | null | undefined;
|
|
@@ -7879,6 +7923,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7879
7923
|
account: string;
|
|
7880
7924
|
amount: number;
|
|
7881
7925
|
description?: string | null | undefined;
|
|
7926
|
+
tax_info?: {
|
|
7927
|
+
tax_code: string;
|
|
7928
|
+
tax_amount: number;
|
|
7929
|
+
vat_account?: string | null | undefined;
|
|
7930
|
+
reversed_vat_account?: string | null | undefined;
|
|
7931
|
+
description?: string | null | undefined;
|
|
7932
|
+
} | null | undefined;
|
|
7882
7933
|
automated_matching_number?: string | null | undefined;
|
|
7883
7934
|
}[];
|
|
7884
7935
|
pdf?: string | null | undefined;
|
|
@@ -7886,6 +7937,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7886
7937
|
folder_id?: string | null | undefined;
|
|
7887
7938
|
financial_counterpart_account?: string | null | undefined;
|
|
7888
7939
|
force_currency_exchange?: boolean | null | undefined;
|
|
7940
|
+
ignore_accounting_id?: boolean | undefined;
|
|
7889
7941
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
7890
7942
|
date: string;
|
|
7891
7943
|
journal_id: string;
|
|
@@ -7899,6 +7951,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7899
7951
|
account: string;
|
|
7900
7952
|
amount: number;
|
|
7901
7953
|
description?: string | null | undefined;
|
|
7954
|
+
tax_info?: {
|
|
7955
|
+
tax_code: string;
|
|
7956
|
+
tax_amount: number;
|
|
7957
|
+
vat_account?: string | null | undefined;
|
|
7958
|
+
reversed_vat_account?: string | null | undefined;
|
|
7959
|
+
description?: string | null | undefined;
|
|
7960
|
+
} | null | undefined;
|
|
7902
7961
|
automated_matching_number?: string | null | undefined;
|
|
7903
7962
|
counterpart_account: string;
|
|
7904
7963
|
}[];
|
|
@@ -8139,39 +8198,49 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
8139
8198
|
createBankTransactions(bankStatement: {
|
|
8140
8199
|
bank_statement_date: string;
|
|
8141
8200
|
bank_account_id: string;
|
|
8201
|
+
currency: string;
|
|
8142
8202
|
external_bank_statement_id: string;
|
|
8143
8203
|
opening_balance?: number | null | undefined;
|
|
8144
8204
|
pdf?: string | null | undefined;
|
|
8145
8205
|
items: {
|
|
8146
|
-
|
|
8147
|
-
account?: string | null | undefined;
|
|
8206
|
+
general_ledger_account?: string | null | undefined;
|
|
8148
8207
|
description?: string | null | undefined;
|
|
8149
8208
|
external_transaction_id?: string | null | undefined;
|
|
8150
|
-
date: string;
|
|
8151
8209
|
amount: number;
|
|
8152
8210
|
fee_amount: number | null;
|
|
8153
8211
|
tax_amount: number | null;
|
|
8154
|
-
currency: string;
|
|
8155
8212
|
currency_exchange_rate: number | null;
|
|
8213
|
+
counterpart?: {
|
|
8214
|
+
counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
|
|
8215
|
+
id?: string | null | undefined;
|
|
8216
|
+
name?: string | null | undefined;
|
|
8217
|
+
iban?: string | null | undefined;
|
|
8218
|
+
bank_account?: string | null | undefined;
|
|
8219
|
+
} | null | undefined;
|
|
8156
8220
|
}[];
|
|
8157
8221
|
}, params?: {
|
|
8158
8222
|
folder_id?: string | null | undefined;
|
|
8159
8223
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
8160
8224
|
bank_statement_date: string;
|
|
8161
8225
|
bank_account_id: string;
|
|
8226
|
+
currency: string;
|
|
8162
8227
|
id?: string | null | undefined;
|
|
8163
8228
|
external_bank_statement_id?: string | null | undefined;
|
|
8164
8229
|
items: {
|
|
8165
|
-
|
|
8166
|
-
account?: string | null | undefined;
|
|
8230
|
+
general_ledger_account?: string | null | undefined;
|
|
8167
8231
|
description?: string | null | undefined;
|
|
8168
8232
|
external_transaction_id?: string | null | undefined;
|
|
8169
|
-
date: string;
|
|
8170
8233
|
amount: number;
|
|
8171
8234
|
fee_amount: number | null;
|
|
8172
8235
|
tax_amount: number | null;
|
|
8173
|
-
currency: string;
|
|
8174
8236
|
currency_exchange_rate: number | null;
|
|
8237
|
+
counterpart?: {
|
|
8238
|
+
counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
|
|
8239
|
+
id?: string | null | undefined;
|
|
8240
|
+
name?: string | null | undefined;
|
|
8241
|
+
iban?: string | null | undefined;
|
|
8242
|
+
bank_account?: string | null | undefined;
|
|
8243
|
+
} | null | undefined;
|
|
8175
8244
|
id?: string | null | undefined;
|
|
8176
8245
|
}[];
|
|
8177
8246
|
}>;
|
|
@@ -8729,7 +8798,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
8729
8798
|
} | null | undefined;
|
|
8730
8799
|
}>;
|
|
8731
8800
|
getContacts(params?: {
|
|
8732
|
-
contact_type?: "supplier" | "all" | "
|
|
8801
|
+
contact_type?: "supplier" | "all" | "customer" | "prospect" | undefined;
|
|
8733
8802
|
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
8734
8803
|
id: string;
|
|
8735
8804
|
source_ref: {
|
|
@@ -10190,6 +10259,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10190
10259
|
};
|
|
10191
10260
|
id: string;
|
|
10192
10261
|
created_on: string;
|
|
10262
|
+
modified_on: string;
|
|
10193
10263
|
}[]>;
|
|
10194
10264
|
addDataByDataStoreId: (dataStoreId: string, data: {
|
|
10195
10265
|
data: {
|
|
@@ -10201,6 +10271,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10201
10271
|
};
|
|
10202
10272
|
id: string;
|
|
10203
10273
|
created_on: string;
|
|
10274
|
+
modified_on: string;
|
|
10204
10275
|
}[]>;
|
|
10205
10276
|
getSyncData: (syncId: string) => Promise<{
|
|
10206
10277
|
syncid: string;
|
|
@@ -10226,6 +10297,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10226
10297
|
sub_mapping_name: string;
|
|
10227
10298
|
sub_mapping_description?: string | null | undefined;
|
|
10228
10299
|
}[] | null | undefined;
|
|
10300
|
+
skip_mappings?: {
|
|
10301
|
+
name: string;
|
|
10302
|
+
skip_reason: "presync" | "challenge";
|
|
10303
|
+
}[] | null | undefined;
|
|
10229
10304
|
link_metadata?: {
|
|
10230
10305
|
[key: string]: unknown;
|
|
10231
10306
|
} | null | undefined;
|
|
@@ -10278,6 +10353,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10278
10353
|
};
|
|
10279
10354
|
id: string;
|
|
10280
10355
|
created_on: string;
|
|
10356
|
+
modified_on: string;
|
|
10281
10357
|
}[]>;
|
|
10282
10358
|
addDataByDataStoreName: (dataStoreName: string, data: {
|
|
10283
10359
|
data: {
|
|
@@ -10289,6 +10365,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10289
10365
|
};
|
|
10290
10366
|
id: string;
|
|
10291
10367
|
created_on: string;
|
|
10368
|
+
modified_on: string;
|
|
10292
10369
|
}[] | undefined>;
|
|
10293
10370
|
updateDataStoreData: (dataStoreId: string, dataStoreDataId: string, data: {
|
|
10294
10371
|
data: {
|
|
@@ -10300,6 +10377,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10300
10377
|
};
|
|
10301
10378
|
id: string;
|
|
10302
10379
|
created_on: string;
|
|
10380
|
+
modified_on: string;
|
|
10303
10381
|
}[]>;
|
|
10304
10382
|
deleteDataStoreData: (dataStoreId: string, dataStoreDataId: string) => Promise<import("../types/sync").SimpleResponseModel>;
|
|
10305
10383
|
logData: (logs: import("../types/consumers").ConsumerLog[]) => Promise<import("../types/sync").SimpleResponseModel>;
|
|
@@ -10410,6 +10488,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10410
10488
|
}[] | null | undefined;
|
|
10411
10489
|
country?: string | null | undefined;
|
|
10412
10490
|
redirect: boolean | null;
|
|
10491
|
+
apis?: ("Payment" | "Point of Sale" | "eCommerce" | "Accounting" | "Invoicing" | "Banking" | "Custom" | "Property Management System")[] | null | undefined;
|
|
10413
10492
|
} | null | undefined) => Promise<{
|
|
10414
10493
|
url: string;
|
|
10415
10494
|
}>;
|
|
@@ -10495,7 +10574,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10495
10574
|
total_refund: number | null;
|
|
10496
10575
|
total_tip: number | null;
|
|
10497
10576
|
delivery_fee: number | null;
|
|
10498
|
-
mode
|
|
10577
|
+
mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
|
|
10578
|
+
source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
|
|
10499
10579
|
currency?: string | null | undefined;
|
|
10500
10580
|
country?: string | null | undefined;
|
|
10501
10581
|
loyalty?: number | null | undefined;
|
|
@@ -10530,7 +10610,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10530
10610
|
discounts: {
|
|
10531
10611
|
name?: string | null | undefined;
|
|
10532
10612
|
total: number;
|
|
10533
|
-
type: "
|
|
10613
|
+
type: "UNKNOWN" | "OFFERED" | "LOSS";
|
|
10534
10614
|
}[] | null;
|
|
10535
10615
|
product_id?: string | null | undefined;
|
|
10536
10616
|
accounting_category_id?: string | null | undefined;
|
|
@@ -10574,7 +10654,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10574
10654
|
total_refund: number | null;
|
|
10575
10655
|
total_tip: number | null;
|
|
10576
10656
|
delivery_fee: number | null;
|
|
10577
|
-
mode
|
|
10657
|
+
mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
|
|
10658
|
+
source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
|
|
10578
10659
|
currency?: string | null | undefined;
|
|
10579
10660
|
country?: string | null | undefined;
|
|
10580
10661
|
loyalty?: number | null | undefined;
|
|
@@ -10609,7 +10690,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10609
10690
|
discounts: {
|
|
10610
10691
|
name?: string | null | undefined;
|
|
10611
10692
|
total: number;
|
|
10612
|
-
type: "
|
|
10693
|
+
type: "UNKNOWN" | "OFFERED" | "LOSS";
|
|
10613
10694
|
}[] | null;
|
|
10614
10695
|
product_id?: string | null | undefined;
|
|
10615
10696
|
accounting_category_id?: string | null | undefined;
|
|
@@ -10763,7 +10844,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10763
10844
|
total_refund: number | null;
|
|
10764
10845
|
total_tip: number | null;
|
|
10765
10846
|
delivery_fee: number | null;
|
|
10766
|
-
mode
|
|
10847
|
+
mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
|
|
10848
|
+
source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
|
|
10767
10849
|
currency?: string | null | undefined;
|
|
10768
10850
|
country?: string | null | undefined;
|
|
10769
10851
|
loyalty?: number | null | undefined;
|
|
@@ -10798,7 +10880,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10798
10880
|
discounts: {
|
|
10799
10881
|
name?: string | null | undefined;
|
|
10800
10882
|
total: number;
|
|
10801
|
-
type: "
|
|
10883
|
+
type: "UNKNOWN" | "OFFERED" | "LOSS";
|
|
10802
10884
|
}[] | null;
|
|
10803
10885
|
product_id?: string | null | undefined;
|
|
10804
10886
|
accounting_category_id?: string | null | undefined;
|
|
@@ -10868,7 +10950,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10868
10950
|
total_refund: number | null;
|
|
10869
10951
|
total_tip: number | null;
|
|
10870
10952
|
delivery_fee: number | null;
|
|
10871
|
-
mode
|
|
10953
|
+
mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
|
|
10954
|
+
source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
|
|
10872
10955
|
currency?: string | null | undefined;
|
|
10873
10956
|
country?: string | null | undefined;
|
|
10874
10957
|
loyalty?: number | null | undefined;
|
|
@@ -10897,7 +10980,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10897
10980
|
discounts: {
|
|
10898
10981
|
name?: string | null | undefined;
|
|
10899
10982
|
total: number;
|
|
10900
|
-
type: "
|
|
10983
|
+
type: "UNKNOWN" | "OFFERED" | "LOSS";
|
|
10901
10984
|
}[] | null;
|
|
10902
10985
|
product_id?: string | null | undefined;
|
|
10903
10986
|
accounting_category_id?: string | null | undefined;
|
|
@@ -11123,7 +11206,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11123
11206
|
discounts: {
|
|
11124
11207
|
name?: string | null | undefined;
|
|
11125
11208
|
total: number;
|
|
11126
|
-
type: "
|
|
11209
|
+
type: "UNKNOWN" | "OFFERED" | "LOSS";
|
|
11127
11210
|
}[] | null;
|
|
11128
11211
|
product_id?: string | null | undefined;
|
|
11129
11212
|
accounting_category_id?: string | null | undefined;
|
|
@@ -13060,6 +13143,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
13060
13143
|
account: string;
|
|
13061
13144
|
amount: number;
|
|
13062
13145
|
description?: string | null | undefined;
|
|
13146
|
+
tax_info?: {
|
|
13147
|
+
tax_code: string;
|
|
13148
|
+
tax_amount: number;
|
|
13149
|
+
vat_account?: string | null | undefined;
|
|
13150
|
+
reversed_vat_account?: string | null | undefined;
|
|
13151
|
+
description?: string | null | undefined;
|
|
13152
|
+
} | null | undefined;
|
|
13063
13153
|
automated_matching_number?: string | null | undefined;
|
|
13064
13154
|
}[];
|
|
13065
13155
|
pdf?: string | null | undefined;
|
|
@@ -13067,6 +13157,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
13067
13157
|
folder_id?: string | null | undefined;
|
|
13068
13158
|
financial_counterpart_account?: string | null | undefined;
|
|
13069
13159
|
force_currency_exchange?: boolean | null | undefined;
|
|
13160
|
+
ignore_accounting_id?: boolean | undefined;
|
|
13070
13161
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
13071
13162
|
date: string;
|
|
13072
13163
|
journal_id: string;
|
|
@@ -13080,6 +13171,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
13080
13171
|
account: string;
|
|
13081
13172
|
amount: number;
|
|
13082
13173
|
description?: string | null | undefined;
|
|
13174
|
+
tax_info?: {
|
|
13175
|
+
tax_code: string;
|
|
13176
|
+
tax_amount: number;
|
|
13177
|
+
vat_account?: string | null | undefined;
|
|
13178
|
+
reversed_vat_account?: string | null | undefined;
|
|
13179
|
+
description?: string | null | undefined;
|
|
13180
|
+
} | null | undefined;
|
|
13083
13181
|
automated_matching_number?: string | null | undefined;
|
|
13084
13182
|
counterpart_account: string;
|
|
13085
13183
|
}[];
|
|
@@ -13320,39 +13418,49 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
13320
13418
|
createBankTransactions(bankStatement: {
|
|
13321
13419
|
bank_statement_date: string;
|
|
13322
13420
|
bank_account_id: string;
|
|
13421
|
+
currency: string;
|
|
13323
13422
|
external_bank_statement_id: string;
|
|
13324
13423
|
opening_balance?: number | null | undefined;
|
|
13325
13424
|
pdf?: string | null | undefined;
|
|
13326
13425
|
items: {
|
|
13327
|
-
|
|
13328
|
-
account?: string | null | undefined;
|
|
13426
|
+
general_ledger_account?: string | null | undefined;
|
|
13329
13427
|
description?: string | null | undefined;
|
|
13330
13428
|
external_transaction_id?: string | null | undefined;
|
|
13331
|
-
date: string;
|
|
13332
13429
|
amount: number;
|
|
13333
13430
|
fee_amount: number | null;
|
|
13334
13431
|
tax_amount: number | null;
|
|
13335
|
-
currency: string;
|
|
13336
13432
|
currency_exchange_rate: number | null;
|
|
13433
|
+
counterpart?: {
|
|
13434
|
+
counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
|
|
13435
|
+
id?: string | null | undefined;
|
|
13436
|
+
name?: string | null | undefined;
|
|
13437
|
+
iban?: string | null | undefined;
|
|
13438
|
+
bank_account?: string | null | undefined;
|
|
13439
|
+
} | null | undefined;
|
|
13337
13440
|
}[];
|
|
13338
13441
|
}, params?: {
|
|
13339
13442
|
folder_id?: string | null | undefined;
|
|
13340
13443
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
13341
13444
|
bank_statement_date: string;
|
|
13342
13445
|
bank_account_id: string;
|
|
13446
|
+
currency: string;
|
|
13343
13447
|
id?: string | null | undefined;
|
|
13344
13448
|
external_bank_statement_id?: string | null | undefined;
|
|
13345
13449
|
items: {
|
|
13346
|
-
|
|
13347
|
-
account?: string | null | undefined;
|
|
13450
|
+
general_ledger_account?: string | null | undefined;
|
|
13348
13451
|
description?: string | null | undefined;
|
|
13349
13452
|
external_transaction_id?: string | null | undefined;
|
|
13350
|
-
date: string;
|
|
13351
13453
|
amount: number;
|
|
13352
13454
|
fee_amount: number | null;
|
|
13353
13455
|
tax_amount: number | null;
|
|
13354
|
-
currency: string;
|
|
13355
13456
|
currency_exchange_rate: number | null;
|
|
13457
|
+
counterpart?: {
|
|
13458
|
+
counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
|
|
13459
|
+
id?: string | null | undefined;
|
|
13460
|
+
name?: string | null | undefined;
|
|
13461
|
+
iban?: string | null | undefined;
|
|
13462
|
+
bank_account?: string | null | undefined;
|
|
13463
|
+
} | null | undefined;
|
|
13356
13464
|
id?: string | null | undefined;
|
|
13357
13465
|
}[];
|
|
13358
13466
|
}>;
|
|
@@ -13910,7 +14018,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
13910
14018
|
} | null | undefined;
|
|
13911
14019
|
}>;
|
|
13912
14020
|
getContacts(params?: {
|
|
13913
|
-
contact_type?: "supplier" | "all" | "
|
|
14021
|
+
contact_type?: "supplier" | "all" | "customer" | "prospect" | undefined;
|
|
13914
14022
|
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
13915
14023
|
id: string;
|
|
13916
14024
|
source_ref: {
|
|
@@ -15371,6 +15479,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15371
15479
|
};
|
|
15372
15480
|
id: string;
|
|
15373
15481
|
created_on: string;
|
|
15482
|
+
modified_on: string;
|
|
15374
15483
|
}[]>;
|
|
15375
15484
|
addDataByDataStoreId: (dataStoreId: string, data: {
|
|
15376
15485
|
data: {
|
|
@@ -15382,6 +15491,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15382
15491
|
};
|
|
15383
15492
|
id: string;
|
|
15384
15493
|
created_on: string;
|
|
15494
|
+
modified_on: string;
|
|
15385
15495
|
}[]>;
|
|
15386
15496
|
getSyncData: (syncId: string) => Promise<{
|
|
15387
15497
|
syncid: string;
|
|
@@ -15407,6 +15517,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15407
15517
|
sub_mapping_name: string;
|
|
15408
15518
|
sub_mapping_description?: string | null | undefined;
|
|
15409
15519
|
}[] | null | undefined;
|
|
15520
|
+
skip_mappings?: {
|
|
15521
|
+
name: string;
|
|
15522
|
+
skip_reason: "presync" | "challenge";
|
|
15523
|
+
}[] | null | undefined;
|
|
15410
15524
|
link_metadata?: {
|
|
15411
15525
|
[key: string]: unknown;
|
|
15412
15526
|
} | null | undefined;
|
|
@@ -15459,6 +15573,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15459
15573
|
};
|
|
15460
15574
|
id: string;
|
|
15461
15575
|
created_on: string;
|
|
15576
|
+
modified_on: string;
|
|
15462
15577
|
}[]>;
|
|
15463
15578
|
addDataByDataStoreName: (dataStoreName: string, data: {
|
|
15464
15579
|
data: {
|
|
@@ -15470,6 +15585,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15470
15585
|
};
|
|
15471
15586
|
id: string;
|
|
15472
15587
|
created_on: string;
|
|
15588
|
+
modified_on: string;
|
|
15473
15589
|
}[] | undefined>;
|
|
15474
15590
|
updateDataStoreData: (dataStoreId: string, dataStoreDataId: string, data: {
|
|
15475
15591
|
data: {
|
|
@@ -15481,6 +15597,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15481
15597
|
};
|
|
15482
15598
|
id: string;
|
|
15483
15599
|
created_on: string;
|
|
15600
|
+
modified_on: string;
|
|
15484
15601
|
}[]>;
|
|
15485
15602
|
deleteDataStoreData: (dataStoreId: string, dataStoreDataId: string) => Promise<import("../types/sync").SimpleResponseModel>;
|
|
15486
15603
|
logData: (logs: import("../types/consumers").ConsumerLog[]) => Promise<import("../types/sync").SimpleResponseModel>;
|
|
@@ -15591,6 +15708,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15591
15708
|
}[] | null | undefined;
|
|
15592
15709
|
country?: string | null | undefined;
|
|
15593
15710
|
redirect: boolean | null;
|
|
15711
|
+
apis?: ("Payment" | "Point of Sale" | "eCommerce" | "Accounting" | "Invoicing" | "Banking" | "Custom" | "Property Management System")[] | null | undefined;
|
|
15594
15712
|
} | null | undefined) => Promise<{
|
|
15595
15713
|
url: string;
|
|
15596
15714
|
}>;
|
|
@@ -15676,7 +15794,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15676
15794
|
total_refund: number | null;
|
|
15677
15795
|
total_tip: number | null;
|
|
15678
15796
|
delivery_fee: number | null;
|
|
15679
|
-
mode
|
|
15797
|
+
mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
|
|
15798
|
+
source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
|
|
15680
15799
|
currency?: string | null | undefined;
|
|
15681
15800
|
country?: string | null | undefined;
|
|
15682
15801
|
loyalty?: number | null | undefined;
|
|
@@ -15711,7 +15830,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15711
15830
|
discounts: {
|
|
15712
15831
|
name?: string | null | undefined;
|
|
15713
15832
|
total: number;
|
|
15714
|
-
type: "
|
|
15833
|
+
type: "UNKNOWN" | "OFFERED" | "LOSS";
|
|
15715
15834
|
}[] | null;
|
|
15716
15835
|
product_id?: string | null | undefined;
|
|
15717
15836
|
accounting_category_id?: string | null | undefined;
|
|
@@ -15755,7 +15874,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15755
15874
|
total_refund: number | null;
|
|
15756
15875
|
total_tip: number | null;
|
|
15757
15876
|
delivery_fee: number | null;
|
|
15758
|
-
mode
|
|
15877
|
+
mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
|
|
15878
|
+
source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
|
|
15759
15879
|
currency?: string | null | undefined;
|
|
15760
15880
|
country?: string | null | undefined;
|
|
15761
15881
|
loyalty?: number | null | undefined;
|
|
@@ -15790,7 +15910,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15790
15910
|
discounts: {
|
|
15791
15911
|
name?: string | null | undefined;
|
|
15792
15912
|
total: number;
|
|
15793
|
-
type: "
|
|
15913
|
+
type: "UNKNOWN" | "OFFERED" | "LOSS";
|
|
15794
15914
|
}[] | null;
|
|
15795
15915
|
product_id?: string | null | undefined;
|
|
15796
15916
|
accounting_category_id?: string | null | undefined;
|
|
@@ -15944,7 +16064,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15944
16064
|
total_refund: number | null;
|
|
15945
16065
|
total_tip: number | null;
|
|
15946
16066
|
delivery_fee: number | null;
|
|
15947
|
-
mode
|
|
16067
|
+
mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
|
|
16068
|
+
source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
|
|
15948
16069
|
currency?: string | null | undefined;
|
|
15949
16070
|
country?: string | null | undefined;
|
|
15950
16071
|
loyalty?: number | null | undefined;
|
|
@@ -15979,7 +16100,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15979
16100
|
discounts: {
|
|
15980
16101
|
name?: string | null | undefined;
|
|
15981
16102
|
total: number;
|
|
15982
|
-
type: "
|
|
16103
|
+
type: "UNKNOWN" | "OFFERED" | "LOSS";
|
|
15983
16104
|
}[] | null;
|
|
15984
16105
|
product_id?: string | null | undefined;
|
|
15985
16106
|
accounting_category_id?: string | null | undefined;
|
|
@@ -16049,7 +16170,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16049
16170
|
total_refund: number | null;
|
|
16050
16171
|
total_tip: number | null;
|
|
16051
16172
|
delivery_fee: number | null;
|
|
16052
|
-
mode
|
|
16173
|
+
mode: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | "UNKNOWN" | null;
|
|
16174
|
+
source: "UNKNOWN" | "WEB" | "MOBILE" | "KIOSK" | "POS" | "REMOTE_POS" | "JUSTEAT" | "FOODORA" | "UBEREATS" | "GLOVO" | "DELIVEROO" | "SMILEIN" | null;
|
|
16053
16175
|
currency?: string | null | undefined;
|
|
16054
16176
|
country?: string | null | undefined;
|
|
16055
16177
|
loyalty?: number | null | undefined;
|
|
@@ -16078,7 +16200,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16078
16200
|
discounts: {
|
|
16079
16201
|
name?: string | null | undefined;
|
|
16080
16202
|
total: number;
|
|
16081
|
-
type: "
|
|
16203
|
+
type: "UNKNOWN" | "OFFERED" | "LOSS";
|
|
16082
16204
|
}[] | null;
|
|
16083
16205
|
product_id?: string | null | undefined;
|
|
16084
16206
|
accounting_category_id?: string | null | undefined;
|
|
@@ -16304,7 +16426,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16304
16426
|
discounts: {
|
|
16305
16427
|
name?: string | null | undefined;
|
|
16306
16428
|
total: number;
|
|
16307
|
-
type: "
|
|
16429
|
+
type: "UNKNOWN" | "OFFERED" | "LOSS";
|
|
16308
16430
|
}[] | null;
|
|
16309
16431
|
product_id?: string | null | undefined;
|
|
16310
16432
|
accounting_category_id?: string | null | undefined;
|
|
@@ -18241,6 +18363,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
18241
18363
|
account: string;
|
|
18242
18364
|
amount: number;
|
|
18243
18365
|
description?: string | null | undefined;
|
|
18366
|
+
tax_info?: {
|
|
18367
|
+
tax_code: string;
|
|
18368
|
+
tax_amount: number;
|
|
18369
|
+
vat_account?: string | null | undefined;
|
|
18370
|
+
reversed_vat_account?: string | null | undefined;
|
|
18371
|
+
description?: string | null | undefined;
|
|
18372
|
+
} | null | undefined;
|
|
18244
18373
|
automated_matching_number?: string | null | undefined;
|
|
18245
18374
|
}[];
|
|
18246
18375
|
pdf?: string | null | undefined;
|
|
@@ -18248,6 +18377,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
18248
18377
|
folder_id?: string | null | undefined;
|
|
18249
18378
|
financial_counterpart_account?: string | null | undefined;
|
|
18250
18379
|
force_currency_exchange?: boolean | null | undefined;
|
|
18380
|
+
ignore_accounting_id?: boolean | undefined;
|
|
18251
18381
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
18252
18382
|
date: string;
|
|
18253
18383
|
journal_id: string;
|
|
@@ -18261,6 +18391,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
18261
18391
|
account: string;
|
|
18262
18392
|
amount: number;
|
|
18263
18393
|
description?: string | null | undefined;
|
|
18394
|
+
tax_info?: {
|
|
18395
|
+
tax_code: string;
|
|
18396
|
+
tax_amount: number;
|
|
18397
|
+
vat_account?: string | null | undefined;
|
|
18398
|
+
reversed_vat_account?: string | null | undefined;
|
|
18399
|
+
description?: string | null | undefined;
|
|
18400
|
+
} | null | undefined;
|
|
18264
18401
|
automated_matching_number?: string | null | undefined;
|
|
18265
18402
|
counterpart_account: string;
|
|
18266
18403
|
}[];
|
|
@@ -18501,39 +18638,49 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
18501
18638
|
createBankTransactions(bankStatement: {
|
|
18502
18639
|
bank_statement_date: string;
|
|
18503
18640
|
bank_account_id: string;
|
|
18641
|
+
currency: string;
|
|
18504
18642
|
external_bank_statement_id: string;
|
|
18505
18643
|
opening_balance?: number | null | undefined;
|
|
18506
18644
|
pdf?: string | null | undefined;
|
|
18507
18645
|
items: {
|
|
18508
|
-
|
|
18509
|
-
account?: string | null | undefined;
|
|
18646
|
+
general_ledger_account?: string | null | undefined;
|
|
18510
18647
|
description?: string | null | undefined;
|
|
18511
18648
|
external_transaction_id?: string | null | undefined;
|
|
18512
|
-
date: string;
|
|
18513
18649
|
amount: number;
|
|
18514
18650
|
fee_amount: number | null;
|
|
18515
18651
|
tax_amount: number | null;
|
|
18516
|
-
currency: string;
|
|
18517
18652
|
currency_exchange_rate: number | null;
|
|
18653
|
+
counterpart?: {
|
|
18654
|
+
counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
|
|
18655
|
+
id?: string | null | undefined;
|
|
18656
|
+
name?: string | null | undefined;
|
|
18657
|
+
iban?: string | null | undefined;
|
|
18658
|
+
bank_account?: string | null | undefined;
|
|
18659
|
+
} | null | undefined;
|
|
18518
18660
|
}[];
|
|
18519
18661
|
}, params?: {
|
|
18520
18662
|
folder_id?: string | null | undefined;
|
|
18521
18663
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
18522
18664
|
bank_statement_date: string;
|
|
18523
18665
|
bank_account_id: string;
|
|
18666
|
+
currency: string;
|
|
18524
18667
|
id?: string | null | undefined;
|
|
18525
18668
|
external_bank_statement_id?: string | null | undefined;
|
|
18526
18669
|
items: {
|
|
18527
|
-
|
|
18528
|
-
account?: string | null | undefined;
|
|
18670
|
+
general_ledger_account?: string | null | undefined;
|
|
18529
18671
|
description?: string | null | undefined;
|
|
18530
18672
|
external_transaction_id?: string | null | undefined;
|
|
18531
|
-
date: string;
|
|
18532
18673
|
amount: number;
|
|
18533
18674
|
fee_amount: number | null;
|
|
18534
18675
|
tax_amount: number | null;
|
|
18535
|
-
currency: string;
|
|
18536
18676
|
currency_exchange_rate: number | null;
|
|
18677
|
+
counterpart?: {
|
|
18678
|
+
counterpart_type?: "supplier" | "customer" | "employee" | null | undefined;
|
|
18679
|
+
id?: string | null | undefined;
|
|
18680
|
+
name?: string | null | undefined;
|
|
18681
|
+
iban?: string | null | undefined;
|
|
18682
|
+
bank_account?: string | null | undefined;
|
|
18683
|
+
} | null | undefined;
|
|
18537
18684
|
id?: string | null | undefined;
|
|
18538
18685
|
}[];
|
|
18539
18686
|
}>;
|
|
@@ -19091,7 +19238,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
19091
19238
|
} | null | undefined;
|
|
19092
19239
|
}>;
|
|
19093
19240
|
getContacts(params?: {
|
|
19094
|
-
contact_type?: "supplier" | "all" | "
|
|
19241
|
+
contact_type?: "supplier" | "all" | "customer" | "prospect" | undefined;
|
|
19095
19242
|
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
19096
19243
|
id: string;
|
|
19097
19244
|
source_ref: {
|
|
@@ -20552,6 +20699,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
20552
20699
|
};
|
|
20553
20700
|
id: string;
|
|
20554
20701
|
created_on: string;
|
|
20702
|
+
modified_on: string;
|
|
20555
20703
|
}[]>;
|
|
20556
20704
|
addDataByDataStoreId: (dataStoreId: string, data: {
|
|
20557
20705
|
data: {
|
|
@@ -20563,6 +20711,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
20563
20711
|
};
|
|
20564
20712
|
id: string;
|
|
20565
20713
|
created_on: string;
|
|
20714
|
+
modified_on: string;
|
|
20566
20715
|
}[]>;
|
|
20567
20716
|
getSyncData: (syncId: string) => Promise<{
|
|
20568
20717
|
syncid: string;
|
|
@@ -20588,6 +20737,10 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
20588
20737
|
sub_mapping_name: string;
|
|
20589
20738
|
sub_mapping_description?: string | null | undefined;
|
|
20590
20739
|
}[] | null | undefined;
|
|
20740
|
+
skip_mappings?: {
|
|
20741
|
+
name: string;
|
|
20742
|
+
skip_reason: "presync" | "challenge";
|
|
20743
|
+
}[] | null | undefined;
|
|
20591
20744
|
link_metadata?: {
|
|
20592
20745
|
[key: string]: unknown;
|
|
20593
20746
|
} | null | undefined;
|
|
@@ -20640,6 +20793,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
20640
20793
|
};
|
|
20641
20794
|
id: string;
|
|
20642
20795
|
created_on: string;
|
|
20796
|
+
modified_on: string;
|
|
20643
20797
|
}[]>;
|
|
20644
20798
|
addDataByDataStoreName: (dataStoreName: string, data: {
|
|
20645
20799
|
data: {
|
|
@@ -20651,6 +20805,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
20651
20805
|
};
|
|
20652
20806
|
id: string;
|
|
20653
20807
|
created_on: string;
|
|
20808
|
+
modified_on: string;
|
|
20654
20809
|
}[] | undefined>;
|
|
20655
20810
|
updateDataStoreData: (dataStoreId: string, dataStoreDataId: string, data: {
|
|
20656
20811
|
data: {
|
|
@@ -20662,6 +20817,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
20662
20817
|
};
|
|
20663
20818
|
id: string;
|
|
20664
20819
|
created_on: string;
|
|
20820
|
+
modified_on: string;
|
|
20665
20821
|
}[]>;
|
|
20666
20822
|
deleteDataStoreData: (dataStoreId: string, dataStoreDataId: string) => Promise<import("../types/sync").SimpleResponseModel>;
|
|
20667
20823
|
logData: (logs: import("../types/consumers").ConsumerLog[]) => Promise<import("../types/sync").SimpleResponseModel>;
|