@digital8/lighting-illusions-ts-sdk 0.0.2266 → 0.0.2267
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/.openapi-generator/FILES +0 -10
- package/README.md +2 -7
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -1
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +1 -3
- package/dist/models/AddressResource.d.ts +2 -2
- package/dist/models/AddressResource.js +6 -2
- package/dist/models/CategoryAutomationFieldType.d.ts +0 -2
- package/dist/models/CategoryAutomationFieldType.js +1 -3
- package/dist/models/CreateProductCategoryRequestAutomationRulesInner.d.ts +0 -2
- package/dist/models/CreateProductCategoryRequestAutomationRulesInner.js +1 -3
- package/dist/models/FrontendCartResource.d.ts +18 -0
- package/dist/models/FrontendCartResource.js +12 -0
- package/dist/models/OrderFulfillmentResource.d.ts +1 -1
- package/dist/models/OrderFulfillmentResource.js +3 -1
- package/dist/models/ProductClassResource.d.ts +2 -2
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +1 -3
- package/dist/models/StoreListResource.d.ts +2 -2
- package/dist/models/StoreListResource.js +6 -2
- package/dist/models/StoreResource.d.ts +1 -1
- package/dist/models/StoreResource.js +1 -3
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
- package/dist/models/index.d.ts +0 -4
- package/dist/models/index.js +0 -4
- package/docs/FrontendCartResource.md +6 -0
- package/docs/ProductClassResource.md +1 -1
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/package.json +1 -1
- package/src/apis/index.ts +0 -1
- package/src/models/AddressFrontendResource.ts +2 -3
- package/src/models/AddressResource.ts +6 -4
- package/src/models/CategoryAutomationFieldType.ts +1 -3
- package/src/models/CreateProductCategoryRequestAutomationRulesInner.ts +1 -3
- package/src/models/FrontendCartResource.ts +27 -0
- package/src/models/OrderFulfillmentResource.ts +3 -2
- package/src/models/ProductClassResource.ts +2 -2
- package/src/models/StoreFrontendResource.ts +2 -3
- package/src/models/StoreListResource.ts +6 -4
- package/src/models/StoreResource.ts +2 -3
- package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
- package/src/models/index.ts +0 -4
- package/dist/apis/ProductClassApi.d.ts +0 -34
- package/dist/apis/ProductClassApi.js +0 -139
- package/dist/models/PaginatedProductClassLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductClassLiteResourceResponse.js +0 -57
- package/dist/models/ProductClassLiteResource.d.ts +0 -44
- package/dist/models/ProductClassLiteResource.js +0 -57
- package/dist/models/ProductClassLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductClassLiteResourceArrayResponse.js +0 -50
- package/dist/models/SearchAllProductClassesRequest.d.ts +0 -78
- package/dist/models/SearchAllProductClassesRequest.js +0 -74
- package/docs/PaginatedProductClassLiteResourceResponse.md +0 -36
- package/docs/ProductClassApi.md +0 -74
- package/docs/ProductClassLiteResource.md +0 -38
- package/docs/ProductClassLiteResourceArrayResponse.md +0 -34
- package/docs/SearchAllProductClassesRequest.md +0 -44
- package/src/apis/ProductClassApi.ts +0 -76
- package/src/models/PaginatedProductClassLiteResourceResponse.ts +0 -90
- package/src/models/ProductClassLiteResource.ts +0 -83
- package/src/models/ProductClassLiteResourceArrayResponse.ts +0 -73
- package/src/models/SearchAllProductClassesRequest.ts +0 -125
package/.openapi-generator/FILES
CHANGED
|
@@ -332,7 +332,6 @@ docs/PaginatedProductChildLiteResourceResponse.md
|
|
|
332
332
|
docs/PaginatedProductChildOverlayRelationResourceResponse.md
|
|
333
333
|
docs/PaginatedProductChildRelationResourceResponse.md
|
|
334
334
|
docs/PaginatedProductChildResourceResponse.md
|
|
335
|
-
docs/PaginatedProductClassLiteResourceResponse.md
|
|
336
335
|
docs/PaginatedProductListResourceResponse.md
|
|
337
336
|
docs/PaginatedProductLiteResourceResponse.md
|
|
338
337
|
docs/PaginatedProductRangeFrontendListResourceResponse.md
|
|
@@ -411,9 +410,6 @@ docs/ProductChildSiteDetailLiteResource.md
|
|
|
411
410
|
docs/ProductChildSiteDetailLiteResourceArrayResponse.md
|
|
412
411
|
docs/ProductChildSiteDetailResource.md
|
|
413
412
|
docs/ProductChildSiteDetailResourceArrayResponse.md
|
|
414
|
-
docs/ProductClassApi.md
|
|
415
|
-
docs/ProductClassLiteResource.md
|
|
416
|
-
docs/ProductClassLiteResourceArrayResponse.md
|
|
417
413
|
docs/ProductClassResource.md
|
|
418
414
|
docs/ProductClassResourceArrayResponse.md
|
|
419
415
|
docs/ProductCompareResource.md
|
|
@@ -522,7 +518,6 @@ docs/SearchAllPageComponentsRequest.md
|
|
|
522
518
|
docs/SearchAllPagesRequest.md
|
|
523
519
|
docs/SearchAllProductCategoriesRequest.md
|
|
524
520
|
docs/SearchAllProductChildrenRequest.md
|
|
525
|
-
docs/SearchAllProductClassesRequest.md
|
|
526
521
|
docs/SearchAllProductRangesRequest.md
|
|
527
522
|
docs/SearchAllProductRegistrationsRequest.md
|
|
528
523
|
docs/SearchAllProductTypesRequest.md
|
|
@@ -689,7 +684,6 @@ src/apis/PageApi.ts
|
|
|
689
684
|
src/apis/PageComponentApi.ts
|
|
690
685
|
src/apis/ProductApi.ts
|
|
691
686
|
src/apis/ProductCategoryApi.ts
|
|
692
|
-
src/apis/ProductClassApi.ts
|
|
693
687
|
src/apis/ProductRangeApi.ts
|
|
694
688
|
src/apis/ProductRegistrationApi.ts
|
|
695
689
|
src/apis/ProductTypeApi.ts
|
|
@@ -1014,7 +1008,6 @@ src/models/PaginatedProductChildLiteResourceResponse.ts
|
|
|
1014
1008
|
src/models/PaginatedProductChildOverlayRelationResourceResponse.ts
|
|
1015
1009
|
src/models/PaginatedProductChildRelationResourceResponse.ts
|
|
1016
1010
|
src/models/PaginatedProductChildResourceResponse.ts
|
|
1017
|
-
src/models/PaginatedProductClassLiteResourceResponse.ts
|
|
1018
1011
|
src/models/PaginatedProductListResourceResponse.ts
|
|
1019
1012
|
src/models/PaginatedProductLiteResourceResponse.ts
|
|
1020
1013
|
src/models/PaginatedProductRangeFrontendListResourceResponse.ts
|
|
@@ -1091,8 +1084,6 @@ src/models/ProductChildSiteDetailLiteResource.ts
|
|
|
1091
1084
|
src/models/ProductChildSiteDetailLiteResourceArrayResponse.ts
|
|
1092
1085
|
src/models/ProductChildSiteDetailResource.ts
|
|
1093
1086
|
src/models/ProductChildSiteDetailResourceArrayResponse.ts
|
|
1094
|
-
src/models/ProductClassLiteResource.ts
|
|
1095
|
-
src/models/ProductClassLiteResourceArrayResponse.ts
|
|
1096
1087
|
src/models/ProductClassResource.ts
|
|
1097
1088
|
src/models/ProductClassResourceArrayResponse.ts
|
|
1098
1089
|
src/models/ProductCompareResource.ts
|
|
@@ -1196,7 +1187,6 @@ src/models/SearchAllPageComponentsRequest.ts
|
|
|
1196
1187
|
src/models/SearchAllPagesRequest.ts
|
|
1197
1188
|
src/models/SearchAllProductCategoriesRequest.ts
|
|
1198
1189
|
src/models/SearchAllProductChildrenRequest.ts
|
|
1199
|
-
src/models/SearchAllProductClassesRequest.ts
|
|
1200
1190
|
src/models/SearchAllProductRangesRequest.ts
|
|
1201
1191
|
src/models/SearchAllProductRegistrationsRequest.ts
|
|
1202
1192
|
src/models/SearchAllProductTypesRequest.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.2267
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -208,7 +208,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
208
208
|
*ProductCategoryApi* | [**showProductCategory**](docs/ProductCategoryApi.md#showproductcategory) | **GET** /admin-api/product-category/{productCategory} | Auto-generated: showProductCategory
|
|
209
209
|
*ProductCategoryApi* | [**storeProductCategory**](docs/ProductCategoryApi.md#storeproductcategory) | **POST** /admin-api/product-category/create | Auto-generated: storeProductCategory
|
|
210
210
|
*ProductCategoryApi* | [**updateProductCategory**](docs/ProductCategoryApi.md#updateproductcategoryoperation) | **PUT** /admin-api/product-category/{productCategory}/update | Auto-generated: updateProductCategory
|
|
211
|
-
*ProductClassApi* | [**getAllProductClass**](docs/ProductClassApi.md#getallproductclass) | **POST** /admin-api/product-class/all | Auto-generated: getAllProductClass
|
|
212
211
|
*ProductRangeApi* | [**attachAccessoriesProductRange**](docs/ProductRangeApi.md#attachaccessoriesproductrange) | **POST** /admin-api/product-range/{productRange}/attach-accessories | Auto-generated: attachAccessoriesProductRange
|
|
213
212
|
*ProductRangeApi* | [**attachAttributesProductRange**](docs/ProductRangeApi.md#attachattributesproductrange) | **POST** /admin-api/product-range/{productRange}/attach-attributes | Auto-generated: attachAttributesProductRange
|
|
214
213
|
*ProductRangeApi* | [**attachDocumentsProductRange**](docs/ProductRangeApi.md#attachdocumentsproductrange) | **POST** /admin-api/product-range/{productRange}/attach-documents | Auto-generated: attachDocumentsProductRange
|
|
@@ -606,7 +605,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
606
605
|
- [PaginatedProductChildOverlayRelationResourceResponse](docs/PaginatedProductChildOverlayRelationResourceResponse.md)
|
|
607
606
|
- [PaginatedProductChildRelationResourceResponse](docs/PaginatedProductChildRelationResourceResponse.md)
|
|
608
607
|
- [PaginatedProductChildResourceResponse](docs/PaginatedProductChildResourceResponse.md)
|
|
609
|
-
- [PaginatedProductClassLiteResourceResponse](docs/PaginatedProductClassLiteResourceResponse.md)
|
|
610
608
|
- [PaginatedProductListResourceResponse](docs/PaginatedProductListResourceResponse.md)
|
|
611
609
|
- [PaginatedProductLiteResourceResponse](docs/PaginatedProductLiteResourceResponse.md)
|
|
612
610
|
- [PaginatedProductRangeFrontendListResourceResponse](docs/PaginatedProductRangeFrontendListResourceResponse.md)
|
|
@@ -683,8 +681,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
683
681
|
- [ProductChildSiteDetailLiteResourceArrayResponse](docs/ProductChildSiteDetailLiteResourceArrayResponse.md)
|
|
684
682
|
- [ProductChildSiteDetailResource](docs/ProductChildSiteDetailResource.md)
|
|
685
683
|
- [ProductChildSiteDetailResourceArrayResponse](docs/ProductChildSiteDetailResourceArrayResponse.md)
|
|
686
|
-
- [ProductClassLiteResource](docs/ProductClassLiteResource.md)
|
|
687
|
-
- [ProductClassLiteResourceArrayResponse](docs/ProductClassLiteResourceArrayResponse.md)
|
|
688
684
|
- [ProductClassResource](docs/ProductClassResource.md)
|
|
689
685
|
- [ProductClassResourceArrayResponse](docs/ProductClassResourceArrayResponse.md)
|
|
690
686
|
- [ProductCompareResource](docs/ProductCompareResource.md)
|
|
@@ -788,7 +784,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
788
784
|
- [SearchAllPagesRequest](docs/SearchAllPagesRequest.md)
|
|
789
785
|
- [SearchAllProductCategoriesRequest](docs/SearchAllProductCategoriesRequest.md)
|
|
790
786
|
- [SearchAllProductChildrenRequest](docs/SearchAllProductChildrenRequest.md)
|
|
791
|
-
- [SearchAllProductClassesRequest](docs/SearchAllProductClassesRequest.md)
|
|
792
787
|
- [SearchAllProductRangesRequest](docs/SearchAllProductRangesRequest.md)
|
|
793
788
|
- [SearchAllProductRegistrationsRequest](docs/SearchAllProductRegistrationsRequest.md)
|
|
794
789
|
- [SearchAllProductTypesRequest](docs/SearchAllProductTypesRequest.md)
|
|
@@ -942,7 +937,7 @@ and is automatically generated by the
|
|
|
942
937
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
943
938
|
|
|
944
939
|
- API version: `1.0.0`
|
|
945
|
-
- Package version: `0.0.
|
|
940
|
+
- Package version: `0.0.2267`
|
|
946
941
|
- Generator version: `7.22.0`
|
|
947
942
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
948
943
|
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -18,7 +18,6 @@ export * from './PageApi';
|
|
|
18
18
|
export * from './PageComponentApi';
|
|
19
19
|
export * from './ProductApi';
|
|
20
20
|
export * from './ProductCategoryApi';
|
|
21
|
-
export * from './ProductClassApi';
|
|
22
21
|
export * from './ProductRangeApi';
|
|
23
22
|
export * from './ProductRegistrationApi';
|
|
24
23
|
export * from './ProductTypeApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -36,7 +36,6 @@ __exportStar(require("./PageApi"), exports);
|
|
|
36
36
|
__exportStar(require("./PageComponentApi"), exports);
|
|
37
37
|
__exportStar(require("./ProductApi"), exports);
|
|
38
38
|
__exportStar(require("./ProductCategoryApi"), exports);
|
|
39
|
-
__exportStar(require("./ProductClassApi"), exports);
|
|
40
39
|
__exportStar(require("./ProductRangeApi"), exports);
|
|
41
40
|
__exportStar(require("./ProductRegistrationApi"), exports);
|
|
42
41
|
__exportStar(require("./ProductTypeApi"), exports);
|
|
@@ -26,8 +26,6 @@ function instanceOfAddressFrontendResource(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('line1' in value) || value['line1'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
-
if (!('line2' in value) || value['line2'] === undefined)
|
|
30
|
-
return false;
|
|
31
29
|
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
32
30
|
return false;
|
|
33
31
|
if (!('suburb' in value) || value['suburb'] === undefined)
|
|
@@ -50,7 +48,7 @@ function AddressFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
48
|
return {
|
|
51
49
|
'company': json['company'],
|
|
52
50
|
'line1': json['line1'],
|
|
53
|
-
'line2': json['line2'],
|
|
51
|
+
'line2': json['line2'] == null ? undefined : json['line2'],
|
|
54
52
|
'postcode': json['postcode'],
|
|
55
53
|
'suburb': json['suburb'],
|
|
56
54
|
'country': json['country'],
|
|
@@ -38,13 +38,13 @@ export interface AddressResource {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof AddressResource
|
|
40
40
|
*/
|
|
41
|
-
addresseeName
|
|
41
|
+
addresseeName: string;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof AddressResource
|
|
46
46
|
*/
|
|
47
|
-
company
|
|
47
|
+
company: string;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {string}
|
|
@@ -22,6 +22,10 @@ exports.AddressResourceToJSONTyped = AddressResourceToJSONTyped;
|
|
|
22
22
|
* Check if a given object implements the AddressResource interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfAddressResource(value) {
|
|
25
|
+
if (!('addresseeName' in value) || value['addresseeName'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('company' in value) || value['company'] === undefined)
|
|
28
|
+
return false;
|
|
25
29
|
if (!('line1' in value) || value['line1'] === undefined)
|
|
26
30
|
return false;
|
|
27
31
|
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
@@ -47,8 +51,8 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
51
|
'id': json['id'] == null ? undefined : json['id'],
|
|
48
52
|
'type': json['type'] == null ? undefined : json['type'],
|
|
49
53
|
'sourceAddressId': json['sourceAddressId'] == null ? undefined : json['sourceAddressId'],
|
|
50
|
-
'addresseeName': json['addresseeName']
|
|
51
|
-
'company': json['company']
|
|
54
|
+
'addresseeName': json['addresseeName'],
|
|
55
|
+
'company': json['company'],
|
|
52
56
|
'line1': json['line1'],
|
|
53
57
|
'line2': json['line2'] == null ? undefined : json['line2'],
|
|
54
58
|
'postcode': json['postcode'],
|
|
@@ -21,8 +21,6 @@ export declare const CategoryAutomationFieldType: {
|
|
|
21
21
|
readonly Tag: "tag";
|
|
22
22
|
readonly Supplier: "supplier";
|
|
23
23
|
readonly Label: "label";
|
|
24
|
-
readonly ProductType: "product_type";
|
|
25
|
-
readonly ProductClass: "product_class";
|
|
26
24
|
};
|
|
27
25
|
export type CategoryAutomationFieldType = typeof CategoryAutomationFieldType[keyof typeof CategoryAutomationFieldType];
|
|
28
26
|
export declare function instanceOfCategoryAutomationFieldType(value: any): boolean;
|
|
@@ -30,9 +30,7 @@ exports.CategoryAutomationFieldType = {
|
|
|
30
30
|
Attribute: 'attribute',
|
|
31
31
|
Tag: 'tag',
|
|
32
32
|
Supplier: 'supplier',
|
|
33
|
-
Label: 'label'
|
|
34
|
-
ProductType: 'product_type',
|
|
35
|
-
ProductClass: 'product_class'
|
|
33
|
+
Label: 'label'
|
|
36
34
|
};
|
|
37
35
|
function instanceOfCategoryAutomationFieldType(value) {
|
|
38
36
|
for (var key in exports.CategoryAutomationFieldType) {
|
|
@@ -63,8 +63,6 @@ export declare const CreateProductCategoryRequestAutomationRulesInnerFieldTypeEn
|
|
|
63
63
|
readonly Tag: "tag";
|
|
64
64
|
readonly Supplier: "supplier";
|
|
65
65
|
readonly Label: "label";
|
|
66
|
-
readonly ProductType: "product_type";
|
|
67
|
-
readonly ProductClass: "product_class";
|
|
68
66
|
};
|
|
69
67
|
export type CreateProductCategoryRequestAutomationRulesInnerFieldTypeEnum = typeof CreateProductCategoryRequestAutomationRulesInnerFieldTypeEnum[keyof typeof CreateProductCategoryRequestAutomationRulesInnerFieldTypeEnum];
|
|
70
68
|
/**
|
|
@@ -29,9 +29,7 @@ exports.CreateProductCategoryRequestAutomationRulesInnerFieldTypeEnum = {
|
|
|
29
29
|
Attribute: 'attribute',
|
|
30
30
|
Tag: 'tag',
|
|
31
31
|
Supplier: 'supplier',
|
|
32
|
-
Label: 'label'
|
|
33
|
-
ProductType: 'product_type',
|
|
34
|
-
ProductClass: 'product_class'
|
|
32
|
+
Label: 'label'
|
|
35
33
|
};
|
|
36
34
|
/**
|
|
37
35
|
* @export
|
|
@@ -91,6 +91,12 @@ export interface FrontendCartResource {
|
|
|
91
91
|
* @memberof FrontendCartResource
|
|
92
92
|
*/
|
|
93
93
|
subtotal: number;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {number}
|
|
97
|
+
* @memberof FrontendCartResource
|
|
98
|
+
*/
|
|
99
|
+
subtotalAfterDiscounts: number;
|
|
94
100
|
/**
|
|
95
101
|
*
|
|
96
102
|
* @type {number}
|
|
@@ -121,6 +127,18 @@ export interface FrontendCartResource {
|
|
|
121
127
|
* @memberof FrontendCartResource
|
|
122
128
|
*/
|
|
123
129
|
transitInsurance: number;
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @type {number}
|
|
133
|
+
* @memberof FrontendCartResource
|
|
134
|
+
*/
|
|
135
|
+
deliveryShippingQuote: number;
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @type {number}
|
|
139
|
+
* @memberof FrontendCartResource
|
|
140
|
+
*/
|
|
141
|
+
transitInsuranceQuote: number;
|
|
124
142
|
/**
|
|
125
143
|
*
|
|
126
144
|
* @type {number}
|
|
@@ -44,6 +44,8 @@ function instanceOfFrontendCartResource(value) {
|
|
|
44
44
|
return false;
|
|
45
45
|
if (!('subtotal' in value) || value['subtotal'] === undefined)
|
|
46
46
|
return false;
|
|
47
|
+
if (!('subtotalAfterDiscounts' in value) || value['subtotalAfterDiscounts'] === undefined)
|
|
48
|
+
return false;
|
|
47
49
|
if (!('promotionalDiscount' in value) || value['promotionalDiscount'] === undefined)
|
|
48
50
|
return false;
|
|
49
51
|
if (!('couponSubtotalDiscount' in value) || value['couponSubtotalDiscount'] === undefined)
|
|
@@ -54,6 +56,10 @@ function instanceOfFrontendCartResource(value) {
|
|
|
54
56
|
return false;
|
|
55
57
|
if (!('transitInsurance' in value) || value['transitInsurance'] === undefined)
|
|
56
58
|
return false;
|
|
59
|
+
if (!('deliveryShippingQuote' in value) || value['deliveryShippingQuote'] === undefined)
|
|
60
|
+
return false;
|
|
61
|
+
if (!('transitInsuranceQuote' in value) || value['transitInsuranceQuote'] === undefined)
|
|
62
|
+
return false;
|
|
57
63
|
if (!('gst' in value) || value['gst'] === undefined)
|
|
58
64
|
return false;
|
|
59
65
|
if (!('grandTotal' in value) || value['grandTotal'] === undefined)
|
|
@@ -80,11 +86,14 @@ function FrontendCartResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
80
86
|
'lineItems': (json['lineItems'] == null ? null : json['lineItems'].map(FrontendLineItemResource_1.FrontendLineItemResourceFromJSON)),
|
|
81
87
|
'coupons': (json['coupons'].map(FrontendCartResourceCouponsInner_1.FrontendCartResourceCouponsInnerFromJSON)),
|
|
82
88
|
'subtotal': json['subtotal'],
|
|
89
|
+
'subtotalAfterDiscounts': json['subtotalAfterDiscounts'],
|
|
83
90
|
'promotionalDiscount': json['promotionalDiscount'],
|
|
84
91
|
'couponSubtotalDiscount': json['couponSubtotalDiscount'],
|
|
85
92
|
'couponShippingDiscount': json['couponShippingDiscount'],
|
|
86
93
|
'shipping': json['shipping'],
|
|
87
94
|
'transitInsurance': json['transitInsurance'],
|
|
95
|
+
'deliveryShippingQuote': json['deliveryShippingQuote'],
|
|
96
|
+
'transitInsuranceQuote': json['transitInsuranceQuote'],
|
|
88
97
|
'gst': json['gst'],
|
|
89
98
|
'grandTotal': json['grandTotal'],
|
|
90
99
|
};
|
|
@@ -110,11 +119,14 @@ function FrontendCartResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
110
119
|
'lineItems': (value['lineItems'] == null ? null : value['lineItems'].map(FrontendLineItemResource_1.FrontendLineItemResourceToJSON)),
|
|
111
120
|
'coupons': (value['coupons'].map(FrontendCartResourceCouponsInner_1.FrontendCartResourceCouponsInnerToJSON)),
|
|
112
121
|
'subtotal': value['subtotal'],
|
|
122
|
+
'subtotalAfterDiscounts': value['subtotalAfterDiscounts'],
|
|
113
123
|
'promotionalDiscount': value['promotionalDiscount'],
|
|
114
124
|
'couponSubtotalDiscount': value['couponSubtotalDiscount'],
|
|
115
125
|
'couponShippingDiscount': value['couponShippingDiscount'],
|
|
116
126
|
'shipping': value['shipping'],
|
|
117
127
|
'transitInsurance': value['transitInsurance'],
|
|
128
|
+
'deliveryShippingQuote': value['deliveryShippingQuote'],
|
|
129
|
+
'transitInsuranceQuote': value['transitInsuranceQuote'],
|
|
118
130
|
'gst': value['gst'],
|
|
119
131
|
'grandTotal': value['grandTotal'],
|
|
120
132
|
};
|
|
@@ -29,6 +29,8 @@ function instanceOfOrderFulfillmentResource(value) {
|
|
|
29
29
|
return false;
|
|
30
30
|
if (!('dateShipped' in value) || value['dateShipped'] === undefined)
|
|
31
31
|
return false;
|
|
32
|
+
if (!('trackingNumber' in value) || value['trackingNumber'] === undefined)
|
|
33
|
+
return false;
|
|
32
34
|
if (!('trackingUrl' in value) || value['trackingUrl'] === undefined)
|
|
33
35
|
return false;
|
|
34
36
|
if (!('docnum' in value) || value['docnum'] === undefined)
|
|
@@ -50,7 +52,7 @@ function OrderFulfillmentResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
52
|
'id': json['id'],
|
|
51
53
|
'orderId': json['orderId'],
|
|
52
54
|
'dateShipped': (new Date(json['dateShipped'])),
|
|
53
|
-
'trackingNumber': json['trackingNumber']
|
|
55
|
+
'trackingNumber': json['trackingNumber'],
|
|
54
56
|
'trackingUrl': json['trackingUrl'],
|
|
55
57
|
'trackingCompany': json['trackingCompany'] == null ? undefined : json['trackingCompany'],
|
|
56
58
|
'docnum': json['docnum'],
|
|
@@ -35,10 +35,10 @@ export interface ProductClassResource {
|
|
|
35
35
|
name: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {
|
|
38
|
+
* @type {string}
|
|
39
39
|
* @memberof ProductClassResource
|
|
40
40
|
*/
|
|
41
|
-
parentId?:
|
|
41
|
+
parentId?: string | null;
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
44
|
* Check if a given object implements the ProductClassResource interface.
|
|
@@ -36,8 +36,6 @@ function instanceOfStoreFrontendResource(value) {
|
|
|
36
36
|
return false;
|
|
37
37
|
if (!('longitude' in value) || value['longitude'] === undefined)
|
|
38
38
|
return false;
|
|
39
|
-
if (!('tagLine' in value) || value['tagLine'] === undefined)
|
|
40
|
-
return false;
|
|
41
39
|
if (!('specialDates' in value) || value['specialDates'] === undefined)
|
|
42
40
|
return false;
|
|
43
41
|
if (!('suppliers' in value) || value['suppliers'] === undefined)
|
|
@@ -61,7 +59,7 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
59
|
'address': json['address'] == null ? undefined : json['address'],
|
|
62
60
|
'latitude': json['latitude'],
|
|
63
61
|
'longitude': json['longitude'],
|
|
64
|
-
'tagLine': json['tagLine'],
|
|
62
|
+
'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
|
|
65
63
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
66
64
|
'specialDates': json['specialDates'],
|
|
67
65
|
'suppliers': json['suppliers'],
|
|
@@ -57,7 +57,7 @@ export interface StoreListResource {
|
|
|
57
57
|
* @type {string}
|
|
58
58
|
* @memberof StoreListResource
|
|
59
59
|
*/
|
|
60
|
-
tagLine
|
|
60
|
+
tagLine: string;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
63
|
* @type {string}
|
|
@@ -69,7 +69,7 @@ export interface StoreListResource {
|
|
|
69
69
|
* @type {string}
|
|
70
70
|
* @memberof StoreListResource
|
|
71
71
|
*/
|
|
72
|
-
website
|
|
72
|
+
website: string;
|
|
73
73
|
/**
|
|
74
74
|
*
|
|
75
75
|
* @type {number}
|
|
@@ -33,8 +33,12 @@ function instanceOfStoreListResource(value) {
|
|
|
33
33
|
return false;
|
|
34
34
|
if (!('latitude' in value) || value['latitude'] === undefined)
|
|
35
35
|
return false;
|
|
36
|
+
if (!('tagLine' in value) || value['tagLine'] === undefined)
|
|
37
|
+
return false;
|
|
36
38
|
if (!('email' in value) || value['email'] === undefined)
|
|
37
39
|
return false;
|
|
40
|
+
if (!('website' in value) || value['website'] === undefined)
|
|
41
|
+
return false;
|
|
38
42
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
|
|
39
43
|
return false;
|
|
40
44
|
if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined)
|
|
@@ -55,9 +59,9 @@ function StoreListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
59
|
'phone': json['phone'],
|
|
56
60
|
'longitude': json['longitude'],
|
|
57
61
|
'latitude': json['latitude'],
|
|
58
|
-
'tagLine': json['tagLine']
|
|
62
|
+
'tagLine': json['tagLine'],
|
|
59
63
|
'email': json['email'],
|
|
60
|
-
'website': json['website']
|
|
64
|
+
'website': json['website'],
|
|
61
65
|
'netsuiteId': json['netsuiteId'],
|
|
62
66
|
'displayNetsuiteId': json['displayNetsuiteId'],
|
|
63
67
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
@@ -40,8 +40,6 @@ function instanceOfStoreResource(value) {
|
|
|
40
40
|
return false;
|
|
41
41
|
if (!('email' in value) || value['email'] === undefined)
|
|
42
42
|
return false;
|
|
43
|
-
if (!('website' in value) || value['website'] === undefined)
|
|
44
|
-
return false;
|
|
45
43
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
|
|
46
44
|
return false;
|
|
47
45
|
if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined)
|
|
@@ -70,7 +68,7 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
70
68
|
'latitude': json['latitude'],
|
|
71
69
|
'tagLine': json['tagLine'],
|
|
72
70
|
'email': json['email'],
|
|
73
|
-
'website': json['website'],
|
|
71
|
+
'website': json['website'] == null ? undefined : json['website'],
|
|
74
72
|
'netsuiteId': json['netsuiteId'],
|
|
75
73
|
'displayNetsuiteId': json['displayNetsuiteId'],
|
|
76
74
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
@@ -35,10 +35,10 @@ export interface StoreSpecialDateFrontendResource {
|
|
|
35
35
|
hours: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {
|
|
38
|
+
* @type {object}
|
|
39
39
|
* @memberof StoreSpecialDateFrontendResource
|
|
40
40
|
*/
|
|
41
|
-
date
|
|
41
|
+
date: object;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {boolean}
|
|
@@ -26,6 +26,8 @@ function instanceOfStoreSpecialDateFrontendResource(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('hours' in value) || value['hours'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
+
if (!('date' in value) || value['date'] === undefined)
|
|
30
|
+
return false;
|
|
29
31
|
if (!('closed' in value) || value['closed'] === undefined)
|
|
30
32
|
return false;
|
|
31
33
|
if (!('displayStartDate' in value) || value['displayStartDate'] === undefined)
|
|
@@ -45,7 +47,7 @@ function StoreSpecialDateFrontendResourceFromJSONTyped(json, ignoreDiscriminator
|
|
|
45
47
|
'id': json['id'] == null ? undefined : json['id'],
|
|
46
48
|
'name': json['name'],
|
|
47
49
|
'hours': json['hours'],
|
|
48
|
-
'date': json['date']
|
|
50
|
+
'date': json['date'],
|
|
49
51
|
'closed': json['closed'],
|
|
50
52
|
'displayStartDate': json['displayStartDate'],
|
|
51
53
|
'displayEndDate': json['displayEndDate'],
|
package/dist/models/index.d.ts
CHANGED
|
@@ -310,7 +310,6 @@ export * from './PaginatedProductChildLiteResourceResponse';
|
|
|
310
310
|
export * from './PaginatedProductChildOverlayRelationResourceResponse';
|
|
311
311
|
export * from './PaginatedProductChildRelationResourceResponse';
|
|
312
312
|
export * from './PaginatedProductChildResourceResponse';
|
|
313
|
-
export * from './PaginatedProductClassLiteResourceResponse';
|
|
314
313
|
export * from './PaginatedProductListResourceResponse';
|
|
315
314
|
export * from './PaginatedProductLiteResourceResponse';
|
|
316
315
|
export * from './PaginatedProductRangeFrontendListResourceResponse';
|
|
@@ -387,8 +386,6 @@ export * from './ProductChildSiteDetailLiteResource';
|
|
|
387
386
|
export * from './ProductChildSiteDetailLiteResourceArrayResponse';
|
|
388
387
|
export * from './ProductChildSiteDetailResource';
|
|
389
388
|
export * from './ProductChildSiteDetailResourceArrayResponse';
|
|
390
|
-
export * from './ProductClassLiteResource';
|
|
391
|
-
export * from './ProductClassLiteResourceArrayResponse';
|
|
392
389
|
export * from './ProductClassResource';
|
|
393
390
|
export * from './ProductClassResourceArrayResponse';
|
|
394
391
|
export * from './ProductCompareResource';
|
|
@@ -492,7 +489,6 @@ export * from './SearchAllPageComponentsRequest';
|
|
|
492
489
|
export * from './SearchAllPagesRequest';
|
|
493
490
|
export * from './SearchAllProductCategoriesRequest';
|
|
494
491
|
export * from './SearchAllProductChildrenRequest';
|
|
495
|
-
export * from './SearchAllProductClassesRequest';
|
|
496
492
|
export * from './SearchAllProductRangesRequest';
|
|
497
493
|
export * from './SearchAllProductRegistrationsRequest';
|
|
498
494
|
export * from './SearchAllProductTypesRequest';
|
package/dist/models/index.js
CHANGED
|
@@ -328,7 +328,6 @@ __exportStar(require("./PaginatedProductChildLiteResourceResponse"), exports);
|
|
|
328
328
|
__exportStar(require("./PaginatedProductChildOverlayRelationResourceResponse"), exports);
|
|
329
329
|
__exportStar(require("./PaginatedProductChildRelationResourceResponse"), exports);
|
|
330
330
|
__exportStar(require("./PaginatedProductChildResourceResponse"), exports);
|
|
331
|
-
__exportStar(require("./PaginatedProductClassLiteResourceResponse"), exports);
|
|
332
331
|
__exportStar(require("./PaginatedProductListResourceResponse"), exports);
|
|
333
332
|
__exportStar(require("./PaginatedProductLiteResourceResponse"), exports);
|
|
334
333
|
__exportStar(require("./PaginatedProductRangeFrontendListResourceResponse"), exports);
|
|
@@ -405,8 +404,6 @@ __exportStar(require("./ProductChildSiteDetailLiteResource"), exports);
|
|
|
405
404
|
__exportStar(require("./ProductChildSiteDetailLiteResourceArrayResponse"), exports);
|
|
406
405
|
__exportStar(require("./ProductChildSiteDetailResource"), exports);
|
|
407
406
|
__exportStar(require("./ProductChildSiteDetailResourceArrayResponse"), exports);
|
|
408
|
-
__exportStar(require("./ProductClassLiteResource"), exports);
|
|
409
|
-
__exportStar(require("./ProductClassLiteResourceArrayResponse"), exports);
|
|
410
407
|
__exportStar(require("./ProductClassResource"), exports);
|
|
411
408
|
__exportStar(require("./ProductClassResourceArrayResponse"), exports);
|
|
412
409
|
__exportStar(require("./ProductCompareResource"), exports);
|
|
@@ -510,7 +507,6 @@ __exportStar(require("./SearchAllPageComponentsRequest"), exports);
|
|
|
510
507
|
__exportStar(require("./SearchAllPagesRequest"), exports);
|
|
511
508
|
__exportStar(require("./SearchAllProductCategoriesRequest"), exports);
|
|
512
509
|
__exportStar(require("./SearchAllProductChildrenRequest"), exports);
|
|
513
|
-
__exportStar(require("./SearchAllProductClassesRequest"), exports);
|
|
514
510
|
__exportStar(require("./SearchAllProductRangesRequest"), exports);
|
|
515
511
|
__exportStar(require("./SearchAllProductRegistrationsRequest"), exports);
|
|
516
512
|
__exportStar(require("./SearchAllProductTypesRequest"), exports);
|
|
@@ -18,11 +18,14 @@ Name | Type
|
|
|
18
18
|
`lineItems` | [Array<FrontendLineItemResource>](FrontendLineItemResource.md)
|
|
19
19
|
`coupons` | [Array<FrontendCartResourceCouponsInner>](FrontendCartResourceCouponsInner.md)
|
|
20
20
|
`subtotal` | number
|
|
21
|
+
`subtotalAfterDiscounts` | number
|
|
21
22
|
`promotionalDiscount` | number
|
|
22
23
|
`couponSubtotalDiscount` | number
|
|
23
24
|
`couponShippingDiscount` | number
|
|
24
25
|
`shipping` | number
|
|
25
26
|
`transitInsurance` | number
|
|
27
|
+
`deliveryShippingQuote` | number
|
|
28
|
+
`transitInsuranceQuote` | number
|
|
26
29
|
`gst` | number
|
|
27
30
|
`grandTotal` | number
|
|
28
31
|
|
|
@@ -45,11 +48,14 @@ const example = {
|
|
|
45
48
|
"lineItems": null,
|
|
46
49
|
"coupons": null,
|
|
47
50
|
"subtotal": null,
|
|
51
|
+
"subtotalAfterDiscounts": null,
|
|
48
52
|
"promotionalDiscount": null,
|
|
49
53
|
"couponSubtotalDiscount": null,
|
|
50
54
|
"couponShippingDiscount": null,
|
|
51
55
|
"shipping": null,
|
|
52
56
|
"transitInsurance": null,
|
|
57
|
+
"deliveryShippingQuote": null,
|
|
58
|
+
"transitInsuranceQuote": null,
|
|
53
59
|
"gst": null,
|
|
54
60
|
"grandTotal": null,
|
|
55
61
|
} satisfies FrontendCartResource
|
package/package.json
CHANGED
package/src/apis/index.ts
CHANGED
|
@@ -20,7 +20,6 @@ export * from './PageApi';
|
|
|
20
20
|
export * from './PageComponentApi';
|
|
21
21
|
export * from './ProductApi';
|
|
22
22
|
export * from './ProductCategoryApi';
|
|
23
|
-
export * from './ProductClassApi';
|
|
24
23
|
export * from './ProductRangeApi';
|
|
25
24
|
export * from './ProductRegistrationApi';
|
|
26
25
|
export * from './ProductTypeApi';
|