@placeshakr/config 10.19.12 → 10.19.13-alpha.4
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/config.cjs.development.js +45 -23
- package/dist/config.cjs.development.js.map +1 -1
- package/dist/config.cjs.production.min.js +1 -1
- package/dist/config.cjs.production.min.js.map +1 -1
- package/dist/config.esm.js +45 -23
- package/dist/config.esm.js.map +1 -1
- package/dist/environment/decorators.d.ts.map +1 -1
- package/dist/environment/types.d.ts +3 -3
- package/dist/environment/types.d.ts.map +1 -1
- package/dist/helpers/index.d.ts +1 -0
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/types.d.ts +137 -17
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/environment/base.ts +13 -13
- package/src/environment/decorators.ts +2 -0
- package/src/environment/types.ts +3 -3
- package/src/helpers/index.ts +2 -0
- package/src/types.ts +145 -15
package/dist/config.esm.js
CHANGED
|
@@ -133,6 +133,7 @@ var productionEnvironment = {
|
|
|
133
133
|
medias: 'enterprises/{enterpriseId}/projects/{projectId}/medias',
|
|
134
134
|
events: 'enterprises/{enterpriseId}/projects/{projectId}/events',
|
|
135
135
|
notes: 'enterprises/{enterpriseId}/projects/{projectId}/notes',
|
|
136
|
+
visitReports: 'enterprises/{enterpriseId}/projects/{projectId}/visitReports',
|
|
136
137
|
documents: 'enterprises/{enterpriseId}/projects/{projectId}/documents',
|
|
137
138
|
devis: 'enterprises/{enterpriseId}/projects/{projectId}/devis',
|
|
138
139
|
admins: 'enterprises/{enterpriseId}/admins',
|
|
@@ -140,7 +141,6 @@ var productionEnvironment = {
|
|
|
140
141
|
taskGroups: 'enterprises/{enterpriseId}/projects/{projectId}/taskGroups',
|
|
141
142
|
tasks: 'enterprises/{enterpriseId}/projects/{projectId}/tasks',
|
|
142
143
|
externalPlans: 'enterprises/{enterpriseId}/projects/{projectId}/externalPlans',
|
|
143
|
-
payments: 'enterprises/{enterpriseId}/projects/{projectId}/payments',
|
|
144
144
|
downPayments: 'enterprises/{enterpriseId}/projects/{projectId}/downPayments',
|
|
145
145
|
providers: 'enterprises/{enterpriseId}/providers',
|
|
146
146
|
statuses: 'enterprises/{enterpriseId}/statuses',
|
|
@@ -177,6 +177,7 @@ var productionEnvironment = {
|
|
|
177
177
|
medias: 'enterprises/{enterpriseId}/projects/{projectId}/medias/{mediaId}',
|
|
178
178
|
events: 'enterprises/{enterpriseId}/projects/{projectId}/events/{eventId}',
|
|
179
179
|
notes: 'enterprises/{enterpriseId}/projects/{projectId}/notes/{noteId}',
|
|
180
|
+
visitReports: 'enterprises/{enterpriseId}/projects/{projectId}/visitReports/{visitReportId}',
|
|
180
181
|
documents: 'enterprises/{enterpriseId}/projects/{projectId}/documents/{documentId}',
|
|
181
182
|
devis: 'enterprises/{enterpriseId}/projects/{projectId}/devis/{devisId}',
|
|
182
183
|
admin: 'enterprises/{enterpriseId}/admins/{adminId}',
|
|
@@ -184,7 +185,6 @@ var productionEnvironment = {
|
|
|
184
185
|
taskGroup: 'enterprises/{enterpriseId}/projects/{projectId}/taskGroups/{taskGroupId}',
|
|
185
186
|
task: 'enterprises/{enterpriseId}/projects/{projectId}/tasks/{taskId}',
|
|
186
187
|
externalPlans: 'enterprises/{enterpriseId}/projects/{projectId}/externalPlans/{externalPlanId}',
|
|
187
|
-
payments: 'enterprises/{enterpriseId}/projects/{projectId}/payments/{paymentId}',
|
|
188
188
|
downPayments: 'enterprises/{enterpriseId}/projects/{projectId}/downPayments/{downPaymentId}',
|
|
189
189
|
paymentMethods: 'enterprises/{enterpriseId}/paymentMethods/{paymentMethodId}',
|
|
190
190
|
provider: 'enterprises/{enterpriseId}/providers/{providerId}',
|
|
@@ -220,6 +220,7 @@ var productionEnvironment = {
|
|
|
220
220
|
medias: 'projects-medias',
|
|
221
221
|
events: 'projects-events',
|
|
222
222
|
notes: 'projects-notes',
|
|
223
|
+
visitReports: 'projects-visitReports',
|
|
223
224
|
documents: 'projects-documents',
|
|
224
225
|
devis: 'projects-devis',
|
|
225
226
|
admins: 'admins',
|
|
@@ -227,7 +228,6 @@ var productionEnvironment = {
|
|
|
227
228
|
taskGroups: 'projects-taskGroups',
|
|
228
229
|
tasks: 'projects-tasks',
|
|
229
230
|
externalPlans: 'projects-externalPlans',
|
|
230
|
-
payments: 'projects-payments',
|
|
231
231
|
downPayments: 'projects-downPayments',
|
|
232
232
|
providers: 'providers',
|
|
233
233
|
statuses: 'statuses',
|
|
@@ -325,7 +325,7 @@ var productionEnvironment = {
|
|
|
325
325
|
},
|
|
326
326
|
operations: {
|
|
327
327
|
searchableAttributes: ['name', 'unitPrice', 'objectID'],
|
|
328
|
-
attributesForFaceting: ['searchable(lot)', '
|
|
328
|
+
attributesForFaceting: ['unitPrice', 'searchable(lot)', 'searchable(scope)', 'searchable(catalogId)', 'searchable(category)'],
|
|
329
329
|
maxValuesPerFacet: 1000,
|
|
330
330
|
maxFacetHits: 100
|
|
331
331
|
},
|
|
@@ -350,6 +350,13 @@ var productionEnvironment = {
|
|
|
350
350
|
maxValuesPerFacet: 1000,
|
|
351
351
|
maxFacetHits: 100
|
|
352
352
|
},
|
|
353
|
+
visitReports: {
|
|
354
|
+
searchableAttributes: ['title'],
|
|
355
|
+
attributesForFaceting: ['projectId', 'searchable(scope)'],
|
|
356
|
+
ranking: ['desc(createdAt)'],
|
|
357
|
+
maxValuesPerFacet: 1000,
|
|
358
|
+
maxFacetHits: 100
|
|
359
|
+
},
|
|
353
360
|
medias: {
|
|
354
361
|
searchableAttributes: ['name'],
|
|
355
362
|
attributesForFaceting: ['owner', 'searchable(tags)', 'projectId', 'searchable(scope)', 'createdDate'],
|
|
@@ -392,13 +399,6 @@ var productionEnvironment = {
|
|
|
392
399
|
maxValuesPerFacet: 1000,
|
|
393
400
|
maxFacetHits: 100
|
|
394
401
|
},
|
|
395
|
-
payments: {
|
|
396
|
-
searchableAttributes: ['percent', 'devisId', 'projectId'],
|
|
397
|
-
attributesForFaceting: ['searchable(devisId)', 'searchable(projectId)', 'searchable(scope)'],
|
|
398
|
-
ranking: ['asc(date)'],
|
|
399
|
-
maxValuesPerFacet: 1000,
|
|
400
|
-
maxFacetHits: 100
|
|
401
|
-
},
|
|
402
402
|
downPayments: {
|
|
403
403
|
searchableAttributes: ['percent', 'devisId', 'projectId', 'billId', 'locked'],
|
|
404
404
|
attributesForFaceting: ['searchable(billId)', 'searchable(locked)', 'searchable(devisId)', 'searchable(projectId)', 'searchable(scope)'],
|
|
@@ -591,6 +591,7 @@ var test = function test(base) {
|
|
|
591
591
|
medias: 'tests-projects-medias',
|
|
592
592
|
events: 'tests-projects-events',
|
|
593
593
|
notes: 'tests-projects-notes',
|
|
594
|
+
visitReports: 'tests-projects-visit-reports',
|
|
594
595
|
documents: 'tests-projects-documents',
|
|
595
596
|
devis: 'tests-projects-devis',
|
|
596
597
|
admins: 'tests-admins',
|
|
@@ -647,6 +648,7 @@ var emulator = function emulator(base) {
|
|
|
647
648
|
medias: 'emulator-projects-medias',
|
|
648
649
|
events: 'emulator-projects-events',
|
|
649
650
|
notes: 'emulator-projects-notes',
|
|
651
|
+
visitReports: 'emulator-projects-visit-reports',
|
|
650
652
|
documents: 'emulator-projects-documents',
|
|
651
653
|
devis: 'emulator-projects-devis',
|
|
652
654
|
admins: 'emulator-admins',
|
|
@@ -746,6 +748,7 @@ var helpers = {
|
|
|
746
748
|
profiles: /*#__PURE__*/FactoryCreateFunction(),
|
|
747
749
|
projects: /*#__PURE__*/FactoryCreateFunction(),
|
|
748
750
|
notes: /*#__PURE__*/FactoryCreateFunction(),
|
|
751
|
+
visitReports: /*#__PURE__*/FactoryCreateFunction(),
|
|
749
752
|
materials: /*#__PURE__*/FactoryCreateFunction(),
|
|
750
753
|
medias: /*#__PURE__*/FactoryCreateFunction(),
|
|
751
754
|
plans: /*#__PURE__*/FactoryCreateFunction(),
|
|
@@ -1402,6 +1405,13 @@ var ROLE$1;
|
|
|
1402
1405
|
ROLE["SUPERADMIN"] = "superadmin";
|
|
1403
1406
|
})(ROLE$1 || (ROLE$1 = {}));
|
|
1404
1407
|
|
|
1408
|
+
var VisitReportStatus;
|
|
1409
|
+
|
|
1410
|
+
(function (VisitReportStatus) {
|
|
1411
|
+
VisitReportStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
1412
|
+
VisitReportStatus["VALID"] = "VALID";
|
|
1413
|
+
})(VisitReportStatus || (VisitReportStatus = {}));
|
|
1414
|
+
|
|
1405
1415
|
var DevisHistoryType;
|
|
1406
1416
|
|
|
1407
1417
|
(function (DevisHistoryType) {
|
|
@@ -1485,6 +1495,15 @@ var DevisViewMode;
|
|
|
1485
1495
|
DevisViewMode[DevisViewMode["CLIENT"] = 3] = "CLIENT";
|
|
1486
1496
|
})(DevisViewMode || (DevisViewMode = {}));
|
|
1487
1497
|
|
|
1498
|
+
var DevisPdfSectionEnum;
|
|
1499
|
+
|
|
1500
|
+
(function (DevisPdfSectionEnum) {
|
|
1501
|
+
DevisPdfSectionEnum["FINANCIAL_HELP"] = "FINANCIAL_HELP";
|
|
1502
|
+
DevisPdfSectionEnum["PROJECT"] = "PROJECT";
|
|
1503
|
+
DevisPdfSectionEnum["CLIENT"] = "CLIENT";
|
|
1504
|
+
DevisPdfSectionEnum["PROJECT_MANAGER"] = "PROJECT_MANAGER";
|
|
1505
|
+
})(DevisPdfSectionEnum || (DevisPdfSectionEnum = {}));
|
|
1506
|
+
|
|
1488
1507
|
var DocumentsTypeEnum;
|
|
1489
1508
|
|
|
1490
1509
|
(function (DocumentsTypeEnum) {
|
|
@@ -1517,11 +1536,11 @@ var BillIssuedStatus;
|
|
|
1517
1536
|
|
|
1518
1537
|
(function (BillIssuedStatus) {
|
|
1519
1538
|
BillIssuedStatus["PROVISIONAL"] = "PROVISIONAL";
|
|
1539
|
+
BillIssuedStatus["WAITING"] = "WAITING";
|
|
1520
1540
|
BillIssuedStatus["CREATED"] = "CREATED";
|
|
1521
1541
|
BillIssuedStatus["SENT"] = "SENT";
|
|
1522
|
-
BillIssuedStatus["WAITING"] = "WAITING";
|
|
1523
|
-
BillIssuedStatus["BLOCKED"] = "BLOCKED";
|
|
1524
1542
|
BillIssuedStatus["PAID"] = "PAID";
|
|
1543
|
+
BillIssuedStatus["BLOCKED"] = "BLOCKED";
|
|
1525
1544
|
BillIssuedStatus["CANCELED"] = "CANCELED";
|
|
1526
1545
|
})(BillIssuedStatus || (BillIssuedStatus = {}));
|
|
1527
1546
|
|
|
@@ -1940,16 +1959,17 @@ var OperationRulesEnum;
|
|
|
1940
1959
|
OperationRulesEnum["BETWEEN"] = "BETWEEN";
|
|
1941
1960
|
})(OperationRulesEnum || (OperationRulesEnum = {}));
|
|
1942
1961
|
|
|
1943
|
-
var
|
|
1962
|
+
var ItemResponsible;
|
|
1944
1963
|
|
|
1945
|
-
(function (
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1964
|
+
(function (ItemResponsible) {
|
|
1965
|
+
ItemResponsible["NONE"] = "NONE";
|
|
1966
|
+
ItemResponsible["CLIENT"] = "CLIENT";
|
|
1967
|
+
ItemResponsible["PRO"] = "PRO";
|
|
1968
|
+
ItemResponsible["AGENT"] = "AGENT";
|
|
1969
|
+
ItemResponsible["SELLER"] = "SELLER";
|
|
1970
|
+
ItemResponsible["ENTERPRISE"] = "ENTERPRISE";
|
|
1971
|
+
ItemResponsible["PROVIDER"] = "PROVIDER";
|
|
1972
|
+
})(ItemResponsible || (ItemResponsible = {}));
|
|
1953
1973
|
|
|
1954
1974
|
var ProjectPriceTypeEnum;
|
|
1955
1975
|
|
|
@@ -1969,6 +1989,7 @@ var DevisFormatEnum;
|
|
|
1969
1989
|
var types = {
|
|
1970
1990
|
__proto__: null,
|
|
1971
1991
|
get ROLE () { return ROLE$1; },
|
|
1992
|
+
get VisitReportStatus () { return VisitReportStatus; },
|
|
1972
1993
|
get DevisHistoryType () { return DevisHistoryType; },
|
|
1973
1994
|
get MaterialsProviderType () { return MaterialsProviderType; },
|
|
1974
1995
|
get ProjectType () { return ProjectType; },
|
|
@@ -1978,6 +1999,7 @@ var types = {
|
|
|
1978
1999
|
get DevisStatusEnum () { return DevisStatusEnum; },
|
|
1979
2000
|
get DevisTypeEnum () { return DevisTypeEnum; },
|
|
1980
2001
|
get DevisViewMode () { return DevisViewMode; },
|
|
2002
|
+
get DevisPdfSectionEnum () { return DevisPdfSectionEnum; },
|
|
1981
2003
|
get DocumentsTypeEnum () { return DocumentsTypeEnum; },
|
|
1982
2004
|
get EventsTypeEnum () { return EventsTypeEnum; },
|
|
1983
2005
|
get ExternalPlanTypeEnum () { return ExternalPlanTypeEnum; },
|
|
@@ -2019,7 +2041,7 @@ var types = {
|
|
|
2019
2041
|
get NomenclaturesIdentifier () { return NomenclaturesIdentifier; },
|
|
2020
2042
|
get OperationQuantityEnum () { return OperationQuantityEnum; },
|
|
2021
2043
|
get OperationRulesEnum () { return OperationRulesEnum; },
|
|
2022
|
-
get
|
|
2044
|
+
get ItemResponsible () { return ItemResponsible; },
|
|
2023
2045
|
get ProjectPriceTypeEnum () { return ProjectPriceTypeEnum; },
|
|
2024
2046
|
get DevisFormatEnum () { return DevisFormatEnum; }
|
|
2025
2047
|
};
|