@northern.tech/store 0.29.0 → 0.30.0

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 (178) hide show
  1. package/dist/actions.cjs +0 -1
  2. package/dist/actions.cjs.map +1 -1
  3. package/dist/actions.js +9 -9
  4. package/dist/api/general-api.cjs.map +1 -1
  5. package/dist/api/general-api.js +3 -3
  6. package/dist/api/users-api.cjs.map +1 -1
  7. package/dist/api/users-api.js +4 -4
  8. package/dist/appSlice/index.cjs +0 -1
  9. package/dist/appSlice/index.cjs.map +1 -1
  10. package/dist/appSlice/index.js +2 -2
  11. package/dist/appSlice/mocks.cjs +0 -1
  12. package/dist/appSlice/mocks.cjs.map +1 -1
  13. package/dist/appSlice/mocks.js +2 -2
  14. package/dist/appSlice/thunks.cjs +25 -31
  15. package/dist/appSlice/thunks.cjs.map +1 -1
  16. package/dist/appSlice/thunks.js +24 -24
  17. package/dist/auth.cjs.map +1 -1
  18. package/dist/auth.js +2 -2
  19. package/dist/{chunk-2QIGK5IU.js → chunk-4UNLEL5A.js} +2 -2
  20. package/dist/{chunk-4573DUCR.js → chunk-6V5IIIF7.js} +2 -2
  21. package/dist/{chunk-Z4QLZNAN.js → chunk-ARMI6SZS.js} +13 -15
  22. package/dist/chunk-ARMI6SZS.js.map +1 -0
  23. package/dist/{chunk-KEQAPMP6.js → chunk-AZF4YY3P.js} +10 -12
  24. package/dist/chunk-AZF4YY3P.js.map +1 -0
  25. package/dist/{chunk-GX3X2E57.js → chunk-B5AI2YPV.js} +2 -3
  26. package/dist/chunk-B5AI2YPV.js.map +1 -0
  27. package/dist/{chunk-WXRYJOL3.js → chunk-ECVQVQEL.js} +2 -2
  28. package/dist/{chunk-FXPRG4WH.js → chunk-FCY7BUGK.js} +40 -39
  29. package/dist/chunk-FCY7BUGK.js.map +1 -0
  30. package/dist/{chunk-525LX7VL.js → chunk-FG37HJLC.js} +2 -2
  31. package/dist/{chunk-SDHCQ62K.js → chunk-FQAUVV6C.js} +2 -2
  32. package/dist/{chunk-5OLM3HEG.js → chunk-HKN3RN2Z.js} +8 -8
  33. package/dist/{chunk-XHLNGIAP.js → chunk-HPKXWNEF.js} +2 -2
  34. package/dist/{chunk-QX67O5A2.js → chunk-JXBTIFMS.js} +3 -3
  35. package/dist/{chunk-VK6FVQ5K.js → chunk-JYPSCCT4.js} +3 -3
  36. package/dist/{chunk-CMXRPUOF.js → chunk-L53CPHJU.js} +1 -3
  37. package/dist/chunk-L53CPHJU.js.map +1 -0
  38. package/dist/{chunk-4BUO44SS.js → chunk-MNJXEB7S.js} +11 -23
  39. package/dist/chunk-MNJXEB7S.js.map +1 -0
  40. package/dist/{chunk-UE2EPKRU.js → chunk-NXLXPRYW.js} +11 -11
  41. package/dist/{chunk-FAKWYYOB.js → chunk-O6VCSLNE.js} +2 -2
  42. package/dist/{chunk-LSAJE3IU.js → chunk-PQADM3M3.js} +2 -2
  43. package/dist/{chunk-VLII64V6.js → chunk-SJ75YKOA.js} +2 -2
  44. package/dist/{chunk-66LI4BJO.js → chunk-TUPBZ6MQ.js} +2 -2
  45. package/dist/{chunk-SDWPOLHM.js → chunk-XF3TZSZS.js} +3 -3
  46. package/dist/{chunk-HVZ5BOM6.js → chunk-YB3US6OT.js} +2 -2
  47. package/dist/{chunk-UBFFGYQ4.js → chunk-YDDE5TIH.js} +2 -2
  48. package/dist/{chunk-4YLOOOZH.js → chunk-Z2O6LYVP.js} +2 -2
  49. package/dist/commonConstants.cjs.map +1 -1
  50. package/dist/commonConstants.js +1 -1
  51. package/dist/commonSelectors.cjs +3 -15
  52. package/dist/commonSelectors.cjs.map +1 -1
  53. package/dist/commonSelectors.d.cts +6 -66
  54. package/dist/commonSelectors.d.ts +6 -66
  55. package/dist/commonSelectors.js +8 -12
  56. package/dist/constants.cjs +0 -2
  57. package/dist/constants.cjs.map +1 -1
  58. package/dist/constants.d.cts +1 -1
  59. package/dist/constants.d.ts +1 -1
  60. package/dist/constants.js +1 -3
  61. package/dist/deploymentsSlice/constants.cjs.map +1 -1
  62. package/dist/deploymentsSlice/constants.js +1 -1
  63. package/dist/deploymentsSlice/index.cjs.map +1 -1
  64. package/dist/deploymentsSlice/index.js +2 -2
  65. package/dist/deploymentsSlice/mocks.cjs.map +1 -1
  66. package/dist/deploymentsSlice/mocks.js +2 -2
  67. package/dist/deploymentsSlice/selectors.cjs.map +1 -1
  68. package/dist/deploymentsSlice/selectors.js +2 -2
  69. package/dist/deploymentsSlice/thunks.cjs +25 -31
  70. package/dist/deploymentsSlice/thunks.cjs.map +1 -1
  71. package/dist/deploymentsSlice/thunks.js +24 -24
  72. package/dist/devicesSlice/constants.cjs.map +1 -1
  73. package/dist/devicesSlice/constants.js +1 -1
  74. package/dist/devicesSlice/index.cjs.map +1 -1
  75. package/dist/devicesSlice/index.js +2 -2
  76. package/dist/devicesSlice/mocks.cjs.map +1 -1
  77. package/dist/devicesSlice/mocks.js +2 -2
  78. package/dist/devicesSlice/selectors.cjs.map +1 -1
  79. package/dist/devicesSlice/selectors.js +2 -2
  80. package/dist/devicesSlice/thunks.cjs +25 -31
  81. package/dist/devicesSlice/thunks.cjs.map +1 -1
  82. package/dist/devicesSlice/thunks.js +24 -24
  83. package/dist/liststatehook.cjs.map +1 -1
  84. package/dist/liststatehook.js +2 -2
  85. package/dist/locationutils.cjs.map +1 -1
  86. package/dist/locationutils.js +2 -2
  87. package/dist/monitorSlice/index.cjs.map +1 -1
  88. package/dist/monitorSlice/index.js +2 -2
  89. package/dist/monitorSlice/mocks.cjs +0 -1
  90. package/dist/monitorSlice/mocks.cjs.map +1 -1
  91. package/dist/monitorSlice/mocks.d.cts +0 -4
  92. package/dist/monitorSlice/mocks.d.ts +0 -4
  93. package/dist/monitorSlice/mocks.js +2 -3
  94. package/dist/monitorSlice/mocks.js.map +1 -1
  95. package/dist/monitorSlice/thunks.cjs +29 -628
  96. package/dist/monitorSlice/thunks.cjs.map +1 -1
  97. package/dist/monitorSlice/thunks.js +20 -20
  98. package/dist/onboardingSlice/thunks.cjs +25 -31
  99. package/dist/onboardingSlice/thunks.cjs.map +1 -1
  100. package/dist/onboardingSlice/thunks.js +24 -24
  101. package/dist/organizationSlice/constants.cjs.map +1 -1
  102. package/dist/organizationSlice/constants.js +1 -1
  103. package/dist/organizationSlice/index.cjs.map +1 -1
  104. package/dist/organizationSlice/index.js +2 -2
  105. package/dist/organizationSlice/mocks.cjs.map +1 -1
  106. package/dist/organizationSlice/mocks.js +2 -2
  107. package/dist/organizationSlice/selectors.cjs.map +1 -1
  108. package/dist/organizationSlice/selectors.js +2 -2
  109. package/dist/organizationSlice/thunks.cjs +25 -31
  110. package/dist/organizationSlice/thunks.cjs.map +1 -1
  111. package/dist/organizationSlice/thunks.js +24 -24
  112. package/dist/releasesSlice/index.cjs.map +1 -1
  113. package/dist/releasesSlice/index.js +2 -2
  114. package/dist/releasesSlice/mocks.cjs.map +1 -1
  115. package/dist/releasesSlice/mocks.js +2 -2
  116. package/dist/releasesSlice/selectors.cjs.map +1 -1
  117. package/dist/releasesSlice/selectors.js +3 -3
  118. package/dist/releasesSlice/thunks.cjs +99 -795
  119. package/dist/releasesSlice/thunks.cjs.map +1 -1
  120. package/dist/releasesSlice/thunks.js +16 -25
  121. package/dist/selectors.cjs +3 -15
  122. package/dist/selectors.cjs.map +1 -1
  123. package/dist/selectors.d.cts +1 -1
  124. package/dist/selectors.d.ts +1 -1
  125. package/dist/selectors.js +8 -12
  126. package/dist/sockethook.cjs.map +1 -1
  127. package/dist/sockethook.js +1 -1
  128. package/dist/store.cjs +0 -1
  129. package/dist/store.cjs.map +1 -1
  130. package/dist/store.js +11 -11
  131. package/dist/storehooks.cjs +27 -34
  132. package/dist/storehooks.cjs.map +1 -1
  133. package/dist/storehooks.js +24 -25
  134. package/dist/storehooks.js.map +1 -1
  135. package/dist/thunks.cjs +27 -33
  136. package/dist/thunks.cjs.map +1 -1
  137. package/dist/thunks.js +24 -24
  138. package/dist/useDeploymentDevice.cjs +25 -31
  139. package/dist/useDeploymentDevice.cjs.map +1 -1
  140. package/dist/useDeploymentDevice.js +24 -24
  141. package/dist/usersSlice/constants.cjs.map +1 -1
  142. package/dist/usersSlice/constants.js +1 -1
  143. package/dist/usersSlice/index.cjs.map +1 -1
  144. package/dist/usersSlice/index.js +2 -2
  145. package/dist/usersSlice/mocks.cjs.map +1 -1
  146. package/dist/usersSlice/mocks.js +2 -2
  147. package/dist/usersSlice/selectors.cjs.map +1 -1
  148. package/dist/usersSlice/selectors.js +3 -3
  149. package/dist/usersSlice/thunks.cjs +25 -31
  150. package/dist/usersSlice/thunks.cjs.map +1 -1
  151. package/dist/usersSlice/thunks.js +24 -24
  152. package/dist/utils.cjs.map +1 -1
  153. package/dist/utils.js +2 -2
  154. package/package.json +1 -1
  155. package/dist/chunk-4BUO44SS.js.map +0 -1
  156. package/dist/chunk-CMXRPUOF.js.map +0 -1
  157. package/dist/chunk-FXPRG4WH.js.map +0 -1
  158. package/dist/chunk-GX3X2E57.js.map +0 -1
  159. package/dist/chunk-KEQAPMP6.js.map +0 -1
  160. package/dist/chunk-Z4QLZNAN.js.map +0 -1
  161. /package/dist/{chunk-2QIGK5IU.js.map → chunk-4UNLEL5A.js.map} +0 -0
  162. /package/dist/{chunk-4573DUCR.js.map → chunk-6V5IIIF7.js.map} +0 -0
  163. /package/dist/{chunk-WXRYJOL3.js.map → chunk-ECVQVQEL.js.map} +0 -0
  164. /package/dist/{chunk-525LX7VL.js.map → chunk-FG37HJLC.js.map} +0 -0
  165. /package/dist/{chunk-SDHCQ62K.js.map → chunk-FQAUVV6C.js.map} +0 -0
  166. /package/dist/{chunk-5OLM3HEG.js.map → chunk-HKN3RN2Z.js.map} +0 -0
  167. /package/dist/{chunk-XHLNGIAP.js.map → chunk-HPKXWNEF.js.map} +0 -0
  168. /package/dist/{chunk-QX67O5A2.js.map → chunk-JXBTIFMS.js.map} +0 -0
  169. /package/dist/{chunk-VK6FVQ5K.js.map → chunk-JYPSCCT4.js.map} +0 -0
  170. /package/dist/{chunk-UE2EPKRU.js.map → chunk-NXLXPRYW.js.map} +0 -0
  171. /package/dist/{chunk-FAKWYYOB.js.map → chunk-O6VCSLNE.js.map} +0 -0
  172. /package/dist/{chunk-LSAJE3IU.js.map → chunk-PQADM3M3.js.map} +0 -0
  173. /package/dist/{chunk-VLII64V6.js.map → chunk-SJ75YKOA.js.map} +0 -0
  174. /package/dist/{chunk-66LI4BJO.js.map → chunk-TUPBZ6MQ.js.map} +0 -0
  175. /package/dist/{chunk-SDWPOLHM.js.map → chunk-XF3TZSZS.js.map} +0 -0
  176. /package/dist/{chunk-HVZ5BOM6.js.map → chunk-YB3US6OT.js.map} +0 -0
  177. /package/dist/{chunk-UBFFGYQ4.js.map → chunk-YDDE5TIH.js.map} +0 -0
  178. /package/dist/{chunk-4YLOOOZH.js.map → chunk-Z2O6LYVP.js.map} +0 -0
@@ -765,7 +765,6 @@ var initialState = {
765
765
  hasManifestsEnabled: false,
766
766
  hasMonitor: false,
767
767
  hasMCUEnabled: false,
768
- hasReporting: false,
769
768
  isHosted: true,
770
769
  isEnterprise: false
771
770
  },
@@ -2208,14 +2207,6 @@ var getIsEnterprise = (0, import_toolkit15.createSelector)(
2208
2207
  [getOrganization, getFeatures],
2209
2208
  ({ plan = PLANS.os.id }, { isEnterprise, isHosted }) => isEnterprise || isHosted && plan === PLANS.enterprise.id
2210
2209
  );
2211
- var getAttrsEndpoint = (0, import_toolkit15.createSelector)(
2212
- [getFeatures],
2213
- ({ hasReporting }) => hasReporting ? `${import_constants5.reportingApiUrl}/devices/search/attributes` : `${import_constants5.inventoryApiUrlV2}/filters/attributes`
2214
- );
2215
- var getSearchEndpoint = (0, import_toolkit15.createSelector)(
2216
- [getFeatures],
2217
- ({ hasReporting }) => hasReporting ? `${import_constants5.reportingApiUrl}/devices/search` : `${import_constants5.inventoryApiUrlV2}/filters/search`
2218
- );
2219
2210
  var getUserRoles = (0, import_toolkit15.createSelector)([getCurrentUser, getRolesById, getIsEnterprise], (currentUser, rolesById2, isEnterprise) => {
2220
2211
  const isAdmin = currentUser.roles?.length ? currentUser.roles.some((role) => role === import_constants5.rolesByName.admin) : !isEnterprise;
2221
2212
  const uiPermissions = isAdmin ? mapUserRolesToUiPermissions([import_constants5.rolesByName.admin], rolesById2) : mapUserRolesToUiPermissions(currentUser.roles || [], rolesById2);
@@ -2349,9 +2340,9 @@ var getSelectedDeploymentData = (0, import_toolkit15.createSelector)(
2349
2340
  }
2350
2341
  );
2351
2342
  var getAvailableIssueOptionsByType = (0, import_toolkit15.createSelector)(
2352
- [getFeatures, getTenantCapabilities, getIssueCountsByType],
2353
- ({ hasReporting }, { hasFullFiltering, hasMonitor }, issueCounts) => Object.values(import_constants5.DEVICE_ISSUE_OPTIONS).reduce((accu, { isCategory, key, needsFullFiltering, needsMonitor, needsReporting, title }) => {
2354
- if (isCategory || needsReporting && !hasReporting || needsFullFiltering && !hasFullFiltering || needsMonitor && !hasMonitor) {
2343
+ [getTenantCapabilities, getIssueCountsByType],
2344
+ ({ hasFullFiltering, hasMonitor }, issueCounts) => Object.values(import_constants5.DEVICE_ISSUE_OPTIONS).reduce((accu, { isCategory, key, needsFullFiltering, needsMonitor, title }) => {
2345
+ if (isCategory || needsFullFiltering && !hasFullFiltering || needsMonitor && !hasMonitor) {
2355
2346
  return accu;
2356
2347
  }
2357
2348
  accu[key] = { count: issueCounts[key].filtered, key, title };
@@ -3348,7 +3339,7 @@ var getAllGroupDevices = createAppAsyncThunk(
3348
3339
  state: getState(),
3349
3340
  status: import_constants5.DEVICE_STATES.accepted
3350
3341
  });
3351
- const getAllDevices = (perPage = MAX_PAGE_SIZE, page = defaultPage2, devices = []) => general_api_default.post(getSearchEndpoint(getState()), {
3342
+ const getAllDevices = (perPage = MAX_PAGE_SIZE, page = defaultPage2, devices = []) => general_api_default.post(`${import_constants5.inventoryApiUrlV2}/filters/search`, {
3352
3343
  page,
3353
3344
  per_page: perPage,
3354
3345
  filters: filterTerms,
@@ -3377,18 +3368,21 @@ var getAllDynamicGroupDevices = createAppAsyncThunk(
3377
3368
  state: getState(),
3378
3369
  status: import_constants5.DEVICE_STATES.accepted
3379
3370
  });
3380
- const getAllDevices = (perPage = MAX_PAGE_SIZE, page = defaultPage2, devices = []) => general_api_default.post(getSearchEndpoint(getState()), { page, per_page: perPage, filters, attributes: [...attributes, { scope: "inventory", attribute }] }).then(
3381
- (res) => {
3382
- const state = getState();
3383
- const deviceAccu = reduceReceivedDevices(res.data, devices, state);
3384
- dispatch(actions3.receivedDevices(deviceAccu.devicesById));
3385
- const total = Number(res.headers[import_constants5.headerNames.total]);
3386
- if (total > deviceAccu.ids.length) {
3387
- return getAllDevices(perPage, page + 1, deviceAccu.ids);
3388
- }
3389
- return Promise.resolve(dispatch(actions3.addGroup({ group: { deviceIds: deviceAccu.ids, total }, groupName: group })));
3371
+ const getAllDevices = (perPage = MAX_PAGE_SIZE, page = defaultPage2, devices = []) => general_api_default.post(`${import_constants5.inventoryApiUrlV2}/filters/search`, {
3372
+ page,
3373
+ per_page: perPage,
3374
+ filters,
3375
+ attributes: [...attributes, { scope: "inventory", attribute }]
3376
+ }).then((res) => {
3377
+ const state = getState();
3378
+ const deviceAccu = reduceReceivedDevices(res.data, devices, state);
3379
+ dispatch(actions3.receivedDevices(deviceAccu.devicesById));
3380
+ const total = Number(res.headers[import_constants5.headerNames.total]);
3381
+ if (total > deviceAccu.ids.length) {
3382
+ return getAllDevices(perPage, page + 1, deviceAccu.ids);
3390
3383
  }
3391
- );
3384
+ return Promise.resolve(dispatch(actions3.addGroup({ group: { deviceIds: deviceAccu.ids, total }, groupName: group })));
3385
+ });
3392
3386
  return getAllDevices();
3393
3387
  }
3394
3388
  );
@@ -3516,7 +3510,7 @@ var getDevicesByStatus2 = createAppAsyncThunk(
3516
3510
  status
3517
3511
  });
3518
3512
  const attributes = [...defaultAttributes, getIdAttribute(getState()), ...selectedAttributes];
3519
- return general_api_default.post(getSearchEndpoint(getState()), {
3513
+ return general_api_default.post(`${import_constants5.inventoryApiUrlV2}/filters/search`, {
3520
3514
  page,
3521
3515
  per_page: perPage,
3522
3516
  filters: filterTerms,
@@ -3546,7 +3540,7 @@ var getAllDevicesByStatus = createAppAsyncThunk(
3546
3540
  `${sliceName3}/getAllDevicesByStatus`,
3547
3541
  ({ status, attribute }, { dispatch, getState }) => {
3548
3542
  const attributes = [...defaultAttributes, getIdAttribute(getState())];
3549
- const getAllDevices = (perPage = MAX_PAGE_SIZE, page = 1, devices = []) => general_api_default.post(getSearchEndpoint(getState()), {
3543
+ const getAllDevices = (perPage = MAX_PAGE_SIZE, page = 1, devices = []) => general_api_default.post(`${import_constants5.inventoryApiUrlV2}/filters/search`, {
3550
3544
  page,
3551
3545
  per_page: perPage,
3552
3546
  filters: mapFiltersToTerms([{ key: "status", value: status, operator: import_constants5.DEVICE_FILTERING_OPTIONS.$eq.key, scope: "identity" }]),
@@ -3574,7 +3568,7 @@ var searchDevices = createAppAsyncThunk(`${sliceName3}/searchDevices`, (passedOp
3574
3568
  const { columnSelection = [] } = getUserSettings(state);
3575
3569
  const selectedAttributes = columnSelection.map((column) => ({ attribute: column.key, scope: column.scope }));
3576
3570
  const attributes = (0, import_helpers9.attributeDuplicateFilter)([...defaultAttributes, getIdAttribute(state), ...selectedAttributes], "attribute");
3577
- return general_api_default.post(getSearchEndpoint(getState()), {
3571
+ return general_api_default.post(`${import_constants5.inventoryApiUrlV2}/filters/search`, {
3578
3572
  page,
3579
3573
  per_page: 10,
3580
3574
  filters: [],
@@ -3602,7 +3596,7 @@ var attributeReducer = (attributes = []) => attributes.slice(0, ATTRIBUTE_LIST_C
3602
3596
  );
3603
3597
  var getDeviceAttributes = createAppAsyncThunk(
3604
3598
  `${sliceName3}/getDeviceAttributes`,
3605
- (_, { dispatch, getState }) => general_api_default.get(getAttrsEndpoint(getState())).then(({ data }) => {
3599
+ (_, { dispatch }) => general_api_default.get(`${import_constants5.inventoryApiUrlV2}/filters/attributes`).then(({ data }) => {
3606
3600
  const { identity: identityAttributes, inventory: inventoryAttributes, system: systemAttributes, tags: tagAttributes } = attributeReducer(data || []);
3607
3601
  return dispatch(actions3.setFilterAttributes({ identityAttributes, inventoryAttributes, systemAttributes, tagAttributes }));
3608
3602
  })
@@ -3902,7 +3896,7 @@ var getSystemDevices = createAppAsyncThunk(`${sliceName3}/getSystemDevices`, (op
3902
3896
  { ...emptyFilter, key: "mender_gateway_system_id", value: mender_gateway_system_id, scope: "inventory" }
3903
3897
  ];
3904
3898
  const { attributes, filterTerms } = prepareSearchArguments({ filters, state });
3905
- return general_api_default.post(getSearchEndpoint(getState()), {
3899
+ return general_api_default.post(`${import_constants5.inventoryApiUrlV2}/filters/search`, {
3906
3900
  page,
3907
3901
  per_page: perPage,
3908
3902
  filters: filterTerms,
@@ -3929,7 +3923,7 @@ var getGatewayDevices = createAppAsyncThunk(`${sliceName3}/getGatewayDevices`, (
3929
3923
  { ...emptyFilter, key: "mender_gateway_system_id", value: mender_gateway_system_id, scope: "inventory" }
3930
3924
  ];
3931
3925
  const { attributes: attributeSelection, filterTerms } = prepareSearchArguments({ filters, state });
3932
- return general_api_default.post(getSearchEndpoint(getState()), {
3926
+ return general_api_default.post(`${import_constants5.inventoryApiUrlV2}/filters/search`, {
3933
3927
  page: 1,
3934
3928
  per_page: MAX_PAGE_SIZE,
3935
3929
  filters: filterTerms,
@@ -3981,7 +3975,7 @@ var getIssueCountsByType2 = createAppAsyncThunk(
3981
3975
  selectedIssues: [type],
3982
3976
  status
3983
3977
  });
3984
- return general_api_default.post(getSearchEndpoint(getState()), {
3978
+ return general_api_default.post(`${import_constants5.inventoryApiUrlV2}/filters/search`, {
3985
3979
  page: 1,
3986
3980
  per_page: 1,
3987
3981
  filters: filterTerms,
@@ -4603,7 +4597,7 @@ var getArtifactInstallCount = createAppAsyncThunk(`${sliceName7}/getArtifactInst
4603
4597
  const { filterTerms } = convertDeviceListStateToFilters({
4604
4598
  filters: [{ ...emptyFilter, key: attribute, value: version, scope: "inventory" }]
4605
4599
  });
4606
- return general_api_default.post(getSearchEndpoint(getState()), {
4600
+ return general_api_default.post(`${import_constants5.inventoryApiUrlV2}/filters/search`, {
4607
4601
  page: 1,
4608
4602
  per_page: 1,
4609
4603
  filters: filterTerms,
@@ -4643,7 +4637,7 @@ var getArtifactUrl = createAppAsyncThunk(
4643
4637
  ...release,
4644
4638
  artifacts: releaseArtifacts
4645
4639
  };
4646
- return dispatch(actions7.receiveRelease(release));
4640
+ return Promise.all([Promise.resolve(dispatch(actions7.receiveRelease(release))), Promise.resolve(response.data.uri)]);
4647
4641
  })
4648
4642
  );
4649
4643
  var pollLocation = async (location, attempt = 1, maxAttempts = 5, delay = TIMEOUTS.oneSecond) => {
@@ -5616,7 +5610,6 @@ var featureFlags = [
5616
5610
  "hasDeviceConfig",
5617
5611
  "hasDeviceConnect",
5618
5612
  "hasFeedbackEnabled",
5619
- "hasReporting",
5620
5613
  "hasManifestsEnabled",
5621
5614
  "hasMonitor",
5622
5615
  "hasMCUEnabled",