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,77 @@
|
|
|
1
|
+
import { IIdentified } from "../core/IIdentified.mjs";
|
|
2
|
+
import { IUserGroupReferences } from "../user-group/IUserGroup.mjs";
|
|
3
|
+
|
|
4
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user/IUser.d.ts
|
|
5
|
+
/** Description of IUser interface */
|
|
6
|
+
interface IUser {
|
|
7
|
+
/** Uniquely identifies a user */
|
|
8
|
+
id?: string;
|
|
9
|
+
/**
|
|
10
|
+
* User name, unique for a given domain.
|
|
11
|
+
* Max: 1000 characters. Whitespaces, slashes, +$: characters not allowed
|
|
12
|
+
*/
|
|
13
|
+
userName: string;
|
|
14
|
+
/**
|
|
15
|
+
* The display name
|
|
16
|
+
*/
|
|
17
|
+
displayName: string;
|
|
18
|
+
/**
|
|
19
|
+
* User password. Min: 6, max: 32 characters.
|
|
20
|
+
* Only Latin1 chars allowed
|
|
21
|
+
*/
|
|
22
|
+
password?: string;
|
|
23
|
+
/** Link to this Resource */
|
|
24
|
+
self?: string;
|
|
25
|
+
/** True if user should reset password */
|
|
26
|
+
shouldResetPassword?: boolean;
|
|
27
|
+
/** Keeps a list of all user applications */
|
|
28
|
+
applications?: IIdentified[];
|
|
29
|
+
/** Keeps a list of custom properties */
|
|
30
|
+
customProperties?: any;
|
|
31
|
+
/** List of device permissions */
|
|
32
|
+
devicePermission?: any;
|
|
33
|
+
/** User email address. */
|
|
34
|
+
email?: string;
|
|
35
|
+
/** User activation status (true/false) */
|
|
36
|
+
enabled?: boolean;
|
|
37
|
+
/** User first name. */
|
|
38
|
+
firstName?: string;
|
|
39
|
+
/** User last name. */
|
|
40
|
+
lastName?: string;
|
|
41
|
+
/** User phone number. */
|
|
42
|
+
phone?: string;
|
|
43
|
+
/** */
|
|
44
|
+
lastPasswordChange?: string;
|
|
45
|
+
/** The password strength */
|
|
46
|
+
passwordStrength?: string;
|
|
47
|
+
/** */
|
|
48
|
+
twoFactorAuthenticationEnabled?: boolean;
|
|
49
|
+
/** List of role references */
|
|
50
|
+
roles?: IUserRoleReference;
|
|
51
|
+
supportUserEnabled?: boolean;
|
|
52
|
+
groups?: IUserGroupReferences;
|
|
53
|
+
[key: string]: any;
|
|
54
|
+
}
|
|
55
|
+
/** Description of IUserRoleReference interface */
|
|
56
|
+
interface IUserRoleReference {
|
|
57
|
+
/** List of role references */
|
|
58
|
+
references: IIdentified[];
|
|
59
|
+
/** Link to this Resource */
|
|
60
|
+
self: string;
|
|
61
|
+
}
|
|
62
|
+
/** Description of IUserReferences interface */
|
|
63
|
+
interface IUserReferences {
|
|
64
|
+
/** List of user references */
|
|
65
|
+
references: IUserReference[];
|
|
66
|
+
/** Link to this Resource */
|
|
67
|
+
self: string;
|
|
68
|
+
}
|
|
69
|
+
/** Description of IUserReference interface */
|
|
70
|
+
interface IUserReference {
|
|
71
|
+
/** A user resource being referenced */
|
|
72
|
+
user: Partial<IUser>;
|
|
73
|
+
/** Link to this Resource */
|
|
74
|
+
self: string;
|
|
75
|
+
}
|
|
76
|
+
//#endregion
|
|
77
|
+
export { IUser, IUserReference, IUserReferences, IUserRoleReference };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IIdentified } from "../core/IIdentified.mjs";
|
|
2
|
+
|
|
3
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user/IUserInventoryRole.d.ts
|
|
4
|
+
/** Description of IUserInventoryRole interface */
|
|
5
|
+
interface IUserInventoryRole {
|
|
6
|
+
/** UUniquely identifies a user inventory role */
|
|
7
|
+
id?: number;
|
|
8
|
+
/** */
|
|
9
|
+
managedObject: string;
|
|
10
|
+
/** List of role references */
|
|
11
|
+
roles: IIdentified[];
|
|
12
|
+
/** Link to this Resource */
|
|
13
|
+
self?: string;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { IUserInventoryRole };
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { IFetchClient } from "../core/IFetchClient.mjs";
|
|
2
|
+
import { IIdentified } from "../core/IIdentified.mjs";
|
|
3
|
+
import { IResultList } from "../core/IResultList.mjs";
|
|
4
|
+
import { IResult } from "../core/IResult.mjs";
|
|
5
|
+
import { Service } from "../core/Service.mjs";
|
|
6
|
+
import { IUserInventoryRole } from "./IUserInventoryRole.mjs";
|
|
7
|
+
|
|
8
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user/UserInventoryRoleService.d.ts
|
|
9
|
+
/**
|
|
10
|
+
* @description
|
|
11
|
+
* This service allows for managing current user's inventory roles.
|
|
12
|
+
*/
|
|
13
|
+
declare class UserInventoryRoleService extends Service<IUserInventoryRole> {
|
|
14
|
+
protected baseUrl: any;
|
|
15
|
+
protected listUrl: string;
|
|
16
|
+
protected currenUserUrl: string;
|
|
17
|
+
protected propertyName: string;
|
|
18
|
+
constructor(userUrl: string, client: IFetchClient);
|
|
19
|
+
/**
|
|
20
|
+
* Get a representation of a concrete current user's inventory role.
|
|
21
|
+
*
|
|
22
|
+
* @param {string|number|IUserInventoryRole} entityOrId inventory role id or inventory role object.
|
|
23
|
+
*
|
|
24
|
+
* @returns Returns promise object that is resolved with the IUserInventoryRole wrapped by IResult.
|
|
25
|
+
*
|
|
26
|
+
* **Example**
|
|
27
|
+
* ```typescript
|
|
28
|
+
*
|
|
29
|
+
* const inventoryRoleId: number = 1;
|
|
30
|
+
*
|
|
31
|
+
* (async () => {
|
|
32
|
+
* const {data, res} = await userInventoryRoleService.detail(inventoryRoleId);
|
|
33
|
+
* })();
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* Required role: ROLE_TENANT_MANAGEMENT_READ<br><br>
|
|
37
|
+
* User password is never returned in GET response. Authentication mechanism is provided by another interface.
|
|
38
|
+
*/
|
|
39
|
+
detail(entityOrId: string | number | IUserInventoryRole): Promise<IResult<IUserInventoryRole>>;
|
|
40
|
+
/**
|
|
41
|
+
* Assign inventory role to current user.
|
|
42
|
+
*
|
|
43
|
+
* @param {IUserInventoryRole} entity Inventory Role object.
|
|
44
|
+
*
|
|
45
|
+
* @returns Returns promise object that is resolved with the details of newly assigned inventory role.
|
|
46
|
+
*
|
|
47
|
+
* **Example**
|
|
48
|
+
* ```typescript
|
|
49
|
+
*
|
|
50
|
+
* const inventoryRoleObject: IUserInventoryRole = {
|
|
51
|
+
* ...
|
|
52
|
+
* };
|
|
53
|
+
*
|
|
54
|
+
* (async () => {
|
|
55
|
+
* const {data, res} = await userInventoryRoleService.create(inventoryRoleObject);
|
|
56
|
+
* })();
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
create(entity: IUserInventoryRole): Promise<IResult<IUserInventoryRole>>;
|
|
60
|
+
/**
|
|
61
|
+
* Updates an inventory role.
|
|
62
|
+
*
|
|
63
|
+
* @param {Partial<IUserInventoryRole>} entity Inventory Role object.
|
|
64
|
+
*/
|
|
65
|
+
update(entity: Partial<IUserInventoryRole>): Promise<IResult<IUserInventoryRole>>;
|
|
66
|
+
/**
|
|
67
|
+
* Gets the list the inventory roles applied to a current user.
|
|
68
|
+
*
|
|
69
|
+
* @param {object} filter Object containing filters for querying inventory roles.
|
|
70
|
+
*
|
|
71
|
+
* @returns Returns promise object that is resolved with the IUserInventoryRole wrapped by IResultList.
|
|
72
|
+
*
|
|
73
|
+
* **Example**
|
|
74
|
+
* ```typescript
|
|
75
|
+
*
|
|
76
|
+
* const filter: object = {
|
|
77
|
+
* severity: Severity.MAJOR,
|
|
78
|
+
* pageSize: 100,
|
|
79
|
+
* withTotalPages: true
|
|
80
|
+
* };
|
|
81
|
+
*
|
|
82
|
+
* (async () => {
|
|
83
|
+
* const {data, res, paging} = await userInventoryRoleService.list(filter);
|
|
84
|
+
* })();
|
|
85
|
+
* ```
|
|
86
|
+
*/
|
|
87
|
+
list(filter?: object): Promise<IResultList<IUserInventoryRole>>;
|
|
88
|
+
/**
|
|
89
|
+
* Unassign inventory role from current user
|
|
90
|
+
*
|
|
91
|
+
* @param {string|number|IIdentified} entityOrId Inventory Role id or Inventory Role object.
|
|
92
|
+
*
|
|
93
|
+
* @returns Returns promise object that is resolved with the IResult.
|
|
94
|
+
*
|
|
95
|
+
* **Example**
|
|
96
|
+
* ```typescript
|
|
97
|
+
*
|
|
98
|
+
* const inventoryRoleId: number = 1;
|
|
99
|
+
*
|
|
100
|
+
* (async () => {
|
|
101
|
+
* const {data, res} = await userInventoryRoleService.delete(inventoryRoleId);
|
|
102
|
+
* })();
|
|
103
|
+
* ```
|
|
104
|
+
*/
|
|
105
|
+
delete(entityOrId: string | number | IIdentified): Promise<IResult<null>>;
|
|
106
|
+
}
|
|
107
|
+
//#endregion
|
|
108
|
+
export { UserInventoryRoleService };
|
|
@@ -0,0 +1,400 @@
|
|
|
1
|
+
import { IIdentified } from "../core/IIdentified.mjs";
|
|
2
|
+
import { IResultList } from "../core/IResultList.mjs";
|
|
3
|
+
import { IResult } from "../core/IResult.mjs";
|
|
4
|
+
import { Service } from "../core/Service.mjs";
|
|
5
|
+
import { IUser } from "./IUser.mjs";
|
|
6
|
+
import { ICurrentUser } from "./ICurrentUser.mjs";
|
|
7
|
+
import { ITotp } from "./ITotp.mjs";
|
|
8
|
+
import { ITotpStatus } from "./ITotpStatus.mjs";
|
|
9
|
+
import { UserInventoryRoleService } from "./UserInventoryRoleService.mjs";
|
|
10
|
+
import { IResetPassword } from "./IResetPassword.mjs";
|
|
11
|
+
|
|
12
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user/UserService.d.ts
|
|
13
|
+
/**
|
|
14
|
+
* @description
|
|
15
|
+
* This service allows for managing users.
|
|
16
|
+
*/
|
|
17
|
+
declare class UserService extends Service<IUser> {
|
|
18
|
+
protected get listUrl(): string;
|
|
19
|
+
protected baseUrl: string;
|
|
20
|
+
protected currentUserUrl: string;
|
|
21
|
+
protected passwordResetUrl: string;
|
|
22
|
+
protected validateResetTokenUrl: string;
|
|
23
|
+
protected currentUserPhoneUrl: string;
|
|
24
|
+
protected verifyTFACodeUrl: string;
|
|
25
|
+
protected totpCurrentUserURL: string;
|
|
26
|
+
protected verifyTOTPCodeUrl: string;
|
|
27
|
+
protected activateTOTPCodeUrl: string;
|
|
28
|
+
protected revokeTOTPSecretUrl: string;
|
|
29
|
+
protected get newsletterEmailsUrl(): string;
|
|
30
|
+
protected get currentUserPasswordUrl(): string;
|
|
31
|
+
protected get revokeAllTokensUrl(): string;
|
|
32
|
+
protected propertyName: string;
|
|
33
|
+
/**
|
|
34
|
+
* Gets the details of given user.
|
|
35
|
+
*
|
|
36
|
+
* @param {string | number | IUser} entityOrId User's id or user object.
|
|
37
|
+
* @param {object} params Additional query params.
|
|
38
|
+
*
|
|
39
|
+
* @returns Returns promise object that is resolved with the IUser wrapped by IResult.
|
|
40
|
+
*
|
|
41
|
+
* **Example**
|
|
42
|
+
* ```typescript
|
|
43
|
+
*
|
|
44
|
+
* const userId: number = 1;
|
|
45
|
+
* const params = { withCertificates: true };
|
|
46
|
+
*
|
|
47
|
+
* (async () => {
|
|
48
|
+
* const { data, res } = await userService.detail(userId, params);
|
|
49
|
+
* })();
|
|
50
|
+
* ```
|
|
51
|
+
* User password is never returned in GET response. Authentication mechanism is provided by another interface.
|
|
52
|
+
*/
|
|
53
|
+
detail(entityOrId: string | number | IUser, params?: object): Promise<IResult<IUser>>;
|
|
54
|
+
/**
|
|
55
|
+
* Creates a new user.
|
|
56
|
+
*
|
|
57
|
+
* @param {IUser} entity User object.
|
|
58
|
+
*
|
|
59
|
+
* @returns {IResult<IUser>} Returns promise object that is resolved with the details of newly created user.
|
|
60
|
+
*
|
|
61
|
+
* **Example**
|
|
62
|
+
* ```typescript
|
|
63
|
+
*
|
|
64
|
+
* const userObject: IUser = {
|
|
65
|
+
* userName: "newUser",
|
|
66
|
+
* password: "userPassword12!@"
|
|
67
|
+
* };
|
|
68
|
+
*
|
|
69
|
+
* (async () => {
|
|
70
|
+
* const {data, res} = await userService.create(userObject);
|
|
71
|
+
* })();
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
create(entity: IUser): Promise<IResult<IUser>>;
|
|
75
|
+
/**
|
|
76
|
+
* Updates user data.
|
|
77
|
+
*
|
|
78
|
+
* @param {Partial<IUser>} entity User is partially updatable.
|
|
79
|
+
*
|
|
80
|
+
* @returns {IResult<IUserGroup>} Returns promise object that is resolved with the saved user object.
|
|
81
|
+
*
|
|
82
|
+
* **Example**
|
|
83
|
+
* ```typescript
|
|
84
|
+
*
|
|
85
|
+
* const partialUpdateObject: Partial<IUser> = {
|
|
86
|
+
* "id" : "myuser",
|
|
87
|
+
* "userName" : "newUserName",
|
|
88
|
+
* "email": "newUserEmail@example.com"
|
|
89
|
+
* ...
|
|
90
|
+
* }
|
|
91
|
+
*
|
|
92
|
+
* (async () => {
|
|
93
|
+
* const {data, res} = await userService.update(partialUpdateObject);
|
|
94
|
+
* })();
|
|
95
|
+
* ```
|
|
96
|
+
* When user is updated with changed permissions or groups, suitable audit record is created with type
|
|
97
|
+
* 'User' and activity 'User updated'.
|
|
98
|
+
*/
|
|
99
|
+
update(entity: Partial<IUser>): Promise<IResult<IUser>>;
|
|
100
|
+
/**
|
|
101
|
+
* Gets the list of users filtered by parameters.
|
|
102
|
+
*
|
|
103
|
+
* @param {object} filter Object containing filters for querying users.
|
|
104
|
+
*
|
|
105
|
+
* @returns Returns promise object that is resolved with the IUser wrapped by IResultList.
|
|
106
|
+
*
|
|
107
|
+
* **Example**
|
|
108
|
+
* ```typescript
|
|
109
|
+
*
|
|
110
|
+
* const filter: object = {
|
|
111
|
+
* pageSize: 100,
|
|
112
|
+
* withTotalPages: true
|
|
113
|
+
* };
|
|
114
|
+
*
|
|
115
|
+
* (async () => {
|
|
116
|
+
* const {data, res, paging} = await userService.list(filter);
|
|
117
|
+
* })();
|
|
118
|
+
* ```
|
|
119
|
+
*/
|
|
120
|
+
list(filter?: object): Promise<IResultList<IUser>>;
|
|
121
|
+
/**
|
|
122
|
+
* Removes user.
|
|
123
|
+
*
|
|
124
|
+
* @param {number|IIdentified} entityOrId User's id or user object.
|
|
125
|
+
*
|
|
126
|
+
* @returns Returns promise object that is resolved with the IResult of null.
|
|
127
|
+
*
|
|
128
|
+
* **Example**
|
|
129
|
+
* ```typescript
|
|
130
|
+
*
|
|
131
|
+
* const userId: string = "uniqueUserId";
|
|
132
|
+
*
|
|
133
|
+
* (async () => {
|
|
134
|
+
* const {data, res} = await userService.delete(userGroupId);
|
|
135
|
+
* })();
|
|
136
|
+
* ```
|
|
137
|
+
*/
|
|
138
|
+
delete(entityOrId: string | number | IIdentified): Promise<IResult<null>>;
|
|
139
|
+
/**
|
|
140
|
+
* Create instance of User Inventory Role Service related with given User.
|
|
141
|
+
*
|
|
142
|
+
* @param {string|number|IUser} entityOrId User's id or user object.
|
|
143
|
+
*
|
|
144
|
+
* @returns Returns UserInventoryRoleService object that is related with given User.
|
|
145
|
+
*
|
|
146
|
+
* **Example**
|
|
147
|
+
* ```typescript
|
|
148
|
+
*
|
|
149
|
+
* const userId: string = "uniqueUserId";
|
|
150
|
+
*
|
|
151
|
+
* const userInventoryRoleService = userService.inventoryAssignment(userGroupId);
|
|
152
|
+
* (async () => {
|
|
153
|
+
* const {data, res} = await userInventoryRoleService.create(...);
|
|
154
|
+
* })();
|
|
155
|
+
* ```
|
|
156
|
+
*/
|
|
157
|
+
inventoryAssignment(entityOrId: string | number | IUser): UserInventoryRoleService;
|
|
158
|
+
/**
|
|
159
|
+
* Gets user that is currently logged in.
|
|
160
|
+
*
|
|
161
|
+
* @returns Returns promise object that is resolved with the IUser wrapped by IResult.
|
|
162
|
+
*
|
|
163
|
+
* Note that this method will fail to retrieve the current user if the user is a service user.
|
|
164
|
+
*
|
|
165
|
+
* **Example**
|
|
166
|
+
* ```typescript
|
|
167
|
+
*
|
|
168
|
+
* (async () => {
|
|
169
|
+
* const {data, res} = await userService.current();
|
|
170
|
+
* })();
|
|
171
|
+
* ```
|
|
172
|
+
*/
|
|
173
|
+
current(): Promise<IResult<IUser>>;
|
|
174
|
+
/**
|
|
175
|
+
* Gets user that is currently logged in with the list of all roles assigned.
|
|
176
|
+
*
|
|
177
|
+
* @returns Returns promise object that is resolved with the ICurrenUser wrapped by IResult.
|
|
178
|
+
*
|
|
179
|
+
* **Example**
|
|
180
|
+
* ```typescript
|
|
181
|
+
*
|
|
182
|
+
* (async () => {
|
|
183
|
+
* const {data, res} = await userService.currentWithEffectiveRoles();
|
|
184
|
+
* })();
|
|
185
|
+
* ```
|
|
186
|
+
*/
|
|
187
|
+
currentWithEffectiveRoles(): Promise<IResult<ICurrentUser>>;
|
|
188
|
+
/**
|
|
189
|
+
* Updates the current user
|
|
190
|
+
*
|
|
191
|
+
* @param {IUser} user The user object with the properties to be updated
|
|
192
|
+
*
|
|
193
|
+
* @return Returns promise object resolved with the IUser wrapped by IResult
|
|
194
|
+
*/
|
|
195
|
+
updateCurrent(user: Partial<IUser>): Promise<IResult<IUser>>;
|
|
196
|
+
/**
|
|
197
|
+
* Sends an email message with a link allowing user to reset their password.
|
|
198
|
+
*
|
|
199
|
+
* @param {string} email The email address to send the message to.
|
|
200
|
+
* @param {string} tenantId The id of user's tenant (if cannot be inferred from URL).
|
|
201
|
+
*
|
|
202
|
+
* @returns Returns a request result object.
|
|
203
|
+
*
|
|
204
|
+
* **Example**
|
|
205
|
+
* ```typescript
|
|
206
|
+
* const email = 'user@example.com';
|
|
207
|
+
* const tenantId = 't123456';
|
|
208
|
+
*
|
|
209
|
+
* (async () => {
|
|
210
|
+
* const { res, data } = await userService.sendPasswordResetMail(email, tenantId);
|
|
211
|
+
* })();
|
|
212
|
+
* ```
|
|
213
|
+
*/
|
|
214
|
+
sendPasswordResetMail(email: string, tenantId?: string): Promise<IResult<null>>;
|
|
215
|
+
/**
|
|
216
|
+
* Resets user's password to a new one.
|
|
217
|
+
*
|
|
218
|
+
* @param {IResetPassword} newPassword Object with token, user's email, new password and its strength indicator.
|
|
219
|
+
* @param {string} tenantId The id of user's tenant (if cannot be inferred from URL).
|
|
220
|
+
*
|
|
221
|
+
* @returns Returns a request result object.
|
|
222
|
+
*
|
|
223
|
+
* **Example**
|
|
224
|
+
* ```typescript
|
|
225
|
+
* const newPassword: IResetPassword = {
|
|
226
|
+
* token: '123123ASDAWERER@#!WEDS$@#!WADA#A#EA#EA#EA',
|
|
227
|
+
* email: 'user@example.com',
|
|
228
|
+
* newPassword: 'myNewPassword',
|
|
229
|
+
* passwordStrength: PasswordStrength.GREEN
|
|
230
|
+
* };
|
|
231
|
+
* const tenantId = 't123456';
|
|
232
|
+
*
|
|
233
|
+
* (async () => {
|
|
234
|
+
* const { res, data } = await userService.resetPassword(newPassword, tenantId);
|
|
235
|
+
* })();
|
|
236
|
+
* ```
|
|
237
|
+
*/
|
|
238
|
+
resetPassword(newPassword: IResetPassword, tenantId?: string): Promise<IResult<null>>;
|
|
239
|
+
/**
|
|
240
|
+
* Validates a password reset token for a specific user and tenant.
|
|
241
|
+
*
|
|
242
|
+
* @param token - The reset token to validate.
|
|
243
|
+
* @param email - The email address of the user.
|
|
244
|
+
* @returns A promise that resolves to an IResult object containing the response and null data.
|
|
245
|
+
*
|
|
246
|
+
* @example
|
|
247
|
+
* ```typescript
|
|
248
|
+
* async function checkTokenStatus(token: string, email: string) {
|
|
249
|
+
* try {
|
|
250
|
+
* await userService.validateResetToken(token, email);
|
|
251
|
+
* return 'valid';
|
|
252
|
+
* } catch (e) {
|
|
253
|
+
* if (e.res?.status === 422) {
|
|
254
|
+
* return 'expired';
|
|
255
|
+
* } else {
|
|
256
|
+
* return 'invalid';
|
|
257
|
+
* }
|
|
258
|
+
* }
|
|
259
|
+
* }
|
|
260
|
+
* ```
|
|
261
|
+
*/
|
|
262
|
+
validateResetToken(token: string, email: string): Promise<IResult<null>>;
|
|
263
|
+
/**
|
|
264
|
+
* Verifies TFA code which is sent via SMS. If invoked with string '0', new TFA code will be sent.
|
|
265
|
+
*
|
|
266
|
+
* @param {string} pin The code to verify.
|
|
267
|
+
*
|
|
268
|
+
* @returns Returns a status object.
|
|
269
|
+
*
|
|
270
|
+
* **Example**
|
|
271
|
+
* ```typescript
|
|
272
|
+
*
|
|
273
|
+
* (async () => {
|
|
274
|
+
* const {data, res} = await userService.verifyTFACode('123123');
|
|
275
|
+
* })();
|
|
276
|
+
* ```
|
|
277
|
+
*/
|
|
278
|
+
verifyTFACode(pin: string): Promise<IResult<null>>;
|
|
279
|
+
/**
|
|
280
|
+
* Verifies TFA code which is generated by a TOTP app.
|
|
281
|
+
*
|
|
282
|
+
* @param {string} code The code to verify.
|
|
283
|
+
*
|
|
284
|
+
* @returns Returns a status object.
|
|
285
|
+
*
|
|
286
|
+
* **Example**
|
|
287
|
+
* ```typescript
|
|
288
|
+
*
|
|
289
|
+
* (async () => {
|
|
290
|
+
* const {data, res} = await userService.verifyTotpCode('123123');
|
|
291
|
+
* })();
|
|
292
|
+
* ```
|
|
293
|
+
*/
|
|
294
|
+
verifyTotpCode(code: any): Promise<IResult<null>>;
|
|
295
|
+
/**
|
|
296
|
+
* Verifies TFA code which is generated by a TOTP app.
|
|
297
|
+
*
|
|
298
|
+
* @returns Returns a status object.
|
|
299
|
+
*
|
|
300
|
+
* **Example**
|
|
301
|
+
* ```typescript
|
|
302
|
+
*
|
|
303
|
+
* (async () => {
|
|
304
|
+
* const {data, res} = await userService.activateTotp();
|
|
305
|
+
* })();
|
|
306
|
+
* ```
|
|
307
|
+
*/
|
|
308
|
+
activateTotp(): Promise<IResult<null>>;
|
|
309
|
+
/**
|
|
310
|
+
* Checks if TOTP is activated and enforced.
|
|
311
|
+
*
|
|
312
|
+
* @returns Returns an object of ITotpStatus if it is active.
|
|
313
|
+
*
|
|
314
|
+
* **Example**
|
|
315
|
+
* ```typescript
|
|
316
|
+
*
|
|
317
|
+
* (async () => {
|
|
318
|
+
* const {data, res} = await userService.getActivityTotp();
|
|
319
|
+
* console.log(data.isActive);
|
|
320
|
+
* })();
|
|
321
|
+
* ```
|
|
322
|
+
*/
|
|
323
|
+
getActivityTotp(): Promise<IResult<ITotpStatus>>;
|
|
324
|
+
/**
|
|
325
|
+
* Generates a secret which can be used to setup two-factor authentication with TOTP.
|
|
326
|
+
*
|
|
327
|
+
* @returns Returns the secret and an URL to a QR Code.
|
|
328
|
+
*
|
|
329
|
+
* **Example**
|
|
330
|
+
* ```typescript
|
|
331
|
+
*
|
|
332
|
+
* (async () => {
|
|
333
|
+
* const {data, res} = await userService.generateTotpSecret();
|
|
334
|
+
* console.log(secret);
|
|
335
|
+
* })();
|
|
336
|
+
* ```
|
|
337
|
+
*/
|
|
338
|
+
generateTotpSecret(): Promise<IResult<ITotp>>;
|
|
339
|
+
/**
|
|
340
|
+
* Revokes a specific user's TOTP secret.
|
|
341
|
+
*
|
|
342
|
+
* @param {IUser} user User whose TOTP secret to revoke.
|
|
343
|
+
*
|
|
344
|
+
* @returns Status object
|
|
345
|
+
*/
|
|
346
|
+
totpRevokeSecret(user: IUser): Promise<IResult<null>>;
|
|
347
|
+
/**
|
|
348
|
+
* Saves phone number for the current user.
|
|
349
|
+
* @param phoneNumber Phone number to save.
|
|
350
|
+
* @returns Server response and data with updated current user object.
|
|
351
|
+
*/
|
|
352
|
+
savePhoneNumber(phoneNumber: string): Promise<IResult<ICurrentUser>>;
|
|
353
|
+
/**
|
|
354
|
+
* Gets the list of emails of users subscribed for newsletter
|
|
355
|
+
* on the current tenant and its subtenants.
|
|
356
|
+
* @returns Server response and data with email addresses as plain text.
|
|
357
|
+
*/
|
|
358
|
+
getNewsletterEmails(): Promise<IResult<string>>;
|
|
359
|
+
/**
|
|
360
|
+
* Changes password for user.
|
|
361
|
+
*
|
|
362
|
+
* @param {string | number | IUser} entityOrId User's id or user object.
|
|
363
|
+
* @param {string} newPassword New user password.
|
|
364
|
+
* @param {string} currentUserPassword The password of the currently logged user.
|
|
365
|
+
*
|
|
366
|
+
* @returns Returns a result object.
|
|
367
|
+
*/
|
|
368
|
+
changeUserPassword(entityOrId: string | number | IUser, newPassword: string, currentUserPassword: string): Promise<IResult<null>>;
|
|
369
|
+
/**
|
|
370
|
+
* Changes password for current user.
|
|
371
|
+
*
|
|
372
|
+
* @param {string} newPassword New password for current user.
|
|
373
|
+
* @param {string} currentUserPassword The password of the currently logged user.
|
|
374
|
+
*
|
|
375
|
+
* @returns Returns a result object. During this action if preferred login mode is OAI_SECURE new jwt cookie will be set.
|
|
376
|
+
*/
|
|
377
|
+
changeCurrentUserPassword(newPassword: string, currentUserPassword: string): Promise<IResult<null>>;
|
|
378
|
+
/**
|
|
379
|
+
* Revoke tokens for all users. All users logged with "OAI-Secure" or "Single sign-on redirect" will be logged out.
|
|
380
|
+
*
|
|
381
|
+
* @returns Returns a result object.
|
|
382
|
+
*/
|
|
383
|
+
revokeTokens(): Promise<IResult<null>>;
|
|
384
|
+
hasRole(user: IUser | ICurrentUser, roleId: string): boolean;
|
|
385
|
+
hasAllRoles(user: IUser | ICurrentUser, roleIds: string[]): boolean;
|
|
386
|
+
hasAnyRole(user: IUser | ICurrentUser, roleIds: string[]): boolean;
|
|
387
|
+
hasAnyGlobalRole(user: IUser | ICurrentUser, globalRoleIds: number[]): boolean;
|
|
388
|
+
isDeviceUser(user: IUser | ICurrentUser): RegExpMatchArray;
|
|
389
|
+
isServiceUser(user: IUser | ICurrentUser): RegExpMatchArray;
|
|
390
|
+
protected onBeforeUpdate(user: Partial<IUser>): any;
|
|
391
|
+
protected getDetailUrl(entityOrId: string | number | IUser): string;
|
|
392
|
+
protected getId(entityOrId: string | number | IUser): string;
|
|
393
|
+
protected hasRoleInUser(user: IUser | ICurrentUser, roleId: any): any;
|
|
394
|
+
protected hasRoleInGroups(user: IUser | ICurrentUser, roleId: any): any;
|
|
395
|
+
protected hasRoleInReferences(references: any, roleId: any): any;
|
|
396
|
+
protected changeUserPasswordUrl(entityOrId: string | number | IUser): string;
|
|
397
|
+
protected hasGlobalRoleInUser(user: IUser | ICurrentUser, globalRoleId: number): boolean;
|
|
398
|
+
}
|
|
399
|
+
//#endregion
|
|
400
|
+
export { UserService };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user-group/IDevicePermissions.d.ts
|
|
2
|
+
/** Description of IDevicePermissions interface */
|
|
3
|
+
interface IDevicePermissions {
|
|
4
|
+
/** Any keys */
|
|
5
|
+
[key: string]: string[];
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { IDevicePermissions };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ICustomProperties } from "../core/ICustomProperties.mjs";
|
|
2
|
+
import { IRoleReferences } from "../user-role/IRoleReference.mjs";
|
|
3
|
+
import { IDevicePermissions } from "./IDevicePermissions.mjs";
|
|
4
|
+
import { IUserReferences } from "../user/IUser.mjs";
|
|
5
|
+
import { IApplication } from "../application/IApplication.mjs";
|
|
6
|
+
|
|
7
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user-group/IUserGroup.d.ts
|
|
8
|
+
/** Description of IUserGroup interface */
|
|
9
|
+
interface IUserGroup {
|
|
10
|
+
/** Uniquely identifies a User Group */
|
|
11
|
+
id?: number;
|
|
12
|
+
/** Descriptive Name of the Group */
|
|
13
|
+
name?: string;
|
|
14
|
+
/** Description of the Group */
|
|
15
|
+
description?: string;
|
|
16
|
+
/** Object contains all role references assigned to group */
|
|
17
|
+
roles?: IRoleReferences;
|
|
18
|
+
/** List of device permissions */
|
|
19
|
+
devicePermissions?: IDevicePermissions;
|
|
20
|
+
/** List of applications */
|
|
21
|
+
applications?: IApplication[];
|
|
22
|
+
/** List of custom properties */
|
|
23
|
+
customProperties?: ICustomProperties;
|
|
24
|
+
/** Link to this Resource */
|
|
25
|
+
self: string;
|
|
26
|
+
/** Object contains all user assigned to group */
|
|
27
|
+
users?: IUserReferences;
|
|
28
|
+
/**
|
|
29
|
+
* Other custom keys
|
|
30
|
+
*/
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
}
|
|
33
|
+
interface IUserGroupReference {
|
|
34
|
+
self: string;
|
|
35
|
+
group: Partial<IUserGroup>;
|
|
36
|
+
}
|
|
37
|
+
interface IUserGroupReferences {
|
|
38
|
+
/** List of user references */
|
|
39
|
+
references: IUserGroupReference[];
|
|
40
|
+
/** Link to this Resource */
|
|
41
|
+
self: string;
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
44
|
+
export { IUserGroup, IUserGroupReference, IUserGroupReferences };
|