@chift/chift-nodejs 1.0.31 → 1.0.32

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.
@@ -896,50 +896,6 @@ export interface paths {
896
896
  patch?: never;
897
897
  trace?: never;
898
898
  };
899
- '/consumers/{consumer_id}/accounting/accounts': {
900
- parameters: {
901
- query?: never;
902
- header?: never;
903
- path?: never;
904
- cookie?: never;
905
- };
906
- get?: never;
907
- put?: never;
908
- /**
909
- * Create ledger account
910
- * @description Create a new ledger account in the chart of accounts
911
- */
912
- post: operations['accounting_create_ledger_account'];
913
- delete?: never;
914
- options?: never;
915
- head?: never;
916
- patch?: never;
917
- trace?: never;
918
- };
919
- '/consumers/{consumer_id}/accounting/bank-accounts': {
920
- parameters: {
921
- query?: never;
922
- header?: never;
923
- path?: never;
924
- cookie?: never;
925
- };
926
- /**
927
- * Get bank accounts
928
- * @description Returns a list of bank accounts in the accounting system
929
- */
930
- get: operations['accounting_get_bank_accounts'];
931
- put?: never;
932
- /**
933
- * Create bank account
934
- * @description Create a new bank account in the accounting system
935
- */
936
- post: operations['accounting_create_bank_account'];
937
- delete?: never;
938
- options?: never;
939
- head?: never;
940
- patch?: never;
941
- trace?: never;
942
- };
943
899
  '/consumers/{consumer_id}/accounting/analytic-accounts': {
944
900
  parameters: {
945
901
  query?: never;
@@ -1172,40 +1128,40 @@ export interface paths {
1172
1128
  patch?: never;
1173
1129
  trace?: never;
1174
1130
  };
1175
- '/consumers/{consumer_id}/accounting/payment-terms': {
1131
+ '/consumers/{consumer_id}/accounting/invoices/payments': {
1176
1132
  parameters: {
1177
1133
  query?: never;
1178
1134
  header?: never;
1179
1135
  path?: never;
1180
1136
  cookie?: never;
1181
1137
  };
1138
+ get?: never;
1139
+ put?: never;
1182
1140
  /**
1183
- * Get payment terms
1184
- * @description Get payment terms
1141
+ * Create an invoice payment
1142
+ * @description Create invoice payment
1185
1143
  */
1186
- get: operations['accounting_get_payment_terms'];
1187
- put?: never;
1188
- post?: never;
1144
+ post: operations['accounting_create_invoice_payment'];
1189
1145
  delete?: never;
1190
1146
  options?: never;
1191
1147
  head?: never;
1192
1148
  patch?: never;
1193
1149
  trace?: never;
1194
1150
  };
1195
- '/consumers/{consumer_id}/accounting/invoices/payments': {
1151
+ '/consumers/{consumer_id}/accounting/payment-terms': {
1196
1152
  parameters: {
1197
1153
  query?: never;
1198
1154
  header?: never;
1199
1155
  path?: never;
1200
1156
  cookie?: never;
1201
1157
  };
1202
- get?: never;
1203
- put?: never;
1204
1158
  /**
1205
- * Create an invoice payment
1206
- * @description Create invoice payment
1159
+ * Get payment terms
1160
+ * @description Get payment terms
1207
1161
  */
1208
- post: operations['accounting_create_invoice_payment'];
1162
+ get: operations['accounting_get_payment_terms'];
1163
+ put?: never;
1164
+ post?: never;
1209
1165
  delete?: never;
1210
1166
  options?: never;
1211
1167
  head?: never;
@@ -1356,40 +1312,40 @@ export interface paths {
1356
1312
  patch?: never;
1357
1313
  trace?: never;
1358
1314
  };
1359
- '/consumers/{consumer_id}/accounting/invoices/pdf/{invoice_id}': {
1315
+ '/consumers/{consumer_id}/accounting/attachments': {
1360
1316
  parameters: {
1361
1317
  query?: never;
1362
1318
  header?: never;
1363
1319
  path?: never;
1364
1320
  cookie?: never;
1365
1321
  };
1366
- get?: never;
1367
- put?: never;
1368
1322
  /**
1369
- * Attach a document (PDF)
1370
- * @description Attach a document (PDF) to the invoice entry
1323
+ * Get attachments
1324
+ * @description Returns a list of all attachments linked to an accounting entry
1371
1325
  */
1372
- post: operations['accounting_add_attachment'];
1326
+ get: operations['accounting_get_attachments'];
1327
+ put?: never;
1328
+ post?: never;
1373
1329
  delete?: never;
1374
1330
  options?: never;
1375
1331
  head?: never;
1376
1332
  patch?: never;
1377
1333
  trace?: never;
1378
1334
  };
1379
- '/consumers/{consumer_id}/accounting/attachments': {
1335
+ '/consumers/{consumer_id}/accounting/invoices/pdf/{invoice_id}': {
1380
1336
  parameters: {
1381
1337
  query?: never;
1382
1338
  header?: never;
1383
1339
  path?: never;
1384
1340
  cookie?: never;
1385
1341
  };
1342
+ get?: never;
1343
+ put?: never;
1386
1344
  /**
1387
- * Get attachments
1388
- * @description Returns a list of all attachments linked to an accounting entry
1345
+ * Attach a document (PDF)
1346
+ * @description Attach a document (PDF) to the invoice entry
1389
1347
  */
1390
- get: operations['accounting_get_attachments'];
1391
- put?: never;
1392
- post?: never;
1348
+ post: operations['accounting_add_attachment'];
1393
1349
  delete?: never;
1394
1350
  options?: never;
1395
1351
  head?: never;
@@ -1436,6 +1392,50 @@ export interface paths {
1436
1392
  patch?: never;
1437
1393
  trace?: never;
1438
1394
  };
1395
+ '/consumers/{consumer_id}/accounting/bank-accounts': {
1396
+ parameters: {
1397
+ query?: never;
1398
+ header?: never;
1399
+ path?: never;
1400
+ cookie?: never;
1401
+ };
1402
+ /**
1403
+ * Get bank accounts
1404
+ * @description Returns a list of bank accounts in the accounting system
1405
+ */
1406
+ get: operations['accounting_get_bank_accounts'];
1407
+ put?: never;
1408
+ /**
1409
+ * Create bank account
1410
+ * @description Create a new bank account in the accounting system
1411
+ */
1412
+ post: operations['accounting_create_bank_account'];
1413
+ delete?: never;
1414
+ options?: never;
1415
+ head?: never;
1416
+ patch?: never;
1417
+ trace?: never;
1418
+ };
1419
+ '/consumers/{consumer_id}/accounting/bank-transactions': {
1420
+ parameters: {
1421
+ query?: never;
1422
+ header?: never;
1423
+ path?: never;
1424
+ cookie?: never;
1425
+ };
1426
+ get?: never;
1427
+ put?: never;
1428
+ /**
1429
+ * Create bank transactions
1430
+ * @description Create new bank transactions
1431
+ */
1432
+ post: operations['accounting_create_bank_transactions'];
1433
+ delete?: never;
1434
+ options?: never;
1435
+ head?: never;
1436
+ patch?: never;
1437
+ trace?: never;
1438
+ };
1439
1439
  '/consumers/{consumer_id}/accounting/employees': {
1440
1440
  parameters: {
1441
1441
  query?: never;
@@ -1516,40 +1516,40 @@ export interface paths {
1516
1516
  patch?: never;
1517
1517
  trace?: never;
1518
1518
  };
1519
- '/consumers/{consumer_id}/accounting/export-fec': {
1519
+ '/consumers/{consumer_id}/accounting/accounts': {
1520
1520
  parameters: {
1521
1521
  query?: never;
1522
1522
  header?: never;
1523
1523
  path?: never;
1524
1524
  cookie?: never;
1525
1525
  };
1526
+ get?: never;
1527
+ put?: never;
1526
1528
  /**
1527
- * Export entries in FEC format
1528
- * @description Returns accounting entries according to the FEC format
1529
+ * Create ledger account
1530
+ * @description Create a new ledger account in the chart of accounts
1529
1531
  */
1530
- get: operations['accounting_export_fec'];
1531
- put?: never;
1532
- post?: never;
1532
+ post: operations['accounting_create_ledger_account'];
1533
1533
  delete?: never;
1534
1534
  options?: never;
1535
1535
  head?: never;
1536
1536
  patch?: never;
1537
1537
  trace?: never;
1538
1538
  };
1539
- '/consumers/{consumer_id}/accounting/bank-transactions': {
1539
+ '/consumers/{consumer_id}/accounting/export-fec': {
1540
1540
  parameters: {
1541
1541
  query?: never;
1542
1542
  header?: never;
1543
1543
  path?: never;
1544
1544
  cookie?: never;
1545
1545
  };
1546
- get?: never;
1547
- put?: never;
1548
1546
  /**
1549
- * Create bank transactions
1550
- * @description Create new bank transactions
1547
+ * Export entries in FEC format
1548
+ * @description Returns accounting entries according to the FEC format
1551
1549
  */
1552
- post: operations['accounting_create_bank_transactions'];
1550
+ get: operations['accounting_export_fec'];
1551
+ put?: never;
1552
+ post?: never;
1553
1553
  delete?: never;
1554
1554
  options?: never;
1555
1555
  head?: never;
@@ -1824,6 +1824,26 @@ export interface paths {
1824
1824
  patch?: never;
1825
1825
  trace?: never;
1826
1826
  };
1827
+ '/consumers/{consumer_id}/pos/report': {
1828
+ parameters: {
1829
+ query?: never;
1830
+ header?: never;
1831
+ path?: never;
1832
+ cookie?: never;
1833
+ };
1834
+ /**
1835
+ * Get report for a specific date (E-reporting)
1836
+ * @description The endpoints returns the report for a specific date containing the required data for e-reporting
1837
+ */
1838
+ get: operations['pos_get_report'];
1839
+ put?: never;
1840
+ post?: never;
1841
+ delete?: never;
1842
+ options?: never;
1843
+ head?: never;
1844
+ patch?: never;
1845
+ trace?: never;
1846
+ };
1827
1847
  '/consumers/{consumer_id}/commerce/customers': {
1828
1848
  parameters: {
1829
1849
  query?: never;
@@ -2088,31 +2108,7 @@ export interface paths {
2088
2108
  patch?: never;
2089
2109
  trace?: never;
2090
2110
  };
2091
- '/consumers/{consumer_id}/invoicing/invoices': {
2092
- parameters: {
2093
- query?: never;
2094
- header?: never;
2095
- path?: never;
2096
- cookie?: never;
2097
- };
2098
- /**
2099
- * Retrieve all invoices
2100
- * @description Returns a list of invoices. Optionally invoice type and dates can be defined to retrieve invoices of a certain type from a certain date to another date
2101
- */
2102
- get: operations['invoicing_get_invoices'];
2103
- put?: never;
2104
- /**
2105
- * Create an invoice
2106
- * @description Create a new invoice.
2107
- */
2108
- post: operations['invoicing_post_invoices'];
2109
- delete?: never;
2110
- options?: never;
2111
- head?: never;
2112
- patch?: never;
2113
- trace?: never;
2114
- };
2115
- '/consumers/{consumer_id}/invoicing/invoices/{invoice_id}': {
2111
+ '/consumers/{consumer_id}/invoicing/contacts': {
2116
2112
  parameters: {
2117
2113
  query?: never;
2118
2114
  header?: never;
@@ -2120,39 +2116,23 @@ export interface paths {
2120
2116
  cookie?: never;
2121
2117
  };
2122
2118
  /**
2123
- * Retrieve one invoice
2124
- * @description Returns a invoice
2119
+ * Retrieve all contacts
2120
+ * @description Returns a list of all the contacts. Optionally contact type can be defined to retrieve contact from a certain type.
2125
2121
  */
2126
- get: operations['invoicing_get_invoice'];
2122
+ get: operations['invoicing_get_contacts'];
2127
2123
  put?: never;
2128
- post?: never;
2129
- delete?: never;
2130
- options?: never;
2131
- head?: never;
2132
- patch?: never;
2133
- trace?: never;
2134
- };
2135
- '/consumers/{consumer_id}/invoicing/taxes': {
2136
- parameters: {
2137
- query?: never;
2138
- header?: never;
2139
- path?: never;
2140
- cookie?: never;
2141
- };
2142
2124
  /**
2143
- * Retrieve all taxes
2144
- * @description Returns a list of all the taxes
2125
+ * Create a contact
2126
+ * @description Create a new contact.
2145
2127
  */
2146
- get: operations['invoicing_get_taxes'];
2147
- put?: never;
2148
- post?: never;
2128
+ post: operations['invoicing_post_contacts'];
2149
2129
  delete?: never;
2150
2130
  options?: never;
2151
2131
  head?: never;
2152
2132
  patch?: never;
2153
2133
  trace?: never;
2154
2134
  };
2155
- '/consumers/{consumer_id}/invoicing/taxes/{tax_id}': {
2135
+ '/consumers/{consumer_id}/invoicing/contacts/{contact_id}': {
2156
2136
  parameters: {
2157
2137
  query?: never;
2158
2138
  header?: never;
@@ -2160,10 +2140,10 @@ export interface paths {
2160
2140
  cookie?: never;
2161
2141
  };
2162
2142
  /**
2163
- * Retrieve one tax
2164
- * @description Returns a tax
2143
+ * Retrieve one contact
2144
+ * @description Returns a contact
2165
2145
  */
2166
- get: operations['invoicing_get_tax'];
2146
+ get: operations['invoicing_get_contact'];
2167
2147
  put?: never;
2168
2148
  post?: never;
2169
2149
  delete?: never;
@@ -2216,7 +2196,7 @@ export interface paths {
2216
2196
  patch?: never;
2217
2197
  trace?: never;
2218
2198
  };
2219
- '/consumers/{consumer_id}/invoicing/opportunities': {
2199
+ '/consumers/{consumer_id}/invoicing/taxes': {
2220
2200
  parameters: {
2221
2201
  query?: never;
2222
2202
  header?: never;
@@ -2224,10 +2204,10 @@ export interface paths {
2224
2204
  cookie?: never;
2225
2205
  };
2226
2206
  /**
2227
- * Retrieve all opportunities
2228
- * @description Returns a list of all the opportunities
2207
+ * Retrieve all taxes
2208
+ * @description Returns a list of all the taxes
2229
2209
  */
2230
- get: operations['invoicing_get_opportunities'];
2210
+ get: operations['invoicing_get_taxes'];
2231
2211
  put?: never;
2232
2212
  post?: never;
2233
2213
  delete?: never;
@@ -2236,7 +2216,7 @@ export interface paths {
2236
2216
  patch?: never;
2237
2217
  trace?: never;
2238
2218
  };
2239
- '/consumers/{consumer_id}/invoicing/opportunities/{opportunity_id}': {
2219
+ '/consumers/{consumer_id}/invoicing/taxes/{tax_id}': {
2240
2220
  parameters: {
2241
2221
  query?: never;
2242
2222
  header?: never;
@@ -2244,10 +2224,10 @@ export interface paths {
2244
2224
  cookie?: never;
2245
2225
  };
2246
2226
  /**
2247
- * Retrieve one opportunity
2248
- * @description Returns an opportunity
2227
+ * Retrieve one tax
2228
+ * @description Returns a tax
2249
2229
  */
2250
- get: operations['invoicing_get_opportunity'];
2230
+ get: operations['invoicing_get_tax'];
2251
2231
  put?: never;
2252
2232
  post?: never;
2253
2233
  delete?: never;
@@ -2256,7 +2236,7 @@ export interface paths {
2256
2236
  patch?: never;
2257
2237
  trace?: never;
2258
2238
  };
2259
- '/consumers/{consumer_id}/invoicing/contacts': {
2239
+ '/consumers/{consumer_id}/invoicing/invoices': {
2260
2240
  parameters: {
2261
2241
  query?: never;
2262
2242
  header?: never;
@@ -2264,23 +2244,23 @@ export interface paths {
2264
2244
  cookie?: never;
2265
2245
  };
2266
2246
  /**
2267
- * Retrieve all contacts
2268
- * @description Returns a list of all the contacts. Optionally contact type can be defined to retrieve contact from a certain type.
2247
+ * Retrieve all invoices
2248
+ * @description Returns a list of invoices. Optionally invoice type and dates can be defined to retrieve invoices of a certain type from a certain date to another date
2269
2249
  */
2270
- get: operations['invoicing_get_contacts'];
2250
+ get: operations['invoicing_get_invoices'];
2271
2251
  put?: never;
2272
2252
  /**
2273
- * Create a contact
2274
- * @description Create a new contact.
2253
+ * Create an invoice
2254
+ * @description Create a new invoice.
2275
2255
  */
2276
- post: operations['invoicing_post_contacts'];
2256
+ post: operations['invoicing_post_invoices'];
2277
2257
  delete?: never;
2278
2258
  options?: never;
2279
2259
  head?: never;
2280
2260
  patch?: never;
2281
2261
  trace?: never;
2282
2262
  };
2283
- '/consumers/{consumer_id}/invoicing/contacts/{contact_id}': {
2263
+ '/consumers/{consumer_id}/invoicing/invoices/{invoice_id}': {
2284
2264
  parameters: {
2285
2265
  query?: never;
2286
2266
  header?: never;
@@ -2288,10 +2268,70 @@ export interface paths {
2288
2268
  cookie?: never;
2289
2269
  };
2290
2270
  /**
2291
- * Retrieve one contact
2292
- * @description Returns a contact
2271
+ * Retrieve one invoice
2272
+ * @description Returns a invoice
2293
2273
  */
2294
- get: operations['invoicing_get_contact'];
2274
+ get: operations['invoicing_get_invoice'];
2275
+ put?: never;
2276
+ post?: never;
2277
+ delete?: never;
2278
+ options?: never;
2279
+ head?: never;
2280
+ patch?: never;
2281
+ trace?: never;
2282
+ };
2283
+ '/consumers/{consumer_id}/invoicing/upload-document': {
2284
+ parameters: {
2285
+ query?: never;
2286
+ header?: never;
2287
+ path?: never;
2288
+ cookie?: never;
2289
+ };
2290
+ get?: never;
2291
+ put?: never;
2292
+ /**
2293
+ * Upload a document (PDF)
2294
+ * @description Upload a document (PDF)
2295
+ */
2296
+ post: operations['invoicing_upload_document'];
2297
+ delete?: never;
2298
+ options?: never;
2299
+ head?: never;
2300
+ patch?: never;
2301
+ trace?: never;
2302
+ };
2303
+ '/consumers/{consumer_id}/invoicing/opportunities': {
2304
+ parameters: {
2305
+ query?: never;
2306
+ header?: never;
2307
+ path?: never;
2308
+ cookie?: never;
2309
+ };
2310
+ /**
2311
+ * Retrieve all opportunities
2312
+ * @description Returns a list of all the opportunities
2313
+ */
2314
+ get: operations['invoicing_get_opportunities'];
2315
+ put?: never;
2316
+ post?: never;
2317
+ delete?: never;
2318
+ options?: never;
2319
+ head?: never;
2320
+ patch?: never;
2321
+ trace?: never;
2322
+ };
2323
+ '/consumers/{consumer_id}/invoicing/opportunities/{opportunity_id}': {
2324
+ parameters: {
2325
+ query?: never;
2326
+ header?: never;
2327
+ path?: never;
2328
+ cookie?: never;
2329
+ };
2330
+ /**
2331
+ * Retrieve one opportunity
2332
+ * @description Returns an opportunity
2333
+ */
2334
+ get: operations['invoicing_get_opportunity'];
2295
2335
  put?: never;
2296
2336
  post?: never;
2297
2337
  delete?: never;
@@ -2313,13 +2353,37 @@ export interface paths {
2313
2353
  */
2314
2354
  get: operations['invoicing_get_payments'];
2315
2355
  put?: never;
2316
- post?: never;
2356
+ /**
2357
+ * Create a payment (invoicing)
2358
+ * @description Create a payment (invoicing)
2359
+ */
2360
+ post: operations['invoicing_create_payment'];
2317
2361
  delete?: never;
2318
2362
  options?: never;
2319
2363
  head?: never;
2320
2364
  patch?: never;
2321
2365
  trace?: never;
2322
2366
  };
2367
+ '/consumers/{consumer_id}/invoicing/payments/{payment_id}': {
2368
+ parameters: {
2369
+ query?: never;
2370
+ header?: never;
2371
+ path?: never;
2372
+ cookie?: never;
2373
+ };
2374
+ get?: never;
2375
+ put?: never;
2376
+ post?: never;
2377
+ delete?: never;
2378
+ options?: never;
2379
+ head?: never;
2380
+ /**
2381
+ * Update a payment (invoicing)
2382
+ * @description Update a payment (invoicing)
2383
+ */
2384
+ patch: operations['invoicing_update_payment'];
2385
+ trace?: never;
2386
+ };
2323
2387
  '/consumers/{consumer_id}/invoicing/payment-methods': {
2324
2388
  parameters: {
2325
2389
  query?: never;
@@ -2380,26 +2444,6 @@ export interface paths {
2380
2444
  patch?: never;
2381
2445
  trace?: never;
2382
2446
  };
2383
- '/consumers/{consumer_id}/invoicing/upload-document': {
2384
- parameters: {
2385
- query?: never;
2386
- header?: never;
2387
- path?: never;
2388
- cookie?: never;
2389
- };
2390
- get?: never;
2391
- put?: never;
2392
- /**
2393
- * Upload a document (PDF)
2394
- * @description Upload a document (PDF)
2395
- */
2396
- post: operations['invoicing_upload_document'];
2397
- delete?: never;
2398
- options?: never;
2399
- head?: never;
2400
- patch?: never;
2401
- trace?: never;
2402
- };
2403
2447
  '/consumers/{consumer_id}/banking/financial-institutions': {
2404
2448
  parameters: {
2405
2449
  query?: never;
@@ -2531,7 +2575,7 @@ export interface paths {
2531
2575
  * Retrieve all transactions
2532
2576
  * @description Returns a list of transactions. Optionally transaction type and dates can be defined to retrieve transactions of a certain type from a certain date to another date
2533
2577
  */
2534
- get: operations['payment_get_transaction'];
2578
+ get: operations['payment_get_transactions'];
2535
2579
  put?: never;
2536
2580
  post?: never;
2537
2581
  delete?: never;
@@ -3230,35 +3274,6 @@ export interface components {
3230
3274
  };
3231
3275
  /** AddressItemOut */
3232
3276
  AddressItemOut: {
3233
- address_type: components['schemas']['AddressType'];
3234
- /** Company Name */
3235
- company_name?: string | null;
3236
- /** First Name */
3237
- first_name?: string | null;
3238
- /** Last Name */
3239
- last_name?: string | null;
3240
- /** Street */
3241
- street?: string | null;
3242
- /** Number */
3243
- number?: string | null;
3244
- /** Box */
3245
- box?: string | null;
3246
- /** City */
3247
- city?: string | null;
3248
- /** Postal Code */
3249
- postal_code?: string | null;
3250
- /**
3251
- * Country
3252
- * @description Format: ISO 3166-1 codes.
3253
- */
3254
- country?: string | null;
3255
- /** Phone */
3256
- phone?: string | null;
3257
- /** Email */
3258
- email?: string | null;
3259
- };
3260
- /** AddressItemOut */
3261
- 'AddressItemOut-Input': {
3262
3277
  address_type: components['schemas']['AddressType'];
3263
3278
  /** Name */
3264
3279
  name?: string | null;
@@ -3591,7 +3606,7 @@ export interface components {
3591
3606
  AttachmentItemIn: {
3592
3607
  /** Base64 String */
3593
3608
  base64_string: string;
3594
- document_type: components['schemas']['DocumentType'];
3609
+ document_type: components['schemas']['InvoicingDocumentType'];
3595
3610
  };
3596
3611
  /** AttachmentItemOut */
3597
3612
  AttachmentItemOut: {
@@ -3736,9 +3751,14 @@ export interface components {
3736
3751
  * @description Unique ID of the bank account in the accounting system
3737
3752
  */
3738
3753
  bank_account_id: string;
3754
+ /**
3755
+ * Currency
3756
+ * @description Currency of the bank statement. This must be the same as the currency of the bank account.
3757
+ */
3758
+ currency: string;
3739
3759
  /**
3740
3760
  * External Bank Statement Id
3741
- * @description External bank statement ID
3761
+ * @description External bank statement ID. To be compatible with all software, we recommend to use only digits.
3742
3762
  */
3743
3763
  external_bank_statement_id: string;
3744
3764
  /**
@@ -3770,6 +3790,11 @@ export interface components {
3770
3790
  * @description Unique ID of the bank account in the accounting system
3771
3791
  */
3772
3792
  bank_account_id: string;
3793
+ /**
3794
+ * Currency
3795
+ * @description Currency of the bank statement. This must be the same as the currency of the bank account.
3796
+ */
3797
+ currency: string;
3773
3798
  /**
3774
3799
  * Id
3775
3800
  * @description Internal bank statement ID generated by the accounting system
@@ -3786,24 +3811,46 @@ export interface components {
3786
3811
  */
3787
3812
  items: components['schemas']['BankTransactionItemOut'][];
3788
3813
  };
3814
+ /** BankTransactionCounterpartItem */
3815
+ BankTransactionCounterpartItem: {
3816
+ /** @description Type of the counterpart */
3817
+ counterpart_type?: components['schemas']['BankTransactionCounterpartType'] | null;
3818
+ /**
3819
+ * Id
3820
+ * @description ID of the counterpart in the accounting system
3821
+ */
3822
+ id?: string | null;
3823
+ /**
3824
+ * Name
3825
+ * @description Name of the counterpart
3826
+ * @example John Doe
3827
+ */
3828
+ name?: string | null;
3829
+ /**
3830
+ * Iban
3831
+ * @description IBAN of the counterpart
3832
+ * @example BE61310126985517
3833
+ */
3834
+ iban?: string | null;
3835
+ /**
3836
+ * Bank Account
3837
+ * @description Bank account number of the counterpart
3838
+ * @example 310126985517
3839
+ */
3840
+ bank_account?: string | null;
3841
+ };
3789
3842
  /**
3790
- * BankTransactionItemAccountType
3843
+ * BankTransactionCounterpartType
3791
3844
  * @enum {string}
3792
3845
  */
3793
- BankTransactionItemAccountType:
3794
- | 'customer_account'
3795
- | 'supplier_account'
3796
- | 'employee_account'
3797
- | 'general_account';
3846
+ BankTransactionCounterpartType: 'customer' | 'supplier' | 'employee';
3798
3847
  /** BankTransactionItemIn */
3799
3848
  BankTransactionItemIn: {
3800
- /** @description Account type; mandatory if account is provided */
3801
- account_type?: components['schemas']['BankTransactionItemAccountType'] | null;
3802
3849
  /**
3803
- * Account
3804
- * @description Account identifier
3850
+ * General Ledger Account
3851
+ * @description Number of the general ledger account to book the transaction against.
3805
3852
  */
3806
- account?: string | null;
3853
+ general_ledger_account?: string | null;
3807
3854
  /**
3808
3855
  * Description
3809
3856
  * @description Transaction description
@@ -3814,12 +3861,6 @@ export interface components {
3814
3861
  * @description External transaction ID
3815
3862
  */
3816
3863
  external_transaction_id?: string | null;
3817
- /**
3818
- * Date
3819
- * Format: date
3820
- * @description Transaction date
3821
- */
3822
- date: string;
3823
3864
  /**
3824
3865
  * Amount
3825
3866
  * @description Total amount including fee and tax
@@ -3837,27 +3878,22 @@ export interface components {
3837
3878
  * @default 0
3838
3879
  */
3839
3880
  tax_amount: number | null;
3840
- /**
3841
- * Currency
3842
- * @description Transaction currency
3843
- */
3844
- currency: string;
3845
3881
  /**
3846
3882
  * Currency Exchange Rate
3847
3883
  * @description Exchange rate applicable at the transaction date
3848
3884
  * @default 1
3849
3885
  */
3850
3886
  currency_exchange_rate: number | null;
3887
+ /** @description Counterpart of the transaction */
3888
+ counterpart?: components['schemas']['BankTransactionCounterpartItem'] | null;
3851
3889
  };
3852
3890
  /** BankTransactionItemOut */
3853
3891
  BankTransactionItemOut: {
3854
- /** @description Account type; mandatory if account is provided */
3855
- account_type?: components['schemas']['BankTransactionItemAccountType'] | null;
3856
3892
  /**
3857
- * Account
3858
- * @description Account identifier
3893
+ * General Ledger Account
3894
+ * @description Number of the general ledger account to book the transaction against.
3859
3895
  */
3860
- account?: string | null;
3896
+ general_ledger_account?: string | null;
3861
3897
  /**
3862
3898
  * Description
3863
3899
  * @description Transaction description
@@ -3868,12 +3904,6 @@ export interface components {
3868
3904
  * @description External transaction ID
3869
3905
  */
3870
3906
  external_transaction_id?: string | null;
3871
- /**
3872
- * Date
3873
- * Format: date
3874
- * @description Transaction date
3875
- */
3876
- date: string;
3877
3907
  /**
3878
3908
  * Amount
3879
3909
  * @description Total amount including fee and tax
@@ -3891,17 +3921,14 @@ export interface components {
3891
3921
  * @default 0
3892
3922
  */
3893
3923
  tax_amount: number | null;
3894
- /**
3895
- * Currency
3896
- * @description Transaction currency
3897
- */
3898
- currency: string;
3899
3924
  /**
3900
3925
  * Currency Exchange Rate
3901
3926
  * @description Exchange rate applicable at the transaction date
3902
3927
  * @default 1
3903
3928
  */
3904
3929
  currency_exchange_rate: number | null;
3930
+ /** @description Counterpart of the transaction */
3931
+ counterpart?: components['schemas']['BankTransactionCounterpartItem'] | null;
3905
3932
  /**
3906
3933
  * Id
3907
3934
  * @description Internal transaction ID generated by the accounting system
@@ -4131,10 +4158,15 @@ export interface components {
4131
4158
  * @description Status of the transaction
4132
4159
  * @example pending
4133
4160
  */
4134
- status?: components['schemas']['TransactionStatus'] | null;
4161
+ status?: components['schemas']['BankingTransactionStatus'] | null;
4135
4162
  /** @description Extra information about the attachments linked to the invoice. */
4136
4163
  attachments_info?: components['schemas']['ItemAttachmentInfoOut'];
4137
4164
  };
4165
+ /**
4166
+ * BankingTransactionStatus
4167
+ * @enum {string}
4168
+ */
4169
+ BankingTransactionStatus: 'pending' | 'declined' | 'completed';
4138
4170
  /** BookYear */
4139
4171
  BookYear: {
4140
4172
  /**
@@ -4452,6 +4484,17 @@ export interface components {
4452
4484
  /** Size */
4453
4485
  size: number;
4454
4486
  };
4487
+ /** ChiftPage[CommerceProductItem] */
4488
+ ChiftPage_CommerceProductItem_: {
4489
+ /** Items */
4490
+ items: components['schemas']['CommerceProductItem'][];
4491
+ /** Total */
4492
+ total: number;
4493
+ /** Page */
4494
+ page: number;
4495
+ /** Size */
4496
+ size: number;
4497
+ };
4455
4498
  /** ChiftPage[ContactItemOut] */
4456
4499
  ChiftPage_ContactItemOut_: {
4457
4500
  /** Items */
@@ -4851,7 +4894,7 @@ export interface components {
4851
4894
  /** ChiftPage[ProductCategoryItem] */
4852
4895
  ChiftPage_ProductCategoryItem_: {
4853
4896
  /** Items */
4854
- items: components['schemas']['backbone_common__models__pos__common__ProductCategoryItem'][];
4897
+ items: components['schemas']['ProductCategoryItem'][];
4855
4898
  /** Total */
4856
4899
  total: number;
4857
4900
  /** Page */
@@ -4870,17 +4913,6 @@ export interface components {
4870
4913
  /** Size */
4871
4914
  size: number;
4872
4915
  };
4873
- /** ChiftPage[ProductItem] */
4874
- ChiftPage_ProductItem_: {
4875
- /** Items */
4876
- items: components['schemas']['ProductItem-Output'][];
4877
- /** Total */
4878
- total: number;
4879
- /** Page */
4880
- page: number;
4881
- /** Size */
4882
- size: number;
4883
- };
4884
4916
  /** ChiftPage[RefundItemOut] */
4885
4917
  ChiftPage_RefundItemOut_: {
4886
4918
  /** Items */
@@ -5160,9 +5192,7 @@ export interface components {
5160
5192
  * @description List of addresses associated with the client.
5161
5193
  * @default []
5162
5194
  */
5163
- addresses:
5164
- | components['schemas']['backbone_common__models__common__AddressItemOut'][]
5165
- | null;
5195
+ addresses: components['schemas']['AddressItemOut'][] | null;
5166
5196
  /**
5167
5197
  * Third Party Account
5168
5198
  * @description Third party account number/code representing the client in the accounting software.
@@ -5268,7 +5298,7 @@ export interface components {
5268
5298
  * @description List of addresses associated with the client.
5269
5299
  * @default []
5270
5300
  */
5271
- addresses: components['schemas']['AddressItemOut-Input'][] | null;
5301
+ addresses: components['schemas']['AddressItemOut'][] | null;
5272
5302
  };
5273
5303
  /** ClosureItem */
5274
5304
  ClosureItem: {
@@ -5324,26 +5354,81 @@ export interface components {
5324
5354
  * @enum {string}
5325
5355
  */
5326
5356
  ClosureStates: 'open' | 'closed';
5327
- /** CommerceCustomerItem */
5328
- CommerceCustomerItem: {
5329
- /**
5330
- * Id
5331
- * @description Technical id in Chift
5332
- */
5333
- id: string;
5334
- /** @description Technical id in the target software */
5335
- source_ref: components['schemas']['Ref'];
5357
+ /** CommerceAddressItemIn */
5358
+ CommerceAddressItemIn: {
5336
5359
  /** First Name */
5337
- first_name?: string | null;
5360
+ first_name: string;
5338
5361
  /** Last Name */
5339
- last_name?: string | null;
5362
+ last_name: string;
5363
+ /** Street */
5364
+ street: string;
5365
+ /** Number */
5366
+ number: string;
5367
+ /** Box */
5368
+ box?: string | null;
5369
+ /** City */
5370
+ city: string;
5371
+ /** Postal Code */
5372
+ postal_code?: string | null;
5373
+ /**
5374
+ * Country
5375
+ * @description Format: ISO 3166-1 codes.
5376
+ */
5377
+ country: string;
5340
5378
  /** Phone */
5341
5379
  phone?: string | null;
5342
5380
  /** Email */
5343
5381
  email?: string | null;
5344
- /**
5345
- * Language
5346
- * @description Format: ISO 639-1 codes.
5382
+ };
5383
+ /** CommerceAddressItemOut */
5384
+ CommerceAddressItemOut: {
5385
+ address_type: components['schemas']['AddressType'];
5386
+ /** Company Name */
5387
+ company_name?: string | null;
5388
+ /** First Name */
5389
+ first_name?: string | null;
5390
+ /** Last Name */
5391
+ last_name?: string | null;
5392
+ /** Street */
5393
+ street?: string | null;
5394
+ /** Number */
5395
+ number?: string | null;
5396
+ /** Box */
5397
+ box?: string | null;
5398
+ /** City */
5399
+ city?: string | null;
5400
+ /** Postal Code */
5401
+ postal_code?: string | null;
5402
+ /**
5403
+ * Country
5404
+ * @description Format: ISO 3166-1 codes.
5405
+ */
5406
+ country?: string | null;
5407
+ /** Phone */
5408
+ phone?: string | null;
5409
+ /** Email */
5410
+ email?: string | null;
5411
+ };
5412
+ /** CommerceCustomerItem */
5413
+ CommerceCustomerItem: {
5414
+ /**
5415
+ * Id
5416
+ * @description Technical id in Chift
5417
+ */
5418
+ id: string;
5419
+ /** @description Technical id in the target software */
5420
+ source_ref: components['schemas']['Ref'];
5421
+ /** First Name */
5422
+ first_name?: string | null;
5423
+ /** Last Name */
5424
+ last_name?: string | null;
5425
+ /** Phone */
5426
+ phone?: string | null;
5427
+ /** Email */
5428
+ email?: string | null;
5429
+ /**
5430
+ * Language
5431
+ * @description Format: ISO 639-1 codes.
5347
5432
  */
5348
5433
  language?: string | null;
5349
5434
  /** Internal Notes */
@@ -5357,10 +5442,19 @@ export interface components {
5357
5442
  * Addresses
5358
5443
  * @default []
5359
5444
  */
5360
- addresses: components['schemas']['AddressItemOut'][] | null;
5445
+ addresses: components['schemas']['CommerceAddressItemOut'][] | null;
5361
5446
  /** Created On */
5362
5447
  created_on?: string | null;
5363
5448
  };
5449
+ /** CommerceDiscountItem */
5450
+ CommerceDiscountItem: {
5451
+ /** Name */
5452
+ name: string;
5453
+ /** Description */
5454
+ description: string;
5455
+ /** Amount */
5456
+ amount: number;
5457
+ };
5364
5458
  /** CommerceLocationItem */
5365
5459
  CommerceLocationItem: {
5366
5460
  /**
@@ -5383,47 +5477,118 @@ export interface components {
5383
5477
  /** @description Technical id of the location in the target software */
5384
5478
  source_ref?: components['schemas']['Ref'] | null;
5385
5479
  };
5386
- /** CommonAttributeItem */
5387
- CommonAttributeItem: {
5480
+ /** CommerceProductCategoryItem */
5481
+ CommerceProductCategoryItem: {
5482
+ /**
5483
+ * Id
5484
+ * @description Technical id of the category in Chift
5485
+ */
5486
+ id: string;
5388
5487
  /** Name */
5389
5488
  name: string;
5390
- /** Values */
5391
- values: string[];
5392
5489
  };
5393
- /** ConnectionItem */
5394
- ConnectionItem: {
5395
- /** One Api */
5396
- one_api?: number | null;
5397
- /** Connection Type */
5398
- connection_type?: number | null;
5490
+ /** CommerceProductItem */
5491
+ CommerceProductItem: {
5399
5492
  /**
5400
- * Display Order
5401
- * @default 0
5493
+ * Id
5494
+ * @description Technical id in Chift
5402
5495
  */
5403
- display_order: number;
5496
+ id: string;
5497
+ /** @description Technical id in the target software */
5498
+ source_ref: components['schemas']['Ref'];
5499
+ /** Name */
5500
+ name: string;
5501
+ /** Description */
5502
+ description?: string | null;
5503
+ /** Description Html */
5504
+ description_html?: string | null;
5404
5505
  /**
5405
- * Display Hidden
5406
- * @default false
5506
+ * Categories
5507
+ * @default []
5407
5508
  */
5408
- display_hidden: boolean;
5509
+ categories: components['schemas']['CommerceProductCategoryItem'][] | null;
5510
+ /** Created On */
5511
+ created_on?: string | null;
5512
+ /** Last Updated On */
5513
+ last_updated_on?: string | null;
5514
+ /**
5515
+ * Variants
5516
+ * @default []
5517
+ */
5518
+ variants: components['schemas']['ProductVariantItem'][] | null;
5519
+ status?: components['schemas']['ProductStatus'] | null;
5520
+ /** Sku */
5521
+ sku?: string | null;
5522
+ /**
5523
+ * Common Attributes
5524
+ * @description List of attributes that are shared by all variants of the product.
5525
+ * @default []
5526
+ */
5527
+ common_attributes: components['schemas']['CommonAttributeItem'][] | null;
5528
+ /**
5529
+ * Variant Attributes Options
5530
+ * @default []
5531
+ */
5532
+ variant_attributes_options:
5533
+ | components['schemas']['VariantAttributeOptionItem'][]
5534
+ | null;
5535
+ /**
5536
+ * Common Images
5537
+ * @description List of images that are shared by all variants of the product.
5538
+ * @default []
5539
+ */
5540
+ common_images: components['schemas']['ImageItem'][] | null;
5409
5541
  };
5410
- /** ConnectionItem */
5411
- 'ConnectionItem-Input': {
5412
- /** One Api */
5413
- one_api?: number | null;
5414
- /** Connection Type */
5415
- connection_type?: number | null;
5542
+ /** CommerceProductPriceItem */
5543
+ CommerceProductPriceItem: {
5544
+ /** Currency */
5545
+ currency: string;
5416
5546
  /**
5417
- * Display Order
5547
+ * Price
5418
5548
  * @default 0
5419
5549
  */
5420
- display_order: number;
5550
+ price: number | null;
5551
+ };
5552
+ /**
5553
+ * CommerceTransactionStatus
5554
+ * @enum {string}
5555
+ */
5556
+ CommerceTransactionStatus: 'failed' | 'pending' | 'success';
5557
+ /** CommonAttributeItem */
5558
+ CommonAttributeItem: {
5559
+ /** Name */
5560
+ name: string;
5561
+ /** Values */
5562
+ values: string[];
5563
+ };
5564
+ /** ConnectionItem */
5565
+ ConnectionItem: {
5421
5566
  /**
5422
- * Display Hidden
5423
- * @default false
5567
+ * Connectionid
5568
+ * Format: uuid
5424
5569
  */
5425
- display_hidden: boolean;
5570
+ connectionid: string;
5571
+ /** Name */
5572
+ name: string;
5573
+ /** Integration */
5574
+ integration: string;
5575
+ /** Integrationid */
5576
+ integrationid: number;
5577
+ /** Api */
5578
+ api: string;
5579
+ /** Data */
5580
+ data?: {
5581
+ [key: string]: unknown;
5582
+ } | null;
5583
+ status: components['schemas']['ConnectionStatus'];
5584
+ /** @description For local agent only. Indicates whether the local agent is up and running */
5585
+ agent?: components['schemas']['LocalAgentInfo'] | null;
5426
5586
  };
5587
+ /**
5588
+ * ConnectionStatus
5589
+ * @enum {string}
5590
+ */
5591
+ ConnectionStatus: 'active' | 'inactive';
5427
5592
  /** ConsumerItem */
5428
5593
  ConsumerItem: {
5429
5594
  /**
@@ -5758,7 +5923,7 @@ export interface components {
5758
5923
  }[];
5759
5924
  } | null;
5760
5925
  /** Connections */
5761
- connections: components['schemas']['ConnectionItem-Input'][];
5926
+ connections: components['schemas']['SyncsConnectionItem'][];
5762
5927
  /**
5763
5928
  * Mappings
5764
5929
  * @default []
@@ -5883,22 +6048,12 @@ export interface components {
5883
6048
  } | null;
5884
6049
  };
5885
6050
  /** CredentialItem */
5886
- 'CredentialItem-Input': {
6051
+ CredentialItem: {
5887
6052
  /** Key */
5888
6053
  key: string;
5889
6054
  /** Value */
5890
6055
  value: string;
5891
6056
  };
5892
- /** CredentialItem */
5893
- 'CredentialItem-Output': {
5894
- /** Name */
5895
- name: string;
5896
- /**
5897
- * Optional
5898
- * @default false
5899
- */
5900
- optional: boolean;
5901
- };
5902
6057
  /** DataItem */
5903
6058
  DataItem: {
5904
6059
  /** Data */
@@ -5919,6 +6074,11 @@ export interface components {
5919
6074
  * Format: date-time
5920
6075
  */
5921
6076
  created_on: string;
6077
+ /**
6078
+ * Modified On
6079
+ * Format: date-time
6080
+ */
6081
+ modified_on: string;
5922
6082
  };
5923
6083
  /** DataStoreItem */
5924
6084
  DataStoreItem: {
@@ -5927,7 +6087,7 @@ export interface components {
5927
6087
  /** Name */
5928
6088
  name: string;
5929
6089
  /** @default active */
5930
- status: components['schemas']['Status'] | null;
6090
+ status: components['schemas']['DatastoreStatus'] | null;
5931
6091
  definition: components['schemas']['DatastoreDef'];
5932
6092
  };
5933
6093
  /** DatastoreColumn */
@@ -5954,14 +6114,31 @@ export interface components {
5954
6114
  */
5955
6115
  search_column?: string | null;
5956
6116
  };
6117
+ /**
6118
+ * DatastoreStatus
6119
+ * @enum {string}
6120
+ */
6121
+ DatastoreStatus: 'active' | 'inactive';
5957
6122
  /** DiscountItem */
5958
6123
  DiscountItem: {
5959
- /** Name */
5960
- name: string;
5961
- /** Description */
5962
- description: string;
5963
- /** Amount */
5964
- amount: number;
6124
+ /**
6125
+ * Name
6126
+ * @description Name of the discount
6127
+ * @example Percentage discount
6128
+ */
6129
+ name?: string | null;
6130
+ /**
6131
+ * Total
6132
+ * @description Total amount of the discount
6133
+ * @example 10
6134
+ */
6135
+ total: number;
6136
+ /**
6137
+ * @description Type of the discount
6138
+ * @default UNKNOWN
6139
+ * @example offered
6140
+ */
6141
+ type: components['schemas']['DiscountType'];
5965
6142
  };
5966
6143
  /**
5967
6144
  * DiscountType
@@ -5972,7 +6149,7 @@ export interface components {
5972
6149
  * DocumentType
5973
6150
  * @enum {string}
5974
6151
  */
5975
- DocumentType: 'customer_document' | 'supplier_document' | 'employee_expense';
6152
+ DocumentType: 'invoice' | 'entry';
5976
6153
  /** EmployeeItem */
5977
6154
  EmployeeItem: {
5978
6155
  /**
@@ -6353,7 +6530,7 @@ export interface components {
6353
6530
  * Discounts
6354
6531
  * @default []
6355
6532
  */
6356
- discounts: components['schemas']['DiscountItem'][] | null;
6533
+ discounts: components['schemas']['CommerceDiscountItem'][] | null;
6357
6534
  /** Untaxed Amount */
6358
6535
  untaxed_amount: number;
6359
6536
  /** Tax Amount */
@@ -6518,6 +6695,8 @@ export interface components {
6518
6695
  * @description Text description for this line item. This is typically used to provide additional context or information.
6519
6696
  */
6520
6697
  description?: string | null;
6698
+ /** @description Tax information related to the financial entry line item. The provided tax amount is added to the amount of the line item. This is only supported for general accounts. */
6699
+ tax_info?: components['schemas']['TaxInfo'] | null;
6521
6700
  /**
6522
6701
  * Automated Matching Number
6523
6702
  * @description Automated matching number of the financial entry line item. This is used to let the accounting system do an automated matching based on this value. This is not supported on all accounting systems.
@@ -6543,6 +6722,8 @@ export interface components {
6543
6722
  * @description Text description for this line item. This is typically used to provide additional context or information.
6544
6723
  */
6545
6724
  description?: string | null;
6725
+ /** @description Tax information related to the financial entry line item. The provided tax amount is added to the amount of the line item. This is only supported for general accounts. */
6726
+ tax_info?: components['schemas']['TaxInfo'] | null;
6546
6727
  /**
6547
6728
  * Automated Matching Number
6548
6729
  * @description Automated matching number of the financial entry line item. This is used to let the accounting system do an automated matching based on this value. This is not supported on all accounting systems.
@@ -6610,7 +6791,7 @@ export interface components {
6610
6791
  /** Name */
6611
6792
  name: string;
6612
6793
  /** @default active */
6613
- status: components['schemas']['Status'] | null;
6794
+ status: components['schemas']['DatastoreStatus'] | null;
6614
6795
  definition: components['schemas']['DatastoreDef'];
6615
6796
  };
6616
6797
  /** FlowDataStoreItem */
@@ -6620,7 +6801,7 @@ export interface components {
6620
6801
  /** Name */
6621
6802
  name: string;
6622
6803
  /** @default active */
6623
- status: components['schemas']['Status'] | null;
6804
+ status: components['schemas']['DatastoreStatus'] | null;
6624
6805
  definition: components['schemas']['DatastoreDef'];
6625
6806
  };
6626
6807
  /** FlowExecution */
@@ -6868,6 +7049,11 @@ export interface components {
6868
7049
  * @enum {string}
6869
7050
  */
6870
7051
  ImportMode: 'IMPORT_ONLY_MISSING_DAYS' | 'REIMPORT_ENTIRE_PERIOD';
7052
+ /**
7053
+ * IntegationStatus
7054
+ * @enum {string}
7055
+ */
7056
+ IntegationStatus: 'active' | 'inactive';
6871
7057
  /** IntegrationItem */
6872
7058
  IntegrationItem: {
6873
7059
  /** Integrationid */
@@ -6876,7 +7062,7 @@ export interface components {
6876
7062
  name: string;
6877
7063
  /** Description */
6878
7064
  description?: string | null;
6879
- status: components['schemas']['Status'];
7065
+ status: components['schemas']['IntegationStatus'];
6880
7066
  api: components['schemas']['Api'];
6881
7067
  /** Logo Url */
6882
7068
  logo_url: string;
@@ -6887,7 +7073,7 @@ export interface components {
6887
7073
  * @description List of post-connections that can be activated for this integration.
6888
7074
  * @default []
6889
7075
  */
6890
- post_connections: components['schemas']['PostConnectionItem-Output'][] | null;
7076
+ post_connections: components['schemas']['IntegrationsPostConnectionItem'][] | null;
6891
7077
  /**
6892
7078
  * Operations Coverage
6893
7079
  * @description List of operations coverage for this integration.
@@ -6899,7 +7085,7 @@ export interface components {
6899
7085
  * @description List of credentials that must be specified to create a connection. Can be used if you want to pass credentials on connection creation. Not compatible with oAuth2 routes.
6900
7086
  * @default []
6901
7087
  */
6902
- credentials: components['schemas']['CredentialItem-Output'][] | null;
7088
+ credentials: components['schemas']['IntegrationsCredentialItem'][] | null;
6903
7089
  /**
6904
7090
  * Supported Countries
6905
7091
  * @description Country codes (ISO 3166-1 alpha-2) where this integration is supported. If not defined, the integration is supported globally.
@@ -6915,6 +7101,45 @@ export interface components {
6915
7101
  */
6916
7102
  local_agent: boolean;
6917
7103
  };
7104
+ /** IntegrationsCredentialItem */
7105
+ IntegrationsCredentialItem: {
7106
+ /** Name */
7107
+ name: string;
7108
+ /**
7109
+ * Optional
7110
+ * @default false
7111
+ */
7112
+ optional: boolean;
7113
+ };
7114
+ /** IntegrationsPostConnectionItem */
7115
+ IntegrationsPostConnectionItem: {
7116
+ /** Id */
7117
+ id: string;
7118
+ /** Title */
7119
+ title: string;
7120
+ /** Optional */
7121
+ optional: boolean;
7122
+ /** Resource */
7123
+ resource: string;
7124
+ /**
7125
+ * @description Dict of enabled post-connections on this integration.
7126
+ * @default {}
7127
+ */
7128
+ config: components['schemas']['IntegrationsPostConnectionItemConfig'];
7129
+ };
7130
+ /** IntegrationsPostConnectionItemConfig */
7131
+ IntegrationsPostConnectionItemConfig: {
7132
+ /**
7133
+ * Enabled
7134
+ * @default false
7135
+ */
7136
+ enabled: boolean;
7137
+ /**
7138
+ * Allow Multiple
7139
+ * @default false
7140
+ */
7141
+ allow_multiple: boolean;
7142
+ };
6918
7143
  /** InventoryDetailsItem */
6919
7144
  InventoryDetailsItem: {
6920
7145
  location: components['schemas']['CommerceLocationItem'];
@@ -6962,7 +7187,7 @@ export interface components {
6962
7187
  */
6963
7188
  currency: string;
6964
7189
  /** @description Invoice type */
6965
- invoice_type: components['schemas']['InvoiceType'];
7190
+ invoice_type: components['schemas']['InvoicingInvoiceType'];
6966
7191
  /** @description Status */
6967
7192
  status: components['schemas']['InvoiceStatus'];
6968
7193
  /**
@@ -7087,7 +7312,7 @@ export interface components {
7087
7312
  /** InvoiceItemInMonoAnalyticPlan */
7088
7313
  InvoiceItemInMonoAnalyticPlan: {
7089
7314
  /** @description Specifies the type of invoice */
7090
- invoice_type: components['schemas']['backbone_common__models__accounting__common__InvoiceType'];
7315
+ invoice_type: components['schemas']['InvoiceType'];
7091
7316
  /**
7092
7317
  * Invoice Number
7093
7318
  * @description Unique 'number' of the invoice instance in the accounting software. This is an internal reference number. if not specified, will be automatically generated according to the system’s numbering rules. It does not necessarily match the number displayed on an invoice.It is recommended to use this number for idempotency to prevent duplicate entries. Refer to the idempotency documentation in the Developer Guides for more details
@@ -7205,7 +7430,7 @@ export interface components {
7205
7430
  /** InvoiceItemInMultiAnalyticPlans */
7206
7431
  InvoiceItemInMultiAnalyticPlans: {
7207
7432
  /** @description Specifies the type of invoice */
7208
- invoice_type: components['schemas']['backbone_common__models__accounting__common__InvoiceType'];
7433
+ invoice_type: components['schemas']['InvoiceType'];
7209
7434
  /**
7210
7435
  * Invoice Number
7211
7436
  * @description Unique 'number' of the invoice instance in the accounting software. This is an internal reference number. if not specified, will be automatically generated according to the system’s numbering rules. It does not necessarily match the number displayed on an invoice.It is recommended to use this number for idempotency to prevent duplicate entries. Refer to the idempotency documentation in the Developer Guides for more details
@@ -7335,7 +7560,7 @@ export interface components {
7335
7560
  */
7336
7561
  currency: string;
7337
7562
  /** @description Invoice type */
7338
- invoice_type: components['schemas']['InvoiceType'];
7563
+ invoice_type: components['schemas']['InvoicingInvoiceType'];
7339
7564
  /** @description Status */
7340
7565
  status: components['schemas']['InvoiceStatus'];
7341
7566
  /**
@@ -7431,7 +7656,7 @@ export interface components {
7431
7656
  /** InvoiceItemOutMonoAnalyticPlan */
7432
7657
  InvoiceItemOutMonoAnalyticPlan: {
7433
7658
  /** @description Specifies the type of invoice */
7434
- invoice_type: components['schemas']['backbone_common__models__accounting__common__InvoiceType'];
7659
+ invoice_type: components['schemas']['InvoiceType'];
7435
7660
  /**
7436
7661
  * Invoice Number
7437
7662
  * @description Unique 'number' of the invoice instance in the accounting software. This is an internal reference number. if not specified, will be automatically generated according to the system’s numbering rules. It does not necessarily match the number displayed on an invoice.It is recommended to use this number for idempotency to prevent duplicate entries. Refer to the idempotency documentation in the Developer Guides for more details
@@ -7532,7 +7757,7 @@ export interface components {
7532
7757
  /** InvoiceItemOutMultiAnalyticPlans */
7533
7758
  InvoiceItemOutMultiAnalyticPlans: {
7534
7759
  /** @description Specifies the type of invoice */
7535
- invoice_type: components['schemas']['backbone_common__models__accounting__common__InvoiceType'];
7760
+ invoice_type: components['schemas']['InvoiceType'];
7536
7761
  /**
7537
7762
  * Invoice Number
7538
7763
  * @description Unique 'number' of the invoice instance in the accounting software. This is an internal reference number. if not specified, will be automatically generated according to the system’s numbering rules. It does not necessarily match the number displayed on an invoice.It is recommended to use this number for idempotency to prevent duplicate entries. Refer to the idempotency documentation in the Developer Guides for more details
@@ -7648,7 +7873,7 @@ export interface components {
7648
7873
  */
7649
7874
  currency: string;
7650
7875
  /** @description Invoice type */
7651
- invoice_type: components['schemas']['InvoiceType'];
7876
+ invoice_type: components['schemas']['InvoicingInvoiceType'];
7652
7877
  /** @description Status */
7653
7878
  status: components['schemas']['InvoiceStatus'];
7654
7879
  /**
@@ -8229,8 +8454,7 @@ export interface components {
8229
8454
  | 'customer_invoice'
8230
8455
  | 'customer_refund'
8231
8456
  | 'supplier_invoice'
8232
- | 'supplier_refund'
8233
- | 'all';
8457
+ | 'supplier_refund';
8234
8458
  /** InvoicingBankAccountItem */
8235
8459
  InvoicingBankAccountItem: {
8236
8460
  /**
@@ -8316,17 +8540,32 @@ export interface components {
8316
8540
  */
8317
8541
  linked_documents: components['schemas']['LinkedDocument'][] | null;
8318
8542
  };
8319
- /** InvoicingPaymentItem */
8320
- InvoicingPaymentItem: {
8321
- /**
8322
- * Id
8323
- * @description Technical id in Chift
8543
+ /**
8544
+ * InvoicingDocumentType
8545
+ * @enum {string}
8546
+ */
8547
+ InvoicingDocumentType: 'customer_document' | 'supplier_document' | 'employee_expense';
8548
+ /**
8549
+ * InvoicingInvoiceType
8550
+ * @enum {string}
8551
+ */
8552
+ InvoicingInvoiceType:
8553
+ | 'customer_invoice'
8554
+ | 'customer_refund'
8555
+ | 'supplier_invoice'
8556
+ | 'supplier_refund'
8557
+ | 'all';
8558
+ /** InvoicingPaymentItem */
8559
+ InvoicingPaymentItem: {
8560
+ /**
8561
+ * Id
8562
+ * @description Technical id in Chift
8324
8563
  */
8325
8564
  id: string;
8326
8565
  /** @description Technical id in the target software */
8327
8566
  source_ref: components['schemas']['Ref'];
8328
8567
  /** @description Payment status */
8329
- status: components['schemas']['PaymentStatus'];
8568
+ status: components['schemas']['PaymentPaymentStatus'];
8330
8569
  /**
8331
8570
  * Description
8332
8571
  * @description Description
@@ -8374,6 +8613,63 @@ export interface components {
8374
8613
  */
8375
8614
  invoice_number?: string | null;
8376
8615
  };
8616
+ /** InvoicingPaymentItemIn */
8617
+ InvoicingPaymentItemIn: {
8618
+ /**
8619
+ * Amount
8620
+ * @description Payment amount
8621
+ */
8622
+ amount: number;
8623
+ /**
8624
+ * Payment Method Id
8625
+ * @description The technical ID of the payment method in the invoicing system
8626
+ */
8627
+ payment_method_id?: string | null;
8628
+ /**
8629
+ * Invoice Id
8630
+ * @description The technical ID of the invoice in the invoicing system to which the payment will be linked
8631
+ */
8632
+ invoice_id: string;
8633
+ /**
8634
+ * Date
8635
+ * Format: date
8636
+ * @description The date of the payment
8637
+ */
8638
+ date: string;
8639
+ /**
8640
+ * Description
8641
+ * @description Description of the payment
8642
+ */
8643
+ description?: string | null;
8644
+ /**
8645
+ * Currency
8646
+ * @description Currency of the payment
8647
+ */
8648
+ currency: string;
8649
+ };
8650
+ /** InvoicingPaymentItemUpdate */
8651
+ InvoicingPaymentItemUpdate: {
8652
+ /**
8653
+ * Amount
8654
+ * @description Payment amount
8655
+ */
8656
+ amount?: number | null;
8657
+ /**
8658
+ * Payment Method Id
8659
+ * @description The technical ID of the payment method in the invoicing system
8660
+ */
8661
+ payment_method_id?: string | null;
8662
+ /**
8663
+ * Date
8664
+ * @description The date of the payment
8665
+ */
8666
+ date?: string | null;
8667
+ /**
8668
+ * Description
8669
+ * @description Description of the payment
8670
+ */
8671
+ description?: string | null;
8672
+ };
8377
8673
  /** InvoicingPaymentMethodItem */
8378
8674
  InvoicingPaymentMethodItem: {
8379
8675
  /**
@@ -8427,6 +8723,23 @@ export interface components {
8427
8723
  */
8428
8724
  active: boolean | null;
8429
8725
  };
8726
+ /** InvoicingWithholdingTax */
8727
+ InvoicingWithholdingTax: {
8728
+ /**
8729
+ * Rate
8730
+ * @description Rate
8731
+ */
8732
+ rate: number;
8733
+ /**
8734
+ * Amount
8735
+ * @description Amount
8736
+ */
8737
+ amount: number;
8738
+ /** @description Reason */
8739
+ reason?: components['schemas']['WithholdingTaxReason'] | null;
8740
+ /** @description Payment reason */
8741
+ payment_reason?: components['schemas']['WithholdingTaxPaymentReason'] | null;
8742
+ };
8430
8743
  /** IssueEvent */
8431
8744
  IssueEvent: {
8432
8745
  /** Id */
@@ -8495,9 +8808,7 @@ export interface components {
8495
8808
  */
8496
8809
  stamp_duty_amount?: number | null;
8497
8810
  /** @description Withholding tax (specific to Italy) */
8498
- withholding_tax?:
8499
- | components['schemas']['backbone_common__models__invoicing__common__WithholdingTax']
8500
- | null;
8811
+ withholding_tax?: components['schemas']['InvoicingWithholdingTax'] | null;
8501
8812
  /** @description Welfare fund (specific to Italy) */
8502
8813
  welfare_fund?: components['schemas']['WelfareFund'] | null;
8503
8814
  /** @description Payment reporting (specific to Italy) */
@@ -8511,9 +8822,7 @@ export interface components {
8511
8822
  */
8512
8823
  stamp_duty_amount?: number | null;
8513
8824
  /** @description Withholding tax (specific to Italy) */
8514
- withholding_tax?:
8515
- | components['schemas']['backbone_common__models__invoicing__common__WithholdingTax']
8516
- | null;
8825
+ withholding_tax?: components['schemas']['InvoicingWithholdingTax'] | null;
8517
8826
  /** @description Welfare fund (specific to Italy) */
8518
8827
  welfare_fund?: components['schemas']['WelfareFund'] | null;
8519
8828
  /** @description Payment reporting (specific to Italy) */
@@ -9143,7 +9452,7 @@ export interface components {
9143
9452
  * Mode
9144
9453
  * @enum {string}
9145
9454
  */
9146
- Mode: 'EAT_IN' | 'TAKEAWAY' | 'DELIVERY';
9455
+ Mode: 'EAT_IN' | 'TAKEAWAY' | 'DELIVERY' | 'UNKNOWN';
9147
9456
  /** MultipleMatchingIn */
9148
9457
  MultipleMatchingIn: {
9149
9458
  /** Matchings */
@@ -9336,8 +9645,8 @@ export interface components {
9336
9645
  /** OrderItemIn */
9337
9646
  OrderItemIn: {
9338
9647
  customer: components['schemas']['OrderCustomerItem'];
9339
- billing_address: components['schemas']['backbone_common__models__commerce__common__AddressItemIn'];
9340
- shipping_address: components['schemas']['backbone_common__models__commerce__common__AddressItemIn'];
9648
+ billing_address: components['schemas']['CommerceAddressItemIn'];
9649
+ shipping_address: components['schemas']['CommerceAddressItemIn'];
9341
9650
  /**
9342
9651
  * Currency
9343
9652
  * @description Indicates the currency of the order (e.g. EUR).
@@ -9365,8 +9674,8 @@ export interface components {
9365
9674
  /** Order Number */
9366
9675
  order_number?: string | null;
9367
9676
  customer?: components['schemas']['OrderCustomerItemOut'] | null;
9368
- billing_address?: components['schemas']['AddressItemOut'] | null;
9369
- shipping_address?: components['schemas']['AddressItemOut'] | null;
9677
+ billing_address?: components['schemas']['CommerceAddressItemOut'] | null;
9678
+ shipping_address?: components['schemas']['CommerceAddressItemOut'] | null;
9370
9679
  /** Created On */
9371
9680
  created_on?: string | null;
9372
9681
  /** Last Updated On */
@@ -9548,7 +9857,7 @@ export interface components {
9548
9857
  * Discounts
9549
9858
  * @default []
9550
9859
  */
9551
- discounts: components['schemas']['DiscountItem'][] | null;
9860
+ discounts: components['schemas']['CommerceDiscountItem'][] | null;
9552
9861
  /**
9553
9862
  * Gift Card
9554
9863
  * @default false
@@ -9575,7 +9884,7 @@ export interface components {
9575
9884
  * Categories
9576
9885
  * @default []
9577
9886
  */
9578
- categories: components['schemas']['ProductCategoryItem'][] | null;
9887
+ categories: components['schemas']['CommerceProductCategoryItem'][] | null;
9579
9888
  };
9580
9889
  /** OrderPaymentMethods */
9581
9890
  OrderPaymentMethods: {
@@ -9690,7 +9999,7 @@ export interface components {
9690
9999
  payment_method_name?: string | null;
9691
10000
  /** Amount */
9692
10001
  amount: number;
9693
- status: components['schemas']['backbone_common__models__commerce__common__TransactionStatus'];
10002
+ status: components['schemas']['CommerceTransactionStatus'];
9694
10003
  };
9695
10004
  /** OriginalOutstandingItem */
9696
10005
  OriginalOutstandingItem: {
@@ -10103,9 +10412,16 @@ export interface components {
10103
10412
  delivery_fee: number | null;
10104
10413
  /**
10105
10414
  * @description Delivery Mode
10415
+ * @default UNKNOWN
10106
10416
  * @example eat_in
10107
10417
  */
10108
- mode?: components['schemas']['Mode'] | null;
10418
+ mode: components['schemas']['Mode'] | null;
10419
+ /**
10420
+ * @description Source of the order
10421
+ * @default UNKNOWN
10422
+ * @example web
10423
+ */
10424
+ source: components['schemas']['Source'] | null;
10109
10425
  /**
10110
10426
  * Currency
10111
10427
  * @description Currency of the order
@@ -10229,9 +10545,7 @@ export interface components {
10229
10545
  * @default []
10230
10546
  * @example []
10231
10547
  */
10232
- discounts:
10233
- | components['schemas']['backbone_common__models__pos_pms__DiscountItem'][]
10234
- | null;
10548
+ discounts: components['schemas']['DiscountItem'][] | null;
10235
10549
  /**
10236
10550
  * Product Id
10237
10551
  * @description Reference to the product related to this item
@@ -10285,7 +10599,7 @@ export interface components {
10285
10599
  * @default Unknown
10286
10600
  * @example Completed
10287
10601
  */
10288
- status: components['schemas']['backbone_common__models__pos_pms__PaymentStatus'] | null;
10602
+ status: components['schemas']['POSPaymentStatus'] | null;
10289
10603
  /**
10290
10604
  * Currency
10291
10605
  * @description Currency of the payment
@@ -10543,9 +10857,7 @@ export interface components {
10543
10857
  * @default []
10544
10858
  * @example []
10545
10859
  */
10546
- discounts:
10547
- | components['schemas']['backbone_common__models__pos_pms__DiscountItem'][]
10548
- | null;
10860
+ discounts: components['schemas']['DiscountItem'][] | null;
10549
10861
  /**
10550
10862
  * Product Id
10551
10863
  * @description Reference to the product related to this item
@@ -10668,9 +10980,16 @@ export interface components {
10668
10980
  delivery_fee: number | null;
10669
10981
  /**
10670
10982
  * @description Delivery Mode
10983
+ * @default UNKNOWN
10671
10984
  * @example eat_in
10672
10985
  */
10673
- mode?: components['schemas']['Mode'] | null;
10986
+ mode: components['schemas']['Mode'] | null;
10987
+ /**
10988
+ * @description Source of the order
10989
+ * @default UNKNOWN
10990
+ * @example web
10991
+ */
10992
+ source: components['schemas']['Source'] | null;
10674
10993
  /**
10675
10994
  * Currency
10676
10995
  * @description Currency of the order
@@ -10762,7 +11081,7 @@ export interface components {
10762
11081
  * @default Unknown
10763
11082
  * @example Completed
10764
11083
  */
10765
- status: components['schemas']['backbone_common__models__pos_pms__PaymentStatus'] | null;
11084
+ status: components['schemas']['POSPaymentStatus'] | null;
10766
11085
  /**
10767
11086
  * Currency
10768
11087
  * @description Currency of the payment
@@ -10776,6 +11095,17 @@ export interface components {
10776
11095
  */
10777
11096
  date?: string | null;
10778
11097
  };
11098
+ /**
11099
+ * POSPaymentStatus
11100
+ * @enum {string}
11101
+ */
11102
+ POSPaymentStatus:
11103
+ | 'Pending'
11104
+ | 'Completed'
11105
+ | 'Canceled'
11106
+ | 'Failed'
11107
+ | 'Unknown'
11108
+ | 'Authorised';
10779
11109
  /** POSProductItem */
10780
11110
  POSProductItem: {
10781
11111
  /**
@@ -10934,9 +11264,7 @@ export interface components {
10934
11264
  * @description List of addresses associated with the client.
10935
11265
  * @default []
10936
11266
  */
10937
- addresses:
10938
- | components['schemas']['backbone_common__models__common__AddressItemOut'][]
10939
- | null;
11267
+ addresses: components['schemas']['AddressItemOut'][] | null;
10940
11268
  /**
10941
11269
  * Third Party Account
10942
11270
  * @description Third party account number/code representing the client in the accounting software.
@@ -10965,7 +11293,7 @@ export interface components {
10965
11293
  * Credentials
10966
11294
  * @description Can be used to update the credentials of an existing connection. Please use the getIntegrations route to see the available credentials for each integration
10967
11295
  */
10968
- credentials?: components['schemas']['CredentialItem-Input'][] | null;
11296
+ credentials?: components['schemas']['CredentialItem'][] | null;
10969
11297
  };
10970
11298
  /** Payment */
10971
11299
  Payment: {
@@ -11016,7 +11344,7 @@ export interface components {
11016
11344
  /** @description Technical id in the target software */
11017
11345
  source_ref: components['schemas']['Ref'];
11018
11346
  /** @description Payment status */
11019
- status: components['schemas']['PaymentStatus'];
11347
+ status: components['schemas']['PaymentPaymentStatus'];
11020
11348
  /**
11021
11349
  * Description
11022
11350
  * @description Description
@@ -11079,6 +11407,18 @@ export interface components {
11079
11407
  */
11080
11408
  extra?: string | null;
11081
11409
  };
11410
+ /**
11411
+ * PaymentPaymentStatus
11412
+ * @enum {string}
11413
+ */
11414
+ PaymentPaymentStatus:
11415
+ | 'pending'
11416
+ | 'completed'
11417
+ | 'partially_completed'
11418
+ | 'canceled'
11419
+ | 'failed'
11420
+ | 'unknown'
11421
+ | 'authorized';
11082
11422
  /** PaymentReporting */
11083
11423
  PaymentReporting: {
11084
11424
  /** @description Payment method */
@@ -11123,19 +11463,7 @@ export interface components {
11123
11463
  * PaymentStatus
11124
11464
  * @enum {string}
11125
11465
  */
11126
- PaymentStatus:
11127
- | 'pending'
11128
- | 'completed'
11129
- | 'partially_completed'
11130
- | 'canceled'
11131
- | 'failed'
11132
- | 'unknown'
11133
- | 'authorized';
11134
- /**
11135
- * PaymentStatus
11136
- * @enum {string}
11137
- */
11138
- 'PaymentStatus-Input': 'all' | 'unpaid' | 'paid';
11466
+ PaymentStatus: 'all' | 'unpaid' | 'paid';
11139
11467
  /** PaymentTermAccountInfo */
11140
11468
  PaymentTermAccountInfo: {
11141
11469
  /**
@@ -11195,7 +11523,7 @@ export interface components {
11195
11523
  country?: string | null;
11196
11524
  };
11197
11525
  /** PostConnectionItem */
11198
- 'PostConnectionItem-Input': {
11526
+ PostConnectionItem: {
11199
11527
  /**
11200
11528
  * Integrationid
11201
11529
  * @description Can be used to specify the integration code of a specific connector. If specified, the url will point directly to the connection page of the connector and will redirect on save to the redirect url of the consumer if specified.
@@ -11210,7 +11538,7 @@ export interface components {
11210
11538
  * Credentials
11211
11539
  * @description Can be used to specify the credentials of your connection. Must be used in combination with an integrationid and a name. Please use the getIntegrations route to see the available credentials for each integration
11212
11540
  */
11213
- credentials?: components['schemas']['CredentialItem-Input'][] | null;
11541
+ credentials?: components['schemas']['CredentialItem'][] | null;
11214
11542
  /**
11215
11543
  * Country
11216
11544
  * @description ISO 3166-1 alpha-2 country code to filter connectors by country. Ignored if integrationid is provided.
@@ -11222,17 +11550,22 @@ export interface components {
11222
11550
  * @default false
11223
11551
  */
11224
11552
  redirect: boolean | null;
11225
- };
11226
- /** PostConnectionItem */
11227
- 'PostConnectionItem-Output': {
11228
- /** Id */
11229
- id: string;
11230
- /** Title */
11231
- title: string;
11232
- /** Optional */
11233
- optional: boolean;
11234
- /** Resource */
11235
- resource: string;
11553
+ /**
11554
+ * Apis
11555
+ * @description Can be used to filter connectors by APIs. Ignored if integrationid is provided.
11556
+ */
11557
+ apis?:
11558
+ | (
11559
+ | 'Point of Sale'
11560
+ | 'eCommerce'
11561
+ | 'Accounting'
11562
+ | 'Invoicing'
11563
+ | 'Banking'
11564
+ | 'Custom'
11565
+ | 'Payment'
11566
+ | 'Property Management System'
11567
+ )[]
11568
+ | null;
11236
11569
  };
11237
11570
  /** PostConsumerItem */
11238
11571
  PostConsumerItem: {
@@ -11301,11 +11634,28 @@ export interface components {
11301
11634
  ProductCategoryItem: {
11302
11635
  /**
11303
11636
  * Id
11304
- * @description Technical id of the category in Chift
11637
+ * @description Unique identifier of the category
11638
+ * @example 371ca583-d218-4900-b236-397532cf0e52
11305
11639
  */
11306
11640
  id: string;
11307
- /** Name */
11641
+ /**
11642
+ * Name
11643
+ * @description Name given to the category
11644
+ * @example Pizza
11645
+ */
11308
11646
  name: string;
11647
+ /**
11648
+ * Description
11649
+ * @description Description of the category
11650
+ * @example Delicious pizza
11651
+ */
11652
+ description?: string | null;
11653
+ /**
11654
+ * Id Parent
11655
+ * @description Indicates if the category belongs to a parent category
11656
+ * @example 371ca583-d218-4900-b236-397532cf0e55
11657
+ */
11658
+ id_parent?: string | null;
11309
11659
  };
11310
11660
  /** ProductCostItem */
11311
11661
  ProductCostItem: {
@@ -11315,7 +11665,7 @@ export interface components {
11315
11665
  currency: string;
11316
11666
  };
11317
11667
  /** ProductItem */
11318
- 'ProductItem-Input': {
11668
+ ProductItem: {
11319
11669
  /**
11320
11670
  * Name
11321
11671
  * @description Name
@@ -11363,58 +11713,6 @@ export interface components {
11363
11713
  */
11364
11714
  cost: number | null;
11365
11715
  };
11366
- /** ProductItem */
11367
- 'ProductItem-Output': {
11368
- /**
11369
- * Id
11370
- * @description Technical id in Chift
11371
- */
11372
- id: string;
11373
- /** @description Technical id in the target software */
11374
- source_ref: components['schemas']['Ref'];
11375
- /** Name */
11376
- name: string;
11377
- /** Description */
11378
- description?: string | null;
11379
- /** Description Html */
11380
- description_html?: string | null;
11381
- /**
11382
- * Categories
11383
- * @default []
11384
- */
11385
- categories: components['schemas']['ProductCategoryItem'][] | null;
11386
- /** Created On */
11387
- created_on?: string | null;
11388
- /** Last Updated On */
11389
- last_updated_on?: string | null;
11390
- /**
11391
- * Variants
11392
- * @default []
11393
- */
11394
- variants: components['schemas']['ProductVariantItem'][] | null;
11395
- status?: components['schemas']['ProductStatus'] | null;
11396
- /** Sku */
11397
- sku?: string | null;
11398
- /**
11399
- * Common Attributes
11400
- * @description List of attributes that are shared by all variants of the product.
11401
- * @default []
11402
- */
11403
- common_attributes: components['schemas']['CommonAttributeItem'][] | null;
11404
- /**
11405
- * Variant Attributes Options
11406
- * @default []
11407
- */
11408
- variant_attributes_options:
11409
- | components['schemas']['VariantAttributeOptionItem'][]
11410
- | null;
11411
- /**
11412
- * Common Images
11413
- * @description List of images that are shared by all variants of the product.
11414
- * @default []
11415
- */
11416
- common_images: components['schemas']['ImageItem'][] | null;
11417
- };
11418
11716
  /** ProductItemOut */
11419
11717
  ProductItemOut: {
11420
11718
  /**
@@ -11521,7 +11819,7 @@ export interface components {
11521
11819
  * Categories
11522
11820
  * @default []
11523
11821
  */
11524
- categories: components['schemas']['ProductCategoryItem'][] | null;
11822
+ categories: components['schemas']['CommerceProductCategoryItem'][] | null;
11525
11823
  /** Created On */
11526
11824
  created_on?: string | null;
11527
11825
  /** Sku */
@@ -11537,9 +11835,7 @@ export interface components {
11537
11835
  * Prices
11538
11836
  * @default []
11539
11837
  */
11540
- prices:
11541
- | components['schemas']['backbone_common__models__commerce__common__ProductPriceItem'][]
11542
- | null;
11838
+ prices: components['schemas']['CommerceProductPriceItem'][] | null;
11543
11839
  unit_cost?: components['schemas']['ProductCostItem'] | null;
11544
11840
  /** Unit Of Measure */
11545
11841
  unit_of_measure?: string | null;
@@ -11628,7 +11924,7 @@ export interface components {
11628
11924
  }[];
11629
11925
  } | null;
11630
11926
  /** Connections */
11631
- connections: components['schemas']['ConnectionItem'][];
11927
+ connections: components['schemas']['SyncsConnectionItem'][];
11632
11928
  /**
11633
11929
  * Mappings
11634
11930
  * @default []
@@ -11672,6 +11968,12 @@ export interface components {
11672
11968
  /** Sub Mapping Description */
11673
11969
  sub_mapping_description?: string | null;
11674
11970
  };
11971
+ /** ReadSyncSkipMappingItem */
11972
+ ReadSyncSkipMappingItem: {
11973
+ /** Name */
11974
+ name: string;
11975
+ skip_reason: components['schemas']['SyncSkipReason'];
11976
+ };
11675
11977
  /** Ref */
11676
11978
  Ref: {
11677
11979
  /**
@@ -11712,7 +12014,7 @@ export interface components {
11712
12014
  /** @description Technical id in the target software */
11713
12015
  source_ref: components['schemas']['Ref'];
11714
12016
  /** @description Payment status */
11715
- status: components['schemas']['PaymentStatus'];
12017
+ status: components['schemas']['PaymentPaymentStatus'];
11716
12018
  /**
11717
12019
  * Description
11718
12020
  * @description Description
@@ -11767,43 +12069,163 @@ export interface components {
11767
12069
  */
11768
12070
  total: number;
11769
12071
  };
11770
- /** ReservationItem */
11771
- ReservationItem: {
12072
+ /**
12073
+ * ReportCategory
12074
+ * @enum {string}
12075
+ */
12076
+ ReportCategory:
12077
+ | 'Supply of goods subject to value-added tax.'
12078
+ | 'Services subject to value-added tax.'
12079
+ | 'Supply of goods and provision of services not subject to value-added tax in France, including intra-Community distance sales mentioned in 1° of I of Article 258 A and in Article 259 B of the French General Tax Code.'
12080
+ | 'Transactions subject to the regimes provided for in e) of 1 of Article 266 and in Articles 268 and 297 A of the French General Tax Code (VAT margin scheme).';
12081
+ /** ReportItem */
12082
+ ReportItem: {
11772
12083
  /**
11773
- * Id
11774
- * @description Technical id in Chift
12084
+ * Date
12085
+ * Format: date
12086
+ * @description Date of the report
12087
+ * @example 2025-01-01
11775
12088
  */
11776
- id: string;
11777
- /** @description Technical id in the target software */
11778
- source_ref: components['schemas']['Ref'];
12089
+ date: string;
11779
12090
  /**
11780
- * Start Date
11781
- * @description Start date of the reservation
11782
- * @example 2024-10-01T12:00:00
12091
+ * Location Id
12092
+ * @description Unique identifier of the location
12093
+ * @example 371ca583-d218-4900-b236-397532cf0e52
11783
12094
  */
11784
- start_date?: string | null;
12095
+ location_id: string;
11785
12096
  /**
11786
- * End Date
11787
- * @description End date of the reservation
11788
- * @example 2024-10-10T12:00:00
12097
+ * Orders
12098
+ * @description List of orders related to the report
12099
+ * @default []
11789
12100
  */
11790
- end_date?: string | null;
12101
+ orders: components['schemas']['ReportOrders'][] | null;
11791
12102
  /**
11792
- * Creation Date
11793
- * @description Creation date of the reservation
11794
- * @example 2024-09-25T12:00:00
12103
+ * Payments
12104
+ * @description List of payments related to the report
12105
+ * @default []
11795
12106
  */
11796
- creation_date?: string | null;
11797
- /** @description Unique reference to the resource related to the reservation */
11798
- resource_id?: components['schemas']['ChiftId'] | null;
12107
+ payments: components['schemas']['ReportPayments'][] | null;
12108
+ };
12109
+ /** ReportOrders */
12110
+ ReportOrders: {
11799
12111
  /**
11800
- * Resource Name
11801
- * @description Name of the resource related to the reservation
11802
- * @example Room 101
12112
+ * Currency
12113
+ * @description Currency of the report (ISO 4217)
12114
+ * @example EUR
11803
12115
  */
11804
- resource_name?: string | null;
12116
+ currency: string;
11805
12117
  /**
11806
- * Resource Identifier
12118
+ * Total
12119
+ * @description Total amount including tax of the sales
12120
+ * @example 10
12121
+ */
12122
+ total: number;
12123
+ /**
12124
+ * Tax Amount
12125
+ * @description Total amount of the taxes
12126
+ * @example 1
12127
+ */
12128
+ tax_amount: number;
12129
+ /**
12130
+ * Tax Duedatetypecode
12131
+ * @description Code giving specific meaning to a date, time or period
12132
+ * @example 4
12133
+ */
12134
+ tax_duedatetypecode?: string | null;
12135
+ /**
12136
+ * @description Category of the orders
12137
+ * @example TLB1
12138
+ */
12139
+ category: components['schemas']['ReportCategory'];
12140
+ /**
12141
+ * Total Orders
12142
+ * @description Total number of orders for the period
12143
+ * @example 10
12144
+ */
12145
+ total_orders: number;
12146
+ /**
12147
+ * Taxes
12148
+ * @description List of taxes related to the report
12149
+ * @default []
12150
+ */
12151
+ taxes: components['schemas']['TotalTaxItem'][] | null;
12152
+ };
12153
+ /** ReportPayments */
12154
+ ReportPayments: {
12155
+ /**
12156
+ * Tax Rate
12157
+ * @description Tax rate
12158
+ * @example 10
12159
+ */
12160
+ tax_rate: number;
12161
+ /**
12162
+ * Tax Amount
12163
+ * @description Tax amount
12164
+ * @example 1
12165
+ */
12166
+ tax_amount: number;
12167
+ /**
12168
+ * Total
12169
+ * @description Total amount including tax
12170
+ * @example 11
12171
+ */
12172
+ total: number;
12173
+ /**
12174
+ * Payment Method Id
12175
+ * @description Unique identifier of the payment method used for the payment
12176
+ * @example payment_method-1
12177
+ */
12178
+ payment_method_id?: string | null;
12179
+ /**
12180
+ * Payment Method Name
12181
+ * @description Chift's name of the payment method used for the payment
12182
+ * @example Cash
12183
+ */
12184
+ payment_method_name?: string | null;
12185
+ /**
12186
+ * Currency
12187
+ * @description Currency of the payment (ISO 4217)
12188
+ * @example EUR
12189
+ */
12190
+ currency: string;
12191
+ };
12192
+ /** ReservationItem */
12193
+ ReservationItem: {
12194
+ /**
12195
+ * Id
12196
+ * @description Technical id in Chift
12197
+ */
12198
+ id: string;
12199
+ /** @description Technical id in the target software */
12200
+ source_ref: components['schemas']['Ref'];
12201
+ /**
12202
+ * Start Date
12203
+ * @description Start date of the reservation
12204
+ * @example 2024-10-01T12:00:00
12205
+ */
12206
+ start_date?: string | null;
12207
+ /**
12208
+ * End Date
12209
+ * @description End date of the reservation
12210
+ * @example 2024-10-10T12:00:00
12211
+ */
12212
+ end_date?: string | null;
12213
+ /**
12214
+ * Creation Date
12215
+ * @description Creation date of the reservation
12216
+ * @example 2024-09-25T12:00:00
12217
+ */
12218
+ creation_date?: string | null;
12219
+ /** @description Unique reference to the resource related to the reservation */
12220
+ resource_id?: components['schemas']['ChiftId'] | null;
12221
+ /**
12222
+ * Resource Name
12223
+ * @description Name of the resource related to the reservation
12224
+ * @example Room 101
12225
+ */
12226
+ resource_name?: string | null;
12227
+ /**
12228
+ * Resource Identifier
11807
12229
  * @description Identifier of the resource related to the reservation
11808
12230
  * @example R101
11809
12231
  */
@@ -11917,6 +12339,23 @@ export interface components {
11917
12339
  */
11918
12340
  total: number;
11919
12341
  };
12342
+ /**
12343
+ * Source
12344
+ * @enum {string}
12345
+ */
12346
+ Source:
12347
+ | 'WEB'
12348
+ | 'MOBILE'
12349
+ | 'KIOSK'
12350
+ | 'POS'
12351
+ | 'REMOTE_POS'
12352
+ | 'JUSTEAT'
12353
+ | 'FOODORA'
12354
+ | 'UBEREATS'
12355
+ | 'GLOVO'
12356
+ | 'DELIVEROO'
12357
+ | 'SMILEIN'
12358
+ | 'UNKNOWN';
11920
12359
  /**
11921
12360
  * States
11922
12361
  * @enum {string}
@@ -12151,9 +12590,7 @@ export interface components {
12151
12590
  * @description List of addresses associated with the supplier.
12152
12591
  * @default []
12153
12592
  */
12154
- addresses:
12155
- | components['schemas']['backbone_common__models__common__AddressItemOut'][]
12156
- | null;
12593
+ addresses: components['schemas']['AddressItemOut'][] | null;
12157
12594
  /**
12158
12595
  * Third Party Account
12159
12596
  * @description Third party account number/code representing the client in the accounting software.
@@ -12259,7 +12696,7 @@ export interface components {
12259
12696
  * @description List of addresses associated with the supplier.
12260
12697
  * @default []
12261
12698
  */
12262
- addresses: components['schemas']['AddressItemOut-Input'][] | null;
12699
+ addresses: components['schemas']['AddressItemOut'][] | null;
12263
12700
  };
12264
12701
  /** SyncConsumerItem */
12265
12702
  SyncConsumerItem: {
@@ -12294,6 +12731,11 @@ export interface components {
12294
12731
  * @description Values of the mappings requested for the sync for the specific consumer
12295
12732
  */
12296
12733
  link_mappings?: components['schemas']['ReadSyncMappingItem'][] | null;
12734
+ /**
12735
+ * Skip Mappings
12736
+ * @description List of mappings which are ignored due to specific configuration of the consumer
12737
+ */
12738
+ skip_mappings?: components['schemas']['ReadSyncSkipMappingItem'][] | null;
12297
12739
  /**
12298
12740
  * Link Metadata
12299
12741
  * @description Metadata passed during creation
@@ -12319,6 +12761,28 @@ export interface components {
12319
12761
  * @enum {string}
12320
12762
  */
12321
12763
  SyncConsumerStatus: 'active' | 'inactive';
12764
+ /**
12765
+ * SyncSkipReason
12766
+ * @enum {string}
12767
+ */
12768
+ SyncSkipReason: 'presync' | 'challenge';
12769
+ /** SyncsConnectionItem */
12770
+ SyncsConnectionItem: {
12771
+ /** One Api */
12772
+ one_api?: number | null;
12773
+ /** Connection Type */
12774
+ connection_type?: number | null;
12775
+ /**
12776
+ * Display Order
12777
+ * @default 0
12778
+ */
12779
+ display_order: number;
12780
+ /**
12781
+ * Display Hidden
12782
+ * @default false
12783
+ */
12784
+ display_hidden: boolean;
12785
+ };
12322
12786
  /** TaxInfo */
12323
12787
  TaxInfo: {
12324
12788
  /**
@@ -12462,11 +12926,6 @@ export interface components {
12462
12926
  /** Payment Id */
12463
12927
  payment_id?: string | null;
12464
12928
  };
12465
- /**
12466
- * TransactionStatus
12467
- * @enum {string}
12468
- */
12469
- TransactionStatus: 'pending' | 'declined' | 'completed';
12470
12929
  /**
12471
12930
  * TriggerPriority
12472
12931
  * @enum {string}
@@ -12551,7 +13010,7 @@ export interface components {
12551
13010
  */
12552
13011
  currency?: string | null;
12553
13012
  /** @description Invoice type of the uploaded document */
12554
- invoice_type?: components['schemas']['InvoiceType'] | null;
13013
+ invoice_type?: components['schemas']['InvoicingInvoiceType'] | null;
12555
13014
  /** @description Status of the uploaded document */
12556
13015
  status?: components['schemas']['InvoiceStatus'] | null;
12557
13016
  /**
@@ -12690,7 +13149,7 @@ export interface components {
12690
13149
  * Categories
12691
13150
  * @default []
12692
13151
  */
12693
- categories: components['schemas']['ProductCategoryItem'][] | null;
13152
+ categories: components['schemas']['CommerceProductCategoryItem'][] | null;
12694
13153
  /** Created On */
12695
13154
  created_on?: string | null;
12696
13155
  /** Sku */
@@ -12706,9 +13165,7 @@ export interface components {
12706
13165
  * Prices
12707
13166
  * @default []
12708
13167
  */
12709
- prices:
12710
- | components['schemas']['backbone_common__models__commerce__common__ProductPriceItem'][]
12711
- | null;
13168
+ prices: components['schemas']['CommerceProductPriceItem'][] | null;
12712
13169
  unit_cost?: components['schemas']['ProductCostItem'] | null;
12713
13170
  /** Unit Of Measure */
12714
13171
  unit_of_measure?: string | null;
@@ -12945,230 +13402,46 @@ export interface components {
12945
13402
  * @enum {string}
12946
13403
  */
12947
13404
  WithholdingTaxReason: 'RT01' | 'RT02' | 'RT03' | 'RT04' | 'RT05' | 'RT06';
12948
- /** ConnectionItem */
12949
- backbone_api__app__routers__connections__ConnectionItem: {
12950
- /**
12951
- * Connectionid
12952
- * Format: uuid
12953
- */
12954
- connectionid: string;
12955
- /** Name */
12956
- name: string;
12957
- /** Integration */
12958
- integration: string;
12959
- /** Integrationid */
12960
- integrationid: number;
12961
- /** Api */
12962
- api: string;
12963
- /** Data */
12964
- data?: {
12965
- [key: string]: unknown;
12966
- } | null;
12967
- status: components['schemas']['Status'];
12968
- /** @description For local agent only. Indicates whether the local agent is up and running */
12969
- agent?: components['schemas']['LocalAgentInfo'] | null;
13405
+ };
13406
+ responses: never;
13407
+ parameters: never;
13408
+ requestBodies: never;
13409
+ headers: never;
13410
+ pathItems: never;
13411
+ }
13412
+ export type $defs = Record<string, never>;
13413
+ export interface operations {
13414
+ generate_access_token_token_post: {
13415
+ parameters: {
13416
+ query?: never;
13417
+ header?: never;
13418
+ path?: never;
13419
+ cookie?: never;
12970
13420
  };
12971
- /**
12972
- * DocumentType
12973
- * @enum {string}
12974
- */
12975
- backbone_common__models__accounting__common__DocumentType: 'invoice' | 'entry';
12976
- /**
12977
- * InvoiceType
12978
- * @enum {string}
12979
- */
12980
- backbone_common__models__accounting__common__InvoiceType:
12981
- | 'customer_invoice'
12982
- | 'customer_refund'
12983
- | 'supplier_invoice'
12984
- | 'supplier_refund';
12985
- /** AddressItemIn */
12986
- backbone_common__models__commerce__common__AddressItemIn: {
12987
- /** First Name */
12988
- first_name: string;
12989
- /** Last Name */
12990
- last_name: string;
12991
- /** Street */
12992
- street: string;
12993
- /** Number */
12994
- number: string;
12995
- /** Box */
12996
- box?: string | null;
12997
- /** City */
12998
- city: string;
12999
- /** Postal Code */
13000
- postal_code?: string | null;
13001
- /**
13002
- * Country
13003
- * @description Format: ISO 3166-1 codes.
13004
- */
13005
- country: string;
13006
- /** Phone */
13007
- phone?: string | null;
13008
- /** Email */
13009
- email?: string | null;
13421
+ requestBody: {
13422
+ content: {
13423
+ 'application/json': components['schemas']['AuthItem'];
13424
+ };
13010
13425
  };
13011
- /** ProductPriceItem */
13012
- backbone_common__models__commerce__common__ProductPriceItem: {
13013
- /** Currency */
13014
- currency: string;
13015
- /**
13016
- * Price
13017
- * @default 0
13018
- */
13019
- price: number | null;
13020
- };
13021
- /**
13022
- * TransactionStatus
13023
- * @enum {string}
13024
- */
13025
- backbone_common__models__commerce__common__TransactionStatus:
13026
- | 'failed'
13027
- | 'pending'
13028
- | 'success';
13029
- /** AddressItemOut */
13030
- backbone_common__models__common__AddressItemOut: {
13031
- address_type: components['schemas']['AddressType'];
13032
- /** Name */
13033
- name?: string | null;
13034
- /** Number */
13035
- number?: string | null;
13036
- /** Box */
13037
- box?: string | null;
13038
- /** Phone */
13039
- phone?: string | null;
13040
- /** Mobile */
13041
- mobile?: string | null;
13042
- /** Email */
13043
- email?: string | null;
13044
- /** Street */
13045
- street?: string | null;
13046
- /** City */
13047
- city?: string | null;
13048
- /** Postal Code */
13049
- postal_code?: string | null;
13050
- /**
13051
- * Country
13052
- * @description Format: ISO 3166-1 codes.
13053
- */
13054
- country?: string | null;
13055
- };
13056
- /** WithholdingTax */
13057
- backbone_common__models__invoicing__common__WithholdingTax: {
13058
- /**
13059
- * Rate
13060
- * @description Rate
13061
- */
13062
- rate: number;
13063
- /**
13064
- * Amount
13065
- * @description Amount
13066
- */
13067
- amount: number;
13068
- /** @description Reason */
13069
- reason?: components['schemas']['WithholdingTaxReason'] | null;
13070
- /** @description Payment reason */
13071
- payment_reason?: components['schemas']['WithholdingTaxPaymentReason'] | null;
13072
- };
13073
- /** ProductCategoryItem */
13074
- backbone_common__models__pos__common__ProductCategoryItem: {
13075
- /**
13076
- * Id
13077
- * @description Unique identifier of the category
13078
- * @example 371ca583-d218-4900-b236-397532cf0e52
13079
- */
13080
- id: string;
13081
- /**
13082
- * Name
13083
- * @description Name given to the category
13084
- * @example Pizza
13085
- */
13086
- name: string;
13087
- /**
13088
- * Description
13089
- * @description Description of the category
13090
- * @example Delicious pizza
13091
- */
13092
- description?: string | null;
13093
- /**
13094
- * Id Parent
13095
- * @description Indicates if the category belongs to a parent category
13096
- * @example 371ca583-d218-4900-b236-397532cf0e55
13097
- */
13098
- id_parent?: string | null;
13099
- };
13100
- /** DiscountItem */
13101
- backbone_common__models__pos_pms__DiscountItem: {
13102
- /**
13103
- * Name
13104
- * @description Name of the discount
13105
- * @example Percentage discount
13106
- */
13107
- name?: string | null;
13108
- /**
13109
- * Total
13110
- * @description Total amount of the discount
13111
- * @example 10
13112
- */
13113
- total: number;
13114
- /**
13115
- * @description Type of the discount
13116
- * @default UNKNOWN
13117
- * @example offered
13118
- */
13119
- type: components['schemas']['DiscountType'];
13120
- };
13121
- /**
13122
- * PaymentStatus
13123
- * @enum {string}
13124
- */
13125
- backbone_common__models__pos_pms__PaymentStatus:
13126
- | 'Pending'
13127
- | 'Completed'
13128
- | 'Canceled'
13129
- | 'Failed'
13130
- | 'Unknown'
13131
- | 'Authorised';
13132
- };
13133
- responses: never;
13134
- parameters: never;
13135
- requestBodies: never;
13136
- headers: never;
13137
- pathItems: never;
13138
- }
13139
- export type $defs = Record<string, never>;
13140
- export interface operations {
13141
- generate_access_token_token_post: {
13142
- parameters: {
13143
- query?: never;
13144
- header?: never;
13145
- path?: never;
13146
- cookie?: never;
13147
- };
13148
- requestBody: {
13149
- content: {
13150
- 'application/json': components['schemas']['AuthItem'];
13151
- };
13152
- };
13153
- responses: {
13154
- /** @description Successful Response */
13155
- 200: {
13156
- headers: {
13157
- [name: string]: unknown;
13158
- };
13159
- content: {
13160
- 'application/json': components['schemas']['Token'];
13161
- };
13162
- };
13163
- /** @description Validation Error */
13164
- 422: {
13165
- headers: {
13166
- [name: string]: unknown;
13167
- };
13168
- content: {
13169
- 'application/json': components['schemas']['HTTPValidationError'];
13170
- };
13171
- };
13426
+ responses: {
13427
+ /** @description Successful Response */
13428
+ 200: {
13429
+ headers: {
13430
+ [name: string]: unknown;
13431
+ };
13432
+ content: {
13433
+ 'application/json': components['schemas']['Token'];
13434
+ };
13435
+ };
13436
+ /** @description Validation Error */
13437
+ 422: {
13438
+ headers: {
13439
+ [name: string]: unknown;
13440
+ };
13441
+ content: {
13442
+ 'application/json': components['schemas']['HTTPValidationError'];
13443
+ };
13444
+ };
13172
13445
  };
13173
13446
  };
13174
13447
  generate_mcp_token_mcp_token_post: {
@@ -13453,7 +13726,7 @@ export interface operations {
13453
13726
  [name: string]: unknown;
13454
13727
  };
13455
13728
  content: {
13456
- 'application/json': components['schemas']['backbone_api__app__routers__connections__ConnectionItem'][];
13729
+ 'application/json': components['schemas']['ConnectionItem'][];
13457
13730
  };
13458
13731
  };
13459
13732
  /** @description Not Found */
@@ -13493,7 +13766,7 @@ export interface operations {
13493
13766
  };
13494
13767
  requestBody?: {
13495
13768
  content: {
13496
- 'application/json': components['schemas']['PostConnectionItem-Input'] | null;
13769
+ 'application/json': components['schemas']['PostConnectionItem'] | null;
13497
13770
  };
13498
13771
  };
13499
13772
  responses: {
@@ -13725,7 +13998,7 @@ export interface operations {
13725
13998
  integrations_get_integrations: {
13726
13999
  parameters: {
13727
14000
  query?: {
13728
- status?: components['schemas']['Status'] | null;
14001
+ status?: components['schemas']['IntegationStatus'] | null;
13729
14002
  include_coverage?: components['schemas']['BoolParam'] | null;
13730
14003
  };
13731
14004
  header?: never;
@@ -14662,7 +14935,7 @@ export interface operations {
14662
14935
  datastores_get_datastores: {
14663
14936
  parameters: {
14664
14937
  query?: {
14665
- status?: components['schemas']['Status'] | null;
14938
+ status?: components['schemas']['DatastoreStatus'] | null;
14666
14939
  };
14667
14940
  header?: never;
14668
14941
  path?: never;
@@ -15347,12 +15620,6 @@ export interface operations {
15347
15620
  [name: string]: unknown;
15348
15621
  };
15349
15622
  content: {
15350
- /**
15351
- * @example {
15352
- * "message": "A client/supplier already exist with the same code/id in the accounting system.",
15353
- * "status": "error"
15354
- * }
15355
- */
15356
15623
  'application/json': components['schemas']['ChiftError'];
15357
15624
  };
15358
15625
  };
@@ -15466,12 +15733,6 @@ export interface operations {
15466
15733
  [name: string]: unknown;
15467
15734
  };
15468
15735
  content: {
15469
- /**
15470
- * @example {
15471
- * "message": "The VAT number doesn't seem to be correct. Please remove dots and whitespaces. The expected format is the following: BE0784930037",
15472
- * "status": "error"
15473
- * }
15474
- */
15475
15736
  'application/json': components['schemas']['ChiftError'];
15476
15737
  };
15477
15738
  };
@@ -15593,12 +15854,6 @@ export interface operations {
15593
15854
  [name: string]: unknown;
15594
15855
  };
15595
15856
  content: {
15596
- /**
15597
- * @example {
15598
- * "message": "A client/supplier already exist with the same code/id in the accounting system.",
15599
- * "status": "error"
15600
- * }
15601
- */
15602
15857
  'application/json': components['schemas']['ChiftError'];
15603
15858
  };
15604
15859
  };
@@ -15712,12 +15967,6 @@ export interface operations {
15712
15967
  [name: string]: unknown;
15713
15968
  };
15714
15969
  content: {
15715
- /**
15716
- * @example {
15717
- * "message": "The VAT number doesn't seem to be correct. Please remove dots and whitespaces. The expected format is the following: BE0784930037",
15718
- * "status": "error"
15719
- * }
15720
- */
15721
15970
  'application/json': components['schemas']['ChiftError'];
15722
15971
  };
15723
15972
  };
@@ -15788,12 +16037,6 @@ export interface operations {
15788
16037
  [name: string]: unknown;
15789
16038
  };
15790
16039
  content: {
15791
- /**
15792
- * @example {
15793
- * "message": "The document is not a valid base64 string representing a PDF.",
15794
- * "status": "error"
15795
- * }
15796
- */
15797
16040
  'application/json': components['schemas']['ChiftError'];
15798
16041
  };
15799
16042
  };
@@ -15803,12 +16046,6 @@ export interface operations {
15803
16046
  [name: string]: unknown;
15804
16047
  };
15805
16048
  content: {
15806
- /**
15807
- * @example {
15808
- * "message": "The currency 'x' doesn't exist in the accounting system.",
15809
- * "status": "error"
15810
- * }
15811
- */
15812
16049
  'application/json': components['schemas']['ChiftError'];
15813
16050
  };
15814
16051
  };
@@ -15864,12 +16101,6 @@ export interface operations {
15864
16101
  [name: string]: unknown;
15865
16102
  };
15866
16103
  content: {
15867
- /**
15868
- * @example {
15869
- * "message": "The document is not a valid base64 string representing a PDF.",
15870
- * "status": "error"
15871
- * }
15872
- */
15873
16104
  'application/json': components['schemas']['ChiftError'];
15874
16105
  };
15875
16106
  };
@@ -15879,12 +16110,6 @@ export interface operations {
15879
16110
  [name: string]: unknown;
15880
16111
  };
15881
16112
  content: {
15882
- /**
15883
- * @example {
15884
- * "message": "The currency 'x' doesn't exist in the accounting system.",
15885
- * "status": "error"
15886
- * }
15887
- */
15888
16113
  'application/json': components['schemas']['ChiftError'];
15889
16114
  };
15890
16115
  };
@@ -15915,7 +16140,7 @@ export interface operations {
15915
16140
  /** @description Indicate if payments linked to the invoices should be included in the response. By default payments are not included and the field payments is null. */
15916
16141
  include_payments?: components['schemas']['BoolParam'] | null;
15917
16142
  /** @description Extra filter to retrieve invoices with a specific payment status. */
15918
- payment_status?: components['schemas']['PaymentStatus-Input'] | null;
16143
+ payment_status?: components['schemas']['PaymentStatus'] | null;
15919
16144
  /** @description Retrieve invoices created or updated after a specific datetime (e.g. 2023-01-31T15:00:00 for 31 of January 2023 at 3PM UTC). UTC is the only format that is supported on all connectors. */
15920
16145
  updated_after?: string | null;
15921
16146
  /** @description Indicate if invoice lines should be included in the response. By default invoice lines are not included when this requires extra requests on the target API. */
@@ -15926,7 +16151,7 @@ export interface operations {
15926
16151
  header?: never;
15927
16152
  path: {
15928
16153
  consumer_id: string;
15929
- invoice_type: components['schemas']['backbone_common__models__accounting__common__InvoiceType'];
16154
+ invoice_type: components['schemas']['InvoiceType'];
15930
16155
  };
15931
16156
  cookie?: never;
15932
16157
  };
@@ -15983,7 +16208,7 @@ export interface operations {
15983
16208
  /** @description Indicate if payments linked to the invoices should be included in the response. By default payments are not included and the field payments is null. */
15984
16209
  include_payments?: components['schemas']['BoolParam'] | null;
15985
16210
  /** @description Extra filter to retrieve invoices with a specific payment status. */
15986
- payment_status?: components['schemas']['PaymentStatus-Input'] | null;
16211
+ payment_status?: components['schemas']['PaymentStatus'] | null;
15987
16212
  /** @description Retrieve invoices created or updated after a specific datetime (e.g. 2023-01-31T15:00:00 for 31 of January 2023 at 3PM UTC). UTC is the only format that is supported on all connectors. */
15988
16213
  updated_after?: string | null;
15989
16214
  /** @description Indicate if invoice lines should be included in the response. By default invoice lines are not included when this requires extra requests on the target API. */
@@ -15994,7 +16219,7 @@ export interface operations {
15994
16219
  header?: never;
15995
16220
  path: {
15996
16221
  consumer_id: string;
15997
- invoice_type: components['schemas']['backbone_common__models__accounting__common__InvoiceType'];
16222
+ invoice_type: components['schemas']['InvoiceType'];
15998
16223
  };
15999
16224
  cookie?: never;
16000
16225
  };
@@ -16177,9 +16402,13 @@ export interface operations {
16177
16402
  };
16178
16403
  };
16179
16404
  };
16180
- accounting_create_ledger_account: {
16405
+ accounting_get_analytic_accounts: {
16181
16406
  parameters: {
16182
16407
  query?: {
16408
+ /** @description Page number */
16409
+ page?: number;
16410
+ /** @description Page size */
16411
+ size?: number;
16183
16412
  /** @description Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled. */
16184
16413
  folder_id?: string | null;
16185
16414
  };
@@ -16189,11 +16418,7 @@ export interface operations {
16189
16418
  };
16190
16419
  cookie?: never;
16191
16420
  };
16192
- requestBody: {
16193
- content: {
16194
- 'application/json': components['schemas']['LedgerAccountItemIn'];
16195
- };
16196
- };
16421
+ requestBody?: never;
16197
16422
  responses: {
16198
16423
  /** @description Successful Response */
16199
16424
  200: {
@@ -16201,7 +16426,7 @@ export interface operations {
16201
16426
  [name: string]: unknown;
16202
16427
  };
16203
16428
  content: {
16204
- 'application/json': components['schemas']['AccountItem'];
16429
+ 'application/json': components['schemas']['ChiftPage_AnalyticAccountItemOut_'];
16205
16430
  };
16206
16431
  };
16207
16432
  /** @description Bad Request */
@@ -16212,7 +16437,7 @@ export interface operations {
16212
16437
  content: {
16213
16438
  /**
16214
16439
  * @example {
16215
- * "message": "A ledger account already exists with the same number in the accounting system.",
16440
+ * "message": "Error while trying to perform your request",
16216
16441
  * "status": "error"
16217
16442
  * }
16218
16443
  */
@@ -16230,13 +16455,9 @@ export interface operations {
16230
16455
  };
16231
16456
  };
16232
16457
  };
16233
- accounting_get_bank_accounts: {
16458
+ accounting_create_analytic_account: {
16234
16459
  parameters: {
16235
16460
  query?: {
16236
- /** @description Page number */
16237
- page?: number;
16238
- /** @description Page size */
16239
- size?: number;
16240
16461
  /** @description Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled. */
16241
16462
  folder_id?: string | null;
16242
16463
  };
@@ -16246,7 +16467,11 @@ export interface operations {
16246
16467
  };
16247
16468
  cookie?: never;
16248
16469
  };
16249
- requestBody?: never;
16470
+ requestBody: {
16471
+ content: {
16472
+ 'application/json': components['schemas']['AnalyticAccountItemIn'];
16473
+ };
16474
+ };
16250
16475
  responses: {
16251
16476
  /** @description Successful Response */
16252
16477
  200: {
@@ -16254,7 +16479,7 @@ export interface operations {
16254
16479
  [name: string]: unknown;
16255
16480
  };
16256
16481
  content: {
16257
- 'application/json': components['schemas']['ChiftPage_BankAccountItemOut_'];
16482
+ 'application/json': components['schemas']['AnalyticAccountItemOut'];
16258
16483
  };
16259
16484
  };
16260
16485
  /** @description Bad Request */
@@ -16265,7 +16490,7 @@ export interface operations {
16265
16490
  content: {
16266
16491
  /**
16267
16492
  * @example {
16268
- * "message": "Error while trying to perform your request",
16493
+ * "message": "An analytic account already exists with the same code in the accounting system.",
16269
16494
  * "status": "error"
16270
16495
  * }
16271
16496
  */
@@ -16283,7 +16508,7 @@ export interface operations {
16283
16508
  };
16284
16509
  };
16285
16510
  };
16286
- accounting_create_bank_account: {
16511
+ accounting_create_analytic_account_multi_plans: {
16287
16512
  parameters: {
16288
16513
  query?: {
16289
16514
  /** @description Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled. */
@@ -16292,12 +16517,13 @@ export interface operations {
16292
16517
  header?: never;
16293
16518
  path: {
16294
16519
  consumer_id: string;
16520
+ analytic_plan: string;
16295
16521
  };
16296
16522
  cookie?: never;
16297
16523
  };
16298
16524
  requestBody: {
16299
16525
  content: {
16300
- 'application/json': components['schemas']['BankAccountItemIn'];
16526
+ 'application/json': components['schemas']['AnalyticAccountItemIn'];
16301
16527
  };
16302
16528
  };
16303
16529
  responses: {
@@ -16307,7 +16533,7 @@ export interface operations {
16307
16533
  [name: string]: unknown;
16308
16534
  };
16309
16535
  content: {
16310
- 'application/json': components['schemas']['BankAccountItemOut'];
16536
+ 'application/json': components['schemas']['AnalyticAccountItemOutMultiAnalyticPlans'];
16311
16537
  };
16312
16538
  };
16313
16539
  /** @description Bad Request */
@@ -16318,7 +16544,7 @@ export interface operations {
16318
16544
  content: {
16319
16545
  /**
16320
16546
  * @example {
16321
- * "message": "A bank account/journal already exists with the same code in the accounting system.",
16547
+ * "message": "An analytic account already exists with the same code in the accounting system.",
16322
16548
  * "status": "error"
16323
16549
  * }
16324
16550
  */
@@ -16336,19 +16562,16 @@ export interface operations {
16336
16562
  };
16337
16563
  };
16338
16564
  };
16339
- accounting_get_analytic_accounts: {
16565
+ accounting_get_analytic_account: {
16340
16566
  parameters: {
16341
16567
  query?: {
16342
- /** @description Page number */
16343
- page?: number;
16344
- /** @description Page size */
16345
- size?: number;
16346
16568
  /** @description Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled. */
16347
16569
  folder_id?: string | null;
16348
16570
  };
16349
16571
  header?: never;
16350
16572
  path: {
16351
16573
  consumer_id: string;
16574
+ analytic_account_id: string;
16352
16575
  };
16353
16576
  cookie?: never;
16354
16577
  };
@@ -16360,7 +16583,7 @@ export interface operations {
16360
16583
  [name: string]: unknown;
16361
16584
  };
16362
16585
  content: {
16363
- 'application/json': components['schemas']['ChiftPage_AnalyticAccountItemOut_'];
16586
+ 'application/json': components['schemas']['AnalyticAccountItemOut'];
16364
16587
  };
16365
16588
  };
16366
16589
  /** @description Bad Request */
@@ -16378,6 +16601,21 @@ export interface operations {
16378
16601
  'application/json': components['schemas']['ChiftError'];
16379
16602
  };
16380
16603
  };
16604
+ /** @description Not Found */
16605
+ 404: {
16606
+ headers: {
16607
+ [name: string]: unknown;
16608
+ };
16609
+ content: {
16610
+ /**
16611
+ * @example {
16612
+ * "message": "The analytic account doesn't exist in the accounting system.",
16613
+ * "status": "error"
16614
+ * }
16615
+ */
16616
+ 'application/json': components['schemas']['ChiftError'];
16617
+ };
16618
+ };
16381
16619
  /** @description Validation Error */
16382
16620
  422: {
16383
16621
  headers: {
@@ -16389,7 +16627,7 @@ export interface operations {
16389
16627
  };
16390
16628
  };
16391
16629
  };
16392
- accounting_create_analytic_account: {
16630
+ accounting_update_analytic_account: {
16393
16631
  parameters: {
16394
16632
  query?: {
16395
16633
  /** @description Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled. */
@@ -16398,12 +16636,13 @@ export interface operations {
16398
16636
  header?: never;
16399
16637
  path: {
16400
16638
  consumer_id: string;
16639
+ analytic_account_id: string;
16401
16640
  };
16402
16641
  cookie?: never;
16403
16642
  };
16404
16643
  requestBody: {
16405
16644
  content: {
16406
- 'application/json': components['schemas']['AnalyticAccountItemIn'];
16645
+ 'application/json': components['schemas']['AnalyticAccountItemUpdate'];
16407
16646
  };
16408
16647
  };
16409
16648
  responses: {
@@ -16424,7 +16663,22 @@ export interface operations {
16424
16663
  content: {
16425
16664
  /**
16426
16665
  * @example {
16427
- * "message": "An analytic account already exists with the same code in the accounting system.",
16666
+ * "message": "Error while trying to perform your request",
16667
+ * "status": "error"
16668
+ * }
16669
+ */
16670
+ 'application/json': components['schemas']['ChiftError'];
16671
+ };
16672
+ };
16673
+ /** @description Not Found */
16674
+ 404: {
16675
+ headers: {
16676
+ [name: string]: unknown;
16677
+ };
16678
+ content: {
16679
+ /**
16680
+ * @example {
16681
+ * "message": "The analytic account doesn't exist in the accounting system.",
16428
16682
  * "status": "error"
16429
16683
  * }
16430
16684
  */
@@ -16442,7 +16696,7 @@ export interface operations {
16442
16696
  };
16443
16697
  };
16444
16698
  };
16445
- accounting_create_analytic_account_multi_plans: {
16699
+ accounting_get_analytic_account_multi_plans: {
16446
16700
  parameters: {
16447
16701
  query?: {
16448
16702
  /** @description Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled. */
@@ -16451,195 +16705,7 @@ export interface operations {
16451
16705
  header?: never;
16452
16706
  path: {
16453
16707
  consumer_id: string;
16454
- analytic_plan: string;
16455
- };
16456
- cookie?: never;
16457
- };
16458
- requestBody: {
16459
- content: {
16460
- 'application/json': components['schemas']['AnalyticAccountItemIn'];
16461
- };
16462
- };
16463
- responses: {
16464
- /** @description Successful Response */
16465
- 200: {
16466
- headers: {
16467
- [name: string]: unknown;
16468
- };
16469
- content: {
16470
- 'application/json': components['schemas']['AnalyticAccountItemOutMultiAnalyticPlans'];
16471
- };
16472
- };
16473
- /** @description Bad Request */
16474
- 400: {
16475
- headers: {
16476
- [name: string]: unknown;
16477
- };
16478
- content: {
16479
- /**
16480
- * @example {
16481
- * "message": "An analytic account already exists with the same code in the accounting system.",
16482
- * "status": "error"
16483
- * }
16484
- */
16485
- 'application/json': components['schemas']['ChiftError'];
16486
- };
16487
- };
16488
- /** @description Validation Error */
16489
- 422: {
16490
- headers: {
16491
- [name: string]: unknown;
16492
- };
16493
- content: {
16494
- 'application/json': components['schemas']['HTTPValidationError'];
16495
- };
16496
- };
16497
- };
16498
- };
16499
- accounting_get_analytic_account: {
16500
- parameters: {
16501
- query?: {
16502
- /** @description Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled. */
16503
- folder_id?: string | null;
16504
- };
16505
- header?: never;
16506
- path: {
16507
- consumer_id: string;
16508
- analytic_account_id: string;
16509
- };
16510
- cookie?: never;
16511
- };
16512
- requestBody?: never;
16513
- responses: {
16514
- /** @description Successful Response */
16515
- 200: {
16516
- headers: {
16517
- [name: string]: unknown;
16518
- };
16519
- content: {
16520
- 'application/json': components['schemas']['AnalyticAccountItemOut'];
16521
- };
16522
- };
16523
- /** @description Bad Request */
16524
- 400: {
16525
- headers: {
16526
- [name: string]: unknown;
16527
- };
16528
- content: {
16529
- /**
16530
- * @example {
16531
- * "message": "Error while trying to perform your request",
16532
- * "status": "error"
16533
- * }
16534
- */
16535
- 'application/json': components['schemas']['ChiftError'];
16536
- };
16537
- };
16538
- /** @description Not Found */
16539
- 404: {
16540
- headers: {
16541
- [name: string]: unknown;
16542
- };
16543
- content: {
16544
- /**
16545
- * @example {
16546
- * "message": "The analytic account doesn't exist in the accounting system.",
16547
- * "status": "error"
16548
- * }
16549
- */
16550
- 'application/json': components['schemas']['ChiftError'];
16551
- };
16552
- };
16553
- /** @description Validation Error */
16554
- 422: {
16555
- headers: {
16556
- [name: string]: unknown;
16557
- };
16558
- content: {
16559
- 'application/json': components['schemas']['HTTPValidationError'];
16560
- };
16561
- };
16562
- };
16563
- };
16564
- accounting_update_analytic_account: {
16565
- parameters: {
16566
- query?: {
16567
- /** @description Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled. */
16568
- folder_id?: string | null;
16569
- };
16570
- header?: never;
16571
- path: {
16572
- consumer_id: string;
16573
- analytic_account_id: string;
16574
- };
16575
- cookie?: never;
16576
- };
16577
- requestBody: {
16578
- content: {
16579
- 'application/json': components['schemas']['AnalyticAccountItemUpdate'];
16580
- };
16581
- };
16582
- responses: {
16583
- /** @description Successful Response */
16584
- 200: {
16585
- headers: {
16586
- [name: string]: unknown;
16587
- };
16588
- content: {
16589
- 'application/json': components['schemas']['AnalyticAccountItemOut'];
16590
- };
16591
- };
16592
- /** @description Bad Request */
16593
- 400: {
16594
- headers: {
16595
- [name: string]: unknown;
16596
- };
16597
- content: {
16598
- /**
16599
- * @example {
16600
- * "message": "Error while trying to perform your request",
16601
- * "status": "error"
16602
- * }
16603
- */
16604
- 'application/json': components['schemas']['ChiftError'];
16605
- };
16606
- };
16607
- /** @description Not Found */
16608
- 404: {
16609
- headers: {
16610
- [name: string]: unknown;
16611
- };
16612
- content: {
16613
- /**
16614
- * @example {
16615
- * "message": "The analytic account doesn't exist in the accounting system.",
16616
- * "status": "error"
16617
- * }
16618
- */
16619
- 'application/json': components['schemas']['ChiftError'];
16620
- };
16621
- };
16622
- /** @description Validation Error */
16623
- 422: {
16624
- headers: {
16625
- [name: string]: unknown;
16626
- };
16627
- content: {
16628
- 'application/json': components['schemas']['HTTPValidationError'];
16629
- };
16630
- };
16631
- };
16632
- };
16633
- accounting_get_analytic_account_multi_plans: {
16634
- parameters: {
16635
- query?: {
16636
- /** @description Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled. */
16637
- folder_id?: string | null;
16638
- };
16639
- header?: never;
16640
- path: {
16641
- consumer_id: string;
16642
- analytic_account_id: string;
16708
+ analytic_account_id: string;
16643
16709
  analytic_plan: string;
16644
16710
  };
16645
16711
  cookie?: never;
@@ -17047,12 +17113,6 @@ export interface operations {
17047
17113
  [name: string]: unknown;
17048
17114
  };
17049
17115
  content: {
17050
- /**
17051
- * @example {
17052
- * "message": "The entry is not balanced.",
17053
- * "status": "error"
17054
- * }
17055
- */
17056
17116
  'application/json': components['schemas']['ChiftError'];
17057
17117
  };
17058
17118
  };
@@ -17062,12 +17122,6 @@ export interface operations {
17062
17122
  [name: string]: unknown;
17063
17123
  };
17064
17124
  content: {
17065
- /**
17066
- * @example {
17067
- * "message": "The currency doesn't exist or is not active in the accounting system.",
17068
- * "status": "error"
17069
- * }
17070
- */
17071
17125
  'application/json': components['schemas']['ChiftError'];
17072
17126
  };
17073
17127
  };
@@ -17077,12 +17131,6 @@ export interface operations {
17077
17131
  [name: string]: unknown;
17078
17132
  };
17079
17133
  content: {
17080
- /**
17081
- * @example {
17082
- * "message": "Debit and credit cannot be both positive.",
17083
- * "status": "error"
17084
- * }
17085
- */
17086
17134
  'application/json': components['schemas']['ChiftError'];
17087
17135
  };
17088
17136
  };
@@ -17210,13 +17258,9 @@ export interface operations {
17210
17258
  };
17211
17259
  };
17212
17260
  };
17213
- accounting_get_payment_terms: {
17261
+ accounting_create_invoice_payment: {
17214
17262
  parameters: {
17215
17263
  query?: {
17216
- /** @description Page number */
17217
- page?: number;
17218
- /** @description Page size */
17219
- size?: number;
17220
17264
  /** @description Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled. */
17221
17265
  folder_id?: string | null;
17222
17266
  };
@@ -17226,16 +17270,18 @@ export interface operations {
17226
17270
  };
17227
17271
  cookie?: never;
17228
17272
  };
17229
- requestBody?: never;
17273
+ requestBody: {
17274
+ content: {
17275
+ 'application/json': components['schemas']['AccountingInvoicePaymentIn'];
17276
+ };
17277
+ };
17230
17278
  responses: {
17231
17279
  /** @description Successful Response */
17232
- 200: {
17280
+ 204: {
17233
17281
  headers: {
17234
17282
  [name: string]: unknown;
17235
17283
  };
17236
- content: {
17237
- 'application/json': components['schemas']['ChiftPage_AccountingPaymentTerms_'];
17238
- };
17284
+ content?: never;
17239
17285
  };
17240
17286
  /** @description Bad Request */
17241
17287
  400: {
@@ -17263,9 +17309,13 @@ export interface operations {
17263
17309
  };
17264
17310
  };
17265
17311
  };
17266
- accounting_create_invoice_payment: {
17312
+ accounting_get_payment_terms: {
17267
17313
  parameters: {
17268
17314
  query?: {
17315
+ /** @description Page number */
17316
+ page?: number;
17317
+ /** @description Page size */
17318
+ size?: number;
17269
17319
  /** @description Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled. */
17270
17320
  folder_id?: string | null;
17271
17321
  };
@@ -17275,18 +17325,16 @@ export interface operations {
17275
17325
  };
17276
17326
  cookie?: never;
17277
17327
  };
17278
- requestBody: {
17279
- content: {
17280
- 'application/json': components['schemas']['AccountingInvoicePaymentIn'];
17281
- };
17282
- };
17328
+ requestBody?: never;
17283
17329
  responses: {
17284
17330
  /** @description Successful Response */
17285
- 204: {
17331
+ 200: {
17286
17332
  headers: {
17287
17333
  [name: string]: unknown;
17288
17334
  };
17289
- content?: never;
17335
+ content: {
17336
+ 'application/json': components['schemas']['ChiftPage_AccountingPaymentTerms_'];
17337
+ };
17290
17338
  };
17291
17339
  /** @description Bad Request */
17292
17340
  400: {
@@ -17578,12 +17626,6 @@ export interface operations {
17578
17626
  [name: string]: unknown;
17579
17627
  };
17580
17628
  content: {
17581
- /**
17582
- * @example {
17583
- * "message": "The account 'x' cannot be used for this type of line.",
17584
- * "status": "error"
17585
- * }
17586
- */
17587
17629
  'application/json': components['schemas']['ChiftError'];
17588
17630
  };
17589
17631
  };
@@ -17593,12 +17635,6 @@ export interface operations {
17593
17635
  [name: string]: unknown;
17594
17636
  };
17595
17637
  content: {
17596
- /**
17597
- * @example {
17598
- * "message": "The currency 'x' doesn't exist in the accounting system.",
17599
- * "status": "error"
17600
- * }
17601
- */
17602
17638
  'application/json': components['schemas']['ChiftError'];
17603
17639
  };
17604
17640
  };
@@ -17696,12 +17732,6 @@ export interface operations {
17696
17732
  [name: string]: unknown;
17697
17733
  };
17698
17734
  content: {
17699
- /**
17700
- * @example {
17701
- * "message": "Entry 'x' doesn't have the correct status.",
17702
- * "status": "error"
17703
- * }
17704
- */
17705
17735
  'application/json': components['schemas']['ChiftError'];
17706
17736
  };
17707
17737
  };
@@ -17764,12 +17794,6 @@ export interface operations {
17764
17794
  [name: string]: unknown;
17765
17795
  };
17766
17796
  content: {
17767
- /**
17768
- * @example {
17769
- * "message": "Entry 'x' doesn't have the correct status.",
17770
- * "status": "error"
17771
- * }
17772
- */
17773
17797
  'application/json': components['schemas']['ChiftError'];
17774
17798
  };
17775
17799
  };
@@ -17799,6 +17823,61 @@ export interface operations {
17799
17823
  };
17800
17824
  };
17801
17825
  };
17826
+ accounting_get_attachments: {
17827
+ parameters: {
17828
+ query: {
17829
+ /** @description Page number */
17830
+ page?: number;
17831
+ /** @description Page size */
17832
+ size?: number;
17833
+ /** @description Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled. */
17834
+ folder_id?: string | null;
17835
+ type: components['schemas']['DocumentType'];
17836
+ document_id: string;
17837
+ };
17838
+ header?: never;
17839
+ path: {
17840
+ consumer_id: string;
17841
+ };
17842
+ cookie?: never;
17843
+ };
17844
+ requestBody?: never;
17845
+ responses: {
17846
+ /** @description Successful Response */
17847
+ 200: {
17848
+ headers: {
17849
+ [name: string]: unknown;
17850
+ };
17851
+ content: {
17852
+ 'application/json': components['schemas']['ChiftPage_AttachmentItemOut_'];
17853
+ };
17854
+ };
17855
+ /** @description Bad Request */
17856
+ 400: {
17857
+ headers: {
17858
+ [name: string]: unknown;
17859
+ };
17860
+ content: {
17861
+ /**
17862
+ * @example {
17863
+ * "message": "Error while trying to perform your request",
17864
+ * "status": "error"
17865
+ * }
17866
+ */
17867
+ 'application/json': components['schemas']['ChiftError'];
17868
+ };
17869
+ };
17870
+ /** @description Validation Error */
17871
+ 422: {
17872
+ headers: {
17873
+ [name: string]: unknown;
17874
+ };
17875
+ content: {
17876
+ 'application/json': components['schemas']['HTTPValidationError'];
17877
+ };
17878
+ };
17879
+ };
17880
+ };
17802
17881
  accounting_add_attachment: {
17803
17882
  parameters: {
17804
17883
  query?: {
@@ -17833,12 +17912,6 @@ export interface operations {
17833
17912
  [name: string]: unknown;
17834
17913
  };
17835
17914
  content: {
17836
- /**
17837
- * @example {
17838
- * "message": "An attachment already exists for this invoice.",
17839
- * "status": "error"
17840
- * }
17841
- */
17842
17915
  'application/json': components['schemas']['ChiftError'];
17843
17916
  };
17844
17917
  };
@@ -17868,17 +17941,19 @@ export interface operations {
17868
17941
  };
17869
17942
  };
17870
17943
  };
17871
- accounting_get_attachments: {
17944
+ accounting_get_chart_of_accounts: {
17872
17945
  parameters: {
17873
- query: {
17946
+ query?: {
17874
17947
  /** @description Page number */
17875
17948
  page?: number;
17876
17949
  /** @description Page size */
17877
17950
  size?: number;
17878
17951
  /** @description Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled. */
17879
17952
  folder_id?: string | null;
17880
- type: components['schemas']['backbone_common__models__accounting__common__DocumentType'];
17881
- document_id: string;
17953
+ /** @description Filter based on the class of the account (e.g. 6,7 to retrieve 6 and 7 account classes). The classes are separated by ','. */
17954
+ classes?: string | null;
17955
+ /** @description Filter based on the type of the account (e.g. bank, cash, income, expense, vat). */
17956
+ type?: components['schemas']['AccountTypeFilter'] | null;
17882
17957
  };
17883
17958
  header?: never;
17884
17959
  path: {
@@ -17894,7 +17969,7 @@ export interface operations {
17894
17969
  [name: string]: unknown;
17895
17970
  };
17896
17971
  content: {
17897
- 'application/json': components['schemas']['ChiftPage_AttachmentItemOut_'];
17972
+ 'application/json': components['schemas']['ChiftPage_AccountItem_'];
17898
17973
  };
17899
17974
  };
17900
17975
  /** @description Bad Request */
@@ -17923,7 +17998,7 @@ export interface operations {
17923
17998
  };
17924
17999
  };
17925
18000
  };
17926
- accounting_get_chart_of_accounts: {
18001
+ accounting_get_accounts_balances: {
17927
18002
  parameters: {
17928
18003
  query?: {
17929
18004
  /** @description Page number */
@@ -17932,10 +18007,6 @@ export interface operations {
17932
18007
  size?: number;
17933
18008
  /** @description Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled. */
17934
18009
  folder_id?: string | null;
17935
- /** @description Filter based on the class of the account (e.g. 6,7 to retrieve 6 and 7 account classes). The classes are separated by ','. */
17936
- classes?: string | null;
17937
- /** @description Filter based on the type of the account (e.g. bank, cash, income, expense, vat). */
17938
- type?: components['schemas']['AccountTypeFilter'] | null;
17939
18010
  };
17940
18011
  header?: never;
17941
18012
  path: {
@@ -17943,7 +18014,11 @@ export interface operations {
17943
18014
  };
17944
18015
  cookie?: never;
17945
18016
  };
17946
- requestBody?: never;
18017
+ requestBody: {
18018
+ content: {
18019
+ 'application/json': components['schemas']['AccountBalanceFilter'];
18020
+ };
18021
+ };
17947
18022
  responses: {
17948
18023
  /** @description Successful Response */
17949
18024
  200: {
@@ -17951,7 +18026,7 @@ export interface operations {
17951
18026
  [name: string]: unknown;
17952
18027
  };
17953
18028
  content: {
17954
- 'application/json': components['schemas']['ChiftPage_AccountItem_'];
18029
+ 'application/json': components['schemas']['ChiftPage_AccountBalance_'];
17955
18030
  };
17956
18031
  };
17957
18032
  /** @description Bad Request */
@@ -17980,7 +18055,7 @@ export interface operations {
17980
18055
  };
17981
18056
  };
17982
18057
  };
17983
- accounting_get_accounts_balances: {
18058
+ accounting_get_bank_accounts: {
17984
18059
  parameters: {
17985
18060
  query?: {
17986
18061
  /** @description Page number */
@@ -17996,9 +18071,58 @@ export interface operations {
17996
18071
  };
17997
18072
  cookie?: never;
17998
18073
  };
18074
+ requestBody?: never;
18075
+ responses: {
18076
+ /** @description Successful Response */
18077
+ 200: {
18078
+ headers: {
18079
+ [name: string]: unknown;
18080
+ };
18081
+ content: {
18082
+ 'application/json': components['schemas']['ChiftPage_BankAccountItemOut_'];
18083
+ };
18084
+ };
18085
+ /** @description Bad Request */
18086
+ 400: {
18087
+ headers: {
18088
+ [name: string]: unknown;
18089
+ };
18090
+ content: {
18091
+ /**
18092
+ * @example {
18093
+ * "message": "Error while trying to perform your request",
18094
+ * "status": "error"
18095
+ * }
18096
+ */
18097
+ 'application/json': components['schemas']['ChiftError'];
18098
+ };
18099
+ };
18100
+ /** @description Validation Error */
18101
+ 422: {
18102
+ headers: {
18103
+ [name: string]: unknown;
18104
+ };
18105
+ content: {
18106
+ 'application/json': components['schemas']['HTTPValidationError'];
18107
+ };
18108
+ };
18109
+ };
18110
+ };
18111
+ accounting_create_bank_account: {
18112
+ parameters: {
18113
+ query?: {
18114
+ /** @description Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled. */
18115
+ folder_id?: string | null;
18116
+ };
18117
+ header?: never;
18118
+ path: {
18119
+ consumer_id: string;
18120
+ };
18121
+ cookie?: never;
18122
+ };
17999
18123
  requestBody: {
18000
18124
  content: {
18001
- 'application/json': components['schemas']['AccountBalanceFilter'];
18125
+ 'application/json': components['schemas']['BankAccountItemIn'];
18002
18126
  };
18003
18127
  };
18004
18128
  responses: {
@@ -18008,7 +18132,7 @@ export interface operations {
18008
18132
  [name: string]: unknown;
18009
18133
  };
18010
18134
  content: {
18011
- 'application/json': components['schemas']['ChiftPage_AccountBalance_'];
18135
+ 'application/json': components['schemas']['BankAccountItemOut'];
18012
18136
  };
18013
18137
  };
18014
18138
  /** @description Bad Request */
@@ -18019,7 +18143,60 @@ export interface operations {
18019
18143
  content: {
18020
18144
  /**
18021
18145
  * @example {
18022
- * "message": "Error while trying to perform your request",
18146
+ * "message": "A bank account/journal already exists with the same code in the accounting system.",
18147
+ * "status": "error"
18148
+ * }
18149
+ */
18150
+ 'application/json': components['schemas']['ChiftError'];
18151
+ };
18152
+ };
18153
+ /** @description Validation Error */
18154
+ 422: {
18155
+ headers: {
18156
+ [name: string]: unknown;
18157
+ };
18158
+ content: {
18159
+ 'application/json': components['schemas']['HTTPValidationError'];
18160
+ };
18161
+ };
18162
+ };
18163
+ };
18164
+ accounting_create_bank_transactions: {
18165
+ parameters: {
18166
+ query?: {
18167
+ /** @description Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled. */
18168
+ folder_id?: string | null;
18169
+ };
18170
+ header?: never;
18171
+ path: {
18172
+ consumer_id: string;
18173
+ };
18174
+ cookie?: never;
18175
+ };
18176
+ requestBody: {
18177
+ content: {
18178
+ 'application/json': components['schemas']['BankStatementItemIn'];
18179
+ };
18180
+ };
18181
+ responses: {
18182
+ /** @description Successful Response */
18183
+ 200: {
18184
+ headers: {
18185
+ [name: string]: unknown;
18186
+ };
18187
+ content: {
18188
+ 'application/json': components['schemas']['BankStatementItemOut'];
18189
+ };
18190
+ };
18191
+ /** @description Bad Request */
18192
+ 400: {
18193
+ headers: {
18194
+ [name: string]: unknown;
18195
+ };
18196
+ content: {
18197
+ /**
18198
+ * @example {
18199
+ * "message": "The format of the bank_statement_id doesn't seem to be correct.",
18023
18200
  * "status": "error"
18024
18201
  * }
18025
18202
  */
@@ -18099,6 +18276,8 @@ export interface operations {
18099
18276
  financial_counterpart_account?: string | null;
18100
18277
  /** @description Boolean flag indicating whether to force the use of the provided currency exchange rate instead of the rate used by the accounting software. */
18101
18278
  force_currency_exchange?: boolean | null;
18279
+ /** @description If set to true, Chift will not wait for the entry to be processed to return, use this when you do not need the ID in the return value.Note that this might also change the output of the call. */
18280
+ ignore_accounting_id?: boolean;
18102
18281
  };
18103
18282
  header?: never;
18104
18283
  path: {
@@ -18127,12 +18306,6 @@ export interface operations {
18127
18306
  [name: string]: unknown;
18128
18307
  };
18129
18308
  content: {
18130
- /**
18131
- * @example {
18132
- * "message": "The account 'x' cannot be used for this type of line.",
18133
- * "status": "error"
18134
- * }
18135
- */
18136
18309
  'application/json': components['schemas']['ChiftError'];
18137
18310
  };
18138
18311
  };
@@ -18142,12 +18315,6 @@ export interface operations {
18142
18315
  [name: string]: unknown;
18143
18316
  };
18144
18317
  content: {
18145
- /**
18146
- * @example {
18147
- * "message": "The currency 'x' doesn't exist in the accounting system.",
18148
- * "status": "error"
18149
- * }
18150
- */
18151
18318
  'application/json': components['schemas']['ChiftError'];
18152
18319
  };
18153
18320
  };
@@ -18270,15 +18437,11 @@ export interface operations {
18270
18437
  };
18271
18438
  };
18272
18439
  };
18273
- accounting_export_fec: {
18440
+ accounting_create_ledger_account: {
18274
18441
  parameters: {
18275
- query: {
18442
+ query?: {
18276
18443
  /** @description Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled. */
18277
18444
  folder_id?: string | null;
18278
- /** @description Start date for the FEC export. */
18279
- date_from: string;
18280
- /** @description End date for the FEC export. */
18281
- date_to: string;
18282
18445
  };
18283
18446
  header?: never;
18284
18447
  path: {
@@ -18286,7 +18449,11 @@ export interface operations {
18286
18449
  };
18287
18450
  cookie?: never;
18288
18451
  };
18289
- requestBody?: never;
18452
+ requestBody: {
18453
+ content: {
18454
+ 'application/json': components['schemas']['LedgerAccountItemIn'];
18455
+ };
18456
+ };
18290
18457
  responses: {
18291
18458
  /** @description Successful Response */
18292
18459
  200: {
@@ -18294,7 +18461,7 @@ export interface operations {
18294
18461
  [name: string]: unknown;
18295
18462
  };
18296
18463
  content: {
18297
- 'application/json': components['schemas']['FECItemOut'][];
18464
+ 'application/json': components['schemas']['AccountItem'];
18298
18465
  };
18299
18466
  };
18300
18467
  /** @description Bad Request */
@@ -18305,7 +18472,7 @@ export interface operations {
18305
18472
  content: {
18306
18473
  /**
18307
18474
  * @example {
18308
- * "message": "Error while trying to perform your request",
18475
+ * "message": "A ledger account already exists with the same number in the accounting system.",
18309
18476
  * "status": "error"
18310
18477
  * }
18311
18478
  */
@@ -18323,11 +18490,15 @@ export interface operations {
18323
18490
  };
18324
18491
  };
18325
18492
  };
18326
- accounting_create_bank_transactions: {
18493
+ accounting_export_fec: {
18327
18494
  parameters: {
18328
- query?: {
18495
+ query: {
18329
18496
  /** @description Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled. */
18330
18497
  folder_id?: string | null;
18498
+ /** @description Start date for the FEC export. */
18499
+ date_from: string;
18500
+ /** @description End date for the FEC export. */
18501
+ date_to: string;
18331
18502
  };
18332
18503
  header?: never;
18333
18504
  path: {
@@ -18335,11 +18506,7 @@ export interface operations {
18335
18506
  };
18336
18507
  cookie?: never;
18337
18508
  };
18338
- requestBody: {
18339
- content: {
18340
- 'application/json': components['schemas']['BankStatementItemIn'];
18341
- };
18342
- };
18509
+ requestBody?: never;
18343
18510
  responses: {
18344
18511
  /** @description Successful Response */
18345
18512
  200: {
@@ -18347,7 +18514,7 @@ export interface operations {
18347
18514
  [name: string]: unknown;
18348
18515
  };
18349
18516
  content: {
18350
- 'application/json': components['schemas']['BankStatementItemOut'];
18517
+ 'application/json': components['schemas']['FECItemOut'][];
18351
18518
  };
18352
18519
  };
18353
18520
  /** @description Bad Request */
@@ -18358,7 +18525,7 @@ export interface operations {
18358
18525
  content: {
18359
18526
  /**
18360
18527
  * @example {
18361
- * "message": "The format of the bank_statement_id doesn't seem to be correct.",
18528
+ * "message": "Error while trying to perform your request",
18362
18529
  * "status": "error"
18363
18530
  * }
18364
18531
  */
@@ -19653,13 +19820,13 @@ export interface operations {
19653
19820
  };
19654
19821
  };
19655
19822
  };
19656
- ecommerce_get_customers: {
19823
+ pos_get_report: {
19657
19824
  parameters: {
19658
- query?: {
19659
- /** @description Page number */
19660
- page?: number;
19661
- /** @description Page size */
19662
- size?: number;
19825
+ query: {
19826
+ /** @description Filter based on the business date */
19827
+ date: string;
19828
+ /** @description Unique identifier of the location. If none passed, we will use the selected location by the end-user. If no location was selected, we will return an error. */
19829
+ location_id?: string | null;
19663
19830
  };
19664
19831
  header?: never;
19665
19832
  path: {
@@ -19675,7 +19842,7 @@ export interface operations {
19675
19842
  [name: string]: unknown;
19676
19843
  };
19677
19844
  content: {
19678
- 'application/json': components['schemas']['ChiftPage_CommerceCustomerItem_'];
19845
+ 'application/json': components['schemas']['ReportItem'];
19679
19846
  };
19680
19847
  };
19681
19848
  /** @description Bad Request */
@@ -19693,13 +19860,94 @@ export interface operations {
19693
19860
  'application/json': components['schemas']['ChiftError'];
19694
19861
  };
19695
19862
  };
19696
- /** @description Validation Error */
19697
- 422: {
19863
+ /** @description Method Not Allowed */
19864
+ 405: {
19698
19865
  headers: {
19699
19866
  [name: string]: unknown;
19700
19867
  };
19701
19868
  content: {
19702
- 'application/json': components['schemas']['HTTPValidationError'];
19869
+ /**
19870
+ * @example {
19871
+ * "message": "The resource {Method} - {Resource} is not supported by {ConnectorName}",
19872
+ * "status": "error"
19873
+ * }
19874
+ */
19875
+ 'application/json': components['schemas']['ChiftError'];
19876
+ };
19877
+ };
19878
+ /** @description Validation Error */
19879
+ 422: {
19880
+ headers: {
19881
+ [name: string]: unknown;
19882
+ };
19883
+ content: {
19884
+ 'application/json': components['schemas']['HTTPValidationError'];
19885
+ };
19886
+ };
19887
+ /** @description Bad Gateway */
19888
+ 502: {
19889
+ headers: {
19890
+ [name: string]: unknown;
19891
+ };
19892
+ content: {
19893
+ /**
19894
+ * @example {
19895
+ * "message": "Error while trying to authenticate to {ConnectorName}",
19896
+ * "status": "error"
19897
+ * }
19898
+ */
19899
+ 'application/json': components['schemas']['ChiftError'];
19900
+ };
19901
+ };
19902
+ };
19903
+ };
19904
+ ecommerce_get_customers: {
19905
+ parameters: {
19906
+ query?: {
19907
+ /** @description Page number */
19908
+ page?: number;
19909
+ /** @description Page size */
19910
+ size?: number;
19911
+ };
19912
+ header?: never;
19913
+ path: {
19914
+ consumer_id: string;
19915
+ };
19916
+ cookie?: never;
19917
+ };
19918
+ requestBody?: never;
19919
+ responses: {
19920
+ /** @description Successful Response */
19921
+ 200: {
19922
+ headers: {
19923
+ [name: string]: unknown;
19924
+ };
19925
+ content: {
19926
+ 'application/json': components['schemas']['ChiftPage_CommerceCustomerItem_'];
19927
+ };
19928
+ };
19929
+ /** @description Bad Request */
19930
+ 400: {
19931
+ headers: {
19932
+ [name: string]: unknown;
19933
+ };
19934
+ content: {
19935
+ /**
19936
+ * @example {
19937
+ * "message": "Error while trying to perform your request",
19938
+ * "status": "error"
19939
+ * }
19940
+ */
19941
+ 'application/json': components['schemas']['ChiftError'];
19942
+ };
19943
+ };
19944
+ /** @description Validation Error */
19945
+ 422: {
19946
+ headers: {
19947
+ [name: string]: unknown;
19948
+ };
19949
+ content: {
19950
+ 'application/json': components['schemas']['HTTPValidationError'];
19703
19951
  };
19704
19952
  };
19705
19953
  };
@@ -19792,7 +20040,7 @@ export interface operations {
19792
20040
  [name: string]: unknown;
19793
20041
  };
19794
20042
  content: {
19795
- 'application/json': components['schemas']['ChiftPage_ProductItem_'];
20043
+ 'application/json': components['schemas']['ChiftPage_CommerceProductItem_'];
19796
20044
  };
19797
20045
  };
19798
20046
  /** @description Bad Request */
@@ -19839,7 +20087,7 @@ export interface operations {
19839
20087
  [name: string]: unknown;
19840
20088
  };
19841
20089
  content: {
19842
- 'application/json': components['schemas']['ProductItem-Output'];
20090
+ 'application/json': components['schemas']['CommerceProductItem'];
19843
20091
  };
19844
20092
  };
19845
20093
  /** @description Bad Request */
@@ -19991,12 +20239,6 @@ export interface operations {
19991
20239
  [name: string]: unknown;
19992
20240
  };
19993
20241
  content: {
19994
- /**
19995
- * @example {
19996
- * "message": "The location doesn't exist.",
19997
- * "status": "error"
19998
- * }
19999
- */
20000
20242
  'application/json': components['schemas']['ChiftError'];
20001
20243
  };
20002
20244
  };
@@ -20105,12 +20347,6 @@ export interface operations {
20105
20347
  [name: string]: unknown;
20106
20348
  };
20107
20349
  content: {
20108
- /**
20109
- * @example {
20110
- * "message": "The date format of the field 'Date To' is not valid. The expected format is the following: YYYY-MM-DD.",
20111
- * "status": "error"
20112
- * }
20113
- */
20114
20350
  'application/json': components['schemas']['ChiftError'];
20115
20351
  };
20116
20352
  };
@@ -20155,12 +20391,6 @@ export interface operations {
20155
20391
  [name: string]: unknown;
20156
20392
  };
20157
20393
  content: {
20158
- /**
20159
- * @example {
20160
- * "message": "The country format is not correct. Please use the ISO 3166-1 codes.",
20161
- * "status": "error"
20162
- * }
20163
- */
20164
20394
  'application/json': components['schemas']['ChiftError'];
20165
20395
  };
20166
20396
  };
@@ -20170,12 +20400,6 @@ export interface operations {
20170
20400
  [name: string]: unknown;
20171
20401
  };
20172
20402
  content: {
20173
- /**
20174
- * @example {
20175
- * "message": "The phone number is already used by another client.",
20176
- * "status": "error"
20177
- * }
20178
- */
20179
20403
  'application/json': components['schemas']['ChiftError'];
20180
20404
  };
20181
20405
  };
@@ -20451,22 +20675,14 @@ export interface operations {
20451
20675
  };
20452
20676
  };
20453
20677
  };
20454
- invoicing_get_invoices: {
20678
+ invoicing_get_contacts: {
20455
20679
  parameters: {
20456
20680
  query?: {
20457
20681
  /** @description Page number */
20458
20682
  page?: number;
20459
20683
  /** @description Page size */
20460
20684
  size?: number;
20461
- date_from?: string | null;
20462
- date_to?: string | null;
20463
- invoice_type?: components['schemas']['InvoiceType'] | null;
20464
- payment_status?: components['schemas']['PaymentStatus-Input'] | null;
20465
- updated_after?: string | null;
20466
- /** @description Include the invoice lines in the response. By default, invoice lines are included when no extra request is needed to fetch them. If you want to include them explicitly, set this parameter to true. */
20467
- include_invoice_lines?: components['schemas']['BoolParam'] | null;
20468
- /** @description Include analytic accounts in the response */
20469
- include_analytic_accounts?: components['schemas']['BoolParam'] | null;
20685
+ contact_type?: components['schemas']['ContactType'];
20470
20686
  };
20471
20687
  header?: never;
20472
20688
  path: {
@@ -20482,7 +20698,7 @@ export interface operations {
20482
20698
  [name: string]: unknown;
20483
20699
  };
20484
20700
  content: {
20485
- 'application/json': components['schemas']['ChiftPage_InvoiceItemOut_'];
20701
+ 'application/json': components['schemas']['ChiftPage_ContactItemOut_'];
20486
20702
  };
20487
20703
  };
20488
20704
  /** @description Bad Request */
@@ -20493,7 +20709,7 @@ export interface operations {
20493
20709
  content: {
20494
20710
  /**
20495
20711
  * @example {
20496
- * "message": "You must provide an invoice type.",
20712
+ * "message": "Error while trying to perform your request",
20497
20713
  * "status": "error"
20498
20714
  * }
20499
20715
  */
@@ -20511,7 +20727,7 @@ export interface operations {
20511
20727
  };
20512
20728
  };
20513
20729
  };
20514
- invoicing_post_invoices: {
20730
+ invoicing_post_contacts: {
20515
20731
  parameters: {
20516
20732
  query?: never;
20517
20733
  header?: never;
@@ -20522,7 +20738,7 @@ export interface operations {
20522
20738
  };
20523
20739
  requestBody: {
20524
20740
  content: {
20525
- 'application/json': components['schemas']['InvoiceItem-Input'];
20741
+ 'application/json': components['schemas']['ContactItemIn'];
20526
20742
  };
20527
20743
  };
20528
20744
  responses: {
@@ -20532,7 +20748,7 @@ export interface operations {
20532
20748
  [name: string]: unknown;
20533
20749
  };
20534
20750
  content: {
20535
- 'application/json': components['schemas']['InvoiceItemOut'];
20751
+ 'application/json': components['schemas']['ContactItemOut'];
20536
20752
  };
20537
20753
  };
20538
20754
  /** @description Bad Request */
@@ -20561,18 +20777,13 @@ export interface operations {
20561
20777
  };
20562
20778
  };
20563
20779
  };
20564
- invoicing_get_invoice: {
20780
+ invoicing_get_contact: {
20565
20781
  parameters: {
20566
- query?: {
20567
- /** @description Include the invoice PDF as a base64 encoded string in the response */
20568
- include_pdf?: components['schemas']['BoolParam'] | null;
20569
- /** @description Include analytic accounts in the response */
20570
- include_analytic_accounts?: components['schemas']['BoolParam'] | null;
20571
- };
20782
+ query?: never;
20572
20783
  header?: never;
20573
20784
  path: {
20574
20785
  consumer_id: string;
20575
- invoice_id: string;
20786
+ contact_id: string;
20576
20787
  };
20577
20788
  cookie?: never;
20578
20789
  };
@@ -20584,7 +20795,7 @@ export interface operations {
20584
20795
  [name: string]: unknown;
20585
20796
  };
20586
20797
  content: {
20587
- 'application/json': components['schemas']['InvoiceItemOutSingle'];
20798
+ 'application/json': components['schemas']['ContactItemOut'];
20588
20799
  };
20589
20800
  };
20590
20801
  /** @description Bad Request */
@@ -20595,7 +20806,7 @@ export interface operations {
20595
20806
  content: {
20596
20807
  /**
20597
20808
  * @example {
20598
- * "message": "The ID of the invoice doesn't have the correct format.",
20809
+ * "message": "Error while trying to perform your request",
20599
20810
  * "status": "error"
20600
20811
  * }
20601
20812
  */
@@ -20610,7 +20821,7 @@ export interface operations {
20610
20821
  content: {
20611
20822
  /**
20612
20823
  * @example {
20613
- * "message": "The invoice doesn't exist in the invoicing system.",
20824
+ * "message": "The contact doesn't exist.",
20614
20825
  * "status": "error"
20615
20826
  * }
20616
20827
  */
@@ -20628,7 +20839,7 @@ export interface operations {
20628
20839
  };
20629
20840
  };
20630
20841
  };
20631
- invoicing_get_taxes: {
20842
+ invoicing_get_products: {
20632
20843
  parameters: {
20633
20844
  query?: {
20634
20845
  /** @description Page number */
@@ -20650,7 +20861,7 @@ export interface operations {
20650
20861
  [name: string]: unknown;
20651
20862
  };
20652
20863
  content: {
20653
- 'application/json': components['schemas']['ChiftPage_InvoicingVatCode_'];
20864
+ 'application/json': components['schemas']['ChiftPage_ProductItemOut_'];
20654
20865
  };
20655
20866
  };
20656
20867
  /** @description Bad Request */
@@ -20679,17 +20890,20 @@ export interface operations {
20679
20890
  };
20680
20891
  };
20681
20892
  };
20682
- invoicing_get_tax: {
20893
+ invoicing_post_products: {
20683
20894
  parameters: {
20684
20895
  query?: never;
20685
20896
  header?: never;
20686
20897
  path: {
20687
20898
  consumer_id: string;
20688
- tax_id: string;
20689
20899
  };
20690
20900
  cookie?: never;
20691
20901
  };
20692
- requestBody?: never;
20902
+ requestBody: {
20903
+ content: {
20904
+ 'application/json': components['schemas']['ProductItem'];
20905
+ };
20906
+ };
20693
20907
  responses: {
20694
20908
  /** @description Successful Response */
20695
20909
  200: {
@@ -20697,7 +20911,7 @@ export interface operations {
20697
20911
  [name: string]: unknown;
20698
20912
  };
20699
20913
  content: {
20700
- 'application/json': components['schemas']['InvoicingVatCode'];
20914
+ 'application/json': components['schemas']['ProductItemOut'];
20701
20915
  };
20702
20916
  };
20703
20917
  /** @description Bad Request */
@@ -20715,21 +20929,6 @@ export interface operations {
20715
20929
  'application/json': components['schemas']['ChiftError'];
20716
20930
  };
20717
20931
  };
20718
- /** @description Not Found */
20719
- 404: {
20720
- headers: {
20721
- [name: string]: unknown;
20722
- };
20723
- content: {
20724
- /**
20725
- * @example {
20726
- * "message": "The tax doesn't exist.",
20727
- * "status": "error"
20728
- * }
20729
- */
20730
- 'application/json': components['schemas']['ChiftError'];
20731
- };
20732
- };
20733
20932
  /** @description Validation Error */
20734
20933
  422: {
20735
20934
  headers: {
@@ -20741,17 +20940,13 @@ export interface operations {
20741
20940
  };
20742
20941
  };
20743
20942
  };
20744
- invoicing_get_products: {
20943
+ invoicing_get_product: {
20745
20944
  parameters: {
20746
- query?: {
20747
- /** @description Page number */
20748
- page?: number;
20749
- /** @description Page size */
20750
- size?: number;
20751
- };
20945
+ query?: never;
20752
20946
  header?: never;
20753
20947
  path: {
20754
20948
  consumer_id: string;
20949
+ product_id: string;
20755
20950
  };
20756
20951
  cookie?: never;
20757
20952
  };
@@ -20763,7 +20958,7 @@ export interface operations {
20763
20958
  [name: string]: unknown;
20764
20959
  };
20765
20960
  content: {
20766
- 'application/json': components['schemas']['ChiftPage_ProductItemOut_'];
20961
+ 'application/json': components['schemas']['ProductItemOut'];
20767
20962
  };
20768
20963
  };
20769
20964
  /** @description Bad Request */
@@ -20781,6 +20976,21 @@ export interface operations {
20781
20976
  'application/json': components['schemas']['ChiftError'];
20782
20977
  };
20783
20978
  };
20979
+ /** @description Not Found */
20980
+ 404: {
20981
+ headers: {
20982
+ [name: string]: unknown;
20983
+ };
20984
+ content: {
20985
+ /**
20986
+ * @example {
20987
+ * "message": "The product doesn't exist.",
20988
+ * "status": "error"
20989
+ * }
20990
+ */
20991
+ 'application/json': components['schemas']['ChiftError'];
20992
+ };
20993
+ };
20784
20994
  /** @description Validation Error */
20785
20995
  422: {
20786
20996
  headers: {
@@ -20792,20 +21002,21 @@ export interface operations {
20792
21002
  };
20793
21003
  };
20794
21004
  };
20795
- invoicing_post_products: {
21005
+ invoicing_get_taxes: {
20796
21006
  parameters: {
20797
- query?: never;
21007
+ query?: {
21008
+ /** @description Page number */
21009
+ page?: number;
21010
+ /** @description Page size */
21011
+ size?: number;
21012
+ };
20798
21013
  header?: never;
20799
21014
  path: {
20800
21015
  consumer_id: string;
20801
21016
  };
20802
21017
  cookie?: never;
20803
21018
  };
20804
- requestBody: {
20805
- content: {
20806
- 'application/json': components['schemas']['ProductItem-Input'];
20807
- };
20808
- };
21019
+ requestBody?: never;
20809
21020
  responses: {
20810
21021
  /** @description Successful Response */
20811
21022
  200: {
@@ -20813,7 +21024,7 @@ export interface operations {
20813
21024
  [name: string]: unknown;
20814
21025
  };
20815
21026
  content: {
20816
- 'application/json': components['schemas']['ProductItemOut'];
21027
+ 'application/json': components['schemas']['ChiftPage_InvoicingVatCode_'];
20817
21028
  };
20818
21029
  };
20819
21030
  /** @description Bad Request */
@@ -20842,13 +21053,13 @@ export interface operations {
20842
21053
  };
20843
21054
  };
20844
21055
  };
20845
- invoicing_get_product: {
21056
+ invoicing_get_tax: {
20846
21057
  parameters: {
20847
21058
  query?: never;
20848
21059
  header?: never;
20849
21060
  path: {
20850
21061
  consumer_id: string;
20851
- product_id: string;
21062
+ tax_id: string;
20852
21063
  };
20853
21064
  cookie?: never;
20854
21065
  };
@@ -20860,7 +21071,7 @@ export interface operations {
20860
21071
  [name: string]: unknown;
20861
21072
  };
20862
21073
  content: {
20863
- 'application/json': components['schemas']['ProductItemOut'];
21074
+ 'application/json': components['schemas']['InvoicingVatCode'];
20864
21075
  };
20865
21076
  };
20866
21077
  /** @description Bad Request */
@@ -20886,7 +21097,7 @@ export interface operations {
20886
21097
  content: {
20887
21098
  /**
20888
21099
  * @example {
20889
- * "message": "The product doesn't exist.",
21100
+ * "message": "The tax doesn't exist.",
20890
21101
  * "status": "error"
20891
21102
  * }
20892
21103
  */
@@ -20904,13 +21115,22 @@ export interface operations {
20904
21115
  };
20905
21116
  };
20906
21117
  };
20907
- invoicing_get_opportunities: {
21118
+ invoicing_get_invoices: {
20908
21119
  parameters: {
20909
21120
  query?: {
20910
21121
  /** @description Page number */
20911
21122
  page?: number;
20912
21123
  /** @description Page size */
20913
21124
  size?: number;
21125
+ date_from?: string | null;
21126
+ date_to?: string | null;
21127
+ invoice_type?: components['schemas']['InvoicingInvoiceType'] | null;
21128
+ payment_status?: components['schemas']['PaymentStatus'] | null;
21129
+ updated_after?: string | null;
21130
+ /** @description Include the invoice lines in the response. By default, invoice lines are included when no extra request is needed to fetch them. If you want to include them explicitly, set this parameter to true. */
21131
+ include_invoice_lines?: components['schemas']['BoolParam'] | null;
21132
+ /** @description Include analytic accounts in the response */
21133
+ include_analytic_accounts?: components['schemas']['BoolParam'] | null;
20914
21134
  };
20915
21135
  header?: never;
20916
21136
  path: {
@@ -20926,7 +21146,7 @@ export interface operations {
20926
21146
  [name: string]: unknown;
20927
21147
  };
20928
21148
  content: {
20929
- 'application/json': components['schemas']['ChiftPage_OpportunityItem_'];
21149
+ 'application/json': components['schemas']['ChiftPage_InvoiceItemOut_'];
20930
21150
  };
20931
21151
  };
20932
21152
  /** @description Bad Request */
@@ -20937,7 +21157,7 @@ export interface operations {
20937
21157
  content: {
20938
21158
  /**
20939
21159
  * @example {
20940
- * "message": "Error while trying to perform your request",
21160
+ * "message": "You must provide an invoice type.",
20941
21161
  * "status": "error"
20942
21162
  * }
20943
21163
  */
@@ -20955,17 +21175,20 @@ export interface operations {
20955
21175
  };
20956
21176
  };
20957
21177
  };
20958
- invoicing_get_opportunity: {
21178
+ invoicing_post_invoices: {
20959
21179
  parameters: {
20960
21180
  query?: never;
20961
21181
  header?: never;
20962
21182
  path: {
20963
21183
  consumer_id: string;
20964
- opportunity_id: string;
20965
21184
  };
20966
21185
  cookie?: never;
20967
21186
  };
20968
- requestBody?: never;
21187
+ requestBody: {
21188
+ content: {
21189
+ 'application/json': components['schemas']['InvoiceItem-Input'];
21190
+ };
21191
+ };
20969
21192
  responses: {
20970
21193
  /** @description Successful Response */
20971
21194
  200: {
@@ -20973,7 +21196,7 @@ export interface operations {
20973
21196
  [name: string]: unknown;
20974
21197
  };
20975
21198
  content: {
20976
- 'application/json': components['schemas']['OpportunityItem'];
21199
+ 'application/json': components['schemas']['InvoiceItemOut'];
20977
21200
  };
20978
21201
  };
20979
21202
  /** @description Bad Request */
@@ -20991,6 +21214,58 @@ export interface operations {
20991
21214
  'application/json': components['schemas']['ChiftError'];
20992
21215
  };
20993
21216
  };
21217
+ /** @description Validation Error */
21218
+ 422: {
21219
+ headers: {
21220
+ [name: string]: unknown;
21221
+ };
21222
+ content: {
21223
+ 'application/json': components['schemas']['HTTPValidationError'];
21224
+ };
21225
+ };
21226
+ };
21227
+ };
21228
+ invoicing_get_invoice: {
21229
+ parameters: {
21230
+ query?: {
21231
+ /** @description Include the invoice PDF as a base64 encoded string in the response */
21232
+ include_pdf?: components['schemas']['BoolParam'] | null;
21233
+ /** @description Include analytic accounts in the response */
21234
+ include_analytic_accounts?: components['schemas']['BoolParam'] | null;
21235
+ };
21236
+ header?: never;
21237
+ path: {
21238
+ consumer_id: string;
21239
+ invoice_id: string;
21240
+ };
21241
+ cookie?: never;
21242
+ };
21243
+ requestBody?: never;
21244
+ responses: {
21245
+ /** @description Successful Response */
21246
+ 200: {
21247
+ headers: {
21248
+ [name: string]: unknown;
21249
+ };
21250
+ content: {
21251
+ 'application/json': components['schemas']['InvoiceItemOutSingle'];
21252
+ };
21253
+ };
21254
+ /** @description Bad Request */
21255
+ 400: {
21256
+ headers: {
21257
+ [name: string]: unknown;
21258
+ };
21259
+ content: {
21260
+ /**
21261
+ * @example {
21262
+ * "message": "The ID of the invoice doesn't have the correct format.",
21263
+ * "status": "error"
21264
+ * }
21265
+ */
21266
+ 'application/json': components['schemas']['ChiftError'];
21267
+ };
21268
+ };
20994
21269
  /** @description Not Found */
20995
21270
  404: {
20996
21271
  headers: {
@@ -20999,7 +21274,7 @@ export interface operations {
20999
21274
  content: {
21000
21275
  /**
21001
21276
  * @example {
21002
- * "message": "The opportunity doesn't exist.",
21277
+ * "message": "The invoice doesn't exist in the invoicing system.",
21003
21278
  * "status": "error"
21004
21279
  * }
21005
21280
  */
@@ -21017,30 +21292,28 @@ export interface operations {
21017
21292
  };
21018
21293
  };
21019
21294
  };
21020
- invoicing_get_contacts: {
21295
+ invoicing_upload_document: {
21021
21296
  parameters: {
21022
- query?: {
21023
- /** @description Page number */
21024
- page?: number;
21025
- /** @description Page size */
21026
- size?: number;
21027
- contact_type?: components['schemas']['ContactType'];
21028
- };
21297
+ query?: never;
21029
21298
  header?: never;
21030
21299
  path: {
21031
21300
  consumer_id: string;
21032
21301
  };
21033
21302
  cookie?: never;
21034
21303
  };
21035
- requestBody?: never;
21304
+ requestBody: {
21305
+ content: {
21306
+ 'application/json': components['schemas']['AttachmentItemIn'];
21307
+ };
21308
+ };
21036
21309
  responses: {
21037
21310
  /** @description Successful Response */
21038
- 200: {
21311
+ 201: {
21039
21312
  headers: {
21040
21313
  [name: string]: unknown;
21041
21314
  };
21042
21315
  content: {
21043
- 'application/json': components['schemas']['ChiftPage_ContactItemOut_'];
21316
+ 'application/json': components['schemas']['UploadDocumentItemOut'];
21044
21317
  };
21045
21318
  };
21046
21319
  /** @description Bad Request */
@@ -21051,7 +21324,7 @@ export interface operations {
21051
21324
  content: {
21052
21325
  /**
21053
21326
  * @example {
21054
- * "message": "Error while trying to perform your request",
21327
+ * "message": "The document is not a valid base64 string representing a PDF.",
21055
21328
  * "status": "error"
21056
21329
  * }
21057
21330
  */
@@ -21069,20 +21342,21 @@ export interface operations {
21069
21342
  };
21070
21343
  };
21071
21344
  };
21072
- invoicing_post_contacts: {
21345
+ invoicing_get_opportunities: {
21073
21346
  parameters: {
21074
- query?: never;
21347
+ query?: {
21348
+ /** @description Page number */
21349
+ page?: number;
21350
+ /** @description Page size */
21351
+ size?: number;
21352
+ };
21075
21353
  header?: never;
21076
21354
  path: {
21077
21355
  consumer_id: string;
21078
21356
  };
21079
21357
  cookie?: never;
21080
21358
  };
21081
- requestBody: {
21082
- content: {
21083
- 'application/json': components['schemas']['ContactItemIn'];
21084
- };
21085
- };
21359
+ requestBody?: never;
21086
21360
  responses: {
21087
21361
  /** @description Successful Response */
21088
21362
  200: {
@@ -21090,7 +21364,7 @@ export interface operations {
21090
21364
  [name: string]: unknown;
21091
21365
  };
21092
21366
  content: {
21093
- 'application/json': components['schemas']['ContactItemOut'];
21367
+ 'application/json': components['schemas']['ChiftPage_OpportunityItem_'];
21094
21368
  };
21095
21369
  };
21096
21370
  /** @description Bad Request */
@@ -21119,13 +21393,13 @@ export interface operations {
21119
21393
  };
21120
21394
  };
21121
21395
  };
21122
- invoicing_get_contact: {
21396
+ invoicing_get_opportunity: {
21123
21397
  parameters: {
21124
21398
  query?: never;
21125
21399
  header?: never;
21126
21400
  path: {
21127
21401
  consumer_id: string;
21128
- contact_id: string;
21402
+ opportunity_id: string;
21129
21403
  };
21130
21404
  cookie?: never;
21131
21405
  };
@@ -21137,7 +21411,7 @@ export interface operations {
21137
21411
  [name: string]: unknown;
21138
21412
  };
21139
21413
  content: {
21140
- 'application/json': components['schemas']['ContactItemOut'];
21414
+ 'application/json': components['schemas']['OpportunityItem'];
21141
21415
  };
21142
21416
  };
21143
21417
  /** @description Bad Request */
@@ -21163,7 +21437,7 @@ export interface operations {
21163
21437
  content: {
21164
21438
  /**
21165
21439
  * @example {
21166
- * "message": "The contact doesn't exist.",
21440
+ * "message": "The opportunity doesn't exist.",
21167
21441
  * "status": "error"
21168
21442
  * }
21169
21443
  */
@@ -21234,21 +21508,71 @@ export interface operations {
21234
21508
  };
21235
21509
  };
21236
21510
  };
21237
- invoicing_get_payments_methods: {
21511
+ invoicing_create_payment: {
21238
21512
  parameters: {
21239
- query?: {
21240
- /** @description Page number */
21241
- page?: number;
21242
- /** @description Page size */
21243
- size?: number;
21513
+ query?: never;
21514
+ header?: never;
21515
+ path: {
21516
+ consumer_id: string;
21517
+ };
21518
+ cookie?: never;
21519
+ };
21520
+ requestBody: {
21521
+ content: {
21522
+ 'application/json': components['schemas']['InvoicingPaymentItemIn'];
21523
+ };
21524
+ };
21525
+ responses: {
21526
+ /** @description Successful Response */
21527
+ 201: {
21528
+ headers: {
21529
+ [name: string]: unknown;
21530
+ };
21531
+ content: {
21532
+ 'application/json': components['schemas']['InvoicingPaymentItem'];
21533
+ };
21244
21534
  };
21535
+ /** @description Bad Request */
21536
+ 400: {
21537
+ headers: {
21538
+ [name: string]: unknown;
21539
+ };
21540
+ content: {
21541
+ /**
21542
+ * @example {
21543
+ * "message": "Error while trying to perform your request",
21544
+ * "status": "error"
21545
+ * }
21546
+ */
21547
+ 'application/json': components['schemas']['ChiftError'];
21548
+ };
21549
+ };
21550
+ /** @description Validation Error */
21551
+ 422: {
21552
+ headers: {
21553
+ [name: string]: unknown;
21554
+ };
21555
+ content: {
21556
+ 'application/json': components['schemas']['HTTPValidationError'];
21557
+ };
21558
+ };
21559
+ };
21560
+ };
21561
+ invoicing_update_payment: {
21562
+ parameters: {
21563
+ query?: never;
21245
21564
  header?: never;
21246
21565
  path: {
21247
21566
  consumer_id: string;
21567
+ payment_id: string;
21248
21568
  };
21249
21569
  cookie?: never;
21250
21570
  };
21251
- requestBody?: never;
21571
+ requestBody: {
21572
+ content: {
21573
+ 'application/json': components['schemas']['InvoicingPaymentItemUpdate'];
21574
+ };
21575
+ };
21252
21576
  responses: {
21253
21577
  /** @description Successful Response */
21254
21578
  200: {
@@ -21256,7 +21580,7 @@ export interface operations {
21256
21580
  [name: string]: unknown;
21257
21581
  };
21258
21582
  content: {
21259
- 'application/json': components['schemas']['ChiftPage_InvoicingPaymentMethodItem_'];
21583
+ 'application/json': components['schemas']['InvoicingPaymentItem'];
21260
21584
  };
21261
21585
  };
21262
21586
  /** @description Bad Request */
@@ -21285,7 +21609,7 @@ export interface operations {
21285
21609
  };
21286
21610
  };
21287
21611
  };
21288
- invoicing_get_bank_accounts: {
21612
+ invoicing_get_payments_methods: {
21289
21613
  parameters: {
21290
21614
  query?: {
21291
21615
  /** @description Page number */
@@ -21307,7 +21631,7 @@ export interface operations {
21307
21631
  [name: string]: unknown;
21308
21632
  };
21309
21633
  content: {
21310
- 'application/json': components['schemas']['ChiftPage_InvoicingBankAccountItem_'];
21634
+ 'application/json': components['schemas']['ChiftPage_InvoicingPaymentMethodItem_'];
21311
21635
  };
21312
21636
  };
21313
21637
  /** @description Bad Request */
@@ -21336,21 +21660,13 @@ export interface operations {
21336
21660
  };
21337
21661
  };
21338
21662
  };
21339
- invoicing_get_bank_transactions: {
21663
+ invoicing_get_bank_accounts: {
21340
21664
  parameters: {
21341
- query: {
21665
+ query?: {
21342
21666
  /** @description Page number */
21343
21667
  page?: number;
21344
21668
  /** @description Page size */
21345
21669
  size?: number;
21346
- /** @description The start date (inclusive) for filtering bank transactions. If provided, only transactions on or after this date will be returned. */
21347
- date_from?: string | null;
21348
- /** @description The end date (inclusive) for filtering bank transactions. If provided, only transactions on or before this date will be returned. */
21349
- date_to?: string | null;
21350
- /** @description The unique identifier of the bank account to filter transactions for. If omitted, transactions from all accessible accounts will be included. */
21351
- bank_account_id: string;
21352
- /** @description Filter transactions by their status. */
21353
- status?: components['schemas']['BankTransactionStatus'] | null;
21354
21670
  };
21355
21671
  header?: never;
21356
21672
  path: {
@@ -21366,7 +21682,7 @@ export interface operations {
21366
21682
  [name: string]: unknown;
21367
21683
  };
21368
21684
  content: {
21369
- 'application/json': components['schemas']['ChiftPage_InvoicingBankTransactionItem_'];
21685
+ 'application/json': components['schemas']['ChiftPage_InvoicingBankAccountItem_'];
21370
21686
  };
21371
21687
  };
21372
21688
  /** @description Bad Request */
@@ -21395,28 +21711,37 @@ export interface operations {
21395
21711
  };
21396
21712
  };
21397
21713
  };
21398
- invoicing_upload_document: {
21714
+ invoicing_get_bank_transactions: {
21399
21715
  parameters: {
21400
- query?: never;
21716
+ query: {
21717
+ /** @description Page number */
21718
+ page?: number;
21719
+ /** @description Page size */
21720
+ size?: number;
21721
+ /** @description The start date (inclusive) for filtering bank transactions. If provided, only transactions on or after this date will be returned. */
21722
+ date_from?: string | null;
21723
+ /** @description The end date (inclusive) for filtering bank transactions. If provided, only transactions on or before this date will be returned. */
21724
+ date_to?: string | null;
21725
+ /** @description The unique identifier of the bank account to filter transactions for. If omitted, transactions from all accessible accounts will be included. */
21726
+ bank_account_id: string;
21727
+ /** @description Filter transactions by their status. */
21728
+ status?: components['schemas']['BankTransactionStatus'] | null;
21729
+ };
21401
21730
  header?: never;
21402
21731
  path: {
21403
21732
  consumer_id: string;
21404
21733
  };
21405
21734
  cookie?: never;
21406
21735
  };
21407
- requestBody: {
21408
- content: {
21409
- 'application/json': components['schemas']['AttachmentItemIn'];
21410
- };
21411
- };
21736
+ requestBody?: never;
21412
21737
  responses: {
21413
21738
  /** @description Successful Response */
21414
- 201: {
21739
+ 200: {
21415
21740
  headers: {
21416
21741
  [name: string]: unknown;
21417
21742
  };
21418
21743
  content: {
21419
- 'application/json': components['schemas']['UploadDocumentItemOut'];
21744
+ 'application/json': components['schemas']['ChiftPage_InvoicingBankTransactionItem_'];
21420
21745
  };
21421
21746
  };
21422
21747
  /** @description Bad Request */
@@ -21427,7 +21752,7 @@ export interface operations {
21427
21752
  content: {
21428
21753
  /**
21429
21754
  * @example {
21430
- * "message": "The document is not a valid base64 string representing a PDF.",
21755
+ * "message": "Error while trying to perform your request",
21431
21756
  * "status": "error"
21432
21757
  * }
21433
21758
  */
@@ -21660,11 +21985,11 @@ export interface operations {
21660
21985
  banking_get_attachments: {
21661
21986
  parameters: {
21662
21987
  query: {
21663
- transaction_id: string;
21664
21988
  /** @description Page number */
21665
21989
  page?: number;
21666
21990
  /** @description Page size */
21667
21991
  size?: number;
21992
+ transaction_id: string;
21668
21993
  };
21669
21994
  header?: never;
21670
21995
  path: {
@@ -21760,7 +22085,7 @@ export interface operations {
21760
22085
  };
21761
22086
  };
21762
22087
  };
21763
- payment_get_transaction: {
22088
+ payment_get_transactions: {
21764
22089
  parameters: {
21765
22090
  query?: {
21766
22091
  /** @description Page number */