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,264 @@
|
|
|
1
|
+
import { IResultList } from "../core/IResultList.mjs";
|
|
2
|
+
import { IResult } from "../core/IResult.mjs";
|
|
3
|
+
import { Service } from "../core/Service.mjs";
|
|
4
|
+
import { ITenant } from "./ITenant.mjs";
|
|
5
|
+
import { ICurrentTenant, ICurrentTenantParams } from "./ICurrentTenant.mjs";
|
|
6
|
+
import { TfaStrategy } from "./TfaStrategy.mjs";
|
|
7
|
+
import { ITfaSettings } from "./ITfaSettings.mjs";
|
|
8
|
+
import { IApplication } from "../application/IApplication.mjs";
|
|
9
|
+
|
|
10
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/tenant/TenantService.d.ts
|
|
11
|
+
/**
|
|
12
|
+
* @description
|
|
13
|
+
* This service allows for managing tenants.
|
|
14
|
+
*/
|
|
15
|
+
declare class TenantService extends Service<ITenant> {
|
|
16
|
+
protected baseUrl: string;
|
|
17
|
+
protected listUrl: string;
|
|
18
|
+
protected currentTenantUrl: string;
|
|
19
|
+
protected propertyName: string;
|
|
20
|
+
protected fetchOptions: {
|
|
21
|
+
method: string;
|
|
22
|
+
body: string;
|
|
23
|
+
headers: {
|
|
24
|
+
'content-type': string;
|
|
25
|
+
accept: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Get a representation of a tenant.
|
|
30
|
+
*
|
|
31
|
+
* @param {string|number|IIdentified} entityOrId Tenant's id or tenant object.
|
|
32
|
+
*
|
|
33
|
+
* @returns Returns promise object that is resolved with the IIdentified wrapped by IResult.
|
|
34
|
+
*
|
|
35
|
+
* **Example**
|
|
36
|
+
* ```typescript
|
|
37
|
+
*
|
|
38
|
+
* const tenantId: number = 1;
|
|
39
|
+
*
|
|
40
|
+
* (async () => {
|
|
41
|
+
* const {data, res} = await tenantService.detail(tenantId);
|
|
42
|
+
* })();
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* Required role: ROLE_TENANT_MANAGEMENT_READ<br><br>
|
|
46
|
+
* User password is never returned in GET response. Authentication mechanism is provided by another interface.
|
|
47
|
+
*/
|
|
48
|
+
detail(entityOrId: string | number | ITenant): Promise<IResult<ITenant>>;
|
|
49
|
+
/**
|
|
50
|
+
* Creates a new tenant.
|
|
51
|
+
*
|
|
52
|
+
* @param {IIdentified} entity Tenant object.
|
|
53
|
+
*
|
|
54
|
+
* @returns {IResult<IIdentified>} Returns promise object that is resolved with the details of newly created tenant.
|
|
55
|
+
*
|
|
56
|
+
* **Example**
|
|
57
|
+
* ```typescript
|
|
58
|
+
*
|
|
59
|
+
* const tenantObject = {
|
|
60
|
+
* id: "sample_tenant",
|
|
61
|
+
* company: "sample_company",
|
|
62
|
+
* domain: "sample_domain.com",
|
|
63
|
+
* contactName: "Mr. Doe",
|
|
64
|
+
* ...
|
|
65
|
+
* };
|
|
66
|
+
*
|
|
67
|
+
* (async () => {
|
|
68
|
+
* const {data, res} = await tenantService.create(tenantObject);
|
|
69
|
+
* })();
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* Required role: ROLE_TENANT_MANAGEMENT_ADMIN or ROLE_TENANT_MANAGEMENT_CREATE<br><br>
|
|
73
|
+
* Note that creating a tenant with adminName, adminPass and adminEmail, creates an admin user with these settings.
|
|
74
|
+
* For the tenant id SQL keywords (e.g., select, cross, where) are not allowed.
|
|
75
|
+
*/
|
|
76
|
+
create(entity: ITenant): Promise<IResult<ITenant>>;
|
|
77
|
+
/**
|
|
78
|
+
* Updates tenant data.
|
|
79
|
+
*
|
|
80
|
+
* @param {IIdentified} entity Tenant is partially updatable.
|
|
81
|
+
*
|
|
82
|
+
* @returns {IResult<IIdentified>} Returns promise object that is resolved with the saved tenant object.
|
|
83
|
+
*
|
|
84
|
+
* **Example**
|
|
85
|
+
* ```typescript
|
|
86
|
+
*
|
|
87
|
+
* const partialUpdateObject: IIdentified = {
|
|
88
|
+
* adminName : "newAdmin"
|
|
89
|
+
* ...
|
|
90
|
+
* }
|
|
91
|
+
*
|
|
92
|
+
* (async () => {
|
|
93
|
+
* const {data, res} = await tenantService.update(partialUpdateObject);
|
|
94
|
+
* })();
|
|
95
|
+
* ```
|
|
96
|
+
*
|
|
97
|
+
* Required role: ROLE_TENANT_MANAGEMENT_ADMIN or ROLE_TENANT_MANAGEMENT_UPDATE<br><br>
|
|
98
|
+
* Note that updating adminPass and adminEmail updates these settings in the admin user of the tenant.
|
|
99
|
+
* Updating adminName has no effect.
|
|
100
|
+
*/
|
|
101
|
+
update(entity: ITenant): Promise<IResult<ITenant>>;
|
|
102
|
+
/**
|
|
103
|
+
* Gets the list of tenants filtered by parameters.
|
|
104
|
+
*
|
|
105
|
+
* @param {object} filter Object containing filters for querying tenants.
|
|
106
|
+
*
|
|
107
|
+
* @returns Returns promise object that is resolved with the IIdentified wrapped by IResultList.
|
|
108
|
+
*
|
|
109
|
+
* **Example**
|
|
110
|
+
* ```typescript
|
|
111
|
+
*
|
|
112
|
+
* const filter: object = {
|
|
113
|
+
* severity: Severity.MAJOR,
|
|
114
|
+
* pageSize: 100,
|
|
115
|
+
* withTotalPages: true
|
|
116
|
+
* };
|
|
117
|
+
*
|
|
118
|
+
* (async () => {
|
|
119
|
+
* const {data, res, paging} = await tenantService.list(filter);
|
|
120
|
+
* })();
|
|
121
|
+
* ```
|
|
122
|
+
*
|
|
123
|
+
* Required role: ROLE_TENANT_MANAGEMENT_READ
|
|
124
|
+
*/
|
|
125
|
+
list(filter?: object): Promise<IResultList<ITenant>>;
|
|
126
|
+
/**
|
|
127
|
+
* Delete a representation of a tenant.
|
|
128
|
+
*
|
|
129
|
+
* @param {string|number|IIdentified} entityOrId Tenant's id or tenant object.
|
|
130
|
+
*
|
|
131
|
+
* @returns Returns promise object that is resolved with the IResult.
|
|
132
|
+
*
|
|
133
|
+
* **Example**
|
|
134
|
+
* ```typescript
|
|
135
|
+
*
|
|
136
|
+
* const tenantId: string = "uniqueTenantId";
|
|
137
|
+
*
|
|
138
|
+
* (async () => {
|
|
139
|
+
* const {data, res} = await tenantService.delete(tenantId);
|
|
140
|
+
* })();
|
|
141
|
+
* ```
|
|
142
|
+
*
|
|
143
|
+
* Required role: ROLE_TENANT_MANAGEMENT_ADMIN
|
|
144
|
+
*/
|
|
145
|
+
delete(entityOrId: string | number | ITenant): Promise<IResult<null>>;
|
|
146
|
+
current(filter?: ICurrentTenantParams): Promise<IResult<ICurrentTenant>>;
|
|
147
|
+
/**
|
|
148
|
+
* enable support user for current tenant.
|
|
149
|
+
*
|
|
150
|
+
* @returns Returns promise object that is resolved with the IResult.
|
|
151
|
+
*
|
|
152
|
+
* **Example**
|
|
153
|
+
* ```typescript
|
|
154
|
+
* (async () => {
|
|
155
|
+
* const {res} = await tenantService.enableSupportUser();
|
|
156
|
+
* })();
|
|
157
|
+
* ```
|
|
158
|
+
*/
|
|
159
|
+
enableSupportUser(): Promise<IResult<null>>;
|
|
160
|
+
/**
|
|
161
|
+
* disable support user for current tenant.
|
|
162
|
+
*
|
|
163
|
+
* @returns Returns promise object that is resolved with the IResult.
|
|
164
|
+
*
|
|
165
|
+
* **Example**
|
|
166
|
+
* ```typescript
|
|
167
|
+
* (async () => {
|
|
168
|
+
* const {res} = await tenantService.disableSupportUser();
|
|
169
|
+
* })();
|
|
170
|
+
* ```
|
|
171
|
+
*/
|
|
172
|
+
disableSupportUser(): Promise<IResult<null>>;
|
|
173
|
+
currentTenantType(tenant?: ICurrentTenant | ITenant): Promise<'TRIAL' | 'REGULAR'>;
|
|
174
|
+
/**
|
|
175
|
+
* Returns two factor-authentication settings for given tenant.
|
|
176
|
+
*
|
|
177
|
+
* @param tenant The tenant object.
|
|
178
|
+
*
|
|
179
|
+
* @returns Promise which resolves with the object with TFA settings.
|
|
180
|
+
*
|
|
181
|
+
* **Example**
|
|
182
|
+
* ```typescript
|
|
183
|
+
* (async () => {
|
|
184
|
+
* const currentTenant = (await tenantService.current()).data;
|
|
185
|
+
* const currentTenantTfaSettings = await tenantService.getTfaSettings(currentTenant);
|
|
186
|
+
*
|
|
187
|
+
* const subtenant = (await tenantService.detail('t12345')).data;
|
|
188
|
+
* const subtenantTfaSettings = await tenantService.getTfaSettings(subtenant);
|
|
189
|
+
* })();
|
|
190
|
+
* ```
|
|
191
|
+
*/
|
|
192
|
+
getTfaSettings(tenant: ICurrentTenant | ITenant): Promise<ITfaSettings>;
|
|
193
|
+
/**
|
|
194
|
+
* Update TFA strategy for tenant.
|
|
195
|
+
*
|
|
196
|
+
* @param tenant The tenant object.
|
|
197
|
+
* @param tfaStrategy The TFA strategy.
|
|
198
|
+
*
|
|
199
|
+
* @returns Returns promise object that is resolved with the IResult.
|
|
200
|
+
*
|
|
201
|
+
* **Example**
|
|
202
|
+
* ```typescript
|
|
203
|
+
* (async () => {
|
|
204
|
+
* const currentTenant = (await tenantService.current()).data;
|
|
205
|
+
*
|
|
206
|
+
* const res = await tenantService.updateTfaStrategy(currentTenant, TfaStrategy.TOTP);
|
|
207
|
+
* })();
|
|
208
|
+
* ```
|
|
209
|
+
*/
|
|
210
|
+
updateTfaStrategy(tenant: ICurrentTenant | ITenant, tfaStrategy: TfaStrategy): Promise<IResult<null>>;
|
|
211
|
+
/**
|
|
212
|
+
* Subscribes a given application to a given tenant.
|
|
213
|
+
*
|
|
214
|
+
* @param tenant The tenant object.
|
|
215
|
+
* @param application The application object.
|
|
216
|
+
*
|
|
217
|
+
* @returns Returns promise object that is resolved with the IResult.
|
|
218
|
+
*
|
|
219
|
+
* **Example**
|
|
220
|
+
* ```typescript
|
|
221
|
+
* const newApp = {
|
|
222
|
+
* name: 'New application',
|
|
223
|
+
* type: 'HOSTED',
|
|
224
|
+
* key: 'new-app'
|
|
225
|
+
* };
|
|
226
|
+
*
|
|
227
|
+
* const application = (await applicationService.create(newApp)).data;
|
|
228
|
+
* const currentTenant = (await tenantService.current()).data;
|
|
229
|
+
*
|
|
230
|
+
* const {data, res} = await tenantService.subscribeApplication(currentTenant, application);
|
|
231
|
+
* })();
|
|
232
|
+
* ```
|
|
233
|
+
*/
|
|
234
|
+
subscribeApplication(tenant: ICurrentTenant | ITenant, application: IApplication): Promise<IResult<null>>;
|
|
235
|
+
/**
|
|
236
|
+
* Unsubscribes a given application from a given tenant.
|
|
237
|
+
*
|
|
238
|
+
* @param tenant The tenant object.
|
|
239
|
+
* @param application The application object.
|
|
240
|
+
*
|
|
241
|
+
* @returns Returns promise object that is resolved with the IResult.
|
|
242
|
+
*
|
|
243
|
+
* **Example**
|
|
244
|
+
* ```typescript
|
|
245
|
+
* const newApp = {
|
|
246
|
+
* name: 'New application',
|
|
247
|
+
* type: 'HOSTED',
|
|
248
|
+
* key: 'new-app'
|
|
249
|
+
* };
|
|
250
|
+
*
|
|
251
|
+
* const application = (await applicationService.create(newApp)).data;
|
|
252
|
+
* const currentTenant = (await tenantService.current()).data;
|
|
253
|
+
* await tenantService.addApplication(currentTenant, application);
|
|
254
|
+
*
|
|
255
|
+
* await tenantService.unsubscribeApplication(currentTenant, application);
|
|
256
|
+
* })();
|
|
257
|
+
* ```
|
|
258
|
+
*/
|
|
259
|
+
unsubscribeApplication(tenant: ICurrentTenant | ITenant, application: IApplication): Promise<IResult<null>>;
|
|
260
|
+
protected getIdString(tenant: ITenant | ICurrentTenant): string;
|
|
261
|
+
protected onBeforeCreate(obj: ITenant): any;
|
|
262
|
+
}
|
|
263
|
+
//#endregion
|
|
264
|
+
export { TenantService };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/tenant/TfaStrategy.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Represents a strategy used for two-factor authentication.
|
|
4
|
+
*/
|
|
5
|
+
declare enum TfaStrategy {
|
|
6
|
+
/** Two-factor authentication with Time-Based One Time Passwords. */
|
|
7
|
+
TOTP = "TOTP",
|
|
8
|
+
/** Two-factor authentication with codes sent via SMSes. */
|
|
9
|
+
SMS = "SMS"
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { TfaStrategy };
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { TfaStrategy } from "../tenant/TfaStrategy.mjs";
|
|
2
|
+
|
|
3
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/tenant-login-options/ITenantLoginOptions.d.ts
|
|
4
|
+
interface ITenantLoginOptions {
|
|
5
|
+
/**
|
|
6
|
+
* Link to the resource
|
|
7
|
+
*/
|
|
8
|
+
self?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The list of tenant login options
|
|
11
|
+
*/
|
|
12
|
+
loginOptions: ITenantLoginOption[];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Describes the login option which can be requested by any
|
|
16
|
+
* application on startup without login. It describes which kind
|
|
17
|
+
* of login mechanism (e.g. Basic, SSO or OAI-Secure) is
|
|
18
|
+
* supported by the current Platform.
|
|
19
|
+
*/
|
|
20
|
+
interface ITenantLoginOption {
|
|
21
|
+
/**
|
|
22
|
+
* Identifies the login option
|
|
23
|
+
*/
|
|
24
|
+
id?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Login option type
|
|
27
|
+
*/
|
|
28
|
+
type?: TenantLoginOptionType;
|
|
29
|
+
/**
|
|
30
|
+
* Grant type
|
|
31
|
+
*/
|
|
32
|
+
grantType?: GrantType;
|
|
33
|
+
/**
|
|
34
|
+
* The origin of the users REMOTE or INTERNAL
|
|
35
|
+
*/
|
|
36
|
+
userManagementSource: UserManagementSource;
|
|
37
|
+
/**
|
|
38
|
+
* Link to the resource
|
|
39
|
+
*/
|
|
40
|
+
self?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The strategy for Two Factor Authentication
|
|
43
|
+
*/
|
|
44
|
+
tfaStrategy?: TfaStrategy;
|
|
45
|
+
/**
|
|
46
|
+
* Indicates whether the login option should be visible on the login page of UI applications.
|
|
47
|
+
* If set to `true` for more than one login option, then the preferred one will be selected according to priority:
|
|
48
|
+
* 1. OAI-Secure: authentication information is stored in a HttpOnly cookie
|
|
49
|
+
* 2. Basic Auth: authentication information is stored in a session storage
|
|
50
|
+
* 3. SSO redirect: allows a user to login with a single 3rd-party authorization server using the OAuth2 protocol.
|
|
51
|
+
* If no login option has `visibleOnLoginPage` set to `true`, the preferred login option will be Basic Auth.
|
|
52
|
+
*/
|
|
53
|
+
visibleOnLoginPage?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* The label which is shown on the login button
|
|
56
|
+
*/
|
|
57
|
+
buttonName?: string;
|
|
58
|
+
/**
|
|
59
|
+
* The request which is used to initialize an oauth flow
|
|
60
|
+
*/
|
|
61
|
+
initRequest?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Determines if password strength is enforced on system level
|
|
64
|
+
*/
|
|
65
|
+
enforceStrength?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Minimum length of a password to be considered as a “green” strong one
|
|
68
|
+
*/
|
|
69
|
+
greenMinLength?: number;
|
|
70
|
+
/**
|
|
71
|
+
* Determines if password strength is enforced on tenant level
|
|
72
|
+
*/
|
|
73
|
+
strengthValidity?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Organizations name which provides login option
|
|
76
|
+
*/
|
|
77
|
+
providerName?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Basic authentication restrictions.
|
|
80
|
+
*/
|
|
81
|
+
authenticationRestrictions?: IAuthenticationRestrictions;
|
|
82
|
+
/**
|
|
83
|
+
* Configuration for OAI-Secure sessions.
|
|
84
|
+
*/
|
|
85
|
+
sessionConfiguration?: ISessionConfiguration;
|
|
86
|
+
/**
|
|
87
|
+
* Tenant correct domain for OAI-Secure login option.
|
|
88
|
+
* UI will redirect to this domain if OAI-Secure is
|
|
89
|
+
* set as preferred login mode and domain in browser is wrong.
|
|
90
|
+
*/
|
|
91
|
+
loginRedirectDomain?: string;
|
|
92
|
+
/**
|
|
93
|
+
* If true, UI controls SSO flow.
|
|
94
|
+
*/
|
|
95
|
+
flowControlledByUI?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* A flag used only for OAI-SECURE that indicates whether the OAI-SECURE backend implementation supports TFA logging.
|
|
98
|
+
*/
|
|
99
|
+
tfaSupported?: boolean;
|
|
100
|
+
}
|
|
101
|
+
interface IAuthenticationRestrictions {
|
|
102
|
+
/**
|
|
103
|
+
* The list of user agents which are allowed to use the platform's REST API.
|
|
104
|
+
* The values are compared with `User-Agent` HTTP header.
|
|
105
|
+
*/
|
|
106
|
+
trustedUserAgents: string[];
|
|
107
|
+
/**
|
|
108
|
+
* The list of user agents which are forbidden to use the platform's REST API.
|
|
109
|
+
* The values are compared with `User-Agent` HTTP header.
|
|
110
|
+
*/
|
|
111
|
+
forbiddenUserAgents: string[];
|
|
112
|
+
/**
|
|
113
|
+
* The list of clients which are forbidden to use the platform's REST API.
|
|
114
|
+
* For now, the only value supported in the array is `'WEB_BROWSERS'` (which blocks all web browsers).
|
|
115
|
+
*/
|
|
116
|
+
forbiddenClients: string[];
|
|
117
|
+
}
|
|
118
|
+
interface ISessionConfiguration {
|
|
119
|
+
/**
|
|
120
|
+
* The maximum amount of time a session can be active.
|
|
121
|
+
*/
|
|
122
|
+
absoluteTimeoutMillis: number;
|
|
123
|
+
/**
|
|
124
|
+
* The maximum amount of sessions per user.
|
|
125
|
+
*/
|
|
126
|
+
maximumNumberOfParallelSessions: number;
|
|
127
|
+
/**
|
|
128
|
+
* The timeout after which the session id is automatically renewed. If there is no activity after renewal timeout and before absolute session timeout, the session will not be renewed.
|
|
129
|
+
*/
|
|
130
|
+
renewalTimeoutMillis: number;
|
|
131
|
+
/**
|
|
132
|
+
* If `true`, then every request needs to use the same `User-Agent` header as the first request which initiated the session.
|
|
133
|
+
*/
|
|
134
|
+
userAgentValidationRequired: boolean;
|
|
135
|
+
}
|
|
136
|
+
declare enum TenantLoginOptionType {
|
|
137
|
+
/**
|
|
138
|
+
* OAI-Secure: authentication information is stored in a HttpOnly cookie
|
|
139
|
+
*/
|
|
140
|
+
OAUTH2_INTERNAL = "OAUTH2_INTERNAL",
|
|
141
|
+
/**
|
|
142
|
+
* SSO redirect: allows a user to login with a single 3rd-party authorization server using the OAuth2 protocol.
|
|
143
|
+
*/
|
|
144
|
+
OAUTH2 = "OAUTH2",
|
|
145
|
+
/**
|
|
146
|
+
* Basic Auth: authentication information is stored in a session storage
|
|
147
|
+
*/
|
|
148
|
+
BASIC = "BASIC"
|
|
149
|
+
}
|
|
150
|
+
declare enum GrantType {
|
|
151
|
+
AUTHORIZATION_CODE = "AUTHORIZATION_CODE",
|
|
152
|
+
PASSWORD = "PASSWORD"
|
|
153
|
+
}
|
|
154
|
+
declare enum UserManagementSource {
|
|
155
|
+
REMOTE = "REMOTE",
|
|
156
|
+
INTERNAL = "INTERNAL"
|
|
157
|
+
}
|
|
158
|
+
//#endregion
|
|
159
|
+
export { GrantType, IAuthenticationRestrictions, ISessionConfiguration, ITenantLoginOption, ITenantLoginOptions, TenantLoginOptionType, UserManagementSource };
|
|
@@ -0,0 +1,176 @@
|
|
|
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 { ITenantLoginOption } from "./ITenantLoginOptions.mjs";
|
|
6
|
+
|
|
7
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/tenant-login-options/TenantLoginOptionsService.d.ts
|
|
8
|
+
/**
|
|
9
|
+
* @description
|
|
10
|
+
* This service allows to get tenant login options.
|
|
11
|
+
*/
|
|
12
|
+
declare class TenantLoginOptionsService extends Service<ITenantLoginOption> {
|
|
13
|
+
protected baseUrl: string;
|
|
14
|
+
protected listUrl: string;
|
|
15
|
+
protected propertyName: string;
|
|
16
|
+
/**
|
|
17
|
+
* Gets the details of login option.
|
|
18
|
+
*
|
|
19
|
+
* @param entityIdentityOrId Login option's id or login option object.
|
|
20
|
+
*
|
|
21
|
+
* @returns Returns promise object that is resolved with the ITenantLoginOption wrapped by IResult.
|
|
22
|
+
*
|
|
23
|
+
* **Example**
|
|
24
|
+
* ```typescript
|
|
25
|
+
*
|
|
26
|
+
* const tenantLoginOptionId: string = 'uniqueTenantLoginOptionId';
|
|
27
|
+
*
|
|
28
|
+
* (async () => {
|
|
29
|
+
* const {data, res} = await tenantLoginOptionsService.detail(tenantLoginOptionId);
|
|
30
|
+
* })();
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
detail(entityIdentityOrId: string | IIdentified): Promise<IResult<ITenantLoginOption>>;
|
|
34
|
+
/**
|
|
35
|
+
* Gets the list of tenant's login options filtered by parameters.
|
|
36
|
+
*
|
|
37
|
+
* @param filter Object containing filters for querying tenant's login options.
|
|
38
|
+
*
|
|
39
|
+
* @returns Returns promise object that is resolved with the ITenantLoginOption wrapped by IResultList.
|
|
40
|
+
*
|
|
41
|
+
* **Example**
|
|
42
|
+
* ```typescript
|
|
43
|
+
*
|
|
44
|
+
* const filter: object = {
|
|
45
|
+
* tenantId: '1111111'
|
|
46
|
+
* };
|
|
47
|
+
*
|
|
48
|
+
* (async () => {
|
|
49
|
+
* const {data, res, paging} = await tenantLoginOptionsService.list(filter);
|
|
50
|
+
* })();
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
list(filter?: object): Promise<IResultList<ITenantLoginOption>>;
|
|
54
|
+
/**
|
|
55
|
+
* Gets the list of all tenant's login options for current tenant.
|
|
56
|
+
*
|
|
57
|
+
* @returns Returns promise object that is resolved with the ITenantLoginOption wrapped by IResultList.
|
|
58
|
+
*
|
|
59
|
+
* **Example**
|
|
60
|
+
* ```typescript
|
|
61
|
+
*
|
|
62
|
+
* (async () => {
|
|
63
|
+
* const {data, res, paging} = await tenantLoginOptionsService.listForCurrentTenant();
|
|
64
|
+
* })();
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
listForCurrentTenant(): Promise<IResultList<ITenantLoginOption>>;
|
|
68
|
+
/**
|
|
69
|
+
* Gets the list of all tenant's login options for management tenant.
|
|
70
|
+
*
|
|
71
|
+
* @returns Returns promise object that is resolved with the ITenantLoginOption wrapped by IResultList.
|
|
72
|
+
*
|
|
73
|
+
* **Example**
|
|
74
|
+
* ```typescript
|
|
75
|
+
*
|
|
76
|
+
* (async () => {
|
|
77
|
+
* const {data, res, paging} = await tenantLoginOptionsService.listForManagement();
|
|
78
|
+
* })();
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
listForManagement(): Promise<IResultList<ITenantLoginOption>>;
|
|
82
|
+
/**
|
|
83
|
+
* Creates a new tenant login option.
|
|
84
|
+
*
|
|
85
|
+
* @param entity ITenantLoginOption object.
|
|
86
|
+
*
|
|
87
|
+
* @returns Returns promise object that is resolved with the details of newly created tenant login option.
|
|
88
|
+
*
|
|
89
|
+
* **Example**
|
|
90
|
+
* ```typescript
|
|
91
|
+
*
|
|
92
|
+
* const tenantLoginOption: ITenantLoginOption = {
|
|
93
|
+
* grantType: "PASSWORD",
|
|
94
|
+
* providerName: "Cumulocity",
|
|
95
|
+
* type: "BASIC",
|
|
96
|
+
* userManagementSource: "INTERNAL",
|
|
97
|
+
* visibleOnLoginPage: true
|
|
98
|
+
* };
|
|
99
|
+
*
|
|
100
|
+
* (async () => {
|
|
101
|
+
* const {data, res} = await tenantLoginOptionsService.create(tenantLoginOption);
|
|
102
|
+
* })();
|
|
103
|
+
* ```
|
|
104
|
+
*/
|
|
105
|
+
create(entity: ITenantLoginOption): Promise<IResult<ITenantLoginOption>>;
|
|
106
|
+
/**
|
|
107
|
+
* Updates tenant's login option data.
|
|
108
|
+
*
|
|
109
|
+
* @param entity ITenantLoginOption object.
|
|
110
|
+
*
|
|
111
|
+
* @returns Returns promise object that is resolved with the saved tenant's login option object.
|
|
112
|
+
*
|
|
113
|
+
* **Example**
|
|
114
|
+
* ```typescript
|
|
115
|
+
*
|
|
116
|
+
* const tenantLoginOption: ITenantLoginOption = {
|
|
117
|
+
* grantType: "PASSWORD",
|
|
118
|
+
* id: "2eff9a0b-e376-4ce8-a0f1-0a07cef8a8a1",
|
|
119
|
+
* providerName: "Cumulocity",
|
|
120
|
+
* type: "BASIC",
|
|
121
|
+
* userManagementSource: "INTERNAL",
|
|
122
|
+
* visibleOnLoginPage: true
|
|
123
|
+
* };
|
|
124
|
+
*
|
|
125
|
+
* (async () => {
|
|
126
|
+
* const {data, res} = await tenantLoginOptionsService.update(tenantLoginOption);
|
|
127
|
+
* })();
|
|
128
|
+
* ```
|
|
129
|
+
*/
|
|
130
|
+
update(entity: ITenantLoginOption): Promise<IResult<ITenantLoginOption>>;
|
|
131
|
+
/**
|
|
132
|
+
* Update tenant's login option data if id exists in object, otherwise create new entity.
|
|
133
|
+
*
|
|
134
|
+
* @param entity ITenantLoginOption object.
|
|
135
|
+
*
|
|
136
|
+
* @returns Returns promise object that is resolved with the saved tenant's login option object.
|
|
137
|
+
*
|
|
138
|
+
* **Example**
|
|
139
|
+
* ```typescript
|
|
140
|
+
*
|
|
141
|
+
* const tenantLoginOption: ITenantLoginOption = {
|
|
142
|
+
* grantType: "PASSWORD",
|
|
143
|
+
* id: "2eff9a0b-e376-4ce8-a0f1-0a07cef8a8a1",
|
|
144
|
+
* providerName: "Cumulocity",
|
|
145
|
+
* type: "BASIC",
|
|
146
|
+
* userManagementSource: "INTERNAL",
|
|
147
|
+
* visibleOnLoginPage: true
|
|
148
|
+
* };
|
|
149
|
+
*
|
|
150
|
+
* (async () => {
|
|
151
|
+
* const {data, res} = await tenantLoginOptionsService.save(tenantLoginOption);
|
|
152
|
+
* })();
|
|
153
|
+
* ```
|
|
154
|
+
*/
|
|
155
|
+
save(entity: ITenantLoginOption): Promise<IResult<ITenantLoginOption>>;
|
|
156
|
+
/**
|
|
157
|
+
* Removes tenant's login option.
|
|
158
|
+
*
|
|
159
|
+
* @param entityOrId Tenant's login option's id or tenant's login option object.
|
|
160
|
+
*
|
|
161
|
+
* @returns Returns promise object that is resolved with the IResult of null.
|
|
162
|
+
*
|
|
163
|
+
* **Example**
|
|
164
|
+
* ```typescript
|
|
165
|
+
*
|
|
166
|
+
* const tenantLoginOptionId: string = 'uniqueTenantLoginOptionId';
|
|
167
|
+
*
|
|
168
|
+
* (async () => {
|
|
169
|
+
* const {data, res} = await tenantLoginOptionsService.delete(tenantLoginOptionId);
|
|
170
|
+
* })();
|
|
171
|
+
* ```
|
|
172
|
+
*/
|
|
173
|
+
delete(entityOrId: string | IIdentified): Promise<IResult<null>>;
|
|
174
|
+
}
|
|
175
|
+
//#endregion
|
|
176
|
+
export { TenantLoginOptionsService };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/tenant-options/ITenantOption.d.ts
|
|
2
|
+
/** Description of ITenantOption interface */
|
|
3
|
+
interface ITenantOption {
|
|
4
|
+
/** Category of option */
|
|
5
|
+
category: string;
|
|
6
|
+
/** Key of option */
|
|
7
|
+
key: string;
|
|
8
|
+
/** Value of option */
|
|
9
|
+
value?: string;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { ITenantOption };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/tenant-options/ITenantOptionDetailParams.d.ts
|
|
2
|
+
/** Query parameters for requesting tenant option's detail. */
|
|
3
|
+
interface ITenantOptionDetailParams {
|
|
4
|
+
/**
|
|
5
|
+
* Determines in which context the value of a tenant option will be evaluated:
|
|
6
|
+
* - `current`: will return the value which is explicitly set in the current tenant,
|
|
7
|
+
* - `inherited`: will return the value which is inherited from the parent tenant,
|
|
8
|
+
* - by default it will return either the value from current tenant or from parent tenant (if the former is not set).
|
|
9
|
+
*/
|
|
10
|
+
evaluate?: 'current' | 'inherited';
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { ITenantOptionDetailParams };
|