@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
|
@@ -114,6 +114,7 @@ export declare class API {
|
|
|
114
114
|
total_refund: number | null;
|
|
115
115
|
total_tip: number | null;
|
|
116
116
|
delivery_fee: number | null;
|
|
117
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
117
118
|
currency?: string | null | undefined;
|
|
118
119
|
country?: string | null | undefined;
|
|
119
120
|
loyalty?: number | null | undefined;
|
|
@@ -192,6 +193,7 @@ export declare class API {
|
|
|
192
193
|
total_refund: number | null;
|
|
193
194
|
total_tip: number | null;
|
|
194
195
|
delivery_fee: number | null;
|
|
196
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
195
197
|
currency?: string | null | undefined;
|
|
196
198
|
country?: string | null | undefined;
|
|
197
199
|
loyalty?: number | null | undefined;
|
|
@@ -380,6 +382,7 @@ export declare class API {
|
|
|
380
382
|
total_refund: number | null;
|
|
381
383
|
total_tip: number | null;
|
|
382
384
|
delivery_fee: number | null;
|
|
385
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
383
386
|
currency?: string | null | undefined;
|
|
384
387
|
country?: string | null | undefined;
|
|
385
388
|
loyalty?: number | null | undefined;
|
|
@@ -484,6 +487,7 @@ export declare class API {
|
|
|
484
487
|
total_refund: number | null;
|
|
485
488
|
total_tip: number | null;
|
|
486
489
|
delivery_fee: number | null;
|
|
490
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
487
491
|
currency?: string | null | undefined;
|
|
488
492
|
country?: string | null | undefined;
|
|
489
493
|
loyalty?: number | null | undefined;
|
|
@@ -936,6 +940,7 @@ export declare class API {
|
|
|
936
940
|
postal_code?: string | null | undefined;
|
|
937
941
|
country?: string | null | undefined;
|
|
938
942
|
}[] | null;
|
|
943
|
+
third_party_account?: string | null | undefined;
|
|
939
944
|
}[]>;
|
|
940
945
|
createClient(client: {
|
|
941
946
|
external_reference?: string | null | undefined;
|
|
@@ -1009,6 +1014,7 @@ export declare class API {
|
|
|
1009
1014
|
postal_code?: string | null | undefined;
|
|
1010
1015
|
country?: string | null | undefined;
|
|
1011
1016
|
}[] | null;
|
|
1017
|
+
third_party_account?: string | null | undefined;
|
|
1012
1018
|
}>;
|
|
1013
1019
|
getClient(clientId: string, params?: {
|
|
1014
1020
|
folder_id?: string | null | undefined;
|
|
@@ -1048,6 +1054,7 @@ export declare class API {
|
|
|
1048
1054
|
postal_code?: string | null | undefined;
|
|
1049
1055
|
country?: string | null | undefined;
|
|
1050
1056
|
}[] | null;
|
|
1057
|
+
third_party_account?: string | null | undefined;
|
|
1051
1058
|
}>;
|
|
1052
1059
|
updateClient(clientId: string, client: {
|
|
1053
1060
|
external_reference?: string | null | undefined;
|
|
@@ -1119,6 +1126,7 @@ export declare class API {
|
|
|
1119
1126
|
postal_code?: string | null | undefined;
|
|
1120
1127
|
country?: string | null | undefined;
|
|
1121
1128
|
}[] | null;
|
|
1129
|
+
third_party_account?: string | null | undefined;
|
|
1122
1130
|
}>;
|
|
1123
1131
|
getSuppliers(params?: {
|
|
1124
1132
|
search?: string | null | undefined;
|
|
@@ -1160,6 +1168,7 @@ export declare class API {
|
|
|
1160
1168
|
postal_code?: string | null | undefined;
|
|
1161
1169
|
country?: string | null | undefined;
|
|
1162
1170
|
}[] | null;
|
|
1171
|
+
third_party_account?: string | null | undefined;
|
|
1163
1172
|
}[]>;
|
|
1164
1173
|
createSupplier(supplier: {
|
|
1165
1174
|
external_reference?: string | null | undefined;
|
|
@@ -1233,6 +1242,7 @@ export declare class API {
|
|
|
1233
1242
|
postal_code?: string | null | undefined;
|
|
1234
1243
|
country?: string | null | undefined;
|
|
1235
1244
|
}[] | null;
|
|
1245
|
+
third_party_account?: string | null | undefined;
|
|
1236
1246
|
}>;
|
|
1237
1247
|
getSupplier(supplierId: string, params?: {
|
|
1238
1248
|
folder_id?: string | null | undefined;
|
|
@@ -1272,6 +1282,7 @@ export declare class API {
|
|
|
1272
1282
|
postal_code?: string | null | undefined;
|
|
1273
1283
|
country?: string | null | undefined;
|
|
1274
1284
|
}[] | null;
|
|
1285
|
+
third_party_account?: string | null | undefined;
|
|
1275
1286
|
}>;
|
|
1276
1287
|
updateSupplier(supplierId: string, supplier: {
|
|
1277
1288
|
external_reference?: string | null | undefined;
|
|
@@ -1343,6 +1354,7 @@ export declare class API {
|
|
|
1343
1354
|
postal_code?: string | null | undefined;
|
|
1344
1355
|
country?: string | null | undefined;
|
|
1345
1356
|
}[] | null;
|
|
1357
|
+
third_party_account?: string | null | undefined;
|
|
1346
1358
|
}>;
|
|
1347
1359
|
createInvoice(invoice: {
|
|
1348
1360
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -1410,6 +1422,7 @@ export declare class API {
|
|
|
1410
1422
|
force_financial_period?: string | null | undefined;
|
|
1411
1423
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
1412
1424
|
ignore_accounting_id?: boolean | undefined;
|
|
1425
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
1413
1426
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
1414
1427
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
1415
1428
|
invoice_number?: string | null | undefined;
|
|
@@ -1483,6 +1496,7 @@ export declare class API {
|
|
|
1483
1496
|
postal_code?: string | null | undefined;
|
|
1484
1497
|
country?: string | null | undefined;
|
|
1485
1498
|
}[] | null;
|
|
1499
|
+
third_party_account?: string | null | undefined;
|
|
1486
1500
|
} | null | undefined;
|
|
1487
1501
|
due_dates: {
|
|
1488
1502
|
due_date: string;
|
|
@@ -1590,6 +1604,7 @@ export declare class API {
|
|
|
1590
1604
|
force_financial_period?: string | null | undefined;
|
|
1591
1605
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
1592
1606
|
ignore_accounting_id?: boolean | undefined;
|
|
1607
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
1593
1608
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
1594
1609
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
1595
1610
|
invoice_number?: string | null | undefined;
|
|
@@ -1663,6 +1678,7 @@ export declare class API {
|
|
|
1663
1678
|
postal_code?: string | null | undefined;
|
|
1664
1679
|
country?: string | null | undefined;
|
|
1665
1680
|
}[] | null;
|
|
1681
|
+
third_party_account?: string | null | undefined;
|
|
1666
1682
|
} | null | undefined;
|
|
1667
1683
|
due_dates: {
|
|
1668
1684
|
due_date: string;
|
|
@@ -1787,6 +1803,7 @@ export declare class API {
|
|
|
1787
1803
|
postal_code?: string | null | undefined;
|
|
1788
1804
|
country?: string | null | undefined;
|
|
1789
1805
|
}[] | null;
|
|
1806
|
+
third_party_account?: string | null | undefined;
|
|
1790
1807
|
} | null | undefined;
|
|
1791
1808
|
due_dates: {
|
|
1792
1809
|
due_date: string;
|
|
@@ -1900,6 +1917,7 @@ export declare class API {
|
|
|
1900
1917
|
postal_code?: string | null | undefined;
|
|
1901
1918
|
country?: string | null | undefined;
|
|
1902
1919
|
}[] | null;
|
|
1920
|
+
third_party_account?: string | null | undefined;
|
|
1903
1921
|
} | null | undefined;
|
|
1904
1922
|
due_dates: {
|
|
1905
1923
|
due_date: string;
|
|
@@ -2013,6 +2031,7 @@ export declare class API {
|
|
|
2013
2031
|
postal_code?: string | null | undefined;
|
|
2014
2032
|
country?: string | null | undefined;
|
|
2015
2033
|
}[] | null;
|
|
2034
|
+
third_party_account?: string | null | undefined;
|
|
2016
2035
|
} | null | undefined;
|
|
2017
2036
|
due_dates: {
|
|
2018
2037
|
due_date: string;
|
|
@@ -2137,6 +2156,7 @@ export declare class API {
|
|
|
2137
2156
|
postal_code?: string | null | undefined;
|
|
2138
2157
|
country?: string | null | undefined;
|
|
2139
2158
|
}[] | null;
|
|
2159
|
+
third_party_account?: string | null | undefined;
|
|
2140
2160
|
} | null | undefined;
|
|
2141
2161
|
due_dates: {
|
|
2142
2162
|
due_date: string;
|
|
@@ -2665,6 +2685,7 @@ export declare class API {
|
|
|
2665
2685
|
}, params?: {
|
|
2666
2686
|
folder_id?: string | null | undefined;
|
|
2667
2687
|
financial_counterpart_account?: string | null | undefined;
|
|
2688
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
2668
2689
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
2669
2690
|
date: string;
|
|
2670
2691
|
journal_id: string;
|
|
@@ -5255,6 +5276,7 @@ export declare class API {
|
|
|
5255
5276
|
total_refund: number | null;
|
|
5256
5277
|
total_tip: number | null;
|
|
5257
5278
|
delivery_fee: number | null;
|
|
5279
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
5258
5280
|
currency?: string | null | undefined;
|
|
5259
5281
|
country?: string | null | undefined;
|
|
5260
5282
|
loyalty?: number | null | undefined;
|
|
@@ -5333,6 +5355,7 @@ export declare class API {
|
|
|
5333
5355
|
total_refund: number | null;
|
|
5334
5356
|
total_tip: number | null;
|
|
5335
5357
|
delivery_fee: number | null;
|
|
5358
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
5336
5359
|
currency?: string | null | undefined;
|
|
5337
5360
|
country?: string | null | undefined;
|
|
5338
5361
|
loyalty?: number | null | undefined;
|
|
@@ -5521,6 +5544,7 @@ export declare class API {
|
|
|
5521
5544
|
total_refund: number | null;
|
|
5522
5545
|
total_tip: number | null;
|
|
5523
5546
|
delivery_fee: number | null;
|
|
5547
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
5524
5548
|
currency?: string | null | undefined;
|
|
5525
5549
|
country?: string | null | undefined;
|
|
5526
5550
|
loyalty?: number | null | undefined;
|
|
@@ -5625,6 +5649,7 @@ export declare class API {
|
|
|
5625
5649
|
total_refund: number | null;
|
|
5626
5650
|
total_tip: number | null;
|
|
5627
5651
|
delivery_fee: number | null;
|
|
5652
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
5628
5653
|
currency?: string | null | undefined;
|
|
5629
5654
|
country?: string | null | undefined;
|
|
5630
5655
|
loyalty?: number | null | undefined;
|
|
@@ -6077,6 +6102,7 @@ export declare class API {
|
|
|
6077
6102
|
postal_code?: string | null | undefined;
|
|
6078
6103
|
country?: string | null | undefined;
|
|
6079
6104
|
}[] | null;
|
|
6105
|
+
third_party_account?: string | null | undefined;
|
|
6080
6106
|
}[]>;
|
|
6081
6107
|
createClient(client: {
|
|
6082
6108
|
external_reference?: string | null | undefined;
|
|
@@ -6150,6 +6176,7 @@ export declare class API {
|
|
|
6150
6176
|
postal_code?: string | null | undefined;
|
|
6151
6177
|
country?: string | null | undefined;
|
|
6152
6178
|
}[] | null;
|
|
6179
|
+
third_party_account?: string | null | undefined;
|
|
6153
6180
|
}>;
|
|
6154
6181
|
getClient(clientId: string, params?: {
|
|
6155
6182
|
folder_id?: string | null | undefined;
|
|
@@ -6189,6 +6216,7 @@ export declare class API {
|
|
|
6189
6216
|
postal_code?: string | null | undefined;
|
|
6190
6217
|
country?: string | null | undefined;
|
|
6191
6218
|
}[] | null;
|
|
6219
|
+
third_party_account?: string | null | undefined;
|
|
6192
6220
|
}>;
|
|
6193
6221
|
updateClient(clientId: string, client: {
|
|
6194
6222
|
external_reference?: string | null | undefined;
|
|
@@ -6260,6 +6288,7 @@ export declare class API {
|
|
|
6260
6288
|
postal_code?: string | null | undefined;
|
|
6261
6289
|
country?: string | null | undefined;
|
|
6262
6290
|
}[] | null;
|
|
6291
|
+
third_party_account?: string | null | undefined;
|
|
6263
6292
|
}>;
|
|
6264
6293
|
getSuppliers(params?: {
|
|
6265
6294
|
search?: string | null | undefined;
|
|
@@ -6301,6 +6330,7 @@ export declare class API {
|
|
|
6301
6330
|
postal_code?: string | null | undefined;
|
|
6302
6331
|
country?: string | null | undefined;
|
|
6303
6332
|
}[] | null;
|
|
6333
|
+
third_party_account?: string | null | undefined;
|
|
6304
6334
|
}[]>;
|
|
6305
6335
|
createSupplier(supplier: {
|
|
6306
6336
|
external_reference?: string | null | undefined;
|
|
@@ -6374,6 +6404,7 @@ export declare class API {
|
|
|
6374
6404
|
postal_code?: string | null | undefined;
|
|
6375
6405
|
country?: string | null | undefined;
|
|
6376
6406
|
}[] | null;
|
|
6407
|
+
third_party_account?: string | null | undefined;
|
|
6377
6408
|
}>;
|
|
6378
6409
|
getSupplier(supplierId: string, params?: {
|
|
6379
6410
|
folder_id?: string | null | undefined;
|
|
@@ -6413,6 +6444,7 @@ export declare class API {
|
|
|
6413
6444
|
postal_code?: string | null | undefined;
|
|
6414
6445
|
country?: string | null | undefined;
|
|
6415
6446
|
}[] | null;
|
|
6447
|
+
third_party_account?: string | null | undefined;
|
|
6416
6448
|
}>;
|
|
6417
6449
|
updateSupplier(supplierId: string, supplier: {
|
|
6418
6450
|
external_reference?: string | null | undefined;
|
|
@@ -6484,6 +6516,7 @@ export declare class API {
|
|
|
6484
6516
|
postal_code?: string | null | undefined;
|
|
6485
6517
|
country?: string | null | undefined;
|
|
6486
6518
|
}[] | null;
|
|
6519
|
+
third_party_account?: string | null | undefined;
|
|
6487
6520
|
}>;
|
|
6488
6521
|
createInvoice(invoice: {
|
|
6489
6522
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -6551,6 +6584,7 @@ export declare class API {
|
|
|
6551
6584
|
force_financial_period?: string | null | undefined;
|
|
6552
6585
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
6553
6586
|
ignore_accounting_id?: boolean | undefined;
|
|
6587
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
6554
6588
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
6555
6589
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
6556
6590
|
invoice_number?: string | null | undefined;
|
|
@@ -6624,6 +6658,7 @@ export declare class API {
|
|
|
6624
6658
|
postal_code?: string | null | undefined;
|
|
6625
6659
|
country?: string | null | undefined;
|
|
6626
6660
|
}[] | null;
|
|
6661
|
+
third_party_account?: string | null | undefined;
|
|
6627
6662
|
} | null | undefined;
|
|
6628
6663
|
due_dates: {
|
|
6629
6664
|
due_date: string;
|
|
@@ -6731,6 +6766,7 @@ export declare class API {
|
|
|
6731
6766
|
force_financial_period?: string | null | undefined;
|
|
6732
6767
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
6733
6768
|
ignore_accounting_id?: boolean | undefined;
|
|
6769
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
6734
6770
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
6735
6771
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
6736
6772
|
invoice_number?: string | null | undefined;
|
|
@@ -6804,6 +6840,7 @@ export declare class API {
|
|
|
6804
6840
|
postal_code?: string | null | undefined;
|
|
6805
6841
|
country?: string | null | undefined;
|
|
6806
6842
|
}[] | null;
|
|
6843
|
+
third_party_account?: string | null | undefined;
|
|
6807
6844
|
} | null | undefined;
|
|
6808
6845
|
due_dates: {
|
|
6809
6846
|
due_date: string;
|
|
@@ -6928,6 +6965,7 @@ export declare class API {
|
|
|
6928
6965
|
postal_code?: string | null | undefined;
|
|
6929
6966
|
country?: string | null | undefined;
|
|
6930
6967
|
}[] | null;
|
|
6968
|
+
third_party_account?: string | null | undefined;
|
|
6931
6969
|
} | null | undefined;
|
|
6932
6970
|
due_dates: {
|
|
6933
6971
|
due_date: string;
|
|
@@ -7041,6 +7079,7 @@ export declare class API {
|
|
|
7041
7079
|
postal_code?: string | null | undefined;
|
|
7042
7080
|
country?: string | null | undefined;
|
|
7043
7081
|
}[] | null;
|
|
7082
|
+
third_party_account?: string | null | undefined;
|
|
7044
7083
|
} | null | undefined;
|
|
7045
7084
|
due_dates: {
|
|
7046
7085
|
due_date: string;
|
|
@@ -7154,6 +7193,7 @@ export declare class API {
|
|
|
7154
7193
|
postal_code?: string | null | undefined;
|
|
7155
7194
|
country?: string | null | undefined;
|
|
7156
7195
|
}[] | null;
|
|
7196
|
+
third_party_account?: string | null | undefined;
|
|
7157
7197
|
} | null | undefined;
|
|
7158
7198
|
due_dates: {
|
|
7159
7199
|
due_date: string;
|
|
@@ -7278,6 +7318,7 @@ export declare class API {
|
|
|
7278
7318
|
postal_code?: string | null | undefined;
|
|
7279
7319
|
country?: string | null | undefined;
|
|
7280
7320
|
}[] | null;
|
|
7321
|
+
third_party_account?: string | null | undefined;
|
|
7281
7322
|
} | null | undefined;
|
|
7282
7323
|
due_dates: {
|
|
7283
7324
|
due_date: string;
|
|
@@ -7806,6 +7847,7 @@ export declare class API {
|
|
|
7806
7847
|
}, params?: {
|
|
7807
7848
|
folder_id?: string | null | undefined;
|
|
7808
7849
|
financial_counterpart_account?: string | null | undefined;
|
|
7850
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
7809
7851
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
7810
7852
|
date: string;
|
|
7811
7853
|
journal_id: string;
|
|
@@ -10391,6 +10433,7 @@ export declare class API {
|
|
|
10391
10433
|
total_refund: number | null;
|
|
10392
10434
|
total_tip: number | null;
|
|
10393
10435
|
delivery_fee: number | null;
|
|
10436
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
10394
10437
|
currency?: string | null | undefined;
|
|
10395
10438
|
country?: string | null | undefined;
|
|
10396
10439
|
loyalty?: number | null | undefined;
|
|
@@ -10469,6 +10512,7 @@ export declare class API {
|
|
|
10469
10512
|
total_refund: number | null;
|
|
10470
10513
|
total_tip: number | null;
|
|
10471
10514
|
delivery_fee: number | null;
|
|
10515
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
10472
10516
|
currency?: string | null | undefined;
|
|
10473
10517
|
country?: string | null | undefined;
|
|
10474
10518
|
loyalty?: number | null | undefined;
|
|
@@ -10657,6 +10701,7 @@ export declare class API {
|
|
|
10657
10701
|
total_refund: number | null;
|
|
10658
10702
|
total_tip: number | null;
|
|
10659
10703
|
delivery_fee: number | null;
|
|
10704
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
10660
10705
|
currency?: string | null | undefined;
|
|
10661
10706
|
country?: string | null | undefined;
|
|
10662
10707
|
loyalty?: number | null | undefined;
|
|
@@ -10761,6 +10806,7 @@ export declare class API {
|
|
|
10761
10806
|
total_refund: number | null;
|
|
10762
10807
|
total_tip: number | null;
|
|
10763
10808
|
delivery_fee: number | null;
|
|
10809
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
10764
10810
|
currency?: string | null | undefined;
|
|
10765
10811
|
country?: string | null | undefined;
|
|
10766
10812
|
loyalty?: number | null | undefined;
|
|
@@ -11213,6 +11259,7 @@ export declare class API {
|
|
|
11213
11259
|
postal_code?: string | null | undefined;
|
|
11214
11260
|
country?: string | null | undefined;
|
|
11215
11261
|
}[] | null;
|
|
11262
|
+
third_party_account?: string | null | undefined;
|
|
11216
11263
|
}[]>;
|
|
11217
11264
|
createClient(client: {
|
|
11218
11265
|
external_reference?: string | null | undefined;
|
|
@@ -11286,6 +11333,7 @@ export declare class API {
|
|
|
11286
11333
|
postal_code?: string | null | undefined;
|
|
11287
11334
|
country?: string | null | undefined;
|
|
11288
11335
|
}[] | null;
|
|
11336
|
+
third_party_account?: string | null | undefined;
|
|
11289
11337
|
}>;
|
|
11290
11338
|
getClient(clientId: string, params?: {
|
|
11291
11339
|
folder_id?: string | null | undefined;
|
|
@@ -11325,6 +11373,7 @@ export declare class API {
|
|
|
11325
11373
|
postal_code?: string | null | undefined;
|
|
11326
11374
|
country?: string | null | undefined;
|
|
11327
11375
|
}[] | null;
|
|
11376
|
+
third_party_account?: string | null | undefined;
|
|
11328
11377
|
}>;
|
|
11329
11378
|
updateClient(clientId: string, client: {
|
|
11330
11379
|
external_reference?: string | null | undefined;
|
|
@@ -11396,6 +11445,7 @@ export declare class API {
|
|
|
11396
11445
|
postal_code?: string | null | undefined;
|
|
11397
11446
|
country?: string | null | undefined;
|
|
11398
11447
|
}[] | null;
|
|
11448
|
+
third_party_account?: string | null | undefined;
|
|
11399
11449
|
}>;
|
|
11400
11450
|
getSuppliers(params?: {
|
|
11401
11451
|
search?: string | null | undefined;
|
|
@@ -11437,6 +11487,7 @@ export declare class API {
|
|
|
11437
11487
|
postal_code?: string | null | undefined;
|
|
11438
11488
|
country?: string | null | undefined;
|
|
11439
11489
|
}[] | null;
|
|
11490
|
+
third_party_account?: string | null | undefined;
|
|
11440
11491
|
}[]>;
|
|
11441
11492
|
createSupplier(supplier: {
|
|
11442
11493
|
external_reference?: string | null | undefined;
|
|
@@ -11510,6 +11561,7 @@ export declare class API {
|
|
|
11510
11561
|
postal_code?: string | null | undefined;
|
|
11511
11562
|
country?: string | null | undefined;
|
|
11512
11563
|
}[] | null;
|
|
11564
|
+
third_party_account?: string | null | undefined;
|
|
11513
11565
|
}>;
|
|
11514
11566
|
getSupplier(supplierId: string, params?: {
|
|
11515
11567
|
folder_id?: string | null | undefined;
|
|
@@ -11549,6 +11601,7 @@ export declare class API {
|
|
|
11549
11601
|
postal_code?: string | null | undefined;
|
|
11550
11602
|
country?: string | null | undefined;
|
|
11551
11603
|
}[] | null;
|
|
11604
|
+
third_party_account?: string | null | undefined;
|
|
11552
11605
|
}>;
|
|
11553
11606
|
updateSupplier(supplierId: string, supplier: {
|
|
11554
11607
|
external_reference?: string | null | undefined;
|
|
@@ -11620,6 +11673,7 @@ export declare class API {
|
|
|
11620
11673
|
postal_code?: string | null | undefined;
|
|
11621
11674
|
country?: string | null | undefined;
|
|
11622
11675
|
}[] | null;
|
|
11676
|
+
third_party_account?: string | null | undefined;
|
|
11623
11677
|
}>;
|
|
11624
11678
|
createInvoice(invoice: {
|
|
11625
11679
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -11687,6 +11741,7 @@ export declare class API {
|
|
|
11687
11741
|
force_financial_period?: string | null | undefined;
|
|
11688
11742
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
11689
11743
|
ignore_accounting_id?: boolean | undefined;
|
|
11744
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
11690
11745
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
11691
11746
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
11692
11747
|
invoice_number?: string | null | undefined;
|
|
@@ -11760,6 +11815,7 @@ export declare class API {
|
|
|
11760
11815
|
postal_code?: string | null | undefined;
|
|
11761
11816
|
country?: string | null | undefined;
|
|
11762
11817
|
}[] | null;
|
|
11818
|
+
third_party_account?: string | null | undefined;
|
|
11763
11819
|
} | null | undefined;
|
|
11764
11820
|
due_dates: {
|
|
11765
11821
|
due_date: string;
|
|
@@ -11867,6 +11923,7 @@ export declare class API {
|
|
|
11867
11923
|
force_financial_period?: string | null | undefined;
|
|
11868
11924
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
11869
11925
|
ignore_accounting_id?: boolean | undefined;
|
|
11926
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
11870
11927
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
11871
11928
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
11872
11929
|
invoice_number?: string | null | undefined;
|
|
@@ -11940,6 +11997,7 @@ export declare class API {
|
|
|
11940
11997
|
postal_code?: string | null | undefined;
|
|
11941
11998
|
country?: string | null | undefined;
|
|
11942
11999
|
}[] | null;
|
|
12000
|
+
third_party_account?: string | null | undefined;
|
|
11943
12001
|
} | null | undefined;
|
|
11944
12002
|
due_dates: {
|
|
11945
12003
|
due_date: string;
|
|
@@ -12064,6 +12122,7 @@ export declare class API {
|
|
|
12064
12122
|
postal_code?: string | null | undefined;
|
|
12065
12123
|
country?: string | null | undefined;
|
|
12066
12124
|
}[] | null;
|
|
12125
|
+
third_party_account?: string | null | undefined;
|
|
12067
12126
|
} | null | undefined;
|
|
12068
12127
|
due_dates: {
|
|
12069
12128
|
due_date: string;
|
|
@@ -12177,6 +12236,7 @@ export declare class API {
|
|
|
12177
12236
|
postal_code?: string | null | undefined;
|
|
12178
12237
|
country?: string | null | undefined;
|
|
12179
12238
|
}[] | null;
|
|
12239
|
+
third_party_account?: string | null | undefined;
|
|
12180
12240
|
} | null | undefined;
|
|
12181
12241
|
due_dates: {
|
|
12182
12242
|
due_date: string;
|
|
@@ -12290,6 +12350,7 @@ export declare class API {
|
|
|
12290
12350
|
postal_code?: string | null | undefined;
|
|
12291
12351
|
country?: string | null | undefined;
|
|
12292
12352
|
}[] | null;
|
|
12353
|
+
third_party_account?: string | null | undefined;
|
|
12293
12354
|
} | null | undefined;
|
|
12294
12355
|
due_dates: {
|
|
12295
12356
|
due_date: string;
|
|
@@ -12414,6 +12475,7 @@ export declare class API {
|
|
|
12414
12475
|
postal_code?: string | null | undefined;
|
|
12415
12476
|
country?: string | null | undefined;
|
|
12416
12477
|
}[] | null;
|
|
12478
|
+
third_party_account?: string | null | undefined;
|
|
12417
12479
|
} | null | undefined;
|
|
12418
12480
|
due_dates: {
|
|
12419
12481
|
due_date: string;
|
|
@@ -12942,6 +13004,7 @@ export declare class API {
|
|
|
12942
13004
|
}, params?: {
|
|
12943
13005
|
folder_id?: string | null | undefined;
|
|
12944
13006
|
financial_counterpart_account?: string | null | undefined;
|
|
13007
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
12945
13008
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
12946
13009
|
date: string;
|
|
12947
13010
|
journal_id: string;
|
|
@@ -15527,6 +15590,7 @@ export declare class API {
|
|
|
15527
15590
|
total_refund: number | null;
|
|
15528
15591
|
total_tip: number | null;
|
|
15529
15592
|
delivery_fee: number | null;
|
|
15593
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
15530
15594
|
currency?: string | null | undefined;
|
|
15531
15595
|
country?: string | null | undefined;
|
|
15532
15596
|
loyalty?: number | null | undefined;
|
|
@@ -15605,6 +15669,7 @@ export declare class API {
|
|
|
15605
15669
|
total_refund: number | null;
|
|
15606
15670
|
total_tip: number | null;
|
|
15607
15671
|
delivery_fee: number | null;
|
|
15672
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
15608
15673
|
currency?: string | null | undefined;
|
|
15609
15674
|
country?: string | null | undefined;
|
|
15610
15675
|
loyalty?: number | null | undefined;
|
|
@@ -15793,6 +15858,7 @@ export declare class API {
|
|
|
15793
15858
|
total_refund: number | null;
|
|
15794
15859
|
total_tip: number | null;
|
|
15795
15860
|
delivery_fee: number | null;
|
|
15861
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
15796
15862
|
currency?: string | null | undefined;
|
|
15797
15863
|
country?: string | null | undefined;
|
|
15798
15864
|
loyalty?: number | null | undefined;
|
|
@@ -15897,6 +15963,7 @@ export declare class API {
|
|
|
15897
15963
|
total_refund: number | null;
|
|
15898
15964
|
total_tip: number | null;
|
|
15899
15965
|
delivery_fee: number | null;
|
|
15966
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
15900
15967
|
currency?: string | null | undefined;
|
|
15901
15968
|
country?: string | null | undefined;
|
|
15902
15969
|
loyalty?: number | null | undefined;
|
|
@@ -16349,6 +16416,7 @@ export declare class API {
|
|
|
16349
16416
|
postal_code?: string | null | undefined;
|
|
16350
16417
|
country?: string | null | undefined;
|
|
16351
16418
|
}[] | null;
|
|
16419
|
+
third_party_account?: string | null | undefined;
|
|
16352
16420
|
}[]>;
|
|
16353
16421
|
createClient(client: {
|
|
16354
16422
|
external_reference?: string | null | undefined;
|
|
@@ -16422,6 +16490,7 @@ export declare class API {
|
|
|
16422
16490
|
postal_code?: string | null | undefined;
|
|
16423
16491
|
country?: string | null | undefined;
|
|
16424
16492
|
}[] | null;
|
|
16493
|
+
third_party_account?: string | null | undefined;
|
|
16425
16494
|
}>;
|
|
16426
16495
|
getClient(clientId: string, params?: {
|
|
16427
16496
|
folder_id?: string | null | undefined;
|
|
@@ -16461,6 +16530,7 @@ export declare class API {
|
|
|
16461
16530
|
postal_code?: string | null | undefined;
|
|
16462
16531
|
country?: string | null | undefined;
|
|
16463
16532
|
}[] | null;
|
|
16533
|
+
third_party_account?: string | null | undefined;
|
|
16464
16534
|
}>;
|
|
16465
16535
|
updateClient(clientId: string, client: {
|
|
16466
16536
|
external_reference?: string | null | undefined;
|
|
@@ -16532,6 +16602,7 @@ export declare class API {
|
|
|
16532
16602
|
postal_code?: string | null | undefined;
|
|
16533
16603
|
country?: string | null | undefined;
|
|
16534
16604
|
}[] | null;
|
|
16605
|
+
third_party_account?: string | null | undefined;
|
|
16535
16606
|
}>;
|
|
16536
16607
|
getSuppliers(params?: {
|
|
16537
16608
|
search?: string | null | undefined;
|
|
@@ -16573,6 +16644,7 @@ export declare class API {
|
|
|
16573
16644
|
postal_code?: string | null | undefined;
|
|
16574
16645
|
country?: string | null | undefined;
|
|
16575
16646
|
}[] | null;
|
|
16647
|
+
third_party_account?: string | null | undefined;
|
|
16576
16648
|
}[]>;
|
|
16577
16649
|
createSupplier(supplier: {
|
|
16578
16650
|
external_reference?: string | null | undefined;
|
|
@@ -16646,6 +16718,7 @@ export declare class API {
|
|
|
16646
16718
|
postal_code?: string | null | undefined;
|
|
16647
16719
|
country?: string | null | undefined;
|
|
16648
16720
|
}[] | null;
|
|
16721
|
+
third_party_account?: string | null | undefined;
|
|
16649
16722
|
}>;
|
|
16650
16723
|
getSupplier(supplierId: string, params?: {
|
|
16651
16724
|
folder_id?: string | null | undefined;
|
|
@@ -16685,6 +16758,7 @@ export declare class API {
|
|
|
16685
16758
|
postal_code?: string | null | undefined;
|
|
16686
16759
|
country?: string | null | undefined;
|
|
16687
16760
|
}[] | null;
|
|
16761
|
+
third_party_account?: string | null | undefined;
|
|
16688
16762
|
}>;
|
|
16689
16763
|
updateSupplier(supplierId: string, supplier: {
|
|
16690
16764
|
external_reference?: string | null | undefined;
|
|
@@ -16756,6 +16830,7 @@ export declare class API {
|
|
|
16756
16830
|
postal_code?: string | null | undefined;
|
|
16757
16831
|
country?: string | null | undefined;
|
|
16758
16832
|
}[] | null;
|
|
16833
|
+
third_party_account?: string | null | undefined;
|
|
16759
16834
|
}>;
|
|
16760
16835
|
createInvoice(invoice: {
|
|
16761
16836
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -16823,6 +16898,7 @@ export declare class API {
|
|
|
16823
16898
|
force_financial_period?: string | null | undefined;
|
|
16824
16899
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
16825
16900
|
ignore_accounting_id?: boolean | undefined;
|
|
16901
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
16826
16902
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
16827
16903
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
16828
16904
|
invoice_number?: string | null | undefined;
|
|
@@ -16896,6 +16972,7 @@ export declare class API {
|
|
|
16896
16972
|
postal_code?: string | null | undefined;
|
|
16897
16973
|
country?: string | null | undefined;
|
|
16898
16974
|
}[] | null;
|
|
16975
|
+
third_party_account?: string | null | undefined;
|
|
16899
16976
|
} | null | undefined;
|
|
16900
16977
|
due_dates: {
|
|
16901
16978
|
due_date: string;
|
|
@@ -17003,6 +17080,7 @@ export declare class API {
|
|
|
17003
17080
|
force_financial_period?: string | null | undefined;
|
|
17004
17081
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
17005
17082
|
ignore_accounting_id?: boolean | undefined;
|
|
17083
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
17006
17084
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
17007
17085
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
17008
17086
|
invoice_number?: string | null | undefined;
|
|
@@ -17076,6 +17154,7 @@ export declare class API {
|
|
|
17076
17154
|
postal_code?: string | null | undefined;
|
|
17077
17155
|
country?: string | null | undefined;
|
|
17078
17156
|
}[] | null;
|
|
17157
|
+
third_party_account?: string | null | undefined;
|
|
17079
17158
|
} | null | undefined;
|
|
17080
17159
|
due_dates: {
|
|
17081
17160
|
due_date: string;
|
|
@@ -17200,6 +17279,7 @@ export declare class API {
|
|
|
17200
17279
|
postal_code?: string | null | undefined;
|
|
17201
17280
|
country?: string | null | undefined;
|
|
17202
17281
|
}[] | null;
|
|
17282
|
+
third_party_account?: string | null | undefined;
|
|
17203
17283
|
} | null | undefined;
|
|
17204
17284
|
due_dates: {
|
|
17205
17285
|
due_date: string;
|
|
@@ -17313,6 +17393,7 @@ export declare class API {
|
|
|
17313
17393
|
postal_code?: string | null | undefined;
|
|
17314
17394
|
country?: string | null | undefined;
|
|
17315
17395
|
}[] | null;
|
|
17396
|
+
third_party_account?: string | null | undefined;
|
|
17316
17397
|
} | null | undefined;
|
|
17317
17398
|
due_dates: {
|
|
17318
17399
|
due_date: string;
|
|
@@ -17426,6 +17507,7 @@ export declare class API {
|
|
|
17426
17507
|
postal_code?: string | null | undefined;
|
|
17427
17508
|
country?: string | null | undefined;
|
|
17428
17509
|
}[] | null;
|
|
17510
|
+
third_party_account?: string | null | undefined;
|
|
17429
17511
|
} | null | undefined;
|
|
17430
17512
|
due_dates: {
|
|
17431
17513
|
due_date: string;
|
|
@@ -17550,6 +17632,7 @@ export declare class API {
|
|
|
17550
17632
|
postal_code?: string | null | undefined;
|
|
17551
17633
|
country?: string | null | undefined;
|
|
17552
17634
|
}[] | null;
|
|
17635
|
+
third_party_account?: string | null | undefined;
|
|
17553
17636
|
} | null | undefined;
|
|
17554
17637
|
due_dates: {
|
|
17555
17638
|
due_date: string;
|
|
@@ -18078,6 +18161,7 @@ export declare class API {
|
|
|
18078
18161
|
}, params?: {
|
|
18079
18162
|
folder_id?: string | null | undefined;
|
|
18080
18163
|
financial_counterpart_account?: string | null | undefined;
|
|
18164
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
18081
18165
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
18082
18166
|
date: string;
|
|
18083
18167
|
journal_id: string;
|
|
@@ -20668,6 +20752,7 @@ export declare class API {
|
|
|
20668
20752
|
total_refund: number | null;
|
|
20669
20753
|
total_tip: number | null;
|
|
20670
20754
|
delivery_fee: number | null;
|
|
20755
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
20671
20756
|
currency?: string | null | undefined;
|
|
20672
20757
|
country?: string | null | undefined;
|
|
20673
20758
|
loyalty?: number | null | undefined;
|
|
@@ -20746,6 +20831,7 @@ export declare class API {
|
|
|
20746
20831
|
total_refund: number | null;
|
|
20747
20832
|
total_tip: number | null;
|
|
20748
20833
|
delivery_fee: number | null;
|
|
20834
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
20749
20835
|
currency?: string | null | undefined;
|
|
20750
20836
|
country?: string | null | undefined;
|
|
20751
20837
|
loyalty?: number | null | undefined;
|
|
@@ -20934,6 +21020,7 @@ export declare class API {
|
|
|
20934
21020
|
total_refund: number | null;
|
|
20935
21021
|
total_tip: number | null;
|
|
20936
21022
|
delivery_fee: number | null;
|
|
21023
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
20937
21024
|
currency?: string | null | undefined;
|
|
20938
21025
|
country?: string | null | undefined;
|
|
20939
21026
|
loyalty?: number | null | undefined;
|
|
@@ -21038,6 +21125,7 @@ export declare class API {
|
|
|
21038
21125
|
total_refund: number | null;
|
|
21039
21126
|
total_tip: number | null;
|
|
21040
21127
|
delivery_fee: number | null;
|
|
21128
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
21041
21129
|
currency?: string | null | undefined;
|
|
21042
21130
|
country?: string | null | undefined;
|
|
21043
21131
|
loyalty?: number | null | undefined;
|
|
@@ -21490,6 +21578,7 @@ export declare class API {
|
|
|
21490
21578
|
postal_code?: string | null | undefined;
|
|
21491
21579
|
country?: string | null | undefined;
|
|
21492
21580
|
}[] | null;
|
|
21581
|
+
third_party_account?: string | null | undefined;
|
|
21493
21582
|
}[]>;
|
|
21494
21583
|
createClient(client: {
|
|
21495
21584
|
external_reference?: string | null | undefined;
|
|
@@ -21563,6 +21652,7 @@ export declare class API {
|
|
|
21563
21652
|
postal_code?: string | null | undefined;
|
|
21564
21653
|
country?: string | null | undefined;
|
|
21565
21654
|
}[] | null;
|
|
21655
|
+
third_party_account?: string | null | undefined;
|
|
21566
21656
|
}>;
|
|
21567
21657
|
getClient(clientId: string, params?: {
|
|
21568
21658
|
folder_id?: string | null | undefined;
|
|
@@ -21602,6 +21692,7 @@ export declare class API {
|
|
|
21602
21692
|
postal_code?: string | null | undefined;
|
|
21603
21693
|
country?: string | null | undefined;
|
|
21604
21694
|
}[] | null;
|
|
21695
|
+
third_party_account?: string | null | undefined;
|
|
21605
21696
|
}>;
|
|
21606
21697
|
updateClient(clientId: string, client: {
|
|
21607
21698
|
external_reference?: string | null | undefined;
|
|
@@ -21673,6 +21764,7 @@ export declare class API {
|
|
|
21673
21764
|
postal_code?: string | null | undefined;
|
|
21674
21765
|
country?: string | null | undefined;
|
|
21675
21766
|
}[] | null;
|
|
21767
|
+
third_party_account?: string | null | undefined;
|
|
21676
21768
|
}>;
|
|
21677
21769
|
getSuppliers(params?: {
|
|
21678
21770
|
search?: string | null | undefined;
|
|
@@ -21714,6 +21806,7 @@ export declare class API {
|
|
|
21714
21806
|
postal_code?: string | null | undefined;
|
|
21715
21807
|
country?: string | null | undefined;
|
|
21716
21808
|
}[] | null;
|
|
21809
|
+
third_party_account?: string | null | undefined;
|
|
21717
21810
|
}[]>;
|
|
21718
21811
|
createSupplier(supplier: {
|
|
21719
21812
|
external_reference?: string | null | undefined;
|
|
@@ -21787,6 +21880,7 @@ export declare class API {
|
|
|
21787
21880
|
postal_code?: string | null | undefined;
|
|
21788
21881
|
country?: string | null | undefined;
|
|
21789
21882
|
}[] | null;
|
|
21883
|
+
third_party_account?: string | null | undefined;
|
|
21790
21884
|
}>;
|
|
21791
21885
|
getSupplier(supplierId: string, params?: {
|
|
21792
21886
|
folder_id?: string | null | undefined;
|
|
@@ -21826,6 +21920,7 @@ export declare class API {
|
|
|
21826
21920
|
postal_code?: string | null | undefined;
|
|
21827
21921
|
country?: string | null | undefined;
|
|
21828
21922
|
}[] | null;
|
|
21923
|
+
third_party_account?: string | null | undefined;
|
|
21829
21924
|
}>;
|
|
21830
21925
|
updateSupplier(supplierId: string, supplier: {
|
|
21831
21926
|
external_reference?: string | null | undefined;
|
|
@@ -21897,6 +21992,7 @@ export declare class API {
|
|
|
21897
21992
|
postal_code?: string | null | undefined;
|
|
21898
21993
|
country?: string | null | undefined;
|
|
21899
21994
|
}[] | null;
|
|
21995
|
+
third_party_account?: string | null | undefined;
|
|
21900
21996
|
}>;
|
|
21901
21997
|
createInvoice(invoice: {
|
|
21902
21998
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -21964,6 +22060,7 @@ export declare class API {
|
|
|
21964
22060
|
force_financial_period?: string | null | undefined;
|
|
21965
22061
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
21966
22062
|
ignore_accounting_id?: boolean | undefined;
|
|
22063
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
21967
22064
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
21968
22065
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
21969
22066
|
invoice_number?: string | null | undefined;
|
|
@@ -22037,6 +22134,7 @@ export declare class API {
|
|
|
22037
22134
|
postal_code?: string | null | undefined;
|
|
22038
22135
|
country?: string | null | undefined;
|
|
22039
22136
|
}[] | null;
|
|
22137
|
+
third_party_account?: string | null | undefined;
|
|
22040
22138
|
} | null | undefined;
|
|
22041
22139
|
due_dates: {
|
|
22042
22140
|
due_date: string;
|
|
@@ -22144,6 +22242,7 @@ export declare class API {
|
|
|
22144
22242
|
force_financial_period?: string | null | undefined;
|
|
22145
22243
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
22146
22244
|
ignore_accounting_id?: boolean | undefined;
|
|
22245
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
22147
22246
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
22148
22247
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
22149
22248
|
invoice_number?: string | null | undefined;
|
|
@@ -22217,6 +22316,7 @@ export declare class API {
|
|
|
22217
22316
|
postal_code?: string | null | undefined;
|
|
22218
22317
|
country?: string | null | undefined;
|
|
22219
22318
|
}[] | null;
|
|
22319
|
+
third_party_account?: string | null | undefined;
|
|
22220
22320
|
} | null | undefined;
|
|
22221
22321
|
due_dates: {
|
|
22222
22322
|
due_date: string;
|
|
@@ -22341,6 +22441,7 @@ export declare class API {
|
|
|
22341
22441
|
postal_code?: string | null | undefined;
|
|
22342
22442
|
country?: string | null | undefined;
|
|
22343
22443
|
}[] | null;
|
|
22444
|
+
third_party_account?: string | null | undefined;
|
|
22344
22445
|
} | null | undefined;
|
|
22345
22446
|
due_dates: {
|
|
22346
22447
|
due_date: string;
|
|
@@ -22454,6 +22555,7 @@ export declare class API {
|
|
|
22454
22555
|
postal_code?: string | null | undefined;
|
|
22455
22556
|
country?: string | null | undefined;
|
|
22456
22557
|
}[] | null;
|
|
22558
|
+
third_party_account?: string | null | undefined;
|
|
22457
22559
|
} | null | undefined;
|
|
22458
22560
|
due_dates: {
|
|
22459
22561
|
due_date: string;
|
|
@@ -22567,6 +22669,7 @@ export declare class API {
|
|
|
22567
22669
|
postal_code?: string | null | undefined;
|
|
22568
22670
|
country?: string | null | undefined;
|
|
22569
22671
|
}[] | null;
|
|
22672
|
+
third_party_account?: string | null | undefined;
|
|
22570
22673
|
} | null | undefined;
|
|
22571
22674
|
due_dates: {
|
|
22572
22675
|
due_date: string;
|
|
@@ -22691,6 +22794,7 @@ export declare class API {
|
|
|
22691
22794
|
postal_code?: string | null | undefined;
|
|
22692
22795
|
country?: string | null | undefined;
|
|
22693
22796
|
}[] | null;
|
|
22797
|
+
third_party_account?: string | null | undefined;
|
|
22694
22798
|
} | null | undefined;
|
|
22695
22799
|
due_dates: {
|
|
22696
22800
|
due_date: string;
|
|
@@ -23219,6 +23323,7 @@ export declare class API {
|
|
|
23219
23323
|
}, params?: {
|
|
23220
23324
|
folder_id?: string | null | undefined;
|
|
23221
23325
|
financial_counterpart_account?: string | null | undefined;
|
|
23326
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
23222
23327
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
23223
23328
|
date: string;
|
|
23224
23329
|
journal_id: string;
|