@northern.tech/store 0.19.2 → 0.21.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 (148) hide show
  1. package/dist/actions.cjs +3 -0
  2. package/dist/actions.cjs.map +1 -1
  3. package/dist/actions.d.cts +2 -1
  4. package/dist/actions.d.ts +2 -1
  5. package/dist/actions.js +3 -3
  6. package/dist/api/general-api.js +1 -1
  7. package/dist/api/users-api.js +1 -1
  8. package/dist/appSlice/constants.cjs +3 -45
  9. package/dist/appSlice/constants.cjs.map +1 -1
  10. package/dist/appSlice/constants.d.cts +0 -15
  11. package/dist/appSlice/constants.d.ts +0 -15
  12. package/dist/appSlice/constants.js +1 -1
  13. package/dist/appSlice/index.js +1 -1
  14. package/dist/appSlice/mocks.js +1 -1
  15. package/dist/appSlice/thunks.cjs +14 -56
  16. package/dist/appSlice/thunks.cjs.map +1 -1
  17. package/dist/appSlice/thunks.js +13 -13
  18. package/dist/auth.js +1 -1
  19. package/dist/{chunk-KJ2SUFAU.js → chunk-4UV7ZJXY.js} +77 -12
  20. package/dist/chunk-4UV7ZJXY.js.map +1 -0
  21. package/dist/{chunk-43ZBO3JW.js → chunk-4ZYLGBJU.js} +2 -2
  22. package/dist/{chunk-45BHMNX6.js → chunk-6PYYMAFS.js} +6 -6
  23. package/dist/{chunk-ZAZTNDSY.js → chunk-7KSKENLP.js} +3 -3
  24. package/dist/{chunk-AV7SRATY.js → chunk-7VFPMJCH.js} +6 -6
  25. package/dist/{chunk-B3C6H2PR.js → chunk-7WIISD2N.js} +17 -14
  26. package/dist/{chunk-B3C6H2PR.js.map → chunk-7WIISD2N.js.map} +1 -1
  27. package/dist/{chunk-AJ6DIDO4.js → chunk-DBBE6D36.js} +4 -46
  28. package/dist/chunk-DBBE6D36.js.map +1 -0
  29. package/dist/{chunk-RJRZXDVT.js → chunk-GHATCG2U.js} +2 -2
  30. package/dist/{chunk-42GZ6FGV.js → chunk-PL6RIFD5.js} +2 -2
  31. package/dist/{chunk-VCEFZTWS.js → chunk-TIL2S3JA.js} +4 -1
  32. package/dist/chunk-TIL2S3JA.js.map +1 -0
  33. package/dist/{chunk-O7DR57RN.js → chunk-ZGRY42BZ.js} +9 -12
  34. package/dist/{chunk-O7DR57RN.js.map → chunk-ZGRY42BZ.js.map} +1 -1
  35. package/dist/{chunk-XOASGJZU.js → chunk-ZVE23XXF.js} +7 -7
  36. package/dist/{chunk-3NOV7X4M.js → chunk-ZZQJWNQT.js} +3 -1
  37. package/dist/chunk-ZZQJWNQT.js.map +1 -0
  38. package/dist/commonConstants.js +1 -1
  39. package/dist/commonSelectors.cjs +11 -56
  40. package/dist/commonSelectors.cjs.map +1 -1
  41. package/dist/commonSelectors.js +7 -7
  42. package/dist/constants.cjs +3 -45
  43. package/dist/constants.cjs.map +1 -1
  44. package/dist/constants.js +1 -1
  45. package/dist/deploymentsSlice/constants.js +1 -1
  46. package/dist/deploymentsSlice/index.js +1 -1
  47. package/dist/deploymentsSlice/mocks.js +1 -1
  48. package/dist/deploymentsSlice/selectors.js +1 -1
  49. package/dist/deploymentsSlice/thunks.cjs +14 -56
  50. package/dist/deploymentsSlice/thunks.cjs.map +1 -1
  51. package/dist/deploymentsSlice/thunks.js +13 -13
  52. package/dist/devicesSlice/constants.js +1 -1
  53. package/dist/devicesSlice/index.js +1 -1
  54. package/dist/devicesSlice/mocks.js +1 -1
  55. package/dist/devicesSlice/selectors.cjs +8 -11
  56. package/dist/devicesSlice/selectors.cjs.map +1 -1
  57. package/dist/devicesSlice/selectors.js +2 -2
  58. package/dist/devicesSlice/thunks.cjs +14 -56
  59. package/dist/devicesSlice/thunks.cjs.map +1 -1
  60. package/dist/devicesSlice/thunks.js +13 -13
  61. package/dist/liststatehook.js +1 -1
  62. package/dist/locationutils.js +1 -1
  63. package/dist/monitorSlice/index.js +1 -1
  64. package/dist/monitorSlice/mocks.js +1 -1
  65. package/dist/monitorSlice/thunks.cjs +14 -56
  66. package/dist/monitorSlice/thunks.cjs.map +1 -1
  67. package/dist/monitorSlice/thunks.js +11 -11
  68. package/dist/onboardingSlice/thunks.cjs +14 -56
  69. package/dist/onboardingSlice/thunks.cjs.map +1 -1
  70. package/dist/onboardingSlice/thunks.js +13 -13
  71. package/dist/organizationSlice/constants.js +1 -1
  72. package/dist/organizationSlice/index.cjs +3 -0
  73. package/dist/organizationSlice/index.cjs.map +1 -1
  74. package/dist/organizationSlice/index.d.cts +4 -1
  75. package/dist/organizationSlice/index.d.ts +4 -1
  76. package/dist/organizationSlice/index.js +2 -2
  77. package/dist/organizationSlice/mocks.cjs +175 -0
  78. package/dist/organizationSlice/mocks.cjs.map +1 -1
  79. package/dist/organizationSlice/mocks.d.cts +121 -2
  80. package/dist/organizationSlice/mocks.d.ts +121 -2
  81. package/dist/organizationSlice/mocks.js +87 -2
  82. package/dist/organizationSlice/mocks.js.map +1 -1
  83. package/dist/organizationSlice/selectors.cjs +3 -0
  84. package/dist/organizationSlice/selectors.cjs.map +1 -1
  85. package/dist/organizationSlice/selectors.d.cts +3 -2
  86. package/dist/organizationSlice/selectors.d.ts +3 -2
  87. package/dist/organizationSlice/selectors.js +4 -2
  88. package/dist/organizationSlice/thunks.cjs +97 -71
  89. package/dist/organizationSlice/thunks.cjs.map +1 -1
  90. package/dist/organizationSlice/thunks.d.cts +17 -3
  91. package/dist/organizationSlice/thunks.d.ts +17 -3
  92. package/dist/organizationSlice/thunks.js +19 -15
  93. package/dist/organizationSlice/types.cjs.map +1 -1
  94. package/dist/organizationSlice/types.d.cts +30 -7
  95. package/dist/organizationSlice/types.d.ts +30 -7
  96. package/dist/releasesSlice/index.js +1 -1
  97. package/dist/releasesSlice/mocks.js +1 -1
  98. package/dist/releasesSlice/selectors.cjs.map +1 -1
  99. package/dist/releasesSlice/selectors.js +3 -3
  100. package/dist/releasesSlice/thunks.cjs +14 -56
  101. package/dist/releasesSlice/thunks.cjs.map +1 -1
  102. package/dist/releasesSlice/thunks.js +11 -11
  103. package/dist/selectors.cjs +14 -56
  104. package/dist/selectors.cjs.map +1 -1
  105. package/dist/selectors.d.cts +1 -1
  106. package/dist/selectors.d.ts +1 -1
  107. package/dist/selectors.js +9 -7
  108. package/dist/sockethook.js +1 -1
  109. package/dist/store.cjs +3 -0
  110. package/dist/store.cjs.map +1 -1
  111. package/dist/store.js +4 -4
  112. package/dist/storehooks.cjs +91 -69
  113. package/dist/storehooks.cjs.map +1 -1
  114. package/dist/storehooks.js +13 -13
  115. package/dist/thunks.cjs +95 -69
  116. package/dist/thunks.cjs.map +1 -1
  117. package/dist/thunks.d.cts +1 -1
  118. package/dist/thunks.d.ts +1 -1
  119. package/dist/thunks.js +17 -13
  120. package/dist/useDeploymentDevice.cjs +14 -56
  121. package/dist/useDeploymentDevice.cjs.map +1 -1
  122. package/dist/useDeploymentDevice.js +13 -13
  123. package/dist/usersSlice/constants.js +1 -1
  124. package/dist/usersSlice/index.js +1 -1
  125. package/dist/usersSlice/mocks.js +1 -1
  126. package/dist/usersSlice/selectors.cjs +3 -45
  127. package/dist/usersSlice/selectors.cjs.map +1 -1
  128. package/dist/usersSlice/selectors.js +3 -3
  129. package/dist/usersSlice/thunks.cjs +14 -56
  130. package/dist/usersSlice/thunks.cjs.map +1 -1
  131. package/dist/usersSlice/thunks.js +13 -13
  132. package/dist/utils.cjs +18 -57
  133. package/dist/utils.cjs.map +1 -1
  134. package/dist/utils.d.cts +1 -3
  135. package/dist/utils.d.ts +1 -3
  136. package/dist/utils.js +2 -2
  137. package/package.json +1 -1
  138. package/dist/chunk-3NOV7X4M.js.map +0 -1
  139. package/dist/chunk-AJ6DIDO4.js.map +0 -1
  140. package/dist/chunk-KJ2SUFAU.js.map +0 -1
  141. package/dist/chunk-VCEFZTWS.js.map +0 -1
  142. /package/dist/{chunk-43ZBO3JW.js.map → chunk-4ZYLGBJU.js.map} +0 -0
  143. /package/dist/{chunk-45BHMNX6.js.map → chunk-6PYYMAFS.js.map} +0 -0
  144. /package/dist/{chunk-ZAZTNDSY.js.map → chunk-7KSKENLP.js.map} +0 -0
  145. /package/dist/{chunk-AV7SRATY.js.map → chunk-7VFPMJCH.js.map} +0 -0
  146. /package/dist/{chunk-RJRZXDVT.js.map → chunk-GHATCG2U.js.map} +0 -0
  147. /package/dist/{chunk-42GZ6FGV.js.map → chunk-PL6RIFD5.js.map} +0 -0
  148. /package/dist/{chunk-XOASGJZU.js.map → chunk-ZVE23XXF.js.map} +0 -0
@@ -51,6 +51,7 @@ __export(thunks_exports, {
51
51
  getCurrentCard: () => getCurrentCard,
52
52
  getCurrentSubscription: () => getCurrentSubscription,
53
53
  getIntegrations: () => getIntegrations,
54
+ getProducts: () => getProducts,
54
55
  getSsoConfigById: () => getSsoConfigById,
55
56
  getSsoConfigs: () => getSsoConfigs,
56
57
  getTargetLocation: () => getTargetLocation,
@@ -68,7 +69,8 @@ __export(thunks_exports, {
68
69
  startCardUpdate: () => startCardUpdate,
69
70
  startUpgrade: () => startUpgrade,
70
71
  storeSsoConfig: () => storeSsoConfig,
71
- tenantDataDivergedMessage: () => tenantDataDivergedMessage
72
+ tenantDataDivergedMessage: () => tenantDataDivergedMessage,
73
+ transformProductResponse: () => transformProductResponse
72
74
  });
73
75
  module.exports = __toCommonJS(thunks_exports);
74
76
  var import_helpers11 = require("@northern.tech/utils/helpers");
@@ -87,10 +89,6 @@ var import_constants5 = require("@northern.tech/utils/constants");
87
89
  // src/appSlice/constants.ts
88
90
  var import_icons_material = require("@mui/icons-material");
89
91
  var import_utils = require("@northern.tech/utils");
90
- var startingDeviceCount = {
91
- os: "for first 50 devices",
92
- professional: "for first 250 devices"
93
- };
94
92
  var chartTypes = {
95
93
  bar: { key: "bar", Icon: import_icons_material.BarChart },
96
94
  pie: { key: "pie", Icon: import_icons_material.PieChartOutline }
@@ -107,31 +105,17 @@ var PLANS = {
107
105
  os: {
108
106
  id: "os",
109
107
  name: "Basic",
110
- minimalDeviceCount: { standard: 50, micro: 100 },
111
- offer: true,
112
- price: "$34 / month",
113
- deviceCount: startingDeviceCount.os,
114
- description: "The core features of Mender. To continue using Enterprise Trial features\u2014like Delta updates, scheduled deployments, phased rollouts, device filtering, dynamic groups, RBAC, audit logs, and more\u2014please upgrade to a higher plan.",
115
- features: ["Access to core features of Mender", "Basic support"]
108
+ description: "The core features of Mender. To continue using Enterprise Trial features\u2014like Delta updates, scheduled deployments, phased rollouts, device filtering, dynamic groups, RBAC, audit logs, and more\u2014please upgrade to a higher plan."
116
109
  },
117
110
  professional: {
118
111
  id: "professional",
119
112
  name: "Professional",
120
- minimalDeviceCount: { standard: 250, micro: 500 },
121
- offer: true,
122
- price: "$291 / month",
123
- deviceCount: startingDeviceCount.professional,
124
- description: "Everything in Basic, plus enhanced update management and automation features.",
125
- features: ["Advanced OTA features", "Higher priority support"]
113
+ description: "Everything in Basic, plus enhanced update management and automation features."
126
114
  },
127
115
  enterprise: {
128
116
  id: "enterprise",
129
117
  name: "Enterprise",
130
- minimalDeviceCount: { standard: 1e3, micro: 2e3 },
131
- price: "Custom pricing",
132
- deviceCount: "Unlimited devices",
133
- description: "Every advanced feature of Mender, tailored for complex and large-scale deployments. Not available as a monthly subscription \u2014 ask us for a quote.",
134
- features: ["All Mender features", "Advanced security features", "SLA-backed support"]
118
+ description: "Every advanced feature of Mender, tailored for complex and large-scale deployments. Not available as a monthly subscription \u2014 ask us for a quote."
135
119
  }
136
120
  };
137
121
  var ADDONS = {
@@ -140,14 +124,6 @@ var ADDONS = {
140
124
  title: "Configure",
141
125
  description: "Seamlessly configure applications and devices remotely \u2013 configure each device to its environment.",
142
126
  needs: ["hasDeviceConfig"],
143
- os: {
144
- price: "$11/month",
145
- deviceCount: startingDeviceCount.os
146
- },
147
- professional: {
148
- price: "$65/month",
149
- deviceCount: startingDeviceCount.professional
150
- },
151
127
  eligible: ["os", "professional", "enterprise"]
152
128
  },
153
129
  monitor: {
@@ -155,14 +131,6 @@ var ADDONS = {
155
131
  title: "Monitor",
156
132
  description: "Detect and analyze health issues of devices, services and applications. Set up alerts so you can act quickly.",
157
133
  needs: ["hasMonitor"],
158
- os: {
159
- price: "-",
160
- deviceCount: "-"
161
- },
162
- professional: {
163
- price: "$86/month",
164
- deviceCount: startingDeviceCount.professional
165
- },
166
134
  eligible: ["professional", "enterprise"]
167
135
  },
168
136
  troubleshoot: {
@@ -170,14 +138,6 @@ var ADDONS = {
170
138
  title: "Troubleshoot",
171
139
  description: "Secure, remote access to your devices \u2013 quickly diagnose and fix issues in real time.",
172
140
  needs: ["hasDeviceConnect"],
173
- os: {
174
- price: "$27/month",
175
- deviceCount: startingDeviceCount.os
176
- },
177
- professional: {
178
- price: "$72/month",
179
- deviceCount: startingDeviceCount.professional
180
- },
181
141
  eligible: ["os", "professional", "enterprise"]
182
142
  }
183
143
  };
@@ -878,6 +838,9 @@ var organizationSlice = (0, import_toolkit.createSlice)({
878
838
  setSubscription: (state, action) => {
879
839
  state.organization.subscription = { ...state.organization.subscription, ...action.payload };
880
840
  },
841
+ setProducts: (state, action) => {
842
+ state.products = action.payload;
843
+ },
881
844
  setBillingProfile: (state, action) => {
882
845
  state.organization.billing_profile = action.payload;
883
846
  },
@@ -1994,17 +1957,14 @@ var getAttributesList = (0, import_toolkit11.createSelector)(
1994
1957
  [getFilteringAttributes, getFilteringAttributesFromConfig],
1995
1958
  ({ identityAttributes = [], inventoryAttributes = [] }, { identity = [], inventory = [] }) => [...identityAttributes, ...inventoryAttributes, ...identity, ...inventory].filter(import_helpers3.duplicateFilter)
1996
1959
  );
1997
- var getDeviceLimitStats = (0, import_toolkit11.createSelector)(
1998
- [getDeviceLimits, getAcceptedDevices],
1999
- (limits, accepted) => {
2000
- const { counts } = accepted;
2001
- return Object.entries(limits).filter(([, limit]) => limit !== 0).map(([type, limit]) => ({
2002
- type,
2003
- limit,
2004
- total: counts[type] || 0
2005
- }));
2006
- }
2007
- );
1960
+ var getDeviceLimitStats = (0, import_toolkit11.createSelector)([getDeviceLimits, getAcceptedDevices], (limits, accepted) => {
1961
+ const { counts } = accepted;
1962
+ return Object.entries(limits).filter(([, limit]) => limit !== 0).map(([type, limit]) => ({
1963
+ type,
1964
+ limit,
1965
+ total: counts[type] || 0
1966
+ }));
1967
+ });
2008
1968
  var getDeviceTypes = (0, import_toolkit11.createSelector)(
2009
1969
  [getAcceptedDevices, getDevicesById],
2010
1970
  ({ deviceIds = [] }, devicesById) => Object.keys(
@@ -2178,18 +2138,21 @@ var mapDeviceAttributes = (attributes = []) => attributes.reduce(
2178
2138
  { inventory: { device_type: [], artifact_name: "" }, identity: {}, monitor: {}, system: {}, tags: {} }
2179
2139
  );
2180
2140
  var isDarkMode = (mode) => mode === DARK_MODE;
2181
- var parseSubscriptionPreview = (lines) => lines.reduce(
2182
- (acc, { addon, amount, product }) => {
2183
- const planId = product.slice("mender_".length);
2184
- if (!addon) {
2185
- acc[planId] = (acc[planId] ?? 0) + amount;
2186
- } else {
2187
- acc.addons[addon] = (acc.addons[addon] ?? 0) + amount;
2188
- }
2189
- return acc;
2190
- },
2191
- { addons: {} }
2192
- );
2141
+ var parseSubscriptionPreview = (lines) => lines.reduce((acc, { addon, amount, product }) => {
2142
+ const tier = product.replace("mender_", "");
2143
+ if (!acc[tier]) {
2144
+ acc[tier] = {
2145
+ amount: 0,
2146
+ addons: {}
2147
+ };
2148
+ }
2149
+ if (!addon) {
2150
+ acc[tier].amount += amount;
2151
+ } else {
2152
+ acc[tier].addons[addon] = (acc[tier].addons[addon] ?? 0) + amount;
2153
+ }
2154
+ return acc;
2155
+ }, {});
2193
2156
 
2194
2157
  // src/releasesSlice/selectors.ts
2195
2158
  var getSelectedReleaseId = (state) => state.releases.selectedRelease;
@@ -4683,6 +4646,63 @@ var cancelRequest = createAppAsyncThunk(`${sliceName}/cancelRequest`, (reason, {
4683
4646
  () => Promise.resolve(dispatch(setSnackbar5({ message: "Deactivation request was sent successfully", autoHideDuration: TIMEOUTS.fiveSeconds })))
4684
4647
  );
4685
4648
  });
4649
+ var getTierId = (tierName) => tierName.replace("mender_", "");
4650
+ var getProductPlans = (products) => products.reduce(
4651
+ (plansById, product) => {
4652
+ const { name, prices } = product;
4653
+ const tierId = getTierId(name);
4654
+ prices.forEach((price) => {
4655
+ const existing = plansById[price.plan] ?? { ...PLANS[price.plan], tierLimitsConstrains: {} };
4656
+ const tierConstraints = price.constraints ? { [tierId]: { min: price.constraints.min, max: price.constraints.max, div: price.constraints.div } } : {};
4657
+ plansById[price.plan] = {
4658
+ ...existing,
4659
+ tierLimitsConstrains: {
4660
+ ...existing.tierLimitsConstrains,
4661
+ ...tierConstraints
4662
+ }
4663
+ };
4664
+ });
4665
+ return plansById;
4666
+ },
4667
+ { enterprise: { ...PLANS.enterprise } }
4668
+ );
4669
+ var getProductAddons = (products) => products.reduce((accu, product) => {
4670
+ const { addons = [] } = product;
4671
+ addons.forEach((addon) => {
4672
+ const { name: addonName = "", prices: addonPrices = [] } = addon;
4673
+ const existingEligible = accu[addonName]?.eligible ?? [];
4674
+ const newEligible = addonPrices.map((p) => p.plan);
4675
+ accu[addonName] = {
4676
+ ...ADDONS[addonName],
4677
+ eligible: [.../* @__PURE__ */ new Set([...existingEligible, ...newEligible, PLANS.enterprise.id])]
4678
+ };
4679
+ });
4680
+ return accu;
4681
+ }, {});
4682
+ var transformProductResponse = (products) => {
4683
+ const tiers = [];
4684
+ const sortedProducts = products.sort((a, b) => a.name.localeCompare(b.name));
4685
+ sortedProducts.forEach((tier) => {
4686
+ const addonsSupported = Object.fromEntries((tier.addons || []).map((addon) => [addon.name, addon.prices?.map((p) => p.plan)]));
4687
+ const allPlans = tier.prices.map((price) => price.plan);
4688
+ const addonsTransposed = allPlans.reduce((acc, plan) => {
4689
+ acc[plan] = Object.entries(addonsSupported).filter(([, addonSupportedPlans]) => addonSupportedPlans.includes(plan)).map(([addon]) => addon);
4690
+ return acc;
4691
+ }, {});
4692
+ const tierId = getTierId(tier.name);
4693
+ tiers.push({
4694
+ id: tierId,
4695
+ title: tierId,
4696
+ stripeProductName: tier.name,
4697
+ limitConstrains: Object.fromEntries(tier.prices.map((p) => [p.plan, p.constraints])),
4698
+ addons: addonsSupported,
4699
+ addonsByPlan: addonsTransposed
4700
+ });
4701
+ });
4702
+ const plans = getProductPlans(products);
4703
+ const addons = getProductAddons(products);
4704
+ return { plans, tiers, addons };
4705
+ };
4686
4706
  var getTargetLocation = (key) => {
4687
4707
  if (devLocations.includes(window.location.hostname)) {
4688
4708
  return "";
@@ -4897,7 +4917,7 @@ var getUserSubscription = createAppAsyncThunk(`${sliceName}/getUserSubscription`
4897
4917
  });
4898
4918
  var getBillingPreview = createAppAsyncThunk(
4899
4919
  `${sliceName}/getBillingPreview`,
4900
- (order, { dispatch }) => general_api_default.post(`${import_constants5.tenantadmApiUrlv2}/billing/subscription/invoices/preview`, order).catch((err) => commonErrorHandler(err, "There was an error getting your billing information:", dispatch, commonErrorFallback)).then(({ data }) => order.preview_mode === "recurring" ? { ...parseSubscriptionPreview(data.lines), total: data.total } : data)
4920
+ (order, { dispatch }) => general_api_default.post(`${import_constants5.tenantadmApiUrlv2}/billing/subscription/invoices/preview`, order).catch((err) => commonErrorHandler(err, "There was an error getting your billing information:", dispatch, commonErrorFallback)).then(({ data }) => order.preview_mode === "recurring" ? { items: parseSubscriptionPreview(data.lines), total: data.total } : data)
4901
4921
  );
4902
4922
  var getCurrentSubscription = createAppAsyncThunk(
4903
4923
  `${sliceName}/getCurrentSubscription`,
@@ -4908,6 +4928,10 @@ var getCurrentSubscription = createAppAsyncThunk(
4908
4928
  return commonErrorHandler(err, "There was an error retrieving your current subscription", dispatch, commonErrorFallback);
4909
4929
  })
4910
4930
  );
4931
+ var getProducts = createAppAsyncThunk(
4932
+ `${sliceName}/getEnabledTiers`,
4933
+ (_, { dispatch }) => general_api_default.get(`${import_constants5.tenantadmApiUrlv2}/billing/products`).catch((err) => commonErrorHandler(err, "There was an error getting Mender products:", dispatch, commonErrorFallback)).then((res) => dispatch(actions.setProducts(transformProductResponse(res.data))))
4934
+ );
4911
4935
  var requestPlanUpgrade = createAppAsyncThunk(
4912
4936
  `${sliceName}/requestPlanUpgrade`,
4913
4937
  (order, { dispatch }) => general_api_default.post(`${import_constants5.tenantadmApiUrlv2}/billing/subscription`, order).catch((err) => commonErrorHandler(err, "There was an error sending your request", dispatch, commonErrorFallback)).then(() => Promise.all([setTimeout(() => dispatch(getDeviceLimits2()), TIMEOUTS.threeSeconds), dispatch(getUserOrganization())]))
@@ -5035,6 +5059,7 @@ var getSsoConfigs = createAppAsyncThunk(
5035
5059
  getCurrentCard,
5036
5060
  getCurrentSubscription,
5037
5061
  getIntegrations,
5062
+ getProducts,
5038
5063
  getSsoConfigById,
5039
5064
  getSsoConfigs,
5040
5065
  getTargetLocation,
@@ -5052,6 +5077,7 @@ var getSsoConfigs = createAppAsyncThunk(
5052
5077
  startCardUpdate,
5053
5078
  startUpgrade,
5054
5079
  storeSsoConfig,
5055
- tenantDataDivergedMessage
5080
+ tenantDataDivergedMessage,
5081
+ transformProductResponse
5056
5082
  });
5057
5083
  //# sourceMappingURL=thunks.cjs.map