@erp-galoper/main-package 1.0.103 → 1.0.105
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/openapi.ts +1344 -86
- package/package.json +1 -1
package/openapi.ts
CHANGED
@@ -485,6 +485,148 @@ export interface paths {
|
|
485
485
|
*/
|
486
486
|
get: operations["common_currency_views_list_currencies_in_export"];
|
487
487
|
};
|
488
|
+
"/api/v1/pos/sessions/": {
|
489
|
+
/**
|
490
|
+
* List Sessions
|
491
|
+
* @description Endpoint to list sessions
|
492
|
+
* Possible Responses:
|
493
|
+
* - 200:
|
494
|
+
* - ListSessionSchema
|
495
|
+
* - 400:
|
496
|
+
* - invalidFilterFormat
|
497
|
+
* - paginationError
|
498
|
+
* - 403:
|
499
|
+
* - permissionDenied
|
500
|
+
* - 500:
|
501
|
+
* - internalServerError
|
502
|
+
*/
|
503
|
+
get: operations["pos_session_views_list_sessions"];
|
504
|
+
};
|
505
|
+
"/api/v1/pos/sessions/{id}/x-report/": {
|
506
|
+
/**
|
507
|
+
* Get X Report
|
508
|
+
* @description Endpoint to get X report
|
509
|
+
* Possible Responses:
|
510
|
+
* - 200:
|
511
|
+
* - XReportSchema
|
512
|
+
* - 400:
|
513
|
+
* - invalidFilterFormat
|
514
|
+
* - paginationError
|
515
|
+
* - sessionNotClosed
|
516
|
+
* - 403:
|
517
|
+
* - permissionDenied
|
518
|
+
* - 404:
|
519
|
+
* - sessionDoesNotExist
|
520
|
+
* - settingsDoesNotExist
|
521
|
+
* - companyDoesNotExist
|
522
|
+
*/
|
523
|
+
get: operations["pos_session_views_get_x_report"];
|
524
|
+
};
|
525
|
+
"/api/v1/pos/sessions/{id}/invoices/": {
|
526
|
+
/**
|
527
|
+
* Get Invoices
|
528
|
+
* @description endpoint to get invoices
|
529
|
+
* Possible Responses:
|
530
|
+
* - 200:
|
531
|
+
* - ListInvoiceSchema
|
532
|
+
* - 400:
|
533
|
+
* - invalidFilterFormat
|
534
|
+
* - paginationError
|
535
|
+
* - 403:
|
536
|
+
* - permissionDenied
|
537
|
+
* - 404:
|
538
|
+
* - sessionDoesNotExist
|
539
|
+
* - 500:
|
540
|
+
* - internalServerError
|
541
|
+
*/
|
542
|
+
get: operations["pos_session_views_get_invoices"];
|
543
|
+
};
|
544
|
+
"/api/v1/pos/sessions/{id}/exchanged_invoices/": {
|
545
|
+
/**
|
546
|
+
* Get Exchange Invoices
|
547
|
+
* @description endpoint to get exchanged invoices
|
548
|
+
* Possible Responses:
|
549
|
+
* - 200:
|
550
|
+
* - ListInvoiceSchema
|
551
|
+
* - 400:
|
552
|
+
* - invalidFilterFormat
|
553
|
+
* - paginationError
|
554
|
+
* - 403:
|
555
|
+
* - permissionDenied
|
556
|
+
* - 404:
|
557
|
+
* - sessionDoesNotExist
|
558
|
+
* - 500:
|
559
|
+
* - internalServerError
|
560
|
+
*/
|
561
|
+
get: operations["pos_session_views_get_exchange_invoices"];
|
562
|
+
};
|
563
|
+
"/api/v1/pos/sessions/{id}/return_invoices/": {
|
564
|
+
/**
|
565
|
+
* Get Return Invoices
|
566
|
+
* @description endpoint to get return invoices
|
567
|
+
* Possible Responses:
|
568
|
+
* - 200:
|
569
|
+
* - ListInvoiceSchema
|
570
|
+
* - 400:
|
571
|
+
* - invalidFilterFormat
|
572
|
+
* - paginationError
|
573
|
+
* - 403:
|
574
|
+
* - permissionDenied
|
575
|
+
* - 404:
|
576
|
+
* - sessionDoesNotExist
|
577
|
+
* - 500:
|
578
|
+
* - internalServerError
|
579
|
+
*/
|
580
|
+
get: operations["pos_session_views_get_return_invoices"];
|
581
|
+
};
|
582
|
+
"/api/v1/pos/sessions/invoices/{id}/": {
|
583
|
+
/**
|
584
|
+
* Get Invoice
|
585
|
+
* @description Get invoice by id
|
586
|
+
* possible responses:
|
587
|
+
* 200:
|
588
|
+
* - InvoiceInfoSchema
|
589
|
+
* 404:
|
590
|
+
* - invoiceDoesNotExist
|
591
|
+
* 403:
|
592
|
+
* - permissionDenied
|
593
|
+
* 500:
|
594
|
+
* - internalServerError
|
595
|
+
*/
|
596
|
+
get: operations["pos_invoice_views_get_invoice"];
|
597
|
+
};
|
598
|
+
"/api/v1/pos/sessions/exchanges/{id}/": {
|
599
|
+
/**
|
600
|
+
* Get Exchange Invoice
|
601
|
+
* @description Get exchange by id
|
602
|
+
* possible responses:
|
603
|
+
* 200:
|
604
|
+
* - InvoiceInfoSchema
|
605
|
+
* 404:
|
606
|
+
* - invoiceNotFound
|
607
|
+
* 403:
|
608
|
+
* - permissionDenied
|
609
|
+
* 500:
|
610
|
+
* - internalServerError
|
611
|
+
*/
|
612
|
+
get: operations["pos_invoice_views_get_exchange_invoice"];
|
613
|
+
};
|
614
|
+
"/api/v1/pos/sessions/returns/{id}/": {
|
615
|
+
/**
|
616
|
+
* Get Return Invoice
|
617
|
+
* @description Get return by id
|
618
|
+
* possible responses:
|
619
|
+
* 200:
|
620
|
+
* - InvoiceInfoSchema
|
621
|
+
* 404:
|
622
|
+
* - invoiceNotFound
|
623
|
+
* 403:
|
624
|
+
* - permissionDenied
|
625
|
+
* 500:
|
626
|
+
* - internalServerError
|
627
|
+
*/
|
628
|
+
get: operations["pos_invoice_views_get_return_invoice"];
|
629
|
+
};
|
488
630
|
"/api/v1/accounting/journal_vouchers/": {
|
489
631
|
/**
|
490
632
|
* List Journal Vouchers In Export
|
@@ -1105,15 +1247,127 @@ export interface components {
|
|
1105
1247
|
name: string;
|
1106
1248
|
|
1107
1249
|
};
|
1108
|
-
/**
|
1109
|
-
|
1250
|
+
/** ListSessionSchema */
|
1251
|
+
ListSessionSchema: {
|
1252
|
+
info: components["schemas"]["PageInfoSchema"];
|
1253
|
+
/** Results */
|
1254
|
+
results: components["schemas"]["SessionSchema"][];
|
1255
|
+
|
1256
|
+
};
|
1257
|
+
/** SessionSchema */
|
1258
|
+
SessionSchema: {
|
1259
|
+
/**
|
1260
|
+
* Id
|
1261
|
+
* Format: uuid
|
1262
|
+
*/
|
1263
|
+
id: string;
|
1264
|
+
user: components["schemas"]["UserInfo"];
|
1265
|
+
/**
|
1266
|
+
* Startdate
|
1267
|
+
* Format: date-time
|
1268
|
+
*/
|
1269
|
+
startDate: string;
|
1270
|
+
/** Enddate */
|
1271
|
+
endDate: string | null;
|
1272
|
+
/** Posted */
|
1273
|
+
posted: boolean | null;
|
1274
|
+
/** Audited */
|
1275
|
+
audited: boolean | null;
|
1276
|
+
/** Closed */
|
1277
|
+
closed: boolean;
|
1278
|
+
|
1279
|
+
};
|
1280
|
+
/** UserInfo */
|
1281
|
+
UserInfo: {
|
1282
|
+
/** Id */
|
1283
|
+
id: number;
|
1284
|
+
/** Username */
|
1285
|
+
username: string;
|
1286
|
+
|
1287
|
+
};
|
1288
|
+
/** CompanyInfoSchema */
|
1289
|
+
CompanyInfoSchema: {
|
1110
1290
|
/** Name */
|
1111
1291
|
name: string;
|
1112
|
-
/**
|
1113
|
-
|
1292
|
+
/** Address */
|
1293
|
+
address: string;
|
1294
|
+
/** Phone */
|
1295
|
+
phone: string;
|
1114
1296
|
/** Currency */
|
1115
1297
|
currency: string;
|
1116
1298
|
|
1299
|
+
};
|
1300
|
+
/** CountSchema */
|
1301
|
+
CountSchema: {
|
1302
|
+
/** Paidinvoices */
|
1303
|
+
paidInvoices: number;
|
1304
|
+
/** Paidexchanges */
|
1305
|
+
paidExchanges: number;
|
1306
|
+
/** Paidreturns */
|
1307
|
+
paidReturns: number;
|
1308
|
+
/** Voidinvoices */
|
1309
|
+
voidInvoices: number;
|
1310
|
+
/** Voidexchanges */
|
1311
|
+
voidExchanges: number;
|
1312
|
+
/** Voidreturns */
|
1313
|
+
voidReturns: number;
|
1314
|
+
|
1315
|
+
};
|
1316
|
+
/** SessionInfoSchema */
|
1317
|
+
SessionInfoSchema: {
|
1318
|
+
/**
|
1319
|
+
* Sessionstartat
|
1320
|
+
* Format: date-time
|
1321
|
+
*/
|
1322
|
+
sessionStartAt: string;
|
1323
|
+
/**
|
1324
|
+
* Sessionclosedat
|
1325
|
+
* Format: date-time
|
1326
|
+
*/
|
1327
|
+
sessionClosedAt: string;
|
1328
|
+
/** Cashier */
|
1329
|
+
cashier: string;
|
1330
|
+
/** Openingbalanceusd */
|
1331
|
+
openingBalanceUsd: number;
|
1332
|
+
/** Openingbalancecompany */
|
1333
|
+
openingBalanceCompany: number;
|
1334
|
+
/** Closedbalanceusd */
|
1335
|
+
closedBalanceUsd: number;
|
1336
|
+
/** Closedbalancecompany */
|
1337
|
+
closedBalanceCompany: number;
|
1338
|
+
|
1339
|
+
};
|
1340
|
+
/** TotalsSchema */
|
1341
|
+
TotalsSchema: {
|
1342
|
+
/** Totalsalesusd */
|
1343
|
+
totalSalesUsd: number;
|
1344
|
+
/** Totalsalescompany */
|
1345
|
+
totalSalesCompany: number;
|
1346
|
+
/** Totaldiscountsusd */
|
1347
|
+
totalDiscountsUsd: number;
|
1348
|
+
/** Totaldiscountscompany */
|
1349
|
+
totalDiscountsCompany: number;
|
1350
|
+
/** Totalrefundsusd */
|
1351
|
+
totalRefundsUsd: number;
|
1352
|
+
/** Totalrefundscompany */
|
1353
|
+
totalRefundsCompany: number;
|
1354
|
+
/** Netsalesusd */
|
1355
|
+
netSalesUsd: number;
|
1356
|
+
/** Netsalescompany */
|
1357
|
+
netSalesCompany: number;
|
1358
|
+
|
1359
|
+
};
|
1360
|
+
/** XReportSchema */
|
1361
|
+
XReportSchema: {
|
1362
|
+
companyInfo: components["schemas"]["CompanyInfoSchema"];
|
1363
|
+
sessionInfo: components["schemas"]["SessionInfoSchema"];
|
1364
|
+
totals: components["schemas"]["TotalsSchema"];
|
1365
|
+
counts: components["schemas"]["CountSchema"];
|
1366
|
+
/** Expectedcashusd */
|
1367
|
+
expectedCashUsd: number;
|
1368
|
+
/** Note */
|
1369
|
+
note: string;
|
1370
|
+
|
1117
1371
|
};
|
1118
1372
|
/** CustomerInfo */
|
1119
1373
|
CustomerInfo: {
|
@@ -1125,116 +1379,688 @@ export interface components {
|
|
1125
1379
|
currency: string;
|
1126
1380
|
|
1127
1381
|
};
|
1128
|
-
/**
|
1129
|
-
|
1130
|
-
/** Id */
|
1131
|
-
id: number;
|
1132
|
-
/** Intnumber */
|
1133
|
-
intNumber: string;
|
1382
|
+
/** InvoiceSchema */
|
1383
|
+
InvoiceSchema: {
|
1134
1384
|
/**
|
1135
|
-
*
|
1136
|
-
* Format:
|
1385
|
+
* Id
|
1386
|
+
* Format: uuid
|
1137
1387
|
*/
|
1138
|
-
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
};
|
1144
|
-
/** ListJournalVouchersInExport */
|
1145
|
-
ListJournalVouchersInExport: {
|
1146
|
-
/** Description */
|
1147
|
-
description?: string | null;
|
1388
|
+
id: string;
|
1389
|
+
/** Invoicenumber */
|
1390
|
+
invoiceNumber: string;
|
1391
|
+
customer: components["schemas"]["CustomerInfo"];
|
1392
|
+
currency: components["schemas"]["CurrencyList"];
|
1148
1393
|
/**
|
1149
|
-
*
|
1150
|
-
* @
|
1394
|
+
* Status
|
1395
|
+
* @example in_progress
|
1151
1396
|
*/
|
1152
|
-
|
1397
|
+
status: string;
|
1153
1398
|
/**
|
1154
|
-
*
|
1155
|
-
* @
|
1399
|
+
* Barcode
|
1400
|
+
* @example 123456789
|
1156
1401
|
*/
|
1157
|
-
|
1402
|
+
barcode: number;
|
1158
1403
|
/**
|
1159
|
-
*
|
1160
|
-
* @
|
1404
|
+
* Companysubtotal
|
1405
|
+
* @example 1
|
1161
1406
|
*/
|
1162
|
-
|
1407
|
+
companySubTotal: number;
|
1163
1408
|
/**
|
1164
|
-
*
|
1165
|
-
* @
|
1409
|
+
* Companyitemsdiscountamount
|
1410
|
+
* @example 1
|
1166
1411
|
*/
|
1167
|
-
|
1412
|
+
companyItemsDiscountAmount: number;
|
1168
1413
|
/**
|
1169
|
-
*
|
1170
|
-
* @
|
1414
|
+
* Companytotaldiscountamount
|
1415
|
+
* @example 1
|
1171
1416
|
*/
|
1172
|
-
|
1417
|
+
companyTotalDiscountAmount: number;
|
1173
1418
|
/**
|
1174
|
-
*
|
1175
|
-
* @
|
1419
|
+
* Usdtotaldiscountamount
|
1420
|
+
* @example 1
|
1176
1421
|
*/
|
1177
|
-
|
1422
|
+
usdTotalDiscountAmount: number;
|
1178
1423
|
/**
|
1179
|
-
*
|
1424
|
+
* Companynetitemstotal
|
1425
|
+
* @example 1
|
1426
|
+
*/
|
1427
|
+
companyNetItemsTotal: number;
|
1428
|
+
/**
|
1429
|
+
* Totalcompany
|
1430
|
+
* @example 1
|
1431
|
+
*/
|
1432
|
+
totalCompany: number;
|
1433
|
+
/**
|
1434
|
+
* Companytax
|
1435
|
+
* @example 1
|
1436
|
+
*/
|
1437
|
+
companyTax: number;
|
1438
|
+
/**
|
1439
|
+
* Companynettotal
|
1440
|
+
* @example 1
|
1441
|
+
*/
|
1442
|
+
companyNetTotal: number;
|
1443
|
+
/**
|
1444
|
+
* Usdsubtotal
|
1445
|
+
* @example 1
|
1446
|
+
*/
|
1447
|
+
usdSubTotal: number;
|
1448
|
+
/**
|
1449
|
+
* Usditemsdiscountamount
|
1450
|
+
* @example 1
|
1451
|
+
*/
|
1452
|
+
usdItemsDiscountAmount: number;
|
1453
|
+
/**
|
1454
|
+
* Usdnetitemstotal
|
1455
|
+
* @example 1
|
1456
|
+
*/
|
1457
|
+
usdNetItemsTotal: number;
|
1458
|
+
/**
|
1459
|
+
* Totalusd
|
1460
|
+
* @example 1
|
1461
|
+
*/
|
1462
|
+
totalUsd: number;
|
1463
|
+
/**
|
1464
|
+
* Usdtax
|
1465
|
+
* @example 1
|
1466
|
+
*/
|
1467
|
+
usdTax: number;
|
1468
|
+
/**
|
1469
|
+
* Usdnettotal
|
1470
|
+
* @example 1
|
1471
|
+
*/
|
1472
|
+
usdNetTotal: number;
|
1473
|
+
/**
|
1474
|
+
* Usdinvoicediscount
|
1180
1475
|
* @default 0
|
1476
|
+
* @example 1
|
1181
1477
|
*/
|
1182
|
-
|
1478
|
+
usdInvoiceDiscount?: number | null;
|
1183
1479
|
/**
|
1184
|
-
*
|
1480
|
+
* Companyinvoicediscount
|
1185
1481
|
* @default 0
|
1482
|
+
* @example 1
|
1186
1483
|
*/
|
1187
|
-
|
1188
|
-
/** Isdoe */
|
1189
|
-
isDoe?: string | null;
|
1190
|
-
journalvoucher: components["schemas"]["JournalHeaderDetails"];
|
1191
|
-
account?: components["schemas"]["AccountInfo"] | null;
|
1192
|
-
customer?: components["schemas"]["CustomerInfo"] | null;
|
1193
|
-
supplier?: components["schemas"]["SupplierInfo"] | null;
|
1194
|
-
vatAccount?: components["schemas"]["VatAccountInfo"] | null;
|
1484
|
+
companyInvoiceDiscount?: number | null;
|
1195
1485
|
|
1196
1486
|
};
|
1197
|
-
/**
|
1198
|
-
|
1199
|
-
|
1200
|
-
|
1487
|
+
/** ListInvoiceSchema */
|
1488
|
+
ListInvoiceSchema: {
|
1489
|
+
info: components["schemas"]["PageInfoSchema"];
|
1490
|
+
/** Results */
|
1491
|
+
results: components["schemas"]["InvoiceSchema"][];
|
1201
1492
|
|
1202
1493
|
};
|
1203
|
-
/**
|
1204
|
-
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1208
|
-
accountnumber: string;
|
1209
|
-
/** Currency */
|
1210
|
-
currency: string;
|
1494
|
+
/** ListReturnSchema */
|
1495
|
+
ListReturnSchema: {
|
1496
|
+
info: components["schemas"]["PageInfoSchema"];
|
1497
|
+
/** Results */
|
1498
|
+
results: components["schemas"]["ReturnSchema"][];
|
1211
1499
|
|
1212
1500
|
};
|
1213
|
-
/**
|
1214
|
-
|
1215
|
-
/**
|
1216
|
-
|
1217
|
-
|
1218
|
-
|
1219
|
-
|
1220
|
-
|
1501
|
+
/** ReturnSchema */
|
1502
|
+
ReturnSchema: {
|
1503
|
+
/**
|
1504
|
+
* Id
|
1505
|
+
* Format: uuid
|
1506
|
+
*/
|
1507
|
+
id: string;
|
1508
|
+
/** Returnnumber */
|
1509
|
+
returnNumber: string;
|
1510
|
+
customer: components["schemas"]["CustomerInfo"];
|
1511
|
+
currency: components["schemas"]["CurrencyList"];
|
1512
|
+
/**
|
1513
|
+
* Status
|
1514
|
+
* @example in_progress
|
1515
|
+
*/
|
1516
|
+
status: string;
|
1517
|
+
/**
|
1518
|
+
* Barcode
|
1519
|
+
* @example 123456789
|
1520
|
+
*/
|
1521
|
+
barcode: number;
|
1522
|
+
/**
|
1523
|
+
* Companysubtotal
|
1524
|
+
* @example 1
|
1525
|
+
*/
|
1526
|
+
companySubTotal: number;
|
1527
|
+
/**
|
1528
|
+
* Companyitemsdiscountamount
|
1529
|
+
* @example 1
|
1530
|
+
*/
|
1531
|
+
companyItemsDiscountAmount: number;
|
1532
|
+
/**
|
1533
|
+
* Companytotaldiscountamount
|
1534
|
+
* @example 1
|
1535
|
+
*/
|
1536
|
+
companyTotalDiscountAmount: number;
|
1537
|
+
/**
|
1538
|
+
* Usdtotaldiscountamount
|
1539
|
+
* @example 1
|
1540
|
+
*/
|
1541
|
+
usdTotalDiscountAmount: number;
|
1542
|
+
/**
|
1543
|
+
* Companynetitemstotal
|
1544
|
+
* @example 1
|
1545
|
+
*/
|
1546
|
+
companyNetItemsTotal: number;
|
1547
|
+
/**
|
1548
|
+
* Totalcompany
|
1549
|
+
* @example 1
|
1550
|
+
*/
|
1551
|
+
totalCompany: number;
|
1552
|
+
/**
|
1553
|
+
* Companytax
|
1554
|
+
* @example 1
|
1555
|
+
*/
|
1556
|
+
companyTax: number;
|
1557
|
+
/**
|
1558
|
+
* Companynettotal
|
1559
|
+
* @example 1
|
1560
|
+
*/
|
1561
|
+
companyNetTotal: number;
|
1562
|
+
/**
|
1563
|
+
* Usdsubtotal
|
1564
|
+
* @example 1
|
1565
|
+
*/
|
1566
|
+
usdSubTotal: number;
|
1567
|
+
/**
|
1568
|
+
* Usditemsdiscountamount
|
1569
|
+
* @example 1
|
1570
|
+
*/
|
1571
|
+
usdItemsDiscountAmount: number;
|
1572
|
+
/**
|
1573
|
+
* Usdnetitemstotal
|
1574
|
+
* @example 1
|
1575
|
+
*/
|
1576
|
+
usdNetItemsTotal: number;
|
1577
|
+
/**
|
1578
|
+
* Totalusd
|
1579
|
+
* @example 1
|
1580
|
+
*/
|
1581
|
+
totalUsd: number;
|
1582
|
+
/**
|
1583
|
+
* Usdtax
|
1584
|
+
* @example 1
|
1585
|
+
*/
|
1586
|
+
usdTax: number;
|
1587
|
+
/**
|
1588
|
+
* Usdnettotal
|
1589
|
+
* @example 1
|
1590
|
+
*/
|
1591
|
+
usdNetTotal: number;
|
1592
|
+
/**
|
1593
|
+
* Usdinvoicediscount
|
1594
|
+
* @default 0
|
1595
|
+
* @example 1
|
1596
|
+
*/
|
1597
|
+
usdInvoiceDiscount?: number | null;
|
1598
|
+
/**
|
1599
|
+
* Companyinvoicediscount
|
1600
|
+
* @default 0
|
1601
|
+
* @example 1
|
1602
|
+
*/
|
1603
|
+
companyInvoiceDiscount?: number | null;
|
1221
1604
|
|
1222
1605
|
};
|
1223
|
-
|
1224
|
-
|
1225
|
-
|
1226
|
-
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1230
|
-
|
1231
|
-
|
1232
|
-
|
1233
|
-
|
1234
|
-
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1606
|
+
/** InvoiceInfoSchema */
|
1607
|
+
InvoiceInfoSchema: {
|
1608
|
+
/**
|
1609
|
+
* Id
|
1610
|
+
* Format: uuid
|
1611
|
+
*/
|
1612
|
+
id: string;
|
1613
|
+
/** Invoicenumber */
|
1614
|
+
invoiceNumber: string;
|
1615
|
+
customer: components["schemas"]["CustomerInfo"];
|
1616
|
+
currency: components["schemas"]["CurrencyList"];
|
1617
|
+
/**
|
1618
|
+
* Status
|
1619
|
+
* @example in_progress
|
1620
|
+
*/
|
1621
|
+
status: string;
|
1622
|
+
/**
|
1623
|
+
* Barcode
|
1624
|
+
* @example 123456789
|
1625
|
+
*/
|
1626
|
+
barcode: number;
|
1627
|
+
/**
|
1628
|
+
* Companysubtotal
|
1629
|
+
* @example 1
|
1630
|
+
*/
|
1631
|
+
companySubTotal: number;
|
1632
|
+
/**
|
1633
|
+
* Companyitemsdiscountamount
|
1634
|
+
* @example 1
|
1635
|
+
*/
|
1636
|
+
companyItemsDiscountAmount: number;
|
1637
|
+
/**
|
1638
|
+
* Companytotaldiscountamount
|
1639
|
+
* @example 1
|
1640
|
+
*/
|
1641
|
+
companyTotalDiscountAmount: number;
|
1642
|
+
/**
|
1643
|
+
* Usdtotaldiscountamount
|
1644
|
+
* @example 1
|
1645
|
+
*/
|
1646
|
+
usdTotalDiscountAmount: number;
|
1647
|
+
/**
|
1648
|
+
* Companynetitemstotal
|
1649
|
+
* @example 1
|
1650
|
+
*/
|
1651
|
+
companyNetItemsTotal: number;
|
1652
|
+
/**
|
1653
|
+
* Totalcompany
|
1654
|
+
* @example 1
|
1655
|
+
*/
|
1656
|
+
totalCompany: number;
|
1657
|
+
/**
|
1658
|
+
* Companytax
|
1659
|
+
* @example 1
|
1660
|
+
*/
|
1661
|
+
companyTax: number;
|
1662
|
+
/**
|
1663
|
+
* Companynettotal
|
1664
|
+
* @example 1
|
1665
|
+
*/
|
1666
|
+
companyNetTotal: number;
|
1667
|
+
/**
|
1668
|
+
* Usdsubtotal
|
1669
|
+
* @example 1
|
1670
|
+
*/
|
1671
|
+
usdSubTotal: number;
|
1672
|
+
/**
|
1673
|
+
* Usditemsdiscountamount
|
1674
|
+
* @example 1
|
1675
|
+
*/
|
1676
|
+
usdItemsDiscountAmount: number;
|
1677
|
+
/**
|
1678
|
+
* Usdnetitemstotal
|
1679
|
+
* @example 1
|
1680
|
+
*/
|
1681
|
+
usdNetItemsTotal: number;
|
1682
|
+
/**
|
1683
|
+
* Totalusd
|
1684
|
+
* @example 1
|
1685
|
+
*/
|
1686
|
+
totalUsd: number;
|
1687
|
+
/**
|
1688
|
+
* Usdtax
|
1689
|
+
* @example 1
|
1690
|
+
*/
|
1691
|
+
usdTax: number;
|
1692
|
+
/**
|
1693
|
+
* Usdnettotal
|
1694
|
+
* @example 1
|
1695
|
+
*/
|
1696
|
+
usdNetTotal: number;
|
1697
|
+
/**
|
1698
|
+
* Usdinvoicediscount
|
1699
|
+
* @default 0
|
1700
|
+
* @example 1
|
1701
|
+
*/
|
1702
|
+
usdInvoiceDiscount?: number | null;
|
1703
|
+
/**
|
1704
|
+
* Companyinvoicediscount
|
1705
|
+
* @default 0
|
1706
|
+
* @example 1
|
1707
|
+
*/
|
1708
|
+
companyInvoiceDiscount?: number | null;
|
1709
|
+
/** Invoiceitems */
|
1710
|
+
invoiceItems: components["schemas"]["InvoiceItemGetSchema"][];
|
1711
|
+
/** Invoicepayments */
|
1712
|
+
invoicePayments: components["schemas"]["InvoicePaymentSchema"][];
|
1713
|
+
|
1714
|
+
};
|
1715
|
+
/** InvoiceItemGetSchema */
|
1716
|
+
InvoiceItemGetSchema: {
|
1717
|
+
item: components["schemas"]["Item"];
|
1718
|
+
/**
|
1719
|
+
* Id
|
1720
|
+
* Format: uuid
|
1721
|
+
* @example bdac56c6-d403-4b53-a462-c69915a75360
|
1722
|
+
*/
|
1723
|
+
id: string;
|
1724
|
+
/**
|
1725
|
+
* Quantity
|
1726
|
+
* @example 1
|
1727
|
+
*/
|
1728
|
+
quantity: number;
|
1729
|
+
/**
|
1730
|
+
* Status
|
1731
|
+
* @example purchased
|
1732
|
+
*/
|
1733
|
+
status: string;
|
1734
|
+
/**
|
1735
|
+
* Discount
|
1736
|
+
* @example 1
|
1737
|
+
*/
|
1738
|
+
discount: number;
|
1739
|
+
/**
|
1740
|
+
* Companyunitprice
|
1741
|
+
* @example 1
|
1742
|
+
*/
|
1743
|
+
companyUnitPrice: number;
|
1744
|
+
/**
|
1745
|
+
* Subtotalcompany
|
1746
|
+
* @example 1
|
1747
|
+
*/
|
1748
|
+
subTotalCompany: number;
|
1749
|
+
/**
|
1750
|
+
* Totalcompany
|
1751
|
+
* @example 1
|
1752
|
+
*/
|
1753
|
+
totalCompany: number;
|
1754
|
+
/**
|
1755
|
+
* Companytax
|
1756
|
+
* @example 1
|
1757
|
+
*/
|
1758
|
+
companyTax: number;
|
1759
|
+
/**
|
1760
|
+
* Companynettotal
|
1761
|
+
* @example 1
|
1762
|
+
*/
|
1763
|
+
companyNetTotal: number;
|
1764
|
+
/**
|
1765
|
+
* Usdunitprice
|
1766
|
+
* @example 1
|
1767
|
+
*/
|
1768
|
+
usdUnitPrice: number;
|
1769
|
+
/**
|
1770
|
+
* Subtotalusd
|
1771
|
+
* @example 1
|
1772
|
+
*/
|
1773
|
+
subTotalUsd: number;
|
1774
|
+
/**
|
1775
|
+
* Totalusd
|
1776
|
+
* @example 1
|
1777
|
+
*/
|
1778
|
+
totalUsd: number;
|
1779
|
+
/**
|
1780
|
+
* Usdtax
|
1781
|
+
* @example 1
|
1782
|
+
*/
|
1783
|
+
usdTax: number;
|
1784
|
+
/**
|
1785
|
+
* Usdnettotal
|
1786
|
+
* @example 1
|
1787
|
+
*/
|
1788
|
+
usdNetTotal: number;
|
1789
|
+
|
1790
|
+
};
|
1791
|
+
/** InvoicePaymentSchema */
|
1792
|
+
InvoicePaymentSchema: {
|
1793
|
+
/** Amount */
|
1794
|
+
amount: number;
|
1795
|
+
/** Changeduecompany */
|
1796
|
+
changeDueCompany: number;
|
1797
|
+
/** Changedueusd */
|
1798
|
+
changeDueUsd: number;
|
1799
|
+
currency: components["schemas"]["CurrencyList"];
|
1800
|
+
/** @example cash */
|
1801
|
+
paymentMethod: components["schemas"]["PaymentMethodSchema"];
|
1802
|
+
|
1803
|
+
};
|
1804
|
+
/** Item */
|
1805
|
+
Item: {
|
1806
|
+
/** Barcode */
|
1807
|
+
barcode: string;
|
1808
|
+
/** Name */
|
1809
|
+
name: string;
|
1810
|
+
/** Id */
|
1811
|
+
id: number;
|
1812
|
+
|
1813
|
+
};
|
1814
|
+
/** PaymentMethodSchema */
|
1815
|
+
PaymentMethodSchema: {
|
1816
|
+
/** Id */
|
1817
|
+
id: number;
|
1818
|
+
/** Name */
|
1819
|
+
name: string;
|
1820
|
+
|
1821
|
+
};
|
1822
|
+
/** PosRefundSchema */
|
1823
|
+
PosRefundSchema: {
|
1824
|
+
/** Amount */
|
1825
|
+
amount: number;
|
1826
|
+
/** Customeradditionalpaymentcompany */
|
1827
|
+
customerAdditionalPaymentCompany: number;
|
1828
|
+
/** Customeradditionalpaymentusd */
|
1829
|
+
customerAdditionalPaymentUsd: number;
|
1830
|
+
currency: components["schemas"]["CurrencyList"];
|
1831
|
+
/** @example cash */
|
1832
|
+
paymentMethod: components["schemas"]["PaymentMethodSchema"];
|
1833
|
+
|
1834
|
+
};
|
1835
|
+
/** ReturnInvoiceInfoSchema */
|
1836
|
+
ReturnInvoiceInfoSchema: {
|
1837
|
+
/**
|
1838
|
+
* Id
|
1839
|
+
* Format: uuid
|
1840
|
+
*/
|
1841
|
+
id: string;
|
1842
|
+
/** Returnnumber */
|
1843
|
+
returnNumber: string;
|
1844
|
+
customer: components["schemas"]["CustomerInfo"];
|
1845
|
+
currency: components["schemas"]["CurrencyList"];
|
1846
|
+
/**
|
1847
|
+
* Status
|
1848
|
+
* @example in_progress
|
1849
|
+
*/
|
1850
|
+
status: string;
|
1851
|
+
/**
|
1852
|
+
* Barcode
|
1853
|
+
* @example 123456789
|
1854
|
+
*/
|
1855
|
+
barcode: number;
|
1856
|
+
/**
|
1857
|
+
* Companysubtotal
|
1858
|
+
* @example 1
|
1859
|
+
*/
|
1860
|
+
companySubTotal: number;
|
1861
|
+
/**
|
1862
|
+
* Companyitemsdiscountamount
|
1863
|
+
* @example 1
|
1864
|
+
*/
|
1865
|
+
companyItemsDiscountAmount: number;
|
1866
|
+
/**
|
1867
|
+
* Companytotaldiscountamount
|
1868
|
+
* @example 1
|
1869
|
+
*/
|
1870
|
+
companyTotalDiscountAmount: number;
|
1871
|
+
/**
|
1872
|
+
* Usdtotaldiscountamount
|
1873
|
+
* @example 1
|
1874
|
+
*/
|
1875
|
+
usdTotalDiscountAmount: number;
|
1876
|
+
/**
|
1877
|
+
* Companynetitemstotal
|
1878
|
+
* @example 1
|
1879
|
+
*/
|
1880
|
+
companyNetItemsTotal: number;
|
1881
|
+
/**
|
1882
|
+
* Totalcompany
|
1883
|
+
* @example 1
|
1884
|
+
*/
|
1885
|
+
totalCompany: number;
|
1886
|
+
/**
|
1887
|
+
* Companytax
|
1888
|
+
* @example 1
|
1889
|
+
*/
|
1890
|
+
companyTax: number;
|
1891
|
+
/**
|
1892
|
+
* Companynettotal
|
1893
|
+
* @example 1
|
1894
|
+
*/
|
1895
|
+
companyNetTotal: number;
|
1896
|
+
/**
|
1897
|
+
* Usdsubtotal
|
1898
|
+
* @example 1
|
1899
|
+
*/
|
1900
|
+
usdSubTotal: number;
|
1901
|
+
/**
|
1902
|
+
* Usditemsdiscountamount
|
1903
|
+
* @example 1
|
1904
|
+
*/
|
1905
|
+
usdItemsDiscountAmount: number;
|
1906
|
+
/**
|
1907
|
+
* Usdnetitemstotal
|
1908
|
+
* @example 1
|
1909
|
+
*/
|
1910
|
+
usdNetItemsTotal: number;
|
1911
|
+
/**
|
1912
|
+
* Totalusd
|
1913
|
+
* @example 1
|
1914
|
+
*/
|
1915
|
+
totalUsd: number;
|
1916
|
+
/**
|
1917
|
+
* Usdtax
|
1918
|
+
* @example 1
|
1919
|
+
*/
|
1920
|
+
usdTax: number;
|
1921
|
+
/**
|
1922
|
+
* Usdnettotal
|
1923
|
+
* @example 1
|
1924
|
+
*/
|
1925
|
+
usdNetTotal: number;
|
1926
|
+
/**
|
1927
|
+
* Usdinvoicediscount
|
1928
|
+
* @default 0
|
1929
|
+
* @example 1
|
1930
|
+
*/
|
1931
|
+
usdInvoiceDiscount?: number | null;
|
1932
|
+
/**
|
1933
|
+
* Companyinvoicediscount
|
1934
|
+
* @default 0
|
1935
|
+
* @example 1
|
1936
|
+
*/
|
1937
|
+
companyInvoiceDiscount?: number | null;
|
1938
|
+
/** Invoiceitems */
|
1939
|
+
invoiceItems: components["schemas"]["InvoiceItemGetSchema"][];
|
1940
|
+
/** Invoicerefunds */
|
1941
|
+
invoiceRefunds: components["schemas"]["PosRefundSchema"][];
|
1942
|
+
|
1943
|
+
};
|
1944
|
+
/** AccountInfo */
|
1945
|
+
AccountInfo: {
|
1946
|
+
/** Name */
|
1947
|
+
name: string;
|
1948
|
+
/** Accountnumber */
|
1949
|
+
accountnumber: string;
|
1950
|
+
/** Currency */
|
1951
|
+
currency: string;
|
1952
|
+
|
1953
|
+
};
|
1954
|
+
/** JournalHeaderDetails */
|
1955
|
+
JournalHeaderDetails: {
|
1956
|
+
/** Id */
|
1957
|
+
id: number;
|
1958
|
+
/** Intnumber */
|
1959
|
+
intNumber: string;
|
1960
|
+
/**
|
1961
|
+
* Date
|
1962
|
+
* Format: date
|
1963
|
+
*/
|
1964
|
+
date: string;
|
1965
|
+
project?: components["schemas"]["ProjectInfo"] | null;
|
1966
|
+
/** Reverse */
|
1967
|
+
reverse?: string | null;
|
1968
|
+
|
1969
|
+
};
|
1970
|
+
/** ListJournalVouchersInExport */
|
1971
|
+
ListJournalVouchersInExport: {
|
1972
|
+
/** Description */
|
1973
|
+
description?: string | null;
|
1974
|
+
/**
|
1975
|
+
* Debitamount
|
1976
|
+
* @default 0
|
1977
|
+
*/
|
1978
|
+
debitAmount?: number | null;
|
1979
|
+
/**
|
1980
|
+
* Creditamount
|
1981
|
+
* @default 0
|
1982
|
+
*/
|
1983
|
+
creditAmount?: number | null;
|
1984
|
+
/**
|
1985
|
+
* Companydebit
|
1986
|
+
* @default 0
|
1987
|
+
*/
|
1988
|
+
companyDebit?: number | null;
|
1989
|
+
/**
|
1990
|
+
* Companycredit
|
1991
|
+
* @default 0
|
1992
|
+
*/
|
1993
|
+
companyCredit?: number | null;
|
1994
|
+
/**
|
1995
|
+
* Usddebit
|
1996
|
+
* @default 0
|
1997
|
+
*/
|
1998
|
+
usdDebit?: number | null;
|
1999
|
+
/**
|
2000
|
+
* Usdcredit
|
2001
|
+
* @default 0
|
2002
|
+
*/
|
2003
|
+
usdCredit?: number | null;
|
2004
|
+
/**
|
2005
|
+
* Rate
|
2006
|
+
* @default 0
|
2007
|
+
*/
|
2008
|
+
rate?: number | null;
|
2009
|
+
/**
|
2010
|
+
* Usdrate
|
2011
|
+
* @default 0
|
2012
|
+
*/
|
2013
|
+
usdRate?: number | null;
|
2014
|
+
/** Isdoe */
|
2015
|
+
isDoe?: string | null;
|
2016
|
+
journalvoucher: components["schemas"]["JournalHeaderDetails"];
|
2017
|
+
account?: components["schemas"]["AccountInfo"] | null;
|
2018
|
+
customer?: components["schemas"]["CustomerInfo"] | null;
|
2019
|
+
supplier?: components["schemas"]["SupplierInfo"] | null;
|
2020
|
+
vatAccount?: components["schemas"]["VatAccountInfo"] | null;
|
2021
|
+
|
2022
|
+
};
|
2023
|
+
/** ProjectInfo */
|
2024
|
+
ProjectInfo: {
|
2025
|
+
/** Name */
|
2026
|
+
name: string;
|
2027
|
+
|
2028
|
+
};
|
2029
|
+
/** SupplierInfo */
|
2030
|
+
SupplierInfo: {
|
2031
|
+
/** Company */
|
2032
|
+
company: string;
|
2033
|
+
/** Accountnumber */
|
2034
|
+
accountnumber: string;
|
2035
|
+
/** Currency */
|
2036
|
+
currency: string;
|
2037
|
+
|
2038
|
+
};
|
2039
|
+
/** VatAccountInfo */
|
2040
|
+
VatAccountInfo: {
|
2041
|
+
/** Name */
|
2042
|
+
name?: string | null;
|
2043
|
+
/** Accountnumber */
|
2044
|
+
accountnumber: string;
|
2045
|
+
/** Currency */
|
2046
|
+
currency?: string | null;
|
2047
|
+
|
2048
|
+
};
|
2049
|
+
};
|
2050
|
+
responses: never;
|
2051
|
+
parameters: never;
|
2052
|
+
requestBodies: never;
|
2053
|
+
headers: never;
|
2054
|
+
pathItems: never;
|
2055
|
+
}
|
2056
|
+
|
2057
|
+
export type $defs = Record<string, never>;
|
2058
|
+
|
2059
|
+
export type external = Record<string, never>;
|
2060
|
+
|
2061
|
+
export interface operations {
|
2062
|
+
|
2063
|
+
/**
|
1238
2064
|
* Userloginview
|
1239
2065
|
* @description Endpoint for login.
|
1240
2066
|
* Possible Responses:
|
@@ -2638,6 +3464,438 @@ export interface operations {
|
|
2638
3464
|
};
|
2639
3465
|
};
|
2640
3466
|
};
|
3467
|
+
/**
|
3468
|
+
* List Sessions
|
3469
|
+
* @description Endpoint to list sessions
|
3470
|
+
* Possible Responses:
|
3471
|
+
* - 200:
|
3472
|
+
* - ListSessionSchema
|
3473
|
+
* - 400:
|
3474
|
+
* - invalidFilterFormat
|
3475
|
+
* - paginationError
|
3476
|
+
* - 403:
|
3477
|
+
* - permissionDenied
|
3478
|
+
* - 500:
|
3479
|
+
* - internalServerError
|
3480
|
+
*/
|
3481
|
+
pos_session_views_list_sessions: {
|
3482
|
+
parameters: {
|
3483
|
+
query: {
|
3484
|
+
branches: number[];
|
3485
|
+
filters?: string;
|
3486
|
+
/** @description Page number */
|
3487
|
+
page?: number;
|
3488
|
+
/** @description Page size */
|
3489
|
+
pageSize?: number;
|
3490
|
+
};
|
3491
|
+
};
|
3492
|
+
responses: {
|
3493
|
+
/** @description OK */
|
3494
|
+
200: {
|
3495
|
+
content: {
|
3496
|
+
"application/json": components["schemas"]["ListSessionSchema"];
|
3497
|
+
};
|
3498
|
+
};
|
3499
|
+
/** @description Bad Request */
|
3500
|
+
400: {
|
3501
|
+
content: {
|
3502
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3503
|
+
};
|
3504
|
+
};
|
3505
|
+
/** @description Forbidden */
|
3506
|
+
403: {
|
3507
|
+
content: {
|
3508
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3509
|
+
};
|
3510
|
+
};
|
3511
|
+
/** @description Internal Server Error */
|
3512
|
+
500: {
|
3513
|
+
content: {
|
3514
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3515
|
+
};
|
3516
|
+
};
|
3517
|
+
};
|
3518
|
+
};
|
3519
|
+
/**
|
3520
|
+
* Get X Report
|
3521
|
+
* @description Endpoint to get X report
|
3522
|
+
* Possible Responses:
|
3523
|
+
* - 200:
|
3524
|
+
* - XReportSchema
|
3525
|
+
* - 400:
|
3526
|
+
* - invalidFilterFormat
|
3527
|
+
* - paginationError
|
3528
|
+
* - sessionNotClosed
|
3529
|
+
* - 403:
|
3530
|
+
* - permissionDenied
|
3531
|
+
* - 404:
|
3532
|
+
* - sessionDoesNotExist
|
3533
|
+
* - settingsDoesNotExist
|
3534
|
+
* - companyDoesNotExist
|
3535
|
+
*/
|
3536
|
+
pos_session_views_get_x_report: {
|
3537
|
+
parameters: {
|
3538
|
+
path: {
|
3539
|
+
id: string;
|
3540
|
+
};
|
3541
|
+
};
|
3542
|
+
responses: {
|
3543
|
+
/** @description OK */
|
3544
|
+
200: {
|
3545
|
+
content: {
|
3546
|
+
"application/json": components["schemas"]["XReportSchema"];
|
3547
|
+
};
|
3548
|
+
};
|
3549
|
+
/** @description Bad Request */
|
3550
|
+
400: {
|
3551
|
+
content: {
|
3552
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3553
|
+
};
|
3554
|
+
};
|
3555
|
+
/** @description Forbidden */
|
3556
|
+
403: {
|
3557
|
+
content: {
|
3558
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3559
|
+
};
|
3560
|
+
};
|
3561
|
+
/** @description Not Found */
|
3562
|
+
404: {
|
3563
|
+
content: {
|
3564
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3565
|
+
};
|
3566
|
+
};
|
3567
|
+
};
|
3568
|
+
};
|
3569
|
+
/**
|
3570
|
+
* Get Invoices
|
3571
|
+
* @description endpoint to get invoices
|
3572
|
+
* Possible Responses:
|
3573
|
+
* - 200:
|
3574
|
+
* - ListInvoiceSchema
|
3575
|
+
* - 400:
|
3576
|
+
* - invalidFilterFormat
|
3577
|
+
* - paginationError
|
3578
|
+
* - 403:
|
3579
|
+
* - permissionDenied
|
3580
|
+
* - 404:
|
3581
|
+
* - sessionDoesNotExist
|
3582
|
+
* - 500:
|
3583
|
+
* - internalServerError
|
3584
|
+
*/
|
3585
|
+
pos_session_views_get_invoices: {
|
3586
|
+
parameters: {
|
3587
|
+
query?: {
|
3588
|
+
filters?: string;
|
3589
|
+
/** @description Page number */
|
3590
|
+
page?: number;
|
3591
|
+
/** @description Page size */
|
3592
|
+
pageSize?: number;
|
3593
|
+
};
|
3594
|
+
path: {
|
3595
|
+
id: string;
|
3596
|
+
};
|
3597
|
+
};
|
3598
|
+
responses: {
|
3599
|
+
/** @description OK */
|
3600
|
+
200: {
|
3601
|
+
content: {
|
3602
|
+
"application/json": components["schemas"]["ListInvoiceSchema"];
|
3603
|
+
};
|
3604
|
+
};
|
3605
|
+
/** @description Bad Request */
|
3606
|
+
400: {
|
3607
|
+
content: {
|
3608
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3609
|
+
};
|
3610
|
+
};
|
3611
|
+
/** @description Unauthorized */
|
3612
|
+
401: {
|
3613
|
+
content: {
|
3614
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3615
|
+
};
|
3616
|
+
};
|
3617
|
+
/** @description Forbidden */
|
3618
|
+
403: {
|
3619
|
+
content: {
|
3620
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3621
|
+
};
|
3622
|
+
};
|
3623
|
+
/** @description Not Found */
|
3624
|
+
404: {
|
3625
|
+
content: {
|
3626
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3627
|
+
};
|
3628
|
+
};
|
3629
|
+
/** @description Internal Server Error */
|
3630
|
+
500: {
|
3631
|
+
content: {
|
3632
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3633
|
+
};
|
3634
|
+
};
|
3635
|
+
};
|
3636
|
+
};
|
3637
|
+
/**
|
3638
|
+
* Get Exchange Invoices
|
3639
|
+
* @description endpoint to get exchanged invoices
|
3640
|
+
* Possible Responses:
|
3641
|
+
* - 200:
|
3642
|
+
* - ListInvoiceSchema
|
3643
|
+
* - 400:
|
3644
|
+
* - invalidFilterFormat
|
3645
|
+
* - paginationError
|
3646
|
+
* - 403:
|
3647
|
+
* - permissionDenied
|
3648
|
+
* - 404:
|
3649
|
+
* - sessionDoesNotExist
|
3650
|
+
* - 500:
|
3651
|
+
* - internalServerError
|
3652
|
+
*/
|
3653
|
+
pos_session_views_get_exchange_invoices: {
|
3654
|
+
parameters: {
|
3655
|
+
query?: {
|
3656
|
+
filters?: string;
|
3657
|
+
/** @description Page number */
|
3658
|
+
page?: number;
|
3659
|
+
/** @description Page size */
|
3660
|
+
pageSize?: number;
|
3661
|
+
};
|
3662
|
+
path: {
|
3663
|
+
id: string;
|
3664
|
+
};
|
3665
|
+
};
|
3666
|
+
responses: {
|
3667
|
+
/** @description OK */
|
3668
|
+
200: {
|
3669
|
+
content: {
|
3670
|
+
"application/json": components["schemas"]["ListInvoiceSchema"];
|
3671
|
+
};
|
3672
|
+
};
|
3673
|
+
/** @description Bad Request */
|
3674
|
+
400: {
|
3675
|
+
content: {
|
3676
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3677
|
+
};
|
3678
|
+
};
|
3679
|
+
/** @description Unauthorized */
|
3680
|
+
401: {
|
3681
|
+
content: {
|
3682
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3683
|
+
};
|
3684
|
+
};
|
3685
|
+
/** @description Not Found */
|
3686
|
+
404: {
|
3687
|
+
content: {
|
3688
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3689
|
+
};
|
3690
|
+
};
|
3691
|
+
/** @description Internal Server Error */
|
3692
|
+
500: {
|
3693
|
+
content: {
|
3694
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3695
|
+
};
|
3696
|
+
};
|
3697
|
+
};
|
3698
|
+
};
|
3699
|
+
/**
|
3700
|
+
* Get Return Invoices
|
3701
|
+
* @description endpoint to get return invoices
|
3702
|
+
* Possible Responses:
|
3703
|
+
* - 200:
|
3704
|
+
* - ListInvoiceSchema
|
3705
|
+
* - 400:
|
3706
|
+
* - invalidFilterFormat
|
3707
|
+
* - paginationError
|
3708
|
+
* - 403:
|
3709
|
+
* - permissionDenied
|
3710
|
+
* - 404:
|
3711
|
+
* - sessionDoesNotExist
|
3712
|
+
* - 500:
|
3713
|
+
* - internalServerError
|
3714
|
+
*/
|
3715
|
+
pos_session_views_get_return_invoices: {
|
3716
|
+
parameters: {
|
3717
|
+
query?: {
|
3718
|
+
filters?: string;
|
3719
|
+
/** @description Page number */
|
3720
|
+
page?: number;
|
3721
|
+
/** @description Page size */
|
3722
|
+
pageSize?: number;
|
3723
|
+
};
|
3724
|
+
path: {
|
3725
|
+
id: string;
|
3726
|
+
};
|
3727
|
+
};
|
3728
|
+
responses: {
|
3729
|
+
/** @description OK */
|
3730
|
+
200: {
|
3731
|
+
content: {
|
3732
|
+
"application/json": components["schemas"]["ListReturnSchema"];
|
3733
|
+
};
|
3734
|
+
};
|
3735
|
+
/** @description Bad Request */
|
3736
|
+
400: {
|
3737
|
+
content: {
|
3738
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3739
|
+
};
|
3740
|
+
};
|
3741
|
+
/** @description Unauthorized */
|
3742
|
+
401: {
|
3743
|
+
content: {
|
3744
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3745
|
+
};
|
3746
|
+
};
|
3747
|
+
/** @description Not Found */
|
3748
|
+
404: {
|
3749
|
+
content: {
|
3750
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3751
|
+
};
|
3752
|
+
};
|
3753
|
+
/** @description Internal Server Error */
|
3754
|
+
500: {
|
3755
|
+
content: {
|
3756
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3757
|
+
};
|
3758
|
+
};
|
3759
|
+
};
|
3760
|
+
};
|
3761
|
+
/**
|
3762
|
+
* Get Invoice
|
3763
|
+
* @description Get invoice by id
|
3764
|
+
* possible responses:
|
3765
|
+
* 200:
|
3766
|
+
* - InvoiceInfoSchema
|
3767
|
+
* 404:
|
3768
|
+
* - invoiceDoesNotExist
|
3769
|
+
* 403:
|
3770
|
+
* - permissionDenied
|
3771
|
+
* 500:
|
3772
|
+
* - internalServerError
|
3773
|
+
*/
|
3774
|
+
pos_invoice_views_get_invoice: {
|
3775
|
+
parameters: {
|
3776
|
+
path: {
|
3777
|
+
id: string;
|
3778
|
+
};
|
3779
|
+
};
|
3780
|
+
responses: {
|
3781
|
+
/** @description OK */
|
3782
|
+
200: {
|
3783
|
+
content: {
|
3784
|
+
"application/json": components["schemas"]["InvoiceInfoSchema"];
|
3785
|
+
};
|
3786
|
+
};
|
3787
|
+
/** @description Forbidden */
|
3788
|
+
403: {
|
3789
|
+
content: {
|
3790
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3791
|
+
};
|
3792
|
+
};
|
3793
|
+
/** @description Not Found */
|
3794
|
+
404: {
|
3795
|
+
content: {
|
3796
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3797
|
+
};
|
3798
|
+
};
|
3799
|
+
/** @description Internal Server Error */
|
3800
|
+
500: {
|
3801
|
+
content: {
|
3802
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3803
|
+
};
|
3804
|
+
};
|
3805
|
+
};
|
3806
|
+
};
|
3807
|
+
/**
|
3808
|
+
* Get Exchange Invoice
|
3809
|
+
* @description Get exchange by id
|
3810
|
+
* possible responses:
|
3811
|
+
* 200:
|
3812
|
+
* - InvoiceInfoSchema
|
3813
|
+
* 404:
|
3814
|
+
* - invoiceNotFound
|
3815
|
+
* 403:
|
3816
|
+
* - permissionDenied
|
3817
|
+
* 500:
|
3818
|
+
* - internalServerError
|
3819
|
+
*/
|
3820
|
+
pos_invoice_views_get_exchange_invoice: {
|
3821
|
+
parameters: {
|
3822
|
+
path: {
|
3823
|
+
id: string;
|
3824
|
+
};
|
3825
|
+
};
|
3826
|
+
responses: {
|
3827
|
+
/** @description OK */
|
3828
|
+
200: {
|
3829
|
+
content: {
|
3830
|
+
"application/json": components["schemas"]["InvoiceInfoSchema"];
|
3831
|
+
};
|
3832
|
+
};
|
3833
|
+
/** @description Forbidden */
|
3834
|
+
403: {
|
3835
|
+
content: {
|
3836
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3837
|
+
};
|
3838
|
+
};
|
3839
|
+
/** @description Not Found */
|
3840
|
+
404: {
|
3841
|
+
content: {
|
3842
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3843
|
+
};
|
3844
|
+
};
|
3845
|
+
/** @description Internal Server Error */
|
3846
|
+
500: {
|
3847
|
+
content: {
|
3848
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3849
|
+
};
|
3850
|
+
};
|
3851
|
+
};
|
3852
|
+
};
|
3853
|
+
/**
|
3854
|
+
* Get Return Invoice
|
3855
|
+
* @description Get return by id
|
3856
|
+
* possible responses:
|
3857
|
+
* 200:
|
3858
|
+
* - InvoiceInfoSchema
|
3859
|
+
* 404:
|
3860
|
+
* - invoiceNotFound
|
3861
|
+
* 403:
|
3862
|
+
* - permissionDenied
|
3863
|
+
* 500:
|
3864
|
+
* - internalServerError
|
3865
|
+
*/
|
3866
|
+
pos_invoice_views_get_return_invoice: {
|
3867
|
+
parameters: {
|
3868
|
+
path: {
|
3869
|
+
id: string;
|
3870
|
+
};
|
3871
|
+
};
|
3872
|
+
responses: {
|
3873
|
+
/** @description OK */
|
3874
|
+
200: {
|
3875
|
+
content: {
|
3876
|
+
"application/json": components["schemas"]["ReturnInvoiceInfoSchema"];
|
3877
|
+
};
|
3878
|
+
};
|
3879
|
+
/** @description Forbidden */
|
3880
|
+
403: {
|
3881
|
+
content: {
|
3882
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3883
|
+
};
|
3884
|
+
};
|
3885
|
+
/** @description Not Found */
|
3886
|
+
404: {
|
3887
|
+
content: {
|
3888
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3889
|
+
};
|
3890
|
+
};
|
3891
|
+
/** @description Internal Server Error */
|
3892
|
+
500: {
|
3893
|
+
content: {
|
3894
|
+
"application/json": components["schemas"]["MessageResponse"];
|
3895
|
+
};
|
3896
|
+
};
|
3897
|
+
};
|
3898
|
+
};
|
2641
3899
|
/**
|
2642
3900
|
* List Journal Vouchers In Export
|
2643
3901
|
* @description Endpoint for list journal vouchers in export
|