@gem-sdk/core 12.0.0-dev.44 → 12.0.0-dev.52

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.
@@ -34,6 +34,7 @@
34
34
  id
35
35
  name
36
36
  baseID
37
+ billingPolicy
37
38
  pricingPolicies
38
39
  updatedAt
39
40
  }
@@ -34,6 +34,7 @@ let ProductVariantsWithSellingPlansSelect=`
34
34
  id
35
35
  name
36
36
  baseID
37
+ billingPolicy
37
38
  pricingPolicies
38
39
  updatedAt
39
40
  }
@@ -35388,7 +35388,7 @@ type ProductVariantsWithSellingPlansSelectFragment = Pick<ProductVariant$1, 'id'
35388
35388
  selectedOptions: Array<Pick<SelectedOption$1, 'name' | 'value' | 'optionType'>>;
35389
35389
  media?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
35390
35390
  sellingPlanGroups?: Maybe$1<Array<Maybe$1<Pick<SellingPlanGroup, 'id' | 'appID'> & {
35391
- sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan, 'id' | 'name' | 'baseID' | 'pricingPolicies' | 'updatedAt'>>>>;
35391
+ sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan, 'id' | 'name' | 'baseID' | 'billingPolicy' | 'pricingPolicies' | 'updatedAt'>>>>;
35392
35392
  }>>>;
35393
35393
  };
35394
35394
 
@@ -35417,7 +35417,7 @@ type ProductsWithSellingPlansDetailFragment = Pick<Product$1, 'id' | 'title' | '
35417
35417
  selectedOptions: Array<Pick<SelectedOption$1, 'name' | 'value' | 'optionType'>>;
35418
35418
  media?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
35419
35419
  sellingPlanGroups?: Maybe$1<Array<Maybe$1<Pick<SellingPlanGroup, 'id' | 'appID'> & {
35420
- sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan, 'id' | 'name' | 'baseID' | 'pricingPolicies' | 'updatedAt'>>>>;
35420
+ sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan, 'id' | 'name' | 'baseID' | 'billingPolicy' | 'pricingPolicies' | 'updatedAt'>>>>;
35421
35421
  }>>>;
35422
35422
  }>;
35423
35423
  }>;
@@ -36007,7 +36007,7 @@ type ProductsWithSellingPlansQueryResponse = {
36007
36007
  selectedOptions: Array<Pick<SelectedOption$1, 'name' | 'value' | 'optionType'>>;
36008
36008
  media?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
36009
36009
  sellingPlanGroups?: Maybe$1<Array<Maybe$1<Pick<SellingPlanGroup, 'id' | 'appID'> & {
36010
- sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan, 'id' | 'name' | 'baseID' | 'pricingPolicies' | 'updatedAt'>>>>;
36010
+ sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan, 'id' | 'name' | 'baseID' | 'billingPolicy' | 'pricingPolicies' | 'updatedAt'>>>>;
36011
36011
  }>>>;
36012
36012
  }>;
36013
36013
  }>;
@@ -36039,7 +36039,7 @@ type ProductVariantsWithSellingPlansQueryResponse = {
36039
36039
  selectedOptions: Array<Pick<SelectedOption$1, 'name' | 'value' | 'optionType'>>;
36040
36040
  media?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
36041
36041
  sellingPlanGroups?: Maybe$1<Array<Maybe$1<Pick<SellingPlanGroup, 'id' | 'appID'> & {
36042
- sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan, 'id' | 'name' | 'baseID' | 'pricingPolicies' | 'updatedAt'>>>>;
36042
+ sellingPlans?: Maybe$1<Array<Maybe$1<Pick<SellingPlan, 'id' | 'name' | 'baseID' | 'billingPolicy' | 'pricingPolicies' | 'updatedAt'>>>>;
36043
36043
  }>>>;
36044
36044
  }>;
36045
36045
  }>;
@@ -48911,14 +48911,14 @@ declare const useVariants: () => Maybe$1<Pick<ProductVariant$1, "id" | "title" |
48911
48911
  selectedOptions: Pick<SelectedOption$1, "name" | "value" | "optionType">[];
48912
48912
  media?: Maybe$1<Pick<Media$1, "id" | "width" | "height" | "contentType" | "previewImage" | "src" | "alt">>;
48913
48913
  sellingPlanGroups?: Maybe$1<Maybe$1<Pick<SellingPlanGroup, "id" | "appID"> & {
48914
- sellingPlans?: Maybe$1<Maybe$1<Pick<SellingPlan, "name" | "id" | "updatedAt" | "baseID" | "pricingPolicies">>[]>;
48914
+ sellingPlans?: Maybe$1<Maybe$1<Pick<SellingPlan, "name" | "id" | "updatedAt" | "baseID" | "billingPolicy" | "pricingPolicies">>[]>;
48915
48915
  }>[]>;
48916
48916
  }>[];
48917
48917
  declare const useVariant: (id: string) => Maybe$1<Pick<ProductVariant$1, "id" | "title" | "price" | "width" | "length" | "weight" | "height" | "baseID" | "barcode" | "costPrice" | "inventoryPolicy" | "inventoryQuantity" | "inventoryStatus" | "isDigital" | "lowInventoryAmount" | "manageInventory" | "mediaId" | "platform" | "salePrice" | "sku" | "soldIndividually"> & {
48918
48918
  selectedOptions: Pick<SelectedOption$1, "name" | "value" | "optionType">[];
48919
48919
  media?: Maybe$1<Pick<Media$1, "id" | "width" | "height" | "contentType" | "previewImage" | "src" | "alt">>;
48920
48920
  sellingPlanGroups?: Maybe$1<Maybe$1<Pick<SellingPlanGroup, "id" | "appID"> & {
48921
- sellingPlans?: Maybe$1<Maybe$1<Pick<SellingPlan, "name" | "id" | "updatedAt" | "baseID" | "pricingPolicies">>[]>;
48921
+ sellingPlans?: Maybe$1<Maybe$1<Pick<SellingPlan, "name" | "id" | "updatedAt" | "baseID" | "billingPolicy" | "pricingPolicies">>[]>;
48922
48922
  }>[]>;
48923
48923
  }>;
48924
48924
  declare const useCurrentVariant: () => Maybe$1<VariantSelectFragment>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "12.0.0-dev.44",
3
+ "version": "12.0.0-dev.52",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "devDependencies": {
31
31
  "@gem-sdk/adapter-shopify": "12.0.0-dev.44",
32
- "@gem-sdk/styles": "12.0.0-dev.44",
32
+ "@gem-sdk/styles": "12.0.0-dev.52",
33
33
  "@types/classnames": "2.3.4"
34
34
  },
35
35
  "dependencies": {