@infrab4a/connect 4.9.7-beta.31 → 4.9.7-beta.32

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/index.cjs.js CHANGED
@@ -5898,6 +5898,55 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
5898
5898
  });
5899
5899
  return data && data[0] && this.bindReviewToModel(data[0]);
5900
5900
  }
5901
+ async productVariantFullReport() {
5902
+ const fields = [
5903
+ 'id',
5904
+ 'name',
5905
+ 'description',
5906
+ 'slug',
5907
+ 'sku',
5908
+ 'ean',
5909
+ 'cest',
5910
+ 'ncm',
5911
+ 'has_variants',
5912
+ 'is_variant',
5913
+ 'grade',
5914
+ 'type',
5915
+ 'is_kit',
5916
+ 'tags',
5917
+ 'published',
5918
+ 'stock',
5919
+ 'brand',
5920
+ 'brand_description',
5921
+ 'images',
5922
+ 'miniatures',
5923
+ 'video',
5924
+ 'weight',
5925
+ 'cost_price',
5926
+ 'full_price',
5927
+ 'price',
5928
+ 'subscriber_discount_percentage',
5929
+ 'subscriber_price',
5930
+ 'how_to_use',
5931
+ 'who_must_use',
5932
+ 'differentials',
5933
+ 'ingredients',
5934
+ 'purpose',
5935
+ 'filters',
5936
+ 'category_id',
5937
+ 'outlet',
5938
+ 'label',
5939
+ 'group',
5940
+ 'validity',
5941
+ 'gender',
5942
+ 'shopping_count',
5943
+ 'rating',
5944
+ 'reviews_total',
5945
+ 'created_at',
5946
+ 'updated_at',
5947
+ ];
5948
+ return this.query('product_variant_report_query', fields);
5949
+ }
5901
5950
  }
5902
5951
  tslib.__decorate([
5903
5952
  Log(),
package/index.esm.js CHANGED
@@ -5892,6 +5892,55 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
5892
5892
  });
5893
5893
  return data && data[0] && this.bindReviewToModel(data[0]);
5894
5894
  }
5895
+ async productVariantFullReport() {
5896
+ const fields = [
5897
+ 'id',
5898
+ 'name',
5899
+ 'description',
5900
+ 'slug',
5901
+ 'sku',
5902
+ 'ean',
5903
+ 'cest',
5904
+ 'ncm',
5905
+ 'has_variants',
5906
+ 'is_variant',
5907
+ 'grade',
5908
+ 'type',
5909
+ 'is_kit',
5910
+ 'tags',
5911
+ 'published',
5912
+ 'stock',
5913
+ 'brand',
5914
+ 'brand_description',
5915
+ 'images',
5916
+ 'miniatures',
5917
+ 'video',
5918
+ 'weight',
5919
+ 'cost_price',
5920
+ 'full_price',
5921
+ 'price',
5922
+ 'subscriber_discount_percentage',
5923
+ 'subscriber_price',
5924
+ 'how_to_use',
5925
+ 'who_must_use',
5926
+ 'differentials',
5927
+ 'ingredients',
5928
+ 'purpose',
5929
+ 'filters',
5930
+ 'category_id',
5931
+ 'outlet',
5932
+ 'label',
5933
+ 'group',
5934
+ 'validity',
5935
+ 'gender',
5936
+ 'shopping_count',
5937
+ 'rating',
5938
+ 'reviews_total',
5939
+ 'created_at',
5940
+ 'updated_at',
5941
+ ];
5942
+ return this.query('product_variant_report_query', fields);
5943
+ }
5895
5944
  }
5896
5945
  __decorate([
5897
5946
  Log(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect",
3
- "version": "4.9.7-beta.31",
3
+ "version": "4.9.7-beta.32",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -27,5 +27,6 @@ export declare class ProductHasuraGraphQLRepository extends ProductHasuraGraphQL
27
27
  private getReviewByAuthorAndEmail;
28
28
  private bindReviewToModel;
29
29
  private bindReviewToHasura;
30
+ productVariantFullReport(): Promise<any>;
30
31
  }
31
32
  export {};