@digital8/lighting-illusions-ts-sdk 0.0.1659 → 0.0.1660
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 -8
- package/README.md +4 -6
- package/dist/apis/ReviewApi.d.ts +30 -0
- package/dist/apis/ReviewApi.js +133 -0
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +1 -3
- package/dist/models/ReviewListResource.d.ts +6 -7
- package/dist/models/ReviewListResource.js +6 -7
- package/dist/models/ReviewResource.d.ts +14 -17
- package/dist/models/ReviewResource.js +14 -17
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +1 -3
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +1 -3
- package/dist/models/StoreResource.d.ts +1 -1
- package/dist/models/StoreResource.js +1 -3
- package/dist/models/StoreSpecialDateResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateResource.js +3 -1
- package/dist/models/index.d.ts +0 -4
- package/dist/models/index.js +0 -4
- package/docs/ReviewApi.md +132 -0
- package/docs/ReviewListResource.md +3 -3
- package/docs/ReviewResource.md +7 -7
- package/docs/StoreSpecialDateResource.md +1 -1
- package/package.json +1 -1
- package/src/apis/ReviewApi.ts +113 -0
- package/src/models/AddressResource.ts +2 -3
- package/src/models/ReviewListResource.ts +12 -19
- package/src/models/ReviewResource.ts +28 -49
- package/src/models/StoreFrontendResource.ts +2 -3
- package/src/models/StoreListResource.ts +2 -3
- package/src/models/StoreResource.ts +2 -3
- package/src/models/StoreSpecialDateResource.ts +4 -3
- package/src/models/index.ts +0 -4
- package/dist/models/AdminUserLiteResource.d.ts +0 -50
- package/dist/models/AdminUserLiteResource.js +0 -61
- package/dist/models/AdminUserLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/AdminUserLiteResourceArrayResponse.js +0 -50
- package/dist/models/CustomerLiteResource.d.ts +0 -50
- package/dist/models/CustomerLiteResource.js +0 -61
- package/dist/models/CustomerLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/CustomerLiteResourceArrayResponse.js +0 -50
- package/docs/AdminUserLiteResource.md +0 -40
- package/docs/AdminUserLiteResourceArrayResponse.md +0 -34
- package/docs/CustomerLiteResource.md +0 -40
- package/docs/CustomerLiteResourceArrayResponse.md +0 -34
- package/src/models/AdminUserLiteResource.ts +0 -92
- package/src/models/AdminUserLiteResourceArrayResponse.ts +0 -73
- package/src/models/CustomerLiteResource.ts +0 -92
- package/src/models/CustomerLiteResourceArrayResponse.ts +0 -73
|
@@ -89,7 +89,7 @@ export interface StoreResource {
|
|
|
89
89
|
* @type {string}
|
|
90
90
|
* @memberof StoreResource
|
|
91
91
|
*/
|
|
92
|
-
tagLine
|
|
92
|
+
tagLine?: string | null;
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
95
|
* @type {string}
|
|
@@ -137,7 +137,6 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
|
|
|
137
137
|
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
138
138
|
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
139
139
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
140
|
-
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
141
140
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
142
141
|
if (!('website' in value) || value['website'] === undefined) return false;
|
|
143
142
|
if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
|
|
@@ -162,7 +161,7 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
162
161
|
'phone': json['phone'],
|
|
163
162
|
'longitude': json['longitude'],
|
|
164
163
|
'latitude': json['latitude'],
|
|
165
|
-
'tagLine': json['tag_line'],
|
|
164
|
+
'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
|
|
166
165
|
'email': json['email'],
|
|
167
166
|
'website': json['website'],
|
|
168
167
|
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
@@ -39,10 +39,10 @@ export interface StoreSpecialDateResource {
|
|
|
39
39
|
hours: string;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
|
-
* @type {
|
|
42
|
+
* @type {object}
|
|
43
43
|
* @memberof StoreSpecialDateResource
|
|
44
44
|
*/
|
|
45
|
-
date
|
|
45
|
+
date: object;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {boolean}
|
|
@@ -69,6 +69,7 @@ export interface StoreSpecialDateResource {
|
|
|
69
69
|
export function instanceOfStoreSpecialDateResource(value: object): value is StoreSpecialDateResource {
|
|
70
70
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
71
71
|
if (!('hours' in value) || value['hours'] === undefined) return false;
|
|
72
|
+
if (!('date' in value) || value['date'] === undefined) return false;
|
|
72
73
|
if (!('closed' in value) || value['closed'] === undefined) return false;
|
|
73
74
|
if (!('displayStartDate' in value) || value['displayStartDate'] === undefined) return false;
|
|
74
75
|
if (!('displayEndDate' in value) || value['displayEndDate'] === undefined) return false;
|
|
@@ -88,7 +89,7 @@ export function StoreSpecialDateResourceFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
88
89
|
'id': json['id'] == null ? undefined : json['id'],
|
|
89
90
|
'name': json['name'],
|
|
90
91
|
'hours': json['hours'],
|
|
91
|
-
'date': json['date']
|
|
92
|
+
'date': json['date'],
|
|
92
93
|
'closed': json['closed'],
|
|
93
94
|
'displayStartDate': json['display_start_date'],
|
|
94
95
|
'displayEndDate': json['display_end_date'],
|
package/src/models/index.ts
CHANGED
|
@@ -4,8 +4,6 @@ export * from './AddressFrontendResource';
|
|
|
4
4
|
export * from './AddressFrontendResourceArrayResponse';
|
|
5
5
|
export * from './AddressResource';
|
|
6
6
|
export * from './AddressResourceArrayResponse';
|
|
7
|
-
export * from './AdminUserLiteResource';
|
|
8
|
-
export * from './AdminUserLiteResourceArrayResponse';
|
|
9
7
|
export * from './AssetFileForUploadResource';
|
|
10
8
|
export * from './AssetFileForUploadResourceArrayResponse';
|
|
11
9
|
export * from './AssetFrontendResource';
|
|
@@ -53,8 +51,6 @@ export * from './CategoryFrontendResourceArrayResponse';
|
|
|
53
51
|
export * from './CategoryWithChildrenFrontendResource';
|
|
54
52
|
export * from './CategoryWithChildrenFrontendResourceArrayResponse';
|
|
55
53
|
export * from './CouponDiscountType';
|
|
56
|
-
export * from './CustomerLiteResource';
|
|
57
|
-
export * from './CustomerLiteResourceArrayResponse';
|
|
58
54
|
export * from './DefinitionListResource';
|
|
59
55
|
export * from './DefinitionListResourceArrayResponse';
|
|
60
56
|
export * from './DefinitionResource';
|
|
@@ -1,50 +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 AdminUserLiteResource
|
|
16
|
-
*/
|
|
17
|
-
export interface AdminUserLiteResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof AdminUserLiteResource
|
|
22
|
-
*/
|
|
23
|
-
id?: number | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AdminUserLiteResource
|
|
28
|
-
*/
|
|
29
|
-
firstName: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof AdminUserLiteResource
|
|
34
|
-
*/
|
|
35
|
-
lastName: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof AdminUserLiteResource
|
|
40
|
-
*/
|
|
41
|
-
email: string;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the AdminUserLiteResource interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfAdminUserLiteResource(value: object): value is AdminUserLiteResource;
|
|
47
|
-
export declare function AdminUserLiteResourceFromJSON(json: any): AdminUserLiteResource;
|
|
48
|
-
export declare function AdminUserLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminUserLiteResource;
|
|
49
|
-
export declare function AdminUserLiteResourceToJSON(json: any): AdminUserLiteResource;
|
|
50
|
-
export declare function AdminUserLiteResourceToJSONTyped(value?: AdminUserLiteResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.instanceOfAdminUserLiteResource = instanceOfAdminUserLiteResource;
|
|
17
|
-
exports.AdminUserLiteResourceFromJSON = AdminUserLiteResourceFromJSON;
|
|
18
|
-
exports.AdminUserLiteResourceFromJSONTyped = AdminUserLiteResourceFromJSONTyped;
|
|
19
|
-
exports.AdminUserLiteResourceToJSON = AdminUserLiteResourceToJSON;
|
|
20
|
-
exports.AdminUserLiteResourceToJSONTyped = AdminUserLiteResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the AdminUserLiteResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfAdminUserLiteResource(value) {
|
|
25
|
-
if (!('firstName' in value) || value['firstName'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('lastName' in value) || value['lastName'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('email' in value) || value['email'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function AdminUserLiteResourceFromJSON(json) {
|
|
34
|
-
return AdminUserLiteResourceFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function AdminUserLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
42
|
-
'firstName': json['firstName'],
|
|
43
|
-
'lastName': json['lastName'],
|
|
44
|
-
'email': json['email'],
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
function AdminUserLiteResourceToJSON(json) {
|
|
48
|
-
return AdminUserLiteResourceToJSONTyped(json, false);
|
|
49
|
-
}
|
|
50
|
-
function AdminUserLiteResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
52
|
-
if (value == null) {
|
|
53
|
-
return value;
|
|
54
|
-
}
|
|
55
|
-
return {
|
|
56
|
-
'id': value['id'],
|
|
57
|
-
'firstName': value['firstName'],
|
|
58
|
-
'lastName': value['lastName'],
|
|
59
|
-
'email': value['email'],
|
|
60
|
-
};
|
|
61
|
-
}
|
|
@@ -1,33 +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 { AdminUserLiteResource } from './AdminUserLiteResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface AdminUserLiteResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface AdminUserLiteResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<AdminUserLiteResource>}
|
|
22
|
-
* @memberof AdminUserLiteResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<AdminUserLiteResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the AdminUserLiteResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfAdminUserLiteResourceArrayResponse(value: object): value is AdminUserLiteResourceArrayResponse;
|
|
30
|
-
export declare function AdminUserLiteResourceArrayResponseFromJSON(json: any): AdminUserLiteResourceArrayResponse;
|
|
31
|
-
export declare function AdminUserLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminUserLiteResourceArrayResponse;
|
|
32
|
-
export declare function AdminUserLiteResourceArrayResponseToJSON(json: any): AdminUserLiteResourceArrayResponse;
|
|
33
|
-
export declare function AdminUserLiteResourceArrayResponseToJSONTyped(value?: AdminUserLiteResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +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.instanceOfAdminUserLiteResourceArrayResponse = instanceOfAdminUserLiteResourceArrayResponse;
|
|
17
|
-
exports.AdminUserLiteResourceArrayResponseFromJSON = AdminUserLiteResourceArrayResponseFromJSON;
|
|
18
|
-
exports.AdminUserLiteResourceArrayResponseFromJSONTyped = AdminUserLiteResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.AdminUserLiteResourceArrayResponseToJSON = AdminUserLiteResourceArrayResponseToJSON;
|
|
20
|
-
exports.AdminUserLiteResourceArrayResponseToJSONTyped = AdminUserLiteResourceArrayResponseToJSONTyped;
|
|
21
|
-
var AdminUserLiteResource_1 = require("./AdminUserLiteResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the AdminUserLiteResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfAdminUserLiteResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function AdminUserLiteResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return AdminUserLiteResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function AdminUserLiteResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(AdminUserLiteResource_1.AdminUserLiteResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function AdminUserLiteResourceArrayResponseToJSON(json) {
|
|
40
|
-
return AdminUserLiteResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function AdminUserLiteResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'data': value['data'] == null ? undefined : (value['data'].map(AdminUserLiteResource_1.AdminUserLiteResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,50 +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 CustomerLiteResource
|
|
16
|
-
*/
|
|
17
|
-
export interface CustomerLiteResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof CustomerLiteResource
|
|
22
|
-
*/
|
|
23
|
-
id?: number | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CustomerLiteResource
|
|
28
|
-
*/
|
|
29
|
-
firstName: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof CustomerLiteResource
|
|
34
|
-
*/
|
|
35
|
-
lastName: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof CustomerLiteResource
|
|
40
|
-
*/
|
|
41
|
-
email: string;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the CustomerLiteResource interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfCustomerLiteResource(value: object): value is CustomerLiteResource;
|
|
47
|
-
export declare function CustomerLiteResourceFromJSON(json: any): CustomerLiteResource;
|
|
48
|
-
export declare function CustomerLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerLiteResource;
|
|
49
|
-
export declare function CustomerLiteResourceToJSON(json: any): CustomerLiteResource;
|
|
50
|
-
export declare function CustomerLiteResourceToJSONTyped(value?: CustomerLiteResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.instanceOfCustomerLiteResource = instanceOfCustomerLiteResource;
|
|
17
|
-
exports.CustomerLiteResourceFromJSON = CustomerLiteResourceFromJSON;
|
|
18
|
-
exports.CustomerLiteResourceFromJSONTyped = CustomerLiteResourceFromJSONTyped;
|
|
19
|
-
exports.CustomerLiteResourceToJSON = CustomerLiteResourceToJSON;
|
|
20
|
-
exports.CustomerLiteResourceToJSONTyped = CustomerLiteResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the CustomerLiteResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfCustomerLiteResource(value) {
|
|
25
|
-
if (!('firstName' in value) || value['firstName'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('lastName' in value) || value['lastName'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('email' in value) || value['email'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function CustomerLiteResourceFromJSON(json) {
|
|
34
|
-
return CustomerLiteResourceFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function CustomerLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
42
|
-
'firstName': json['firstName'],
|
|
43
|
-
'lastName': json['lastName'],
|
|
44
|
-
'email': json['email'],
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
function CustomerLiteResourceToJSON(json) {
|
|
48
|
-
return CustomerLiteResourceToJSONTyped(json, false);
|
|
49
|
-
}
|
|
50
|
-
function CustomerLiteResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
52
|
-
if (value == null) {
|
|
53
|
-
return value;
|
|
54
|
-
}
|
|
55
|
-
return {
|
|
56
|
-
'id': value['id'],
|
|
57
|
-
'firstName': value['firstName'],
|
|
58
|
-
'lastName': value['lastName'],
|
|
59
|
-
'email': value['email'],
|
|
60
|
-
};
|
|
61
|
-
}
|
|
@@ -1,33 +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 { CustomerLiteResource } from './CustomerLiteResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface CustomerLiteResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface CustomerLiteResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<CustomerLiteResource>}
|
|
22
|
-
* @memberof CustomerLiteResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<CustomerLiteResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the CustomerLiteResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfCustomerLiteResourceArrayResponse(value: object): value is CustomerLiteResourceArrayResponse;
|
|
30
|
-
export declare function CustomerLiteResourceArrayResponseFromJSON(json: any): CustomerLiteResourceArrayResponse;
|
|
31
|
-
export declare function CustomerLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerLiteResourceArrayResponse;
|
|
32
|
-
export declare function CustomerLiteResourceArrayResponseToJSON(json: any): CustomerLiteResourceArrayResponse;
|
|
33
|
-
export declare function CustomerLiteResourceArrayResponseToJSONTyped(value?: CustomerLiteResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +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.instanceOfCustomerLiteResourceArrayResponse = instanceOfCustomerLiteResourceArrayResponse;
|
|
17
|
-
exports.CustomerLiteResourceArrayResponseFromJSON = CustomerLiteResourceArrayResponseFromJSON;
|
|
18
|
-
exports.CustomerLiteResourceArrayResponseFromJSONTyped = CustomerLiteResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.CustomerLiteResourceArrayResponseToJSON = CustomerLiteResourceArrayResponseToJSON;
|
|
20
|
-
exports.CustomerLiteResourceArrayResponseToJSONTyped = CustomerLiteResourceArrayResponseToJSONTyped;
|
|
21
|
-
var CustomerLiteResource_1 = require("./CustomerLiteResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the CustomerLiteResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfCustomerLiteResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function CustomerLiteResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return CustomerLiteResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function CustomerLiteResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(CustomerLiteResource_1.CustomerLiteResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function CustomerLiteResourceArrayResponseToJSON(json) {
|
|
40
|
-
return CustomerLiteResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function CustomerLiteResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'data': value['data'] == null ? undefined : (value['data'].map(CustomerLiteResource_1.CustomerLiteResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# AdminUserLiteResource
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`id` | number
|
|
10
|
-
`firstName` | string
|
|
11
|
-
`lastName` | string
|
|
12
|
-
`email` | string
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import type { AdminUserLiteResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
18
|
-
|
|
19
|
-
// TODO: Update the object below with actual values
|
|
20
|
-
const example = {
|
|
21
|
-
"id": null,
|
|
22
|
-
"firstName": null,
|
|
23
|
-
"lastName": null,
|
|
24
|
-
"email": null,
|
|
25
|
-
} satisfies AdminUserLiteResource
|
|
26
|
-
|
|
27
|
-
console.log(example)
|
|
28
|
-
|
|
29
|
-
// Convert the instance to a JSON string
|
|
30
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
-
console.log(exampleJSON)
|
|
32
|
-
|
|
33
|
-
// Parse the JSON string back to an object
|
|
34
|
-
const exampleParsed = JSON.parse(exampleJSON) as AdminUserLiteResource
|
|
35
|
-
console.log(exampleParsed)
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
-
|
|
40
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# AdminUserLiteResourceArrayResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<AdminUserLiteResource>](AdminUserLiteResource.md)
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { AdminUserLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"data": null,
|
|
19
|
-
} satisfies AdminUserLiteResourceArrayResponse
|
|
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 AdminUserLiteResourceArrayResponse
|
|
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,40 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# CustomerLiteResource
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`id` | number
|
|
10
|
-
`firstName` | string
|
|
11
|
-
`lastName` | string
|
|
12
|
-
`email` | string
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import type { CustomerLiteResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
18
|
-
|
|
19
|
-
// TODO: Update the object below with actual values
|
|
20
|
-
const example = {
|
|
21
|
-
"id": null,
|
|
22
|
-
"firstName": null,
|
|
23
|
-
"lastName": null,
|
|
24
|
-
"email": null,
|
|
25
|
-
} satisfies CustomerLiteResource
|
|
26
|
-
|
|
27
|
-
console.log(example)
|
|
28
|
-
|
|
29
|
-
// Convert the instance to a JSON string
|
|
30
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
-
console.log(exampleJSON)
|
|
32
|
-
|
|
33
|
-
// Parse the JSON string back to an object
|
|
34
|
-
const exampleParsed = JSON.parse(exampleJSON) as CustomerLiteResource
|
|
35
|
-
console.log(exampleParsed)
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
-
|
|
40
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# CustomerLiteResourceArrayResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<CustomerLiteResource>](CustomerLiteResource.md)
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { CustomerLiteResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"data": null,
|
|
19
|
-
} satisfies CustomerLiteResourceArrayResponse
|
|
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 CustomerLiteResourceArrayResponse
|
|
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
|
-
|