@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.
@@ -19,7 +19,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
19
19
  status: "up" | "down";
20
20
  } | null | undefined;
21
21
  }[]>;
22
- createConnection: (body?: components['schemas']['backbone_api__app__routers__connections__PostConnectionItem'] | null) => Promise<{
22
+ createConnection: (body?: components['schemas']['PostConnectionItem-Input'] | null) => Promise<{
23
23
  url: string;
24
24
  }>;
25
25
  updateConnection: (connectionId: string, body?: components['schemas']['PatchConnectionItem']) => Promise<{
@@ -80,6 +80,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
80
80
  total_refund: number | null;
81
81
  total_tip: number | null;
82
82
  delivery_fee: number | null;
83
+ mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
83
84
  currency?: string | null | undefined;
84
85
  country?: string | null | undefined;
85
86
  loyalty?: number | null | undefined;
@@ -158,6 +159,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
158
159
  total_refund: number | null;
159
160
  total_tip: number | null;
160
161
  delivery_fee: number | null;
162
+ mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
161
163
  currency?: string | null | undefined;
162
164
  country?: string | null | undefined;
163
165
  loyalty?: number | null | undefined;
@@ -346,6 +348,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
346
348
  total_refund: number | null;
347
349
  total_tip: number | null;
348
350
  delivery_fee: number | null;
351
+ mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
349
352
  currency?: string | null | undefined;
350
353
  country?: string | null | undefined;
351
354
  loyalty?: number | null | undefined;
@@ -450,6 +453,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
450
453
  total_refund: number | null;
451
454
  total_tip: number | null;
452
455
  delivery_fee: number | null;
456
+ mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
453
457
  currency?: string | null | undefined;
454
458
  country?: string | null | undefined;
455
459
  loyalty?: number | null | undefined;
@@ -902,6 +906,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
902
906
  postal_code?: string | null | undefined;
903
907
  country?: string | null | undefined;
904
908
  }[] | null;
909
+ third_party_account?: string | null | undefined;
905
910
  }[]>;
906
911
  createClient(client: {
907
912
  external_reference?: string | null | undefined;
@@ -975,6 +980,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
975
980
  postal_code?: string | null | undefined;
976
981
  country?: string | null | undefined;
977
982
  }[] | null;
983
+ third_party_account?: string | null | undefined;
978
984
  }>;
979
985
  getClient(clientId: string, params?: {
980
986
  folder_id?: string | null | undefined;
@@ -1014,6 +1020,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
1014
1020
  postal_code?: string | null | undefined;
1015
1021
  country?: string | null | undefined;
1016
1022
  }[] | null;
1023
+ third_party_account?: string | null | undefined;
1017
1024
  }>;
1018
1025
  updateClient(clientId: string, client: {
1019
1026
  external_reference?: string | null | undefined;
@@ -1085,6 +1092,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
1085
1092
  postal_code?: string | null | undefined;
1086
1093
  country?: string | null | undefined;
1087
1094
  }[] | null;
1095
+ third_party_account?: string | null | undefined;
1088
1096
  }>;
1089
1097
  getSuppliers(params?: {
1090
1098
  search?: string | null | undefined;
@@ -1126,6 +1134,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
1126
1134
  postal_code?: string | null | undefined;
1127
1135
  country?: string | null | undefined;
1128
1136
  }[] | null;
1137
+ third_party_account?: string | null | undefined;
1129
1138
  }[]>;
1130
1139
  createSupplier(supplier: {
1131
1140
  external_reference?: string | null | undefined;
@@ -1199,6 +1208,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
1199
1208
  postal_code?: string | null | undefined;
1200
1209
  country?: string | null | undefined;
1201
1210
  }[] | null;
1211
+ third_party_account?: string | null | undefined;
1202
1212
  }>;
1203
1213
  getSupplier(supplierId: string, params?: {
1204
1214
  folder_id?: string | null | undefined;
@@ -1238,6 +1248,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
1238
1248
  postal_code?: string | null | undefined;
1239
1249
  country?: string | null | undefined;
1240
1250
  }[] | null;
1251
+ third_party_account?: string | null | undefined;
1241
1252
  }>;
1242
1253
  updateSupplier(supplierId: string, supplier: {
1243
1254
  external_reference?: string | null | undefined;
@@ -1309,6 +1320,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
1309
1320
  postal_code?: string | null | undefined;
1310
1321
  country?: string | null | undefined;
1311
1322
  }[] | null;
1323
+ third_party_account?: string | null | undefined;
1312
1324
  }>;
1313
1325
  createInvoice(invoice: {
1314
1326
  invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
@@ -1376,6 +1388,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
1376
1388
  force_financial_period?: string | null | undefined;
1377
1389
  regroup_lines?: "true" | "false" | null | undefined;
1378
1390
  ignore_accounting_id?: boolean | undefined;
1391
+ force_currency_exchange?: boolean | null | undefined;
1379
1392
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
1380
1393
  invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
1381
1394
  invoice_number?: string | null | undefined;
@@ -1449,6 +1462,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
1449
1462
  postal_code?: string | null | undefined;
1450
1463
  country?: string | null | undefined;
1451
1464
  }[] | null;
1465
+ third_party_account?: string | null | undefined;
1452
1466
  } | null | undefined;
1453
1467
  due_dates: {
1454
1468
  due_date: string;
@@ -1556,6 +1570,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
1556
1570
  force_financial_period?: string | null | undefined;
1557
1571
  regroup_lines?: "true" | "false" | null | undefined;
1558
1572
  ignore_accounting_id?: boolean | undefined;
1573
+ force_currency_exchange?: boolean | null | undefined;
1559
1574
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
1560
1575
  invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
1561
1576
  invoice_number?: string | null | undefined;
@@ -1629,6 +1644,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
1629
1644
  postal_code?: string | null | undefined;
1630
1645
  country?: string | null | undefined;
1631
1646
  }[] | null;
1647
+ third_party_account?: string | null | undefined;
1632
1648
  } | null | undefined;
1633
1649
  due_dates: {
1634
1650
  due_date: string;
@@ -1753,6 +1769,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
1753
1769
  postal_code?: string | null | undefined;
1754
1770
  country?: string | null | undefined;
1755
1771
  }[] | null;
1772
+ third_party_account?: string | null | undefined;
1756
1773
  } | null | undefined;
1757
1774
  due_dates: {
1758
1775
  due_date: string;
@@ -1866,6 +1883,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
1866
1883
  postal_code?: string | null | undefined;
1867
1884
  country?: string | null | undefined;
1868
1885
  }[] | null;
1886
+ third_party_account?: string | null | undefined;
1869
1887
  } | null | undefined;
1870
1888
  due_dates: {
1871
1889
  due_date: string;
@@ -1979,6 +1997,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
1979
1997
  postal_code?: string | null | undefined;
1980
1998
  country?: string | null | undefined;
1981
1999
  }[] | null;
2000
+ third_party_account?: string | null | undefined;
1982
2001
  } | null | undefined;
1983
2002
  due_dates: {
1984
2003
  due_date: string;
@@ -2103,6 +2122,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
2103
2122
  postal_code?: string | null | undefined;
2104
2123
  country?: string | null | undefined;
2105
2124
  }[] | null;
2125
+ third_party_account?: string | null | undefined;
2106
2126
  } | null | undefined;
2107
2127
  due_dates: {
2108
2128
  due_date: string;
@@ -2631,6 +2651,7 @@ declare const Consumer: (internalApi: InternalAPI, body: operations[chiftOperati
2631
2651
  }, params?: {
2632
2652
  folder_id?: string | null | undefined;
2633
2653
  financial_counterpart_account?: string | null | undefined;
2654
+ force_currency_exchange?: boolean | null | undefined;
2634
2655
  } | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
2635
2656
  date: string;
2636
2657
  journal_id: string;