@chift/chift-nodejs 1.0.27 → 1.0.28
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/api.d.ts +105 -0
- package/dist/src/modules/consumer.d.ts +22 -1
- package/dist/src/modules/consumers.d.ts +105 -0
- package/dist/src/modules/ecommerce.d.ts +2 -2
- package/dist/src/modules/invoicing.d.ts +2 -2
- package/dist/src/modules/sync.d.ts +84 -0
- package/dist/src/types/public-api/schema.d.ts +697 -699
- package/package.json +2 -2
- package/src/types/public-api/schema.d.ts +697 -699
|
@@ -132,6 +132,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
132
132
|
total_refund: number | null;
|
|
133
133
|
total_tip: number | null;
|
|
134
134
|
delivery_fee: number | null;
|
|
135
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
135
136
|
currency?: string | null | undefined;
|
|
136
137
|
country?: string | null | undefined;
|
|
137
138
|
loyalty?: number | null | undefined;
|
|
@@ -210,6 +211,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
210
211
|
total_refund: number | null;
|
|
211
212
|
total_tip: number | null;
|
|
212
213
|
delivery_fee: number | null;
|
|
214
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
213
215
|
currency?: string | null | undefined;
|
|
214
216
|
country?: string | null | undefined;
|
|
215
217
|
loyalty?: number | null | undefined;
|
|
@@ -398,6 +400,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
398
400
|
total_refund: number | null;
|
|
399
401
|
total_tip: number | null;
|
|
400
402
|
delivery_fee: number | null;
|
|
403
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
401
404
|
currency?: string | null | undefined;
|
|
402
405
|
country?: string | null | undefined;
|
|
403
406
|
loyalty?: number | null | undefined;
|
|
@@ -502,6 +505,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
502
505
|
total_refund: number | null;
|
|
503
506
|
total_tip: number | null;
|
|
504
507
|
delivery_fee: number | null;
|
|
508
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
505
509
|
currency?: string | null | undefined;
|
|
506
510
|
country?: string | null | undefined;
|
|
507
511
|
loyalty?: number | null | undefined;
|
|
@@ -954,6 +958,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
954
958
|
postal_code?: string | null | undefined;
|
|
955
959
|
country?: string | null | undefined;
|
|
956
960
|
}[] | null;
|
|
961
|
+
third_party_account?: string | null | undefined;
|
|
957
962
|
}[]>;
|
|
958
963
|
createClient(client: {
|
|
959
964
|
external_reference?: string | null | undefined;
|
|
@@ -1027,6 +1032,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1027
1032
|
postal_code?: string | null | undefined;
|
|
1028
1033
|
country?: string | null | undefined;
|
|
1029
1034
|
}[] | null;
|
|
1035
|
+
third_party_account?: string | null | undefined;
|
|
1030
1036
|
}>;
|
|
1031
1037
|
getClient(clientId: string, params?: {
|
|
1032
1038
|
folder_id?: string | null | undefined;
|
|
@@ -1066,6 +1072,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1066
1072
|
postal_code?: string | null | undefined;
|
|
1067
1073
|
country?: string | null | undefined;
|
|
1068
1074
|
}[] | null;
|
|
1075
|
+
third_party_account?: string | null | undefined;
|
|
1069
1076
|
}>;
|
|
1070
1077
|
updateClient(clientId: string, client: {
|
|
1071
1078
|
external_reference?: string | null | undefined;
|
|
@@ -1137,6 +1144,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1137
1144
|
postal_code?: string | null | undefined;
|
|
1138
1145
|
country?: string | null | undefined;
|
|
1139
1146
|
}[] | null;
|
|
1147
|
+
third_party_account?: string | null | undefined;
|
|
1140
1148
|
}>;
|
|
1141
1149
|
getSuppliers(params?: {
|
|
1142
1150
|
search?: string | null | undefined;
|
|
@@ -1178,6 +1186,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1178
1186
|
postal_code?: string | null | undefined;
|
|
1179
1187
|
country?: string | null | undefined;
|
|
1180
1188
|
}[] | null;
|
|
1189
|
+
third_party_account?: string | null | undefined;
|
|
1181
1190
|
}[]>;
|
|
1182
1191
|
createSupplier(supplier: {
|
|
1183
1192
|
external_reference?: string | null | undefined;
|
|
@@ -1251,6 +1260,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1251
1260
|
postal_code?: string | null | undefined;
|
|
1252
1261
|
country?: string | null | undefined;
|
|
1253
1262
|
}[] | null;
|
|
1263
|
+
third_party_account?: string | null | undefined;
|
|
1254
1264
|
}>;
|
|
1255
1265
|
getSupplier(supplierId: string, params?: {
|
|
1256
1266
|
folder_id?: string | null | undefined;
|
|
@@ -1290,6 +1300,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1290
1300
|
postal_code?: string | null | undefined;
|
|
1291
1301
|
country?: string | null | undefined;
|
|
1292
1302
|
}[] | null;
|
|
1303
|
+
third_party_account?: string | null | undefined;
|
|
1293
1304
|
}>;
|
|
1294
1305
|
updateSupplier(supplierId: string, supplier: {
|
|
1295
1306
|
external_reference?: string | null | undefined;
|
|
@@ -1361,6 +1372,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1361
1372
|
postal_code?: string | null | undefined;
|
|
1362
1373
|
country?: string | null | undefined;
|
|
1363
1374
|
}[] | null;
|
|
1375
|
+
third_party_account?: string | null | undefined;
|
|
1364
1376
|
}>;
|
|
1365
1377
|
createInvoice(invoice: {
|
|
1366
1378
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -1428,6 +1440,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1428
1440
|
force_financial_period?: string | null | undefined;
|
|
1429
1441
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
1430
1442
|
ignore_accounting_id?: boolean | undefined;
|
|
1443
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
1431
1444
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
1432
1445
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
1433
1446
|
invoice_number?: string | null | undefined;
|
|
@@ -1501,6 +1514,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1501
1514
|
postal_code?: string | null | undefined;
|
|
1502
1515
|
country?: string | null | undefined;
|
|
1503
1516
|
}[] | null;
|
|
1517
|
+
third_party_account?: string | null | undefined;
|
|
1504
1518
|
} | null | undefined;
|
|
1505
1519
|
due_dates: {
|
|
1506
1520
|
due_date: string;
|
|
@@ -1608,6 +1622,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1608
1622
|
force_financial_period?: string | null | undefined;
|
|
1609
1623
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
1610
1624
|
ignore_accounting_id?: boolean | undefined;
|
|
1625
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
1611
1626
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
1612
1627
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
1613
1628
|
invoice_number?: string | null | undefined;
|
|
@@ -1681,6 +1696,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1681
1696
|
postal_code?: string | null | undefined;
|
|
1682
1697
|
country?: string | null | undefined;
|
|
1683
1698
|
}[] | null;
|
|
1699
|
+
third_party_account?: string | null | undefined;
|
|
1684
1700
|
} | null | undefined;
|
|
1685
1701
|
due_dates: {
|
|
1686
1702
|
due_date: string;
|
|
@@ -1805,6 +1821,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1805
1821
|
postal_code?: string | null | undefined;
|
|
1806
1822
|
country?: string | null | undefined;
|
|
1807
1823
|
}[] | null;
|
|
1824
|
+
third_party_account?: string | null | undefined;
|
|
1808
1825
|
} | null | undefined;
|
|
1809
1826
|
due_dates: {
|
|
1810
1827
|
due_date: string;
|
|
@@ -1918,6 +1935,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1918
1935
|
postal_code?: string | null | undefined;
|
|
1919
1936
|
country?: string | null | undefined;
|
|
1920
1937
|
}[] | null;
|
|
1938
|
+
third_party_account?: string | null | undefined;
|
|
1921
1939
|
} | null | undefined;
|
|
1922
1940
|
due_dates: {
|
|
1923
1941
|
due_date: string;
|
|
@@ -2031,6 +2049,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2031
2049
|
postal_code?: string | null | undefined;
|
|
2032
2050
|
country?: string | null | undefined;
|
|
2033
2051
|
}[] | null;
|
|
2052
|
+
third_party_account?: string | null | undefined;
|
|
2034
2053
|
} | null | undefined;
|
|
2035
2054
|
due_dates: {
|
|
2036
2055
|
due_date: string;
|
|
@@ -2155,6 +2174,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2155
2174
|
postal_code?: string | null | undefined;
|
|
2156
2175
|
country?: string | null | undefined;
|
|
2157
2176
|
}[] | null;
|
|
2177
|
+
third_party_account?: string | null | undefined;
|
|
2158
2178
|
} | null | undefined;
|
|
2159
2179
|
due_dates: {
|
|
2160
2180
|
due_date: string;
|
|
@@ -2683,6 +2703,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2683
2703
|
}, params?: {
|
|
2684
2704
|
folder_id?: string | null | undefined;
|
|
2685
2705
|
financial_counterpart_account?: string | null | undefined;
|
|
2706
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
2686
2707
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
2687
2708
|
date: string;
|
|
2688
2709
|
journal_id: string;
|
|
@@ -5291,6 +5312,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5291
5312
|
total_refund: number | null;
|
|
5292
5313
|
total_tip: number | null;
|
|
5293
5314
|
delivery_fee: number | null;
|
|
5315
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
5294
5316
|
currency?: string | null | undefined;
|
|
5295
5317
|
country?: string | null | undefined;
|
|
5296
5318
|
loyalty?: number | null | undefined;
|
|
@@ -5369,6 +5391,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5369
5391
|
total_refund: number | null;
|
|
5370
5392
|
total_tip: number | null;
|
|
5371
5393
|
delivery_fee: number | null;
|
|
5394
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
5372
5395
|
currency?: string | null | undefined;
|
|
5373
5396
|
country?: string | null | undefined;
|
|
5374
5397
|
loyalty?: number | null | undefined;
|
|
@@ -5557,6 +5580,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5557
5580
|
total_refund: number | null;
|
|
5558
5581
|
total_tip: number | null;
|
|
5559
5582
|
delivery_fee: number | null;
|
|
5583
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
5560
5584
|
currency?: string | null | undefined;
|
|
5561
5585
|
country?: string | null | undefined;
|
|
5562
5586
|
loyalty?: number | null | undefined;
|
|
@@ -5661,6 +5685,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5661
5685
|
total_refund: number | null;
|
|
5662
5686
|
total_tip: number | null;
|
|
5663
5687
|
delivery_fee: number | null;
|
|
5688
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
5664
5689
|
currency?: string | null | undefined;
|
|
5665
5690
|
country?: string | null | undefined;
|
|
5666
5691
|
loyalty?: number | null | undefined;
|
|
@@ -6113,6 +6138,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6113
6138
|
postal_code?: string | null | undefined;
|
|
6114
6139
|
country?: string | null | undefined;
|
|
6115
6140
|
}[] | null;
|
|
6141
|
+
third_party_account?: string | null | undefined;
|
|
6116
6142
|
}[]>;
|
|
6117
6143
|
createClient(client: {
|
|
6118
6144
|
external_reference?: string | null | undefined;
|
|
@@ -6186,6 +6212,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6186
6212
|
postal_code?: string | null | undefined;
|
|
6187
6213
|
country?: string | null | undefined;
|
|
6188
6214
|
}[] | null;
|
|
6215
|
+
third_party_account?: string | null | undefined;
|
|
6189
6216
|
}>;
|
|
6190
6217
|
getClient(clientId: string, params?: {
|
|
6191
6218
|
folder_id?: string | null | undefined;
|
|
@@ -6225,6 +6252,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6225
6252
|
postal_code?: string | null | undefined;
|
|
6226
6253
|
country?: string | null | undefined;
|
|
6227
6254
|
}[] | null;
|
|
6255
|
+
third_party_account?: string | null | undefined;
|
|
6228
6256
|
}>;
|
|
6229
6257
|
updateClient(clientId: string, client: {
|
|
6230
6258
|
external_reference?: string | null | undefined;
|
|
@@ -6296,6 +6324,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6296
6324
|
postal_code?: string | null | undefined;
|
|
6297
6325
|
country?: string | null | undefined;
|
|
6298
6326
|
}[] | null;
|
|
6327
|
+
third_party_account?: string | null | undefined;
|
|
6299
6328
|
}>;
|
|
6300
6329
|
getSuppliers(params?: {
|
|
6301
6330
|
search?: string | null | undefined;
|
|
@@ -6337,6 +6366,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6337
6366
|
postal_code?: string | null | undefined;
|
|
6338
6367
|
country?: string | null | undefined;
|
|
6339
6368
|
}[] | null;
|
|
6369
|
+
third_party_account?: string | null | undefined;
|
|
6340
6370
|
}[]>;
|
|
6341
6371
|
createSupplier(supplier: {
|
|
6342
6372
|
external_reference?: string | null | undefined;
|
|
@@ -6410,6 +6440,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6410
6440
|
postal_code?: string | null | undefined;
|
|
6411
6441
|
country?: string | null | undefined;
|
|
6412
6442
|
}[] | null;
|
|
6443
|
+
third_party_account?: string | null | undefined;
|
|
6413
6444
|
}>;
|
|
6414
6445
|
getSupplier(supplierId: string, params?: {
|
|
6415
6446
|
folder_id?: string | null | undefined;
|
|
@@ -6449,6 +6480,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6449
6480
|
postal_code?: string | null | undefined;
|
|
6450
6481
|
country?: string | null | undefined;
|
|
6451
6482
|
}[] | null;
|
|
6483
|
+
third_party_account?: string | null | undefined;
|
|
6452
6484
|
}>;
|
|
6453
6485
|
updateSupplier(supplierId: string, supplier: {
|
|
6454
6486
|
external_reference?: string | null | undefined;
|
|
@@ -6520,6 +6552,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6520
6552
|
postal_code?: string | null | undefined;
|
|
6521
6553
|
country?: string | null | undefined;
|
|
6522
6554
|
}[] | null;
|
|
6555
|
+
third_party_account?: string | null | undefined;
|
|
6523
6556
|
}>;
|
|
6524
6557
|
createInvoice(invoice: {
|
|
6525
6558
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -6587,6 +6620,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6587
6620
|
force_financial_period?: string | null | undefined;
|
|
6588
6621
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
6589
6622
|
ignore_accounting_id?: boolean | undefined;
|
|
6623
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
6590
6624
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
6591
6625
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
6592
6626
|
invoice_number?: string | null | undefined;
|
|
@@ -6660,6 +6694,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6660
6694
|
postal_code?: string | null | undefined;
|
|
6661
6695
|
country?: string | null | undefined;
|
|
6662
6696
|
}[] | null;
|
|
6697
|
+
third_party_account?: string | null | undefined;
|
|
6663
6698
|
} | null | undefined;
|
|
6664
6699
|
due_dates: {
|
|
6665
6700
|
due_date: string;
|
|
@@ -6767,6 +6802,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6767
6802
|
force_financial_period?: string | null | undefined;
|
|
6768
6803
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
6769
6804
|
ignore_accounting_id?: boolean | undefined;
|
|
6805
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
6770
6806
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
6771
6807
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
6772
6808
|
invoice_number?: string | null | undefined;
|
|
@@ -6840,6 +6876,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6840
6876
|
postal_code?: string | null | undefined;
|
|
6841
6877
|
country?: string | null | undefined;
|
|
6842
6878
|
}[] | null;
|
|
6879
|
+
third_party_account?: string | null | undefined;
|
|
6843
6880
|
} | null | undefined;
|
|
6844
6881
|
due_dates: {
|
|
6845
6882
|
due_date: string;
|
|
@@ -6964,6 +7001,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6964
7001
|
postal_code?: string | null | undefined;
|
|
6965
7002
|
country?: string | null | undefined;
|
|
6966
7003
|
}[] | null;
|
|
7004
|
+
third_party_account?: string | null | undefined;
|
|
6967
7005
|
} | null | undefined;
|
|
6968
7006
|
due_dates: {
|
|
6969
7007
|
due_date: string;
|
|
@@ -7077,6 +7115,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7077
7115
|
postal_code?: string | null | undefined;
|
|
7078
7116
|
country?: string | null | undefined;
|
|
7079
7117
|
}[] | null;
|
|
7118
|
+
third_party_account?: string | null | undefined;
|
|
7080
7119
|
} | null | undefined;
|
|
7081
7120
|
due_dates: {
|
|
7082
7121
|
due_date: string;
|
|
@@ -7190,6 +7229,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7190
7229
|
postal_code?: string | null | undefined;
|
|
7191
7230
|
country?: string | null | undefined;
|
|
7192
7231
|
}[] | null;
|
|
7232
|
+
third_party_account?: string | null | undefined;
|
|
7193
7233
|
} | null | undefined;
|
|
7194
7234
|
due_dates: {
|
|
7195
7235
|
due_date: string;
|
|
@@ -7314,6 +7354,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7314
7354
|
postal_code?: string | null | undefined;
|
|
7315
7355
|
country?: string | null | undefined;
|
|
7316
7356
|
}[] | null;
|
|
7357
|
+
third_party_account?: string | null | undefined;
|
|
7317
7358
|
} | null | undefined;
|
|
7318
7359
|
due_dates: {
|
|
7319
7360
|
due_date: string;
|
|
@@ -7842,6 +7883,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7842
7883
|
}, params?: {
|
|
7843
7884
|
folder_id?: string | null | undefined;
|
|
7844
7885
|
financial_counterpart_account?: string | null | undefined;
|
|
7886
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
7845
7887
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
7846
7888
|
date: string;
|
|
7847
7889
|
journal_id: string;
|
|
@@ -10450,6 +10492,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10450
10492
|
total_refund: number | null;
|
|
10451
10493
|
total_tip: number | null;
|
|
10452
10494
|
delivery_fee: number | null;
|
|
10495
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
10453
10496
|
currency?: string | null | undefined;
|
|
10454
10497
|
country?: string | null | undefined;
|
|
10455
10498
|
loyalty?: number | null | undefined;
|
|
@@ -10528,6 +10571,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10528
10571
|
total_refund: number | null;
|
|
10529
10572
|
total_tip: number | null;
|
|
10530
10573
|
delivery_fee: number | null;
|
|
10574
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
10531
10575
|
currency?: string | null | undefined;
|
|
10532
10576
|
country?: string | null | undefined;
|
|
10533
10577
|
loyalty?: number | null | undefined;
|
|
@@ -10716,6 +10760,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10716
10760
|
total_refund: number | null;
|
|
10717
10761
|
total_tip: number | null;
|
|
10718
10762
|
delivery_fee: number | null;
|
|
10763
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
10719
10764
|
currency?: string | null | undefined;
|
|
10720
10765
|
country?: string | null | undefined;
|
|
10721
10766
|
loyalty?: number | null | undefined;
|
|
@@ -10820,6 +10865,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10820
10865
|
total_refund: number | null;
|
|
10821
10866
|
total_tip: number | null;
|
|
10822
10867
|
delivery_fee: number | null;
|
|
10868
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
10823
10869
|
currency?: string | null | undefined;
|
|
10824
10870
|
country?: string | null | undefined;
|
|
10825
10871
|
loyalty?: number | null | undefined;
|
|
@@ -11272,6 +11318,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11272
11318
|
postal_code?: string | null | undefined;
|
|
11273
11319
|
country?: string | null | undefined;
|
|
11274
11320
|
}[] | null;
|
|
11321
|
+
third_party_account?: string | null | undefined;
|
|
11275
11322
|
}[]>;
|
|
11276
11323
|
createClient(client: {
|
|
11277
11324
|
external_reference?: string | null | undefined;
|
|
@@ -11345,6 +11392,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11345
11392
|
postal_code?: string | null | undefined;
|
|
11346
11393
|
country?: string | null | undefined;
|
|
11347
11394
|
}[] | null;
|
|
11395
|
+
third_party_account?: string | null | undefined;
|
|
11348
11396
|
}>;
|
|
11349
11397
|
getClient(clientId: string, params?: {
|
|
11350
11398
|
folder_id?: string | null | undefined;
|
|
@@ -11384,6 +11432,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11384
11432
|
postal_code?: string | null | undefined;
|
|
11385
11433
|
country?: string | null | undefined;
|
|
11386
11434
|
}[] | null;
|
|
11435
|
+
third_party_account?: string | null | undefined;
|
|
11387
11436
|
}>;
|
|
11388
11437
|
updateClient(clientId: string, client: {
|
|
11389
11438
|
external_reference?: string | null | undefined;
|
|
@@ -11455,6 +11504,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11455
11504
|
postal_code?: string | null | undefined;
|
|
11456
11505
|
country?: string | null | undefined;
|
|
11457
11506
|
}[] | null;
|
|
11507
|
+
third_party_account?: string | null | undefined;
|
|
11458
11508
|
}>;
|
|
11459
11509
|
getSuppliers(params?: {
|
|
11460
11510
|
search?: string | null | undefined;
|
|
@@ -11496,6 +11546,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11496
11546
|
postal_code?: string | null | undefined;
|
|
11497
11547
|
country?: string | null | undefined;
|
|
11498
11548
|
}[] | null;
|
|
11549
|
+
third_party_account?: string | null | undefined;
|
|
11499
11550
|
}[]>;
|
|
11500
11551
|
createSupplier(supplier: {
|
|
11501
11552
|
external_reference?: string | null | undefined;
|
|
@@ -11569,6 +11620,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11569
11620
|
postal_code?: string | null | undefined;
|
|
11570
11621
|
country?: string | null | undefined;
|
|
11571
11622
|
}[] | null;
|
|
11623
|
+
third_party_account?: string | null | undefined;
|
|
11572
11624
|
}>;
|
|
11573
11625
|
getSupplier(supplierId: string, params?: {
|
|
11574
11626
|
folder_id?: string | null | undefined;
|
|
@@ -11608,6 +11660,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11608
11660
|
postal_code?: string | null | undefined;
|
|
11609
11661
|
country?: string | null | undefined;
|
|
11610
11662
|
}[] | null;
|
|
11663
|
+
third_party_account?: string | null | undefined;
|
|
11611
11664
|
}>;
|
|
11612
11665
|
updateSupplier(supplierId: string, supplier: {
|
|
11613
11666
|
external_reference?: string | null | undefined;
|
|
@@ -11679,6 +11732,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11679
11732
|
postal_code?: string | null | undefined;
|
|
11680
11733
|
country?: string | null | undefined;
|
|
11681
11734
|
}[] | null;
|
|
11735
|
+
third_party_account?: string | null | undefined;
|
|
11682
11736
|
}>;
|
|
11683
11737
|
createInvoice(invoice: {
|
|
11684
11738
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -11746,6 +11800,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11746
11800
|
force_financial_period?: string | null | undefined;
|
|
11747
11801
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
11748
11802
|
ignore_accounting_id?: boolean | undefined;
|
|
11803
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
11749
11804
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
11750
11805
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
11751
11806
|
invoice_number?: string | null | undefined;
|
|
@@ -11819,6 +11874,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11819
11874
|
postal_code?: string | null | undefined;
|
|
11820
11875
|
country?: string | null | undefined;
|
|
11821
11876
|
}[] | null;
|
|
11877
|
+
third_party_account?: string | null | undefined;
|
|
11822
11878
|
} | null | undefined;
|
|
11823
11879
|
due_dates: {
|
|
11824
11880
|
due_date: string;
|
|
@@ -11926,6 +11982,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11926
11982
|
force_financial_period?: string | null | undefined;
|
|
11927
11983
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
11928
11984
|
ignore_accounting_id?: boolean | undefined;
|
|
11985
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
11929
11986
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
11930
11987
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
11931
11988
|
invoice_number?: string | null | undefined;
|
|
@@ -11999,6 +12056,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11999
12056
|
postal_code?: string | null | undefined;
|
|
12000
12057
|
country?: string | null | undefined;
|
|
12001
12058
|
}[] | null;
|
|
12059
|
+
third_party_account?: string | null | undefined;
|
|
12002
12060
|
} | null | undefined;
|
|
12003
12061
|
due_dates: {
|
|
12004
12062
|
due_date: string;
|
|
@@ -12123,6 +12181,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12123
12181
|
postal_code?: string | null | undefined;
|
|
12124
12182
|
country?: string | null | undefined;
|
|
12125
12183
|
}[] | null;
|
|
12184
|
+
third_party_account?: string | null | undefined;
|
|
12126
12185
|
} | null | undefined;
|
|
12127
12186
|
due_dates: {
|
|
12128
12187
|
due_date: string;
|
|
@@ -12236,6 +12295,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12236
12295
|
postal_code?: string | null | undefined;
|
|
12237
12296
|
country?: string | null | undefined;
|
|
12238
12297
|
}[] | null;
|
|
12298
|
+
third_party_account?: string | null | undefined;
|
|
12239
12299
|
} | null | undefined;
|
|
12240
12300
|
due_dates: {
|
|
12241
12301
|
due_date: string;
|
|
@@ -12349,6 +12409,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12349
12409
|
postal_code?: string | null | undefined;
|
|
12350
12410
|
country?: string | null | undefined;
|
|
12351
12411
|
}[] | null;
|
|
12412
|
+
third_party_account?: string | null | undefined;
|
|
12352
12413
|
} | null | undefined;
|
|
12353
12414
|
due_dates: {
|
|
12354
12415
|
due_date: string;
|
|
@@ -12473,6 +12534,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12473
12534
|
postal_code?: string | null | undefined;
|
|
12474
12535
|
country?: string | null | undefined;
|
|
12475
12536
|
}[] | null;
|
|
12537
|
+
third_party_account?: string | null | undefined;
|
|
12476
12538
|
} | null | undefined;
|
|
12477
12539
|
due_dates: {
|
|
12478
12540
|
due_date: string;
|
|
@@ -13001,6 +13063,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
13001
13063
|
}, params?: {
|
|
13002
13064
|
folder_id?: string | null | undefined;
|
|
13003
13065
|
financial_counterpart_account?: string | null | undefined;
|
|
13066
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
13004
13067
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
13005
13068
|
date: string;
|
|
13006
13069
|
journal_id: string;
|
|
@@ -15609,6 +15672,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15609
15672
|
total_refund: number | null;
|
|
15610
15673
|
total_tip: number | null;
|
|
15611
15674
|
delivery_fee: number | null;
|
|
15675
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
15612
15676
|
currency?: string | null | undefined;
|
|
15613
15677
|
country?: string | null | undefined;
|
|
15614
15678
|
loyalty?: number | null | undefined;
|
|
@@ -15687,6 +15751,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15687
15751
|
total_refund: number | null;
|
|
15688
15752
|
total_tip: number | null;
|
|
15689
15753
|
delivery_fee: number | null;
|
|
15754
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
15690
15755
|
currency?: string | null | undefined;
|
|
15691
15756
|
country?: string | null | undefined;
|
|
15692
15757
|
loyalty?: number | null | undefined;
|
|
@@ -15875,6 +15940,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15875
15940
|
total_refund: number | null;
|
|
15876
15941
|
total_tip: number | null;
|
|
15877
15942
|
delivery_fee: number | null;
|
|
15943
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
15878
15944
|
currency?: string | null | undefined;
|
|
15879
15945
|
country?: string | null | undefined;
|
|
15880
15946
|
loyalty?: number | null | undefined;
|
|
@@ -15979,6 +16045,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15979
16045
|
total_refund: number | null;
|
|
15980
16046
|
total_tip: number | null;
|
|
15981
16047
|
delivery_fee: number | null;
|
|
16048
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
15982
16049
|
currency?: string | null | undefined;
|
|
15983
16050
|
country?: string | null | undefined;
|
|
15984
16051
|
loyalty?: number | null | undefined;
|
|
@@ -16431,6 +16498,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16431
16498
|
postal_code?: string | null | undefined;
|
|
16432
16499
|
country?: string | null | undefined;
|
|
16433
16500
|
}[] | null;
|
|
16501
|
+
third_party_account?: string | null | undefined;
|
|
16434
16502
|
}[]>;
|
|
16435
16503
|
createClient(client: {
|
|
16436
16504
|
external_reference?: string | null | undefined;
|
|
@@ -16504,6 +16572,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16504
16572
|
postal_code?: string | null | undefined;
|
|
16505
16573
|
country?: string | null | undefined;
|
|
16506
16574
|
}[] | null;
|
|
16575
|
+
third_party_account?: string | null | undefined;
|
|
16507
16576
|
}>;
|
|
16508
16577
|
getClient(clientId: string, params?: {
|
|
16509
16578
|
folder_id?: string | null | undefined;
|
|
@@ -16543,6 +16612,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16543
16612
|
postal_code?: string | null | undefined;
|
|
16544
16613
|
country?: string | null | undefined;
|
|
16545
16614
|
}[] | null;
|
|
16615
|
+
third_party_account?: string | null | undefined;
|
|
16546
16616
|
}>;
|
|
16547
16617
|
updateClient(clientId: string, client: {
|
|
16548
16618
|
external_reference?: string | null | undefined;
|
|
@@ -16614,6 +16684,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16614
16684
|
postal_code?: string | null | undefined;
|
|
16615
16685
|
country?: string | null | undefined;
|
|
16616
16686
|
}[] | null;
|
|
16687
|
+
third_party_account?: string | null | undefined;
|
|
16617
16688
|
}>;
|
|
16618
16689
|
getSuppliers(params?: {
|
|
16619
16690
|
search?: string | null | undefined;
|
|
@@ -16655,6 +16726,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16655
16726
|
postal_code?: string | null | undefined;
|
|
16656
16727
|
country?: string | null | undefined;
|
|
16657
16728
|
}[] | null;
|
|
16729
|
+
third_party_account?: string | null | undefined;
|
|
16658
16730
|
}[]>;
|
|
16659
16731
|
createSupplier(supplier: {
|
|
16660
16732
|
external_reference?: string | null | undefined;
|
|
@@ -16728,6 +16800,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16728
16800
|
postal_code?: string | null | undefined;
|
|
16729
16801
|
country?: string | null | undefined;
|
|
16730
16802
|
}[] | null;
|
|
16803
|
+
third_party_account?: string | null | undefined;
|
|
16731
16804
|
}>;
|
|
16732
16805
|
getSupplier(supplierId: string, params?: {
|
|
16733
16806
|
folder_id?: string | null | undefined;
|
|
@@ -16767,6 +16840,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16767
16840
|
postal_code?: string | null | undefined;
|
|
16768
16841
|
country?: string | null | undefined;
|
|
16769
16842
|
}[] | null;
|
|
16843
|
+
third_party_account?: string | null | undefined;
|
|
16770
16844
|
}>;
|
|
16771
16845
|
updateSupplier(supplierId: string, supplier: {
|
|
16772
16846
|
external_reference?: string | null | undefined;
|
|
@@ -16838,6 +16912,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16838
16912
|
postal_code?: string | null | undefined;
|
|
16839
16913
|
country?: string | null | undefined;
|
|
16840
16914
|
}[] | null;
|
|
16915
|
+
third_party_account?: string | null | undefined;
|
|
16841
16916
|
}>;
|
|
16842
16917
|
createInvoice(invoice: {
|
|
16843
16918
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -16905,6 +16980,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16905
16980
|
force_financial_period?: string | null | undefined;
|
|
16906
16981
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
16907
16982
|
ignore_accounting_id?: boolean | undefined;
|
|
16983
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
16908
16984
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
16909
16985
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
16910
16986
|
invoice_number?: string | null | undefined;
|
|
@@ -16978,6 +17054,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16978
17054
|
postal_code?: string | null | undefined;
|
|
16979
17055
|
country?: string | null | undefined;
|
|
16980
17056
|
}[] | null;
|
|
17057
|
+
third_party_account?: string | null | undefined;
|
|
16981
17058
|
} | null | undefined;
|
|
16982
17059
|
due_dates: {
|
|
16983
17060
|
due_date: string;
|
|
@@ -17085,6 +17162,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
17085
17162
|
force_financial_period?: string | null | undefined;
|
|
17086
17163
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
17087
17164
|
ignore_accounting_id?: boolean | undefined;
|
|
17165
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
17088
17166
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
17089
17167
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
17090
17168
|
invoice_number?: string | null | undefined;
|
|
@@ -17158,6 +17236,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
17158
17236
|
postal_code?: string | null | undefined;
|
|
17159
17237
|
country?: string | null | undefined;
|
|
17160
17238
|
}[] | null;
|
|
17239
|
+
third_party_account?: string | null | undefined;
|
|
17161
17240
|
} | null | undefined;
|
|
17162
17241
|
due_dates: {
|
|
17163
17242
|
due_date: string;
|
|
@@ -17282,6 +17361,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
17282
17361
|
postal_code?: string | null | undefined;
|
|
17283
17362
|
country?: string | null | undefined;
|
|
17284
17363
|
}[] | null;
|
|
17364
|
+
third_party_account?: string | null | undefined;
|
|
17285
17365
|
} | null | undefined;
|
|
17286
17366
|
due_dates: {
|
|
17287
17367
|
due_date: string;
|
|
@@ -17395,6 +17475,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
17395
17475
|
postal_code?: string | null | undefined;
|
|
17396
17476
|
country?: string | null | undefined;
|
|
17397
17477
|
}[] | null;
|
|
17478
|
+
third_party_account?: string | null | undefined;
|
|
17398
17479
|
} | null | undefined;
|
|
17399
17480
|
due_dates: {
|
|
17400
17481
|
due_date: string;
|
|
@@ -17508,6 +17589,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
17508
17589
|
postal_code?: string | null | undefined;
|
|
17509
17590
|
country?: string | null | undefined;
|
|
17510
17591
|
}[] | null;
|
|
17592
|
+
third_party_account?: string | null | undefined;
|
|
17511
17593
|
} | null | undefined;
|
|
17512
17594
|
due_dates: {
|
|
17513
17595
|
due_date: string;
|
|
@@ -17632,6 +17714,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
17632
17714
|
postal_code?: string | null | undefined;
|
|
17633
17715
|
country?: string | null | undefined;
|
|
17634
17716
|
}[] | null;
|
|
17717
|
+
third_party_account?: string | null | undefined;
|
|
17635
17718
|
} | null | undefined;
|
|
17636
17719
|
due_dates: {
|
|
17637
17720
|
due_date: string;
|
|
@@ -18160,6 +18243,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
18160
18243
|
}, params?: {
|
|
18161
18244
|
folder_id?: string | null | undefined;
|
|
18162
18245
|
financial_counterpart_account?: string | null | undefined;
|
|
18246
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
18163
18247
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
18164
18248
|
date: string;
|
|
18165
18249
|
journal_id: string;
|