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,604 @@
|
|
|
1
|
+
import { __awaiter } from "../../../../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.mjs";
|
|
2
|
+
import { Service } from "../core/Service.mjs";
|
|
3
|
+
import "../core/index.mjs";
|
|
4
|
+
import { InventoryService } from "../inventory/InventoryService.mjs";
|
|
5
|
+
import "../inventory/index.mjs";
|
|
6
|
+
import { gettext } from "../gettext.mjs";
|
|
7
|
+
import { TenantService } from "../tenant/TenantService.mjs";
|
|
8
|
+
import "../tenant/index.mjs";
|
|
9
|
+
import { UserService } from "../user/UserService.mjs";
|
|
10
|
+
import "../user/index.mjs";
|
|
11
|
+
import { ApplicationBinaryService } from "./ApplicationBinaryService.mjs";
|
|
12
|
+
import { ApplicationType } from "./ApplicationType.mjs";
|
|
13
|
+
|
|
14
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/application/ApplicationService.js
|
|
15
|
+
var ApplicationService = class extends Service {
|
|
16
|
+
constructor() {
|
|
17
|
+
super(...arguments);
|
|
18
|
+
this.baseUrl = "application";
|
|
19
|
+
this.listUrl = "applications";
|
|
20
|
+
this.propertyName = "applications";
|
|
21
|
+
this.channel = "/applications/*";
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Creates a new application.
|
|
25
|
+
*
|
|
26
|
+
* @param {IIdentified} entity Application object.
|
|
27
|
+
*
|
|
28
|
+
* @returns Response wrapped in [[IResult]]
|
|
29
|
+
*
|
|
30
|
+
* **Example**
|
|
31
|
+
* ```typescript
|
|
32
|
+
*
|
|
33
|
+
* const newApp = {
|
|
34
|
+
* name: 'New application',
|
|
35
|
+
* type: 'EXTERNAL',
|
|
36
|
+
* key: 'new-app'
|
|
37
|
+
* };
|
|
38
|
+
*
|
|
39
|
+
* (async () => {
|
|
40
|
+
* const {data, res} = await applicationService.create(newApp);
|
|
41
|
+
* })();
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
create(entity) {
|
|
45
|
+
const _super = Object.create(null, { create: { get: () => super.create } });
|
|
46
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
47
|
+
return _super.create.call(this, entity);
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Clones a given application. The application name, key, and context-path will be
|
|
52
|
+
* prefixed with `clone` and if necessary a number.
|
|
53
|
+
* @param entity The application to clone.
|
|
54
|
+
* @param version If a blueprint, you can define which version to clone. If not provided, it will always clone the latest version.
|
|
55
|
+
* @returns The application entity.
|
|
56
|
+
*/
|
|
57
|
+
clone(entity, version) {
|
|
58
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
59
|
+
const url = `${this.getDetailUrl(entity)}/clone`;
|
|
60
|
+
const method = "POST";
|
|
61
|
+
const body = "";
|
|
62
|
+
const headers = {
|
|
63
|
+
"content-type": "application/json",
|
|
64
|
+
accept: "application/json"
|
|
65
|
+
};
|
|
66
|
+
let params = void 0;
|
|
67
|
+
if (version) params = { version };
|
|
68
|
+
const res = yield this.fetch(url, {
|
|
69
|
+
method,
|
|
70
|
+
body,
|
|
71
|
+
headers,
|
|
72
|
+
params
|
|
73
|
+
});
|
|
74
|
+
return {
|
|
75
|
+
res,
|
|
76
|
+
data: yield res.json()
|
|
77
|
+
};
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Gets the list of existing applications filtered by parameters.
|
|
82
|
+
*
|
|
83
|
+
* @returns Response wrapped in [[IResultList]]
|
|
84
|
+
*
|
|
85
|
+
* @param {object} filter Object containing filters for querying applications.
|
|
86
|
+
*
|
|
87
|
+
* **Example**
|
|
88
|
+
* ```typescript
|
|
89
|
+
*
|
|
90
|
+
* const filter: object = {
|
|
91
|
+
* pageSize: 100,
|
|
92
|
+
* withTotalPages: true
|
|
93
|
+
* };
|
|
94
|
+
*
|
|
95
|
+
* (async () => {
|
|
96
|
+
* const {data, res, paging} = await applicationService.list(filter);
|
|
97
|
+
* })();
|
|
98
|
+
* ```
|
|
99
|
+
*/
|
|
100
|
+
list() {
|
|
101
|
+
const _super = Object.create(null, { list: { get: () => super.list } });
|
|
102
|
+
return __awaiter(this, arguments, void 0, function* (filter = {}) {
|
|
103
|
+
return _super.list.call(this, filter);
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Gets the list of all application versions.
|
|
108
|
+
*
|
|
109
|
+
* @param {string|number|IIdentified} entityOrId Entity or Id of the entity.
|
|
110
|
+
*
|
|
111
|
+
* @param {object} params Additional request parameters.
|
|
112
|
+
*
|
|
113
|
+
* @returns Returns list of all application versions.
|
|
114
|
+
*
|
|
115
|
+
* **Example**
|
|
116
|
+
* ```typescript
|
|
117
|
+
*
|
|
118
|
+
* const applicationId: number = 1;
|
|
119
|
+
*
|
|
120
|
+
* (async () => {
|
|
121
|
+
* const {res, data} = await applicationService.listVersions(applicationId);
|
|
122
|
+
* })();
|
|
123
|
+
* ```
|
|
124
|
+
*/
|
|
125
|
+
listVersions(entityOrId_1) {
|
|
126
|
+
return __awaiter(this, arguments, void 0, function* (entityOrId, params = {}) {
|
|
127
|
+
var _a;
|
|
128
|
+
const id = this.getEntityId(entityOrId);
|
|
129
|
+
const url = `${this.listUrl}/${id}/versions`;
|
|
130
|
+
const headers = { "content-type": "application/json" };
|
|
131
|
+
try {
|
|
132
|
+
const res = yield this.fetch(url, {
|
|
133
|
+
headers,
|
|
134
|
+
params
|
|
135
|
+
});
|
|
136
|
+
return {
|
|
137
|
+
res,
|
|
138
|
+
data: (_a = yield res.json()) === null || _a === void 0 ? void 0 : _a.applicationVersions
|
|
139
|
+
};
|
|
140
|
+
} catch (ex) {
|
|
141
|
+
if (ex.res.status === 404) {
|
|
142
|
+
const { data: appDetail, res } = yield this.detail(entityOrId);
|
|
143
|
+
return {
|
|
144
|
+
res,
|
|
145
|
+
data: appDetail.applicationVersions
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
throw ex;
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Gets the details of selected application.
|
|
154
|
+
*
|
|
155
|
+
* @param {string|number|IIdentified} entityOrId Entity or Id of the entity.
|
|
156
|
+
*
|
|
157
|
+
* @returns Response wrapped in [[IResult]]
|
|
158
|
+
*
|
|
159
|
+
* **Example**
|
|
160
|
+
* ```typescript
|
|
161
|
+
*
|
|
162
|
+
* const applicationId: number = 1;
|
|
163
|
+
*
|
|
164
|
+
* (async () => {
|
|
165
|
+
* const {data, res} = await applicationService.detail(applicationId);
|
|
166
|
+
* })();
|
|
167
|
+
* ```
|
|
168
|
+
*/
|
|
169
|
+
detail(entityOrId) {
|
|
170
|
+
const _super = Object.create(null, { detail: { get: () => super.detail } });
|
|
171
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
172
|
+
return _super.detail.call(this, entityOrId);
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Allows to retrieve bootstrap user credentials for a specific application (microservice).
|
|
177
|
+
* @param {string|number|IIdentified} entityOrId Entity or Id of the entity.
|
|
178
|
+
* @returns Response wrapped in [[IResult]]
|
|
179
|
+
*/
|
|
180
|
+
getBootstrapUser(entityOrId) {
|
|
181
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
182
|
+
const url = `${this.getDetailUrl(entityOrId)}/bootstrapUser`;
|
|
183
|
+
const res = yield this.fetch(url);
|
|
184
|
+
return {
|
|
185
|
+
res,
|
|
186
|
+
data: yield res.json()
|
|
187
|
+
};
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* Updates existing application.
|
|
192
|
+
* Make sure that you specifiy the application id within the update object.
|
|
193
|
+
*
|
|
194
|
+
* @param {IIdentified} entity Application object.
|
|
195
|
+
*
|
|
196
|
+
* @returns Response wrapped in [[IResult]]
|
|
197
|
+
*
|
|
198
|
+
* **Example**
|
|
199
|
+
* ```typescript
|
|
200
|
+
*
|
|
201
|
+
* const updateApp = {
|
|
202
|
+
* id: 38
|
|
203
|
+
* name: 'Updated application'
|
|
204
|
+
* };
|
|
205
|
+
*
|
|
206
|
+
* (async () => {
|
|
207
|
+
* const {data, res} = await applicationService.update(updateApp);
|
|
208
|
+
* })();
|
|
209
|
+
* ```
|
|
210
|
+
*/
|
|
211
|
+
update(entity) {
|
|
212
|
+
const _super = Object.create(null, { update: { get: () => super.update } });
|
|
213
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
214
|
+
return _super.update.call(this, entity);
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Removes an application with given id.
|
|
219
|
+
*
|
|
220
|
+
* @returns Response wrapped in [[IResult]]
|
|
221
|
+
*
|
|
222
|
+
* @param {string | number | IIdentified} entityOrId entity or id of the application.
|
|
223
|
+
*
|
|
224
|
+
* **Example**
|
|
225
|
+
* ```typescript
|
|
226
|
+
*
|
|
227
|
+
* const removeApp: object = {
|
|
228
|
+
* id: 38
|
|
229
|
+
* };
|
|
230
|
+
*
|
|
231
|
+
* (async () => {
|
|
232
|
+
* const {data, res} = await applicationService.delete(removeApp);
|
|
233
|
+
* // data will be null
|
|
234
|
+
* })();
|
|
235
|
+
* ```
|
|
236
|
+
*/
|
|
237
|
+
delete(entityOrId) {
|
|
238
|
+
const _super = Object.create(null, { delete: { get: () => super.delete } });
|
|
239
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
240
|
+
return _super.delete.call(this, entityOrId);
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
listByName(name_1) {
|
|
244
|
+
return __awaiter(this, arguments, void 0, function* (name, params = {}) {
|
|
245
|
+
const headers = { "content-type": "application/json" };
|
|
246
|
+
const url = `applicationsByName/${encodeURIComponent(name)}`;
|
|
247
|
+
const res = yield this.fetch(url, {
|
|
248
|
+
headers,
|
|
249
|
+
params
|
|
250
|
+
});
|
|
251
|
+
return {
|
|
252
|
+
res,
|
|
253
|
+
data: (yield res.json())[this.propertyName]
|
|
254
|
+
};
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
listByTenant(tenantOrName_1) {
|
|
258
|
+
return __awaiter(this, arguments, void 0, function* (tenantOrName, params = {}) {
|
|
259
|
+
const headers = { "content-type": "application/json" };
|
|
260
|
+
const tenantService = new TenantService(this.client);
|
|
261
|
+
const tenantName = this.getIdString(tenantOrName || (yield tenantService.current()).data.name);
|
|
262
|
+
const url = `applicationsByTenant/${encodeURIComponent(tenantName)}`;
|
|
263
|
+
const res = yield this.fetch(url, {
|
|
264
|
+
headers,
|
|
265
|
+
params
|
|
266
|
+
});
|
|
267
|
+
return {
|
|
268
|
+
res,
|
|
269
|
+
data: (yield res.json())[this.propertyName]
|
|
270
|
+
};
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
listByOwner(tenantOrName_1) {
|
|
274
|
+
return __awaiter(this, arguments, void 0, function* (tenantOrName, params = {}) {
|
|
275
|
+
const headers = { "content-type": "application/json" };
|
|
276
|
+
const tenantService = new TenantService(this.client);
|
|
277
|
+
const tenantName = this.getIdString(tenantOrName || (yield tenantService.current()).data.name);
|
|
278
|
+
const url = `applicationsByOwner/${encodeURIComponent(tenantName)}`;
|
|
279
|
+
const res = yield this.fetch(url, {
|
|
280
|
+
headers,
|
|
281
|
+
params
|
|
282
|
+
});
|
|
283
|
+
return {
|
|
284
|
+
res,
|
|
285
|
+
data: (yield res.json())[this.propertyName]
|
|
286
|
+
};
|
|
287
|
+
});
|
|
288
|
+
}
|
|
289
|
+
listByUser(userOrId_1) {
|
|
290
|
+
return __awaiter(this, arguments, void 0, function* (userOrId, params = {}) {
|
|
291
|
+
const headers = { "content-type": "application/json" };
|
|
292
|
+
const userService = new UserService(this.client);
|
|
293
|
+
const userId = this.getIdString(userOrId || (yield userService.current()).data);
|
|
294
|
+
const url = `applicationsByUser/${encodeURIComponent(userId)}`;
|
|
295
|
+
const res = yield this.fetch(url, {
|
|
296
|
+
headers,
|
|
297
|
+
params
|
|
298
|
+
});
|
|
299
|
+
return {
|
|
300
|
+
res,
|
|
301
|
+
data: (yield res.json())[this.propertyName]
|
|
302
|
+
};
|
|
303
|
+
});
|
|
304
|
+
}
|
|
305
|
+
reactivateArchive(appId) {
|
|
306
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
307
|
+
const url = `${this.listUrl}/${appId}/refresh`;
|
|
308
|
+
return {
|
|
309
|
+
res: yield this.fetch(url, {
|
|
310
|
+
method: "POST",
|
|
311
|
+
body: "",
|
|
312
|
+
headers: {
|
|
313
|
+
"content-type": "application/json",
|
|
314
|
+
accept: "application/json"
|
|
315
|
+
}
|
|
316
|
+
}),
|
|
317
|
+
data: null
|
|
318
|
+
};
|
|
319
|
+
});
|
|
320
|
+
}
|
|
321
|
+
binary(application) {
|
|
322
|
+
return new ApplicationBinaryService(this.client, application);
|
|
323
|
+
}
|
|
324
|
+
getHref(application) {
|
|
325
|
+
if (application.type === ApplicationType.EXTERNAL) return application.externalUrl;
|
|
326
|
+
return `/apps/${application.public ? "public/" : ""}${application.contextPath}`;
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* Checks if current user can access specified application.
|
|
330
|
+
*
|
|
331
|
+
* @returns Response wrapped in [[IResult]]
|
|
332
|
+
*
|
|
333
|
+
* @param {string | IApplication} application Application name or contextPath as a
|
|
334
|
+
* string or Application object.
|
|
335
|
+
*
|
|
336
|
+
* **Example**
|
|
337
|
+
* ```typescript
|
|
338
|
+
*
|
|
339
|
+
* const checkApp: object = {
|
|
340
|
+
* name: 'myApplication'
|
|
341
|
+
* };
|
|
342
|
+
*
|
|
343
|
+
* (async () => {
|
|
344
|
+
* const {data, res} = await applicationService.isAvailable(checkApp);
|
|
345
|
+
* })();
|
|
346
|
+
* ```
|
|
347
|
+
*/
|
|
348
|
+
isAvailable(application) {
|
|
349
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
350
|
+
const { res, data } = yield this.listByUser(void 0, {
|
|
351
|
+
dropOverwrittenApps: true,
|
|
352
|
+
noPaging: true
|
|
353
|
+
});
|
|
354
|
+
return {
|
|
355
|
+
data: (data || []).some((availableApp) => typeof application === "string" ? availableApp.name === application || availableApp.contextPath === application : this.isMatch(availableApp, application)),
|
|
356
|
+
res
|
|
357
|
+
};
|
|
358
|
+
});
|
|
359
|
+
}
|
|
360
|
+
/**
|
|
361
|
+
* Gets instance details of the specified application (microservice).
|
|
362
|
+
*
|
|
363
|
+
* @param {string|number|IApplication} entityOrId Entity or Id of the application.
|
|
364
|
+
*
|
|
365
|
+
* @returns Response wrapped in [[IResultList]]
|
|
366
|
+
*
|
|
367
|
+
* **Example**
|
|
368
|
+
* ```typescript
|
|
369
|
+
*
|
|
370
|
+
* const applicationId: number = 1;
|
|
371
|
+
*
|
|
372
|
+
* (async () => {
|
|
373
|
+
* const {data, res} = await applicationService.getStatusDetails(applicationId);
|
|
374
|
+
* })();
|
|
375
|
+
* ```
|
|
376
|
+
*/
|
|
377
|
+
getStatusDetails(entityOrId) {
|
|
378
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
379
|
+
const appId = this.getEntityId(entityOrId);
|
|
380
|
+
return new InventoryService(this.client, this.realtime).list({ type: `c8y_Application_${appId}` });
|
|
381
|
+
});
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* Extracts instance names of the provided IApplicationManagedObject.
|
|
385
|
+
*
|
|
386
|
+
* @param {IApplicationManagedObject} appStatusDetails Application details managedObject.
|
|
387
|
+
*
|
|
388
|
+
* @returns instance names
|
|
389
|
+
*
|
|
390
|
+
* **Example**
|
|
391
|
+
* ```typescript
|
|
392
|
+
*
|
|
393
|
+
* const applicationId: number = 1;
|
|
394
|
+
*
|
|
395
|
+
* (async () => {
|
|
396
|
+
* const {data, res} = await applicationService.getStatusDetails(applicationId);
|
|
397
|
+
* const instances = data.map((appMO) => applicationService.getInstanceNames(appMO));
|
|
398
|
+
* })();
|
|
399
|
+
* ```
|
|
400
|
+
*/
|
|
401
|
+
getInstanceNames(appStatusDetails) {
|
|
402
|
+
let instanceNames = new Array();
|
|
403
|
+
if (appStatusDetails && appStatusDetails.c8y_Status && appStatusDetails.c8y_Status.instances) instanceNames = Object.keys(appStatusDetails.c8y_Status.instances);
|
|
404
|
+
return instanceNames;
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* Get log for a specific application instance.
|
|
408
|
+
*
|
|
409
|
+
* @param {string|number|IApplication} entityOrId Entity or Id of the application.
|
|
410
|
+
*
|
|
411
|
+
* @param {string} instanceName instance name of the application.
|
|
412
|
+
*
|
|
413
|
+
* @param {IApplicationInstanceLogRequestParams} params Object containing parameters for querying the log file.
|
|
414
|
+
*
|
|
415
|
+
* @returns Response wrapped in [[IResult]]
|
|
416
|
+
*
|
|
417
|
+
* **Example**
|
|
418
|
+
* ```typescript
|
|
419
|
+
*
|
|
420
|
+
* const applicationId: number = 1;
|
|
421
|
+
* const applicationInstanceName: string = 'apama-ctrl-1c-4g-scope-t123456789-deployment-abcdefghij-abcde';
|
|
422
|
+
*
|
|
423
|
+
* (async () => {
|
|
424
|
+
* const {data, res} = await applicationService.getInstanceLog(applicationId, applicationInstanceName);
|
|
425
|
+
* })();
|
|
426
|
+
* ```
|
|
427
|
+
*/
|
|
428
|
+
getInstanceLog(entityOrId, instanceName, params) {
|
|
429
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
430
|
+
const url = `${this.getDetailUrl(entityOrId)}/logs/${instanceName}`;
|
|
431
|
+
const headers = { accept: this.mimeType("applicationLogs") };
|
|
432
|
+
const res = yield this.fetch(url, {
|
|
433
|
+
headers,
|
|
434
|
+
params
|
|
435
|
+
});
|
|
436
|
+
return {
|
|
437
|
+
res,
|
|
438
|
+
data: yield res.json()
|
|
439
|
+
};
|
|
440
|
+
});
|
|
441
|
+
}
|
|
442
|
+
/**
|
|
443
|
+
* Dynamic options are stored on the API in a specific `config: {}` object. They can
|
|
444
|
+
* be used to configure the app dynamically.
|
|
445
|
+
*
|
|
446
|
+
* Note: To avoids conflicts with the default Config, it is recommended
|
|
447
|
+
* to use a certain namespace.
|
|
448
|
+
* @param entityOrId Entity or Id of the application.
|
|
449
|
+
* @param config Configuration to be updated.
|
|
450
|
+
* @returns Returns updated configuration.
|
|
451
|
+
*/
|
|
452
|
+
updateApplicationConfig(entityOrId, config) {
|
|
453
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
454
|
+
var _a;
|
|
455
|
+
const id = this.getEntityId(entityOrId);
|
|
456
|
+
const { data: app } = yield this.detail(id);
|
|
457
|
+
const currentConfig = (app === null || app === void 0 ? void 0 : app.config) || {};
|
|
458
|
+
const newConfig = Object.assign(Object.assign({}, currentConfig), config);
|
|
459
|
+
return (_a = yield yield this.update({
|
|
460
|
+
id,
|
|
461
|
+
config: newConfig
|
|
462
|
+
})) === null || _a === void 0 ? void 0 : _a.data;
|
|
463
|
+
});
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* Gets manifest (cumulocity.json file) of a given application.
|
|
467
|
+
*
|
|
468
|
+
* @param {IApplication} app Application entity.
|
|
469
|
+
*
|
|
470
|
+
* @param {string} app version
|
|
471
|
+
*
|
|
472
|
+
* @returns Application manifest object.
|
|
473
|
+
*/
|
|
474
|
+
getAppManifest(app, version) {
|
|
475
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
476
|
+
const date = /* @__PURE__ */ new Date();
|
|
477
|
+
let result;
|
|
478
|
+
if (!version) result = yield this.client.fetch(`/apps/${app.contextPath}/cumulocity.json?nocache=${date.getTime()}`);
|
|
479
|
+
else result = yield this.client.fetch(`/apps/${app.contextPath}@${version}/cumulocity.json?nocache=${date.getTime()}`);
|
|
480
|
+
if (result.status >= 400) throw new Error(gettext("No Cumulocity IoT manifest found."));
|
|
481
|
+
return yield result.json();
|
|
482
|
+
});
|
|
483
|
+
}
|
|
484
|
+
/**
|
|
485
|
+
* Updates manifest (cumulocity.json file) of a given application.
|
|
486
|
+
*
|
|
487
|
+
* @param {string|number|IApplication} entityOrId Entity or Id of the application.
|
|
488
|
+
*
|
|
489
|
+
* @param {any} manifestJSON Application manifest object to be stored.
|
|
490
|
+
*
|
|
491
|
+
* @returns Application manifest object.
|
|
492
|
+
*/
|
|
493
|
+
storeAppManifest(entityOrId, manifestJSON) {
|
|
494
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
495
|
+
return yield this.binary(entityOrId).updateFiles([{
|
|
496
|
+
path: "cumulocity.json",
|
|
497
|
+
contents: JSON.stringify(manifestJSON)
|
|
498
|
+
}]);
|
|
499
|
+
});
|
|
500
|
+
}
|
|
501
|
+
/**
|
|
502
|
+
* Sets tags for specific application package version.
|
|
503
|
+
*
|
|
504
|
+
* @param {IApplication} app Application entity.
|
|
505
|
+
*
|
|
506
|
+
* @param {string} version Application package version which tags will be set.
|
|
507
|
+
*
|
|
508
|
+
* @param {string[]} tags Tags array to set on package version
|
|
509
|
+
*
|
|
510
|
+
* @returns Application version object.
|
|
511
|
+
*/
|
|
512
|
+
setPackageVersionTag(app, version, tags) {
|
|
513
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
514
|
+
const url = `${this.getDetailUrl(app)}/versions/${version}`;
|
|
515
|
+
const method = "PUT";
|
|
516
|
+
const body = JSON.stringify({ tags });
|
|
517
|
+
const res = yield this.fetch(url, {
|
|
518
|
+
method,
|
|
519
|
+
body,
|
|
520
|
+
headers: {
|
|
521
|
+
accept: "application/vnd.com.nsn.cumulocity.applicationVersion+json;charset=UTF-8;ver=0.9",
|
|
522
|
+
"content-type": "application/json"
|
|
523
|
+
}
|
|
524
|
+
});
|
|
525
|
+
return {
|
|
526
|
+
res,
|
|
527
|
+
data: yield res.json()
|
|
528
|
+
};
|
|
529
|
+
});
|
|
530
|
+
}
|
|
531
|
+
/**
|
|
532
|
+
* Retrieves the manifest of the application behind the given context path.
|
|
533
|
+
* @param contextPath
|
|
534
|
+
*/
|
|
535
|
+
getManifestOfContextPath(contextPath) {
|
|
536
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
537
|
+
const url = `${this.getDetailUrl(contextPath)}/manifest`;
|
|
538
|
+
const res = yield this.fetch(url);
|
|
539
|
+
const { application } = yield res.json();
|
|
540
|
+
return {
|
|
541
|
+
res,
|
|
542
|
+
data: application
|
|
543
|
+
};
|
|
544
|
+
});
|
|
545
|
+
}
|
|
546
|
+
/**
|
|
547
|
+
* Removes package version.
|
|
548
|
+
*
|
|
549
|
+
* @param {IApplication} app Application entity.
|
|
550
|
+
*
|
|
551
|
+
* @param {IApplicationVersionDeleteParams} params Version or tag indication package to remove.
|
|
552
|
+
*
|
|
553
|
+
* @returns Request response.
|
|
554
|
+
*
|
|
555
|
+
* **Example**
|
|
556
|
+
* ```typescript
|
|
557
|
+
*
|
|
558
|
+
* const { res } = await applicationService.deleteVersionPackage(app, {version: '1.0.0'});
|
|
559
|
+
*
|
|
560
|
+
* const { res } = await applicationService.deleteVersionPackage(app, {tag: 'next'});
|
|
561
|
+
*
|
|
562
|
+
* ```
|
|
563
|
+
*/
|
|
564
|
+
deleteVersionPackage(app, params) {
|
|
565
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
566
|
+
const url = `${this.getDetailUrl(app)}/versions/`;
|
|
567
|
+
return {
|
|
568
|
+
res: yield this.fetch(url, this.changeFetchOptions({
|
|
569
|
+
method: "DELETE",
|
|
570
|
+
params
|
|
571
|
+
}, url)),
|
|
572
|
+
data: null
|
|
573
|
+
};
|
|
574
|
+
});
|
|
575
|
+
}
|
|
576
|
+
/**
|
|
577
|
+
* Updates the availability of the given application to the provided value.
|
|
578
|
+
*
|
|
579
|
+
* @param {string|number|IApplication} entityOrId Entity or Id of the application.
|
|
580
|
+
*
|
|
581
|
+
* @param {any} availability The new application availability.
|
|
582
|
+
*
|
|
583
|
+
* @returns Updated application.
|
|
584
|
+
*/
|
|
585
|
+
updateApplicationAvailability(entityOrId, availability) {
|
|
586
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
587
|
+
const id = this.getEntityId(entityOrId);
|
|
588
|
+
return yield this.update({
|
|
589
|
+
id,
|
|
590
|
+
availability
|
|
591
|
+
});
|
|
592
|
+
});
|
|
593
|
+
}
|
|
594
|
+
isMatch(object, source) {
|
|
595
|
+
return Object.keys(source).every((key) => {
|
|
596
|
+
if (Array.isArray(object[key]) && Array.isArray(source[key])) return source[key].every((el) => object[key].includes(el));
|
|
597
|
+
else if (typeof object[key] === "object" && object[key] !== null && typeof source[key] === "object" && source[key] !== null) return this.isMatch(object[key], source[key]);
|
|
598
|
+
else return object[key] === source[key];
|
|
599
|
+
});
|
|
600
|
+
}
|
|
601
|
+
};
|
|
602
|
+
|
|
603
|
+
//#endregion
|
|
604
|
+
export { ApplicationService };
|
|
@@ -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/application/ApplicationType.js
|
|
2
|
+
var ApplicationType;
|
|
3
|
+
(function(ApplicationType) {
|
|
4
|
+
ApplicationType["EXTERNAL"] = "EXTERNAL";
|
|
5
|
+
ApplicationType["HOSTED"] = "HOSTED";
|
|
6
|
+
ApplicationType["MICROSERVICE"] = "MICROSERVICE";
|
|
7
|
+
ApplicationType["FEATURE"] = "FEATURE";
|
|
8
|
+
})(ApplicationType || (ApplicationType = {}));
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { ApplicationType };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/application/BillingMode.js
|
|
2
|
+
var BillingMode;
|
|
3
|
+
(function(BillingMode) {
|
|
4
|
+
BillingMode["SUBSCRIPTION"] = "SUBSCRIPTION";
|
|
5
|
+
BillingMode["RESOURCES"] = "RESOURCES";
|
|
6
|
+
})(BillingMode || (BillingMode = {}));
|
|
7
|
+
|
|
8
|
+
//#endregion
|
|
9
|
+
export { BillingMode };
|
|
@@ -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/application/IApplicationInstanceDetails.js
|
|
2
|
+
var InstanceStatus;
|
|
3
|
+
(function(InstanceStatus) {
|
|
4
|
+
InstanceStatus["Up"] = "Up";
|
|
5
|
+
InstanceStatus["Unhealthy"] = "Unhealthy";
|
|
6
|
+
InstanceStatus["Down"] = "Down";
|
|
7
|
+
InstanceStatus["Unknown"] = "Unknown";
|
|
8
|
+
})(InstanceStatus || (InstanceStatus = {}));
|
|
9
|
+
|
|
10
|
+
//#endregion
|
|
11
|
+
export { InstanceStatus };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/application/Isolation.js
|
|
2
|
+
var Isolation;
|
|
3
|
+
(function(Isolation) {
|
|
4
|
+
Isolation["PER_TENANT"] = "PER_TENANT";
|
|
5
|
+
Isolation["MULTI_TENANT"] = "MULTI_TENANT";
|
|
6
|
+
})(Isolation || (Isolation = {}));
|
|
7
|
+
|
|
8
|
+
//#endregion
|
|
9
|
+
export { Isolation };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ApplicationBinaryService } from "./ApplicationBinaryService.mjs";
|
|
2
|
+
import { ApplicationType } from "./ApplicationType.mjs";
|
|
3
|
+
import { ApplicationService } from "./ApplicationService.mjs";
|
|
4
|
+
import { InstanceStatus } from "./IApplicationInstanceDetails.mjs";
|
|
5
|
+
import { BillingMode } from "./BillingMode.mjs";
|
|
6
|
+
import { Isolation } from "./Isolation.mjs";
|
|
7
|
+
import { ApplicationAvailability } from "./ApplicationAvailability.mjs";
|
|
8
|
+
|
|
9
|
+
export { };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/audit/AuditRecordType.js
|
|
2
|
+
/**
|
|
3
|
+
* A specific audit record can have one of the following types
|
|
4
|
+
*/
|
|
5
|
+
var AuditRecordType;
|
|
6
|
+
(function(AuditRecordType) {
|
|
7
|
+
AuditRecordType["ALARM"] = "Alarm";
|
|
8
|
+
AuditRecordType["APPLICATION"] = "Application";
|
|
9
|
+
AuditRecordType["BULK_OPERATION"] = "BulkOperation";
|
|
10
|
+
AuditRecordType["CEP_MODULE"] = "CepModule";
|
|
11
|
+
AuditRecordType["CONNECTOR"] = "Connector";
|
|
12
|
+
AuditRecordType["DATA_HUB"] = "DataHub";
|
|
13
|
+
AuditRecordType["DEVICES_AVAILABILITY_MONITORING"] = "DevicesAvailabilityMonitoring";
|
|
14
|
+
AuditRecordType["EVENT"] = "Event";
|
|
15
|
+
AuditRecordType["INVENTORY"] = "Inventory";
|
|
16
|
+
AuditRecordType["INVENTORY_ROLE"] = "InventoryRole";
|
|
17
|
+
AuditRecordType["OPERATION"] = "Operation";
|
|
18
|
+
AuditRecordType["OPTION"] = "Option";
|
|
19
|
+
AuditRecordType["GROUP"] = "Group";
|
|
20
|
+
AuditRecordType["REPORT"] = "Report";
|
|
21
|
+
AuditRecordType["SINGLE_SIGN_ON"] = "SingleSignOn";
|
|
22
|
+
AuditRecordType["SMART_RULE"] = "SmartRule";
|
|
23
|
+
AuditRecordType["SYSTEM"] = "SYSTEM";
|
|
24
|
+
AuditRecordType["TENANT"] = "Tenant";
|
|
25
|
+
AuditRecordType["TENANT_AUTH_CONFIG"] = "TenantAuthConfig";
|
|
26
|
+
AuditRecordType["TRUSTED_CERTIFICATES"] = "TrustedCertificates";
|
|
27
|
+
AuditRecordType["TENANT_CERTIFICATE_AUTHORITY"] = "TenantCertificateAuthority";
|
|
28
|
+
AuditRecordType["USER"] = "User";
|
|
29
|
+
AuditRecordType["USER_AUTHENTICATION"] = "UserAuthentication";
|
|
30
|
+
})(AuditRecordType || (AuditRecordType = {}));
|
|
31
|
+
|
|
32
|
+
//#endregion
|
|
33
|
+
export { AuditRecordType };
|