@digital8/lighting-illusions-ts-sdk 0.0.1813 → 0.0.1814
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 +6 -66
- package/README.md +7 -46
- package/dist/apis/StoreApi.d.ts +28 -1
- package/dist/apis/StoreApi.js +113 -0
- package/dist/apis/index.d.ts +0 -2
- package/dist/apis/index.js +0 -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/ProductChildSiteDetailLiteResource.d.ts +0 -7
- package/dist/models/ProductChildSiteDetailLiteResource.js +0 -5
- package/dist/models/SaveMapStoreStockMigrationRequest.d.ts +33 -0
- package/dist/models/SaveMapStoreStockMigrationRequest.js +52 -0
- package/dist/models/SaveMapStoreStockMigrationRequestAssociationsInner.d.ts +52 -0
- package/dist/models/SaveMapStoreStockMigrationRequestAssociationsInner.js +67 -0
- package/dist/models/SitePaymentConfigResource.d.ts +0 -6
- package/dist/models/SitePaymentConfigResource.js +0 -4
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +3 -1
- package/dist/models/StoreListResource.d.ts +12 -0
- package/dist/models/StoreListResource.js +12 -4
- package/dist/models/StoreResource.d.ts +12 -0
- package/dist/models/StoreResource.js +14 -6
- package/dist/models/StoreSpecialDateResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateResource.js +7 -5
- package/dist/models/StoreStockType.d.ts +25 -0
- package/dist/models/StoreStockType.js +51 -0
- package/dist/models/StoreStoreRequest.d.ts +12 -0
- package/dist/models/StoreStoreRequest.js +4 -0
- package/dist/models/UpdateSiteRequest.d.ts +0 -6
- package/dist/models/UpdateSiteRequest.js +0 -4
- package/dist/models/UpdateStoreRequest.d.ts +12 -0
- package/dist/models/UpdateStoreRequest.js +4 -0
- package/dist/models/index.d.ts +3 -31
- package/dist/models/index.js +3 -31
- package/docs/ProductChildSiteDetailLiteResource.md +0 -2
- package/docs/{CustomerListResourceArrayResponse.md → SaveMapStoreStockMigrationRequest.md} +6 -6
- package/docs/{AttachItemCartRequest.md → SaveMapStoreStockMigrationRequestAssociationsInner.md} +10 -10
- package/docs/SitePaymentConfigResource.md +0 -2
- package/docs/StoreApi.md +124 -0
- package/docs/StoreListResource.md +4 -0
- package/docs/StoreResource.md +4 -0
- package/docs/StoreSpecialDateResource.md +1 -1
- package/docs/{AddressType.md → StoreStockType.md} +4 -4
- package/docs/StoreStoreRequest.md +4 -0
- package/docs/UpdateSiteRequest.md +0 -2
- package/docs/UpdateStoreRequest.md +4 -0
- package/package.json +1 -1
- package/src/apis/StoreApi.ts +84 -0
- package/src/apis/index.ts +0 -2
- package/src/models/AddressFrontendResource.ts +2 -3
- package/src/models/AddressResource.ts +2 -3
- package/src/models/ProductChildSiteDetailLiteResource.ts +0 -16
- package/src/models/SaveMapStoreStockMigrationRequest.ts +74 -0
- package/src/models/SaveMapStoreStockMigrationRequestAssociationsInner.ts +95 -0
- package/src/models/SitePaymentConfigResource.ts +0 -9
- package/src/models/StoreFrontendResource.ts +3 -2
- package/src/models/StoreListResource.ts +22 -4
- package/src/models/StoreResource.ts +24 -6
- package/src/models/StoreSpecialDateResource.ts +8 -7
- package/src/models/StoreStockType.ts +53 -0
- package/src/models/StoreStoreRequest.ts +16 -0
- package/src/models/UpdateSiteRequest.ts +0 -9
- package/src/models/UpdateStoreRequest.ts +16 -0
- package/src/models/index.ts +3 -31
- package/dist/apis/CartsApi.d.ts +0 -190
- package/dist/apis/CartsApi.js +0 -747
- package/dist/apis/CustomersApi.d.ts +0 -48
- package/dist/apis/CustomersApi.js +0 -196
- package/dist/models/AddressType.d.ts +0 -25
- package/dist/models/AddressType.js +0 -51
- package/dist/models/AdminCartResource.d.ts +0 -204
- package/dist/models/AdminCartResource.js +0 -147
- package/dist/models/AdminCartResourceArrayResponse.d.ts +0 -33
- package/dist/models/AdminCartResourceArrayResponse.js +0 -50
- package/dist/models/AttachCouponCartRequest.d.ts +0 -32
- package/dist/models/AttachCouponCartRequest.js +0 -51
- package/dist/models/AttachItemCartRequest.d.ts +0 -44
- package/dist/models/AttachItemCartRequest.js +0 -57
- package/dist/models/CartListResource.d.ts +0 -143
- package/dist/models/CartListResource.js +0 -110
- package/dist/models/CartListResourceArrayResponse.d.ts +0 -33
- package/dist/models/CartListResourceArrayResponse.js +0 -50
- package/dist/models/CartOrderSource.d.ts +0 -29
- package/dist/models/CartOrderSource.js +0 -55
- package/dist/models/CartStatus.d.ts +0 -26
- package/dist/models/CartStatus.js +0 -52
- package/dist/models/CustomerListResource.d.ts +0 -76
- package/dist/models/CustomerListResource.js +0 -77
- package/dist/models/CustomerListResourceArrayResponse.d.ts +0 -33
- package/dist/models/CustomerListResourceArrayResponse.js +0 -50
- package/dist/models/CustomerResource.d.ts +0 -76
- package/dist/models/CustomerResource.js +0 -77
- package/dist/models/CustomerResourceArrayResponse.d.ts +0 -33
- package/dist/models/CustomerResourceArrayResponse.js +0 -50
- package/dist/models/FrontendCartResource.d.ts +0 -162
- package/dist/models/FrontendCartResource.js +0 -125
- package/dist/models/FrontendCartResourceArrayResponse.d.ts +0 -33
- package/dist/models/FrontendCartResourceArrayResponse.js +0 -50
- package/dist/models/IndexCartRequest.d.ts +0 -154
- package/dist/models/IndexCartRequest.js +0 -105
- package/dist/models/IndexCustomerRequest.d.ts +0 -99
- package/dist/models/IndexCustomerRequest.js +0 -83
- package/dist/models/LiAddressResource.d.ts +0 -86
- package/dist/models/LiAddressResource.js +0 -83
- package/dist/models/LiAddressResourceArrayResponse.d.ts +0 -33
- package/dist/models/LiAddressResourceArrayResponse.js +0 -50
- package/dist/models/LineItemListResource.d.ts +0 -51
- package/dist/models/LineItemListResource.js +0 -62
- package/dist/models/LineItemListResourceArrayResponse.d.ts +0 -33
- package/dist/models/LineItemListResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedCartListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedCartListResourceResponse.js +0 -57
- package/dist/models/PaginatedCustomerListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedCustomerListResourceResponse.js +0 -57
- package/dist/models/ShippingType.d.ts +0 -28
- package/dist/models/ShippingType.js +0 -54
- package/dist/models/StoreCartRequest.d.ts +0 -142
- package/dist/models/StoreCartRequest.js +0 -112
- package/dist/models/StoreCartRequestCustomer.d.ts +0 -50
- package/dist/models/StoreCartRequestCustomer.js +0 -55
- package/dist/models/StoreCartRequestItemsInner.d.ts +0 -44
- package/dist/models/StoreCartRequestItemsInner.js +0 -57
- package/dist/models/StoreCartRequestShippingAddress.d.ts +0 -68
- package/dist/models/StoreCartRequestShippingAddress.js +0 -69
- package/dist/models/StoreCustomerRequest.d.ts +0 -56
- package/dist/models/StoreCustomerRequest.js +0 -65
- package/dist/models/UpdateCartRequest.d.ts +0 -117
- package/dist/models/UpdateCartRequest.js +0 -97
- package/dist/models/UpdateItemCartRequest.d.ts +0 -38
- package/dist/models/UpdateItemCartRequest.js +0 -53
- package/docs/AdminCartResource.md +0 -90
- package/docs/AdminCartResourceArrayResponse.md +0 -34
- package/docs/AttachCouponCartRequest.md +0 -34
- package/docs/CartListResource.md +0 -70
- package/docs/CartListResourceArrayResponse.md +0 -34
- package/docs/CartOrderSource.md +0 -32
- package/docs/CartStatus.md +0 -32
- package/docs/CartsApi.md +0 -755
- package/docs/CustomerListResource.md +0 -48
- package/docs/CustomerResource.md +0 -48
- package/docs/CustomerResourceArrayResponse.md +0 -34
- package/docs/CustomersApi.md +0 -140
- package/docs/FrontendCartResource.md +0 -76
- package/docs/FrontendCartResourceArrayResponse.md +0 -34
- package/docs/IndexCartRequest.md +0 -66
- package/docs/IndexCustomerRequest.md +0 -50
- package/docs/LiAddressResource.md +0 -52
- package/docs/LiAddressResourceArrayResponse.md +0 -34
- package/docs/LineItemListResource.md +0 -40
- package/docs/LineItemListResourceArrayResponse.md +0 -34
- package/docs/PaginatedCartListResourceResponse.md +0 -36
- package/docs/PaginatedCustomerListResourceResponse.md +0 -36
- package/docs/ShippingType.md +0 -32
- package/docs/StoreCartRequest.md +0 -62
- package/docs/StoreCartRequestCustomer.md +0 -40
- package/docs/StoreCartRequestItemsInner.md +0 -38
- package/docs/StoreCartRequestShippingAddress.md +0 -46
- package/docs/StoreCustomerRequest.md +0 -42
- package/docs/UpdateCartRequest.md +0 -54
- package/docs/UpdateItemCartRequest.md +0 -36
- package/src/apis/CartsApi.ts +0 -626
- package/src/apis/CustomersApi.ts +0 -127
- package/src/models/AddressType.ts +0 -53
- package/src/models/AdminCartResource.ts +0 -337
- package/src/models/AdminCartResourceArrayResponse.ts +0 -73
- package/src/models/AttachCouponCartRequest.ts +0 -66
- package/src/models/AttachItemCartRequest.ts +0 -83
- package/src/models/CartListResource.ts +0 -242
- package/src/models/CartListResourceArrayResponse.ts +0 -73
- package/src/models/CartOrderSource.ts +0 -57
- package/src/models/CartStatus.ts +0 -54
- package/src/models/CustomerListResource.ts +0 -142
- package/src/models/CustomerListResourceArrayResponse.ts +0 -73
- package/src/models/CustomerResource.ts +0 -142
- package/src/models/CustomerResourceArrayResponse.ts +0 -73
- package/src/models/FrontendCartResource.ts +0 -277
- package/src/models/FrontendCartResourceArrayResponse.ts +0 -73
- package/src/models/IndexCartRequest.ts +0 -224
- package/src/models/IndexCustomerRequest.ts +0 -152
- package/src/models/LiAddressResource.ts +0 -145
- package/src/models/LiAddressResourceArrayResponse.ts +0 -73
- package/src/models/LineItemListResource.ts +0 -100
- package/src/models/LineItemListResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedCartListResourceResponse.ts +0 -90
- package/src/models/PaginatedCustomerListResourceResponse.ts +0 -90
- package/src/models/ShippingType.ts +0 -56
- package/src/models/StoreCartRequest.ts +0 -231
- package/src/models/StoreCartRequestCustomer.ts +0 -89
- package/src/models/StoreCartRequestItemsInner.ts +0 -83
- package/src/models/StoreCartRequestShippingAddress.ts +0 -117
- package/src/models/StoreCustomerRequest.ts +0 -101
- package/src/models/UpdateCartRequest.ts +0 -189
- package/src/models/UpdateItemCartRequest.ts +0 -74
|
@@ -24,8 +24,6 @@ exports.AddressResourceToJSONTyped = AddressResourceToJSONTyped;
|
|
|
24
24
|
function instanceOfAddressResource(value) {
|
|
25
25
|
if (!('line1' in value) || value['line1'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
-
if (!('line2' in value) || value['line2'] === undefined)
|
|
28
|
-
return false;
|
|
29
27
|
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
30
28
|
return false;
|
|
31
29
|
if (!('suburb' in value) || value['suburb'] === undefined)
|
|
@@ -49,7 +47,7 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
47
|
'id': json['id'] == null ? undefined : json['id'],
|
|
50
48
|
'company': json['company'] == null ? undefined : json['company'],
|
|
51
49
|
'line1': json['line_1'],
|
|
52
|
-
'line2': json['line_2'],
|
|
50
|
+
'line2': json['line_2'] == null ? undefined : json['line_2'],
|
|
53
51
|
'postcode': json['postcode'],
|
|
54
52
|
'suburb': json['suburb'],
|
|
55
53
|
'country': json['country'],
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { SiteLiteResource } from './SiteLiteResource';
|
|
13
|
-
import type { LabelResource } from './LabelResource';
|
|
14
13
|
/**
|
|
15
14
|
*
|
|
16
15
|
* @export
|
|
@@ -59,12 +58,6 @@ export interface ProductChildSiteDetailLiteResource {
|
|
|
59
58
|
* @memberof ProductChildSiteDetailLiteResource
|
|
60
59
|
*/
|
|
61
60
|
isDisabled: boolean;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {LabelResource}
|
|
65
|
-
* @memberof ProductChildSiteDetailLiteResource
|
|
66
|
-
*/
|
|
67
|
-
label: LabelResource | null;
|
|
68
61
|
}
|
|
69
62
|
/**
|
|
70
63
|
* Check if a given object implements the ProductChildSiteDetailLiteResource interface.
|
|
@@ -19,7 +19,6 @@ exports.ProductChildSiteDetailLiteResourceFromJSONTyped = ProductChildSiteDetail
|
|
|
19
19
|
exports.ProductChildSiteDetailLiteResourceToJSON = ProductChildSiteDetailLiteResourceToJSON;
|
|
20
20
|
exports.ProductChildSiteDetailLiteResourceToJSONTyped = ProductChildSiteDetailLiteResourceToJSONTyped;
|
|
21
21
|
var SiteLiteResource_1 = require("./SiteLiteResource");
|
|
22
|
-
var LabelResource_1 = require("./LabelResource");
|
|
23
22
|
/**
|
|
24
23
|
* Check if a given object implements the ProductChildSiteDetailLiteResource interface.
|
|
25
24
|
*/
|
|
@@ -38,8 +37,6 @@ function instanceOfProductChildSiteDetailLiteResource(value) {
|
|
|
38
37
|
return false;
|
|
39
38
|
if (!('isDisabled' in value) || value['isDisabled'] === undefined)
|
|
40
39
|
return false;
|
|
41
|
-
if (!('label' in value) || value['label'] === undefined)
|
|
42
|
-
return false;
|
|
43
40
|
return true;
|
|
44
41
|
}
|
|
45
42
|
function ProductChildSiteDetailLiteResourceFromJSON(json) {
|
|
@@ -57,7 +54,6 @@ function ProductChildSiteDetailLiteResourceFromJSONTyped(json, ignoreDiscriminat
|
|
|
57
54
|
'rrpPrice': json['rrpPrice'],
|
|
58
55
|
'salePrice': json['salePrice'],
|
|
59
56
|
'isDisabled': json['isDisabled'],
|
|
60
|
-
'label': (0, LabelResource_1.LabelResourceFromJSON)(json['label']),
|
|
61
57
|
};
|
|
62
58
|
}
|
|
63
59
|
function ProductChildSiteDetailLiteResourceToJSON(json) {
|
|
@@ -76,6 +72,5 @@ function ProductChildSiteDetailLiteResourceToJSONTyped(value, ignoreDiscriminato
|
|
|
76
72
|
'rrpPrice': value['rrpPrice'],
|
|
77
73
|
'salePrice': value['salePrice'],
|
|
78
74
|
'isDisabled': value['isDisabled'],
|
|
79
|
-
'label': (0, LabelResource_1.LabelResourceToJSON)(value['label']),
|
|
80
75
|
};
|
|
81
76
|
}
|
|
@@ -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 { SaveMapStoreStockMigrationRequestAssociationsInner } from './SaveMapStoreStockMigrationRequestAssociationsInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SaveMapStoreStockMigrationRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface SaveMapStoreStockMigrationRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SaveMapStoreStockMigrationRequestAssociationsInner>}
|
|
22
|
+
* @memberof SaveMapStoreStockMigrationRequest
|
|
23
|
+
*/
|
|
24
|
+
associations: Array<SaveMapStoreStockMigrationRequestAssociationsInner>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the SaveMapStoreStockMigrationRequest interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfSaveMapStoreStockMigrationRequest(value: object): value is SaveMapStoreStockMigrationRequest;
|
|
30
|
+
export declare function SaveMapStoreStockMigrationRequestFromJSON(json: any): SaveMapStoreStockMigrationRequest;
|
|
31
|
+
export declare function SaveMapStoreStockMigrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveMapStoreStockMigrationRequest;
|
|
32
|
+
export declare function SaveMapStoreStockMigrationRequestToJSON(json: any): SaveMapStoreStockMigrationRequest;
|
|
33
|
+
export declare function SaveMapStoreStockMigrationRequestToJSONTyped(value?: SaveMapStoreStockMigrationRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.instanceOfSaveMapStoreStockMigrationRequest = instanceOfSaveMapStoreStockMigrationRequest;
|
|
17
|
+
exports.SaveMapStoreStockMigrationRequestFromJSON = SaveMapStoreStockMigrationRequestFromJSON;
|
|
18
|
+
exports.SaveMapStoreStockMigrationRequestFromJSONTyped = SaveMapStoreStockMigrationRequestFromJSONTyped;
|
|
19
|
+
exports.SaveMapStoreStockMigrationRequestToJSON = SaveMapStoreStockMigrationRequestToJSON;
|
|
20
|
+
exports.SaveMapStoreStockMigrationRequestToJSONTyped = SaveMapStoreStockMigrationRequestToJSONTyped;
|
|
21
|
+
var SaveMapStoreStockMigrationRequestAssociationsInner_1 = require("./SaveMapStoreStockMigrationRequestAssociationsInner");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the SaveMapStoreStockMigrationRequest interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfSaveMapStoreStockMigrationRequest(value) {
|
|
26
|
+
if (!('associations' in value) || value['associations'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function SaveMapStoreStockMigrationRequestFromJSON(json) {
|
|
31
|
+
return SaveMapStoreStockMigrationRequestFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function SaveMapStoreStockMigrationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'associations': (json['associations'].map(SaveMapStoreStockMigrationRequestAssociationsInner_1.SaveMapStoreStockMigrationRequestAssociationsInnerFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function SaveMapStoreStockMigrationRequestToJSON(json) {
|
|
42
|
+
return SaveMapStoreStockMigrationRequestToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function SaveMapStoreStockMigrationRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'associations': (value['associations'].map(SaveMapStoreStockMigrationRequestAssociationsInner_1.SaveMapStoreStockMigrationRequestAssociationsInnerToJSON)),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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 SaveMapStoreStockMigrationRequestAssociationsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface SaveMapStoreStockMigrationRequestAssociationsInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof SaveMapStoreStockMigrationRequestAssociationsInner
|
|
22
|
+
*/
|
|
23
|
+
locationId: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SaveMapStoreStockMigrationRequestAssociationsInner
|
|
28
|
+
*/
|
|
29
|
+
storeId: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum}
|
|
33
|
+
* @memberof SaveMapStoreStockMigrationRequestAssociationsInner
|
|
34
|
+
*/
|
|
35
|
+
type: SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum: {
|
|
41
|
+
readonly Available: "available";
|
|
42
|
+
readonly Display: "display";
|
|
43
|
+
};
|
|
44
|
+
export type SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum = typeof SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum[keyof typeof SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum];
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the SaveMapStoreStockMigrationRequestAssociationsInner interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfSaveMapStoreStockMigrationRequestAssociationsInner(value: object): value is SaveMapStoreStockMigrationRequestAssociationsInner;
|
|
49
|
+
export declare function SaveMapStoreStockMigrationRequestAssociationsInnerFromJSON(json: any): SaveMapStoreStockMigrationRequestAssociationsInner;
|
|
50
|
+
export declare function SaveMapStoreStockMigrationRequestAssociationsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveMapStoreStockMigrationRequestAssociationsInner;
|
|
51
|
+
export declare function SaveMapStoreStockMigrationRequestAssociationsInnerToJSON(json: any): SaveMapStoreStockMigrationRequestAssociationsInner;
|
|
52
|
+
export declare function SaveMapStoreStockMigrationRequestAssociationsInnerToJSONTyped(value?: SaveMapStoreStockMigrationRequestAssociationsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
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.SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfSaveMapStoreStockMigrationRequestAssociationsInner = instanceOfSaveMapStoreStockMigrationRequestAssociationsInner;
|
|
18
|
+
exports.SaveMapStoreStockMigrationRequestAssociationsInnerFromJSON = SaveMapStoreStockMigrationRequestAssociationsInnerFromJSON;
|
|
19
|
+
exports.SaveMapStoreStockMigrationRequestAssociationsInnerFromJSONTyped = SaveMapStoreStockMigrationRequestAssociationsInnerFromJSONTyped;
|
|
20
|
+
exports.SaveMapStoreStockMigrationRequestAssociationsInnerToJSON = SaveMapStoreStockMigrationRequestAssociationsInnerToJSON;
|
|
21
|
+
exports.SaveMapStoreStockMigrationRequestAssociationsInnerToJSONTyped = SaveMapStoreStockMigrationRequestAssociationsInnerToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum = {
|
|
26
|
+
Available: 'available',
|
|
27
|
+
Display: 'display'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the SaveMapStoreStockMigrationRequestAssociationsInner interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfSaveMapStoreStockMigrationRequestAssociationsInner(value) {
|
|
33
|
+
if (!('locationId' in value) || value['locationId'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('storeId' in value) || value['storeId'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function SaveMapStoreStockMigrationRequestAssociationsInnerFromJSON(json) {
|
|
42
|
+
return SaveMapStoreStockMigrationRequestAssociationsInnerFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function SaveMapStoreStockMigrationRequestAssociationsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'locationId': json['location_id'],
|
|
50
|
+
'storeId': json['store_id'],
|
|
51
|
+
'type': json['type'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function SaveMapStoreStockMigrationRequestAssociationsInnerToJSON(json) {
|
|
55
|
+
return SaveMapStoreStockMigrationRequestAssociationsInnerToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function SaveMapStoreStockMigrationRequestAssociationsInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
58
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'location_id': value['locationId'],
|
|
64
|
+
'store_id': value['storeId'],
|
|
65
|
+
'type': value['type'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -75,12 +75,6 @@ export interface SitePaymentConfigResource {
|
|
|
75
75
|
* @memberof SitePaymentConfigResource
|
|
76
76
|
*/
|
|
77
77
|
acCouponExpiryDays: number;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {number}
|
|
81
|
-
* @memberof SitePaymentConfigResource
|
|
82
|
-
*/
|
|
83
|
-
cartExpiryDays: number;
|
|
84
78
|
/**
|
|
85
79
|
*
|
|
86
80
|
* @type {boolean}
|
|
@@ -42,8 +42,6 @@ function instanceOfSitePaymentConfigResource(value) {
|
|
|
42
42
|
return false;
|
|
43
43
|
if (!('acCouponExpiryDays' in value) || value['acCouponExpiryDays'] === undefined)
|
|
44
44
|
return false;
|
|
45
|
-
if (!('cartExpiryDays' in value) || value['cartExpiryDays'] === undefined)
|
|
46
|
-
return false;
|
|
47
45
|
if (!('acCouponEnabled' in value) || value['acCouponEnabled'] === undefined)
|
|
48
46
|
return false;
|
|
49
47
|
return true;
|
|
@@ -66,7 +64,6 @@ function SitePaymentConfigResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
66
64
|
'acCouponValue': json['acCouponValue'],
|
|
67
65
|
'acCouponDiscountType': json['acCouponDiscountType'],
|
|
68
66
|
'acCouponExpiryDays': json['acCouponExpiryDays'],
|
|
69
|
-
'cartExpiryDays': json['cartExpiryDays'],
|
|
70
67
|
'acCouponEnabled': json['acCouponEnabled'],
|
|
71
68
|
};
|
|
72
69
|
}
|
|
@@ -89,7 +86,6 @@ function SitePaymentConfigResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
89
86
|
'acCouponValue': value['acCouponValue'],
|
|
90
87
|
'acCouponDiscountType': value['acCouponDiscountType'],
|
|
91
88
|
'acCouponExpiryDays': value['acCouponExpiryDays'],
|
|
92
|
-
'cartExpiryDays': value['cartExpiryDays'],
|
|
93
89
|
'acCouponEnabled': value['acCouponEnabled'],
|
|
94
90
|
};
|
|
95
91
|
}
|
|
@@ -36,6 +36,8 @@ function instanceOfStoreFrontendResource(value) {
|
|
|
36
36
|
return false;
|
|
37
37
|
if (!('longitude' in value) || value['longitude'] === undefined)
|
|
38
38
|
return false;
|
|
39
|
+
if (!('tagLine' in value) || value['tagLine'] === undefined)
|
|
40
|
+
return false;
|
|
39
41
|
if (!('specialDates' in value) || value['specialDates'] === undefined)
|
|
40
42
|
return false;
|
|
41
43
|
if (!('suppliers' in value) || value['suppliers'] === undefined)
|
|
@@ -59,7 +61,7 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
61
|
'address': json['address'] == null ? undefined : json['address'],
|
|
60
62
|
'latitude': json['latitude'],
|
|
61
63
|
'longitude': json['longitude'],
|
|
62
|
-
'tagLine': json['tagLine']
|
|
64
|
+
'tagLine': json['tagLine'],
|
|
63
65
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
64
66
|
'specialDates': json['specialDates'],
|
|
65
67
|
'suppliers': json['suppliers'],
|
|
@@ -70,6 +70,18 @@ export interface StoreListResource {
|
|
|
70
70
|
* @memberof StoreListResource
|
|
71
71
|
*/
|
|
72
72
|
website?: string | null;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {number}
|
|
76
|
+
* @memberof StoreListResource
|
|
77
|
+
*/
|
|
78
|
+
netsuiteId: number;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {number}
|
|
82
|
+
* @memberof StoreListResource
|
|
83
|
+
*/
|
|
84
|
+
displayNetsuiteId: number;
|
|
73
85
|
/**
|
|
74
86
|
*
|
|
75
87
|
* @type {string}
|
|
@@ -37,6 +37,10 @@ function instanceOfStoreListResource(value) {
|
|
|
37
37
|
return false;
|
|
38
38
|
if (!('email' in value) || value['email'] === undefined)
|
|
39
39
|
return false;
|
|
40
|
+
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined)
|
|
43
|
+
return false;
|
|
40
44
|
return true;
|
|
41
45
|
}
|
|
42
46
|
function StoreListResourceFromJSON(json) {
|
|
@@ -53,10 +57,12 @@ function StoreListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
57
|
'phone': json['phone'],
|
|
54
58
|
'longitude': json['longitude'],
|
|
55
59
|
'latitude': json['latitude'],
|
|
56
|
-
'tagLine': json['
|
|
60
|
+
'tagLine': json['tagLine'],
|
|
57
61
|
'email': json['email'],
|
|
58
62
|
'website': json['website'] == null ? undefined : json['website'],
|
|
59
|
-
'
|
|
63
|
+
'netsuiteId': json['netsuiteId'],
|
|
64
|
+
'displayNetsuiteId': json['displayNetsuiteId'],
|
|
65
|
+
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
60
66
|
};
|
|
61
67
|
}
|
|
62
68
|
function StoreListResourceToJSON(json) {
|
|
@@ -74,9 +80,11 @@ function StoreListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
74
80
|
'phone': value['phone'],
|
|
75
81
|
'longitude': value['longitude'],
|
|
76
82
|
'latitude': value['latitude'],
|
|
77
|
-
'
|
|
83
|
+
'tagLine': value['tagLine'],
|
|
78
84
|
'email': value['email'],
|
|
79
85
|
'website': value['website'],
|
|
80
|
-
'
|
|
86
|
+
'netsuiteId': value['netsuiteId'],
|
|
87
|
+
'displayNetsuiteId': value['displayNetsuiteId'],
|
|
88
|
+
'openingHours': value['openingHours'],
|
|
81
89
|
};
|
|
82
90
|
}
|
|
@@ -73,6 +73,18 @@ export interface StoreResource {
|
|
|
73
73
|
* @memberof StoreResource
|
|
74
74
|
*/
|
|
75
75
|
website: string;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {number}
|
|
79
|
+
* @memberof StoreResource
|
|
80
|
+
*/
|
|
81
|
+
netsuiteId: number;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {number}
|
|
85
|
+
* @memberof StoreResource
|
|
86
|
+
*/
|
|
87
|
+
displayNetsuiteId: number;
|
|
76
88
|
/**
|
|
77
89
|
*
|
|
78
90
|
* @type {string}
|
|
@@ -42,6 +42,10 @@ function instanceOfStoreResource(value) {
|
|
|
42
42
|
return false;
|
|
43
43
|
if (!('website' in value) || value['website'] === undefined)
|
|
44
44
|
return false;
|
|
45
|
+
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined)
|
|
48
|
+
return false;
|
|
45
49
|
if (!('suppliers' in value) || value['suppliers'] === undefined)
|
|
46
50
|
return false;
|
|
47
51
|
if (!('address' in value) || value['address'] === undefined)
|
|
@@ -64,13 +68,15 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
64
68
|
'phone': json['phone'],
|
|
65
69
|
'longitude': json['longitude'],
|
|
66
70
|
'latitude': json['latitude'],
|
|
67
|
-
'tagLine': json['
|
|
71
|
+
'tagLine': json['tagLine'],
|
|
68
72
|
'email': json['email'],
|
|
69
73
|
'website': json['website'],
|
|
70
|
-
'
|
|
74
|
+
'netsuiteId': json['netsuiteId'],
|
|
75
|
+
'displayNetsuiteId': json['displayNetsuiteId'],
|
|
76
|
+
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
71
77
|
'suppliers': (json['suppliers'] == null ? null : json['suppliers'].map(SupplierLiteResource_1.SupplierLiteResourceFromJSON)),
|
|
72
78
|
'address': (0, AddressResource_1.AddressResourceFromJSON)(json['address']),
|
|
73
|
-
'specialDates': (json['
|
|
79
|
+
'specialDates': (json['specialDates'] == null ? null : json['specialDates'].map(StoreSpecialDateResource_1.StoreSpecialDateResourceFromJSON)),
|
|
74
80
|
};
|
|
75
81
|
}
|
|
76
82
|
function StoreResourceToJSON(json) {
|
|
@@ -88,12 +94,14 @@ function StoreResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
88
94
|
'phone': value['phone'],
|
|
89
95
|
'longitude': value['longitude'],
|
|
90
96
|
'latitude': value['latitude'],
|
|
91
|
-
'
|
|
97
|
+
'tagLine': value['tagLine'],
|
|
92
98
|
'email': value['email'],
|
|
93
99
|
'website': value['website'],
|
|
94
|
-
'
|
|
100
|
+
'netsuiteId': value['netsuiteId'],
|
|
101
|
+
'displayNetsuiteId': value['displayNetsuiteId'],
|
|
102
|
+
'openingHours': value['openingHours'],
|
|
95
103
|
'suppliers': (value['suppliers'] == null ? null : value['suppliers'].map(SupplierLiteResource_1.SupplierLiteResourceToJSON)),
|
|
96
104
|
'address': (0, AddressResource_1.AddressResourceToJSON)(value['address']),
|
|
97
|
-
'
|
|
105
|
+
'specialDates': (value['specialDates'] == null ? null : value['specialDates'].map(StoreSpecialDateResource_1.StoreSpecialDateResourceToJSON)),
|
|
98
106
|
};
|
|
99
107
|
}
|
|
@@ -26,6 +26,8 @@ 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;
|
|
29
31
|
if (!('closed' in value) || value['closed'] === undefined)
|
|
30
32
|
return false;
|
|
31
33
|
if (!('displayStartDate' in value) || value['displayStartDate'] === undefined)
|
|
@@ -45,10 +47,10 @@ function StoreSpecialDateResourceFromJSONTyped(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
|
-
'displayStartDate': json['
|
|
51
|
-
'displayEndDate': json['
|
|
52
|
+
'displayStartDate': json['displayStartDate'],
|
|
53
|
+
'displayEndDate': json['displayEndDate'],
|
|
52
54
|
};
|
|
53
55
|
}
|
|
54
56
|
function StoreSpecialDateResourceToJSON(json) {
|
|
@@ -65,7 +67,7 @@ function StoreSpecialDateResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
65
67
|
'hours': value['hours'],
|
|
66
68
|
'date': value['date'],
|
|
67
69
|
'closed': value['closed'],
|
|
68
|
-
'
|
|
69
|
-
'
|
|
70
|
+
'displayStartDate': value['displayStartDate'],
|
|
71
|
+
'displayEndDate': value['displayEndDate'],
|
|
70
72
|
};
|
|
71
73
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const StoreStockType: {
|
|
17
|
+
readonly Display: "display";
|
|
18
|
+
readonly Available: "available";
|
|
19
|
+
};
|
|
20
|
+
export type StoreStockType = typeof StoreStockType[keyof typeof StoreStockType];
|
|
21
|
+
export declare function instanceOfStoreStockType(value: any): boolean;
|
|
22
|
+
export declare function StoreStockTypeFromJSON(json: any): StoreStockType;
|
|
23
|
+
export declare function StoreStockTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreStockType;
|
|
24
|
+
export declare function StoreStockTypeToJSON(value?: StoreStockType | null): any;
|
|
25
|
+
export declare function StoreStockTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): StoreStockType;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.StoreStockType = void 0;
|
|
17
|
+
exports.instanceOfStoreStockType = instanceOfStoreStockType;
|
|
18
|
+
exports.StoreStockTypeFromJSON = StoreStockTypeFromJSON;
|
|
19
|
+
exports.StoreStockTypeFromJSONTyped = StoreStockTypeFromJSONTyped;
|
|
20
|
+
exports.StoreStockTypeToJSON = StoreStockTypeToJSON;
|
|
21
|
+
exports.StoreStockTypeToJSONTyped = StoreStockTypeToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.StoreStockType = {
|
|
27
|
+
Display: 'display',
|
|
28
|
+
Available: 'available'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfStoreStockType(value) {
|
|
31
|
+
for (var key in exports.StoreStockType) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.StoreStockType, key)) {
|
|
33
|
+
if (exports.StoreStockType[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function StoreStockTypeFromJSON(json) {
|
|
41
|
+
return StoreStockTypeFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function StoreStockTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function StoreStockTypeToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function StoreStockTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
@@ -71,6 +71,18 @@ export interface StoreStoreRequest {
|
|
|
71
71
|
* @memberof StoreStoreRequest
|
|
72
72
|
*/
|
|
73
73
|
openingHours?: Array<string | null>;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {number}
|
|
77
|
+
* @memberof StoreStoreRequest
|
|
78
|
+
*/
|
|
79
|
+
netsuiteId?: number | null;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {number}
|
|
83
|
+
* @memberof StoreStoreRequest
|
|
84
|
+
*/
|
|
85
|
+
displayNetsuiteId?: number | null;
|
|
74
86
|
/**
|
|
75
87
|
*
|
|
76
88
|
* @type {Array<number>}
|
|
@@ -55,6 +55,8 @@ function StoreStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
55
|
'email': json['email'] == null ? undefined : json['email'],
|
|
56
56
|
'website': json['website'] == null ? undefined : json['website'],
|
|
57
57
|
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
58
|
+
'netsuiteId': json['netsuite_id'] == null ? undefined : json['netsuite_id'],
|
|
59
|
+
'displayNetsuiteId': json['display_netsuite_id'] == null ? undefined : json['display_netsuite_id'],
|
|
58
60
|
'supplierIds': json['supplier_ids'] == null ? undefined : json['supplier_ids'],
|
|
59
61
|
'specialDates': json['special_dates'] == null ? undefined : (json['special_dates'].map(StoreStoreRequestSpecialDatesInner_1.StoreStoreRequestSpecialDatesInnerFromJSON)),
|
|
60
62
|
'address': (0, StoreStoreRequestAddress_1.StoreStoreRequestAddressFromJSON)(json['address']),
|
|
@@ -78,6 +80,8 @@ function StoreStoreRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
78
80
|
'email': value['email'],
|
|
79
81
|
'website': value['website'],
|
|
80
82
|
'opening_hours': value['openingHours'],
|
|
83
|
+
'netsuite_id': value['netsuiteId'],
|
|
84
|
+
'display_netsuite_id': value['displayNetsuiteId'],
|
|
81
85
|
'supplier_ids': value['supplierIds'],
|
|
82
86
|
'special_dates': value['specialDates'] == null ? undefined : (value['specialDates'].map(StoreStoreRequestSpecialDatesInner_1.StoreStoreRequestSpecialDatesInnerToJSON)),
|
|
83
87
|
'address': (0, StoreStoreRequestAddress_1.StoreStoreRequestAddressToJSON)(value['address']),
|
|
@@ -141,12 +141,6 @@ export interface UpdateSiteRequest {
|
|
|
141
141
|
* @memberof UpdateSiteRequest
|
|
142
142
|
*/
|
|
143
143
|
acCouponExpiryDays: number;
|
|
144
|
-
/**
|
|
145
|
-
*
|
|
146
|
-
* @type {number}
|
|
147
|
-
* @memberof UpdateSiteRequest
|
|
148
|
-
*/
|
|
149
|
-
cartExpiryDays: number;
|
|
150
144
|
/**
|
|
151
145
|
*
|
|
152
146
|
* @type {boolean}
|