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,296 @@
|
|
|
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 { IDeviceRegistration, IDeviceRegistrationAccept, IDeviceRegistrationCreate, IDeviceRegistrationLimit } from "./IDeviceRegistration.mjs";
|
|
6
|
+
import { IDeviceCredentials } from "./IDeviceCredentials.mjs";
|
|
7
|
+
|
|
8
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/device-registration/DeviceRegistrationService.d.ts
|
|
9
|
+
/**
|
|
10
|
+
* Interface to use as options parameter
|
|
11
|
+
* to bootstrap a new device.
|
|
12
|
+
*/
|
|
13
|
+
interface IDeviceBootstrapOptions {
|
|
14
|
+
/**
|
|
15
|
+
* If already logged in it is accessible via
|
|
16
|
+
* client.auth.getFetchOptions, see [[BasicAuth.getFetchOptions]]
|
|
17
|
+
*
|
|
18
|
+
* **Example**
|
|
19
|
+
* ``` typescript
|
|
20
|
+
*
|
|
21
|
+
* // tenant/username:password
|
|
22
|
+
* const basicAuthToken = 'Basic dGVuYW50L3VzZXJuYW1lOnBhc3N3b3Jk';
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
basicAuthToken?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Object to define username and password
|
|
28
|
+
* as string.
|
|
29
|
+
*
|
|
30
|
+
* **Example**
|
|
31
|
+
* ``` typescript
|
|
32
|
+
*
|
|
33
|
+
* const basicAuth = {
|
|
34
|
+
* user: 'username',
|
|
35
|
+
* pass: 'password'
|
|
36
|
+
* }
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
basicAuth?: {
|
|
40
|
+
user: string;
|
|
41
|
+
pass: string;
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* This class allows registration of a new device.
|
|
46
|
+
*/
|
|
47
|
+
declare class DeviceRegistrationService extends Service<IDeviceRegistration> {
|
|
48
|
+
protected baseUrl: string;
|
|
49
|
+
protected listUrl: string;
|
|
50
|
+
protected propertyName: string;
|
|
51
|
+
/**
|
|
52
|
+
* Gets the details of device registration.
|
|
53
|
+
*
|
|
54
|
+
* @param {string|number|IIdentified} entityOrId Entity or Id of the entity.
|
|
55
|
+
*
|
|
56
|
+
* @returns Response wrapped in [[IResult]]
|
|
57
|
+
*
|
|
58
|
+
* **Example**
|
|
59
|
+
* ```typescript
|
|
60
|
+
*
|
|
61
|
+
* const entityId: number = 1;
|
|
62
|
+
*
|
|
63
|
+
* (async () => {
|
|
64
|
+
* const {data, res} = await deviceRegistrationService.detail(entityId);
|
|
65
|
+
* })();
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
detail(entityOrId: string | number | IIdentified): Promise<IResult<IDeviceRegistration>>;
|
|
69
|
+
/**
|
|
70
|
+
* Creates a new device registration.
|
|
71
|
+
*
|
|
72
|
+
* @param {IDeviceRegistrationCreate} entity Device registration object with mandantory fragments.
|
|
73
|
+
*
|
|
74
|
+
* @returns Response wrapped in [[IResult]]
|
|
75
|
+
*
|
|
76
|
+
* **Example**
|
|
77
|
+
* ```typescript
|
|
78
|
+
*
|
|
79
|
+
* const mandantoryObject: IDeviceRegistrationCreate = {
|
|
80
|
+
* id: 1,
|
|
81
|
+
* };
|
|
82
|
+
*
|
|
83
|
+
* (async () => {
|
|
84
|
+
* const {data, res} = await deviceRegistrationService.create(mandantoryObject);
|
|
85
|
+
* })();
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
88
|
+
create(entity: IDeviceRegistrationCreate): Promise<IResult<IDeviceRegistration>>;
|
|
89
|
+
/**
|
|
90
|
+
* Gets the list of device registrations by parameters.
|
|
91
|
+
*
|
|
92
|
+
* @returns Response wrapped in [[IResultList]]
|
|
93
|
+
*
|
|
94
|
+
* @param {object} filter Object containing filters for querying registrations.
|
|
95
|
+
*
|
|
96
|
+
* **Example**
|
|
97
|
+
* ```typescript
|
|
98
|
+
*
|
|
99
|
+
* const filter: object = {
|
|
100
|
+
* pageSize: 100,
|
|
101
|
+
* withTotalPages: true
|
|
102
|
+
* };
|
|
103
|
+
*
|
|
104
|
+
* (async () => {
|
|
105
|
+
* const {data, res, paging} = await deviceRegistrationService.list(filter);
|
|
106
|
+
* })();
|
|
107
|
+
* ```
|
|
108
|
+
*/
|
|
109
|
+
list(filter?: object): Promise<IResultList<IDeviceRegistration>>;
|
|
110
|
+
/**
|
|
111
|
+
* Removes an registration with given id.
|
|
112
|
+
*
|
|
113
|
+
* @returns Response wrapped in [[IResult]]
|
|
114
|
+
*
|
|
115
|
+
* @param {string | number | IIdentified} entityOrId entity or id of the registration.
|
|
116
|
+
*
|
|
117
|
+
* **Example**
|
|
118
|
+
* ```typescript
|
|
119
|
+
*
|
|
120
|
+
* const id = 'abc';
|
|
121
|
+
*
|
|
122
|
+
* (async () => {
|
|
123
|
+
* const {data, res} = await deviceRegistrationService.delete(id);
|
|
124
|
+
* // data will be null
|
|
125
|
+
* })();
|
|
126
|
+
* ```
|
|
127
|
+
*/
|
|
128
|
+
delete(entityOrId: string | number | IIdentified): Promise<IResult<null>>;
|
|
129
|
+
/**
|
|
130
|
+
* Accepts the device registration for given id.
|
|
131
|
+
*
|
|
132
|
+
* @returns Response wrapped in [[IResult]]
|
|
133
|
+
*
|
|
134
|
+
* @param {string | number | IIdentified} entityOrId entity or id of registration. Using an entity object one can pass a securityToken as string next to the id.
|
|
135
|
+
*
|
|
136
|
+
* @param {string} [securityToken] optional security token to reduce the risk of devices which are not yet registered being taken over by threat actors.
|
|
137
|
+
*
|
|
138
|
+
* **Examples**
|
|
139
|
+
* ```typescript
|
|
140
|
+
*
|
|
141
|
+
* const id = 'abc';
|
|
142
|
+
*
|
|
143
|
+
* (async () => {
|
|
144
|
+
* const {data, res} = await deviceRegistrationService.accept(id);
|
|
145
|
+
* })();
|
|
146
|
+
* ```
|
|
147
|
+
*
|
|
148
|
+
* ```typescript
|
|
149
|
+
*
|
|
150
|
+
* const entity = { id: 'abc', securityToken: '<secretToken>' };
|
|
151
|
+
*
|
|
152
|
+
* (async () => {
|
|
153
|
+
* const {data, res} = await deviceRegistrationService.accept(entity);
|
|
154
|
+
* })();
|
|
155
|
+
* ```
|
|
156
|
+
*
|
|
157
|
+
* ```typescript
|
|
158
|
+
*
|
|
159
|
+
* const id = 'abc';
|
|
160
|
+
* const securityToken = '<secretToken>';
|
|
161
|
+
*
|
|
162
|
+
* (async () => {
|
|
163
|
+
* const {data, res} = await deviceRegistrationService.accept(id, securityToken);
|
|
164
|
+
* })();
|
|
165
|
+
* ```
|
|
166
|
+
*
|
|
167
|
+
* Providing a securityToken within an entity object together with another securityToken as a parameter of the
|
|
168
|
+
* method will always use the securityToken of the entity object. In the example below <secretTokenA> is
|
|
169
|
+
* used as the value. <secretTokenB> is obsolete and ignored.
|
|
170
|
+
*
|
|
171
|
+
* ```typescript
|
|
172
|
+
*
|
|
173
|
+
* const entity = { id: 'abc', securityToken: '<secretTokenA>'};
|
|
174
|
+
* const securityToken = '<secretTokenB>';
|
|
175
|
+
*
|
|
176
|
+
* (async () => {
|
|
177
|
+
* const {data, res} = await deviceRegistrationService.accept(entity, securityToken);
|
|
178
|
+
* })();
|
|
179
|
+
*
|
|
180
|
+
* ```
|
|
181
|
+
*/
|
|
182
|
+
accept(entityOrId: string | number | IIdentified, securityToken?: string): Promise<IResult<IDeviceRegistration>>;
|
|
183
|
+
/**
|
|
184
|
+
* Accepts the device registration for all registrations in pending acceptance.
|
|
185
|
+
*
|
|
186
|
+
* @returns Response wrapped in [[IResultList]]
|
|
187
|
+
*
|
|
188
|
+
* **Example**
|
|
189
|
+
* ```typescript
|
|
190
|
+
*
|
|
191
|
+
* (async () => {
|
|
192
|
+
* const {data, res} = await deviceRegistrationService.acceptAll();
|
|
193
|
+
* })();
|
|
194
|
+
* ```
|
|
195
|
+
*/
|
|
196
|
+
acceptAll(): Promise<IResultList<IDeviceRegistrationAccept>>;
|
|
197
|
+
/**
|
|
198
|
+
* Gets limitation information for registering devices to the platform
|
|
199
|
+
*
|
|
200
|
+
* @returns Response wrapped in [[IResult]]
|
|
201
|
+
*
|
|
202
|
+
* **Example**
|
|
203
|
+
* ```typescript
|
|
204
|
+
*
|
|
205
|
+
* (async () => {
|
|
206
|
+
* const {data, res} = await deviceRegistrationService.limit();
|
|
207
|
+
* })();
|
|
208
|
+
* ```
|
|
209
|
+
*/
|
|
210
|
+
limit(): Promise<IResult<IDeviceRegistrationLimit>>;
|
|
211
|
+
/**
|
|
212
|
+
* Bootstraps the device with given id.
|
|
213
|
+
*
|
|
214
|
+
* @param {string | number | IIdentified} entityOrId entity or id of registration. Using an entity object one can pass a securityToken as string next to the id.
|
|
215
|
+
* @param options for details see [[IDeviceBootstrapOptions]]
|
|
216
|
+
* @param {string} [securityToken] optional security token to reduce the risk of devices which are not yet registered being taken over by threat actors.
|
|
217
|
+
*
|
|
218
|
+
* **Examples**
|
|
219
|
+
* ```typescript
|
|
220
|
+
*
|
|
221
|
+
* const id: 'abc';
|
|
222
|
+
* const options: IDeviceBootstrapOptions = {
|
|
223
|
+
* basicAuthToken: 'Basic dGVuYW50L3VzZXJuYW1lOnBhc3N3b3Jk',
|
|
224
|
+
* basicAuth: {
|
|
225
|
+
* user: 'username',
|
|
226
|
+
* pass: 'password'
|
|
227
|
+
* }
|
|
228
|
+
* };
|
|
229
|
+
*
|
|
230
|
+
* (async () => {
|
|
231
|
+
* const {data, res} = await deviceRegistrationService.bootstrap(id, options);
|
|
232
|
+
* })();
|
|
233
|
+
* ```
|
|
234
|
+
*
|
|
235
|
+
* ```typescript
|
|
236
|
+
*
|
|
237
|
+
* const entity: { id: '123', securityToken: '<secretToken>'};
|
|
238
|
+
* const options: IDeviceBootstrapOptions = {
|
|
239
|
+
* basicAuthToken: 'Basic dGVuYW50L3VzZXJuYW1lOnBhc3N3b3Jk',
|
|
240
|
+
* basicAuth: {
|
|
241
|
+
* user: 'username',
|
|
242
|
+
* pass: 'password'
|
|
243
|
+
* }
|
|
244
|
+
* };
|
|
245
|
+
*
|
|
246
|
+
* (async () => {
|
|
247
|
+
* const {data, res} = await deviceRegistrationService.bootstrap(entity, options);
|
|
248
|
+
* })();
|
|
249
|
+
* ```
|
|
250
|
+
*
|
|
251
|
+
* ```typescript
|
|
252
|
+
*
|
|
253
|
+
* const id: '123';
|
|
254
|
+
* const options: IDeviceBootstrapOptions = {
|
|
255
|
+
* basicAuthToken: 'Basic dGVuYW50L3VzZXJuYW1lOnBhc3N3b3Jk',
|
|
256
|
+
* basicAuth: {
|
|
257
|
+
* user: 'username',
|
|
258
|
+
* pass: 'password'
|
|
259
|
+
* }
|
|
260
|
+
* };
|
|
261
|
+
* const securityToken: '<secretToken>'
|
|
262
|
+
*
|
|
263
|
+
* (async () => {
|
|
264
|
+
* const {data, res} = await deviceRegistrationService.bootstrap(id, options, securityToken);
|
|
265
|
+
* })();
|
|
266
|
+
* ```
|
|
267
|
+
*
|
|
268
|
+
* Providing a securityToken within an entity object together with another securityToken as a parameter of the
|
|
269
|
+
* method will always use the securityToken of the entity object. In the example below <secretTokenA> is
|
|
270
|
+
* used as the value. <secretTokenB> is obsolete and ignored.
|
|
271
|
+
*
|
|
272
|
+
* ```typescript
|
|
273
|
+
*
|
|
274
|
+
* const options: IDeviceBootstrapOptions = {
|
|
275
|
+
* basicAuthToken: 'Basic dGVuYW50L3VzZXJuYW1lOnBhc3N3b3Jk',
|
|
276
|
+
* basicAuth: {
|
|
277
|
+
* user: 'username',
|
|
278
|
+
* pass: 'password'
|
|
279
|
+
* }
|
|
280
|
+
* };
|
|
281
|
+
* const entity: { id: '123', securityToken: '<secretTokenA>'};
|
|
282
|
+
* const securityToken: '<secretTokenB>'
|
|
283
|
+
*
|
|
284
|
+
* (async () => {
|
|
285
|
+
* const {data, res} = await deviceRegistrationService.accept(entity, securityToken);
|
|
286
|
+
* })();
|
|
287
|
+
* ```
|
|
288
|
+
*/
|
|
289
|
+
bootstrap(entityOrId: string | number | IIdentified, options: IDeviceBootstrapOptions, securityToken?: string): Promise<IResult<IDeviceCredentials>>;
|
|
290
|
+
protected onBeforeCreate(entity: IDeviceRegistrationCreate): IDeviceRegistrationCreate;
|
|
291
|
+
protected onBeforeUpdate(entity: IDeviceRegistrationCreate): IDeviceRegistrationCreate;
|
|
292
|
+
protected getDetailUrl(entityOrId: string | number | IIdentified): string;
|
|
293
|
+
private getSecurityToken;
|
|
294
|
+
}
|
|
295
|
+
//#endregion
|
|
296
|
+
export { DeviceRegistrationService, IDeviceBootstrapOptions };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/device-registration/DeviceRegistrationStatus.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Device registration can have one of the following states.
|
|
4
|
+
*/
|
|
5
|
+
declare enum DeviceRegistrationStatus {
|
|
6
|
+
WAITING_FOR_CONNECTION,
|
|
7
|
+
PENDING_ACCEPTANCE,
|
|
8
|
+
ACCEPTED,
|
|
9
|
+
BLOCKED
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { DeviceRegistrationStatus };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/device-registration/IDeviceCredentials.d.ts
|
|
2
|
+
interface IDeviceCredentials {
|
|
3
|
+
/**
|
|
4
|
+
* Device identifier, e.g. IMEI
|
|
5
|
+
*/
|
|
6
|
+
id: string;
|
|
7
|
+
/**
|
|
8
|
+
* New password
|
|
9
|
+
*/
|
|
10
|
+
password: string;
|
|
11
|
+
/**
|
|
12
|
+
* Link to this resource
|
|
13
|
+
*/
|
|
14
|
+
self: string;
|
|
15
|
+
/**
|
|
16
|
+
* Tenant id for authentication
|
|
17
|
+
*/
|
|
18
|
+
tenantId: string;
|
|
19
|
+
/**
|
|
20
|
+
* New username
|
|
21
|
+
*/
|
|
22
|
+
username: string;
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
export { IDeviceCredentials };
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { DeviceRegistrationStatus } from "./DeviceRegistrationStatus.mjs";
|
|
2
|
+
|
|
3
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/device-registration/IDeviceRegistration.d.ts
|
|
4
|
+
interface IDeviceRegistrationCreate {
|
|
5
|
+
/**
|
|
6
|
+
* Object for custom fragments
|
|
7
|
+
*/
|
|
8
|
+
customProperties?: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Identifies the owner of the object
|
|
13
|
+
*/
|
|
14
|
+
owner?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Shows the server-side creation time of the object
|
|
17
|
+
*/
|
|
18
|
+
creationTime?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Identifies the target group
|
|
21
|
+
*/
|
|
22
|
+
groupId?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
* Identifies the type of request, e.g.: c8y_DataBroker. For device requests value is normally skipped.
|
|
29
|
+
*/
|
|
30
|
+
type?: string;
|
|
31
|
+
}
|
|
32
|
+
interface IDeviceRegistration extends IDeviceRegistrationCreate {
|
|
33
|
+
/**
|
|
34
|
+
* Link to this resource
|
|
35
|
+
*/
|
|
36
|
+
self: string;
|
|
37
|
+
/**
|
|
38
|
+
* Possible state of device registration
|
|
39
|
+
*/
|
|
40
|
+
status: DeviceRegistrationStatus;
|
|
41
|
+
/**
|
|
42
|
+
* Identifies the tenant
|
|
43
|
+
*/
|
|
44
|
+
tenantId: string;
|
|
45
|
+
/**
|
|
46
|
+
* Security token for a device may be required to register successfully
|
|
47
|
+
*/
|
|
48
|
+
securityToken?: string;
|
|
49
|
+
}
|
|
50
|
+
interface IDeviceRegistrationAccept {
|
|
51
|
+
/**
|
|
52
|
+
* Unique identifier of accepted device registration
|
|
53
|
+
*/
|
|
54
|
+
id: string;
|
|
55
|
+
/**
|
|
56
|
+
* Success state of device registration
|
|
57
|
+
*/
|
|
58
|
+
successful: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Text to describe an error that occurred while registering the device
|
|
61
|
+
*/
|
|
62
|
+
error?: string;
|
|
63
|
+
}
|
|
64
|
+
interface IDeviceRegistrationLimit {
|
|
65
|
+
/**
|
|
66
|
+
* Indicates if the limit is reached
|
|
67
|
+
*/
|
|
68
|
+
isReached: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Shows the current limit
|
|
71
|
+
*/
|
|
72
|
+
limit?: number;
|
|
73
|
+
/**
|
|
74
|
+
* Shows the current registered device count
|
|
75
|
+
*/
|
|
76
|
+
deviceCount?: number;
|
|
77
|
+
}
|
|
78
|
+
//#endregion
|
|
79
|
+
export { IDeviceRegistration, IDeviceRegistrationAccept, IDeviceRegistrationCreate, IDeviceRegistrationLimit };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/device-registration/IDeviceRegistrationBulkResult.d.ts
|
|
2
|
+
interface IDeviceRegistrationBulkResult {
|
|
3
|
+
/**
|
|
4
|
+
* Result list of updated credentials
|
|
5
|
+
*/
|
|
6
|
+
credentialUpdatedList: any[];
|
|
7
|
+
/**
|
|
8
|
+
* Failed creations as list
|
|
9
|
+
*/
|
|
10
|
+
failedCreationList: any[];
|
|
11
|
+
/**
|
|
12
|
+
* Count of all results
|
|
13
|
+
*/
|
|
14
|
+
numberOfAll: number;
|
|
15
|
+
/**
|
|
16
|
+
* Count of newly created
|
|
17
|
+
*/
|
|
18
|
+
numberOfCreated: number;
|
|
19
|
+
/**
|
|
20
|
+
* Count of failed
|
|
21
|
+
*/
|
|
22
|
+
numberOfFailed: number;
|
|
23
|
+
/**
|
|
24
|
+
* Count of successful
|
|
25
|
+
*/
|
|
26
|
+
numberOfSuccessful: number;
|
|
27
|
+
}
|
|
28
|
+
//#endregion
|
|
29
|
+
export { IDeviceRegistrationBulkResult };
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { IFetchResponse } from "../core/IFetchResponse.mjs";
|
|
2
|
+
import { IResult } from "../core/IResult.mjs";
|
|
3
|
+
import { Service } from "../core/Service.mjs";
|
|
4
|
+
import { IEvent } from "./IEvent.mjs";
|
|
5
|
+
import { IEventBinary } from "./IEventBinary.mjs";
|
|
6
|
+
import { Stream } from "stream";
|
|
7
|
+
|
|
8
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/event/EventBinaryService.d.ts
|
|
9
|
+
declare class EventBinaryService extends Service<IEventBinary> {
|
|
10
|
+
protected baseUrl: string;
|
|
11
|
+
protected listUrl: string;
|
|
12
|
+
/**
|
|
13
|
+
* Uploads an event binary.
|
|
14
|
+
* @returns Response wrapped in [[IResult]]
|
|
15
|
+
*
|
|
16
|
+
* @param {Stream | Buffer | File | Blob} file file to upload.
|
|
17
|
+
* @param {string | number | IEvent} eventOrId Event or Id of the Event.
|
|
18
|
+
*
|
|
19
|
+
* **Example**
|
|
20
|
+
* ```typescript
|
|
21
|
+
*
|
|
22
|
+
* const file = Buffer.from('aaa');
|
|
23
|
+
* const eventId: string | number = 123;
|
|
24
|
+
*
|
|
25
|
+
* (async () => {
|
|
26
|
+
* const {data, res} = await eventBinaryService.upload(file, eventId);
|
|
27
|
+
* })();
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
upload(file: Stream | Buffer | File | Blob, entityOrId: string | number | IEvent): Promise<IResult<IEventBinary>>;
|
|
31
|
+
/**
|
|
32
|
+
* Downloads the binary for a given event.
|
|
33
|
+
* @returns Response wrapped in [[IFetchResponse]]
|
|
34
|
+
*
|
|
35
|
+
* @param {string | number | IEvent} eventOrId Event or Id of the Event.
|
|
36
|
+
*
|
|
37
|
+
* **Example**
|
|
38
|
+
* ```typescript
|
|
39
|
+
*
|
|
40
|
+
* const eventId: string | number = 123;
|
|
41
|
+
*
|
|
42
|
+
* (async () => {
|
|
43
|
+
* const res = await eventBinaryService.download(eventId);
|
|
44
|
+
* })();
|
|
45
|
+
*/
|
|
46
|
+
download(entityOrId: string | number | IEvent): Promise<IFetchResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* Removes the binary for a given event.
|
|
49
|
+
* @returns Response wrapped in [[IResult]]
|
|
50
|
+
*
|
|
51
|
+
* @param {string | number | IEvent} eventOrId Event or Id of the Event.
|
|
52
|
+
*
|
|
53
|
+
* **Example**
|
|
54
|
+
* ```typescript
|
|
55
|
+
*
|
|
56
|
+
* const eventId: string | number = 123;
|
|
57
|
+
*
|
|
58
|
+
* (async () => {
|
|
59
|
+
* const {data, res} = await eventBinaryService.delete(eventId);
|
|
60
|
+
* })();
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
delete(entityOrId: string | number | IEvent): Promise<IResult<null>>;
|
|
64
|
+
protected getDetailUrl(entityOrId: string | number | IEvent): string;
|
|
65
|
+
}
|
|
66
|
+
//#endregion
|
|
67
|
+
export { EventBinaryService };
|
|
@@ -0,0 +1,120 @@
|
|
|
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 { IEvent } from "./IEvent.mjs";
|
|
6
|
+
|
|
7
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/event/EventService.d.ts
|
|
8
|
+
/**
|
|
9
|
+
* This class allows managing for events.
|
|
10
|
+
*/
|
|
11
|
+
declare class EventService extends Service<IEvent> {
|
|
12
|
+
protected baseUrl: string;
|
|
13
|
+
protected listUrl: string;
|
|
14
|
+
protected propertyName: string;
|
|
15
|
+
protected channel: string;
|
|
16
|
+
/**
|
|
17
|
+
* Gets the details of a specific event.
|
|
18
|
+
*
|
|
19
|
+
* @param {string|number|IIdentified} entityOrId Entity or Id of the entity.
|
|
20
|
+
*
|
|
21
|
+
* @returns Response wrapped in [[IResult]]
|
|
22
|
+
*
|
|
23
|
+
* **Example**
|
|
24
|
+
* ```typescript
|
|
25
|
+
*
|
|
26
|
+
* const eventId: number = 1;
|
|
27
|
+
*
|
|
28
|
+
* (async () => {
|
|
29
|
+
* const {data, res} = await eventService.detail(eventId);
|
|
30
|
+
* })();
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
detail(entityOrId: string | number | IIdentified): Promise<IResult<IEvent>>;
|
|
34
|
+
/**
|
|
35
|
+
* Creates a new event.
|
|
36
|
+
*
|
|
37
|
+
* @param {IEvent} entity Event object with mandantory fragments.
|
|
38
|
+
*
|
|
39
|
+
* @returns Response wrapped in [[IResult]]
|
|
40
|
+
*
|
|
41
|
+
* **Example**
|
|
42
|
+
* ```typescript
|
|
43
|
+
*
|
|
44
|
+
* const mandantoryObject: IEvent = {
|
|
45
|
+
* source: device,
|
|
46
|
+
* text: 'I am an Event!',
|
|
47
|
+
* time: '2018-05-02T10:08:00Z',
|
|
48
|
+
* type: 'device-type-here',
|
|
49
|
+
* };
|
|
50
|
+
*
|
|
51
|
+
* (async () => {
|
|
52
|
+
* const {data, res} = await eventService.create(mandantoryObject);
|
|
53
|
+
* })();
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
create(entity: IEvent): Promise<IResult<IEvent>>;
|
|
57
|
+
/**
|
|
58
|
+
* Updates event data.
|
|
59
|
+
*
|
|
60
|
+
* @param {Partial<IEvent>} entity Event is partially updatable.
|
|
61
|
+
*
|
|
62
|
+
* @returns Response wrapped in [[IResult]]
|
|
63
|
+
*
|
|
64
|
+
* **Example**
|
|
65
|
+
* ```typescript
|
|
66
|
+
*
|
|
67
|
+
* const partialUpdateObject: Partial<IEvent> = {
|
|
68
|
+
* source: device,
|
|
69
|
+
* text: 'Changed Event!'
|
|
70
|
+
* };
|
|
71
|
+
*
|
|
72
|
+
* (async () => {
|
|
73
|
+
* const {data, res} = await eventService.update(partialUpdateObject);
|
|
74
|
+
* })();
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
77
|
+
update(entity: Partial<IEvent>): Promise<IResult<IEvent>>;
|
|
78
|
+
/**
|
|
79
|
+
* Gets the list of events filtered by parameters.
|
|
80
|
+
*
|
|
81
|
+
* @returns Response wrapped in [[IResultList]]
|
|
82
|
+
*
|
|
83
|
+
* @param {object} filter Object containing filters for querying events.
|
|
84
|
+
*
|
|
85
|
+
* **Example**
|
|
86
|
+
* ```typescript
|
|
87
|
+
*
|
|
88
|
+
* const filter: object = {
|
|
89
|
+
* pageSize: 100,
|
|
90
|
+
* withTotalPages: true
|
|
91
|
+
* };
|
|
92
|
+
*
|
|
93
|
+
* (async () => {
|
|
94
|
+
* const {data, res, paging} = await eventService.list(filter);
|
|
95
|
+
* })();
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
list(filter?: object): Promise<IResultList<IEvent>>;
|
|
99
|
+
/**
|
|
100
|
+
* Removes an event with given id.
|
|
101
|
+
*
|
|
102
|
+
* @returns Response wrapped in [[IResult]]
|
|
103
|
+
*
|
|
104
|
+
* @param {string | number | IIdentified} entityOrId entity or id of the event.
|
|
105
|
+
*
|
|
106
|
+
* **Example**
|
|
107
|
+
* ```typescript
|
|
108
|
+
*
|
|
109
|
+
* const eventId: number = 1;
|
|
110
|
+
*
|
|
111
|
+
* (async () => {
|
|
112
|
+
* const {data, res} = await eventService.delete(eventId);
|
|
113
|
+
* // data will be null
|
|
114
|
+
* })();
|
|
115
|
+
* ```
|
|
116
|
+
*/
|
|
117
|
+
delete(entityOrId: string | number | IIdentified): Promise<IResult<null>>;
|
|
118
|
+
}
|
|
119
|
+
//#endregion
|
|
120
|
+
export { EventService };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ISource } from "../core/ISource.mjs";
|
|
2
|
+
|
|
3
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/event/IEvent.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* This interface holds all fragments that describe an event object
|
|
6
|
+
*/
|
|
7
|
+
interface IEvent {
|
|
8
|
+
/**
|
|
9
|
+
* The ManagedObject that the event originated from, see [[ISource]]
|
|
10
|
+
*/
|
|
11
|
+
source: ISource;
|
|
12
|
+
/**
|
|
13
|
+
* Identifies the type of this event
|
|
14
|
+
*/
|
|
15
|
+
type: string;
|
|
16
|
+
/**
|
|
17
|
+
* Time of the event
|
|
18
|
+
*/
|
|
19
|
+
time: string;
|
|
20
|
+
/**
|
|
21
|
+
* Text description of the event
|
|
22
|
+
*/
|
|
23
|
+
text: string;
|
|
24
|
+
/**
|
|
25
|
+
* Uniquely identifies an event
|
|
26
|
+
*/
|
|
27
|
+
id?: string | number;
|
|
28
|
+
/**
|
|
29
|
+
* Link to this resource
|
|
30
|
+
*/
|
|
31
|
+
self?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Time when event was created in the database
|
|
34
|
+
*/
|
|
35
|
+
creationTime?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Custom fragments
|
|
38
|
+
*/
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
}
|
|
41
|
+
//#endregion
|
|
42
|
+
export { IEvent };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/event/IEventBinary.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* This interface specifies all fragments that describe an event binary.
|
|
4
|
+
*/
|
|
5
|
+
interface IEventBinary {
|
|
6
|
+
/**
|
|
7
|
+
* Binary name
|
|
8
|
+
*/
|
|
9
|
+
name: string;
|
|
10
|
+
/**
|
|
11
|
+
* Link to this resource
|
|
12
|
+
*/
|
|
13
|
+
self?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The Event that the binary belongs to
|
|
16
|
+
*/
|
|
17
|
+
source?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Binary file length
|
|
20
|
+
*/
|
|
21
|
+
length?: number;
|
|
22
|
+
/**
|
|
23
|
+
* MIME type of the binary file
|
|
24
|
+
*/
|
|
25
|
+
type?: string;
|
|
26
|
+
}
|
|
27
|
+
//#endregion
|
|
28
|
+
export { IEventBinary };
|