c8y-nitro 0.1.0 → 0.1.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.
- package/README.md +19 -43
- package/dist/_virtual/rolldown_runtime.mjs +32 -0
- package/dist/client.d.mts +122 -0
- package/dist/client.mjs +63 -0
- package/dist/index.mjs +5 -2
- package/dist/module/docker.mjs +1 -1
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/index.mjs +63 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/Client.mjs +284 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/alarm/AlarmService.mjs +198 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/alarm/AlarmStatus.mjs +16 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/alarm/index.mjs +4 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/application/ApplicationAvailability.mjs +12 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/application/ApplicationBinaryService.mjs +166 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/application/ApplicationService.mjs +604 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/application/ApplicationType.mjs +11 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/application/BillingMode.mjs +9 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/application/IApplicationInstanceDetails.mjs +11 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/application/Isolation.mjs +9 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/application/index.mjs +9 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/audit/AuditRecordType.mjs +33 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/audit/AuditService.mjs +95 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/audit/ChangeType.mjs +15 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/audit/index.mjs +5 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/core/BasicAuth.mjs +69 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/core/BearerAuth.mjs +52 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/core/BearerAuthFromSessionStorage.mjs +43 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/core/CookieAuth.mjs +53 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/core/FetchClient.mjs +82 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/core/MicroserviceClientRequestAuth.mjs +50 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/core/NodeJSCookieAuth.mjs +19 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/core/Paging.mjs +68 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/core/QueriesUtil.mjs +225 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/core/Service.mjs +186 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/core/Severity.mjs +18 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/core/index.mjs +13 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/device-registration/DeviceRegistrationBulkService.mjs +67 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/device-registration/DeviceRegistrationSecurityMode.mjs +13 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/device-registration/DeviceRegistrationService.mjs +362 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/device-registration/DeviceRegistrationStatus.mjs +16 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/device-registration/index.mjs +6 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/event/EventBinaryService.mjs +102 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/event/EventService.mjs +147 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/event/index.mjs +4 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/feature/FeatureService.mjs +89 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/feature/index.mjs +3 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/gettext-typed.mjs +7 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/gettext.mjs +9 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/identity/IdentityService.mjs +181 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/inventory/InventoryBinaryService.mjs +149 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/inventory/InventoryService.mjs +842 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/inventory/index.mjs +4 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/inventory-role/InventoryRoleService.mjs +139 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/inventory-role/index.mjs +3 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/measurement/ISeriesFilter.mjs +10 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/measurement/MeasurementService.mjs +205 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/measurement/index.mjs +4 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/operation/OperationBulkGeneralStatus.mjs +20 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/operation/OperationBulkService.mjs +157 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/operation/OperationBulkStatus.mjs +16 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/operation/OperationService.mjs +133 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/operation/OperationStatus.mjs +16 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/operation/index.mjs +7 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/public_api.mjs +84 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/realtime/MetaChannel.mjs +11 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/realtime/Realtime.mjs +103 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/realtime/index.mjs +3 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/services.mjs +54 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/smart-groups/SmartGroupsService.mjs +158 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/smart-rules/SmartRulesService.mjs +158 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/smart-rules/index.mjs +3 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/system-options/SystemOptionsService.mjs +82 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/system-options/index.mjs +3 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/tenant/TenantService.mjs +373 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/tenant/TenantStatus.mjs +11 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/tenant/TfaStrategy.mjs +14 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/tenant/index.mjs +5 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/tenant-login-options/ITenantLoginOptions.mjs +29 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/tenant-login-options/TenantLoginOptionsService.mjs +217 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/tenant-login-options/index.mjs +4 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/tenant-options/TenantOptionsService.mjs +183 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/tenant-options/index.mjs +3 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/tenant-security-options/TenantSecurityOptionsService.mjs +52 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/tenant-security-options/index.mjs +3 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/trusted-certificates/CrlService.mjs +112 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/trusted-certificates/TrustedCertificateService.mjs +299 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/trusted-certificates/index.mjs +4 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/user/PasswordStrength.mjs +10 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/user/UserInventoryRoleService.mjs +133 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/user/UserService.mjs +730 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/user/index.mjs +5 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/user-group/UserGroupService.mjs +306 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/user-group/index.mjs +3 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/user-role/UserRoleService.mjs +70 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/user-role/index.mjs +3 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/Client.d.mts +218 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/alarm/AlarmService.d.mts +153 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/alarm/AlarmStatus.d.mts +15 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/alarm/IAlarm.d.mts +84 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/alarm/SeverityFilter.d.mts +6 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/application/ApplicationAvailability.d.mts +8 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/application/ApplicationBinaryService.d.mts +46 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/application/ApplicationService.d.mts +339 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/application/ApplicationType.d.mts +9 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/application/BillingMode.d.mts +7 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/application/IApplication.d.mts +30 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/application/IApplicationBinary.d.mts +12 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/application/IApplicationInstanceDetails.d.mts +71 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/application/IApplicationReference.d.mts +19 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/application/IApplicationVersion.d.mts +17 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/application/IDeviceRegistrationProvider.d.mts +9 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/application/IManifest.d.mts +81 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/application/IProvider.d.mts +8 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/application/IUploadParamsOverride.d.mts +9 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/application/Isolation.d.mts +7 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/audit/AuditRecordType.d.mts +32 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/audit/AuditService.d.mts +77 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/audit/ChangeType.d.mts +11 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/audit/IAuditRecord.d.mts +39 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/audit/IChange.d.mts +31 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/core/BasicAuth.d.mts +35 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/core/BearerAuth.d.mts +21 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/core/BearerAuthFromSessionStorage.d.mts +24 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/core/CookieAuth.d.mts +26 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/core/FetchClient.d.mts +24 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/core/IAuthentication.d.mts +27 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/core/ICustomProperties.d.mts +10 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/core/ICustomPropertiesMap.d.mts +8 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/core/IFetchClient.d.mts +13 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/core/IFetchOptions.d.mts +24 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/core/IFetchResponse.d.mts +28 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/core/IIdentified.d.mts +8 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/core/IMicroserviceSubscriptions.d.mts +18 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/core/INamed.d.mts +8 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/core/IResult.d.mts +29 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/core/IResultBase.d.mts +9 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/core/IResultList.d.mts +39 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/core/ISource.d.mts +20 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/core/MicroserviceClientRequestAuth.d.mts +36 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/core/NodeJSCookieAuth.d.mts +14 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/core/Paging.d.mts +70 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/core/QueriesUtil.d.mts +168 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/core/Service.d.mts +48 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/core/Severity.d.mts +17 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/device-registration/DeviceRegistrationBulkService.d.mts +43 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/device-registration/DeviceRegistrationSecurityMode.d.mts +11 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/device-registration/DeviceRegistrationService.d.mts +296 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/device-registration/DeviceRegistrationStatus.d.mts +12 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/device-registration/IDeviceCredentials.d.mts +25 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/device-registration/IDeviceRegistration.d.mts +79 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/device-registration/IDeviceRegistrationBulkResult.d.mts +29 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/event/EventBinaryService.d.mts +67 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/event/EventService.d.mts +120 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/event/IEvent.d.mts +42 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/event/IEventBinary.d.mts +28 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/feature/FeatureService.d.mts +59 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/feature/IFeatureToggle.d.mts +30 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/identity/IExternalIdentity.d.mts +27 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/identity/IdentityService.d.mts +107 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/inventory/IManagedObject.d.mts +95 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/inventory/InventoryBinaryService.d.mts +50 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/inventory/InventoryService.d.mts +594 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/inventory-role/InventoryRoleService.d.mts +111 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/measurement/IMeasurement.d.mts +61 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/measurement/IMeasurementFilter.d.mts +59 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/measurement/ISeries.d.mts +60 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/measurement/ISeriesFilter.d.mts +48 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/measurement/MeasurementService.d.mts +163 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/operation/IOperation.d.mts +27 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/operation/IOperationBulk.d.mts +58 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/operation/IOperationBulkProgress.d.mts +29 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/operation/OperationBulkGeneralStatus.d.mts +16 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/operation/OperationBulkService.d.mts +130 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/operation/OperationBulkStatus.d.mts +12 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/operation/OperationService.d.mts +111 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/operation/OperationStatus.d.mts +12 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/realtime/Realtime.d.mts +69 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/smart-groups/SmartGroupsService.d.mts +126 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/smart-rules/IRule.d.mts +22 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/smart-rules/SmartRulesService.d.mts +90 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/system-options/ISystemOption.d.mts +21 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/system-options/SystemOptionsService.d.mts +57 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/tenant/ICurrentTenant.d.mts +25 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/tenant/ISupportUser.d.mts +8 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/tenant/ITenant.d.mts +28 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/tenant/ITenantReference.d.mts +8 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/tenant/ITfaSettings.d.mts +32 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/tenant/TenantService.d.mts +264 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/tenant/TenantStatus.d.mts +7 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/tenant/TfaStrategy.d.mts +12 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/tenant-login-options/ITenantLoginOptions.d.mts +159 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/tenant-login-options/TenantLoginOptionsService.d.mts +176 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/tenant-options/ITenantOption.d.mts +12 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/tenant-options/ITenantOptionDetailParams.d.mts +13 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/tenant-options/TenantOptionsService.d.mts +150 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/tenant-policy/ITenantPolicy.d.mts +13 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/tenant-security-options/ITenantSecurityOption.d.mts +10 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/tenant-security-options/TenantSecurityOptionsService.d.mts +39 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/trusted-certificates/CrlService.d.mts +75 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/trusted-certificates/ICertificateRevocation.d.mts +14 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/trusted-certificates/ITrustedCertificate.d.mts +75 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/trusted-certificates/TrustedCertificateService.d.mts +181 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user/ICurrentUser.d.mts +39 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user/IResetPassword.d.mts +15 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user/ITotp.d.mts +9 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user/ITotpStatus.d.mts +7 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user/IUser.d.mts +77 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user/IUserInventoryRole.d.mts +16 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user/PasswordStrength.d.mts +8 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user/UserInventoryRoleService.d.mts +108 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user/UserService.d.mts +400 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user-group/IDevicePermissions.d.mts +8 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user-group/IUserGroup.d.mts +44 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user-group/UserGroupService.d.mts +215 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user-role/IRole.d.mts +12 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user-role/IRoleReference.d.mts +19 -0
- package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user-role/UserRoleService.d.mts +57 -0
- package/dist/node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/index.mjs +18 -0
- package/dist/node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/abort.mjs +29 -0
- package/dist/node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/async.mjs +32 -0
- package/dist/node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/defer.mjs +21 -0
- package/dist/node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/iterate.mjs +47 -0
- package/dist/node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/state.mjs +33 -0
- package/dist/node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/terminator.mjs +26 -0
- package/dist/node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/parallel.mjs +40 -0
- package/dist/node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/serial.mjs +24 -0
- package/dist/node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/serialOrdered.mjs +62 -0
- package/dist/node_modules/.pnpm/b2a@1.1.2/node_modules/b2a/lib/index.mjs +44 -0
- package/dist/node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.mjs +20 -0
- package/dist/node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.mjs +12 -0
- package/dist/node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.mjs +12 -0
- package/dist/node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.mjs +23 -0
- package/dist/node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.mjs +12 -0
- package/dist/node_modules/.pnpm/combined-stream@1.0.8/node_modules/combined-stream/lib/combined_stream.mjs +158 -0
- package/dist/node_modules/.pnpm/cometd-nodejs-client@1.0.2/node_modules/cometd-nodejs-client/cometd-nodejs-client.mjs +120 -0
- package/dist/node_modules/.pnpm/cometd@4.0.8/node_modules/cometd/cometd.mjs +2658 -0
- package/dist/node_modules/.pnpm/cross-fetch@4.1.0_encoding@0.1.13/node_modules/cross-fetch/dist/node-ponyfill.mjs +24 -0
- package/dist/node_modules/.pnpm/delayed-stream@1.0.0/node_modules/delayed-stream/lib/delayed_stream.mjs +84 -0
- package/dist/node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.mjs +27 -0
- package/dist/node_modules/.pnpm/encoding@0.1.13/node_modules/encoding/lib/encoding.mjs +60 -0
- package/dist/node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.mjs +18 -0
- package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.mjs +12 -0
- package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.mjs +12 -0
- package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.mjs +12 -0
- package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.mjs +12 -0
- package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.mjs +12 -0
- package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.mjs +12 -0
- package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.mjs +12 -0
- package/dist/node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.mjs +12 -0
- package/dist/node_modules/.pnpm/es-set-tostringtag@2.1.0/node_modules/es-set-tostringtag/index.mjs +32 -0
- package/dist/node_modules/.pnpm/form-data@4.0.4/node_modules/form-data/index.d.mts +50 -0
- package/dist/node_modules/.pnpm/form-data@4.0.4/node_modules/form-data/lib/form_data.mjs +247 -0
- package/dist/node_modules/.pnpm/form-data@4.0.4/node_modules/form-data/lib/populate.mjs +16 -0
- package/dist/node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.mjs +58 -0
- package/dist/node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.mjs +13 -0
- package/dist/node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.mjs +357 -0
- package/dist/node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.mjs +14 -0
- package/dist/node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.mjs +12 -0
- package/dist/node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.mjs +25 -0
- package/dist/node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.mjs +12 -0
- package/dist/node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.mjs +19 -0
- package/dist/node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.mjs +21 -0
- package/dist/node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.mjs +35 -0
- package/dist/node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.mjs +16 -0
- package/dist/node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.mjs +16 -0
- package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/dbcs-codec.mjs +349 -0
- package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/dbcs-data.mjs +194 -0
- package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/index.mjs +34 -0
- package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/internal.mjs +141 -0
- package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-codec.mjs +53 -0
- package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-data-generated.mjs +458 -0
- package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-data.mjs +154 -0
- package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/big5-added.mjs +172 -0
- package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp936.mjs +2587 -0
- package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp949.mjs +2223 -0
- package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp950.mjs +230 -0
- package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/eucjp.mjs +428 -0
- package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/gb18030-ranges.mjs +430 -0
- package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/gbk-added.mjs +233 -0
- package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/shiftjis.mjs +295 -0
- package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf16.mjs +126 -0
- package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf32.mjs +198 -0
- package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf7.mjs +183 -0
- package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/bom-handling.mjs +45 -0
- package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/index.mjs +110 -0
- package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/streams.mjs +93 -0
- package/dist/node_modules/.pnpm/isomorphic-cometd@1.1.0_cometd-nodejs-client@1.0.2_cometd@4.0.8/node_modules/isomorphic-cometd/node.mjs +18 -0
- package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.mjs +12 -0
- package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.mjs +12 -0
- package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.mjs +14 -0
- package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.mjs +12 -0
- package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.mjs +12 -0
- package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.mjs +12 -0
- package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.mjs +12 -0
- package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.mjs +17 -0
- package/dist/node_modules/.pnpm/mime-db@1.52.0/node_modules/mime-db/db.mjs +7051 -0
- package/dist/node_modules/.pnpm/mime-db@1.52.0/node_modules/mime-db/index.mjs +21 -0
- package/dist/node_modules/.pnpm/mime-types@2.1.35/node_modules/mime-types/index.mjs +123 -0
- package/dist/node_modules/.pnpm/node-fetch@2.7.0_encoding@0.1.13/node_modules/node-fetch/lib/index.mjs +1174 -0
- package/dist/node_modules/.pnpm/safer-buffer@2.1.2/node_modules/safer-buffer/safer.mjs +48 -0
- package/dist/node_modules/.pnpm/tr46@0.0.3/node_modules/tr46/index.mjs +145 -0
- package/dist/node_modules/.pnpm/tr46@0.0.3/node_modules/tr46/lib/mappingTable.mjs +35563 -0
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs +31 -0
- package/dist/node_modules/.pnpm/webidl-conversions@3.0.1/node_modules/webidl-conversions/lib/index.mjs +122 -0
- package/dist/node_modules/.pnpm/whatwg-url@5.0.0/node_modules/whatwg-url/lib/URL-impl.mjs +145 -0
- package/dist/node_modules/.pnpm/whatwg-url@5.0.0/node_modules/whatwg-url/lib/URL.mjs +174 -0
- package/dist/node_modules/.pnpm/whatwg-url@5.0.0/node_modules/whatwg-url/lib/public-api.mjs +21 -0
- package/dist/node_modules/.pnpm/whatwg-url@5.0.0/node_modules/whatwg-url/lib/url-state-machine.mjs +878 -0
- package/dist/node_modules/.pnpm/whatwg-url@5.0.0/node_modules/whatwg-url/lib/utils.mjs +22 -0
- package/dist/package.mjs +1 -1
- package/dist/utils/client.d.mts +1 -1
- package/dist/utils/client.mjs +4 -1
- package/dist/utils/credentials.d.mts +1 -1
- package/dist/utils/credentials.mjs +2 -1
- package/dist/utils/resources.d.mts +1 -1
- package/package.json +8 -4
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { gettext } from "../gettext.mjs";
|
|
2
|
+
|
|
3
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/operation/OperationStatus.js
|
|
4
|
+
/**
|
|
5
|
+
* An Operation can have one of the following states.
|
|
6
|
+
*/
|
|
7
|
+
var OperationStatus;
|
|
8
|
+
(function(OperationStatus) {
|
|
9
|
+
OperationStatus[OperationStatus["PENDING"] = gettext("PENDING")] = "PENDING";
|
|
10
|
+
OperationStatus[OperationStatus["EXECUTING"] = gettext("EXECUTING")] = "EXECUTING";
|
|
11
|
+
OperationStatus[OperationStatus["SUCCESSFUL"] = gettext("SUCCESSFUL")] = "SUCCESSFUL";
|
|
12
|
+
OperationStatus[OperationStatus["FAILED"] = gettext("FAILED")] = "FAILED";
|
|
13
|
+
})(OperationStatus || (OperationStatus = {}));
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { OperationStatus };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { OperationService } from "./OperationService.mjs";
|
|
2
|
+
import { OperationBulkService } from "./OperationBulkService.mjs";
|
|
3
|
+
import { OperationBulkStatus } from "./OperationBulkStatus.mjs";
|
|
4
|
+
import { OperationBulkGeneralStatus } from "./OperationBulkGeneralStatus.mjs";
|
|
5
|
+
import { OperationStatus } from "./OperationStatus.mjs";
|
|
6
|
+
|
|
7
|
+
export { };
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { Paging } from "./core/Paging.mjs";
|
|
2
|
+
import { Service } from "./core/Service.mjs";
|
|
3
|
+
import { FetchClient } from "./core/FetchClient.mjs";
|
|
4
|
+
import { BasicAuth } from "./core/BasicAuth.mjs";
|
|
5
|
+
import { BearerAuth } from "./core/BearerAuth.mjs";
|
|
6
|
+
import { BearerAuthFromSessionStorage } from "./core/BearerAuthFromSessionStorage.mjs";
|
|
7
|
+
import { CookieAuth } from "./core/CookieAuth.mjs";
|
|
8
|
+
import { MicroserviceClientRequestAuth } from "./core/MicroserviceClientRequestAuth.mjs";
|
|
9
|
+
import { NodeJSCookieAuth } from "./core/NodeJSCookieAuth.mjs";
|
|
10
|
+
import { SEVERITY_LABELS, Severity } from "./core/Severity.mjs";
|
|
11
|
+
import { QueriesUtil } from "./core/QueriesUtil.mjs";
|
|
12
|
+
import "./core/index.mjs";
|
|
13
|
+
import { Realtime } from "./realtime/Realtime.mjs";
|
|
14
|
+
import "./realtime/index.mjs";
|
|
15
|
+
import { EventService } from "./event/EventService.mjs";
|
|
16
|
+
import { EventBinaryService } from "./event/EventBinaryService.mjs";
|
|
17
|
+
import "./event/index.mjs";
|
|
18
|
+
import { InventoryBinaryService } from "./inventory/InventoryBinaryService.mjs";
|
|
19
|
+
import { ChildType, InventoryService } from "./inventory/InventoryService.mjs";
|
|
20
|
+
import "./inventory/index.mjs";
|
|
21
|
+
import { MeasurementService } from "./measurement/MeasurementService.mjs";
|
|
22
|
+
import { aggregationType } from "./measurement/ISeriesFilter.mjs";
|
|
23
|
+
import "./measurement/index.mjs";
|
|
24
|
+
import { AlarmService } from "./alarm/AlarmService.mjs";
|
|
25
|
+
import { ALARM_STATUS_LABELS, AlarmStatus } from "./alarm/AlarmStatus.mjs";
|
|
26
|
+
import "./alarm/index.mjs";
|
|
27
|
+
import { OperationService } from "./operation/OperationService.mjs";
|
|
28
|
+
import { OperationBulkService } from "./operation/OperationBulkService.mjs";
|
|
29
|
+
import { OperationBulkStatus } from "./operation/OperationBulkStatus.mjs";
|
|
30
|
+
import { OperationBulkGeneralStatus } from "./operation/OperationBulkGeneralStatus.mjs";
|
|
31
|
+
import { OperationStatus } from "./operation/OperationStatus.mjs";
|
|
32
|
+
import "./operation/index.mjs";
|
|
33
|
+
import { TenantService } from "./tenant/TenantService.mjs";
|
|
34
|
+
import { TenantStatus } from "./tenant/TenantStatus.mjs";
|
|
35
|
+
import { TfaStrategy } from "./tenant/TfaStrategy.mjs";
|
|
36
|
+
import "./tenant/index.mjs";
|
|
37
|
+
import { UserInventoryRoleService } from "./user/UserInventoryRoleService.mjs";
|
|
38
|
+
import { UserService } from "./user/UserService.mjs";
|
|
39
|
+
import { PasswordStrength } from "./user/PasswordStrength.mjs";
|
|
40
|
+
import "./user/index.mjs";
|
|
41
|
+
import { ApplicationBinaryService } from "./application/ApplicationBinaryService.mjs";
|
|
42
|
+
import { ApplicationType } from "./application/ApplicationType.mjs";
|
|
43
|
+
import { ApplicationService } from "./application/ApplicationService.mjs";
|
|
44
|
+
import { InstanceStatus } from "./application/IApplicationInstanceDetails.mjs";
|
|
45
|
+
import { BillingMode } from "./application/BillingMode.mjs";
|
|
46
|
+
import { Isolation } from "./application/Isolation.mjs";
|
|
47
|
+
import { ApplicationAvailability } from "./application/ApplicationAvailability.mjs";
|
|
48
|
+
import "./application/index.mjs";
|
|
49
|
+
import { SystemOptionsService } from "./system-options/SystemOptionsService.mjs";
|
|
50
|
+
import "./system-options/index.mjs";
|
|
51
|
+
import { TenantOptionsService } from "./tenant-options/TenantOptionsService.mjs";
|
|
52
|
+
import "./tenant-options/index.mjs";
|
|
53
|
+
import { TenantSecurityOptionsService } from "./tenant-security-options/TenantSecurityOptionsService.mjs";
|
|
54
|
+
import "./tenant-security-options/index.mjs";
|
|
55
|
+
import { TenantLoginOptionsService } from "./tenant-login-options/TenantLoginOptionsService.mjs";
|
|
56
|
+
import { GrantType, TenantLoginOptionType, UserManagementSource } from "./tenant-login-options/ITenantLoginOptions.mjs";
|
|
57
|
+
import "./tenant-login-options/index.mjs";
|
|
58
|
+
import { AuditService } from "./audit/AuditService.mjs";
|
|
59
|
+
import { AuditRecordType } from "./audit/AuditRecordType.mjs";
|
|
60
|
+
import { ChangeType } from "./audit/ChangeType.mjs";
|
|
61
|
+
import "./audit/index.mjs";
|
|
62
|
+
import { InventoryRoleService } from "./inventory-role/InventoryRoleService.mjs";
|
|
63
|
+
import "./inventory-role/index.mjs";
|
|
64
|
+
import { DeviceRegistrationStatus } from "./device-registration/DeviceRegistrationStatus.mjs";
|
|
65
|
+
import { DeviceRegistrationService } from "./device-registration/DeviceRegistrationService.mjs";
|
|
66
|
+
import { DeviceRegistrationBulkService } from "./device-registration/DeviceRegistrationBulkService.mjs";
|
|
67
|
+
import { DeviceRegistrationSecurityMode } from "./device-registration/DeviceRegistrationSecurityMode.mjs";
|
|
68
|
+
import "./device-registration/index.mjs";
|
|
69
|
+
import { UserRoleService } from "./user-role/UserRoleService.mjs";
|
|
70
|
+
import "./user-role/index.mjs";
|
|
71
|
+
import { UserGroupService } from "./user-group/UserGroupService.mjs";
|
|
72
|
+
import "./user-group/index.mjs";
|
|
73
|
+
import { IdentityService } from "./identity/IdentityService.mjs";
|
|
74
|
+
import { TrustedCertificateService } from "./trusted-certificates/TrustedCertificateService.mjs";
|
|
75
|
+
import { CrlService } from "./trusted-certificates/CrlService.mjs";
|
|
76
|
+
import "./trusted-certificates/index.mjs";
|
|
77
|
+
import { SmartGroupsService } from "./smart-groups/SmartGroupsService.mjs";
|
|
78
|
+
import { SmartRulesService } from "./smart-rules/SmartRulesService.mjs";
|
|
79
|
+
import "./smart-rules/index.mjs";
|
|
80
|
+
import { FeatureService } from "./feature/FeatureService.mjs";
|
|
81
|
+
import "./feature/index.mjs";
|
|
82
|
+
import { Client } from "./Client.mjs";
|
|
83
|
+
|
|
84
|
+
export { };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/realtime/MetaChannel.js
|
|
2
|
+
var MetaChannel;
|
|
3
|
+
(function(MetaChannel) {
|
|
4
|
+
MetaChannel["HANDSHAKE"] = "/meta/handshake";
|
|
5
|
+
MetaChannel["CONNECT"] = "/meta/connect";
|
|
6
|
+
MetaChannel["SUBSCRIBE"] = "/meta/subscribe";
|
|
7
|
+
MetaChannel["UNSUBSCRIBE"] = "/meta/unsubscribe";
|
|
8
|
+
})(MetaChannel || (MetaChannel = {}));
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { MetaChannel };
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { require_node } from "../../../../../../../../isomorphic-cometd@1.1.0_cometd-nodejs-client@1.0.2_cometd@4.0.8/node_modules/isomorphic-cometd/node.mjs";
|
|
2
|
+
import { MetaChannel } from "./MetaChannel.mjs";
|
|
3
|
+
|
|
4
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/realtime/Realtime.js
|
|
5
|
+
var import_node = require_node();
|
|
6
|
+
var Realtime = class {
|
|
7
|
+
/**
|
|
8
|
+
* only initializing cometd if it is actually needed
|
|
9
|
+
* trying to save some memory here
|
|
10
|
+
*/
|
|
11
|
+
get cometd() {
|
|
12
|
+
if (!this._cometd) {
|
|
13
|
+
this._cometd = new import_node.CometD({});
|
|
14
|
+
this._cometd.websocketEnabled = true;
|
|
15
|
+
this._cometd.addListener(MetaChannel.HANDSHAKE, this.handshakeCallback || this.metaHandshake);
|
|
16
|
+
}
|
|
17
|
+
return this._cometd;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Allows to set up a realtime (websocket or long-polling) connection to the platform.
|
|
21
|
+
* @param client The fetch client instance to use
|
|
22
|
+
* @param url The URL to connect to
|
|
23
|
+
* @param handshakeCallback A function which is called on succeeded or failed handshake
|
|
24
|
+
*/
|
|
25
|
+
constructor(client, url = "/notification/realtime", handshakeCallback) {
|
|
26
|
+
this.client = client;
|
|
27
|
+
this.url = url;
|
|
28
|
+
this.handshakeCallback = handshakeCallback;
|
|
29
|
+
this.metaHandshake = (msg) => {
|
|
30
|
+
if (!msg.successful) throw new Error("Handshake failed");
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Subscribes to a realtime channel to listen for data.
|
|
35
|
+
* @param channel The channel to connect to
|
|
36
|
+
* @param callback A function to call when data is received
|
|
37
|
+
*/
|
|
38
|
+
subscribe(channel, callback) {
|
|
39
|
+
this.checkConnection();
|
|
40
|
+
return this.cometd.subscribe(channel, callback);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Cancels the listening to a channel.
|
|
44
|
+
* @param subscription The subscription object returned by subscribe()
|
|
45
|
+
*/
|
|
46
|
+
unsubscribe(subscription) {
|
|
47
|
+
return this.cometd.unsubscribe(subscription);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Allows to listen to Cometd handshake to find out if e.g. the connection was reestablished.
|
|
51
|
+
*/
|
|
52
|
+
addHandshakeListener(callback) {
|
|
53
|
+
return this.cometd.addListener(MetaChannel.HANDSHAKE, callback);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Allows to listen to Cometd connection to e.g. detect when connection was lost.
|
|
57
|
+
*/
|
|
58
|
+
addConnectListener(callback) {
|
|
59
|
+
return this.cometd.addListener(MetaChannel.CONNECT, callback);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Removes the subscription obtained with a call to `addHandshakeListener` or `addConnectListener`.
|
|
63
|
+
*/
|
|
64
|
+
removeListener(subscriptionHandle) {
|
|
65
|
+
return this.cometd.removeListener(subscriptionHandle);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Resubscribes as necessary in case of a re-handshake.
|
|
69
|
+
*/
|
|
70
|
+
resubscribe(subscriptionHandle) {
|
|
71
|
+
return this.cometd.resubscribe(subscriptionHandle);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Disconnects the current connection.
|
|
75
|
+
*/
|
|
76
|
+
disconnect(disconnectCallback = void 0) {
|
|
77
|
+
this.cometd.disconnect(disconnectCallback);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Returns true if the CometD instance is disconnected or disconnecting.
|
|
81
|
+
*/
|
|
82
|
+
isDisconnected() {
|
|
83
|
+
return this.cometd.isDisconnected();
|
|
84
|
+
}
|
|
85
|
+
checkConnection() {
|
|
86
|
+
const { cometd, client, url } = this;
|
|
87
|
+
if (cometd.isDisconnected()) {
|
|
88
|
+
const { headers } = client.getFetchOptions();
|
|
89
|
+
const config = {
|
|
90
|
+
url: client.getUrl(url),
|
|
91
|
+
requestHeaders: headers
|
|
92
|
+
};
|
|
93
|
+
cometd.configure(config);
|
|
94
|
+
this.handshake(client.getCometdHandshake());
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
handshake(config) {
|
|
98
|
+
this.cometd.handshake(config, void 0);
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
//#endregion
|
|
103
|
+
export { Realtime };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { FetchClient } from "./core/FetchClient.mjs";
|
|
2
|
+
import { BasicAuth } from "./core/BasicAuth.mjs";
|
|
3
|
+
import "./core/index.mjs";
|
|
4
|
+
import { Realtime } from "./realtime/Realtime.mjs";
|
|
5
|
+
import "./realtime/index.mjs";
|
|
6
|
+
import { EventService } from "./event/EventService.mjs";
|
|
7
|
+
import { EventBinaryService } from "./event/EventBinaryService.mjs";
|
|
8
|
+
import "./event/index.mjs";
|
|
9
|
+
import { InventoryBinaryService } from "./inventory/InventoryBinaryService.mjs";
|
|
10
|
+
import { InventoryService } from "./inventory/InventoryService.mjs";
|
|
11
|
+
import "./inventory/index.mjs";
|
|
12
|
+
import { MeasurementService } from "./measurement/MeasurementService.mjs";
|
|
13
|
+
import "./measurement/index.mjs";
|
|
14
|
+
import { AlarmService } from "./alarm/AlarmService.mjs";
|
|
15
|
+
import "./alarm/index.mjs";
|
|
16
|
+
import { OperationService } from "./operation/OperationService.mjs";
|
|
17
|
+
import { OperationBulkService } from "./operation/OperationBulkService.mjs";
|
|
18
|
+
import "./operation/index.mjs";
|
|
19
|
+
import { TenantService } from "./tenant/TenantService.mjs";
|
|
20
|
+
import "./tenant/index.mjs";
|
|
21
|
+
import { UserService } from "./user/UserService.mjs";
|
|
22
|
+
import "./user/index.mjs";
|
|
23
|
+
import { ApplicationService } from "./application/ApplicationService.mjs";
|
|
24
|
+
import "./application/index.mjs";
|
|
25
|
+
import { SystemOptionsService } from "./system-options/SystemOptionsService.mjs";
|
|
26
|
+
import "./system-options/index.mjs";
|
|
27
|
+
import { TenantOptionsService } from "./tenant-options/TenantOptionsService.mjs";
|
|
28
|
+
import "./tenant-options/index.mjs";
|
|
29
|
+
import { TenantSecurityOptionsService } from "./tenant-security-options/TenantSecurityOptionsService.mjs";
|
|
30
|
+
import "./tenant-security-options/index.mjs";
|
|
31
|
+
import { TenantLoginOptionsService } from "./tenant-login-options/TenantLoginOptionsService.mjs";
|
|
32
|
+
import "./tenant-login-options/index.mjs";
|
|
33
|
+
import { AuditService } from "./audit/AuditService.mjs";
|
|
34
|
+
import "./audit/index.mjs";
|
|
35
|
+
import { InventoryRoleService } from "./inventory-role/InventoryRoleService.mjs";
|
|
36
|
+
import "./inventory-role/index.mjs";
|
|
37
|
+
import { DeviceRegistrationService } from "./device-registration/DeviceRegistrationService.mjs";
|
|
38
|
+
import { DeviceRegistrationBulkService } from "./device-registration/DeviceRegistrationBulkService.mjs";
|
|
39
|
+
import "./device-registration/index.mjs";
|
|
40
|
+
import { UserRoleService } from "./user-role/UserRoleService.mjs";
|
|
41
|
+
import "./user-role/index.mjs";
|
|
42
|
+
import { UserGroupService } from "./user-group/UserGroupService.mjs";
|
|
43
|
+
import "./user-group/index.mjs";
|
|
44
|
+
import { IdentityService } from "./identity/IdentityService.mjs";
|
|
45
|
+
import { TrustedCertificateService } from "./trusted-certificates/TrustedCertificateService.mjs";
|
|
46
|
+
import { CrlService } from "./trusted-certificates/CrlService.mjs";
|
|
47
|
+
import "./trusted-certificates/index.mjs";
|
|
48
|
+
import { SmartGroupsService } from "./smart-groups/SmartGroupsService.mjs";
|
|
49
|
+
import { SmartRulesService } from "./smart-rules/SmartRulesService.mjs";
|
|
50
|
+
import "./smart-rules/index.mjs";
|
|
51
|
+
import { FeatureService } from "./feature/FeatureService.mjs";
|
|
52
|
+
import "./feature/index.mjs";
|
|
53
|
+
|
|
54
|
+
export { };
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { __awaiter } from "../../../../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.mjs";
|
|
2
|
+
import { Service } from "../core/Service.mjs";
|
|
3
|
+
|
|
4
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/smart-groups/SmartGroupsService.js
|
|
5
|
+
var SmartGroupsService = class extends Service {
|
|
6
|
+
constructor(client) {
|
|
7
|
+
super(client);
|
|
8
|
+
this.baseUrl = "inventory";
|
|
9
|
+
this.listUrl = "managedObjects";
|
|
10
|
+
this.SMART_GROUP_TYPE = "c8y_DynamicGroup";
|
|
11
|
+
this.SMART_GROUP_FRAGMENT_TYPE = "c8y_IsDynamicGroup";
|
|
12
|
+
this.COLUMNS_CONFIG_FRAGMENT = "c8y_DeviceColumnsConfig";
|
|
13
|
+
this.FILTER_CONFIG_FRAGMENT = "c8y_DeviceFilterConfig";
|
|
14
|
+
this.QUERY_STRING_FRAGMENT = "c8y_DeviceQueryString";
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Gets the details of managed object
|
|
18
|
+
*
|
|
19
|
+
* @param {IdReference} entityOrId Entity or Id of the ManagedObject.
|
|
20
|
+
* @param {object} filter Filter object.
|
|
21
|
+
*
|
|
22
|
+
* @returns Response wrapped in [[IResult]]
|
|
23
|
+
*
|
|
24
|
+
* ```typescript
|
|
25
|
+
*
|
|
26
|
+
* const id: string = '1';
|
|
27
|
+
* const filter: any = { withChildren: false };
|
|
28
|
+
*
|
|
29
|
+
* (async () => {
|
|
30
|
+
* const {data, res} = await smartGroupsService.detail(id, filter);
|
|
31
|
+
* })();
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
detail(entityOrId_1) {
|
|
35
|
+
const _super = Object.create(null, { detail: { get: () => super.detail } });
|
|
36
|
+
return __awaiter(this, arguments, void 0, function* (entityOrId, filter = {}) {
|
|
37
|
+
return _super.detail.call(this, entityOrId, filter);
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Creates a smart group managed object with columns configuration.
|
|
42
|
+
*
|
|
43
|
+
* @param {object} smartGroup Dynamic group managed object.
|
|
44
|
+
* @param {object} deviceQueryString Columns configuration query string to filter the new group.
|
|
45
|
+
* @param {object} configurableColumns Configurable columns definitions.
|
|
46
|
+
* @param {object} filterConfig Columns filter configuration for the new group.
|
|
47
|
+
*
|
|
48
|
+
* @returns Response wrapped in [[IResult]]
|
|
49
|
+
*
|
|
50
|
+
* **Example**
|
|
51
|
+
* ```typescript
|
|
52
|
+
*
|
|
53
|
+
* const smartGroup = { name: 'newName', type: 'c8y_DynamicGroup', c8y_IsDynamicGroup: {} };
|
|
54
|
+
* const deviceQueryString = 'c8y_DeviceQueryString: "$filter=(name eq 'test*') $orderby=c8y_Hardware.model asc';
|
|
55
|
+
* const configurableColumns = [
|
|
56
|
+
* {headerName: 'Status', active: false, key: 'status'},
|
|
57
|
+
* {headerName: 'Name', active: true, key: 'name', filter: { externalFilterQuery: { name: { names: ['test*'] } } }},
|
|
58
|
+
* {headerName: 'Model', active: true, key: 'model'}
|
|
59
|
+
* ];
|
|
60
|
+
*
|
|
61
|
+
* (async () => {
|
|
62
|
+
* await smartGroupsService.create({ smartGroup, deviceQueryString, configurableColumns });
|
|
63
|
+
* })();
|
|
64
|
+
*
|
|
65
|
+
* Note: filterConfig has been removed as a default property to the input object.
|
|
66
|
+
* Now it is part of the configurable columns properties as it is shown above.
|
|
67
|
+
* You can still pass it as an optional parameter.
|
|
68
|
+
* ( const filterConfig = [{ name: { names: ['test*'] } }] )
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
create(obj) {
|
|
72
|
+
const _super = Object.create(null, { create: { get: () => super.create } });
|
|
73
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
74
|
+
const entity = Object.assign(Object.assign(Object.assign({}, obj.smartGroup), {
|
|
75
|
+
[this.QUERY_STRING_FRAGMENT]: obj.deviceQueryString,
|
|
76
|
+
[this.COLUMNS_CONFIG_FRAGMENT]: obj.configurableColumns
|
|
77
|
+
}), obj.filterConfig && { [this.FILTER_CONFIG_FRAGMENT]: obj.filterConfig });
|
|
78
|
+
return _super.create.call(this, entity);
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Updates smart group managed object with given id.
|
|
83
|
+
*
|
|
84
|
+
* @param {Partial<IManagedObject>} mo Partial managed object of the smart group.
|
|
85
|
+
*
|
|
86
|
+
* @returns Response wrapped in [[IResult]]
|
|
87
|
+
*
|
|
88
|
+
* ```typescript
|
|
89
|
+
*
|
|
90
|
+
* const smartGroup = { id: '1', name: 'newName' };
|
|
91
|
+
*
|
|
92
|
+
* (async () => {
|
|
93
|
+
* await smartGroupsService.update(smartGroup);
|
|
94
|
+
* })();
|
|
95
|
+
* ```
|
|
96
|
+
*/
|
|
97
|
+
update(mo) {
|
|
98
|
+
const _super = Object.create(null, { update: { get: () => super.update } });
|
|
99
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
100
|
+
return _super.update.call(this, mo);
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Removes managed object with given id.
|
|
105
|
+
*
|
|
106
|
+
* @param {IManagedObject} group Managed object of the group.
|
|
107
|
+
* @param {object} params Additional query params.
|
|
108
|
+
*
|
|
109
|
+
* @returns Response wrapped in [[IResult]]
|
|
110
|
+
*
|
|
111
|
+
* ```typescript
|
|
112
|
+
*
|
|
113
|
+
* const group = { id: '1' } as IManagedObject;
|
|
114
|
+
* const params: any = {
|
|
115
|
+
* withChildren: false
|
|
116
|
+
* }
|
|
117
|
+
*
|
|
118
|
+
* (async () => {
|
|
119
|
+
* await smartGroupsService.delete(group, params);
|
|
120
|
+
* })();
|
|
121
|
+
* ```
|
|
122
|
+
*/
|
|
123
|
+
delete(entityOrId_1) {
|
|
124
|
+
const _super = Object.create(null, { delete: { get: () => super.delete } });
|
|
125
|
+
return __awaiter(this, arguments, void 0, function* (entityOrId, params = {}) {
|
|
126
|
+
const data = (yield this.detail(entityOrId, { withChildren: false })).data;
|
|
127
|
+
return yield _super.delete.call(this, data, params);
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Checks whether a given managed object is a smart group
|
|
132
|
+
*
|
|
133
|
+
* @param {IManagedObject} mo Managed object to check.
|
|
134
|
+
*
|
|
135
|
+
* @returns boolean
|
|
136
|
+
*
|
|
137
|
+
* ```typescript
|
|
138
|
+
*
|
|
139
|
+
* const mo: IManagedObject = {id: 1, type: "c8y_DeviceGroup", c8y_IsDeviceGroup: {}} as IManagedObject;
|
|
140
|
+
*
|
|
141
|
+
* (() => {
|
|
142
|
+
* const isSmartGroup = smartGroupsService.isSmartGroup(mo);
|
|
143
|
+
* })();
|
|
144
|
+
* ```
|
|
145
|
+
*/
|
|
146
|
+
isSmartGroup(mo) {
|
|
147
|
+
const hasSmartGroupFragmentType = mo.hasOwnProperty(this.SMART_GROUP_FRAGMENT_TYPE);
|
|
148
|
+
const isSmartGroupType = mo && mo.type === this.SMART_GROUP_TYPE;
|
|
149
|
+
return hasSmartGroupFragmentType || isSmartGroupType;
|
|
150
|
+
}
|
|
151
|
+
getUrl(url = "") {
|
|
152
|
+
const partialUrl = url.replace(/^\/+/, "");
|
|
153
|
+
return `${this.baseUrl.replace(/\/+$/, "")}/${partialUrl}`;
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
//#endregion
|
|
158
|
+
export { SmartGroupsService };
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { __awaiter } from "../../../../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.mjs";
|
|
2
|
+
import { Service } from "../core/Service.mjs";
|
|
3
|
+
import { ApplicationService } from "../application/ApplicationService.mjs";
|
|
4
|
+
import "../application/index.mjs";
|
|
5
|
+
|
|
6
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/smart-rules/SmartRulesService.js
|
|
7
|
+
var SmartRulesService = class SmartRulesService extends Service {
|
|
8
|
+
constructor(client) {
|
|
9
|
+
super(client);
|
|
10
|
+
this.baseUrl = "service/smartrule";
|
|
11
|
+
this.rulesUrl = "smartrules";
|
|
12
|
+
this.unupdatableFields = [
|
|
13
|
+
"type",
|
|
14
|
+
"cepModuleId",
|
|
15
|
+
"creationTime",
|
|
16
|
+
"lastUpdated"
|
|
17
|
+
];
|
|
18
|
+
this.applicationService = new ApplicationService(client);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Checks if the smart rules microservice is subscribed and available to user.
|
|
22
|
+
*
|
|
23
|
+
* **Example**
|
|
24
|
+
* ```typescript
|
|
25
|
+
*
|
|
26
|
+
* (async () => {
|
|
27
|
+
* const isAvailable = await smartRulesService.isMicroserviceAvailable();
|
|
28
|
+
* })();
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
isMicroserviceAvailable() {
|
|
32
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
33
|
+
if (this.microserviceAvailable === void 0) this.microserviceAvailable = (yield this.applicationService.isAvailable(SmartRulesService.microserviceName)).data;
|
|
34
|
+
return this.microserviceAvailable;
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Gets a list of smart rules for given managed object.
|
|
39
|
+
*
|
|
40
|
+
* @param {IdReference} entityOrId Entity or Id of the ManagedObject.
|
|
41
|
+
*
|
|
42
|
+
* @returns Response wrapped in [[IResult]]
|
|
43
|
+
*
|
|
44
|
+
* **Example**
|
|
45
|
+
* ```typescript
|
|
46
|
+
*
|
|
47
|
+
* const id: string = '1';
|
|
48
|
+
*
|
|
49
|
+
* (async () => {
|
|
50
|
+
* const {data, res} = await smartRulesService.listByContext(id);
|
|
51
|
+
* })();
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
listByContext(entityOrId) {
|
|
55
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
56
|
+
const url = this.contextRulesUrl(entityOrId);
|
|
57
|
+
const res = yield this.fetch(url, { method: "GET" });
|
|
58
|
+
return {
|
|
59
|
+
res,
|
|
60
|
+
data: (yield res.json()).rules
|
|
61
|
+
};
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Deactivates smart rule for given entities list.
|
|
66
|
+
*
|
|
67
|
+
* @param {Partial<IRule>} rule Smart rule managed object.
|
|
68
|
+
* @param {IdReference[]} entitiesOrIdsList List of entities or Id of the ManagedObjects.
|
|
69
|
+
*
|
|
70
|
+
* @returns Response wrapped in [[IResult]]
|
|
71
|
+
*
|
|
72
|
+
* **Example**
|
|
73
|
+
* ```typescript
|
|
74
|
+
*
|
|
75
|
+
* const rule: IRule = {id: '1', enabledSources: ['2', '3'],...};
|
|
76
|
+
* const entityOrIdList: IdReference[] = ['2'];
|
|
77
|
+
* (async () => {
|
|
78
|
+
* const {data, res} = await smartRulesService.bulkDeactivateEnabledSources(rule, entityOrIdList);
|
|
79
|
+
* })();
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
bulkDeactivateEnabledSources(rule, entitiesOrIdsList) {
|
|
83
|
+
if (entitiesOrIdsList.length === 0) return Promise.resolve({
|
|
84
|
+
res: null,
|
|
85
|
+
data: null
|
|
86
|
+
});
|
|
87
|
+
const { enabledSources } = rule;
|
|
88
|
+
const newEnabledSources = this.disableEnabledSources(enabledSources, entitiesOrIdsList);
|
|
89
|
+
const ruleCopy = Object.assign({}, rule);
|
|
90
|
+
Object.assign(ruleCopy, { enabledSources: newEnabledSources });
|
|
91
|
+
return this.update(ruleCopy);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Updates smart rule.
|
|
95
|
+
*
|
|
96
|
+
* @param {Parial<IRule>} rule Smart rule managed object.
|
|
97
|
+
*
|
|
98
|
+
* @returns Response wrapped in [[IResult]]
|
|
99
|
+
*
|
|
100
|
+
* **Example**
|
|
101
|
+
* ```typescript
|
|
102
|
+
*
|
|
103
|
+
* const rule: IRule = {id: '1', enabledSources: ['2', '3'],...};
|
|
104
|
+
* (async () => {
|
|
105
|
+
* const {data, res} = await smartRulesService.updateSmartRule(rule);
|
|
106
|
+
* })();
|
|
107
|
+
* ```
|
|
108
|
+
*/
|
|
109
|
+
update(rule) {
|
|
110
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
111
|
+
const url = this.getSmartRulesUrl(rule);
|
|
112
|
+
const method = "PUT";
|
|
113
|
+
const body = JSON.stringify(this.removeUnclonableFields(rule, this.unupdatableFields));
|
|
114
|
+
const res = yield this.fetch(url, {
|
|
115
|
+
method,
|
|
116
|
+
body,
|
|
117
|
+
headers: {
|
|
118
|
+
"content-type": "application/json",
|
|
119
|
+
accept: "application/json"
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
return {
|
|
123
|
+
res,
|
|
124
|
+
data: yield res.json()
|
|
125
|
+
};
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
disableEnabledSources(enabledSources = [], entityOrIdList) {
|
|
129
|
+
return enabledSources.filter((id) => !this.getListOfStringIds(entityOrIdList).includes(id));
|
|
130
|
+
}
|
|
131
|
+
getListOfStringIds(entityOrIdList) {
|
|
132
|
+
return entityOrIdList.map((entityOrId) => {
|
|
133
|
+
if (typeof entityOrId === "object" && entityOrId.id) return entityOrId.id.toString();
|
|
134
|
+
return entityOrId.toString();
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
getSmartRulesUrl(rule) {
|
|
138
|
+
const contextMoId = rule && rule.c8y_Context && rule.c8y_Context.id;
|
|
139
|
+
let url = !!contextMoId ? this.contextRulesUrl(contextMoId) : this.rulesUrl;
|
|
140
|
+
if (rule.id) url = `${url}/${rule.id}`;
|
|
141
|
+
return url;
|
|
142
|
+
}
|
|
143
|
+
removeUnclonableFields(rule, fieldsToRemove) {
|
|
144
|
+
const ruleCopy = Object.assign({}, rule);
|
|
145
|
+
fieldsToRemove.forEach((f) => {
|
|
146
|
+
delete ruleCopy[f];
|
|
147
|
+
});
|
|
148
|
+
return ruleCopy;
|
|
149
|
+
}
|
|
150
|
+
contextRulesUrl(entityOrId = {}) {
|
|
151
|
+
if (typeof entityOrId === "object" && entityOrId.id) return `managedObjects/${entityOrId.id}/smartrules`;
|
|
152
|
+
return `managedObjects/${entityOrId}/smartrules`;
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
SmartRulesService.microserviceName = "smartrule";
|
|
156
|
+
|
|
157
|
+
//#endregion
|
|
158
|
+
export { SmartRulesService };
|