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,215 @@
|
|
|
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 { ISource } from "../core/ISource.mjs";
|
|
6
|
+
import { IRoleReference } from "../user-role/IRoleReference.mjs";
|
|
7
|
+
import { IUserGroup } from "./IUserGroup.mjs";
|
|
8
|
+
import { IUserReference } from "../user/IUser.mjs";
|
|
9
|
+
|
|
10
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user-group/UserGroupService.d.ts
|
|
11
|
+
/**
|
|
12
|
+
* @description
|
|
13
|
+
* This service allows for managing user groups.
|
|
14
|
+
*/
|
|
15
|
+
declare class UserGroupService extends Service<IUserGroup> {
|
|
16
|
+
protected baseUrl: string;
|
|
17
|
+
protected propertyName: string;
|
|
18
|
+
protected get listUrl(): string;
|
|
19
|
+
/**
|
|
20
|
+
* Gets the details of given user group.
|
|
21
|
+
*
|
|
22
|
+
* @param {string|number|IUserGroup} entityOrId Group's id or role object.
|
|
23
|
+
*
|
|
24
|
+
* @returns Returns promise object that is resolved with the IUserGroup wrapped by IResult.
|
|
25
|
+
*
|
|
26
|
+
* **Example**
|
|
27
|
+
* ```typescript
|
|
28
|
+
*
|
|
29
|
+
* const groupId: number = 1;
|
|
30
|
+
*
|
|
31
|
+
* (async () => {
|
|
32
|
+
* const {data, res} = await userGroupService.detail(roleId);
|
|
33
|
+
* })();
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
detail(entityOrId: string | number | IUserGroup): Promise<IResult<IUserGroup>>;
|
|
37
|
+
/**
|
|
38
|
+
* Creates a new user group.
|
|
39
|
+
*
|
|
40
|
+
* @param {IUserGroup} entity User Group object.
|
|
41
|
+
*
|
|
42
|
+
* @returns {IResult<IUserGroup>} Returns promise object that is resolved with
|
|
43
|
+
* the details of newly created user group.
|
|
44
|
+
*
|
|
45
|
+
* **Example**
|
|
46
|
+
* ```typescript
|
|
47
|
+
*
|
|
48
|
+
* const userGroupObject: IUserGroup = {
|
|
49
|
+
* name: "new user group"
|
|
50
|
+
* };
|
|
51
|
+
*
|
|
52
|
+
* (async () => {
|
|
53
|
+
* const {data, res} = await userGroupService.create(userGroupObject);
|
|
54
|
+
* })();
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
create(entity: Partial<IUserGroup>): Promise<IResult<IUserGroup>>;
|
|
58
|
+
/**
|
|
59
|
+
* Updates user group data.
|
|
60
|
+
*
|
|
61
|
+
* @param {Partial<IUserGroup>} entity User group is partially updatable.
|
|
62
|
+
*
|
|
63
|
+
* @returns {IResult<IUserGroup>} Returns promise object that is resolved with the saved user group object.
|
|
64
|
+
*
|
|
65
|
+
* **Example**
|
|
66
|
+
* ```typescript
|
|
67
|
+
*
|
|
68
|
+
* const partialUpdateObject: Partial<IUserGroup> = {
|
|
69
|
+
* "id" : 1,
|
|
70
|
+
* "self" : "[URL to this resource]",
|
|
71
|
+
* "name" : "PlatformAdministrators",
|
|
72
|
+
* ...
|
|
73
|
+
* }
|
|
74
|
+
*
|
|
75
|
+
* (async () => {
|
|
76
|
+
* const {data, res} = await userGroupService.update(partialUpdateObject);
|
|
77
|
+
* })();
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
update(entity: Partial<IUserGroup>): Promise<IResult<IUserGroup>>;
|
|
81
|
+
/**
|
|
82
|
+
* Gets the list of user groups filtered by parameters.
|
|
83
|
+
*
|
|
84
|
+
* @param {object} filter Object containing filters for querying User Groups.
|
|
85
|
+
*
|
|
86
|
+
* @returns Returns promise object that is resolved with the IUserGroup wrapped by IResultList.
|
|
87
|
+
*
|
|
88
|
+
* **Example**
|
|
89
|
+
* ```typescript
|
|
90
|
+
*
|
|
91
|
+
* const filter: object = {
|
|
92
|
+
* severity: Severity.MAJOR,
|
|
93
|
+
* pageSize: 100,
|
|
94
|
+
* withTotalPages: true
|
|
95
|
+
* };
|
|
96
|
+
*
|
|
97
|
+
* (async () => {
|
|
98
|
+
* const {data, res, paging} = await userGroupService.list(filter);
|
|
99
|
+
* })();
|
|
100
|
+
* ```
|
|
101
|
+
*/
|
|
102
|
+
list(filter?: object): Promise<IResultList<IUserGroup>>;
|
|
103
|
+
/**
|
|
104
|
+
* Removes user group.
|
|
105
|
+
*
|
|
106
|
+
* @param {number | IIdentified} entityOrId User group's id or user group object.
|
|
107
|
+
*
|
|
108
|
+
* @returns Returns promise object that is resolved with the IResult of null.
|
|
109
|
+
*
|
|
110
|
+
* **Example**
|
|
111
|
+
* ```typescript
|
|
112
|
+
*
|
|
113
|
+
* const userGroupId: number = 1;
|
|
114
|
+
*
|
|
115
|
+
* (async () => {
|
|
116
|
+
* const {data, res} = await userGroupService.delete(userGroupId);
|
|
117
|
+
* })();
|
|
118
|
+
* ```
|
|
119
|
+
* When group is removed, suitable audit records are created with type 'User'
|
|
120
|
+
* and activity 'User updated' with information that user has been removed from group.
|
|
121
|
+
*
|
|
122
|
+
* Please, note that the ADMINS and DEVICES groups can not be deleted.
|
|
123
|
+
*/
|
|
124
|
+
delete(entityOrId: number | IIdentified): Promise<IResult<null>>;
|
|
125
|
+
/**
|
|
126
|
+
* Assign role to user group.
|
|
127
|
+
*
|
|
128
|
+
* @param {string | number | Partial<IUserGroup>} entityOrId User group's id or user group object.
|
|
129
|
+
* @param {string | Partial<ISource>} childEntityOrSelf Url to role resource or IRoleReference object.
|
|
130
|
+
*
|
|
131
|
+
* @returns Returns promise object that is resolved with the IRoleReference wrapped by IResult.
|
|
132
|
+
*
|
|
133
|
+
* **Example**
|
|
134
|
+
* ```typescript
|
|
135
|
+
*
|
|
136
|
+
* const userGroupId: number = 1;
|
|
137
|
+
* const roleResource: string = "[URL to the Role resource]";
|
|
138
|
+
*
|
|
139
|
+
* (async () => {
|
|
140
|
+
* const {data, res} = await userGroupService.addRoleToGroup(userGroupId, roleResource);
|
|
141
|
+
* })();
|
|
142
|
+
* ```
|
|
143
|
+
* When role is assigned to user, suitable audit record is created with type 'User' and activity 'User updated'.
|
|
144
|
+
*/
|
|
145
|
+
addRoleToGroup(entityOrId: string | number | Partial<IUserGroup>, childEntityOrSelf: string | Partial<ISource>): Promise<IResult<IRoleReference>>;
|
|
146
|
+
/**
|
|
147
|
+
* Unassign role from user
|
|
148
|
+
*
|
|
149
|
+
* @param {string | number | Partial<IUserGroup>} entityOrId User group's id or user group object.
|
|
150
|
+
* @param {string | Partial<ISource>} childEntityOrSelf Url to user resource or IRoleReference object.
|
|
151
|
+
*
|
|
152
|
+
* @returns Returns promise object that is resolved with the IResult of null.
|
|
153
|
+
*
|
|
154
|
+
* **Example**
|
|
155
|
+
* ```typescript
|
|
156
|
+
*
|
|
157
|
+
* const userGroupId: number = 1;
|
|
158
|
+
* const userResource: string = "[URL to the Role resource]";
|
|
159
|
+
*
|
|
160
|
+
* (async () => {
|
|
161
|
+
* const {data, res} = await userGroupService.removeRoleFromGroup(userGroupId, userResource);
|
|
162
|
+
* })();
|
|
163
|
+
* ```
|
|
164
|
+
*/
|
|
165
|
+
removeRoleFromGroup(entityOrId: string | number | Partial<IUserGroup>, childEntityOrSelf: string | Partial<ISource>): Promise<IResult<null>>;
|
|
166
|
+
/**
|
|
167
|
+
* Assign user to user group.
|
|
168
|
+
*
|
|
169
|
+
* @param {string | number | Partial<IUserGroup>} entityOrId User group's id or user group object.
|
|
170
|
+
* @param {string | Partial<ISource>} childEntityOrSelf Url to user resource or IUserReference object.
|
|
171
|
+
*
|
|
172
|
+
* @returns Returns promise object that is resolved with the IUserReference wrapped by IResult.
|
|
173
|
+
*
|
|
174
|
+
* **Example**
|
|
175
|
+
* ```typescript
|
|
176
|
+
*
|
|
177
|
+
* const userGroupId: number = 1;
|
|
178
|
+
* const userResource: string = "[URL to the User resource]";
|
|
179
|
+
*
|
|
180
|
+
* (async () => {
|
|
181
|
+
* const {data, res} = await userGroupService.addUserToGroup(userGroupId, userResource);
|
|
182
|
+
* })();
|
|
183
|
+
* ```
|
|
184
|
+
* When user is added to group, suitable audit record is created with type 'User' and activity 'User updated'.
|
|
185
|
+
*/
|
|
186
|
+
addUserToGroup(entityOrId: string | number | Partial<IUserGroup>, childEntityOrSelf: string | Partial<ISource>): Promise<IResult<IUserReference>>;
|
|
187
|
+
/**
|
|
188
|
+
* Remove user from a group
|
|
189
|
+
*
|
|
190
|
+
* @param {string | number | Partial<IUserGroup>} entityOrId User group's id or user group object.
|
|
191
|
+
* @param {string | Partial<ISource>} childEntityOrSelf Url to user resource or IUserReference object.
|
|
192
|
+
*
|
|
193
|
+
* @returns Returns promise object that is resolved with the IResult of null.
|
|
194
|
+
*
|
|
195
|
+
* **Example**
|
|
196
|
+
* ```typescript
|
|
197
|
+
*
|
|
198
|
+
* const userGroupId: number = 1;
|
|
199
|
+
* const userResource: string = "[URL to the User resource]";
|
|
200
|
+
*
|
|
201
|
+
* (async () => {
|
|
202
|
+
* const {data, res} = await userGroupService.removeUserFromGroup(userGroupId, userResource);
|
|
203
|
+
* })();
|
|
204
|
+
* ```
|
|
205
|
+
* When user is removed from group, suitable audit record is created with type 'User' and activity 'User updated'.
|
|
206
|
+
*/
|
|
207
|
+
removeUserFromGroup(entityOrId: string | number | Partial<IUserGroup>, childEntityOrSelf: string | Partial<ISource>): Promise<IResult<null>>;
|
|
208
|
+
protected getSelf(childReference: string | Partial<ISource>): string;
|
|
209
|
+
private getChildUrl;
|
|
210
|
+
private getChildReferenceAsBody;
|
|
211
|
+
private addChild;
|
|
212
|
+
private removeChild;
|
|
213
|
+
}
|
|
214
|
+
//#endregion
|
|
215
|
+
export { UserGroupService };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user-role/IRole.d.ts
|
|
2
|
+
/** Description of IRole interface */
|
|
3
|
+
interface IRole {
|
|
4
|
+
/** Uniquely identifies a Role */
|
|
5
|
+
id?: string;
|
|
6
|
+
/** Descriptive Name of the Role */
|
|
7
|
+
name?: string;
|
|
8
|
+
/** Link to this Resource - optional property */
|
|
9
|
+
self?: string;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { IRole };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IRole } from "./IRole.mjs";
|
|
2
|
+
|
|
3
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user-role/IRoleReference.d.ts
|
|
4
|
+
/** Description of IRoleReferences interface */
|
|
5
|
+
interface IRoleReferences {
|
|
6
|
+
/** List of role references */
|
|
7
|
+
references: IRoleReference[];
|
|
8
|
+
/** Link to this Resource */
|
|
9
|
+
self: string;
|
|
10
|
+
}
|
|
11
|
+
/** Description of IRoleReference interface */
|
|
12
|
+
interface IRoleReference {
|
|
13
|
+
/** A role resource being referenced */
|
|
14
|
+
role: IRole;
|
|
15
|
+
/** Link to this Resource */
|
|
16
|
+
self: string;
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { IRoleReference, IRoleReferences };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { IResultList } from "../core/IResultList.mjs";
|
|
2
|
+
import { IResult } from "../core/IResult.mjs";
|
|
3
|
+
import { Service } from "../core/Service.mjs";
|
|
4
|
+
import { IRole } from "./IRole.mjs";
|
|
5
|
+
|
|
6
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/user-role/UserRoleService.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* @description
|
|
9
|
+
* This service allows for fetch user roles.
|
|
10
|
+
*/
|
|
11
|
+
declare class UserRoleService extends Service<IRole> {
|
|
12
|
+
protected baseUrl: string;
|
|
13
|
+
protected listUrl: string;
|
|
14
|
+
protected propertyName: string;
|
|
15
|
+
/**
|
|
16
|
+
* Gets the details of given role.
|
|
17
|
+
*
|
|
18
|
+
* @param {string|number|IRole} entityOrId Roles's id or role object.
|
|
19
|
+
*
|
|
20
|
+
* @returns Returns promise object that is resolved with the IRole wrapped by IResult.
|
|
21
|
+
*
|
|
22
|
+
* **Example**
|
|
23
|
+
* ```typescript
|
|
24
|
+
*
|
|
25
|
+
* const roleId: number = 1;
|
|
26
|
+
*
|
|
27
|
+
* (async () => {
|
|
28
|
+
* const {data, res} = await userRoleService.detail(roleId);
|
|
29
|
+
* })();
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
detail(entityOrId: string | number | IRole): Promise<IResult<IRole>>;
|
|
33
|
+
/**
|
|
34
|
+
* Gets the list of user roles filtered by parameters.
|
|
35
|
+
*
|
|
36
|
+
* @param {object} filter Object containing filters for querying roles.
|
|
37
|
+
*
|
|
38
|
+
* @returns Returns promise object that is resolved with the IRole wrapped by IResultList.
|
|
39
|
+
*
|
|
40
|
+
* **Example**
|
|
41
|
+
* ```typescript
|
|
42
|
+
*
|
|
43
|
+
* const filter: object = {
|
|
44
|
+
* severity: Severity.MAJOR,
|
|
45
|
+
* pageSize: 100,
|
|
46
|
+
* withTotalPages: true
|
|
47
|
+
* };
|
|
48
|
+
*
|
|
49
|
+
* (async () => {
|
|
50
|
+
* const {data, res, paging} = await userRoleService.list(filter);
|
|
51
|
+
* })();
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
list(filter?: object): Promise<IResultList<IRole>>;
|
|
55
|
+
}
|
|
56
|
+
//#endregion
|
|
57
|
+
export { UserRoleService };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
+
import { require_parallel } from "./parallel.mjs";
|
|
3
|
+
import { require_serialOrdered } from "./serialOrdered.mjs";
|
|
4
|
+
import { require_serial } from "./serial.mjs";
|
|
5
|
+
|
|
6
|
+
//#region node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/index.js
|
|
7
|
+
var require_asynckit = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8
|
+
module.exports = {
|
|
9
|
+
parallel: require_parallel(),
|
|
10
|
+
serial: require_serial(),
|
|
11
|
+
serialOrdered: require_serialOrdered()
|
|
12
|
+
};
|
|
13
|
+
}));
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export default require_asynckit();
|
|
17
|
+
|
|
18
|
+
export { require_asynckit };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
+
|
|
3
|
+
//#region node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/abort.js
|
|
4
|
+
var require_abort = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5
|
+
module.exports = abort;
|
|
6
|
+
/**
|
|
7
|
+
* Aborts leftover active jobs
|
|
8
|
+
*
|
|
9
|
+
* @param {object} state - current state object
|
|
10
|
+
*/
|
|
11
|
+
function abort(state) {
|
|
12
|
+
Object.keys(state.jobs).forEach(clean.bind(state));
|
|
13
|
+
state.jobs = {};
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Cleans up leftover job by invoking abort function for the provided job id
|
|
17
|
+
*
|
|
18
|
+
* @this state
|
|
19
|
+
* @param {string|number} key - job id to abort
|
|
20
|
+
*/
|
|
21
|
+
function clean(key) {
|
|
22
|
+
if (typeof this.jobs[key] == "function") this.jobs[key]();
|
|
23
|
+
}
|
|
24
|
+
}));
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
export default require_abort();
|
|
28
|
+
|
|
29
|
+
export { require_abort };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
+
import { require_defer } from "./defer.mjs";
|
|
3
|
+
|
|
4
|
+
//#region node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/async.js
|
|
5
|
+
var require_async = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6
|
+
var defer = require_defer();
|
|
7
|
+
module.exports = async;
|
|
8
|
+
/**
|
|
9
|
+
* Runs provided callback asynchronously
|
|
10
|
+
* even if callback itself is not
|
|
11
|
+
*
|
|
12
|
+
* @param {function} callback - callback to invoke
|
|
13
|
+
* @returns {function} - augmented callback
|
|
14
|
+
*/
|
|
15
|
+
function async(callback) {
|
|
16
|
+
var isAsync = false;
|
|
17
|
+
defer(function() {
|
|
18
|
+
isAsync = true;
|
|
19
|
+
});
|
|
20
|
+
return function async_callback(err, result) {
|
|
21
|
+
if (isAsync) callback(err, result);
|
|
22
|
+
else defer(function nextTick_callback() {
|
|
23
|
+
callback(err, result);
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
}));
|
|
28
|
+
|
|
29
|
+
//#endregion
|
|
30
|
+
export default require_async();
|
|
31
|
+
|
|
32
|
+
export { require_async };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
+
|
|
3
|
+
//#region node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/defer.js
|
|
4
|
+
var require_defer = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5
|
+
module.exports = defer;
|
|
6
|
+
/**
|
|
7
|
+
* Runs provided function on next iteration of the event loop
|
|
8
|
+
*
|
|
9
|
+
* @param {function} fn - function to run
|
|
10
|
+
*/
|
|
11
|
+
function defer(fn) {
|
|
12
|
+
var nextTick = typeof setImmediate == "function" ? setImmediate : typeof process == "object" && typeof process.nextTick == "function" ? process.nextTick : null;
|
|
13
|
+
if (nextTick) nextTick(fn);
|
|
14
|
+
else setTimeout(fn, 0);
|
|
15
|
+
}
|
|
16
|
+
}));
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export default require_defer();
|
|
20
|
+
|
|
21
|
+
export { require_defer };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
+
import { require_async } from "./async.mjs";
|
|
3
|
+
import { require_abort } from "./abort.mjs";
|
|
4
|
+
|
|
5
|
+
//#region node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/iterate.js
|
|
6
|
+
var require_iterate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7
|
+
var async = require_async(), abort = require_abort();
|
|
8
|
+
module.exports = iterate;
|
|
9
|
+
/**
|
|
10
|
+
* Iterates over each job object
|
|
11
|
+
*
|
|
12
|
+
* @param {array|object} list - array or object (named list) to iterate over
|
|
13
|
+
* @param {function} iterator - iterator to run
|
|
14
|
+
* @param {object} state - current job status
|
|
15
|
+
* @param {function} callback - invoked when all elements processed
|
|
16
|
+
*/
|
|
17
|
+
function iterate(list, iterator, state, callback) {
|
|
18
|
+
var key = state["keyedList"] ? state["keyedList"][state.index] : state.index;
|
|
19
|
+
state.jobs[key] = runJob(iterator, key, list[key], function(error, output) {
|
|
20
|
+
if (!(key in state.jobs)) return;
|
|
21
|
+
delete state.jobs[key];
|
|
22
|
+
if (error) abort(state);
|
|
23
|
+
else state.results[key] = output;
|
|
24
|
+
callback(error, state.results);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Runs iterator over provided job element
|
|
29
|
+
*
|
|
30
|
+
* @param {function} iterator - iterator to invoke
|
|
31
|
+
* @param {string|number} key - key/index of the element in the list of jobs
|
|
32
|
+
* @param {mixed} item - job description
|
|
33
|
+
* @param {function} callback - invoked after iterator is done with the job
|
|
34
|
+
* @returns {function|mixed} - job abort function or something else
|
|
35
|
+
*/
|
|
36
|
+
function runJob(iterator, key, item, callback) {
|
|
37
|
+
var aborter;
|
|
38
|
+
if (iterator.length == 2) aborter = iterator(item, async(callback));
|
|
39
|
+
else aborter = iterator(item, key, async(callback));
|
|
40
|
+
return aborter;
|
|
41
|
+
}
|
|
42
|
+
}));
|
|
43
|
+
|
|
44
|
+
//#endregion
|
|
45
|
+
export default require_iterate();
|
|
46
|
+
|
|
47
|
+
export { require_iterate };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
+
|
|
3
|
+
//#region node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/state.js
|
|
4
|
+
var require_state = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5
|
+
module.exports = state;
|
|
6
|
+
/**
|
|
7
|
+
* Creates initial state object
|
|
8
|
+
* for iteration over list
|
|
9
|
+
*
|
|
10
|
+
* @param {array|object} list - list to iterate over
|
|
11
|
+
* @param {function|null} sortMethod - function to use for keys sort,
|
|
12
|
+
* or `null` to keep them as is
|
|
13
|
+
* @returns {object} - initial state object
|
|
14
|
+
*/
|
|
15
|
+
function state(list, sortMethod) {
|
|
16
|
+
var isNamedList = !Array.isArray(list), initState = {
|
|
17
|
+
index: 0,
|
|
18
|
+
keyedList: isNamedList || sortMethod ? Object.keys(list) : null,
|
|
19
|
+
jobs: {},
|
|
20
|
+
results: isNamedList ? {} : [],
|
|
21
|
+
size: isNamedList ? Object.keys(list).length : list.length
|
|
22
|
+
};
|
|
23
|
+
if (sortMethod) initState.keyedList.sort(isNamedList ? sortMethod : function(a, b) {
|
|
24
|
+
return sortMethod(list[a], list[b]);
|
|
25
|
+
});
|
|
26
|
+
return initState;
|
|
27
|
+
}
|
|
28
|
+
}));
|
|
29
|
+
|
|
30
|
+
//#endregion
|
|
31
|
+
export default require_state();
|
|
32
|
+
|
|
33
|
+
export { require_state };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
+
import { require_async } from "./async.mjs";
|
|
3
|
+
import { require_abort } from "./abort.mjs";
|
|
4
|
+
|
|
5
|
+
//#region node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/terminator.js
|
|
6
|
+
var require_terminator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
7
|
+
var abort = require_abort(), async = require_async();
|
|
8
|
+
module.exports = terminator;
|
|
9
|
+
/**
|
|
10
|
+
* Terminates jobs in the attached state context
|
|
11
|
+
*
|
|
12
|
+
* @this AsyncKitState#
|
|
13
|
+
* @param {function} callback - final callback to invoke after termination
|
|
14
|
+
*/
|
|
15
|
+
function terminator(callback) {
|
|
16
|
+
if (!Object.keys(this.jobs).length) return;
|
|
17
|
+
this.index = this.size;
|
|
18
|
+
abort(this);
|
|
19
|
+
async(callback)(null, this.results);
|
|
20
|
+
}
|
|
21
|
+
}));
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
export default require_terminator();
|
|
25
|
+
|
|
26
|
+
export { require_terminator };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
+
import { require_iterate } from "./lib/iterate.mjs";
|
|
3
|
+
import { require_state } from "./lib/state.mjs";
|
|
4
|
+
import { require_terminator } from "./lib/terminator.mjs";
|
|
5
|
+
|
|
6
|
+
//#region node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/parallel.js
|
|
7
|
+
var require_parallel = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8
|
+
var iterate = require_iterate(), initState = require_state(), terminator = require_terminator();
|
|
9
|
+
module.exports = parallel;
|
|
10
|
+
/**
|
|
11
|
+
* Runs iterator over provided array elements in parallel
|
|
12
|
+
*
|
|
13
|
+
* @param {array|object} list - array or object (named list) to iterate over
|
|
14
|
+
* @param {function} iterator - iterator to run
|
|
15
|
+
* @param {function} callback - invoked when all elements processed
|
|
16
|
+
* @returns {function} - jobs terminator
|
|
17
|
+
*/
|
|
18
|
+
function parallel(list, iterator, callback) {
|
|
19
|
+
var state = initState(list);
|
|
20
|
+
while (state.index < (state["keyedList"] || list).length) {
|
|
21
|
+
iterate(list, iterator, state, function(error, result) {
|
|
22
|
+
if (error) {
|
|
23
|
+
callback(error, result);
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
if (Object.keys(state.jobs).length === 0) {
|
|
27
|
+
callback(null, state.results);
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
state.index++;
|
|
32
|
+
}
|
|
33
|
+
return terminator.bind(state, callback);
|
|
34
|
+
}
|
|
35
|
+
}));
|
|
36
|
+
|
|
37
|
+
//#endregion
|
|
38
|
+
export default require_parallel();
|
|
39
|
+
|
|
40
|
+
export { require_parallel };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
+
import { require_serialOrdered } from "./serialOrdered.mjs";
|
|
3
|
+
|
|
4
|
+
//#region node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/serial.js
|
|
5
|
+
var require_serial = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6
|
+
var serialOrdered = require_serialOrdered();
|
|
7
|
+
module.exports = serial;
|
|
8
|
+
/**
|
|
9
|
+
* Runs iterator over provided array elements in series
|
|
10
|
+
*
|
|
11
|
+
* @param {array|object} list - array or object (named list) to iterate over
|
|
12
|
+
* @param {function} iterator - iterator to run
|
|
13
|
+
* @param {function} callback - invoked when all elements processed
|
|
14
|
+
* @returns {function} - jobs terminator
|
|
15
|
+
*/
|
|
16
|
+
function serial(list, iterator, callback) {
|
|
17
|
+
return serialOrdered(list, iterator, null, callback);
|
|
18
|
+
}
|
|
19
|
+
}));
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export default require_serial();
|
|
23
|
+
|
|
24
|
+
export { require_serial };
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { __commonJSMin } from "../../../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
+
import { require_iterate } from "./lib/iterate.mjs";
|
|
3
|
+
import { require_state } from "./lib/state.mjs";
|
|
4
|
+
import { require_terminator } from "./lib/terminator.mjs";
|
|
5
|
+
|
|
6
|
+
//#region node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/serialOrdered.js
|
|
7
|
+
var require_serialOrdered = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8
|
+
var iterate = require_iterate(), initState = require_state(), terminator = require_terminator();
|
|
9
|
+
module.exports = serialOrdered;
|
|
10
|
+
module.exports.ascending = ascending;
|
|
11
|
+
module.exports.descending = descending;
|
|
12
|
+
/**
|
|
13
|
+
* Runs iterator over provided sorted array elements in series
|
|
14
|
+
*
|
|
15
|
+
* @param {array|object} list - array or object (named list) to iterate over
|
|
16
|
+
* @param {function} iterator - iterator to run
|
|
17
|
+
* @param {function} sortMethod - custom sort function
|
|
18
|
+
* @param {function} callback - invoked when all elements processed
|
|
19
|
+
* @returns {function} - jobs terminator
|
|
20
|
+
*/
|
|
21
|
+
function serialOrdered(list, iterator, sortMethod, callback) {
|
|
22
|
+
var state = initState(list, sortMethod);
|
|
23
|
+
iterate(list, iterator, state, function iteratorHandler(error, result) {
|
|
24
|
+
if (error) {
|
|
25
|
+
callback(error, result);
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
state.index++;
|
|
29
|
+
if (state.index < (state["keyedList"] || list).length) {
|
|
30
|
+
iterate(list, iterator, state, iteratorHandler);
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
callback(null, state.results);
|
|
34
|
+
});
|
|
35
|
+
return terminator.bind(state, callback);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* sort helper to sort array elements in ascending order
|
|
39
|
+
*
|
|
40
|
+
* @param {mixed} a - an item to compare
|
|
41
|
+
* @param {mixed} b - an item to compare
|
|
42
|
+
* @returns {number} - comparison result
|
|
43
|
+
*/
|
|
44
|
+
function ascending(a, b) {
|
|
45
|
+
return a < b ? -1 : a > b ? 1 : 0;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* sort helper to sort array elements in descending order
|
|
49
|
+
*
|
|
50
|
+
* @param {mixed} a - an item to compare
|
|
51
|
+
* @param {mixed} b - an item to compare
|
|
52
|
+
* @returns {number} - comparison result
|
|
53
|
+
*/
|
|
54
|
+
function descending(a, b) {
|
|
55
|
+
return -1 * ascending(a, b);
|
|
56
|
+
}
|
|
57
|
+
}));
|
|
58
|
+
|
|
59
|
+
//#endregion
|
|
60
|
+
export default require_serialOrdered();
|
|
61
|
+
|
|
62
|
+
export { require_serialOrdered };
|