@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.
@@ -97,6 +97,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
97
97
  name: string;
98
98
  redirect_url: string | null | undefined;
99
99
  email: string | null | undefined;
100
+ internal_reference: string | null | undefined;
100
101
  pos: import("../types/api").ApiFor<{
101
102
  getLocations(options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
102
103
  id: string;
@@ -132,6 +133,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
132
133
  total_refund: number | null;
133
134
  total_tip: number | null;
134
135
  delivery_fee: number | null;
136
+ mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
135
137
  currency?: string | null | undefined;
136
138
  country?: string | null | undefined;
137
139
  loyalty?: number | null | undefined;
@@ -210,6 +212,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
210
212
  total_refund: number | null;
211
213
  total_tip: number | null;
212
214
  delivery_fee: number | null;
215
+ mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
213
216
  currency?: string | null | undefined;
214
217
  country?: string | null | undefined;
215
218
  loyalty?: number | null | undefined;
@@ -398,6 +401,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
398
401
  total_refund: number | null;
399
402
  total_tip: number | null;
400
403
  delivery_fee: number | null;
404
+ mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
401
405
  currency?: string | null | undefined;
402
406
  country?: string | null | undefined;
403
407
  loyalty?: number | null | undefined;
@@ -502,6 +506,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
502
506
  total_refund: number | null;
503
507
  total_tip: number | null;
504
508
  delivery_fee: number | null;
509
+ mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
505
510
  currency?: string | null | undefined;
506
511
  country?: string | null | undefined;
507
512
  loyalty?: number | null | undefined;
@@ -954,6 +959,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
954
959
  postal_code?: string | null | undefined;
955
960
  country?: string | null | undefined;
956
961
  }[] | null;
962
+ third_party_account?: string | null | undefined;
957
963
  }[]>;
958
964
  createClient(client: {
959
965
  external_reference?: string | null | undefined;
@@ -1027,6 +1033,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1027
1033
  postal_code?: string | null | undefined;
1028
1034
  country?: string | null | undefined;
1029
1035
  }[] | null;
1036
+ third_party_account?: string | null | undefined;
1030
1037
  }>;
1031
1038
  getClient(clientId: string, params?: {
1032
1039
  folder_id?: string | null | undefined;
@@ -1066,6 +1073,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1066
1073
  postal_code?: string | null | undefined;
1067
1074
  country?: string | null | undefined;
1068
1075
  }[] | null;
1076
+ third_party_account?: string | null | undefined;
1069
1077
  }>;
1070
1078
  updateClient(clientId: string, client: {
1071
1079
  external_reference?: string | null | undefined;
@@ -1137,6 +1145,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1137
1145
  postal_code?: string | null | undefined;
1138
1146
  country?: string | null | undefined;
1139
1147
  }[] | null;
1148
+ third_party_account?: string | null | undefined;
1140
1149
  }>;
1141
1150
  getSuppliers(params?: {
1142
1151
  search?: string | null | undefined;
@@ -1178,6 +1187,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1178
1187
  postal_code?: string | null | undefined;
1179
1188
  country?: string | null | undefined;
1180
1189
  }[] | null;
1190
+ third_party_account?: string | null | undefined;
1181
1191
  }[]>;
1182
1192
  createSupplier(supplier: {
1183
1193
  external_reference?: string | null | undefined;
@@ -1251,6 +1261,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1251
1261
  postal_code?: string | null | undefined;
1252
1262
  country?: string | null | undefined;
1253
1263
  }[] | null;
1264
+ third_party_account?: string | null | undefined;
1254
1265
  }>;
1255
1266
  getSupplier(supplierId: string, params?: {
1256
1267
  folder_id?: string | null | undefined;
@@ -1290,6 +1301,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1290
1301
  postal_code?: string | null | undefined;
1291
1302
  country?: string | null | undefined;
1292
1303
  }[] | null;
1304
+ third_party_account?: string | null | undefined;
1293
1305
  }>;
1294
1306
  updateSupplier(supplierId: string, supplier: {
1295
1307
  external_reference?: string | null | undefined;
@@ -1361,6 +1373,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1361
1373
  postal_code?: string | null | undefined;
1362
1374
  country?: string | null | undefined;
1363
1375
  }[] | null;
1376
+ third_party_account?: string | null | undefined;
1364
1377
  }>;
1365
1378
  createInvoice(invoice: {
1366
1379
  invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
@@ -1428,6 +1441,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1428
1441
  force_financial_period?: string | null | undefined;
1429
1442
  regroup_lines?: "true" | "false" | null | undefined;
1430
1443
  ignore_accounting_id?: boolean | undefined;
1444
+ force_currency_exchange?: boolean | null | undefined;
1431
1445
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
1432
1446
  invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
1433
1447
  invoice_number?: string | null | undefined;
@@ -1501,6 +1515,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1501
1515
  postal_code?: string | null | undefined;
1502
1516
  country?: string | null | undefined;
1503
1517
  }[] | null;
1518
+ third_party_account?: string | null | undefined;
1504
1519
  } | null | undefined;
1505
1520
  due_dates: {
1506
1521
  due_date: string;
@@ -1608,6 +1623,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1608
1623
  force_financial_period?: string | null | undefined;
1609
1624
  regroup_lines?: "true" | "false" | null | undefined;
1610
1625
  ignore_accounting_id?: boolean | undefined;
1626
+ force_currency_exchange?: boolean | null | undefined;
1611
1627
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
1612
1628
  invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
1613
1629
  invoice_number?: string | null | undefined;
@@ -1681,6 +1697,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1681
1697
  postal_code?: string | null | undefined;
1682
1698
  country?: string | null | undefined;
1683
1699
  }[] | null;
1700
+ third_party_account?: string | null | undefined;
1684
1701
  } | null | undefined;
1685
1702
  due_dates: {
1686
1703
  due_date: string;
@@ -1805,6 +1822,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1805
1822
  postal_code?: string | null | undefined;
1806
1823
  country?: string | null | undefined;
1807
1824
  }[] | null;
1825
+ third_party_account?: string | null | undefined;
1808
1826
  } | null | undefined;
1809
1827
  due_dates: {
1810
1828
  due_date: string;
@@ -1918,6 +1936,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
1918
1936
  postal_code?: string | null | undefined;
1919
1937
  country?: string | null | undefined;
1920
1938
  }[] | null;
1939
+ third_party_account?: string | null | undefined;
1921
1940
  } | null | undefined;
1922
1941
  due_dates: {
1923
1942
  due_date: string;
@@ -2031,6 +2050,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2031
2050
  postal_code?: string | null | undefined;
2032
2051
  country?: string | null | undefined;
2033
2052
  }[] | null;
2053
+ third_party_account?: string | null | undefined;
2034
2054
  } | null | undefined;
2035
2055
  due_dates: {
2036
2056
  due_date: string;
@@ -2155,6 +2175,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2155
2175
  postal_code?: string | null | undefined;
2156
2176
  country?: string | null | undefined;
2157
2177
  }[] | null;
2178
+ third_party_account?: string | null | undefined;
2158
2179
  } | null | undefined;
2159
2180
  due_dates: {
2160
2181
  due_date: string;
@@ -2683,6 +2704,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
2683
2704
  }, params?: {
2684
2705
  folder_id?: string | null | undefined;
2685
2706
  financial_counterpart_account?: string | null | undefined;
2707
+ force_currency_exchange?: boolean | null | undefined;
2686
2708
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
2687
2709
  date: string;
2688
2710
  journal_id: string;
@@ -5256,6 +5278,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
5256
5278
  name: string;
5257
5279
  redirect_url: string | null | undefined;
5258
5280
  email: string | null | undefined;
5281
+ internal_reference: string | null | undefined;
5259
5282
  pos: import("../types/api").ApiFor<{
5260
5283
  getLocations(options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
5261
5284
  id: string;
@@ -5291,6 +5314,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
5291
5314
  total_refund: number | null;
5292
5315
  total_tip: number | null;
5293
5316
  delivery_fee: number | null;
5317
+ mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
5294
5318
  currency?: string | null | undefined;
5295
5319
  country?: string | null | undefined;
5296
5320
  loyalty?: number | null | undefined;
@@ -5369,6 +5393,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
5369
5393
  total_refund: number | null;
5370
5394
  total_tip: number | null;
5371
5395
  delivery_fee: number | null;
5396
+ mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
5372
5397
  currency?: string | null | undefined;
5373
5398
  country?: string | null | undefined;
5374
5399
  loyalty?: number | null | undefined;
@@ -5557,6 +5582,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
5557
5582
  total_refund: number | null;
5558
5583
  total_tip: number | null;
5559
5584
  delivery_fee: number | null;
5585
+ mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
5560
5586
  currency?: string | null | undefined;
5561
5587
  country?: string | null | undefined;
5562
5588
  loyalty?: number | null | undefined;
@@ -5661,6 +5687,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
5661
5687
  total_refund: number | null;
5662
5688
  total_tip: number | null;
5663
5689
  delivery_fee: number | null;
5690
+ mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
5664
5691
  currency?: string | null | undefined;
5665
5692
  country?: string | null | undefined;
5666
5693
  loyalty?: number | null | undefined;
@@ -6113,6 +6140,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6113
6140
  postal_code?: string | null | undefined;
6114
6141
  country?: string | null | undefined;
6115
6142
  }[] | null;
6143
+ third_party_account?: string | null | undefined;
6116
6144
  }[]>;
6117
6145
  createClient(client: {
6118
6146
  external_reference?: string | null | undefined;
@@ -6186,6 +6214,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6186
6214
  postal_code?: string | null | undefined;
6187
6215
  country?: string | null | undefined;
6188
6216
  }[] | null;
6217
+ third_party_account?: string | null | undefined;
6189
6218
  }>;
6190
6219
  getClient(clientId: string, params?: {
6191
6220
  folder_id?: string | null | undefined;
@@ -6225,6 +6254,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6225
6254
  postal_code?: string | null | undefined;
6226
6255
  country?: string | null | undefined;
6227
6256
  }[] | null;
6257
+ third_party_account?: string | null | undefined;
6228
6258
  }>;
6229
6259
  updateClient(clientId: string, client: {
6230
6260
  external_reference?: string | null | undefined;
@@ -6296,6 +6326,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6296
6326
  postal_code?: string | null | undefined;
6297
6327
  country?: string | null | undefined;
6298
6328
  }[] | null;
6329
+ third_party_account?: string | null | undefined;
6299
6330
  }>;
6300
6331
  getSuppliers(params?: {
6301
6332
  search?: string | null | undefined;
@@ -6337,6 +6368,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6337
6368
  postal_code?: string | null | undefined;
6338
6369
  country?: string | null | undefined;
6339
6370
  }[] | null;
6371
+ third_party_account?: string | null | undefined;
6340
6372
  }[]>;
6341
6373
  createSupplier(supplier: {
6342
6374
  external_reference?: string | null | undefined;
@@ -6410,6 +6442,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6410
6442
  postal_code?: string | null | undefined;
6411
6443
  country?: string | null | undefined;
6412
6444
  }[] | null;
6445
+ third_party_account?: string | null | undefined;
6413
6446
  }>;
6414
6447
  getSupplier(supplierId: string, params?: {
6415
6448
  folder_id?: string | null | undefined;
@@ -6449,6 +6482,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6449
6482
  postal_code?: string | null | undefined;
6450
6483
  country?: string | null | undefined;
6451
6484
  }[] | null;
6485
+ third_party_account?: string | null | undefined;
6452
6486
  }>;
6453
6487
  updateSupplier(supplierId: string, supplier: {
6454
6488
  external_reference?: string | null | undefined;
@@ -6520,6 +6554,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6520
6554
  postal_code?: string | null | undefined;
6521
6555
  country?: string | null | undefined;
6522
6556
  }[] | null;
6557
+ third_party_account?: string | null | undefined;
6523
6558
  }>;
6524
6559
  createInvoice(invoice: {
6525
6560
  invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
@@ -6587,6 +6622,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6587
6622
  force_financial_period?: string | null | undefined;
6588
6623
  regroup_lines?: "true" | "false" | null | undefined;
6589
6624
  ignore_accounting_id?: boolean | undefined;
6625
+ force_currency_exchange?: boolean | null | undefined;
6590
6626
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
6591
6627
  invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
6592
6628
  invoice_number?: string | null | undefined;
@@ -6660,6 +6696,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6660
6696
  postal_code?: string | null | undefined;
6661
6697
  country?: string | null | undefined;
6662
6698
  }[] | null;
6699
+ third_party_account?: string | null | undefined;
6663
6700
  } | null | undefined;
6664
6701
  due_dates: {
6665
6702
  due_date: string;
@@ -6767,6 +6804,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6767
6804
  force_financial_period?: string | null | undefined;
6768
6805
  regroup_lines?: "true" | "false" | null | undefined;
6769
6806
  ignore_accounting_id?: boolean | undefined;
6807
+ force_currency_exchange?: boolean | null | undefined;
6770
6808
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
6771
6809
  invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
6772
6810
  invoice_number?: string | null | undefined;
@@ -6840,6 +6878,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6840
6878
  postal_code?: string | null | undefined;
6841
6879
  country?: string | null | undefined;
6842
6880
  }[] | null;
6881
+ third_party_account?: string | null | undefined;
6843
6882
  } | null | undefined;
6844
6883
  due_dates: {
6845
6884
  due_date: string;
@@ -6964,6 +7003,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
6964
7003
  postal_code?: string | null | undefined;
6965
7004
  country?: string | null | undefined;
6966
7005
  }[] | null;
7006
+ third_party_account?: string | null | undefined;
6967
7007
  } | null | undefined;
6968
7008
  due_dates: {
6969
7009
  due_date: string;
@@ -7077,6 +7117,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
7077
7117
  postal_code?: string | null | undefined;
7078
7118
  country?: string | null | undefined;
7079
7119
  }[] | null;
7120
+ third_party_account?: string | null | undefined;
7080
7121
  } | null | undefined;
7081
7122
  due_dates: {
7082
7123
  due_date: string;
@@ -7190,6 +7231,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
7190
7231
  postal_code?: string | null | undefined;
7191
7232
  country?: string | null | undefined;
7192
7233
  }[] | null;
7234
+ third_party_account?: string | null | undefined;
7193
7235
  } | null | undefined;
7194
7236
  due_dates: {
7195
7237
  due_date: string;
@@ -7314,6 +7356,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
7314
7356
  postal_code?: string | null | undefined;
7315
7357
  country?: string | null | undefined;
7316
7358
  }[] | null;
7359
+ third_party_account?: string | null | undefined;
7317
7360
  } | null | undefined;
7318
7361
  due_dates: {
7319
7362
  due_date: string;
@@ -7842,6 +7885,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
7842
7885
  }, params?: {
7843
7886
  folder_id?: string | null | undefined;
7844
7887
  financial_counterpart_account?: string | null | undefined;
7888
+ force_currency_exchange?: boolean | null | undefined;
7845
7889
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
7846
7890
  date: string;
7847
7891
  journal_id: string;
@@ -10415,6 +10459,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
10415
10459
  name: string;
10416
10460
  redirect_url: string | null | undefined;
10417
10461
  email: string | null | undefined;
10462
+ internal_reference: string | null | undefined;
10418
10463
  pos: import("../types/api").ApiFor<{
10419
10464
  getLocations(options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
10420
10465
  id: string;
@@ -10450,6 +10495,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
10450
10495
  total_refund: number | null;
10451
10496
  total_tip: number | null;
10452
10497
  delivery_fee: number | null;
10498
+ mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
10453
10499
  currency?: string | null | undefined;
10454
10500
  country?: string | null | undefined;
10455
10501
  loyalty?: number | null | undefined;
@@ -10528,6 +10574,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
10528
10574
  total_refund: number | null;
10529
10575
  total_tip: number | null;
10530
10576
  delivery_fee: number | null;
10577
+ mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
10531
10578
  currency?: string | null | undefined;
10532
10579
  country?: string | null | undefined;
10533
10580
  loyalty?: number | null | undefined;
@@ -10716,6 +10763,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
10716
10763
  total_refund: number | null;
10717
10764
  total_tip: number | null;
10718
10765
  delivery_fee: number | null;
10766
+ mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
10719
10767
  currency?: string | null | undefined;
10720
10768
  country?: string | null | undefined;
10721
10769
  loyalty?: number | null | undefined;
@@ -10820,6 +10868,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
10820
10868
  total_refund: number | null;
10821
10869
  total_tip: number | null;
10822
10870
  delivery_fee: number | null;
10871
+ mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
10823
10872
  currency?: string | null | undefined;
10824
10873
  country?: string | null | undefined;
10825
10874
  loyalty?: number | null | undefined;
@@ -11272,6 +11321,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
11272
11321
  postal_code?: string | null | undefined;
11273
11322
  country?: string | null | undefined;
11274
11323
  }[] | null;
11324
+ third_party_account?: string | null | undefined;
11275
11325
  }[]>;
11276
11326
  createClient(client: {
11277
11327
  external_reference?: string | null | undefined;
@@ -11345,6 +11395,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
11345
11395
  postal_code?: string | null | undefined;
11346
11396
  country?: string | null | undefined;
11347
11397
  }[] | null;
11398
+ third_party_account?: string | null | undefined;
11348
11399
  }>;
11349
11400
  getClient(clientId: string, params?: {
11350
11401
  folder_id?: string | null | undefined;
@@ -11384,6 +11435,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
11384
11435
  postal_code?: string | null | undefined;
11385
11436
  country?: string | null | undefined;
11386
11437
  }[] | null;
11438
+ third_party_account?: string | null | undefined;
11387
11439
  }>;
11388
11440
  updateClient(clientId: string, client: {
11389
11441
  external_reference?: string | null | undefined;
@@ -11455,6 +11507,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
11455
11507
  postal_code?: string | null | undefined;
11456
11508
  country?: string | null | undefined;
11457
11509
  }[] | null;
11510
+ third_party_account?: string | null | undefined;
11458
11511
  }>;
11459
11512
  getSuppliers(params?: {
11460
11513
  search?: string | null | undefined;
@@ -11496,6 +11549,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
11496
11549
  postal_code?: string | null | undefined;
11497
11550
  country?: string | null | undefined;
11498
11551
  }[] | null;
11552
+ third_party_account?: string | null | undefined;
11499
11553
  }[]>;
11500
11554
  createSupplier(supplier: {
11501
11555
  external_reference?: string | null | undefined;
@@ -11569,6 +11623,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
11569
11623
  postal_code?: string | null | undefined;
11570
11624
  country?: string | null | undefined;
11571
11625
  }[] | null;
11626
+ third_party_account?: string | null | undefined;
11572
11627
  }>;
11573
11628
  getSupplier(supplierId: string, params?: {
11574
11629
  folder_id?: string | null | undefined;
@@ -11608,6 +11663,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
11608
11663
  postal_code?: string | null | undefined;
11609
11664
  country?: string | null | undefined;
11610
11665
  }[] | null;
11666
+ third_party_account?: string | null | undefined;
11611
11667
  }>;
11612
11668
  updateSupplier(supplierId: string, supplier: {
11613
11669
  external_reference?: string | null | undefined;
@@ -11679,6 +11735,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
11679
11735
  postal_code?: string | null | undefined;
11680
11736
  country?: string | null | undefined;
11681
11737
  }[] | null;
11738
+ third_party_account?: string | null | undefined;
11682
11739
  }>;
11683
11740
  createInvoice(invoice: {
11684
11741
  invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
@@ -11746,6 +11803,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
11746
11803
  force_financial_period?: string | null | undefined;
11747
11804
  regroup_lines?: "true" | "false" | null | undefined;
11748
11805
  ignore_accounting_id?: boolean | undefined;
11806
+ force_currency_exchange?: boolean | null | undefined;
11749
11807
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
11750
11808
  invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
11751
11809
  invoice_number?: string | null | undefined;
@@ -11819,6 +11877,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
11819
11877
  postal_code?: string | null | undefined;
11820
11878
  country?: string | null | undefined;
11821
11879
  }[] | null;
11880
+ third_party_account?: string | null | undefined;
11822
11881
  } | null | undefined;
11823
11882
  due_dates: {
11824
11883
  due_date: string;
@@ -11926,6 +11985,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
11926
11985
  force_financial_period?: string | null | undefined;
11927
11986
  regroup_lines?: "true" | "false" | null | undefined;
11928
11987
  ignore_accounting_id?: boolean | undefined;
11988
+ force_currency_exchange?: boolean | null | undefined;
11929
11989
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
11930
11990
  invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
11931
11991
  invoice_number?: string | null | undefined;
@@ -11999,6 +12059,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
11999
12059
  postal_code?: string | null | undefined;
12000
12060
  country?: string | null | undefined;
12001
12061
  }[] | null;
12062
+ third_party_account?: string | null | undefined;
12002
12063
  } | null | undefined;
12003
12064
  due_dates: {
12004
12065
  due_date: string;
@@ -12123,6 +12184,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12123
12184
  postal_code?: string | null | undefined;
12124
12185
  country?: string | null | undefined;
12125
12186
  }[] | null;
12187
+ third_party_account?: string | null | undefined;
12126
12188
  } | null | undefined;
12127
12189
  due_dates: {
12128
12190
  due_date: string;
@@ -12236,6 +12298,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12236
12298
  postal_code?: string | null | undefined;
12237
12299
  country?: string | null | undefined;
12238
12300
  }[] | null;
12301
+ third_party_account?: string | null | undefined;
12239
12302
  } | null | undefined;
12240
12303
  due_dates: {
12241
12304
  due_date: string;
@@ -12349,6 +12412,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12349
12412
  postal_code?: string | null | undefined;
12350
12413
  country?: string | null | undefined;
12351
12414
  }[] | null;
12415
+ third_party_account?: string | null | undefined;
12352
12416
  } | null | undefined;
12353
12417
  due_dates: {
12354
12418
  due_date: string;
@@ -12473,6 +12537,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
12473
12537
  postal_code?: string | null | undefined;
12474
12538
  country?: string | null | undefined;
12475
12539
  }[] | null;
12540
+ third_party_account?: string | null | undefined;
12476
12541
  } | null | undefined;
12477
12542
  due_dates: {
12478
12543
  due_date: string;
@@ -13001,6 +13066,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
13001
13066
  }, params?: {
13002
13067
  folder_id?: string | null | undefined;
13003
13068
  financial_counterpart_account?: string | null | undefined;
13069
+ force_currency_exchange?: boolean | null | undefined;
13004
13070
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
13005
13071
  date: string;
13006
13072
  journal_id: string;
@@ -15574,6 +15640,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
15574
15640
  name: string;
15575
15641
  redirect_url: string | null | undefined;
15576
15642
  email: string | null | undefined;
15643
+ internal_reference: string | null | undefined;
15577
15644
  pos: import("../types/api").ApiFor<{
15578
15645
  getLocations(options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
15579
15646
  id: string;
@@ -15609,6 +15676,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
15609
15676
  total_refund: number | null;
15610
15677
  total_tip: number | null;
15611
15678
  delivery_fee: number | null;
15679
+ mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
15612
15680
  currency?: string | null | undefined;
15613
15681
  country?: string | null | undefined;
15614
15682
  loyalty?: number | null | undefined;
@@ -15687,6 +15755,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
15687
15755
  total_refund: number | null;
15688
15756
  total_tip: number | null;
15689
15757
  delivery_fee: number | null;
15758
+ mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
15690
15759
  currency?: string | null | undefined;
15691
15760
  country?: string | null | undefined;
15692
15761
  loyalty?: number | null | undefined;
@@ -15875,6 +15944,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
15875
15944
  total_refund: number | null;
15876
15945
  total_tip: number | null;
15877
15946
  delivery_fee: number | null;
15947
+ mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
15878
15948
  currency?: string | null | undefined;
15879
15949
  country?: string | null | undefined;
15880
15950
  loyalty?: number | null | undefined;
@@ -15979,6 +16049,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
15979
16049
  total_refund: number | null;
15980
16050
  total_tip: number | null;
15981
16051
  delivery_fee: number | null;
16052
+ mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
15982
16053
  currency?: string | null | undefined;
15983
16054
  country?: string | null | undefined;
15984
16055
  loyalty?: number | null | undefined;
@@ -16431,6 +16502,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
16431
16502
  postal_code?: string | null | undefined;
16432
16503
  country?: string | null | undefined;
16433
16504
  }[] | null;
16505
+ third_party_account?: string | null | undefined;
16434
16506
  }[]>;
16435
16507
  createClient(client: {
16436
16508
  external_reference?: string | null | undefined;
@@ -16504,6 +16576,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
16504
16576
  postal_code?: string | null | undefined;
16505
16577
  country?: string | null | undefined;
16506
16578
  }[] | null;
16579
+ third_party_account?: string | null | undefined;
16507
16580
  }>;
16508
16581
  getClient(clientId: string, params?: {
16509
16582
  folder_id?: string | null | undefined;
@@ -16543,6 +16616,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
16543
16616
  postal_code?: string | null | undefined;
16544
16617
  country?: string | null | undefined;
16545
16618
  }[] | null;
16619
+ third_party_account?: string | null | undefined;
16546
16620
  }>;
16547
16621
  updateClient(clientId: string, client: {
16548
16622
  external_reference?: string | null | undefined;
@@ -16614,6 +16688,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
16614
16688
  postal_code?: string | null | undefined;
16615
16689
  country?: string | null | undefined;
16616
16690
  }[] | null;
16691
+ third_party_account?: string | null | undefined;
16617
16692
  }>;
16618
16693
  getSuppliers(params?: {
16619
16694
  search?: string | null | undefined;
@@ -16655,6 +16730,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
16655
16730
  postal_code?: string | null | undefined;
16656
16731
  country?: string | null | undefined;
16657
16732
  }[] | null;
16733
+ third_party_account?: string | null | undefined;
16658
16734
  }[]>;
16659
16735
  createSupplier(supplier: {
16660
16736
  external_reference?: string | null | undefined;
@@ -16728,6 +16804,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
16728
16804
  postal_code?: string | null | undefined;
16729
16805
  country?: string | null | undefined;
16730
16806
  }[] | null;
16807
+ third_party_account?: string | null | undefined;
16731
16808
  }>;
16732
16809
  getSupplier(supplierId: string, params?: {
16733
16810
  folder_id?: string | null | undefined;
@@ -16767,6 +16844,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
16767
16844
  postal_code?: string | null | undefined;
16768
16845
  country?: string | null | undefined;
16769
16846
  }[] | null;
16847
+ third_party_account?: string | null | undefined;
16770
16848
  }>;
16771
16849
  updateSupplier(supplierId: string, supplier: {
16772
16850
  external_reference?: string | null | undefined;
@@ -16838,6 +16916,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
16838
16916
  postal_code?: string | null | undefined;
16839
16917
  country?: string | null | undefined;
16840
16918
  }[] | null;
16919
+ third_party_account?: string | null | undefined;
16841
16920
  }>;
16842
16921
  createInvoice(invoice: {
16843
16922
  invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
@@ -16905,6 +16984,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
16905
16984
  force_financial_period?: string | null | undefined;
16906
16985
  regroup_lines?: "true" | "false" | null | undefined;
16907
16986
  ignore_accounting_id?: boolean | undefined;
16987
+ force_currency_exchange?: boolean | null | undefined;
16908
16988
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
16909
16989
  invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
16910
16990
  invoice_number?: string | null | undefined;
@@ -16978,6 +17058,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
16978
17058
  postal_code?: string | null | undefined;
16979
17059
  country?: string | null | undefined;
16980
17060
  }[] | null;
17061
+ third_party_account?: string | null | undefined;
16981
17062
  } | null | undefined;
16982
17063
  due_dates: {
16983
17064
  due_date: string;
@@ -17085,6 +17166,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
17085
17166
  force_financial_period?: string | null | undefined;
17086
17167
  regroup_lines?: "true" | "false" | null | undefined;
17087
17168
  ignore_accounting_id?: boolean | undefined;
17169
+ force_currency_exchange?: boolean | null | undefined;
17088
17170
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
17089
17171
  invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
17090
17172
  invoice_number?: string | null | undefined;
@@ -17158,6 +17240,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
17158
17240
  postal_code?: string | null | undefined;
17159
17241
  country?: string | null | undefined;
17160
17242
  }[] | null;
17243
+ third_party_account?: string | null | undefined;
17161
17244
  } | null | undefined;
17162
17245
  due_dates: {
17163
17246
  due_date: string;
@@ -17282,6 +17365,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
17282
17365
  postal_code?: string | null | undefined;
17283
17366
  country?: string | null | undefined;
17284
17367
  }[] | null;
17368
+ third_party_account?: string | null | undefined;
17285
17369
  } | null | undefined;
17286
17370
  due_dates: {
17287
17371
  due_date: string;
@@ -17395,6 +17479,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
17395
17479
  postal_code?: string | null | undefined;
17396
17480
  country?: string | null | undefined;
17397
17481
  }[] | null;
17482
+ third_party_account?: string | null | undefined;
17398
17483
  } | null | undefined;
17399
17484
  due_dates: {
17400
17485
  due_date: string;
@@ -17508,6 +17593,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
17508
17593
  postal_code?: string | null | undefined;
17509
17594
  country?: string | null | undefined;
17510
17595
  }[] | null;
17596
+ third_party_account?: string | null | undefined;
17511
17597
  } | null | undefined;
17512
17598
  due_dates: {
17513
17599
  due_date: string;
@@ -17632,6 +17718,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
17632
17718
  postal_code?: string | null | undefined;
17633
17719
  country?: string | null | undefined;
17634
17720
  }[] | null;
17721
+ third_party_account?: string | null | undefined;
17635
17722
  } | null | undefined;
17636
17723
  due_dates: {
17637
17724
  due_date: string;
@@ -18160,6 +18247,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
18160
18247
  }, params?: {
18161
18248
  folder_id?: string | null | undefined;
18162
18249
  financial_counterpart_account?: string | null | undefined;
18250
+ force_currency_exchange?: boolean | null | undefined;
18163
18251
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
18164
18252
  date: string;
18165
18253
  journal_id: string;