yellowgrid-api-ts 3.1.10 → 3.1.11

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.
@@ -92,6 +92,7 @@ docs/PostGetClientCredentialsRequest.md
92
92
  docs/PriceListItemModel.md
93
93
  docs/PricingApi.md
94
94
  docs/PrizesEntity.md
95
+ docs/ProductPriceListItemModel.md
95
96
  docs/ProductSearchResultsModel.md
96
97
  docs/ProductSerialInfoModel.md
97
98
  docs/ProductSummaryModel.md
package/README.md CHANGED
@@ -287,6 +287,7 @@ Class | Method | HTTP request | Description
287
287
  - [PostGetClientCredentialsRequest](docs/PostGetClientCredentialsRequest.md)
288
288
  - [PriceListItemModel](docs/PriceListItemModel.md)
289
289
  - [PrizesEntity](docs/PrizesEntity.md)
290
+ - [ProductPriceListItemModel](docs/ProductPriceListItemModel.md)
290
291
  - [ProductSearchResultsModel](docs/ProductSearchResultsModel.md)
291
292
  - [ProductSerialInfoModel](docs/ProductSerialInfoModel.md)
292
293
  - [ProductSummaryModel](docs/ProductSummaryModel.md)
package/api.ts CHANGED
@@ -3908,6 +3908,49 @@ export interface PrizesEntity {
3908
3908
  */
3909
3909
  'image'?: string;
3910
3910
  }
3911
+ /**
3912
+ * Product Price List Item
3913
+ * @export
3914
+ * @interface ProductPriceListItemModel
3915
+ */
3916
+ export interface ProductPriceListItemModel {
3917
+ /**
3918
+ * Title
3919
+ * @type {string}
3920
+ * @memberof ProductPriceListItemModel
3921
+ */
3922
+ 'title'?: string;
3923
+ /**
3924
+ * SKU
3925
+ * @type {string}
3926
+ * @memberof ProductPriceListItemModel
3927
+ */
3928
+ 'sku'?: string | null;
3929
+ /**
3930
+ * Price
3931
+ * @type {number}
3932
+ * @memberof ProductPriceListItemModel
3933
+ */
3934
+ 'price'?: number;
3935
+ /**
3936
+ * RRP
3937
+ * @type {number}
3938
+ * @memberof ProductPriceListItemModel
3939
+ */
3940
+ 'rrp'?: number | null;
3941
+ /**
3942
+ * Stock
3943
+ * @type {number}
3944
+ * @memberof ProductPriceListItemModel
3945
+ */
3946
+ 'stock'?: number | null;
3947
+ /**
3948
+ * Brand
3949
+ * @type {string}
3950
+ * @memberof ProductPriceListItemModel
3951
+ */
3952
+ 'brand'?: string | null;
3953
+ }
3911
3954
  /**
3912
3955
  * Product Search Results
3913
3956
  * @export
@@ -16187,7 +16230,7 @@ export const ProductsApiFp = function(configuration?: Configuration) {
16187
16230
  * @param {*} [options] Override http request option.
16188
16231
  * @throws {RequiredError}
16189
16232
  */
16190
- async getGetStockList(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PriceListItemModel>>> {
16233
+ async getGetStockList(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductPriceListItemModel>>> {
16191
16234
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetStockList(options);
16192
16235
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16193
16236
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.getGetStockList']?.[localVarOperationServerIndex]?.url;
@@ -16262,7 +16305,7 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
16262
16305
  * @param {*} [options] Override http request option.
16263
16306
  * @throws {RequiredError}
16264
16307
  */
16265
- getGetStockList(options?: RawAxiosRequestConfig): AxiosPromise<Array<PriceListItemModel>> {
16308
+ getGetStockList(options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductPriceListItemModel>> {
16266
16309
  return localVarFp.getGetStockList(options).then((request) => request(axios, basePath));
16267
16310
  },
16268
16311
  /**
package/dist/api.d.ts CHANGED
@@ -3879,6 +3879,49 @@ export interface PrizesEntity {
3879
3879
  */
3880
3880
  'image'?: string;
3881
3881
  }
3882
+ /**
3883
+ * Product Price List Item
3884
+ * @export
3885
+ * @interface ProductPriceListItemModel
3886
+ */
3887
+ export interface ProductPriceListItemModel {
3888
+ /**
3889
+ * Title
3890
+ * @type {string}
3891
+ * @memberof ProductPriceListItemModel
3892
+ */
3893
+ 'title'?: string;
3894
+ /**
3895
+ * SKU
3896
+ * @type {string}
3897
+ * @memberof ProductPriceListItemModel
3898
+ */
3899
+ 'sku'?: string | null;
3900
+ /**
3901
+ * Price
3902
+ * @type {number}
3903
+ * @memberof ProductPriceListItemModel
3904
+ */
3905
+ 'price'?: number;
3906
+ /**
3907
+ * RRP
3908
+ * @type {number}
3909
+ * @memberof ProductPriceListItemModel
3910
+ */
3911
+ 'rrp'?: number | null;
3912
+ /**
3913
+ * Stock
3914
+ * @type {number}
3915
+ * @memberof ProductPriceListItemModel
3916
+ */
3917
+ 'stock'?: number | null;
3918
+ /**
3919
+ * Brand
3920
+ * @type {string}
3921
+ * @memberof ProductPriceListItemModel
3922
+ */
3923
+ 'brand'?: string | null;
3924
+ }
3882
3925
  /**
3883
3926
  * Product Search Results
3884
3927
  * @export
@@ -12255,7 +12298,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
12255
12298
  * @param {*} [options] Override http request option.
12256
12299
  * @throws {RequiredError}
12257
12300
  */
12258
- getGetStockList(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PriceListItemModel>>>;
12301
+ getGetStockList(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductPriceListItemModel>>>;
12259
12302
  /**
12260
12303
  * Get 3CX Templates
12261
12304
  * @summary Get 3CX Templates
@@ -12308,7 +12351,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
12308
12351
  * @param {*} [options] Override http request option.
12309
12352
  * @throws {RequiredError}
12310
12353
  */
12311
- getGetStockList(options?: RawAxiosRequestConfig): AxiosPromise<Array<PriceListItemModel>>;
12354
+ getGetStockList(options?: RawAxiosRequestConfig): AxiosPromise<Array<ProductPriceListItemModel>>;
12312
12355
  /**
12313
12356
  * Get 3CX Templates
12314
12357
  * @summary Get 3CX Templates
@@ -12368,7 +12411,7 @@ export declare class ProductsApi extends BaseAPI {
12368
12411
  * @throws {RequiredError}
12369
12412
  * @memberof ProductsApi
12370
12413
  */
12371
- getGetStockList(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PriceListItemModel[], any, {}>>;
12414
+ getGetStockList(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductPriceListItemModel[], any, {}>>;
12372
12415
  /**
12373
12416
  * Get 3CX Templates
12374
12417
  * @summary Get 3CX Templates
@@ -0,0 +1,31 @@
1
+ # ProductPriceListItemModel
2
+
3
+ Product Price List Item
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **title** | **string** | Title | [optional] [default to undefined]
10
+ **sku** | **string** | SKU | [optional] [default to undefined]
11
+ **price** | **number** | Price | [optional] [default to undefined]
12
+ **rrp** | **number** | RRP | [optional] [default to undefined]
13
+ **stock** | **number** | Stock | [optional] [default to undefined]
14
+ **brand** | **string** | Brand | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { ProductPriceListItemModel } from 'yellowgrid-api-ts';
20
+
21
+ const instance: ProductPriceListItemModel = {
22
+ title,
23
+ sku,
24
+ price,
25
+ rrp,
26
+ stock,
27
+ brand,
28
+ };
29
+ ```
30
+
31
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -220,7 +220,7 @@ No authorization required
220
220
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
221
221
 
222
222
  # **getGetStockList**
223
- > Array<PriceListItemModel> getGetStockList()
223
+ > Array<ProductPriceListItemModel> getGetStockList()
224
224
 
225
225
  Get Current Stock & Pricing
226
226
 
@@ -244,7 +244,7 @@ This endpoint does not have any parameters.
244
244
 
245
245
  ### Return type
246
246
 
247
- **Array<PriceListItemModel>**
247
+ **Array<ProductPriceListItemModel>**
248
248
 
249
249
  ### Authorization
250
250
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yellowgrid-api-ts",
3
- "version": "3.1.10",
3
+ "version": "3.1.11",
4
4
  "description": "OpenAPI client for yellowgrid-api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {