@digital8/lighting-illusions-ts-sdk 0.0.2385 → 0.0.2386
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 -21
- package/README.md +2 -2
- 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 +4 -4
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +1 -3
- package/dist/models/FrontendLineItemResource.d.ts +0 -6
- package/dist/models/FrontendLineItemResource.js +0 -4
- package/dist/models/StoreFrontendResource.d.ts +2 -2
- package/dist/models/StoreFrontendResource.js +2 -6
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +1 -3
- 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 -20
- package/dist/models/index.js +0 -20
- package/package.json +1 -1
- package/src/apis/index.ts +0 -1
- package/src/models/AddressFrontendResource.ts +5 -5
- package/src/models/AddressResource.ts +2 -3
- package/src/models/FrontendLineItemResource.ts +0 -9
- package/src/models/StoreFrontendResource.ts +4 -6
- package/src/models/StoreListResource.ts +2 -3
- package/src/models/StoreResource.ts +2 -3
- package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
- package/src/models/index.ts +0 -20
- package/dist/apis/ReturnsApi.d.ts +0 -109
- package/dist/apis/ReturnsApi.js +0 -451
- package/dist/models/AttachReturnAssetsRequest.d.ts +0 -32
- package/dist/models/AttachReturnAssetsRequest.js +0 -51
- package/dist/models/CreateReturnRequest.d.ts +0 -106
- package/dist/models/CreateReturnRequest.js +0 -103
- package/dist/models/DetachReturnAssetsRequest.d.ts +0 -32
- package/dist/models/DetachReturnAssetsRequest.js +0 -51
- package/dist/models/PaginatedReturnFrontendListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedReturnFrontendListResourceResponse.js +0 -57
- package/dist/models/PaginatedReturnListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedReturnListResourceResponse.js +0 -57
- package/dist/models/ReturnFrontendListResource.d.ts +0 -82
- package/dist/models/ReturnFrontendListResource.js +0 -84
- package/dist/models/ReturnFrontendListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ReturnFrontendListResourceArrayResponse.js +0 -50
- package/dist/models/ReturnFrontendResource.d.ts +0 -94
- package/dist/models/ReturnFrontendResource.js +0 -92
- package/dist/models/ReturnFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/ReturnFrontendResourceArrayResponse.js +0 -50
- package/dist/models/ReturnListResource.d.ts +0 -97
- package/dist/models/ReturnListResource.js +0 -95
- package/dist/models/ReturnListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ReturnListResourceArrayResponse.js +0 -50
- package/dist/models/ReturnLiteResource.d.ts +0 -44
- package/dist/models/ReturnLiteResource.js +0 -59
- package/dist/models/ReturnLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ReturnLiteResourceArrayResponse.js +0 -50
- package/dist/models/ReturnMethod.d.ts +0 -25
- package/dist/models/ReturnMethod.js +0 -51
- package/dist/models/ReturnReason.d.ts +0 -30
- package/dist/models/ReturnReason.js +0 -56
- package/dist/models/ReturnResource.d.ts +0 -135
- package/dist/models/ReturnResource.js +0 -119
- package/dist/models/ReturnResourceArrayResponse.d.ts +0 -33
- package/dist/models/ReturnResourceArrayResponse.js +0 -50
- package/dist/models/ReturnStatus.d.ts +0 -28
- package/dist/models/ReturnStatus.js +0 -54
- package/dist/models/SearchReturnsRequest.d.ts +0 -165
- package/dist/models/SearchReturnsRequest.js +0 -109
- package/dist/models/UpdateReturnRequest.d.ts +0 -100
- package/dist/models/UpdateReturnRequest.js +0 -99
- package/src/apis/ReturnsApi.ts +0 -379
- package/src/models/AttachReturnAssetsRequest.ts +0 -66
- package/src/models/CreateReturnRequest.ts +0 -163
- package/src/models/DetachReturnAssetsRequest.ts +0 -66
- package/src/models/PaginatedReturnFrontendListResourceResponse.ts +0 -90
- package/src/models/PaginatedReturnListResourceResponse.ts +0 -90
- package/src/models/ReturnFrontendListResource.ts +0 -152
- package/src/models/ReturnFrontendListResourceArrayResponse.ts +0 -73
- package/src/models/ReturnFrontendResource.ts +0 -170
- package/src/models/ReturnFrontendResourceArrayResponse.ts +0 -73
- package/src/models/ReturnListResource.ts +0 -191
- package/src/models/ReturnListResourceArrayResponse.ts +0 -73
- package/src/models/ReturnLiteResource.ts +0 -84
- package/src/models/ReturnLiteResourceArrayResponse.ts +0 -73
- package/src/models/ReturnMethod.ts +0 -53
- package/src/models/ReturnReason.ts +0 -58
- package/src/models/ReturnResource.ts +0 -258
- package/src/models/ReturnResourceArrayResponse.ts +0 -73
- package/src/models/ReturnStatus.ts +0 -56
- package/src/models/SearchReturnsRequest.ts +0 -238
- package/src/models/UpdateReturnRequest.ts +0 -154
package/.openapi-generator/FILES
CHANGED
|
@@ -32,7 +32,6 @@ src/apis/ProductRangeApi.ts
|
|
|
32
32
|
src/apis/ProductRegistrationApi.ts
|
|
33
33
|
src/apis/ProductTypeApi.ts
|
|
34
34
|
src/apis/RedirectApi.ts
|
|
35
|
-
src/apis/ReturnsApi.ts
|
|
36
35
|
src/apis/ReviewApi.ts
|
|
37
36
|
src/apis/RolesApi.ts
|
|
38
37
|
src/apis/SiteApi.ts
|
|
@@ -89,7 +88,6 @@ src/models/AttachPermissionsToRoleRequest.ts
|
|
|
89
88
|
src/models/AttachProductChildrenRequest.ts
|
|
90
89
|
src/models/AttachProductChildrenToProductRangeRequest.ts
|
|
91
90
|
src/models/AttachProductsToProductCategoryRequest.ts
|
|
92
|
-
src/models/AttachReturnAssetsRequest.ts
|
|
93
91
|
src/models/AttachRolesToAdminRequest.ts
|
|
94
92
|
src/models/AttachStoresToSupplierRequest.ts
|
|
95
93
|
src/models/AttachSuppliersToStoreRequest.ts
|
|
@@ -183,7 +181,6 @@ src/models/CreateProductRangeRequestSitesInner.ts
|
|
|
183
181
|
src/models/CreateProductRequest.ts
|
|
184
182
|
src/models/CreateProductRequestCategoriesInner.ts
|
|
185
183
|
src/models/CreateProductTypeRequest.ts
|
|
186
|
-
src/models/CreateReturnRequest.ts
|
|
187
184
|
src/models/CreateReviewImportFileRequest.ts
|
|
188
185
|
src/models/CreateReviewRequest.ts
|
|
189
186
|
src/models/CreateRoleRequest.ts
|
|
@@ -226,7 +223,6 @@ src/models/DetachDocumentsFromProductChildRequest.ts
|
|
|
226
223
|
src/models/DetachDocumentsFromProductRangeRequest.ts
|
|
227
224
|
src/models/DetachProductChildrenFromProductRangeRequest.ts
|
|
228
225
|
src/models/DetachProductsFromProductCategoryRequest.ts
|
|
229
|
-
src/models/DetachReturnAssetsRequest.ts
|
|
230
226
|
src/models/DetachStoresFromSupplierRequest.ts
|
|
231
227
|
src/models/DetachSuppliersFromStoreRequest.ts
|
|
232
228
|
src/models/DiscountResource.ts
|
|
@@ -418,8 +414,6 @@ src/models/PaginatedProductTypeListResourceResponse.ts
|
|
|
418
414
|
src/models/PaginatedProductTypeLiteResourceResponse.ts
|
|
419
415
|
src/models/PaginatedProductTypeResourceResponse.ts
|
|
420
416
|
src/models/PaginatedRedirectListResourceResponse.ts
|
|
421
|
-
src/models/PaginatedReturnFrontendListResourceResponse.ts
|
|
422
|
-
src/models/PaginatedReturnListResourceResponse.ts
|
|
423
417
|
src/models/PaginatedReviewListResourceResponse.ts
|
|
424
418
|
src/models/PaginatedReviewLiteResourceResponse.ts
|
|
425
419
|
src/models/PaginatedReviewResourceResponse.ts
|
|
@@ -561,19 +555,6 @@ src/models/RedirectListResource.ts
|
|
|
561
555
|
src/models/RedirectListResourceArrayResponse.ts
|
|
562
556
|
src/models/RefundTransactionRequest.ts
|
|
563
557
|
src/models/ResetPasswordAdminRequest.ts
|
|
564
|
-
src/models/ReturnFrontendListResource.ts
|
|
565
|
-
src/models/ReturnFrontendListResourceArrayResponse.ts
|
|
566
|
-
src/models/ReturnFrontendResource.ts
|
|
567
|
-
src/models/ReturnFrontendResourceArrayResponse.ts
|
|
568
|
-
src/models/ReturnListResource.ts
|
|
569
|
-
src/models/ReturnListResourceArrayResponse.ts
|
|
570
|
-
src/models/ReturnLiteResource.ts
|
|
571
|
-
src/models/ReturnLiteResourceArrayResponse.ts
|
|
572
|
-
src/models/ReturnMethod.ts
|
|
573
|
-
src/models/ReturnReason.ts
|
|
574
|
-
src/models/ReturnResource.ts
|
|
575
|
-
src/models/ReturnResourceArrayResponse.ts
|
|
576
|
-
src/models/ReturnStatus.ts
|
|
577
558
|
src/models/ReviewExportDownloadUrlResource.ts
|
|
578
559
|
src/models/ReviewExportDownloadUrlResourceArrayResponse.ts
|
|
579
560
|
src/models/ReviewImportFailureResource.ts
|
|
@@ -654,7 +635,6 @@ src/models/SearchProductRegistrationsRequest.ts
|
|
|
654
635
|
src/models/SearchProductTypesRequest.ts
|
|
655
636
|
src/models/SearchProductsRequest.ts
|
|
656
637
|
src/models/SearchRedirectsRequest.ts
|
|
657
|
-
src/models/SearchReturnsRequest.ts
|
|
658
638
|
src/models/SearchReviewsRequest.ts
|
|
659
639
|
src/models/SearchRolesRequest.ts
|
|
660
640
|
src/models/SearchSiteNotificationsRequest.ts
|
|
@@ -759,7 +739,6 @@ src/models/UpdateProductRangeRequestAttributesInner.ts
|
|
|
759
739
|
src/models/UpdateProductRequest.ts
|
|
760
740
|
src/models/UpdateProductTypeAttributeRequest.ts
|
|
761
741
|
src/models/UpdateProductTypeRequest.ts
|
|
762
|
-
src/models/UpdateReturnRequest.ts
|
|
763
742
|
src/models/UpdateReviewRequest.ts
|
|
764
743
|
src/models/UpdateRoleRequest.ts
|
|
765
744
|
src/models/UpdateSiteNotificationRequest.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.2386
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). 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 @digital8/lighting-illusions-ts-sdk@0.0.
|
|
39
|
+
npm install @digital8/lighting-illusions-ts-sdk@0.0.2386 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -27,7 +27,6 @@ export * from './ProductRangeApi';
|
|
|
27
27
|
export * from './ProductRegistrationApi';
|
|
28
28
|
export * from './ProductTypeApi';
|
|
29
29
|
export * from './RedirectApi';
|
|
30
|
-
export * from './ReturnsApi';
|
|
31
30
|
export * from './ReviewApi';
|
|
32
31
|
export * from './RolesApi';
|
|
33
32
|
export * from './SiteApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -45,7 +45,6 @@ __exportStar(require("./ProductRangeApi"), exports);
|
|
|
45
45
|
__exportStar(require("./ProductRegistrationApi"), exports);
|
|
46
46
|
__exportStar(require("./ProductTypeApi"), exports);
|
|
47
47
|
__exportStar(require("./RedirectApi"), exports);
|
|
48
|
-
__exportStar(require("./ReturnsApi"), exports);
|
|
49
48
|
__exportStar(require("./ReviewApi"), exports);
|
|
50
49
|
__exportStar(require("./RolesApi"), exports);
|
|
51
50
|
__exportStar(require("./SiteApi"), exports);
|
|
@@ -20,7 +20,7 @@ export interface AddressFrontendResource {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof AddressFrontendResource
|
|
22
22
|
*/
|
|
23
|
-
company
|
|
23
|
+
company: string;
|
|
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,9 +22,9 @@ exports.AddressFrontendResourceToJSONTyped = AddressFrontendResourceToJSONTyped;
|
|
|
22
22
|
* Check if a given object implements the AddressFrontendResource interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfAddressFrontendResource(value) {
|
|
25
|
-
if (!('
|
|
25
|
+
if (!('company' in value) || value['company'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
-
if (!('
|
|
27
|
+
if (!('line1' in value) || value['line1'] === undefined)
|
|
28
28
|
return false;
|
|
29
29
|
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
30
30
|
return false;
|
|
@@ -46,9 +46,9 @@ function AddressFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
46
|
return json;
|
|
47
47
|
}
|
|
48
48
|
return {
|
|
49
|
-
'company': json['company']
|
|
49
|
+
'company': json['company'],
|
|
50
50
|
'line1': json['line1'],
|
|
51
|
-
'line2': json['line2'],
|
|
51
|
+
'line2': json['line2'] == null ? undefined : json['line2'],
|
|
52
52
|
'postcode': json['postcode'],
|
|
53
53
|
'suburb': json['suburb'],
|
|
54
54
|
'country': json['country'],
|
|
@@ -24,8 +24,6 @@ exports.AddressResourceToJSONTyped = AddressResourceToJSONTyped;
|
|
|
24
24
|
function instanceOfAddressResource(value) {
|
|
25
25
|
if (!('addresseeName' in value) || value['addresseeName'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
-
if (!('company' in value) || value['company'] === undefined)
|
|
28
|
-
return false;
|
|
29
27
|
if (!('line1' in value) || value['line1'] === undefined)
|
|
30
28
|
return false;
|
|
31
29
|
if (!('line2' in value) || value['line2'] === undefined)
|
|
@@ -54,7 +52,7 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
52
|
'type': json['type'] == null ? undefined : json['type'],
|
|
55
53
|
'sourceAddressId': json['sourceAddressId'] == null ? undefined : json['sourceAddressId'],
|
|
56
54
|
'addresseeName': json['addresseeName'],
|
|
57
|
-
'company': json['company'],
|
|
55
|
+
'company': json['company'] == null ? undefined : json['company'],
|
|
58
56
|
'line1': json['line1'],
|
|
59
57
|
'line2': json['line2'],
|
|
60
58
|
'postcode': json['postcode'],
|
|
@@ -25,8 +25,6 @@ var ProductChildLineItemLiteResource_1 = require("./ProductChildLineItemLiteReso
|
|
|
25
25
|
function instanceOfFrontendLineItemResource(value) {
|
|
26
26
|
if (!('quantity' in value) || value['quantity'] === undefined)
|
|
27
27
|
return false;
|
|
28
|
-
if (!('availableQuantity' in value) || value['availableQuantity'] === undefined)
|
|
29
|
-
return false;
|
|
30
28
|
if (!('productPrice' in value) || value['productPrice'] === undefined)
|
|
31
29
|
return false;
|
|
32
30
|
if (!('subtotalAmount' in value) || value['subtotalAmount'] === undefined)
|
|
@@ -53,7 +51,6 @@ function FrontendLineItemResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
51
|
return {
|
|
54
52
|
'id': json['id'] == null ? undefined : json['id'],
|
|
55
53
|
'quantity': json['quantity'],
|
|
56
|
-
'availableQuantity': json['availableQuantity'],
|
|
57
54
|
'productPrice': json['productPrice'],
|
|
58
55
|
'subtotalAmount': json['subtotalAmount'],
|
|
59
56
|
'totalAmount': json['totalAmount'],
|
|
@@ -74,7 +71,6 @@ function FrontendLineItemResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
74
71
|
return {
|
|
75
72
|
'id': value['id'],
|
|
76
73
|
'quantity': value['quantity'],
|
|
77
|
-
'availableQuantity': value['availableQuantity'],
|
|
78
74
|
'productPrice': value['productPrice'],
|
|
79
75
|
'subtotalAmount': value['subtotalAmount'],
|
|
80
76
|
'totalAmount': value['totalAmount'],
|
|
@@ -44,7 +44,7 @@ export interface StoreFrontendResource {
|
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof StoreFrontendResource
|
|
46
46
|
*/
|
|
47
|
-
website
|
|
47
|
+
website?: string | null;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {string}
|
|
@@ -74,7 +74,7 @@ export interface StoreFrontendResource {
|
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof StoreFrontendResource
|
|
76
76
|
*/
|
|
77
|
-
tagLine
|
|
77
|
+
tagLine?: string | null;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
* @type {string}
|
|
@@ -28,16 +28,12 @@ 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;
|
|
33
31
|
if (!('phone' in value) || value['phone'] === undefined)
|
|
34
32
|
return false;
|
|
35
33
|
if (!('latitude' in value) || value['latitude'] === undefined)
|
|
36
34
|
return false;
|
|
37
35
|
if (!('longitude' in value) || value['longitude'] === undefined)
|
|
38
36
|
return false;
|
|
39
|
-
if (!('tagLine' in value) || value['tagLine'] === undefined)
|
|
40
|
-
return false;
|
|
41
37
|
if (!('specialDates' in value) || value['specialDates'] === undefined)
|
|
42
38
|
return false;
|
|
43
39
|
if (!('suppliers' in value) || value['suppliers'] === undefined)
|
|
@@ -56,12 +52,12 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
52
|
'siteId': json['siteId'],
|
|
57
53
|
'name': json['name'],
|
|
58
54
|
'email': json['email'],
|
|
59
|
-
'website': json['website'],
|
|
55
|
+
'website': json['website'] == null ? undefined : json['website'],
|
|
60
56
|
'phone': json['phone'],
|
|
61
57
|
'address': json['address'] == null ? undefined : json['address'],
|
|
62
58
|
'latitude': json['latitude'],
|
|
63
59
|
'longitude': json['longitude'],
|
|
64
|
-
'tagLine': json['tagLine'],
|
|
60
|
+
'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
|
|
65
61
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
66
62
|
'specialDates': json['specialDates'],
|
|
67
63
|
'suppliers': json['suppliers'],
|
|
@@ -37,8 +37,6 @@ 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;
|
|
42
40
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
|
|
43
41
|
return false;
|
|
44
42
|
if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined)
|
|
@@ -61,7 +59,7 @@ function StoreListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
59
|
'latitude': json['latitude'],
|
|
62
60
|
'tagLine': json['tagLine'],
|
|
63
61
|
'email': json['email'],
|
|
64
|
-
'website': json['website'],
|
|
62
|
+
'website': json['website'] == null ? undefined : json['website'],
|
|
65
63
|
'netsuiteId': json['netsuiteId'],
|
|
66
64
|
'displayNetsuiteId': json['displayNetsuiteId'],
|
|
67
65
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
@@ -36,8 +36,6 @@ 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;
|
|
43
41
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
|
|
@@ -66,7 +64,7 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
66
64
|
'phone': json['phone'],
|
|
67
65
|
'longitude': json['longitude'],
|
|
68
66
|
'latitude': json['latitude'],
|
|
69
|
-
'tagLine': json['tagLine'],
|
|
67
|
+
'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
|
|
70
68
|
'email': json['email'],
|
|
71
69
|
'website': json['website'] == null ? undefined : json['website'],
|
|
72
70
|
'netsuiteId': json['netsuiteId'],
|
|
@@ -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
|
@@ -45,7 +45,6 @@ export * from './AttachPermissionsToRoleRequest';
|
|
|
45
45
|
export * from './AttachProductChildrenRequest';
|
|
46
46
|
export * from './AttachProductChildrenToProductRangeRequest';
|
|
47
47
|
export * from './AttachProductsToProductCategoryRequest';
|
|
48
|
-
export * from './AttachReturnAssetsRequest';
|
|
49
48
|
export * from './AttachRolesToAdminRequest';
|
|
50
49
|
export * from './AttachStoresToSupplierRequest';
|
|
51
50
|
export * from './AttachSuppliersToStoreRequest';
|
|
@@ -139,7 +138,6 @@ export * from './CreateProductRangeRequestSitesInner';
|
|
|
139
138
|
export * from './CreateProductRequest';
|
|
140
139
|
export * from './CreateProductRequestCategoriesInner';
|
|
141
140
|
export * from './CreateProductTypeRequest';
|
|
142
|
-
export * from './CreateReturnRequest';
|
|
143
141
|
export * from './CreateReviewImportFileRequest';
|
|
144
142
|
export * from './CreateReviewRequest';
|
|
145
143
|
export * from './CreateRoleRequest';
|
|
@@ -182,7 +180,6 @@ export * from './DetachDocumentsFromProductChildRequest';
|
|
|
182
180
|
export * from './DetachDocumentsFromProductRangeRequest';
|
|
183
181
|
export * from './DetachProductChildrenFromProductRangeRequest';
|
|
184
182
|
export * from './DetachProductsFromProductCategoryRequest';
|
|
185
|
-
export * from './DetachReturnAssetsRequest';
|
|
186
183
|
export * from './DetachStoresFromSupplierRequest';
|
|
187
184
|
export * from './DetachSuppliersFromStoreRequest';
|
|
188
185
|
export * from './DiscountResource';
|
|
@@ -374,8 +371,6 @@ export * from './PaginatedProductTypeListResourceResponse';
|
|
|
374
371
|
export * from './PaginatedProductTypeLiteResourceResponse';
|
|
375
372
|
export * from './PaginatedProductTypeResourceResponse';
|
|
376
373
|
export * from './PaginatedRedirectListResourceResponse';
|
|
377
|
-
export * from './PaginatedReturnFrontendListResourceResponse';
|
|
378
|
-
export * from './PaginatedReturnListResourceResponse';
|
|
379
374
|
export * from './PaginatedReviewListResourceResponse';
|
|
380
375
|
export * from './PaginatedReviewLiteResourceResponse';
|
|
381
376
|
export * from './PaginatedReviewResourceResponse';
|
|
@@ -517,19 +512,6 @@ export * from './RedirectListResource';
|
|
|
517
512
|
export * from './RedirectListResourceArrayResponse';
|
|
518
513
|
export * from './RefundTransactionRequest';
|
|
519
514
|
export * from './ResetPasswordAdminRequest';
|
|
520
|
-
export * from './ReturnFrontendListResource';
|
|
521
|
-
export * from './ReturnFrontendListResourceArrayResponse';
|
|
522
|
-
export * from './ReturnFrontendResource';
|
|
523
|
-
export * from './ReturnFrontendResourceArrayResponse';
|
|
524
|
-
export * from './ReturnListResource';
|
|
525
|
-
export * from './ReturnListResourceArrayResponse';
|
|
526
|
-
export * from './ReturnLiteResource';
|
|
527
|
-
export * from './ReturnLiteResourceArrayResponse';
|
|
528
|
-
export * from './ReturnMethod';
|
|
529
|
-
export * from './ReturnReason';
|
|
530
|
-
export * from './ReturnResource';
|
|
531
|
-
export * from './ReturnResourceArrayResponse';
|
|
532
|
-
export * from './ReturnStatus';
|
|
533
515
|
export * from './ReviewExportDownloadUrlResource';
|
|
534
516
|
export * from './ReviewExportDownloadUrlResourceArrayResponse';
|
|
535
517
|
export * from './ReviewImportFailureResource';
|
|
@@ -610,7 +592,6 @@ export * from './SearchProductRegistrationsRequest';
|
|
|
610
592
|
export * from './SearchProductTypesRequest';
|
|
611
593
|
export * from './SearchProductsRequest';
|
|
612
594
|
export * from './SearchRedirectsRequest';
|
|
613
|
-
export * from './SearchReturnsRequest';
|
|
614
595
|
export * from './SearchReviewsRequest';
|
|
615
596
|
export * from './SearchRolesRequest';
|
|
616
597
|
export * from './SearchSiteNotificationsRequest';
|
|
@@ -715,7 +696,6 @@ export * from './UpdateProductRangeRequestAttributesInner';
|
|
|
715
696
|
export * from './UpdateProductRequest';
|
|
716
697
|
export * from './UpdateProductTypeAttributeRequest';
|
|
717
698
|
export * from './UpdateProductTypeRequest';
|
|
718
|
-
export * from './UpdateReturnRequest';
|
|
719
699
|
export * from './UpdateReviewRequest';
|
|
720
700
|
export * from './UpdateRoleRequest';
|
|
721
701
|
export * from './UpdateSiteNotificationRequest';
|
package/dist/models/index.js
CHANGED
|
@@ -63,7 +63,6 @@ __exportStar(require("./AttachPermissionsToRoleRequest"), exports);
|
|
|
63
63
|
__exportStar(require("./AttachProductChildrenRequest"), exports);
|
|
64
64
|
__exportStar(require("./AttachProductChildrenToProductRangeRequest"), exports);
|
|
65
65
|
__exportStar(require("./AttachProductsToProductCategoryRequest"), exports);
|
|
66
|
-
__exportStar(require("./AttachReturnAssetsRequest"), exports);
|
|
67
66
|
__exportStar(require("./AttachRolesToAdminRequest"), exports);
|
|
68
67
|
__exportStar(require("./AttachStoresToSupplierRequest"), exports);
|
|
69
68
|
__exportStar(require("./AttachSuppliersToStoreRequest"), exports);
|
|
@@ -157,7 +156,6 @@ __exportStar(require("./CreateProductRangeRequestSitesInner"), exports);
|
|
|
157
156
|
__exportStar(require("./CreateProductRequest"), exports);
|
|
158
157
|
__exportStar(require("./CreateProductRequestCategoriesInner"), exports);
|
|
159
158
|
__exportStar(require("./CreateProductTypeRequest"), exports);
|
|
160
|
-
__exportStar(require("./CreateReturnRequest"), exports);
|
|
161
159
|
__exportStar(require("./CreateReviewImportFileRequest"), exports);
|
|
162
160
|
__exportStar(require("./CreateReviewRequest"), exports);
|
|
163
161
|
__exportStar(require("./CreateRoleRequest"), exports);
|
|
@@ -200,7 +198,6 @@ __exportStar(require("./DetachDocumentsFromProductChildRequest"), exports);
|
|
|
200
198
|
__exportStar(require("./DetachDocumentsFromProductRangeRequest"), exports);
|
|
201
199
|
__exportStar(require("./DetachProductChildrenFromProductRangeRequest"), exports);
|
|
202
200
|
__exportStar(require("./DetachProductsFromProductCategoryRequest"), exports);
|
|
203
|
-
__exportStar(require("./DetachReturnAssetsRequest"), exports);
|
|
204
201
|
__exportStar(require("./DetachStoresFromSupplierRequest"), exports);
|
|
205
202
|
__exportStar(require("./DetachSuppliersFromStoreRequest"), exports);
|
|
206
203
|
__exportStar(require("./DiscountResource"), exports);
|
|
@@ -392,8 +389,6 @@ __exportStar(require("./PaginatedProductTypeListResourceResponse"), exports);
|
|
|
392
389
|
__exportStar(require("./PaginatedProductTypeLiteResourceResponse"), exports);
|
|
393
390
|
__exportStar(require("./PaginatedProductTypeResourceResponse"), exports);
|
|
394
391
|
__exportStar(require("./PaginatedRedirectListResourceResponse"), exports);
|
|
395
|
-
__exportStar(require("./PaginatedReturnFrontendListResourceResponse"), exports);
|
|
396
|
-
__exportStar(require("./PaginatedReturnListResourceResponse"), exports);
|
|
397
392
|
__exportStar(require("./PaginatedReviewListResourceResponse"), exports);
|
|
398
393
|
__exportStar(require("./PaginatedReviewLiteResourceResponse"), exports);
|
|
399
394
|
__exportStar(require("./PaginatedReviewResourceResponse"), exports);
|
|
@@ -535,19 +530,6 @@ __exportStar(require("./RedirectListResource"), exports);
|
|
|
535
530
|
__exportStar(require("./RedirectListResourceArrayResponse"), exports);
|
|
536
531
|
__exportStar(require("./RefundTransactionRequest"), exports);
|
|
537
532
|
__exportStar(require("./ResetPasswordAdminRequest"), exports);
|
|
538
|
-
__exportStar(require("./ReturnFrontendListResource"), exports);
|
|
539
|
-
__exportStar(require("./ReturnFrontendListResourceArrayResponse"), exports);
|
|
540
|
-
__exportStar(require("./ReturnFrontendResource"), exports);
|
|
541
|
-
__exportStar(require("./ReturnFrontendResourceArrayResponse"), exports);
|
|
542
|
-
__exportStar(require("./ReturnListResource"), exports);
|
|
543
|
-
__exportStar(require("./ReturnListResourceArrayResponse"), exports);
|
|
544
|
-
__exportStar(require("./ReturnLiteResource"), exports);
|
|
545
|
-
__exportStar(require("./ReturnLiteResourceArrayResponse"), exports);
|
|
546
|
-
__exportStar(require("./ReturnMethod"), exports);
|
|
547
|
-
__exportStar(require("./ReturnReason"), exports);
|
|
548
|
-
__exportStar(require("./ReturnResource"), exports);
|
|
549
|
-
__exportStar(require("./ReturnResourceArrayResponse"), exports);
|
|
550
|
-
__exportStar(require("./ReturnStatus"), exports);
|
|
551
533
|
__exportStar(require("./ReviewExportDownloadUrlResource"), exports);
|
|
552
534
|
__exportStar(require("./ReviewExportDownloadUrlResourceArrayResponse"), exports);
|
|
553
535
|
__exportStar(require("./ReviewImportFailureResource"), exports);
|
|
@@ -628,7 +610,6 @@ __exportStar(require("./SearchProductRegistrationsRequest"), exports);
|
|
|
628
610
|
__exportStar(require("./SearchProductTypesRequest"), exports);
|
|
629
611
|
__exportStar(require("./SearchProductsRequest"), exports);
|
|
630
612
|
__exportStar(require("./SearchRedirectsRequest"), exports);
|
|
631
|
-
__exportStar(require("./SearchReturnsRequest"), exports);
|
|
632
613
|
__exportStar(require("./SearchReviewsRequest"), exports);
|
|
633
614
|
__exportStar(require("./SearchRolesRequest"), exports);
|
|
634
615
|
__exportStar(require("./SearchSiteNotificationsRequest"), exports);
|
|
@@ -733,7 +714,6 @@ __exportStar(require("./UpdateProductRangeRequestAttributesInner"), exports);
|
|
|
733
714
|
__exportStar(require("./UpdateProductRequest"), exports);
|
|
734
715
|
__exportStar(require("./UpdateProductTypeAttributeRequest"), exports);
|
|
735
716
|
__exportStar(require("./UpdateProductTypeRequest"), exports);
|
|
736
|
-
__exportStar(require("./UpdateReturnRequest"), exports);
|
|
737
717
|
__exportStar(require("./UpdateReviewRequest"), exports);
|
|
738
718
|
__exportStar(require("./UpdateRoleRequest"), exports);
|
|
739
719
|
__exportStar(require("./UpdateSiteNotificationRequest"), exports);
|
package/package.json
CHANGED
package/src/apis/index.ts
CHANGED
|
@@ -29,7 +29,6 @@ export * from './ProductRangeApi';
|
|
|
29
29
|
export * from './ProductRegistrationApi';
|
|
30
30
|
export * from './ProductTypeApi';
|
|
31
31
|
export * from './RedirectApi';
|
|
32
|
-
export * from './ReturnsApi';
|
|
33
32
|
export * from './ReviewApi';
|
|
34
33
|
export * from './RolesApi';
|
|
35
34
|
export * from './SiteApi';
|
|
@@ -24,7 +24,7 @@ export interface AddressFrontendResource {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof AddressFrontendResource
|
|
26
26
|
*/
|
|
27
|
-
company
|
|
27
|
+
company: string;
|
|
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,8 +73,8 @@ 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;
|
|
76
77
|
if (!('line1' in value) || value['line1'] === undefined) return false;
|
|
77
|
-
if (!('line2' in value) || value['line2'] === undefined) return false;
|
|
78
78
|
if (!('postcode' in value) || value['postcode'] === undefined) return false;
|
|
79
79
|
if (!('suburb' in value) || value['suburb'] === undefined) return false;
|
|
80
80
|
if (!('country' in value) || value['country'] === undefined) return false;
|
|
@@ -93,9 +93,9 @@ export function AddressFrontendResourceFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
93
93
|
}
|
|
94
94
|
return {
|
|
95
95
|
|
|
96
|
-
'company': json['company']
|
|
96
|
+
'company': json['company'],
|
|
97
97
|
'line1': json['line1'],
|
|
98
|
-
'line2': json['line2'],
|
|
98
|
+
'line2': json['line2'] == null ? undefined : json['line2'],
|
|
99
99
|
'postcode': json['postcode'],
|
|
100
100
|
'suburb': json['suburb'],
|
|
101
101
|
'country': json['country'],
|
|
@@ -48,7 +48,7 @@ export interface AddressResource {
|
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof AddressResource
|
|
50
50
|
*/
|
|
51
|
-
company
|
|
51
|
+
company?: string | null;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {string}
|
|
@@ -98,7 +98,6 @@ export interface AddressResource {
|
|
|
98
98
|
*/
|
|
99
99
|
export function instanceOfAddressResource(value: object): value is AddressResource {
|
|
100
100
|
if (!('addresseeName' in value) || value['addresseeName'] === undefined) return false;
|
|
101
|
-
if (!('company' in value) || value['company'] === undefined) return false;
|
|
102
101
|
if (!('line1' in value) || value['line1'] === undefined) return false;
|
|
103
102
|
if (!('line2' in value) || value['line2'] === undefined) return false;
|
|
104
103
|
if (!('postcode' in value) || value['postcode'] === undefined) return false;
|
|
@@ -123,7 +122,7 @@ export function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
123
122
|
'type': json['type'] == null ? undefined : json['type'],
|
|
124
123
|
'sourceAddressId': json['sourceAddressId'] == null ? undefined : json['sourceAddressId'],
|
|
125
124
|
'addresseeName': json['addresseeName'],
|
|
126
|
-
'company': json['company'],
|
|
125
|
+
'company': json['company'] == null ? undefined : json['company'],
|
|
127
126
|
'line1': json['line1'],
|
|
128
127
|
'line2': json['line2'],
|
|
129
128
|
'postcode': json['postcode'],
|
|
@@ -39,12 +39,6 @@ export interface FrontendLineItemResource {
|
|
|
39
39
|
* @memberof FrontendLineItemResource
|
|
40
40
|
*/
|
|
41
41
|
quantity: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof FrontendLineItemResource
|
|
46
|
-
*/
|
|
47
|
-
availableQuantity: number;
|
|
48
42
|
/**
|
|
49
43
|
*
|
|
50
44
|
* @type {number}
|
|
@@ -94,7 +88,6 @@ export interface FrontendLineItemResource {
|
|
|
94
88
|
*/
|
|
95
89
|
export function instanceOfFrontendLineItemResource(value: object): value is FrontendLineItemResource {
|
|
96
90
|
if (!('quantity' in value) || value['quantity'] === undefined) return false;
|
|
97
|
-
if (!('availableQuantity' in value) || value['availableQuantity'] === undefined) return false;
|
|
98
91
|
if (!('productPrice' in value) || value['productPrice'] === undefined) return false;
|
|
99
92
|
if (!('subtotalAmount' in value) || value['subtotalAmount'] === undefined) return false;
|
|
100
93
|
if (!('totalAmount' in value) || value['totalAmount'] === undefined) return false;
|
|
@@ -117,7 +110,6 @@ export function FrontendLineItemResourceFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
117
110
|
|
|
118
111
|
'id': json['id'] == null ? undefined : json['id'],
|
|
119
112
|
'quantity': json['quantity'],
|
|
120
|
-
'availableQuantity': json['availableQuantity'],
|
|
121
113
|
'productPrice': json['productPrice'],
|
|
122
114
|
'subtotalAmount': json['subtotalAmount'],
|
|
123
115
|
'totalAmount': json['totalAmount'],
|
|
@@ -141,7 +133,6 @@ export function FrontendLineItemResourceToJSONTyped(value?: FrontendLineItemReso
|
|
|
141
133
|
|
|
142
134
|
'id': value['id'],
|
|
143
135
|
'quantity': value['quantity'],
|
|
144
|
-
'availableQuantity': value['availableQuantity'],
|
|
145
136
|
'productPrice': value['productPrice'],
|
|
146
137
|
'subtotalAmount': value['subtotalAmount'],
|
|
147
138
|
'totalAmount': value['totalAmount'],
|