@gethydra/sdk 0.7.0 → 0.9.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 (2) hide show
  1. package/dist/index.d.ts +22 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -72,6 +72,11 @@ interface components {
72
72
  * @enum {string}
73
73
  */
74
74
  unit_system: "metric" | "imperial";
75
+ /**
76
+ * @example kg
77
+ * @enum {string}
78
+ */
79
+ default_weight_unit: "kg" | "g" | "lb" | "oz";
75
80
  /**
76
81
  * @example pro
77
82
  * @enum {string}
@@ -265,6 +270,12 @@ interface components {
265
270
  /** @example verified */
266
271
  status?: string;
267
272
  }[] | null;
273
+ /**
274
+ * @description Storefront rendering strategy. SSR serves pages on each request, SSG builds at deploy time, ISR revalidates on demand.
275
+ * @example ssr
276
+ * @enum {string}
277
+ */
278
+ storefront_rendering: "ssr" | "ssg" | "isr";
268
279
  /** @example false */
269
280
  auto_publish: boolean;
270
281
  /** @example 30 */
@@ -4738,6 +4749,11 @@ interface operations {
4738
4749
  * @enum {string}
4739
4750
  */
4740
4751
  unit_system?: "metric" | "imperial";
4752
+ /**
4753
+ * @example kg
4754
+ * @enum {string}
4755
+ */
4756
+ default_weight_unit?: "kg" | "g" | "lb" | "oz";
4741
4757
  /**
4742
4758
  * @example [
4743
4759
  * "https://shop.acme.com"
@@ -4869,6 +4885,12 @@ interface operations {
4869
4885
  * @example orders
4870
4886
  */
4871
4887
  notification_from_email?: string | null;
4888
+ /**
4889
+ * @description Storefront rendering strategy. SSR serves pages on each request, SSG builds at deploy time, ISR revalidates on demand.
4890
+ * @example ssr
4891
+ * @enum {string}
4892
+ */
4893
+ storefront_rendering?: "ssr" | "ssg" | "isr";
4872
4894
  /**
4873
4895
  * @description When enabled, storefront changes are automatically published after a debounce period.
4874
4896
  * @example false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gethydra/sdk",
3
- "version": "0.7.0",
3
+ "version": "0.9.0",
4
4
  "description": "Official TypeScript SDK for the Hydra Commerce API",
5
5
  "license": "MIT",
6
6
  "author": "Grant Capital Group",