@digital8/lighting-illusions-ts-sdk 0.0.448 → 0.0.449

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 (133) hide show
  1. package/.openapi-generator/FILES +0 -30
  2. package/README.md +2 -22
  3. package/dist/apis/AttributeApi.d.ts +3 -14
  4. package/dist/apis/AttributeApi.js +1 -46
  5. package/dist/apis/ProductTypeApi.d.ts +3 -14
  6. package/dist/apis/ProductTypeApi.js +1 -46
  7. package/dist/apis/SiteApi.d.ts +3 -14
  8. package/dist/apis/SiteApi.js +1 -46
  9. package/dist/apis/SupplierApi.d.ts +3 -14
  10. package/dist/apis/SupplierApi.js +1 -46
  11. package/dist/apis/TagApi.d.ts +3 -14
  12. package/dist/apis/TagApi.js +1 -46
  13. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  14. package/dist/models/ExternalApiLogResource.js +3 -1
  15. package/dist/models/GetAllAttributeRequest.d.ts +9 -9
  16. package/dist/models/GetAllAttributeRequest.js +4 -4
  17. package/dist/models/GetAllOverlayTemplateRequest.d.ts +6 -6
  18. package/dist/models/GetAllOverlayTemplateRequest.js +2 -2
  19. package/dist/models/GetAllProductRequest.d.ts +0 -30
  20. package/dist/models/GetAllProductRequest.js +0 -10
  21. package/dist/models/IndexAttributeRequest.d.ts +0 -19
  22. package/dist/models/IndexAttributeRequest.js +1 -11
  23. package/dist/models/IndexExternalApiLogRequest.d.ts +3 -15
  24. package/dist/models/IndexExternalApiLogRequest.js +4 -8
  25. package/dist/models/IndexOverlayTemplateRequest.d.ts +0 -12
  26. package/dist/models/IndexOverlayTemplateRequest.js +0 -4
  27. package/dist/models/IndexProductTypeRequest.d.ts +0 -19
  28. package/dist/models/IndexProductTypeRequest.js +1 -11
  29. package/dist/models/IndexSiteNotificationRequest.d.ts +0 -12
  30. package/dist/models/IndexSiteNotificationRequest.js +0 -4
  31. package/dist/models/IndexSiteRequest.d.ts +0 -12
  32. package/dist/models/IndexSiteRequest.js +0 -4
  33. package/dist/models/IndexSupplierRequest.d.ts +0 -19
  34. package/dist/models/IndexSupplierRequest.js +1 -11
  35. package/dist/models/IndexTagRequest.d.ts +0 -19
  36. package/dist/models/IndexTagRequest.js +1 -11
  37. package/dist/models/index.d.ts +0 -15
  38. package/dist/models/index.js +0 -15
  39. package/docs/AttributeApi.md +3 -69
  40. package/docs/GetAllAttributeRequest.md +4 -4
  41. package/docs/GetAllOverlayTemplateRequest.md +2 -2
  42. package/docs/GetAllProductRequest.md +0 -10
  43. package/docs/IndexAttributeRequest.md +0 -4
  44. package/docs/IndexExternalApiLogRequest.md +4 -8
  45. package/docs/IndexOverlayTemplateRequest.md +0 -4
  46. package/docs/IndexProductTypeRequest.md +0 -4
  47. package/docs/IndexSiteNotificationRequest.md +0 -4
  48. package/docs/IndexSiteRequest.md +0 -4
  49. package/docs/IndexSupplierRequest.md +0 -4
  50. package/docs/IndexTagRequest.md +0 -4
  51. package/docs/ProductTypeApi.md +3 -69
  52. package/docs/SiteApi.md +3 -69
  53. package/docs/SupplierApi.md +3 -69
  54. package/docs/TagApi.md +3 -69
  55. package/package.json +1 -1
  56. package/src/apis/AttributeApi.ts +6 -42
  57. package/src/apis/ProductTypeApi.ts +6 -42
  58. package/src/apis/SiteApi.ts +6 -42
  59. package/src/apis/SupplierApi.ts +6 -42
  60. package/src/apis/TagApi.ts +6 -42
  61. package/src/models/ExternalApiLogResource.ts +3 -2
  62. package/src/models/GetAllAttributeRequest.ts +13 -13
  63. package/src/models/GetAllOverlayTemplateRequest.ts +8 -8
  64. package/src/models/GetAllProductRequest.ts +0 -40
  65. package/src/models/IndexAttributeRequest.ts +0 -24
  66. package/src/models/IndexExternalApiLogRequest.ts +7 -23
  67. package/src/models/IndexOverlayTemplateRequest.ts +0 -16
  68. package/src/models/IndexProductTypeRequest.ts +0 -24
  69. package/src/models/IndexSiteNotificationRequest.ts +0 -16
  70. package/src/models/IndexSiteRequest.ts +0 -16
  71. package/src/models/IndexSupplierRequest.ts +0 -24
  72. package/src/models/IndexTagRequest.ts +0 -24
  73. package/src/models/index.ts +0 -15
  74. package/dist/models/AttributeListResource.d.ts +0 -56
  75. package/dist/models/AttributeListResource.js +0 -67
  76. package/dist/models/AttributeListResourceArrayResponse.d.ts +0 -33
  77. package/dist/models/AttributeListResourceArrayResponse.js +0 -50
  78. package/dist/models/PaginatedAttributeListResourceResponse.d.ts +0 -40
  79. package/dist/models/PaginatedAttributeListResourceResponse.js +0 -57
  80. package/dist/models/PaginatedProductTypeListResourceResponse.d.ts +0 -40
  81. package/dist/models/PaginatedProductTypeListResourceResponse.js +0 -57
  82. package/dist/models/PaginatedSiteListResourceResponse.d.ts +0 -40
  83. package/dist/models/PaginatedSiteListResourceResponse.js +0 -57
  84. package/dist/models/PaginatedSupplierListResourceResponse.d.ts +0 -40
  85. package/dist/models/PaginatedSupplierListResourceResponse.js +0 -57
  86. package/dist/models/PaginatedTagListResourceResponse.d.ts +0 -40
  87. package/dist/models/PaginatedTagListResourceResponse.js +0 -57
  88. package/dist/models/ProductTypeListResource.d.ts +0 -38
  89. package/dist/models/ProductTypeListResource.js +0 -55
  90. package/dist/models/ProductTypeListResourceArrayResponse.d.ts +0 -33
  91. package/dist/models/ProductTypeListResourceArrayResponse.js +0 -50
  92. package/dist/models/SiteListResource.d.ts +0 -50
  93. package/dist/models/SiteListResource.js +0 -63
  94. package/dist/models/SiteListResourceArrayResponse.d.ts +0 -33
  95. package/dist/models/SiteListResourceArrayResponse.js +0 -50
  96. package/dist/models/SupplierListResource.d.ts +0 -57
  97. package/dist/models/SupplierListResource.js +0 -68
  98. package/dist/models/SupplierListResourceArrayResponse.d.ts +0 -33
  99. package/dist/models/SupplierListResourceArrayResponse.js +0 -50
  100. package/dist/models/TagListResource.d.ts +0 -57
  101. package/dist/models/TagListResource.js +0 -68
  102. package/dist/models/TagListResourceArrayResponse.d.ts +0 -33
  103. package/dist/models/TagListResourceArrayResponse.js +0 -50
  104. package/docs/AttributeListResource.md +0 -42
  105. package/docs/AttributeListResourceArrayResponse.md +0 -34
  106. package/docs/PaginatedAttributeListResourceResponse.md +0 -36
  107. package/docs/PaginatedProductTypeListResourceResponse.md +0 -36
  108. package/docs/PaginatedSiteListResourceResponse.md +0 -36
  109. package/docs/PaginatedSupplierListResourceResponse.md +0 -36
  110. package/docs/PaginatedTagListResourceResponse.md +0 -36
  111. package/docs/ProductTypeListResource.md +0 -36
  112. package/docs/ProductTypeListResourceArrayResponse.md +0 -34
  113. package/docs/SiteListResource.md +0 -40
  114. package/docs/SiteListResourceArrayResponse.md +0 -34
  115. package/docs/SupplierListResource.md +0 -42
  116. package/docs/SupplierListResourceArrayResponse.md +0 -34
  117. package/docs/TagListResource.md +0 -42
  118. package/docs/TagListResourceArrayResponse.md +0 -34
  119. package/src/models/AttributeListResource.ts +0 -102
  120. package/src/models/AttributeListResourceArrayResponse.ts +0 -73
  121. package/src/models/PaginatedAttributeListResourceResponse.ts +0 -90
  122. package/src/models/PaginatedProductTypeListResourceResponse.ts +0 -90
  123. package/src/models/PaginatedSiteListResourceResponse.ts +0 -90
  124. package/src/models/PaginatedSupplierListResourceResponse.ts +0 -90
  125. package/src/models/PaginatedTagListResourceResponse.ts +0 -90
  126. package/src/models/ProductTypeListResource.ts +0 -75
  127. package/src/models/ProductTypeListResourceArrayResponse.ts +0 -73
  128. package/src/models/SiteListResource.ts +0 -93
  129. package/src/models/SiteListResourceArrayResponse.ts +0 -73
  130. package/src/models/SupplierListResource.ts +0 -110
  131. package/src/models/SupplierListResourceArrayResponse.ts +0 -73
  132. package/src/models/TagListResource.ts +0 -110
  133. package/src/models/TagListResourceArrayResponse.ts +0 -73
@@ -1,36 +0,0 @@
1
-
2
- # PaginatedSiteListResourceResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array<SiteListResource>](SiteListResource.md)
10
- `meta` | [PagingMetadata](PagingMetadata.md)
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import type { PaginatedSiteListResourceResponse } 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 PaginatedSiteListResourceResponse
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 PaginatedSiteListResourceResponse
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,36 +0,0 @@
1
-
2
- # PaginatedSupplierListResourceResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array<SupplierListResource>](SupplierListResource.md)
10
- `meta` | [PagingMetadata](PagingMetadata.md)
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import type { PaginatedSupplierListResourceResponse } 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 PaginatedSupplierListResourceResponse
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 PaginatedSupplierListResourceResponse
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,36 +0,0 @@
1
-
2
- # PaginatedTagListResourceResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array<TagListResource>](TagListResource.md)
10
- `meta` | [PagingMetadata](PagingMetadata.md)
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import type { PaginatedTagListResourceResponse } 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 PaginatedTagListResourceResponse
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 PaginatedTagListResourceResponse
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,36 +0,0 @@
1
-
2
- # ProductTypeListResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `id` | number
10
- `name` | string
11
-
12
- ## Example
13
-
14
- ```typescript
15
- import type { ProductTypeListResource } from '@digital8/lighting-illusions-ts-sdk'
16
-
17
- // TODO: Update the object below with actual values
18
- const example = {
19
- "id": null,
20
- "name": null,
21
- } satisfies ProductTypeListResource
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 ProductTypeListResource
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,34 +0,0 @@
1
-
2
- # ProductTypeListResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array<ProductTypeListResource>](ProductTypeListResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { ProductTypeListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies ProductTypeListResourceArrayResponse
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 ProductTypeListResourceArrayResponse
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
-
@@ -1,40 +0,0 @@
1
-
2
- # SiteListResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `id` | number
10
- `name` | string
11
- `abbreviation` | string
12
- `domain` | string
13
-
14
- ## Example
15
-
16
- ```typescript
17
- import type { SiteListResource } from '@digital8/lighting-illusions-ts-sdk'
18
-
19
- // TODO: Update the object below with actual values
20
- const example = {
21
- "id": null,
22
- "name": null,
23
- "abbreviation": null,
24
- "domain": null,
25
- } satisfies SiteListResource
26
-
27
- console.log(example)
28
-
29
- // Convert the instance to a JSON string
30
- const exampleJSON: string = JSON.stringify(example)
31
- console.log(exampleJSON)
32
-
33
- // Parse the JSON string back to an object
34
- const exampleParsed = JSON.parse(exampleJSON) as SiteListResource
35
- console.log(exampleParsed)
36
- ```
37
-
38
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
39
-
40
-
@@ -1,34 +0,0 @@
1
-
2
- # SiteListResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array<SiteListResource>](SiteListResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { SiteListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies SiteListResourceArrayResponse
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 SiteListResourceArrayResponse
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
-
@@ -1,42 +0,0 @@
1
-
2
- # SupplierListResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `id` | number
10
- `name` | string
11
- `slug` | string
12
- `thumbnail` | [AssetLiteResource](AssetLiteResource.md)
13
- `supplierEta` | number
14
-
15
- ## Example
16
-
17
- ```typescript
18
- import type { SupplierListResource } from '@digital8/lighting-illusions-ts-sdk'
19
-
20
- // TODO: Update the object below with actual values
21
- const example = {
22
- "id": null,
23
- "name": null,
24
- "slug": null,
25
- "thumbnail": null,
26
- "supplierEta": null,
27
- } satisfies SupplierListResource
28
-
29
- console.log(example)
30
-
31
- // Convert the instance to a JSON string
32
- const exampleJSON: string = JSON.stringify(example)
33
- console.log(exampleJSON)
34
-
35
- // Parse the JSON string back to an object
36
- const exampleParsed = JSON.parse(exampleJSON) as SupplierListResource
37
- console.log(exampleParsed)
38
- ```
39
-
40
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
-
42
-
@@ -1,34 +0,0 @@
1
-
2
- # SupplierListResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array<SupplierListResource>](SupplierListResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { SupplierListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies SupplierListResourceArrayResponse
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 SupplierListResourceArrayResponse
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
-
@@ -1,42 +0,0 @@
1
-
2
- # TagListResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `id` | number
10
- `name` | string
11
- `slug` | string
12
- `type` | string
13
- `site` | [SiteLiteResource](SiteLiteResource.md)
14
-
15
- ## Example
16
-
17
- ```typescript
18
- import type { TagListResource } from '@digital8/lighting-illusions-ts-sdk'
19
-
20
- // TODO: Update the object below with actual values
21
- const example = {
22
- "id": null,
23
- "name": null,
24
- "slug": null,
25
- "type": null,
26
- "site": null,
27
- } satisfies TagListResource
28
-
29
- console.log(example)
30
-
31
- // Convert the instance to a JSON string
32
- const exampleJSON: string = JSON.stringify(example)
33
- console.log(exampleJSON)
34
-
35
- // Parse the JSON string back to an object
36
- const exampleParsed = JSON.parse(exampleJSON) as TagListResource
37
- console.log(exampleParsed)
38
- ```
39
-
40
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
-
42
-
@@ -1,34 +0,0 @@
1
-
2
- # TagListResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array<TagListResource>](TagListResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { TagListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies TagListResourceArrayResponse
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 TagListResourceArrayResponse
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
-
@@ -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 AttributeListResource
20
- */
21
- export interface AttributeListResource {
22
- /**
23
- *
24
- * @type {number}
25
- * @memberof AttributeListResource
26
- */
27
- id: number;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof AttributeListResource
32
- */
33
- name: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof AttributeListResource
38
- */
39
- type: string;
40
- /**
41
- *
42
- * @type {boolean}
43
- * @memberof AttributeListResource
44
- */
45
- isFilterable: boolean;
46
- /**
47
- *
48
- * @type {number}
49
- * @memberof AttributeListResource
50
- */
51
- filterIndex: number;
52
- }
53
-
54
- /**
55
- * Check if a given object implements the AttributeListResource interface.
56
- */
57
- export function instanceOfAttributeListResource(value: object): value is AttributeListResource {
58
- if (!('id' in value) || value['id'] === undefined) return false;
59
- if (!('name' in value) || value['name'] === undefined) return false;
60
- if (!('type' in value) || value['type'] === undefined) return false;
61
- if (!('isFilterable' in value) || value['isFilterable'] === undefined) return false;
62
- if (!('filterIndex' in value) || value['filterIndex'] === undefined) return false;
63
- return true;
64
- }
65
-
66
- export function AttributeListResourceFromJSON(json: any): AttributeListResource {
67
- return AttributeListResourceFromJSONTyped(json, false);
68
- }
69
-
70
- export function AttributeListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeListResource {
71
- if (json == null) {
72
- return json;
73
- }
74
- return {
75
-
76
- 'id': json['id'],
77
- 'name': json['name'],
78
- 'type': json['type'],
79
- 'isFilterable': json['isFilterable'],
80
- 'filterIndex': json['filterIndex'],
81
- };
82
- }
83
-
84
- export function AttributeListResourceToJSON(json: any): AttributeListResource {
85
- return AttributeListResourceToJSONTyped(json, false);
86
- }
87
-
88
- export function AttributeListResourceToJSONTyped(value?: AttributeListResource | 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
- 'type': value['type'],
98
- 'isFilterable': value['isFilterable'],
99
- 'filterIndex': value['filterIndex'],
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 { AttributeListResource } from './AttributeListResource';
17
- import {
18
- AttributeListResourceFromJSON,
19
- AttributeListResourceFromJSONTyped,
20
- AttributeListResourceToJSON,
21
- AttributeListResourceToJSONTyped,
22
- } from './AttributeListResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface AttributeListResourceArrayResponse
28
- */
29
- export interface AttributeListResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<AttributeListResource>}
33
- * @memberof AttributeListResourceArrayResponse
34
- */
35
- data?: Array<AttributeListResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the AttributeListResourceArrayResponse interface.
40
- */
41
- export function instanceOfAttributeListResourceArrayResponse(value: object): value is AttributeListResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function AttributeListResourceArrayResponseFromJSON(json: any): AttributeListResourceArrayResponse {
46
- return AttributeListResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function AttributeListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeListResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(AttributeListResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function AttributeListResourceArrayResponseToJSON(json: any): AttributeListResourceArrayResponse {
60
- return AttributeListResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function AttributeListResourceArrayResponseToJSONTyped(value?: AttributeListResourceArrayResponse | 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(AttributeListResourceToJSON)),
71
- };
72
- }
73
-
@@ -1,90 +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 { PagingMetadata } from './PagingMetadata';
17
- import {
18
- PagingMetadataFromJSON,
19
- PagingMetadataFromJSONTyped,
20
- PagingMetadataToJSON,
21
- PagingMetadataToJSONTyped,
22
- } from './PagingMetadata';
23
- import type { AttributeListResource } from './AttributeListResource';
24
- import {
25
- AttributeListResourceFromJSON,
26
- AttributeListResourceFromJSONTyped,
27
- AttributeListResourceToJSON,
28
- AttributeListResourceToJSONTyped,
29
- } from './AttributeListResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface PaginatedAttributeListResourceResponse
35
- */
36
- export interface PaginatedAttributeListResourceResponse {
37
- /**
38
- *
39
- * @type {Array<AttributeListResource>}
40
- * @memberof PaginatedAttributeListResourceResponse
41
- */
42
- data: Array<AttributeListResource>;
43
- /**
44
- *
45
- * @type {PagingMetadata}
46
- * @memberof PaginatedAttributeListResourceResponse
47
- */
48
- meta: PagingMetadata;
49
- }
50
-
51
- /**
52
- * Check if a given object implements the PaginatedAttributeListResourceResponse interface.
53
- */
54
- export function instanceOfPaginatedAttributeListResourceResponse(value: object): value is PaginatedAttributeListResourceResponse {
55
- if (!('data' in value) || value['data'] === undefined) return false;
56
- if (!('meta' in value) || value['meta'] === undefined) return false;
57
- return true;
58
- }
59
-
60
- export function PaginatedAttributeListResourceResponseFromJSON(json: any): PaginatedAttributeListResourceResponse {
61
- return PaginatedAttributeListResourceResponseFromJSONTyped(json, false);
62
- }
63
-
64
- export function PaginatedAttributeListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedAttributeListResourceResponse {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'data': ((json['data'] as Array<any>).map(AttributeListResourceFromJSON)),
71
- 'meta': PagingMetadataFromJSON(json['meta']),
72
- };
73
- }
74
-
75
- export function PaginatedAttributeListResourceResponseToJSON(json: any): PaginatedAttributeListResourceResponse {
76
- return PaginatedAttributeListResourceResponseToJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedAttributeListResourceResponseToJSONTyped(value?: PaginatedAttributeListResourceResponse | null, ignoreDiscriminator: boolean = false): any {
80
- if (value == null) {
81
- return value;
82
- }
83
-
84
- return {
85
-
86
- 'data': ((value['data'] as Array<any>).map(AttributeListResourceToJSON)),
87
- 'meta': PagingMetadataToJSON(value['meta']),
88
- };
89
- }
90
-