@digital8/lighting-illusions-ts-sdk 0.0.1397 → 0.0.1399
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 -56
- package/README.md +2 -41
- package/dist/apis/SupplierApi.d.ts +1 -33
- package/dist/apis/SupplierApi.js +0 -122
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -1
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/ProductSearchResultResource.d.ts +1 -1
- package/dist/models/ProductSearchResultResource.js +3 -3
- package/dist/models/StoreAssetForAssetableRequest.d.ts +1 -0
- package/dist/models/StoreAssetForAssetableRequest.js +2 -1
- package/dist/models/index.d.ts +0 -27
- package/dist/models/index.js +0 -27
- package/docs/ProductSearchResultResource.md +2 -2
- package/docs/SupplierApi.md +0 -138
- package/package.json +1 -1
- package/src/apis/SupplierApi.ts +0 -112
- package/src/apis/index.ts +0 -1
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/ProductSearchResultResource.ts +4 -4
- package/src/models/StoreAssetForAssetableRequest.ts +2 -1
- package/src/models/index.ts +0 -27
- package/dist/apis/StoreApi.d.ts +0 -173
- package/dist/apis/StoreApi.js +0 -679
- package/dist/models/AddressFrontendResource.d.ts +0 -74
- package/dist/models/AddressFrontendResource.js +0 -79
- package/dist/models/AddressFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/AddressFrontendResourceArrayResponse.js +0 -50
- package/dist/models/AddressResource.d.ts +0 -80
- package/dist/models/AddressResource.js +0 -79
- package/dist/models/AddressResourceArrayResponse.d.ts +0 -33
- package/dist/models/AddressResourceArrayResponse.js +0 -50
- package/dist/models/AttachStoresSupplierRequest.d.ts +0 -32
- package/dist/models/AttachStoresSupplierRequest.js +0 -51
- package/dist/models/AttachSuppliersStoreRequest.d.ts +0 -32
- package/dist/models/AttachSuppliersStoreRequest.js +0 -51
- package/dist/models/DetachStoresSupplierRequest.d.ts +0 -32
- package/dist/models/DetachStoresSupplierRequest.js +0 -51
- package/dist/models/DetachSuppliersStoreRequest.d.ts +0 -32
- package/dist/models/DetachSuppliersStoreRequest.js +0 -51
- package/dist/models/GetAllStoreRequest.d.ts +0 -93
- package/dist/models/GetAllStoreRequest.js +0 -81
- package/dist/models/IndexStoreRequest.d.ts +0 -105
- package/dist/models/IndexStoreRequest.js +0 -85
- package/dist/models/PaginatedStoreListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedStoreListResourceResponse.js +0 -57
- package/dist/models/StoreFrontendResource.d.ts +0 -98
- package/dist/models/StoreFrontendResource.js +0 -89
- package/dist/models/StoreFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreFrontendResourceArrayResponse.js +0 -50
- package/dist/models/StoreListResource.d.ts +0 -81
- package/dist/models/StoreListResource.js +0 -78
- package/dist/models/StoreListResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreListResourceArrayResponse.js +0 -50
- package/dist/models/StoreLiteResource.d.ts +0 -45
- package/dist/models/StoreLiteResource.js +0 -58
- package/dist/models/StoreLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreLiteResourceArrayResponse.js +0 -50
- package/dist/models/StoreResource.d.ts +0 -100
- package/dist/models/StoreResource.js +0 -93
- package/dist/models/StoreResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreResourceArrayResponse.js +0 -50
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +0 -68
- package/dist/models/StoreSpecialDateFrontendResource.js +0 -73
- package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.js +0 -50
- package/dist/models/StoreSpecialDateResource.d.ts +0 -68
- package/dist/models/StoreSpecialDateResource.js +0 -73
- package/dist/models/StoreSpecialDateResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreSpecialDateResourceArrayResponse.js +0 -50
- package/dist/models/StoreStoreRequest.d.ts +0 -177
- package/dist/models/StoreStoreRequest.js +0 -124
- package/dist/models/StoreStoreRequestSpecialDatesInner.d.ts +0 -62
- package/dist/models/StoreStoreRequestSpecialDatesInner.js +0 -61
- package/dist/models/StoreStoreSpecialDateRequest.d.ts +0 -62
- package/dist/models/StoreStoreSpecialDateRequest.js +0 -61
- package/dist/models/UpdateStoreRequest.d.ts +0 -164
- package/dist/models/UpdateStoreRequest.js +0 -119
- package/docs/AddressFrontendResource.md +0 -48
- package/docs/AddressFrontendResourceArrayResponse.md +0 -34
- package/docs/AddressResource.md +0 -50
- package/docs/AddressResourceArrayResponse.md +0 -34
- package/docs/AttachStoresSupplierRequest.md +0 -34
- package/docs/AttachSuppliersStoreRequest.md +0 -34
- package/docs/DetachStoresSupplierRequest.md +0 -34
- package/docs/DetachSuppliersStoreRequest.md +0 -34
- package/docs/GetAllStoreRequest.md +0 -48
- package/docs/IndexStoreRequest.md +0 -52
- package/docs/PaginatedStoreListResourceResponse.md +0 -36
- package/docs/StoreApi.md +0 -683
- package/docs/StoreFrontendResource.md +0 -56
- package/docs/StoreFrontendResourceArrayResponse.md +0 -34
- package/docs/StoreListResource.md +0 -50
- package/docs/StoreListResourceArrayResponse.md +0 -34
- package/docs/StoreLiteResource.md +0 -38
- package/docs/StoreLiteResourceArrayResponse.md +0 -34
- package/docs/StoreResource.md +0 -56
- package/docs/StoreResourceArrayResponse.md +0 -34
- package/docs/StoreSpecialDateFrontendResource.md +0 -46
- package/docs/StoreSpecialDateFrontendResourceArrayResponse.md +0 -34
- package/docs/StoreSpecialDateResource.md +0 -46
- package/docs/StoreSpecialDateResourceArrayResponse.md +0 -34
- package/docs/StoreStoreRequest.md +0 -82
- package/docs/StoreStoreRequestSpecialDatesInner.md +0 -44
- package/docs/StoreStoreSpecialDateRequest.md +0 -44
- package/docs/UpdateStoreRequest.md +0 -78
- package/src/apis/StoreApi.ts +0 -563
- package/src/models/AddressFrontendResource.ts +0 -129
- package/src/models/AddressFrontendResourceArrayResponse.ts +0 -73
- package/src/models/AddressResource.ts +0 -136
- package/src/models/AddressResourceArrayResponse.ts +0 -73
- package/src/models/AttachStoresSupplierRequest.ts +0 -66
- package/src/models/AttachSuppliersStoreRequest.ts +0 -66
- package/src/models/DetachStoresSupplierRequest.ts +0 -66
- package/src/models/DetachSuppliersStoreRequest.ts +0 -66
- package/src/models/GetAllStoreRequest.ts +0 -144
- package/src/models/IndexStoreRequest.ts +0 -160
- package/src/models/PaginatedStoreListResourceResponse.ts +0 -90
- package/src/models/StoreFrontendResource.ts +0 -162
- package/src/models/StoreFrontendResourceArrayResponse.ts +0 -73
- package/src/models/StoreListResource.ts +0 -143
- package/src/models/StoreListResourceArrayResponse.ts +0 -73
- package/src/models/StoreLiteResource.ts +0 -91
- package/src/models/StoreLiteResourceArrayResponse.ts +0 -73
- package/src/models/StoreResource.ts +0 -178
- package/src/models/StoreResourceArrayResponse.ts +0 -73
- package/src/models/StoreSpecialDateFrontendResource.ts +0 -119
- package/src/models/StoreSpecialDateFrontendResourceArrayResponse.ts +0 -73
- package/src/models/StoreSpecialDateResource.ts +0 -119
- package/src/models/StoreSpecialDateResourceArrayResponse.ts +0 -73
- package/src/models/StoreStoreRequest.ts +0 -278
- package/src/models/StoreStoreRequestSpecialDatesInner.ts +0 -106
- package/src/models/StoreStoreSpecialDateRequest.ts +0 -106
- package/src/models/UpdateStoreRequest.ts +0 -254
|
@@ -1,61 +0,0 @@
|
|
|
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.instanceOfStoreStoreSpecialDateRequest = instanceOfStoreStoreSpecialDateRequest;
|
|
17
|
-
exports.StoreStoreSpecialDateRequestFromJSON = StoreStoreSpecialDateRequestFromJSON;
|
|
18
|
-
exports.StoreStoreSpecialDateRequestFromJSONTyped = StoreStoreSpecialDateRequestFromJSONTyped;
|
|
19
|
-
exports.StoreStoreSpecialDateRequestToJSON = StoreStoreSpecialDateRequestToJSON;
|
|
20
|
-
exports.StoreStoreSpecialDateRequestToJSONTyped = StoreStoreSpecialDateRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the StoreStoreSpecialDateRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfStoreStoreSpecialDateRequest(value) {
|
|
25
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function StoreStoreSpecialDateRequestFromJSON(json) {
|
|
30
|
-
return StoreStoreSpecialDateRequestFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function StoreStoreSpecialDateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'name': json['name'],
|
|
38
|
-
'hours': json['hours'] == null ? undefined : json['hours'],
|
|
39
|
-
'date': json['date'] == null ? undefined : (new Date(json['date'])),
|
|
40
|
-
'closed': json['closed'] == null ? undefined : json['closed'],
|
|
41
|
-
'displayStartDate': json['display_start_date'] == null ? undefined : (new Date(json['display_start_date'])),
|
|
42
|
-
'displayEndDate': json['display_end_date'] == null ? undefined : (new Date(json['display_end_date'])),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function StoreStoreSpecialDateRequestToJSON(json) {
|
|
46
|
-
return StoreStoreSpecialDateRequestToJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
function StoreStoreSpecialDateRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'name': value['name'],
|
|
55
|
-
'hours': value['hours'],
|
|
56
|
-
'date': value['date'] == null ? value['date'] : value['date'].toISOString(),
|
|
57
|
-
'closed': value['closed'],
|
|
58
|
-
'display_start_date': value['displayStartDate'] == null ? value['displayStartDate'] : value['displayStartDate'].toISOString(),
|
|
59
|
-
'display_end_date': value['displayEndDate'] == null ? value['displayEndDate'] : value['displayEndDate'].toISOString(),
|
|
60
|
-
};
|
|
61
|
-
}
|
|
@@ -1,164 +0,0 @@
|
|
|
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 UpdateStoreRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface UpdateStoreRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof UpdateStoreRequest
|
|
22
|
-
*/
|
|
23
|
-
siteId: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof UpdateStoreRequest
|
|
28
|
-
*/
|
|
29
|
-
name: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof UpdateStoreRequest
|
|
34
|
-
*/
|
|
35
|
-
phone: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof UpdateStoreRequest
|
|
40
|
-
*/
|
|
41
|
-
longitude: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof UpdateStoreRequest
|
|
46
|
-
*/
|
|
47
|
-
latitude: number;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof UpdateStoreRequest
|
|
52
|
-
*/
|
|
53
|
-
tagLine?: string;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof UpdateStoreRequest
|
|
58
|
-
*/
|
|
59
|
-
email: string;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {Array<string>}
|
|
63
|
-
* @memberof UpdateStoreRequest
|
|
64
|
-
*/
|
|
65
|
-
openingHours?: Array<string>;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {string}
|
|
69
|
-
* @memberof UpdateStoreRequest
|
|
70
|
-
*/
|
|
71
|
-
openingHours0?: string;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {string}
|
|
75
|
-
* @memberof UpdateStoreRequest
|
|
76
|
-
*/
|
|
77
|
-
openingHours1?: string;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {string}
|
|
81
|
-
* @memberof UpdateStoreRequest
|
|
82
|
-
*/
|
|
83
|
-
openingHours2?: string;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {string}
|
|
87
|
-
* @memberof UpdateStoreRequest
|
|
88
|
-
*/
|
|
89
|
-
openingHours3?: string;
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @type {string}
|
|
93
|
-
* @memberof UpdateStoreRequest
|
|
94
|
-
*/
|
|
95
|
-
openingHours4?: string;
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* @type {string}
|
|
99
|
-
* @memberof UpdateStoreRequest
|
|
100
|
-
*/
|
|
101
|
-
openingHours5?: string;
|
|
102
|
-
/**
|
|
103
|
-
*
|
|
104
|
-
* @type {string}
|
|
105
|
-
* @memberof UpdateStoreRequest
|
|
106
|
-
*/
|
|
107
|
-
openingHours6?: string;
|
|
108
|
-
/**
|
|
109
|
-
*
|
|
110
|
-
* @type {Array<string>}
|
|
111
|
-
* @memberof UpdateStoreRequest
|
|
112
|
-
*/
|
|
113
|
-
address: Array<string>;
|
|
114
|
-
/**
|
|
115
|
-
*
|
|
116
|
-
* @type {string}
|
|
117
|
-
* @memberof UpdateStoreRequest
|
|
118
|
-
*/
|
|
119
|
-
addressCompany: string;
|
|
120
|
-
/**
|
|
121
|
-
*
|
|
122
|
-
* @type {string}
|
|
123
|
-
* @memberof UpdateStoreRequest
|
|
124
|
-
*/
|
|
125
|
-
addressLine1: string;
|
|
126
|
-
/**
|
|
127
|
-
*
|
|
128
|
-
* @type {string}
|
|
129
|
-
* @memberof UpdateStoreRequest
|
|
130
|
-
*/
|
|
131
|
-
addressLine2?: string;
|
|
132
|
-
/**
|
|
133
|
-
*
|
|
134
|
-
* @type {string}
|
|
135
|
-
* @memberof UpdateStoreRequest
|
|
136
|
-
*/
|
|
137
|
-
addressPostcode: string;
|
|
138
|
-
/**
|
|
139
|
-
*
|
|
140
|
-
* @type {string}
|
|
141
|
-
* @memberof UpdateStoreRequest
|
|
142
|
-
*/
|
|
143
|
-
addressSuburb: string;
|
|
144
|
-
/**
|
|
145
|
-
*
|
|
146
|
-
* @type {string}
|
|
147
|
-
* @memberof UpdateStoreRequest
|
|
148
|
-
*/
|
|
149
|
-
addressCountry: string;
|
|
150
|
-
/**
|
|
151
|
-
*
|
|
152
|
-
* @type {string}
|
|
153
|
-
* @memberof UpdateStoreRequest
|
|
154
|
-
*/
|
|
155
|
-
addressState: string;
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* Check if a given object implements the UpdateStoreRequest interface.
|
|
159
|
-
*/
|
|
160
|
-
export declare function instanceOfUpdateStoreRequest(value: object): value is UpdateStoreRequest;
|
|
161
|
-
export declare function UpdateStoreRequestFromJSON(json: any): UpdateStoreRequest;
|
|
162
|
-
export declare function UpdateStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateStoreRequest;
|
|
163
|
-
export declare function UpdateStoreRequestToJSON(json: any): UpdateStoreRequest;
|
|
164
|
-
export declare function UpdateStoreRequestToJSONTyped(value?: UpdateStoreRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,119 +0,0 @@
|
|
|
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.instanceOfUpdateStoreRequest = instanceOfUpdateStoreRequest;
|
|
17
|
-
exports.UpdateStoreRequestFromJSON = UpdateStoreRequestFromJSON;
|
|
18
|
-
exports.UpdateStoreRequestFromJSONTyped = UpdateStoreRequestFromJSONTyped;
|
|
19
|
-
exports.UpdateStoreRequestToJSON = UpdateStoreRequestToJSON;
|
|
20
|
-
exports.UpdateStoreRequestToJSONTyped = UpdateStoreRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the UpdateStoreRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfUpdateStoreRequest(value) {
|
|
25
|
-
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('phone' in value) || value['phone'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('longitude' in value) || value['longitude'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('latitude' in value) || value['latitude'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('email' in value) || value['email'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
if (!('address' in value) || value['address'] === undefined)
|
|
38
|
-
return false;
|
|
39
|
-
if (!('addressCompany' in value) || value['addressCompany'] === undefined)
|
|
40
|
-
return false;
|
|
41
|
-
if (!('addressLine1' in value) || value['addressLine1'] === undefined)
|
|
42
|
-
return false;
|
|
43
|
-
if (!('addressPostcode' in value) || value['addressPostcode'] === undefined)
|
|
44
|
-
return false;
|
|
45
|
-
if (!('addressSuburb' in value) || value['addressSuburb'] === undefined)
|
|
46
|
-
return false;
|
|
47
|
-
if (!('addressCountry' in value) || value['addressCountry'] === undefined)
|
|
48
|
-
return false;
|
|
49
|
-
if (!('addressState' in value) || value['addressState'] === undefined)
|
|
50
|
-
return false;
|
|
51
|
-
return true;
|
|
52
|
-
}
|
|
53
|
-
function UpdateStoreRequestFromJSON(json) {
|
|
54
|
-
return UpdateStoreRequestFromJSONTyped(json, false);
|
|
55
|
-
}
|
|
56
|
-
function UpdateStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
57
|
-
if (json == null) {
|
|
58
|
-
return json;
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
'siteId': json['site_id'],
|
|
62
|
-
'name': json['name'],
|
|
63
|
-
'phone': json['phone'],
|
|
64
|
-
'longitude': json['longitude'],
|
|
65
|
-
'latitude': json['latitude'],
|
|
66
|
-
'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
|
|
67
|
-
'email': json['email'],
|
|
68
|
-
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
69
|
-
'openingHours0': json['opening_hours.0'] == null ? undefined : json['opening_hours.0'],
|
|
70
|
-
'openingHours1': json['opening_hours.1'] == null ? undefined : json['opening_hours.1'],
|
|
71
|
-
'openingHours2': json['opening_hours.2'] == null ? undefined : json['opening_hours.2'],
|
|
72
|
-
'openingHours3': json['opening_hours.3'] == null ? undefined : json['opening_hours.3'],
|
|
73
|
-
'openingHours4': json['opening_hours.4'] == null ? undefined : json['opening_hours.4'],
|
|
74
|
-
'openingHours5': json['opening_hours.5'] == null ? undefined : json['opening_hours.5'],
|
|
75
|
-
'openingHours6': json['opening_hours.6'] == null ? undefined : json['opening_hours.6'],
|
|
76
|
-
'address': json['address'],
|
|
77
|
-
'addressCompany': json['address.company'],
|
|
78
|
-
'addressLine1': json['address.line_1'],
|
|
79
|
-
'addressLine2': json['address.line_2'] == null ? undefined : json['address.line_2'],
|
|
80
|
-
'addressPostcode': json['address.postcode'],
|
|
81
|
-
'addressSuburb': json['address.suburb'],
|
|
82
|
-
'addressCountry': json['address.country'],
|
|
83
|
-
'addressState': json['address.state'],
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
function UpdateStoreRequestToJSON(json) {
|
|
87
|
-
return UpdateStoreRequestToJSONTyped(json, false);
|
|
88
|
-
}
|
|
89
|
-
function UpdateStoreRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
90
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
91
|
-
if (value == null) {
|
|
92
|
-
return value;
|
|
93
|
-
}
|
|
94
|
-
return {
|
|
95
|
-
'site_id': value['siteId'],
|
|
96
|
-
'name': value['name'],
|
|
97
|
-
'phone': value['phone'],
|
|
98
|
-
'longitude': value['longitude'],
|
|
99
|
-
'latitude': value['latitude'],
|
|
100
|
-
'tag_line': value['tagLine'],
|
|
101
|
-
'email': value['email'],
|
|
102
|
-
'opening_hours': value['openingHours'],
|
|
103
|
-
'opening_hours.0': value['openingHours0'],
|
|
104
|
-
'opening_hours.1': value['openingHours1'],
|
|
105
|
-
'opening_hours.2': value['openingHours2'],
|
|
106
|
-
'opening_hours.3': value['openingHours3'],
|
|
107
|
-
'opening_hours.4': value['openingHours4'],
|
|
108
|
-
'opening_hours.5': value['openingHours5'],
|
|
109
|
-
'opening_hours.6': value['openingHours6'],
|
|
110
|
-
'address': value['address'],
|
|
111
|
-
'address.company': value['addressCompany'],
|
|
112
|
-
'address.line_1': value['addressLine1'],
|
|
113
|
-
'address.line_2': value['addressLine2'],
|
|
114
|
-
'address.postcode': value['addressPostcode'],
|
|
115
|
-
'address.suburb': value['addressSuburb'],
|
|
116
|
-
'address.country': value['addressCountry'],
|
|
117
|
-
'address.state': value['addressState'],
|
|
118
|
-
};
|
|
119
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# AddressFrontendResource
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`company` | string
|
|
10
|
-
`line1` | string
|
|
11
|
-
`line2` | string
|
|
12
|
-
`postcode` | string
|
|
13
|
-
`suburb` | string
|
|
14
|
-
`country` | string
|
|
15
|
-
`state` | string
|
|
16
|
-
`fullAddress` | string
|
|
17
|
-
|
|
18
|
-
## Example
|
|
19
|
-
|
|
20
|
-
```typescript
|
|
21
|
-
import type { AddressFrontendResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
22
|
-
|
|
23
|
-
// TODO: Update the object below with actual values
|
|
24
|
-
const example = {
|
|
25
|
-
"company": null,
|
|
26
|
-
"line1": null,
|
|
27
|
-
"line2": null,
|
|
28
|
-
"postcode": null,
|
|
29
|
-
"suburb": null,
|
|
30
|
-
"country": null,
|
|
31
|
-
"state": null,
|
|
32
|
-
"fullAddress": null,
|
|
33
|
-
} satisfies AddressFrontendResource
|
|
34
|
-
|
|
35
|
-
console.log(example)
|
|
36
|
-
|
|
37
|
-
// Convert the instance to a JSON string
|
|
38
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
39
|
-
console.log(exampleJSON)
|
|
40
|
-
|
|
41
|
-
// Parse the JSON string back to an object
|
|
42
|
-
const exampleParsed = JSON.parse(exampleJSON) as AddressFrontendResource
|
|
43
|
-
console.log(exampleParsed)
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
47
|
-
|
|
48
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# AddressFrontendResourceArrayResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<AddressFrontendResource>](AddressFrontendResource.md)
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { AddressFrontendResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"data": null,
|
|
19
|
-
} satisfies AddressFrontendResourceArrayResponse
|
|
20
|
-
|
|
21
|
-
console.log(example)
|
|
22
|
-
|
|
23
|
-
// Convert the instance to a JSON string
|
|
24
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
-
console.log(exampleJSON)
|
|
26
|
-
|
|
27
|
-
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as AddressFrontendResourceArrayResponse
|
|
29
|
-
console.log(exampleParsed)
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
-
|
|
34
|
-
|
package/docs/AddressResource.md
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# AddressResource
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`id` | number
|
|
10
|
-
`company` | string
|
|
11
|
-
`line1` | string
|
|
12
|
-
`line2` | string
|
|
13
|
-
`postcode` | string
|
|
14
|
-
`suburb` | string
|
|
15
|
-
`country` | string
|
|
16
|
-
`state` | string
|
|
17
|
-
`fullAddress` | string
|
|
18
|
-
|
|
19
|
-
## Example
|
|
20
|
-
|
|
21
|
-
```typescript
|
|
22
|
-
import type { AddressResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
23
|
-
|
|
24
|
-
// TODO: Update the object below with actual values
|
|
25
|
-
const example = {
|
|
26
|
-
"id": null,
|
|
27
|
-
"company": null,
|
|
28
|
-
"line1": null,
|
|
29
|
-
"line2": null,
|
|
30
|
-
"postcode": null,
|
|
31
|
-
"suburb": null,
|
|
32
|
-
"country": null,
|
|
33
|
-
"state": null,
|
|
34
|
-
"fullAddress": null,
|
|
35
|
-
} satisfies AddressResource
|
|
36
|
-
|
|
37
|
-
console.log(example)
|
|
38
|
-
|
|
39
|
-
// Convert the instance to a JSON string
|
|
40
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
41
|
-
console.log(exampleJSON)
|
|
42
|
-
|
|
43
|
-
// Parse the JSON string back to an object
|
|
44
|
-
const exampleParsed = JSON.parse(exampleJSON) as AddressResource
|
|
45
|
-
console.log(exampleParsed)
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
49
|
-
|
|
50
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# AddressResourceArrayResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<AddressResource>](AddressResource.md)
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { AddressResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"data": null,
|
|
19
|
-
} satisfies AddressResourceArrayResponse
|
|
20
|
-
|
|
21
|
-
console.log(example)
|
|
22
|
-
|
|
23
|
-
// Convert the instance to a JSON string
|
|
24
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
-
console.log(exampleJSON)
|
|
26
|
-
|
|
27
|
-
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as AddressResourceArrayResponse
|
|
29
|
-
console.log(exampleParsed)
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
-
|
|
34
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# AttachStoresSupplierRequest
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`storeIds` | Array<number>
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { AttachStoresSupplierRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"storeIds": null,
|
|
19
|
-
} satisfies AttachStoresSupplierRequest
|
|
20
|
-
|
|
21
|
-
console.log(example)
|
|
22
|
-
|
|
23
|
-
// Convert the instance to a JSON string
|
|
24
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
-
console.log(exampleJSON)
|
|
26
|
-
|
|
27
|
-
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as AttachStoresSupplierRequest
|
|
29
|
-
console.log(exampleParsed)
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
-
|
|
34
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# AttachSuppliersStoreRequest
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`supplierIds` | Array<number>
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { AttachSuppliersStoreRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"supplierIds": null,
|
|
19
|
-
} satisfies AttachSuppliersStoreRequest
|
|
20
|
-
|
|
21
|
-
console.log(example)
|
|
22
|
-
|
|
23
|
-
// Convert the instance to a JSON string
|
|
24
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
-
console.log(exampleJSON)
|
|
26
|
-
|
|
27
|
-
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as AttachSuppliersStoreRequest
|
|
29
|
-
console.log(exampleParsed)
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
-
|
|
34
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# DetachStoresSupplierRequest
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`storeIds` | Array<number>
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { DetachStoresSupplierRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"storeIds": null,
|
|
19
|
-
} satisfies DetachStoresSupplierRequest
|
|
20
|
-
|
|
21
|
-
console.log(example)
|
|
22
|
-
|
|
23
|
-
// Convert the instance to a JSON string
|
|
24
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
-
console.log(exampleJSON)
|
|
26
|
-
|
|
27
|
-
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as DetachStoresSupplierRequest
|
|
29
|
-
console.log(exampleParsed)
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
-
|
|
34
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# DetachSuppliersStoreRequest
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`supplierIds` | Array<number>
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { DetachSuppliersStoreRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"supplierIds": null,
|
|
19
|
-
} satisfies DetachSuppliersStoreRequest
|
|
20
|
-
|
|
21
|
-
console.log(example)
|
|
22
|
-
|
|
23
|
-
// Convert the instance to a JSON string
|
|
24
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
-
console.log(exampleJSON)
|
|
26
|
-
|
|
27
|
-
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as DetachSuppliersStoreRequest
|
|
29
|
-
console.log(exampleParsed)
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
-
|
|
34
|
-
|