@placeshakr/config 10.19.19 → 10.19.21-alpha.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.
@@ -164,7 +164,8 @@ var productionEnvironment = {
164
164
  operationsGroups: 'enterprises/{enterpriseId}/operationsGroups',
165
165
  devisVersions: 'enterprises/{enterpriseId}/projects/{projectId}/devis/{devisId}/versions',
166
166
  enterpriseDocuments: 'enterprises/{enterpriseId}/documents',
167
- enterpriseMedias: 'enterprises/{enterpriseId}/medias'
167
+ enterpriseMedias: 'enterprises/{enterpriseId}/medias',
168
+ configurations: 'enterprises/{enterpriseId}/configurations'
168
169
  },
169
170
  docs: {
170
171
  user: 'users/{userId}',
@@ -211,7 +212,8 @@ var productionEnvironment = {
211
212
  operationsGroups: 'enterprises/{enterpriseId}/operationsGroups/{operationsGroupId}',
212
213
  devisVersion: 'enterprises/{enterpriseId}/projects/{projectId}/devis/{devisId}/versions/{versionId}',
213
214
  enterpriseDocument: 'enterprises/{enterpriseId}/documents/{documentId}',
214
- enterpriseMedia: 'enterprises/{enterpriseId}/medias/{mediaId}'
215
+ enterpriseMedia: 'enterprises/{enterpriseId}/medias/{mediaId}',
216
+ configuration: 'enterprises/{enterpriseId}/configurations/{configurationId}'
215
217
  },
216
218
  indexes: {
217
219
  users: 'users',
@@ -292,7 +294,7 @@ var productionEnvironment = {
292
294
  maxFacetHits: 100
293
295
  },
294
296
  admins: {
295
- searchableAttributes: ['email', 'displayName', 'address', 'phone.mobile', 'jobTitle'],
297
+ searchableAttributes: ['email', 'displayName', 'address', 'phone.mobile', 'jobTitle', 'status'],
296
298
  attributesForFaceting: ['active', 'searchable(email)', 'searchable(userId)', 'searchable(scope)'],
297
299
  maxValuesPerFacet: 1000,
298
300
  maxFacetHits: 100
@@ -784,7 +786,8 @@ var helpers = {
784
786
  operationsGroups: /*#__PURE__*/FactoryCreateFunction(),
785
787
  devisVersions: /*#__PURE__*/FactoryCreateFunction(),
786
788
  enterpriseDocuments: /*#__PURE__*/FactoryCreateFunction(),
787
- enterpriseMedias: /*#__PURE__*/FactoryCreateFunction()
789
+ enterpriseMedias: /*#__PURE__*/FactoryCreateFunction(),
790
+ configurations: /*#__PURE__*/FactoryCreateFunction()
788
791
  };
789
792
 
790
793
  /**
@@ -1833,6 +1836,15 @@ var LateInterest;
1833
1836
  LateInterest["SPECIFY"] = "specify";
1834
1837
  })(LateInterest || (LateInterest = {}));
1835
1838
 
1839
+ var ProfileStatus;
1840
+
1841
+ (function (ProfileStatus) {
1842
+ ProfileStatus["ACTIVE"] = "active";
1843
+ ProfileStatus["INACTIVE"] = "inactive";
1844
+ ProfileStatus["BLOCKED"] = "blocked";
1845
+ ProfileStatus["SUSPENDED"] = "suspended";
1846
+ })(ProfileStatus || (ProfileStatus = {}));
1847
+
1836
1848
  var EstimationOriginEnum;
1837
1849
 
1838
1850
  (function (EstimationOriginEnum) {
@@ -1938,6 +1950,7 @@ var HistoryActionEnum;
1938
1950
  HistoryActionEnum["CREATE_PLAN"] = "CREATE_PLAN";
1939
1951
  HistoryActionEnum["VALIDATE_PLAN"] = "VALIDATE_PLAN";
1940
1952
  HistoryActionEnum["INVALIDATE_PLAN"] = "INVALIDATE_PLAN";
1953
+ HistoryActionEnum["EDIT_USER_STATUS"] = "EDIT_USER_STATUS";
1941
1954
  })(HistoryActionEnum || (HistoryActionEnum = {}));
1942
1955
 
1943
1956
  var HistoryEntityType;
@@ -1951,6 +1964,7 @@ var HistoryEntityType;
1951
1964
  HistoryEntityType["EVENT"] = "EVENT";
1952
1965
  HistoryEntityType["MEDIA"] = "MEDIA";
1953
1966
  HistoryEntityType["DEVIS"] = "DEVIS";
1967
+ HistoryEntityType["PROFILE"] = "PROFILE";
1954
1968
  })(HistoryEntityType || (HistoryEntityType = {}));
1955
1969
 
1956
1970
  var CategoryEntityEnum;
@@ -2050,6 +2064,26 @@ var DevisFormatEnum;
2050
2064
  DevisFormatEnum["LOT"] = "LOT";
2051
2065
  })(DevisFormatEnum || (DevisFormatEnum = {}));
2052
2066
 
2067
+ var ConfigurationsIdentifier;
2068
+
2069
+ (function (ConfigurationsIdentifier) {
2070
+ ConfigurationsIdentifier["ADMIN_FORM"] = "ADMIN_FORM";
2071
+ ConfigurationsIdentifier["AGENTS_FORM"] = "AGENTS_FORM";
2072
+ })(ConfigurationsIdentifier || (ConfigurationsIdentifier = {}));
2073
+
2074
+ var ConfigurationFieldType;
2075
+
2076
+ (function (ConfigurationFieldType) {
2077
+ ConfigurationFieldType["TEXT"] = "users.admins.configPanel.inputType.text";
2078
+ ConfigurationFieldType["PASSWORD"] = "users.admins.configPanel.inputType.password";
2079
+ ConfigurationFieldType["CHECKBOX"] = "users.admins.configPanel.inputType.checkbox";
2080
+ ConfigurationFieldType["EMAIL"] = "users.admins.configPanel.inputType.email";
2081
+ ConfigurationFieldType["FILE"] = "users.admins.configPanel.inputType.file";
2082
+ ConfigurationFieldType["SELECT_ONE"] = "users.admins.configPanel.inputType.selectOne";
2083
+ ConfigurationFieldType["SELECT_MULTI"] = "users.admins.configPanel.inputType.selectMulti";
2084
+ ConfigurationFieldType["GOOGLE_LOCATION"] = "users.admins.configPanel.inputType.googleLocation";
2085
+ })(ConfigurationFieldType || (ConfigurationFieldType = {}));
2086
+
2053
2087
  var types = {
2054
2088
  __proto__: null,
2055
2089
  get ROLE () { return ROLE; },
@@ -2094,6 +2128,7 @@ var types = {
2094
2128
  get TermsOfPayment () { return TermsOfPayment; },
2095
2129
  get PaymentChoice () { return PaymentChoice; },
2096
2130
  get LateInterest () { return LateInterest; },
2131
+ get ProfileStatus () { return ProfileStatus; },
2097
2132
  get EstimationOriginEnum () { return EstimationOriginEnum; },
2098
2133
  get EstimationTypeEnum () { return EstimationTypeEnum; },
2099
2134
  get EmailTemplate () { return EmailTemplate; },
@@ -2112,7 +2147,9 @@ var types = {
2112
2147
  get OperationRulesEnum () { return OperationRulesEnum; },
2113
2148
  get ItemResponsible () { return ItemResponsible; },
2114
2149
  get ProjectPriceTypeEnum () { return ProjectPriceTypeEnum; },
2115
- get DevisFormatEnum () { return DevisFormatEnum; }
2150
+ get DevisFormatEnum () { return DevisFormatEnum; },
2151
+ get ConfigurationsIdentifier () { return ConfigurationsIdentifier; },
2152
+ get ConfigurationFieldType () { return ConfigurationFieldType; }
2116
2153
  };
2117
2154
 
2118
2155
  function isBuffer(obj) {