@digital8/lighting-illusions-ts-sdk 0.0.1101 → 0.0.1102
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 +38 -4
- package/README.md +31 -4
- package/dist/apis/StoreApi.d.ts +158 -0
- package/dist/apis/StoreApi.js +621 -0
- package/dist/apis/SupplierApi.d.ts +33 -1
- package/dist/apis/SupplierApi.js +122 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AddressResource.d.ts +74 -0
- package/dist/models/AddressResource.js +79 -0
- package/dist/models/AddressResourceArrayResponse.d.ts +33 -0
- package/dist/models/AddressResourceArrayResponse.js +50 -0
- package/dist/models/AttachStoresSupplierRequest.d.ts +32 -0
- package/dist/models/AttachStoresSupplierRequest.js +51 -0
- package/dist/models/AttachSuppliersStoreRequest.d.ts +32 -0
- package/dist/models/AttachSuppliersStoreRequest.js +51 -0
- package/dist/models/DetachStoresSupplierRequest.d.ts +32 -0
- package/dist/models/DetachStoresSupplierRequest.js +51 -0
- package/dist/models/DetachSuppliersStoreRequest.d.ts +32 -0
- package/dist/models/DetachSuppliersStoreRequest.js +51 -0
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/GetAllStoreRequest.d.ts +87 -0
- package/dist/models/GetAllStoreRequest.js +79 -0
- package/dist/models/ProductChildOverlayRelationResource.d.ts +0 -6
- package/dist/models/ProductChildOverlayRelationResource.js +0 -4
- package/dist/models/ProductChildResource.d.ts +0 -19
- package/dist/models/ProductChildResource.js +0 -13
- package/dist/models/StoreListResource.d.ts +93 -0
- package/dist/models/StoreListResource.js +84 -0
- package/dist/models/StoreListResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreListResourceArrayResponse.js +50 -0
- package/dist/models/StoreProductCategoryRequest.d.ts +2 -2
- package/dist/models/StoreProductCategoryRequest.js +6 -2
- package/dist/models/StoreProductChildRequest.d.ts +2 -2
- package/dist/models/StoreProductChildRequest.js +6 -2
- package/dist/models/StoreProductChildRequestSitesInner.d.ts +2 -2
- package/dist/models/StoreProductChildRequestSitesInner.js +6 -2
- package/dist/models/StoreResource.d.ts +117 -0
- package/dist/models/StoreResource.js +100 -0
- package/dist/models/StoreResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreResourceArrayResponse.js +50 -0
- package/dist/models/StoreSpecialDateResource.d.ts +56 -0
- package/dist/models/StoreSpecialDateResource.js +65 -0
- package/dist/models/StoreSpecialDateResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreSpecialDateResourceArrayResponse.js +50 -0
- package/dist/models/StoreStoreRequest.d.ts +177 -0
- package/dist/models/StoreStoreRequest.js +124 -0
- package/dist/models/StoreStoreRequestSpecialDatesInner.d.ts +50 -0
- package/dist/models/StoreStoreRequestSpecialDatesInner.js +57 -0
- package/dist/models/StoreStoreSpecialDateRequest.d.ts +50 -0
- package/dist/models/StoreStoreSpecialDateRequest.js +57 -0
- package/dist/models/SupplierResource.d.ts +6 -0
- package/dist/models/SupplierResource.js +4 -0
- package/dist/models/UpdateProductChildRequest.d.ts +2 -2
- package/dist/models/UpdateProductChildRequest.js +6 -2
- package/dist/models/UpdateStoreRequest.d.ts +177 -0
- package/dist/models/UpdateStoreRequest.js +124 -0
- package/dist/models/UpdateStoreRequestSpecialDatesInner.d.ts +56 -0
- package/dist/models/UpdateStoreRequestSpecialDatesInner.js +57 -0
- package/dist/models/index.d.ts +18 -2
- package/dist/models/index.js +18 -2
- package/docs/AddressResource.md +48 -0
- package/docs/{ProductClassResourceArrayResponse.md → AddressResourceArrayResponse.md} +5 -5
- package/docs/{ProductClassResource.md → AttachStoresSupplierRequest.md} +6 -10
- package/docs/AttachSuppliersStoreRequest.md +34 -0
- package/docs/DetachStoresSupplierRequest.md +34 -0
- package/docs/DetachSuppliersStoreRequest.md +34 -0
- package/docs/GetAllStoreRequest.md +46 -0
- package/docs/ProductChildOverlayRelationResource.md +0 -2
- package/docs/ProductChildResource.md +0 -6
- package/docs/StoreApi.md +617 -0
- package/docs/StoreListResource.md +54 -0
- package/docs/StoreListResourceArrayResponse.md +34 -0
- package/docs/StoreResource.md +62 -0
- package/docs/StoreResourceArrayResponse.md +34 -0
- package/docs/StoreSpecialDateResource.md +42 -0
- package/docs/StoreSpecialDateResourceArrayResponse.md +34 -0
- package/docs/StoreStoreRequest.md +82 -0
- package/docs/StoreStoreRequestSpecialDatesInner.md +40 -0
- package/docs/StoreStoreSpecialDateRequest.md +40 -0
- package/docs/SupplierApi.md +138 -0
- package/docs/SupplierResource.md +2 -0
- package/docs/UpdateStoreRequest.md +82 -0
- package/docs/UpdateStoreRequestSpecialDatesInner.md +42 -0
- package/package.json +1 -1
- package/src/apis/StoreApi.ts +513 -0
- package/src/apis/SupplierApi.ts +112 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AddressResource.ts +129 -0
- package/src/models/AddressResourceArrayResponse.ts +73 -0
- package/src/models/AttachStoresSupplierRequest.ts +66 -0
- package/src/models/AttachSuppliersStoreRequest.ts +66 -0
- package/src/models/DetachStoresSupplierRequest.ts +66 -0
- package/src/models/DetachSuppliersStoreRequest.ts +66 -0
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/GetAllStoreRequest.ts +136 -0
- package/src/models/ProductChildOverlayRelationResource.ts +0 -9
- package/src/models/ProductChildResource.ts +0 -34
- package/src/models/StoreListResource.ts +160 -0
- package/src/models/StoreListResourceArrayResponse.ts +73 -0
- package/src/models/StoreProductCategoryRequest.ts +6 -4
- package/src/models/StoreProductChildRequest.ts +6 -4
- package/src/models/StoreProductChildRequestSitesInner.ts +6 -4
- package/src/models/StoreResource.ts +196 -0
- package/src/models/StoreResourceArrayResponse.ts +73 -0
- package/src/models/StoreSpecialDateResource.ts +101 -0
- package/src/models/StoreSpecialDateResourceArrayResponse.ts +73 -0
- package/src/models/StoreStoreRequest.ts +278 -0
- package/src/models/StoreStoreRequestSpecialDatesInner.ts +90 -0
- package/src/models/StoreStoreSpecialDateRequest.ts +90 -0
- package/src/models/SupplierResource.ts +9 -0
- package/src/models/UpdateProductChildRequest.ts +6 -4
- package/src/models/UpdateStoreRequest.ts +278 -0
- package/src/models/UpdateStoreRequestSpecialDatesInner.ts +97 -0
- package/src/models/index.ts +18 -2
- package/dist/models/ProductClassResource.d.ts +0 -44
- package/dist/models/ProductClassResource.js +0 -57
- package/dist/models/ProductClassResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductClassResourceArrayResponse.js +0 -50
- package/src/models/ProductClassResource.ts +0 -83
- package/src/models/ProductClassResourceArrayResponse.ts +0 -73
|
@@ -0,0 +1,177 @@
|
|
|
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 { UpdateStoreRequestSpecialDatesInner } from './UpdateStoreRequestSpecialDatesInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateStoreRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateStoreRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof UpdateStoreRequest
|
|
23
|
+
*/
|
|
24
|
+
siteId: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof UpdateStoreRequest
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof UpdateStoreRequest
|
|
35
|
+
*/
|
|
36
|
+
phone: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof UpdateStoreRequest
|
|
41
|
+
*/
|
|
42
|
+
longitude: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof UpdateStoreRequest
|
|
47
|
+
*/
|
|
48
|
+
latitude: number;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof UpdateStoreRequest
|
|
53
|
+
*/
|
|
54
|
+
tagLine?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof UpdateStoreRequest
|
|
59
|
+
*/
|
|
60
|
+
email: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {Array<string>}
|
|
64
|
+
* @memberof UpdateStoreRequest
|
|
65
|
+
*/
|
|
66
|
+
openingHours?: Array<string>;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof UpdateStoreRequest
|
|
71
|
+
*/
|
|
72
|
+
openingHours0?: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof UpdateStoreRequest
|
|
77
|
+
*/
|
|
78
|
+
openingHours1?: string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof UpdateStoreRequest
|
|
83
|
+
*/
|
|
84
|
+
openingHours2?: string;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof UpdateStoreRequest
|
|
89
|
+
*/
|
|
90
|
+
openingHours3?: string;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof UpdateStoreRequest
|
|
95
|
+
*/
|
|
96
|
+
openingHours4?: string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof UpdateStoreRequest
|
|
101
|
+
*/
|
|
102
|
+
openingHours5?: string;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof UpdateStoreRequest
|
|
107
|
+
*/
|
|
108
|
+
openingHours6?: string;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {Array<number>}
|
|
112
|
+
* @memberof UpdateStoreRequest
|
|
113
|
+
*/
|
|
114
|
+
supplierIds?: Array<number>;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @type {Array<UpdateStoreRequestSpecialDatesInner>}
|
|
118
|
+
* @memberof UpdateStoreRequest
|
|
119
|
+
*/
|
|
120
|
+
specialDates?: Array<UpdateStoreRequestSpecialDatesInner>;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @type {Array<string>}
|
|
124
|
+
* @memberof UpdateStoreRequest
|
|
125
|
+
*/
|
|
126
|
+
address: Array<string>;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof UpdateStoreRequest
|
|
131
|
+
*/
|
|
132
|
+
addressCompany: string;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @type {string}
|
|
136
|
+
* @memberof UpdateStoreRequest
|
|
137
|
+
*/
|
|
138
|
+
addressLine1: string;
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @memberof UpdateStoreRequest
|
|
143
|
+
*/
|
|
144
|
+
addressLine2?: string;
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @memberof UpdateStoreRequest
|
|
149
|
+
*/
|
|
150
|
+
addressPostcode: string;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @type {string}
|
|
154
|
+
* @memberof UpdateStoreRequest
|
|
155
|
+
*/
|
|
156
|
+
addressSuburb: string;
|
|
157
|
+
/**
|
|
158
|
+
*
|
|
159
|
+
* @type {string}
|
|
160
|
+
* @memberof UpdateStoreRequest
|
|
161
|
+
*/
|
|
162
|
+
addressCountry: string;
|
|
163
|
+
/**
|
|
164
|
+
*
|
|
165
|
+
* @type {string}
|
|
166
|
+
* @memberof UpdateStoreRequest
|
|
167
|
+
*/
|
|
168
|
+
addressState: string;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Check if a given object implements the UpdateStoreRequest interface.
|
|
172
|
+
*/
|
|
173
|
+
export declare function instanceOfUpdateStoreRequest(value: object): value is UpdateStoreRequest;
|
|
174
|
+
export declare function UpdateStoreRequestFromJSON(json: any): UpdateStoreRequest;
|
|
175
|
+
export declare function UpdateStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateStoreRequest;
|
|
176
|
+
export declare function UpdateStoreRequestToJSON(json: any): UpdateStoreRequest;
|
|
177
|
+
export declare function UpdateStoreRequestToJSONTyped(value?: UpdateStoreRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,124 @@
|
|
|
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
|
+
var UpdateStoreRequestSpecialDatesInner_1 = require("./UpdateStoreRequestSpecialDatesInner");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the UpdateStoreRequest interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfUpdateStoreRequest(value) {
|
|
26
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('phone' in value) || value['phone'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('longitude' in value) || value['longitude'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('latitude' in value) || value['latitude'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('address' in value) || value['address'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('addressCompany' in value) || value['addressCompany'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('addressLine1' in value) || value['addressLine1'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('addressPostcode' in value) || value['addressPostcode'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('addressSuburb' in value) || value['addressSuburb'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('addressCountry' in value) || value['addressCountry'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('addressState' in value) || value['addressState'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
function UpdateStoreRequestFromJSON(json) {
|
|
55
|
+
return UpdateStoreRequestFromJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function UpdateStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
58
|
+
if (json == null) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'siteId': json['site_id'],
|
|
63
|
+
'name': json['name'],
|
|
64
|
+
'phone': json['phone'],
|
|
65
|
+
'longitude': json['longitude'],
|
|
66
|
+
'latitude': json['latitude'],
|
|
67
|
+
'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
|
|
68
|
+
'email': json['email'],
|
|
69
|
+
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
70
|
+
'openingHours0': json['opening_hours.0'] == null ? undefined : json['opening_hours.0'],
|
|
71
|
+
'openingHours1': json['opening_hours.1'] == null ? undefined : json['opening_hours.1'],
|
|
72
|
+
'openingHours2': json['opening_hours.2'] == null ? undefined : json['opening_hours.2'],
|
|
73
|
+
'openingHours3': json['opening_hours.3'] == null ? undefined : json['opening_hours.3'],
|
|
74
|
+
'openingHours4': json['opening_hours.4'] == null ? undefined : json['opening_hours.4'],
|
|
75
|
+
'openingHours5': json['opening_hours.5'] == null ? undefined : json['opening_hours.5'],
|
|
76
|
+
'openingHours6': json['opening_hours.6'] == null ? undefined : json['opening_hours.6'],
|
|
77
|
+
'supplierIds': json['supplier_ids'] == null ? undefined : json['supplier_ids'],
|
|
78
|
+
'specialDates': json['special_dates'] == null ? undefined : (json['special_dates'].map(UpdateStoreRequestSpecialDatesInner_1.UpdateStoreRequestSpecialDatesInnerFromJSON)),
|
|
79
|
+
'address': json['address'],
|
|
80
|
+
'addressCompany': json['address.company'],
|
|
81
|
+
'addressLine1': json['address.line_1'],
|
|
82
|
+
'addressLine2': json['address.line_2'] == null ? undefined : json['address.line_2'],
|
|
83
|
+
'addressPostcode': json['address.postcode'],
|
|
84
|
+
'addressSuburb': json['address.suburb'],
|
|
85
|
+
'addressCountry': json['address.country'],
|
|
86
|
+
'addressState': json['address.state'],
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
function UpdateStoreRequestToJSON(json) {
|
|
90
|
+
return UpdateStoreRequestToJSONTyped(json, false);
|
|
91
|
+
}
|
|
92
|
+
function UpdateStoreRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
93
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
94
|
+
if (value == null) {
|
|
95
|
+
return value;
|
|
96
|
+
}
|
|
97
|
+
return {
|
|
98
|
+
'site_id': value['siteId'],
|
|
99
|
+
'name': value['name'],
|
|
100
|
+
'phone': value['phone'],
|
|
101
|
+
'longitude': value['longitude'],
|
|
102
|
+
'latitude': value['latitude'],
|
|
103
|
+
'tag_line': value['tagLine'],
|
|
104
|
+
'email': value['email'],
|
|
105
|
+
'opening_hours': value['openingHours'],
|
|
106
|
+
'opening_hours.0': value['openingHours0'],
|
|
107
|
+
'opening_hours.1': value['openingHours1'],
|
|
108
|
+
'opening_hours.2': value['openingHours2'],
|
|
109
|
+
'opening_hours.3': value['openingHours3'],
|
|
110
|
+
'opening_hours.4': value['openingHours4'],
|
|
111
|
+
'opening_hours.5': value['openingHours5'],
|
|
112
|
+
'opening_hours.6': value['openingHours6'],
|
|
113
|
+
'supplier_ids': value['supplierIds'],
|
|
114
|
+
'special_dates': value['specialDates'] == null ? undefined : (value['specialDates'].map(UpdateStoreRequestSpecialDatesInner_1.UpdateStoreRequestSpecialDatesInnerToJSON)),
|
|
115
|
+
'address': value['address'],
|
|
116
|
+
'address.company': value['addressCompany'],
|
|
117
|
+
'address.line_1': value['addressLine1'],
|
|
118
|
+
'address.line_2': value['addressLine2'],
|
|
119
|
+
'address.postcode': value['addressPostcode'],
|
|
120
|
+
'address.suburb': value['addressSuburb'],
|
|
121
|
+
'address.country': value['addressCountry'],
|
|
122
|
+
'address.state': value['addressState'],
|
|
123
|
+
};
|
|
124
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 UpdateStoreRequestSpecialDatesInner
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateStoreRequestSpecialDatesInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof UpdateStoreRequestSpecialDatesInner
|
|
22
|
+
*/
|
|
23
|
+
id?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateStoreRequestSpecialDatesInner
|
|
28
|
+
*/
|
|
29
|
+
name?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateStoreRequestSpecialDatesInner
|
|
34
|
+
*/
|
|
35
|
+
hours?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof UpdateStoreRequestSpecialDatesInner
|
|
40
|
+
*/
|
|
41
|
+
displayStart?: Date;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof UpdateStoreRequestSpecialDatesInner
|
|
46
|
+
*/
|
|
47
|
+
displayEnd?: Date;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the UpdateStoreRequestSpecialDatesInner interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfUpdateStoreRequestSpecialDatesInner(value: object): value is UpdateStoreRequestSpecialDatesInner;
|
|
53
|
+
export declare function UpdateStoreRequestSpecialDatesInnerFromJSON(json: any): UpdateStoreRequestSpecialDatesInner;
|
|
54
|
+
export declare function UpdateStoreRequestSpecialDatesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateStoreRequestSpecialDatesInner;
|
|
55
|
+
export declare function UpdateStoreRequestSpecialDatesInnerToJSON(json: any): UpdateStoreRequestSpecialDatesInner;
|
|
56
|
+
export declare function UpdateStoreRequestSpecialDatesInnerToJSONTyped(value?: UpdateStoreRequestSpecialDatesInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfUpdateStoreRequestSpecialDatesInner = instanceOfUpdateStoreRequestSpecialDatesInner;
|
|
17
|
+
exports.UpdateStoreRequestSpecialDatesInnerFromJSON = UpdateStoreRequestSpecialDatesInnerFromJSON;
|
|
18
|
+
exports.UpdateStoreRequestSpecialDatesInnerFromJSONTyped = UpdateStoreRequestSpecialDatesInnerFromJSONTyped;
|
|
19
|
+
exports.UpdateStoreRequestSpecialDatesInnerToJSON = UpdateStoreRequestSpecialDatesInnerToJSON;
|
|
20
|
+
exports.UpdateStoreRequestSpecialDatesInnerToJSONTyped = UpdateStoreRequestSpecialDatesInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UpdateStoreRequestSpecialDatesInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUpdateStoreRequestSpecialDatesInner(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function UpdateStoreRequestSpecialDatesInnerFromJSON(json) {
|
|
28
|
+
return UpdateStoreRequestSpecialDatesInnerFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function UpdateStoreRequestSpecialDatesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
36
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
37
|
+
'hours': json['hours'] == null ? undefined : json['hours'],
|
|
38
|
+
'displayStart': json['display_start'] == null ? undefined : (new Date(json['display_start'])),
|
|
39
|
+
'displayEnd': json['display_end'] == null ? undefined : (new Date(json['display_end'])),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function UpdateStoreRequestSpecialDatesInnerToJSON(json) {
|
|
43
|
+
return UpdateStoreRequestSpecialDatesInnerToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function UpdateStoreRequestSpecialDatesInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
'hours': value['hours'],
|
|
54
|
+
'display_start': value['displayStart'] == null ? value['displayStart'] : value['displayStart'].toISOString(),
|
|
55
|
+
'display_end': value['displayEnd'] == null ? value['displayEnd'] : value['displayEnd'].toISOString(),
|
|
56
|
+
};
|
|
57
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * from './AddressResource';
|
|
2
|
+
export * from './AddressResourceArrayResponse';
|
|
1
3
|
export * from './AssetFileForUploadResource';
|
|
2
4
|
export * from './AssetFileForUploadResourceArrayResponse';
|
|
3
5
|
export * from './AssetFrontendResource';
|
|
@@ -15,6 +17,8 @@ export * from './AttachDocumentsProductChildRequest';
|
|
|
15
17
|
export * from './AttachDocumentsProductChildRequestDocumentsInner';
|
|
16
18
|
export * from './AttachProductTypeAttributeRequest';
|
|
17
19
|
export * from './AttachProductsProductCategoryRequest';
|
|
20
|
+
export * from './AttachStoresSupplierRequest';
|
|
21
|
+
export * from './AttachSuppliersStoreRequest';
|
|
18
22
|
export * from './AttributeFieldType';
|
|
19
23
|
export * from './AttributeListResource';
|
|
20
24
|
export * from './AttributeListResourceArrayResponse';
|
|
@@ -49,6 +53,8 @@ export * from './DetachDocumentablesDocumentRequest';
|
|
|
49
53
|
export * from './DetachDocumentablesDocumentRequestDocumentablesInner';
|
|
50
54
|
export * from './DetachDocumentsProductChildRequest';
|
|
51
55
|
export * from './DetachProductsProductCategoryRequest';
|
|
56
|
+
export * from './DetachStoresSupplierRequest';
|
|
57
|
+
export * from './DetachSuppliersStoreRequest';
|
|
52
58
|
export * from './DocumentFileForUploadResource';
|
|
53
59
|
export * from './DocumentFileForUploadResourceArrayResponse';
|
|
54
60
|
export * from './DocumentFrontendResource';
|
|
@@ -74,6 +80,7 @@ export * from './GetAllProductCategoryRequest';
|
|
|
74
80
|
export * from './GetAllProductChildRequest';
|
|
75
81
|
export * from './GetAllProductRequest';
|
|
76
82
|
export * from './GetAllProductTypeRequest';
|
|
83
|
+
export * from './GetAllStoreRequest';
|
|
77
84
|
export * from './GetAllSupplierRequest';
|
|
78
85
|
export * from './GetHierarchyProductCategoryRequest';
|
|
79
86
|
export * from './GlobalSearchCategoryResource';
|
|
@@ -185,8 +192,6 @@ export * from './ProductChildSiteDetailLiteResource';
|
|
|
185
192
|
export * from './ProductChildSiteDetailLiteResourceArrayResponse';
|
|
186
193
|
export * from './ProductChildSiteDetailResource';
|
|
187
194
|
export * from './ProductChildSiteDetailResourceArrayResponse';
|
|
188
|
-
export * from './ProductClassResource';
|
|
189
|
-
export * from './ProductClassResourceArrayResponse';
|
|
190
195
|
export * from './ProductCompareResource';
|
|
191
196
|
export * from './ProductCompareResourceArrayResponse';
|
|
192
197
|
export * from './ProductListResource';
|
|
@@ -232,6 +237,8 @@ export * from './StoreAttributeValueRequest';
|
|
|
232
237
|
export * from './StoreDefinitionRequest';
|
|
233
238
|
export * from './StoreDocumentFileRequest';
|
|
234
239
|
export * from './StoreDocumentRequest';
|
|
240
|
+
export * from './StoreListResource';
|
|
241
|
+
export * from './StoreListResourceArrayResponse';
|
|
235
242
|
export * from './StoreOverlayTemplateAssetRequest';
|
|
236
243
|
export * from './StoreOverlayTemplateRequest';
|
|
237
244
|
export * from './StoreProductCategoryRequest';
|
|
@@ -245,7 +252,14 @@ export * from './StoreProductChildRequestSitesInner';
|
|
|
245
252
|
export * from './StoreProductRequest';
|
|
246
253
|
export * from './StoreProductRequestCategoriesInner';
|
|
247
254
|
export * from './StoreProductTypeRequest';
|
|
255
|
+
export * from './StoreResource';
|
|
256
|
+
export * from './StoreResourceArrayResponse';
|
|
248
257
|
export * from './StoreSiteNotificationRequest';
|
|
258
|
+
export * from './StoreSpecialDateResource';
|
|
259
|
+
export * from './StoreSpecialDateResourceArrayResponse';
|
|
260
|
+
export * from './StoreStoreRequest';
|
|
261
|
+
export * from './StoreStoreRequestSpecialDatesInner';
|
|
262
|
+
export * from './StoreStoreSpecialDateRequest';
|
|
249
263
|
export * from './StoreSupplierRequest';
|
|
250
264
|
export * from './StoreTagRequest';
|
|
251
265
|
export * from './SupplierFrontendResource';
|
|
@@ -283,6 +297,8 @@ export * from './UpdateProductTypeRequest';
|
|
|
283
297
|
export * from './UpdateProductTypeRequestPerformanceValuesInner';
|
|
284
298
|
export * from './UpdateSiteNotificationRequest';
|
|
285
299
|
export * from './UpdateSiteRequest';
|
|
300
|
+
export * from './UpdateStoreRequest';
|
|
301
|
+
export * from './UpdateStoreRequestSpecialDatesInner';
|
|
286
302
|
export * from './UpdateSupplierRequest';
|
|
287
303
|
export * from './UpdateTagRequest';
|
|
288
304
|
export * from './WishlistCheckResource';
|
package/dist/models/index.js
CHANGED
|
@@ -16,6 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./AddressResource"), exports);
|
|
20
|
+
__exportStar(require("./AddressResourceArrayResponse"), exports);
|
|
19
21
|
__exportStar(require("./AssetFileForUploadResource"), exports);
|
|
20
22
|
__exportStar(require("./AssetFileForUploadResourceArrayResponse"), exports);
|
|
21
23
|
__exportStar(require("./AssetFrontendResource"), exports);
|
|
@@ -33,6 +35,8 @@ __exportStar(require("./AttachDocumentsProductChildRequest"), exports);
|
|
|
33
35
|
__exportStar(require("./AttachDocumentsProductChildRequestDocumentsInner"), exports);
|
|
34
36
|
__exportStar(require("./AttachProductTypeAttributeRequest"), exports);
|
|
35
37
|
__exportStar(require("./AttachProductsProductCategoryRequest"), exports);
|
|
38
|
+
__exportStar(require("./AttachStoresSupplierRequest"), exports);
|
|
39
|
+
__exportStar(require("./AttachSuppliersStoreRequest"), exports);
|
|
36
40
|
__exportStar(require("./AttributeFieldType"), exports);
|
|
37
41
|
__exportStar(require("./AttributeListResource"), exports);
|
|
38
42
|
__exportStar(require("./AttributeListResourceArrayResponse"), exports);
|
|
@@ -67,6 +71,8 @@ __exportStar(require("./DetachDocumentablesDocumentRequest"), exports);
|
|
|
67
71
|
__exportStar(require("./DetachDocumentablesDocumentRequestDocumentablesInner"), exports);
|
|
68
72
|
__exportStar(require("./DetachDocumentsProductChildRequest"), exports);
|
|
69
73
|
__exportStar(require("./DetachProductsProductCategoryRequest"), exports);
|
|
74
|
+
__exportStar(require("./DetachStoresSupplierRequest"), exports);
|
|
75
|
+
__exportStar(require("./DetachSuppliersStoreRequest"), exports);
|
|
70
76
|
__exportStar(require("./DocumentFileForUploadResource"), exports);
|
|
71
77
|
__exportStar(require("./DocumentFileForUploadResourceArrayResponse"), exports);
|
|
72
78
|
__exportStar(require("./DocumentFrontendResource"), exports);
|
|
@@ -92,6 +98,7 @@ __exportStar(require("./GetAllProductCategoryRequest"), exports);
|
|
|
92
98
|
__exportStar(require("./GetAllProductChildRequest"), exports);
|
|
93
99
|
__exportStar(require("./GetAllProductRequest"), exports);
|
|
94
100
|
__exportStar(require("./GetAllProductTypeRequest"), exports);
|
|
101
|
+
__exportStar(require("./GetAllStoreRequest"), exports);
|
|
95
102
|
__exportStar(require("./GetAllSupplierRequest"), exports);
|
|
96
103
|
__exportStar(require("./GetHierarchyProductCategoryRequest"), exports);
|
|
97
104
|
__exportStar(require("./GlobalSearchCategoryResource"), exports);
|
|
@@ -203,8 +210,6 @@ __exportStar(require("./ProductChildSiteDetailLiteResource"), exports);
|
|
|
203
210
|
__exportStar(require("./ProductChildSiteDetailLiteResourceArrayResponse"), exports);
|
|
204
211
|
__exportStar(require("./ProductChildSiteDetailResource"), exports);
|
|
205
212
|
__exportStar(require("./ProductChildSiteDetailResourceArrayResponse"), exports);
|
|
206
|
-
__exportStar(require("./ProductClassResource"), exports);
|
|
207
|
-
__exportStar(require("./ProductClassResourceArrayResponse"), exports);
|
|
208
213
|
__exportStar(require("./ProductCompareResource"), exports);
|
|
209
214
|
__exportStar(require("./ProductCompareResourceArrayResponse"), exports);
|
|
210
215
|
__exportStar(require("./ProductListResource"), exports);
|
|
@@ -250,6 +255,8 @@ __exportStar(require("./StoreAttributeValueRequest"), exports);
|
|
|
250
255
|
__exportStar(require("./StoreDefinitionRequest"), exports);
|
|
251
256
|
__exportStar(require("./StoreDocumentFileRequest"), exports);
|
|
252
257
|
__exportStar(require("./StoreDocumentRequest"), exports);
|
|
258
|
+
__exportStar(require("./StoreListResource"), exports);
|
|
259
|
+
__exportStar(require("./StoreListResourceArrayResponse"), exports);
|
|
253
260
|
__exportStar(require("./StoreOverlayTemplateAssetRequest"), exports);
|
|
254
261
|
__exportStar(require("./StoreOverlayTemplateRequest"), exports);
|
|
255
262
|
__exportStar(require("./StoreProductCategoryRequest"), exports);
|
|
@@ -263,7 +270,14 @@ __exportStar(require("./StoreProductChildRequestSitesInner"), exports);
|
|
|
263
270
|
__exportStar(require("./StoreProductRequest"), exports);
|
|
264
271
|
__exportStar(require("./StoreProductRequestCategoriesInner"), exports);
|
|
265
272
|
__exportStar(require("./StoreProductTypeRequest"), exports);
|
|
273
|
+
__exportStar(require("./StoreResource"), exports);
|
|
274
|
+
__exportStar(require("./StoreResourceArrayResponse"), exports);
|
|
266
275
|
__exportStar(require("./StoreSiteNotificationRequest"), exports);
|
|
276
|
+
__exportStar(require("./StoreSpecialDateResource"), exports);
|
|
277
|
+
__exportStar(require("./StoreSpecialDateResourceArrayResponse"), exports);
|
|
278
|
+
__exportStar(require("./StoreStoreRequest"), exports);
|
|
279
|
+
__exportStar(require("./StoreStoreRequestSpecialDatesInner"), exports);
|
|
280
|
+
__exportStar(require("./StoreStoreSpecialDateRequest"), exports);
|
|
267
281
|
__exportStar(require("./StoreSupplierRequest"), exports);
|
|
268
282
|
__exportStar(require("./StoreTagRequest"), exports);
|
|
269
283
|
__exportStar(require("./SupplierFrontendResource"), exports);
|
|
@@ -301,6 +315,8 @@ __exportStar(require("./UpdateProductTypeRequest"), exports);
|
|
|
301
315
|
__exportStar(require("./UpdateProductTypeRequestPerformanceValuesInner"), exports);
|
|
302
316
|
__exportStar(require("./UpdateSiteNotificationRequest"), exports);
|
|
303
317
|
__exportStar(require("./UpdateSiteRequest"), exports);
|
|
318
|
+
__exportStar(require("./UpdateStoreRequest"), exports);
|
|
319
|
+
__exportStar(require("./UpdateStoreRequestSpecialDatesInner"), exports);
|
|
304
320
|
__exportStar(require("./UpdateSupplierRequest"), exports);
|
|
305
321
|
__exportStar(require("./UpdateTagRequest"), exports);
|
|
306
322
|
__exportStar(require("./WishlistCheckResource"), exports);
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import type { AddressResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
22
|
+
|
|
23
|
+
// TODO: Update the object below with actual values
|
|
24
|
+
const example = {
|
|
25
|
+
"id": null,
|
|
26
|
+
"company": null,
|
|
27
|
+
"line1": null,
|
|
28
|
+
"line2": null,
|
|
29
|
+
"postcode": null,
|
|
30
|
+
"suburb": null,
|
|
31
|
+
"country": null,
|
|
32
|
+
"state": null,
|
|
33
|
+
} satisfies AddressResource
|
|
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 AddressResource
|
|
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,22 +1,22 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# AddressResourceArrayResponse
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`data` | [Array<
|
|
9
|
+
`data` | [Array<AddressResource>](AddressResource.md)
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import type {
|
|
14
|
+
import type { AddressResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
15
|
|
|
16
16
|
// TODO: Update the object below with actual values
|
|
17
17
|
const example = {
|
|
18
18
|
"data": null,
|
|
19
|
-
} satisfies
|
|
19
|
+
} satisfies AddressResourceArrayResponse
|
|
20
20
|
|
|
21
21
|
console.log(example)
|
|
22
22
|
|
|
@@ -25,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
25
25
|
console.log(exampleJSON)
|
|
26
26
|
|
|
27
27
|
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as AddressResourceArrayResponse
|
|
29
29
|
console.log(exampleParsed)
|
|
30
30
|
```
|
|
31
31
|
|