@digital8/lighting-illusions-ts-sdk 0.0.572 → 0.0.574

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.
Files changed (48) hide show
  1. package/.openapi-generator/FILES +4 -16
  2. package/README.md +6 -10
  3. package/dist/apis/ProductCategoryApi.d.ts +25 -1
  4. package/dist/apis/ProductCategoryApi.js +96 -0
  5. package/dist/models/AttachProductsProductCategoryRequest.d.ts +32 -0
  6. package/dist/models/AttachProductsProductCategoryRequest.js +51 -0
  7. package/dist/models/DetachProductsProductCategoryRequest.d.ts +32 -0
  8. package/dist/models/DetachProductsProductCategoryRequest.js +51 -0
  9. package/dist/models/index.d.ts +2 -8
  10. package/dist/models/index.js +2 -8
  11. package/docs/{GlobalSearchCategoryResource.md → AttachProductsProductCategoryRequest.md} +6 -10
  12. package/docs/{GlobalSearchRangeResourceArrayResponse.md → DetachProductsProductCategoryRequest.md} +6 -6
  13. package/docs/ProductCategoryApi.md +138 -0
  14. package/package.json +1 -1
  15. package/src/apis/ProductCategoryApi.ts +96 -0
  16. package/src/models/AttachProductsProductCategoryRequest.ts +66 -0
  17. package/src/models/DetachProductsProductCategoryRequest.ts +66 -0
  18. package/src/models/index.ts +2 -8
  19. package/dist/models/GlobalSearchCategoryResource.d.ts +0 -44
  20. package/dist/models/GlobalSearchCategoryResource.js +0 -59
  21. package/dist/models/GlobalSearchCategoryResourceArrayResponse.d.ts +0 -33
  22. package/dist/models/GlobalSearchCategoryResourceArrayResponse.js +0 -50
  23. package/dist/models/GlobalSearchProductResource.d.ts +0 -86
  24. package/dist/models/GlobalSearchProductResource.js +0 -87
  25. package/dist/models/GlobalSearchProductResourceArrayResponse.d.ts +0 -33
  26. package/dist/models/GlobalSearchProductResourceArrayResponse.js +0 -50
  27. package/dist/models/GlobalSearchRangeResource.d.ts +0 -56
  28. package/dist/models/GlobalSearchRangeResource.js +0 -67
  29. package/dist/models/GlobalSearchRangeResourceArrayResponse.d.ts +0 -33
  30. package/dist/models/GlobalSearchRangeResourceArrayResponse.js +0 -50
  31. package/dist/models/GlobalSearchResponseResource.d.ts +0 -47
  32. package/dist/models/GlobalSearchResponseResource.js +0 -62
  33. package/dist/models/GlobalSearchResponseResourceArrayResponse.d.ts +0 -33
  34. package/dist/models/GlobalSearchResponseResourceArrayResponse.js +0 -50
  35. package/docs/GlobalSearchCategoryResourceArrayResponse.md +0 -34
  36. package/docs/GlobalSearchProductResource.md +0 -52
  37. package/docs/GlobalSearchProductResourceArrayResponse.md +0 -34
  38. package/docs/GlobalSearchRangeResource.md +0 -42
  39. package/docs/GlobalSearchResponseResource.md +0 -38
  40. package/docs/GlobalSearchResponseResourceArrayResponse.md +0 -34
  41. package/src/models/GlobalSearchCategoryResource.ts +0 -84
  42. package/src/models/GlobalSearchCategoryResourceArrayResponse.ts +0 -73
  43. package/src/models/GlobalSearchProductResource.ts +0 -147
  44. package/src/models/GlobalSearchProductResourceArrayResponse.ts +0 -73
  45. package/src/models/GlobalSearchRangeResource.ts +0 -102
  46. package/src/models/GlobalSearchRangeResourceArrayResponse.ts +0 -73
  47. package/src/models/GlobalSearchResponseResource.ts +0 -106
  48. package/src/models/GlobalSearchResponseResourceArrayResponse.ts +0 -73
@@ -1,86 +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 GlobalSearchProductResource
16
- */
17
- export interface GlobalSearchProductResource {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof GlobalSearchProductResource
22
- */
23
- id: number;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof GlobalSearchProductResource
28
- */
29
- name: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof GlobalSearchProductResource
34
- */
35
- slug: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof GlobalSearchProductResource
40
- */
41
- sku: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof GlobalSearchProductResource
46
- */
47
- thumbnail: string;
48
- /**
49
- *
50
- * @type {number}
51
- * @memberof GlobalSearchProductResource
52
- */
53
- price: number;
54
- /**
55
- *
56
- * @type {number}
57
- * @memberof GlobalSearchProductResource
58
- */
59
- salePrice: number;
60
- /**
61
- *
62
- * @type {number}
63
- * @memberof GlobalSearchProductResource
64
- */
65
- averageRating: number;
66
- /**
67
- *
68
- * @type {string}
69
- * @memberof GlobalSearchProductResource
70
- */
71
- supplierName: string;
72
- /**
73
- *
74
- * @type {Array<object>}
75
- * @memberof GlobalSearchProductResource
76
- */
77
- categories: Array<object>;
78
- }
79
- /**
80
- * Check if a given object implements the GlobalSearchProductResource interface.
81
- */
82
- export declare function instanceOfGlobalSearchProductResource(value: object): value is GlobalSearchProductResource;
83
- export declare function GlobalSearchProductResourceFromJSON(json: any): GlobalSearchProductResource;
84
- export declare function GlobalSearchProductResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalSearchProductResource;
85
- export declare function GlobalSearchProductResourceToJSON(json: any): GlobalSearchProductResource;
86
- export declare function GlobalSearchProductResourceToJSONTyped(value?: GlobalSearchProductResource | null, ignoreDiscriminator?: boolean): any;
@@ -1,87 +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.instanceOfGlobalSearchProductResource = instanceOfGlobalSearchProductResource;
17
- exports.GlobalSearchProductResourceFromJSON = GlobalSearchProductResourceFromJSON;
18
- exports.GlobalSearchProductResourceFromJSONTyped = GlobalSearchProductResourceFromJSONTyped;
19
- exports.GlobalSearchProductResourceToJSON = GlobalSearchProductResourceToJSON;
20
- exports.GlobalSearchProductResourceToJSONTyped = GlobalSearchProductResourceToJSONTyped;
21
- /**
22
- * Check if a given object implements the GlobalSearchProductResource interface.
23
- */
24
- function instanceOfGlobalSearchProductResource(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 (!('sku' in value) || value['sku'] === undefined)
32
- return false;
33
- if (!('thumbnail' in value) || value['thumbnail'] === undefined)
34
- return false;
35
- if (!('price' in value) || value['price'] === undefined)
36
- return false;
37
- if (!('salePrice' in value) || value['salePrice'] === undefined)
38
- return false;
39
- if (!('averageRating' in value) || value['averageRating'] === undefined)
40
- return false;
41
- if (!('supplierName' in value) || value['supplierName'] === undefined)
42
- return false;
43
- if (!('categories' in value) || value['categories'] === undefined)
44
- return false;
45
- return true;
46
- }
47
- function GlobalSearchProductResourceFromJSON(json) {
48
- return GlobalSearchProductResourceFromJSONTyped(json, false);
49
- }
50
- function GlobalSearchProductResourceFromJSONTyped(json, ignoreDiscriminator) {
51
- if (json == null) {
52
- return json;
53
- }
54
- return {
55
- 'id': json['id'],
56
- 'name': json['name'],
57
- 'slug': json['slug'],
58
- 'sku': json['sku'],
59
- 'thumbnail': json['thumbnail'],
60
- 'price': json['price'],
61
- 'salePrice': json['salePrice'],
62
- 'averageRating': json['averageRating'],
63
- 'supplierName': json['supplierName'],
64
- 'categories': json['categories'],
65
- };
66
- }
67
- function GlobalSearchProductResourceToJSON(json) {
68
- return GlobalSearchProductResourceToJSONTyped(json, false);
69
- }
70
- function GlobalSearchProductResourceToJSONTyped(value, ignoreDiscriminator) {
71
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
72
- if (value == null) {
73
- return value;
74
- }
75
- return {
76
- 'id': value['id'],
77
- 'name': value['name'],
78
- 'slug': value['slug'],
79
- 'sku': value['sku'],
80
- 'thumbnail': value['thumbnail'],
81
- 'price': value['price'],
82
- 'salePrice': value['salePrice'],
83
- 'averageRating': value['averageRating'],
84
- 'supplierName': value['supplierName'],
85
- 'categories': value['categories'],
86
- };
87
- }
@@ -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 { GlobalSearchProductResource } from './GlobalSearchProductResource';
13
- /**
14
- *
15
- * @export
16
- * @interface GlobalSearchProductResourceArrayResponse
17
- */
18
- export interface GlobalSearchProductResourceArrayResponse {
19
- /**
20
- *
21
- * @type {Array<GlobalSearchProductResource>}
22
- * @memberof GlobalSearchProductResourceArrayResponse
23
- */
24
- data?: Array<GlobalSearchProductResource>;
25
- }
26
- /**
27
- * Check if a given object implements the GlobalSearchProductResourceArrayResponse interface.
28
- */
29
- export declare function instanceOfGlobalSearchProductResourceArrayResponse(value: object): value is GlobalSearchProductResourceArrayResponse;
30
- export declare function GlobalSearchProductResourceArrayResponseFromJSON(json: any): GlobalSearchProductResourceArrayResponse;
31
- export declare function GlobalSearchProductResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalSearchProductResourceArrayResponse;
32
- export declare function GlobalSearchProductResourceArrayResponseToJSON(json: any): GlobalSearchProductResourceArrayResponse;
33
- export declare function GlobalSearchProductResourceArrayResponseToJSONTyped(value?: GlobalSearchProductResourceArrayResponse | 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.instanceOfGlobalSearchProductResourceArrayResponse = instanceOfGlobalSearchProductResourceArrayResponse;
17
- exports.GlobalSearchProductResourceArrayResponseFromJSON = GlobalSearchProductResourceArrayResponseFromJSON;
18
- exports.GlobalSearchProductResourceArrayResponseFromJSONTyped = GlobalSearchProductResourceArrayResponseFromJSONTyped;
19
- exports.GlobalSearchProductResourceArrayResponseToJSON = GlobalSearchProductResourceArrayResponseToJSON;
20
- exports.GlobalSearchProductResourceArrayResponseToJSONTyped = GlobalSearchProductResourceArrayResponseToJSONTyped;
21
- var GlobalSearchProductResource_1 = require("./GlobalSearchProductResource");
22
- /**
23
- * Check if a given object implements the GlobalSearchProductResourceArrayResponse interface.
24
- */
25
- function instanceOfGlobalSearchProductResourceArrayResponse(value) {
26
- return true;
27
- }
28
- function GlobalSearchProductResourceArrayResponseFromJSON(json) {
29
- return GlobalSearchProductResourceArrayResponseFromJSONTyped(json, false);
30
- }
31
- function GlobalSearchProductResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'data': json['data'] == null ? undefined : (json['data'].map(GlobalSearchProductResource_1.GlobalSearchProductResourceFromJSON)),
37
- };
38
- }
39
- function GlobalSearchProductResourceArrayResponseToJSON(json) {
40
- return GlobalSearchProductResourceArrayResponseToJSONTyped(json, false);
41
- }
42
- function GlobalSearchProductResourceArrayResponseToJSONTyped(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(GlobalSearchProductResource_1.GlobalSearchProductResourceToJSON)),
49
- };
50
- }
@@ -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
- }