@digital8/lighting-illusions-ts-sdk 0.0.572 → 0.0.573
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 -16
- package/README.md +2 -10
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/IndexProductChildRequest.d.ts +2 -0
- package/dist/models/IndexProductChildRequest.js +2 -0
- package/dist/models/index.d.ts +0 -8
- package/dist/models/index.js +0 -8
- package/package.json +1 -1
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/IndexProductChildRequest.ts +2 -0
- package/src/models/index.ts +0 -8
- package/dist/models/GlobalSearchCategoryResource.d.ts +0 -44
- package/dist/models/GlobalSearchCategoryResource.js +0 -59
- package/dist/models/GlobalSearchCategoryResourceArrayResponse.d.ts +0 -33
- package/dist/models/GlobalSearchCategoryResourceArrayResponse.js +0 -50
- package/dist/models/GlobalSearchProductResource.d.ts +0 -86
- package/dist/models/GlobalSearchProductResource.js +0 -87
- package/dist/models/GlobalSearchProductResourceArrayResponse.d.ts +0 -33
- package/dist/models/GlobalSearchProductResourceArrayResponse.js +0 -50
- package/dist/models/GlobalSearchRangeResource.d.ts +0 -56
- package/dist/models/GlobalSearchRangeResource.js +0 -67
- package/dist/models/GlobalSearchRangeResourceArrayResponse.d.ts +0 -33
- package/dist/models/GlobalSearchRangeResourceArrayResponse.js +0 -50
- package/dist/models/GlobalSearchResponseResource.d.ts +0 -47
- package/dist/models/GlobalSearchResponseResource.js +0 -62
- package/dist/models/GlobalSearchResponseResourceArrayResponse.d.ts +0 -33
- package/dist/models/GlobalSearchResponseResourceArrayResponse.js +0 -50
- package/docs/GlobalSearchCategoryResource.md +0 -38
- package/docs/GlobalSearchCategoryResourceArrayResponse.md +0 -34
- package/docs/GlobalSearchProductResource.md +0 -52
- package/docs/GlobalSearchProductResourceArrayResponse.md +0 -34
- package/docs/GlobalSearchRangeResource.md +0 -42
- package/docs/GlobalSearchRangeResourceArrayResponse.md +0 -34
- package/docs/GlobalSearchResponseResource.md +0 -38
- package/docs/GlobalSearchResponseResourceArrayResponse.md +0 -34
- package/src/models/GlobalSearchCategoryResource.ts +0 -84
- package/src/models/GlobalSearchCategoryResourceArrayResponse.ts +0 -73
- package/src/models/GlobalSearchProductResource.ts +0 -147
- package/src/models/GlobalSearchProductResourceArrayResponse.ts +0 -73
- package/src/models/GlobalSearchRangeResource.ts +0 -102
- package/src/models/GlobalSearchRangeResourceArrayResponse.ts +0 -73
- package/src/models/GlobalSearchResponseResource.ts +0 -106
- package/src/models/GlobalSearchResponseResourceArrayResponse.ts +0 -73
|
@@ -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 GlobalSearchRangeResource
|
|
16
|
-
*/
|
|
17
|
-
export interface GlobalSearchRangeResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof GlobalSearchRangeResource
|
|
22
|
-
*/
|
|
23
|
-
id: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof GlobalSearchRangeResource
|
|
28
|
-
*/
|
|
29
|
-
name: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof GlobalSearchRangeResource
|
|
34
|
-
*/
|
|
35
|
-
slug: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof GlobalSearchRangeResource
|
|
40
|
-
*/
|
|
41
|
-
thumbnail: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof GlobalSearchRangeResource
|
|
46
|
-
*/
|
|
47
|
-
description: string;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Check if a given object implements the GlobalSearchRangeResource interface.
|
|
51
|
-
*/
|
|
52
|
-
export declare function instanceOfGlobalSearchRangeResource(value: object): value is GlobalSearchRangeResource;
|
|
53
|
-
export declare function GlobalSearchRangeResourceFromJSON(json: any): GlobalSearchRangeResource;
|
|
54
|
-
export declare function GlobalSearchRangeResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalSearchRangeResource;
|
|
55
|
-
export declare function GlobalSearchRangeResourceToJSON(json: any): GlobalSearchRangeResource;
|
|
56
|
-
export declare function GlobalSearchRangeResourceToJSONTyped(value?: GlobalSearchRangeResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,67 +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.instanceOfGlobalSearchRangeResource = instanceOfGlobalSearchRangeResource;
|
|
17
|
-
exports.GlobalSearchRangeResourceFromJSON = GlobalSearchRangeResourceFromJSON;
|
|
18
|
-
exports.GlobalSearchRangeResourceFromJSONTyped = GlobalSearchRangeResourceFromJSONTyped;
|
|
19
|
-
exports.GlobalSearchRangeResourceToJSON = GlobalSearchRangeResourceToJSON;
|
|
20
|
-
exports.GlobalSearchRangeResourceToJSONTyped = GlobalSearchRangeResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the GlobalSearchRangeResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfGlobalSearchRangeResource(value) {
|
|
25
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('slug' in value) || value['slug'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('thumbnail' in value) || value['thumbnail'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('description' in value) || value['description'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
function GlobalSearchRangeResourceFromJSON(json) {
|
|
38
|
-
return GlobalSearchRangeResourceFromJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
function GlobalSearchRangeResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
-
if (json == null) {
|
|
42
|
-
return json;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
'id': json['id'],
|
|
46
|
-
'name': json['name'],
|
|
47
|
-
'slug': json['slug'],
|
|
48
|
-
'thumbnail': json['thumbnail'],
|
|
49
|
-
'description': json['description'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
function GlobalSearchRangeResourceToJSON(json) {
|
|
53
|
-
return GlobalSearchRangeResourceToJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
function GlobalSearchRangeResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
56
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
57
|
-
if (value == null) {
|
|
58
|
-
return value;
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
'id': value['id'],
|
|
62
|
-
'name': value['name'],
|
|
63
|
-
'slug': value['slug'],
|
|
64
|
-
'thumbnail': value['thumbnail'],
|
|
65
|
-
'description': value['description'],
|
|
66
|
-
};
|
|
67
|
-
}
|
|
@@ -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 { GlobalSearchRangeResource } from './GlobalSearchRangeResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GlobalSearchRangeResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface GlobalSearchRangeResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<GlobalSearchRangeResource>}
|
|
22
|
-
* @memberof GlobalSearchRangeResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<GlobalSearchRangeResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the GlobalSearchRangeResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfGlobalSearchRangeResourceArrayResponse(value: object): value is GlobalSearchRangeResourceArrayResponse;
|
|
30
|
-
export declare function GlobalSearchRangeResourceArrayResponseFromJSON(json: any): GlobalSearchRangeResourceArrayResponse;
|
|
31
|
-
export declare function GlobalSearchRangeResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalSearchRangeResourceArrayResponse;
|
|
32
|
-
export declare function GlobalSearchRangeResourceArrayResponseToJSON(json: any): GlobalSearchRangeResourceArrayResponse;
|
|
33
|
-
export declare function GlobalSearchRangeResourceArrayResponseToJSONTyped(value?: GlobalSearchRangeResourceArrayResponse | 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.instanceOfGlobalSearchRangeResourceArrayResponse = instanceOfGlobalSearchRangeResourceArrayResponse;
|
|
17
|
-
exports.GlobalSearchRangeResourceArrayResponseFromJSON = GlobalSearchRangeResourceArrayResponseFromJSON;
|
|
18
|
-
exports.GlobalSearchRangeResourceArrayResponseFromJSONTyped = GlobalSearchRangeResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.GlobalSearchRangeResourceArrayResponseToJSON = GlobalSearchRangeResourceArrayResponseToJSON;
|
|
20
|
-
exports.GlobalSearchRangeResourceArrayResponseToJSONTyped = GlobalSearchRangeResourceArrayResponseToJSONTyped;
|
|
21
|
-
var GlobalSearchRangeResource_1 = require("./GlobalSearchRangeResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the GlobalSearchRangeResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfGlobalSearchRangeResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function GlobalSearchRangeResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return GlobalSearchRangeResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function GlobalSearchRangeResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(GlobalSearchRangeResource_1.GlobalSearchRangeResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function GlobalSearchRangeResourceArrayResponseToJSON(json) {
|
|
40
|
-
return GlobalSearchRangeResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function GlobalSearchRangeResourceArrayResponseToJSONTyped(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(GlobalSearchRangeResource_1.GlobalSearchRangeResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,47 +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 { GlobalSearchProductResource } from './GlobalSearchProductResource';
|
|
13
|
-
import type { GlobalSearchCategoryResource } from './GlobalSearchCategoryResource';
|
|
14
|
-
import type { GlobalSearchRangeResource } from './GlobalSearchRangeResource';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface GlobalSearchResponseResource
|
|
19
|
-
*/
|
|
20
|
-
export interface GlobalSearchResponseResource {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {Array<GlobalSearchProductResource>}
|
|
24
|
-
* @memberof GlobalSearchResponseResource
|
|
25
|
-
*/
|
|
26
|
-
products: Array<GlobalSearchProductResource> | null;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {Array<GlobalSearchCategoryResource>}
|
|
30
|
-
* @memberof GlobalSearchResponseResource
|
|
31
|
-
*/
|
|
32
|
-
categories: Array<GlobalSearchCategoryResource> | null;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {Array<GlobalSearchRangeResource>}
|
|
36
|
-
* @memberof GlobalSearchResponseResource
|
|
37
|
-
*/
|
|
38
|
-
ranges: Array<GlobalSearchRangeResource> | null;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Check if a given object implements the GlobalSearchResponseResource interface.
|
|
42
|
-
*/
|
|
43
|
-
export declare function instanceOfGlobalSearchResponseResource(value: object): value is GlobalSearchResponseResource;
|
|
44
|
-
export declare function GlobalSearchResponseResourceFromJSON(json: any): GlobalSearchResponseResource;
|
|
45
|
-
export declare function GlobalSearchResponseResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalSearchResponseResource;
|
|
46
|
-
export declare function GlobalSearchResponseResourceToJSON(json: any): GlobalSearchResponseResource;
|
|
47
|
-
export declare function GlobalSearchResponseResourceToJSONTyped(value?: GlobalSearchResponseResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,62 +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.instanceOfGlobalSearchResponseResource = instanceOfGlobalSearchResponseResource;
|
|
17
|
-
exports.GlobalSearchResponseResourceFromJSON = GlobalSearchResponseResourceFromJSON;
|
|
18
|
-
exports.GlobalSearchResponseResourceFromJSONTyped = GlobalSearchResponseResourceFromJSONTyped;
|
|
19
|
-
exports.GlobalSearchResponseResourceToJSON = GlobalSearchResponseResourceToJSON;
|
|
20
|
-
exports.GlobalSearchResponseResourceToJSONTyped = GlobalSearchResponseResourceToJSONTyped;
|
|
21
|
-
var GlobalSearchProductResource_1 = require("./GlobalSearchProductResource");
|
|
22
|
-
var GlobalSearchCategoryResource_1 = require("./GlobalSearchCategoryResource");
|
|
23
|
-
var GlobalSearchRangeResource_1 = require("./GlobalSearchRangeResource");
|
|
24
|
-
/**
|
|
25
|
-
* Check if a given object implements the GlobalSearchResponseResource interface.
|
|
26
|
-
*/
|
|
27
|
-
function instanceOfGlobalSearchResponseResource(value) {
|
|
28
|
-
if (!('products' in value) || value['products'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('categories' in value) || value['categories'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('ranges' in value) || value['ranges'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
function GlobalSearchResponseResourceFromJSON(json) {
|
|
37
|
-
return GlobalSearchResponseResourceFromJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
function GlobalSearchResponseResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
-
if (json == null) {
|
|
41
|
-
return json;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'products': (json['products'] == null ? null : json['products'].map(GlobalSearchProductResource_1.GlobalSearchProductResourceFromJSON)),
|
|
45
|
-
'categories': (json['categories'] == null ? null : json['categories'].map(GlobalSearchCategoryResource_1.GlobalSearchCategoryResourceFromJSON)),
|
|
46
|
-
'ranges': (json['ranges'] == null ? null : json['ranges'].map(GlobalSearchRangeResource_1.GlobalSearchRangeResourceFromJSON)),
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
function GlobalSearchResponseResourceToJSON(json) {
|
|
50
|
-
return GlobalSearchResponseResourceToJSONTyped(json, false);
|
|
51
|
-
}
|
|
52
|
-
function GlobalSearchResponseResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
-
if (value == null) {
|
|
55
|
-
return value;
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
'products': (value['products'] == null ? null : value['products'].map(GlobalSearchProductResource_1.GlobalSearchProductResourceToJSON)),
|
|
59
|
-
'categories': (value['categories'] == null ? null : value['categories'].map(GlobalSearchCategoryResource_1.GlobalSearchCategoryResourceToJSON)),
|
|
60
|
-
'ranges': (value['ranges'] == null ? null : value['ranges'].map(GlobalSearchRangeResource_1.GlobalSearchRangeResourceToJSON)),
|
|
61
|
-
};
|
|
62
|
-
}
|
|
@@ -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 { GlobalSearchResponseResource } from './GlobalSearchResponseResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GlobalSearchResponseResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface GlobalSearchResponseResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<GlobalSearchResponseResource>}
|
|
22
|
-
* @memberof GlobalSearchResponseResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<GlobalSearchResponseResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the GlobalSearchResponseResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfGlobalSearchResponseResourceArrayResponse(value: object): value is GlobalSearchResponseResourceArrayResponse;
|
|
30
|
-
export declare function GlobalSearchResponseResourceArrayResponseFromJSON(json: any): GlobalSearchResponseResourceArrayResponse;
|
|
31
|
-
export declare function GlobalSearchResponseResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalSearchResponseResourceArrayResponse;
|
|
32
|
-
export declare function GlobalSearchResponseResourceArrayResponseToJSON(json: any): GlobalSearchResponseResourceArrayResponse;
|
|
33
|
-
export declare function GlobalSearchResponseResourceArrayResponseToJSONTyped(value?: GlobalSearchResponseResourceArrayResponse | 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.instanceOfGlobalSearchResponseResourceArrayResponse = instanceOfGlobalSearchResponseResourceArrayResponse;
|
|
17
|
-
exports.GlobalSearchResponseResourceArrayResponseFromJSON = GlobalSearchResponseResourceArrayResponseFromJSON;
|
|
18
|
-
exports.GlobalSearchResponseResourceArrayResponseFromJSONTyped = GlobalSearchResponseResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.GlobalSearchResponseResourceArrayResponseToJSON = GlobalSearchResponseResourceArrayResponseToJSON;
|
|
20
|
-
exports.GlobalSearchResponseResourceArrayResponseToJSONTyped = GlobalSearchResponseResourceArrayResponseToJSONTyped;
|
|
21
|
-
var GlobalSearchResponseResource_1 = require("./GlobalSearchResponseResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the GlobalSearchResponseResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfGlobalSearchResponseResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function GlobalSearchResponseResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return GlobalSearchResponseResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function GlobalSearchResponseResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(GlobalSearchResponseResource_1.GlobalSearchResponseResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function GlobalSearchResponseResourceArrayResponseToJSON(json) {
|
|
40
|
-
return GlobalSearchResponseResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function GlobalSearchResponseResourceArrayResponseToJSONTyped(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(GlobalSearchResponseResource_1.GlobalSearchResponseResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# GlobalSearchCategoryResource
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`id` | number
|
|
10
|
-
`name` | string
|
|
11
|
-
`slug` | string
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import type { GlobalSearchCategoryResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
17
|
-
|
|
18
|
-
// TODO: Update the object below with actual values
|
|
19
|
-
const example = {
|
|
20
|
-
"id": null,
|
|
21
|
-
"name": null,
|
|
22
|
-
"slug": null,
|
|
23
|
-
} satisfies GlobalSearchCategoryResource
|
|
24
|
-
|
|
25
|
-
console.log(example)
|
|
26
|
-
|
|
27
|
-
// Convert the instance to a JSON string
|
|
28
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
-
console.log(exampleJSON)
|
|
30
|
-
|
|
31
|
-
// Parse the JSON string back to an object
|
|
32
|
-
const exampleParsed = JSON.parse(exampleJSON) as GlobalSearchCategoryResource
|
|
33
|
-
console.log(exampleParsed)
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
37
|
-
|
|
38
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# GlobalSearchCategoryResourceArrayResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<GlobalSearchCategoryResource>](GlobalSearchCategoryResource.md)
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { GlobalSearchCategoryResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"data": null,
|
|
19
|
-
} satisfies GlobalSearchCategoryResourceArrayResponse
|
|
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 GlobalSearchCategoryResourceArrayResponse
|
|
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,52 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# GlobalSearchProductResource
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`id` | number
|
|
10
|
-
`name` | string
|
|
11
|
-
`slug` | string
|
|
12
|
-
`sku` | string
|
|
13
|
-
`thumbnail` | string
|
|
14
|
-
`price` | number
|
|
15
|
-
`salePrice` | number
|
|
16
|
-
`averageRating` | number
|
|
17
|
-
`supplierName` | string
|
|
18
|
-
`categories` | Array<object>
|
|
19
|
-
|
|
20
|
-
## Example
|
|
21
|
-
|
|
22
|
-
```typescript
|
|
23
|
-
import type { GlobalSearchProductResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
24
|
-
|
|
25
|
-
// TODO: Update the object below with actual values
|
|
26
|
-
const example = {
|
|
27
|
-
"id": null,
|
|
28
|
-
"name": null,
|
|
29
|
-
"slug": null,
|
|
30
|
-
"sku": null,
|
|
31
|
-
"thumbnail": null,
|
|
32
|
-
"price": null,
|
|
33
|
-
"salePrice": null,
|
|
34
|
-
"averageRating": null,
|
|
35
|
-
"supplierName": null,
|
|
36
|
-
"categories": null,
|
|
37
|
-
} satisfies GlobalSearchProductResource
|
|
38
|
-
|
|
39
|
-
console.log(example)
|
|
40
|
-
|
|
41
|
-
// Convert the instance to a JSON string
|
|
42
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
43
|
-
console.log(exampleJSON)
|
|
44
|
-
|
|
45
|
-
// Parse the JSON string back to an object
|
|
46
|
-
const exampleParsed = JSON.parse(exampleJSON) as GlobalSearchProductResource
|
|
47
|
-
console.log(exampleParsed)
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
51
|
-
|
|
52
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# GlobalSearchProductResourceArrayResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<GlobalSearchProductResource>](GlobalSearchProductResource.md)
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { GlobalSearchProductResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"data": null,
|
|
19
|
-
} satisfies GlobalSearchProductResourceArrayResponse
|
|
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 GlobalSearchProductResourceArrayResponse
|
|
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,42 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# GlobalSearchRangeResource
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`id` | number
|
|
10
|
-
`name` | string
|
|
11
|
-
`slug` | string
|
|
12
|
-
`thumbnail` | string
|
|
13
|
-
`description` | string
|
|
14
|
-
|
|
15
|
-
## Example
|
|
16
|
-
|
|
17
|
-
```typescript
|
|
18
|
-
import type { GlobalSearchRangeResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
19
|
-
|
|
20
|
-
// TODO: Update the object below with actual values
|
|
21
|
-
const example = {
|
|
22
|
-
"id": null,
|
|
23
|
-
"name": null,
|
|
24
|
-
"slug": null,
|
|
25
|
-
"thumbnail": null,
|
|
26
|
-
"description": null,
|
|
27
|
-
} satisfies GlobalSearchRangeResource
|
|
28
|
-
|
|
29
|
-
console.log(example)
|
|
30
|
-
|
|
31
|
-
// Convert the instance to a JSON string
|
|
32
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
33
|
-
console.log(exampleJSON)
|
|
34
|
-
|
|
35
|
-
// Parse the JSON string back to an object
|
|
36
|
-
const exampleParsed = JSON.parse(exampleJSON) as GlobalSearchRangeResource
|
|
37
|
-
console.log(exampleParsed)
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
41
|
-
|
|
42
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# GlobalSearchRangeResourceArrayResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<GlobalSearchRangeResource>](GlobalSearchRangeResource.md)
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { GlobalSearchRangeResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"data": null,
|
|
19
|
-
} satisfies GlobalSearchRangeResourceArrayResponse
|
|
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 GlobalSearchRangeResourceArrayResponse
|
|
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,38 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# GlobalSearchResponseResource
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`products` | [Array<GlobalSearchProductResource>](GlobalSearchProductResource.md)
|
|
10
|
-
`categories` | [Array<GlobalSearchCategoryResource>](GlobalSearchCategoryResource.md)
|
|
11
|
-
`ranges` | [Array<GlobalSearchRangeResource>](GlobalSearchRangeResource.md)
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import type { GlobalSearchResponseResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
17
|
-
|
|
18
|
-
// TODO: Update the object below with actual values
|
|
19
|
-
const example = {
|
|
20
|
-
"products": null,
|
|
21
|
-
"categories": null,
|
|
22
|
-
"ranges": null,
|
|
23
|
-
} satisfies GlobalSearchResponseResource
|
|
24
|
-
|
|
25
|
-
console.log(example)
|
|
26
|
-
|
|
27
|
-
// Convert the instance to a JSON string
|
|
28
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
-
console.log(exampleJSON)
|
|
30
|
-
|
|
31
|
-
// Parse the JSON string back to an object
|
|
32
|
-
const exampleParsed = JSON.parse(exampleJSON) as GlobalSearchResponseResource
|
|
33
|
-
console.log(exampleParsed)
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
37
|
-
|
|
38
|
-
|