@digital8/lighting-illusions-ts-sdk 0.0.650 → 0.0.652

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 (67) hide show
  1. package/.openapi-generator/FILES +16 -2
  2. package/README.md +10 -3
  3. package/dist/models/CategoryFrontendResource.d.ts +70 -0
  4. package/dist/models/CategoryFrontendResource.js +73 -0
  5. package/dist/models/CategoryFrontendResourceArrayResponse.d.ts +33 -0
  6. package/dist/models/CategoryFrontendResourceArrayResponse.js +50 -0
  7. package/dist/models/CategoryWithChildrenFrontendResource.d.ts +39 -0
  8. package/dist/models/CategoryWithChildrenFrontendResource.js +56 -0
  9. package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.d.ts +33 -0
  10. package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.js +50 -0
  11. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  12. package/dist/models/ExternalApiLogResource.js +1 -3
  13. package/dist/models/GlobalSearchProductResource.d.ts +6 -0
  14. package/dist/models/GlobalSearchProductResource.js +4 -0
  15. package/dist/models/OverlayTemplateAssetFrontendResource.d.ts +3 -2
  16. package/dist/models/OverlayTemplateAssetFrontendResource.js +3 -2
  17. package/dist/models/OverlayTemplateAssetResource.d.ts +3 -3
  18. package/dist/models/OverlayTemplateAssetResource.js +3 -3
  19. package/dist/models/PaginatedCategoryFrontendResourceResponse.d.ts +40 -0
  20. package/dist/models/PaginatedCategoryFrontendResourceResponse.js +57 -0
  21. package/dist/models/ProductAvailability.d.ts +26 -0
  22. package/dist/models/ProductAvailability.js +52 -0
  23. package/dist/models/ProductCompareResource.d.ts +2 -2
  24. package/dist/models/ProductSearchResultResource.d.ts +12 -6
  25. package/dist/models/ProductSearchResultResource.js +8 -4
  26. package/dist/models/SupplierFrontendResource.d.ts +7 -8
  27. package/dist/models/SupplierFrontendResource.js +8 -9
  28. package/dist/models/TagFrontendResource.d.ts +63 -0
  29. package/dist/models/TagFrontendResource.js +72 -0
  30. package/dist/models/TagFrontendResourceArrayResponse.d.ts +33 -0
  31. package/dist/models/TagFrontendResourceArrayResponse.js +50 -0
  32. package/dist/models/index.d.ts +8 -1
  33. package/dist/models/index.js +8 -1
  34. package/docs/CategoryFrontendResource.md +46 -0
  35. package/docs/CategoryFrontendResourceArrayResponse.md +34 -0
  36. package/docs/CategoryWithChildrenFrontendResource.md +36 -0
  37. package/docs/CategoryWithChildrenFrontendResourceArrayResponse.md +34 -0
  38. package/docs/GlobalSearchProductResource.md +2 -0
  39. package/docs/OverlayTemplateAssetFrontendResource.md +1 -1
  40. package/docs/OverlayTemplateAssetResource.md +1 -1
  41. package/docs/PaginatedCategoryFrontendResourceResponse.md +36 -0
  42. package/docs/{ProductStatus.md → ProductAvailability.md} +4 -4
  43. package/docs/ProductCompareResource.md +1 -1
  44. package/docs/ProductSearchResultResource.md +4 -2
  45. package/docs/SupplierFrontendResource.md +4 -4
  46. package/docs/TagFrontendResource.md +44 -0
  47. package/docs/TagFrontendResourceArrayResponse.md +34 -0
  48. package/package.json +1 -1
  49. package/src/models/CategoryFrontendResource.ts +133 -0
  50. package/src/models/CategoryFrontendResourceArrayResponse.ts +73 -0
  51. package/src/models/CategoryWithChildrenFrontendResource.ts +83 -0
  52. package/src/models/CategoryWithChildrenFrontendResourceArrayResponse.ts +73 -0
  53. package/src/models/ExternalApiLogResource.ts +2 -3
  54. package/src/models/GlobalSearchProductResource.ts +9 -0
  55. package/src/models/OverlayTemplateAssetFrontendResource.ts +12 -4
  56. package/src/models/OverlayTemplateAssetResource.ts +10 -10
  57. package/src/models/PaginatedCategoryFrontendResourceResponse.ts +90 -0
  58. package/src/models/ProductAvailability.ts +54 -0
  59. package/src/models/ProductCompareResource.ts +2 -2
  60. package/src/models/ProductSearchResultResource.ts +18 -9
  61. package/src/models/SupplierFrontendResource.ts +20 -27
  62. package/src/models/TagFrontendResource.ts +119 -0
  63. package/src/models/TagFrontendResourceArrayResponse.ts +73 -0
  64. package/src/models/index.ts +8 -1
  65. package/dist/models/ProductStatus.d.ts +0 -24
  66. package/dist/models/ProductStatus.js +0 -50
  67. package/src/models/ProductStatus.ts +0 -52
@@ -32,6 +32,10 @@ export * from './CategoryAutomationConditionType';
32
32
  export * from './CategoryAutomationFieldType';
33
33
  export * from './CategoryAutomationRuleResource';
34
34
  export * from './CategoryAutomationRuleResourceArrayResponse';
35
+ export * from './CategoryFrontendResource';
36
+ export * from './CategoryFrontendResourceArrayResponse';
37
+ export * from './CategoryWithChildrenFrontendResource';
38
+ export * from './CategoryWithChildrenFrontendResourceArrayResponse';
35
39
  export * from './CouponDiscountType';
36
40
  export * from './DefinitionListResource';
37
41
  export * from './DefinitionListResourceArrayResponse';
@@ -110,6 +114,7 @@ export * from './PaginatedAttributeListResourceResponse';
110
114
  export * from './PaginatedAttributeLiteResourceResponse';
111
115
  export * from './PaginatedAttributeProductTypeRelationResourceResponse';
112
116
  export * from './PaginatedAttributeResourceResponse';
117
+ export * from './PaginatedCategoryFrontendResourceResponse';
113
118
  export * from './PaginatedDefinitionListResourceResponse';
114
119
  export * from './PaginatedDefinitionResourceResponse';
115
120
  export * from './PaginatedDocumentResourceResponse';
@@ -151,6 +156,7 @@ export * from './PreviewAutomationRulesResource';
151
156
  export * from './PreviewAutomationRulesResourceArrayResponse';
152
157
  export * from './ProductAggregationResource';
153
158
  export * from './ProductAggregationResourceArrayResponse';
159
+ export * from './ProductAvailability';
154
160
  export * from './ProductCategoryHierarchyResource';
155
161
  export * from './ProductCategoryHierarchyResourceArrayResponse';
156
162
  export * from './ProductCategoryListResource';
@@ -189,7 +195,6 @@ export * from './ProductSearchResponseResourcePriceInfo';
189
195
  export * from './ProductSearchResultResource';
190
196
  export * from './ProductSearchResultResourceArrayResponse';
191
197
  export * from './ProductSortBy';
192
- export * from './ProductStatus';
193
198
  export * from './ProductTypeListResource';
194
199
  export * from './ProductTypeListResourceArrayResponse';
195
200
  export * from './ProductTypeLiteResource';
@@ -242,6 +247,8 @@ export * from './SupplierLiteResource';
242
247
  export * from './SupplierLiteResourceArrayResponse';
243
248
  export * from './SupplierResource';
244
249
  export * from './SupplierResourceArrayResponse';
250
+ export * from './TagFrontendResource';
251
+ export * from './TagFrontendResourceArrayResponse';
245
252
  export * from './TagListResource';
246
253
  export * from './TagListResourceArrayResponse';
247
254
  export * from './TagLiteResource';
@@ -50,6 +50,10 @@ __exportStar(require("./CategoryAutomationConditionType"), exports);
50
50
  __exportStar(require("./CategoryAutomationFieldType"), exports);
51
51
  __exportStar(require("./CategoryAutomationRuleResource"), exports);
52
52
  __exportStar(require("./CategoryAutomationRuleResourceArrayResponse"), exports);
53
+ __exportStar(require("./CategoryFrontendResource"), exports);
54
+ __exportStar(require("./CategoryFrontendResourceArrayResponse"), exports);
55
+ __exportStar(require("./CategoryWithChildrenFrontendResource"), exports);
56
+ __exportStar(require("./CategoryWithChildrenFrontendResourceArrayResponse"), exports);
53
57
  __exportStar(require("./CouponDiscountType"), exports);
54
58
  __exportStar(require("./DefinitionListResource"), exports);
55
59
  __exportStar(require("./DefinitionListResourceArrayResponse"), exports);
@@ -128,6 +132,7 @@ __exportStar(require("./PaginatedAttributeListResourceResponse"), exports);
128
132
  __exportStar(require("./PaginatedAttributeLiteResourceResponse"), exports);
129
133
  __exportStar(require("./PaginatedAttributeProductTypeRelationResourceResponse"), exports);
130
134
  __exportStar(require("./PaginatedAttributeResourceResponse"), exports);
135
+ __exportStar(require("./PaginatedCategoryFrontendResourceResponse"), exports);
131
136
  __exportStar(require("./PaginatedDefinitionListResourceResponse"), exports);
132
137
  __exportStar(require("./PaginatedDefinitionResourceResponse"), exports);
133
138
  __exportStar(require("./PaginatedDocumentResourceResponse"), exports);
@@ -169,6 +174,7 @@ __exportStar(require("./PreviewAutomationRulesResource"), exports);
169
174
  __exportStar(require("./PreviewAutomationRulesResourceArrayResponse"), exports);
170
175
  __exportStar(require("./ProductAggregationResource"), exports);
171
176
  __exportStar(require("./ProductAggregationResourceArrayResponse"), exports);
177
+ __exportStar(require("./ProductAvailability"), exports);
172
178
  __exportStar(require("./ProductCategoryHierarchyResource"), exports);
173
179
  __exportStar(require("./ProductCategoryHierarchyResourceArrayResponse"), exports);
174
180
  __exportStar(require("./ProductCategoryListResource"), exports);
@@ -207,7 +213,6 @@ __exportStar(require("./ProductSearchResponseResourcePriceInfo"), exports);
207
213
  __exportStar(require("./ProductSearchResultResource"), exports);
208
214
  __exportStar(require("./ProductSearchResultResourceArrayResponse"), exports);
209
215
  __exportStar(require("./ProductSortBy"), exports);
210
- __exportStar(require("./ProductStatus"), exports);
211
216
  __exportStar(require("./ProductTypeListResource"), exports);
212
217
  __exportStar(require("./ProductTypeListResourceArrayResponse"), exports);
213
218
  __exportStar(require("./ProductTypeLiteResource"), exports);
@@ -260,6 +265,8 @@ __exportStar(require("./SupplierLiteResource"), exports);
260
265
  __exportStar(require("./SupplierLiteResourceArrayResponse"), exports);
261
266
  __exportStar(require("./SupplierResource"), exports);
262
267
  __exportStar(require("./SupplierResourceArrayResponse"), exports);
268
+ __exportStar(require("./TagFrontendResource"), exports);
269
+ __exportStar(require("./TagFrontendResourceArrayResponse"), exports);
263
270
  __exportStar(require("./TagListResource"), exports);
264
271
  __exportStar(require("./TagListResourceArrayResponse"), exports);
265
272
  __exportStar(require("./TagLiteResource"), exports);
@@ -0,0 +1,46 @@
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<DescriptionResource>](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
+
@@ -0,0 +1,34 @@
1
+
2
+ # CategoryFrontendResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<CategoryFrontendResource>](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
+
@@ -0,0 +1,36 @@
1
+
2
+ # CategoryWithChildrenFrontendResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `category` | [CategoryFrontendResource](CategoryFrontendResource.md)
10
+ `children` | [Array<CategoryFrontendResource>](CategoryFrontendResource.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { CategoryWithChildrenFrontendResource } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "category": null,
20
+ "children": null,
21
+ } satisfies CategoryWithChildrenFrontendResource
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as CategoryWithChildrenFrontendResource
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,34 @@
1
+
2
+ # CategoryWithChildrenFrontendResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<CategoryWithChildrenFrontendResource>](CategoryWithChildrenFrontendResource.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { CategoryWithChildrenFrontendResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "data": null,
19
+ } satisfies CategoryWithChildrenFrontendResourceArrayResponse
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 CategoryWithChildrenFrontendResourceArrayResponse
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
+
@@ -8,6 +8,7 @@ Name | Type
8
8
  ------------ | -------------
9
9
  `id` | number
10
10
  `name` | string
11
+ `model` | string
11
12
  `slug` | string
12
13
  `sku` | string
13
14
  `thumbnail` | string
@@ -26,6 +27,7 @@ import type { GlobalSearchProductResource } from '@digital8/lighting-illusions-t
26
27
  const example = {
27
28
  "id": null,
28
29
  "name": null,
30
+ "model": null,
29
31
  "slug": null,
30
32
  "sku": null,
31
33
  "thumbnail": null,
@@ -11,7 +11,7 @@ Name | Type
11
11
  `padding` | number
12
12
  `horizontalMargin` | number
13
13
  `verticalMargin` | number
14
- `image` | Array<string>
14
+ `image` | [AssetLiteResource](AssetLiteResource.md)
15
15
 
16
16
  ## Example
17
17
 
@@ -7,7 +7,7 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `id` | number
10
- `asset` | [AssetResource](AssetResource.md)
10
+ `asset` | [AssetLiteResource](AssetLiteResource.md)
11
11
  `position` | string
12
12
  `padding` | number
13
13
  `horizontalMargin` | number
@@ -0,0 +1,36 @@
1
+
2
+ # PaginatedCategoryFrontendResourceResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<CategoryFrontendResource>](CategoryFrontendResource.md)
10
+ `meta` | [PagingMetadata](PagingMetadata.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { PaginatedCategoryFrontendResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "data": null,
20
+ "meta": null,
21
+ } satisfies PaginatedCategoryFrontendResourceResponse
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as PaginatedCategoryFrontendResourceResponse
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -1,5 +1,5 @@
1
1
 
2
- # ProductStatus
2
+ # ProductAvailability
3
3
 
4
4
 
5
5
  ## Properties
@@ -10,11 +10,11 @@ Name | Type
10
10
  ## Example
11
11
 
12
12
  ```typescript
13
- import type { ProductStatus } from '@digital8/lighting-illusions-ts-sdk'
13
+ import type { ProductAvailability } from '@digital8/lighting-illusions-ts-sdk'
14
14
 
15
15
  // TODO: Update the object below with actual values
16
16
  const example = {
17
- } satisfies ProductStatus
17
+ } satisfies ProductAvailability
18
18
 
19
19
  console.log(example)
20
20
 
@@ -23,7 +23,7 @@ const exampleJSON: string = JSON.stringify(example)
23
23
  console.log(exampleJSON)
24
24
 
25
25
  // Parse the JSON string back to an object
26
- const exampleParsed = JSON.parse(exampleJSON) as ProductStatus
26
+ const exampleParsed = JSON.parse(exampleJSON) as ProductAvailability
27
27
  console.log(exampleParsed)
28
28
  ```
29
29
 
@@ -16,7 +16,7 @@ Name | Type
16
16
  `parentName` | string
17
17
  `price` | number
18
18
  `salePrice` | number
19
- `availability` | number
19
+ `availability` | string
20
20
  `optionsCount` | number
21
21
  `averageRating` | number
22
22
  `thumbnail` | [AssetFrontendResource](AssetFrontendResource.md)
@@ -16,12 +16,13 @@ Name | Type
16
16
  `thumbnail` | string
17
17
  `averageRating` | string
18
18
  `labelDetails` | Array<number>
19
- `categories` | Array<object>
20
19
  `supplierName` | string
21
20
  `supplierLogo` | string
22
21
  `supplierId` | number
23
22
  `availability` | string
24
23
  `wishlisted` | boolean
24
+ `variationCount` | number
25
+ `overlayAssets` | Array<object>
25
26
 
26
27
  ## Example
27
28
 
@@ -40,12 +41,13 @@ const example = {
40
41
  "thumbnail": null,
41
42
  "averageRating": null,
42
43
  "labelDetails": null,
43
- "categories": null,
44
44
  "supplierName": null,
45
45
  "supplierLogo": null,
46
46
  "supplierId": null,
47
47
  "availability": null,
48
48
  "wishlisted": null,
49
+ "variationCount": null,
50
+ "overlayAssets": null,
49
51
  } satisfies ProductSearchResultResource
50
52
 
51
53
  console.log(example)
@@ -9,10 +9,10 @@ Name | Type
9
9
  `id` | number
10
10
  `name` | string
11
11
  `slug` | string
12
- `thumbnail` | [AssetResource](AssetResource.md)
12
+ `thumbnail` | [AssetLiteResource](AssetLiteResource.md)
13
13
  `supplierEta` | number
14
- `seo` | [SEOResource](SEOResource.md)
15
- `descriptions` | [Array<DescriptionResource>](DescriptionResource.md)
14
+ `seo` | object
15
+ `description` | [DescriptionResource](DescriptionResource.md)
16
16
 
17
17
  ## Example
18
18
 
@@ -27,7 +27,7 @@ const example = {
27
27
  "thumbnail": null,
28
28
  "supplierEta": null,
29
29
  "seo": null,
30
- "descriptions": null,
30
+ "description": null,
31
31
  } satisfies SupplierFrontendResource
32
32
 
33
33
  console.log(example)
@@ -0,0 +1,44 @@
1
+
2
+ # TagFrontendResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `name` | string
11
+ `slug` | string
12
+ `type` | string
13
+ `seo` | object
14
+ `description` | [DescriptionResource](DescriptionResource.md)
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { TagFrontendResource } from '@digital8/lighting-illusions-ts-sdk'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "id": null,
24
+ "name": null,
25
+ "slug": null,
26
+ "type": null,
27
+ "seo": null,
28
+ "description": null,
29
+ } satisfies TagFrontendResource
30
+
31
+ console.log(example)
32
+
33
+ // Convert the instance to a JSON string
34
+ const exampleJSON: string = JSON.stringify(example)
35
+ console.log(exampleJSON)
36
+
37
+ // Parse the JSON string back to an object
38
+ const exampleParsed = JSON.parse(exampleJSON) as TagFrontendResource
39
+ console.log(exampleParsed)
40
+ ```
41
+
42
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
43
+
44
+
@@ -0,0 +1,34 @@
1
+
2
+ # TagFrontendResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array<TagFrontendResource>](TagFrontendResource.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { TagFrontendResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "data": null,
19
+ } satisfies TagFrontendResourceArrayResponse
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 TagFrontendResourceArrayResponse
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.650",
3
+ "version": "0.0.652",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -0,0 +1,133 @@
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 { AssetLiteResource } from './AssetLiteResource';
17
+ import {
18
+ AssetLiteResourceFromJSON,
19
+ AssetLiteResourceFromJSONTyped,
20
+ AssetLiteResourceToJSON,
21
+ AssetLiteResourceToJSONTyped,
22
+ } from './AssetLiteResource';
23
+ import type { DescriptionResource } from './DescriptionResource';
24
+ import {
25
+ DescriptionResourceFromJSON,
26
+ DescriptionResourceFromJSONTyped,
27
+ DescriptionResourceToJSON,
28
+ DescriptionResourceToJSONTyped,
29
+ } from './DescriptionResource';
30
+
31
+ /**
32
+ *
33
+ * @export
34
+ * @interface CategoryFrontendResource
35
+ */
36
+ export interface CategoryFrontendResource {
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof CategoryFrontendResource
41
+ */
42
+ id?: number | null;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof CategoryFrontendResource
47
+ */
48
+ name: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof CategoryFrontendResource
53
+ */
54
+ slug: string;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof CategoryFrontendResource
59
+ */
60
+ parentId?: string | null;
61
+ /**
62
+ *
63
+ * @type {AssetLiteResource}
64
+ * @memberof CategoryFrontendResource
65
+ */
66
+ thumbnail: AssetLiteResource | null;
67
+ /**
68
+ *
69
+ * @type {object}
70
+ * @memberof CategoryFrontendResource
71
+ */
72
+ seo: object;
73
+ /**
74
+ *
75
+ * @type {Array<DescriptionResource>}
76
+ * @memberof CategoryFrontendResource
77
+ */
78
+ descriptions: Array<DescriptionResource> | null;
79
+ }
80
+
81
+ /**
82
+ * Check if a given object implements the CategoryFrontendResource interface.
83
+ */
84
+ export function instanceOfCategoryFrontendResource(value: object): value is CategoryFrontendResource {
85
+ if (!('name' in value) || value['name'] === undefined) return false;
86
+ if (!('slug' in value) || value['slug'] === undefined) return false;
87
+ if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
88
+ if (!('seo' in value) || value['seo'] === undefined) return false;
89
+ if (!('descriptions' in value) || value['descriptions'] === undefined) return false;
90
+ return true;
91
+ }
92
+
93
+ export function CategoryFrontendResourceFromJSON(json: any): CategoryFrontendResource {
94
+ return CategoryFrontendResourceFromJSONTyped(json, false);
95
+ }
96
+
97
+ export function CategoryFrontendResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): CategoryFrontendResource {
98
+ if (json == null) {
99
+ return json;
100
+ }
101
+ return {
102
+
103
+ 'id': json['id'] == null ? undefined : json['id'],
104
+ 'name': json['name'],
105
+ 'slug': json['slug'],
106
+ 'parentId': json['parentId'] == null ? undefined : json['parentId'],
107
+ 'thumbnail': AssetLiteResourceFromJSON(json['thumbnail']),
108
+ 'seo': json['seo'],
109
+ 'descriptions': (json['descriptions'] == null ? null : (json['descriptions'] as Array<any>).map(DescriptionResourceFromJSON)),
110
+ };
111
+ }
112
+
113
+ export function CategoryFrontendResourceToJSON(json: any): CategoryFrontendResource {
114
+ return CategoryFrontendResourceToJSONTyped(json, false);
115
+ }
116
+
117
+ export function CategoryFrontendResourceToJSONTyped(value?: CategoryFrontendResource | null, ignoreDiscriminator: boolean = false): any {
118
+ if (value == null) {
119
+ return value;
120
+ }
121
+
122
+ return {
123
+
124
+ 'id': value['id'],
125
+ 'name': value['name'],
126
+ 'slug': value['slug'],
127
+ 'parentId': value['parentId'],
128
+ 'thumbnail': AssetLiteResourceToJSON(value['thumbnail']),
129
+ 'seo': value['seo'],
130
+ 'descriptions': (value['descriptions'] == null ? null : (value['descriptions'] as Array<any>).map(DescriptionResourceToJSON)),
131
+ };
132
+ }
133
+