@chift/chift-nodejs 1.0.27 → 1.0.29
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 +114 -1
- package/dist/src/modules/consumer.d.ts +23 -1
- package/dist/src/modules/consumer.js +2 -0
- package/dist/src/modules/consumers.d.ts +111 -1
- package/dist/src/modules/consumers.js +2 -2
- 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 +88 -0
- package/dist/src/types/public-api/schema.d.ts +697 -699
- package/dist/test/modules/consumers.test.js +14 -0
- package/package.json +2 -2
- package/src/types/public-api/schema.d.ts +697 -699
|
@@ -5,7 +5,10 @@ export declare class API {
|
|
|
5
5
|
token?: string;
|
|
6
6
|
internalApi?: any;
|
|
7
7
|
Consumers: {
|
|
8
|
-
getConsumers: (
|
|
8
|
+
getConsumers: (params?: {
|
|
9
|
+
search?: string | null | undefined;
|
|
10
|
+
internal_reference?: string | null | undefined;
|
|
11
|
+
} | undefined) => Promise<{
|
|
9
12
|
consumerId: string;
|
|
10
13
|
getConnections: () => Promise<{
|
|
11
14
|
connectionid: string;
|
|
@@ -79,6 +82,7 @@ export declare class API {
|
|
|
79
82
|
name: string;
|
|
80
83
|
redirect_url: string | null | undefined;
|
|
81
84
|
email: string | null | undefined;
|
|
85
|
+
internal_reference: string | null | undefined;
|
|
82
86
|
pos: import("../types/api").ApiFor<{
|
|
83
87
|
getLocations(options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
84
88
|
id: string;
|
|
@@ -114,6 +118,7 @@ export declare class API {
|
|
|
114
118
|
total_refund: number | null;
|
|
115
119
|
total_tip: number | null;
|
|
116
120
|
delivery_fee: number | null;
|
|
121
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
117
122
|
currency?: string | null | undefined;
|
|
118
123
|
country?: string | null | undefined;
|
|
119
124
|
loyalty?: number | null | undefined;
|
|
@@ -192,6 +197,7 @@ export declare class API {
|
|
|
192
197
|
total_refund: number | null;
|
|
193
198
|
total_tip: number | null;
|
|
194
199
|
delivery_fee: number | null;
|
|
200
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
195
201
|
currency?: string | null | undefined;
|
|
196
202
|
country?: string | null | undefined;
|
|
197
203
|
loyalty?: number | null | undefined;
|
|
@@ -380,6 +386,7 @@ export declare class API {
|
|
|
380
386
|
total_refund: number | null;
|
|
381
387
|
total_tip: number | null;
|
|
382
388
|
delivery_fee: number | null;
|
|
389
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
383
390
|
currency?: string | null | undefined;
|
|
384
391
|
country?: string | null | undefined;
|
|
385
392
|
loyalty?: number | null | undefined;
|
|
@@ -484,6 +491,7 @@ export declare class API {
|
|
|
484
491
|
total_refund: number | null;
|
|
485
492
|
total_tip: number | null;
|
|
486
493
|
delivery_fee: number | null;
|
|
494
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
487
495
|
currency?: string | null | undefined;
|
|
488
496
|
country?: string | null | undefined;
|
|
489
497
|
loyalty?: number | null | undefined;
|
|
@@ -936,6 +944,7 @@ export declare class API {
|
|
|
936
944
|
postal_code?: string | null | undefined;
|
|
937
945
|
country?: string | null | undefined;
|
|
938
946
|
}[] | null;
|
|
947
|
+
third_party_account?: string | null | undefined;
|
|
939
948
|
}[]>;
|
|
940
949
|
createClient(client: {
|
|
941
950
|
external_reference?: string | null | undefined;
|
|
@@ -1009,6 +1018,7 @@ export declare class API {
|
|
|
1009
1018
|
postal_code?: string | null | undefined;
|
|
1010
1019
|
country?: string | null | undefined;
|
|
1011
1020
|
}[] | null;
|
|
1021
|
+
third_party_account?: string | null | undefined;
|
|
1012
1022
|
}>;
|
|
1013
1023
|
getClient(clientId: string, params?: {
|
|
1014
1024
|
folder_id?: string | null | undefined;
|
|
@@ -1048,6 +1058,7 @@ export declare class API {
|
|
|
1048
1058
|
postal_code?: string | null | undefined;
|
|
1049
1059
|
country?: string | null | undefined;
|
|
1050
1060
|
}[] | null;
|
|
1061
|
+
third_party_account?: string | null | undefined;
|
|
1051
1062
|
}>;
|
|
1052
1063
|
updateClient(clientId: string, client: {
|
|
1053
1064
|
external_reference?: string | null | undefined;
|
|
@@ -1119,6 +1130,7 @@ export declare class API {
|
|
|
1119
1130
|
postal_code?: string | null | undefined;
|
|
1120
1131
|
country?: string | null | undefined;
|
|
1121
1132
|
}[] | null;
|
|
1133
|
+
third_party_account?: string | null | undefined;
|
|
1122
1134
|
}>;
|
|
1123
1135
|
getSuppliers(params?: {
|
|
1124
1136
|
search?: string | null | undefined;
|
|
@@ -1160,6 +1172,7 @@ export declare class API {
|
|
|
1160
1172
|
postal_code?: string | null | undefined;
|
|
1161
1173
|
country?: string | null | undefined;
|
|
1162
1174
|
}[] | null;
|
|
1175
|
+
third_party_account?: string | null | undefined;
|
|
1163
1176
|
}[]>;
|
|
1164
1177
|
createSupplier(supplier: {
|
|
1165
1178
|
external_reference?: string | null | undefined;
|
|
@@ -1233,6 +1246,7 @@ export declare class API {
|
|
|
1233
1246
|
postal_code?: string | null | undefined;
|
|
1234
1247
|
country?: string | null | undefined;
|
|
1235
1248
|
}[] | null;
|
|
1249
|
+
third_party_account?: string | null | undefined;
|
|
1236
1250
|
}>;
|
|
1237
1251
|
getSupplier(supplierId: string, params?: {
|
|
1238
1252
|
folder_id?: string | null | undefined;
|
|
@@ -1272,6 +1286,7 @@ export declare class API {
|
|
|
1272
1286
|
postal_code?: string | null | undefined;
|
|
1273
1287
|
country?: string | null | undefined;
|
|
1274
1288
|
}[] | null;
|
|
1289
|
+
third_party_account?: string | null | undefined;
|
|
1275
1290
|
}>;
|
|
1276
1291
|
updateSupplier(supplierId: string, supplier: {
|
|
1277
1292
|
external_reference?: string | null | undefined;
|
|
@@ -1343,6 +1358,7 @@ export declare class API {
|
|
|
1343
1358
|
postal_code?: string | null | undefined;
|
|
1344
1359
|
country?: string | null | undefined;
|
|
1345
1360
|
}[] | null;
|
|
1361
|
+
third_party_account?: string | null | undefined;
|
|
1346
1362
|
}>;
|
|
1347
1363
|
createInvoice(invoice: {
|
|
1348
1364
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -1410,6 +1426,7 @@ export declare class API {
|
|
|
1410
1426
|
force_financial_period?: string | null | undefined;
|
|
1411
1427
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
1412
1428
|
ignore_accounting_id?: boolean | undefined;
|
|
1429
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
1413
1430
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
1414
1431
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
1415
1432
|
invoice_number?: string | null | undefined;
|
|
@@ -1483,6 +1500,7 @@ export declare class API {
|
|
|
1483
1500
|
postal_code?: string | null | undefined;
|
|
1484
1501
|
country?: string | null | undefined;
|
|
1485
1502
|
}[] | null;
|
|
1503
|
+
third_party_account?: string | null | undefined;
|
|
1486
1504
|
} | null | undefined;
|
|
1487
1505
|
due_dates: {
|
|
1488
1506
|
due_date: string;
|
|
@@ -1590,6 +1608,7 @@ export declare class API {
|
|
|
1590
1608
|
force_financial_period?: string | null | undefined;
|
|
1591
1609
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
1592
1610
|
ignore_accounting_id?: boolean | undefined;
|
|
1611
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
1593
1612
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
1594
1613
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
1595
1614
|
invoice_number?: string | null | undefined;
|
|
@@ -1663,6 +1682,7 @@ export declare class API {
|
|
|
1663
1682
|
postal_code?: string | null | undefined;
|
|
1664
1683
|
country?: string | null | undefined;
|
|
1665
1684
|
}[] | null;
|
|
1685
|
+
third_party_account?: string | null | undefined;
|
|
1666
1686
|
} | null | undefined;
|
|
1667
1687
|
due_dates: {
|
|
1668
1688
|
due_date: string;
|
|
@@ -1787,6 +1807,7 @@ export declare class API {
|
|
|
1787
1807
|
postal_code?: string | null | undefined;
|
|
1788
1808
|
country?: string | null | undefined;
|
|
1789
1809
|
}[] | null;
|
|
1810
|
+
third_party_account?: string | null | undefined;
|
|
1790
1811
|
} | null | undefined;
|
|
1791
1812
|
due_dates: {
|
|
1792
1813
|
due_date: string;
|
|
@@ -1900,6 +1921,7 @@ export declare class API {
|
|
|
1900
1921
|
postal_code?: string | null | undefined;
|
|
1901
1922
|
country?: string | null | undefined;
|
|
1902
1923
|
}[] | null;
|
|
1924
|
+
third_party_account?: string | null | undefined;
|
|
1903
1925
|
} | null | undefined;
|
|
1904
1926
|
due_dates: {
|
|
1905
1927
|
due_date: string;
|
|
@@ -2013,6 +2035,7 @@ export declare class API {
|
|
|
2013
2035
|
postal_code?: string | null | undefined;
|
|
2014
2036
|
country?: string | null | undefined;
|
|
2015
2037
|
}[] | null;
|
|
2038
|
+
third_party_account?: string | null | undefined;
|
|
2016
2039
|
} | null | undefined;
|
|
2017
2040
|
due_dates: {
|
|
2018
2041
|
due_date: string;
|
|
@@ -2137,6 +2160,7 @@ export declare class API {
|
|
|
2137
2160
|
postal_code?: string | null | undefined;
|
|
2138
2161
|
country?: string | null | undefined;
|
|
2139
2162
|
}[] | null;
|
|
2163
|
+
third_party_account?: string | null | undefined;
|
|
2140
2164
|
} | null | undefined;
|
|
2141
2165
|
due_dates: {
|
|
2142
2166
|
due_date: string;
|
|
@@ -2665,6 +2689,7 @@ export declare class API {
|
|
|
2665
2689
|
}, params?: {
|
|
2666
2690
|
folder_id?: string | null | undefined;
|
|
2667
2691
|
financial_counterpart_account?: string | null | undefined;
|
|
2692
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
2668
2693
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
2669
2694
|
date: string;
|
|
2670
2695
|
journal_id: string;
|
|
@@ -5220,6 +5245,7 @@ export declare class API {
|
|
|
5220
5245
|
name: string;
|
|
5221
5246
|
redirect_url: string | null | undefined;
|
|
5222
5247
|
email: string | null | undefined;
|
|
5248
|
+
internal_reference: string | null | undefined;
|
|
5223
5249
|
pos: import("../types/api").ApiFor<{
|
|
5224
5250
|
getLocations(options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
5225
5251
|
id: string;
|
|
@@ -5255,6 +5281,7 @@ export declare class API {
|
|
|
5255
5281
|
total_refund: number | null;
|
|
5256
5282
|
total_tip: number | null;
|
|
5257
5283
|
delivery_fee: number | null;
|
|
5284
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
5258
5285
|
currency?: string | null | undefined;
|
|
5259
5286
|
country?: string | null | undefined;
|
|
5260
5287
|
loyalty?: number | null | undefined;
|
|
@@ -5333,6 +5360,7 @@ export declare class API {
|
|
|
5333
5360
|
total_refund: number | null;
|
|
5334
5361
|
total_tip: number | null;
|
|
5335
5362
|
delivery_fee: number | null;
|
|
5363
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
5336
5364
|
currency?: string | null | undefined;
|
|
5337
5365
|
country?: string | null | undefined;
|
|
5338
5366
|
loyalty?: number | null | undefined;
|
|
@@ -5521,6 +5549,7 @@ export declare class API {
|
|
|
5521
5549
|
total_refund: number | null;
|
|
5522
5550
|
total_tip: number | null;
|
|
5523
5551
|
delivery_fee: number | null;
|
|
5552
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
5524
5553
|
currency?: string | null | undefined;
|
|
5525
5554
|
country?: string | null | undefined;
|
|
5526
5555
|
loyalty?: number | null | undefined;
|
|
@@ -5625,6 +5654,7 @@ export declare class API {
|
|
|
5625
5654
|
total_refund: number | null;
|
|
5626
5655
|
total_tip: number | null;
|
|
5627
5656
|
delivery_fee: number | null;
|
|
5657
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
5628
5658
|
currency?: string | null | undefined;
|
|
5629
5659
|
country?: string | null | undefined;
|
|
5630
5660
|
loyalty?: number | null | undefined;
|
|
@@ -6077,6 +6107,7 @@ export declare class API {
|
|
|
6077
6107
|
postal_code?: string | null | undefined;
|
|
6078
6108
|
country?: string | null | undefined;
|
|
6079
6109
|
}[] | null;
|
|
6110
|
+
third_party_account?: string | null | undefined;
|
|
6080
6111
|
}[]>;
|
|
6081
6112
|
createClient(client: {
|
|
6082
6113
|
external_reference?: string | null | undefined;
|
|
@@ -6150,6 +6181,7 @@ export declare class API {
|
|
|
6150
6181
|
postal_code?: string | null | undefined;
|
|
6151
6182
|
country?: string | null | undefined;
|
|
6152
6183
|
}[] | null;
|
|
6184
|
+
third_party_account?: string | null | undefined;
|
|
6153
6185
|
}>;
|
|
6154
6186
|
getClient(clientId: string, params?: {
|
|
6155
6187
|
folder_id?: string | null | undefined;
|
|
@@ -6189,6 +6221,7 @@ export declare class API {
|
|
|
6189
6221
|
postal_code?: string | null | undefined;
|
|
6190
6222
|
country?: string | null | undefined;
|
|
6191
6223
|
}[] | null;
|
|
6224
|
+
third_party_account?: string | null | undefined;
|
|
6192
6225
|
}>;
|
|
6193
6226
|
updateClient(clientId: string, client: {
|
|
6194
6227
|
external_reference?: string | null | undefined;
|
|
@@ -6260,6 +6293,7 @@ export declare class API {
|
|
|
6260
6293
|
postal_code?: string | null | undefined;
|
|
6261
6294
|
country?: string | null | undefined;
|
|
6262
6295
|
}[] | null;
|
|
6296
|
+
third_party_account?: string | null | undefined;
|
|
6263
6297
|
}>;
|
|
6264
6298
|
getSuppliers(params?: {
|
|
6265
6299
|
search?: string | null | undefined;
|
|
@@ -6301,6 +6335,7 @@ export declare class API {
|
|
|
6301
6335
|
postal_code?: string | null | undefined;
|
|
6302
6336
|
country?: string | null | undefined;
|
|
6303
6337
|
}[] | null;
|
|
6338
|
+
third_party_account?: string | null | undefined;
|
|
6304
6339
|
}[]>;
|
|
6305
6340
|
createSupplier(supplier: {
|
|
6306
6341
|
external_reference?: string | null | undefined;
|
|
@@ -6374,6 +6409,7 @@ export declare class API {
|
|
|
6374
6409
|
postal_code?: string | null | undefined;
|
|
6375
6410
|
country?: string | null | undefined;
|
|
6376
6411
|
}[] | null;
|
|
6412
|
+
third_party_account?: string | null | undefined;
|
|
6377
6413
|
}>;
|
|
6378
6414
|
getSupplier(supplierId: string, params?: {
|
|
6379
6415
|
folder_id?: string | null | undefined;
|
|
@@ -6413,6 +6449,7 @@ export declare class API {
|
|
|
6413
6449
|
postal_code?: string | null | undefined;
|
|
6414
6450
|
country?: string | null | undefined;
|
|
6415
6451
|
}[] | null;
|
|
6452
|
+
third_party_account?: string | null | undefined;
|
|
6416
6453
|
}>;
|
|
6417
6454
|
updateSupplier(supplierId: string, supplier: {
|
|
6418
6455
|
external_reference?: string | null | undefined;
|
|
@@ -6484,6 +6521,7 @@ export declare class API {
|
|
|
6484
6521
|
postal_code?: string | null | undefined;
|
|
6485
6522
|
country?: string | null | undefined;
|
|
6486
6523
|
}[] | null;
|
|
6524
|
+
third_party_account?: string | null | undefined;
|
|
6487
6525
|
}>;
|
|
6488
6526
|
createInvoice(invoice: {
|
|
6489
6527
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -6551,6 +6589,7 @@ export declare class API {
|
|
|
6551
6589
|
force_financial_period?: string | null | undefined;
|
|
6552
6590
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
6553
6591
|
ignore_accounting_id?: boolean | undefined;
|
|
6592
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
6554
6593
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
6555
6594
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
6556
6595
|
invoice_number?: string | null | undefined;
|
|
@@ -6624,6 +6663,7 @@ export declare class API {
|
|
|
6624
6663
|
postal_code?: string | null | undefined;
|
|
6625
6664
|
country?: string | null | undefined;
|
|
6626
6665
|
}[] | null;
|
|
6666
|
+
third_party_account?: string | null | undefined;
|
|
6627
6667
|
} | null | undefined;
|
|
6628
6668
|
due_dates: {
|
|
6629
6669
|
due_date: string;
|
|
@@ -6731,6 +6771,7 @@ export declare class API {
|
|
|
6731
6771
|
force_financial_period?: string | null | undefined;
|
|
6732
6772
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
6733
6773
|
ignore_accounting_id?: boolean | undefined;
|
|
6774
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
6734
6775
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
6735
6776
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
6736
6777
|
invoice_number?: string | null | undefined;
|
|
@@ -6804,6 +6845,7 @@ export declare class API {
|
|
|
6804
6845
|
postal_code?: string | null | undefined;
|
|
6805
6846
|
country?: string | null | undefined;
|
|
6806
6847
|
}[] | null;
|
|
6848
|
+
third_party_account?: string | null | undefined;
|
|
6807
6849
|
} | null | undefined;
|
|
6808
6850
|
due_dates: {
|
|
6809
6851
|
due_date: string;
|
|
@@ -6928,6 +6970,7 @@ export declare class API {
|
|
|
6928
6970
|
postal_code?: string | null | undefined;
|
|
6929
6971
|
country?: string | null | undefined;
|
|
6930
6972
|
}[] | null;
|
|
6973
|
+
third_party_account?: string | null | undefined;
|
|
6931
6974
|
} | null | undefined;
|
|
6932
6975
|
due_dates: {
|
|
6933
6976
|
due_date: string;
|
|
@@ -7041,6 +7084,7 @@ export declare class API {
|
|
|
7041
7084
|
postal_code?: string | null | undefined;
|
|
7042
7085
|
country?: string | null | undefined;
|
|
7043
7086
|
}[] | null;
|
|
7087
|
+
third_party_account?: string | null | undefined;
|
|
7044
7088
|
} | null | undefined;
|
|
7045
7089
|
due_dates: {
|
|
7046
7090
|
due_date: string;
|
|
@@ -7154,6 +7198,7 @@ export declare class API {
|
|
|
7154
7198
|
postal_code?: string | null | undefined;
|
|
7155
7199
|
country?: string | null | undefined;
|
|
7156
7200
|
}[] | null;
|
|
7201
|
+
third_party_account?: string | null | undefined;
|
|
7157
7202
|
} | null | undefined;
|
|
7158
7203
|
due_dates: {
|
|
7159
7204
|
due_date: string;
|
|
@@ -7278,6 +7323,7 @@ export declare class API {
|
|
|
7278
7323
|
postal_code?: string | null | undefined;
|
|
7279
7324
|
country?: string | null | undefined;
|
|
7280
7325
|
}[] | null;
|
|
7326
|
+
third_party_account?: string | null | undefined;
|
|
7281
7327
|
} | null | undefined;
|
|
7282
7328
|
due_dates: {
|
|
7283
7329
|
due_date: string;
|
|
@@ -7806,6 +7852,7 @@ export declare class API {
|
|
|
7806
7852
|
}, params?: {
|
|
7807
7853
|
folder_id?: string | null | undefined;
|
|
7808
7854
|
financial_counterpart_account?: string | null | undefined;
|
|
7855
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
7809
7856
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
7810
7857
|
date: string;
|
|
7811
7858
|
journal_id: string;
|
|
@@ -10356,6 +10403,7 @@ export declare class API {
|
|
|
10356
10403
|
name: string;
|
|
10357
10404
|
redirect_url: string | null | undefined;
|
|
10358
10405
|
email: string | null | undefined;
|
|
10406
|
+
internal_reference: string | null | undefined;
|
|
10359
10407
|
pos: import("../types/api").ApiFor<{
|
|
10360
10408
|
getLocations(options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
10361
10409
|
id: string;
|
|
@@ -10391,6 +10439,7 @@ export declare class API {
|
|
|
10391
10439
|
total_refund: number | null;
|
|
10392
10440
|
total_tip: number | null;
|
|
10393
10441
|
delivery_fee: number | null;
|
|
10442
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
10394
10443
|
currency?: string | null | undefined;
|
|
10395
10444
|
country?: string | null | undefined;
|
|
10396
10445
|
loyalty?: number | null | undefined;
|
|
@@ -10469,6 +10518,7 @@ export declare class API {
|
|
|
10469
10518
|
total_refund: number | null;
|
|
10470
10519
|
total_tip: number | null;
|
|
10471
10520
|
delivery_fee: number | null;
|
|
10521
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
10472
10522
|
currency?: string | null | undefined;
|
|
10473
10523
|
country?: string | null | undefined;
|
|
10474
10524
|
loyalty?: number | null | undefined;
|
|
@@ -10657,6 +10707,7 @@ export declare class API {
|
|
|
10657
10707
|
total_refund: number | null;
|
|
10658
10708
|
total_tip: number | null;
|
|
10659
10709
|
delivery_fee: number | null;
|
|
10710
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
10660
10711
|
currency?: string | null | undefined;
|
|
10661
10712
|
country?: string | null | undefined;
|
|
10662
10713
|
loyalty?: number | null | undefined;
|
|
@@ -10761,6 +10812,7 @@ export declare class API {
|
|
|
10761
10812
|
total_refund: number | null;
|
|
10762
10813
|
total_tip: number | null;
|
|
10763
10814
|
delivery_fee: number | null;
|
|
10815
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
10764
10816
|
currency?: string | null | undefined;
|
|
10765
10817
|
country?: string | null | undefined;
|
|
10766
10818
|
loyalty?: number | null | undefined;
|
|
@@ -11213,6 +11265,7 @@ export declare class API {
|
|
|
11213
11265
|
postal_code?: string | null | undefined;
|
|
11214
11266
|
country?: string | null | undefined;
|
|
11215
11267
|
}[] | null;
|
|
11268
|
+
third_party_account?: string | null | undefined;
|
|
11216
11269
|
}[]>;
|
|
11217
11270
|
createClient(client: {
|
|
11218
11271
|
external_reference?: string | null | undefined;
|
|
@@ -11286,6 +11339,7 @@ export declare class API {
|
|
|
11286
11339
|
postal_code?: string | null | undefined;
|
|
11287
11340
|
country?: string | null | undefined;
|
|
11288
11341
|
}[] | null;
|
|
11342
|
+
third_party_account?: string | null | undefined;
|
|
11289
11343
|
}>;
|
|
11290
11344
|
getClient(clientId: string, params?: {
|
|
11291
11345
|
folder_id?: string | null | undefined;
|
|
@@ -11325,6 +11379,7 @@ export declare class API {
|
|
|
11325
11379
|
postal_code?: string | null | undefined;
|
|
11326
11380
|
country?: string | null | undefined;
|
|
11327
11381
|
}[] | null;
|
|
11382
|
+
third_party_account?: string | null | undefined;
|
|
11328
11383
|
}>;
|
|
11329
11384
|
updateClient(clientId: string, client: {
|
|
11330
11385
|
external_reference?: string | null | undefined;
|
|
@@ -11396,6 +11451,7 @@ export declare class API {
|
|
|
11396
11451
|
postal_code?: string | null | undefined;
|
|
11397
11452
|
country?: string | null | undefined;
|
|
11398
11453
|
}[] | null;
|
|
11454
|
+
third_party_account?: string | null | undefined;
|
|
11399
11455
|
}>;
|
|
11400
11456
|
getSuppliers(params?: {
|
|
11401
11457
|
search?: string | null | undefined;
|
|
@@ -11437,6 +11493,7 @@ export declare class API {
|
|
|
11437
11493
|
postal_code?: string | null | undefined;
|
|
11438
11494
|
country?: string | null | undefined;
|
|
11439
11495
|
}[] | null;
|
|
11496
|
+
third_party_account?: string | null | undefined;
|
|
11440
11497
|
}[]>;
|
|
11441
11498
|
createSupplier(supplier: {
|
|
11442
11499
|
external_reference?: string | null | undefined;
|
|
@@ -11510,6 +11567,7 @@ export declare class API {
|
|
|
11510
11567
|
postal_code?: string | null | undefined;
|
|
11511
11568
|
country?: string | null | undefined;
|
|
11512
11569
|
}[] | null;
|
|
11570
|
+
third_party_account?: string | null | undefined;
|
|
11513
11571
|
}>;
|
|
11514
11572
|
getSupplier(supplierId: string, params?: {
|
|
11515
11573
|
folder_id?: string | null | undefined;
|
|
@@ -11549,6 +11607,7 @@ export declare class API {
|
|
|
11549
11607
|
postal_code?: string | null | undefined;
|
|
11550
11608
|
country?: string | null | undefined;
|
|
11551
11609
|
}[] | null;
|
|
11610
|
+
third_party_account?: string | null | undefined;
|
|
11552
11611
|
}>;
|
|
11553
11612
|
updateSupplier(supplierId: string, supplier: {
|
|
11554
11613
|
external_reference?: string | null | undefined;
|
|
@@ -11620,6 +11679,7 @@ export declare class API {
|
|
|
11620
11679
|
postal_code?: string | null | undefined;
|
|
11621
11680
|
country?: string | null | undefined;
|
|
11622
11681
|
}[] | null;
|
|
11682
|
+
third_party_account?: string | null | undefined;
|
|
11623
11683
|
}>;
|
|
11624
11684
|
createInvoice(invoice: {
|
|
11625
11685
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -11687,6 +11747,7 @@ export declare class API {
|
|
|
11687
11747
|
force_financial_period?: string | null | undefined;
|
|
11688
11748
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
11689
11749
|
ignore_accounting_id?: boolean | undefined;
|
|
11750
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
11690
11751
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
11691
11752
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
11692
11753
|
invoice_number?: string | null | undefined;
|
|
@@ -11760,6 +11821,7 @@ export declare class API {
|
|
|
11760
11821
|
postal_code?: string | null | undefined;
|
|
11761
11822
|
country?: string | null | undefined;
|
|
11762
11823
|
}[] | null;
|
|
11824
|
+
third_party_account?: string | null | undefined;
|
|
11763
11825
|
} | null | undefined;
|
|
11764
11826
|
due_dates: {
|
|
11765
11827
|
due_date: string;
|
|
@@ -11867,6 +11929,7 @@ export declare class API {
|
|
|
11867
11929
|
force_financial_period?: string | null | undefined;
|
|
11868
11930
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
11869
11931
|
ignore_accounting_id?: boolean | undefined;
|
|
11932
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
11870
11933
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
11871
11934
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
11872
11935
|
invoice_number?: string | null | undefined;
|
|
@@ -11940,6 +12003,7 @@ export declare class API {
|
|
|
11940
12003
|
postal_code?: string | null | undefined;
|
|
11941
12004
|
country?: string | null | undefined;
|
|
11942
12005
|
}[] | null;
|
|
12006
|
+
third_party_account?: string | null | undefined;
|
|
11943
12007
|
} | null | undefined;
|
|
11944
12008
|
due_dates: {
|
|
11945
12009
|
due_date: string;
|
|
@@ -12064,6 +12128,7 @@ export declare class API {
|
|
|
12064
12128
|
postal_code?: string | null | undefined;
|
|
12065
12129
|
country?: string | null | undefined;
|
|
12066
12130
|
}[] | null;
|
|
12131
|
+
third_party_account?: string | null | undefined;
|
|
12067
12132
|
} | null | undefined;
|
|
12068
12133
|
due_dates: {
|
|
12069
12134
|
due_date: string;
|
|
@@ -12177,6 +12242,7 @@ export declare class API {
|
|
|
12177
12242
|
postal_code?: string | null | undefined;
|
|
12178
12243
|
country?: string | null | undefined;
|
|
12179
12244
|
}[] | null;
|
|
12245
|
+
third_party_account?: string | null | undefined;
|
|
12180
12246
|
} | null | undefined;
|
|
12181
12247
|
due_dates: {
|
|
12182
12248
|
due_date: string;
|
|
@@ -12290,6 +12356,7 @@ export declare class API {
|
|
|
12290
12356
|
postal_code?: string | null | undefined;
|
|
12291
12357
|
country?: string | null | undefined;
|
|
12292
12358
|
}[] | null;
|
|
12359
|
+
third_party_account?: string | null | undefined;
|
|
12293
12360
|
} | null | undefined;
|
|
12294
12361
|
due_dates: {
|
|
12295
12362
|
due_date: string;
|
|
@@ -12414,6 +12481,7 @@ export declare class API {
|
|
|
12414
12481
|
postal_code?: string | null | undefined;
|
|
12415
12482
|
country?: string | null | undefined;
|
|
12416
12483
|
}[] | null;
|
|
12484
|
+
third_party_account?: string | null | undefined;
|
|
12417
12485
|
} | null | undefined;
|
|
12418
12486
|
due_dates: {
|
|
12419
12487
|
due_date: string;
|
|
@@ -12942,6 +13010,7 @@ export declare class API {
|
|
|
12942
13010
|
}, params?: {
|
|
12943
13011
|
folder_id?: string | null | undefined;
|
|
12944
13012
|
financial_counterpart_account?: string | null | undefined;
|
|
13013
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
12945
13014
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
12946
13015
|
date: string;
|
|
12947
13016
|
journal_id: string;
|
|
@@ -15492,6 +15561,7 @@ export declare class API {
|
|
|
15492
15561
|
name: string;
|
|
15493
15562
|
redirect_url: string | null | undefined;
|
|
15494
15563
|
email: string | null | undefined;
|
|
15564
|
+
internal_reference: string | null | undefined;
|
|
15495
15565
|
pos: import("../types/api").ApiFor<{
|
|
15496
15566
|
getLocations(options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
15497
15567
|
id: string;
|
|
@@ -15527,6 +15597,7 @@ export declare class API {
|
|
|
15527
15597
|
total_refund: number | null;
|
|
15528
15598
|
total_tip: number | null;
|
|
15529
15599
|
delivery_fee: number | null;
|
|
15600
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
15530
15601
|
currency?: string | null | undefined;
|
|
15531
15602
|
country?: string | null | undefined;
|
|
15532
15603
|
loyalty?: number | null | undefined;
|
|
@@ -15605,6 +15676,7 @@ export declare class API {
|
|
|
15605
15676
|
total_refund: number | null;
|
|
15606
15677
|
total_tip: number | null;
|
|
15607
15678
|
delivery_fee: number | null;
|
|
15679
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
15608
15680
|
currency?: string | null | undefined;
|
|
15609
15681
|
country?: string | null | undefined;
|
|
15610
15682
|
loyalty?: number | null | undefined;
|
|
@@ -15793,6 +15865,7 @@ export declare class API {
|
|
|
15793
15865
|
total_refund: number | null;
|
|
15794
15866
|
total_tip: number | null;
|
|
15795
15867
|
delivery_fee: number | null;
|
|
15868
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
15796
15869
|
currency?: string | null | undefined;
|
|
15797
15870
|
country?: string | null | undefined;
|
|
15798
15871
|
loyalty?: number | null | undefined;
|
|
@@ -15897,6 +15970,7 @@ export declare class API {
|
|
|
15897
15970
|
total_refund: number | null;
|
|
15898
15971
|
total_tip: number | null;
|
|
15899
15972
|
delivery_fee: number | null;
|
|
15973
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
15900
15974
|
currency?: string | null | undefined;
|
|
15901
15975
|
country?: string | null | undefined;
|
|
15902
15976
|
loyalty?: number | null | undefined;
|
|
@@ -16349,6 +16423,7 @@ export declare class API {
|
|
|
16349
16423
|
postal_code?: string | null | undefined;
|
|
16350
16424
|
country?: string | null | undefined;
|
|
16351
16425
|
}[] | null;
|
|
16426
|
+
third_party_account?: string | null | undefined;
|
|
16352
16427
|
}[]>;
|
|
16353
16428
|
createClient(client: {
|
|
16354
16429
|
external_reference?: string | null | undefined;
|
|
@@ -16422,6 +16497,7 @@ export declare class API {
|
|
|
16422
16497
|
postal_code?: string | null | undefined;
|
|
16423
16498
|
country?: string | null | undefined;
|
|
16424
16499
|
}[] | null;
|
|
16500
|
+
third_party_account?: string | null | undefined;
|
|
16425
16501
|
}>;
|
|
16426
16502
|
getClient(clientId: string, params?: {
|
|
16427
16503
|
folder_id?: string | null | undefined;
|
|
@@ -16461,6 +16537,7 @@ export declare class API {
|
|
|
16461
16537
|
postal_code?: string | null | undefined;
|
|
16462
16538
|
country?: string | null | undefined;
|
|
16463
16539
|
}[] | null;
|
|
16540
|
+
third_party_account?: string | null | undefined;
|
|
16464
16541
|
}>;
|
|
16465
16542
|
updateClient(clientId: string, client: {
|
|
16466
16543
|
external_reference?: string | null | undefined;
|
|
@@ -16532,6 +16609,7 @@ export declare class API {
|
|
|
16532
16609
|
postal_code?: string | null | undefined;
|
|
16533
16610
|
country?: string | null | undefined;
|
|
16534
16611
|
}[] | null;
|
|
16612
|
+
third_party_account?: string | null | undefined;
|
|
16535
16613
|
}>;
|
|
16536
16614
|
getSuppliers(params?: {
|
|
16537
16615
|
search?: string | null | undefined;
|
|
@@ -16573,6 +16651,7 @@ export declare class API {
|
|
|
16573
16651
|
postal_code?: string | null | undefined;
|
|
16574
16652
|
country?: string | null | undefined;
|
|
16575
16653
|
}[] | null;
|
|
16654
|
+
third_party_account?: string | null | undefined;
|
|
16576
16655
|
}[]>;
|
|
16577
16656
|
createSupplier(supplier: {
|
|
16578
16657
|
external_reference?: string | null | undefined;
|
|
@@ -16646,6 +16725,7 @@ export declare class API {
|
|
|
16646
16725
|
postal_code?: string | null | undefined;
|
|
16647
16726
|
country?: string | null | undefined;
|
|
16648
16727
|
}[] | null;
|
|
16728
|
+
third_party_account?: string | null | undefined;
|
|
16649
16729
|
}>;
|
|
16650
16730
|
getSupplier(supplierId: string, params?: {
|
|
16651
16731
|
folder_id?: string | null | undefined;
|
|
@@ -16685,6 +16765,7 @@ export declare class API {
|
|
|
16685
16765
|
postal_code?: string | null | undefined;
|
|
16686
16766
|
country?: string | null | undefined;
|
|
16687
16767
|
}[] | null;
|
|
16768
|
+
third_party_account?: string | null | undefined;
|
|
16688
16769
|
}>;
|
|
16689
16770
|
updateSupplier(supplierId: string, supplier: {
|
|
16690
16771
|
external_reference?: string | null | undefined;
|
|
@@ -16756,6 +16837,7 @@ export declare class API {
|
|
|
16756
16837
|
postal_code?: string | null | undefined;
|
|
16757
16838
|
country?: string | null | undefined;
|
|
16758
16839
|
}[] | null;
|
|
16840
|
+
third_party_account?: string | null | undefined;
|
|
16759
16841
|
}>;
|
|
16760
16842
|
createInvoice(invoice: {
|
|
16761
16843
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -16823,6 +16905,7 @@ export declare class API {
|
|
|
16823
16905
|
force_financial_period?: string | null | undefined;
|
|
16824
16906
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
16825
16907
|
ignore_accounting_id?: boolean | undefined;
|
|
16908
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
16826
16909
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
16827
16910
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
16828
16911
|
invoice_number?: string | null | undefined;
|
|
@@ -16896,6 +16979,7 @@ export declare class API {
|
|
|
16896
16979
|
postal_code?: string | null | undefined;
|
|
16897
16980
|
country?: string | null | undefined;
|
|
16898
16981
|
}[] | null;
|
|
16982
|
+
third_party_account?: string | null | undefined;
|
|
16899
16983
|
} | null | undefined;
|
|
16900
16984
|
due_dates: {
|
|
16901
16985
|
due_date: string;
|
|
@@ -17003,6 +17087,7 @@ export declare class API {
|
|
|
17003
17087
|
force_financial_period?: string | null | undefined;
|
|
17004
17088
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
17005
17089
|
ignore_accounting_id?: boolean | undefined;
|
|
17090
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
17006
17091
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
17007
17092
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
17008
17093
|
invoice_number?: string | null | undefined;
|
|
@@ -17076,6 +17161,7 @@ export declare class API {
|
|
|
17076
17161
|
postal_code?: string | null | undefined;
|
|
17077
17162
|
country?: string | null | undefined;
|
|
17078
17163
|
}[] | null;
|
|
17164
|
+
third_party_account?: string | null | undefined;
|
|
17079
17165
|
} | null | undefined;
|
|
17080
17166
|
due_dates: {
|
|
17081
17167
|
due_date: string;
|
|
@@ -17200,6 +17286,7 @@ export declare class API {
|
|
|
17200
17286
|
postal_code?: string | null | undefined;
|
|
17201
17287
|
country?: string | null | undefined;
|
|
17202
17288
|
}[] | null;
|
|
17289
|
+
third_party_account?: string | null | undefined;
|
|
17203
17290
|
} | null | undefined;
|
|
17204
17291
|
due_dates: {
|
|
17205
17292
|
due_date: string;
|
|
@@ -17313,6 +17400,7 @@ export declare class API {
|
|
|
17313
17400
|
postal_code?: string | null | undefined;
|
|
17314
17401
|
country?: string | null | undefined;
|
|
17315
17402
|
}[] | null;
|
|
17403
|
+
third_party_account?: string | null | undefined;
|
|
17316
17404
|
} | null | undefined;
|
|
17317
17405
|
due_dates: {
|
|
17318
17406
|
due_date: string;
|
|
@@ -17426,6 +17514,7 @@ export declare class API {
|
|
|
17426
17514
|
postal_code?: string | null | undefined;
|
|
17427
17515
|
country?: string | null | undefined;
|
|
17428
17516
|
}[] | null;
|
|
17517
|
+
third_party_account?: string | null | undefined;
|
|
17429
17518
|
} | null | undefined;
|
|
17430
17519
|
due_dates: {
|
|
17431
17520
|
due_date: string;
|
|
@@ -17550,6 +17639,7 @@ export declare class API {
|
|
|
17550
17639
|
postal_code?: string | null | undefined;
|
|
17551
17640
|
country?: string | null | undefined;
|
|
17552
17641
|
}[] | null;
|
|
17642
|
+
third_party_account?: string | null | undefined;
|
|
17553
17643
|
} | null | undefined;
|
|
17554
17644
|
due_dates: {
|
|
17555
17645
|
due_date: string;
|
|
@@ -18078,6 +18168,7 @@ export declare class API {
|
|
|
18078
18168
|
}, params?: {
|
|
18079
18169
|
folder_id?: string | null | undefined;
|
|
18080
18170
|
financial_counterpart_account?: string | null | undefined;
|
|
18171
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
18081
18172
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
18082
18173
|
date: string;
|
|
18083
18174
|
journal_id: string;
|
|
@@ -20633,6 +20724,7 @@ export declare class API {
|
|
|
20633
20724
|
name: string;
|
|
20634
20725
|
redirect_url: string | null | undefined;
|
|
20635
20726
|
email: string | null | undefined;
|
|
20727
|
+
internal_reference: string | null | undefined;
|
|
20636
20728
|
pos: import("../types/api").ApiFor<{
|
|
20637
20729
|
getLocations(options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
20638
20730
|
id: string;
|
|
@@ -20668,6 +20760,7 @@ export declare class API {
|
|
|
20668
20760
|
total_refund: number | null;
|
|
20669
20761
|
total_tip: number | null;
|
|
20670
20762
|
delivery_fee: number | null;
|
|
20763
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
20671
20764
|
currency?: string | null | undefined;
|
|
20672
20765
|
country?: string | null | undefined;
|
|
20673
20766
|
loyalty?: number | null | undefined;
|
|
@@ -20746,6 +20839,7 @@ export declare class API {
|
|
|
20746
20839
|
total_refund: number | null;
|
|
20747
20840
|
total_tip: number | null;
|
|
20748
20841
|
delivery_fee: number | null;
|
|
20842
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
20749
20843
|
currency?: string | null | undefined;
|
|
20750
20844
|
country?: string | null | undefined;
|
|
20751
20845
|
loyalty?: number | null | undefined;
|
|
@@ -20934,6 +21028,7 @@ export declare class API {
|
|
|
20934
21028
|
total_refund: number | null;
|
|
20935
21029
|
total_tip: number | null;
|
|
20936
21030
|
delivery_fee: number | null;
|
|
21031
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
20937
21032
|
currency?: string | null | undefined;
|
|
20938
21033
|
country?: string | null | undefined;
|
|
20939
21034
|
loyalty?: number | null | undefined;
|
|
@@ -21038,6 +21133,7 @@ export declare class API {
|
|
|
21038
21133
|
total_refund: number | null;
|
|
21039
21134
|
total_tip: number | null;
|
|
21040
21135
|
delivery_fee: number | null;
|
|
21136
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
21041
21137
|
currency?: string | null | undefined;
|
|
21042
21138
|
country?: string | null | undefined;
|
|
21043
21139
|
loyalty?: number | null | undefined;
|
|
@@ -21490,6 +21586,7 @@ export declare class API {
|
|
|
21490
21586
|
postal_code?: string | null | undefined;
|
|
21491
21587
|
country?: string | null | undefined;
|
|
21492
21588
|
}[] | null;
|
|
21589
|
+
third_party_account?: string | null | undefined;
|
|
21493
21590
|
}[]>;
|
|
21494
21591
|
createClient(client: {
|
|
21495
21592
|
external_reference?: string | null | undefined;
|
|
@@ -21563,6 +21660,7 @@ export declare class API {
|
|
|
21563
21660
|
postal_code?: string | null | undefined;
|
|
21564
21661
|
country?: string | null | undefined;
|
|
21565
21662
|
}[] | null;
|
|
21663
|
+
third_party_account?: string | null | undefined;
|
|
21566
21664
|
}>;
|
|
21567
21665
|
getClient(clientId: string, params?: {
|
|
21568
21666
|
folder_id?: string | null | undefined;
|
|
@@ -21602,6 +21700,7 @@ export declare class API {
|
|
|
21602
21700
|
postal_code?: string | null | undefined;
|
|
21603
21701
|
country?: string | null | undefined;
|
|
21604
21702
|
}[] | null;
|
|
21703
|
+
third_party_account?: string | null | undefined;
|
|
21605
21704
|
}>;
|
|
21606
21705
|
updateClient(clientId: string, client: {
|
|
21607
21706
|
external_reference?: string | null | undefined;
|
|
@@ -21673,6 +21772,7 @@ export declare class API {
|
|
|
21673
21772
|
postal_code?: string | null | undefined;
|
|
21674
21773
|
country?: string | null | undefined;
|
|
21675
21774
|
}[] | null;
|
|
21775
|
+
third_party_account?: string | null | undefined;
|
|
21676
21776
|
}>;
|
|
21677
21777
|
getSuppliers(params?: {
|
|
21678
21778
|
search?: string | null | undefined;
|
|
@@ -21714,6 +21814,7 @@ export declare class API {
|
|
|
21714
21814
|
postal_code?: string | null | undefined;
|
|
21715
21815
|
country?: string | null | undefined;
|
|
21716
21816
|
}[] | null;
|
|
21817
|
+
third_party_account?: string | null | undefined;
|
|
21717
21818
|
}[]>;
|
|
21718
21819
|
createSupplier(supplier: {
|
|
21719
21820
|
external_reference?: string | null | undefined;
|
|
@@ -21787,6 +21888,7 @@ export declare class API {
|
|
|
21787
21888
|
postal_code?: string | null | undefined;
|
|
21788
21889
|
country?: string | null | undefined;
|
|
21789
21890
|
}[] | null;
|
|
21891
|
+
third_party_account?: string | null | undefined;
|
|
21790
21892
|
}>;
|
|
21791
21893
|
getSupplier(supplierId: string, params?: {
|
|
21792
21894
|
folder_id?: string | null | undefined;
|
|
@@ -21826,6 +21928,7 @@ export declare class API {
|
|
|
21826
21928
|
postal_code?: string | null | undefined;
|
|
21827
21929
|
country?: string | null | undefined;
|
|
21828
21930
|
}[] | null;
|
|
21931
|
+
third_party_account?: string | null | undefined;
|
|
21829
21932
|
}>;
|
|
21830
21933
|
updateSupplier(supplierId: string, supplier: {
|
|
21831
21934
|
external_reference?: string | null | undefined;
|
|
@@ -21897,6 +22000,7 @@ export declare class API {
|
|
|
21897
22000
|
postal_code?: string | null | undefined;
|
|
21898
22001
|
country?: string | null | undefined;
|
|
21899
22002
|
}[] | null;
|
|
22003
|
+
third_party_account?: string | null | undefined;
|
|
21900
22004
|
}>;
|
|
21901
22005
|
createInvoice(invoice: {
|
|
21902
22006
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -21964,6 +22068,7 @@ export declare class API {
|
|
|
21964
22068
|
force_financial_period?: string | null | undefined;
|
|
21965
22069
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
21966
22070
|
ignore_accounting_id?: boolean | undefined;
|
|
22071
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
21967
22072
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
21968
22073
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
21969
22074
|
invoice_number?: string | null | undefined;
|
|
@@ -22037,6 +22142,7 @@ export declare class API {
|
|
|
22037
22142
|
postal_code?: string | null | undefined;
|
|
22038
22143
|
country?: string | null | undefined;
|
|
22039
22144
|
}[] | null;
|
|
22145
|
+
third_party_account?: string | null | undefined;
|
|
22040
22146
|
} | null | undefined;
|
|
22041
22147
|
due_dates: {
|
|
22042
22148
|
due_date: string;
|
|
@@ -22144,6 +22250,7 @@ export declare class API {
|
|
|
22144
22250
|
force_financial_period?: string | null | undefined;
|
|
22145
22251
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
22146
22252
|
ignore_accounting_id?: boolean | undefined;
|
|
22253
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
22147
22254
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
22148
22255
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
22149
22256
|
invoice_number?: string | null | undefined;
|
|
@@ -22217,6 +22324,7 @@ export declare class API {
|
|
|
22217
22324
|
postal_code?: string | null | undefined;
|
|
22218
22325
|
country?: string | null | undefined;
|
|
22219
22326
|
}[] | null;
|
|
22327
|
+
third_party_account?: string | null | undefined;
|
|
22220
22328
|
} | null | undefined;
|
|
22221
22329
|
due_dates: {
|
|
22222
22330
|
due_date: string;
|
|
@@ -22341,6 +22449,7 @@ export declare class API {
|
|
|
22341
22449
|
postal_code?: string | null | undefined;
|
|
22342
22450
|
country?: string | null | undefined;
|
|
22343
22451
|
}[] | null;
|
|
22452
|
+
third_party_account?: string | null | undefined;
|
|
22344
22453
|
} | null | undefined;
|
|
22345
22454
|
due_dates: {
|
|
22346
22455
|
due_date: string;
|
|
@@ -22454,6 +22563,7 @@ export declare class API {
|
|
|
22454
22563
|
postal_code?: string | null | undefined;
|
|
22455
22564
|
country?: string | null | undefined;
|
|
22456
22565
|
}[] | null;
|
|
22566
|
+
third_party_account?: string | null | undefined;
|
|
22457
22567
|
} | null | undefined;
|
|
22458
22568
|
due_dates: {
|
|
22459
22569
|
due_date: string;
|
|
@@ -22567,6 +22677,7 @@ export declare class API {
|
|
|
22567
22677
|
postal_code?: string | null | undefined;
|
|
22568
22678
|
country?: string | null | undefined;
|
|
22569
22679
|
}[] | null;
|
|
22680
|
+
third_party_account?: string | null | undefined;
|
|
22570
22681
|
} | null | undefined;
|
|
22571
22682
|
due_dates: {
|
|
22572
22683
|
due_date: string;
|
|
@@ -22691,6 +22802,7 @@ export declare class API {
|
|
|
22691
22802
|
postal_code?: string | null | undefined;
|
|
22692
22803
|
country?: string | null | undefined;
|
|
22693
22804
|
}[] | null;
|
|
22805
|
+
third_party_account?: string | null | undefined;
|
|
22694
22806
|
} | null | undefined;
|
|
22695
22807
|
due_dates: {
|
|
22696
22808
|
due_date: string;
|
|
@@ -23219,6 +23331,7 @@ export declare class API {
|
|
|
23219
23331
|
}, params?: {
|
|
23220
23332
|
folder_id?: string | null | undefined;
|
|
23221
23333
|
financial_counterpart_account?: string | null | undefined;
|
|
23334
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
23222
23335
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
23223
23336
|
date: string;
|
|
23224
23337
|
journal_id: string;
|