@gethydra/sdk 0.1.1 → 0.1.2

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 +21 -7
  2. package/package.json +2 -3
package/dist/index.d.ts CHANGED
@@ -407,7 +407,7 @@ interface components {
407
407
  id: string;
408
408
  /** @example CI Pipeline */
409
409
  name: string | null;
410
- /** @example sk_live_aBcDeFgHiJkLmNoPqRsTuVwXyZ012345 */
410
+ /** @example sk_live_example */
411
411
  key: string;
412
412
  /** @example sk_live_ */
413
413
  key_prefix: string;
@@ -3353,6 +3353,8 @@ interface components {
3353
3353
  parent_item_id: string | null;
3354
3354
  label: string;
3355
3355
  url: string | null;
3356
+ /** @enum {string|null} */
3357
+ resource_type: "collection" | "product" | "page" | "custom" | null;
3356
3358
  /** @enum {string} */
3357
3359
  item_type: "link" | "heading" | "featured";
3358
3360
  position: number;
@@ -3373,6 +3375,8 @@ interface components {
3373
3375
  parent_item_id: string | null;
3374
3376
  label: string;
3375
3377
  url: string | null;
3378
+ /** @enum {string|null} */
3379
+ resource_type: "collection" | "product" | "page" | "custom" | null;
3376
3380
  /** @enum {string} */
3377
3381
  item_type: "link" | "heading" | "featured";
3378
3382
  position: number;
@@ -3819,13 +3823,13 @@ interface components {
3819
3823
  slug: string;
3820
3824
  };
3821
3825
  api_keys: {
3822
- /** @example sk_test_abc123... */
3826
+ /** @example sk_test_example */
3823
3827
  sk_test: string;
3824
- /** @example sk_live_abc123... */
3828
+ /** @example sk_live_example */
3825
3829
  sk_live: string;
3826
- /** @example pk_test_abc123... */
3830
+ /** @example pk_test_example */
3827
3831
  pk_test: string;
3828
- /** @example pk_live_abc123... */
3832
+ /** @example pk_live_example */
3829
3833
  pk_live: string;
3830
3834
  };
3831
3835
  };
@@ -7440,7 +7444,7 @@ interface operations {
7440
7444
  /** @example summer-essentials */
7441
7445
  handle?: string;
7442
7446
  /** @example Lightweight picks for warm weather. */
7443
- description?: string;
7447
+ description?: string | null;
7444
7448
  /**
7445
7449
  * @default manual
7446
7450
  * @example manual
@@ -7624,7 +7628,7 @@ interface operations {
7624
7628
  /** @example summer-essentials */
7625
7629
  handle?: string;
7626
7630
  /** @example Lightweight picks for warm weather. */
7627
- description?: string;
7631
+ description?: string | null;
7628
7632
  /**
7629
7633
  * @example manual
7630
7634
  * @enum {string}
@@ -15310,6 +15314,8 @@ interface operations {
15310
15314
  label: string;
15311
15315
  /** @example /collections/women-dresses */
15312
15316
  url?: string | null;
15317
+ /** @enum {string|null} */
15318
+ resource_type?: "collection" | "product" | "page" | "custom" | null;
15313
15319
  /**
15314
15320
  * @default link
15315
15321
  * @enum {string}
@@ -15330,6 +15336,8 @@ interface operations {
15330
15336
  label: string;
15331
15337
  /** @example /collections/women-dresses */
15332
15338
  url?: string | null;
15339
+ /** @enum {string|null} */
15340
+ resource_type?: "collection" | "product" | "page" | "custom" | null;
15333
15341
  /**
15334
15342
  * @default link
15335
15343
  * @enum {string}
@@ -15350,6 +15358,8 @@ interface operations {
15350
15358
  label: string;
15351
15359
  /** @example /collections/women-dresses */
15352
15360
  url?: string | null;
15361
+ /** @enum {string|null} */
15362
+ resource_type?: "collection" | "product" | "page" | "custom" | null;
15353
15363
  /**
15354
15364
  * @default link
15355
15365
  * @enum {string}
@@ -15480,6 +15490,8 @@ interface operations {
15480
15490
  label: string;
15481
15491
  /** @example /collections/women */
15482
15492
  url?: string | null;
15493
+ /** @enum {string|null} */
15494
+ resource_type?: "collection" | "product" | "page" | "custom" | null;
15483
15495
  /**
15484
15496
  * @default link
15485
15497
  * @enum {string}
@@ -15582,6 +15594,8 @@ interface operations {
15582
15594
  /** @example Women */
15583
15595
  label?: string;
15584
15596
  url?: string | null;
15597
+ /** @enum {string|null} */
15598
+ resource_type?: "collection" | "product" | "page" | "custom" | null;
15585
15599
  /** @enum {string} */
15586
15600
  item_type?: "link" | "heading" | "featured";
15587
15601
  parent_item_id?: string | null;
package/package.json CHANGED
@@ -1,14 +1,13 @@
1
1
  {
2
2
  "name": "@gethydra/sdk",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Official TypeScript SDK for the Hydra Commerce API",
5
5
  "license": "MIT",
6
6
  "author": "Grant Capital Group",
7
7
  "homepage": "https://hydrajs.dev/docs",
8
8
  "repository": {
9
9
  "type": "git",
10
- "url": "https://github.com/Hydra-headless-commerce/website.git",
11
- "directory": "packages/sdk"
10
+ "url": "https://github.com/Hydra-headless-commerce/sdk.git"
12
11
  },
13
12
  "keywords": [
14
13
  "hydra",