@pintahub/shopify-api 1.0.5 → 1.0.6

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.
@@ -3,11 +3,11 @@ import { APIBase } from "../../APIBase";
3
3
  import { GetProductInput, GetProductOutput } from "./GetProduct";
4
4
  import { SearchProductsInput, SearchProductsOutput } from "./SearchProducts";
5
5
  export interface AdminProductAPIInterface {
6
- getProduct(args: GetProductInput): Promise<GetProductOutput>;
7
- searchProducts(args?: SearchProductsInput): Promise<SearchProductsOutput>;
6
+ get(args: GetProductInput): Promise<GetProductOutput>;
7
+ search(args?: SearchProductsInput): Promise<SearchProductsOutput>;
8
8
  }
9
9
  export declare class AdminProductAPI extends APIBase<AdminApiClient> implements AdminProductAPIInterface {
10
10
  private _runAction;
11
- getProduct(args: GetProductInput): Promise<GetProductOutput>;
12
- searchProducts(args?: SearchProductsInput): Promise<SearchProductsOutput>;
11
+ get(args: GetProductInput): Promise<GetProductOutput>;
12
+ search(args?: SearchProductsInput): Promise<SearchProductsOutput>;
13
13
  }
@@ -20,12 +20,12 @@ class AdminProductAPI extends APIBase_1.APIBase {
20
20
  return action.run(args);
21
21
  });
22
22
  }
23
- getProduct(args) {
23
+ get(args) {
24
24
  return __awaiter(this, void 0, void 0, function* () {
25
25
  return this._runAction(GetProduct_1.GetProduct, args);
26
26
  });
27
27
  }
28
- searchProducts(args) {
28
+ search(args) {
29
29
  return __awaiter(this, void 0, void 0, function* () {
30
30
  return this._runAction(SearchProducts_1.SearchProducts, args);
31
31
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pintahub/shopify-api",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",