@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,102 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface GlobalSearchRangeResource
20
- */
21
- export interface GlobalSearchRangeResource {
22
- /**
23
- *
24
- * @type {number}
25
- * @memberof GlobalSearchRangeResource
26
- */
27
- id: number;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof GlobalSearchRangeResource
32
- */
33
- name: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof GlobalSearchRangeResource
38
- */
39
- slug: string;
40
- /**
41
- *
42
- * @type {string}
43
- * @memberof GlobalSearchRangeResource
44
- */
45
- thumbnail: string;
46
- /**
47
- *
48
- * @type {string}
49
- * @memberof GlobalSearchRangeResource
50
- */
51
- description: string;
52
- }
53
-
54
- /**
55
- * Check if a given object implements the GlobalSearchRangeResource interface.
56
- */
57
- export function instanceOfGlobalSearchRangeResource(value: object): value is GlobalSearchRangeResource {
58
- if (!('id' in value) || value['id'] === undefined) return false;
59
- if (!('name' in value) || value['name'] === undefined) return false;
60
- if (!('slug' in value) || value['slug'] === undefined) return false;
61
- if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
62
- if (!('description' in value) || value['description'] === undefined) return false;
63
- return true;
64
- }
65
-
66
- export function GlobalSearchRangeResourceFromJSON(json: any): GlobalSearchRangeResource {
67
- return GlobalSearchRangeResourceFromJSONTyped(json, false);
68
- }
69
-
70
- export function GlobalSearchRangeResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalSearchRangeResource {
71
- if (json == null) {
72
- return json;
73
- }
74
- return {
75
-
76
- 'id': json['id'],
77
- 'name': json['name'],
78
- 'slug': json['slug'],
79
- 'thumbnail': json['thumbnail'],
80
- 'description': json['description'],
81
- };
82
- }
83
-
84
- export function GlobalSearchRangeResourceToJSON(json: any): GlobalSearchRangeResource {
85
- return GlobalSearchRangeResourceToJSONTyped(json, false);
86
- }
87
-
88
- export function GlobalSearchRangeResourceToJSONTyped(value?: GlobalSearchRangeResource | null, ignoreDiscriminator: boolean = false): any {
89
- if (value == null) {
90
- return value;
91
- }
92
-
93
- return {
94
-
95
- 'id': value['id'],
96
- 'name': value['name'],
97
- 'slug': value['slug'],
98
- 'thumbnail': value['thumbnail'],
99
- 'description': value['description'],
100
- };
101
- }
102
-
@@ -1,73 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { GlobalSearchRangeResource } from './GlobalSearchRangeResource';
17
- import {
18
- GlobalSearchRangeResourceFromJSON,
19
- GlobalSearchRangeResourceFromJSONTyped,
20
- GlobalSearchRangeResourceToJSON,
21
- GlobalSearchRangeResourceToJSONTyped,
22
- } from './GlobalSearchRangeResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface GlobalSearchRangeResourceArrayResponse
28
- */
29
- export interface GlobalSearchRangeResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<GlobalSearchRangeResource>}
33
- * @memberof GlobalSearchRangeResourceArrayResponse
34
- */
35
- data?: Array<GlobalSearchRangeResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the GlobalSearchRangeResourceArrayResponse interface.
40
- */
41
- export function instanceOfGlobalSearchRangeResourceArrayResponse(value: object): value is GlobalSearchRangeResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function GlobalSearchRangeResourceArrayResponseFromJSON(json: any): GlobalSearchRangeResourceArrayResponse {
46
- return GlobalSearchRangeResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function GlobalSearchRangeResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalSearchRangeResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(GlobalSearchRangeResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function GlobalSearchRangeResourceArrayResponseToJSON(json: any): GlobalSearchRangeResourceArrayResponse {
60
- return GlobalSearchRangeResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function GlobalSearchRangeResourceArrayResponseToJSONTyped(value?: GlobalSearchRangeResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
64
- if (value == null) {
65
- return value;
66
- }
67
-
68
- return {
69
-
70
- 'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(GlobalSearchRangeResourceToJSON)),
71
- };
72
- }
73
-
@@ -1,106 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { GlobalSearchProductResource } from './GlobalSearchProductResource';
17
- import {
18
- GlobalSearchProductResourceFromJSON,
19
- GlobalSearchProductResourceFromJSONTyped,
20
- GlobalSearchProductResourceToJSON,
21
- GlobalSearchProductResourceToJSONTyped,
22
- } from './GlobalSearchProductResource';
23
- import type { GlobalSearchCategoryResource } from './GlobalSearchCategoryResource';
24
- import {
25
- GlobalSearchCategoryResourceFromJSON,
26
- GlobalSearchCategoryResourceFromJSONTyped,
27
- GlobalSearchCategoryResourceToJSON,
28
- GlobalSearchCategoryResourceToJSONTyped,
29
- } from './GlobalSearchCategoryResource';
30
- import type { GlobalSearchRangeResource } from './GlobalSearchRangeResource';
31
- import {
32
- GlobalSearchRangeResourceFromJSON,
33
- GlobalSearchRangeResourceFromJSONTyped,
34
- GlobalSearchRangeResourceToJSON,
35
- GlobalSearchRangeResourceToJSONTyped,
36
- } from './GlobalSearchRangeResource';
37
-
38
- /**
39
- *
40
- * @export
41
- * @interface GlobalSearchResponseResource
42
- */
43
- export interface GlobalSearchResponseResource {
44
- /**
45
- *
46
- * @type {Array<GlobalSearchProductResource>}
47
- * @memberof GlobalSearchResponseResource
48
- */
49
- products: Array<GlobalSearchProductResource> | null;
50
- /**
51
- *
52
- * @type {Array<GlobalSearchCategoryResource>}
53
- * @memberof GlobalSearchResponseResource
54
- */
55
- categories: Array<GlobalSearchCategoryResource> | null;
56
- /**
57
- *
58
- * @type {Array<GlobalSearchRangeResource>}
59
- * @memberof GlobalSearchResponseResource
60
- */
61
- ranges: Array<GlobalSearchRangeResource> | null;
62
- }
63
-
64
- /**
65
- * Check if a given object implements the GlobalSearchResponseResource interface.
66
- */
67
- export function instanceOfGlobalSearchResponseResource(value: object): value is GlobalSearchResponseResource {
68
- if (!('products' in value) || value['products'] === undefined) return false;
69
- if (!('categories' in value) || value['categories'] === undefined) return false;
70
- if (!('ranges' in value) || value['ranges'] === undefined) return false;
71
- return true;
72
- }
73
-
74
- export function GlobalSearchResponseResourceFromJSON(json: any): GlobalSearchResponseResource {
75
- return GlobalSearchResponseResourceFromJSONTyped(json, false);
76
- }
77
-
78
- export function GlobalSearchResponseResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalSearchResponseResource {
79
- if (json == null) {
80
- return json;
81
- }
82
- return {
83
-
84
- 'products': (json['products'] == null ? null : (json['products'] as Array<any>).map(GlobalSearchProductResourceFromJSON)),
85
- 'categories': (json['categories'] == null ? null : (json['categories'] as Array<any>).map(GlobalSearchCategoryResourceFromJSON)),
86
- 'ranges': (json['ranges'] == null ? null : (json['ranges'] as Array<any>).map(GlobalSearchRangeResourceFromJSON)),
87
- };
88
- }
89
-
90
- export function GlobalSearchResponseResourceToJSON(json: any): GlobalSearchResponseResource {
91
- return GlobalSearchResponseResourceToJSONTyped(json, false);
92
- }
93
-
94
- export function GlobalSearchResponseResourceToJSONTyped(value?: GlobalSearchResponseResource | null, ignoreDiscriminator: boolean = false): any {
95
- if (value == null) {
96
- return value;
97
- }
98
-
99
- return {
100
-
101
- 'products': (value['products'] == null ? null : (value['products'] as Array<any>).map(GlobalSearchProductResourceToJSON)),
102
- 'categories': (value['categories'] == null ? null : (value['categories'] as Array<any>).map(GlobalSearchCategoryResourceToJSON)),
103
- 'ranges': (value['ranges'] == null ? null : (value['ranges'] as Array<any>).map(GlobalSearchRangeResourceToJSON)),
104
- };
105
- }
106
-
@@ -1,73 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { GlobalSearchResponseResource } from './GlobalSearchResponseResource';
17
- import {
18
- GlobalSearchResponseResourceFromJSON,
19
- GlobalSearchResponseResourceFromJSONTyped,
20
- GlobalSearchResponseResourceToJSON,
21
- GlobalSearchResponseResourceToJSONTyped,
22
- } from './GlobalSearchResponseResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface GlobalSearchResponseResourceArrayResponse
28
- */
29
- export interface GlobalSearchResponseResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<GlobalSearchResponseResource>}
33
- * @memberof GlobalSearchResponseResourceArrayResponse
34
- */
35
- data?: Array<GlobalSearchResponseResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the GlobalSearchResponseResourceArrayResponse interface.
40
- */
41
- export function instanceOfGlobalSearchResponseResourceArrayResponse(value: object): value is GlobalSearchResponseResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function GlobalSearchResponseResourceArrayResponseFromJSON(json: any): GlobalSearchResponseResourceArrayResponse {
46
- return GlobalSearchResponseResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function GlobalSearchResponseResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GlobalSearchResponseResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(GlobalSearchResponseResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function GlobalSearchResponseResourceArrayResponseToJSON(json: any): GlobalSearchResponseResourceArrayResponse {
60
- return GlobalSearchResponseResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function GlobalSearchResponseResourceArrayResponseToJSONTyped(value?: GlobalSearchResponseResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
64
- if (value == null) {
65
- return value;
66
- }
67
-
68
- return {
69
-
70
- 'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(GlobalSearchResponseResourceToJSON)),
71
- };
72
- }
73
-