@moonbase.sh/storefront-api 2.1.0 → 2.3.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.
package/dist/index.cjs CHANGED
@@ -24,6 +24,7 @@ __export(index_exports, {
24
24
  ActivationRequestFulfillmentType: () => ActivationRequestFulfillmentType,
25
25
  ActivationRequestStatus: () => ActivationRequestStatus,
26
26
  ActivationStatus: () => ActivationStatus,
27
+ Architecture: () => Architecture,
27
28
  ConnectableAccountProvider: () => ConnectableAccountProvider,
28
29
  ConsoleLogger: () => ConsoleLogger,
29
30
  CycleLength: () => CycleLength,
@@ -155,7 +156,13 @@ var pricingVariationSchema = import_zod.z.object({
155
156
  pricingTiers: import_zod.z.array(pricingTierSchema).nullish()
156
157
  });
157
158
  var rawPropertyValueSchema = import_zod.z.lazy(
158
- () => import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.boolean(), import_zod.z.record(rawPropertyValueSchema)])
159
+ () => import_zod.z.union([
160
+ import_zod.z.string(),
161
+ import_zod.z.number(),
162
+ import_zod.z.boolean(),
163
+ import_zod.z.record(rawPropertyValueSchema),
164
+ import_zod.z.array(rawPropertyValueSchema)
165
+ ])
159
166
  );
160
167
  function paged(itemSchema) {
161
168
  return import_zod.z.object({
@@ -193,6 +200,15 @@ var Platform = /* @__PURE__ */ ((Platform2) => {
193
200
  Platform2["Android"] = "Android";
194
201
  return Platform2;
195
202
  })(Platform || {});
203
+ var Architecture = /* @__PURE__ */ ((Architecture2) => {
204
+ Architecture2["Unknown"] = "Unknown";
205
+ Architecture2["Universal"] = "Universal";
206
+ Architecture2["X86"] = "X86";
207
+ Architecture2["X64"] = "X64";
208
+ Architecture2["Arm"] = "Arm";
209
+ Architecture2["Arm64"] = "Arm64";
210
+ return Architecture2;
211
+ })(Architecture || {});
196
212
 
197
213
  // src/inventory/products/schemas.ts
198
214
  var manifestSchema = import_zod2.z.object({
@@ -206,6 +222,7 @@ var downloadSchema = import_zod2.z.object({
206
222
  name: import_zod2.z.string(),
207
223
  key: import_zod2.z.string(),
208
224
  platform: import_zod2.z.nativeEnum(Platform),
225
+ arch: import_zod2.z.nativeEnum(Architecture).nullish(),
209
226
  size: import_zod2.z.number(),
210
227
  path: import_zod2.z.string().nullable(),
211
228
  manifest: manifestSchema.optional()
@@ -1733,6 +1750,7 @@ var MoonbaseClient = class {
1733
1750
  ActivationRequestFulfillmentType,
1734
1751
  ActivationRequestStatus,
1735
1752
  ActivationStatus,
1753
+ Architecture,
1736
1754
  ConnectableAccountProvider,
1737
1755
  ConsoleLogger,
1738
1756
  CycleLength,