@teemill/website 0.23.0 → 0.24.0
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/README.md +3 -2
- package/api.ts +29 -3
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +26 -3
- package/dist/api.js +6 -3
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +26 -3
- package/dist/esm/api.js +4 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/SalePrice.md +23 -0
- package/docs/Variant.md +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/website@0.
|
|
1
|
+
## @teemill/website@0.24.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/website@0.
|
|
39
|
+
npm install @teemill/website@0.24.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -148,6 +148,7 @@ Class | Method | HTTP request | Description
|
|
|
148
148
|
- [ReviewReplyAuthor](docs/ReviewReplyAuthor.md)
|
|
149
149
|
- [ReviewsResponse](docs/ReviewsResponse.md)
|
|
150
150
|
- [Route](docs/Route.md)
|
|
151
|
+
- [SalePrice](docs/SalePrice.md)
|
|
151
152
|
- [SearchRedirect](docs/SearchRedirect.md)
|
|
152
153
|
- [SearchRedirectsResponse](docs/SearchRedirectsResponse.md)
|
|
153
154
|
- [SeoMetadata](docs/SeoMetadata.md)
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Website API
|
|
5
5
|
* Manage your PodOS Website
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.24.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1596,6 +1596,32 @@ export interface Route {
|
|
|
1596
1596
|
*/
|
|
1597
1597
|
'published': boolean;
|
|
1598
1598
|
}
|
|
1599
|
+
/**
|
|
1600
|
+
* Discounted price including tax.
|
|
1601
|
+
* @export
|
|
1602
|
+
* @interface SalePrice
|
|
1603
|
+
*/
|
|
1604
|
+
export interface SalePrice {
|
|
1605
|
+
/**
|
|
1606
|
+
* Discounted price including tax in the specified currency.
|
|
1607
|
+
* @type {number}
|
|
1608
|
+
* @memberof SalePrice
|
|
1609
|
+
*/
|
|
1610
|
+
'amount': number;
|
|
1611
|
+
/**
|
|
1612
|
+
* Currency code for the currency the sale price is valued in.
|
|
1613
|
+
* @type {string}
|
|
1614
|
+
* @memberof SalePrice
|
|
1615
|
+
*/
|
|
1616
|
+
'currencyCode': SalePriceCurrencyCodeEnum;
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
export const SalePriceCurrencyCodeEnum = {
|
|
1620
|
+
Gbp: 'GBP'
|
|
1621
|
+
} as const;
|
|
1622
|
+
|
|
1623
|
+
export type SalePriceCurrencyCodeEnum = typeof SalePriceCurrencyCodeEnum[keyof typeof SalePriceCurrencyCodeEnum];
|
|
1624
|
+
|
|
1599
1625
|
/**
|
|
1600
1626
|
*
|
|
1601
1627
|
* @export
|
|
@@ -3035,10 +3061,10 @@ export interface Variant {
|
|
|
3035
3061
|
'retailPrice'?: Price;
|
|
3036
3062
|
/**
|
|
3037
3063
|
*
|
|
3038
|
-
* @type {
|
|
3064
|
+
* @type {SalePrice}
|
|
3039
3065
|
* @memberof Variant
|
|
3040
3066
|
*/
|
|
3041
|
-
'salePrice'?:
|
|
3067
|
+
'salePrice'?: SalePrice | null;
|
|
3042
3068
|
/**
|
|
3043
3069
|
*
|
|
3044
3070
|
* @type {Price}
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Website API
|
|
3
3
|
* Manage your PodOS Website
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.24.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1575,6 +1575,29 @@ export interface Route {
|
|
|
1575
1575
|
*/
|
|
1576
1576
|
'published': boolean;
|
|
1577
1577
|
}
|
|
1578
|
+
/**
|
|
1579
|
+
* Discounted price including tax.
|
|
1580
|
+
* @export
|
|
1581
|
+
* @interface SalePrice
|
|
1582
|
+
*/
|
|
1583
|
+
export interface SalePrice {
|
|
1584
|
+
/**
|
|
1585
|
+
* Discounted price including tax in the specified currency.
|
|
1586
|
+
* @type {number}
|
|
1587
|
+
* @memberof SalePrice
|
|
1588
|
+
*/
|
|
1589
|
+
'amount': number;
|
|
1590
|
+
/**
|
|
1591
|
+
* Currency code for the currency the sale price is valued in.
|
|
1592
|
+
* @type {string}
|
|
1593
|
+
* @memberof SalePrice
|
|
1594
|
+
*/
|
|
1595
|
+
'currencyCode': SalePriceCurrencyCodeEnum;
|
|
1596
|
+
}
|
|
1597
|
+
export declare const SalePriceCurrencyCodeEnum: {
|
|
1598
|
+
readonly Gbp: "GBP";
|
|
1599
|
+
};
|
|
1600
|
+
export type SalePriceCurrencyCodeEnum = typeof SalePriceCurrencyCodeEnum[keyof typeof SalePriceCurrencyCodeEnum];
|
|
1578
1601
|
/**
|
|
1579
1602
|
*
|
|
1580
1603
|
* @export
|
|
@@ -2989,10 +3012,10 @@ export interface Variant {
|
|
|
2989
3012
|
'retailPrice'?: Price;
|
|
2990
3013
|
/**
|
|
2991
3014
|
*
|
|
2992
|
-
* @type {
|
|
3015
|
+
* @type {SalePrice}
|
|
2993
3016
|
* @memberof Variant
|
|
2994
3017
|
*/
|
|
2995
|
-
'salePrice'?:
|
|
3018
|
+
'salePrice'?: SalePrice | null;
|
|
2996
3019
|
/**
|
|
2997
3020
|
*
|
|
2998
3021
|
* @type {Price}
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Website API
|
|
6
6
|
* Manage your PodOS Website
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.24.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,8 +22,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.RoutesApi = exports.RoutesApiFactory = exports.RoutesApiFp = exports.RoutesApiAxiosParamCreator = exports.ReviewsApi = exports.ReviewsApiFactory = void 0;
|
|
25
|
+
exports.ReviewsApiAxiosParamCreator = exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.PagesApi = exports.PagesApiFactory = exports.PagesApiFp = exports.PagesApiAxiosParamCreator = exports.MenuApi = exports.MenuApiFactory = exports.MenuApiFp = exports.MenuApiAxiosParamCreator = exports.FooterApi = exports.FooterApiFactory = exports.FooterApiFp = exports.FooterApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.CrossSellApi = exports.CrossSellApiFactory = exports.CrossSellApiFp = exports.CrossSellApiAxiosParamCreator = exports.CollectionsApi = exports.CollectionsApiFactory = exports.CollectionsApiFp = exports.CollectionsApiAxiosParamCreator = exports.BlogsApi = exports.BlogsApiFactory = exports.BlogsApiFp = exports.BlogsApiAxiosParamCreator = exports.UpdateMenuRequestItemSubmenuInnerImageTextShadowEnum = exports.UpdateMenuRequestItemSubmenuInnerImageTextAlignmentEnum = exports.UpdateMenuRequestItemSubmenuInnerImageButtonWidthEnum = exports.UpdateMenuRequestItemSubmenuInnerImageButtonBorderRadiusEnum = exports.UpdateMenuRequestItemSubmenuInnerModeEnum = exports.SubmenuInnerImageTextShadowEnum = exports.SubmenuInnerImageTextAlignmentEnum = exports.SubmenuInnerImageButtonWidthEnum = exports.SubmenuInnerImageButtonBorderRadiusEnum = exports.SubmenuInnerImageBorderRadiusEnum = exports.SubmenuInnerModeEnum = exports.SalePriceCurrencyCodeEnum = exports.PriceCurrencyCodeEnum = exports.PaymentAccountMethodEnum = exports.AttributeThumbnailTypeEnum = exports.ApplicationPlacementEnum = exports.ApplicationTechnologyEnum = void 0;
|
|
26
|
+
exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.RoutesApi = exports.RoutesApiFactory = exports.RoutesApiFp = exports.RoutesApiAxiosParamCreator = exports.ReviewsApi = exports.ReviewsApiFactory = exports.ReviewsApiFp = void 0;
|
|
27
27
|
const axios_1 = require("axios");
|
|
28
28
|
// Some imports not used depending on template conditions
|
|
29
29
|
// @ts-ignore
|
|
@@ -60,6 +60,9 @@ exports.PaymentAccountMethodEnum = {
|
|
|
60
60
|
exports.PriceCurrencyCodeEnum = {
|
|
61
61
|
Gbp: 'GBP'
|
|
62
62
|
};
|
|
63
|
+
exports.SalePriceCurrencyCodeEnum = {
|
|
64
|
+
Gbp: 'GBP'
|
|
65
|
+
};
|
|
63
66
|
exports.SubmenuInnerModeEnum = {
|
|
64
67
|
Image: 'image',
|
|
65
68
|
List: 'list'
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Website API
|
|
3
3
|
* Manage your PodOS Website
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.24.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1575,6 +1575,29 @@ export interface Route {
|
|
|
1575
1575
|
*/
|
|
1576
1576
|
'published': boolean;
|
|
1577
1577
|
}
|
|
1578
|
+
/**
|
|
1579
|
+
* Discounted price including tax.
|
|
1580
|
+
* @export
|
|
1581
|
+
* @interface SalePrice
|
|
1582
|
+
*/
|
|
1583
|
+
export interface SalePrice {
|
|
1584
|
+
/**
|
|
1585
|
+
* Discounted price including tax in the specified currency.
|
|
1586
|
+
* @type {number}
|
|
1587
|
+
* @memberof SalePrice
|
|
1588
|
+
*/
|
|
1589
|
+
'amount': number;
|
|
1590
|
+
/**
|
|
1591
|
+
* Currency code for the currency the sale price is valued in.
|
|
1592
|
+
* @type {string}
|
|
1593
|
+
* @memberof SalePrice
|
|
1594
|
+
*/
|
|
1595
|
+
'currencyCode': SalePriceCurrencyCodeEnum;
|
|
1596
|
+
}
|
|
1597
|
+
export declare const SalePriceCurrencyCodeEnum: {
|
|
1598
|
+
readonly Gbp: "GBP";
|
|
1599
|
+
};
|
|
1600
|
+
export type SalePriceCurrencyCodeEnum = typeof SalePriceCurrencyCodeEnum[keyof typeof SalePriceCurrencyCodeEnum];
|
|
1578
1601
|
/**
|
|
1579
1602
|
*
|
|
1580
1603
|
* @export
|
|
@@ -2989,10 +3012,10 @@ export interface Variant {
|
|
|
2989
3012
|
'retailPrice'?: Price;
|
|
2990
3013
|
/**
|
|
2991
3014
|
*
|
|
2992
|
-
* @type {
|
|
3015
|
+
* @type {SalePrice}
|
|
2993
3016
|
* @memberof Variant
|
|
2994
3017
|
*/
|
|
2995
|
-
'salePrice'?:
|
|
3018
|
+
'salePrice'?: SalePrice | null;
|
|
2996
3019
|
/**
|
|
2997
3020
|
*
|
|
2998
3021
|
* @type {Price}
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Website API
|
|
5
5
|
* Manage your PodOS Website
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.24.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -56,6 +56,9 @@ export const PaymentAccountMethodEnum = {
|
|
|
56
56
|
export const PriceCurrencyCodeEnum = {
|
|
57
57
|
Gbp: 'GBP'
|
|
58
58
|
};
|
|
59
|
+
export const SalePriceCurrencyCodeEnum = {
|
|
60
|
+
Gbp: 'GBP'
|
|
61
|
+
};
|
|
59
62
|
export const SubmenuInnerModeEnum = {
|
|
60
63
|
Image: 'image',
|
|
61
64
|
List: 'list'
|
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# SalePrice
|
|
2
|
+
|
|
3
|
+
Discounted price including tax.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**amount** | **number** | Discounted price including tax in the specified currency. | [default to undefined]
|
|
10
|
+
**currencyCode** | **string** | Currency code for the currency the sale price is valued in. | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { SalePrice } from '@teemill/website';
|
|
16
|
+
|
|
17
|
+
const instance: SalePrice = {
|
|
18
|
+
amount,
|
|
19
|
+
currencyCode,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/Variant.md
CHANGED
|
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**product** | [**VariantProduct**](VariantProduct.md) | | [optional] [default to undefined]
|
|
13
13
|
**sortOrder** | **number** | | [optional] [readonly] [default to undefined]
|
|
14
14
|
**retailPrice** | [**Price**](Price.md) | | [optional] [default to undefined]
|
|
15
|
-
**salePrice** | [**
|
|
15
|
+
**salePrice** | [**SalePrice**](SalePrice.md) | | [optional] [default to undefined]
|
|
16
16
|
**price** | [**Price**](Price.md) | | [optional] [readonly] [default to undefined]
|
|
17
17
|
**stock** | [**Stock**](Stock.md) | | [optional] [default to undefined]
|
|
18
18
|
**createdAt** | **string** | | [optional] [default to undefined]
|
package/index.ts
CHANGED