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,5 @@
1
+ import { UserInventoryRoleService } from "./UserInventoryRoleService.mjs";
2
+ import { UserService } from "./UserService.mjs";
3
+ import { PasswordStrength } from "./PasswordStrength.mjs";
4
+
5
+ export { };
@@ -0,0 +1,306 @@
1
+ import { __awaiter } from "../../../../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.mjs";
2
+ import { Service } from "../core/Service.mjs";
3
+ import "../core/index.mjs";
4
+
5
+ //#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/user-group/UserGroupService.js
6
+ var ChildType;
7
+ (function(ChildType) {
8
+ ChildType["ROLES"] = "roles";
9
+ ChildType["USERS"] = "users";
10
+ })(ChildType || (ChildType = {}));
11
+ /**
12
+ * @description
13
+ * This service allows for managing user groups.
14
+ */
15
+ var UserGroupService = class extends Service {
16
+ constructor() {
17
+ super(...arguments);
18
+ this.baseUrl = "user";
19
+ this.propertyName = "groups";
20
+ }
21
+ get listUrl() {
22
+ return `${this.client.tenant}/groups`;
23
+ }
24
+ /**
25
+ * Gets the details of given user group.
26
+ *
27
+ * @param {string|number|IUserGroup} entityOrId Group's id or role object.
28
+ *
29
+ * @returns Returns promise object that is resolved with the IUserGroup wrapped by IResult.
30
+ *
31
+ * **Example**
32
+ * ```typescript
33
+ *
34
+ * const groupId: number = 1;
35
+ *
36
+ * (async () => {
37
+ * const {data, res} = await userGroupService.detail(roleId);
38
+ * })();
39
+ * ```
40
+ */
41
+ detail(entityOrId) {
42
+ const _super = Object.create(null, { detail: { get: () => super.detail } });
43
+ return __awaiter(this, void 0, void 0, function* () {
44
+ return _super.detail.call(this, entityOrId);
45
+ });
46
+ }
47
+ /**
48
+ * Creates a new user group.
49
+ *
50
+ * @param {IUserGroup} entity User Group object.
51
+ *
52
+ * @returns {IResult<IUserGroup>} Returns promise object that is resolved with
53
+ * the details of newly created user group.
54
+ *
55
+ * **Example**
56
+ * ```typescript
57
+ *
58
+ * const userGroupObject: IUserGroup = {
59
+ * name: "new user group"
60
+ * };
61
+ *
62
+ * (async () => {
63
+ * const {data, res} = await userGroupService.create(userGroupObject);
64
+ * })();
65
+ * ```
66
+ */
67
+ create(entity) {
68
+ const _super = Object.create(null, { create: { get: () => super.create } });
69
+ return __awaiter(this, void 0, void 0, function* () {
70
+ return _super.create.call(this, entity);
71
+ });
72
+ }
73
+ /**
74
+ * Updates user group data.
75
+ *
76
+ * @param {Partial<IUserGroup>} entity User group is partially updatable.
77
+ *
78
+ * @returns {IResult<IUserGroup>} Returns promise object that is resolved with the saved user group object.
79
+ *
80
+ * **Example**
81
+ * ```typescript
82
+ *
83
+ * const partialUpdateObject: Partial<IUserGroup> = {
84
+ * "id" : 1,
85
+ * "self" : "[URL to this resource]",
86
+ * "name" : "PlatformAdministrators",
87
+ * ...
88
+ * }
89
+ *
90
+ * (async () => {
91
+ * const {data, res} = await userGroupService.update(partialUpdateObject);
92
+ * })();
93
+ * ```
94
+ */
95
+ update(entity) {
96
+ const _super = Object.create(null, { update: { get: () => super.update } });
97
+ return __awaiter(this, void 0, void 0, function* () {
98
+ return _super.update.call(this, entity);
99
+ });
100
+ }
101
+ /**
102
+ * Gets the list of user groups filtered by parameters.
103
+ *
104
+ * @param {object} filter Object containing filters for querying User Groups.
105
+ *
106
+ * @returns Returns promise object that is resolved with the IUserGroup wrapped by IResultList.
107
+ *
108
+ * **Example**
109
+ * ```typescript
110
+ *
111
+ * const filter: object = {
112
+ * severity: Severity.MAJOR,
113
+ * pageSize: 100,
114
+ * withTotalPages: true
115
+ * };
116
+ *
117
+ * (async () => {
118
+ * const {data, res, paging} = await userGroupService.list(filter);
119
+ * })();
120
+ * ```
121
+ */
122
+ list() {
123
+ const _super = Object.create(null, { list: { get: () => super.list } });
124
+ return __awaiter(this, arguments, void 0, function* (filter = {}) {
125
+ return _super.list.call(this, filter);
126
+ });
127
+ }
128
+ /**
129
+ * Removes user group.
130
+ *
131
+ * @param {number | IIdentified} entityOrId User group's id or user group object.
132
+ *
133
+ * @returns Returns promise object that is resolved with the IResult of null.
134
+ *
135
+ * **Example**
136
+ * ```typescript
137
+ *
138
+ * const userGroupId: number = 1;
139
+ *
140
+ * (async () => {
141
+ * const {data, res} = await userGroupService.delete(userGroupId);
142
+ * })();
143
+ * ```
144
+ * When group is removed, suitable audit records are created with type 'User'
145
+ * and activity 'User updated' with information that user has been removed from group.
146
+ *
147
+ * Please, note that the ADMINS and DEVICES groups can not be deleted.
148
+ */
149
+ delete(entityOrId) {
150
+ const _super = Object.create(null, { delete: { get: () => super.delete } });
151
+ return __awaiter(this, void 0, void 0, function* () {
152
+ return _super.delete.call(this, entityOrId);
153
+ });
154
+ }
155
+ /**
156
+ * Assign role to user group.
157
+ *
158
+ * @param {string | number | Partial<IUserGroup>} entityOrId User group's id or user group object.
159
+ * @param {string | Partial<ISource>} childEntityOrSelf Url to role resource or IRoleReference object.
160
+ *
161
+ * @returns Returns promise object that is resolved with the IRoleReference wrapped by IResult.
162
+ *
163
+ * **Example**
164
+ * ```typescript
165
+ *
166
+ * const userGroupId: number = 1;
167
+ * const roleResource: string = "[URL to the Role resource]";
168
+ *
169
+ * (async () => {
170
+ * const {data, res} = await userGroupService.addRoleToGroup(userGroupId, roleResource);
171
+ * })();
172
+ * ```
173
+ * When role is assigned to user, suitable audit record is created with type 'User' and activity 'User updated'.
174
+ */
175
+ addRoleToGroup(entityOrId, childEntityOrSelf) {
176
+ return __awaiter(this, void 0, void 0, function* () {
177
+ return this.addChild(ChildType.ROLES, entityOrId, childEntityOrSelf);
178
+ });
179
+ }
180
+ /**
181
+ * Unassign role from user
182
+ *
183
+ * @param {string | number | Partial<IUserGroup>} entityOrId User group's id or user group object.
184
+ * @param {string | Partial<ISource>} childEntityOrSelf Url to user resource or IRoleReference object.
185
+ *
186
+ * @returns Returns promise object that is resolved with the IResult of null.
187
+ *
188
+ * **Example**
189
+ * ```typescript
190
+ *
191
+ * const userGroupId: number = 1;
192
+ * const userResource: string = "[URL to the Role resource]";
193
+ *
194
+ * (async () => {
195
+ * const {data, res} = await userGroupService.removeRoleFromGroup(userGroupId, userResource);
196
+ * })();
197
+ * ```
198
+ */
199
+ removeRoleFromGroup(entityOrId, childEntityOrSelf) {
200
+ return __awaiter(this, void 0, void 0, function* () {
201
+ return this.removeChild(ChildType.ROLES, entityOrId, childEntityOrSelf);
202
+ });
203
+ }
204
+ /**
205
+ * Assign user to user group.
206
+ *
207
+ * @param {string | number | Partial<IUserGroup>} entityOrId User group's id or user group object.
208
+ * @param {string | Partial<ISource>} childEntityOrSelf Url to user resource or IUserReference object.
209
+ *
210
+ * @returns Returns promise object that is resolved with the IUserReference wrapped by IResult.
211
+ *
212
+ * **Example**
213
+ * ```typescript
214
+ *
215
+ * const userGroupId: number = 1;
216
+ * const userResource: string = "[URL to the User resource]";
217
+ *
218
+ * (async () => {
219
+ * const {data, res} = await userGroupService.addUserToGroup(userGroupId, userResource);
220
+ * })();
221
+ * ```
222
+ * When user is added to group, suitable audit record is created with type 'User' and activity 'User updated'.
223
+ */
224
+ addUserToGroup(entityOrId, childEntityOrSelf) {
225
+ return __awaiter(this, void 0, void 0, function* () {
226
+ return this.addChild(ChildType.USERS, entityOrId, childEntityOrSelf);
227
+ });
228
+ }
229
+ /**
230
+ * Remove user from a group
231
+ *
232
+ * @param {string | number | Partial<IUserGroup>} entityOrId User group's id or user group object.
233
+ * @param {string | Partial<ISource>} childEntityOrSelf Url to user resource or IUserReference object.
234
+ *
235
+ * @returns Returns promise object that is resolved with the IResult of null.
236
+ *
237
+ * **Example**
238
+ * ```typescript
239
+ *
240
+ * const userGroupId: number = 1;
241
+ * const userResource: string = "[URL to the User resource]";
242
+ *
243
+ * (async () => {
244
+ * const {data, res} = await userGroupService.removeUserFromGroup(userGroupId, userResource);
245
+ * })();
246
+ * ```
247
+ * When user is removed from group, suitable audit record is created with type 'User' and activity 'User updated'.
248
+ */
249
+ removeUserFromGroup(entityOrId, childEntityOrSelf) {
250
+ return __awaiter(this, void 0, void 0, function* () {
251
+ return this.removeChild(ChildType.USERS, entityOrId, childEntityOrSelf);
252
+ });
253
+ }
254
+ getSelf(childReference) {
255
+ if (typeof childReference === "object" && childReference.self) return childReference.self;
256
+ else return childReference;
257
+ }
258
+ getChildUrl(type, userGroupOrId) {
259
+ return `${this.getDetailUrl(userGroupOrId)}/${type}`;
260
+ }
261
+ getChildReferenceAsBody(type, childReference) {
262
+ const childSelf = this.getSelf(childReference);
263
+ switch (type) {
264
+ case ChildType.ROLES: return JSON.stringify({ role: { self: String(childSelf) } });
265
+ case ChildType.USERS: return JSON.stringify({ user: { self: String(childSelf) } });
266
+ }
267
+ throw new Error("UserGroupService -> getChild -> unsupported child type");
268
+ }
269
+ addChild(type, userGroupOrId, childReference) {
270
+ return __awaiter(this, void 0, void 0, function* () {
271
+ const url = this.getChildUrl(type, userGroupOrId);
272
+ const method = "POST";
273
+ const body = this.getChildReferenceAsBody(type, childReference);
274
+ const res = yield this.fetch(url, {
275
+ method,
276
+ body,
277
+ headers: {
278
+ accept: "application/json",
279
+ "content-type": "application/json"
280
+ }
281
+ });
282
+ let data = yield res.json();
283
+ data = data.managedObject;
284
+ return {
285
+ res,
286
+ data
287
+ };
288
+ });
289
+ }
290
+ removeChild(type, userGroupOrId, childReference) {
291
+ return __awaiter(this, void 0, void 0, function* () {
292
+ const childId = this.getIdString(childReference);
293
+ const url = `${this.getChildUrl(type, userGroupOrId)}/${encodeURIComponent(String(childId))}`;
294
+ return {
295
+ res: yield this.fetch(url, {
296
+ method: "DELETE",
297
+ headers: { accept: "application/json" }
298
+ }),
299
+ data: null
300
+ };
301
+ });
302
+ }
303
+ };
304
+
305
+ //#endregion
306
+ export { UserGroupService };
@@ -0,0 +1,3 @@
1
+ import { UserGroupService } from "./UserGroupService.mjs";
2
+
3
+ export { };
@@ -0,0 +1,70 @@
1
+ import { __awaiter } from "../../../../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.mjs";
2
+ import { Service } from "../core/Service.mjs";
3
+ import "../core/index.mjs";
4
+
5
+ //#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/esm2015/src/user-role/UserRoleService.js
6
+ /**
7
+ * @description
8
+ * This service allows for fetch user roles.
9
+ */
10
+ var UserRoleService = class extends Service {
11
+ constructor() {
12
+ super(...arguments);
13
+ this.baseUrl = "user";
14
+ this.listUrl = "roles";
15
+ this.propertyName = "roles";
16
+ }
17
+ /**
18
+ * Gets the details of given role.
19
+ *
20
+ * @param {string|number|IRole} entityOrId Roles's id or role object.
21
+ *
22
+ * @returns Returns promise object that is resolved with the IRole wrapped by IResult.
23
+ *
24
+ * **Example**
25
+ * ```typescript
26
+ *
27
+ * const roleId: number = 1;
28
+ *
29
+ * (async () => {
30
+ * const {data, res} = await userRoleService.detail(roleId);
31
+ * })();
32
+ * ```
33
+ */
34
+ detail(entityOrId) {
35
+ const _super = Object.create(null, { detail: { get: () => super.detail } });
36
+ return __awaiter(this, void 0, void 0, function* () {
37
+ return _super.detail.call(this, entityOrId);
38
+ });
39
+ }
40
+ /**
41
+ * Gets the list of user roles filtered by parameters.
42
+ *
43
+ * @param {object} filter Object containing filters for querying roles.
44
+ *
45
+ * @returns Returns promise object that is resolved with the IRole wrapped by IResultList.
46
+ *
47
+ * **Example**
48
+ * ```typescript
49
+ *
50
+ * const filter: object = {
51
+ * severity: Severity.MAJOR,
52
+ * pageSize: 100,
53
+ * withTotalPages: true
54
+ * };
55
+ *
56
+ * (async () => {
57
+ * const {data, res, paging} = await userRoleService.list(filter);
58
+ * })();
59
+ * ```
60
+ */
61
+ list() {
62
+ const _super = Object.create(null, { list: { get: () => super.list } });
63
+ return __awaiter(this, arguments, void 0, function* (filter = {}) {
64
+ return _super.list.call(this, filter);
65
+ });
66
+ }
67
+ };
68
+
69
+ //#endregion
70
+ export { UserRoleService };
@@ -0,0 +1,3 @@
1
+ import { UserRoleService } from "./UserRoleService.mjs";
2
+
3
+ export { };
@@ -0,0 +1,218 @@
1
+ import { IFetchOptions } from "./core/IFetchOptions.mjs";
2
+ import { IFetchResponse } from "./core/IFetchResponse.mjs";
3
+ import { Realtime } from "./realtime/Realtime.mjs";
4
+ import { IAuthentication, ICredentials } from "./core/IAuthentication.mjs";
5
+ import { FetchClient } from "./core/FetchClient.mjs";
6
+ import { EventService } from "./event/EventService.mjs";
7
+ import { InventoryBinaryService } from "./inventory/InventoryBinaryService.mjs";
8
+ import { InventoryService } from "./inventory/InventoryService.mjs";
9
+ import { MeasurementService } from "./measurement/MeasurementService.mjs";
10
+ import { AlarmService } from "./alarm/AlarmService.mjs";
11
+ import { OperationService } from "./operation/OperationService.mjs";
12
+ import { OperationBulkService } from "./operation/OperationBulkService.mjs";
13
+ import { TenantService } from "./tenant/TenantService.mjs";
14
+ import { UserRoleService } from "./user-role/UserRoleService.mjs";
15
+ import { UserGroupService } from "./user-group/UserGroupService.mjs";
16
+ import { UserService } from "./user/UserService.mjs";
17
+ import { ApplicationService } from "./application/ApplicationService.mjs";
18
+ import { SystemOptionsService } from "./system-options/SystemOptionsService.mjs";
19
+ import { TenantOptionsService } from "./tenant-options/TenantOptionsService.mjs";
20
+ import { TenantSecurityOptionsService } from "./tenant-security-options/TenantSecurityOptionsService.mjs";
21
+ import { TenantLoginOptionsService } from "./tenant-login-options/TenantLoginOptionsService.mjs";
22
+ import { AuditService } from "./audit/AuditService.mjs";
23
+ import { InventoryRoleService } from "./inventory-role/InventoryRoleService.mjs";
24
+ import { DeviceRegistrationService } from "./device-registration/DeviceRegistrationService.mjs";
25
+ import { DeviceRegistrationBulkService } from "./device-registration/DeviceRegistrationBulkService.mjs";
26
+ import { IdentityService } from "./identity/IdentityService.mjs";
27
+ import { SmartGroupsService } from "./smart-groups/SmartGroupsService.mjs";
28
+ import { SmartRulesService } from "./smart-rules/SmartRulesService.mjs";
29
+
30
+ //#region node_modules/.pnpm/@c8y+client@1023.17.8_encoding@0.1.13/node_modules/@c8y/client/lib/src/Client.d.ts
31
+ interface IBootstrapOptions {
32
+ deviceId: string;
33
+ basicAuthToken: string;
34
+ timeout?: number;
35
+ expire?: number;
36
+ baseUrl?: string;
37
+ }
38
+ declare class Client {
39
+ /**
40
+ * Authenticates the given user. Determines the tenant by itself via a call to tenant/currentTenant.
41
+ *
42
+ * **Example**
43
+ * ```typescript
44
+ *
45
+ * let client: Client;
46
+ * (async () => {
47
+ * client = await Client.authenticate({
48
+ * user: 'testuser',
49
+ * password: 'password1337!'
50
+ * }, 'https://acme.cumulocity.com');
51
+ *
52
+ * //you have access to the client api now
53
+ * const { data, paging, res }); = await client.inventory.list({ pageSize: 100 });
54
+ * })();
55
+ * ```
56
+ */
57
+ static authenticate(credentials: ICredentials, baseUrl?: string): Promise<Client>;
58
+ /**
59
+ * Authenticates the given user via OAuth Internal. Determines the tenant by itself via a call to tenant/currentTenant.
60
+ * Login call goes to `/tenant/oauth/token` and the retrieved token will be added in the `Authorization` header to subsequent requests.
61
+ *
62
+ * **Example**
63
+ * ```typescript
64
+ *
65
+ * let client: Client;
66
+ * (async () => {
67
+ * client = await Client.authenticateViaOAuthInternal({
68
+ * user: 'testuser',
69
+ * password: 'password1337!'
70
+ * }, 'https://acme.cumulocity.com');
71
+ *
72
+ * //you have access to the client api now
73
+ * const { data, paging, res }); = await client.inventory.list({ pageSize: 100 });
74
+ * })();
75
+ * ```
76
+ */
77
+ static authenticateViaOAuthInternal(credentials: ICredentials, baseUrl?: string): Promise<Client>;
78
+ /**
79
+ * Authenticates the given user via OAuth Internal. Determines the tenant by itself via a call to tenant/currentTenant.
80
+ * Login call goes to `/tenant/oauth` and the retrieved token will be attached as a Cookie in browser environments to subsequent requests (using 'CookieAuth').
81
+ * In none browser environments (e.g. nodejs) the retrieved token will be added in the `Authorization` header to subsequent requests (using 'NodeJSCookieAuth').
82
+ *
83
+ * **Example**
84
+ * ```typescript
85
+ *
86
+ * let client: Client;
87
+ * (async () => {
88
+ * client = await Client.authenticateViaOAuthInternalCookie({
89
+ * user: 'testuser',
90
+ * password: 'password1337!'
91
+ * }, 'https://acme.cumulocity.com');
92
+ *
93
+ * //you have access to the client api now
94
+ * const { data, paging, res }); = await client.inventory.list({ pageSize: 100 });
95
+ * })();
96
+ * ```
97
+ */
98
+ static authenticateViaOAuthInternalCookie(credentials: ICredentials, baseUrl?: string): Promise<Client>;
99
+ /**
100
+ * Allows to use http to register a device on the platform.
101
+ *
102
+ * **Deprecated** Please use MQTT to bootstrap a device.
103
+ */
104
+ static deviceBootstrap(options: IBootstrapOptions): Promise<Client>;
105
+ /**
106
+ * Retrieves microservice credentials for the subscribed tenants
107
+ * using provided bootstrap credentials
108
+ *
109
+ * **Example**
110
+ * ```typescript
111
+ *
112
+ * (async () => {
113
+ * const subscriptions = await Client.getMicroserviceSubscriptions({
114
+ * tenant: process.env.C8Y_BOOTSTRAP_TENANT,
115
+ * user: process.env.C8Y_BOOTSTRAP_USER,
116
+ * password: process.env.C8Y_BOOTSTRAP_PASSWORD
117
+ * }, process.env.C8Y_BASEURL);
118
+ *
119
+ * const clients = subscriptions.map(subscription => new Client(new BasicAuth(subscription), process.env.C8Y_BASEURL));
120
+ * // you have access to the client api now
121
+ * const promiseArray = clients.map(client => client.options.tenant.detail({
122
+ * category: process.env.APPLICATION_KEY,
123
+ * key: 'someSetting'
124
+ * }));
125
+ * })();
126
+ * ```
127
+ */
128
+ static getMicroserviceSubscriptions(bootstrapCredentials: ICredentials, baseUrl?: string, fetchOptions?: IFetchOptions): Promise<ICredentials[]>;
129
+ /**
130
+ * Performs the OAuth Internal login.
131
+ *
132
+ * If the parameter `bearerAuth` is set to true (default), the `/tenant/oauth/token` endpoint is called and a string containing the token returned.
133
+ *
134
+ * If the parameter `bearerAuth` is set to false, the `/tenant/oauth` endpoint is called and a Cookie should be set and the response returned.
135
+ * The response can be used in none browser environments to extract the `set-cookie` header from it.
136
+ *
137
+ * **Example**
138
+ * ```typescript
139
+ *
140
+ * (async () => {
141
+ * const client = await Client.loginViaOAuthInternal({
142
+ * tenant: process.env.C8Y_BOOTSTRAP_TENANT,
143
+ * user: process.env.C8Y_BOOTSTRAP_USER,
144
+ * password: process.env.C8Y_BOOTSTRAP_PASSWORD
145
+ * }, true, process.env.C8Y_BASEURL);
146
+ *
147
+ * // you have access to the client api now
148
+ * const option = client.options.tenant.detail({
149
+ * category: process.env.APPLICATION_KEY,
150
+ * key: 'someSetting'
151
+ * });
152
+ * })();
153
+ * ```
154
+ */
155
+ static loginViaOAuthInternal(credentials: ICredentials, bearerAuth?: true, baseUrl?: string): Promise<string>;
156
+ static loginViaOAuthInternal(credentials: ICredentials, bearerAuth: false, baseUrl?: string): Promise<IFetchResponse>;
157
+ private static getCurrentTenant;
158
+ alarm: AlarmService;
159
+ application: ApplicationService;
160
+ audit: AuditService;
161
+ core: FetchClient;
162
+ deviceRegistration: DeviceRegistrationService;
163
+ deviceRegistrationBulk: DeviceRegistrationBulkService;
164
+ event: EventService;
165
+ inventory: InventoryService;
166
+ inventoryRole: InventoryRoleService;
167
+ inventoryBinary: InventoryBinaryService;
168
+ measurement: MeasurementService;
169
+ operation: OperationService;
170
+ operationBulk: OperationBulkService;
171
+ options: {
172
+ security: TenantSecurityOptionsService;
173
+ system: SystemOptionsService;
174
+ login: TenantLoginOptionsService;
175
+ tenant: TenantOptionsService;
176
+ };
177
+ realtime: Realtime;
178
+ role: InventoryRoleService;
179
+ tenant: TenantService;
180
+ user: UserService;
181
+ userGroup: UserGroupService;
182
+ userRole: UserRoleService;
183
+ identity: IdentityService;
184
+ smartGroups: SmartGroupsService;
185
+ smartRules: SmartRulesService;
186
+ /**
187
+ * Initializes a new Client, which allows to request data from the API. Differently
188
+ * to Client.authenticate([...]) it needs a tenant given and does not verify if the
189
+ * login is correct.
190
+ *
191
+ * **Example**
192
+ * ```typescript
193
+ *
194
+ * const auth = new BasicAuth({
195
+ * user: 'youruser',
196
+ * password: 'yourpassword',
197
+ * tenant: 'acme'
198
+ * }); // use CookieAuth() if your platform uses oauth (only in browser!)
199
+ *
200
+ * const baseUrl = 'https://acme.cumulocity.com';
201
+ * const client = new Client(auth, baseUrl);
202
+ * (async () => {
203
+ * const { data, paging, res }); = await client.inventory.list({ pageSize: 100 });
204
+ * })();
205
+ * ```
206
+ *
207
+ * @param auth The Authentication strategy to use (e.g. new BasicAuth())
208
+ * @param baseUrl The URL to request (optional in browser, mandatory in node)
209
+ */
210
+ constructor(auth: IAuthentication, baseUrl?: string);
211
+ /**
212
+ * Allows to change the current Authentication
213
+ * @param auth The new Authentication information.
214
+ */
215
+ setAuth(auth: IAuthentication): void;
216
+ }
217
+ //#endregion
218
+ export { Client, IBootstrapOptions };