@digital8/lighting-illusions-ts-sdk 0.0.570 → 0.0.572
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 +16 -0
- package/README.md +10 -2
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/GlobalSearchCategoryResource.d.ts +44 -0
- package/dist/models/GlobalSearchCategoryResource.js +59 -0
- package/dist/models/GlobalSearchCategoryResourceArrayResponse.d.ts +33 -0
- package/dist/models/GlobalSearchCategoryResourceArrayResponse.js +50 -0
- package/dist/models/GlobalSearchProductResource.d.ts +86 -0
- package/dist/models/GlobalSearchProductResource.js +87 -0
- package/dist/models/GlobalSearchProductResourceArrayResponse.d.ts +33 -0
- package/dist/models/GlobalSearchProductResourceArrayResponse.js +50 -0
- package/dist/models/GlobalSearchRangeResource.d.ts +56 -0
- package/dist/models/GlobalSearchRangeResource.js +67 -0
- package/dist/models/GlobalSearchRangeResourceArrayResponse.d.ts +33 -0
- package/dist/models/GlobalSearchRangeResourceArrayResponse.js +50 -0
- package/dist/models/GlobalSearchResponseResource.d.ts +47 -0
- package/dist/models/GlobalSearchResponseResource.js +62 -0
- package/dist/models/GlobalSearchResponseResourceArrayResponse.d.ts +33 -0
- package/dist/models/GlobalSearchResponseResourceArrayResponse.js +50 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/docs/GlobalSearchCategoryResource.md +38 -0
- package/docs/GlobalSearchCategoryResourceArrayResponse.md +34 -0
- package/docs/GlobalSearchProductResource.md +52 -0
- package/docs/GlobalSearchProductResourceArrayResponse.md +34 -0
- package/docs/GlobalSearchRangeResource.md +42 -0
- package/docs/GlobalSearchRangeResourceArrayResponse.md +34 -0
- package/docs/GlobalSearchResponseResource.md +38 -0
- package/docs/GlobalSearchResponseResourceArrayResponse.md +34 -0
- package/package.json +1 -1
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/GlobalSearchCategoryResource.ts +84 -0
- package/src/models/GlobalSearchCategoryResourceArrayResponse.ts +73 -0
- package/src/models/GlobalSearchProductResource.ts +147 -0
- package/src/models/GlobalSearchProductResourceArrayResponse.ts +73 -0
- package/src/models/GlobalSearchRangeResource.ts +102 -0
- package/src/models/GlobalSearchRangeResourceArrayResponse.ts +73 -0
- package/src/models/GlobalSearchResponseResource.ts +106 -0
- package/src/models/GlobalSearchResponseResourceArrayResponse.ts +73 -0
- package/src/models/index.ts +8 -0
|
@@ -0,0 +1,33 @@
|
|
|
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;
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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;
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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;
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -59,6 +59,14 @@ export * from './GetAllProductChildRequest';
|
|
|
59
59
|
export * from './GetAllProductRequest';
|
|
60
60
|
export * from './GetAllProductTypeRequest';
|
|
61
61
|
export * from './GetAllSupplierRequest';
|
|
62
|
+
export * from './GlobalSearchCategoryResource';
|
|
63
|
+
export * from './GlobalSearchCategoryResourceArrayResponse';
|
|
64
|
+
export * from './GlobalSearchProductResource';
|
|
65
|
+
export * from './GlobalSearchProductResourceArrayResponse';
|
|
66
|
+
export * from './GlobalSearchRangeResource';
|
|
67
|
+
export * from './GlobalSearchRangeResourceArrayResponse';
|
|
68
|
+
export * from './GlobalSearchResponseResource';
|
|
69
|
+
export * from './GlobalSearchResponseResourceArrayResponse';
|
|
62
70
|
export * from './GoogleCategoryResource';
|
|
63
71
|
export * from './GoogleCategoryResourceArrayResponse';
|
|
64
72
|
export * from './IndexAttributeRequest';
|
package/dist/models/index.js
CHANGED
|
@@ -77,6 +77,14 @@ __exportStar(require("./GetAllProductChildRequest"), exports);
|
|
|
77
77
|
__exportStar(require("./GetAllProductRequest"), exports);
|
|
78
78
|
__exportStar(require("./GetAllProductTypeRequest"), exports);
|
|
79
79
|
__exportStar(require("./GetAllSupplierRequest"), exports);
|
|
80
|
+
__exportStar(require("./GlobalSearchCategoryResource"), exports);
|
|
81
|
+
__exportStar(require("./GlobalSearchCategoryResourceArrayResponse"), exports);
|
|
82
|
+
__exportStar(require("./GlobalSearchProductResource"), exports);
|
|
83
|
+
__exportStar(require("./GlobalSearchProductResourceArrayResponse"), exports);
|
|
84
|
+
__exportStar(require("./GlobalSearchRangeResource"), exports);
|
|
85
|
+
__exportStar(require("./GlobalSearchRangeResourceArrayResponse"), exports);
|
|
86
|
+
__exportStar(require("./GlobalSearchResponseResource"), exports);
|
|
87
|
+
__exportStar(require("./GlobalSearchResponseResourceArrayResponse"), exports);
|
|
80
88
|
__exportStar(require("./GoogleCategoryResource"), exports);
|
|
81
89
|
__exportStar(require("./GoogleCategoryResourceArrayResponse"), exports);
|
|
82
90
|
__exportStar(require("./IndexAttributeRequest"), exports);
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# GlobalSearchResponseResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<GlobalSearchResponseResource>](GlobalSearchResponseResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { GlobalSearchResponseResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies GlobalSearchResponseResourceArrayResponse
|
|
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 GlobalSearchResponseResourceArrayResponse
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
package/package.json
CHANGED
|
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
|
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof ExternalApiLogResource
|
|
76
76
|
*/
|
|
77
|
-
requestPayload
|
|
77
|
+
requestPayload: string;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
* @type {string}
|
|
@@ -106,6 +106,7 @@ export function instanceOfExternalApiLogResource(value: object): value is Extern
|
|
|
106
106
|
if (!('exteranlApiLoggableId' in value) || value['exteranlApiLoggableId'] === undefined) return false;
|
|
107
107
|
if (!('endpoint' in value) || value['endpoint'] === undefined) return false;
|
|
108
108
|
if (!('responseCode' in value) || value['responseCode'] === undefined) return false;
|
|
109
|
+
if (!('requestPayload' in value) || value['requestPayload'] === undefined) return false;
|
|
109
110
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
|
|
110
111
|
if (!('site' in value) || value['site'] === undefined) return false;
|
|
111
112
|
return true;
|
|
@@ -128,7 +129,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
128
129
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
129
130
|
'endpoint': json['endpoint'],
|
|
130
131
|
'responseCode': json['responseCode'],
|
|
131
|
-
'requestPayload': json['requestPayload']
|
|
132
|
+
'requestPayload': json['requestPayload'],
|
|
132
133
|
'responsePayload': json['responsePayload'],
|
|
133
134
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
134
135
|
'site': SiteLiteResourceFromJSON(json['site']),
|