@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
|
@@ -2,7 +2,7 @@ import { operations } from '../types/public-api/schema';
|
|
|
2
2
|
import { InternalAPI } from './internalApi';
|
|
3
3
|
import { chiftOperations } from '../types/public-api/mappings';
|
|
4
4
|
declare const Consumers: (internalApi: InternalAPI) => {
|
|
5
|
-
getConsumers: () => Promise<{
|
|
5
|
+
getConsumers: (params?: operations['consumers_get_consumers']['parameters']['query']) => Promise<{
|
|
6
6
|
consumerId: string;
|
|
7
7
|
getConnections: () => Promise<{
|
|
8
8
|
connectionid: string;
|
|
@@ -76,6 +76,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
76
76
|
name: string;
|
|
77
77
|
redirect_url: string | null | undefined;
|
|
78
78
|
email: string | null | undefined;
|
|
79
|
+
internal_reference: string | null | undefined;
|
|
79
80
|
pos: import("../types/api").ApiFor<{
|
|
80
81
|
getLocations(options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
81
82
|
id: string;
|
|
@@ -111,6 +112,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
111
112
|
total_refund: number | null;
|
|
112
113
|
total_tip: number | null;
|
|
113
114
|
delivery_fee: number | null;
|
|
115
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
114
116
|
currency?: string | null | undefined;
|
|
115
117
|
country?: string | null | undefined;
|
|
116
118
|
loyalty?: number | null | undefined;
|
|
@@ -189,6 +191,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
189
191
|
total_refund: number | null;
|
|
190
192
|
total_tip: number | null;
|
|
191
193
|
delivery_fee: number | null;
|
|
194
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
192
195
|
currency?: string | null | undefined;
|
|
193
196
|
country?: string | null | undefined;
|
|
194
197
|
loyalty?: number | null | undefined;
|
|
@@ -377,6 +380,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
377
380
|
total_refund: number | null;
|
|
378
381
|
total_tip: number | null;
|
|
379
382
|
delivery_fee: number | null;
|
|
383
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
380
384
|
currency?: string | null | undefined;
|
|
381
385
|
country?: string | null | undefined;
|
|
382
386
|
loyalty?: number | null | undefined;
|
|
@@ -481,6 +485,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
481
485
|
total_refund: number | null;
|
|
482
486
|
total_tip: number | null;
|
|
483
487
|
delivery_fee: number | null;
|
|
488
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
484
489
|
currency?: string | null | undefined;
|
|
485
490
|
country?: string | null | undefined;
|
|
486
491
|
loyalty?: number | null | undefined;
|
|
@@ -933,6 +938,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
933
938
|
postal_code?: string | null | undefined;
|
|
934
939
|
country?: string | null | undefined;
|
|
935
940
|
}[] | null;
|
|
941
|
+
third_party_account?: string | null | undefined;
|
|
936
942
|
}[]>;
|
|
937
943
|
createClient(client: {
|
|
938
944
|
external_reference?: string | null | undefined;
|
|
@@ -1006,6 +1012,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1006
1012
|
postal_code?: string | null | undefined;
|
|
1007
1013
|
country?: string | null | undefined;
|
|
1008
1014
|
}[] | null;
|
|
1015
|
+
third_party_account?: string | null | undefined;
|
|
1009
1016
|
}>;
|
|
1010
1017
|
getClient(clientId: string, params?: {
|
|
1011
1018
|
folder_id?: string | null | undefined;
|
|
@@ -1045,6 +1052,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1045
1052
|
postal_code?: string | null | undefined;
|
|
1046
1053
|
country?: string | null | undefined;
|
|
1047
1054
|
}[] | null;
|
|
1055
|
+
third_party_account?: string | null | undefined;
|
|
1048
1056
|
}>;
|
|
1049
1057
|
updateClient(clientId: string, client: {
|
|
1050
1058
|
external_reference?: string | null | undefined;
|
|
@@ -1116,6 +1124,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1116
1124
|
postal_code?: string | null | undefined;
|
|
1117
1125
|
country?: string | null | undefined;
|
|
1118
1126
|
}[] | null;
|
|
1127
|
+
third_party_account?: string | null | undefined;
|
|
1119
1128
|
}>;
|
|
1120
1129
|
getSuppliers(params?: {
|
|
1121
1130
|
search?: string | null | undefined;
|
|
@@ -1157,6 +1166,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1157
1166
|
postal_code?: string | null | undefined;
|
|
1158
1167
|
country?: string | null | undefined;
|
|
1159
1168
|
}[] | null;
|
|
1169
|
+
third_party_account?: string | null | undefined;
|
|
1160
1170
|
}[]>;
|
|
1161
1171
|
createSupplier(supplier: {
|
|
1162
1172
|
external_reference?: string | null | undefined;
|
|
@@ -1230,6 +1240,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1230
1240
|
postal_code?: string | null | undefined;
|
|
1231
1241
|
country?: string | null | undefined;
|
|
1232
1242
|
}[] | null;
|
|
1243
|
+
third_party_account?: string | null | undefined;
|
|
1233
1244
|
}>;
|
|
1234
1245
|
getSupplier(supplierId: string, params?: {
|
|
1235
1246
|
folder_id?: string | null | undefined;
|
|
@@ -1269,6 +1280,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1269
1280
|
postal_code?: string | null | undefined;
|
|
1270
1281
|
country?: string | null | undefined;
|
|
1271
1282
|
}[] | null;
|
|
1283
|
+
third_party_account?: string | null | undefined;
|
|
1272
1284
|
}>;
|
|
1273
1285
|
updateSupplier(supplierId: string, supplier: {
|
|
1274
1286
|
external_reference?: string | null | undefined;
|
|
@@ -1340,6 +1352,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1340
1352
|
postal_code?: string | null | undefined;
|
|
1341
1353
|
country?: string | null | undefined;
|
|
1342
1354
|
}[] | null;
|
|
1355
|
+
third_party_account?: string | null | undefined;
|
|
1343
1356
|
}>;
|
|
1344
1357
|
createInvoice(invoice: {
|
|
1345
1358
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -1407,6 +1420,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1407
1420
|
force_financial_period?: string | null | undefined;
|
|
1408
1421
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
1409
1422
|
ignore_accounting_id?: boolean | undefined;
|
|
1423
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
1410
1424
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
1411
1425
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
1412
1426
|
invoice_number?: string | null | undefined;
|
|
@@ -1480,6 +1494,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1480
1494
|
postal_code?: string | null | undefined;
|
|
1481
1495
|
country?: string | null | undefined;
|
|
1482
1496
|
}[] | null;
|
|
1497
|
+
third_party_account?: string | null | undefined;
|
|
1483
1498
|
} | null | undefined;
|
|
1484
1499
|
due_dates: {
|
|
1485
1500
|
due_date: string;
|
|
@@ -1587,6 +1602,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1587
1602
|
force_financial_period?: string | null | undefined;
|
|
1588
1603
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
1589
1604
|
ignore_accounting_id?: boolean | undefined;
|
|
1605
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
1590
1606
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
1591
1607
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
1592
1608
|
invoice_number?: string | null | undefined;
|
|
@@ -1660,6 +1676,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1660
1676
|
postal_code?: string | null | undefined;
|
|
1661
1677
|
country?: string | null | undefined;
|
|
1662
1678
|
}[] | null;
|
|
1679
|
+
third_party_account?: string | null | undefined;
|
|
1663
1680
|
} | null | undefined;
|
|
1664
1681
|
due_dates: {
|
|
1665
1682
|
due_date: string;
|
|
@@ -1784,6 +1801,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1784
1801
|
postal_code?: string | null | undefined;
|
|
1785
1802
|
country?: string | null | undefined;
|
|
1786
1803
|
}[] | null;
|
|
1804
|
+
third_party_account?: string | null | undefined;
|
|
1787
1805
|
} | null | undefined;
|
|
1788
1806
|
due_dates: {
|
|
1789
1807
|
due_date: string;
|
|
@@ -1897,6 +1915,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
1897
1915
|
postal_code?: string | null | undefined;
|
|
1898
1916
|
country?: string | null | undefined;
|
|
1899
1917
|
}[] | null;
|
|
1918
|
+
third_party_account?: string | null | undefined;
|
|
1900
1919
|
} | null | undefined;
|
|
1901
1920
|
due_dates: {
|
|
1902
1921
|
due_date: string;
|
|
@@ -2010,6 +2029,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
2010
2029
|
postal_code?: string | null | undefined;
|
|
2011
2030
|
country?: string | null | undefined;
|
|
2012
2031
|
}[] | null;
|
|
2032
|
+
third_party_account?: string | null | undefined;
|
|
2013
2033
|
} | null | undefined;
|
|
2014
2034
|
due_dates: {
|
|
2015
2035
|
due_date: string;
|
|
@@ -2134,6 +2154,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
2134
2154
|
postal_code?: string | null | undefined;
|
|
2135
2155
|
country?: string | null | undefined;
|
|
2136
2156
|
}[] | null;
|
|
2157
|
+
third_party_account?: string | null | undefined;
|
|
2137
2158
|
} | null | undefined;
|
|
2138
2159
|
due_dates: {
|
|
2139
2160
|
due_date: string;
|
|
@@ -2662,6 +2683,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
2662
2683
|
}, params?: {
|
|
2663
2684
|
folder_id?: string | null | undefined;
|
|
2664
2685
|
financial_counterpart_account?: string | null | undefined;
|
|
2686
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
2665
2687
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
2666
2688
|
date: string;
|
|
2667
2689
|
journal_id: string;
|
|
@@ -5212,6 +5234,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
5212
5234
|
name: string;
|
|
5213
5235
|
redirect_url: string | null | undefined;
|
|
5214
5236
|
email: string | null | undefined;
|
|
5237
|
+
internal_reference: string | null | undefined;
|
|
5215
5238
|
pos: import("../types/api").ApiFor<{
|
|
5216
5239
|
getLocations(options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
5217
5240
|
id: string;
|
|
@@ -5247,6 +5270,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
5247
5270
|
total_refund: number | null;
|
|
5248
5271
|
total_tip: number | null;
|
|
5249
5272
|
delivery_fee: number | null;
|
|
5273
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
5250
5274
|
currency?: string | null | undefined;
|
|
5251
5275
|
country?: string | null | undefined;
|
|
5252
5276
|
loyalty?: number | null | undefined;
|
|
@@ -5325,6 +5349,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
5325
5349
|
total_refund: number | null;
|
|
5326
5350
|
total_tip: number | null;
|
|
5327
5351
|
delivery_fee: number | null;
|
|
5352
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
5328
5353
|
currency?: string | null | undefined;
|
|
5329
5354
|
country?: string | null | undefined;
|
|
5330
5355
|
loyalty?: number | null | undefined;
|
|
@@ -5513,6 +5538,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
5513
5538
|
total_refund: number | null;
|
|
5514
5539
|
total_tip: number | null;
|
|
5515
5540
|
delivery_fee: number | null;
|
|
5541
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
5516
5542
|
currency?: string | null | undefined;
|
|
5517
5543
|
country?: string | null | undefined;
|
|
5518
5544
|
loyalty?: number | null | undefined;
|
|
@@ -5617,6 +5643,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
5617
5643
|
total_refund: number | null;
|
|
5618
5644
|
total_tip: number | null;
|
|
5619
5645
|
delivery_fee: number | null;
|
|
5646
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
5620
5647
|
currency?: string | null | undefined;
|
|
5621
5648
|
country?: string | null | undefined;
|
|
5622
5649
|
loyalty?: number | null | undefined;
|
|
@@ -6069,6 +6096,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6069
6096
|
postal_code?: string | null | undefined;
|
|
6070
6097
|
country?: string | null | undefined;
|
|
6071
6098
|
}[] | null;
|
|
6099
|
+
third_party_account?: string | null | undefined;
|
|
6072
6100
|
}[]>;
|
|
6073
6101
|
createClient(client: {
|
|
6074
6102
|
external_reference?: string | null | undefined;
|
|
@@ -6142,6 +6170,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6142
6170
|
postal_code?: string | null | undefined;
|
|
6143
6171
|
country?: string | null | undefined;
|
|
6144
6172
|
}[] | null;
|
|
6173
|
+
third_party_account?: string | null | undefined;
|
|
6145
6174
|
}>;
|
|
6146
6175
|
getClient(clientId: string, params?: {
|
|
6147
6176
|
folder_id?: string | null | undefined;
|
|
@@ -6181,6 +6210,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6181
6210
|
postal_code?: string | null | undefined;
|
|
6182
6211
|
country?: string | null | undefined;
|
|
6183
6212
|
}[] | null;
|
|
6213
|
+
third_party_account?: string | null | undefined;
|
|
6184
6214
|
}>;
|
|
6185
6215
|
updateClient(clientId: string, client: {
|
|
6186
6216
|
external_reference?: string | null | undefined;
|
|
@@ -6252,6 +6282,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6252
6282
|
postal_code?: string | null | undefined;
|
|
6253
6283
|
country?: string | null | undefined;
|
|
6254
6284
|
}[] | null;
|
|
6285
|
+
third_party_account?: string | null | undefined;
|
|
6255
6286
|
}>;
|
|
6256
6287
|
getSuppliers(params?: {
|
|
6257
6288
|
search?: string | null | undefined;
|
|
@@ -6293,6 +6324,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6293
6324
|
postal_code?: string | null | undefined;
|
|
6294
6325
|
country?: string | null | undefined;
|
|
6295
6326
|
}[] | null;
|
|
6327
|
+
third_party_account?: string | null | undefined;
|
|
6296
6328
|
}[]>;
|
|
6297
6329
|
createSupplier(supplier: {
|
|
6298
6330
|
external_reference?: string | null | undefined;
|
|
@@ -6366,6 +6398,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6366
6398
|
postal_code?: string | null | undefined;
|
|
6367
6399
|
country?: string | null | undefined;
|
|
6368
6400
|
}[] | null;
|
|
6401
|
+
third_party_account?: string | null | undefined;
|
|
6369
6402
|
}>;
|
|
6370
6403
|
getSupplier(supplierId: string, params?: {
|
|
6371
6404
|
folder_id?: string | null | undefined;
|
|
@@ -6405,6 +6438,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6405
6438
|
postal_code?: string | null | undefined;
|
|
6406
6439
|
country?: string | null | undefined;
|
|
6407
6440
|
}[] | null;
|
|
6441
|
+
third_party_account?: string | null | undefined;
|
|
6408
6442
|
}>;
|
|
6409
6443
|
updateSupplier(supplierId: string, supplier: {
|
|
6410
6444
|
external_reference?: string | null | undefined;
|
|
@@ -6476,6 +6510,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6476
6510
|
postal_code?: string | null | undefined;
|
|
6477
6511
|
country?: string | null | undefined;
|
|
6478
6512
|
}[] | null;
|
|
6513
|
+
third_party_account?: string | null | undefined;
|
|
6479
6514
|
}>;
|
|
6480
6515
|
createInvoice(invoice: {
|
|
6481
6516
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -6543,6 +6578,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6543
6578
|
force_financial_period?: string | null | undefined;
|
|
6544
6579
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
6545
6580
|
ignore_accounting_id?: boolean | undefined;
|
|
6581
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
6546
6582
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
6547
6583
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
6548
6584
|
invoice_number?: string | null | undefined;
|
|
@@ -6616,6 +6652,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6616
6652
|
postal_code?: string | null | undefined;
|
|
6617
6653
|
country?: string | null | undefined;
|
|
6618
6654
|
}[] | null;
|
|
6655
|
+
third_party_account?: string | null | undefined;
|
|
6619
6656
|
} | null | undefined;
|
|
6620
6657
|
due_dates: {
|
|
6621
6658
|
due_date: string;
|
|
@@ -6723,6 +6760,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6723
6760
|
force_financial_period?: string | null | undefined;
|
|
6724
6761
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
6725
6762
|
ignore_accounting_id?: boolean | undefined;
|
|
6763
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
6726
6764
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
6727
6765
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
6728
6766
|
invoice_number?: string | null | undefined;
|
|
@@ -6796,6 +6834,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6796
6834
|
postal_code?: string | null | undefined;
|
|
6797
6835
|
country?: string | null | undefined;
|
|
6798
6836
|
}[] | null;
|
|
6837
|
+
third_party_account?: string | null | undefined;
|
|
6799
6838
|
} | null | undefined;
|
|
6800
6839
|
due_dates: {
|
|
6801
6840
|
due_date: string;
|
|
@@ -6920,6 +6959,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
6920
6959
|
postal_code?: string | null | undefined;
|
|
6921
6960
|
country?: string | null | undefined;
|
|
6922
6961
|
}[] | null;
|
|
6962
|
+
third_party_account?: string | null | undefined;
|
|
6923
6963
|
} | null | undefined;
|
|
6924
6964
|
due_dates: {
|
|
6925
6965
|
due_date: string;
|
|
@@ -7033,6 +7073,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
7033
7073
|
postal_code?: string | null | undefined;
|
|
7034
7074
|
country?: string | null | undefined;
|
|
7035
7075
|
}[] | null;
|
|
7076
|
+
third_party_account?: string | null | undefined;
|
|
7036
7077
|
} | null | undefined;
|
|
7037
7078
|
due_dates: {
|
|
7038
7079
|
due_date: string;
|
|
@@ -7146,6 +7187,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
7146
7187
|
postal_code?: string | null | undefined;
|
|
7147
7188
|
country?: string | null | undefined;
|
|
7148
7189
|
}[] | null;
|
|
7190
|
+
third_party_account?: string | null | undefined;
|
|
7149
7191
|
} | null | undefined;
|
|
7150
7192
|
due_dates: {
|
|
7151
7193
|
due_date: string;
|
|
@@ -7270,6 +7312,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
7270
7312
|
postal_code?: string | null | undefined;
|
|
7271
7313
|
country?: string | null | undefined;
|
|
7272
7314
|
}[] | null;
|
|
7315
|
+
third_party_account?: string | null | undefined;
|
|
7273
7316
|
} | null | undefined;
|
|
7274
7317
|
due_dates: {
|
|
7275
7318
|
due_date: string;
|
|
@@ -7798,6 +7841,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
7798
7841
|
}, params?: {
|
|
7799
7842
|
folder_id?: string | null | undefined;
|
|
7800
7843
|
financial_counterpart_account?: string | null | undefined;
|
|
7844
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
7801
7845
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
7802
7846
|
date: string;
|
|
7803
7847
|
journal_id: string;
|
|
@@ -10348,6 +10392,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
10348
10392
|
name: string;
|
|
10349
10393
|
redirect_url: string | null | undefined;
|
|
10350
10394
|
email: string | null | undefined;
|
|
10395
|
+
internal_reference: string | null | undefined;
|
|
10351
10396
|
pos: import("../types/api").ApiFor<{
|
|
10352
10397
|
getLocations(options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
10353
10398
|
id: string;
|
|
@@ -10383,6 +10428,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
10383
10428
|
total_refund: number | null;
|
|
10384
10429
|
total_tip: number | null;
|
|
10385
10430
|
delivery_fee: number | null;
|
|
10431
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
10386
10432
|
currency?: string | null | undefined;
|
|
10387
10433
|
country?: string | null | undefined;
|
|
10388
10434
|
loyalty?: number | null | undefined;
|
|
@@ -10461,6 +10507,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
10461
10507
|
total_refund: number | null;
|
|
10462
10508
|
total_tip: number | null;
|
|
10463
10509
|
delivery_fee: number | null;
|
|
10510
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
10464
10511
|
currency?: string | null | undefined;
|
|
10465
10512
|
country?: string | null | undefined;
|
|
10466
10513
|
loyalty?: number | null | undefined;
|
|
@@ -10649,6 +10696,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
10649
10696
|
total_refund: number | null;
|
|
10650
10697
|
total_tip: number | null;
|
|
10651
10698
|
delivery_fee: number | null;
|
|
10699
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
10652
10700
|
currency?: string | null | undefined;
|
|
10653
10701
|
country?: string | null | undefined;
|
|
10654
10702
|
loyalty?: number | null | undefined;
|
|
@@ -10753,6 +10801,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
10753
10801
|
total_refund: number | null;
|
|
10754
10802
|
total_tip: number | null;
|
|
10755
10803
|
delivery_fee: number | null;
|
|
10804
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
10756
10805
|
currency?: string | null | undefined;
|
|
10757
10806
|
country?: string | null | undefined;
|
|
10758
10807
|
loyalty?: number | null | undefined;
|
|
@@ -11205,6 +11254,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11205
11254
|
postal_code?: string | null | undefined;
|
|
11206
11255
|
country?: string | null | undefined;
|
|
11207
11256
|
}[] | null;
|
|
11257
|
+
third_party_account?: string | null | undefined;
|
|
11208
11258
|
}[]>;
|
|
11209
11259
|
createClient(client: {
|
|
11210
11260
|
external_reference?: string | null | undefined;
|
|
@@ -11278,6 +11328,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11278
11328
|
postal_code?: string | null | undefined;
|
|
11279
11329
|
country?: string | null | undefined;
|
|
11280
11330
|
}[] | null;
|
|
11331
|
+
third_party_account?: string | null | undefined;
|
|
11281
11332
|
}>;
|
|
11282
11333
|
getClient(clientId: string, params?: {
|
|
11283
11334
|
folder_id?: string | null | undefined;
|
|
@@ -11317,6 +11368,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11317
11368
|
postal_code?: string | null | undefined;
|
|
11318
11369
|
country?: string | null | undefined;
|
|
11319
11370
|
}[] | null;
|
|
11371
|
+
third_party_account?: string | null | undefined;
|
|
11320
11372
|
}>;
|
|
11321
11373
|
updateClient(clientId: string, client: {
|
|
11322
11374
|
external_reference?: string | null | undefined;
|
|
@@ -11388,6 +11440,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11388
11440
|
postal_code?: string | null | undefined;
|
|
11389
11441
|
country?: string | null | undefined;
|
|
11390
11442
|
}[] | null;
|
|
11443
|
+
third_party_account?: string | null | undefined;
|
|
11391
11444
|
}>;
|
|
11392
11445
|
getSuppliers(params?: {
|
|
11393
11446
|
search?: string | null | undefined;
|
|
@@ -11429,6 +11482,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11429
11482
|
postal_code?: string | null | undefined;
|
|
11430
11483
|
country?: string | null | undefined;
|
|
11431
11484
|
}[] | null;
|
|
11485
|
+
third_party_account?: string | null | undefined;
|
|
11432
11486
|
}[]>;
|
|
11433
11487
|
createSupplier(supplier: {
|
|
11434
11488
|
external_reference?: string | null | undefined;
|
|
@@ -11502,6 +11556,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11502
11556
|
postal_code?: string | null | undefined;
|
|
11503
11557
|
country?: string | null | undefined;
|
|
11504
11558
|
}[] | null;
|
|
11559
|
+
third_party_account?: string | null | undefined;
|
|
11505
11560
|
}>;
|
|
11506
11561
|
getSupplier(supplierId: string, params?: {
|
|
11507
11562
|
folder_id?: string | null | undefined;
|
|
@@ -11541,6 +11596,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11541
11596
|
postal_code?: string | null | undefined;
|
|
11542
11597
|
country?: string | null | undefined;
|
|
11543
11598
|
}[] | null;
|
|
11599
|
+
third_party_account?: string | null | undefined;
|
|
11544
11600
|
}>;
|
|
11545
11601
|
updateSupplier(supplierId: string, supplier: {
|
|
11546
11602
|
external_reference?: string | null | undefined;
|
|
@@ -11612,6 +11668,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11612
11668
|
postal_code?: string | null | undefined;
|
|
11613
11669
|
country?: string | null | undefined;
|
|
11614
11670
|
}[] | null;
|
|
11671
|
+
third_party_account?: string | null | undefined;
|
|
11615
11672
|
}>;
|
|
11616
11673
|
createInvoice(invoice: {
|
|
11617
11674
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -11679,6 +11736,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11679
11736
|
force_financial_period?: string | null | undefined;
|
|
11680
11737
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
11681
11738
|
ignore_accounting_id?: boolean | undefined;
|
|
11739
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
11682
11740
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
11683
11741
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
11684
11742
|
invoice_number?: string | null | undefined;
|
|
@@ -11752,6 +11810,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11752
11810
|
postal_code?: string | null | undefined;
|
|
11753
11811
|
country?: string | null | undefined;
|
|
11754
11812
|
}[] | null;
|
|
11813
|
+
third_party_account?: string | null | undefined;
|
|
11755
11814
|
} | null | undefined;
|
|
11756
11815
|
due_dates: {
|
|
11757
11816
|
due_date: string;
|
|
@@ -11859,6 +11918,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11859
11918
|
force_financial_period?: string | null | undefined;
|
|
11860
11919
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
11861
11920
|
ignore_accounting_id?: boolean | undefined;
|
|
11921
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
11862
11922
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
11863
11923
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
11864
11924
|
invoice_number?: string | null | undefined;
|
|
@@ -11932,6 +11992,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
11932
11992
|
postal_code?: string | null | undefined;
|
|
11933
11993
|
country?: string | null | undefined;
|
|
11934
11994
|
}[] | null;
|
|
11995
|
+
third_party_account?: string | null | undefined;
|
|
11935
11996
|
} | null | undefined;
|
|
11936
11997
|
due_dates: {
|
|
11937
11998
|
due_date: string;
|
|
@@ -12056,6 +12117,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
12056
12117
|
postal_code?: string | null | undefined;
|
|
12057
12118
|
country?: string | null | undefined;
|
|
12058
12119
|
}[] | null;
|
|
12120
|
+
third_party_account?: string | null | undefined;
|
|
12059
12121
|
} | null | undefined;
|
|
12060
12122
|
due_dates: {
|
|
12061
12123
|
due_date: string;
|
|
@@ -12169,6 +12231,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
12169
12231
|
postal_code?: string | null | undefined;
|
|
12170
12232
|
country?: string | null | undefined;
|
|
12171
12233
|
}[] | null;
|
|
12234
|
+
third_party_account?: string | null | undefined;
|
|
12172
12235
|
} | null | undefined;
|
|
12173
12236
|
due_dates: {
|
|
12174
12237
|
due_date: string;
|
|
@@ -12282,6 +12345,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
12282
12345
|
postal_code?: string | null | undefined;
|
|
12283
12346
|
country?: string | null | undefined;
|
|
12284
12347
|
}[] | null;
|
|
12348
|
+
third_party_account?: string | null | undefined;
|
|
12285
12349
|
} | null | undefined;
|
|
12286
12350
|
due_dates: {
|
|
12287
12351
|
due_date: string;
|
|
@@ -12406,6 +12470,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
12406
12470
|
postal_code?: string | null | undefined;
|
|
12407
12471
|
country?: string | null | undefined;
|
|
12408
12472
|
}[] | null;
|
|
12473
|
+
third_party_account?: string | null | undefined;
|
|
12409
12474
|
} | null | undefined;
|
|
12410
12475
|
due_dates: {
|
|
12411
12476
|
due_date: string;
|
|
@@ -12934,6 +12999,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
12934
12999
|
}, params?: {
|
|
12935
13000
|
folder_id?: string | null | undefined;
|
|
12936
13001
|
financial_counterpart_account?: string | null | undefined;
|
|
13002
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
12937
13003
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
12938
13004
|
date: string;
|
|
12939
13005
|
journal_id: string;
|
|
@@ -15484,6 +15550,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
15484
15550
|
name: string;
|
|
15485
15551
|
redirect_url: string | null | undefined;
|
|
15486
15552
|
email: string | null | undefined;
|
|
15553
|
+
internal_reference: string | null | undefined;
|
|
15487
15554
|
pos: import("../types/api").ApiFor<{
|
|
15488
15555
|
getLocations(options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
15489
15556
|
id: string;
|
|
@@ -15519,6 +15586,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
15519
15586
|
total_refund: number | null;
|
|
15520
15587
|
total_tip: number | null;
|
|
15521
15588
|
delivery_fee: number | null;
|
|
15589
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
15522
15590
|
currency?: string | null | undefined;
|
|
15523
15591
|
country?: string | null | undefined;
|
|
15524
15592
|
loyalty?: number | null | undefined;
|
|
@@ -15597,6 +15665,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
15597
15665
|
total_refund: number | null;
|
|
15598
15666
|
total_tip: number | null;
|
|
15599
15667
|
delivery_fee: number | null;
|
|
15668
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
15600
15669
|
currency?: string | null | undefined;
|
|
15601
15670
|
country?: string | null | undefined;
|
|
15602
15671
|
loyalty?: number | null | undefined;
|
|
@@ -15785,6 +15854,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
15785
15854
|
total_refund: number | null;
|
|
15786
15855
|
total_tip: number | null;
|
|
15787
15856
|
delivery_fee: number | null;
|
|
15857
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
15788
15858
|
currency?: string | null | undefined;
|
|
15789
15859
|
country?: string | null | undefined;
|
|
15790
15860
|
loyalty?: number | null | undefined;
|
|
@@ -15889,6 +15959,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
15889
15959
|
total_refund: number | null;
|
|
15890
15960
|
total_tip: number | null;
|
|
15891
15961
|
delivery_fee: number | null;
|
|
15962
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
15892
15963
|
currency?: string | null | undefined;
|
|
15893
15964
|
country?: string | null | undefined;
|
|
15894
15965
|
loyalty?: number | null | undefined;
|
|
@@ -16341,6 +16412,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16341
16412
|
postal_code?: string | null | undefined;
|
|
16342
16413
|
country?: string | null | undefined;
|
|
16343
16414
|
}[] | null;
|
|
16415
|
+
third_party_account?: string | null | undefined;
|
|
16344
16416
|
}[]>;
|
|
16345
16417
|
createClient(client: {
|
|
16346
16418
|
external_reference?: string | null | undefined;
|
|
@@ -16414,6 +16486,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16414
16486
|
postal_code?: string | null | undefined;
|
|
16415
16487
|
country?: string | null | undefined;
|
|
16416
16488
|
}[] | null;
|
|
16489
|
+
third_party_account?: string | null | undefined;
|
|
16417
16490
|
}>;
|
|
16418
16491
|
getClient(clientId: string, params?: {
|
|
16419
16492
|
folder_id?: string | null | undefined;
|
|
@@ -16453,6 +16526,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16453
16526
|
postal_code?: string | null | undefined;
|
|
16454
16527
|
country?: string | null | undefined;
|
|
16455
16528
|
}[] | null;
|
|
16529
|
+
third_party_account?: string | null | undefined;
|
|
16456
16530
|
}>;
|
|
16457
16531
|
updateClient(clientId: string, client: {
|
|
16458
16532
|
external_reference?: string | null | undefined;
|
|
@@ -16524,6 +16598,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16524
16598
|
postal_code?: string | null | undefined;
|
|
16525
16599
|
country?: string | null | undefined;
|
|
16526
16600
|
}[] | null;
|
|
16601
|
+
third_party_account?: string | null | undefined;
|
|
16527
16602
|
}>;
|
|
16528
16603
|
getSuppliers(params?: {
|
|
16529
16604
|
search?: string | null | undefined;
|
|
@@ -16565,6 +16640,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16565
16640
|
postal_code?: string | null | undefined;
|
|
16566
16641
|
country?: string | null | undefined;
|
|
16567
16642
|
}[] | null;
|
|
16643
|
+
third_party_account?: string | null | undefined;
|
|
16568
16644
|
}[]>;
|
|
16569
16645
|
createSupplier(supplier: {
|
|
16570
16646
|
external_reference?: string | null | undefined;
|
|
@@ -16638,6 +16714,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16638
16714
|
postal_code?: string | null | undefined;
|
|
16639
16715
|
country?: string | null | undefined;
|
|
16640
16716
|
}[] | null;
|
|
16717
|
+
third_party_account?: string | null | undefined;
|
|
16641
16718
|
}>;
|
|
16642
16719
|
getSupplier(supplierId: string, params?: {
|
|
16643
16720
|
folder_id?: string | null | undefined;
|
|
@@ -16677,6 +16754,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16677
16754
|
postal_code?: string | null | undefined;
|
|
16678
16755
|
country?: string | null | undefined;
|
|
16679
16756
|
}[] | null;
|
|
16757
|
+
third_party_account?: string | null | undefined;
|
|
16680
16758
|
}>;
|
|
16681
16759
|
updateSupplier(supplierId: string, supplier: {
|
|
16682
16760
|
external_reference?: string | null | undefined;
|
|
@@ -16748,6 +16826,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16748
16826
|
postal_code?: string | null | undefined;
|
|
16749
16827
|
country?: string | null | undefined;
|
|
16750
16828
|
}[] | null;
|
|
16829
|
+
third_party_account?: string | null | undefined;
|
|
16751
16830
|
}>;
|
|
16752
16831
|
createInvoice(invoice: {
|
|
16753
16832
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -16815,6 +16894,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16815
16894
|
force_financial_period?: string | null | undefined;
|
|
16816
16895
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
16817
16896
|
ignore_accounting_id?: boolean | undefined;
|
|
16897
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
16818
16898
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
16819
16899
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
16820
16900
|
invoice_number?: string | null | undefined;
|
|
@@ -16888,6 +16968,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16888
16968
|
postal_code?: string | null | undefined;
|
|
16889
16969
|
country?: string | null | undefined;
|
|
16890
16970
|
}[] | null;
|
|
16971
|
+
third_party_account?: string | null | undefined;
|
|
16891
16972
|
} | null | undefined;
|
|
16892
16973
|
due_dates: {
|
|
16893
16974
|
due_date: string;
|
|
@@ -16995,6 +17076,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
16995
17076
|
force_financial_period?: string | null | undefined;
|
|
16996
17077
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
16997
17078
|
ignore_accounting_id?: boolean | undefined;
|
|
17079
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
16998
17080
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
16999
17081
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
17000
17082
|
invoice_number?: string | null | undefined;
|
|
@@ -17068,6 +17150,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
17068
17150
|
postal_code?: string | null | undefined;
|
|
17069
17151
|
country?: string | null | undefined;
|
|
17070
17152
|
}[] | null;
|
|
17153
|
+
third_party_account?: string | null | undefined;
|
|
17071
17154
|
} | null | undefined;
|
|
17072
17155
|
due_dates: {
|
|
17073
17156
|
due_date: string;
|
|
@@ -17192,6 +17275,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
17192
17275
|
postal_code?: string | null | undefined;
|
|
17193
17276
|
country?: string | null | undefined;
|
|
17194
17277
|
}[] | null;
|
|
17278
|
+
third_party_account?: string | null | undefined;
|
|
17195
17279
|
} | null | undefined;
|
|
17196
17280
|
due_dates: {
|
|
17197
17281
|
due_date: string;
|
|
@@ -17305,6 +17389,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
17305
17389
|
postal_code?: string | null | undefined;
|
|
17306
17390
|
country?: string | null | undefined;
|
|
17307
17391
|
}[] | null;
|
|
17392
|
+
third_party_account?: string | null | undefined;
|
|
17308
17393
|
} | null | undefined;
|
|
17309
17394
|
due_dates: {
|
|
17310
17395
|
due_date: string;
|
|
@@ -17418,6 +17503,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
17418
17503
|
postal_code?: string | null | undefined;
|
|
17419
17504
|
country?: string | null | undefined;
|
|
17420
17505
|
}[] | null;
|
|
17506
|
+
third_party_account?: string | null | undefined;
|
|
17421
17507
|
} | null | undefined;
|
|
17422
17508
|
due_dates: {
|
|
17423
17509
|
due_date: string;
|
|
@@ -17542,6 +17628,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
17542
17628
|
postal_code?: string | null | undefined;
|
|
17543
17629
|
country?: string | null | undefined;
|
|
17544
17630
|
}[] | null;
|
|
17631
|
+
third_party_account?: string | null | undefined;
|
|
17545
17632
|
} | null | undefined;
|
|
17546
17633
|
due_dates: {
|
|
17547
17634
|
due_date: string;
|
|
@@ -18070,6 +18157,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
18070
18157
|
}, params?: {
|
|
18071
18158
|
folder_id?: string | null | undefined;
|
|
18072
18159
|
financial_counterpart_account?: string | null | undefined;
|
|
18160
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
18073
18161
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
18074
18162
|
date: string;
|
|
18075
18163
|
journal_id: string;
|
|
@@ -20620,6 +20708,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
20620
20708
|
name: string;
|
|
20621
20709
|
redirect_url: string | null | undefined;
|
|
20622
20710
|
email: string | null | undefined;
|
|
20711
|
+
internal_reference: string | null | undefined;
|
|
20623
20712
|
pos: import("../types/api").ApiFor<{
|
|
20624
20713
|
getLocations(options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
20625
20714
|
id: string;
|
|
@@ -20655,6 +20744,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
20655
20744
|
total_refund: number | null;
|
|
20656
20745
|
total_tip: number | null;
|
|
20657
20746
|
delivery_fee: number | null;
|
|
20747
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
20658
20748
|
currency?: string | null | undefined;
|
|
20659
20749
|
country?: string | null | undefined;
|
|
20660
20750
|
loyalty?: number | null | undefined;
|
|
@@ -20733,6 +20823,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
20733
20823
|
total_refund: number | null;
|
|
20734
20824
|
total_tip: number | null;
|
|
20735
20825
|
delivery_fee: number | null;
|
|
20826
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
20736
20827
|
currency?: string | null | undefined;
|
|
20737
20828
|
country?: string | null | undefined;
|
|
20738
20829
|
loyalty?: number | null | undefined;
|
|
@@ -20921,6 +21012,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
20921
21012
|
total_refund: number | null;
|
|
20922
21013
|
total_tip: number | null;
|
|
20923
21014
|
delivery_fee: number | null;
|
|
21015
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
20924
21016
|
currency?: string | null | undefined;
|
|
20925
21017
|
country?: string | null | undefined;
|
|
20926
21018
|
loyalty?: number | null | undefined;
|
|
@@ -21025,6 +21117,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
21025
21117
|
total_refund: number | null;
|
|
21026
21118
|
total_tip: number | null;
|
|
21027
21119
|
delivery_fee: number | null;
|
|
21120
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
21028
21121
|
currency?: string | null | undefined;
|
|
21029
21122
|
country?: string | null | undefined;
|
|
21030
21123
|
loyalty?: number | null | undefined;
|
|
@@ -21477,6 +21570,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
21477
21570
|
postal_code?: string | null | undefined;
|
|
21478
21571
|
country?: string | null | undefined;
|
|
21479
21572
|
}[] | null;
|
|
21573
|
+
third_party_account?: string | null | undefined;
|
|
21480
21574
|
}[]>;
|
|
21481
21575
|
createClient(client: {
|
|
21482
21576
|
external_reference?: string | null | undefined;
|
|
@@ -21550,6 +21644,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
21550
21644
|
postal_code?: string | null | undefined;
|
|
21551
21645
|
country?: string | null | undefined;
|
|
21552
21646
|
}[] | null;
|
|
21647
|
+
third_party_account?: string | null | undefined;
|
|
21553
21648
|
}>;
|
|
21554
21649
|
getClient(clientId: string, params?: {
|
|
21555
21650
|
folder_id?: string | null | undefined;
|
|
@@ -21589,6 +21684,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
21589
21684
|
postal_code?: string | null | undefined;
|
|
21590
21685
|
country?: string | null | undefined;
|
|
21591
21686
|
}[] | null;
|
|
21687
|
+
third_party_account?: string | null | undefined;
|
|
21592
21688
|
}>;
|
|
21593
21689
|
updateClient(clientId: string, client: {
|
|
21594
21690
|
external_reference?: string | null | undefined;
|
|
@@ -21660,6 +21756,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
21660
21756
|
postal_code?: string | null | undefined;
|
|
21661
21757
|
country?: string | null | undefined;
|
|
21662
21758
|
}[] | null;
|
|
21759
|
+
third_party_account?: string | null | undefined;
|
|
21663
21760
|
}>;
|
|
21664
21761
|
getSuppliers(params?: {
|
|
21665
21762
|
search?: string | null | undefined;
|
|
@@ -21701,6 +21798,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
21701
21798
|
postal_code?: string | null | undefined;
|
|
21702
21799
|
country?: string | null | undefined;
|
|
21703
21800
|
}[] | null;
|
|
21801
|
+
third_party_account?: string | null | undefined;
|
|
21704
21802
|
}[]>;
|
|
21705
21803
|
createSupplier(supplier: {
|
|
21706
21804
|
external_reference?: string | null | undefined;
|
|
@@ -21774,6 +21872,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
21774
21872
|
postal_code?: string | null | undefined;
|
|
21775
21873
|
country?: string | null | undefined;
|
|
21776
21874
|
}[] | null;
|
|
21875
|
+
third_party_account?: string | null | undefined;
|
|
21777
21876
|
}>;
|
|
21778
21877
|
getSupplier(supplierId: string, params?: {
|
|
21779
21878
|
folder_id?: string | null | undefined;
|
|
@@ -21813,6 +21912,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
21813
21912
|
postal_code?: string | null | undefined;
|
|
21814
21913
|
country?: string | null | undefined;
|
|
21815
21914
|
}[] | null;
|
|
21915
|
+
third_party_account?: string | null | undefined;
|
|
21816
21916
|
}>;
|
|
21817
21917
|
updateSupplier(supplierId: string, supplier: {
|
|
21818
21918
|
external_reference?: string | null | undefined;
|
|
@@ -21884,6 +21984,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
21884
21984
|
postal_code?: string | null | undefined;
|
|
21885
21985
|
country?: string | null | undefined;
|
|
21886
21986
|
}[] | null;
|
|
21987
|
+
third_party_account?: string | null | undefined;
|
|
21887
21988
|
}>;
|
|
21888
21989
|
createInvoice(invoice: {
|
|
21889
21990
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -21951,6 +22052,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
21951
22052
|
force_financial_period?: string | null | undefined;
|
|
21952
22053
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
21953
22054
|
ignore_accounting_id?: boolean | undefined;
|
|
22055
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
21954
22056
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
21955
22057
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
21956
22058
|
invoice_number?: string | null | undefined;
|
|
@@ -22024,6 +22126,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
22024
22126
|
postal_code?: string | null | undefined;
|
|
22025
22127
|
country?: string | null | undefined;
|
|
22026
22128
|
}[] | null;
|
|
22129
|
+
third_party_account?: string | null | undefined;
|
|
22027
22130
|
} | null | undefined;
|
|
22028
22131
|
due_dates: {
|
|
22029
22132
|
due_date: string;
|
|
@@ -22131,6 +22234,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
22131
22234
|
force_financial_period?: string | null | undefined;
|
|
22132
22235
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
22133
22236
|
ignore_accounting_id?: boolean | undefined;
|
|
22237
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
22134
22238
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
22135
22239
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
22136
22240
|
invoice_number?: string | null | undefined;
|
|
@@ -22204,6 +22308,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
22204
22308
|
postal_code?: string | null | undefined;
|
|
22205
22309
|
country?: string | null | undefined;
|
|
22206
22310
|
}[] | null;
|
|
22311
|
+
third_party_account?: string | null | undefined;
|
|
22207
22312
|
} | null | undefined;
|
|
22208
22313
|
due_dates: {
|
|
22209
22314
|
due_date: string;
|
|
@@ -22328,6 +22433,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
22328
22433
|
postal_code?: string | null | undefined;
|
|
22329
22434
|
country?: string | null | undefined;
|
|
22330
22435
|
}[] | null;
|
|
22436
|
+
third_party_account?: string | null | undefined;
|
|
22331
22437
|
} | null | undefined;
|
|
22332
22438
|
due_dates: {
|
|
22333
22439
|
due_date: string;
|
|
@@ -22441,6 +22547,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
22441
22547
|
postal_code?: string | null | undefined;
|
|
22442
22548
|
country?: string | null | undefined;
|
|
22443
22549
|
}[] | null;
|
|
22550
|
+
third_party_account?: string | null | undefined;
|
|
22444
22551
|
} | null | undefined;
|
|
22445
22552
|
due_dates: {
|
|
22446
22553
|
due_date: string;
|
|
@@ -22554,6 +22661,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
22554
22661
|
postal_code?: string | null | undefined;
|
|
22555
22662
|
country?: string | null | undefined;
|
|
22556
22663
|
}[] | null;
|
|
22664
|
+
third_party_account?: string | null | undefined;
|
|
22557
22665
|
} | null | undefined;
|
|
22558
22666
|
due_dates: {
|
|
22559
22667
|
due_date: string;
|
|
@@ -22678,6 +22786,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
22678
22786
|
postal_code?: string | null | undefined;
|
|
22679
22787
|
country?: string | null | undefined;
|
|
22680
22788
|
}[] | null;
|
|
22789
|
+
third_party_account?: string | null | undefined;
|
|
22681
22790
|
} | null | undefined;
|
|
22682
22791
|
due_dates: {
|
|
22683
22792
|
due_date: string;
|
|
@@ -23206,6 +23315,7 @@ declare const Consumers: (internalApi: InternalAPI) => {
|
|
|
23206
23315
|
}, params?: {
|
|
23207
23316
|
folder_id?: string | null | undefined;
|
|
23208
23317
|
financial_counterpart_account?: string | null | undefined;
|
|
23318
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
23209
23319
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
23210
23320
|
date: string;
|
|
23211
23321
|
journal_id: string;
|