@moonbase.sh/storefront-api 1.0.21 → 1.0.22

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
@@ -1426,7 +1426,8 @@ var voucherSchema = import_zod15.z.object({
1426
1426
  code: import_zod15.z.string(),
1427
1427
  redeemed: import_zod15.z.boolean(),
1428
1428
  redeemsProducts: quantifiable(storefrontProductSchema).array(),
1429
- redeemsBundles: quantifiable(storefrontBundleSchema).array()
1429
+ redeemsBundles: quantifiable(storefrontBundleSchema).array(),
1430
+ properties: import_zod15.z.record(rawPropertyValueSchema).nullish()
1430
1431
  });
1431
1432
 
1432
1433
  // src/vouchers/endpoints.ts
package/dist/index.d.cts CHANGED
@@ -22836,6 +22836,7 @@ declare const voucherSchema: z.ZodObject<{
22836
22836
  };
22837
22837
  quantity: number;
22838
22838
  }>, "many">;
22839
+ properties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodType<RawPropertyValue, z.ZodTypeDef, RawPropertyValue>>>>;
22839
22840
  }, "strip", z.ZodTypeAny, {
22840
22841
  id: string;
22841
22842
  name: string;
@@ -23117,6 +23118,7 @@ declare const voucherSchema: z.ZodObject<{
23117
23118
  };
23118
23119
  quantity: number;
23119
23120
  }[];
23121
+ properties?: Record<string, RawPropertyValue> | null | undefined;
23120
23122
  }, {
23121
23123
  id: string;
23122
23124
  name: string;
@@ -23398,6 +23400,7 @@ declare const voucherSchema: z.ZodObject<{
23398
23400
  };
23399
23401
  quantity: number;
23400
23402
  }[];
23403
+ properties?: Record<string, RawPropertyValue> | null | undefined;
23401
23404
  }>;
23402
23405
 
23403
23406
  declare const schemas$3_voucherSchema: typeof voucherSchema;
package/dist/index.d.ts CHANGED
@@ -22836,6 +22836,7 @@ declare const voucherSchema: z.ZodObject<{
22836
22836
  };
22837
22837
  quantity: number;
22838
22838
  }>, "many">;
22839
+ properties: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodType<RawPropertyValue, z.ZodTypeDef, RawPropertyValue>>>>;
22839
22840
  }, "strip", z.ZodTypeAny, {
22840
22841
  id: string;
22841
22842
  name: string;
@@ -23117,6 +23118,7 @@ declare const voucherSchema: z.ZodObject<{
23117
23118
  };
23118
23119
  quantity: number;
23119
23120
  }[];
23121
+ properties?: Record<string, RawPropertyValue> | null | undefined;
23120
23122
  }, {
23121
23123
  id: string;
23122
23124
  name: string;
@@ -23398,6 +23400,7 @@ declare const voucherSchema: z.ZodObject<{
23398
23400
  };
23399
23401
  quantity: number;
23400
23402
  }[];
23403
+ properties?: Record<string, RawPropertyValue> | null | undefined;
23401
23404
  }>;
23402
23405
 
23403
23406
  declare const schemas$3_voucherSchema: typeof voucherSchema;
package/dist/index.js CHANGED
@@ -1378,7 +1378,8 @@ var voucherSchema = z15.object({
1378
1378
  code: z15.string(),
1379
1379
  redeemed: z15.boolean(),
1380
1380
  redeemsProducts: quantifiable(storefrontProductSchema).array(),
1381
- redeemsBundles: quantifiable(storefrontBundleSchema).array()
1381
+ redeemsBundles: quantifiable(storefrontBundleSchema).array(),
1382
+ properties: z15.record(rawPropertyValueSchema).nullish()
1382
1383
  });
1383
1384
 
1384
1385
  // src/vouchers/endpoints.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@moonbase.sh/storefront-api",
3
3
  "type": "module",
4
- "version": "1.0.21",
4
+ "version": "1.0.22",
5
5
  "description": "Package to let you build storefronts with Moonbase.sh as payment and delivery provider",
6
6
  "author": "Tobias Lønnerød Madsen <m@dsen.tv>",
7
7
  "license": "MIT",