@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
|
@@ -135,6 +135,7 @@ var productionEnvironment = {
|
|
|
135
135
|
medias: 'enterprises/{enterpriseId}/projects/{projectId}/medias',
|
|
136
136
|
events: 'enterprises/{enterpriseId}/projects/{projectId}/events',
|
|
137
137
|
notes: 'enterprises/{enterpriseId}/projects/{projectId}/notes',
|
|
138
|
+
visitReports: 'enterprises/{enterpriseId}/projects/{projectId}/visitReports',
|
|
138
139
|
documents: 'enterprises/{enterpriseId}/projects/{projectId}/documents',
|
|
139
140
|
devis: 'enterprises/{enterpriseId}/projects/{projectId}/devis',
|
|
140
141
|
admins: 'enterprises/{enterpriseId}/admins',
|
|
@@ -142,7 +143,6 @@ var productionEnvironment = {
|
|
|
142
143
|
taskGroups: 'enterprises/{enterpriseId}/projects/{projectId}/taskGroups',
|
|
143
144
|
tasks: 'enterprises/{enterpriseId}/projects/{projectId}/tasks',
|
|
144
145
|
externalPlans: 'enterprises/{enterpriseId}/projects/{projectId}/externalPlans',
|
|
145
|
-
payments: 'enterprises/{enterpriseId}/projects/{projectId}/payments',
|
|
146
146
|
downPayments: 'enterprises/{enterpriseId}/projects/{projectId}/downPayments',
|
|
147
147
|
providers: 'enterprises/{enterpriseId}/providers',
|
|
148
148
|
statuses: 'enterprises/{enterpriseId}/statuses',
|
|
@@ -179,6 +179,7 @@ var productionEnvironment = {
|
|
|
179
179
|
medias: 'enterprises/{enterpriseId}/projects/{projectId}/medias/{mediaId}',
|
|
180
180
|
events: 'enterprises/{enterpriseId}/projects/{projectId}/events/{eventId}',
|
|
181
181
|
notes: 'enterprises/{enterpriseId}/projects/{projectId}/notes/{noteId}',
|
|
182
|
+
visitReports: 'enterprises/{enterpriseId}/projects/{projectId}/visitReports/{visitReportId}',
|
|
182
183
|
documents: 'enterprises/{enterpriseId}/projects/{projectId}/documents/{documentId}',
|
|
183
184
|
devis: 'enterprises/{enterpriseId}/projects/{projectId}/devis/{devisId}',
|
|
184
185
|
admin: 'enterprises/{enterpriseId}/admins/{adminId}',
|
|
@@ -186,7 +187,6 @@ var productionEnvironment = {
|
|
|
186
187
|
taskGroup: 'enterprises/{enterpriseId}/projects/{projectId}/taskGroups/{taskGroupId}',
|
|
187
188
|
task: 'enterprises/{enterpriseId}/projects/{projectId}/tasks/{taskId}',
|
|
188
189
|
externalPlans: 'enterprises/{enterpriseId}/projects/{projectId}/externalPlans/{externalPlanId}',
|
|
189
|
-
payments: 'enterprises/{enterpriseId}/projects/{projectId}/payments/{paymentId}',
|
|
190
190
|
downPayments: 'enterprises/{enterpriseId}/projects/{projectId}/downPayments/{downPaymentId}',
|
|
191
191
|
paymentMethods: 'enterprises/{enterpriseId}/paymentMethods/{paymentMethodId}',
|
|
192
192
|
provider: 'enterprises/{enterpriseId}/providers/{providerId}',
|
|
@@ -222,6 +222,7 @@ var productionEnvironment = {
|
|
|
222
222
|
medias: 'projects-medias',
|
|
223
223
|
events: 'projects-events',
|
|
224
224
|
notes: 'projects-notes',
|
|
225
|
+
visitReports: 'projects-visitReports',
|
|
225
226
|
documents: 'projects-documents',
|
|
226
227
|
devis: 'projects-devis',
|
|
227
228
|
admins: 'admins',
|
|
@@ -229,7 +230,6 @@ var productionEnvironment = {
|
|
|
229
230
|
taskGroups: 'projects-taskGroups',
|
|
230
231
|
tasks: 'projects-tasks',
|
|
231
232
|
externalPlans: 'projects-externalPlans',
|
|
232
|
-
payments: 'projects-payments',
|
|
233
233
|
downPayments: 'projects-downPayments',
|
|
234
234
|
providers: 'providers',
|
|
235
235
|
statuses: 'statuses',
|
|
@@ -327,7 +327,7 @@ var productionEnvironment = {
|
|
|
327
327
|
},
|
|
328
328
|
operations: {
|
|
329
329
|
searchableAttributes: ['name', 'unitPrice', 'objectID'],
|
|
330
|
-
attributesForFaceting: ['searchable(lot)', '
|
|
330
|
+
attributesForFaceting: ['unitPrice', 'searchable(lot)', 'searchable(scope)', 'searchable(catalogId)', 'searchable(category)'],
|
|
331
331
|
maxValuesPerFacet: 1000,
|
|
332
332
|
maxFacetHits: 100
|
|
333
333
|
},
|
|
@@ -352,6 +352,13 @@ var productionEnvironment = {
|
|
|
352
352
|
maxValuesPerFacet: 1000,
|
|
353
353
|
maxFacetHits: 100
|
|
354
354
|
},
|
|
355
|
+
visitReports: {
|
|
356
|
+
searchableAttributes: ['title'],
|
|
357
|
+
attributesForFaceting: ['projectId', 'searchable(scope)'],
|
|
358
|
+
ranking: ['desc(createdAt)'],
|
|
359
|
+
maxValuesPerFacet: 1000,
|
|
360
|
+
maxFacetHits: 100
|
|
361
|
+
},
|
|
355
362
|
medias: {
|
|
356
363
|
searchableAttributes: ['name'],
|
|
357
364
|
attributesForFaceting: ['owner', 'searchable(tags)', 'projectId', 'searchable(scope)', 'createdDate'],
|
|
@@ -394,13 +401,6 @@ var productionEnvironment = {
|
|
|
394
401
|
maxValuesPerFacet: 1000,
|
|
395
402
|
maxFacetHits: 100
|
|
396
403
|
},
|
|
397
|
-
payments: {
|
|
398
|
-
searchableAttributes: ['percent', 'devisId', 'projectId'],
|
|
399
|
-
attributesForFaceting: ['searchable(devisId)', 'searchable(projectId)', 'searchable(scope)'],
|
|
400
|
-
ranking: ['asc(date)'],
|
|
401
|
-
maxValuesPerFacet: 1000,
|
|
402
|
-
maxFacetHits: 100
|
|
403
|
-
},
|
|
404
404
|
downPayments: {
|
|
405
405
|
searchableAttributes: ['percent', 'devisId', 'projectId', 'billId', 'locked'],
|
|
406
406
|
attributesForFaceting: ['searchable(billId)', 'searchable(locked)', 'searchable(devisId)', 'searchable(projectId)', 'searchable(scope)'],
|
|
@@ -593,6 +593,7 @@ var test = function test(base) {
|
|
|
593
593
|
medias: 'tests-projects-medias',
|
|
594
594
|
events: 'tests-projects-events',
|
|
595
595
|
notes: 'tests-projects-notes',
|
|
596
|
+
visitReports: 'tests-projects-visit-reports',
|
|
596
597
|
documents: 'tests-projects-documents',
|
|
597
598
|
devis: 'tests-projects-devis',
|
|
598
599
|
admins: 'tests-admins',
|
|
@@ -649,6 +650,7 @@ var emulator = function emulator(base) {
|
|
|
649
650
|
medias: 'emulator-projects-medias',
|
|
650
651
|
events: 'emulator-projects-events',
|
|
651
652
|
notes: 'emulator-projects-notes',
|
|
653
|
+
visitReports: 'emulator-projects-visit-reports',
|
|
652
654
|
documents: 'emulator-projects-documents',
|
|
653
655
|
devis: 'emulator-projects-devis',
|
|
654
656
|
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;
|
|
|
1402
1405
|
ROLE["SUPERADMIN"] = "superadmin";
|
|
1403
1406
|
})(ROLE || (ROLE = {}));
|
|
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; },
|
|
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
|
};
|