@digital8/lighting-illusions-ts-sdk 0.0.647 → 0.0.649

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 (119) hide show
  1. package/.openapi-generator/FILES +10 -38
  2. package/README.md +7 -26
  3. package/dist/apis/index.d.ts +0 -1
  4. package/dist/apis/index.js +0 -1
  5. package/dist/models/OverlayTemplateAssetFrontendResource.d.ts +2 -3
  6. package/dist/models/OverlayTemplateAssetFrontendResource.js +2 -3
  7. package/dist/models/OverlayTemplateAssetResource.d.ts +3 -3
  8. package/dist/models/OverlayTemplateAssetResource.js +3 -3
  9. package/dist/models/ProductCompareResource.d.ts +2 -2
  10. package/dist/models/ProductSearchResultResource.d.ts +6 -12
  11. package/dist/models/ProductSearchResultResource.js +4 -8
  12. package/dist/models/ProductStatus.d.ts +24 -0
  13. package/dist/models/ProductStatus.js +50 -0
  14. package/dist/models/SupplierFrontendResource.d.ts +8 -7
  15. package/dist/models/SupplierFrontendResource.js +9 -8
  16. package/dist/models/WishlistCheckResource.d.ts +32 -0
  17. package/dist/models/WishlistCheckResource.js +51 -0
  18. package/dist/models/WishlistCheckResourceArrayResponse.d.ts +33 -0
  19. package/dist/models/WishlistCheckResourceArrayResponse.js +50 -0
  20. package/dist/models/WishlistToggleResource.d.ts +38 -0
  21. package/dist/models/WishlistToggleResource.js +55 -0
  22. package/dist/models/WishlistToggleResourceArrayResponse.d.ts +33 -0
  23. package/dist/models/WishlistToggleResourceArrayResponse.js +50 -0
  24. package/dist/models/index.d.ts +5 -18
  25. package/dist/models/index.js +5 -18
  26. package/docs/OverlayTemplateAssetFrontendResource.md +1 -1
  27. package/docs/OverlayTemplateAssetResource.md +1 -1
  28. package/docs/ProductCompareResource.md +1 -1
  29. package/docs/ProductSearchResultResource.md +2 -4
  30. package/docs/{ProductAvailability.md → ProductStatus.md} +4 -4
  31. package/docs/SupplierFrontendResource.md +4 -4
  32. package/docs/{StoreDefinitionRequest.md → WishlistCheckResource.md} +6 -8
  33. package/docs/{DefinitionResourceArrayResponse.md → WishlistCheckResourceArrayResponse.md} +5 -5
  34. package/docs/{DefinitionListResource.md → WishlistToggleResource.md} +8 -8
  35. package/docs/{DefinitionListResourceArrayResponse.md → WishlistToggleResourceArrayResponse.md} +5 -5
  36. package/package.json +1 -1
  37. package/src/apis/index.ts +0 -1
  38. package/src/models/OverlayTemplateAssetFrontendResource.ts +4 -12
  39. package/src/models/OverlayTemplateAssetResource.ts +10 -10
  40. package/src/models/ProductCompareResource.ts +2 -2
  41. package/src/models/ProductSearchResultResource.ts +9 -18
  42. package/src/models/ProductStatus.ts +52 -0
  43. package/src/models/SupplierFrontendResource.ts +27 -20
  44. package/src/models/WishlistCheckResource.ts +66 -0
  45. package/src/models/WishlistCheckResourceArrayResponse.ts +73 -0
  46. package/src/models/WishlistToggleResource.ts +75 -0
  47. package/src/models/WishlistToggleResourceArrayResponse.ts +73 -0
  48. package/src/models/index.ts +5 -18
  49. package/dist/apis/DefinitionApi.d.ts +0 -85
  50. package/dist/apis/DefinitionApi.js +0 -355
  51. package/dist/models/CategoryFrontendResource.d.ts +0 -70
  52. package/dist/models/CategoryFrontendResource.js +0 -73
  53. package/dist/models/CategoryFrontendResourceArrayResponse.d.ts +0 -33
  54. package/dist/models/CategoryFrontendResourceArrayResponse.js +0 -50
  55. package/dist/models/CategoryWithChildrenFrontendResource.d.ts +0 -39
  56. package/dist/models/CategoryWithChildrenFrontendResource.js +0 -56
  57. package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.d.ts +0 -33
  58. package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.js +0 -50
  59. package/dist/models/DefinitionListResource.d.ts +0 -38
  60. package/dist/models/DefinitionListResource.js +0 -55
  61. package/dist/models/DefinitionListResourceArrayResponse.d.ts +0 -33
  62. package/dist/models/DefinitionListResourceArrayResponse.js +0 -50
  63. package/dist/models/DefinitionResource.d.ts +0 -44
  64. package/dist/models/DefinitionResource.js +0 -59
  65. package/dist/models/DefinitionResourceArrayResponse.d.ts +0 -33
  66. package/dist/models/DefinitionResourceArrayResponse.js +0 -50
  67. package/dist/models/GetAllDefinitionRequest.d.ts +0 -80
  68. package/dist/models/GetAllDefinitionRequest.js +0 -76
  69. package/dist/models/IndexDefinitionRequest.d.ts +0 -92
  70. package/dist/models/IndexDefinitionRequest.js +0 -80
  71. package/dist/models/PaginatedCategoryFrontendResourceResponse.d.ts +0 -40
  72. package/dist/models/PaginatedCategoryFrontendResourceResponse.js +0 -57
  73. package/dist/models/PaginatedDefinitionListResourceResponse.d.ts +0 -40
  74. package/dist/models/PaginatedDefinitionListResourceResponse.js +0 -57
  75. package/dist/models/PaginatedDefinitionResourceResponse.d.ts +0 -40
  76. package/dist/models/PaginatedDefinitionResourceResponse.js +0 -57
  77. package/dist/models/ProductAvailability.d.ts +0 -26
  78. package/dist/models/ProductAvailability.js +0 -52
  79. package/dist/models/StoreDefinitionRequest.d.ts +0 -38
  80. package/dist/models/StoreDefinitionRequest.js +0 -55
  81. package/dist/models/TagFrontendResource.d.ts +0 -63
  82. package/dist/models/TagFrontendResource.js +0 -72
  83. package/dist/models/TagFrontendResourceArrayResponse.d.ts +0 -33
  84. package/dist/models/TagFrontendResourceArrayResponse.js +0 -50
  85. package/dist/models/UpdateDefinitionRequest.d.ts +0 -38
  86. package/dist/models/UpdateDefinitionRequest.js +0 -55
  87. package/docs/CategoryFrontendResource.md +0 -46
  88. package/docs/CategoryFrontendResourceArrayResponse.md +0 -34
  89. package/docs/CategoryWithChildrenFrontendResource.md +0 -36
  90. package/docs/CategoryWithChildrenFrontendResourceArrayResponse.md +0 -34
  91. package/docs/DefinitionApi.md +0 -407
  92. package/docs/DefinitionResource.md +0 -38
  93. package/docs/GetAllDefinitionRequest.md +0 -44
  94. package/docs/IndexDefinitionRequest.md +0 -48
  95. package/docs/PaginatedCategoryFrontendResourceResponse.md +0 -36
  96. package/docs/PaginatedDefinitionListResourceResponse.md +0 -36
  97. package/docs/PaginatedDefinitionResourceResponse.md +0 -36
  98. package/docs/TagFrontendResource.md +0 -44
  99. package/docs/TagFrontendResourceArrayResponse.md +0 -34
  100. package/docs/UpdateDefinitionRequest.md +0 -36
  101. package/src/apis/DefinitionApi.ts +0 -286
  102. package/src/models/CategoryFrontendResource.ts +0 -133
  103. package/src/models/CategoryFrontendResourceArrayResponse.ts +0 -73
  104. package/src/models/CategoryWithChildrenFrontendResource.ts +0 -83
  105. package/src/models/CategoryWithChildrenFrontendResourceArrayResponse.ts +0 -73
  106. package/src/models/DefinitionListResource.ts +0 -75
  107. package/src/models/DefinitionListResourceArrayResponse.ts +0 -73
  108. package/src/models/DefinitionResource.ts +0 -84
  109. package/src/models/DefinitionResourceArrayResponse.ts +0 -73
  110. package/src/models/GetAllDefinitionRequest.ts +0 -127
  111. package/src/models/IndexDefinitionRequest.ts +0 -143
  112. package/src/models/PaginatedCategoryFrontendResourceResponse.ts +0 -90
  113. package/src/models/PaginatedDefinitionListResourceResponse.ts +0 -90
  114. package/src/models/PaginatedDefinitionResourceResponse.ts +0 -90
  115. package/src/models/ProductAvailability.ts +0 -54
  116. package/src/models/StoreDefinitionRequest.ts +0 -75
  117. package/src/models/TagFrontendResource.ts +0 -119
  118. package/src/models/TagFrontendResourceArrayResponse.ts +0 -73
  119. package/src/models/UpdateDefinitionRequest.ts +0 -75
@@ -1,40 +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 { PagingMetadata } from './PagingMetadata';
13
- import type { DefinitionResource } from './DefinitionResource';
14
- /**
15
- *
16
- * @export
17
- * @interface PaginatedDefinitionResourceResponse
18
- */
19
- export interface PaginatedDefinitionResourceResponse {
20
- /**
21
- *
22
- * @type {Array<DefinitionResource>}
23
- * @memberof PaginatedDefinitionResourceResponse
24
- */
25
- data: Array<DefinitionResource>;
26
- /**
27
- *
28
- * @type {PagingMetadata}
29
- * @memberof PaginatedDefinitionResourceResponse
30
- */
31
- meta: PagingMetadata;
32
- }
33
- /**
34
- * Check if a given object implements the PaginatedDefinitionResourceResponse interface.
35
- */
36
- export declare function instanceOfPaginatedDefinitionResourceResponse(value: object): value is PaginatedDefinitionResourceResponse;
37
- export declare function PaginatedDefinitionResourceResponseFromJSON(json: any): PaginatedDefinitionResourceResponse;
38
- export declare function PaginatedDefinitionResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedDefinitionResourceResponse;
39
- export declare function PaginatedDefinitionResourceResponseToJSON(json: any): PaginatedDefinitionResourceResponse;
40
- export declare function PaginatedDefinitionResourceResponseToJSONTyped(value?: PaginatedDefinitionResourceResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,57 +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.instanceOfPaginatedDefinitionResourceResponse = instanceOfPaginatedDefinitionResourceResponse;
17
- exports.PaginatedDefinitionResourceResponseFromJSON = PaginatedDefinitionResourceResponseFromJSON;
18
- exports.PaginatedDefinitionResourceResponseFromJSONTyped = PaginatedDefinitionResourceResponseFromJSONTyped;
19
- exports.PaginatedDefinitionResourceResponseToJSON = PaginatedDefinitionResourceResponseToJSON;
20
- exports.PaginatedDefinitionResourceResponseToJSONTyped = PaginatedDefinitionResourceResponseToJSONTyped;
21
- var PagingMetadata_1 = require("./PagingMetadata");
22
- var DefinitionResource_1 = require("./DefinitionResource");
23
- /**
24
- * Check if a given object implements the PaginatedDefinitionResourceResponse interface.
25
- */
26
- function instanceOfPaginatedDefinitionResourceResponse(value) {
27
- if (!('data' in value) || value['data'] === undefined)
28
- return false;
29
- if (!('meta' in value) || value['meta'] === undefined)
30
- return false;
31
- return true;
32
- }
33
- function PaginatedDefinitionResourceResponseFromJSON(json) {
34
- return PaginatedDefinitionResourceResponseFromJSONTyped(json, false);
35
- }
36
- function PaginatedDefinitionResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
37
- if (json == null) {
38
- return json;
39
- }
40
- return {
41
- 'data': (json['data'].map(DefinitionResource_1.DefinitionResourceFromJSON)),
42
- 'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
43
- };
44
- }
45
- function PaginatedDefinitionResourceResponseToJSON(json) {
46
- return PaginatedDefinitionResourceResponseToJSONTyped(json, false);
47
- }
48
- function PaginatedDefinitionResourceResponseToJSONTyped(value, ignoreDiscriminator) {
49
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
- if (value == null) {
51
- return value;
52
- }
53
- return {
54
- 'data': (value['data'].map(DefinitionResource_1.DefinitionResourceToJSON)),
55
- 'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
56
- };
57
- }
@@ -1,26 +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
- */
16
- export declare const ProductAvailability: {
17
- readonly InStock: "in_stock";
18
- readonly OutOfStock: "out_of_stock";
19
- readonly Preorder: "preorder";
20
- };
21
- export type ProductAvailability = typeof ProductAvailability[keyof typeof ProductAvailability];
22
- export declare function instanceOfProductAvailability(value: any): boolean;
23
- export declare function ProductAvailabilityFromJSON(json: any): ProductAvailability;
24
- export declare function ProductAvailabilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductAvailability;
25
- export declare function ProductAvailabilityToJSON(value?: ProductAvailability | null): any;
26
- export declare function ProductAvailabilityToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductAvailability;
@@ -1,52 +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.ProductAvailability = void 0;
17
- exports.instanceOfProductAvailability = instanceOfProductAvailability;
18
- exports.ProductAvailabilityFromJSON = ProductAvailabilityFromJSON;
19
- exports.ProductAvailabilityFromJSONTyped = ProductAvailabilityFromJSONTyped;
20
- exports.ProductAvailabilityToJSON = ProductAvailabilityToJSON;
21
- exports.ProductAvailabilityToJSONTyped = ProductAvailabilityToJSONTyped;
22
- /**
23
- *
24
- * @export
25
- */
26
- exports.ProductAvailability = {
27
- InStock: 'in_stock',
28
- OutOfStock: 'out_of_stock',
29
- Preorder: 'preorder'
30
- };
31
- function instanceOfProductAvailability(value) {
32
- for (var key in exports.ProductAvailability) {
33
- if (Object.prototype.hasOwnProperty.call(exports.ProductAvailability, key)) {
34
- if (exports.ProductAvailability[key] === value) {
35
- return true;
36
- }
37
- }
38
- }
39
- return false;
40
- }
41
- function ProductAvailabilityFromJSON(json) {
42
- return ProductAvailabilityFromJSONTyped(json, false);
43
- }
44
- function ProductAvailabilityFromJSONTyped(json, ignoreDiscriminator) {
45
- return json;
46
- }
47
- function ProductAvailabilityToJSON(value) {
48
- return value;
49
- }
50
- function ProductAvailabilityToJSONTyped(value, ignoreDiscriminator) {
51
- return value;
52
- }
@@ -1,38 +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 StoreDefinitionRequest
16
- */
17
- export interface StoreDefinitionRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof StoreDefinitionRequest
22
- */
23
- name: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof StoreDefinitionRequest
28
- */
29
- content: string;
30
- }
31
- /**
32
- * Check if a given object implements the StoreDefinitionRequest interface.
33
- */
34
- export declare function instanceOfStoreDefinitionRequest(value: object): value is StoreDefinitionRequest;
35
- export declare function StoreDefinitionRequestFromJSON(json: any): StoreDefinitionRequest;
36
- export declare function StoreDefinitionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreDefinitionRequest;
37
- export declare function StoreDefinitionRequestToJSON(json: any): StoreDefinitionRequest;
38
- export declare function StoreDefinitionRequestToJSONTyped(value?: StoreDefinitionRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,55 +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.instanceOfStoreDefinitionRequest = instanceOfStoreDefinitionRequest;
17
- exports.StoreDefinitionRequestFromJSON = StoreDefinitionRequestFromJSON;
18
- exports.StoreDefinitionRequestFromJSONTyped = StoreDefinitionRequestFromJSONTyped;
19
- exports.StoreDefinitionRequestToJSON = StoreDefinitionRequestToJSON;
20
- exports.StoreDefinitionRequestToJSONTyped = StoreDefinitionRequestToJSONTyped;
21
- /**
22
- * Check if a given object implements the StoreDefinitionRequest interface.
23
- */
24
- function instanceOfStoreDefinitionRequest(value) {
25
- if (!('name' in value) || value['name'] === undefined)
26
- return false;
27
- if (!('content' in value) || value['content'] === undefined)
28
- return false;
29
- return true;
30
- }
31
- function StoreDefinitionRequestFromJSON(json) {
32
- return StoreDefinitionRequestFromJSONTyped(json, false);
33
- }
34
- function StoreDefinitionRequestFromJSONTyped(json, ignoreDiscriminator) {
35
- if (json == null) {
36
- return json;
37
- }
38
- return {
39
- 'name': json['name'],
40
- 'content': json['content'],
41
- };
42
- }
43
- function StoreDefinitionRequestToJSON(json) {
44
- return StoreDefinitionRequestToJSONTyped(json, false);
45
- }
46
- function StoreDefinitionRequestToJSONTyped(value, ignoreDiscriminator) {
47
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
- if (value == null) {
49
- return value;
50
- }
51
- return {
52
- 'name': value['name'],
53
- 'content': value['content'],
54
- };
55
- }
@@ -1,63 +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 { DescriptionResource } from './DescriptionResource';
13
- /**
14
- *
15
- * @export
16
- * @interface TagFrontendResource
17
- */
18
- export interface TagFrontendResource {
19
- /**
20
- *
21
- * @type {number}
22
- * @memberof TagFrontendResource
23
- */
24
- id: number;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof TagFrontendResource
29
- */
30
- name: string;
31
- /**
32
- *
33
- * @type {string}
34
- * @memberof TagFrontendResource
35
- */
36
- slug: string;
37
- /**
38
- *
39
- * @type {string}
40
- * @memberof TagFrontendResource
41
- */
42
- type: string;
43
- /**
44
- *
45
- * @type {object}
46
- * @memberof TagFrontendResource
47
- */
48
- seo: object;
49
- /**
50
- *
51
- * @type {DescriptionResource}
52
- * @memberof TagFrontendResource
53
- */
54
- description: DescriptionResource | null;
55
- }
56
- /**
57
- * Check if a given object implements the TagFrontendResource interface.
58
- */
59
- export declare function instanceOfTagFrontendResource(value: object): value is TagFrontendResource;
60
- export declare function TagFrontendResourceFromJSON(json: any): TagFrontendResource;
61
- export declare function TagFrontendResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): TagFrontendResource;
62
- export declare function TagFrontendResourceToJSON(json: any): TagFrontendResource;
63
- export declare function TagFrontendResourceToJSONTyped(value?: TagFrontendResource | null, ignoreDiscriminator?: boolean): any;
@@ -1,72 +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.instanceOfTagFrontendResource = instanceOfTagFrontendResource;
17
- exports.TagFrontendResourceFromJSON = TagFrontendResourceFromJSON;
18
- exports.TagFrontendResourceFromJSONTyped = TagFrontendResourceFromJSONTyped;
19
- exports.TagFrontendResourceToJSON = TagFrontendResourceToJSON;
20
- exports.TagFrontendResourceToJSONTyped = TagFrontendResourceToJSONTyped;
21
- var DescriptionResource_1 = require("./DescriptionResource");
22
- /**
23
- * Check if a given object implements the TagFrontendResource interface.
24
- */
25
- function instanceOfTagFrontendResource(value) {
26
- if (!('id' in value) || value['id'] === undefined)
27
- return false;
28
- if (!('name' in value) || value['name'] === undefined)
29
- return false;
30
- if (!('slug' in value) || value['slug'] === undefined)
31
- return false;
32
- if (!('type' in value) || value['type'] === undefined)
33
- return false;
34
- if (!('seo' in value) || value['seo'] === undefined)
35
- return false;
36
- if (!('description' in value) || value['description'] === undefined)
37
- return false;
38
- return true;
39
- }
40
- function TagFrontendResourceFromJSON(json) {
41
- return TagFrontendResourceFromJSONTyped(json, false);
42
- }
43
- function TagFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
44
- if (json == null) {
45
- return json;
46
- }
47
- return {
48
- 'id': json['id'],
49
- 'name': json['name'],
50
- 'slug': json['slug'],
51
- 'type': json['type'],
52
- 'seo': json['seo'],
53
- 'description': (0, DescriptionResource_1.DescriptionResourceFromJSON)(json['description']),
54
- };
55
- }
56
- function TagFrontendResourceToJSON(json) {
57
- return TagFrontendResourceToJSONTyped(json, false);
58
- }
59
- function TagFrontendResourceToJSONTyped(value, ignoreDiscriminator) {
60
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
61
- if (value == null) {
62
- return value;
63
- }
64
- return {
65
- 'id': value['id'],
66
- 'name': value['name'],
67
- 'slug': value['slug'],
68
- 'type': value['type'],
69
- 'seo': value['seo'],
70
- 'description': (0, DescriptionResource_1.DescriptionResourceToJSON)(value['description']),
71
- };
72
- }
@@ -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 { TagFrontendResource } from './TagFrontendResource';
13
- /**
14
- *
15
- * @export
16
- * @interface TagFrontendResourceArrayResponse
17
- */
18
- export interface TagFrontendResourceArrayResponse {
19
- /**
20
- *
21
- * @type {Array<TagFrontendResource>}
22
- * @memberof TagFrontendResourceArrayResponse
23
- */
24
- data?: Array<TagFrontendResource>;
25
- }
26
- /**
27
- * Check if a given object implements the TagFrontendResourceArrayResponse interface.
28
- */
29
- export declare function instanceOfTagFrontendResourceArrayResponse(value: object): value is TagFrontendResourceArrayResponse;
30
- export declare function TagFrontendResourceArrayResponseFromJSON(json: any): TagFrontendResourceArrayResponse;
31
- export declare function TagFrontendResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TagFrontendResourceArrayResponse;
32
- export declare function TagFrontendResourceArrayResponseToJSON(json: any): TagFrontendResourceArrayResponse;
33
- export declare function TagFrontendResourceArrayResponseToJSONTyped(value?: TagFrontendResourceArrayResponse | 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.instanceOfTagFrontendResourceArrayResponse = instanceOfTagFrontendResourceArrayResponse;
17
- exports.TagFrontendResourceArrayResponseFromJSON = TagFrontendResourceArrayResponseFromJSON;
18
- exports.TagFrontendResourceArrayResponseFromJSONTyped = TagFrontendResourceArrayResponseFromJSONTyped;
19
- exports.TagFrontendResourceArrayResponseToJSON = TagFrontendResourceArrayResponseToJSON;
20
- exports.TagFrontendResourceArrayResponseToJSONTyped = TagFrontendResourceArrayResponseToJSONTyped;
21
- var TagFrontendResource_1 = require("./TagFrontendResource");
22
- /**
23
- * Check if a given object implements the TagFrontendResourceArrayResponse interface.
24
- */
25
- function instanceOfTagFrontendResourceArrayResponse(value) {
26
- return true;
27
- }
28
- function TagFrontendResourceArrayResponseFromJSON(json) {
29
- return TagFrontendResourceArrayResponseFromJSONTyped(json, false);
30
- }
31
- function TagFrontendResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'data': json['data'] == null ? undefined : (json['data'].map(TagFrontendResource_1.TagFrontendResourceFromJSON)),
37
- };
38
- }
39
- function TagFrontendResourceArrayResponseToJSON(json) {
40
- return TagFrontendResourceArrayResponseToJSONTyped(json, false);
41
- }
42
- function TagFrontendResourceArrayResponseToJSONTyped(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(TagFrontendResource_1.TagFrontendResourceToJSON)),
49
- };
50
- }
@@ -1,38 +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 UpdateDefinitionRequest
16
- */
17
- export interface UpdateDefinitionRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof UpdateDefinitionRequest
22
- */
23
- name: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof UpdateDefinitionRequest
28
- */
29
- content: string;
30
- }
31
- /**
32
- * Check if a given object implements the UpdateDefinitionRequest interface.
33
- */
34
- export declare function instanceOfUpdateDefinitionRequest(value: object): value is UpdateDefinitionRequest;
35
- export declare function UpdateDefinitionRequestFromJSON(json: any): UpdateDefinitionRequest;
36
- export declare function UpdateDefinitionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateDefinitionRequest;
37
- export declare function UpdateDefinitionRequestToJSON(json: any): UpdateDefinitionRequest;
38
- export declare function UpdateDefinitionRequestToJSONTyped(value?: UpdateDefinitionRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,55 +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.instanceOfUpdateDefinitionRequest = instanceOfUpdateDefinitionRequest;
17
- exports.UpdateDefinitionRequestFromJSON = UpdateDefinitionRequestFromJSON;
18
- exports.UpdateDefinitionRequestFromJSONTyped = UpdateDefinitionRequestFromJSONTyped;
19
- exports.UpdateDefinitionRequestToJSON = UpdateDefinitionRequestToJSON;
20
- exports.UpdateDefinitionRequestToJSONTyped = UpdateDefinitionRequestToJSONTyped;
21
- /**
22
- * Check if a given object implements the UpdateDefinitionRequest interface.
23
- */
24
- function instanceOfUpdateDefinitionRequest(value) {
25
- if (!('name' in value) || value['name'] === undefined)
26
- return false;
27
- if (!('content' in value) || value['content'] === undefined)
28
- return false;
29
- return true;
30
- }
31
- function UpdateDefinitionRequestFromJSON(json) {
32
- return UpdateDefinitionRequestFromJSONTyped(json, false);
33
- }
34
- function UpdateDefinitionRequestFromJSONTyped(json, ignoreDiscriminator) {
35
- if (json == null) {
36
- return json;
37
- }
38
- return {
39
- 'name': json['name'],
40
- 'content': json['content'],
41
- };
42
- }
43
- function UpdateDefinitionRequestToJSON(json) {
44
- return UpdateDefinitionRequestToJSONTyped(json, false);
45
- }
46
- function UpdateDefinitionRequestToJSONTyped(value, ignoreDiscriminator) {
47
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
- if (value == null) {
49
- return value;
50
- }
51
- return {
52
- 'name': value['name'],
53
- 'content': value['content'],
54
- };
55
- }
@@ -1,46 +0,0 @@
1
-
2
- # CategoryFrontendResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `id` | number
10
- `name` | string
11
- `slug` | string
12
- `parentId` | string
13
- `thumbnail` | [AssetLiteResource](AssetLiteResource.md)
14
- `seo` | object
15
- `descriptions` | [Array&lt;DescriptionResource&gt;](DescriptionResource.md)
16
-
17
- ## Example
18
-
19
- ```typescript
20
- import type { CategoryFrontendResource } from '@digital8/lighting-illusions-ts-sdk'
21
-
22
- // TODO: Update the object below with actual values
23
- const example = {
24
- "id": null,
25
- "name": null,
26
- "slug": null,
27
- "parentId": null,
28
- "thumbnail": null,
29
- "seo": null,
30
- "descriptions": null,
31
- } satisfies CategoryFrontendResource
32
-
33
- console.log(example)
34
-
35
- // Convert the instance to a JSON string
36
- const exampleJSON: string = JSON.stringify(example)
37
- console.log(exampleJSON)
38
-
39
- // Parse the JSON string back to an object
40
- const exampleParsed = JSON.parse(exampleJSON) as CategoryFrontendResource
41
- console.log(exampleParsed)
42
- ```
43
-
44
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
45
-
46
-
@@ -1,34 +0,0 @@
1
-
2
- # CategoryFrontendResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array&lt;CategoryFrontendResource&gt;](CategoryFrontendResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { CategoryFrontendResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies CategoryFrontendResourceArrayResponse
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 CategoryFrontendResourceArrayResponse
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
-