@digital8/lighting-illusions-ts-sdk 0.0.463 → 0.0.465

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 (236) hide show
  1. package/.openapi-generator/FILES +64 -2
  2. package/README.md +42 -6
  3. package/dist/apis/AttributeApi.d.ts +3 -3
  4. package/dist/apis/AttributeApi.js +1 -1
  5. package/dist/apis/OverlayTemplateApi.d.ts +3 -3
  6. package/dist/apis/OverlayTemplateApi.js +1 -1
  7. package/dist/apis/ProductApi.d.ts +78 -17
  8. package/dist/apis/ProductApi.js +271 -24
  9. package/dist/apis/ProductTypeApi.d.ts +3 -3
  10. package/dist/apis/ProductTypeApi.js +1 -1
  11. package/dist/apis/SiteApi.d.ts +5 -5
  12. package/dist/apis/SiteApi.js +2 -2
  13. package/dist/apis/SupplierApi.d.ts +3 -3
  14. package/dist/apis/SupplierApi.js +1 -1
  15. package/dist/apis/TagApi.d.ts +7 -7
  16. package/dist/apis/TagApi.js +2 -2
  17. package/dist/models/AssetLiteResource.d.ts +6 -0
  18. package/dist/models/AssetLiteResource.js +4 -0
  19. package/dist/models/AttachAccessoriesProductChildRequest.d.ts +32 -0
  20. package/dist/models/AttachAccessoriesProductChildRequest.js +51 -0
  21. package/dist/models/AttributeListResource.d.ts +56 -0
  22. package/dist/models/AttributeListResource.js +67 -0
  23. package/dist/models/AttributeListResourceArrayResponse.d.ts +33 -0
  24. package/dist/models/AttributeListResourceArrayResponse.js +50 -0
  25. package/dist/models/ExternalApiLogListResource.d.ts +56 -0
  26. package/dist/models/ExternalApiLogListResource.js +63 -0
  27. package/dist/models/ExternalApiLogListResourceArrayResponse.d.ts +33 -0
  28. package/dist/models/ExternalApiLogListResourceArrayResponse.js +50 -0
  29. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  30. package/dist/models/ExternalApiLogResource.js +3 -1
  31. package/dist/models/GetAllAttributeRequest.d.ts +15 -9
  32. package/dist/models/GetAllAttributeRequest.js +6 -4
  33. package/dist/models/GetAllOverlayTemplateRequest.d.ts +12 -6
  34. package/dist/models/GetAllOverlayTemplateRequest.js +4 -2
  35. package/dist/models/GetAllProductChildRequest.d.ts +6 -0
  36. package/dist/models/GetAllProductChildRequest.js +2 -0
  37. package/dist/models/GetAllProductRequest.d.ts +36 -0
  38. package/dist/models/GetAllProductRequest.js +12 -0
  39. package/dist/models/GetAllProductTypeRequest.d.ts +6 -0
  40. package/dist/models/GetAllProductTypeRequest.js +2 -0
  41. package/dist/models/GetAllSupplierRequest.d.ts +6 -0
  42. package/dist/models/GetAllSupplierRequest.js +2 -0
  43. package/dist/models/IndexAttributeRequest.d.ts +25 -0
  44. package/dist/models/IndexAttributeRequest.js +13 -1
  45. package/dist/models/IndexExternalApiLogRequest.d.ts +21 -3
  46. package/dist/models/IndexExternalApiLogRequest.js +10 -4
  47. package/dist/models/IndexOverlayTemplateRequest.d.ts +25 -0
  48. package/dist/models/IndexOverlayTemplateRequest.js +13 -1
  49. package/dist/models/IndexProductChildRequest.d.ts +6 -0
  50. package/dist/models/IndexProductChildRequest.js +2 -0
  51. package/dist/models/IndexProductRequest.d.ts +130 -0
  52. package/dist/models/IndexProductRequest.js +97 -0
  53. package/dist/models/IndexProductTypeRequest.d.ts +25 -0
  54. package/dist/models/IndexProductTypeRequest.js +13 -1
  55. package/dist/models/IndexSiteNotificationRequest.d.ts +18 -0
  56. package/dist/models/IndexSiteNotificationRequest.js +6 -0
  57. package/dist/models/IndexSiteRequest.d.ts +18 -0
  58. package/dist/models/IndexSiteRequest.js +6 -0
  59. package/dist/models/IndexSupplierRequest.d.ts +25 -0
  60. package/dist/models/IndexSupplierRequest.js +13 -1
  61. package/dist/models/IndexTagRequest.d.ts +25 -0
  62. package/dist/models/IndexTagRequest.js +13 -1
  63. package/dist/models/OverlayTemplateListResource.d.ts +45 -0
  64. package/dist/models/OverlayTemplateListResource.js +60 -0
  65. package/dist/models/OverlayTemplateListResourceArrayResponse.d.ts +33 -0
  66. package/dist/models/OverlayTemplateListResourceArrayResponse.js +50 -0
  67. package/dist/models/PaginatedAttributeListResourceResponse.d.ts +40 -0
  68. package/dist/models/PaginatedAttributeListResourceResponse.js +57 -0
  69. package/dist/models/PaginatedExternalApiLogListResourceResponse.d.ts +40 -0
  70. package/dist/models/PaginatedExternalApiLogListResourceResponse.js +57 -0
  71. package/dist/models/PaginatedOverlayTemplateListResourceResponse.d.ts +40 -0
  72. package/dist/models/PaginatedOverlayTemplateListResourceResponse.js +57 -0
  73. package/dist/models/PaginatedProductChildListResourceResponse.d.ts +40 -0
  74. package/dist/models/PaginatedProductChildListResourceResponse.js +57 -0
  75. package/dist/models/PaginatedProductListResourceResponse.d.ts +40 -0
  76. package/dist/models/PaginatedProductListResourceResponse.js +57 -0
  77. package/dist/models/PaginatedProductTypeListResourceResponse.d.ts +40 -0
  78. package/dist/models/PaginatedProductTypeListResourceResponse.js +57 -0
  79. package/dist/models/PaginatedSiteListResourceResponse.d.ts +40 -0
  80. package/dist/models/PaginatedSiteListResourceResponse.js +57 -0
  81. package/dist/models/PaginatedSiteNotificationListResourceResponse.d.ts +40 -0
  82. package/dist/models/PaginatedSiteNotificationListResourceResponse.js +57 -0
  83. package/dist/models/PaginatedSupplierListResourceResponse.d.ts +40 -0
  84. package/dist/models/PaginatedSupplierListResourceResponse.js +57 -0
  85. package/dist/models/PaginatedTagListResourceResponse.d.ts +40 -0
  86. package/dist/models/PaginatedTagListResourceResponse.js +57 -0
  87. package/dist/models/ProductChildListResource.d.ts +63 -0
  88. package/dist/models/ProductChildListResource.js +72 -0
  89. package/dist/models/ProductChildListResourceArrayResponse.d.ts +33 -0
  90. package/dist/models/ProductChildListResourceArrayResponse.js +50 -0
  91. package/dist/models/ProductListResource.d.ts +38 -0
  92. package/dist/models/ProductListResource.js +55 -0
  93. package/dist/models/ProductListResourceArrayResponse.d.ts +33 -0
  94. package/dist/models/ProductListResourceArrayResponse.js +50 -0
  95. package/dist/models/ProductTypeListResource.d.ts +38 -0
  96. package/dist/models/ProductTypeListResource.js +55 -0
  97. package/dist/models/ProductTypeListResourceArrayResponse.d.ts +33 -0
  98. package/dist/models/ProductTypeListResourceArrayResponse.js +50 -0
  99. package/dist/models/SiteListResource.d.ts +50 -0
  100. package/dist/models/SiteListResource.js +63 -0
  101. package/dist/models/SiteListResourceArrayResponse.d.ts +33 -0
  102. package/dist/models/SiteListResourceArrayResponse.js +50 -0
  103. package/dist/models/SiteNotificationListResource.d.ts +57 -0
  104. package/dist/models/SiteNotificationListResource.js +64 -0
  105. package/dist/models/SiteNotificationListResourceArrayResponse.d.ts +33 -0
  106. package/dist/models/SiteNotificationListResourceArrayResponse.js +50 -0
  107. package/dist/models/SupplierListResource.d.ts +57 -0
  108. package/dist/models/SupplierListResource.js +68 -0
  109. package/dist/models/SupplierListResourceArrayResponse.d.ts +33 -0
  110. package/dist/models/SupplierListResourceArrayResponse.js +50 -0
  111. package/dist/models/TagListResource.d.ts +57 -0
  112. package/dist/models/TagListResource.js +68 -0
  113. package/dist/models/TagListResourceArrayResponse.d.ts +33 -0
  114. package/dist/models/TagListResourceArrayResponse.js +50 -0
  115. package/dist/models/UnlinkAssetableOverlayTemplateRequest.d.ts +6 -0
  116. package/dist/models/UnlinkAssetableOverlayTemplateRequest.js +2 -0
  117. package/dist/models/index.d.ts +32 -1
  118. package/dist/models/index.js +32 -1
  119. package/docs/AssetLiteResource.md +2 -0
  120. package/docs/{LinkProductChildrenTagRequest.md → AttachAccessoriesProductChildRequest.md} +4 -4
  121. package/docs/AttributeApi.md +3 -3
  122. package/docs/AttributeListResource.md +42 -0
  123. package/docs/AttributeListResourceArrayResponse.md +34 -0
  124. package/docs/ExternalApiLogListResource.md +42 -0
  125. package/docs/ExternalApiLogListResourceArrayResponse.md +34 -0
  126. package/docs/GetAllAttributeRequest.md +6 -4
  127. package/docs/GetAllOverlayTemplateRequest.md +4 -2
  128. package/docs/GetAllProductChildRequest.md +2 -0
  129. package/docs/GetAllProductRequest.md +12 -0
  130. package/docs/GetAllProductTypeRequest.md +2 -0
  131. package/docs/GetAllSupplierRequest.md +2 -0
  132. package/docs/IndexAttributeRequest.md +6 -0
  133. package/docs/IndexExternalApiLogRequest.md +10 -4
  134. package/docs/IndexOverlayTemplateRequest.md +6 -0
  135. package/docs/IndexProductChildRequest.md +2 -0
  136. package/docs/IndexProductRequest.md +58 -0
  137. package/docs/IndexProductTypeRequest.md +6 -0
  138. package/docs/IndexSiteNotificationRequest.md +6 -0
  139. package/docs/IndexSiteRequest.md +6 -0
  140. package/docs/IndexSupplierRequest.md +6 -0
  141. package/docs/IndexTagRequest.md +6 -0
  142. package/docs/OverlayTemplateApi.md +3 -3
  143. package/docs/OverlayTemplateListResource.md +38 -0
  144. package/docs/OverlayTemplateListResourceArrayResponse.md +34 -0
  145. package/docs/PaginatedAttributeListResourceResponse.md +36 -0
  146. package/docs/PaginatedExternalApiLogListResourceResponse.md +36 -0
  147. package/docs/PaginatedOverlayTemplateListResourceResponse.md +36 -0
  148. package/docs/PaginatedProductChildListResourceResponse.md +36 -0
  149. package/docs/PaginatedProductListResourceResponse.md +36 -0
  150. package/docs/PaginatedProductTypeListResourceResponse.md +36 -0
  151. package/docs/PaginatedSiteListResourceResponse.md +36 -0
  152. package/docs/PaginatedSiteNotificationListResourceResponse.md +36 -0
  153. package/docs/PaginatedSupplierListResourceResponse.md +36 -0
  154. package/docs/PaginatedTagListResourceResponse.md +36 -0
  155. package/docs/ProductApi.md +377 -29
  156. package/docs/ProductChildListResource.md +44 -0
  157. package/docs/ProductChildListResourceArrayResponse.md +34 -0
  158. package/docs/ProductListResource.md +36 -0
  159. package/docs/ProductListResourceArrayResponse.md +34 -0
  160. package/docs/ProductTypeApi.md +3 -3
  161. package/docs/ProductTypeListResource.md +36 -0
  162. package/docs/ProductTypeListResourceArrayResponse.md +34 -0
  163. package/docs/SiteApi.md +6 -6
  164. package/docs/SiteListResource.md +40 -0
  165. package/docs/SiteListResourceArrayResponse.md +34 -0
  166. package/docs/SiteNotificationListResource.md +42 -0
  167. package/docs/SiteNotificationListResourceArrayResponse.md +34 -0
  168. package/docs/SupplierApi.md +3 -3
  169. package/docs/SupplierListResource.md +42 -0
  170. package/docs/SupplierListResourceArrayResponse.md +34 -0
  171. package/docs/TagApi.md +10 -10
  172. package/docs/TagListResource.md +42 -0
  173. package/docs/TagListResourceArrayResponse.md +34 -0
  174. package/docs/UnlinkAssetableOverlayTemplateRequest.md +2 -0
  175. package/package.json +1 -1
  176. package/src/apis/AttributeApi.ts +6 -6
  177. package/src/apis/OverlayTemplateApi.ts +6 -6
  178. package/src/apis/ProductApi.ts +282 -32
  179. package/src/apis/ProductTypeApi.ts +6 -6
  180. package/src/apis/SiteApi.ts +12 -12
  181. package/src/apis/SupplierApi.ts +6 -6
  182. package/src/apis/TagApi.ts +14 -14
  183. package/src/models/AssetLiteResource.ts +9 -0
  184. package/src/models/AttachAccessoriesProductChildRequest.ts +66 -0
  185. package/src/models/AttributeListResource.ts +102 -0
  186. package/src/models/AttributeListResourceArrayResponse.ts +73 -0
  187. package/src/models/ExternalApiLogListResource.ts +100 -0
  188. package/src/models/ExternalApiLogListResourceArrayResponse.ts +73 -0
  189. package/src/models/ExternalApiLogResource.ts +3 -2
  190. package/src/models/GetAllAttributeRequest.ts +21 -13
  191. package/src/models/GetAllOverlayTemplateRequest.ts +16 -8
  192. package/src/models/GetAllProductChildRequest.ts +8 -0
  193. package/src/models/GetAllProductRequest.ts +48 -0
  194. package/src/models/GetAllProductTypeRequest.ts +8 -0
  195. package/src/models/GetAllSupplierRequest.ts +8 -0
  196. package/src/models/IndexAttributeRequest.ts +32 -0
  197. package/src/models/IndexExternalApiLogRequest.ts +31 -7
  198. package/src/models/IndexOverlayTemplateRequest.ts +32 -0
  199. package/src/models/IndexProductChildRequest.ts +8 -0
  200. package/src/models/IndexProductRequest.ts +192 -0
  201. package/src/models/IndexProductTypeRequest.ts +32 -0
  202. package/src/models/IndexSiteNotificationRequest.ts +24 -0
  203. package/src/models/IndexSiteRequest.ts +24 -0
  204. package/src/models/IndexSupplierRequest.ts +32 -0
  205. package/src/models/IndexTagRequest.ts +32 -0
  206. package/src/models/OverlayTemplateListResource.ts +92 -0
  207. package/src/models/OverlayTemplateListResourceArrayResponse.ts +73 -0
  208. package/src/models/PaginatedAttributeListResourceResponse.ts +90 -0
  209. package/src/models/PaginatedExternalApiLogListResourceResponse.ts +90 -0
  210. package/src/models/PaginatedOverlayTemplateListResourceResponse.ts +90 -0
  211. package/src/models/PaginatedProductChildListResourceResponse.ts +90 -0
  212. package/src/models/PaginatedProductListResourceResponse.ts +90 -0
  213. package/src/models/PaginatedProductTypeListResourceResponse.ts +90 -0
  214. package/src/models/PaginatedSiteListResourceResponse.ts +90 -0
  215. package/src/models/PaginatedSiteNotificationListResourceResponse.ts +90 -0
  216. package/src/models/PaginatedSupplierListResourceResponse.ts +90 -0
  217. package/src/models/PaginatedTagListResourceResponse.ts +90 -0
  218. package/src/models/ProductChildListResource.ts +119 -0
  219. package/src/models/ProductChildListResourceArrayResponse.ts +73 -0
  220. package/src/models/ProductListResource.ts +75 -0
  221. package/src/models/ProductListResourceArrayResponse.ts +73 -0
  222. package/src/models/ProductTypeListResource.ts +75 -0
  223. package/src/models/ProductTypeListResourceArrayResponse.ts +73 -0
  224. package/src/models/SiteListResource.ts +93 -0
  225. package/src/models/SiteListResourceArrayResponse.ts +73 -0
  226. package/src/models/SiteNotificationListResource.ts +108 -0
  227. package/src/models/SiteNotificationListResourceArrayResponse.ts +73 -0
  228. package/src/models/SupplierListResource.ts +110 -0
  229. package/src/models/SupplierListResourceArrayResponse.ts +73 -0
  230. package/src/models/TagListResource.ts +110 -0
  231. package/src/models/TagListResourceArrayResponse.ts +73 -0
  232. package/src/models/UnlinkAssetableOverlayTemplateRequest.ts +8 -0
  233. package/src/models/index.ts +32 -1
  234. package/dist/models/LinkProductChildrenTagRequest.d.ts +0 -32
  235. package/dist/models/LinkProductChildrenTagRequest.js +0 -51
  236. package/src/models/LinkProductChildrenTagRequest.ts +0 -66
@@ -0,0 +1,32 @@
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 AttachAccessoriesProductChildRequest
16
+ */
17
+ export interface AttachAccessoriesProductChildRequest {
18
+ /**
19
+ *
20
+ * @type {Array<number>}
21
+ * @memberof AttachAccessoriesProductChildRequest
22
+ */
23
+ productChildIds: Array<number>;
24
+ }
25
+ /**
26
+ * Check if a given object implements the AttachAccessoriesProductChildRequest interface.
27
+ */
28
+ export declare function instanceOfAttachAccessoriesProductChildRequest(value: object): value is AttachAccessoriesProductChildRequest;
29
+ export declare function AttachAccessoriesProductChildRequestFromJSON(json: any): AttachAccessoriesProductChildRequest;
30
+ export declare function AttachAccessoriesProductChildRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachAccessoriesProductChildRequest;
31
+ export declare function AttachAccessoriesProductChildRequestToJSON(json: any): AttachAccessoriesProductChildRequest;
32
+ export declare function AttachAccessoriesProductChildRequestToJSONTyped(value?: AttachAccessoriesProductChildRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
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.instanceOfAttachAccessoriesProductChildRequest = instanceOfAttachAccessoriesProductChildRequest;
17
+ exports.AttachAccessoriesProductChildRequestFromJSON = AttachAccessoriesProductChildRequestFromJSON;
18
+ exports.AttachAccessoriesProductChildRequestFromJSONTyped = AttachAccessoriesProductChildRequestFromJSONTyped;
19
+ exports.AttachAccessoriesProductChildRequestToJSON = AttachAccessoriesProductChildRequestToJSON;
20
+ exports.AttachAccessoriesProductChildRequestToJSONTyped = AttachAccessoriesProductChildRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AttachAccessoriesProductChildRequest interface.
23
+ */
24
+ function instanceOfAttachAccessoriesProductChildRequest(value) {
25
+ if (!('productChildIds' in value) || value['productChildIds'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function AttachAccessoriesProductChildRequestFromJSON(json) {
30
+ return AttachAccessoriesProductChildRequestFromJSONTyped(json, false);
31
+ }
32
+ function AttachAccessoriesProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'productChildIds': json['product_child_ids'],
38
+ };
39
+ }
40
+ function AttachAccessoriesProductChildRequestToJSON(json) {
41
+ return AttachAccessoriesProductChildRequestToJSONTyped(json, false);
42
+ }
43
+ function AttachAccessoriesProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'product_child_ids': value['productChildIds'],
50
+ };
51
+ }
@@ -0,0 +1,56 @@
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 AttributeListResource
16
+ */
17
+ export interface AttributeListResource {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof AttributeListResource
22
+ */
23
+ id: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof AttributeListResource
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof AttributeListResource
34
+ */
35
+ type: string;
36
+ /**
37
+ *
38
+ * @type {boolean}
39
+ * @memberof AttributeListResource
40
+ */
41
+ isFilterable: boolean;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof AttributeListResource
46
+ */
47
+ filterIndex: number;
48
+ }
49
+ /**
50
+ * Check if a given object implements the AttributeListResource interface.
51
+ */
52
+ export declare function instanceOfAttributeListResource(value: object): value is AttributeListResource;
53
+ export declare function AttributeListResourceFromJSON(json: any): AttributeListResource;
54
+ export declare function AttributeListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeListResource;
55
+ export declare function AttributeListResourceToJSON(json: any): AttributeListResource;
56
+ export declare function AttributeListResourceToJSONTyped(value?: AttributeListResource | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,67 @@
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.instanceOfAttributeListResource = instanceOfAttributeListResource;
17
+ exports.AttributeListResourceFromJSON = AttributeListResourceFromJSON;
18
+ exports.AttributeListResourceFromJSONTyped = AttributeListResourceFromJSONTyped;
19
+ exports.AttributeListResourceToJSON = AttributeListResourceToJSON;
20
+ exports.AttributeListResourceToJSONTyped = AttributeListResourceToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AttributeListResource interface.
23
+ */
24
+ function instanceOfAttributeListResource(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('name' in value) || value['name'] === undefined)
28
+ return false;
29
+ if (!('type' in value) || value['type'] === undefined)
30
+ return false;
31
+ if (!('isFilterable' in value) || value['isFilterable'] === undefined)
32
+ return false;
33
+ if (!('filterIndex' in value) || value['filterIndex'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function AttributeListResourceFromJSON(json) {
38
+ return AttributeListResourceFromJSONTyped(json, false);
39
+ }
40
+ function AttributeListResourceFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'id': json['id'],
46
+ 'name': json['name'],
47
+ 'type': json['type'],
48
+ 'isFilterable': json['isFilterable'],
49
+ 'filterIndex': json['filterIndex'],
50
+ };
51
+ }
52
+ function AttributeListResourceToJSON(json) {
53
+ return AttributeListResourceToJSONTyped(json, false);
54
+ }
55
+ function AttributeListResourceToJSONTyped(value, ignoreDiscriminator) {
56
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'id': value['id'],
62
+ 'name': value['name'],
63
+ 'type': value['type'],
64
+ 'isFilterable': value['isFilterable'],
65
+ 'filterIndex': value['filterIndex'],
66
+ };
67
+ }
@@ -0,0 +1,33 @@
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 { AttributeListResource } from './AttributeListResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AttributeListResourceArrayResponse
17
+ */
18
+ export interface AttributeListResourceArrayResponse {
19
+ /**
20
+ *
21
+ * @type {Array<AttributeListResource>}
22
+ * @memberof AttributeListResourceArrayResponse
23
+ */
24
+ data?: Array<AttributeListResource>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the AttributeListResourceArrayResponse interface.
28
+ */
29
+ export declare function instanceOfAttributeListResourceArrayResponse(value: object): value is AttributeListResourceArrayResponse;
30
+ export declare function AttributeListResourceArrayResponseFromJSON(json: any): AttributeListResourceArrayResponse;
31
+ export declare function AttributeListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeListResourceArrayResponse;
32
+ export declare function AttributeListResourceArrayResponseToJSON(json: any): AttributeListResourceArrayResponse;
33
+ export declare function AttributeListResourceArrayResponseToJSONTyped(value?: AttributeListResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfAttributeListResourceArrayResponse = instanceOfAttributeListResourceArrayResponse;
17
+ exports.AttributeListResourceArrayResponseFromJSON = AttributeListResourceArrayResponseFromJSON;
18
+ exports.AttributeListResourceArrayResponseFromJSONTyped = AttributeListResourceArrayResponseFromJSONTyped;
19
+ exports.AttributeListResourceArrayResponseToJSON = AttributeListResourceArrayResponseToJSON;
20
+ exports.AttributeListResourceArrayResponseToJSONTyped = AttributeListResourceArrayResponseToJSONTyped;
21
+ var AttributeListResource_1 = require("./AttributeListResource");
22
+ /**
23
+ * Check if a given object implements the AttributeListResourceArrayResponse interface.
24
+ */
25
+ function instanceOfAttributeListResourceArrayResponse(value) {
26
+ return true;
27
+ }
28
+ function AttributeListResourceArrayResponseFromJSON(json) {
29
+ return AttributeListResourceArrayResponseFromJSONTyped(json, false);
30
+ }
31
+ function AttributeListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(AttributeListResource_1.AttributeListResourceFromJSON)),
37
+ };
38
+ }
39
+ function AttributeListResourceArrayResponseToJSON(json) {
40
+ return AttributeListResourceArrayResponseToJSONTyped(json, false);
41
+ }
42
+ function AttributeListResourceArrayResponseToJSONTyped(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(AttributeListResource_1.AttributeListResourceToJSON)),
49
+ };
50
+ }
@@ -0,0 +1,56 @@
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 ExternalApiLogListResource
16
+ */
17
+ export interface ExternalApiLogListResource {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof ExternalApiLogListResource
22
+ */
23
+ id: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ExternalApiLogListResource
28
+ */
29
+ provider: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ExternalApiLogListResource
34
+ */
35
+ endpoint: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ExternalApiLogListResource
40
+ */
41
+ statusCode?: string | null;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof ExternalApiLogListResource
46
+ */
47
+ createdAt?: string | null;
48
+ }
49
+ /**
50
+ * Check if a given object implements the ExternalApiLogListResource interface.
51
+ */
52
+ export declare function instanceOfExternalApiLogListResource(value: object): value is ExternalApiLogListResource;
53
+ export declare function ExternalApiLogListResourceFromJSON(json: any): ExternalApiLogListResource;
54
+ export declare function ExternalApiLogListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExternalApiLogListResource;
55
+ export declare function ExternalApiLogListResourceToJSON(json: any): ExternalApiLogListResource;
56
+ export declare function ExternalApiLogListResourceToJSONTyped(value?: ExternalApiLogListResource | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,63 @@
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.instanceOfExternalApiLogListResource = instanceOfExternalApiLogListResource;
17
+ exports.ExternalApiLogListResourceFromJSON = ExternalApiLogListResourceFromJSON;
18
+ exports.ExternalApiLogListResourceFromJSONTyped = ExternalApiLogListResourceFromJSONTyped;
19
+ exports.ExternalApiLogListResourceToJSON = ExternalApiLogListResourceToJSON;
20
+ exports.ExternalApiLogListResourceToJSONTyped = ExternalApiLogListResourceToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ExternalApiLogListResource interface.
23
+ */
24
+ function instanceOfExternalApiLogListResource(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('provider' in value) || value['provider'] === undefined)
28
+ return false;
29
+ if (!('endpoint' in value) || value['endpoint'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function ExternalApiLogListResourceFromJSON(json) {
34
+ return ExternalApiLogListResourceFromJSONTyped(json, false);
35
+ }
36
+ function ExternalApiLogListResourceFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'id': json['id'],
42
+ 'provider': json['provider'],
43
+ 'endpoint': json['endpoint'],
44
+ 'statusCode': json['statusCode'] == null ? undefined : json['statusCode'],
45
+ 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
46
+ };
47
+ }
48
+ function ExternalApiLogListResourceToJSON(json) {
49
+ return ExternalApiLogListResourceToJSONTyped(json, false);
50
+ }
51
+ function ExternalApiLogListResourceToJSONTyped(value, ignoreDiscriminator) {
52
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'id': value['id'],
58
+ 'provider': value['provider'],
59
+ 'endpoint': value['endpoint'],
60
+ 'statusCode': value['statusCode'],
61
+ 'createdAt': value['createdAt'],
62
+ };
63
+ }
@@ -0,0 +1,33 @@
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 { ExternalApiLogListResource } from './ExternalApiLogListResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ExternalApiLogListResourceArrayResponse
17
+ */
18
+ export interface ExternalApiLogListResourceArrayResponse {
19
+ /**
20
+ *
21
+ * @type {Array<ExternalApiLogListResource>}
22
+ * @memberof ExternalApiLogListResourceArrayResponse
23
+ */
24
+ data?: Array<ExternalApiLogListResource>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the ExternalApiLogListResourceArrayResponse interface.
28
+ */
29
+ export declare function instanceOfExternalApiLogListResourceArrayResponse(value: object): value is ExternalApiLogListResourceArrayResponse;
30
+ export declare function ExternalApiLogListResourceArrayResponseFromJSON(json: any): ExternalApiLogListResourceArrayResponse;
31
+ export declare function ExternalApiLogListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExternalApiLogListResourceArrayResponse;
32
+ export declare function ExternalApiLogListResourceArrayResponseToJSON(json: any): ExternalApiLogListResourceArrayResponse;
33
+ export declare function ExternalApiLogListResourceArrayResponseToJSONTyped(value?: ExternalApiLogListResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfExternalApiLogListResourceArrayResponse = instanceOfExternalApiLogListResourceArrayResponse;
17
+ exports.ExternalApiLogListResourceArrayResponseFromJSON = ExternalApiLogListResourceArrayResponseFromJSON;
18
+ exports.ExternalApiLogListResourceArrayResponseFromJSONTyped = ExternalApiLogListResourceArrayResponseFromJSONTyped;
19
+ exports.ExternalApiLogListResourceArrayResponseToJSON = ExternalApiLogListResourceArrayResponseToJSON;
20
+ exports.ExternalApiLogListResourceArrayResponseToJSONTyped = ExternalApiLogListResourceArrayResponseToJSONTyped;
21
+ var ExternalApiLogListResource_1 = require("./ExternalApiLogListResource");
22
+ /**
23
+ * Check if a given object implements the ExternalApiLogListResourceArrayResponse interface.
24
+ */
25
+ function instanceOfExternalApiLogListResourceArrayResponse(value) {
26
+ return true;
27
+ }
28
+ function ExternalApiLogListResourceArrayResponseFromJSON(json) {
29
+ return ExternalApiLogListResourceArrayResponseFromJSONTyped(json, false);
30
+ }
31
+ function ExternalApiLogListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(ExternalApiLogListResource_1.ExternalApiLogListResourceFromJSON)),
37
+ };
38
+ }
39
+ function ExternalApiLogListResourceArrayResponseToJSON(json) {
40
+ return ExternalApiLogListResourceArrayResponseToJSONTyped(json, false);
41
+ }
42
+ function ExternalApiLogListResourceArrayResponseToJSONTyped(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(ExternalApiLogListResource_1.ExternalApiLogListResourceToJSON)),
49
+ };
50
+ }
@@ -63,7 +63,7 @@ export interface ExternalApiLogResource {
63
63
  * @type {string}
64
64
  * @memberof ExternalApiLogResource
65
65
  */
66
- requestPayload?: string | null;
66
+ requestPayload: string;
67
67
  /**
68
68
  *
69
69
  * @type {string}
@@ -37,6 +37,8 @@ function instanceOfExternalApiLogResource(value) {
37
37
  return false;
38
38
  if (!('responseCode' in value) || value['responseCode'] === undefined)
39
39
  return false;
40
+ if (!('requestPayload' in value) || value['requestPayload'] === undefined)
41
+ return false;
40
42
  if (!('responsePayload' in value) || value['responsePayload'] === undefined)
41
43
  return false;
42
44
  if (!('site' in value) || value['site'] === undefined)
@@ -58,7 +60,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
58
60
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
59
61
  'endpoint': json['endpoint'],
60
62
  'responseCode': json['responseCode'],
61
- 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
63
+ 'requestPayload': json['requestPayload'],
62
64
  'responsePayload': json['responsePayload'],
63
65
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
64
66
  'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
@@ -35,34 +35,40 @@ export interface GetAllAttributeRequest {
35
35
  sortDirection?: GetAllAttributeRequestSortDirectionEnum;
36
36
  /**
37
37
  *
38
- * @type {Array<string>}
38
+ * @type {number}
39
39
  * @memberof GetAllAttributeRequest
40
40
  */
41
- type?: Array<string>;
41
+ relatedId?: number;
42
42
  /**
43
43
  *
44
- * @type {Array<string>}
44
+ * @type {string}
45
45
  * @memberof GetAllAttributeRequest
46
46
  */
47
- isFilterable?: Array<string>;
47
+ relatedType?: GetAllAttributeRequestRelatedTypeEnum;
48
+ /**
49
+ *
50
+ * @type {boolean}
51
+ * @memberof GetAllAttributeRequest
52
+ */
53
+ includesRelations?: boolean;
48
54
  /**
49
55
  *
50
56
  * @type {Array<string>}
51
57
  * @memberof GetAllAttributeRequest
52
58
  */
53
- isExpandedByDefault?: Array<string>;
59
+ type?: Array<string>;
54
60
  /**
55
61
  *
56
- * @type {number}
62
+ * @type {Array<string>}
57
63
  * @memberof GetAllAttributeRequest
58
64
  */
59
- relatedId?: number;
65
+ isFilterable?: Array<string>;
60
66
  /**
61
67
  *
62
- * @type {string}
68
+ * @type {Array<string>}
63
69
  * @memberof GetAllAttributeRequest
64
70
  */
65
- relatedType?: GetAllAttributeRequestRelatedTypeEnum;
71
+ isExpandedByDefault?: Array<string>;
66
72
  }
67
73
  /**
68
74
  * @export
@@ -60,11 +60,12 @@ function GetAllAttributeRequestFromJSONTyped(json, ignoreDiscriminator) {
60
60
  'search': json['search'] == null ? undefined : json['search'],
61
61
  'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
62
62
  'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
63
+ 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
64
+ 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
65
+ 'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
63
66
  'type': json['type'] == null ? undefined : json['type'],
64
67
  'isFilterable': json['is_filterable'] == null ? undefined : json['is_filterable'],
65
68
  'isExpandedByDefault': json['is_expanded_by_default'] == null ? undefined : json['is_expanded_by_default'],
66
- 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
67
- 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
68
69
  };
69
70
  }
70
71
  function GetAllAttributeRequestToJSON(json) {
@@ -79,10 +80,11 @@ function GetAllAttributeRequestToJSONTyped(value, ignoreDiscriminator) {
79
80
  'search': value['search'],
80
81
  'sortBy': value['sortBy'],
81
82
  'sortDirection': value['sortDirection'],
83
+ 'related_id': value['relatedId'],
84
+ 'related_type': value['relatedType'],
85
+ 'includes_relations': value['includesRelations'],
82
86
  'type': value['type'],
83
87
  'is_filterable': value['isFilterable'],
84
88
  'is_expanded_by_default': value['isExpandedByDefault'],
85
- 'related_id': value['relatedId'],
86
- 'related_type': value['relatedType'],
87
89
  };
88
90
  }
@@ -33,12 +33,6 @@ export interface GetAllOverlayTemplateRequest {
33
33
  * @memberof GetAllOverlayTemplateRequest
34
34
  */
35
35
  sortDirection?: GetAllOverlayTemplateRequestSortDirectionEnum;
36
- /**
37
- *
38
- * @type {Array<string>}
39
- * @memberof GetAllOverlayTemplateRequest
40
- */
41
- sitesId?: Array<string>;
42
36
  /**
43
37
  *
44
38
  * @type {number}
@@ -51,6 +45,18 @@ export interface GetAllOverlayTemplateRequest {
51
45
  * @memberof GetAllOverlayTemplateRequest
52
46
  */
53
47
  relatedType?: GetAllOverlayTemplateRequestRelatedTypeEnum;
48
+ /**
49
+ *
50
+ * @type {boolean}
51
+ * @memberof GetAllOverlayTemplateRequest
52
+ */
53
+ includesRelations?: boolean;
54
+ /**
55
+ *
56
+ * @type {Array<string>}
57
+ * @memberof GetAllOverlayTemplateRequest
58
+ */
59
+ sitesId?: Array<string>;
54
60
  }
55
61
  /**
56
62
  * @export
@@ -58,9 +58,10 @@ function GetAllOverlayTemplateRequestFromJSONTyped(json, ignoreDiscriminator) {
58
58
  'search': json['search'] == null ? undefined : json['search'],
59
59
  'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
60
60
  'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
61
- 'sitesId': json['sites-id'] == null ? undefined : json['sites-id'],
62
61
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
63
62
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
63
+ 'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
64
+ 'sitesId': json['sites-id'] == null ? undefined : json['sites-id'],
64
65
  };
65
66
  }
66
67
  function GetAllOverlayTemplateRequestToJSON(json) {
@@ -75,8 +76,9 @@ function GetAllOverlayTemplateRequestToJSONTyped(value, ignoreDiscriminator) {
75
76
  'search': value['search'],
76
77
  'sortBy': value['sortBy'],
77
78
  'sortDirection': value['sortDirection'],
78
- 'sites-id': value['sitesId'],
79
79
  'related_id': value['relatedId'],
80
80
  'related_type': value['relatedType'],
81
+ 'includes_relations': value['includesRelations'],
82
+ 'sites-id': value['sitesId'],
81
83
  };
82
84
  }