@whiplashmerch/whiplash-api-client 3.2.8 → 3.2.10

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.
@@ -1,5 +1,14 @@
1
- import { ApiSharedEntitiesAudits, ApiSharedEntitiesMetaFields, GetApiV21ShopsIdMetaFieldsParams, GetApiV2ShopsIdMetaFieldsParams, PutApiV21ShopsIdMetaFieldsRequest, PutApiV2ShopsIdMetaFieldsRequest } from "./data-contracts";
1
+ import { ApiSharedEntitiesAudits, ApiSharedEntitiesMetaFields, ApiV21EntitiesShop, ApiV2EntitiesShop, GetApiV21ShopsIdMetaFieldsParams, GetApiV2ShopsIdMetaFieldsParams, PutApiV21ShopsIdMetaFieldsRequest, PutApiV2ShopsIdMetaFieldsRequest } from "./data-contracts";
2
2
  import { HttpClient, RequestParams } from "./http-client";
3
+ /**
4
+ * @description Get a shop
5
+ *
6
+ * @tags shops
7
+ * @name GetApiV2ShopsId
8
+ * @summary Retrieve a shop's details
9
+ * @request GET:/api/v2/shops/{id}
10
+ */
11
+ export declare const getApiV2ShopsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV2EntitiesShop>;
3
12
  /**
4
13
  * @description Get all audits for shops
5
14
  *
@@ -27,6 +36,15 @@ export declare const getApiV2ShopsIdMetaFields: (client: HttpClient, { id, ...qu
27
36
  * @request PUT:/api/v2/shops/{id}/meta_fields
28
37
  */
29
38
  export declare const putApiV2ShopsIdMetaFields: (client: HttpClient, id: number, data: PutApiV2ShopsIdMetaFieldsRequest, params?: RequestParams) => Promise<void>;
39
+ /**
40
+ * @description Get a shop
41
+ *
42
+ * @tags shops
43
+ * @name GetApiV21ShopsId
44
+ * @summary Retrieve a shop's details
45
+ * @request GET:/api/v2.1/shops/{id}
46
+ */
47
+ export declare const getApiV21ShopsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV21EntitiesShop>;
30
48
  /**
31
49
  * @description Get all audits for shops
32
50
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whiplashmerch/whiplash-api-client",
3
- "version": "3.2.8",
3
+ "version": "3.2.10",
4
4
  "description": "",
5
5
  "devDependencies": {},
6
6
  "scripts": {