@digital8/lighting-illusions-ts-sdk 0.0.721 → 0.0.722

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 (169) hide show
  1. package/.openapi-generator/FILES +0 -64
  2. package/README.md +2 -50
  3. package/dist/apis/AttributeApi.d.ts +1 -12
  4. package/dist/apis/AttributeApi.js +0 -45
  5. package/dist/apis/index.d.ts +0 -1
  6. package/dist/apis/index.js +0 -1
  7. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +0 -1
  8. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +0 -1
  9. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +0 -1
  10. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +0 -1
  11. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  12. package/dist/models/ExternalApiLogResource.js +1 -3
  13. package/dist/models/GetAllDocumentRequest.d.ts +0 -1
  14. package/dist/models/GetAllDocumentRequest.js +0 -1
  15. package/dist/models/GetAllProductChildRequest.d.ts +0 -1
  16. package/dist/models/GetAllProductChildRequest.js +0 -1
  17. package/dist/models/IndexAttributeRequest.d.ts +0 -2
  18. package/dist/models/IndexAttributeRequest.js +1 -3
  19. package/dist/models/IndexDocumentRequest.d.ts +0 -1
  20. package/dist/models/IndexDocumentRequest.js +0 -1
  21. package/dist/models/IndexProductChildRequest.d.ts +0 -1
  22. package/dist/models/IndexProductChildRequest.js +0 -1
  23. package/dist/models/ProductChildResource.d.ts +1 -7
  24. package/dist/models/ProductChildResource.js +2 -4
  25. package/dist/models/index.d.ts +0 -31
  26. package/dist/models/index.js +0 -31
  27. package/docs/AttributeApi.md +0 -66
  28. package/docs/ProductChildResource.md +2 -4
  29. package/package.json +1 -1
  30. package/src/apis/AttributeApi.ts +0 -42
  31. package/src/apis/index.ts +0 -1
  32. package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +0 -1
  33. package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +0 -1
  34. package/src/models/ExternalApiLogResource.ts +2 -3
  35. package/src/models/GetAllDocumentRequest.ts +0 -1
  36. package/src/models/GetAllProductChildRequest.ts +0 -1
  37. package/src/models/IndexAttributeRequest.ts +1 -3
  38. package/src/models/IndexDocumentRequest.ts +0 -1
  39. package/src/models/IndexProductChildRequest.ts +0 -1
  40. package/src/models/ProductChildResource.ts +3 -11
  41. package/src/models/index.ts +0 -31
  42. package/dist/apis/ProductRangeApi.d.ts +0 -205
  43. package/dist/apis/ProductRangeApi.js +0 -835
  44. package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +0 -32
  45. package/dist/models/AttachAccessoriesProductRangeRequest.js +0 -51
  46. package/dist/models/AttachAttributesProductRangeRequest.d.ts +0 -32
  47. package/dist/models/AttachAttributesProductRangeRequest.js +0 -51
  48. package/dist/models/AttachDocumentsProductRangeRequest.d.ts +0 -33
  49. package/dist/models/AttachDocumentsProductRangeRequest.js +0 -52
  50. package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +0 -32
  51. package/dist/models/DetachAccessoriesProductRangeRequest.js +0 -51
  52. package/dist/models/DetachAttributesProductRangeRequest.d.ts +0 -32
  53. package/dist/models/DetachAttributesProductRangeRequest.js +0 -51
  54. package/dist/models/DetachDocumentsProductRangeRequest.d.ts +0 -32
  55. package/dist/models/DetachDocumentsProductRangeRequest.js +0 -51
  56. package/dist/models/GetAllProductRangeRequest.d.ts +0 -98
  57. package/dist/models/GetAllProductRangeRequest.js +0 -82
  58. package/dist/models/IndexModelAttributeRequest.d.ts +0 -110
  59. package/dist/models/IndexModelAttributeRequest.js +0 -86
  60. package/dist/models/IndexProductRangeRequest.d.ts +0 -110
  61. package/dist/models/IndexProductRangeRequest.js +0 -86
  62. package/dist/models/ModelAttributeListResource.d.ts +0 -52
  63. package/dist/models/ModelAttributeListResource.js +0 -65
  64. package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +0 -33
  65. package/dist/models/ModelAttributeListResourceArrayResponse.js +0 -50
  66. package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +0 -40
  67. package/dist/models/PaginatedModelAttributeListResourceResponse.js +0 -57
  68. package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +0 -40
  69. package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +0 -57
  70. package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +0 -40
  71. package/dist/models/PaginatedProductRangeListResourceResponse.js +0 -57
  72. package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +0 -40
  73. package/dist/models/PaginatedProductRangeLiteResourceResponse.js +0 -57
  74. package/dist/models/PaginatedProductRangeResourceResponse.d.ts +0 -40
  75. package/dist/models/PaginatedProductRangeResourceResponse.js +0 -57
  76. package/dist/models/ProductRangeFrontendListResource.d.ts +0 -62
  77. package/dist/models/ProductRangeFrontendListResource.js +0 -71
  78. package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +0 -33
  79. package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +0 -50
  80. package/dist/models/ProductRangeFrontendResource.d.ts +0 -118
  81. package/dist/models/ProductRangeFrontendResource.js +0 -109
  82. package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +0 -33
  83. package/dist/models/ProductRangeFrontendResourceArrayResponse.js +0 -50
  84. package/dist/models/ProductRangeListResource.d.ts +0 -52
  85. package/dist/models/ProductRangeListResource.js +0 -65
  86. package/dist/models/ProductRangeListResourceArrayResponse.d.ts +0 -33
  87. package/dist/models/ProductRangeListResourceArrayResponse.js +0 -50
  88. package/dist/models/ProductRangeLiteResource.d.ts +0 -38
  89. package/dist/models/ProductRangeLiteResource.js +0 -55
  90. package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +0 -33
  91. package/dist/models/ProductRangeLiteResourceArrayResponse.js +0 -50
  92. package/dist/models/ProductRangeResource.d.ts +0 -83
  93. package/dist/models/ProductRangeResource.js +0 -82
  94. package/dist/models/ProductRangeResourceArrayResponse.d.ts +0 -33
  95. package/dist/models/ProductRangeResourceArrayResponse.js +0 -50
  96. package/dist/models/ProductRangeSiteDetailResource.d.ts +0 -94
  97. package/dist/models/ProductRangeSiteDetailResource.js +0 -93
  98. package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +0 -33
  99. package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +0 -50
  100. package/dist/models/StoreProductRangeRequest.d.ts +0 -52
  101. package/dist/models/StoreProductRangeRequest.js +0 -59
  102. package/dist/models/StoreProductRangeRequestSitesInner.d.ts +0 -92
  103. package/dist/models/StoreProductRangeRequestSitesInner.js +0 -75
  104. package/dist/models/UpdateProductRangeRequest.d.ts +0 -52
  105. package/dist/models/UpdateProductRangeRequest.js +0 -59
  106. package/docs/AttachAccessoriesProductRangeRequest.md +0 -34
  107. package/docs/AttachAttributesProductRangeRequest.md +0 -34
  108. package/docs/AttachDocumentsProductRangeRequest.md +0 -34
  109. package/docs/DetachAccessoriesProductRangeRequest.md +0 -34
  110. package/docs/DetachAttributesProductRangeRequest.md +0 -34
  111. package/docs/DetachDocumentsProductRangeRequest.md +0 -34
  112. package/docs/GetAllProductRangeRequest.md +0 -50
  113. package/docs/IndexModelAttributeRequest.md +0 -54
  114. package/docs/IndexProductRangeRequest.md +0 -54
  115. package/docs/ModelAttributeListResource.md +0 -40
  116. package/docs/ModelAttributeListResourceArrayResponse.md +0 -34
  117. package/docs/PaginatedModelAttributeListResourceResponse.md +0 -36
  118. package/docs/PaginatedProductRangeFrontendListResourceResponse.md +0 -36
  119. package/docs/PaginatedProductRangeListResourceResponse.md +0 -36
  120. package/docs/PaginatedProductRangeLiteResourceResponse.md +0 -36
  121. package/docs/PaginatedProductRangeResourceResponse.md +0 -36
  122. package/docs/ProductRangeApi.md +0 -1097
  123. package/docs/ProductRangeFrontendListResource.md +0 -44
  124. package/docs/ProductRangeFrontendListResourceArrayResponse.md +0 -34
  125. package/docs/ProductRangeFrontendResource.md +0 -62
  126. package/docs/ProductRangeFrontendResourceArrayResponse.md +0 -34
  127. package/docs/ProductRangeListResource.md +0 -40
  128. package/docs/ProductRangeListResourceArrayResponse.md +0 -34
  129. package/docs/ProductRangeLiteResource.md +0 -36
  130. package/docs/ProductRangeLiteResourceArrayResponse.md +0 -34
  131. package/docs/ProductRangeResource.md +0 -50
  132. package/docs/ProductRangeResourceArrayResponse.md +0 -34
  133. package/docs/ProductRangeSiteDetailResource.md +0 -54
  134. package/docs/ProductRangeSiteDetailResourceArrayResponse.md +0 -34
  135. package/docs/StoreProductRangeRequest.md +0 -40
  136. package/docs/StoreProductRangeRequestSitesInner.md +0 -54
  137. package/docs/UpdateProductRangeRequest.md +0 -40
  138. package/src/apis/ProductRangeApi.ts +0 -760
  139. package/src/models/AttachAccessoriesProductRangeRequest.ts +0 -66
  140. package/src/models/AttachAttributesProductRangeRequest.ts +0 -66
  141. package/src/models/AttachDocumentsProductRangeRequest.ts +0 -74
  142. package/src/models/DetachAccessoriesProductRangeRequest.ts +0 -66
  143. package/src/models/DetachAttributesProductRangeRequest.ts +0 -66
  144. package/src/models/DetachDocumentsProductRangeRequest.ts +0 -66
  145. package/src/models/GetAllProductRangeRequest.ts +0 -151
  146. package/src/models/IndexModelAttributeRequest.ts +0 -167
  147. package/src/models/IndexProductRangeRequest.ts +0 -167
  148. package/src/models/ModelAttributeListResource.ts +0 -108
  149. package/src/models/ModelAttributeListResourceArrayResponse.ts +0 -73
  150. package/src/models/PaginatedModelAttributeListResourceResponse.ts +0 -90
  151. package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +0 -90
  152. package/src/models/PaginatedProductRangeListResourceResponse.ts +0 -90
  153. package/src/models/PaginatedProductRangeLiteResourceResponse.ts +0 -90
  154. package/src/models/PaginatedProductRangeResourceResponse.ts +0 -90
  155. package/src/models/ProductRangeFrontendListResource.ts +0 -111
  156. package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +0 -73
  157. package/src/models/ProductRangeFrontendResource.ts +0 -207
  158. package/src/models/ProductRangeFrontendResourceArrayResponse.ts +0 -73
  159. package/src/models/ProductRangeListResource.ts +0 -108
  160. package/src/models/ProductRangeListResourceArrayResponse.ts +0 -73
  161. package/src/models/ProductRangeLiteResource.ts +0 -75
  162. package/src/models/ProductRangeLiteResourceArrayResponse.ts +0 -73
  163. package/src/models/ProductRangeResource.ts +0 -158
  164. package/src/models/ProductRangeResourceArrayResponse.ts +0 -73
  165. package/src/models/ProductRangeSiteDetailResource.ts +0 -171
  166. package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +0 -73
  167. package/src/models/StoreProductRangeRequest.ts +0 -105
  168. package/src/models/StoreProductRangeRequestSitesInner.ts +0 -148
  169. package/src/models/UpdateProductRangeRequest.ts +0 -105
@@ -1,167 +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 IndexModelAttributeRequest
20
- */
21
- export interface IndexModelAttributeRequest {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof IndexModelAttributeRequest
26
- */
27
- search?: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof IndexModelAttributeRequest
32
- */
33
- sortBy?: IndexModelAttributeRequestSortByEnum;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof IndexModelAttributeRequest
38
- */
39
- sortDirection?: IndexModelAttributeRequestSortDirectionEnum;
40
- /**
41
- *
42
- * @type {number}
43
- * @memberof IndexModelAttributeRequest
44
- */
45
- perPage?: number;
46
- /**
47
- *
48
- * @type {number}
49
- * @memberof IndexModelAttributeRequest
50
- */
51
- page?: number;
52
- /**
53
- *
54
- * @type {Array<string>}
55
- * @memberof IndexModelAttributeRequest
56
- */
57
- attributableType?: Array<string>;
58
- /**
59
- *
60
- * @type {Array<string>}
61
- * @memberof IndexModelAttributeRequest
62
- */
63
- attributableId?: Array<string>;
64
- /**
65
- *
66
- * @type {Array<string>}
67
- * @memberof IndexModelAttributeRequest
68
- */
69
- attributeId?: Array<string>;
70
- /**
71
- *
72
- * @type {number}
73
- * @memberof IndexModelAttributeRequest
74
- */
75
- relatedId?: number;
76
- /**
77
- *
78
- * @type {string}
79
- * @memberof IndexModelAttributeRequest
80
- */
81
- relatedType?: string;
82
- /**
83
- *
84
- * @type {boolean}
85
- * @memberof IndexModelAttributeRequest
86
- */
87
- includesRelations?: boolean;
88
- }
89
-
90
-
91
- /**
92
- * @export
93
- */
94
- export const IndexModelAttributeRequestSortByEnum = {
95
- Id: 'id',
96
- AttributeId: 'attribute_id',
97
- CreatedAt: 'created_at',
98
- AttributeName: 'attribute-name'
99
- } as const;
100
- export type IndexModelAttributeRequestSortByEnum = typeof IndexModelAttributeRequestSortByEnum[keyof typeof IndexModelAttributeRequestSortByEnum];
101
-
102
- /**
103
- * @export
104
- */
105
- export const IndexModelAttributeRequestSortDirectionEnum = {
106
- Asc: 'asc',
107
- Desc: 'desc'
108
- } as const;
109
- export type IndexModelAttributeRequestSortDirectionEnum = typeof IndexModelAttributeRequestSortDirectionEnum[keyof typeof IndexModelAttributeRequestSortDirectionEnum];
110
-
111
-
112
- /**
113
- * Check if a given object implements the IndexModelAttributeRequest interface.
114
- */
115
- export function instanceOfIndexModelAttributeRequest(value: object): value is IndexModelAttributeRequest {
116
- return true;
117
- }
118
-
119
- export function IndexModelAttributeRequestFromJSON(json: any): IndexModelAttributeRequest {
120
- return IndexModelAttributeRequestFromJSONTyped(json, false);
121
- }
122
-
123
- export function IndexModelAttributeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexModelAttributeRequest {
124
- if (json == null) {
125
- return json;
126
- }
127
- return {
128
-
129
- 'search': json['search'] == null ? undefined : json['search'],
130
- 'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
131
- 'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
132
- 'perPage': json['per_page'] == null ? undefined : json['per_page'],
133
- 'page': json['page'] == null ? undefined : json['page'],
134
- 'attributableType': json['attributable_type'] == null ? undefined : json['attributable_type'],
135
- 'attributableId': json['attributable_id'] == null ? undefined : json['attributable_id'],
136
- 'attributeId': json['attribute_id'] == null ? undefined : json['attribute_id'],
137
- 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
138
- 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
139
- 'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
140
- };
141
- }
142
-
143
- export function IndexModelAttributeRequestToJSON(json: any): IndexModelAttributeRequest {
144
- return IndexModelAttributeRequestToJSONTyped(json, false);
145
- }
146
-
147
- export function IndexModelAttributeRequestToJSONTyped(value?: IndexModelAttributeRequest | null, ignoreDiscriminator: boolean = false): any {
148
- if (value == null) {
149
- return value;
150
- }
151
-
152
- return {
153
-
154
- 'search': value['search'],
155
- 'sortBy': value['sortBy'],
156
- 'sortDirection': value['sortDirection'],
157
- 'per_page': value['perPage'],
158
- 'page': value['page'],
159
- 'attributable_type': value['attributableType'],
160
- 'attributable_id': value['attributableId'],
161
- 'attribute_id': value['attributeId'],
162
- 'related_id': value['relatedId'],
163
- 'related_type': value['relatedType'],
164
- 'includes_relations': value['includesRelations'],
165
- };
166
- }
167
-
@@ -1,167 +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 IndexProductRangeRequest
20
- */
21
- export interface IndexProductRangeRequest {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof IndexProductRangeRequest
26
- */
27
- search?: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof IndexProductRangeRequest
32
- */
33
- sortBy?: IndexProductRangeRequestSortByEnum;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof IndexProductRangeRequest
38
- */
39
- sortDirection?: IndexProductRangeRequestSortDirectionEnum;
40
- /**
41
- *
42
- * @type {number}
43
- * @memberof IndexProductRangeRequest
44
- */
45
- perPage?: number;
46
- /**
47
- *
48
- * @type {number}
49
- * @memberof IndexProductRangeRequest
50
- */
51
- page?: number;
52
- /**
53
- *
54
- * @type {Array<string>}
55
- * @memberof IndexProductRangeRequest
56
- */
57
- siteDetailsSiteId?: Array<string>;
58
- /**
59
- *
60
- * @type {Array<string>}
61
- * @memberof IndexProductRangeRequest
62
- */
63
- supplierId?: Array<string>;
64
- /**
65
- *
66
- * @type {Array<string>}
67
- * @memberof IndexProductRangeRequest
68
- */
69
- siteDetailsCategoriesId?: Array<string>;
70
- /**
71
- *
72
- * @type {number}
73
- * @memberof IndexProductRangeRequest
74
- */
75
- relatedId?: number;
76
- /**
77
- *
78
- * @type {string}
79
- * @memberof IndexProductRangeRequest
80
- */
81
- relatedType?: string;
82
- /**
83
- *
84
- * @type {boolean}
85
- * @memberof IndexProductRangeRequest
86
- */
87
- includesRelations?: boolean;
88
- }
89
-
90
-
91
- /**
92
- * @export
93
- */
94
- export const IndexProductRangeRequestSortByEnum = {
95
- Id: 'id',
96
- Name: 'name',
97
- CreatedAt: 'created_at',
98
- UpdatedAt: 'updated_at'
99
- } as const;
100
- export type IndexProductRangeRequestSortByEnum = typeof IndexProductRangeRequestSortByEnum[keyof typeof IndexProductRangeRequestSortByEnum];
101
-
102
- /**
103
- * @export
104
- */
105
- export const IndexProductRangeRequestSortDirectionEnum = {
106
- Asc: 'asc',
107
- Desc: 'desc'
108
- } as const;
109
- export type IndexProductRangeRequestSortDirectionEnum = typeof IndexProductRangeRequestSortDirectionEnum[keyof typeof IndexProductRangeRequestSortDirectionEnum];
110
-
111
-
112
- /**
113
- * Check if a given object implements the IndexProductRangeRequest interface.
114
- */
115
- export function instanceOfIndexProductRangeRequest(value: object): value is IndexProductRangeRequest {
116
- return true;
117
- }
118
-
119
- export function IndexProductRangeRequestFromJSON(json: any): IndexProductRangeRequest {
120
- return IndexProductRangeRequestFromJSONTyped(json, false);
121
- }
122
-
123
- export function IndexProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexProductRangeRequest {
124
- if (json == null) {
125
- return json;
126
- }
127
- return {
128
-
129
- 'search': json['search'] == null ? undefined : json['search'],
130
- 'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
131
- 'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
132
- 'perPage': json['per_page'] == null ? undefined : json['per_page'],
133
- 'page': json['page'] == null ? undefined : json['page'],
134
- 'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
135
- 'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
136
- 'siteDetailsCategoriesId': json['siteDetails-categories-id'] == null ? undefined : json['siteDetails-categories-id'],
137
- 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
138
- 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
139
- 'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
140
- };
141
- }
142
-
143
- export function IndexProductRangeRequestToJSON(json: any): IndexProductRangeRequest {
144
- return IndexProductRangeRequestToJSONTyped(json, false);
145
- }
146
-
147
- export function IndexProductRangeRequestToJSONTyped(value?: IndexProductRangeRequest | null, ignoreDiscriminator: boolean = false): any {
148
- if (value == null) {
149
- return value;
150
- }
151
-
152
- return {
153
-
154
- 'search': value['search'],
155
- 'sortBy': value['sortBy'],
156
- 'sortDirection': value['sortDirection'],
157
- 'per_page': value['perPage'],
158
- 'page': value['page'],
159
- 'siteDetails-site_id': value['siteDetailsSiteId'],
160
- 'supplier_id': value['supplierId'],
161
- 'siteDetails-categories-id': value['siteDetailsCategoriesId'],
162
- 'related_id': value['relatedId'],
163
- 'related_type': value['relatedType'],
164
- 'includes_relations': value['includesRelations'],
165
- };
166
- }
167
-
@@ -1,108 +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 { AttributeLiteResource } from './AttributeLiteResource';
17
- import {
18
- AttributeLiteResourceFromJSON,
19
- AttributeLiteResourceFromJSONTyped,
20
- AttributeLiteResourceToJSON,
21
- AttributeLiteResourceToJSONTyped,
22
- } from './AttributeLiteResource';
23
- import type { AttributeValueResource } from './AttributeValueResource';
24
- import {
25
- AttributeValueResourceFromJSON,
26
- AttributeValueResourceFromJSONTyped,
27
- AttributeValueResourceToJSON,
28
- AttributeValueResourceToJSONTyped,
29
- } from './AttributeValueResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface ModelAttributeListResource
35
- */
36
- export interface ModelAttributeListResource {
37
- /**
38
- *
39
- * @type {number}
40
- * @memberof ModelAttributeListResource
41
- */
42
- id: number;
43
- /**
44
- *
45
- * @type {string}
46
- * @memberof ModelAttributeListResource
47
- */
48
- value: string;
49
- /**
50
- *
51
- * @type {AttributeLiteResource}
52
- * @memberof ModelAttributeListResource
53
- */
54
- attribute: AttributeLiteResource | null;
55
- /**
56
- *
57
- * @type {Array<AttributeValueResource>}
58
- * @memberof ModelAttributeListResource
59
- */
60
- attributeValues: Array<AttributeValueResource> | null;
61
- }
62
-
63
- /**
64
- * Check if a given object implements the ModelAttributeListResource interface.
65
- */
66
- export function instanceOfModelAttributeListResource(value: object): value is ModelAttributeListResource {
67
- if (!('id' in value) || value['id'] === undefined) return false;
68
- if (!('value' in value) || value['value'] === undefined) return false;
69
- if (!('attribute' in value) || value['attribute'] === undefined) return false;
70
- if (!('attributeValues' in value) || value['attributeValues'] === undefined) return false;
71
- return true;
72
- }
73
-
74
- export function ModelAttributeListResourceFromJSON(json: any): ModelAttributeListResource {
75
- return ModelAttributeListResourceFromJSONTyped(json, false);
76
- }
77
-
78
- export function ModelAttributeListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelAttributeListResource {
79
- if (json == null) {
80
- return json;
81
- }
82
- return {
83
-
84
- 'id': json['id'],
85
- 'value': json['value'],
86
- 'attribute': AttributeLiteResourceFromJSON(json['attribute']),
87
- 'attributeValues': (json['attributeValues'] == null ? null : (json['attributeValues'] as Array<any>).map(AttributeValueResourceFromJSON)),
88
- };
89
- }
90
-
91
- export function ModelAttributeListResourceToJSON(json: any): ModelAttributeListResource {
92
- return ModelAttributeListResourceToJSONTyped(json, false);
93
- }
94
-
95
- export function ModelAttributeListResourceToJSONTyped(value?: ModelAttributeListResource | null, ignoreDiscriminator: boolean = false): any {
96
- if (value == null) {
97
- return value;
98
- }
99
-
100
- return {
101
-
102
- 'id': value['id'],
103
- 'value': value['value'],
104
- 'attribute': AttributeLiteResourceToJSON(value['attribute']),
105
- 'attributeValues': (value['attributeValues'] == null ? null : (value['attributeValues'] as Array<any>).map(AttributeValueResourceToJSON)),
106
- };
107
- }
108
-
@@ -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 { ModelAttributeListResource } from './ModelAttributeListResource';
17
- import {
18
- ModelAttributeListResourceFromJSON,
19
- ModelAttributeListResourceFromJSONTyped,
20
- ModelAttributeListResourceToJSON,
21
- ModelAttributeListResourceToJSONTyped,
22
- } from './ModelAttributeListResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface ModelAttributeListResourceArrayResponse
28
- */
29
- export interface ModelAttributeListResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<ModelAttributeListResource>}
33
- * @memberof ModelAttributeListResourceArrayResponse
34
- */
35
- data?: Array<ModelAttributeListResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the ModelAttributeListResourceArrayResponse interface.
40
- */
41
- export function instanceOfModelAttributeListResourceArrayResponse(value: object): value is ModelAttributeListResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function ModelAttributeListResourceArrayResponseFromJSON(json: any): ModelAttributeListResourceArrayResponse {
46
- return ModelAttributeListResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function ModelAttributeListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelAttributeListResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ModelAttributeListResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function ModelAttributeListResourceArrayResponseToJSON(json: any): ModelAttributeListResourceArrayResponse {
60
- return ModelAttributeListResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function ModelAttributeListResourceArrayResponseToJSONTyped(value?: ModelAttributeListResourceArrayResponse | 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(ModelAttributeListResourceToJSON)),
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 { ModelAttributeListResource } from './ModelAttributeListResource';
24
- import {
25
- ModelAttributeListResourceFromJSON,
26
- ModelAttributeListResourceFromJSONTyped,
27
- ModelAttributeListResourceToJSON,
28
- ModelAttributeListResourceToJSONTyped,
29
- } from './ModelAttributeListResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface PaginatedModelAttributeListResourceResponse
35
- */
36
- export interface PaginatedModelAttributeListResourceResponse {
37
- /**
38
- *
39
- * @type {Array<ModelAttributeListResource>}
40
- * @memberof PaginatedModelAttributeListResourceResponse
41
- */
42
- data: Array<ModelAttributeListResource>;
43
- /**
44
- *
45
- * @type {PagingMetadata}
46
- * @memberof PaginatedModelAttributeListResourceResponse
47
- */
48
- meta: PagingMetadata;
49
- }
50
-
51
- /**
52
- * Check if a given object implements the PaginatedModelAttributeListResourceResponse interface.
53
- */
54
- export function instanceOfPaginatedModelAttributeListResourceResponse(value: object): value is PaginatedModelAttributeListResourceResponse {
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 PaginatedModelAttributeListResourceResponseFromJSON(json: any): PaginatedModelAttributeListResourceResponse {
61
- return PaginatedModelAttributeListResourceResponseFromJSONTyped(json, false);
62
- }
63
-
64
- export function PaginatedModelAttributeListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedModelAttributeListResourceResponse {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'data': ((json['data'] as Array<any>).map(ModelAttributeListResourceFromJSON)),
71
- 'meta': PagingMetadataFromJSON(json['meta']),
72
- };
73
- }
74
-
75
- export function PaginatedModelAttributeListResourceResponseToJSON(json: any): PaginatedModelAttributeListResourceResponse {
76
- return PaginatedModelAttributeListResourceResponseToJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedModelAttributeListResourceResponseToJSONTyped(value?: PaginatedModelAttributeListResourceResponse | 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(ModelAttributeListResourceToJSON)),
87
- 'meta': PagingMetadataToJSON(value['meta']),
88
- };
89
- }
90
-
@@ -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 { ProductRangeFrontendListResource } from './ProductRangeFrontendListResource';
24
- import {
25
- ProductRangeFrontendListResourceFromJSON,
26
- ProductRangeFrontendListResourceFromJSONTyped,
27
- ProductRangeFrontendListResourceToJSON,
28
- ProductRangeFrontendListResourceToJSONTyped,
29
- } from './ProductRangeFrontendListResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface PaginatedProductRangeFrontendListResourceResponse
35
- */
36
- export interface PaginatedProductRangeFrontendListResourceResponse {
37
- /**
38
- *
39
- * @type {Array<ProductRangeFrontendListResource>}
40
- * @memberof PaginatedProductRangeFrontendListResourceResponse
41
- */
42
- data: Array<ProductRangeFrontendListResource>;
43
- /**
44
- *
45
- * @type {PagingMetadata}
46
- * @memberof PaginatedProductRangeFrontendListResourceResponse
47
- */
48
- meta: PagingMetadata;
49
- }
50
-
51
- /**
52
- * Check if a given object implements the PaginatedProductRangeFrontendListResourceResponse interface.
53
- */
54
- export function instanceOfPaginatedProductRangeFrontendListResourceResponse(value: object): value is PaginatedProductRangeFrontendListResourceResponse {
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 PaginatedProductRangeFrontendListResourceResponseFromJSON(json: any): PaginatedProductRangeFrontendListResourceResponse {
61
- return PaginatedProductRangeFrontendListResourceResponseFromJSONTyped(json, false);
62
- }
63
-
64
- export function PaginatedProductRangeFrontendListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductRangeFrontendListResourceResponse {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'data': ((json['data'] as Array<any>).map(ProductRangeFrontendListResourceFromJSON)),
71
- 'meta': PagingMetadataFromJSON(json['meta']),
72
- };
73
- }
74
-
75
- export function PaginatedProductRangeFrontendListResourceResponseToJSON(json: any): PaginatedProductRangeFrontendListResourceResponse {
76
- return PaginatedProductRangeFrontendListResourceResponseToJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedProductRangeFrontendListResourceResponseToJSONTyped(value?: PaginatedProductRangeFrontendListResourceResponse | 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(ProductRangeFrontendListResourceToJSON)),
87
- 'meta': PagingMetadataToJSON(value['meta']),
88
- };
89
- }
90
-