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.
Files changed (315) hide show
  1. package/README.md +19 -43
  2. package/dist/_virtual/rolldown_runtime.mjs +32 -0
  3. package/dist/client.d.mts +122 -0
  4. package/dist/client.mjs +63 -0
  5. package/dist/index.mjs +5 -2
  6. package/dist/module/docker.mjs +1 -1
  7. package/dist/node_modules/.pnpm/@c8y_client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/index.mjs +63 -0
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. 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
  33. 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
  34. 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
  35. 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
  36. 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
  37. 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
  38. 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
  39. 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
  40. 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
  41. 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
  42. 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
  43. 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
  44. 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
  45. 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
  46. 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
  47. 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
  48. 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
  49. 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
  50. 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
  51. 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
  52. 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
  53. 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
  54. 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
  55. 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
  56. 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
  57. 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
  58. 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
  59. 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
  60. 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
  61. 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
  62. 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
  63. 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
  64. 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
  65. 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
  66. 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
  67. 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
  68. 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
  69. 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
  70. 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
  71. 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
  72. 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
  73. 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
  74. 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
  75. 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
  76. 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
  77. 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
  78. 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
  79. 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
  80. 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
  81. 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
  82. 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
  83. 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
  84. 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
  85. 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
  86. 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
  87. 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
  88. 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
  89. 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
  90. 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
  91. 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
  92. 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
  93. 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
  94. 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
  95. 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
  96. 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
  97. 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
  98. 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
  99. 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
  100. 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
  101. 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
  102. 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
  103. 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
  104. 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
  105. 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
  106. 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
  107. 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
  108. 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
  109. 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
  110. 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
  111. 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
  112. 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
  113. 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
  114. 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
  115. 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
  116. 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
  117. 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
  118. 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
  119. 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
  120. 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
  121. 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
  122. 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
  123. 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
  124. 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
  125. 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
  126. 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
  127. 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
  128. 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
  129. 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
  130. 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
  131. 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
  132. 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
  133. 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
  134. 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
  135. 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
  136. 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
  137. 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
  138. 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
  139. 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
  140. 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
  141. 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
  142. 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
  143. 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
  144. 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
  145. 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
  146. 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
  147. 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
  148. 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
  149. 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
  150. 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
  151. 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
  152. 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
  153. 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
  154. 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
  155. 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
  156. 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
  157. 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
  158. 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
  159. 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
  160. 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
  161. 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
  162. 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
  163. 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
  164. 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
  165. 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
  166. 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
  167. 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
  168. 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
  169. 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
  170. 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
  171. 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
  172. 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
  173. 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
  174. 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
  175. 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
  176. 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
  177. 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
  178. 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
  179. 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
  180. 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
  181. 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
  182. 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
  183. 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
  184. 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
  185. 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
  186. 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
  187. 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
  188. 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
  189. 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
  190. 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
  191. 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
  192. 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
  193. 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
  194. 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
  195. 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
  196. 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
  197. 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
  198. 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
  199. 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
  200. 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
  201. 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
  202. 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
  203. 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
  204. 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
  205. 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
  206. 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
  207. 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
  208. 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
  209. 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
  210. 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
  211. 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
  212. 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
  213. 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
  214. 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
  215. 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
  216. 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
  217. package/dist/node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/index.mjs +18 -0
  218. package/dist/node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/abort.mjs +29 -0
  219. package/dist/node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/async.mjs +32 -0
  220. package/dist/node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/defer.mjs +21 -0
  221. package/dist/node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/iterate.mjs +47 -0
  222. package/dist/node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/state.mjs +33 -0
  223. package/dist/node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/lib/terminator.mjs +26 -0
  224. package/dist/node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/parallel.mjs +40 -0
  225. package/dist/node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/serial.mjs +24 -0
  226. package/dist/node_modules/.pnpm/asynckit@0.4.0/node_modules/asynckit/serialOrdered.mjs +62 -0
  227. package/dist/node_modules/.pnpm/b2a@1.1.2/node_modules/b2a/lib/index.mjs +44 -0
  228. package/dist/node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.mjs +20 -0
  229. package/dist/node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.mjs +12 -0
  230. package/dist/node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.mjs +12 -0
  231. package/dist/node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.mjs +23 -0
  232. package/dist/node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.mjs +12 -0
  233. package/dist/node_modules/.pnpm/combined-stream@1.0.8/node_modules/combined-stream/lib/combined_stream.mjs +158 -0
  234. package/dist/node_modules/.pnpm/cometd-nodejs-client@1.0.2/node_modules/cometd-nodejs-client/cometd-nodejs-client.mjs +120 -0
  235. package/dist/node_modules/.pnpm/cometd@4.0.8/node_modules/cometd/cometd.mjs +2658 -0
  236. package/dist/node_modules/.pnpm/cross-fetch@4.1.0_encoding@0.1.13/node_modules/cross-fetch/dist/node-ponyfill.mjs +24 -0
  237. package/dist/node_modules/.pnpm/delayed-stream@1.0.0/node_modules/delayed-stream/lib/delayed_stream.mjs +84 -0
  238. package/dist/node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.mjs +27 -0
  239. package/dist/node_modules/.pnpm/encoding@0.1.13/node_modules/encoding/lib/encoding.mjs +60 -0
  240. package/dist/node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.mjs +18 -0
  241. package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.mjs +12 -0
  242. package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.mjs +12 -0
  243. package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.mjs +12 -0
  244. package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.mjs +12 -0
  245. package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.mjs +12 -0
  246. package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.mjs +12 -0
  247. package/dist/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.mjs +12 -0
  248. package/dist/node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.mjs +12 -0
  249. package/dist/node_modules/.pnpm/es-set-tostringtag@2.1.0/node_modules/es-set-tostringtag/index.mjs +32 -0
  250. package/dist/node_modules/.pnpm/form-data@4.0.4/node_modules/form-data/index.d.mts +50 -0
  251. package/dist/node_modules/.pnpm/form-data@4.0.4/node_modules/form-data/lib/form_data.mjs +247 -0
  252. package/dist/node_modules/.pnpm/form-data@4.0.4/node_modules/form-data/lib/populate.mjs +16 -0
  253. package/dist/node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.mjs +58 -0
  254. package/dist/node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.mjs +13 -0
  255. package/dist/node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.mjs +357 -0
  256. package/dist/node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.mjs +14 -0
  257. package/dist/node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.mjs +12 -0
  258. package/dist/node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.mjs +25 -0
  259. package/dist/node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.mjs +12 -0
  260. package/dist/node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.mjs +19 -0
  261. package/dist/node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.mjs +21 -0
  262. package/dist/node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.mjs +35 -0
  263. package/dist/node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.mjs +16 -0
  264. package/dist/node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.mjs +16 -0
  265. package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/dbcs-codec.mjs +349 -0
  266. package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/dbcs-data.mjs +194 -0
  267. package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/index.mjs +34 -0
  268. package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/internal.mjs +141 -0
  269. package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-codec.mjs +53 -0
  270. package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-data-generated.mjs +458 -0
  271. package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/sbcs-data.mjs +154 -0
  272. package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/big5-added.mjs +172 -0
  273. package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp936.mjs +2587 -0
  274. package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp949.mjs +2223 -0
  275. package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/cp950.mjs +230 -0
  276. package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/eucjp.mjs +428 -0
  277. package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/gb18030-ranges.mjs +430 -0
  278. package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/gbk-added.mjs +233 -0
  279. package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/tables/shiftjis.mjs +295 -0
  280. package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf16.mjs +126 -0
  281. package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf32.mjs +198 -0
  282. package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/encodings/utf7.mjs +183 -0
  283. package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/bom-handling.mjs +45 -0
  284. package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/index.mjs +110 -0
  285. package/dist/node_modules/.pnpm/iconv-lite@0.6.3/node_modules/iconv-lite/lib/streams.mjs +93 -0
  286. 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
  287. package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.mjs +12 -0
  288. package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.mjs +12 -0
  289. package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.mjs +14 -0
  290. package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.mjs +12 -0
  291. package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.mjs +12 -0
  292. package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.mjs +12 -0
  293. package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.mjs +12 -0
  294. package/dist/node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.mjs +17 -0
  295. package/dist/node_modules/.pnpm/mime-db@1.52.0/node_modules/mime-db/db.mjs +7051 -0
  296. package/dist/node_modules/.pnpm/mime-db@1.52.0/node_modules/mime-db/index.mjs +21 -0
  297. package/dist/node_modules/.pnpm/mime-types@2.1.35/node_modules/mime-types/index.mjs +123 -0
  298. package/dist/node_modules/.pnpm/node-fetch@2.7.0_encoding@0.1.13/node_modules/node-fetch/lib/index.mjs +1174 -0
  299. package/dist/node_modules/.pnpm/safer-buffer@2.1.2/node_modules/safer-buffer/safer.mjs +48 -0
  300. package/dist/node_modules/.pnpm/tr46@0.0.3/node_modules/tr46/index.mjs +145 -0
  301. package/dist/node_modules/.pnpm/tr46@0.0.3/node_modules/tr46/lib/mappingTable.mjs +35563 -0
  302. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs +31 -0
  303. package/dist/node_modules/.pnpm/webidl-conversions@3.0.1/node_modules/webidl-conversions/lib/index.mjs +122 -0
  304. package/dist/node_modules/.pnpm/whatwg-url@5.0.0/node_modules/whatwg-url/lib/URL-impl.mjs +145 -0
  305. package/dist/node_modules/.pnpm/whatwg-url@5.0.0/node_modules/whatwg-url/lib/URL.mjs +174 -0
  306. package/dist/node_modules/.pnpm/whatwg-url@5.0.0/node_modules/whatwg-url/lib/public-api.mjs +21 -0
  307. package/dist/node_modules/.pnpm/whatwg-url@5.0.0/node_modules/whatwg-url/lib/url-state-machine.mjs +878 -0
  308. package/dist/node_modules/.pnpm/whatwg-url@5.0.0/node_modules/whatwg-url/lib/utils.mjs +22 -0
  309. package/dist/package.mjs +1 -1
  310. package/dist/utils/client.d.mts +1 -1
  311. package/dist/utils/client.mjs +4 -1
  312. package/dist/utils/credentials.d.mts +1 -1
  313. package/dist/utils/credentials.mjs +2 -1
  314. package/dist/utils/resources.d.mts +1 -1
  315. package/package.json +8 -4
@@ -0,0 +1,594 @@
1
+ import { IFetchClient } from "../core/IFetchClient.mjs";
2
+ import { IIdentified } from "../core/IIdentified.mjs";
3
+ import { IResultList } from "../core/IResultList.mjs";
4
+ import { IResult } from "../core/IResult.mjs";
5
+ import { Realtime } from "../realtime/Realtime.mjs";
6
+ import { Service } from "../core/Service.mjs";
7
+ import { QueriesUtil, QueryObjectFilterComparison, QueryObjectWithDedicatedFilter } from "../core/QueriesUtil.mjs";
8
+ import { IManagedObject } from "./IManagedObject.mjs";
9
+ import { InventoryBinaryService } from "./InventoryBinaryService.mjs";
10
+
11
+ //#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/inventory/InventoryService.d.ts
12
+ /**
13
+ * Possible types of a child.
14
+ */
15
+ declare enum ChildType {
16
+ ASSETS = "childAssets",
17
+ DEVICES = "childDevices",
18
+ ADDITIONS = "childAdditions"
19
+ }
20
+ /**
21
+ * IdReference is only a combined type of string | number | IIdentified
22
+ */
23
+ type IdReference = string | number | IIdentified;
24
+ /**
25
+ * This class allows for managing managed objects and different child types, see [[ChildType]].
26
+ */
27
+ declare class InventoryService extends Service<IManagedObject> {
28
+ binary: InventoryBinaryService;
29
+ queriesUtil: QueriesUtil;
30
+ protected baseUrl: string;
31
+ protected listUrl: string;
32
+ protected propertyName: string;
33
+ protected channel: string;
34
+ protected inventoriesQueryParamName: string;
35
+ protected devicesQueryParamName: string;
36
+ constructor(client: IFetchClient, realtime?: Realtime);
37
+ /**
38
+ * Gets the details of managed object
39
+ *
40
+ * @param {IdReference} managedObjectOrId ManagedObject or Id of the ManagedObject.
41
+ * @param {object} filter Filter object.
42
+ *
43
+ * @returns Response wrapped in [[IResult]]
44
+ *
45
+ * **Example**
46
+ * ```typescript
47
+ *
48
+ * const managedObjId: number = 1;
49
+ * const filter = { withChildren: false };
50
+ *
51
+ * (async () => {
52
+ * const {data, res} = await inventoryService.detail(managedObjId, filter);
53
+ * })();
54
+ * ```
55
+ */
56
+ detail(managedObjectOrId: IdReference, filter?: object): Promise<IResult<IManagedObject>>;
57
+ /**
58
+ * Creates a new managed object.
59
+ *
60
+ * @param {Partial<IManagedObject>} managedObject
61
+ *
62
+ * @returns Response wrapped in [[IResult]]
63
+ *
64
+ * **Example**
65
+ * ```typescript
66
+ *
67
+ * const partialManagedObj: Partial<IManagedObject> = {
68
+ * customFragment: 'yourData'
69
+ * };
70
+ *
71
+ * (async () => {
72
+ * const {data, res} = await inventoryService.create(partialManagedObj);
73
+ * })();
74
+ * ```
75
+ */
76
+ create(managedObject: Partial<IManagedObject>): Promise<IResult<IManagedObject>>;
77
+ /**
78
+ * Updates managed object data.
79
+ *
80
+ * @param {Partial<IManagedObject>} managedObject Managed object is partially updatable.
81
+ *
82
+ * @returns Response wrapped in [[IResult]]
83
+ *
84
+ * **Example**
85
+ * ```typescript
86
+ *
87
+ * const partialUpdateObject: Partial<IManagedObject> = {
88
+ * customFragment: 'Changed data',
89
+ * name: 'Name'
90
+ * };
91
+ *
92
+ * (async () => {
93
+ * const {data, res} = await inventoryService.update(partialUpdateObject);
94
+ * })();
95
+ * ```
96
+ */
97
+ update(managedObject: Partial<IManagedObject>): Promise<IResult<IManagedObject>>;
98
+ /**
99
+ * Gets the list of managed objects filtered by parameters.
100
+ *
101
+ * @returns Response wrapped in [[IResultList]]
102
+ *
103
+ * @param {object} filter Object containing filters for querying managed objects.
104
+ *
105
+ * **Example**
106
+ * ```typescript
107
+ *
108
+ * const filter: object = {
109
+ * pageSize: 100,
110
+ * withTotalPages: true
111
+ * };
112
+ *
113
+ * (async () => {
114
+ * const {data, res, paging} = await inventoryService.list(filter);
115
+ * })();
116
+ * ```
117
+ */
118
+ list(filter?: object): Promise<IResultList<IManagedObject>>;
119
+ /**
120
+ * Gets total count of managed objects filtered by parameters.
121
+ *
122
+ * @returns Response wrapped in [[IResultList]]
123
+ *
124
+ * @param {object} filter Object containing filters for querying managed objects.
125
+ *
126
+ * **Example**
127
+ * ```typescript
128
+ *
129
+ * const filter: object = {
130
+ * type: 'c8y_MQTTDevice'
131
+ * };
132
+ *
133
+ * (async () => {
134
+ * const {data, res} = await inventoryService.count(filter);
135
+ * })();
136
+ * ```
137
+ */
138
+ count(filter?: object): Promise<IResult<number>>;
139
+ /**
140
+ * Gets the list of all managed objects filtered and sorted by given query.
141
+ *
142
+ * @returns Response wrapped in [[IResultList]]
143
+ *
144
+ * @param {object} filter Object containing filters for querying managed objects.
145
+ *
146
+ * **Example**
147
+ * ```typescript
148
+ *
149
+ * const filter: object = {
150
+ * pageSize: 100,
151
+ * withTotalPages: true
152
+ * };
153
+ *
154
+ * const query = {
155
+ * name: 'MY-NAM*'
156
+ * }
157
+ *
158
+ * (async () => {
159
+ * const {data, res, paging} = await inventoryService.listQuery(query, filter);
160
+ * })();
161
+ * ```
162
+ */
163
+ listQuery(query: QueryObjectWithDedicatedFilter | QueryObjectFilterComparison | QueryObjectFilterComparison[], filter?: object): Promise<IResultList<IManagedObject>>;
164
+ /**
165
+ * Gets the list of all devices filtered and sorted by given query.
166
+ *
167
+ * @returns Response wrapped in [[IResultList]]
168
+ *
169
+ * @param {object} filter Object containing filters for querying devices.
170
+ *
171
+ * **Example**
172
+ * ```typescript
173
+ *
174
+ * const filter: object = {
175
+ * pageSize: 100,
176
+ * withTotalPages: true
177
+ * };
178
+ *
179
+ * const query = {
180
+ * name: 'MY-NAM*'
181
+ * }
182
+ *
183
+ * (async () => {
184
+ * const {data, res, paging} = await inventoryService.listQueryDevices(query, filter);
185
+ * })();
186
+ * ```
187
+ */
188
+ listQueryDevices(query: QueryObjectWithDedicatedFilter | QueryObjectFilterComparison | QueryObjectFilterComparison[], filter?: object): Promise<IResultList<IManagedObject>>;
189
+ /**
190
+ * Removes managed object with given id.
191
+ *
192
+ * @returns Response wrapped in [[IResult]]
193
+ *
194
+ * @param {IdReference} managedObjectOrId ManagedObject or Id of the ManagedObject.
195
+ * @param {object} params Additional query params.
196
+ *
197
+ * **Example**
198
+ * ```typescript
199
+ *
200
+ * const managedObjectId: number = 1;
201
+ * const params: any = {
202
+ * cascade: true
203
+ * }
204
+ *
205
+ * (async () => {
206
+ * const {data, res} = await inventoryService.delete(managedObjectId, params);
207
+ * })();
208
+ * ```
209
+ */
210
+ delete(managedObjectOrId: IdReference, params?: any): Promise<IResult<null>>;
211
+ /**
212
+ * Gets a list of child additions from a given managed object (parent)
213
+ *
214
+ * @returns Response wrapped in [[IResultList]]
215
+ *
216
+ * @param {IdReference} parentReference
217
+ * @param {object} filter
218
+ *
219
+ * **Example**
220
+ * ```typescript
221
+ * const parentReferenceId: IdReference = 1;
222
+ *
223
+ * const filter: object = {
224
+ * pageSize: 100,
225
+ * withTotalPages: true
226
+ * };
227
+ *
228
+ * (async () => {
229
+ * const {data, res, paging} = await inventoryService.childAdditionsList(parentReferenceId, filter);
230
+ * })();
231
+ * ```
232
+ */
233
+ childAdditionsList(parentReference: IdReference, filter?: object): Promise<IResultList<IManagedObject>>;
234
+ /**
235
+ * Creates a new managed object as child addition to another managed object (parent)
236
+ *
237
+ * @returns Response wrapped in [[IResult]]
238
+ *
239
+ * @param {Partial<IManagedObject>} managedObject
240
+ * @param {IdReference} parentReference
241
+ *
242
+ * **Example**
243
+ * ```typescript
244
+ *
245
+ * const mOAsChildAddition: Partial<IManagedObject> = {
246
+ * name: 'Child addition MO',
247
+ * type: 'new type',
248
+ * ...
249
+ * };
250
+ *
251
+ * // This is the identifier of the managed object which should be the parent of
252
+ * // mOAsChildAddition, see above.
253
+ * const parentReferenceId: number = 1;
254
+ *
255
+ * (async () => {
256
+ * const {data, res} = await inventoryService.childAdditionsCreate(mOAsChildAddition, parentReferenceId);
257
+ * })();
258
+ * ```
259
+ */
260
+ childAdditionsCreate(managedObject: Partial<IManagedObject>, parentReference: IdReference): Promise<IResult<IIdentified>>;
261
+ /**
262
+ * Adds an existing managed object as child addition to another managed object (parent)
263
+ *
264
+ * @returns Response wrapped in [[IResult]]
265
+ *
266
+ * @param {IdReference} childReference
267
+ * @param {IdReference} parentReference
268
+ *
269
+ * **Example**
270
+ * ```typescript
271
+ *
272
+ * const childRef: number = 2;
273
+ * const parentReferenceId: number = 1;
274
+ *
275
+ * (async () => {
276
+ * const {data, res} = await inventoryService.childAdditionsCreate(childRef, parentReferenceId);
277
+ * })();
278
+ * ```
279
+ */
280
+ childAdditionsAdd(childReference: IdReference, parentReference: IdReference): Promise<IResult<IIdentified>>;
281
+ /**
282
+ * Adds bulk of existing managed objects as child addition to another managed object (parent).
283
+ *
284
+ * @returns Response wrapped in array of [[IResult]]
285
+ *
286
+ * @param {IdReference[]} childReference List of existing managed objects IDs that should be added to another managed object (parent).
287
+ * @param {IdReference} parentReference
288
+ *
289
+ * **Example**
290
+ * ```typescript
291
+ *
292
+ * const childAdditionsRefIds: string[] = ['2', '3'];
293
+ * const parentReferenceId: number = 1;
294
+ *
295
+ * (async () => {
296
+ * const {data, res} = await inventoryService.childAdditionsBulkAdd(childAdditionsRefIds, parentReferenceId);
297
+ * })();
298
+ * ```
299
+ */
300
+ childAdditionsBulkAdd(childReference: IdReference[], parentReference: IdReference): Promise<IResultList<IIdentified>>;
301
+ /**
302
+ * Removes an existing managed object as child addition from another managed object (parent)
303
+ *
304
+ * @returns Response wrapped in [[IResult]]
305
+ *
306
+ * @param {IdReference} childReference
307
+ * @param {IdReference} parentReference
308
+ *
309
+ * **Example**
310
+ * ```typescript
311
+ *
312
+ * const childRef: number = 2;
313
+ * const parentReferenceId: number = 1;
314
+ *
315
+ * (async () => {
316
+ * const {data, res} = await inventoryService.childAdditionsRemove(childRef, parentReferenceId);
317
+ * })();
318
+ * ```
319
+ */
320
+ childAdditionsRemove(childReference: IdReference, parentReference: IdReference): Promise<IResult<null>>;
321
+ /**
322
+ * Gets a list of child assets from a given managed object (parent)
323
+ *
324
+ * @returns Response wrapped in [[IResultList]]
325
+ *
326
+ * @param {IdReference} parentReference
327
+ * @param {object} filter
328
+ *
329
+ * **Example**
330
+ * ```typescript
331
+ *
332
+ * const parentReferenceId: IdReference = 1;
333
+ *
334
+ * const filter: object = {
335
+ * pageSize: 100,
336
+ * withTotalPages: true
337
+ * };
338
+ *
339
+ * (async () => {
340
+ * const {data, res, paging} = await inventoryService.childAssetsList(parentReferenceId, filter);
341
+ * })();
342
+ * ```
343
+ */
344
+ childAssetsList(parentReference: IdReference, filter?: object): Promise<IResultList<IManagedObject>>;
345
+ /**
346
+ * Creates a new managed object as child asset to another managed object (parent)
347
+ *
348
+ * @returns Response wrapped in [[IResult]]
349
+ *
350
+ * @param {Partial<IManagedObject>} managedObject
351
+ * @param {IdReference} parentReference
352
+ *
353
+ * **Example**
354
+ * ```typescript
355
+ *
356
+ * const mOAsChildAsset: Partial<IManagedObject> = {
357
+ * name: 'Child asset MO',
358
+ * type: 'new type',
359
+ * ...
360
+ * };
361
+ *
362
+ * // This is the identifier of the managed object which should be the parent of
363
+ * // mOAsChildAsset, see above.
364
+ * const parentReferenceId: number = 1;
365
+ *
366
+ * (async () => {
367
+ * const {data, res} = await inventoryService.childAdditionsCreate(mOAsChildAddition, parentReferenceId);
368
+ * })();
369
+ * ```
370
+ */
371
+ childAssetsCreate(managedObject: Partial<IManagedObject>, parentReference: IdReference): Promise<IResult<IIdentified>>;
372
+ /**
373
+ * Adds an existing managed object as child asset to another managed object (parent)
374
+ *
375
+ * @returns Response wrapped in [[IResult]]
376
+ *
377
+ * @param {IdReference} childReference
378
+ * @param {IdReference} parentReference
379
+ *
380
+ * **Example**
381
+ * ```typescript
382
+ *
383
+ * const childRef: number = 2;
384
+ * const parentReferenceId: number = 1;
385
+ *
386
+ * (async () => {
387
+ * const {data, res} = await inventoryService.childAssetsAdd(childRef, parentReferenceId);
388
+ * })();
389
+ * ```
390
+ */
391
+ childAssetsAdd(childReference: IdReference, parentReference: IdReference): Promise<IResult<IIdentified>>;
392
+ /**
393
+ * Adds bulk of existing managed objects as child assets to another managed object (parent).
394
+ *
395
+ * @returns Response wrapped in array of [[IResult]]
396
+ *
397
+ * @param {IdReference[]} childReference List of existing managed objects IDs that should be added to another managed object (parent).
398
+ * @param {IdReference} parentReference
399
+ *
400
+ * **Example**
401
+ * ```typescript
402
+ *
403
+ * const childAssetsRefIds: string[] = ['2', '3'];
404
+ * const parentReferenceId: number = 1;
405
+ *
406
+ * (async () => {
407
+ * const {data, res} = await inventoryService.childAssetsBulkAdd(childAssetsRefIds, parentReferenceId);
408
+ * })();
409
+ * ```
410
+ */
411
+ childAssetsBulkAdd(childReference: IdReference[], parentReference: IdReference): Promise<IResultList<IIdentified>>;
412
+ /**
413
+ * Removes an existing managed object as child asset from another managed object (parent)
414
+ *
415
+ * @returns Response wrapped in [[IResult]]
416
+ *
417
+ * @param {IdReference} childReference
418
+ * @param {IdReference} parentReference
419
+ *
420
+ * **Example**
421
+ * ```typescript
422
+ *
423
+ * const childRef: number = 2;
424
+ * const parentReferenceId: number = 1;
425
+ *
426
+ * (async () => {
427
+ * const {data, res} = await inventoryService.childAssetsRemove(childRef, parentReferenceId);
428
+ * })();
429
+ * ```
430
+ */
431
+ childAssetsRemove(childReference: IdReference, parentReference: IdReference): Promise<IResult<null>>;
432
+ /**
433
+ * Gets a list of child devices from a given managed object (parent)
434
+ *
435
+ * @returns Response wrapped in [[IResultList]]
436
+ *
437
+ * @param {IdReference} parentReference
438
+ * @param {object} filter
439
+ *
440
+ * **Example**
441
+ * ```typescript
442
+ *
443
+ * const parentReferenceId: IdReference = 1;
444
+ *
445
+ * const filter: object = {
446
+ * pageSize: 100,
447
+ * withTotalPages: true
448
+ * };
449
+ *
450
+ * (async () => {
451
+ * const {data, res, paging} = await inventoryService.childDevicesList(parentReferenceId, filter);
452
+ * })();
453
+ * ```
454
+ */
455
+ childDevicesList(parentReference: IdReference, filter?: object): Promise<IResultList<IManagedObject>>;
456
+ /**
457
+ * Creates a new managed object as child device to another managed object (parent)
458
+ *
459
+ * @returns Response wrapped in [[IResult]]
460
+ *
461
+ * @param {Partial<IManagedObject>} managedObject
462
+ * @param {IdReference} parentReference
463
+ *
464
+ * **Example**
465
+ * ```typescript
466
+ *
467
+ * const mOAsChildDevice: Partial<IManagedObject> = {
468
+ * name: 'Child device MO',
469
+ * type: 'new type',
470
+ * ...
471
+ * };
472
+ *
473
+ * // This is the identifier of the managed object which should be the parent of
474
+ * // mOAsChildDevice, see above.
475
+ * const parentReferenceId: number = 1;
476
+ *
477
+ * (async () => {
478
+ * const {data, res} = await inventoryService.childDevicesCreate(mOAsChildDevice, parentReferenceId);
479
+ * })();
480
+ * ```
481
+ */
482
+ childDevicesCreate(managedObject: Partial<IManagedObject>, parentReference: IdReference): Promise<IResult<IIdentified>>;
483
+ /**
484
+ * Adds an existing managed object as child device to another managed object (parent)
485
+ *
486
+ * @returns Response wrapped in [[IResult]]
487
+ *
488
+ * @param {IdReference} childReference
489
+ * @param {IdReference} parentReference
490
+ *
491
+ * **Example**
492
+ * ```typescript
493
+ *
494
+ * const childRef: number = 2;
495
+ * const parentReferenceId: number = 1;
496
+ *
497
+ * (async () => {
498
+ * const {data, res} = await inventoryService.childDevicesAdd(childRef, parentReferenceId);
499
+ * })();
500
+ * ```
501
+ */
502
+ childDevicesAdd(childReference: IdReference, parentReference: IdReference): Promise<IResult<IIdentified>>;
503
+ /**
504
+ * Adds bulk of existing managed objects as child devices to another managed object (parent).
505
+ *
506
+ * @returns Response wrapped in array of [[IResult]]
507
+ *
508
+ * @param {IdReference[]} childReference List of existing managed objects IDs that should be added to another managed object (parent).
509
+ * @param {IdReference} parentReference
510
+ *
511
+ * **Example**
512
+ * ```typescript
513
+ *
514
+ * const childDevicesRefIds: string[] = ['2', '3'];
515
+ * const parentReferenceId: number = 1;
516
+ *
517
+ * (async () => {
518
+ * const {data, res} = await inventoryService.childDevicesBulkAdd(childDevicesRefIds, parentReferenceId);
519
+ * })();
520
+ * ```
521
+ */
522
+ childDevicesBulkAdd(childReference: IdReference[], parentReference: IdReference): Promise<IResultList<IIdentified>>;
523
+ /**
524
+ * Removes an existing managed object as child device from another managed object (parent)
525
+ *
526
+ * @returns Response wrapped in [[IResult]]
527
+ *
528
+ * @param {IdReference} childReference
529
+ * @param {IdReference} parentReference
530
+ *
531
+ * **Example**
532
+ * ```typescript
533
+ *
534
+ * const childRef: number = 2;
535
+ * const parentReferenceId: number = 1;
536
+ *
537
+ * (async () => {
538
+ * const {data, res} = await inventoryService.childDevicesRemove(childRef, parentReferenceId);
539
+ * })();
540
+ * ```
541
+ */
542
+ childDevicesRemove(childReference: IdReference, parentReference: IdReference): Promise<IResult<null>>;
543
+ /**
544
+ * Gets an array of measurement fragments supported by the specified managedObject.
545
+ * e.g. ["c8y_Temperature", "c8y_Humidity"]
546
+ *
547
+ * @returns array of supported measurement fragments
548
+ *
549
+ * @param {IdReference} managedObjectOrId
550
+ */
551
+ getSupportedMeasurements(managedObjectOrId: IdReference): Promise<string[]>;
552
+ /**
553
+ * Gets an array of measurement series supported by the specified managedObject.
554
+ * e.g. ["c8y_Temperature.T", "c8y_Humidity.H"]
555
+ *
556
+ * @returns array of supported measurement series
557
+ *
558
+ * @param {IdReference} managedObjectOrId
559
+ */
560
+ getSupportedSeries(managedObjectOrId: IdReference): Promise<string[]>;
561
+ /**
562
+ * Gets an array of measurement series and fragments supported by the specified managedObject.
563
+ *
564
+ * @returns array of supported measurement series and fragments
565
+ *
566
+ * @param {IdReference} managedObjectOrId
567
+ */
568
+ getMeasurementsAndSeries(managedObjectOrId: IdReference): Promise<Array<{
569
+ fragment: string;
570
+ series: string;
571
+ }>>;
572
+ /**
573
+ * Gets a list of KPIs (data point library entries) matching a given managed object
574
+ *
575
+ * @returns Response wrapped in [[IResultList]]
576
+ *
577
+ * @param {IdReference} parentReference
578
+ * @param {object} filter
579
+ */
580
+ assetKPIsList(parentReference: IdReference, filter?: object): Promise<IResultList<IManagedObject>>;
581
+ protected listKPIs(parentReference: IdReference, filter?: object): Promise<IResultList<IManagedObject>>;
582
+ protected onBeforeUpdate(objWithId: Partial<IManagedObject>): Partial<IManagedObject>;
583
+ protected onBeforeCreate(managedObject: Partial<IManagedObject>): Partial<IManagedObject>;
584
+ private getChildrenUrl;
585
+ private getChildUrl;
586
+ private listChildren;
587
+ private createChild;
588
+ private addChild;
589
+ private addChildBulk;
590
+ private removeChild;
591
+ private getSupportedMeasurementDetails;
592
+ }
593
+ //#endregion
594
+ export { ChildType, IdReference, InventoryService };
@@ -0,0 +1,111 @@
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
+
6
+ //#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/inventory-role/InventoryRoleService.d.ts
7
+ declare class InventoryRoleService extends Service<IIdentified> {
8
+ protected baseUrl: string;
9
+ protected listUrl: string;
10
+ protected propertyName: string;
11
+ /**
12
+ * Gets the details of inventory role.
13
+ *
14
+ * @param {string|number|IIdentified} entityOrId Entity or Id of the entity.
15
+ *
16
+ * @returns Response wrapped in [[IResult]]
17
+ *
18
+ * **Example**
19
+ * ```typescript
20
+ *
21
+ * const inventoryRoleId: number = 1;
22
+ *
23
+ * (async () => {
24
+ * const {data, res} = await inventoryRoleService.detail(inventoryRoleId);
25
+ * })();
26
+ * ```
27
+ */
28
+ detail(entityOrId: string | number | IIdentified): Promise<IResult<IIdentified>>;
29
+ /**
30
+ * Creates a new inventory role.
31
+ *
32
+ * @param {IIdentified} entity
33
+ *
34
+ * @returns Response wrapped in [[IResult]]
35
+ *
36
+ * **Example**
37
+ * ```typescript
38
+ *
39
+ * const newRole: IIdentified = {
40
+ * name: 'Custom role'
41
+ * };
42
+ *
43
+ * (async () => {
44
+ * const {data, res} = await inventoryRoleService.create(newRole);
45
+ * })();
46
+ * ```
47
+ */
48
+ create(entity: IIdentified): Promise<IResult<IIdentified>>;
49
+ /**
50
+ * Updates inventory role data.
51
+ *
52
+ * @param {IIdentified} entity
53
+ *
54
+ * @returns Response wrapped in [[IResult]]
55
+ *
56
+ * **Example**
57
+ * ```typescript
58
+ *
59
+ * const updateObject: IIdentified = {
60
+ * id: 1,
61
+ * name: 'changed role'
62
+ * };
63
+ *
64
+ * (async () => {
65
+ * const {data, res} = await inventoryRoleService.update(updateObject);
66
+ * })();
67
+ * ```
68
+ */
69
+ update(entity: IIdentified): Promise<IResult<IIdentified>>;
70
+ /**
71
+ * Gets the list of inventory roles filtered by parameters.
72
+ *
73
+ * @returns Response wrapped in [[IResultList]]
74
+ *
75
+ * @param {object} filter Object containing filters for querying alarms.
76
+ *
77
+ * **Example**
78
+ * ```typescript
79
+ *
80
+ * const filter: object = {
81
+ * pageSize: 100,
82
+ * withTotalPages: true
83
+ * };
84
+ *
85
+ * (async () => {
86
+ * const {data, res, paging} = await inventoryRoleService.list(filter);
87
+ * })();
88
+ * ```
89
+ */
90
+ list(filter?: object): Promise<IResultList<IIdentified>>;
91
+ /**
92
+ * Removes an inventory role with given id.
93
+ *
94
+ * @returns Response wrapped in [[IResult]]
95
+ *
96
+ * @param {IExternalIdentity} identity Identity object with mandantory fragments.
97
+ *
98
+ * **Example**
99
+ * ```typescript
100
+ *
101
+ * const id: number = 1;
102
+ *
103
+ * (async () => {
104
+ * const {data, res} = await identityService.delete(id);
105
+ * })();
106
+ * ```
107
+ */
108
+ delete(entityOrId: string | number | IIdentified): Promise<IResult<null>>;
109
+ }
110
+ //#endregion
111
+ export { InventoryRoleService };