@digital8/lighting-illusions-ts-sdk 0.0.2560 → 0.0.2562
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 +2 -0
- package/README.md +2 -2
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +1 -3
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +1 -3
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/OrderFulfillmentResource.d.ts +1 -1
- package/dist/models/OrderFulfillmentResource.js +1 -3
- package/dist/models/SearchOrdersRequest.js +2 -2
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +1 -3
- package/dist/models/StoreLocationResource.d.ts +38 -0
- package/dist/models/StoreLocationResource.js +55 -0
- package/dist/models/StoreLocationResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreLocationResourceArrayResponse.js +50 -0
- package/dist/models/StoreResource.d.ts +2 -2
- package/dist/models/StoreResource.js +2 -6
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
- package/src/models/AddressFrontendResource.ts +2 -3
- package/src/models/AddressResource.ts +2 -3
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/OrderFulfillmentResource.ts +2 -3
- package/src/models/SearchOrdersRequest.ts +2 -2
- package/src/models/StoreListResource.ts +2 -3
- package/src/models/StoreLocationResource.ts +75 -0
- package/src/models/StoreLocationResourceArrayResponse.ts +73 -0
- package/src/models/StoreResource.ts +4 -6
- package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
- package/src/models/index.ts +2 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -605,6 +605,8 @@ src/models/StoreListResource.ts
|
|
|
605
605
|
src/models/StoreListResourceArrayResponse.ts
|
|
606
606
|
src/models/StoreLiteResource.ts
|
|
607
607
|
src/models/StoreLiteResourceArrayResponse.ts
|
|
608
|
+
src/models/StoreLocationResource.ts
|
|
609
|
+
src/models/StoreLocationResourceArrayResponse.ts
|
|
608
610
|
src/models/StoreResource.ts
|
|
609
611
|
src/models/StoreResourceArrayResponse.ts
|
|
610
612
|
src/models/StoreSpecialDateFrontendResource.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.2562
|
|
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.2562 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -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'],
|
|
@@ -22,8 +22,6 @@ 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
25
|
if (!('company' in value) || value['company'] === undefined)
|
|
28
26
|
return false;
|
|
29
27
|
if (!('line1' in value) || value['line1'] === undefined)
|
|
@@ -51,7 +49,7 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
49
|
'id': json['id'] == null ? undefined : json['id'],
|
|
52
50
|
'type': json['type'] == null ? undefined : json['type'],
|
|
53
51
|
'sourceAddressId': json['sourceAddressId'] == null ? undefined : json['sourceAddressId'],
|
|
54
|
-
'addresseeName': json['addresseeName'],
|
|
52
|
+
'addresseeName': json['addresseeName'] == null ? undefined : json['addresseeName'],
|
|
55
53
|
'company': json['company'],
|
|
56
54
|
'line1': json['line1'],
|
|
57
55
|
'line2': json['line2'] == null ? undefined : json['line2'],
|
|
@@ -37,6 +37,8 @@ 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;
|
|
40
42
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined)
|
|
41
43
|
return false;
|
|
42
44
|
if (!('site' in value) || value['site'] === undefined)
|
|
@@ -58,7 +60,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
60
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
59
61
|
'endpoint': json['endpoint'],
|
|
60
62
|
'responseCode': json['responseCode'],
|
|
61
|
-
'requestPayload': json['requestPayload']
|
|
63
|
+
'requestPayload': json['requestPayload'],
|
|
62
64
|
'responsePayload': json['responsePayload'],
|
|
63
65
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
64
66
|
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
@@ -29,8 +29,6 @@ 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
32
|
if (!('trackingUrl' in value) || value['trackingUrl'] === undefined)
|
|
35
33
|
return false;
|
|
36
34
|
if (!('trackingCompany' in value) || value['trackingCompany'] === undefined)
|
|
@@ -54,7 +52,7 @@ function OrderFulfillmentResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
52
|
'id': json['id'],
|
|
55
53
|
'orderId': json['orderId'],
|
|
56
54
|
'dateShipped': (new Date(json['dateShipped'])),
|
|
57
|
-
'trackingNumber': json['trackingNumber'],
|
|
55
|
+
'trackingNumber': json['trackingNumber'] == null ? undefined : json['trackingNumber'],
|
|
58
56
|
'trackingUrl': json['trackingUrl'],
|
|
59
57
|
'trackingCompany': json['trackingCompany'],
|
|
60
58
|
'docnum': json['docnum'],
|
|
@@ -69,7 +69,7 @@ function SearchOrdersRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
69
69
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
70
70
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
71
71
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
72
|
-
'failedNetsuiteSync': json['
|
|
72
|
+
'failedNetsuiteSync': json['failed_netsuite_sync'] == null ? undefined : json['failed_netsuite_sync'],
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
75
|
function SearchOrdersRequestToJSON(json) {
|
|
@@ -100,6 +100,6 @@ function SearchOrdersRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
100
100
|
'related_id': value['relatedId'],
|
|
101
101
|
'related_type': value['relatedType'],
|
|
102
102
|
'includes_relations': value['includesRelations'],
|
|
103
|
-
'
|
|
103
|
+
'failed_netsuite_sync': value['failedNetsuiteSync'],
|
|
104
104
|
};
|
|
105
105
|
}
|
|
@@ -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'],
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface StoreLocationResource
|
|
16
|
+
*/
|
|
17
|
+
export interface StoreLocationResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof StoreLocationResource
|
|
22
|
+
*/
|
|
23
|
+
latitude: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof StoreLocationResource
|
|
28
|
+
*/
|
|
29
|
+
longitude: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the StoreLocationResource interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfStoreLocationResource(value: object): value is StoreLocationResource;
|
|
35
|
+
export declare function StoreLocationResourceFromJSON(json: any): StoreLocationResource;
|
|
36
|
+
export declare function StoreLocationResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreLocationResource;
|
|
37
|
+
export declare function StoreLocationResourceToJSON(json: any): StoreLocationResource;
|
|
38
|
+
export declare function StoreLocationResourceToJSONTyped(value?: StoreLocationResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfStoreLocationResource = instanceOfStoreLocationResource;
|
|
17
|
+
exports.StoreLocationResourceFromJSON = StoreLocationResourceFromJSON;
|
|
18
|
+
exports.StoreLocationResourceFromJSONTyped = StoreLocationResourceFromJSONTyped;
|
|
19
|
+
exports.StoreLocationResourceToJSON = StoreLocationResourceToJSON;
|
|
20
|
+
exports.StoreLocationResourceToJSONTyped = StoreLocationResourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the StoreLocationResource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfStoreLocationResource(value) {
|
|
25
|
+
if (!('latitude' in value) || value['latitude'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('longitude' in value) || value['longitude'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function StoreLocationResourceFromJSON(json) {
|
|
32
|
+
return StoreLocationResourceFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function StoreLocationResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'latitude': json['latitude'],
|
|
40
|
+
'longitude': json['longitude'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function StoreLocationResourceToJSON(json) {
|
|
44
|
+
return StoreLocationResourceToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function StoreLocationResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'latitude': value['latitude'],
|
|
53
|
+
'longitude': value['longitude'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { StoreLocationResource } from './StoreLocationResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface StoreLocationResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface StoreLocationResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<StoreLocationResource>}
|
|
22
|
+
* @memberof StoreLocationResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<StoreLocationResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the StoreLocationResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfStoreLocationResourceArrayResponse(value: object): value is StoreLocationResourceArrayResponse;
|
|
30
|
+
export declare function StoreLocationResourceArrayResponseFromJSON(json: any): StoreLocationResourceArrayResponse;
|
|
31
|
+
export declare function StoreLocationResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreLocationResourceArrayResponse;
|
|
32
|
+
export declare function StoreLocationResourceArrayResponseToJSON(json: any): StoreLocationResourceArrayResponse;
|
|
33
|
+
export declare function StoreLocationResourceArrayResponseToJSONTyped(value?: StoreLocationResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfStoreLocationResourceArrayResponse = instanceOfStoreLocationResourceArrayResponse;
|
|
17
|
+
exports.StoreLocationResourceArrayResponseFromJSON = StoreLocationResourceArrayResponseFromJSON;
|
|
18
|
+
exports.StoreLocationResourceArrayResponseFromJSONTyped = StoreLocationResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.StoreLocationResourceArrayResponseToJSON = StoreLocationResourceArrayResponseToJSON;
|
|
20
|
+
exports.StoreLocationResourceArrayResponseToJSONTyped = StoreLocationResourceArrayResponseToJSONTyped;
|
|
21
|
+
var StoreLocationResource_1 = require("./StoreLocationResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the StoreLocationResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfStoreLocationResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function StoreLocationResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return StoreLocationResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function StoreLocationResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(StoreLocationResource_1.StoreLocationResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function StoreLocationResourceArrayResponseToJSON(json) {
|
|
40
|
+
return StoreLocationResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function StoreLocationResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'data': value['data'] == null ? undefined : (value['data'].map(StoreLocationResource_1.StoreLocationResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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 | null;
|
|
76
76
|
/**
|
|
77
77
|
*
|
|
78
78
|
* @type {number}
|
|
@@ -36,12 +36,8 @@ 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
|
-
if (!('website' in value) || value['website'] === undefined)
|
|
44
|
-
return false;
|
|
45
41
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
|
|
46
42
|
return false;
|
|
47
43
|
if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined)
|
|
@@ -68,9 +64,9 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
68
64
|
'phone': json['phone'],
|
|
69
65
|
'longitude': json['longitude'],
|
|
70
66
|
'latitude': json['latitude'],
|
|
71
|
-
'tagLine': json['tagLine'],
|
|
67
|
+
'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
|
|
72
68
|
'email': json['email'],
|
|
73
|
-
'website': json['website'],
|
|
69
|
+
'website': json['website'] == null ? undefined : json['website'],
|
|
74
70
|
'netsuiteId': json['netsuiteId'],
|
|
75
71
|
'displayNetsuiteId': json['displayNetsuiteId'],
|
|
76
72
|
'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
|
@@ -566,6 +566,8 @@ export * from './StoreListResource';
|
|
|
566
566
|
export * from './StoreListResourceArrayResponse';
|
|
567
567
|
export * from './StoreLiteResource';
|
|
568
568
|
export * from './StoreLiteResourceArrayResponse';
|
|
569
|
+
export * from './StoreLocationResource';
|
|
570
|
+
export * from './StoreLocationResourceArrayResponse';
|
|
569
571
|
export * from './StoreResource';
|
|
570
572
|
export * from './StoreResourceArrayResponse';
|
|
571
573
|
export * from './StoreSpecialDateFrontendResource';
|
package/dist/models/index.js
CHANGED
|
@@ -584,6 +584,8 @@ __exportStar(require("./StoreListResource"), exports);
|
|
|
584
584
|
__exportStar(require("./StoreListResourceArrayResponse"), exports);
|
|
585
585
|
__exportStar(require("./StoreLiteResource"), exports);
|
|
586
586
|
__exportStar(require("./StoreLiteResourceArrayResponse"), exports);
|
|
587
|
+
__exportStar(require("./StoreLocationResource"), exports);
|
|
588
|
+
__exportStar(require("./StoreLocationResourceArrayResponse"), exports);
|
|
587
589
|
__exportStar(require("./StoreResource"), exports);
|
|
588
590
|
__exportStar(require("./StoreResourceArrayResponse"), exports);
|
|
589
591
|
__exportStar(require("./StoreSpecialDateFrontendResource"), exports);
|
package/package.json
CHANGED
|
@@ -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}
|
|
@@ -75,7 +75,6 @@ export interface AddressFrontendResource {
|
|
|
75
75
|
export function instanceOfAddressFrontendResource(value: object): value is AddressFrontendResource {
|
|
76
76
|
if (!('company' in value) || value['company'] === undefined) return false;
|
|
77
77
|
if (!('line1' in value) || value['line1'] === undefined) return false;
|
|
78
|
-
if (!('line2' in value) || value['line2'] === undefined) return false;
|
|
79
78
|
if (!('postcode' in value) || value['postcode'] === undefined) return false;
|
|
80
79
|
if (!('suburb' in value) || value['suburb'] === undefined) return false;
|
|
81
80
|
if (!('country' in value) || value['country'] === undefined) return false;
|
|
@@ -96,7 +95,7 @@ export function AddressFrontendResourceFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
96
95
|
|
|
97
96
|
'company': json['company'],
|
|
98
97
|
'line1': json['line1'],
|
|
99
|
-
'line2': json['line2'],
|
|
98
|
+
'line2': json['line2'] == null ? undefined : json['line2'],
|
|
100
99
|
'postcode': json['postcode'],
|
|
101
100
|
'suburb': json['suburb'],
|
|
102
101
|
'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 | null;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {string}
|
|
@@ -97,7 +97,6 @@ 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;
|
|
101
100
|
if (!('company' in value) || value['company'] === undefined) return false;
|
|
102
101
|
if (!('line1' in value) || value['line1'] === undefined) return false;
|
|
103
102
|
if (!('postcode' in value) || value['postcode'] === undefined) return false;
|
|
@@ -121,7 +120,7 @@ export function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
121
120
|
'id': json['id'] == null ? undefined : json['id'],
|
|
122
121
|
'type': json['type'] == null ? undefined : json['type'],
|
|
123
122
|
'sourceAddressId': json['sourceAddressId'] == null ? undefined : json['sourceAddressId'],
|
|
124
|
-
'addresseeName': json['addresseeName'],
|
|
123
|
+
'addresseeName': json['addresseeName'] == null ? undefined : json['addresseeName'],
|
|
125
124
|
'company': json['company'],
|
|
126
125
|
'line1': json['line1'],
|
|
127
126
|
'line2': json['line2'] == null ? undefined : json['line2'],
|
|
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
|
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof ExternalApiLogResource
|
|
76
76
|
*/
|
|
77
|
-
requestPayload
|
|
77
|
+
requestPayload: string;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
* @type {string}
|
|
@@ -106,6 +106,7 @@ export function instanceOfExternalApiLogResource(value: object): value is Extern
|
|
|
106
106
|
if (!('exteranlApiLoggableId' in value) || value['exteranlApiLoggableId'] === undefined) return false;
|
|
107
107
|
if (!('endpoint' in value) || value['endpoint'] === undefined) return false;
|
|
108
108
|
if (!('responseCode' in value) || value['responseCode'] === undefined) return false;
|
|
109
|
+
if (!('requestPayload' in value) || value['requestPayload'] === undefined) return false;
|
|
109
110
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
|
|
110
111
|
if (!('site' in value) || value['site'] === undefined) return false;
|
|
111
112
|
return true;
|
|
@@ -128,7 +129,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
128
129
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
129
130
|
'endpoint': json['endpoint'],
|
|
130
131
|
'responseCode': json['responseCode'],
|
|
131
|
-
'requestPayload': json['requestPayload']
|
|
132
|
+
'requestPayload': json['requestPayload'],
|
|
132
133
|
'responsePayload': json['responsePayload'],
|
|
133
134
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
134
135
|
'site': SiteLiteResourceFromJSON(json['site']),
|
|
@@ -50,7 +50,7 @@ export interface OrderFulfillmentResource {
|
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof OrderFulfillmentResource
|
|
52
52
|
*/
|
|
53
|
-
trackingNumber
|
|
53
|
+
trackingNumber?: string | null;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
56
|
* @type {string}
|
|
@@ -102,7 +102,6 @@ export function instanceOfOrderFulfillmentResource(value: object): value is Orde
|
|
|
102
102
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
103
103
|
if (!('orderId' in value) || value['orderId'] === undefined) return false;
|
|
104
104
|
if (!('dateShipped' in value) || value['dateShipped'] === undefined) return false;
|
|
105
|
-
if (!('trackingNumber' in value) || value['trackingNumber'] === undefined) return false;
|
|
106
105
|
if (!('trackingUrl' in value) || value['trackingUrl'] === undefined) return false;
|
|
107
106
|
if (!('trackingCompany' in value) || value['trackingCompany'] === undefined) return false;
|
|
108
107
|
if (!('docnum' in value) || value['docnum'] === undefined) return false;
|
|
@@ -124,7 +123,7 @@ export function OrderFulfillmentResourceFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
124
123
|
'id': json['id'],
|
|
125
124
|
'orderId': json['orderId'],
|
|
126
125
|
'dateShipped': (new Date(json['dateShipped'])),
|
|
127
|
-
'trackingNumber': json['trackingNumber'],
|
|
126
|
+
'trackingNumber': json['trackingNumber'] == null ? undefined : json['trackingNumber'],
|
|
128
127
|
'trackingUrl': json['trackingUrl'],
|
|
129
128
|
'trackingCompany': json['trackingCompany'],
|
|
130
129
|
'docnum': json['docnum'],
|
|
@@ -200,7 +200,7 @@ export function SearchOrdersRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
200
200
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
201
201
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
202
202
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
203
|
-
'failedNetsuiteSync': json['
|
|
203
|
+
'failedNetsuiteSync': json['failed_netsuite_sync'] == null ? undefined : json['failed_netsuite_sync'],
|
|
204
204
|
};
|
|
205
205
|
}
|
|
206
206
|
|
|
@@ -234,7 +234,7 @@ export function SearchOrdersRequestToJSONTyped(value?: SearchOrdersRequest | nul
|
|
|
234
234
|
'related_id': value['relatedId'],
|
|
235
235
|
'related_type': value['relatedType'],
|
|
236
236
|
'includes_relations': value['includesRelations'],
|
|
237
|
-
'
|
|
237
|
+
'failed_netsuite_sync': value['failedNetsuiteSync'],
|
|
238
238
|
};
|
|
239
239
|
}
|
|
240
240
|
|
|
@@ -80,7 +80,7 @@ export interface StoreListResource {
|
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof StoreListResource
|
|
82
82
|
*/
|
|
83
|
-
website
|
|
83
|
+
website?: string | null;
|
|
84
84
|
/**
|
|
85
85
|
*
|
|
86
86
|
* @type {number}
|
|
@@ -112,7 +112,6 @@ export function instanceOfStoreListResource(value: object): value is StoreListRe
|
|
|
112
112
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
113
113
|
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
114
114
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
115
|
-
if (!('website' in value) || value['website'] === undefined) return false;
|
|
116
115
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
|
|
117
116
|
if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
|
|
118
117
|
return true;
|
|
@@ -136,7 +135,7 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
136
135
|
'latitude': json['latitude'],
|
|
137
136
|
'tagLine': json['tagLine'],
|
|
138
137
|
'email': json['email'],
|
|
139
|
-
'website': json['website'],
|
|
138
|
+
'website': json['website'] == null ? undefined : json['website'],
|
|
140
139
|
'netsuiteId': json['netsuiteId'],
|
|
141
140
|
'displayNetsuiteId': json['displayNetsuiteId'],
|
|
142
141
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface StoreLocationResource
|
|
20
|
+
*/
|
|
21
|
+
export interface StoreLocationResource {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof StoreLocationResource
|
|
26
|
+
*/
|
|
27
|
+
latitude: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof StoreLocationResource
|
|
32
|
+
*/
|
|
33
|
+
longitude: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the StoreLocationResource interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfStoreLocationResource(value: object): value is StoreLocationResource {
|
|
40
|
+
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
41
|
+
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function StoreLocationResourceFromJSON(json: any): StoreLocationResource {
|
|
46
|
+
return StoreLocationResourceFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function StoreLocationResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreLocationResource {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'latitude': json['latitude'],
|
|
56
|
+
'longitude': json['longitude'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function StoreLocationResourceToJSON(json: any): StoreLocationResource {
|
|
61
|
+
return StoreLocationResourceToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function StoreLocationResourceToJSONTyped(value?: StoreLocationResource | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'latitude': value['latitude'],
|
|
72
|
+
'longitude': value['longitude'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { StoreLocationResource } from './StoreLocationResource';
|
|
17
|
+
import {
|
|
18
|
+
StoreLocationResourceFromJSON,
|
|
19
|
+
StoreLocationResourceFromJSONTyped,
|
|
20
|
+
StoreLocationResourceToJSON,
|
|
21
|
+
StoreLocationResourceToJSONTyped,
|
|
22
|
+
} from './StoreLocationResource';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface StoreLocationResourceArrayResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface StoreLocationResourceArrayResponse {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<StoreLocationResource>}
|
|
33
|
+
* @memberof StoreLocationResourceArrayResponse
|
|
34
|
+
*/
|
|
35
|
+
data?: Array<StoreLocationResource>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the StoreLocationResourceArrayResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfStoreLocationResourceArrayResponse(value: object): value is StoreLocationResourceArrayResponse {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function StoreLocationResourceArrayResponseFromJSON(json: any): StoreLocationResourceArrayResponse {
|
|
46
|
+
return StoreLocationResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function StoreLocationResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreLocationResourceArrayResponse {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(StoreLocationResourceFromJSON)),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function StoreLocationResourceArrayResponseToJSON(json: any): StoreLocationResourceArrayResponse {
|
|
60
|
+
return StoreLocationResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function StoreLocationResourceArrayResponseToJSONTyped(value?: StoreLocationResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(StoreLocationResourceToJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -89,7 +89,7 @@ export interface StoreResource {
|
|
|
89
89
|
* @type {string}
|
|
90
90
|
* @memberof StoreResource
|
|
91
91
|
*/
|
|
92
|
-
tagLine
|
|
92
|
+
tagLine?: string | null;
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
95
|
* @type {string}
|
|
@@ -101,7 +101,7 @@ export interface StoreResource {
|
|
|
101
101
|
* @type {string}
|
|
102
102
|
* @memberof StoreResource
|
|
103
103
|
*/
|
|
104
|
-
website
|
|
104
|
+
website?: string | null;
|
|
105
105
|
/**
|
|
106
106
|
*
|
|
107
107
|
* @type {number}
|
|
@@ -149,9 +149,7 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
|
|
|
149
149
|
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
150
150
|
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
151
151
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
152
|
-
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
153
152
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
154
|
-
if (!('website' in value) || value['website'] === undefined) return false;
|
|
155
153
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
|
|
156
154
|
if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
|
|
157
155
|
if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
|
|
@@ -176,9 +174,9 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
176
174
|
'phone': json['phone'],
|
|
177
175
|
'longitude': json['longitude'],
|
|
178
176
|
'latitude': json['latitude'],
|
|
179
|
-
'tagLine': json['tagLine'],
|
|
177
|
+
'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
|
|
180
178
|
'email': json['email'],
|
|
181
|
-
'website': json['website'],
|
|
179
|
+
'website': json['website'] == null ? undefined : json['website'],
|
|
182
180
|
'netsuiteId': json['netsuiteId'],
|
|
183
181
|
'displayNetsuiteId': json['displayNetsuiteId'],
|
|
184
182
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
@@ -39,10 +39,10 @@ export interface StoreSpecialDateFrontendResource {
|
|
|
39
39
|
hours: string;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
|
-
* @type {
|
|
42
|
+
* @type {object}
|
|
43
43
|
* @memberof StoreSpecialDateFrontendResource
|
|
44
44
|
*/
|
|
45
|
-
date
|
|
45
|
+
date: object;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {boolean}
|
|
@@ -69,6 +69,7 @@ export interface StoreSpecialDateFrontendResource {
|
|
|
69
69
|
export function instanceOfStoreSpecialDateFrontendResource(value: object): value is StoreSpecialDateFrontendResource {
|
|
70
70
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
71
71
|
if (!('hours' in value) || value['hours'] === undefined) return false;
|
|
72
|
+
if (!('date' in value) || value['date'] === undefined) return false;
|
|
72
73
|
if (!('closed' in value) || value['closed'] === undefined) return false;
|
|
73
74
|
if (!('displayStartDate' in value) || value['displayStartDate'] === undefined) return false;
|
|
74
75
|
if (!('displayEndDate' in value) || value['displayEndDate'] === undefined) return false;
|
|
@@ -88,7 +89,7 @@ export function StoreSpecialDateFrontendResourceFromJSONTyped(json: any, ignoreD
|
|
|
88
89
|
'id': json['id'] == null ? undefined : json['id'],
|
|
89
90
|
'name': json['name'],
|
|
90
91
|
'hours': json['hours'],
|
|
91
|
-
'date': json['date']
|
|
92
|
+
'date': json['date'],
|
|
92
93
|
'closed': json['closed'],
|
|
93
94
|
'displayStartDate': json['displayStartDate'],
|
|
94
95
|
'displayEndDate': json['displayEndDate'],
|
package/src/models/index.ts
CHANGED
|
@@ -568,6 +568,8 @@ export * from './StoreListResource';
|
|
|
568
568
|
export * from './StoreListResourceArrayResponse';
|
|
569
569
|
export * from './StoreLiteResource';
|
|
570
570
|
export * from './StoreLiteResourceArrayResponse';
|
|
571
|
+
export * from './StoreLocationResource';
|
|
572
|
+
export * from './StoreLocationResourceArrayResponse';
|
|
571
573
|
export * from './StoreResource';
|
|
572
574
|
export * from './StoreResourceArrayResponse';
|
|
573
575
|
export * from './StoreSpecialDateFrontendResource';
|