@c8y/client 1018.487.7 → 1018.497.2
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/NOTICES +1 -1
- package/lib/bundles/client.umd.js +36 -5
- package/lib/bundles/client.umd.js.map +1 -1
- package/lib/bundles/client.umd.min.js +1 -1
- package/lib/bundles/client.umd.min.js.map +1 -1
- package/lib/cjs/index.d.ts +2 -0
- package/lib/cjs/src/Client.d.ts +190 -0
- package/lib/cjs/src/alarm/AlarmService.d.ts +98 -0
- package/lib/cjs/src/alarm/AlarmStatus.d.ts +9 -0
- package/lib/cjs/src/alarm/IAlarm.d.ts +57 -0
- package/lib/cjs/src/alarm/index.d.ts +4 -0
- package/lib/cjs/src/application/ApplicationAvailability.d.ts +6 -0
- package/lib/cjs/src/application/ApplicationBinaryService.d.ts +40 -0
- package/lib/cjs/src/application/ApplicationService.d.ts +325 -0
- package/lib/cjs/src/application/ApplicationType.d.ts +7 -0
- package/lib/cjs/src/application/BillingMode.d.ts +5 -0
- package/lib/cjs/src/application/IApplication.d.ts +22 -0
- package/lib/cjs/src/application/IApplicationBinary.d.ts +9 -0
- package/lib/cjs/src/application/IApplicationInstanceDetails.d.ts +68 -0
- package/lib/cjs/src/application/IApplicationReference.d.ts +16 -0
- package/lib/cjs/src/application/IApplicationVersion.d.ts +15 -0
- package/lib/cjs/src/application/IDeviceRegistrationProvider.d.ts +7 -0
- package/lib/cjs/src/application/IManifest.d.ts +34 -0
- package/lib/cjs/src/application/IProvider.d.ts +6 -0
- package/lib/cjs/src/application/IUploadParamsOverride.d.ts +7 -0
- package/lib/cjs/src/application/Isolation.d.ts +5 -0
- package/lib/cjs/src/application/index.d.ts +16 -0
- package/lib/cjs/src/audit/AuditRecordType.d.ts +19 -0
- package/lib/cjs/src/audit/AuditService.d.ts +72 -0
- package/lib/cjs/src/audit/ChangeType.d.ts +9 -0
- package/lib/cjs/src/audit/IAuditRecord.d.ts +36 -0
- package/lib/cjs/src/audit/IChange.d.ts +28 -0
- package/lib/cjs/src/audit/index.d.ts +6 -0
- package/lib/cjs/src/core/BasicAuth.d.ts +25 -0
- package/lib/cjs/src/core/BearerAuth.d.ts +13 -0
- package/lib/cjs/src/core/CookieAuth.d.ts +19 -0
- package/lib/cjs/src/core/FetchClient.d.ts +18 -0
- package/lib/cjs/src/core/IAuthentication.d.ts +23 -0
- package/lib/cjs/src/core/ICustomProperties.d.ts +8 -0
- package/lib/cjs/src/core/ICustomPropertiesMap.d.ts +5 -0
- package/lib/cjs/src/core/IFetchClient.d.ts +10 -0
- package/lib/cjs/src/core/IFetchOptions.d.ts +21 -0
- package/lib/cjs/src/core/IFetchResponse.d.ts +26 -0
- package/lib/cjs/src/core/IIdentified.d.ts +6 -0
- package/lib/cjs/src/core/IMicroserviceSubscriptions.d.ts +16 -0
- package/lib/cjs/src/core/INamed.d.ts +5 -0
- package/lib/cjs/src/core/IResult.d.ts +26 -0
- package/lib/cjs/src/core/IResultBase.d.ts +6 -0
- package/lib/cjs/src/core/IResultList.d.ts +36 -0
- package/lib/cjs/src/core/ISource.d.ts +18 -0
- package/lib/cjs/src/core/MicroserviceClientRequestAuth.d.ts +32 -0
- package/lib/cjs/src/core/NodeJSCookieAuth.d.ts +11 -0
- package/lib/cjs/src/core/Paging.d.ts +63 -0
- package/lib/cjs/src/core/QueriesUtil.d.ts +95 -0
- package/lib/cjs/src/core/Service.d.ts +45 -0
- package/lib/cjs/src/core/Severity.d.ts +11 -0
- package/lib/cjs/src/core/index.d.ts +23 -0
- package/lib/cjs/src/device-registration/DeviceRegistrationBulkService.d.ts +41 -0
- package/lib/cjs/src/device-registration/DeviceRegistrationSecurityMode.d.ts +9 -0
- package/lib/cjs/src/device-registration/DeviceRegistrationService.d.ts +199 -0
- package/lib/cjs/src/device-registration/DeviceRegistrationStatus.d.ts +10 -0
- package/lib/cjs/src/device-registration/IDeviceCredentials.d.ts +23 -0
- package/lib/cjs/src/device-registration/IDeviceRegistration.d.ts +76 -0
- package/lib/cjs/src/device-registration/IDeviceRegistrationBulkResult.d.ts +27 -0
- package/lib/cjs/src/device-registration/index.d.ts +8 -0
- package/lib/cjs/src/event/EventBinaryService.d.ts +64 -0
- package/lib/cjs/src/event/EventService.d.ts +114 -0
- package/lib/cjs/src/event/IEvent.d.ts +39 -0
- package/lib/cjs/src/event/IEventBinary.d.ts +26 -0
- package/lib/cjs/src/event/index.d.ts +5 -0
- package/lib/cjs/src/gettext.d.ts +3 -0
- package/lib/cjs/src/identity/IExternalIdentity.d.ts +24 -0
- package/lib/cjs/src/identity/IdentityService.d.ts +102 -0
- package/lib/cjs/src/identity/index.d.ts +3 -0
- package/lib/cjs/src/inventory/IManagedObject.d.ts +88 -0
- package/lib/cjs/src/inventory/InventoryBinaryService.d.ts +45 -0
- package/lib/cjs/src/inventory/InventoryService.d.ts +526 -0
- package/lib/cjs/src/inventory/index.d.ts +4 -0
- package/lib/cjs/src/inventory-role/InventoryRoleService.d.ts +105 -0
- package/lib/cjs/src/inventory-role/index.d.ts +2 -0
- package/lib/cjs/src/measurement/IMeasurement.d.ts +58 -0
- package/lib/cjs/src/measurement/ISeries.d.ts +58 -0
- package/lib/cjs/src/measurement/ISeriesFilter.d.ts +38 -0
- package/lib/cjs/src/measurement/MeasurementService.d.ts +121 -0
- package/lib/cjs/src/measurement/MeasurementService.js +1 -1
- package/lib/cjs/src/measurement/MeasurementService.js.map +1 -1
- package/lib/cjs/src/measurement/index.d.ts +5 -0
- package/lib/cjs/src/operation/IOperation.d.ts +24 -0
- package/lib/cjs/src/operation/IOperationBulk.d.ts +55 -0
- package/lib/cjs/src/operation/IOperationBulkProgress.d.ts +27 -0
- package/lib/cjs/src/operation/OperationBulkGeneralStatus.d.ts +14 -0
- package/lib/cjs/src/operation/OperationBulkService.d.ts +124 -0
- package/lib/cjs/src/operation/OperationBulkStatus.d.ts +10 -0
- package/lib/cjs/src/operation/OperationService.d.ts +105 -0
- package/lib/cjs/src/operation/OperationStatus.d.ts +10 -0
- package/lib/cjs/src/operation/index.d.ts +9 -0
- package/lib/cjs/src/public_api.d.ts +25 -0
- package/lib/cjs/src/realtime/MetaChannel.d.ts +7 -0
- package/lib/cjs/src/realtime/Realtime.d.ts +60 -0
- package/lib/cjs/src/realtime/Realtime.js +35 -4
- package/lib/cjs/src/realtime/Realtime.js.map +1 -1
- package/lib/cjs/src/realtime/index.d.ts +2 -0
- package/lib/cjs/src/services.d.ts +24 -0
- package/lib/cjs/src/smart-groups/SmartGroupsService.d.ts +203 -0
- package/lib/cjs/src/smart-groups/index.d.ts +2 -0
- package/lib/cjs/src/smart-rules/IRule.d.ts +20 -0
- package/lib/cjs/src/smart-rules/SmartRulesService.d.ts +87 -0
- package/lib/cjs/src/smart-rules/index.d.ts +3 -0
- package/lib/cjs/src/system-options/ISystemOption.d.ts +19 -0
- package/lib/cjs/src/system-options/SystemOptionsService.d.ts +52 -0
- package/lib/cjs/src/system-options/index.d.ts +3 -0
- package/lib/cjs/src/tenant/ICurrentTenant.d.ts +12 -0
- package/lib/cjs/src/tenant/ITenant.d.ts +23 -0
- package/lib/cjs/src/tenant/ITenantReference.d.ts +5 -0
- package/lib/cjs/src/tenant/ITfaSettings.d.ts +29 -0
- package/lib/cjs/src/tenant/TenantService.d.ts +240 -0
- package/lib/cjs/src/tenant/TenantStatus.d.ts +5 -0
- package/lib/cjs/src/tenant/TfaStrategy.d.ts +10 -0
- package/lib/cjs/src/tenant/index.d.ts +8 -0
- package/lib/cjs/src/tenant-login-options/ITenantLoginOptions.d.ts +152 -0
- package/lib/cjs/src/tenant-login-options/TenantLoginOptionsService.d.ts +170 -0
- package/lib/cjs/src/tenant-login-options/index.d.ts +3 -0
- package/lib/cjs/src/tenant-options/ITenantOption.d.ts +10 -0
- package/lib/cjs/src/tenant-options/ITenantOptionDetailParams.d.ts +11 -0
- package/lib/cjs/src/tenant-options/TenantOptionsService.d.ts +144 -0
- package/lib/cjs/src/tenant-options/index.d.ts +4 -0
- package/lib/cjs/src/tenant-security-options/ITenantSecurityOption.d.ts +8 -0
- package/lib/cjs/src/tenant-security-options/TenantSecurityOptionsService.d.ts +35 -0
- package/lib/cjs/src/tenant-security-options/index.d.ts +3 -0
- package/lib/cjs/src/trusted-certificates/ITrustedCertificate.d.ts +68 -0
- package/lib/cjs/src/trusted-certificates/TrustedCertificateService.d.ts +146 -0
- package/lib/cjs/src/trusted-certificates/index.d.ts +3 -0
- package/lib/cjs/src/user/ICurrentUser.d.ts +35 -0
- package/lib/cjs/src/user/IResetPassword.d.ts +12 -0
- package/lib/cjs/src/user/ITotp.d.ts +7 -0
- package/lib/cjs/src/user/ITotpStatus.d.ts +5 -0
- package/lib/cjs/src/user/IUser.d.ts +72 -0
- package/lib/cjs/src/user/IUserInventoryRole.d.ts +13 -0
- package/lib/cjs/src/user/PasswordStrength.d.ts +6 -0
- package/lib/cjs/src/user/UserInventoryRoleService.d.ts +101 -0
- package/lib/cjs/src/user/UserService.d.ts +364 -0
- package/lib/cjs/src/user/index.d.ts +10 -0
- package/lib/cjs/src/user-group/IDevicePermissions.d.ts +6 -0
- package/lib/cjs/src/user-group/IUserGroup.d.ts +31 -0
- package/lib/cjs/src/user-group/UserGroupService.d.ts +208 -0
- package/lib/cjs/src/user-group/index.d.ts +4 -0
- package/lib/cjs/src/user-role/IRole.d.ts +10 -0
- package/lib/cjs/src/user-role/IRoleReference.d.ts +16 -0
- package/lib/cjs/src/user-role/UserRoleService.d.ts +52 -0
- package/lib/cjs/src/user-role/index.d.ts +4 -0
- package/lib/esm2015/index.d.ts +2 -0
- package/lib/esm2015/src/Client.d.ts +190 -0
- package/lib/esm2015/src/alarm/AlarmService.d.ts +98 -0
- package/lib/esm2015/src/alarm/AlarmStatus.d.ts +9 -0
- package/lib/esm2015/src/alarm/IAlarm.d.ts +57 -0
- package/lib/esm2015/src/alarm/index.d.ts +4 -0
- package/lib/esm2015/src/application/ApplicationAvailability.d.ts +6 -0
- package/lib/esm2015/src/application/ApplicationBinaryService.d.ts +40 -0
- package/lib/esm2015/src/application/ApplicationService.d.ts +325 -0
- package/lib/esm2015/src/application/ApplicationType.d.ts +7 -0
- package/lib/esm2015/src/application/BillingMode.d.ts +5 -0
- package/lib/esm2015/src/application/IApplication.d.ts +22 -0
- package/lib/esm2015/src/application/IApplicationBinary.d.ts +9 -0
- package/lib/esm2015/src/application/IApplicationInstanceDetails.d.ts +68 -0
- package/lib/esm2015/src/application/IApplicationReference.d.ts +16 -0
- package/lib/esm2015/src/application/IApplicationVersion.d.ts +15 -0
- package/lib/esm2015/src/application/IDeviceRegistrationProvider.d.ts +7 -0
- package/lib/esm2015/src/application/IManifest.d.ts +34 -0
- package/lib/esm2015/src/application/IProvider.d.ts +6 -0
- package/lib/esm2015/src/application/IUploadParamsOverride.d.ts +7 -0
- package/lib/esm2015/src/application/Isolation.d.ts +5 -0
- package/lib/esm2015/src/application/index.d.ts +16 -0
- package/lib/esm2015/src/audit/AuditRecordType.d.ts +19 -0
- package/lib/esm2015/src/audit/AuditService.d.ts +72 -0
- package/lib/esm2015/src/audit/ChangeType.d.ts +9 -0
- package/lib/esm2015/src/audit/IAuditRecord.d.ts +36 -0
- package/lib/esm2015/src/audit/IChange.d.ts +28 -0
- package/lib/esm2015/src/audit/index.d.ts +6 -0
- package/lib/esm2015/src/core/BasicAuth.d.ts +25 -0
- package/lib/esm2015/src/core/BearerAuth.d.ts +13 -0
- package/lib/esm2015/src/core/CookieAuth.d.ts +19 -0
- package/lib/esm2015/src/core/FetchClient.d.ts +18 -0
- package/lib/esm2015/src/core/IAuthentication.d.ts +23 -0
- package/lib/esm2015/src/core/ICustomProperties.d.ts +8 -0
- package/lib/esm2015/src/core/ICustomPropertiesMap.d.ts +5 -0
- package/lib/esm2015/src/core/IFetchClient.d.ts +10 -0
- package/lib/esm2015/src/core/IFetchOptions.d.ts +21 -0
- package/lib/esm2015/src/core/IFetchResponse.d.ts +26 -0
- package/lib/esm2015/src/core/IIdentified.d.ts +6 -0
- package/lib/esm2015/src/core/IMicroserviceSubscriptions.d.ts +16 -0
- package/lib/esm2015/src/core/INamed.d.ts +5 -0
- package/lib/esm2015/src/core/IResult.d.ts +26 -0
- package/lib/esm2015/src/core/IResultBase.d.ts +6 -0
- package/lib/esm2015/src/core/IResultList.d.ts +36 -0
- package/lib/esm2015/src/core/ISource.d.ts +18 -0
- package/lib/esm2015/src/core/MicroserviceClientRequestAuth.d.ts +32 -0
- package/lib/esm2015/src/core/NodeJSCookieAuth.d.ts +11 -0
- package/lib/esm2015/src/core/Paging.d.ts +63 -0
- package/lib/esm2015/src/core/QueriesUtil.d.ts +95 -0
- package/lib/esm2015/src/core/Service.d.ts +45 -0
- package/lib/esm2015/src/core/Severity.d.ts +11 -0
- package/lib/esm2015/src/core/index.d.ts +23 -0
- package/lib/esm2015/src/device-registration/DeviceRegistrationBulkService.d.ts +41 -0
- package/lib/esm2015/src/device-registration/DeviceRegistrationSecurityMode.d.ts +9 -0
- package/lib/esm2015/src/device-registration/DeviceRegistrationService.d.ts +199 -0
- package/lib/esm2015/src/device-registration/DeviceRegistrationStatus.d.ts +10 -0
- package/lib/esm2015/src/device-registration/IDeviceCredentials.d.ts +23 -0
- package/lib/esm2015/src/device-registration/IDeviceRegistration.d.ts +76 -0
- package/lib/esm2015/src/device-registration/IDeviceRegistrationBulkResult.d.ts +27 -0
- package/lib/esm2015/src/device-registration/index.d.ts +8 -0
- package/lib/esm2015/src/event/EventBinaryService.d.ts +64 -0
- package/lib/esm2015/src/event/EventService.d.ts +114 -0
- package/lib/esm2015/src/event/IEvent.d.ts +39 -0
- package/lib/esm2015/src/event/IEventBinary.d.ts +26 -0
- package/lib/esm2015/src/event/index.d.ts +5 -0
- package/lib/esm2015/src/gettext.d.ts +3 -0
- package/lib/esm2015/src/identity/IExternalIdentity.d.ts +24 -0
- package/lib/esm2015/src/identity/IdentityService.d.ts +102 -0
- package/lib/esm2015/src/identity/index.d.ts +3 -0
- package/lib/esm2015/src/inventory/IManagedObject.d.ts +88 -0
- package/lib/esm2015/src/inventory/InventoryBinaryService.d.ts +45 -0
- package/lib/esm2015/src/inventory/InventoryService.d.ts +526 -0
- package/lib/esm2015/src/inventory/index.d.ts +4 -0
- package/lib/esm2015/src/inventory-role/InventoryRoleService.d.ts +105 -0
- package/lib/esm2015/src/inventory-role/index.d.ts +2 -0
- package/lib/esm2015/src/measurement/IMeasurement.d.ts +58 -0
- package/lib/esm2015/src/measurement/ISeries.d.ts +58 -0
- package/lib/esm2015/src/measurement/ISeriesFilter.d.ts +38 -0
- package/lib/esm2015/src/measurement/MeasurementService.d.ts +121 -0
- package/lib/esm2015/src/measurement/MeasurementService.js +1 -1
- package/lib/esm2015/src/measurement/MeasurementService.js.map +1 -1
- package/lib/esm2015/src/measurement/index.d.ts +5 -0
- package/lib/esm2015/src/operation/IOperation.d.ts +24 -0
- package/lib/esm2015/src/operation/IOperationBulk.d.ts +55 -0
- package/lib/esm2015/src/operation/IOperationBulkProgress.d.ts +27 -0
- package/lib/esm2015/src/operation/OperationBulkGeneralStatus.d.ts +14 -0
- package/lib/esm2015/src/operation/OperationBulkService.d.ts +124 -0
- package/lib/esm2015/src/operation/OperationBulkStatus.d.ts +10 -0
- package/lib/esm2015/src/operation/OperationService.d.ts +105 -0
- package/lib/esm2015/src/operation/OperationStatus.d.ts +10 -0
- package/lib/esm2015/src/operation/index.d.ts +9 -0
- package/lib/esm2015/src/public_api.d.ts +25 -0
- package/lib/esm2015/src/realtime/MetaChannel.d.ts +7 -0
- package/lib/esm2015/src/realtime/Realtime.d.ts +60 -0
- package/lib/esm2015/src/realtime/Realtime.js +36 -5
- package/lib/esm2015/src/realtime/Realtime.js.map +1 -1
- package/lib/esm2015/src/realtime/index.d.ts +2 -0
- package/lib/esm2015/src/services.d.ts +24 -0
- package/lib/esm2015/src/smart-groups/SmartGroupsService.d.ts +203 -0
- package/lib/esm2015/src/smart-groups/index.d.ts +2 -0
- package/lib/esm2015/src/smart-rules/IRule.d.ts +20 -0
- package/lib/esm2015/src/smart-rules/SmartRulesService.d.ts +87 -0
- package/lib/esm2015/src/smart-rules/index.d.ts +3 -0
- package/lib/esm2015/src/system-options/ISystemOption.d.ts +19 -0
- package/lib/esm2015/src/system-options/SystemOptionsService.d.ts +52 -0
- package/lib/esm2015/src/system-options/index.d.ts +3 -0
- package/lib/esm2015/src/tenant/ICurrentTenant.d.ts +12 -0
- package/lib/esm2015/src/tenant/ITenant.d.ts +23 -0
- package/lib/esm2015/src/tenant/ITenantReference.d.ts +5 -0
- package/lib/esm2015/src/tenant/ITfaSettings.d.ts +29 -0
- package/lib/esm2015/src/tenant/TenantService.d.ts +240 -0
- package/lib/esm2015/src/tenant/TenantStatus.d.ts +5 -0
- package/lib/esm2015/src/tenant/TfaStrategy.d.ts +10 -0
- package/lib/esm2015/src/tenant/index.d.ts +8 -0
- package/lib/esm2015/src/tenant-login-options/ITenantLoginOptions.d.ts +152 -0
- package/lib/esm2015/src/tenant-login-options/TenantLoginOptionsService.d.ts +170 -0
- package/lib/esm2015/src/tenant-login-options/index.d.ts +3 -0
- package/lib/esm2015/src/tenant-options/ITenantOption.d.ts +10 -0
- package/lib/esm2015/src/tenant-options/ITenantOptionDetailParams.d.ts +11 -0
- package/lib/esm2015/src/tenant-options/TenantOptionsService.d.ts +144 -0
- package/lib/esm2015/src/tenant-options/index.d.ts +4 -0
- package/lib/esm2015/src/tenant-security-options/ITenantSecurityOption.d.ts +8 -0
- package/lib/esm2015/src/tenant-security-options/TenantSecurityOptionsService.d.ts +35 -0
- package/lib/esm2015/src/tenant-security-options/index.d.ts +3 -0
- package/lib/esm2015/src/trusted-certificates/ITrustedCertificate.d.ts +68 -0
- package/lib/esm2015/src/trusted-certificates/TrustedCertificateService.d.ts +146 -0
- package/lib/esm2015/src/trusted-certificates/index.d.ts +3 -0
- package/lib/esm2015/src/user/ICurrentUser.d.ts +35 -0
- package/lib/esm2015/src/user/IResetPassword.d.ts +12 -0
- package/lib/esm2015/src/user/ITotp.d.ts +7 -0
- package/lib/esm2015/src/user/ITotpStatus.d.ts +5 -0
- package/lib/esm2015/src/user/IUser.d.ts +72 -0
- package/lib/esm2015/src/user/IUserInventoryRole.d.ts +13 -0
- package/lib/esm2015/src/user/PasswordStrength.d.ts +6 -0
- package/lib/esm2015/src/user/UserInventoryRoleService.d.ts +101 -0
- package/lib/esm2015/src/user/UserService.d.ts +364 -0
- package/lib/esm2015/src/user/index.d.ts +10 -0
- package/lib/esm2015/src/user-group/IDevicePermissions.d.ts +6 -0
- package/lib/esm2015/src/user-group/IUserGroup.d.ts +31 -0
- package/lib/esm2015/src/user-group/UserGroupService.d.ts +208 -0
- package/lib/esm2015/src/user-group/index.d.ts +4 -0
- package/lib/esm2015/src/user-role/IRole.d.ts +10 -0
- package/lib/esm2015/src/user-role/IRoleReference.d.ts +16 -0
- package/lib/esm2015/src/user-role/UserRoleService.d.ts +52 -0
- package/lib/esm2015/src/user-role/index.d.ts +4 -0
- package/lib/index.d.ts +1 -0
- package/lib/src/Client.d.ts +1 -0
- package/lib/src/alarm/AlarmService.d.ts +1 -0
- package/lib/src/alarm/AlarmStatus.d.ts +1 -0
- package/lib/src/alarm/IAlarm.d.ts +1 -0
- package/lib/src/alarm/index.d.ts +1 -0
- package/lib/src/application/ApplicationAvailability.d.ts +1 -0
- package/lib/src/application/ApplicationBinaryService.d.ts +1 -0
- package/lib/src/application/ApplicationService.d.ts +1 -0
- package/lib/src/application/ApplicationType.d.ts +1 -0
- package/lib/src/application/BillingMode.d.ts +1 -0
- package/lib/src/application/IApplication.d.ts +1 -0
- package/lib/src/application/IApplicationBinary.d.ts +1 -0
- package/lib/src/application/IApplicationInstanceDetails.d.ts +1 -0
- package/lib/src/application/IApplicationReference.d.ts +1 -0
- package/lib/src/application/IApplicationVersion.d.ts +1 -0
- package/lib/src/application/IDeviceRegistrationProvider.d.ts +1 -0
- package/lib/src/application/IManifest.d.ts +1 -0
- package/lib/src/application/IProvider.d.ts +1 -0
- package/lib/src/application/IUploadParamsOverride.d.ts +1 -0
- package/lib/src/application/Isolation.d.ts +1 -0
- package/lib/src/application/index.d.ts +1 -0
- package/lib/src/audit/AuditRecordType.d.ts +1 -0
- package/lib/src/audit/AuditService.d.ts +1 -0
- package/lib/src/audit/ChangeType.d.ts +1 -0
- package/lib/src/audit/IAuditRecord.d.ts +1 -0
- package/lib/src/audit/IChange.d.ts +1 -0
- package/lib/src/audit/index.d.ts +1 -0
- package/lib/src/core/BasicAuth.d.ts +1 -0
- package/lib/src/core/BearerAuth.d.ts +1 -0
- package/lib/src/core/CookieAuth.d.ts +1 -0
- package/lib/src/core/FetchClient.d.ts +1 -0
- package/lib/src/core/IAuthentication.d.ts +1 -0
- package/lib/src/core/ICustomProperties.d.ts +1 -0
- package/lib/src/core/ICustomPropertiesMap.d.ts +1 -0
- package/lib/src/core/IFetchClient.d.ts +1 -0
- package/lib/src/core/IFetchOptions.d.ts +1 -0
- package/lib/src/core/IFetchResponse.d.ts +1 -0
- package/lib/src/core/IIdentified.d.ts +1 -0
- package/lib/src/core/IMicroserviceSubscriptions.d.ts +1 -0
- package/lib/src/core/INamed.d.ts +1 -0
- package/lib/src/core/IResult.d.ts +1 -0
- package/lib/src/core/IResultBase.d.ts +1 -0
- package/lib/src/core/IResultList.d.ts +1 -0
- package/lib/src/core/ISource.d.ts +1 -0
- package/lib/src/core/MicroserviceClientRequestAuth.d.ts +1 -0
- package/lib/src/core/NodeJSCookieAuth.d.ts +1 -0
- package/lib/src/core/Paging.d.ts +1 -0
- package/lib/src/core/QueriesUtil.d.ts +1 -0
- package/lib/src/core/Service.d.ts +1 -0
- package/lib/src/core/Severity.d.ts +1 -0
- package/lib/src/core/index.d.ts +1 -0
- package/lib/src/device-registration/DeviceRegistrationBulkService.d.ts +1 -0
- package/lib/src/device-registration/DeviceRegistrationSecurityMode.d.ts +1 -0
- package/lib/src/device-registration/DeviceRegistrationService.d.ts +1 -0
- package/lib/src/device-registration/DeviceRegistrationStatus.d.ts +1 -0
- package/lib/src/device-registration/IDeviceCredentials.d.ts +1 -0
- package/lib/src/device-registration/IDeviceRegistration.d.ts +1 -0
- package/lib/src/device-registration/IDeviceRegistrationBulkResult.d.ts +1 -0
- package/lib/src/device-registration/index.d.ts +1 -0
- package/lib/src/event/EventBinaryService.d.ts +1 -0
- package/lib/src/event/EventService.d.ts +1 -0
- package/lib/src/event/IEvent.d.ts +1 -0
- package/lib/src/event/IEventBinary.d.ts +1 -0
- package/lib/src/event/index.d.ts +1 -0
- package/lib/src/gettext.d.ts +1 -0
- package/lib/src/identity/IExternalIdentity.d.ts +1 -0
- package/lib/src/identity/IdentityService.d.ts +1 -0
- package/lib/src/identity/index.d.ts +1 -0
- package/lib/src/inventory/IManagedObject.d.ts +1 -0
- package/lib/src/inventory/InventoryBinaryService.d.ts +1 -0
- package/lib/src/inventory/InventoryService.d.ts +1 -0
- package/lib/src/inventory/index.d.ts +1 -0
- package/lib/src/inventory-role/InventoryRoleService.d.ts +1 -0
- package/lib/src/inventory-role/index.d.ts +1 -0
- package/lib/src/measurement/IMeasurement.d.ts +2 -1
- package/lib/src/measurement/ISeries.d.ts +1 -0
- package/lib/src/measurement/ISeriesFilter.d.ts +1 -0
- package/lib/src/measurement/MeasurementService.d.ts +1 -0
- package/lib/src/measurement/index.d.ts +1 -0
- package/lib/src/operation/IOperation.d.ts +1 -0
- package/lib/src/operation/IOperationBulk.d.ts +1 -0
- package/lib/src/operation/IOperationBulkProgress.d.ts +1 -0
- package/lib/src/operation/OperationBulkGeneralStatus.d.ts +1 -0
- package/lib/src/operation/OperationBulkService.d.ts +1 -0
- package/lib/src/operation/OperationBulkStatus.d.ts +1 -0
- package/lib/src/operation/OperationService.d.ts +1 -0
- package/lib/src/operation/OperationStatus.d.ts +1 -0
- package/lib/src/operation/index.d.ts +1 -0
- package/lib/src/public_api.d.ts +1 -0
- package/lib/src/realtime/MetaChannel.d.ts +1 -0
- package/lib/src/realtime/Realtime.d.ts +26 -4
- package/lib/src/realtime/index.d.ts +1 -0
- package/lib/src/services.d.ts +1 -0
- package/lib/src/smart-groups/SmartGroupsService.d.ts +1 -0
- package/lib/src/smart-groups/index.d.ts +1 -0
- package/lib/src/smart-rules/IRule.d.ts +1 -0
- package/lib/src/smart-rules/SmartRulesService.d.ts +1 -0
- package/lib/src/smart-rules/index.d.ts +1 -0
- package/lib/src/system-options/ISystemOption.d.ts +1 -0
- package/lib/src/system-options/SystemOptionsService.d.ts +1 -0
- package/lib/src/system-options/index.d.ts +1 -0
- package/lib/src/tenant/ICurrentTenant.d.ts +1 -0
- package/lib/src/tenant/ITenant.d.ts +1 -0
- package/lib/src/tenant/ITenantReference.d.ts +1 -0
- package/lib/src/tenant/ITfaSettings.d.ts +1 -0
- package/lib/src/tenant/TenantService.d.ts +1 -0
- package/lib/src/tenant/TenantStatus.d.ts +1 -0
- package/lib/src/tenant/TfaStrategy.d.ts +1 -0
- package/lib/src/tenant/index.d.ts +1 -0
- package/lib/src/tenant-login-options/ITenantLoginOptions.d.ts +1 -0
- package/lib/src/tenant-login-options/TenantLoginOptionsService.d.ts +1 -0
- package/lib/src/tenant-login-options/index.d.ts +1 -0
- package/lib/src/tenant-options/ITenantOption.d.ts +1 -0
- package/lib/src/tenant-options/ITenantOptionDetailParams.d.ts +1 -0
- package/lib/src/tenant-options/TenantOptionsService.d.ts +1 -0
- package/lib/src/tenant-options/index.d.ts +1 -0
- package/lib/src/tenant-security-options/ITenantSecurityOption.d.ts +1 -0
- package/lib/src/tenant-security-options/TenantSecurityOptionsService.d.ts +1 -0
- package/lib/src/tenant-security-options/index.d.ts +1 -0
- package/lib/src/trusted-certificates/ITrustedCertificate.d.ts +1 -0
- package/lib/src/trusted-certificates/TrustedCertificateService.d.ts +1 -0
- package/lib/src/trusted-certificates/index.d.ts +1 -0
- package/lib/src/user/ICurrentUser.d.ts +1 -0
- package/lib/src/user/IResetPassword.d.ts +1 -0
- package/lib/src/user/ITotp.d.ts +1 -0
- package/lib/src/user/ITotpStatus.d.ts +1 -0
- package/lib/src/user/IUser.d.ts +1 -0
- package/lib/src/user/IUserInventoryRole.d.ts +1 -0
- package/lib/src/user/PasswordStrength.d.ts +1 -0
- package/lib/src/user/UserInventoryRoleService.d.ts +1 -0
- package/lib/src/user/UserService.d.ts +1 -0
- package/lib/src/user/index.d.ts +1 -0
- package/lib/src/user-group/IDevicePermissions.d.ts +1 -0
- package/lib/src/user-group/IUserGroup.d.ts +1 -0
- package/lib/src/user-group/UserGroupService.d.ts +1 -0
- package/lib/src/user-group/index.d.ts +1 -0
- package/lib/src/user-role/IRole.d.ts +1 -0
- package/lib/src/user-role/IRoleReference.d.ts +1 -0
- package/lib/src/user-role/UserRoleService.d.ts +1 -0
- package/lib/src/user-role/index.d.ts +1 -0
- package/package.json +9 -3
package/lib/src/public_api.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CometD, SubscriptionHandle, Listener as CometDListener, Callback as CometDCallback, HandshakeMessage as CometDHandshakeMessage, Message as CometDMessage } from 'cometd';
|
|
1
2
|
import { IFetchClient } from '../core';
|
|
2
3
|
export interface ICometdConfig {
|
|
3
4
|
url: string;
|
|
@@ -9,7 +10,7 @@ export interface ICometdConfig {
|
|
|
9
10
|
export declare class Realtime {
|
|
10
11
|
private client;
|
|
11
12
|
private url;
|
|
12
|
-
|
|
13
|
+
protected cometd: CometD;
|
|
13
14
|
/**
|
|
14
15
|
* Allows to set up a realtime (websocket or long-polling) connection to the platform.
|
|
15
16
|
* @param client The fetch client instance to use
|
|
@@ -22,17 +23,38 @@ export declare class Realtime {
|
|
|
22
23
|
* @param channel The channel to connect to
|
|
23
24
|
* @param callback A function to call when data is received
|
|
24
25
|
*/
|
|
25
|
-
subscribe(channel: string, callback:
|
|
26
|
+
subscribe(channel: string, callback: CometDCallback): SubscriptionHandle;
|
|
26
27
|
/**
|
|
27
28
|
* Cancels the listening to a channel.
|
|
28
29
|
* @param subscription The subscription object returned by subscribe()
|
|
29
30
|
*/
|
|
30
|
-
unsubscribe(subscription:
|
|
31
|
+
unsubscribe(subscription: SubscriptionHandle): void;
|
|
32
|
+
/**
|
|
33
|
+
* Allows to listen to Cometd handshake to find out if e.g. the connection was reestablished.
|
|
34
|
+
*/
|
|
35
|
+
addHandshakeListener(callback: (msg: CometDHandshakeMessage) => void): SubscriptionHandle;
|
|
36
|
+
/**
|
|
37
|
+
* Allows to listen to Cometd connection to e.g. detect when connection was lost.
|
|
38
|
+
*/
|
|
39
|
+
addConnectListener(callback: (msg: CometDMessage) => void): SubscriptionHandle;
|
|
40
|
+
/**
|
|
41
|
+
* Removes the subscription obtained with a call to `addHandshakeListener` or `addConnectListener`.
|
|
42
|
+
*/
|
|
43
|
+
removeListener(subscriptionHandle: SubscriptionHandle): void;
|
|
44
|
+
/**
|
|
45
|
+
* Resubscribes as necessary in case of a re-handshake.
|
|
46
|
+
*/
|
|
47
|
+
resubscribe(subscriptionHandle: SubscriptionHandle): SubscriptionHandle;
|
|
31
48
|
/**
|
|
32
49
|
* Disconnects the current connection.
|
|
33
50
|
*/
|
|
34
|
-
disconnect(): void;
|
|
51
|
+
disconnect(disconnectCallback?: CometDListener): void;
|
|
52
|
+
/**
|
|
53
|
+
* Returns true if the CometD instance is disconnected or disconnecting.
|
|
54
|
+
*/
|
|
55
|
+
isDisconnected(): boolean;
|
|
35
56
|
private checkConnection;
|
|
36
57
|
private handshake;
|
|
37
58
|
private metaHandshake;
|
|
38
59
|
}
|
|
60
|
+
//# sourceMappingURL=Realtime.d.ts.map
|
package/lib/src/services.d.ts
CHANGED
|
@@ -32,3 +32,4 @@ export declare class TenantSecurityOptionsService extends Service<ITenantSecurit
|
|
|
32
32
|
protected getDetailUrl(tenantSecurityOption: ITenantSecurityOption): string;
|
|
33
33
|
protected onBeforeCreate(obj: ITenantSecurityOption): any;
|
|
34
34
|
}
|
|
35
|
+
//# sourceMappingURL=TenantSecurityOptionsService.d.ts.map
|
|
@@ -143,3 +143,4 @@ export declare class TrustedCertificateService extends Service<ITrustedCertifica
|
|
|
143
143
|
protected getDetailUrl(entityOrId: string | ITrustedCertificate): string;
|
|
144
144
|
protected getEntityId(entityOrId: string | ITrustedCertificate): string;
|
|
145
145
|
}
|
|
146
|
+
//# sourceMappingURL=TrustedCertificateService.d.ts.map
|
package/lib/src/user/ITotp.d.ts
CHANGED
package/lib/src/user/IUser.d.ts
CHANGED
|
@@ -361,3 +361,4 @@ export declare class UserService extends Service<IUser> {
|
|
|
361
361
|
protected changeUserPasswordUrl(entityOrId: string | number | IUser): string;
|
|
362
362
|
protected hasGlobalRoleInUser(user: IUser, globalRoleId: number): any;
|
|
363
363
|
}
|
|
364
|
+
//# sourceMappingURL=UserService.d.ts.map
|
package/lib/src/user/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c8y/client",
|
|
3
|
-
"version": "1018.
|
|
3
|
+
"version": "1018.497.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"author": "Cumulocity",
|
|
6
6
|
"description": "Client application programming interface to access the Cumulocity IoT-Platform REST services.",
|
|
@@ -18,8 +18,13 @@
|
|
|
18
18
|
"watch": "tsc --watch"
|
|
19
19
|
},
|
|
20
20
|
"exports": {
|
|
21
|
-
".":
|
|
22
|
-
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./lib/index.d.ts",
|
|
23
|
+
"require": "./lib/cjs/index.js",
|
|
24
|
+
"import": "./lib/esm2015/index.js",
|
|
25
|
+
"esm2015": "./lib/esm2015/index.js",
|
|
26
|
+
"default": "./lib/esm2015/index.js"
|
|
27
|
+
},
|
|
23
28
|
"./package.json": "./package.json",
|
|
24
29
|
"./src/test": "./src/test/index.ts"
|
|
25
30
|
},
|
|
@@ -36,6 +41,7 @@
|
|
|
36
41
|
"module": "lib/esm2015/index.js",
|
|
37
42
|
"types": "lib/index.d.ts",
|
|
38
43
|
"dependencies": {
|
|
44
|
+
"@types/cometd": "4.0.8",
|
|
39
45
|
"@types/node": "14.11.11",
|
|
40
46
|
"b2a": "1.1.2",
|
|
41
47
|
"cometd": "4.0.8",
|