@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
|
@@ -111,6 +111,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
111
111
|
total_refund: number | null;
|
|
112
112
|
total_tip: number | null;
|
|
113
113
|
delivery_fee: number | null;
|
|
114
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
114
115
|
currency?: string | null | undefined;
|
|
115
116
|
country?: string | null | undefined;
|
|
116
117
|
loyalty?: number | null | undefined;
|
|
@@ -189,6 +190,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
189
190
|
total_refund: number | null;
|
|
190
191
|
total_tip: number | null;
|
|
191
192
|
delivery_fee: number | null;
|
|
193
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
192
194
|
currency?: string | null | undefined;
|
|
193
195
|
country?: string | null | undefined;
|
|
194
196
|
loyalty?: number | null | undefined;
|
|
@@ -377,6 +379,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
377
379
|
total_refund: number | null;
|
|
378
380
|
total_tip: number | null;
|
|
379
381
|
delivery_fee: number | null;
|
|
382
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
380
383
|
currency?: string | null | undefined;
|
|
381
384
|
country?: string | null | undefined;
|
|
382
385
|
loyalty?: number | null | undefined;
|
|
@@ -481,6 +484,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
481
484
|
total_refund: number | null;
|
|
482
485
|
total_tip: number | null;
|
|
483
486
|
delivery_fee: number | null;
|
|
487
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
484
488
|
currency?: string | null | undefined;
|
|
485
489
|
country?: string | null | undefined;
|
|
486
490
|
loyalty?: number | null | undefined;
|
|
@@ -933,6 +937,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
933
937
|
postal_code?: string | null | undefined;
|
|
934
938
|
country?: string | null | undefined;
|
|
935
939
|
}[] | null;
|
|
940
|
+
third_party_account?: string | null | undefined;
|
|
936
941
|
}[]>;
|
|
937
942
|
createClient(client: {
|
|
938
943
|
external_reference?: string | null | undefined;
|
|
@@ -1006,6 +1011,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1006
1011
|
postal_code?: string | null | undefined;
|
|
1007
1012
|
country?: string | null | undefined;
|
|
1008
1013
|
}[] | null;
|
|
1014
|
+
third_party_account?: string | null | undefined;
|
|
1009
1015
|
}>;
|
|
1010
1016
|
getClient(clientId: string, params?: {
|
|
1011
1017
|
folder_id?: string | null | undefined;
|
|
@@ -1045,6 +1051,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1045
1051
|
postal_code?: string | null | undefined;
|
|
1046
1052
|
country?: string | null | undefined;
|
|
1047
1053
|
}[] | null;
|
|
1054
|
+
third_party_account?: string | null | undefined;
|
|
1048
1055
|
}>;
|
|
1049
1056
|
updateClient(clientId: string, client: {
|
|
1050
1057
|
external_reference?: string | null | undefined;
|
|
@@ -1116,6 +1123,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1116
1123
|
postal_code?: string | null | undefined;
|
|
1117
1124
|
country?: string | null | undefined;
|
|
1118
1125
|
}[] | null;
|
|
1126
|
+
third_party_account?: string | null | undefined;
|
|
1119
1127
|
}>;
|
|
1120
1128
|
getSuppliers(params?: {
|
|
1121
1129
|
search?: string | null | undefined;
|
|
@@ -1157,6 +1165,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1157
1165
|
postal_code?: string | null | undefined;
|
|
1158
1166
|
country?: string | null | undefined;
|
|
1159
1167
|
}[] | null;
|
|
1168
|
+
third_party_account?: string | null | undefined;
|
|
1160
1169
|
}[]>;
|
|
1161
1170
|
createSupplier(supplier: {
|
|
1162
1171
|
external_reference?: string | null | undefined;
|
|
@@ -1230,6 +1239,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1230
1239
|
postal_code?: string | null | undefined;
|
|
1231
1240
|
country?: string | null | undefined;
|
|
1232
1241
|
}[] | null;
|
|
1242
|
+
third_party_account?: string | null | undefined;
|
|
1233
1243
|
}>;
|
|
1234
1244
|
getSupplier(supplierId: string, params?: {
|
|
1235
1245
|
folder_id?: string | null | undefined;
|
|
@@ -1269,6 +1279,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1269
1279
|
postal_code?: string | null | undefined;
|
|
1270
1280
|
country?: string | null | undefined;
|
|
1271
1281
|
}[] | null;
|
|
1282
|
+
third_party_account?: string | null | undefined;
|
|
1272
1283
|
}>;
|
|
1273
1284
|
updateSupplier(supplierId: string, supplier: {
|
|
1274
1285
|
external_reference?: string | null | undefined;
|
|
@@ -1340,6 +1351,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1340
1351
|
postal_code?: string | null | undefined;
|
|
1341
1352
|
country?: string | null | undefined;
|
|
1342
1353
|
}[] | null;
|
|
1354
|
+
third_party_account?: string | null | undefined;
|
|
1343
1355
|
}>;
|
|
1344
1356
|
createInvoice(invoice: {
|
|
1345
1357
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -1407,6 +1419,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1407
1419
|
force_financial_period?: string | null | undefined;
|
|
1408
1420
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
1409
1421
|
ignore_accounting_id?: boolean | undefined;
|
|
1422
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
1410
1423
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
1411
1424
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
1412
1425
|
invoice_number?: string | null | undefined;
|
|
@@ -1480,6 +1493,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1480
1493
|
postal_code?: string | null | undefined;
|
|
1481
1494
|
country?: string | null | undefined;
|
|
1482
1495
|
}[] | null;
|
|
1496
|
+
third_party_account?: string | null | undefined;
|
|
1483
1497
|
} | null | undefined;
|
|
1484
1498
|
due_dates: {
|
|
1485
1499
|
due_date: string;
|
|
@@ -1587,6 +1601,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1587
1601
|
force_financial_period?: string | null | undefined;
|
|
1588
1602
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
1589
1603
|
ignore_accounting_id?: boolean | undefined;
|
|
1604
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
1590
1605
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
1591
1606
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
1592
1607
|
invoice_number?: string | null | undefined;
|
|
@@ -1660,6 +1675,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1660
1675
|
postal_code?: string | null | undefined;
|
|
1661
1676
|
country?: string | null | undefined;
|
|
1662
1677
|
}[] | null;
|
|
1678
|
+
third_party_account?: string | null | undefined;
|
|
1663
1679
|
} | null | undefined;
|
|
1664
1680
|
due_dates: {
|
|
1665
1681
|
due_date: string;
|
|
@@ -1784,6 +1800,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1784
1800
|
postal_code?: string | null | undefined;
|
|
1785
1801
|
country?: string | null | undefined;
|
|
1786
1802
|
}[] | null;
|
|
1803
|
+
third_party_account?: string | null | undefined;
|
|
1787
1804
|
} | null | undefined;
|
|
1788
1805
|
due_dates: {
|
|
1789
1806
|
due_date: string;
|
|
@@ -1897,6 +1914,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1897
1914
|
postal_code?: string | null | undefined;
|
|
1898
1915
|
country?: string | null | undefined;
|
|
1899
1916
|
}[] | null;
|
|
1917
|
+
third_party_account?: string | null | undefined;
|
|
1900
1918
|
} | null | undefined;
|
|
1901
1919
|
due_dates: {
|
|
1902
1920
|
due_date: string;
|
|
@@ -2010,6 +2028,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
2010
2028
|
postal_code?: string | null | undefined;
|
|
2011
2029
|
country?: string | null | undefined;
|
|
2012
2030
|
}[] | null;
|
|
2031
|
+
third_party_account?: string | null | undefined;
|
|
2013
2032
|
} | null | undefined;
|
|
2014
2033
|
due_dates: {
|
|
2015
2034
|
due_date: string;
|
|
@@ -2134,6 +2153,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
2134
2153
|
postal_code?: string | null | undefined;
|
|
2135
2154
|
country?: string | null | undefined;
|
|
2136
2155
|
}[] | null;
|
|
2156
|
+
third_party_account?: string | null | undefined;
|
|
2137
2157
|
} | null | undefined;
|
|
2138
2158
|
due_dates: {
|
|
2139
2159
|
due_date: string;
|
|
@@ -2662,6 +2682,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
2662
2682
|
}, params?: {
|
|
2663
2683
|
folder_id?: string | null | undefined;
|
|
2664
2684
|
financial_counterpart_account?: string | null | undefined;
|
|
2685
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
2665
2686
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
2666
2687
|
date: string;
|
|
2667
2688
|
journal_id: string;
|
|
@@ -5247,6 +5268,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
5247
5268
|
total_refund: number | null;
|
|
5248
5269
|
total_tip: number | null;
|
|
5249
5270
|
delivery_fee: number | null;
|
|
5271
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
5250
5272
|
currency?: string | null | undefined;
|
|
5251
5273
|
country?: string | null | undefined;
|
|
5252
5274
|
loyalty?: number | null | undefined;
|
|
@@ -5325,6 +5347,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
5325
5347
|
total_refund: number | null;
|
|
5326
5348
|
total_tip: number | null;
|
|
5327
5349
|
delivery_fee: number | null;
|
|
5350
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
5328
5351
|
currency?: string | null | undefined;
|
|
5329
5352
|
country?: string | null | undefined;
|
|
5330
5353
|
loyalty?: number | null | undefined;
|
|
@@ -5513,6 +5536,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
5513
5536
|
total_refund: number | null;
|
|
5514
5537
|
total_tip: number | null;
|
|
5515
5538
|
delivery_fee: number | null;
|
|
5539
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
5516
5540
|
currency?: string | null | undefined;
|
|
5517
5541
|
country?: string | null | undefined;
|
|
5518
5542
|
loyalty?: number | null | undefined;
|
|
@@ -5617,6 +5641,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
5617
5641
|
total_refund: number | null;
|
|
5618
5642
|
total_tip: number | null;
|
|
5619
5643
|
delivery_fee: number | null;
|
|
5644
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
5620
5645
|
currency?: string | null | undefined;
|
|
5621
5646
|
country?: string | null | undefined;
|
|
5622
5647
|
loyalty?: number | null | undefined;
|
|
@@ -6069,6 +6094,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6069
6094
|
postal_code?: string | null | undefined;
|
|
6070
6095
|
country?: string | null | undefined;
|
|
6071
6096
|
}[] | null;
|
|
6097
|
+
third_party_account?: string | null | undefined;
|
|
6072
6098
|
}[]>;
|
|
6073
6099
|
createClient(client: {
|
|
6074
6100
|
external_reference?: string | null | undefined;
|
|
@@ -6142,6 +6168,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6142
6168
|
postal_code?: string | null | undefined;
|
|
6143
6169
|
country?: string | null | undefined;
|
|
6144
6170
|
}[] | null;
|
|
6171
|
+
third_party_account?: string | null | undefined;
|
|
6145
6172
|
}>;
|
|
6146
6173
|
getClient(clientId: string, params?: {
|
|
6147
6174
|
folder_id?: string | null | undefined;
|
|
@@ -6181,6 +6208,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6181
6208
|
postal_code?: string | null | undefined;
|
|
6182
6209
|
country?: string | null | undefined;
|
|
6183
6210
|
}[] | null;
|
|
6211
|
+
third_party_account?: string | null | undefined;
|
|
6184
6212
|
}>;
|
|
6185
6213
|
updateClient(clientId: string, client: {
|
|
6186
6214
|
external_reference?: string | null | undefined;
|
|
@@ -6252,6 +6280,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6252
6280
|
postal_code?: string | null | undefined;
|
|
6253
6281
|
country?: string | null | undefined;
|
|
6254
6282
|
}[] | null;
|
|
6283
|
+
third_party_account?: string | null | undefined;
|
|
6255
6284
|
}>;
|
|
6256
6285
|
getSuppliers(params?: {
|
|
6257
6286
|
search?: string | null | undefined;
|
|
@@ -6293,6 +6322,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6293
6322
|
postal_code?: string | null | undefined;
|
|
6294
6323
|
country?: string | null | undefined;
|
|
6295
6324
|
}[] | null;
|
|
6325
|
+
third_party_account?: string | null | undefined;
|
|
6296
6326
|
}[]>;
|
|
6297
6327
|
createSupplier(supplier: {
|
|
6298
6328
|
external_reference?: string | null | undefined;
|
|
@@ -6366,6 +6396,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6366
6396
|
postal_code?: string | null | undefined;
|
|
6367
6397
|
country?: string | null | undefined;
|
|
6368
6398
|
}[] | null;
|
|
6399
|
+
third_party_account?: string | null | undefined;
|
|
6369
6400
|
}>;
|
|
6370
6401
|
getSupplier(supplierId: string, params?: {
|
|
6371
6402
|
folder_id?: string | null | undefined;
|
|
@@ -6405,6 +6436,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6405
6436
|
postal_code?: string | null | undefined;
|
|
6406
6437
|
country?: string | null | undefined;
|
|
6407
6438
|
}[] | null;
|
|
6439
|
+
third_party_account?: string | null | undefined;
|
|
6408
6440
|
}>;
|
|
6409
6441
|
updateSupplier(supplierId: string, supplier: {
|
|
6410
6442
|
external_reference?: string | null | undefined;
|
|
@@ -6476,6 +6508,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6476
6508
|
postal_code?: string | null | undefined;
|
|
6477
6509
|
country?: string | null | undefined;
|
|
6478
6510
|
}[] | null;
|
|
6511
|
+
third_party_account?: string | null | undefined;
|
|
6479
6512
|
}>;
|
|
6480
6513
|
createInvoice(invoice: {
|
|
6481
6514
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -6543,6 +6576,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6543
6576
|
force_financial_period?: string | null | undefined;
|
|
6544
6577
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
6545
6578
|
ignore_accounting_id?: boolean | undefined;
|
|
6579
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
6546
6580
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
6547
6581
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
6548
6582
|
invoice_number?: string | null | undefined;
|
|
@@ -6616,6 +6650,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6616
6650
|
postal_code?: string | null | undefined;
|
|
6617
6651
|
country?: string | null | undefined;
|
|
6618
6652
|
}[] | null;
|
|
6653
|
+
third_party_account?: string | null | undefined;
|
|
6619
6654
|
} | null | undefined;
|
|
6620
6655
|
due_dates: {
|
|
6621
6656
|
due_date: string;
|
|
@@ -6723,6 +6758,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6723
6758
|
force_financial_period?: string | null | undefined;
|
|
6724
6759
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
6725
6760
|
ignore_accounting_id?: boolean | undefined;
|
|
6761
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
6726
6762
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
6727
6763
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
6728
6764
|
invoice_number?: string | null | undefined;
|
|
@@ -6796,6 +6832,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6796
6832
|
postal_code?: string | null | undefined;
|
|
6797
6833
|
country?: string | null | undefined;
|
|
6798
6834
|
}[] | null;
|
|
6835
|
+
third_party_account?: string | null | undefined;
|
|
6799
6836
|
} | null | undefined;
|
|
6800
6837
|
due_dates: {
|
|
6801
6838
|
due_date: string;
|
|
@@ -6920,6 +6957,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6920
6957
|
postal_code?: string | null | undefined;
|
|
6921
6958
|
country?: string | null | undefined;
|
|
6922
6959
|
}[] | null;
|
|
6960
|
+
third_party_account?: string | null | undefined;
|
|
6923
6961
|
} | null | undefined;
|
|
6924
6962
|
due_dates: {
|
|
6925
6963
|
due_date: string;
|
|
@@ -7033,6 +7071,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
7033
7071
|
postal_code?: string | null | undefined;
|
|
7034
7072
|
country?: string | null | undefined;
|
|
7035
7073
|
}[] | null;
|
|
7074
|
+
third_party_account?: string | null | undefined;
|
|
7036
7075
|
} | null | undefined;
|
|
7037
7076
|
due_dates: {
|
|
7038
7077
|
due_date: string;
|
|
@@ -7146,6 +7185,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
7146
7185
|
postal_code?: string | null | undefined;
|
|
7147
7186
|
country?: string | null | undefined;
|
|
7148
7187
|
}[] | null;
|
|
7188
|
+
third_party_account?: string | null | undefined;
|
|
7149
7189
|
} | null | undefined;
|
|
7150
7190
|
due_dates: {
|
|
7151
7191
|
due_date: string;
|
|
@@ -7270,6 +7310,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
7270
7310
|
postal_code?: string | null | undefined;
|
|
7271
7311
|
country?: string | null | undefined;
|
|
7272
7312
|
}[] | null;
|
|
7313
|
+
third_party_account?: string | null | undefined;
|
|
7273
7314
|
} | null | undefined;
|
|
7274
7315
|
due_dates: {
|
|
7275
7316
|
due_date: string;
|
|
@@ -7798,6 +7839,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
7798
7839
|
}, params?: {
|
|
7799
7840
|
folder_id?: string | null | undefined;
|
|
7800
7841
|
financial_counterpart_account?: string | null | undefined;
|
|
7842
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
7801
7843
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
7802
7844
|
date: string;
|
|
7803
7845
|
journal_id: string;
|
|
@@ -10383,6 +10425,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
10383
10425
|
total_refund: number | null;
|
|
10384
10426
|
total_tip: number | null;
|
|
10385
10427
|
delivery_fee: number | null;
|
|
10428
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
10386
10429
|
currency?: string | null | undefined;
|
|
10387
10430
|
country?: string | null | undefined;
|
|
10388
10431
|
loyalty?: number | null | undefined;
|
|
@@ -10461,6 +10504,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
10461
10504
|
total_refund: number | null;
|
|
10462
10505
|
total_tip: number | null;
|
|
10463
10506
|
delivery_fee: number | null;
|
|
10507
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
10464
10508
|
currency?: string | null | undefined;
|
|
10465
10509
|
country?: string | null | undefined;
|
|
10466
10510
|
loyalty?: number | null | undefined;
|
|
@@ -10649,6 +10693,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
10649
10693
|
total_refund: number | null;
|
|
10650
10694
|
total_tip: number | null;
|
|
10651
10695
|
delivery_fee: number | null;
|
|
10696
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
10652
10697
|
currency?: string | null | undefined;
|
|
10653
10698
|
country?: string | null | undefined;
|
|
10654
10699
|
loyalty?: number | null | undefined;
|
|
@@ -10753,6 +10798,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
10753
10798
|
total_refund: number | null;
|
|
10754
10799
|
total_tip: number | null;
|
|
10755
10800
|
delivery_fee: number | null;
|
|
10801
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
10756
10802
|
currency?: string | null | undefined;
|
|
10757
10803
|
country?: string | null | undefined;
|
|
10758
10804
|
loyalty?: number | null | undefined;
|
|
@@ -11205,6 +11251,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11205
11251
|
postal_code?: string | null | undefined;
|
|
11206
11252
|
country?: string | null | undefined;
|
|
11207
11253
|
}[] | null;
|
|
11254
|
+
third_party_account?: string | null | undefined;
|
|
11208
11255
|
}[]>;
|
|
11209
11256
|
createClient(client: {
|
|
11210
11257
|
external_reference?: string | null | undefined;
|
|
@@ -11278,6 +11325,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11278
11325
|
postal_code?: string | null | undefined;
|
|
11279
11326
|
country?: string | null | undefined;
|
|
11280
11327
|
}[] | null;
|
|
11328
|
+
third_party_account?: string | null | undefined;
|
|
11281
11329
|
}>;
|
|
11282
11330
|
getClient(clientId: string, params?: {
|
|
11283
11331
|
folder_id?: string | null | undefined;
|
|
@@ -11317,6 +11365,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11317
11365
|
postal_code?: string | null | undefined;
|
|
11318
11366
|
country?: string | null | undefined;
|
|
11319
11367
|
}[] | null;
|
|
11368
|
+
third_party_account?: string | null | undefined;
|
|
11320
11369
|
}>;
|
|
11321
11370
|
updateClient(clientId: string, client: {
|
|
11322
11371
|
external_reference?: string | null | undefined;
|
|
@@ -11388,6 +11437,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11388
11437
|
postal_code?: string | null | undefined;
|
|
11389
11438
|
country?: string | null | undefined;
|
|
11390
11439
|
}[] | null;
|
|
11440
|
+
third_party_account?: string | null | undefined;
|
|
11391
11441
|
}>;
|
|
11392
11442
|
getSuppliers(params?: {
|
|
11393
11443
|
search?: string | null | undefined;
|
|
@@ -11429,6 +11479,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11429
11479
|
postal_code?: string | null | undefined;
|
|
11430
11480
|
country?: string | null | undefined;
|
|
11431
11481
|
}[] | null;
|
|
11482
|
+
third_party_account?: string | null | undefined;
|
|
11432
11483
|
}[]>;
|
|
11433
11484
|
createSupplier(supplier: {
|
|
11434
11485
|
external_reference?: string | null | undefined;
|
|
@@ -11502,6 +11553,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11502
11553
|
postal_code?: string | null | undefined;
|
|
11503
11554
|
country?: string | null | undefined;
|
|
11504
11555
|
}[] | null;
|
|
11556
|
+
third_party_account?: string | null | undefined;
|
|
11505
11557
|
}>;
|
|
11506
11558
|
getSupplier(supplierId: string, params?: {
|
|
11507
11559
|
folder_id?: string | null | undefined;
|
|
@@ -11541,6 +11593,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11541
11593
|
postal_code?: string | null | undefined;
|
|
11542
11594
|
country?: string | null | undefined;
|
|
11543
11595
|
}[] | null;
|
|
11596
|
+
third_party_account?: string | null | undefined;
|
|
11544
11597
|
}>;
|
|
11545
11598
|
updateSupplier(supplierId: string, supplier: {
|
|
11546
11599
|
external_reference?: string | null | undefined;
|
|
@@ -11612,6 +11665,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11612
11665
|
postal_code?: string | null | undefined;
|
|
11613
11666
|
country?: string | null | undefined;
|
|
11614
11667
|
}[] | null;
|
|
11668
|
+
third_party_account?: string | null | undefined;
|
|
11615
11669
|
}>;
|
|
11616
11670
|
createInvoice(invoice: {
|
|
11617
11671
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -11679,6 +11733,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11679
11733
|
force_financial_period?: string | null | undefined;
|
|
11680
11734
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
11681
11735
|
ignore_accounting_id?: boolean | undefined;
|
|
11736
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
11682
11737
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
11683
11738
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
11684
11739
|
invoice_number?: string | null | undefined;
|
|
@@ -11752,6 +11807,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11752
11807
|
postal_code?: string | null | undefined;
|
|
11753
11808
|
country?: string | null | undefined;
|
|
11754
11809
|
}[] | null;
|
|
11810
|
+
third_party_account?: string | null | undefined;
|
|
11755
11811
|
} | null | undefined;
|
|
11756
11812
|
due_dates: {
|
|
11757
11813
|
due_date: string;
|
|
@@ -11859,6 +11915,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11859
11915
|
force_financial_period?: string | null | undefined;
|
|
11860
11916
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
11861
11917
|
ignore_accounting_id?: boolean | undefined;
|
|
11918
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
11862
11919
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
11863
11920
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
11864
11921
|
invoice_number?: string | null | undefined;
|
|
@@ -11932,6 +11989,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11932
11989
|
postal_code?: string | null | undefined;
|
|
11933
11990
|
country?: string | null | undefined;
|
|
11934
11991
|
}[] | null;
|
|
11992
|
+
third_party_account?: string | null | undefined;
|
|
11935
11993
|
} | null | undefined;
|
|
11936
11994
|
due_dates: {
|
|
11937
11995
|
due_date: string;
|
|
@@ -12056,6 +12114,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
12056
12114
|
postal_code?: string | null | undefined;
|
|
12057
12115
|
country?: string | null | undefined;
|
|
12058
12116
|
}[] | null;
|
|
12117
|
+
third_party_account?: string | null | undefined;
|
|
12059
12118
|
} | null | undefined;
|
|
12060
12119
|
due_dates: {
|
|
12061
12120
|
due_date: string;
|
|
@@ -12169,6 +12228,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
12169
12228
|
postal_code?: string | null | undefined;
|
|
12170
12229
|
country?: string | null | undefined;
|
|
12171
12230
|
}[] | null;
|
|
12231
|
+
third_party_account?: string | null | undefined;
|
|
12172
12232
|
} | null | undefined;
|
|
12173
12233
|
due_dates: {
|
|
12174
12234
|
due_date: string;
|
|
@@ -12282,6 +12342,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
12282
12342
|
postal_code?: string | null | undefined;
|
|
12283
12343
|
country?: string | null | undefined;
|
|
12284
12344
|
}[] | null;
|
|
12345
|
+
third_party_account?: string | null | undefined;
|
|
12285
12346
|
} | null | undefined;
|
|
12286
12347
|
due_dates: {
|
|
12287
12348
|
due_date: string;
|
|
@@ -12406,6 +12467,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
12406
12467
|
postal_code?: string | null | undefined;
|
|
12407
12468
|
country?: string | null | undefined;
|
|
12408
12469
|
}[] | null;
|
|
12470
|
+
third_party_account?: string | null | undefined;
|
|
12409
12471
|
} | null | undefined;
|
|
12410
12472
|
due_dates: {
|
|
12411
12473
|
due_date: string;
|
|
@@ -12934,6 +12996,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
12934
12996
|
}, params?: {
|
|
12935
12997
|
folder_id?: string | null | undefined;
|
|
12936
12998
|
financial_counterpart_account?: string | null | undefined;
|
|
12999
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
12937
13000
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
12938
13001
|
date: string;
|
|
12939
13002
|
journal_id: string;
|
|
@@ -15519,6 +15582,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
15519
15582
|
total_refund: number | null;
|
|
15520
15583
|
total_tip: number | null;
|
|
15521
15584
|
delivery_fee: number | null;
|
|
15585
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
15522
15586
|
currency?: string | null | undefined;
|
|
15523
15587
|
country?: string | null | undefined;
|
|
15524
15588
|
loyalty?: number | null | undefined;
|
|
@@ -15597,6 +15661,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
15597
15661
|
total_refund: number | null;
|
|
15598
15662
|
total_tip: number | null;
|
|
15599
15663
|
delivery_fee: number | null;
|
|
15664
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
15600
15665
|
currency?: string | null | undefined;
|
|
15601
15666
|
country?: string | null | undefined;
|
|
15602
15667
|
loyalty?: number | null | undefined;
|
|
@@ -15785,6 +15850,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
15785
15850
|
total_refund: number | null;
|
|
15786
15851
|
total_tip: number | null;
|
|
15787
15852
|
delivery_fee: number | null;
|
|
15853
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
15788
15854
|
currency?: string | null | undefined;
|
|
15789
15855
|
country?: string | null | undefined;
|
|
15790
15856
|
loyalty?: number | null | undefined;
|
|
@@ -15889,6 +15955,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
15889
15955
|
total_refund: number | null;
|
|
15890
15956
|
total_tip: number | null;
|
|
15891
15957
|
delivery_fee: number | null;
|
|
15958
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
15892
15959
|
currency?: string | null | undefined;
|
|
15893
15960
|
country?: string | null | undefined;
|
|
15894
15961
|
loyalty?: number | null | undefined;
|
|
@@ -16341,6 +16408,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16341
16408
|
postal_code?: string | null | undefined;
|
|
16342
16409
|
country?: string | null | undefined;
|
|
16343
16410
|
}[] | null;
|
|
16411
|
+
third_party_account?: string | null | undefined;
|
|
16344
16412
|
}[]>;
|
|
16345
16413
|
createClient(client: {
|
|
16346
16414
|
external_reference?: string | null | undefined;
|
|
@@ -16414,6 +16482,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16414
16482
|
postal_code?: string | null | undefined;
|
|
16415
16483
|
country?: string | null | undefined;
|
|
16416
16484
|
}[] | null;
|
|
16485
|
+
third_party_account?: string | null | undefined;
|
|
16417
16486
|
}>;
|
|
16418
16487
|
getClient(clientId: string, params?: {
|
|
16419
16488
|
folder_id?: string | null | undefined;
|
|
@@ -16453,6 +16522,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16453
16522
|
postal_code?: string | null | undefined;
|
|
16454
16523
|
country?: string | null | undefined;
|
|
16455
16524
|
}[] | null;
|
|
16525
|
+
third_party_account?: string | null | undefined;
|
|
16456
16526
|
}>;
|
|
16457
16527
|
updateClient(clientId: string, client: {
|
|
16458
16528
|
external_reference?: string | null | undefined;
|
|
@@ -16524,6 +16594,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16524
16594
|
postal_code?: string | null | undefined;
|
|
16525
16595
|
country?: string | null | undefined;
|
|
16526
16596
|
}[] | null;
|
|
16597
|
+
third_party_account?: string | null | undefined;
|
|
16527
16598
|
}>;
|
|
16528
16599
|
getSuppliers(params?: {
|
|
16529
16600
|
search?: string | null | undefined;
|
|
@@ -16565,6 +16636,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16565
16636
|
postal_code?: string | null | undefined;
|
|
16566
16637
|
country?: string | null | undefined;
|
|
16567
16638
|
}[] | null;
|
|
16639
|
+
third_party_account?: string | null | undefined;
|
|
16568
16640
|
}[]>;
|
|
16569
16641
|
createSupplier(supplier: {
|
|
16570
16642
|
external_reference?: string | null | undefined;
|
|
@@ -16638,6 +16710,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16638
16710
|
postal_code?: string | null | undefined;
|
|
16639
16711
|
country?: string | null | undefined;
|
|
16640
16712
|
}[] | null;
|
|
16713
|
+
third_party_account?: string | null | undefined;
|
|
16641
16714
|
}>;
|
|
16642
16715
|
getSupplier(supplierId: string, params?: {
|
|
16643
16716
|
folder_id?: string | null | undefined;
|
|
@@ -16677,6 +16750,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16677
16750
|
postal_code?: string | null | undefined;
|
|
16678
16751
|
country?: string | null | undefined;
|
|
16679
16752
|
}[] | null;
|
|
16753
|
+
third_party_account?: string | null | undefined;
|
|
16680
16754
|
}>;
|
|
16681
16755
|
updateSupplier(supplierId: string, supplier: {
|
|
16682
16756
|
external_reference?: string | null | undefined;
|
|
@@ -16748,6 +16822,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16748
16822
|
postal_code?: string | null | undefined;
|
|
16749
16823
|
country?: string | null | undefined;
|
|
16750
16824
|
}[] | null;
|
|
16825
|
+
third_party_account?: string | null | undefined;
|
|
16751
16826
|
}>;
|
|
16752
16827
|
createInvoice(invoice: {
|
|
16753
16828
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -16815,6 +16890,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16815
16890
|
force_financial_period?: string | null | undefined;
|
|
16816
16891
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
16817
16892
|
ignore_accounting_id?: boolean | undefined;
|
|
16893
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
16818
16894
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
16819
16895
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
16820
16896
|
invoice_number?: string | null | undefined;
|
|
@@ -16888,6 +16964,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16888
16964
|
postal_code?: string | null | undefined;
|
|
16889
16965
|
country?: string | null | undefined;
|
|
16890
16966
|
}[] | null;
|
|
16967
|
+
third_party_account?: string | null | undefined;
|
|
16891
16968
|
} | null | undefined;
|
|
16892
16969
|
due_dates: {
|
|
16893
16970
|
due_date: string;
|
|
@@ -16995,6 +17072,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16995
17072
|
force_financial_period?: string | null | undefined;
|
|
16996
17073
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
16997
17074
|
ignore_accounting_id?: boolean | undefined;
|
|
17075
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
16998
17076
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
16999
17077
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
17000
17078
|
invoice_number?: string | null | undefined;
|
|
@@ -17068,6 +17146,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
17068
17146
|
postal_code?: string | null | undefined;
|
|
17069
17147
|
country?: string | null | undefined;
|
|
17070
17148
|
}[] | null;
|
|
17149
|
+
third_party_account?: string | null | undefined;
|
|
17071
17150
|
} | null | undefined;
|
|
17072
17151
|
due_dates: {
|
|
17073
17152
|
due_date: string;
|
|
@@ -17192,6 +17271,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
17192
17271
|
postal_code?: string | null | undefined;
|
|
17193
17272
|
country?: string | null | undefined;
|
|
17194
17273
|
}[] | null;
|
|
17274
|
+
third_party_account?: string | null | undefined;
|
|
17195
17275
|
} | null | undefined;
|
|
17196
17276
|
due_dates: {
|
|
17197
17277
|
due_date: string;
|
|
@@ -17305,6 +17385,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
17305
17385
|
postal_code?: string | null | undefined;
|
|
17306
17386
|
country?: string | null | undefined;
|
|
17307
17387
|
}[] | null;
|
|
17388
|
+
third_party_account?: string | null | undefined;
|
|
17308
17389
|
} | null | undefined;
|
|
17309
17390
|
due_dates: {
|
|
17310
17391
|
due_date: string;
|
|
@@ -17418,6 +17499,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
17418
17499
|
postal_code?: string | null | undefined;
|
|
17419
17500
|
country?: string | null | undefined;
|
|
17420
17501
|
}[] | null;
|
|
17502
|
+
third_party_account?: string | null | undefined;
|
|
17421
17503
|
} | null | undefined;
|
|
17422
17504
|
due_dates: {
|
|
17423
17505
|
due_date: string;
|
|
@@ -17542,6 +17624,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
17542
17624
|
postal_code?: string | null | undefined;
|
|
17543
17625
|
country?: string | null | undefined;
|
|
17544
17626
|
}[] | null;
|
|
17627
|
+
third_party_account?: string | null | undefined;
|
|
17545
17628
|
} | null | undefined;
|
|
17546
17629
|
due_dates: {
|
|
17547
17630
|
due_date: string;
|
|
@@ -18070,6 +18153,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
18070
18153
|
}, params?: {
|
|
18071
18154
|
folder_id?: string | null | undefined;
|
|
18072
18155
|
financial_counterpart_account?: string | null | undefined;
|
|
18156
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
18073
18157
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
18074
18158
|
date: string;
|
|
18075
18159
|
journal_id: string;
|
|
@@ -20655,6 +20739,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
20655
20739
|
total_refund: number | null;
|
|
20656
20740
|
total_tip: number | null;
|
|
20657
20741
|
delivery_fee: number | null;
|
|
20742
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
20658
20743
|
currency?: string | null | undefined;
|
|
20659
20744
|
country?: string | null | undefined;
|
|
20660
20745
|
loyalty?: number | null | undefined;
|
|
@@ -20733,6 +20818,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
20733
20818
|
total_refund: number | null;
|
|
20734
20819
|
total_tip: number | null;
|
|
20735
20820
|
delivery_fee: number | null;
|
|
20821
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
20736
20822
|
currency?: string | null | undefined;
|
|
20737
20823
|
country?: string | null | undefined;
|
|
20738
20824
|
loyalty?: number | null | undefined;
|
|
@@ -20921,6 +21007,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
20921
21007
|
total_refund: number | null;
|
|
20922
21008
|
total_tip: number | null;
|
|
20923
21009
|
delivery_fee: number | null;
|
|
21010
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
20924
21011
|
currency?: string | null | undefined;
|
|
20925
21012
|
country?: string | null | undefined;
|
|
20926
21013
|
loyalty?: number | null | undefined;
|
|
@@ -21025,6 +21112,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
21025
21112
|
total_refund: number | null;
|
|
21026
21113
|
total_tip: number | null;
|
|
21027
21114
|
delivery_fee: number | null;
|
|
21115
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
21028
21116
|
currency?: string | null | undefined;
|
|
21029
21117
|
country?: string | null | undefined;
|
|
21030
21118
|
loyalty?: number | null | undefined;
|
|
@@ -21477,6 +21565,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
21477
21565
|
postal_code?: string | null | undefined;
|
|
21478
21566
|
country?: string | null | undefined;
|
|
21479
21567
|
}[] | null;
|
|
21568
|
+
third_party_account?: string | null | undefined;
|
|
21480
21569
|
}[]>;
|
|
21481
21570
|
createClient(client: {
|
|
21482
21571
|
external_reference?: string | null | undefined;
|
|
@@ -21550,6 +21639,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
21550
21639
|
postal_code?: string | null | undefined;
|
|
21551
21640
|
country?: string | null | undefined;
|
|
21552
21641
|
}[] | null;
|
|
21642
|
+
third_party_account?: string | null | undefined;
|
|
21553
21643
|
}>;
|
|
21554
21644
|
getClient(clientId: string, params?: {
|
|
21555
21645
|
folder_id?: string | null | undefined;
|
|
@@ -21589,6 +21679,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
21589
21679
|
postal_code?: string | null | undefined;
|
|
21590
21680
|
country?: string | null | undefined;
|
|
21591
21681
|
}[] | null;
|
|
21682
|
+
third_party_account?: string | null | undefined;
|
|
21592
21683
|
}>;
|
|
21593
21684
|
updateClient(clientId: string, client: {
|
|
21594
21685
|
external_reference?: string | null | undefined;
|
|
@@ -21660,6 +21751,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
21660
21751
|
postal_code?: string | null | undefined;
|
|
21661
21752
|
country?: string | null | undefined;
|
|
21662
21753
|
}[] | null;
|
|
21754
|
+
third_party_account?: string | null | undefined;
|
|
21663
21755
|
}>;
|
|
21664
21756
|
getSuppliers(params?: {
|
|
21665
21757
|
search?: string | null | undefined;
|
|
@@ -21701,6 +21793,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
21701
21793
|
postal_code?: string | null | undefined;
|
|
21702
21794
|
country?: string | null | undefined;
|
|
21703
21795
|
}[] | null;
|
|
21796
|
+
third_party_account?: string | null | undefined;
|
|
21704
21797
|
}[]>;
|
|
21705
21798
|
createSupplier(supplier: {
|
|
21706
21799
|
external_reference?: string | null | undefined;
|
|
@@ -21774,6 +21867,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
21774
21867
|
postal_code?: string | null | undefined;
|
|
21775
21868
|
country?: string | null | undefined;
|
|
21776
21869
|
}[] | null;
|
|
21870
|
+
third_party_account?: string | null | undefined;
|
|
21777
21871
|
}>;
|
|
21778
21872
|
getSupplier(supplierId: string, params?: {
|
|
21779
21873
|
folder_id?: string | null | undefined;
|
|
@@ -21813,6 +21907,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
21813
21907
|
postal_code?: string | null | undefined;
|
|
21814
21908
|
country?: string | null | undefined;
|
|
21815
21909
|
}[] | null;
|
|
21910
|
+
third_party_account?: string | null | undefined;
|
|
21816
21911
|
}>;
|
|
21817
21912
|
updateSupplier(supplierId: string, supplier: {
|
|
21818
21913
|
external_reference?: string | null | undefined;
|
|
@@ -21884,6 +21979,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
21884
21979
|
postal_code?: string | null | undefined;
|
|
21885
21980
|
country?: string | null | undefined;
|
|
21886
21981
|
}[] | null;
|
|
21982
|
+
third_party_account?: string | null | undefined;
|
|
21887
21983
|
}>;
|
|
21888
21984
|
createInvoice(invoice: {
|
|
21889
21985
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -21951,6 +22047,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
21951
22047
|
force_financial_period?: string | null | undefined;
|
|
21952
22048
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
21953
22049
|
ignore_accounting_id?: boolean | undefined;
|
|
22050
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
21954
22051
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
21955
22052
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
21956
22053
|
invoice_number?: string | null | undefined;
|
|
@@ -22024,6 +22121,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
22024
22121
|
postal_code?: string | null | undefined;
|
|
22025
22122
|
country?: string | null | undefined;
|
|
22026
22123
|
}[] | null;
|
|
22124
|
+
third_party_account?: string | null | undefined;
|
|
22027
22125
|
} | null | undefined;
|
|
22028
22126
|
due_dates: {
|
|
22029
22127
|
due_date: string;
|
|
@@ -22131,6 +22229,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
22131
22229
|
force_financial_period?: string | null | undefined;
|
|
22132
22230
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
22133
22231
|
ignore_accounting_id?: boolean | undefined;
|
|
22232
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
22134
22233
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
22135
22234
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
22136
22235
|
invoice_number?: string | null | undefined;
|
|
@@ -22204,6 +22303,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
22204
22303
|
postal_code?: string | null | undefined;
|
|
22205
22304
|
country?: string | null | undefined;
|
|
22206
22305
|
}[] | null;
|
|
22306
|
+
third_party_account?: string | null | undefined;
|
|
22207
22307
|
} | null | undefined;
|
|
22208
22308
|
due_dates: {
|
|
22209
22309
|
due_date: string;
|
|
@@ -22328,6 +22428,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
22328
22428
|
postal_code?: string | null | undefined;
|
|
22329
22429
|
country?: string | null | undefined;
|
|
22330
22430
|
}[] | null;
|
|
22431
|
+
third_party_account?: string | null | undefined;
|
|
22331
22432
|
} | null | undefined;
|
|
22332
22433
|
due_dates: {
|
|
22333
22434
|
due_date: string;
|
|
@@ -22441,6 +22542,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
22441
22542
|
postal_code?: string | null | undefined;
|
|
22442
22543
|
country?: string | null | undefined;
|
|
22443
22544
|
}[] | null;
|
|
22545
|
+
third_party_account?: string | null | undefined;
|
|
22444
22546
|
} | null | undefined;
|
|
22445
22547
|
due_dates: {
|
|
22446
22548
|
due_date: string;
|
|
@@ -22554,6 +22656,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
22554
22656
|
postal_code?: string | null | undefined;
|
|
22555
22657
|
country?: string | null | undefined;
|
|
22556
22658
|
}[] | null;
|
|
22659
|
+
third_party_account?: string | null | undefined;
|
|
22557
22660
|
} | null | undefined;
|
|
22558
22661
|
due_dates: {
|
|
22559
22662
|
due_date: string;
|
|
@@ -22678,6 +22781,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
22678
22781
|
postal_code?: string | null | undefined;
|
|
22679
22782
|
country?: string | null | undefined;
|
|
22680
22783
|
}[] | null;
|
|
22784
|
+
third_party_account?: string | null | undefined;
|
|
22681
22785
|
} | null | undefined;
|
|
22682
22786
|
due_dates: {
|
|
22683
22787
|
due_date: string;
|
|
@@ -23206,6 +23310,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
23206
23310
|
}, params?: {
|
|
23207
23311
|
folder_id?: string | null | undefined;
|
|
23208
23312
|
financial_counterpart_account?: string | null | undefined;
|
|
23313
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
23209
23314
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
23210
23315
|
date: string;
|
|
23211
23316
|
journal_id: string;
|