opengate-js 12.12.2 → 12.13.0

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.
Files changed (523) hide show
  1. package/bower.json +1 -1
  2. package/dist/{opengate-api-bower-12.12.2.js → opengate-api-bower-12.13.0.js} +894 -260
  3. package/dist/opengate-api-bower-12.13.0.js.map +1 -0
  4. package/dist/{opengate-api-bower-12.12.2.min.js → opengate-api-bower-12.13.0.min.js} +36 -35
  5. package/dist/opengate-api-bower-12.13.0.min.js.map +1 -0
  6. package/dist/src/GenericFinder.js +6 -1
  7. package/dist/src/GenericFinder.js.map +1 -1
  8. package/dist/src/InternalOpenGateAPI.js +47 -3
  9. package/dist/src/InternalOpenGateAPI.js.map +1 -1
  10. package/dist/src/connectorsFunctions/_CONNECTOR_FUNCTIONS_ENUMS.js.map +1 -0
  11. package/dist/src/connectorsFunctions/catalog/ConnectorFunctions.js +381 -0
  12. package/dist/src/connectorsFunctions/catalog/ConnectorFunctions.js.map +1 -0
  13. package/dist/src/connectorsFunctions/catalog/ConnectorFunctionsCatalog.js +57 -0
  14. package/dist/src/connectorsFunctions/catalog/ConnectorFunctionsCatalog.js.map +1 -0
  15. package/dist/src/connectorsFunctions/catalog/ConnectorFunctionsCatalogFinder.js +54 -0
  16. package/dist/src/connectorsFunctions/catalog/ConnectorFunctionsCatalogFinder.js.map +1 -0
  17. package/dist/src/{connectorsFunctionsConfiguration → connectorsFunctions/configuration}/ConnectorFunctions.js +5 -5
  18. package/dist/src/connectorsFunctions/configuration/ConnectorFunctions.js.map +1 -0
  19. package/dist/src/{connectorsFunctionsConfiguration → connectorsFunctions/configuration}/ConnectorFunctionsFinder.js +20 -21
  20. package/dist/src/{connectorsFunctionsConfiguration → connectorsFunctions/configuration}/ConnectorFunctionsFinder.js.map +1 -1
  21. package/dist/src/{connectorsFunctionsConfiguration → connectorsFunctions/configuration}/ConnectorFunctionsHelper.js +4 -4
  22. package/dist/src/connectorsFunctions/configuration/ConnectorFunctionsHelper.js.map +1 -0
  23. package/dist/src/organizations/Organizations.js +1 -1
  24. package/dist/src/provision/BaseProvision.js +81 -0
  25. package/dist/src/provision/BaseProvision.js.map +1 -1
  26. package/dist/src/util/NorthAmpliaREST.js +5 -1
  27. package/dist/src/util/NorthAmpliaREST.js.map +1 -1
  28. package/docs/ast/source/GenericFinder.js.json +7284 -6207
  29. package/docs/ast/source/InternalOpenGateAPI.js.json +27881 -25642
  30. package/docs/ast/source/connectorsFunctions/catalog/ConnectorFunctions.js.json +43680 -0
  31. package/docs/ast/source/connectorsFunctions/catalog/ConnectorFunctionsCatalog.js.json +2322 -0
  32. package/docs/ast/source/connectorsFunctions/catalog/ConnectorFunctionsCatalogFinder.js.json +2238 -0
  33. package/docs/ast/source/{connectorsFunctionsConfiguration → connectorsFunctions/configuration}/ConnectorFunctions.js.json +4654 -4654
  34. package/docs/ast/source/{connectorsFunctionsConfiguration → connectorsFunctions/configuration}/ConnectorFunctionsFinder.js.json +1089 -1160
  35. package/docs/ast/source/{connectorsFunctionsConfiguration → connectorsFunctions/configuration}/ConnectorFunctionsHelper.js.json +1203 -1203
  36. package/docs/ast/source/organizations/Organizations.js.json +1246 -1246
  37. package/docs/ast/source/provision/BaseProvision.js.json +35717 -16241
  38. package/docs/ast/source/util/NorthAmpliaREST.js.json +1988 -1223
  39. package/docs/class/src/AIModels/AIModels.js~AIModels.html +7 -4
  40. package/docs/class/src/AIModels/AIModelsFinder.js~AIModelsFinder.html +7 -4
  41. package/docs/class/src/GenericFinder.js~GenericFinder.html +8 -5
  42. package/docs/class/src/InternalOpenGateAPI.js~InternalOpenGateAPI.html +433 -157
  43. package/docs/class/src/ProvisionGenericFinder.js~ProvisionGenericFinder.html +7 -4
  44. package/docs/class/src/alarms/AlarmActions.js~AlarmActions.html +7 -4
  45. package/docs/class/src/alarms/actions/Alarm.js~Operation.html +7 -4
  46. package/docs/class/src/alarms/actions/AlarmActionBuilder.js~AlarmActionBuilder.html +7 -4
  47. package/docs/class/src/alarms/actions/AlarmAttendBuilder.js~AlarmAttendBuilder.html +7 -4
  48. package/docs/class/src/alarms/actions/AlarmCloseBuilder.js~AlarmCloseBuilder.html +7 -4
  49. package/docs/class/src/areas/AreaFinder.js~AreaFinder.html +7 -4
  50. package/docs/class/src/areas/Areas.js~Areas.html +7 -4
  51. package/docs/class/src/bulk/BulkExecutionFinder.js~BulkExecutionFinder.html +7 -4
  52. package/docs/class/src/bulk/BulkFinder.js~BulkFinder.html +7 -4
  53. package/docs/class/src/bundles/BundleFinder.js~BundleFinder.html +7 -4
  54. package/docs/class/src/bundles/Bundles.js~Bundles.html +7 -4
  55. package/docs/class/src/bundles/deployment/DeploymentElement.js~DeploymentElement.html +7 -4
  56. package/docs/class/src/channels/ChannelFinder.js~ChannelFinder.html +7 -4
  57. package/docs/class/src/channels/Channels.js~Channels.html +7 -4
  58. package/docs/class/src/collection/devices/DeviceMessage.js~DeviceMessage.html +7 -4
  59. package/docs/class/src/collection/devices/collect/CommsModuleMessage.js~CommsModuleMessage.html +7 -4
  60. package/docs/class/src/collection/devices/collect/Datapoint.js~Datapoint.html +7 -4
  61. package/docs/class/src/collection/devices/collect/Datastreams.js~Datastream.html +7 -4
  62. package/docs/class/src/collection/devices/collect/Event.js~Event.html +7 -4
  63. package/docs/class/src/collection/devices/collect/Hardware.js~Hardware.html +7 -4
  64. package/docs/class/src/collection/devices/collect/Location.js~Location.html +7 -4
  65. package/docs/class/src/collection/devices/collect/Mobile.js~Mobile.html +7 -4
  66. package/docs/class/src/collection/devices/collect/PowerSupply.js~PowerSupply.html +7 -4
  67. package/docs/class/src/collection/devices/collect/Software.js~Software.html +7 -4
  68. package/docs/class/src/collection/devices/collect/Storage.js~Storage.html +7 -4
  69. package/docs/class/src/collection/devices/collect/Subscriber.js~Subscriber.html +7 -4
  70. package/docs/class/src/collection/devices/collect/Subscription.js~Subscription.html +7 -4
  71. package/docs/class/src/collection/devices/collect/Temperature.js~Temperature.html +7 -4
  72. package/docs/class/src/collection/devices/collect/Usage.js~Usage.html +7 -4
  73. package/docs/class/src/connectorsFunctions/catalog/ConnectorFunctions.js~ConnectorFunctions.html +2143 -0
  74. package/docs/class/src/connectorsFunctions/catalog/ConnectorFunctionsCatalog.js~ConnectorFunctionsCatalog.html +543 -0
  75. package/docs/class/src/connectorsFunctions/catalog/ConnectorFunctionsCatalogFinder.js~ConnectorFunctionsCatalogFinder.html +559 -0
  76. package/docs/class/src/{connectorsFunctionsConfiguration → connectorsFunctions/configuration}/ConnectorFunctions.js~ConnectorFunctions.html +68 -65
  77. package/docs/class/src/{connectorsFunctionsConfiguration → connectorsFunctions/configuration}/ConnectorFunctionsFinder.js~ConnectorFunctionsFinder.html +16 -13
  78. package/docs/class/src/{connectorsFunctionsConfiguration → connectorsFunctions/configuration}/ConnectorFunctionsHelper.js~ConnectorFunctionsHelper.html +22 -19
  79. package/docs/class/src/datasets/DatasetFinder.js~DatasetFinder.html +7 -4
  80. package/docs/class/src/datasets/Datasets.js~Datasets.html +7 -4
  81. package/docs/class/src/domains/Domains.js~Domains.html +7 -4
  82. package/docs/class/src/domains/DomainsFinder.js~DomainFinder.html +7 -4
  83. package/docs/class/src/entities/DeviceFinder.js~DeviceFinder.html +7 -4
  84. package/docs/class/src/entities/EntityFinder.js~EntityFinder.html +7 -4
  85. package/docs/class/src/entities/SubscribersFinder.js~SubscribersFinder.html +7 -4
  86. package/docs/class/src/entities/SubscriptionsFinder.js~SubscriptionsFinder.html +7 -4
  87. package/docs/class/src/entities/TicketFinder.js~TicketFinder.html +7 -4
  88. package/docs/class/src/geocluster/Geocluster.js~Geocluster.html +7 -4
  89. package/docs/class/src/geocluster/GeoclusterFinder.js~GeoclusterFinder.html +7 -4
  90. package/docs/class/src/iot/catalog/Category.js~Category.html +7 -4
  91. package/docs/class/src/iot/catalog/Datastream.js~Datastream.html +7 -4
  92. package/docs/class/src/iot/catalog/Qrating.js~Qrating.html +7 -4
  93. package/docs/class/src/iot/datamodels/Datamodels.js~Datamodels.html +7 -4
  94. package/docs/class/src/iot/datamodels/DatamodelsFinder.js~DatamodelsFinder.html +7 -4
  95. package/docs/class/src/iot/datamodels/DatamodelsHelper.js~DatamodelsHelper.html +7 -4
  96. package/docs/class/src/manufacturers/Manufacturer.js~Manufacturers.html +7 -4
  97. package/docs/class/src/manufacturers/ManufacturerFinder.js~ManufacturerFinder.html +7 -4
  98. package/docs/class/src/manufacturers/ManufacturerMedia.js~ManufacturerMedia.html +7 -4
  99. package/docs/class/src/manufacturers/Model.js~Models.html +7 -4
  100. package/docs/class/src/manufacturers/ModelFinder.js~ModelFinder.html +7 -4
  101. package/docs/class/src/manufacturers/ModelMedia.js~ModelMedia.html +7 -4
  102. package/docs/class/src/operationTypes/OperationType.js~OperationType.html +7 -4
  103. package/docs/class/src/operationTypes/OperationTypeCatalog.js~OperationTypesCatalog.html +7 -4
  104. package/docs/class/src/operationTypes/OperationTypeFinder.js~OperationTypeFinder.html +7 -4
  105. package/docs/class/src/operations/OperationActions.js~OperationActions.html +7 -4
  106. package/docs/class/src/operations/OperationFinder.js~OperationFinder.html +7 -4
  107. package/docs/class/src/operations/Operations.js~Operations.html +7 -4
  108. package/docs/class/src/operations/PeriodicityActions.js~PeriodicityActions.html +7 -4
  109. package/docs/class/src/operations/catalog/AppendEntitiesBy.js~AppendEntitiesBy.html +7 -4
  110. package/docs/class/src/operations/catalog/BaseOperationBuilder.js~BaseOperationBuilder.html +7 -4
  111. package/docs/class/src/operations/catalog/Operation.js~Operation.html +7 -4
  112. package/docs/class/src/operations/catalog/parameters/BaseParameterBuilderWithParent.js~BaseParameterBuilderWithParent.html +7 -4
  113. package/docs/class/src/operations/catalog/parameters/ParameterBuilderFactory.js~ParameterBuilderFactory.html +7 -4
  114. package/docs/class/src/operations/catalog/period/ExecuteEachBuilder.js~ExecuteEachBuilder.html +7 -4
  115. package/docs/class/src/operations/catalog/period/ExecuteEveryBuilder.js~ExecuteEveryBuilder.html +7 -4
  116. package/docs/class/src/operations/catalog/period/PeriodicityUpdateBuilder.js~PeriodicityUpdateBuilder.html +7 -4
  117. package/docs/class/src/operations/catalog/period/pattern/ByGeneric.js~ByGeneric.html +7 -4
  118. package/docs/class/src/operations/catalog/period/pattern/ByMonth.js~ByMonth.html +7 -4
  119. package/docs/class/src/operations/catalog/period/pattern/ByWeek.js~ByWeek.html +7 -4
  120. package/docs/class/src/operations/catalog/period/pattern/ByYear.js~ByYear.html +7 -4
  121. package/docs/class/src/organizations/OrganizationFinder.js~OrganizationFinder.html +7 -4
  122. package/docs/class/src/organizations/Organizations.js~Organizations.html +10 -7
  123. package/docs/class/src/pipelines/PipelineFinder.js~PipelineFinder.html +7 -4
  124. package/docs/class/src/pipelines/Pipelines.js~Pipelines.html +7 -4
  125. package/docs/class/src/provision/BaseProvision.js~BaseProvision.html +9 -6
  126. package/docs/class/src/provision/bulk/BulkExecutionBuilder.js~BulkExecutionBuilder.html +7 -4
  127. package/docs/class/src/provision/country/CountriesCatalog.js~CountriesCatalog.html +7 -4
  128. package/docs/class/src/provision/entities/AssetBuilder.js~AssetBuilder.html +7 -4
  129. package/docs/class/src/provision/entities/BulkBuilder.js~BulkBuilder.html +7 -4
  130. package/docs/class/src/provision/entities/ComplexBuilder.js~ComplexBuilder.html +7 -4
  131. package/docs/class/src/provision/entities/CsvBulkBuilder.js~CsvBulkBuilder.html +7 -4
  132. package/docs/class/src/provision/entities/DeviceBuilder.js~DeviceBuilder.html +7 -4
  133. package/docs/class/src/provision/entities/EntityBuilder.js~EntityBuilder.html +7 -4
  134. package/docs/class/src/provision/entities/JsonBulkBuilder.js~JsonBulkBuilder.html +7 -4
  135. package/docs/class/src/provision/entities/JsonFlattenedBulkBuilder.js~JsonFlattenedBulkBuilder.html +7 -4
  136. package/docs/class/src/provision/entities/SimpleBuilder.js~SimpleBuilder.html +7 -4
  137. package/docs/class/src/provision/entities/SubscriberBuilder.js~SubscriberBuilder.html +7 -4
  138. package/docs/class/src/provision/entities/SubscriptionBuilder.js~SubscriptionBuilder.html +7 -4
  139. package/docs/class/src/provision/entities/TicketBuilder.js~TicketBuilder.html +7 -4
  140. package/docs/class/src/provisionProcessors/provisionProcessors.js~ProvisionProcessors.html +7 -4
  141. package/docs/class/src/provisionProcessors/provisionProcessorsFinder.js~provisionProcessorsFinder.html +7 -4
  142. package/docs/class/src/rulesConfiguration/RuleConfigurations.js~RuleConfigurations.html +7 -4
  143. package/docs/class/src/rulesConfiguration/RuleConfigurationsActions.js~RuleConfigurationsActions.html +7 -4
  144. package/docs/class/src/rulesConfiguration/RuleConfigurationsCatalog.js~RuleConfigurationsCatalog.html +7 -4
  145. package/docs/class/src/rulesConfiguration/RuleConfigurationsFinder.js~RuleConfigurationsFinder.html +7 -4
  146. package/docs/class/src/rulesConfiguration/RuleConfigurationsHelper.js~RuleConfigurationsHelper.html +7 -4
  147. package/docs/class/src/searching/AssetSearch.js~AssetSearch.html +7 -4
  148. package/docs/class/src/searching/BaseSearch.js~BaseSearch.html +7 -4
  149. package/docs/class/src/searching/DeviceSearch.js~DeviceSearch.html +7 -4
  150. package/docs/class/src/searching/EntitySearch.js~EntitySearch.html +7 -4
  151. package/docs/class/src/searching/FilterBuilder.js~FilterBuilder.html +7 -4
  152. package/docs/class/src/searching/Search.js~Search.html +7 -4
  153. package/docs/class/src/searching/SearchWithoutLimit.js~SearchWithoutLimit.html +7 -4
  154. package/docs/class/src/searching/SelectBuilder.js~SelectBuilder.html +7 -4
  155. package/docs/class/src/searching/StaticSearch.js~StaticSearch.html +7 -4
  156. package/docs/class/src/searching/WPSearch.js~WPSearch.html +7 -4
  157. package/docs/class/src/searching/builder/AdministrativeStateSearchBuilder.js~AdministrativeStateSearchBuilder.html +7 -4
  158. package/docs/class/src/searching/builder/AlarmsSearchBuilder.js~AlarmsSearchBuilder.html +7 -4
  159. package/docs/class/src/searching/builder/AllowedResourceTypeSearchBuilder.js~AllowedResourceTypeSearchBuilder.html +7 -4
  160. package/docs/class/src/searching/builder/AreasSearchBuilder.js~AreasSearchBuilder.html +7 -4
  161. package/docs/class/src/searching/builder/AssetsSearchBuilder.js~AssetsSearchBuilder.html +7 -4
  162. package/docs/class/src/searching/builder/BasicTypesSearchBuilder.js~BasicTypesSearchBuilder.html +7 -4
  163. package/docs/class/src/searching/builder/BulkExecutionSearchBuilder.js~BulkExecutionSearchBuilder.html +7 -4
  164. package/docs/class/src/searching/builder/BulkSearchBuilder.js~BulkSearchBuilder.html +7 -4
  165. package/docs/class/src/searching/builder/BundlesSearchBuilder.js~BundlesSearchBuilder.html +7 -4
  166. package/docs/class/src/searching/builder/CertificatesSearchBuilder.js~CertificatesSearchBuilder.html +7 -4
  167. package/docs/class/src/searching/builder/ChannelsSearchBuilder.js~ChannelsSearchBuilder.html +7 -4
  168. package/docs/class/src/searching/builder/CommunicationsModuleTypeSearchBuilder.js~CommunicationsModuleTypeSearchBuilder.html +7 -4
  169. package/docs/class/src/searching/builder/CountryCodesSearchBuilder.js~CountryCodesSearchBuilder.html +7 -4
  170. package/docs/class/src/searching/builder/DatamodelsSearchBuilder.js~DatamodelsSearchBuilder.html +7 -4
  171. package/docs/class/src/searching/builder/DatapointsSearchBuilder.js~DatapointsSearchBuilder.html +7 -4
  172. package/docs/class/src/searching/builder/DatasetEntitiesSearchBuilder.js~DatasetEntitiesSearchBuilder.html +7 -4
  173. package/docs/class/src/searching/builder/DatasetSearchBuilder.js~DatasetSearchBuilder.html +7 -4
  174. package/docs/class/src/searching/builder/DatasetsCatalogSearchBuilder.js~DatasetsCatalogSearchBuilder.html +7 -4
  175. package/docs/class/src/searching/builder/DatastreamsSearchBuilder.js~DatastreamsSearchBuilder.html +7 -4
  176. package/docs/class/src/searching/builder/DevicesPlansSearchBuilder.js~DevicesPlansSearchBuilder.html +7 -4
  177. package/docs/class/src/searching/builder/DevicesSearchBuilder.js~DevicesSearchBuilder.html +7 -4
  178. package/docs/class/src/searching/builder/DomainsSearchBuilder.js~DomainsSearchBuilder.html +7 -4
  179. package/docs/class/src/searching/builder/EntitiesSearchBuilder.js~EntitiesSearchBuilder.html +7 -4
  180. package/docs/class/src/searching/builder/ExecutionsHistorySearchBuilder.js~ExecutionsHistorySearchBuilder.html +7 -4
  181. package/docs/class/src/searching/builder/ExecutionsSearchBuilder.js~ExecutionsSearchBuilder.html +7 -4
  182. package/docs/class/src/searching/builder/FeedsSearchBuilder.js~FeedsSearchBuilder.html +7 -4
  183. package/docs/class/src/searching/builder/FieldsDefinitionSearchBuilder.js~FieldsDefinitionSearchBuilder.html +7 -4
  184. package/docs/class/src/searching/builder/FlattenedSearchBuilder.js~FlattenedSearchBuilder.html +7 -4
  185. package/docs/class/src/searching/builder/HardwaresSearchBuilder.js~HardwaresSearchBuilder.html +7 -4
  186. package/docs/class/src/searching/builder/IoTDatastreamAccessSearchBuilder.js~IoTDatastreamAccessSearchBuilder.html +7 -4
  187. package/docs/class/src/searching/builder/IoTDatastreamPeriodSearchBuilder.js~IoTDatastreamPeriodSearchBuilder.html +7 -4
  188. package/docs/class/src/searching/builder/IoTDatastreamStoragePeriodSearchBuilder.js~IoTDatastreamStoragePeriodSearchBuilder.html +7 -4
  189. package/docs/class/src/searching/builder/MobilePhoneProviderSearchBuilder.js~MobilePhoneProviderSearchBuilder.html +7 -4
  190. package/docs/class/src/searching/builder/OperationTypesSearchBuilder.js~OperationTypesBuilder.html +7 -4
  191. package/docs/class/src/searching/builder/OperationalStatusSearchBuilder.js~OperationalStatusSearchBuilder.html +7 -4
  192. package/docs/class/src/searching/builder/OperationsSearchBuilder.js~OperationsSearchBuilder.html +7 -4
  193. package/docs/class/src/searching/builder/OrganizationsSearchBuilder.js~OrganizationsSearchBuilder.html +7 -4
  194. package/docs/class/src/searching/builder/PlansSearchBuilder.js~PlansSearchBuilder.html +7 -4
  195. package/docs/class/src/searching/builder/PreFilteredSearchBuilder.js~PreFilteredSearchBuilder.html +7 -4
  196. package/docs/class/src/searching/builder/RawSearchBuilder.js~RawSearchBuilder.html +7 -4
  197. package/docs/class/src/searching/builder/ResourceTypeSearchBuilder.js~ResourceTypeSearchBuilder.html +7 -4
  198. package/docs/class/src/searching/builder/RuleConfigurationSeveritySearchBuilder.js~RuleConfigurationSeveritySearchBuilder.html +7 -4
  199. package/docs/class/src/searching/builder/RuleModeSearchBuilder.js~RuleModeSearchBuilder.html +7 -4
  200. package/docs/class/src/searching/builder/RuleTypeSearchBuilder.js~RuleTypeSearchBuilder.html +7 -4
  201. package/docs/class/src/searching/builder/RulesSearchBuilder.js~RulesSearchBuilder.html +7 -4
  202. package/docs/class/src/searching/builder/SearchBuilder.js~SearchBuilder.html +7 -4
  203. package/docs/class/src/searching/builder/SearchWithSummaryBuilder.js~SearchWithSummaryBuilder.html +7 -4
  204. package/docs/class/src/searching/builder/ServiceGroupSearchBuilder.js~ServiceGroupSearchBuilder.html +7 -4
  205. package/docs/class/src/searching/builder/SoftwaresSearchBuilder.js~SoftwaresSearchBuilder.html +7 -4
  206. package/docs/class/src/searching/builder/SubscribersSearchBuilder.js~SubscribersSearchBuilder.html +7 -4
  207. package/docs/class/src/searching/builder/SubscriptionsSearchBuilder.js~SubscriptionsSearchBuilder.html +7 -4
  208. package/docs/class/src/searching/builder/TasksSearchBuilder.js~TasksSearchBuilder.html +7 -4
  209. package/docs/class/src/searching/builder/TicketPrioritySearchBuilder.js~TicketPrioritySearchBuilder.html +7 -4
  210. package/docs/class/src/searching/builder/TicketSeveritySearchBuilder.js~TicketSeveritySearchBuilder.html +7 -4
  211. package/docs/class/src/searching/builder/TicketStatusSearchBuilder.js~TicketStatusSearchBuilder.html +7 -4
  212. package/docs/class/src/searching/builder/TicketsSearchBuilder.js~TicketsSearchBuilder.html +7 -4
  213. package/docs/class/src/searching/builder/TimeserieSearchBuilder.js~TimeserieSearchBuilder.html +7 -4
  214. package/docs/class/src/searching/builder/TimezoneSearchBuilder.js~TimezoneSearchBuilder.html +7 -4
  215. package/docs/class/src/searching/builder/UserLanguagesSearchBuilder.js~UserLanguagesSearchBuilder.html +7 -4
  216. package/docs/class/src/searching/builder/UserProfilesSearchBuilder.js~UserProfilesSearchBuilder.html +7 -4
  217. package/docs/class/src/searching/builder/UsersSearchBuilder.js~UsersSearchBuilder.html +7 -4
  218. package/docs/class/src/searching/builder/WorkgroupsSearchBuilder.js~WorkgroupsSearchBuilder.html +7 -4
  219. package/docs/class/src/searching/error/SearchBuilderError.js~SearchBuilderError.html +7 -4
  220. package/docs/class/src/security/CertificateFinder.js~CertificateFinder.html +7 -4
  221. package/docs/class/src/security/Certificates.js~Certificates.html +7 -4
  222. package/docs/class/src/security/Security.js~Security.html +7 -4
  223. package/docs/class/src/timeseries/Timeseries.js~Timeseries.html +7 -4
  224. package/docs/class/src/timeseries/TimeseriesFinder.js~TimeseriesFinder.html +7 -4
  225. package/docs/class/src/timeseriesFunctionsCatalog/TimeseriesFunction.js~TimeseriesFunction.html +7 -4
  226. package/docs/class/src/timeseriesFunctionsCatalog/TimeseriesFunctionFinder.js~TimeseriesFunctionFinder.html +7 -4
  227. package/docs/class/src/timeseriesFunctionsCatalog/TimeseriesFunctionsHelper.js~ConnectorFunctionsHelper.html +7 -4
  228. package/docs/class/src/transformers/TransformerFinder.js~TransformerFinder.html +7 -4
  229. package/docs/class/src/transformers/Transformers.js~Transformers.html +7 -4
  230. package/docs/class/src/users/UserFinder.js~UserFinder.html +7 -4
  231. package/docs/class/src/users/Users.js~User.html +7 -4
  232. package/docs/class/src/util/Expression.js~Expression.html +7 -4
  233. package/docs/class/src/util/NorthAmpliaREST.js~NorthAmpliaREST.html +7 -4
  234. package/docs/class/src/util/SelectElement.js~SelectElement.html +7 -4
  235. package/docs/class/src/util/SouthAmpliaREST.js~SouthAmpliaREST.html +7 -4
  236. package/docs/class/src/util/searchingFields/FieldFinder.js~FieldFinder.html +7 -4
  237. package/docs/class/src/workgroups/WorkgroupFinder.js~WorkgroupFinder.html +7 -4
  238. package/docs/class/src/workgroups/WorkgroupRelations.js~WorkgroupRelations.html +7 -4
  239. package/docs/class/src/workgroups/WorkgroupRelationsFinder.js~WorkgroupRelationsFinder.html +7 -4
  240. package/docs/class/src/workgroups/Workgroups.js~Workgroups.html +7 -4
  241. package/docs/coverage.json +34 -15
  242. package/docs/dump.json +5008 -3512
  243. package/docs/file/src/AIModels/AIModels.js.html +7 -4
  244. package/docs/file/src/AIModels/AIModelsFinder.js.html +7 -4
  245. package/docs/file/src/GenericFinder.js.html +13 -5
  246. package/docs/file/src/InternalOpenGateAPI.js.html +39 -7
  247. package/docs/file/src/ProvisionGenericFinder.js.html +7 -4
  248. package/docs/file/src/alarms/AlarmActions.js.html +7 -4
  249. package/docs/file/src/alarms/actions/Alarm.js.html +7 -4
  250. package/docs/file/src/alarms/actions/AlarmActionBuilder.js.html +7 -4
  251. package/docs/file/src/alarms/actions/AlarmAttendBuilder.js.html +7 -4
  252. package/docs/file/src/alarms/actions/AlarmCloseBuilder.js.html +7 -4
  253. package/docs/file/src/areas/AreaFinder.js.html +7 -4
  254. package/docs/file/src/areas/Areas.js.html +7 -4
  255. package/docs/file/src/areas/TYPE_ENUM.js.html +7 -4
  256. package/docs/file/src/bulk/BulkExecutionFinder.js.html +7 -4
  257. package/docs/file/src/bulk/BulkFinder.js.html +7 -4
  258. package/docs/file/src/bundles/ACTION_ENUM.js.html +7 -4
  259. package/docs/file/src/bundles/BundleFinder.js.html +7 -4
  260. package/docs/file/src/bundles/Bundles.js.html +7 -4
  261. package/docs/file/src/bundles/deployment/DeploymentElement.js.html +7 -4
  262. package/docs/file/src/bundles/deployment/MODE_VALIDATORS_ENUM.js.html +7 -4
  263. package/docs/file/src/bundles/deployment/OPERATION_ENUM.js.html +7 -4
  264. package/docs/file/src/bundles/deployment/OPTION_ENUM.js.html +7 -4
  265. package/docs/file/src/bundles/deployment/TYPE_ENUM.js.html +7 -4
  266. package/docs/file/src/bundles/deployment/TYPE_VALIDATORS_ENUM.js.html +7 -4
  267. package/docs/file/src/channels/ChannelFinder.js.html +7 -4
  268. package/docs/file/src/channels/Channels.js.html +7 -4
  269. package/docs/file/src/collection/devices/DeviceMessage.js.html +7 -4
  270. package/docs/file/src/collection/devices/collect/CommsModuleMessage.js.html +7 -4
  271. package/docs/file/src/collection/devices/collect/Datapoint.js.html +7 -4
  272. package/docs/file/src/collection/devices/collect/Datastreams.js.html +7 -4
  273. package/docs/file/src/collection/devices/collect/Event.js.html +7 -4
  274. package/docs/file/src/collection/devices/collect/Hardware.js.html +7 -4
  275. package/docs/file/src/collection/devices/collect/Location.js.html +7 -4
  276. package/docs/file/src/collection/devices/collect/Mobile.js.html +7 -4
  277. package/docs/file/src/collection/devices/collect/PowerSupply.js.html +7 -4
  278. package/docs/file/src/collection/devices/collect/Software.js.html +7 -4
  279. package/docs/file/src/collection/devices/collect/Storage.js.html +7 -4
  280. package/docs/file/src/collection/devices/collect/Subscriber.js.html +7 -4
  281. package/docs/file/src/collection/devices/collect/Subscription.js.html +7 -4
  282. package/docs/file/src/collection/devices/collect/Temperature.js.html +7 -4
  283. package/docs/file/src/collection/devices/collect/Usage.js.html +7 -4
  284. package/docs/file/src/collection/devices/collect/enum/ADDRESS_TYPE_ENUM.js.html +7 -4
  285. package/docs/file/src/collection/devices/collect/enum/ANTENNA_STATUS_ENUM.js.html +7 -4
  286. package/docs/file/src/collection/devices/collect/enum/BATTERY_CHARGE_LEVEL_STATUS_ENUM.js.html +7 -4
  287. package/docs/file/src/collection/devices/collect/enum/BATTERY_CHARGE_STATUS_ENUM.js.html +7 -4
  288. package/docs/file/src/collection/devices/collect/enum/LEVEL_TREND_ENUM.js.html +7 -4
  289. package/docs/file/src/collection/devices/collect/enum/POWER_SUPPLY_SOURCE_ENUM.js.html +7 -4
  290. package/docs/file/src/collection/devices/collect/enum/SOFTWARE_TYPE_ENUM.js.html +7 -4
  291. package/docs/file/src/collection/devices/collect/enum/TEMPERATURE_STATUS_ENUM.js.html +7 -4
  292. package/docs/file/src/{connectorsFunctionsConfiguration/enum → connectorsFunctions}/_CONNECTOR_FUNCTIONS_ENUMS.js.html +10 -7
  293. package/docs/file/src/connectorsFunctions/catalog/ConnectorFunctions.js.html +634 -0
  294. package/docs/file/src/connectorsFunctions/catalog/ConnectorFunctionsCatalog.js.html +333 -0
  295. package/docs/file/src/connectorsFunctions/catalog/ConnectorFunctionsCatalogFinder.js.html +331 -0
  296. package/docs/file/src/{connectorsFunctionsConfiguration → connectorsFunctions/configuration}/ConnectorFunctions.js.html +12 -9
  297. package/docs/file/src/{connectorsFunctionsConfiguration → connectorsFunctions/configuration}/ConnectorFunctionsFinder.js.html +64 -62
  298. package/docs/file/src/{connectorsFunctionsConfiguration → connectorsFunctions/configuration}/ConnectorFunctionsHelper.js.html +12 -9
  299. package/docs/file/src/datasets/DatasetFinder.js.html +7 -4
  300. package/docs/file/src/datasets/Datasets.js.html +7 -4
  301. package/docs/file/src/domains/Domains.js.html +7 -4
  302. package/docs/file/src/domains/DomainsFinder.js.html +7 -4
  303. package/docs/file/src/entities/DeviceFinder.js.html +7 -4
  304. package/docs/file/src/entities/EntityFinder.js.html +7 -4
  305. package/docs/file/src/entities/SubscribersFinder.js.html +7 -4
  306. package/docs/file/src/entities/SubscriptionsFinder.js.html +7 -4
  307. package/docs/file/src/entities/TicketFinder.js.html +7 -4
  308. package/docs/file/src/geocluster/Geocluster.js.html +7 -4
  309. package/docs/file/src/geocluster/GeoclusterFinder.js.html +7 -4
  310. package/docs/file/src/iot/catalog/Category.js.html +7 -4
  311. package/docs/file/src/iot/catalog/Datastream.js.html +7 -4
  312. package/docs/file/src/iot/catalog/Qrating.js.html +7 -4
  313. package/docs/file/src/iot/datamodels/Datamodels.js.html +7 -4
  314. package/docs/file/src/iot/datamodels/DatamodelsFinder.js.html +7 -4
  315. package/docs/file/src/iot/datamodels/DatamodelsHelper.js.html +7 -4
  316. package/docs/file/src/manufacturers/Manufacturer.js.html +7 -4
  317. package/docs/file/src/manufacturers/ManufacturerFinder.js.html +7 -4
  318. package/docs/file/src/manufacturers/ManufacturerMedia.js.html +7 -4
  319. package/docs/file/src/manufacturers/Model.js.html +7 -4
  320. package/docs/file/src/manufacturers/ModelFinder.js.html +7 -4
  321. package/docs/file/src/manufacturers/ModelMedia.js.html +7 -4
  322. package/docs/file/src/operationTypes/OperationType.js.html +7 -4
  323. package/docs/file/src/operationTypes/OperationTypeCatalog.js.html +7 -4
  324. package/docs/file/src/operationTypes/OperationTypeFinder.js.html +7 -4
  325. package/docs/file/src/operations/OperationActions.js.html +7 -4
  326. package/docs/file/src/operations/OperationFinder.js.html +7 -4
  327. package/docs/file/src/operations/Operations.js.html +7 -4
  328. package/docs/file/src/operations/PeriodicityActions.js.html +7 -4
  329. package/docs/file/src/operations/catalog/AppendEntitiesBy.js.html +7 -4
  330. package/docs/file/src/operations/catalog/BaseOperationBuilder.js.html +7 -4
  331. package/docs/file/src/operations/catalog/Operation.js.html +7 -4
  332. package/docs/file/src/operations/catalog/parameters/BaseParameterBuilderWithParent.js.html +7 -4
  333. package/docs/file/src/operations/catalog/parameters/ParameterBuilderFactory.js.html +7 -4
  334. package/docs/file/src/operations/catalog/period/DAYS_ENUM.js.html +7 -4
  335. package/docs/file/src/operations/catalog/period/ExecuteEachBuilder.js.html +7 -4
  336. package/docs/file/src/operations/catalog/period/ExecuteEveryBuilder.js.html +7 -4
  337. package/docs/file/src/operations/catalog/period/MONTHS_ENUM.js.html +7 -4
  338. package/docs/file/src/operations/catalog/period/PeriodicityUpdateBuilder.js.html +7 -4
  339. package/docs/file/src/operations/catalog/period/pattern/ByGeneric.js.html +7 -4
  340. package/docs/file/src/operations/catalog/period/pattern/ByMonth.js.html +7 -4
  341. package/docs/file/src/operations/catalog/period/pattern/ByWeek.js.html +7 -4
  342. package/docs/file/src/operations/catalog/period/pattern/ByYear.js.html +7 -4
  343. package/docs/file/src/organizations/OrganizationFinder.js.html +7 -4
  344. package/docs/file/src/organizations/Organizations.js.html +8 -5
  345. package/docs/file/src/pipelines/PipelineFinder.js.html +7 -4
  346. package/docs/file/src/pipelines/Pipelines.js.html +7 -4
  347. package/docs/file/src/provision/BaseProvision.js.html +89 -4
  348. package/docs/file/src/provision/bulk/BulkExecutionBuilder.js.html +7 -4
  349. package/docs/file/src/provision/country/CountriesCatalog.js.html +7 -4
  350. package/docs/file/src/provision/entities/AssetBuilder.js.html +7 -4
  351. package/docs/file/src/provision/entities/BulkBuilder.js.html +7 -4
  352. package/docs/file/src/provision/entities/ComplexBuilder.js.html +7 -4
  353. package/docs/file/src/provision/entities/CsvBulkBuilder.js.html +7 -4
  354. package/docs/file/src/provision/entities/DeviceBuilder.js.html +7 -4
  355. package/docs/file/src/provision/entities/EntityBuilder.js.html +7 -4
  356. package/docs/file/src/provision/entities/JsonBulkBuilder.js.html +7 -4
  357. package/docs/file/src/provision/entities/JsonFlattenedBulkBuilder.js.html +7 -4
  358. package/docs/file/src/provision/entities/SimpleBuilder.js.html +7 -4
  359. package/docs/file/src/provision/entities/SubscriberBuilder.js.html +7 -4
  360. package/docs/file/src/provision/entities/SubscriptionBuilder.js.html +7 -4
  361. package/docs/file/src/provision/entities/TicketBuilder.js.html +7 -4
  362. package/docs/file/src/provisionProcessors/provisionProcessors.js.html +7 -4
  363. package/docs/file/src/provisionProcessors/provisionProcessorsFinder.js.html +7 -4
  364. package/docs/file/src/rulesConfiguration/RuleConfigurations.js.html +7 -4
  365. package/docs/file/src/rulesConfiguration/RuleConfigurationsActions.js.html +7 -4
  366. package/docs/file/src/rulesConfiguration/RuleConfigurationsCatalog.js.html +7 -4
  367. package/docs/file/src/rulesConfiguration/RuleConfigurationsFinder.js.html +7 -4
  368. package/docs/file/src/rulesConfiguration/RuleConfigurationsHelper.js.html +7 -4
  369. package/docs/file/src/rulesConfiguration/_RuleCondition.js.html +7 -4
  370. package/docs/file/src/rulesConfiguration/_RuleNotification.js.html +7 -4
  371. package/docs/file/src/searching/AssetSearch.js.html +7 -4
  372. package/docs/file/src/searching/BaseSearch.js.html +7 -4
  373. package/docs/file/src/searching/DeviceSearch.js.html +7 -4
  374. package/docs/file/src/searching/EntitySearch.js.html +7 -4
  375. package/docs/file/src/searching/FilterBuilder.js.html +7 -4
  376. package/docs/file/src/searching/Search.js.html +7 -4
  377. package/docs/file/src/searching/SearchWithoutLimit.js.html +7 -4
  378. package/docs/file/src/searching/SelectBuilder.js.html +7 -4
  379. package/docs/file/src/searching/StaticSearch.js.html +7 -4
  380. package/docs/file/src/searching/WPSearch.js.html +7 -4
  381. package/docs/file/src/searching/builder/AdministrativeStateSearchBuilder.js.html +7 -4
  382. package/docs/file/src/searching/builder/AlarmsSearchBuilder.js.html +7 -4
  383. package/docs/file/src/searching/builder/AllowedResourceTypeSearchBuilder.js.html +7 -4
  384. package/docs/file/src/searching/builder/AreasSearchBuilder.js.html +7 -4
  385. package/docs/file/src/searching/builder/AssetsSearchBuilder.js.html +7 -4
  386. package/docs/file/src/searching/builder/BasicTypesSearchBuilder.js.html +7 -4
  387. package/docs/file/src/searching/builder/BulkExecutionSearchBuilder.js.html +7 -4
  388. package/docs/file/src/searching/builder/BulkSearchBuilder.js.html +7 -4
  389. package/docs/file/src/searching/builder/BundlesSearchBuilder.js.html +7 -4
  390. package/docs/file/src/searching/builder/CertificatesSearchBuilder.js.html +7 -4
  391. package/docs/file/src/searching/builder/ChannelsSearchBuilder.js.html +7 -4
  392. package/docs/file/src/searching/builder/CommunicationsModuleTypeSearchBuilder.js.html +7 -4
  393. package/docs/file/src/searching/builder/CountryCodesSearchBuilder.js.html +7 -4
  394. package/docs/file/src/searching/builder/DatamodelsSearchBuilder.js.html +7 -4
  395. package/docs/file/src/searching/builder/DatapointsSearchBuilder.js.html +7 -4
  396. package/docs/file/src/searching/builder/DatasetEntitiesSearchBuilder.js.html +7 -4
  397. package/docs/file/src/searching/builder/DatasetSearchBuilder.js.html +7 -4
  398. package/docs/file/src/searching/builder/DatasetsCatalogSearchBuilder.js.html +7 -4
  399. package/docs/file/src/searching/builder/DatastreamsSearchBuilder.js.html +7 -4
  400. package/docs/file/src/searching/builder/DevicesPlansSearchBuilder.js.html +7 -4
  401. package/docs/file/src/searching/builder/DevicesSearchBuilder.js.html +7 -4
  402. package/docs/file/src/searching/builder/DomainsSearchBuilder.js.html +7 -4
  403. package/docs/file/src/searching/builder/EntitiesSearchBuilder.js.html +7 -4
  404. package/docs/file/src/searching/builder/ExecutionsHistorySearchBuilder.js.html +7 -4
  405. package/docs/file/src/searching/builder/ExecutionsSearchBuilder.js.html +7 -4
  406. package/docs/file/src/searching/builder/FeedsSearchBuilder.js.html +7 -4
  407. package/docs/file/src/searching/builder/FieldsDefinitionSearchBuilder.js.html +7 -4
  408. package/docs/file/src/searching/builder/FlattenedSearchBuilder.js.html +7 -4
  409. package/docs/file/src/searching/builder/HardwaresSearchBuilder.js.html +7 -4
  410. package/docs/file/src/searching/builder/IoTDatastreamAccessSearchBuilder.js.html +7 -4
  411. package/docs/file/src/searching/builder/IoTDatastreamPeriodSearchBuilder.js.html +7 -4
  412. package/docs/file/src/searching/builder/IoTDatastreamStoragePeriodSearchBuilder.js.html +7 -4
  413. package/docs/file/src/searching/builder/MobilePhoneProviderSearchBuilder.js.html +7 -4
  414. package/docs/file/src/searching/builder/OperationTypesSearchBuilder.js.html +7 -4
  415. package/docs/file/src/searching/builder/OperationalStatusSearchBuilder.js.html +7 -4
  416. package/docs/file/src/searching/builder/OperationsSearchBuilder.js.html +7 -4
  417. package/docs/file/src/searching/builder/OrganizationsSearchBuilder.js.html +7 -4
  418. package/docs/file/src/searching/builder/PlansSearchBuilder.js.html +7 -4
  419. package/docs/file/src/searching/builder/PreFilteredSearchBuilder.js.html +7 -4
  420. package/docs/file/src/searching/builder/RawSearchBuilder.js.html +7 -4
  421. package/docs/file/src/searching/builder/ResourceTypeSearchBuilder.js.html +7 -4
  422. package/docs/file/src/searching/builder/RuleConfigurationSeveritySearchBuilder.js.html +7 -4
  423. package/docs/file/src/searching/builder/RuleModeSearchBuilder.js.html +7 -4
  424. package/docs/file/src/searching/builder/RuleTypeSearchBuilder.js.html +7 -4
  425. package/docs/file/src/searching/builder/RulesSearchBuilder.js.html +7 -4
  426. package/docs/file/src/searching/builder/SearchBuilder.js.html +7 -4
  427. package/docs/file/src/searching/builder/SearchWithSummaryBuilder.js.html +7 -4
  428. package/docs/file/src/searching/builder/ServiceGroupSearchBuilder.js.html +7 -4
  429. package/docs/file/src/searching/builder/SoftwaresSearchBuilder.js.html +7 -4
  430. package/docs/file/src/searching/builder/SubscribersSearchBuilder.js.html +7 -4
  431. package/docs/file/src/searching/builder/SubscriptionsSearchBuilder.js.html +7 -4
  432. package/docs/file/src/searching/builder/TasksSearchBuilder.js.html +7 -4
  433. package/docs/file/src/searching/builder/TicketPrioritySearchBuilder.js.html +7 -4
  434. package/docs/file/src/searching/builder/TicketSeveritySearchBuilder.js.html +7 -4
  435. package/docs/file/src/searching/builder/TicketStatusSearchBuilder.js.html +7 -4
  436. package/docs/file/src/searching/builder/TicketsSearchBuilder.js.html +7 -4
  437. package/docs/file/src/searching/builder/TimeserieSearchBuilder.js.html +7 -4
  438. package/docs/file/src/searching/builder/TimezoneSearchBuilder.js.html +7 -4
  439. package/docs/file/src/searching/builder/UserLanguagesSearchBuilder.js.html +7 -4
  440. package/docs/file/src/searching/builder/UserProfilesSearchBuilder.js.html +7 -4
  441. package/docs/file/src/searching/builder/UsersSearchBuilder.js.html +7 -4
  442. package/docs/file/src/searching/builder/WorkgroupsSearchBuilder.js.html +7 -4
  443. package/docs/file/src/searching/error/SearchBuilderError.js.html +7 -4
  444. package/docs/file/src/security/ADMINISTRATIVE_STATE_ENUM.js.html +7 -4
  445. package/docs/file/src/security/CertificateFinder.js.html +7 -4
  446. package/docs/file/src/security/Certificates.js.html +7 -4
  447. package/docs/file/src/security/MIME_TYPES_ENUM.js.html +7 -4
  448. package/docs/file/src/security/Security.js.html +7 -4
  449. package/docs/file/src/security/USAGES_ENUM.js.html +7 -4
  450. package/docs/file/src/timeseries/Timeseries.js.html +7 -4
  451. package/docs/file/src/timeseries/TimeseriesFinder.js.html +7 -4
  452. package/docs/file/src/timeseriesFunctionsCatalog/TYPES_ENUM.js.html +7 -4
  453. package/docs/file/src/timeseriesFunctionsCatalog/TimeseriesFunction.js.html +7 -4
  454. package/docs/file/src/timeseriesFunctionsCatalog/TimeseriesFunctionFinder.js.html +7 -4
  455. package/docs/file/src/timeseriesFunctionsCatalog/TimeseriesFunctionsHelper.js.html +7 -4
  456. package/docs/file/src/transformers/TransformerFinder.js.html +7 -4
  457. package/docs/file/src/transformers/Transformers.js.html +7 -4
  458. package/docs/file/src/users/UserFinder.js.html +7 -4
  459. package/docs/file/src/users/Users.js.html +7 -4
  460. package/docs/file/src/util/DATE_FORMAT.js.html +7 -4
  461. package/docs/file/src/util/Expression.js.html +7 -4
  462. package/docs/file/src/util/NorthAmpliaREST.js.html +12 -5
  463. package/docs/file/src/util/SelectElement.js.html +7 -4
  464. package/docs/file/src/util/SouthAmpliaREST.js.html +7 -4
  465. package/docs/file/src/util/formats/check_types.js.html +7 -4
  466. package/docs/file/src/util/searchingFields/FieldFinder.js.html +7 -4
  467. package/docs/file/src/util/searchingFields/IotFields.js.html +7 -4
  468. package/docs/file/src/util/searchingFields/source-precompiled/Fields.js.html +7 -4
  469. package/docs/file/src/workgroups/WorkgroupFinder.js.html +7 -4
  470. package/docs/file/src/workgroups/WorkgroupRelations.js.html +7 -4
  471. package/docs/file/src/workgroups/WorkgroupRelationsFinder.js.html +7 -4
  472. package/docs/file/src/workgroups/Workgroups.js.html +7 -4
  473. package/docs/identifiers.html +94 -7
  474. package/docs/index.html +7 -4
  475. package/docs/manual/index.html +87 -3
  476. package/docs/package.json +1 -1
  477. package/docs/script/search_index.js +287 -107
  478. package/docs/source.html +290 -263
  479. package/docs/test-file/client/autogeneratedFields/fields.spec.js.html +7 -4
  480. package/docs/test-file/client/bundles/bundles.spec.js.html +7 -4
  481. package/docs/test-file/client/collection/iot.spec.js.html +7 -4
  482. package/docs/test-file/client/device/device.spec.js.html +7 -4
  483. package/docs/test-file/client/provision/devices.provision.spec.js.html +7 -4
  484. package/docs/test-file/client/searching/FilterBuilder.spec.js.html +7 -4
  485. package/docs/test-file/client/searching/datapoints.search.spec.js.html +7 -4
  486. package/docs/test-file/client/searching/module.searching.spec.js.html +7 -4
  487. package/docs/test-file/client/searching/rawsearch.spec.js.html +7 -4
  488. package/docs/test-file/client/searching/search.spec.js.html +7 -4
  489. package/docs/test-file/client/security/certificates.spec.js.html +7 -4
  490. package/docs/test-file/client/users/find.spec.js.html +7 -4
  491. package/docs/test-file/client/users/user.spec.js.html +7 -4
  492. package/docs/test.html +7 -4
  493. package/docs/variable/index.html +15 -12
  494. package/features/features/provision/connectorFunctions/catalog/create_delete_connectorfunctions.feature +43 -0
  495. package/features/features/provision/connectorFunctions/catalog/findConnectorFunctions.feature +47 -0
  496. package/features/step_definitions/given_step_definitions_using_model.js +15 -0
  497. package/features/step_definitions/when_step_definitions.js +0 -1
  498. package/features/step_definitions/when_step_definitions_using_model.js +12 -12
  499. package/features/support/create_provision_model.js +15 -0
  500. package/features/support/delete_provision_model.js +5 -1
  501. package/features/support/find_model.js +5 -0
  502. package/features/support/utils_model.js +9 -0
  503. package/features/support/world.js +5 -5
  504. package/package.json +1 -1
  505. package/src/GenericFinder.js +6 -1
  506. package/src/InternalOpenGateAPI.js +32 -3
  507. package/src/connectorsFunctions/catalog/ConnectorFunctions.js +328 -0
  508. package/src/connectorsFunctions/catalog/ConnectorFunctionsCatalog.js +27 -0
  509. package/src/connectorsFunctions/catalog/ConnectorFunctionsCatalogFinder.js +25 -0
  510. package/src/{connectorsFunctionsConfiguration → connectorsFunctions/configuration}/ConnectorFunctions.js +2 -2
  511. package/src/{connectorsFunctionsConfiguration → connectorsFunctions/configuration}/ConnectorFunctionsFinder.js +54 -55
  512. package/src/{connectorsFunctionsConfiguration → connectorsFunctions/configuration}/ConnectorFunctionsHelper.js +2 -2
  513. package/src/organizations/Organizations.js +1 -1
  514. package/src/provision/BaseProvision.js +82 -0
  515. package/src/util/NorthAmpliaREST.js +5 -1
  516. package/dist/opengate-api-bower-12.12.2.js.map +0 -1
  517. package/dist/opengate-api-bower-12.12.2.min.js.map +0 -1
  518. package/dist/src/connectorsFunctionsConfiguration/ConnectorFunctions.js.map +0 -1
  519. package/dist/src/connectorsFunctionsConfiguration/ConnectorFunctionsHelper.js.map +0 -1
  520. package/dist/src/connectorsFunctionsConfiguration/enum/_CONNECTOR_FUNCTIONS_ENUMS.js.map +0 -1
  521. /package/dist/src/{connectorsFunctionsConfiguration/enum → connectorsFunctions}/_CONNECTOR_FUNCTIONS_ENUMS.js +0 -0
  522. /package/docs/ast/source/{connectorsFunctionsConfiguration/enum → connectorsFunctions}/_CONNECTOR_FUNCTIONS_ENUMS.js.json +0 -0
  523. /package/src/{connectorsFunctionsConfiguration/enum → connectorsFunctions}/_CONNECTOR_FUNCTIONS_ENUMS.js +0 -0
@@ -0,0 +1,328 @@
1
+ 'use strict';
2
+
3
+ import InternalOpenGateAPI from "../../InternalOpenGateAPI";
4
+ import BaseProvision from "../../provision/BaseProvision";
5
+ import {
6
+ CONNECTOR_FUNCTION_TYPES,
7
+ CONNECTOR_FUNCTION_OPERATIONAL_STATUS,
8
+ CONNECTOR_FUNCTION_PAYLOAD_TYPES
9
+ } from '../_CONNECTOR_FUNCTIONS_ENUMS';
10
+
11
+ /**
12
+ * This is a base object than contains all you can about connector functions catalog
13
+ */
14
+ export default class ConnectorFunctions extends BaseProvision {
15
+
16
+ /**
17
+ * @param {InternalOpenGateAPI} ogapi
18
+ * @param {String} identifier
19
+ * @param {Object} connectorFunction
20
+ */
21
+ constructor(ogapi, identifier, connectorFunction) {
22
+ super(ogapi, "/catalog", undefined, ["name", "operationalStatus", "type", "cloneable", "javascript", "payloadType"])
23
+
24
+ // only for updates and delete
25
+ if (identifier) {
26
+ this.withIdentifier(identifier);
27
+ }
28
+
29
+ if(connectorFunction){
30
+ const _keys = Object.keys(connectorFunction)
31
+ for(let i = 0; i < _keys.length; i++){
32
+ const _name = _keys[i]
33
+ const _value = connectorFunction[_name]
34
+ if(_value){
35
+ const _cname = _name.charAt(0).toUpperCase + _name.slice(1)
36
+ this["with" + _cname](_value)
37
+ }
38
+ }
39
+ }
40
+ }
41
+
42
+ /**
43
+ * Set the identifier
44
+ * @param {String} identifier
45
+ * @returns {ConnectorFunctionsCatalog}
46
+ */
47
+ withIdentifier(identifier) {
48
+ if (typeof identifier !== 'string' || identifier.length === 0 || identifier.length > 50)
49
+ throw new Error('Parameter identifier must be a string, cannot be empty and has a maximum length of 50');
50
+ this._identifier = identifier;
51
+ return this;
52
+ }
53
+
54
+ /**
55
+ * Descriptive and unique name
56
+ * @param {String} name
57
+ * @returns {ConnectorFunctionsCatalog}
58
+ */
59
+ withName(name) {
60
+ if (typeof name !== 'string' || name.length === 0 || name.length > 50)
61
+ throw new Error('Parameter name must be a string, cannot be empty and has a maximum length of 50');
62
+ this._name = name;
63
+ return this;
64
+ }
65
+
66
+ /**
67
+ * Description of the connector function. This field is optional.
68
+ * @param {String} description
69
+ * @returns {ConnectorFunctionsCatalog}
70
+ */
71
+ withDescription(description) {
72
+ if (typeof description !== 'string' || description.length > 250)
73
+ throw new Error({
74
+ message: "OGAPI_STRING_PARAMETER_MAX_LENGTH_250",
75
+ parameter: 'description'
76
+ });
77
+ this._description = description;
78
+ return this;
79
+ }
80
+
81
+ /**
82
+ *
83
+ * Connector Function status
84
+ * Allowed: DISABLED┃PRODUCTION┃TEST
85
+ * @param {String} operationalStatus
86
+ * @returns {ConnectorFunctionsCatalog}
87
+ */
88
+ withOperationalStatus(operationalStatus) {
89
+ if (typeof operationalStatus !== 'string' || !this._checkValues(operationalStatus, CONNECTOR_FUNCTION_OPERATIONAL_STATUS))
90
+ throw new Error('Parameter operational status must be a string and must be one of these values: ' + CONNECTOR_FUNCTION_OPERATIONAL_STATUS);
91
+
92
+ this._operationalStatus = operationalStatus;
93
+ return this;
94
+ }
95
+
96
+ /**
97
+ * Used to filter connector functions by operation name. If Connector Function type is REQUEST, this field is mandatory and defined name must be an operation name available for specified Api Key. If the type is COLLECTION or RESPONSE, this field must be null.
98
+ * @param {String} operationName
99
+ * @returns {ConnectorFunctionsCatalog}
100
+ */
101
+ withOperationName(operationName) {
102
+ if (typeof operationName !== 'string' || operationName.length === 0 || operationName.length > 50)
103
+ throw new Error('Parameter operation name must be a string, cannot be empty and has a maximum length of 50');
104
+ this._operationName = operationName;
105
+ return this;
106
+ }
107
+
108
+ /**
109
+ *
110
+ * Type of connector function, this is mandatory. Keep in mind that you will be not allowed to modify it.
111
+ * Allowed: COLLECTION┃REQUEST┃RESPONSE
112
+ * @param {String} type
113
+ * @returns {ConnectorFunctionsCatalog}
114
+ */
115
+ withType(type) {
116
+ if (typeof type !== 'string' || !this._checkValues(type, CONNECTOR_FUNCTION_TYPES))
117
+ throw new Error('Parameter type must be a string and must be one of these values: ' + CONNECTOR_FUNCTION_TYPES);
118
+
119
+ this._type = type;
120
+ return this;
121
+ }
122
+
123
+ /**
124
+ * Indicates whether or not the Connector Function is cloneable.
125
+ * @param {Boolean} cloneable
126
+ * @returns {ConnectorFunctionsCatalog}
127
+ */
128
+ withCloneable(cloneable) {
129
+ if (typeof cloneable !== 'boolean')
130
+ throw new Error('Parameter cloneable must be a boolean');
131
+ this._cloneable = cloneable;
132
+ return this;
133
+ }
134
+
135
+ /**
136
+ * Connector Function selection criteria for operation requests. This field is mandatory if Connector Function type is REQUEST. ⮕ [ each element is defined by path and value ]
137
+ * @param {Array} northCriterias
138
+ * @returns {ConnectorFunctionsCatalog}
139
+ */
140
+ withNorthCriterias(northCriterias) {
141
+ if (!(northCriterias instanceof Array))
142
+ throw new Error({
143
+ message: "Parameter northCriterias requires an array",
144
+ parameter: 'northCriterias'
145
+ });
146
+ this._northCriterias = northCriterias;
147
+ return this;
148
+ }
149
+
150
+ /**
151
+ * Add northCriteria to parameter northCriterias. Each element is defined by path and value
152
+ * @param {Object} northCriteria
153
+ * @returns {ConnectorFunctionsCatalog}
154
+ */
155
+ addNorthCriteria(northCriteria) {
156
+ if (typeof northCriteria !== 'object' ||
157
+ !northCriteria.path || typeof northCriteria.path !== 'string' ||
158
+ !northCriteria.value || typeof northCriteria.value !== 'object')
159
+ throw new Error({
160
+ message: "Parameter northCriteria requires path and value",
161
+ parameter: 'northCriteria'
162
+ });
163
+
164
+ if (!this._northCriterias) {
165
+ this._northCriterias = []
166
+ }
167
+
168
+ this._northCriterias.push(northCriteria)
169
+ return this;
170
+ }
171
+
172
+ /**
173
+ * Connector Function selection criteria for operation responses and data collection. This field is mandatory if Connector Function type is COLLECTION or RESPONSE. ⮕ [ each string can represent an URI, topic, OID... ]. Each string can represent an URI, topic, OID...
174
+ * @param {Array} southCriterias
175
+ * @returns {ConnectorFunctionsCatalog}
176
+ */
177
+ withSouthCriterias(southCriterias) {
178
+ if (!(southCriterias instanceof Array))
179
+ throw new Error({
180
+ message: "Parameter southCriterias requires an array",
181
+ parameter: 'southCriterias'
182
+ });
183
+
184
+ southCriterias.forEach((crit) => {
185
+ try {
186
+ this.addSouthCriteria(crit)
187
+ } catch (critErr) {
188
+ this._southCriterias = null
189
+ throw critErr
190
+ }
191
+ });
192
+
193
+ return this;
194
+ }
195
+
196
+ /**
197
+ * Add southCriteria to parameter southCriterias. Each string can represent an URI, topic, OID...
198
+ * @param {String} southCriteria
199
+ * @returns
200
+ */
201
+ addSouthCriteria(southCriteria) {
202
+ if (typeof southCriteria !== 'string')
203
+ throw new Error('southCriteria must be a string');
204
+
205
+ if (!this._southCriterias) {
206
+ this._southCriterias = []
207
+ }
208
+
209
+ this._southCriterias.push(southCriteria)
210
+ return this;
211
+ }
212
+
213
+ /**
214
+ * Connector function javascript code
215
+ * @param {String} javascript
216
+ * @returns {ConnectorFunctionsCatalog}
217
+ */
218
+ withJavascript(javascript) {
219
+ if (typeof javascript !== 'string')
220
+ throw new Error('Parameter javascript must be a string');
221
+ this._javascript = javascript;
222
+ return this;
223
+ }
224
+
225
+ /**
226
+ * Enum of allowed types for connector function's payload data. Request Connector Functions only accept JSON.
227
+ * Allowed: TEXT┃JSON┃BINARY
228
+ * @param {String} payloadType
229
+ * @returns {ConnectorFunctionsCatalog}
230
+ */
231
+ withPayloadType(payloadType) {
232
+ if (typeof payloadType !== 'string' || !this._checkValues(payloadType, CONNECTOR_FUNCTION_PAYLOAD_TYPES))
233
+ throw new Error('Parameter payload type must be a string and must be one of these values: ' + CONNECTOR_FUNCTION_PAYLOAD_TYPES);
234
+
235
+ this._payloadType = payloadType;
236
+ return this;
237
+ }
238
+
239
+ _composeElement() {
240
+ let updateData = {
241
+ "name": this._name,
242
+ "description": (this._description ? this._description : undefined),
243
+ "operationalStatus": this._operationalStatus,
244
+ "operationName": this._type === 'REQUEST' ? this._operationName : undefined,
245
+ "type": this._type,
246
+ "cloneable": this._cloneable,
247
+ "northCriterias": this._northCriterias,
248
+ "southCriterias": this._southCriterias,
249
+ "javascript": this._javascript,
250
+ "payloadType": this._payloadType
251
+ };
252
+
253
+ return updateData;
254
+ }
255
+
256
+ _checkRequiredParameters(isUpdate) {
257
+ if (isUpdate && this._identifier === undefined) {
258
+ throw new Error({
259
+ message: "Parameter identifier must be defined",
260
+ parameter: "identifier"
261
+ })
262
+ }
263
+ try {
264
+ super._checkRequiredParameters()
265
+ } catch (err) {
266
+ throw err
267
+ }
268
+ switch (this._type) {
269
+ case 'REQUEST': {
270
+ if (this._operationName === undefined || this._northCriterias === undefined || this._northCriterias.length === 0) {
271
+ throw new Error('Parameters operationName and northCriteria must be defined when type REQUEST');
272
+ }
273
+ if (this._payloadType !== 'JSON') {
274
+ throw new Error('Parameter payload type must be JSON when type REQUEST');
275
+ }
276
+ break;
277
+ }
278
+ case 'COLLECTION':
279
+ case 'RESPONSE': {
280
+ if (this._southCriterias === undefined || this._southCriterias.length === 0) {
281
+ throw new Error('Parameters southCriteria must be defined when type COLLECTION or RESPONSE');
282
+ }
283
+ break
284
+ }
285
+ }
286
+ }
287
+
288
+ _buildURL() {
289
+ return 'connectorFunctions/' + this._resource + '/' + this._identifier;
290
+ }
291
+
292
+ /**
293
+ * Create a new connector function catalog
294
+ * @return {Promise}
295
+ * @throws {Error}
296
+ */
297
+ create() {
298
+ this._checkRequiredParameters();
299
+
300
+ return this._doSouthPost('connectorFunctions/' + this._resource, this._composeElement());
301
+ }
302
+
303
+ /**
304
+ * Updates a connector function catalog
305
+ * @return {Promise}
306
+ * @throws {Error}
307
+ */
308
+ update() {
309
+ this._checkRequiredParameters(true);
310
+
311
+ return this._doSouthPut(this._buildURL(), this._composeElement());
312
+ }
313
+
314
+ /**
315
+ * Delete a connector function catalog
316
+ * @returns {Promise}
317
+ * @returns {Error}
318
+ */
319
+ delete() {
320
+ if (this._identifier === undefined) {
321
+ throw new Error({
322
+ message: "Parameter identifier must be defined",
323
+ parameter: "identifier"
324
+ })
325
+ }
326
+ return this._doSouthDelete();
327
+ }
328
+ }
@@ -0,0 +1,27 @@
1
+ 'use strict';
2
+
3
+ import GenericFinder from "../../GenericFinder";
4
+
5
+ /**
6
+ * This class allow make get request to connector functions catalog resource into Opengate North API.
7
+ */
8
+ export default class ConnectorFunctionsCatalog extends GenericFinder {
9
+
10
+ constructor(ogapi){
11
+ super(ogapi, 'connectorFunctions/provision/catalog', 'connectorFunctions', 'Connector functions not found');
12
+ }
13
+
14
+ /**
15
+ * Get connector functions catalog
16
+ *
17
+ * @returns {Promise}
18
+ */
19
+ getConnectorFunctionsCatalog(){
20
+ return this._execute(true);
21
+ }
22
+
23
+ _composeUrl() {
24
+ return this._baseUrl;
25
+ }
26
+
27
+ }
@@ -0,0 +1,25 @@
1
+ 'use strict';
2
+
3
+ import GenericFinder from "../../GenericFinder";
4
+
5
+ /**
6
+ * This class allow make get request to a connector functions catalog resource into Opengate North API.
7
+ */
8
+ export default class ConnectorFunctionsCatalogFinder extends GenericFinder {
9
+
10
+ constructor(ogapi){
11
+ super(ogapi, 'connectorFunctions/provision/catalog', 'connectorFunctions', 'Connector functions not found');
12
+ }
13
+
14
+ /**
15
+ * Reading a Connector Function from catalog
16
+ *
17
+ * @param {String} connectorFunctionId
18
+ * @returns {Promise}
19
+ */
20
+ findByConnectorFunctionsId(connectorFunctionId){
21
+ this._withId(connectorFunctionId)
22
+ return this._execute(true);
23
+ }
24
+
25
+ }
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- import BaseProvision from '../provision/BaseProvision';
3
+ import BaseProvision from '../../provision/BaseProvision';
4
4
  import {
5
5
  CONNECTOR_FUNCTION_TYPES,
6
6
  CONNECTOR_FUNCTION_OPERATIONAL_STATUS,
7
7
  CONNECTOR_FUNCTION_PAYLOAD_TYPES
8
- } from './enum/_CONNECTOR_FUNCTIONS_ENUMS';
8
+ } from '../_CONNECTOR_FUNCTIONS_ENUMS';
9
9
 
10
10
  import q from 'q';
11
11
 
@@ -1,56 +1,55 @@
1
- 'use strict';
2
-
3
- //import ProvisionGenericFinder from '../ProvisionGenericFinder';
4
- import GenericFinder from '../GenericFinder';
5
-
6
- /**
7
- * This class allow make get request to ConnectorFunctions resource into Opengate North API.
8
- */
9
- export default class ConnectorFunctionsFinder extends GenericFinder {
10
-
11
- /**
12
- * @param {InternalOpenGateAPI} ogapi - Reference to the API object.
13
- */
14
- constructor(ogapi) {
15
- super(ogapi, 'connectorFunctions/provision/organizations', "connectorFunctions", 'Connector functions not found');
16
- }
17
-
18
- /**
19
- * Performs a get that returns connectors functions related
20
- * @test
21
- * ogapi.newConnectorFunctionsFinder().findByOrganizationAndChannel('xxx-xx-xxx-xxx', 'xxxxx-xxxx-xxxx').then().catch();
22
- * @param {string} organization - organization
23
- * @param {string} channel - channel.
24
- * @return {Promise}
25
- */
26
- findByOrganizationAndChannel(organization, channel) {
27
- let _this = this;
28
- _this._organization = organization;
29
- _this._channel = channel;
30
-
31
- return this._execute();
32
- }
33
-
34
- /**
35
- * Performs a get that returns connectors functions related
36
- * @test
37
- * ogapi.newConnectorFunctionsFinder().findByOrganizationAndChannel('xxx-xx-xxx-xxx', 'xxxxx-xxxx-xxxx').then().catch();
38
- * @param {string} organization - organization
39
- * @param {string} channel - channel.
40
- * @param {string} name - Connector function name
41
- * @return {Promise}
42
- */
43
- findByOrganizationAndChannelAndName(organization, channel, name) {
44
- let _this = this;
45
- _this._organization = organization;
46
- _this._channel = channel;
47
- _this._name = name;
48
-
49
- return this._execute();
50
- }
51
-
52
- _composeUrl() {
53
- return this._baseUrl + "/" + this._organization + "/channels/" + this._channel + (this._name?"/" + this._name:'');
54
- }
55
-
1
+ 'use strict';
2
+
3
+ import GenericFinder from '../../GenericFinder';
4
+
5
+ /**
6
+ * This class allow make get request to ConnectorFunctions resource into Opengate North API.
7
+ */
8
+ export default class ConnectorFunctionsFinder extends GenericFinder {
9
+
10
+ /**
11
+ * @param {InternalOpenGateAPI} ogapi - Reference to the API object.
12
+ */
13
+ constructor(ogapi) {
14
+ super(ogapi, 'connectorFunctions/provision/organizations', "connectorFunctions", 'Connector functions not found');
15
+ }
16
+
17
+ /**
18
+ * Performs a get that returns connectors functions related
19
+ * @test
20
+ * ogapi.newConnectorFunctionsFinder().findByOrganizationAndChannel('xxx-xx-xxx-xxx', 'xxxxx-xxxx-xxxx').then().catch();
21
+ * @param {string} organization - organization
22
+ * @param {string} channel - channel.
23
+ * @return {Promise}
24
+ */
25
+ findByOrganizationAndChannel(organization, channel) {
26
+ let _this = this;
27
+ _this._organization = organization;
28
+ _this._channel = channel;
29
+
30
+ return this._execute();
31
+ }
32
+
33
+ /**
34
+ * Performs a get that returns connectors functions related
35
+ * @test
36
+ * ogapi.newConnectorFunctionsFinder().findByOrganizationAndChannel('xxx-xx-xxx-xxx', 'xxxxx-xxxx-xxxx').then().catch();
37
+ * @param {string} organization - organization
38
+ * @param {string} channel - channel.
39
+ * @param {string} name - Connector function name
40
+ * @return {Promise}
41
+ */
42
+ findByOrganizationAndChannelAndName(organization, channel, name) {
43
+ let _this = this;
44
+ _this._organization = organization;
45
+ _this._channel = channel;
46
+ _this._name = name;
47
+
48
+ return this._execute();
49
+ }
50
+
51
+ _composeUrl() {
52
+ return this._baseUrl + "/" + this._organization + "/channels/" + this._channel + (this._name?"/" + this._name:'');
53
+ }
54
+
56
55
  }
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- import GenericFinder from '../GenericFinder';
3
+ import GenericFinder from '../../GenericFinder';
4
4
  import q from 'q';
5
5
  import HttpStatus from 'http-status-codes';
6
6
 
@@ -8,7 +8,7 @@ import HttpStatus from 'http-status-codes';
8
8
  import {
9
9
  CONNECTOR_FUNCTION_SOUTH_PROTOCOLS,
10
10
  CONNECTOR_FUNCTION_PAYLOAD_TYPES
11
- } from './enum/_CONNECTOR_FUNCTIONS_ENUMS';
11
+ } from '../_CONNECTOR_FUNCTIONS_ENUMS';
12
12
 
13
13
  /**
14
14
  * This class allow make get request to RuleConfigurationsHelper resource into Opengate North API.
@@ -178,7 +178,7 @@ export default class Organizations extends BaseProvision {
178
178
 
179
179
  /**
180
180
  * Sets the password poliicy configuration
181
- * @param {object} withPasswordPolicy
181
+ * @param {object} passPolicy
182
182
  * @return {Organizations}
183
183
  */
184
184
  withPasswordPolicy(passPolicy) {
@@ -131,6 +131,28 @@ export default class BaseProvision {
131
131
  return promise;
132
132
  }
133
133
 
134
+ _doSouthDelete(body) {
135
+ var defered = q.defer();
136
+ var promise = defered.promise;
137
+ this._ogapi.Sapi.delete(this._buildURL(), this._timeout, this._getExtraHeaders(), this._getUrlParameters(), body, this._getServiceBaseURL())
138
+ .then((res) => {
139
+ if (res.statusCode === 200) {
140
+ defered.resolve({
141
+ statusCode: res.statusCode
142
+ });
143
+ } else {
144
+ defered.reject({
145
+ errors: res.errors,
146
+ statusCode: res.statusCode
147
+ });
148
+ }
149
+ })
150
+ .catch((error) => {
151
+ defered.reject(error);
152
+ });
153
+ return promise;
154
+ }
155
+
134
156
  /**
135
157
  * This invoke a request to OpenGate North API and the callback is managed by promises
136
158
  * This function updates a entity of provision
@@ -200,6 +222,33 @@ export default class BaseProvision {
200
222
  return promise;
201
223
  }
202
224
 
225
+ _doSouthPut(resource, element) {
226
+ var defered = q.defer();
227
+ var promise = defered.promise;
228
+
229
+ this._ogapi.Sapi.put(resource, element, this._timeout, this._getExtraHeaders(), this._getUrlParameters(), this._getServiceBaseURL())
230
+ .then((res) => {
231
+ if (res.statusCode === 200) {
232
+ defered.resolve({
233
+ statusCode: res.statusCode
234
+ });
235
+ } else if (res.status === 200) {
236
+ defered.resolve({
237
+ statusCode: res.status
238
+ });
239
+ } else {
240
+ defered.reject({
241
+ errors: res.errors,
242
+ statusCode: res.statusCode
243
+ });
244
+ }
245
+ })
246
+ .catch((error) => {
247
+ defered.reject(error);
248
+ });
249
+ return promise;
250
+ }
251
+
203
252
  _doNorthPost(resource, element, returnBody) {
204
253
  var defered = q.defer();
205
254
  var promise = defered.promise;
@@ -233,6 +282,39 @@ export default class BaseProvision {
233
282
  return promise;
234
283
  }
235
284
 
285
+ _doSouthPost(resource, element, returnBody) {
286
+ var defered = q.defer();
287
+ var promise = defered.promise;
288
+ this._ogapi.Sapi.post(resource, element, this._timeout, this._getExtraHeaders(), this._getUrlParameters(), this._getServiceBaseURL())
289
+ .then((res) => {
290
+ const response = {
291
+ statusCode: res.statusCode
292
+ }
293
+ if (res.statusCode === 201) {
294
+ if (typeof this._onCreated === "function") {
295
+ this._onCreated(res.header.location);
296
+ }
297
+ response.location = res.header.location
298
+ if(returnBody){
299
+ response.data = res.body
300
+ }
301
+ defered.resolve(response);
302
+ } else if (res.statusCode === 200) {
303
+ if(returnBody){
304
+ response.data = res.body
305
+ }
306
+ defered.resolve(response);
307
+ } else {
308
+ response.errors = res.errors
309
+ defered.reject(response);
310
+ }
311
+ })
312
+ .catch((error) => {
313
+ defered.reject(error);
314
+ });
315
+ return promise;
316
+ }
317
+
236
318
  _getExtraHeaders() {
237
319
  return this._headers;
238
320
  }
@@ -375,7 +375,11 @@ export default class NorthAmpliaREST {
375
375
  _req = _req.end(function(err, res) {
376
376
  if (err !== null) {
377
377
  console.error("OGAPI ERROR: ")
378
- console.error(err)
378
+ try{
379
+ console.log(JSON.stringify(err))
380
+ }catch(err){
381
+ console.log(err)
382
+ }
379
383
  let data;
380
384
  let headers;
381
385
  let status = err.status ? err.status : undefined;
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"mappings":"","sources":["opengate-api-bower.js"],"file":"opengate-api-bower-12.12.2.js","sourceRoot":".."}