@digital8/lighting-illusions-ts-sdk 0.0.2262 → 0.0.2264
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 +2 -2
- package/dist/models/AddressFrontendResource.js +2 -6
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +3 -1
- 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/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/OrderFulfillmentResource.d.ts +2 -2
- package/dist/models/OrderFulfillmentResource.js +6 -2
- package/dist/models/ProductClassResource.d.ts +2 -2
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +3 -1
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +3 -1
- package/dist/models/StoreResource.d.ts +2 -2
- package/dist/models/StoreResource.js +4 -4
- package/dist/models/StoreSpecialDateResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateResource.js +1 -3
- package/dist/models/index.d.ts +0 -4
- package/dist/models/index.js +0 -4
- package/docs/ProductClassResource.md +1 -1
- package/docs/StoreSpecialDateResource.md +1 -1
- package/package.json +1 -1
- package/src/apis/index.ts +0 -1
- package/src/models/AddressFrontendResource.ts +4 -6
- package/src/models/AddressResource.ts +3 -2
- package/src/models/CategoryAutomationFieldType.ts +1 -3
- package/src/models/CreateProductCategoryRequestAutomationRulesInner.ts +1 -3
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/OrderFulfillmentResource.ts +6 -4
- package/src/models/ProductClassResource.ts +2 -2
- package/src/models/StoreFrontendResource.ts +3 -2
- package/src/models/StoreListResource.ts +3 -2
- package/src/models/StoreResource.ts +5 -5
- package/src/models/StoreSpecialDateResource.ts +3 -4
- 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.2264
|
|
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.2264`
|
|
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);
|
|
@@ -20,7 +20,7 @@ export interface AddressFrontendResource {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof AddressFrontendResource
|
|
22
22
|
*/
|
|
23
|
-
company
|
|
23
|
+
company?: string | null;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
@@ -32,7 +32,7 @@ export interface AddressFrontendResource {
|
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof AddressFrontendResource
|
|
34
34
|
*/
|
|
35
|
-
line2
|
|
35
|
+
line2?: string | null;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
@@ -22,12 +22,8 @@ exports.AddressFrontendResourceToJSONTyped = AddressFrontendResourceToJSONTyped;
|
|
|
22
22
|
* Check if a given object implements the AddressFrontendResource interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfAddressFrontendResource(value) {
|
|
25
|
-
if (!('company' in value) || value['company'] === undefined)
|
|
26
|
-
return false;
|
|
27
25
|
if (!('line1' in value) || value['line1'] === undefined)
|
|
28
26
|
return false;
|
|
29
|
-
if (!('line2' in value) || value['line2'] === undefined)
|
|
30
|
-
return false;
|
|
31
27
|
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
32
28
|
return false;
|
|
33
29
|
if (!('suburb' in value) || value['suburb'] === undefined)
|
|
@@ -48,9 +44,9 @@ function AddressFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
44
|
return json;
|
|
49
45
|
}
|
|
50
46
|
return {
|
|
51
|
-
'company': json['company'],
|
|
47
|
+
'company': json['company'] == null ? undefined : json['company'],
|
|
52
48
|
'line1': json['line1'],
|
|
53
|
-
'line2': json['line2'],
|
|
49
|
+
'line2': json['line2'] == null ? undefined : json['line2'],
|
|
54
50
|
'postcode': json['postcode'],
|
|
55
51
|
'suburb': json['suburb'],
|
|
56
52
|
'country': json['country'],
|
|
@@ -22,6 +22,8 @@ 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;
|
|
25
27
|
if (!('company' in value) || value['company'] === undefined)
|
|
26
28
|
return false;
|
|
27
29
|
if (!('line1' in value) || value['line1'] === undefined)
|
|
@@ -51,7 +53,7 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
53
|
'id': json['id'] == null ? undefined : json['id'],
|
|
52
54
|
'type': json['type'] == null ? undefined : json['type'],
|
|
53
55
|
'sourceAddressId': json['sourceAddressId'] == null ? undefined : json['sourceAddressId'],
|
|
54
|
-
'addresseeName': json['addresseeName']
|
|
56
|
+
'addresseeName': json['addresseeName'],
|
|
55
57
|
'company': json['company'],
|
|
56
58
|
'line1': json['line1'],
|
|
57
59
|
'line2': json['line2'],
|
|
@@ -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
|
|
@@ -37,8 +37,6 @@ function instanceOfExternalApiLogResource(value) {
|
|
|
37
37
|
return false;
|
|
38
38
|
if (!('responseCode' in value) || value['responseCode'] === undefined)
|
|
39
39
|
return false;
|
|
40
|
-
if (!('requestPayload' in value) || value['requestPayload'] === undefined)
|
|
41
|
-
return false;
|
|
42
40
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined)
|
|
43
41
|
return false;
|
|
44
42
|
if (!('site' in value) || value['site'] === undefined)
|
|
@@ -60,7 +58,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
58
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
61
59
|
'endpoint': json['endpoint'],
|
|
62
60
|
'responseCode': json['responseCode'],
|
|
63
|
-
'requestPayload': json['requestPayload'],
|
|
61
|
+
'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
|
|
64
62
|
'responsePayload': json['responsePayload'],
|
|
65
63
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
66
64
|
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
@@ -39,13 +39,13 @@ export interface OrderFulfillmentResource {
|
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof OrderFulfillmentResource
|
|
41
41
|
*/
|
|
42
|
-
trackingNumber
|
|
42
|
+
trackingNumber: string;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof OrderFulfillmentResource
|
|
47
47
|
*/
|
|
48
|
-
trackingUrl
|
|
48
|
+
trackingUrl: string;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* @type {string}
|
|
@@ -29,6 +29,10 @@ 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;
|
|
34
|
+
if (!('trackingUrl' in value) || value['trackingUrl'] === undefined)
|
|
35
|
+
return false;
|
|
32
36
|
if (!('trackingCompany' in value) || value['trackingCompany'] === undefined)
|
|
33
37
|
return false;
|
|
34
38
|
if (!('docnum' in value) || value['docnum'] === undefined)
|
|
@@ -50,8 +54,8 @@ function OrderFulfillmentResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
54
|
'id': json['id'],
|
|
51
55
|
'orderId': json['orderId'],
|
|
52
56
|
'dateShipped': (new Date(json['dateShipped'])),
|
|
53
|
-
'trackingNumber': json['trackingNumber']
|
|
54
|
-
'trackingUrl': json['trackingUrl']
|
|
57
|
+
'trackingNumber': json['trackingNumber'],
|
|
58
|
+
'trackingUrl': json['trackingUrl'],
|
|
55
59
|
'trackingCompany': json['trackingCompany'],
|
|
56
60
|
'docnum': json['docnum'],
|
|
57
61
|
'netsuiteId': json['netsuiteId'],
|
|
@@ -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.
|
|
@@ -28,6 +28,8 @@ function instanceOfStoreFrontendResource(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('email' in value) || value['email'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
+
if (!('website' in value) || value['website'] === undefined)
|
|
32
|
+
return false;
|
|
31
33
|
if (!('phone' in value) || value['phone'] === undefined)
|
|
32
34
|
return false;
|
|
33
35
|
if (!('latitude' in value) || value['latitude'] === undefined)
|
|
@@ -54,7 +56,7 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
56
|
'siteId': json['siteId'],
|
|
55
57
|
'name': json['name'],
|
|
56
58
|
'email': json['email'],
|
|
57
|
-
'website': json['website']
|
|
59
|
+
'website': json['website'],
|
|
58
60
|
'phone': json['phone'],
|
|
59
61
|
'address': json['address'] == null ? undefined : json['address'],
|
|
60
62
|
'latitude': json['latitude'],
|
|
@@ -37,6 +37,8 @@ function instanceOfStoreListResource(value) {
|
|
|
37
37
|
return false;
|
|
38
38
|
if (!('email' in value) || value['email'] === undefined)
|
|
39
39
|
return false;
|
|
40
|
+
if (!('website' in value) || value['website'] === undefined)
|
|
41
|
+
return false;
|
|
40
42
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
|
|
41
43
|
return false;
|
|
42
44
|
if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined)
|
|
@@ -59,7 +61,7 @@ function StoreListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
61
|
'latitude': json['latitude'],
|
|
60
62
|
'tagLine': json['tagLine'],
|
|
61
63
|
'email': json['email'],
|
|
62
|
-
'website': json['website']
|
|
64
|
+
'website': json['website'],
|
|
63
65
|
'netsuiteId': json['netsuiteId'],
|
|
64
66
|
'displayNetsuiteId': json['displayNetsuiteId'],
|
|
65
67
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
@@ -60,7 +60,7 @@ export interface StoreResource {
|
|
|
60
60
|
* @type {string}
|
|
61
61
|
* @memberof StoreResource
|
|
62
62
|
*/
|
|
63
|
-
tagLine
|
|
63
|
+
tagLine?: string | null;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
66
|
* @type {string}
|
|
@@ -72,7 +72,7 @@ export interface StoreResource {
|
|
|
72
72
|
* @type {string}
|
|
73
73
|
* @memberof StoreResource
|
|
74
74
|
*/
|
|
75
|
-
website
|
|
75
|
+
website: string;
|
|
76
76
|
/**
|
|
77
77
|
*
|
|
78
78
|
* @type {number}
|
|
@@ -36,10 +36,10 @@ function instanceOfStoreResource(value) {
|
|
|
36
36
|
return false;
|
|
37
37
|
if (!('latitude' in value) || value['latitude'] === undefined)
|
|
38
38
|
return false;
|
|
39
|
-
if (!('tagLine' in value) || value['tagLine'] === undefined)
|
|
40
|
-
return false;
|
|
41
39
|
if (!('email' in value) || value['email'] === undefined)
|
|
42
40
|
return false;
|
|
41
|
+
if (!('website' in value) || value['website'] === undefined)
|
|
42
|
+
return false;
|
|
43
43
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
|
|
44
44
|
return false;
|
|
45
45
|
if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined)
|
|
@@ -66,9 +66,9 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
66
66
|
'phone': json['phone'],
|
|
67
67
|
'longitude': json['longitude'],
|
|
68
68
|
'latitude': json['latitude'],
|
|
69
|
-
'tagLine': json['tagLine'],
|
|
69
|
+
'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
|
|
70
70
|
'email': json['email'],
|
|
71
|
-
'website': json['website']
|
|
71
|
+
'website': json['website'],
|
|
72
72
|
'netsuiteId': json['netsuiteId'],
|
|
73
73
|
'displayNetsuiteId': json['displayNetsuiteId'],
|
|
74
74
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
@@ -26,8 +26,6 @@ function instanceOfStoreSpecialDateResource(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;
|
|
31
29
|
if (!('closed' in value) || value['closed'] === undefined)
|
|
32
30
|
return false;
|
|
33
31
|
if (!('displayStartDate' in value) || value['displayStartDate'] === undefined)
|
|
@@ -47,7 +45,7 @@ function StoreSpecialDateResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
45
|
'id': json['id'] == null ? undefined : json['id'],
|
|
48
46
|
'name': json['name'],
|
|
49
47
|
'hours': json['hours'],
|
|
50
|
-
'date': json['date'],
|
|
48
|
+
'date': json['date'] == null ? undefined : json['date'],
|
|
51
49
|
'closed': json['closed'],
|
|
52
50
|
'displayStartDate': json['displayStartDate'],
|
|
53
51
|
'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);
|
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';
|
|
@@ -24,7 +24,7 @@ export interface AddressFrontendResource {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof AddressFrontendResource
|
|
26
26
|
*/
|
|
27
|
-
company
|
|
27
|
+
company?: string | null;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
@@ -36,7 +36,7 @@ export interface AddressFrontendResource {
|
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof AddressFrontendResource
|
|
38
38
|
*/
|
|
39
|
-
line2
|
|
39
|
+
line2?: string | null;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {string}
|
|
@@ -73,9 +73,7 @@ export interface AddressFrontendResource {
|
|
|
73
73
|
* Check if a given object implements the AddressFrontendResource interface.
|
|
74
74
|
*/
|
|
75
75
|
export function instanceOfAddressFrontendResource(value: object): value is AddressFrontendResource {
|
|
76
|
-
if (!('company' in value) || value['company'] === undefined) return false;
|
|
77
76
|
if (!('line1' in value) || value['line1'] === undefined) return false;
|
|
78
|
-
if (!('line2' in value) || value['line2'] === undefined) return false;
|
|
79
77
|
if (!('postcode' in value) || value['postcode'] === undefined) return false;
|
|
80
78
|
if (!('suburb' in value) || value['suburb'] === undefined) return false;
|
|
81
79
|
if (!('country' in value) || value['country'] === undefined) return false;
|
|
@@ -94,9 +92,9 @@ export function AddressFrontendResourceFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
94
92
|
}
|
|
95
93
|
return {
|
|
96
94
|
|
|
97
|
-
'company': json['company'],
|
|
95
|
+
'company': json['company'] == null ? undefined : json['company'],
|
|
98
96
|
'line1': json['line1'],
|
|
99
|
-
'line2': json['line2'],
|
|
97
|
+
'line2': json['line2'] == null ? undefined : json['line2'],
|
|
100
98
|
'postcode': json['postcode'],
|
|
101
99
|
'suburb': json['suburb'],
|
|
102
100
|
'country': json['country'],
|
|
@@ -42,7 +42,7 @@ export interface AddressResource {
|
|
|
42
42
|
* @type {string}
|
|
43
43
|
* @memberof AddressResource
|
|
44
44
|
*/
|
|
45
|
-
addresseeName
|
|
45
|
+
addresseeName: string;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {string}
|
|
@@ -97,6 +97,7 @@ export interface AddressResource {
|
|
|
97
97
|
* Check if a given object implements the AddressResource interface.
|
|
98
98
|
*/
|
|
99
99
|
export function instanceOfAddressResource(value: object): value is AddressResource {
|
|
100
|
+
if (!('addresseeName' in value) || value['addresseeName'] === undefined) return false;
|
|
100
101
|
if (!('company' in value) || value['company'] === undefined) return false;
|
|
101
102
|
if (!('line1' in value) || value['line1'] === undefined) return false;
|
|
102
103
|
if (!('line2' in value) || value['line2'] === undefined) return false;
|
|
@@ -121,7 +122,7 @@ export function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
121
122
|
'id': json['id'] == null ? undefined : json['id'],
|
|
122
123
|
'type': json['type'] == null ? undefined : json['type'],
|
|
123
124
|
'sourceAddressId': json['sourceAddressId'] == null ? undefined : json['sourceAddressId'],
|
|
124
|
-
'addresseeName': json['addresseeName']
|
|
125
|
+
'addresseeName': json['addresseeName'],
|
|
125
126
|
'company': json['company'],
|
|
126
127
|
'line1': json['line1'],
|
|
127
128
|
'line2': json['line2'],
|
|
@@ -24,9 +24,7 @@ export const CategoryAutomationFieldType = {
|
|
|
24
24
|
Attribute: 'attribute',
|
|
25
25
|
Tag: 'tag',
|
|
26
26
|
Supplier: 'supplier',
|
|
27
|
-
Label: 'label'
|
|
28
|
-
ProductType: 'product_type',
|
|
29
|
-
ProductClass: 'product_class'
|
|
27
|
+
Label: 'label'
|
|
30
28
|
} as const;
|
|
31
29
|
export type CategoryAutomationFieldType = typeof CategoryAutomationFieldType[keyof typeof CategoryAutomationFieldType];
|
|
32
30
|
|