@digital8/lighting-illusions-ts-sdk 0.0.1111 → 0.0.1113
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 -38
- package/README.md +2 -31
- 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/ProductChildResource.d.ts +6 -0
- package/dist/models/ProductChildResource.js +4 -0
- package/dist/models/StoreProductCategoryRequest.d.ts +2 -2
- package/dist/models/StoreProductCategoryRequest.js +2 -6
- package/dist/models/StoreProductChildRequest.d.ts +2 -2
- package/dist/models/StoreProductChildRequest.js +2 -6
- package/dist/models/StoreProductChildRequestSitesInner.d.ts +2 -2
- package/dist/models/StoreProductChildRequestSitesInner.js +2 -6
- package/dist/models/SupplierResource.d.ts +0 -6
- package/dist/models/SupplierResource.js +0 -4
- package/dist/models/UpdateProductChildRequest.d.ts +2 -2
- package/dist/models/UpdateProductChildRequest.js +2 -6
- package/dist/models/index.d.ts +0 -18
- package/dist/models/index.js +0 -18
- package/docs/ProductChildResource.md +2 -0
- package/docs/SupplierApi.md +0 -138
- package/docs/SupplierResource.md +0 -2
- 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/ProductChildResource.ts +9 -0
- package/src/models/StoreProductCategoryRequest.ts +4 -6
- package/src/models/StoreProductChildRequest.ts +4 -6
- package/src/models/StoreProductChildRequestSitesInner.ts +4 -6
- package/src/models/SupplierResource.ts +0 -9
- package/src/models/UpdateProductChildRequest.ts +4 -6
- package/src/models/index.ts +0 -18
- package/dist/apis/StoreApi.d.ts +0 -158
- package/dist/apis/StoreApi.js +0 -621
- package/dist/models/AddressResource.d.ts +0 -74
- 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/StoreListResource.d.ts +0 -93
- package/dist/models/StoreListResource.js +0 -82
- package/dist/models/StoreListResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreListResourceArrayResponse.js +0 -50
- package/dist/models/StoreResource.d.ts +0 -112
- package/dist/models/StoreResource.js +0 -97
- package/dist/models/StoreResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreResourceArrayResponse.js +0 -50
- package/dist/models/StoreSpecialDateResource.d.ts +0 -56
- package/dist/models/StoreSpecialDateResource.js +0 -65
- 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 -50
- package/dist/models/StoreStoreRequestSpecialDatesInner.js +0 -57
- package/dist/models/StoreStoreSpecialDateRequest.d.ts +0 -50
- package/dist/models/StoreStoreSpecialDateRequest.js +0 -57
- package/dist/models/UpdateStoreRequest.d.ts +0 -177
- package/dist/models/UpdateStoreRequest.js +0 -124
- package/dist/models/UpdateStoreRequestSpecialDatesInner.d.ts +0 -56
- package/dist/models/UpdateStoreRequestSpecialDatesInner.js +0 -57
- package/docs/AddressResource.md +0 -48
- 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/StoreApi.md +0 -617
- package/docs/StoreListResource.md +0 -54
- package/docs/StoreListResourceArrayResponse.md +0 -34
- package/docs/StoreResource.md +0 -60
- package/docs/StoreResourceArrayResponse.md +0 -34
- package/docs/StoreSpecialDateResource.md +0 -42
- package/docs/StoreSpecialDateResourceArrayResponse.md +0 -34
- package/docs/StoreStoreRequest.md +0 -82
- package/docs/StoreStoreRequestSpecialDatesInner.md +0 -40
- package/docs/StoreStoreSpecialDateRequest.md +0 -40
- package/docs/UpdateStoreRequest.md +0 -82
- package/docs/UpdateStoreRequestSpecialDatesInner.md +0 -42
- package/src/apis/StoreApi.ts +0 -513
- package/src/models/AddressResource.ts +0 -129
- 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/StoreListResource.ts +0 -159
- package/src/models/StoreListResourceArrayResponse.ts +0 -73
- package/src/models/StoreResource.ts +0 -194
- package/src/models/StoreResourceArrayResponse.ts +0 -73
- package/src/models/StoreSpecialDateResource.ts +0 -101
- package/src/models/StoreSpecialDateResourceArrayResponse.ts +0 -73
- package/src/models/StoreStoreRequest.ts +0 -278
- package/src/models/StoreStoreRequestSpecialDatesInner.ts +0 -90
- package/src/models/StoreStoreSpecialDateRequest.ts +0 -90
- package/src/models/UpdateStoreRequest.ts +0 -278
- package/src/models/UpdateStoreRequestSpecialDatesInner.ts +0 -97
|
@@ -1,177 +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
|
-
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;
|
|
@@ -1,124 +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
|
-
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
|
-
}
|
|
@@ -1,56 +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 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;
|
|
@@ -1,57 +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.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/docs/AddressResource.md
DELETED
|
@@ -1,48 +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
|
-
|
|
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,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
|
-
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# GetAllStoreRequest
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`search` | string
|
|
10
|
-
`sortBy` | string
|
|
11
|
-
`sortDirection` | string
|
|
12
|
-
`relatedId` | number
|
|
13
|
-
`relatedType` | string
|
|
14
|
-
`includesRelations` | boolean
|
|
15
|
-
`siteId` | Array<string>
|
|
16
|
-
`suppliersId` | Array<string>
|
|
17
|
-
|
|
18
|
-
## Example
|
|
19
|
-
|
|
20
|
-
```typescript
|
|
21
|
-
import type { GetAllStoreRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
22
|
-
|
|
23
|
-
// TODO: Update the object below with actual values
|
|
24
|
-
const example = {
|
|
25
|
-
"search": null,
|
|
26
|
-
"sortBy": null,
|
|
27
|
-
"sortDirection": null,
|
|
28
|
-
"relatedId": null,
|
|
29
|
-
"relatedType": null,
|
|
30
|
-
"includesRelations": null,
|
|
31
|
-
"siteId": null,
|
|
32
|
-
"suppliersId": null,
|
|
33
|
-
} satisfies GetAllStoreRequest
|
|
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 GetAllStoreRequest
|
|
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
|
-
|