@nomalism-com/api 1.1.3 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +361 -334
- package/dist/index.js +365 -324
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -23,6 +23,7 @@ __export(main_exports, {
|
|
|
23
23
|
DashboardClass: () => dashboard_exports,
|
|
24
24
|
DeliveryMethods: () => deliveryMethods_exports,
|
|
25
25
|
DocumentHeader: () => documentHeader_exports,
|
|
26
|
+
DocumentHeaderHistory: () => documentHeaderHistory_exports,
|
|
26
27
|
DocumentLine: () => documentLine_exports,
|
|
27
28
|
DocumentLineAssoc: () => documentLineAssoc_exports,
|
|
28
29
|
DocumentLineMtClass: () => documentLineMt_exports,
|
|
@@ -94,6 +95,7 @@ __export(main_exports, {
|
|
|
94
95
|
StockMovement: () => stockMovement_exports,
|
|
95
96
|
StoreOperator: () => storeOperator_exports,
|
|
96
97
|
Swift: () => swift_exports,
|
|
98
|
+
TagClass: () => tag_exports,
|
|
97
99
|
Task: () => task_exports,
|
|
98
100
|
TaskMessage: () => taskMessage_exports,
|
|
99
101
|
TaskReadClass: () => taskRead_exports,
|
|
@@ -521,8 +523,25 @@ var Repository7 = class {
|
|
|
521
523
|
}
|
|
522
524
|
};
|
|
523
525
|
|
|
524
|
-
// src/modules/
|
|
526
|
+
// src/modules/supply/documentHeaderHistory.ts
|
|
527
|
+
var documentHeaderHistory_exports = {};
|
|
528
|
+
__export(documentHeaderHistory_exports, {
|
|
529
|
+
default: () => Repository8
|
|
530
|
+
});
|
|
525
531
|
var Repository8 = class {
|
|
532
|
+
constructor({ api, route, publicRoute }) {
|
|
533
|
+
this.api = api;
|
|
534
|
+
this.route = route;
|
|
535
|
+
this.publicRoute = publicRoute;
|
|
536
|
+
}
|
|
537
|
+
async findByOwnerId(selector) {
|
|
538
|
+
const response = await this.api.get(`${this.route}by_owner/${selector.owner_id}`);
|
|
539
|
+
return response.data;
|
|
540
|
+
}
|
|
541
|
+
};
|
|
542
|
+
|
|
543
|
+
// src/modules/document/billOfLading.ts
|
|
544
|
+
var Repository9 = class {
|
|
526
545
|
constructor({ api, route, publicRoute }) {
|
|
527
546
|
this.api = api;
|
|
528
547
|
this.route = route;
|
|
@@ -535,7 +554,7 @@ var Repository8 = class {
|
|
|
535
554
|
};
|
|
536
555
|
|
|
537
556
|
// src/modules/document/productionOrder.ts
|
|
538
|
-
var
|
|
557
|
+
var Repository10 = class {
|
|
539
558
|
constructor({ api, route, publicRoute }) {
|
|
540
559
|
this.api = api;
|
|
541
560
|
this.route = route;
|
|
@@ -547,7 +566,7 @@ var Repository9 = class {
|
|
|
547
566
|
};
|
|
548
567
|
|
|
549
568
|
// src/modules/document/proforma.ts
|
|
550
|
-
var
|
|
569
|
+
var Repository11 = class {
|
|
551
570
|
constructor({ api, route, publicRoute }) {
|
|
552
571
|
this.api = api;
|
|
553
572
|
this.route = route;
|
|
@@ -560,7 +579,7 @@ var Repository10 = class {
|
|
|
560
579
|
};
|
|
561
580
|
|
|
562
581
|
// src/modules/document/propostaFornecedor.ts
|
|
563
|
-
var
|
|
582
|
+
var Repository12 = class {
|
|
564
583
|
constructor({ api, route, publicRoute }) {
|
|
565
584
|
this.api = api;
|
|
566
585
|
this.route = route;
|
|
@@ -573,7 +592,7 @@ var Repository11 = class {
|
|
|
573
592
|
};
|
|
574
593
|
|
|
575
594
|
// src/modules/document/providerCreditNoteFromReturn.ts
|
|
576
|
-
var
|
|
595
|
+
var Repository13 = class {
|
|
577
596
|
constructor({ api, route, publicRoute }) {
|
|
578
597
|
this.api = api;
|
|
579
598
|
this.route = route;
|
|
@@ -591,7 +610,7 @@ var Repository12 = class {
|
|
|
591
610
|
};
|
|
592
611
|
|
|
593
612
|
// src/modules/document/providerFinancialCreditNote.ts
|
|
594
|
-
var
|
|
613
|
+
var Repository14 = class {
|
|
595
614
|
constructor({ api, route, publicRoute }) {
|
|
596
615
|
this.api = api;
|
|
597
616
|
this.route = route;
|
|
@@ -609,7 +628,7 @@ var Repository13 = class {
|
|
|
609
628
|
};
|
|
610
629
|
|
|
611
630
|
// src/modules/document/providerServiceInvoice.ts
|
|
612
|
-
var
|
|
631
|
+
var Repository15 = class {
|
|
613
632
|
constructor({ api, route, publicRoute }) {
|
|
614
633
|
this.api = api;
|
|
615
634
|
this.route = route;
|
|
@@ -623,9 +642,9 @@ var Repository14 = class {
|
|
|
623
642
|
// src/modules/supply/documentLine.ts
|
|
624
643
|
var documentLine_exports = {};
|
|
625
644
|
__export(documentLine_exports, {
|
|
626
|
-
default: () =>
|
|
645
|
+
default: () => Repository16
|
|
627
646
|
});
|
|
628
|
-
var
|
|
647
|
+
var Repository16 = class {
|
|
629
648
|
constructor({ api, route, publicRoute }) {
|
|
630
649
|
this.api = api;
|
|
631
650
|
this.route = route;
|
|
@@ -670,9 +689,9 @@ var Repository15 = class {
|
|
|
670
689
|
// src/modules/supply/documentLineAssoc.ts
|
|
671
690
|
var documentLineAssoc_exports = {};
|
|
672
691
|
__export(documentLineAssoc_exports, {
|
|
673
|
-
default: () =>
|
|
692
|
+
default: () => Repository17
|
|
674
693
|
});
|
|
675
|
-
var
|
|
694
|
+
var Repository17 = class {
|
|
676
695
|
constructor({ api, route, publicRoute }) {
|
|
677
696
|
this.api = api;
|
|
678
697
|
this.route = route;
|
|
@@ -707,9 +726,9 @@ var Repository16 = class {
|
|
|
707
726
|
// src/modules/supply/documentType.ts
|
|
708
727
|
var documentType_exports = {};
|
|
709
728
|
__export(documentType_exports, {
|
|
710
|
-
default: () =>
|
|
729
|
+
default: () => Repository18
|
|
711
730
|
});
|
|
712
|
-
var
|
|
731
|
+
var Repository18 = class {
|
|
713
732
|
constructor({ api, route, publicRoute }) {
|
|
714
733
|
this.api = api;
|
|
715
734
|
this.route = route;
|
|
@@ -744,9 +763,9 @@ var Repository17 = class {
|
|
|
744
763
|
// src/modules/user/favorites.ts
|
|
745
764
|
var favorites_exports = {};
|
|
746
765
|
__export(favorites_exports, {
|
|
747
|
-
default: () =>
|
|
766
|
+
default: () => Repository19
|
|
748
767
|
});
|
|
749
|
-
var
|
|
768
|
+
var Repository19 = class {
|
|
750
769
|
constructor({ api, route, publicRoute }) {
|
|
751
770
|
this.api = api;
|
|
752
771
|
this.route = route;
|
|
@@ -773,9 +792,9 @@ var Repository18 = class {
|
|
|
773
792
|
// src/modules/stock/file.ts
|
|
774
793
|
var file_exports = {};
|
|
775
794
|
__export(file_exports, {
|
|
776
|
-
default: () =>
|
|
795
|
+
default: () => Repository20
|
|
777
796
|
});
|
|
778
|
-
var
|
|
797
|
+
var Repository20 = class {
|
|
779
798
|
constructor({ api, route, publicRoute }) {
|
|
780
799
|
this.api = api;
|
|
781
800
|
this.route = route;
|
|
@@ -803,9 +822,9 @@ var Repository19 = class {
|
|
|
803
822
|
// src/modules/integration/googleSheets.ts
|
|
804
823
|
var googleSheets_exports = {};
|
|
805
824
|
__export(googleSheets_exports, {
|
|
806
|
-
default: () =>
|
|
825
|
+
default: () => Repository21
|
|
807
826
|
});
|
|
808
|
-
var
|
|
827
|
+
var Repository21 = class {
|
|
809
828
|
constructor({ api, route, publicRoute }) {
|
|
810
829
|
this.api = api;
|
|
811
830
|
this.route = route;
|
|
@@ -833,9 +852,9 @@ var Repository20 = class {
|
|
|
833
852
|
// src/modules/user/groupPermission.ts
|
|
834
853
|
var groupPermission_exports = {};
|
|
835
854
|
__export(groupPermission_exports, {
|
|
836
|
-
default: () =>
|
|
855
|
+
default: () => Repository22
|
|
837
856
|
});
|
|
838
|
-
var
|
|
857
|
+
var Repository22 = class {
|
|
839
858
|
constructor({ api, route, publicRoute }) {
|
|
840
859
|
this.api = api;
|
|
841
860
|
this.route = route;
|
|
@@ -864,9 +883,9 @@ var Repository21 = class {
|
|
|
864
883
|
// src/modules/user/language.ts
|
|
865
884
|
var language_exports = {};
|
|
866
885
|
__export(language_exports, {
|
|
867
|
-
default: () =>
|
|
886
|
+
default: () => Repository23
|
|
868
887
|
});
|
|
869
|
-
var
|
|
888
|
+
var Repository23 = class {
|
|
870
889
|
constructor({ api, route, publicRoute }) {
|
|
871
890
|
this.api = api;
|
|
872
891
|
this.route = route;
|
|
@@ -907,9 +926,9 @@ var Repository22 = class {
|
|
|
907
926
|
// src/modules/stock/location.ts
|
|
908
927
|
var location_exports = {};
|
|
909
928
|
__export(location_exports, {
|
|
910
|
-
default: () =>
|
|
929
|
+
default: () => Repository24
|
|
911
930
|
});
|
|
912
|
-
var
|
|
931
|
+
var Repository24 = class {
|
|
913
932
|
constructor({ api, route, publicRoute }) {
|
|
914
933
|
this.api = api;
|
|
915
934
|
this.route = route;
|
|
@@ -956,9 +975,9 @@ var Repository23 = class {
|
|
|
956
975
|
// src/modules/user/logout.ts
|
|
957
976
|
var logout_exports = {};
|
|
958
977
|
__export(logout_exports, {
|
|
959
|
-
default: () =>
|
|
978
|
+
default: () => Repository25
|
|
960
979
|
});
|
|
961
|
-
var
|
|
980
|
+
var Repository25 = class {
|
|
962
981
|
constructor({ api, route, publicRoute }) {
|
|
963
982
|
this.api = api;
|
|
964
983
|
this.route = route;
|
|
@@ -972,9 +991,9 @@ var Repository24 = class {
|
|
|
972
991
|
// src/modules/documentManagement/multimedia.ts
|
|
973
992
|
var multimedia_exports = {};
|
|
974
993
|
__export(multimedia_exports, {
|
|
975
|
-
default: () =>
|
|
994
|
+
default: () => Repository26
|
|
976
995
|
});
|
|
977
|
-
var
|
|
996
|
+
var Repository26 = class {
|
|
978
997
|
constructor({ api, route, publicRoute }) {
|
|
979
998
|
this.api = api;
|
|
980
999
|
this.route = route;
|
|
@@ -1001,9 +1020,9 @@ var Repository25 = class {
|
|
|
1001
1020
|
// src/modules/integration/observation.ts
|
|
1002
1021
|
var observation_exports = {};
|
|
1003
1022
|
__export(observation_exports, {
|
|
1004
|
-
default: () =>
|
|
1023
|
+
default: () => Repository27
|
|
1005
1024
|
});
|
|
1006
|
-
var
|
|
1025
|
+
var Repository27 = class {
|
|
1007
1026
|
constructor({ api, route, publicRoute }) {
|
|
1008
1027
|
this.api = api;
|
|
1009
1028
|
this.route = route;
|
|
@@ -1036,9 +1055,9 @@ var Repository26 = class {
|
|
|
1036
1055
|
// src/modules/integration/observationType.ts
|
|
1037
1056
|
var observationType_exports = {};
|
|
1038
1057
|
__export(observationType_exports, {
|
|
1039
|
-
default: () =>
|
|
1058
|
+
default: () => Repository28
|
|
1040
1059
|
});
|
|
1041
|
-
var
|
|
1060
|
+
var Repository28 = class {
|
|
1042
1061
|
constructor({ api, route, publicRoute }) {
|
|
1043
1062
|
this.api = api;
|
|
1044
1063
|
this.route = route;
|
|
@@ -1071,9 +1090,9 @@ var Repository27 = class {
|
|
|
1071
1090
|
// src/modules/user/password.ts
|
|
1072
1091
|
var password_exports = {};
|
|
1073
1092
|
__export(password_exports, {
|
|
1074
|
-
default: () =>
|
|
1093
|
+
default: () => Repository29
|
|
1075
1094
|
});
|
|
1076
|
-
var
|
|
1095
|
+
var Repository29 = class {
|
|
1077
1096
|
constructor({ api, route, publicRoute }) {
|
|
1078
1097
|
this.api = api;
|
|
1079
1098
|
this.route = route;
|
|
@@ -1090,9 +1109,9 @@ var Repository28 = class {
|
|
|
1090
1109
|
// src/modules/user/permission.ts
|
|
1091
1110
|
var permission_exports = {};
|
|
1092
1111
|
__export(permission_exports, {
|
|
1093
|
-
default: () =>
|
|
1112
|
+
default: () => Repository30
|
|
1094
1113
|
});
|
|
1095
|
-
var
|
|
1114
|
+
var Repository30 = class {
|
|
1096
1115
|
constructor({ api, route, publicRoute }) {
|
|
1097
1116
|
this.api = api;
|
|
1098
1117
|
this.route = route;
|
|
@@ -1121,9 +1140,9 @@ var Repository29 = class {
|
|
|
1121
1140
|
// src/modules/stock/productImage.ts
|
|
1122
1141
|
var productImage_exports = {};
|
|
1123
1142
|
__export(productImage_exports, {
|
|
1124
|
-
default: () =>
|
|
1143
|
+
default: () => Repository31
|
|
1125
1144
|
});
|
|
1126
|
-
var
|
|
1145
|
+
var Repository31 = class {
|
|
1127
1146
|
constructor({ api, route, publicRoute }) {
|
|
1128
1147
|
this.api = api;
|
|
1129
1148
|
this.route = route;
|
|
@@ -1164,9 +1183,9 @@ var Repository30 = class {
|
|
|
1164
1183
|
// src/modules/stock/promotion.ts
|
|
1165
1184
|
var promotion_exports = {};
|
|
1166
1185
|
__export(promotion_exports, {
|
|
1167
|
-
default: () =>
|
|
1186
|
+
default: () => Repository32
|
|
1168
1187
|
});
|
|
1169
|
-
var
|
|
1188
|
+
var Repository32 = class {
|
|
1170
1189
|
constructor({ api, route, publicRoute }) {
|
|
1171
1190
|
this.api = api;
|
|
1172
1191
|
this.route = route;
|
|
@@ -1225,9 +1244,9 @@ var Repository31 = class {
|
|
|
1225
1244
|
// src/modules/stock/promotionAssoc.ts
|
|
1226
1245
|
var promotionAssoc_exports = {};
|
|
1227
1246
|
__export(promotionAssoc_exports, {
|
|
1228
|
-
default: () =>
|
|
1247
|
+
default: () => Repository33
|
|
1229
1248
|
});
|
|
1230
|
-
var
|
|
1249
|
+
var Repository33 = class {
|
|
1231
1250
|
constructor({ api, route, publicRoute }) {
|
|
1232
1251
|
this.api = api;
|
|
1233
1252
|
this.route = route;
|
|
@@ -1268,9 +1287,9 @@ var Repository32 = class {
|
|
|
1268
1287
|
// src/modules/user/provider.ts
|
|
1269
1288
|
var provider_exports = {};
|
|
1270
1289
|
__export(provider_exports, {
|
|
1271
|
-
default: () =>
|
|
1290
|
+
default: () => Repository34
|
|
1272
1291
|
});
|
|
1273
|
-
var
|
|
1292
|
+
var Repository34 = class {
|
|
1274
1293
|
constructor({ api, route, publicRoute }) {
|
|
1275
1294
|
this.api = api;
|
|
1276
1295
|
this.route = route;
|
|
@@ -1327,9 +1346,9 @@ var Repository33 = class {
|
|
|
1327
1346
|
// src/modules/user/providerType.ts
|
|
1328
1347
|
var providerType_exports = {};
|
|
1329
1348
|
__export(providerType_exports, {
|
|
1330
|
-
default: () =>
|
|
1349
|
+
default: () => Repository35
|
|
1331
1350
|
});
|
|
1332
|
-
var
|
|
1351
|
+
var Repository35 = class {
|
|
1333
1352
|
constructor({ api, route, publicRoute }) {
|
|
1334
1353
|
this.api = api;
|
|
1335
1354
|
this.route = route;
|
|
@@ -1370,9 +1389,9 @@ var Repository34 = class {
|
|
|
1370
1389
|
// src/modules/user/purchaseCondition.ts
|
|
1371
1390
|
var purchaseCondition_exports = {};
|
|
1372
1391
|
__export(purchaseCondition_exports, {
|
|
1373
|
-
default: () =>
|
|
1392
|
+
default: () => Repository36
|
|
1374
1393
|
});
|
|
1375
|
-
var
|
|
1394
|
+
var Repository36 = class {
|
|
1376
1395
|
constructor({ api, route, publicRoute }) {
|
|
1377
1396
|
this.api = api;
|
|
1378
1397
|
this.route = route;
|
|
@@ -1413,9 +1432,9 @@ var Repository35 = class {
|
|
|
1413
1432
|
// src/modules/user/reasonForExemption.ts
|
|
1414
1433
|
var reasonForExemption_exports = {};
|
|
1415
1434
|
__export(reasonForExemption_exports, {
|
|
1416
|
-
default: () =>
|
|
1435
|
+
default: () => Repository37
|
|
1417
1436
|
});
|
|
1418
|
-
var
|
|
1437
|
+
var Repository37 = class {
|
|
1419
1438
|
constructor({ api, route, publicRoute }) {
|
|
1420
1439
|
this.api = api;
|
|
1421
1440
|
this.route = route;
|
|
@@ -1456,9 +1475,9 @@ var Repository36 = class {
|
|
|
1456
1475
|
// src/modules/user/refreshToken.ts
|
|
1457
1476
|
var refreshToken_exports = {};
|
|
1458
1477
|
__export(refreshToken_exports, {
|
|
1459
|
-
default: () =>
|
|
1478
|
+
default: () => Repository38
|
|
1460
1479
|
});
|
|
1461
|
-
var
|
|
1480
|
+
var Repository38 = class {
|
|
1462
1481
|
constructor({ api, route, publicRoute }) {
|
|
1463
1482
|
this.api = api;
|
|
1464
1483
|
this.route = route;
|
|
@@ -1473,9 +1492,9 @@ var Repository37 = class {
|
|
|
1473
1492
|
// src/modules/user/segmentsArea.ts
|
|
1474
1493
|
var segmentsArea_exports = {};
|
|
1475
1494
|
__export(segmentsArea_exports, {
|
|
1476
|
-
default: () =>
|
|
1495
|
+
default: () => Repository39
|
|
1477
1496
|
});
|
|
1478
|
-
var
|
|
1497
|
+
var Repository39 = class {
|
|
1479
1498
|
constructor({ api, route, publicRoute }) {
|
|
1480
1499
|
this.api = api;
|
|
1481
1500
|
this.route = route;
|
|
@@ -1516,9 +1535,9 @@ var Repository38 = class {
|
|
|
1516
1535
|
// src/modules/user/sessions.ts
|
|
1517
1536
|
var sessions_exports = {};
|
|
1518
1537
|
__export(sessions_exports, {
|
|
1519
|
-
default: () =>
|
|
1538
|
+
default: () => Repository40
|
|
1520
1539
|
});
|
|
1521
|
-
var
|
|
1540
|
+
var Repository40 = class {
|
|
1522
1541
|
constructor({ api, route, publicRoute }) {
|
|
1523
1542
|
this.api = api;
|
|
1524
1543
|
this.route = route;
|
|
@@ -1533,9 +1552,9 @@ var Repository39 = class {
|
|
|
1533
1552
|
// src/modules/user/shippings.ts
|
|
1534
1553
|
var shippings_exports = {};
|
|
1535
1554
|
__export(shippings_exports, {
|
|
1536
|
-
default: () =>
|
|
1555
|
+
default: () => Repository41
|
|
1537
1556
|
});
|
|
1538
|
-
var
|
|
1557
|
+
var Repository41 = class {
|
|
1539
1558
|
constructor({ api, route, publicRoute }) {
|
|
1540
1559
|
this.api = api;
|
|
1541
1560
|
this.route = route;
|
|
@@ -1576,9 +1595,9 @@ var Repository40 = class {
|
|
|
1576
1595
|
// src/modules/user/storeOperator.ts
|
|
1577
1596
|
var storeOperator_exports = {};
|
|
1578
1597
|
__export(storeOperator_exports, {
|
|
1579
|
-
default: () =>
|
|
1598
|
+
default: () => Repository42
|
|
1580
1599
|
});
|
|
1581
|
-
var
|
|
1600
|
+
var Repository42 = class {
|
|
1582
1601
|
constructor({ api, route, publicRoute }) {
|
|
1583
1602
|
this.api = api;
|
|
1584
1603
|
this.route = route;
|
|
@@ -1615,9 +1634,9 @@ var Repository41 = class {
|
|
|
1615
1634
|
// src/modules/user/swift.ts
|
|
1616
1635
|
var swift_exports = {};
|
|
1617
1636
|
__export(swift_exports, {
|
|
1618
|
-
default: () =>
|
|
1637
|
+
default: () => Repository43
|
|
1619
1638
|
});
|
|
1620
|
-
var
|
|
1639
|
+
var Repository43 = class {
|
|
1621
1640
|
constructor({ api, route, publicRoute }) {
|
|
1622
1641
|
this.api = api;
|
|
1623
1642
|
this.route = route;
|
|
@@ -1658,9 +1677,9 @@ var Repository42 = class {
|
|
|
1658
1677
|
// src/modules/stock/typeOfLocation.ts
|
|
1659
1678
|
var typeOfLocation_exports = {};
|
|
1660
1679
|
__export(typeOfLocation_exports, {
|
|
1661
|
-
default: () =>
|
|
1680
|
+
default: () => Repository44
|
|
1662
1681
|
});
|
|
1663
|
-
var
|
|
1682
|
+
var Repository44 = class {
|
|
1664
1683
|
constructor({ api, route, publicRoute }) {
|
|
1665
1684
|
this.api = api;
|
|
1666
1685
|
this.route = route;
|
|
@@ -1707,9 +1726,9 @@ var Repository43 = class {
|
|
|
1707
1726
|
// src/modules/stock/unitOfMeasure.ts
|
|
1708
1727
|
var unitOfMeasure_exports = {};
|
|
1709
1728
|
__export(unitOfMeasure_exports, {
|
|
1710
|
-
default: () =>
|
|
1729
|
+
default: () => Repository45
|
|
1711
1730
|
});
|
|
1712
|
-
var
|
|
1731
|
+
var Repository45 = class {
|
|
1713
1732
|
constructor({ api, route, publicRoute }) {
|
|
1714
1733
|
this.api = api;
|
|
1715
1734
|
this.route = route;
|
|
@@ -1756,9 +1775,9 @@ var Repository44 = class {
|
|
|
1756
1775
|
// src/modules/user/userPermission.ts
|
|
1757
1776
|
var userPermission_exports = {};
|
|
1758
1777
|
__export(userPermission_exports, {
|
|
1759
|
-
default: () =>
|
|
1778
|
+
default: () => Repository46
|
|
1760
1779
|
});
|
|
1761
|
-
var
|
|
1780
|
+
var Repository46 = class {
|
|
1762
1781
|
constructor({ api, route, publicRoute }) {
|
|
1763
1782
|
this.api = api;
|
|
1764
1783
|
this.route = route;
|
|
@@ -1783,9 +1802,9 @@ var Repository45 = class {
|
|
|
1783
1802
|
// src/modules/user/userPositions.ts
|
|
1784
1803
|
var userPositions_exports = {};
|
|
1785
1804
|
__export(userPositions_exports, {
|
|
1786
|
-
default: () =>
|
|
1805
|
+
default: () => Repository47
|
|
1787
1806
|
});
|
|
1788
|
-
var
|
|
1807
|
+
var Repository47 = class {
|
|
1789
1808
|
constructor({ api, route, publicRoute }) {
|
|
1790
1809
|
this.api = api;
|
|
1791
1810
|
this.route = route;
|
|
@@ -1826,9 +1845,9 @@ var Repository46 = class {
|
|
|
1826
1845
|
// src/modules/user/user.ts
|
|
1827
1846
|
var user_exports = {};
|
|
1828
1847
|
__export(user_exports, {
|
|
1829
|
-
default: () =>
|
|
1848
|
+
default: () => Repository48
|
|
1830
1849
|
});
|
|
1831
|
-
var
|
|
1850
|
+
var Repository48 = class {
|
|
1832
1851
|
constructor({ api, route, publicRoute }) {
|
|
1833
1852
|
this.api = api;
|
|
1834
1853
|
this.route = route;
|
|
@@ -1877,9 +1896,9 @@ var Repository47 = class {
|
|
|
1877
1896
|
// src/modules/stock/vatTax.ts
|
|
1878
1897
|
var vatTax_exports = {};
|
|
1879
1898
|
__export(vatTax_exports, {
|
|
1880
|
-
default: () =>
|
|
1899
|
+
default: () => Repository49
|
|
1881
1900
|
});
|
|
1882
|
-
var
|
|
1901
|
+
var Repository49 = class {
|
|
1883
1902
|
constructor({ api, route, publicRoute }) {
|
|
1884
1903
|
this.api = api;
|
|
1885
1904
|
this.route = route;
|
|
@@ -1926,9 +1945,9 @@ var Repository48 = class {
|
|
|
1926
1945
|
// src/modules/stock/vatTaxZone.ts
|
|
1927
1946
|
var vatTaxZone_exports = {};
|
|
1928
1947
|
__export(vatTaxZone_exports, {
|
|
1929
|
-
default: () =>
|
|
1948
|
+
default: () => Repository50
|
|
1930
1949
|
});
|
|
1931
|
-
var
|
|
1950
|
+
var Repository50 = class {
|
|
1932
1951
|
constructor({ api, route, publicRoute }) {
|
|
1933
1952
|
this.api = api;
|
|
1934
1953
|
this.route = route;
|
|
@@ -1975,9 +1994,9 @@ var Repository49 = class {
|
|
|
1975
1994
|
// src/modules/supply/workflow.ts
|
|
1976
1995
|
var workflow_exports = {};
|
|
1977
1996
|
__export(workflow_exports, {
|
|
1978
|
-
default: () =>
|
|
1997
|
+
default: () => Repository51
|
|
1979
1998
|
});
|
|
1980
|
-
var
|
|
1999
|
+
var Repository51 = class {
|
|
1981
2000
|
constructor({ api, route, publicRoute }) {
|
|
1982
2001
|
this.api = api;
|
|
1983
2002
|
this.route = route;
|
|
@@ -2008,9 +2027,9 @@ var Repository50 = class {
|
|
|
2008
2027
|
// src/modules/user/deliveryMethods.ts
|
|
2009
2028
|
var deliveryMethods_exports = {};
|
|
2010
2029
|
__export(deliveryMethods_exports, {
|
|
2011
|
-
default: () =>
|
|
2030
|
+
default: () => Repository52
|
|
2012
2031
|
});
|
|
2013
|
-
var
|
|
2032
|
+
var Repository52 = class {
|
|
2014
2033
|
constructor({ api, route, publicRoute }) {
|
|
2015
2034
|
this.api = api;
|
|
2016
2035
|
this.route = route;
|
|
@@ -2047,9 +2066,9 @@ var Repository51 = class {
|
|
|
2047
2066
|
// src/modules/user/maturityDates.ts
|
|
2048
2067
|
var maturityDates_exports = {};
|
|
2049
2068
|
__export(maturityDates_exports, {
|
|
2050
|
-
default: () =>
|
|
2069
|
+
default: () => Repository53
|
|
2051
2070
|
});
|
|
2052
|
-
var
|
|
2071
|
+
var Repository53 = class {
|
|
2053
2072
|
constructor({ api, route, publicRoute }) {
|
|
2054
2073
|
this.api = api;
|
|
2055
2074
|
this.route = route;
|
|
@@ -2086,9 +2105,9 @@ var Repository52 = class {
|
|
|
2086
2105
|
// src/modules/user/paymentMethods.ts
|
|
2087
2106
|
var paymentMethods_exports = {};
|
|
2088
2107
|
__export(paymentMethods_exports, {
|
|
2089
|
-
default: () =>
|
|
2108
|
+
default: () => Repository54
|
|
2090
2109
|
});
|
|
2091
|
-
var
|
|
2110
|
+
var Repository54 = class {
|
|
2092
2111
|
constructor({ api, route, publicRoute }) {
|
|
2093
2112
|
this.api = api;
|
|
2094
2113
|
this.route = route;
|
|
@@ -2125,9 +2144,9 @@ var Repository53 = class {
|
|
|
2125
2144
|
// src/modules/user/vehicles.ts
|
|
2126
2145
|
var vehicles_exports = {};
|
|
2127
2146
|
__export(vehicles_exports, {
|
|
2128
|
-
default: () =>
|
|
2147
|
+
default: () => Repository55
|
|
2129
2148
|
});
|
|
2130
|
-
var
|
|
2149
|
+
var Repository55 = class {
|
|
2131
2150
|
constructor({ api, route, publicRoute }) {
|
|
2132
2151
|
this.api = api;
|
|
2133
2152
|
this.route = route;
|
|
@@ -2154,9 +2173,9 @@ var Repository54 = class {
|
|
|
2154
2173
|
// src/modules/supply/externalDocumentType.ts
|
|
2155
2174
|
var externalDocumentType_exports = {};
|
|
2156
2175
|
__export(externalDocumentType_exports, {
|
|
2157
|
-
default: () =>
|
|
2176
|
+
default: () => Repository56
|
|
2158
2177
|
});
|
|
2159
|
-
var
|
|
2178
|
+
var Repository56 = class {
|
|
2160
2179
|
constructor({ api, route, publicRoute }) {
|
|
2161
2180
|
this.api = api;
|
|
2162
2181
|
this.route = route;
|
|
@@ -2175,9 +2194,9 @@ var Repository55 = class {
|
|
|
2175
2194
|
// src/modules/supply/documentSet.ts
|
|
2176
2195
|
var documentSet_exports = {};
|
|
2177
2196
|
__export(documentSet_exports, {
|
|
2178
|
-
default: () =>
|
|
2197
|
+
default: () => Repository57
|
|
2179
2198
|
});
|
|
2180
|
-
var
|
|
2199
|
+
var Repository57 = class {
|
|
2181
2200
|
constructor({ api, route, publicRoute }) {
|
|
2182
2201
|
this.api = api;
|
|
2183
2202
|
this.route = route;
|
|
@@ -2212,9 +2231,9 @@ var Repository56 = class {
|
|
|
2212
2231
|
// src/modules/supply/payment.ts
|
|
2213
2232
|
var payment_exports = {};
|
|
2214
2233
|
__export(payment_exports, {
|
|
2215
|
-
default: () =>
|
|
2234
|
+
default: () => Repository58
|
|
2216
2235
|
});
|
|
2217
|
-
var
|
|
2236
|
+
var Repository58 = class {
|
|
2218
2237
|
constructor({ api, route, publicRoute }) {
|
|
2219
2238
|
this.api = api;
|
|
2220
2239
|
this.route = route;
|
|
@@ -2322,9 +2341,9 @@ var Repository57 = class {
|
|
|
2322
2341
|
// src/modules/supply/externalDocumentHeader.ts
|
|
2323
2342
|
var externalDocumentHeader_exports = {};
|
|
2324
2343
|
__export(externalDocumentHeader_exports, {
|
|
2325
|
-
default: () =>
|
|
2344
|
+
default: () => Repository59
|
|
2326
2345
|
});
|
|
2327
|
-
var
|
|
2346
|
+
var Repository59 = class {
|
|
2328
2347
|
constructor({ api, route, publicRoute }) {
|
|
2329
2348
|
this.api = api;
|
|
2330
2349
|
this.route = route;
|
|
@@ -2367,11 +2386,11 @@ var Repository58 = class {
|
|
|
2367
2386
|
async sendEmailDocument(body) {
|
|
2368
2387
|
await this.api.post(`${this.route}sendEmail`, body);
|
|
2369
2388
|
}
|
|
2370
|
-
async
|
|
2389
|
+
async createPublicDocumentHeaderNote(data) {
|
|
2371
2390
|
const response = await this.api.post(`${this.route}public_document_header_note`, data);
|
|
2372
2391
|
return response.data;
|
|
2373
2392
|
}
|
|
2374
|
-
async
|
|
2393
|
+
async updatePublicDocumentHeaderNote({ id }, data) {
|
|
2375
2394
|
const response = await this.api.put(`${this.route}public_document_header_note/${id}`, data);
|
|
2376
2395
|
return response.data;
|
|
2377
2396
|
}
|
|
@@ -2380,9 +2399,9 @@ var Repository58 = class {
|
|
|
2380
2399
|
// src/modules/supply/vatValidation.ts
|
|
2381
2400
|
var vatValidation_exports = {};
|
|
2382
2401
|
__export(vatValidation_exports, {
|
|
2383
|
-
default: () =>
|
|
2402
|
+
default: () => Repository60
|
|
2384
2403
|
});
|
|
2385
|
-
var
|
|
2404
|
+
var Repository60 = class {
|
|
2386
2405
|
constructor({ api, route, publicRoute }) {
|
|
2387
2406
|
this.api = api;
|
|
2388
2407
|
this.route = route;
|
|
@@ -2401,9 +2420,9 @@ var Repository59 = class {
|
|
|
2401
2420
|
// src/modules/stock/stockMovement.ts
|
|
2402
2421
|
var stockMovement_exports = {};
|
|
2403
2422
|
__export(stockMovement_exports, {
|
|
2404
|
-
default: () =>
|
|
2423
|
+
default: () => Repository61
|
|
2405
2424
|
});
|
|
2406
|
-
var
|
|
2425
|
+
var Repository61 = class {
|
|
2407
2426
|
constructor({ api, route, publicRoute }) {
|
|
2408
2427
|
this.api = api;
|
|
2409
2428
|
this.route = route;
|
|
@@ -2440,9 +2459,9 @@ var Repository60 = class {
|
|
|
2440
2459
|
// src/modules/user/zipCode.ts
|
|
2441
2460
|
var zipCode_exports = {};
|
|
2442
2461
|
__export(zipCode_exports, {
|
|
2443
|
-
default: () =>
|
|
2462
|
+
default: () => Repository62
|
|
2444
2463
|
});
|
|
2445
|
-
var
|
|
2464
|
+
var Repository62 = class {
|
|
2446
2465
|
constructor({ api, route, publicRoute }) {
|
|
2447
2466
|
this.api = api;
|
|
2448
2467
|
this.route = route;
|
|
@@ -2460,9 +2479,9 @@ var Repository61 = class {
|
|
|
2460
2479
|
// src/modules/user/tenant.ts
|
|
2461
2480
|
var tenant_exports = {};
|
|
2462
2481
|
__export(tenant_exports, {
|
|
2463
|
-
default: () =>
|
|
2482
|
+
default: () => Repository63
|
|
2464
2483
|
});
|
|
2465
|
-
var
|
|
2484
|
+
var Repository63 = class {
|
|
2466
2485
|
constructor({ api, route, publicRoute }) {
|
|
2467
2486
|
this.api = api;
|
|
2468
2487
|
this.route = route;
|
|
@@ -2489,9 +2508,9 @@ var Repository62 = class {
|
|
|
2489
2508
|
// src/modules/supply/preSale.ts
|
|
2490
2509
|
var preSale_exports = {};
|
|
2491
2510
|
__export(preSale_exports, {
|
|
2492
|
-
default: () =>
|
|
2511
|
+
default: () => Repository64
|
|
2493
2512
|
});
|
|
2494
|
-
var
|
|
2513
|
+
var Repository64 = class {
|
|
2495
2514
|
constructor({ api, route, publicRoute }) {
|
|
2496
2515
|
this.api = api;
|
|
2497
2516
|
this.route = route;
|
|
@@ -2534,9 +2553,9 @@ var Repository63 = class {
|
|
|
2534
2553
|
// src/modules/supply/preSaleProduct.ts
|
|
2535
2554
|
var preSaleProduct_exports = {};
|
|
2536
2555
|
__export(preSaleProduct_exports, {
|
|
2537
|
-
default: () =>
|
|
2556
|
+
default: () => Repository65
|
|
2538
2557
|
});
|
|
2539
|
-
var
|
|
2558
|
+
var Repository65 = class {
|
|
2540
2559
|
constructor({ api, route, publicRoute }) {
|
|
2541
2560
|
this.api = api;
|
|
2542
2561
|
this.route = route;
|
|
@@ -2555,9 +2574,9 @@ var Repository64 = class {
|
|
|
2555
2574
|
// src/modules/supply/orderManagement.ts
|
|
2556
2575
|
var orderManagement_exports = {};
|
|
2557
2576
|
__export(orderManagement_exports, {
|
|
2558
|
-
default: () =>
|
|
2577
|
+
default: () => Repository66
|
|
2559
2578
|
});
|
|
2560
|
-
var
|
|
2579
|
+
var Repository66 = class {
|
|
2561
2580
|
constructor({ api, route, publicRoute }) {
|
|
2562
2581
|
this.api = api;
|
|
2563
2582
|
this.route = route;
|
|
@@ -2578,9 +2597,9 @@ var Repository65 = class {
|
|
|
2578
2597
|
// src/modules/print/npc.ts
|
|
2579
2598
|
var npc_exports = {};
|
|
2580
2599
|
__export(npc_exports, {
|
|
2581
|
-
default: () =>
|
|
2600
|
+
default: () => Repository67
|
|
2582
2601
|
});
|
|
2583
|
-
var
|
|
2602
|
+
var Repository67 = class {
|
|
2584
2603
|
constructor({ api, route, publicRoute }) {
|
|
2585
2604
|
this.api = api;
|
|
2586
2605
|
this.route = route;
|
|
@@ -2605,9 +2624,9 @@ var Repository66 = class {
|
|
|
2605
2624
|
// src/modules/print/printer.ts
|
|
2606
2625
|
var printer_exports = {};
|
|
2607
2626
|
__export(printer_exports, {
|
|
2608
|
-
default: () =>
|
|
2627
|
+
default: () => Repository68
|
|
2609
2628
|
});
|
|
2610
|
-
var
|
|
2629
|
+
var Repository68 = class {
|
|
2611
2630
|
constructor({ api, route, publicRoute }) {
|
|
2612
2631
|
this.api = api;
|
|
2613
2632
|
this.route = route;
|
|
@@ -2637,9 +2656,9 @@ var Repository67 = class {
|
|
|
2637
2656
|
// src/modules/print/schedulePrintJob.ts
|
|
2638
2657
|
var schedulePrintJob_exports = {};
|
|
2639
2658
|
__export(schedulePrintJob_exports, {
|
|
2640
|
-
default: () =>
|
|
2659
|
+
default: () => Repository69
|
|
2641
2660
|
});
|
|
2642
|
-
var
|
|
2661
|
+
var Repository69 = class {
|
|
2643
2662
|
constructor({ api, route, publicRoute }) {
|
|
2644
2663
|
this.api = api;
|
|
2645
2664
|
this.route = route;
|
|
@@ -2667,9 +2686,9 @@ var Repository68 = class {
|
|
|
2667
2686
|
// src/modules/stock/queryList.ts
|
|
2668
2687
|
var queryList_exports = {};
|
|
2669
2688
|
__export(queryList_exports, {
|
|
2670
|
-
default: () =>
|
|
2689
|
+
default: () => Repository70
|
|
2671
2690
|
});
|
|
2672
|
-
var
|
|
2691
|
+
var Repository70 = class {
|
|
2673
2692
|
constructor({ api, route, publicRoute }) {
|
|
2674
2693
|
this.api = api;
|
|
2675
2694
|
this.route = route;
|
|
@@ -2718,9 +2737,9 @@ var Repository69 = class {
|
|
|
2718
2737
|
// src/modules/stock/queryParameter.ts
|
|
2719
2738
|
var queryParameter_exports = {};
|
|
2720
2739
|
__export(queryParameter_exports, {
|
|
2721
|
-
default: () =>
|
|
2740
|
+
default: () => Repository71
|
|
2722
2741
|
});
|
|
2723
|
-
var
|
|
2742
|
+
var Repository71 = class {
|
|
2724
2743
|
constructor({ api, route, publicRoute }) {
|
|
2725
2744
|
this.api = api;
|
|
2726
2745
|
this.route = route;
|
|
@@ -2755,9 +2774,9 @@ var Repository70 = class {
|
|
|
2755
2774
|
// src/modules/stock/returnReason.ts
|
|
2756
2775
|
var returnReason_exports = {};
|
|
2757
2776
|
__export(returnReason_exports, {
|
|
2758
|
-
default: () =>
|
|
2777
|
+
default: () => Repository72
|
|
2759
2778
|
});
|
|
2760
|
-
var
|
|
2779
|
+
var Repository72 = class {
|
|
2761
2780
|
constructor({ api, route, publicRoute }) {
|
|
2762
2781
|
this.api = api;
|
|
2763
2782
|
this.route = route;
|
|
@@ -2784,9 +2803,9 @@ var Repository71 = class {
|
|
|
2784
2803
|
// src/modules/document/propostaSheets.ts
|
|
2785
2804
|
var propostaSheets_exports = {};
|
|
2786
2805
|
__export(propostaSheets_exports, {
|
|
2787
|
-
default: () =>
|
|
2806
|
+
default: () => Repository73
|
|
2788
2807
|
});
|
|
2789
|
-
var
|
|
2808
|
+
var Repository73 = class {
|
|
2790
2809
|
constructor({ api, route, publicRoute }) {
|
|
2791
2810
|
this.api = api;
|
|
2792
2811
|
this.route = route;
|
|
@@ -2838,9 +2857,9 @@ var Repository72 = class {
|
|
|
2838
2857
|
// src/modules/stock/schedule.ts
|
|
2839
2858
|
var schedule_exports = {};
|
|
2840
2859
|
__export(schedule_exports, {
|
|
2841
|
-
default: () =>
|
|
2860
|
+
default: () => Repository74
|
|
2842
2861
|
});
|
|
2843
|
-
var
|
|
2862
|
+
var Repository74 = class {
|
|
2844
2863
|
constructor({ api, route, publicRoute }) {
|
|
2845
2864
|
this.api = api;
|
|
2846
2865
|
this.route = route;
|
|
@@ -2854,9 +2873,9 @@ var Repository73 = class {
|
|
|
2854
2873
|
// src/modules/integration/googleFilePermission.ts
|
|
2855
2874
|
var googleFilePermission_exports = {};
|
|
2856
2875
|
__export(googleFilePermission_exports, {
|
|
2857
|
-
default: () =>
|
|
2876
|
+
default: () => Repository75
|
|
2858
2877
|
});
|
|
2859
|
-
var
|
|
2878
|
+
var Repository75 = class {
|
|
2860
2879
|
constructor({ api, route, publicRoute }) {
|
|
2861
2880
|
this.api = api;
|
|
2862
2881
|
this.route = route;
|
|
@@ -2883,9 +2902,9 @@ var Repository74 = class {
|
|
|
2883
2902
|
// src/modules/integration/settings.ts
|
|
2884
2903
|
var settings_exports = {};
|
|
2885
2904
|
__export(settings_exports, {
|
|
2886
|
-
default: () =>
|
|
2905
|
+
default: () => Repository76
|
|
2887
2906
|
});
|
|
2888
|
-
var
|
|
2907
|
+
var Repository76 = class {
|
|
2889
2908
|
constructor({ api, route, publicRoute }) {
|
|
2890
2909
|
this.api = api;
|
|
2891
2910
|
this.route = route;
|
|
@@ -2918,9 +2937,9 @@ var Repository75 = class {
|
|
|
2918
2937
|
// src/modules/tickets/tickets.ts
|
|
2919
2938
|
var tickets_exports = {};
|
|
2920
2939
|
__export(tickets_exports, {
|
|
2921
|
-
default: () =>
|
|
2940
|
+
default: () => Repository77
|
|
2922
2941
|
});
|
|
2923
|
-
var
|
|
2942
|
+
var Repository77 = class {
|
|
2924
2943
|
constructor({ api, route, publicRoute }) {
|
|
2925
2944
|
this.api = api;
|
|
2926
2945
|
this.route = route;
|
|
@@ -2947,9 +2966,9 @@ var Repository76 = class {
|
|
|
2947
2966
|
// src/modules/tickets/channel.ts
|
|
2948
2967
|
var channel_exports = {};
|
|
2949
2968
|
__export(channel_exports, {
|
|
2950
|
-
default: () =>
|
|
2969
|
+
default: () => Repository78
|
|
2951
2970
|
});
|
|
2952
|
-
var
|
|
2971
|
+
var Repository78 = class {
|
|
2953
2972
|
constructor({ api, route, publicRoute }) {
|
|
2954
2973
|
this.api = api;
|
|
2955
2974
|
this.route = route;
|
|
@@ -2984,9 +3003,9 @@ var Repository77 = class {
|
|
|
2984
3003
|
// src/modules/tickets/language.ts
|
|
2985
3004
|
var language_exports2 = {};
|
|
2986
3005
|
__export(language_exports2, {
|
|
2987
|
-
default: () =>
|
|
3006
|
+
default: () => Repository79
|
|
2988
3007
|
});
|
|
2989
|
-
var
|
|
3008
|
+
var Repository79 = class {
|
|
2990
3009
|
constructor({ api, route, publicRoute }) {
|
|
2991
3010
|
this.api = api;
|
|
2992
3011
|
this.route = route;
|
|
@@ -3021,9 +3040,9 @@ var Repository78 = class {
|
|
|
3021
3040
|
// src/modules/tickets/clt.ts
|
|
3022
3041
|
var clt_exports = {};
|
|
3023
3042
|
__export(clt_exports, {
|
|
3024
|
-
default: () =>
|
|
3043
|
+
default: () => Repository80
|
|
3025
3044
|
});
|
|
3026
|
-
var
|
|
3045
|
+
var Repository80 = class {
|
|
3027
3046
|
constructor({ api, route, publicRoute }) {
|
|
3028
3047
|
this.api = api;
|
|
3029
3048
|
this.route = route;
|
|
@@ -3058,9 +3077,9 @@ var Repository79 = class {
|
|
|
3058
3077
|
// src/modules/supply/startDocumentHeaderLastUpdate.ts
|
|
3059
3078
|
var startDocumentHeaderLastUpdate_exports = {};
|
|
3060
3079
|
__export(startDocumentHeaderLastUpdate_exports, {
|
|
3061
|
-
default: () =>
|
|
3080
|
+
default: () => Repository81
|
|
3062
3081
|
});
|
|
3063
|
-
var
|
|
3082
|
+
var Repository81 = class {
|
|
3064
3083
|
constructor({ api, route, publicRoute }) {
|
|
3065
3084
|
this.api = api;
|
|
3066
3085
|
this.route = route;
|
|
@@ -3075,9 +3094,9 @@ var Repository80 = class {
|
|
|
3075
3094
|
// src/modules/user/persona.ts
|
|
3076
3095
|
var persona_exports = {};
|
|
3077
3096
|
__export(persona_exports, {
|
|
3078
|
-
default: () =>
|
|
3097
|
+
default: () => Repository82
|
|
3079
3098
|
});
|
|
3080
|
-
var
|
|
3099
|
+
var Repository82 = class {
|
|
3081
3100
|
constructor({ api, route, publicRoute }) {
|
|
3082
3101
|
this.api = api;
|
|
3083
3102
|
this.route = route;
|
|
@@ -3127,14 +3146,18 @@ var Repository81 = class {
|
|
|
3127
3146
|
});
|
|
3128
3147
|
return response.data;
|
|
3129
3148
|
}
|
|
3149
|
+
async findClientOrProvider(params) {
|
|
3150
|
+
const response = await this.api.get(`${this.route}find_client_or_provider`, { params });
|
|
3151
|
+
return response.data;
|
|
3152
|
+
}
|
|
3130
3153
|
};
|
|
3131
3154
|
|
|
3132
3155
|
// src/modules/integration/projectInfo.ts
|
|
3133
3156
|
var projectInfo_exports = {};
|
|
3134
3157
|
__export(projectInfo_exports, {
|
|
3135
|
-
default: () =>
|
|
3158
|
+
default: () => Repository83
|
|
3136
3159
|
});
|
|
3137
|
-
var
|
|
3160
|
+
var Repository83 = class {
|
|
3138
3161
|
constructor({ api, route, publicRoute }) {
|
|
3139
3162
|
this.api = api;
|
|
3140
3163
|
this.route = route;
|
|
@@ -3148,9 +3171,9 @@ var Repository82 = class {
|
|
|
3148
3171
|
// src/modules/document/order.ts
|
|
3149
3172
|
var order_exports = {};
|
|
3150
3173
|
__export(order_exports, {
|
|
3151
|
-
default: () =>
|
|
3174
|
+
default: () => Repository84
|
|
3152
3175
|
});
|
|
3153
|
-
var
|
|
3176
|
+
var Repository84 = class {
|
|
3154
3177
|
constructor({ api, route, publicRoute }) {
|
|
3155
3178
|
this.api = api;
|
|
3156
3179
|
this.route = route;
|
|
@@ -3162,26 +3185,13 @@ var Repository83 = class {
|
|
|
3162
3185
|
});
|
|
3163
3186
|
return response.data;
|
|
3164
3187
|
}
|
|
3165
|
-
async findStockToOrder(params) {
|
|
3166
|
-
const response = await this.api.get(`${this.route}check_lines_to_order`, {
|
|
3167
|
-
params
|
|
3168
|
-
});
|
|
3169
|
-
return response.data;
|
|
3170
|
-
}
|
|
3171
|
-
async findProvidersWithStockToOrder() {
|
|
3172
|
-
const response = await this.api.get(`${this.route}stock_order_provider`);
|
|
3173
|
-
return response.data;
|
|
3174
|
-
}
|
|
3175
|
-
async undoEncomendaVA(data) {
|
|
3176
|
-
await this.api.post(`${this.route}undo_encomenda_va`, data);
|
|
3177
|
-
}
|
|
3178
3188
|
async setProvider(data) {
|
|
3179
3189
|
await this.api.post(`${this.route}set_provider`, data);
|
|
3180
3190
|
}
|
|
3181
3191
|
async unsetProvider({ id }) {
|
|
3182
3192
|
await this.api.post(`${this.route}${id}/unset_provider`);
|
|
3183
3193
|
}
|
|
3184
|
-
async
|
|
3194
|
+
async unlinkFromProviderOrder(data) {
|
|
3185
3195
|
await this.api.post(`${this.route}undo_encomenda_stock`, data);
|
|
3186
3196
|
}
|
|
3187
3197
|
async undoProviderOrder(data) {
|
|
@@ -3200,9 +3210,9 @@ var Repository83 = class {
|
|
|
3200
3210
|
// src/modules/document/purchase.ts
|
|
3201
3211
|
var purchase_exports = {};
|
|
3202
3212
|
__export(purchase_exports, {
|
|
3203
|
-
default: () =>
|
|
3213
|
+
default: () => Repository85
|
|
3204
3214
|
});
|
|
3205
|
-
var
|
|
3215
|
+
var Repository85 = class {
|
|
3206
3216
|
constructor({ api, route, publicRoute }) {
|
|
3207
3217
|
this.api = api;
|
|
3208
3218
|
this.route = route;
|
|
@@ -3230,9 +3240,9 @@ var Repository84 = class {
|
|
|
3230
3240
|
// src/modules/document/materialEntrance.ts
|
|
3231
3241
|
var materialEntrance_exports = {};
|
|
3232
3242
|
__export(materialEntrance_exports, {
|
|
3233
|
-
default: () =>
|
|
3243
|
+
default: () => Repository86
|
|
3234
3244
|
});
|
|
3235
|
-
var
|
|
3245
|
+
var Repository86 = class {
|
|
3236
3246
|
constructor({ api, route, publicRoute }) {
|
|
3237
3247
|
this.api = api;
|
|
3238
3248
|
this.route = route;
|
|
@@ -3291,9 +3301,9 @@ var Repository85 = class {
|
|
|
3291
3301
|
// src/modules/document/transformado.ts
|
|
3292
3302
|
var transformado_exports = {};
|
|
3293
3303
|
__export(transformado_exports, {
|
|
3294
|
-
default: () =>
|
|
3304
|
+
default: () => Repository87
|
|
3295
3305
|
});
|
|
3296
|
-
var
|
|
3306
|
+
var Repository87 = class {
|
|
3297
3307
|
constructor({ api, route, publicRoute }) {
|
|
3298
3308
|
this.api = api;
|
|
3299
3309
|
this.route = route;
|
|
@@ -3308,9 +3318,9 @@ var Repository86 = class {
|
|
|
3308
3318
|
// src/modules/document/upfrontReturn.ts
|
|
3309
3319
|
var upfrontReturn_exports = {};
|
|
3310
3320
|
__export(upfrontReturn_exports, {
|
|
3311
|
-
default: () =>
|
|
3321
|
+
default: () => Repository88
|
|
3312
3322
|
});
|
|
3313
|
-
var
|
|
3323
|
+
var Repository88 = class {
|
|
3314
3324
|
constructor({ api, route, publicRoute }) {
|
|
3315
3325
|
this.api = api;
|
|
3316
3326
|
this.route = route;
|
|
@@ -3325,9 +3335,9 @@ var Repository87 = class {
|
|
|
3325
3335
|
// src/modules/stock/savedEmPicking.ts
|
|
3326
3336
|
var savedEmPicking_exports = {};
|
|
3327
3337
|
__export(savedEmPicking_exports, {
|
|
3328
|
-
default: () =>
|
|
3338
|
+
default: () => Repository89
|
|
3329
3339
|
});
|
|
3330
|
-
var
|
|
3340
|
+
var Repository89 = class {
|
|
3331
3341
|
constructor({ api, route, publicRoute }) {
|
|
3332
3342
|
this.api = api;
|
|
3333
3343
|
this.route = route;
|
|
@@ -3352,9 +3362,9 @@ var Repository88 = class {
|
|
|
3352
3362
|
// src/modules/integration/emailTemplate.ts
|
|
3353
3363
|
var emailTemplate_exports = {};
|
|
3354
3364
|
__export(emailTemplate_exports, {
|
|
3355
|
-
default: () =>
|
|
3365
|
+
default: () => Repository90
|
|
3356
3366
|
});
|
|
3357
|
-
var
|
|
3367
|
+
var Repository90 = class {
|
|
3358
3368
|
constructor({ api, route, publicRoute }) {
|
|
3359
3369
|
this.api = api;
|
|
3360
3370
|
this.route = route;
|
|
@@ -3384,9 +3394,9 @@ var Repository89 = class {
|
|
|
3384
3394
|
// src/modules/integration/emailTemplateAttachment.ts
|
|
3385
3395
|
var emailTemplateAttachment_exports = {};
|
|
3386
3396
|
__export(emailTemplateAttachment_exports, {
|
|
3387
|
-
default: () =>
|
|
3397
|
+
default: () => Repository91
|
|
3388
3398
|
});
|
|
3389
|
-
var
|
|
3399
|
+
var Repository91 = class {
|
|
3390
3400
|
constructor({ api, route, publicRoute }) {
|
|
3391
3401
|
this.api = api;
|
|
3392
3402
|
this.route = route;
|
|
@@ -3404,9 +3414,9 @@ var Repository90 = class {
|
|
|
3404
3414
|
// src/modules/stock/prison.ts
|
|
3405
3415
|
var prison_exports = {};
|
|
3406
3416
|
__export(prison_exports, {
|
|
3407
|
-
default: () =>
|
|
3417
|
+
default: () => Repository92
|
|
3408
3418
|
});
|
|
3409
|
-
var
|
|
3419
|
+
var Repository92 = class {
|
|
3410
3420
|
constructor({ api, route, publicRoute }) {
|
|
3411
3421
|
this.api = api;
|
|
3412
3422
|
this.route = route;
|
|
@@ -3440,9 +3450,9 @@ var Repository91 = class {
|
|
|
3440
3450
|
// src/modules/document/quebra.ts
|
|
3441
3451
|
var quebra_exports = {};
|
|
3442
3452
|
__export(quebra_exports, {
|
|
3443
|
-
default: () =>
|
|
3453
|
+
default: () => Repository93
|
|
3444
3454
|
});
|
|
3445
|
-
var
|
|
3455
|
+
var Repository93 = class {
|
|
3446
3456
|
constructor({ api, route, publicRoute }) {
|
|
3447
3457
|
this.api = api;
|
|
3448
3458
|
this.route = route;
|
|
@@ -3472,9 +3482,9 @@ var Repository92 = class {
|
|
|
3472
3482
|
// src/modules/document/inventario.ts
|
|
3473
3483
|
var inventario_exports = {};
|
|
3474
3484
|
__export(inventario_exports, {
|
|
3475
|
-
default: () =>
|
|
3485
|
+
default: () => Repository94
|
|
3476
3486
|
});
|
|
3477
|
-
var
|
|
3487
|
+
var Repository94 = class {
|
|
3478
3488
|
constructor({ api, route, publicRoute }) {
|
|
3479
3489
|
this.api = api;
|
|
3480
3490
|
this.route = route;
|
|
@@ -3488,9 +3498,9 @@ var Repository93 = class {
|
|
|
3488
3498
|
// src/modules/document/returnToProvider.ts
|
|
3489
3499
|
var returnToProvider_exports = {};
|
|
3490
3500
|
__export(returnToProvider_exports, {
|
|
3491
|
-
default: () =>
|
|
3501
|
+
default: () => Repository95
|
|
3492
3502
|
});
|
|
3493
|
-
var
|
|
3503
|
+
var Repository95 = class {
|
|
3494
3504
|
constructor({ api, route, publicRoute }) {
|
|
3495
3505
|
this.api = api;
|
|
3496
3506
|
this.route = route;
|
|
@@ -3514,9 +3524,9 @@ var Repository94 = class {
|
|
|
3514
3524
|
// src/modules/integration/emailVerification.ts
|
|
3515
3525
|
var emailVerification_exports = {};
|
|
3516
3526
|
__export(emailVerification_exports, {
|
|
3517
|
-
default: () =>
|
|
3527
|
+
default: () => Repository96
|
|
3518
3528
|
});
|
|
3519
|
-
var
|
|
3529
|
+
var Repository96 = class {
|
|
3520
3530
|
constructor({ api, route, publicRoute }) {
|
|
3521
3531
|
this.api = api;
|
|
3522
3532
|
this.route = route;
|
|
@@ -3539,9 +3549,9 @@ var Repository95 = class {
|
|
|
3539
3549
|
// src/modules/integration/emailLog.ts
|
|
3540
3550
|
var emailLog_exports = {};
|
|
3541
3551
|
__export(emailLog_exports, {
|
|
3542
|
-
default: () =>
|
|
3552
|
+
default: () => Repository97
|
|
3543
3553
|
});
|
|
3544
|
-
var
|
|
3554
|
+
var Repository97 = class {
|
|
3545
3555
|
constructor({ api, route, publicRoute }) {
|
|
3546
3556
|
this.api = api;
|
|
3547
3557
|
this.route = route;
|
|
@@ -3572,9 +3582,9 @@ var Repository96 = class {
|
|
|
3572
3582
|
// src/modules/supply/documentLineNote.ts
|
|
3573
3583
|
var documentLineNote_exports = {};
|
|
3574
3584
|
__export(documentLineNote_exports, {
|
|
3575
|
-
default: () =>
|
|
3585
|
+
default: () => Repository98
|
|
3576
3586
|
});
|
|
3577
|
-
var
|
|
3587
|
+
var Repository98 = class {
|
|
3578
3588
|
constructor({ api, route, publicRoute }) {
|
|
3579
3589
|
this.api = api;
|
|
3580
3590
|
this.route = route;
|
|
@@ -3597,9 +3607,9 @@ var Repository97 = class {
|
|
|
3597
3607
|
// src/modules/stock/savedProviderProposal.ts
|
|
3598
3608
|
var savedProviderProposal_exports = {};
|
|
3599
3609
|
__export(savedProviderProposal_exports, {
|
|
3600
|
-
default: () =>
|
|
3610
|
+
default: () => Repository99
|
|
3601
3611
|
});
|
|
3602
|
-
var
|
|
3612
|
+
var Repository99 = class {
|
|
3603
3613
|
constructor({ api, route, publicRoute }) {
|
|
3604
3614
|
this.api = api;
|
|
3605
3615
|
this.route = route;
|
|
@@ -3626,9 +3636,9 @@ var Repository98 = class {
|
|
|
3626
3636
|
// src/modules/stock/productGoogleSheets.ts
|
|
3627
3637
|
var productGoogleSheets_exports = {};
|
|
3628
3638
|
__export(productGoogleSheets_exports, {
|
|
3629
|
-
default: () =>
|
|
3639
|
+
default: () => Repository100
|
|
3630
3640
|
});
|
|
3631
|
-
var
|
|
3641
|
+
var Repository100 = class {
|
|
3632
3642
|
constructor({ api, route, publicRoute }) {
|
|
3633
3643
|
this.api = api;
|
|
3634
3644
|
this.route = route;
|
|
@@ -3746,9 +3756,9 @@ var Repository99 = class {
|
|
|
3746
3756
|
// src/modules/stock/task.ts
|
|
3747
3757
|
var task_exports = {};
|
|
3748
3758
|
__export(task_exports, {
|
|
3749
|
-
default: () =>
|
|
3759
|
+
default: () => Repository101
|
|
3750
3760
|
});
|
|
3751
|
-
var
|
|
3761
|
+
var Repository101 = class {
|
|
3752
3762
|
constructor({ api, route, publicRoute }) {
|
|
3753
3763
|
this.api = api;
|
|
3754
3764
|
this.route = route;
|
|
@@ -3781,9 +3791,9 @@ var Repository100 = class {
|
|
|
3781
3791
|
// src/modules/stock/taskMessage.ts
|
|
3782
3792
|
var taskMessage_exports = {};
|
|
3783
3793
|
__export(taskMessage_exports, {
|
|
3784
|
-
default: () =>
|
|
3794
|
+
default: () => Repository102
|
|
3785
3795
|
});
|
|
3786
|
-
var
|
|
3796
|
+
var Repository102 = class {
|
|
3787
3797
|
constructor({ api, route, publicRoute }) {
|
|
3788
3798
|
this.api = api;
|
|
3789
3799
|
this.route = route;
|
|
@@ -3804,9 +3814,9 @@ var Repository101 = class {
|
|
|
3804
3814
|
// src/modules/stock/recurrentTasks.ts
|
|
3805
3815
|
var recurrentTasks_exports = {};
|
|
3806
3816
|
__export(recurrentTasks_exports, {
|
|
3807
|
-
default: () =>
|
|
3817
|
+
default: () => Repository103
|
|
3808
3818
|
});
|
|
3809
|
-
var
|
|
3819
|
+
var Repository103 = class {
|
|
3810
3820
|
constructor({ api, route, publicRoute }) {
|
|
3811
3821
|
this.api = api;
|
|
3812
3822
|
this.route = route;
|
|
@@ -3823,9 +3833,9 @@ var Repository102 = class {
|
|
|
3823
3833
|
// src/modules/stock/taskRead.ts
|
|
3824
3834
|
var taskRead_exports = {};
|
|
3825
3835
|
__export(taskRead_exports, {
|
|
3826
|
-
default: () =>
|
|
3836
|
+
default: () => Repository104
|
|
3827
3837
|
});
|
|
3828
|
-
var
|
|
3838
|
+
var Repository104 = class {
|
|
3829
3839
|
constructor({ api, route, publicRoute }) {
|
|
3830
3840
|
this.api = api;
|
|
3831
3841
|
this.route = route;
|
|
@@ -3842,9 +3852,9 @@ var Repository103 = class {
|
|
|
3842
3852
|
// src/modules/user/theme.ts
|
|
3843
3853
|
var theme_exports = {};
|
|
3844
3854
|
__export(theme_exports, {
|
|
3845
|
-
default: () =>
|
|
3855
|
+
default: () => Repository105
|
|
3846
3856
|
});
|
|
3847
|
-
var
|
|
3857
|
+
var Repository105 = class {
|
|
3848
3858
|
constructor({ api, route, publicRoute }) {
|
|
3849
3859
|
this.api = api;
|
|
3850
3860
|
this.route = route;
|
|
@@ -3858,9 +3868,9 @@ var Repository104 = class {
|
|
|
3858
3868
|
// src/modules/stock/dashboard.ts
|
|
3859
3869
|
var dashboard_exports = {};
|
|
3860
3870
|
__export(dashboard_exports, {
|
|
3861
|
-
default: () =>
|
|
3871
|
+
default: () => Repository106
|
|
3862
3872
|
});
|
|
3863
|
-
var
|
|
3873
|
+
var Repository106 = class {
|
|
3864
3874
|
constructor({ api, route, publicRoute }) {
|
|
3865
3875
|
this.api = api;
|
|
3866
3876
|
this.route = route;
|
|
@@ -3875,9 +3885,9 @@ var Repository105 = class {
|
|
|
3875
3885
|
// src/modules/stock/chatRapidMessage.ts
|
|
3876
3886
|
var chatRapidMessage_exports = {};
|
|
3877
3887
|
__export(chatRapidMessage_exports, {
|
|
3878
|
-
default: () =>
|
|
3888
|
+
default: () => Repository107
|
|
3879
3889
|
});
|
|
3880
|
-
var
|
|
3890
|
+
var Repository107 = class {
|
|
3881
3891
|
constructor({ api, route, publicRoute }) {
|
|
3882
3892
|
this.api = api;
|
|
3883
3893
|
this.route = route;
|
|
@@ -3907,9 +3917,9 @@ var Repository106 = class {
|
|
|
3907
3917
|
// src/modules/stock/sideMenu.ts
|
|
3908
3918
|
var sideMenu_exports = {};
|
|
3909
3919
|
__export(sideMenu_exports, {
|
|
3910
|
-
default: () =>
|
|
3920
|
+
default: () => Repository108
|
|
3911
3921
|
});
|
|
3912
|
-
var
|
|
3922
|
+
var Repository108 = class {
|
|
3913
3923
|
constructor({ api, route, publicRoute }) {
|
|
3914
3924
|
this.api = api;
|
|
3915
3925
|
this.route = route;
|
|
@@ -3940,9 +3950,9 @@ var Repository107 = class {
|
|
|
3940
3950
|
// src/modules/view/errorLog.ts
|
|
3941
3951
|
var errorLog_exports = {};
|
|
3942
3952
|
__export(errorLog_exports, {
|
|
3943
|
-
default: () =>
|
|
3953
|
+
default: () => Repository109
|
|
3944
3954
|
});
|
|
3945
|
-
var
|
|
3955
|
+
var Repository109 = class {
|
|
3946
3956
|
constructor({ api, route, publicRoute }) {
|
|
3947
3957
|
this.api = api;
|
|
3948
3958
|
this.route = route;
|
|
@@ -3956,9 +3966,9 @@ var Repository108 = class {
|
|
|
3956
3966
|
// src/modules/view/adminPanel.ts
|
|
3957
3967
|
var adminPanel_exports = {};
|
|
3958
3968
|
__export(adminPanel_exports, {
|
|
3959
|
-
default: () =>
|
|
3969
|
+
default: () => Repository110
|
|
3960
3970
|
});
|
|
3961
|
-
var
|
|
3971
|
+
var Repository110 = class {
|
|
3962
3972
|
constructor({ api, route, publicRoute }) {
|
|
3963
3973
|
this.api = api;
|
|
3964
3974
|
this.route = route;
|
|
@@ -3973,9 +3983,9 @@ var Repository109 = class {
|
|
|
3973
3983
|
// src/modules/supply/documentLineRm.ts
|
|
3974
3984
|
var documentLineRm_exports = {};
|
|
3975
3985
|
__export(documentLineRm_exports, {
|
|
3976
|
-
default: () =>
|
|
3986
|
+
default: () => Repository111
|
|
3977
3987
|
});
|
|
3978
|
-
var
|
|
3988
|
+
var Repository111 = class {
|
|
3979
3989
|
constructor({ api, route, publicRoute }) {
|
|
3980
3990
|
this.api = api;
|
|
3981
3991
|
this.route = route;
|
|
@@ -3995,9 +4005,9 @@ var Repository110 = class {
|
|
|
3995
4005
|
// src/modules/supply/documentLineMt.ts
|
|
3996
4006
|
var documentLineMt_exports = {};
|
|
3997
4007
|
__export(documentLineMt_exports, {
|
|
3998
|
-
default: () =>
|
|
4008
|
+
default: () => Repository112
|
|
3999
4009
|
});
|
|
4000
|
-
var
|
|
4010
|
+
var Repository112 = class {
|
|
4001
4011
|
constructor({ api, route, publicRoute }) {
|
|
4002
4012
|
this.api = api;
|
|
4003
4013
|
this.route = route;
|
|
@@ -4017,9 +4027,9 @@ var Repository111 = class {
|
|
|
4017
4027
|
// src/modules/user/chatSubscriber.ts
|
|
4018
4028
|
var chatSubscriber_exports = {};
|
|
4019
4029
|
__export(chatSubscriber_exports, {
|
|
4020
|
-
default: () =>
|
|
4030
|
+
default: () => Repository113
|
|
4021
4031
|
});
|
|
4022
|
-
var
|
|
4032
|
+
var Repository113 = class {
|
|
4023
4033
|
constructor({ api, route, publicRoute }) {
|
|
4024
4034
|
this.api = api;
|
|
4025
4035
|
this.route = route;
|
|
@@ -4046,6 +4056,33 @@ var Repository112 = class {
|
|
|
4046
4056
|
}
|
|
4047
4057
|
};
|
|
4048
4058
|
|
|
4059
|
+
// src/modules/stock/tag.ts
|
|
4060
|
+
var tag_exports = {};
|
|
4061
|
+
__export(tag_exports, {
|
|
4062
|
+
default: () => Repository114
|
|
4063
|
+
});
|
|
4064
|
+
var Repository114 = class {
|
|
4065
|
+
constructor({ api, route, publicRoute }) {
|
|
4066
|
+
this.api = api;
|
|
4067
|
+
this.route = route;
|
|
4068
|
+
this.publicRoute = publicRoute;
|
|
4069
|
+
}
|
|
4070
|
+
async create(body) {
|
|
4071
|
+
const response = await this.api.post(`${this.route}`, body);
|
|
4072
|
+
return response.data;
|
|
4073
|
+
}
|
|
4074
|
+
async findByDocumentHeaderId(selector) {
|
|
4075
|
+
const response = await this.api.get(`${this.route}document_header_id/${selector.id}`);
|
|
4076
|
+
return response.data;
|
|
4077
|
+
}
|
|
4078
|
+
async updateMany(body) {
|
|
4079
|
+
await this.api.put(`${this.route}update_many`, body);
|
|
4080
|
+
}
|
|
4081
|
+
async delete(selector) {
|
|
4082
|
+
await this.api.delete(`${this.route}${selector.id}`);
|
|
4083
|
+
}
|
|
4084
|
+
};
|
|
4085
|
+
|
|
4049
4086
|
// src/main.ts
|
|
4050
4087
|
var API = class {
|
|
4051
4088
|
constructor({ processEnvironment, services, gatewayUrl, apikey, tokenBearer }) {
|
|
@@ -4087,153 +4124,157 @@ var API = class {
|
|
|
4087
4124
|
this.Commissioner = new Repository5(getModuleParams("users", "commissioner"));
|
|
4088
4125
|
this.Country = new Repository6(getModuleParams("users", "country"));
|
|
4089
4126
|
this.DocumentHeader = new Repository7(getModuleParams("stock", "document_header"));
|
|
4090
|
-
this.
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
this.
|
|
4127
|
+
this.DocumentHeaderHistory = new Repository8(
|
|
4128
|
+
getModuleParams("stock", "document_header_history")
|
|
4129
|
+
);
|
|
4130
|
+
this.BillOfLading = new Repository9(getModuleParams("stock", "document_header"));
|
|
4131
|
+
this.ProductionOrder = new Repository10(getModuleParams("stock", "document_header"));
|
|
4132
|
+
this.Proforma = new Repository11(getModuleParams("stock", "document_header"));
|
|
4133
|
+
this.PropostaFornecedor = new Repository12(
|
|
4094
4134
|
getModuleParams("stock", "document_header")
|
|
4095
4135
|
);
|
|
4096
|
-
this.ProviderCreditNoteFromReturn = new
|
|
4136
|
+
this.ProviderCreditNoteFromReturn = new Repository13(
|
|
4097
4137
|
getModuleParams("stock", "document_header")
|
|
4098
4138
|
);
|
|
4099
|
-
this.ProviderFinancialCreditNote = new
|
|
4139
|
+
this.ProviderFinancialCreditNote = new Repository14(
|
|
4100
4140
|
getModuleParams("stock", "document_header")
|
|
4101
4141
|
);
|
|
4102
|
-
this.ProviderServiceInvoice = new
|
|
4142
|
+
this.ProviderServiceInvoice = new Repository15(
|
|
4103
4143
|
getModuleParams("stock", "document_header")
|
|
4104
4144
|
);
|
|
4105
|
-
this.DocumentLine = new
|
|
4106
|
-
this.DocumentLineAssoc = new
|
|
4145
|
+
this.DocumentLine = new Repository16(getModuleParams("stock", "document_line"));
|
|
4146
|
+
this.DocumentLineAssoc = new Repository17(
|
|
4107
4147
|
getModuleParams("stock", "document_line_assoc")
|
|
4108
4148
|
);
|
|
4109
|
-
this.DocumentType = new
|
|
4110
|
-
this.Favorites = new
|
|
4111
|
-
this.File = new
|
|
4112
|
-
this.GoogleSheets = new
|
|
4113
|
-
this.GroupPermissions = new
|
|
4114
|
-
this.Language = new
|
|
4115
|
-
this.Location = new
|
|
4116
|
-
this.Logout = new
|
|
4117
|
-
this.Multimedia = new
|
|
4118
|
-
this.Observation = new
|
|
4119
|
-
this.ObservationType = new
|
|
4149
|
+
this.DocumentType = new Repository18(getModuleParams("stock", "document_type"));
|
|
4150
|
+
this.Favorites = new Repository19(getModuleParams("users", "favorite"));
|
|
4151
|
+
this.File = new Repository20(getModuleParams("stock", "file"));
|
|
4152
|
+
this.GoogleSheets = new Repository21(getModuleParams("integration", "google"));
|
|
4153
|
+
this.GroupPermissions = new Repository22(getModuleParams("users", "group_permission"));
|
|
4154
|
+
this.Language = new Repository23(getModuleParams("users", "language"));
|
|
4155
|
+
this.Location = new Repository24(getModuleParams("stock", "location"));
|
|
4156
|
+
this.Logout = new Repository25(getModuleParams("users", "logout"));
|
|
4157
|
+
this.Multimedia = new Repository26(getModuleParams("documents", "multimedia"));
|
|
4158
|
+
this.Observation = new Repository27(getModuleParams("integration", "observation"));
|
|
4159
|
+
this.ObservationType = new Repository28(
|
|
4120
4160
|
getModuleParams("integration", "observation_type")
|
|
4121
4161
|
);
|
|
4122
|
-
this.Password = new
|
|
4123
|
-
this.Permissions = new
|
|
4124
|
-
this.ProductImage = new
|
|
4125
|
-
this.Promotion = new
|
|
4126
|
-
this.PromotionAssoc = new
|
|
4127
|
-
this.Providers = new
|
|
4128
|
-
this.ProviderType = new
|
|
4129
|
-
this.PurchaseConditions = new
|
|
4162
|
+
this.Password = new Repository29(getModuleParams("users", "password"));
|
|
4163
|
+
this.Permissions = new Repository30(getModuleParams("users", "permission"));
|
|
4164
|
+
this.ProductImage = new Repository31(getModuleParams("stock", "product_image"));
|
|
4165
|
+
this.Promotion = new Repository32(getModuleParams("stock", "promotion"));
|
|
4166
|
+
this.PromotionAssoc = new Repository33(getModuleParams("stock", "promotion_assoc"));
|
|
4167
|
+
this.Providers = new Repository34(getModuleParams("users", "provider"));
|
|
4168
|
+
this.ProviderType = new Repository35(getModuleParams("users", "provider_type"));
|
|
4169
|
+
this.PurchaseConditions = new Repository36(
|
|
4130
4170
|
getModuleParams("users", "purchase_condition")
|
|
4131
4171
|
);
|
|
4132
|
-
this.ReasonForExemption = new
|
|
4172
|
+
this.ReasonForExemption = new Repository37(
|
|
4133
4173
|
getModuleParams("users", "reason_for_exemption")
|
|
4134
4174
|
);
|
|
4135
|
-
this.RefreshToken = new
|
|
4136
|
-
this.SegmentsArea = new
|
|
4137
|
-
this.Sessions = new
|
|
4138
|
-
this.Shippings = new
|
|
4139
|
-
this.StoreOperator = new
|
|
4140
|
-
this.Swift = new
|
|
4141
|
-
this.TypeOfLocation = new
|
|
4142
|
-
this.UnitOfMeasure = new
|
|
4143
|
-
this.UserPermissions = new
|
|
4144
|
-
this.UserPositions = new
|
|
4145
|
-
this.Users = new
|
|
4146
|
-
this.VatTax = new
|
|
4147
|
-
this.VatTaxZone = new
|
|
4148
|
-
this.Workflow = new
|
|
4149
|
-
this.DeliveryMethods = new
|
|
4150
|
-
this.MaturityDates = new
|
|
4151
|
-
this.PaymentMethods = new
|
|
4152
|
-
this.Vehicles = new
|
|
4153
|
-
this.ExternalDocumentType = new
|
|
4175
|
+
this.RefreshToken = new Repository38(getModuleParams("users", "refresh-token"));
|
|
4176
|
+
this.SegmentsArea = new Repository39(getModuleParams("users", "segments_area"));
|
|
4177
|
+
this.Sessions = new Repository40(getModuleParams("users", "sessions"));
|
|
4178
|
+
this.Shippings = new Repository41(getModuleParams("users", "shipping"));
|
|
4179
|
+
this.StoreOperator = new Repository42(getModuleParams("users", "store_operator"));
|
|
4180
|
+
this.Swift = new Repository43(getModuleParams("users", "swift"));
|
|
4181
|
+
this.TypeOfLocation = new Repository44(getModuleParams("stock", "type_of_location"));
|
|
4182
|
+
this.UnitOfMeasure = new Repository45(getModuleParams("stock", "unit_of_measure"));
|
|
4183
|
+
this.UserPermissions = new Repository46(getModuleParams("users", "user_permission"));
|
|
4184
|
+
this.UserPositions = new Repository47(getModuleParams("users", "user_position"));
|
|
4185
|
+
this.Users = new Repository48(getModuleParams("users", "users"));
|
|
4186
|
+
this.VatTax = new Repository49(getModuleParams("stock", "vat_tax"));
|
|
4187
|
+
this.VatTaxZone = new Repository50(getModuleParams("stock", "vat_tax_zone"));
|
|
4188
|
+
this.Workflow = new Repository51(getModuleParams("stock", "workflow"));
|
|
4189
|
+
this.DeliveryMethods = new Repository52(getModuleParams("users", "delivery_methods"));
|
|
4190
|
+
this.MaturityDates = new Repository53(getModuleParams("users", "maturity_dates"));
|
|
4191
|
+
this.PaymentMethods = new Repository54(getModuleParams("users", "payment_methods"));
|
|
4192
|
+
this.Vehicles = new Repository55(getModuleParams("users", "vehicles"));
|
|
4193
|
+
this.ExternalDocumentType = new Repository56(
|
|
4154
4194
|
getModuleParams("stock", "external_document_type")
|
|
4155
4195
|
);
|
|
4156
|
-
this.DocumentSet = new
|
|
4157
|
-
this.Payment = new
|
|
4158
|
-
this.ExternalDocumentHeader = new
|
|
4196
|
+
this.DocumentSet = new Repository57(getModuleParams("stock", "document_set"));
|
|
4197
|
+
this.Payment = new Repository58(getModuleParams("stock", "payment"));
|
|
4198
|
+
this.ExternalDocumentHeader = new Repository59(
|
|
4159
4199
|
getModuleParams("stock", "external_document_header")
|
|
4160
4200
|
);
|
|
4161
|
-
this.VatValidation = new
|
|
4162
|
-
this.StockMovement = new
|
|
4163
|
-
this.ZipCode = new
|
|
4164
|
-
this.Tenant = new
|
|
4165
|
-
this.PreSale = new
|
|
4166
|
-
this.PreSaleProduct = new
|
|
4167
|
-
this.OrderManagement = new
|
|
4168
|
-
this.Npc = new
|
|
4169
|
-
this.Printer = new
|
|
4170
|
-
this.SchedulePrintJob = new
|
|
4201
|
+
this.VatValidation = new Repository60(getModuleParams("stock", "vat_validation"));
|
|
4202
|
+
this.StockMovement = new Repository61(getModuleParams("stock", "stock_movement"));
|
|
4203
|
+
this.ZipCode = new Repository62(getModuleParams("users", "zip_code"));
|
|
4204
|
+
this.Tenant = new Repository63(getModuleParams("users", "tenant"));
|
|
4205
|
+
this.PreSale = new Repository64(getModuleParams("stock", "pre_sale"));
|
|
4206
|
+
this.PreSaleProduct = new Repository65(getModuleParams("stock", "pre_sale_product"));
|
|
4207
|
+
this.OrderManagement = new Repository66(getModuleParams("stock", "order_management"));
|
|
4208
|
+
this.Npc = new Repository67(getModuleParams("print", "npc"));
|
|
4209
|
+
this.Printer = new Repository68(getModuleParams("print", "printer"));
|
|
4210
|
+
this.SchedulePrintJob = new Repository69(
|
|
4171
4211
|
getModuleParams("print", "schedule_print_job")
|
|
4172
4212
|
);
|
|
4173
|
-
this.QueryList = new
|
|
4174
|
-
this.QueryParameter = new
|
|
4175
|
-
this.ReturnReason = new
|
|
4176
|
-
this.PropostaSheets = new
|
|
4177
|
-
this.Schedule = new
|
|
4178
|
-
this.GoogleFilePermission = new
|
|
4213
|
+
this.QueryList = new Repository70(getModuleParams("stock", "query"));
|
|
4214
|
+
this.QueryParameter = new Repository71(getModuleParams("stock", "query_parameter"));
|
|
4215
|
+
this.ReturnReason = new Repository72(getModuleParams("stock", "return_reason"));
|
|
4216
|
+
this.PropostaSheets = new Repository73(getModuleParams("stock", "proposta_sheets"));
|
|
4217
|
+
this.Schedule = new Repository74(getModuleParams("stock", "schedule"));
|
|
4218
|
+
this.GoogleFilePermission = new Repository75(
|
|
4179
4219
|
getModuleParams("integration", "google_file_permission")
|
|
4180
4220
|
);
|
|
4181
|
-
this.Settings = new
|
|
4182
|
-
this.Tickets = new
|
|
4183
|
-
this.Channel = new
|
|
4184
|
-
this.TicketsLanguage = new
|
|
4185
|
-
this.Clt = new
|
|
4186
|
-
this.StartDocumentHeaderLastUpdate = new
|
|
4221
|
+
this.Settings = new Repository76(getModuleParams("integration", "settings"));
|
|
4222
|
+
this.Tickets = new Repository77(getModuleParams("tickets", "tickets"));
|
|
4223
|
+
this.Channel = new Repository78(getModuleParams("tickets", "channel"));
|
|
4224
|
+
this.TicketsLanguage = new Repository79(getModuleParams("tickets", "tickets_language"));
|
|
4225
|
+
this.Clt = new Repository80(getModuleParams("tickets", "clt"));
|
|
4226
|
+
this.StartDocumentHeaderLastUpdate = new Repository81(
|
|
4187
4227
|
getModuleParams("stock", "start_document_header_last_update")
|
|
4188
4228
|
);
|
|
4189
|
-
this.Persona = new
|
|
4190
|
-
this.ProjectInfo = new
|
|
4191
|
-
this.Order = new
|
|
4192
|
-
this.Purchase = new
|
|
4193
|
-
this.MaterialEntrance = new
|
|
4229
|
+
this.Persona = new Repository82(getModuleParams("users", "persona"));
|
|
4230
|
+
this.ProjectInfo = new Repository83(getModuleParams("integration", "project_info"));
|
|
4231
|
+
this.Order = new Repository84(getModuleParams("stock", "order"));
|
|
4232
|
+
this.Purchase = new Repository85(getModuleParams("stock", "purchase"));
|
|
4233
|
+
this.MaterialEntrance = new Repository86(
|
|
4194
4234
|
getModuleParams("stock", "material_entrance")
|
|
4195
4235
|
);
|
|
4196
|
-
this.Transformado = new
|
|
4197
|
-
this.UpfrontReturn = new
|
|
4198
|
-
this.SavedEmPicking = new
|
|
4199
|
-
this.EmailTemplate = new
|
|
4200
|
-
this.EmailTemplateAttachment = new
|
|
4236
|
+
this.Transformado = new Repository87(getModuleParams("stock", "transformado"));
|
|
4237
|
+
this.UpfrontReturn = new Repository88(getModuleParams("stock", "upfront_return"));
|
|
4238
|
+
this.SavedEmPicking = new Repository89(getModuleParams("stock", "saved_em_picking"));
|
|
4239
|
+
this.EmailTemplate = new Repository90(getModuleParams("integration", "email_template"));
|
|
4240
|
+
this.EmailTemplateAttachment = new Repository91(
|
|
4201
4241
|
getModuleParams("integration", "email_template_attachment")
|
|
4202
4242
|
);
|
|
4203
|
-
this.Prison = new
|
|
4204
|
-
this.Quebra = new
|
|
4205
|
-
this.Inventario = new
|
|
4206
|
-
this.ReturnToProvider = new
|
|
4243
|
+
this.Prison = new Repository92(getModuleParams("stock", "prison"));
|
|
4244
|
+
this.Quebra = new Repository93(getModuleParams("stock", "quebra"));
|
|
4245
|
+
this.Inventario = new Repository94(getModuleParams("stock", "inventario"));
|
|
4246
|
+
this.ReturnToProvider = new Repository95(
|
|
4207
4247
|
getModuleParams("stock", "return_to_provider")
|
|
4208
4248
|
);
|
|
4209
|
-
this.EmailVerification = new
|
|
4249
|
+
this.EmailVerification = new Repository96(
|
|
4210
4250
|
getModuleParams("integration", "email_verification")
|
|
4211
4251
|
);
|
|
4212
|
-
this.EmailLog = new
|
|
4213
|
-
this.DocumentLineNote = new
|
|
4252
|
+
this.EmailLog = new Repository97(getModuleParams("integration", "email_log"));
|
|
4253
|
+
this.DocumentLineNote = new Repository98(
|
|
4214
4254
|
getModuleParams("stock", "document_line_note")
|
|
4215
4255
|
);
|
|
4216
|
-
this.SavedProviderProposal = new
|
|
4256
|
+
this.SavedProviderProposal = new Repository99(
|
|
4217
4257
|
getModuleParams("stock", "saved_provider_proposal")
|
|
4218
4258
|
);
|
|
4219
|
-
this.ProductGoogleSheets = new
|
|
4259
|
+
this.ProductGoogleSheets = new Repository100(
|
|
4220
4260
|
getModuleParams("stock", "product_google")
|
|
4221
4261
|
);
|
|
4222
|
-
this.Task = new
|
|
4223
|
-
this.TaskMessage = new
|
|
4224
|
-
this.RecurrentTasks = new
|
|
4225
|
-
this.TaskRead = new
|
|
4226
|
-
this.Theme = new
|
|
4227
|
-
this.Dashboard = new
|
|
4228
|
-
this.ChatRapidMessage = new
|
|
4262
|
+
this.Task = new Repository101(getModuleParams("stock", "task"));
|
|
4263
|
+
this.TaskMessage = new Repository102(getModuleParams("stock", "task_message"));
|
|
4264
|
+
this.RecurrentTasks = new Repository103(getModuleParams("stock", "recurrent_tasks"));
|
|
4265
|
+
this.TaskRead = new Repository104(getModuleParams("stock", "task_read"));
|
|
4266
|
+
this.Theme = new Repository105(getModuleParams("users", "theme"));
|
|
4267
|
+
this.Dashboard = new Repository106(getModuleParams("stock", "dashboard"));
|
|
4268
|
+
this.ChatRapidMessage = new Repository107(
|
|
4229
4269
|
getModuleParams("stock", "chat_rapid_message")
|
|
4230
4270
|
);
|
|
4231
|
-
this.SideMenu = new
|
|
4232
|
-
this.ErrorLog = new
|
|
4233
|
-
this.AdminPanel = new
|
|
4234
|
-
this.DocumentLineRm = new
|
|
4235
|
-
this.DocumentLineMt = new
|
|
4236
|
-
this.ChatSubscriber = new
|
|
4271
|
+
this.SideMenu = new Repository108(getModuleParams("stock", "side_menu"));
|
|
4272
|
+
this.ErrorLog = new Repository109(getModuleParams("view", "error_log"));
|
|
4273
|
+
this.AdminPanel = new Repository110(getModuleParams("view", "admin_panel"));
|
|
4274
|
+
this.DocumentLineRm = new Repository111(getModuleParams("stock", "document_line_rm"));
|
|
4275
|
+
this.DocumentLineMt = new Repository112(getModuleParams("stock", "document_line_mt"));
|
|
4276
|
+
this.ChatSubscriber = new Repository113(getModuleParams("users", "chat_subscriber"));
|
|
4277
|
+
this.Tag = new Repository114(getModuleParams("stock", "tag"));
|
|
4237
4278
|
}
|
|
4238
4279
|
};
|
|
4239
4280
|
|