@placeshakr/config 10.19.13-alpha.0 → 10.19.13-alpha.7
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 +59 -15
- 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 +59 -15
- package/dist/config.esm.js.map +1 -1
- package/dist/environment/base.d.ts.map +1 -1
- package/dist/environment/decorators.d.ts.map +1 -1
- package/dist/environment/types.d.ts +7 -3
- package/dist/environment/types.d.ts.map +1 -1
- package/dist/helpers/index.d.ts +3 -0
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/types.d.ts +155 -24
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/environment/base.ts +14 -11
- package/src/environment/decorators.ts +2 -0
- package/src/environment/types.ts +7 -3
- package/src/helpers/index.ts +7 -1
- package/src/types.ts +164 -17
|
@@ -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',
|
|
@@ -162,7 +162,9 @@ var productionEnvironment = {
|
|
|
162
162
|
nomenclatures: 'enterprises/{enterpriseId}/nomenclatures',
|
|
163
163
|
operationsCatalogs: 'enterprises/{enterpriseId}/operationsCatalogs',
|
|
164
164
|
operationsGroups: 'enterprises/{enterpriseId}/operationsGroups',
|
|
165
|
-
devisVersions: 'enterprises/{enterpriseId}/projects/{projectId}/devis/{devisId}/versions'
|
|
165
|
+
devisVersions: 'enterprises/{enterpriseId}/projects/{projectId}/devis/{devisId}/versions',
|
|
166
|
+
enterpriseDocuments: 'enterprises/{enterpriseId}/documents',
|
|
167
|
+
enterpriseMedias: 'enterprises/{enterpriseId}/medias'
|
|
166
168
|
},
|
|
167
169
|
docs: {
|
|
168
170
|
user: 'users/{userId}',
|
|
@@ -179,6 +181,7 @@ var productionEnvironment = {
|
|
|
179
181
|
medias: 'enterprises/{enterpriseId}/projects/{projectId}/medias/{mediaId}',
|
|
180
182
|
events: 'enterprises/{enterpriseId}/projects/{projectId}/events/{eventId}',
|
|
181
183
|
notes: 'enterprises/{enterpriseId}/projects/{projectId}/notes/{noteId}',
|
|
184
|
+
visitReports: 'enterprises/{enterpriseId}/projects/{projectId}/visitReports/{visitReportId}',
|
|
182
185
|
documents: 'enterprises/{enterpriseId}/projects/{projectId}/documents/{documentId}',
|
|
183
186
|
devis: 'enterprises/{enterpriseId}/projects/{projectId}/devis/{devisId}',
|
|
184
187
|
admin: 'enterprises/{enterpriseId}/admins/{adminId}',
|
|
@@ -186,7 +189,6 @@ var productionEnvironment = {
|
|
|
186
189
|
taskGroup: 'enterprises/{enterpriseId}/projects/{projectId}/taskGroups/{taskGroupId}',
|
|
187
190
|
task: 'enterprises/{enterpriseId}/projects/{projectId}/tasks/{taskId}',
|
|
188
191
|
externalPlans: 'enterprises/{enterpriseId}/projects/{projectId}/externalPlans/{externalPlanId}',
|
|
189
|
-
payments: 'enterprises/{enterpriseId}/projects/{projectId}/payments/{paymentId}',
|
|
190
192
|
downPayments: 'enterprises/{enterpriseId}/projects/{projectId}/downPayments/{downPaymentId}',
|
|
191
193
|
paymentMethods: 'enterprises/{enterpriseId}/paymentMethods/{paymentMethodId}',
|
|
192
194
|
provider: 'enterprises/{enterpriseId}/providers/{providerId}',
|
|
@@ -207,7 +209,9 @@ var productionEnvironment = {
|
|
|
207
209
|
nomenclatures: 'enterprises/{enterpriseId}/nomenclatures/{nomenclatureId}',
|
|
208
210
|
operationsCatalogs: 'enterprises/{enterpriseId}/operationsCatalogs/{operationsCatalogId}',
|
|
209
211
|
operationsGroups: 'enterprises/{enterpriseId}/operationsGroups/{operationsGroupId}',
|
|
210
|
-
devisVersion: 'enterprises/{enterpriseId}/projects/{projectId}/devis/{devisId}/versions/{versionId}'
|
|
212
|
+
devisVersion: 'enterprises/{enterpriseId}/projects/{projectId}/devis/{devisId}/versions/{versionId}',
|
|
213
|
+
enterpriseDocument: 'enterprises/{enterpriseId}/documents/{documentId}',
|
|
214
|
+
enterpriseMedia: 'enterprises/{enterpriseId}/medias/{mediaId}'
|
|
211
215
|
},
|
|
212
216
|
indexes: {
|
|
213
217
|
users: 'users',
|
|
@@ -222,6 +226,7 @@ var productionEnvironment = {
|
|
|
222
226
|
medias: 'projects-medias',
|
|
223
227
|
events: 'projects-events',
|
|
224
228
|
notes: 'projects-notes',
|
|
229
|
+
visitReports: 'projects-visitReports',
|
|
225
230
|
documents: 'projects-documents',
|
|
226
231
|
devis: 'projects-devis',
|
|
227
232
|
admins: 'admins',
|
|
@@ -229,7 +234,6 @@ var productionEnvironment = {
|
|
|
229
234
|
taskGroups: 'projects-taskGroups',
|
|
230
235
|
tasks: 'projects-tasks',
|
|
231
236
|
externalPlans: 'projects-externalPlans',
|
|
232
|
-
payments: 'projects-payments',
|
|
233
237
|
downPayments: 'projects-downPayments',
|
|
234
238
|
providers: 'providers',
|
|
235
239
|
statuses: 'statuses',
|
|
@@ -352,6 +356,13 @@ var productionEnvironment = {
|
|
|
352
356
|
maxValuesPerFacet: 1000,
|
|
353
357
|
maxFacetHits: 100
|
|
354
358
|
},
|
|
359
|
+
visitReports: {
|
|
360
|
+
searchableAttributes: ['title'],
|
|
361
|
+
attributesForFaceting: ['projectId', 'searchable(scope)'],
|
|
362
|
+
ranking: ['desc(createdAt)'],
|
|
363
|
+
maxValuesPerFacet: 1000,
|
|
364
|
+
maxFacetHits: 100
|
|
365
|
+
},
|
|
355
366
|
medias: {
|
|
356
367
|
searchableAttributes: ['name'],
|
|
357
368
|
attributesForFaceting: ['owner', 'searchable(tags)', 'projectId', 'searchable(scope)', 'createdDate'],
|
|
@@ -394,13 +405,6 @@ var productionEnvironment = {
|
|
|
394
405
|
maxValuesPerFacet: 1000,
|
|
395
406
|
maxFacetHits: 100
|
|
396
407
|
},
|
|
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
408
|
downPayments: {
|
|
405
409
|
searchableAttributes: ['percent', 'devisId', 'projectId', 'billId', 'locked'],
|
|
406
410
|
attributesForFaceting: ['searchable(billId)', 'searchable(locked)', 'searchable(devisId)', 'searchable(projectId)', 'searchable(scope)'],
|
|
@@ -593,6 +597,7 @@ var test = function test(base) {
|
|
|
593
597
|
medias: 'tests-projects-medias',
|
|
594
598
|
events: 'tests-projects-events',
|
|
595
599
|
notes: 'tests-projects-notes',
|
|
600
|
+
visitReports: 'tests-projects-visit-reports',
|
|
596
601
|
documents: 'tests-projects-documents',
|
|
597
602
|
devis: 'tests-projects-devis',
|
|
598
603
|
admins: 'tests-admins',
|
|
@@ -649,6 +654,7 @@ var emulator = function emulator(base) {
|
|
|
649
654
|
medias: 'emulator-projects-medias',
|
|
650
655
|
events: 'emulator-projects-events',
|
|
651
656
|
notes: 'emulator-projects-notes',
|
|
657
|
+
visitReports: 'emulator-projects-visit-reports',
|
|
652
658
|
documents: 'emulator-projects-documents',
|
|
653
659
|
devis: 'emulator-projects-devis',
|
|
654
660
|
admins: 'emulator-admins',
|
|
@@ -746,6 +752,7 @@ var helpers = {
|
|
|
746
752
|
profiles: /*#__PURE__*/FactoryCreateFunction(),
|
|
747
753
|
projects: /*#__PURE__*/FactoryCreateFunction(),
|
|
748
754
|
notes: /*#__PURE__*/FactoryCreateFunction(),
|
|
755
|
+
visitReports: /*#__PURE__*/FactoryCreateFunction(),
|
|
749
756
|
materials: /*#__PURE__*/FactoryCreateFunction(),
|
|
750
757
|
medias: /*#__PURE__*/FactoryCreateFunction(),
|
|
751
758
|
plans: /*#__PURE__*/FactoryCreateFunction(),
|
|
@@ -775,7 +782,9 @@ var helpers = {
|
|
|
775
782
|
nomenclatures: /*#__PURE__*/FactoryCreateFunction(),
|
|
776
783
|
operationsCatalog: /*#__PURE__*/FactoryCreateFunction(),
|
|
777
784
|
operationsGroups: /*#__PURE__*/FactoryCreateFunction(),
|
|
778
|
-
devisVersions: /*#__PURE__*/FactoryCreateFunction()
|
|
785
|
+
devisVersions: /*#__PURE__*/FactoryCreateFunction(),
|
|
786
|
+
enterpriseDocuments: /*#__PURE__*/FactoryCreateFunction(),
|
|
787
|
+
enterpriseMedias: /*#__PURE__*/FactoryCreateFunction()
|
|
779
788
|
};
|
|
780
789
|
|
|
781
790
|
/**
|
|
@@ -1402,6 +1411,21 @@ var ROLE;
|
|
|
1402
1411
|
ROLE["SUPERADMIN"] = "superadmin";
|
|
1403
1412
|
})(ROLE || (ROLE = {}));
|
|
1404
1413
|
|
|
1414
|
+
var VisitReportStatus;
|
|
1415
|
+
|
|
1416
|
+
(function (VisitReportStatus) {
|
|
1417
|
+
VisitReportStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
1418
|
+
VisitReportStatus["VALID"] = "VALID";
|
|
1419
|
+
})(VisitReportStatus || (VisitReportStatus = {}));
|
|
1420
|
+
|
|
1421
|
+
var DevisCommissionsEntity;
|
|
1422
|
+
|
|
1423
|
+
(function (DevisCommissionsEntity) {
|
|
1424
|
+
DevisCommissionsEntity["pro"] = "pro";
|
|
1425
|
+
DevisCommissionsEntity["provider"] = "provider";
|
|
1426
|
+
DevisCommissionsEntity["enterprise"] = "enterprise";
|
|
1427
|
+
})(DevisCommissionsEntity || (DevisCommissionsEntity = {}));
|
|
1428
|
+
|
|
1405
1429
|
var DevisHistoryType;
|
|
1406
1430
|
|
|
1407
1431
|
(function (DevisHistoryType) {
|
|
@@ -1526,11 +1550,11 @@ var BillIssuedStatus;
|
|
|
1526
1550
|
|
|
1527
1551
|
(function (BillIssuedStatus) {
|
|
1528
1552
|
BillIssuedStatus["PROVISIONAL"] = "PROVISIONAL";
|
|
1553
|
+
BillIssuedStatus["WAITING"] = "WAITING";
|
|
1529
1554
|
BillIssuedStatus["CREATED"] = "CREATED";
|
|
1530
1555
|
BillIssuedStatus["SENT"] = "SENT";
|
|
1531
|
-
BillIssuedStatus["WAITING"] = "WAITING";
|
|
1532
|
-
BillIssuedStatus["BLOCKED"] = "BLOCKED";
|
|
1533
1556
|
BillIssuedStatus["PAID"] = "PAID";
|
|
1557
|
+
BillIssuedStatus["BLOCKED"] = "BLOCKED";
|
|
1534
1558
|
BillIssuedStatus["CANCELED"] = "CANCELED";
|
|
1535
1559
|
})(BillIssuedStatus || (BillIssuedStatus = {}));
|
|
1536
1560
|
|
|
@@ -1910,6 +1934,8 @@ var CategoryEntityEnum;
|
|
|
1910
1934
|
(function (CategoryEntityEnum) {
|
|
1911
1935
|
CategoryEntityEnum["MATERIAL"] = "MATERIAL";
|
|
1912
1936
|
CategoryEntityEnum["OPERATION"] = "OPERATION";
|
|
1937
|
+
CategoryEntityEnum["RESOURCE_LIBRARY"] = "RESOURCE_LIBRARY";
|
|
1938
|
+
CategoryEntityEnum["IMAGE_LIBRARY"] = "IMAGE_LIBRARY";
|
|
1913
1939
|
})(CategoryEntityEnum || (CategoryEntityEnum = {}));
|
|
1914
1940
|
|
|
1915
1941
|
var NomenclaturesIdentifier;
|
|
@@ -1931,6 +1957,21 @@ var NomenclaturesIdentifier;
|
|
|
1931
1957
|
NomenclaturesIdentifier["PAYMENT_PLANNING"] = "PAYMENT_PLANNING";
|
|
1932
1958
|
})(NomenclaturesIdentifier || (NomenclaturesIdentifier = {}));
|
|
1933
1959
|
|
|
1960
|
+
var BarCodeEnum;
|
|
1961
|
+
|
|
1962
|
+
(function (BarCodeEnum) {
|
|
1963
|
+
BarCodeEnum["CODE128"] = "code128";
|
|
1964
|
+
BarCodeEnum["EAN13"] = "ean13";
|
|
1965
|
+
BarCodeEnum["EAN8"] = "ean8";
|
|
1966
|
+
BarCodeEnum["EAN5"] = "ean5";
|
|
1967
|
+
BarCodeEnum["EAN2"] = "ean2";
|
|
1968
|
+
BarCodeEnum["UPC"] = "upc";
|
|
1969
|
+
BarCodeEnum["CODE39"] = "code39";
|
|
1970
|
+
BarCodeEnum["ITF14"] = "itf14";
|
|
1971
|
+
BarCodeEnum["MSI"] = "msi";
|
|
1972
|
+
BarCodeEnum["PHARMACODE"] = "pharmacode";
|
|
1973
|
+
})(BarCodeEnum || (BarCodeEnum = {}));
|
|
1974
|
+
|
|
1934
1975
|
var OperationQuantityEnum;
|
|
1935
1976
|
|
|
1936
1977
|
(function (OperationQuantityEnum) {
|
|
@@ -1979,6 +2020,8 @@ var DevisFormatEnum;
|
|
|
1979
2020
|
var types = {
|
|
1980
2021
|
__proto__: null,
|
|
1981
2022
|
get ROLE () { return ROLE; },
|
|
2023
|
+
get VisitReportStatus () { return VisitReportStatus; },
|
|
2024
|
+
get DevisCommissionsEntity () { return DevisCommissionsEntity; },
|
|
1982
2025
|
get DevisHistoryType () { return DevisHistoryType; },
|
|
1983
2026
|
get MaterialsProviderType () { return MaterialsProviderType; },
|
|
1984
2027
|
get ProjectType () { return ProjectType; },
|
|
@@ -2028,6 +2071,7 @@ var types = {
|
|
|
2028
2071
|
get HistoryEntityType () { return HistoryEntityType; },
|
|
2029
2072
|
get CategoryEntityEnum () { return CategoryEntityEnum; },
|
|
2030
2073
|
get NomenclaturesIdentifier () { return NomenclaturesIdentifier; },
|
|
2074
|
+
get BarCodeEnum () { return BarCodeEnum; },
|
|
2031
2075
|
get OperationQuantityEnum () { return OperationQuantityEnum; },
|
|
2032
2076
|
get OperationRulesEnum () { return OperationRulesEnum; },
|
|
2033
2077
|
get ItemResponsible () { return ItemResponsible; },
|