@digital8/lighting-illusions-ts-sdk 0.0.1632 → 0.0.1634

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 (309) hide show
  1. package/.openapi-generator/FILES +40 -24
  2. package/README.md +26 -16
  3. package/dist/apis/ProductRegistrationApi.d.ts +95 -0
  4. package/dist/apis/ProductRegistrationApi.js +377 -0
  5. package/dist/apis/StoreApi.d.ts +1 -28
  6. package/dist/apis/StoreApi.js +0 -113
  7. package/dist/apis/index.d.ts +1 -1
  8. package/dist/apis/index.js +1 -1
  9. package/dist/models/AddressFrontendResource.d.ts +1 -1
  10. package/dist/models/AddressFrontendResource.js +3 -1
  11. package/dist/models/DestroyAttributeValueRequest.d.ts +1 -1
  12. package/dist/models/GetAllAttributeRequest.d.ts +1 -1
  13. package/dist/models/GetAllAttributeValueRequest.d.ts +1 -1
  14. package/dist/models/GetAllDefinitionRequest.d.ts +1 -1
  15. package/dist/models/GetAllDocumentRequest.d.ts +1 -1
  16. package/dist/models/GetAllGoogleCategoryRequest.d.ts +1 -1
  17. package/dist/models/GetAllOverlayTemplateRequest.d.ts +1 -1
  18. package/dist/models/GetAllProductCategoryRequest.d.ts +1 -1
  19. package/dist/models/GetAllProductChildRequest.d.ts +1 -1
  20. package/dist/models/GetAllProductRangeRequest.d.ts +1 -1
  21. package/dist/models/GetAllProductRegistrationRequest.d.ts +88 -0
  22. package/dist/models/GetAllProductRegistrationRequest.js +80 -0
  23. package/dist/models/GetAllProductRequest.d.ts +1 -1
  24. package/dist/models/GetAllProductTypeRequest.d.ts +1 -1
  25. package/dist/models/GetAllStoreRequest.d.ts +1 -1
  26. package/dist/models/GetAllSupplierRequest.d.ts +1 -1
  27. package/dist/models/GlobalSearchProductResource.d.ts +6 -0
  28. package/dist/models/GlobalSearchProductResource.js +4 -0
  29. package/dist/models/IndexAttributeRequest.d.ts +1 -1
  30. package/dist/models/IndexAttributeValueRequest.d.ts +1 -1
  31. package/dist/models/IndexDefinitionRequest.d.ts +1 -1
  32. package/dist/models/IndexDocumentRequest.d.ts +1 -1
  33. package/dist/models/IndexExternalApiLogRequest.d.ts +1 -1
  34. package/dist/models/IndexLabelRequest.d.ts +1 -1
  35. package/dist/models/IndexModelAttributeRequest.d.ts +1 -1
  36. package/dist/models/IndexOverlayTemplateRequest.d.ts +1 -1
  37. package/dist/models/IndexProductCategoryRequest.d.ts +1 -1
  38. package/dist/models/IndexProductChildRequest.d.ts +2 -1
  39. package/dist/models/IndexProductChildRequest.js +1 -0
  40. package/dist/models/IndexProductRangeRequest.d.ts +1 -1
  41. package/dist/models/IndexProductRegistrationRequest.d.ts +131 -0
  42. package/dist/models/IndexProductRegistrationRequest.js +98 -0
  43. package/dist/models/IndexProductRequest.d.ts +1 -1
  44. package/dist/models/IndexProductTypeRequest.d.ts +1 -1
  45. package/dist/models/IndexSiteNotificationRequest.d.ts +1 -1
  46. package/dist/models/IndexSiteRequest.d.ts +1 -1
  47. package/dist/models/IndexStoreRequest.d.ts +1 -1
  48. package/dist/models/IndexSupplierRequest.d.ts +1 -1
  49. package/dist/models/IndexTagRequest.d.ts +1 -1
  50. package/dist/models/LabelListResource.d.ts +0 -6
  51. package/dist/models/LabelListResource.js +0 -4
  52. package/dist/models/ListAssetsProductRegistrationRequest.d.ts +103 -0
  53. package/dist/models/ListAssetsProductRegistrationRequest.js +83 -0
  54. package/dist/models/PaginatedProductRegistrationAssetResourceResponse.d.ts +40 -0
  55. package/dist/models/PaginatedProductRegistrationAssetResourceResponse.js +57 -0
  56. package/dist/models/PaginatedProductRegistrationListResourceResponse.d.ts +40 -0
  57. package/dist/models/PaginatedProductRegistrationListResourceResponse.js +57 -0
  58. package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +40 -0
  59. package/dist/models/PaginatedProductRegistrationResourceResponse.js +57 -0
  60. package/dist/models/ProductChildListResource.d.ts +6 -0
  61. package/dist/models/ProductChildListResource.js +2 -0
  62. package/dist/models/ProductRangeFrontendResource.d.ts +0 -7
  63. package/dist/models/ProductRangeFrontendResource.js +0 -5
  64. package/dist/models/ProductRegistrationAssetResource.d.ts +45 -0
  65. package/dist/models/ProductRegistrationAssetResource.js +58 -0
  66. package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +33 -0
  67. package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +50 -0
  68. package/dist/models/ProductRegistrationAssetType.d.ts +25 -0
  69. package/dist/models/ProductRegistrationAssetType.js +51 -0
  70. package/dist/models/ProductRegistrationCustomerResource.d.ts +62 -0
  71. package/dist/models/ProductRegistrationCustomerResource.js +65 -0
  72. package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +33 -0
  73. package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +50 -0
  74. package/dist/models/ProductRegistrationListResource.d.ts +57 -0
  75. package/dist/models/ProductRegistrationListResource.js +64 -0
  76. package/dist/models/ProductRegistrationListResourceArrayResponse.d.ts +33 -0
  77. package/dist/models/ProductRegistrationListResourceArrayResponse.js +50 -0
  78. package/dist/models/ProductRegistrationLiteResource.d.ts +38 -0
  79. package/dist/models/ProductRegistrationLiteResource.js +53 -0
  80. package/dist/models/ProductRegistrationLiteResourceArrayResponse.d.ts +33 -0
  81. package/dist/models/ProductRegistrationLiteResourceArrayResponse.js +50 -0
  82. package/dist/models/ProductRegistrationProductChildResource.d.ts +50 -0
  83. package/dist/models/ProductRegistrationProductChildResource.js +63 -0
  84. package/dist/models/ProductRegistrationProductChildResourceArrayResponse.d.ts +33 -0
  85. package/dist/models/ProductRegistrationProductChildResourceArrayResponse.js +50 -0
  86. package/dist/models/ProductRegistrationResource.d.ts +90 -0
  87. package/dist/models/ProductRegistrationResource.js +81 -0
  88. package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +33 -0
  89. package/dist/models/ProductRegistrationResourceArrayResponse.js +50 -0
  90. package/dist/models/ProductSearchResultResource.d.ts +6 -0
  91. package/dist/models/ProductSearchResultResource.js +4 -0
  92. package/dist/models/ShowAssetsProductChildRequest.d.ts +1 -1
  93. package/dist/models/ShowAttributesProductChildRequest.d.ts +1 -1
  94. package/dist/models/StoreAssetForAssetableRequest.d.ts +1 -1
  95. package/dist/models/StoreFrontendResource.d.ts +1 -7
  96. package/dist/models/StoreFrontendResource.js +1 -5
  97. package/dist/models/StoreLabelRequest.d.ts +4 -4
  98. package/dist/models/StoreListResource.d.ts +0 -6
  99. package/dist/models/StoreListResource.js +0 -2
  100. package/dist/models/StoreOverlayTemplateAssetRequest.d.ts +1 -1
  101. package/dist/models/StoreProductCategoryRequest.d.ts +4 -4
  102. package/dist/models/StoreProductCategoryRequestAutomationRulesInner.d.ts +2 -2
  103. package/dist/models/StoreProductCategoryRequestDescriptionsInner.d.ts +2 -2
  104. package/dist/models/StoreProductCategoryRequestSeoInner.d.ts +2 -2
  105. package/dist/models/StoreProductChildRequest.d.ts +4 -4
  106. package/dist/models/StoreProductChildRequestAssetsInner.d.ts +1 -1
  107. package/dist/models/StoreProductChildRequestAttributeValuesInner.d.ts +1 -1
  108. package/dist/models/StoreProductChildRequestSitesInner.d.ts +5 -5
  109. package/dist/models/StoreProductRangeRequest.d.ts +1 -1
  110. package/dist/models/StoreProductRangeRequestSitesInner.d.ts +5 -5
  111. package/dist/models/StoreProductRequest.d.ts +1 -1
  112. package/dist/models/StoreResource.d.ts +0 -18
  113. package/dist/models/StoreResource.js +0 -6
  114. package/dist/models/StoreStoreRequest.d.ts +4 -22
  115. package/dist/models/StoreStoreRequest.js +3 -7
  116. package/dist/models/StoreStoreRequestAddress.d.ts +1 -1
  117. package/dist/models/StoreStoreRequestSpecialDatesInner.d.ts +5 -5
  118. package/dist/models/StoreStoreSpecialDateRequest.d.ts +5 -5
  119. package/dist/models/StoreSupplierRequest.d.ts +1 -1
  120. package/dist/models/StoreTagRequest.d.ts +4 -4
  121. package/dist/models/UpdateAssetForAssetableRequest.d.ts +3 -3
  122. package/dist/models/UpdateLabelRequest.d.ts +4 -4
  123. package/dist/models/UpdateModelAttributeRequest.d.ts +3 -3
  124. package/dist/models/UpdateOverlayTemplateAssetRequest.d.ts +1 -1
  125. package/dist/models/UpdateProductCategoryRequest.d.ts +4 -4
  126. package/dist/models/UpdateProductChildRequest.d.ts +4 -4
  127. package/dist/models/UpdateProductChildRequestAssetsInner.d.ts +1 -1
  128. package/dist/models/UpdateProductRangeRequest.d.ts +1 -1
  129. package/dist/models/UpdateProductRequest.d.ts +1 -1
  130. package/dist/models/UpdateSiteRequest.d.ts +5 -5
  131. package/dist/models/UpdateStoreRequest.d.ts +4 -22
  132. package/dist/models/UpdateStoreRequest.js +3 -7
  133. package/dist/models/UpdateStoreRequestSpecialDatesInner.d.ts +5 -5
  134. package/dist/models/UpdateSupplierRequest.d.ts +1 -1
  135. package/dist/models/UpdateTagRequest.d.ts +4 -4
  136. package/dist/models/index.d.ts +19 -11
  137. package/dist/models/index.js +19 -11
  138. package/docs/GetAllProductRegistrationRequest.md +46 -0
  139. package/docs/GlobalSearchProductResource.md +2 -0
  140. package/docs/IndexProductRegistrationRequest.md +58 -0
  141. package/docs/LabelListResource.md +0 -2
  142. package/docs/{IndexRedirectRequest.md → ListAssetsProductRegistrationRequest.md} +8 -12
  143. package/docs/PaginatedProductRegistrationAssetResourceResponse.md +36 -0
  144. package/docs/PaginatedProductRegistrationListResourceResponse.md +36 -0
  145. package/docs/{PaginatedRedirectListResourceResponse.md → PaginatedProductRegistrationResourceResponse.md} +5 -5
  146. package/docs/ProductChildListResource.md +2 -0
  147. package/docs/ProductRangeFrontendResource.md +0 -2
  148. package/docs/ProductRegistrationApi.md +344 -0
  149. package/docs/{RedirectListResourceArrayResponse.md → ProductRegistrationAssetResource.md} +10 -6
  150. package/docs/ProductRegistrationAssetResourceArrayResponse.md +34 -0
  151. package/docs/{ProductChildStoreStockType.md → ProductRegistrationAssetType.md} +4 -4
  152. package/docs/{RedirectListResource.md → ProductRegistrationCustomerResource.md} +14 -16
  153. package/docs/ProductRegistrationCustomerResourceArrayResponse.md +34 -0
  154. package/docs/ProductRegistrationListResource.md +42 -0
  155. package/docs/{ModelAttributeFrontendResourceArrayResponse.md → ProductRegistrationListResourceArrayResponse.md} +5 -5
  156. package/docs/{ModelAttributeFrontendResource.md → ProductRegistrationLiteResource.md} +8 -8
  157. package/docs/ProductRegistrationLiteResourceArrayResponse.md +34 -0
  158. package/docs/{RedirectFrontendResource.md → ProductRegistrationProductChildResource.md} +10 -14
  159. package/docs/ProductRegistrationProductChildResourceArrayResponse.md +34 -0
  160. package/docs/ProductRegistrationResource.md +52 -0
  161. package/docs/{RedirectFrontendResourceArrayResponse.md → ProductRegistrationResourceArrayResponse.md} +5 -5
  162. package/docs/ProductSearchResultResource.md +2 -0
  163. package/docs/StoreApi.md +0 -124
  164. package/docs/StoreFrontendResource.md +0 -2
  165. package/docs/StoreListResource.md +0 -2
  166. package/docs/StoreResource.md +0 -6
  167. package/docs/StoreStoreRequest.md +1 -7
  168. package/docs/UpdateModelAttributeRequest.md +1 -1
  169. package/docs/UpdateStoreRequest.md +1 -7
  170. package/package.json +1 -1
  171. package/src/apis/ProductRegistrationApi.ts +297 -0
  172. package/src/apis/StoreApi.ts +0 -84
  173. package/src/apis/index.ts +1 -1
  174. package/src/models/AddressFrontendResource.ts +3 -2
  175. package/src/models/DestroyAttributeValueRequest.ts +1 -1
  176. package/src/models/GetAllAttributeRequest.ts +1 -1
  177. package/src/models/GetAllAttributeValueRequest.ts +1 -1
  178. package/src/models/GetAllDefinitionRequest.ts +1 -1
  179. package/src/models/GetAllDocumentRequest.ts +1 -1
  180. package/src/models/GetAllGoogleCategoryRequest.ts +1 -1
  181. package/src/models/GetAllOverlayTemplateRequest.ts +1 -1
  182. package/src/models/GetAllProductCategoryRequest.ts +1 -1
  183. package/src/models/GetAllProductChildRequest.ts +1 -1
  184. package/src/models/GetAllProductRangeRequest.ts +1 -1
  185. package/src/models/GetAllProductRegistrationRequest.ts +137 -0
  186. package/src/models/GetAllProductRequest.ts +1 -1
  187. package/src/models/GetAllProductTypeRequest.ts +1 -1
  188. package/src/models/GetAllStoreRequest.ts +1 -1
  189. package/src/models/GetAllSupplierRequest.ts +1 -1
  190. package/src/models/GlobalSearchProductResource.ts +9 -0
  191. package/src/models/IndexAttributeRequest.ts +1 -1
  192. package/src/models/IndexAttributeValueRequest.ts +1 -1
  193. package/src/models/IndexDefinitionRequest.ts +1 -1
  194. package/src/models/IndexDocumentRequest.ts +1 -1
  195. package/src/models/IndexExternalApiLogRequest.ts +1 -1
  196. package/src/models/IndexLabelRequest.ts +1 -1
  197. package/src/models/IndexModelAttributeRequest.ts +1 -1
  198. package/src/models/IndexOverlayTemplateRequest.ts +1 -1
  199. package/src/models/IndexProductCategoryRequest.ts +1 -1
  200. package/src/models/IndexProductChildRequest.ts +2 -1
  201. package/src/models/IndexProductRangeRequest.ts +1 -1
  202. package/src/models/IndexProductRegistrationRequest.ts +193 -0
  203. package/src/models/IndexProductRequest.ts +1 -1
  204. package/src/models/IndexProductTypeRequest.ts +1 -1
  205. package/src/models/IndexSiteNotificationRequest.ts +1 -1
  206. package/src/models/IndexSiteRequest.ts +1 -1
  207. package/src/models/IndexStoreRequest.ts +1 -1
  208. package/src/models/IndexSupplierRequest.ts +1 -1
  209. package/src/models/IndexTagRequest.ts +1 -1
  210. package/src/models/LabelListResource.ts +0 -9
  211. package/src/models/ListAssetsProductRegistrationRequest.ts +158 -0
  212. package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +90 -0
  213. package/src/models/PaginatedProductRegistrationListResourceResponse.ts +90 -0
  214. package/src/models/PaginatedProductRegistrationResourceResponse.ts +90 -0
  215. package/src/models/ProductChildListResource.ts +8 -0
  216. package/src/models/ProductRangeFrontendResource.ts +0 -16
  217. package/src/models/ProductRegistrationAssetResource.ts +91 -0
  218. package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +73 -0
  219. package/src/models/ProductRegistrationAssetType.ts +53 -0
  220. package/src/models/ProductRegistrationCustomerResource.ts +108 -0
  221. package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +73 -0
  222. package/src/models/ProductRegistrationListResource.ts +108 -0
  223. package/src/models/ProductRegistrationListResourceArrayResponse.ts +73 -0
  224. package/src/models/ProductRegistrationLiteResource.ts +74 -0
  225. package/src/models/ProductRegistrationLiteResourceArrayResponse.ts +73 -0
  226. package/src/models/ProductRegistrationProductChildResource.ts +93 -0
  227. package/src/models/ProductRegistrationProductChildResourceArrayResponse.ts +73 -0
  228. package/src/models/ProductRegistrationResource.ts +171 -0
  229. package/src/models/ProductRegistrationResourceArrayResponse.ts +73 -0
  230. package/src/models/ProductSearchResultResource.ts +9 -0
  231. package/src/models/ShowAssetsProductChildRequest.ts +1 -1
  232. package/src/models/ShowAttributesProductChildRequest.ts +1 -1
  233. package/src/models/StoreAssetForAssetableRequest.ts +1 -1
  234. package/src/models/StoreFrontendResource.ts +2 -11
  235. package/src/models/StoreLabelRequest.ts +4 -4
  236. package/src/models/StoreListResource.ts +0 -8
  237. package/src/models/StoreOverlayTemplateAssetRequest.ts +1 -1
  238. package/src/models/StoreProductCategoryRequest.ts +4 -4
  239. package/src/models/StoreProductCategoryRequestAutomationRulesInner.ts +2 -2
  240. package/src/models/StoreProductCategoryRequestDescriptionsInner.ts +2 -2
  241. package/src/models/StoreProductCategoryRequestSeoInner.ts +2 -2
  242. package/src/models/StoreProductChildRequest.ts +4 -4
  243. package/src/models/StoreProductChildRequestAssetsInner.ts +1 -1
  244. package/src/models/StoreProductChildRequestAttributeValuesInner.ts +1 -1
  245. package/src/models/StoreProductChildRequestSitesInner.ts +5 -5
  246. package/src/models/StoreProductRangeRequest.ts +1 -1
  247. package/src/models/StoreProductRangeRequestSitesInner.ts +5 -5
  248. package/src/models/StoreProductRequest.ts +1 -1
  249. package/src/models/StoreResource.ts +0 -24
  250. package/src/models/StoreStoreRequest.ts +6 -29
  251. package/src/models/StoreStoreRequestAddress.ts +1 -1
  252. package/src/models/StoreStoreRequestSpecialDatesInner.ts +5 -5
  253. package/src/models/StoreStoreSpecialDateRequest.ts +5 -5
  254. package/src/models/StoreSupplierRequest.ts +1 -1
  255. package/src/models/StoreTagRequest.ts +4 -4
  256. package/src/models/UpdateAssetForAssetableRequest.ts +3 -3
  257. package/src/models/UpdateLabelRequest.ts +4 -4
  258. package/src/models/UpdateModelAttributeRequest.ts +3 -3
  259. package/src/models/UpdateOverlayTemplateAssetRequest.ts +1 -1
  260. package/src/models/UpdateProductCategoryRequest.ts +4 -4
  261. package/src/models/UpdateProductChildRequest.ts +4 -4
  262. package/src/models/UpdateProductChildRequestAssetsInner.ts +1 -1
  263. package/src/models/UpdateProductRangeRequest.ts +1 -1
  264. package/src/models/UpdateProductRequest.ts +1 -1
  265. package/src/models/UpdateSiteRequest.ts +5 -5
  266. package/src/models/UpdateStoreRequest.ts +6 -29
  267. package/src/models/UpdateStoreRequestSpecialDatesInner.ts +5 -5
  268. package/src/models/UpdateSupplierRequest.ts +1 -1
  269. package/src/models/UpdateTagRequest.ts +4 -4
  270. package/src/models/index.ts +19 -11
  271. package/dist/apis/RedirectApi.d.ts +0 -33
  272. package/dist/apis/RedirectApi.js +0 -138
  273. package/dist/models/IndexRedirectRequest.d.ts +0 -124
  274. package/dist/models/IndexRedirectRequest.js +0 -95
  275. package/dist/models/ModelAttributeFrontendResource.d.ts +0 -38
  276. package/dist/models/ModelAttributeFrontendResource.js +0 -55
  277. package/dist/models/ModelAttributeFrontendResourceArrayResponse.d.ts +0 -33
  278. package/dist/models/ModelAttributeFrontendResourceArrayResponse.js +0 -50
  279. package/dist/models/PaginatedRedirectListResourceResponse.d.ts +0 -40
  280. package/dist/models/PaginatedRedirectListResourceResponse.js +0 -57
  281. package/dist/models/ProductChildStoreStockType.d.ts +0 -25
  282. package/dist/models/ProductChildStoreStockType.js +0 -51
  283. package/dist/models/RedirectFrontendResource.d.ts +0 -62
  284. package/dist/models/RedirectFrontendResource.js +0 -71
  285. package/dist/models/RedirectFrontendResourceArrayResponse.d.ts +0 -33
  286. package/dist/models/RedirectFrontendResourceArrayResponse.js +0 -50
  287. package/dist/models/RedirectListResource.d.ts +0 -69
  288. package/dist/models/RedirectListResource.js +0 -76
  289. package/dist/models/RedirectListResourceArrayResponse.d.ts +0 -33
  290. package/dist/models/RedirectListResourceArrayResponse.js +0 -50
  291. package/dist/models/SaveMapStoreStockMigrationRequest.d.ts +0 -33
  292. package/dist/models/SaveMapStoreStockMigrationRequest.js +0 -52
  293. package/dist/models/SaveMapStoreStockMigrationRequestAssociationsInner.d.ts +0 -52
  294. package/dist/models/SaveMapStoreStockMigrationRequestAssociationsInner.js +0 -67
  295. package/docs/RedirectApi.md +0 -74
  296. package/docs/SaveMapStoreStockMigrationRequest.md +0 -34
  297. package/docs/SaveMapStoreStockMigrationRequestAssociationsInner.md +0 -38
  298. package/src/apis/RedirectApi.ts +0 -77
  299. package/src/models/IndexRedirectRequest.ts +0 -184
  300. package/src/models/ModelAttributeFrontendResource.ts +0 -75
  301. package/src/models/ModelAttributeFrontendResourceArrayResponse.ts +0 -73
  302. package/src/models/PaginatedRedirectListResourceResponse.ts +0 -90
  303. package/src/models/ProductChildStoreStockType.ts +0 -53
  304. package/src/models/RedirectFrontendResource.ts +0 -111
  305. package/src/models/RedirectFrontendResourceArrayResponse.ts +0 -73
  306. package/src/models/RedirectListResource.ts +0 -128
  307. package/src/models/RedirectListResourceArrayResponse.ts +0 -73
  308. package/src/models/SaveMapStoreStockMigrationRequest.ts +0 -74
  309. package/src/models/SaveMapStoreStockMigrationRequestAssociationsInner.ts +0 -95
@@ -1,50 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfRedirectListResourceArrayResponse = instanceOfRedirectListResourceArrayResponse;
17
- exports.RedirectListResourceArrayResponseFromJSON = RedirectListResourceArrayResponseFromJSON;
18
- exports.RedirectListResourceArrayResponseFromJSONTyped = RedirectListResourceArrayResponseFromJSONTyped;
19
- exports.RedirectListResourceArrayResponseToJSON = RedirectListResourceArrayResponseToJSON;
20
- exports.RedirectListResourceArrayResponseToJSONTyped = RedirectListResourceArrayResponseToJSONTyped;
21
- var RedirectListResource_1 = require("./RedirectListResource");
22
- /**
23
- * Check if a given object implements the RedirectListResourceArrayResponse interface.
24
- */
25
- function instanceOfRedirectListResourceArrayResponse(value) {
26
- return true;
27
- }
28
- function RedirectListResourceArrayResponseFromJSON(json) {
29
- return RedirectListResourceArrayResponseFromJSONTyped(json, false);
30
- }
31
- function RedirectListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'data': json['data'] == null ? undefined : (json['data'].map(RedirectListResource_1.RedirectListResourceFromJSON)),
37
- };
38
- }
39
- function RedirectListResourceArrayResponseToJSON(json) {
40
- return RedirectListResourceArrayResponseToJSONTyped(json, false);
41
- }
42
- function RedirectListResourceArrayResponseToJSONTyped(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(RedirectListResource_1.RedirectListResourceToJSON)),
49
- };
50
- }
@@ -1,33 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { SaveMapStoreStockMigrationRequestAssociationsInner } from './SaveMapStoreStockMigrationRequestAssociationsInner';
13
- /**
14
- *
15
- * @export
16
- * @interface SaveMapStoreStockMigrationRequest
17
- */
18
- export interface SaveMapStoreStockMigrationRequest {
19
- /**
20
- *
21
- * @type {Array<SaveMapStoreStockMigrationRequestAssociationsInner>}
22
- * @memberof SaveMapStoreStockMigrationRequest
23
- */
24
- associations: Array<SaveMapStoreStockMigrationRequestAssociationsInner>;
25
- }
26
- /**
27
- * Check if a given object implements the SaveMapStoreStockMigrationRequest interface.
28
- */
29
- export declare function instanceOfSaveMapStoreStockMigrationRequest(value: object): value is SaveMapStoreStockMigrationRequest;
30
- export declare function SaveMapStoreStockMigrationRequestFromJSON(json: any): SaveMapStoreStockMigrationRequest;
31
- export declare function SaveMapStoreStockMigrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveMapStoreStockMigrationRequest;
32
- export declare function SaveMapStoreStockMigrationRequestToJSON(json: any): SaveMapStoreStockMigrationRequest;
33
- export declare function SaveMapStoreStockMigrationRequestToJSONTyped(value?: SaveMapStoreStockMigrationRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,52 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfSaveMapStoreStockMigrationRequest = instanceOfSaveMapStoreStockMigrationRequest;
17
- exports.SaveMapStoreStockMigrationRequestFromJSON = SaveMapStoreStockMigrationRequestFromJSON;
18
- exports.SaveMapStoreStockMigrationRequestFromJSONTyped = SaveMapStoreStockMigrationRequestFromJSONTyped;
19
- exports.SaveMapStoreStockMigrationRequestToJSON = SaveMapStoreStockMigrationRequestToJSON;
20
- exports.SaveMapStoreStockMigrationRequestToJSONTyped = SaveMapStoreStockMigrationRequestToJSONTyped;
21
- var SaveMapStoreStockMigrationRequestAssociationsInner_1 = require("./SaveMapStoreStockMigrationRequestAssociationsInner");
22
- /**
23
- * Check if a given object implements the SaveMapStoreStockMigrationRequest interface.
24
- */
25
- function instanceOfSaveMapStoreStockMigrationRequest(value) {
26
- if (!('associations' in value) || value['associations'] === undefined)
27
- return false;
28
- return true;
29
- }
30
- function SaveMapStoreStockMigrationRequestFromJSON(json) {
31
- return SaveMapStoreStockMigrationRequestFromJSONTyped(json, false);
32
- }
33
- function SaveMapStoreStockMigrationRequestFromJSONTyped(json, ignoreDiscriminator) {
34
- if (json == null) {
35
- return json;
36
- }
37
- return {
38
- 'associations': (json['associations'].map(SaveMapStoreStockMigrationRequestAssociationsInner_1.SaveMapStoreStockMigrationRequestAssociationsInnerFromJSON)),
39
- };
40
- }
41
- function SaveMapStoreStockMigrationRequestToJSON(json) {
42
- return SaveMapStoreStockMigrationRequestToJSONTyped(json, false);
43
- }
44
- function SaveMapStoreStockMigrationRequestToJSONTyped(value, ignoreDiscriminator) {
45
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
46
- if (value == null) {
47
- return value;
48
- }
49
- return {
50
- 'associations': (value['associations'].map(SaveMapStoreStockMigrationRequestAssociationsInner_1.SaveMapStoreStockMigrationRequestAssociationsInnerToJSON)),
51
- };
52
- }
@@ -1,52 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface SaveMapStoreStockMigrationRequestAssociationsInner
16
- */
17
- export interface SaveMapStoreStockMigrationRequestAssociationsInner {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof SaveMapStoreStockMigrationRequestAssociationsInner
22
- */
23
- locationId: number;
24
- /**
25
- *
26
- * @type {number}
27
- * @memberof SaveMapStoreStockMigrationRequestAssociationsInner
28
- */
29
- storeId: number;
30
- /**
31
- *
32
- * @type {SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum}
33
- * @memberof SaveMapStoreStockMigrationRequestAssociationsInner
34
- */
35
- type: SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum;
36
- }
37
- /**
38
- * @export
39
- */
40
- export declare const SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum: {
41
- readonly Available: "available";
42
- readonly Display: "display";
43
- };
44
- export type SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum = typeof SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum[keyof typeof SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum];
45
- /**
46
- * Check if a given object implements the SaveMapStoreStockMigrationRequestAssociationsInner interface.
47
- */
48
- export declare function instanceOfSaveMapStoreStockMigrationRequestAssociationsInner(value: object): value is SaveMapStoreStockMigrationRequestAssociationsInner;
49
- export declare function SaveMapStoreStockMigrationRequestAssociationsInnerFromJSON(json: any): SaveMapStoreStockMigrationRequestAssociationsInner;
50
- export declare function SaveMapStoreStockMigrationRequestAssociationsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveMapStoreStockMigrationRequestAssociationsInner;
51
- export declare function SaveMapStoreStockMigrationRequestAssociationsInnerToJSON(json: any): SaveMapStoreStockMigrationRequestAssociationsInner;
52
- export declare function SaveMapStoreStockMigrationRequestAssociationsInnerToJSONTyped(value?: SaveMapStoreStockMigrationRequestAssociationsInner | null, ignoreDiscriminator?: boolean): any;
@@ -1,67 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum = void 0;
17
- exports.instanceOfSaveMapStoreStockMigrationRequestAssociationsInner = instanceOfSaveMapStoreStockMigrationRequestAssociationsInner;
18
- exports.SaveMapStoreStockMigrationRequestAssociationsInnerFromJSON = SaveMapStoreStockMigrationRequestAssociationsInnerFromJSON;
19
- exports.SaveMapStoreStockMigrationRequestAssociationsInnerFromJSONTyped = SaveMapStoreStockMigrationRequestAssociationsInnerFromJSONTyped;
20
- exports.SaveMapStoreStockMigrationRequestAssociationsInnerToJSON = SaveMapStoreStockMigrationRequestAssociationsInnerToJSON;
21
- exports.SaveMapStoreStockMigrationRequestAssociationsInnerToJSONTyped = SaveMapStoreStockMigrationRequestAssociationsInnerToJSONTyped;
22
- /**
23
- * @export
24
- */
25
- exports.SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum = {
26
- Available: 'available',
27
- Display: 'display'
28
- };
29
- /**
30
- * Check if a given object implements the SaveMapStoreStockMigrationRequestAssociationsInner interface.
31
- */
32
- function instanceOfSaveMapStoreStockMigrationRequestAssociationsInner(value) {
33
- if (!('locationId' in value) || value['locationId'] === undefined)
34
- return false;
35
- if (!('storeId' in value) || value['storeId'] === undefined)
36
- return false;
37
- if (!('type' in value) || value['type'] === undefined)
38
- return false;
39
- return true;
40
- }
41
- function SaveMapStoreStockMigrationRequestAssociationsInnerFromJSON(json) {
42
- return SaveMapStoreStockMigrationRequestAssociationsInnerFromJSONTyped(json, false);
43
- }
44
- function SaveMapStoreStockMigrationRequestAssociationsInnerFromJSONTyped(json, ignoreDiscriminator) {
45
- if (json == null) {
46
- return json;
47
- }
48
- return {
49
- 'locationId': json['location_id'],
50
- 'storeId': json['store_id'],
51
- 'type': json['type'],
52
- };
53
- }
54
- function SaveMapStoreStockMigrationRequestAssociationsInnerToJSON(json) {
55
- return SaveMapStoreStockMigrationRequestAssociationsInnerToJSONTyped(json, false);
56
- }
57
- function SaveMapStoreStockMigrationRequestAssociationsInnerToJSONTyped(value, ignoreDiscriminator) {
58
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
59
- if (value == null) {
60
- return value;
61
- }
62
- return {
63
- 'location_id': value['locationId'],
64
- 'store_id': value['storeId'],
65
- 'type': value['type'],
66
- };
67
- }
@@ -1,74 +0,0 @@
1
- # RedirectApi
2
-
3
- All URIs are relative to *http://localhost/api*
4
-
5
- | Method | HTTP request | Description |
6
- |------------- | ------------- | -------------|
7
- | [**indexRedirect**](RedirectApi.md#indexredirectoperation) | **POST** /admin-api/redirect/list | Auto-generated: indexRedirect |
8
-
9
-
10
-
11
- ## indexRedirect
12
-
13
- > PaginatedRedirectListResourceResponse indexRedirect(indexRedirectRequest)
14
-
15
- Auto-generated: indexRedirect
16
-
17
- ### Example
18
-
19
- ```ts
20
- import {
21
- Configuration,
22
- RedirectApi,
23
- } from '@digital8/lighting-illusions-ts-sdk';
24
- import type { IndexRedirectOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
25
-
26
- async function example() {
27
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
28
- const api = new RedirectApi();
29
-
30
- const body = {
31
- // IndexRedirectRequest (optional)
32
- indexRedirectRequest: ...,
33
- } satisfies IndexRedirectOperationRequest;
34
-
35
- try {
36
- const data = await api.indexRedirect(body);
37
- console.log(data);
38
- } catch (error) {
39
- console.error(error);
40
- }
41
- }
42
-
43
- // Run the test
44
- example().catch(console.error);
45
- ```
46
-
47
- ### Parameters
48
-
49
-
50
- | Name | Type | Description | Notes |
51
- |------------- | ------------- | ------------- | -------------|
52
- | **indexRedirectRequest** | [IndexRedirectRequest](IndexRedirectRequest.md) | | [Optional] |
53
-
54
- ### Return type
55
-
56
- [**PaginatedRedirectListResourceResponse**](PaginatedRedirectListResourceResponse.md)
57
-
58
- ### Authorization
59
-
60
- No authorization required
61
-
62
- ### HTTP request headers
63
-
64
- - **Content-Type**: `application/json`
65
- - **Accept**: `application/json`
66
-
67
-
68
- ### HTTP response details
69
- | Status code | Description | Response headers |
70
- |-------------|-------------|------------------|
71
- | **200** | Paginated response \\JsonResponse&lt;\\ResourcePaginator&lt;\\RedirectListResource[]&gt;&gt; | - |
72
-
73
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
74
-
@@ -1,34 +0,0 @@
1
-
2
- # SaveMapStoreStockMigrationRequest
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `associations` | [Array&lt;SaveMapStoreStockMigrationRequestAssociationsInner&gt;](SaveMapStoreStockMigrationRequestAssociationsInner.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { SaveMapStoreStockMigrationRequest } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "associations": null,
19
- } satisfies SaveMapStoreStockMigrationRequest
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 SaveMapStoreStockMigrationRequest
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,38 +0,0 @@
1
-
2
- # SaveMapStoreStockMigrationRequestAssociationsInner
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `locationId` | number
10
- `storeId` | number
11
- `type` | string
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import type { SaveMapStoreStockMigrationRequestAssociationsInner } from '@digital8/lighting-illusions-ts-sdk'
17
-
18
- // TODO: Update the object below with actual values
19
- const example = {
20
- "locationId": null,
21
- "storeId": null,
22
- "type": null,
23
- } satisfies SaveMapStoreStockMigrationRequestAssociationsInner
24
-
25
- console.log(example)
26
-
27
- // Convert the instance to a JSON string
28
- const exampleJSON: string = JSON.stringify(example)
29
- console.log(exampleJSON)
30
-
31
- // Parse the JSON string back to an object
32
- const exampleParsed = JSON.parse(exampleJSON) as SaveMapStoreStockMigrationRequestAssociationsInner
33
- console.log(exampleParsed)
34
- ```
35
-
36
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
-
38
-
@@ -1,77 +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
-
16
- import * as runtime from '../runtime';
17
- import type {
18
- IndexRedirectRequest,
19
- PaginatedRedirectListResourceResponse,
20
- } from '../models/index';
21
- import {
22
- IndexRedirectRequestFromJSON,
23
- IndexRedirectRequestToJSON,
24
- PaginatedRedirectListResourceResponseFromJSON,
25
- PaginatedRedirectListResourceResponseToJSON,
26
- } from '../models/index';
27
-
28
- export interface IndexRedirectOperationRequest {
29
- indexRedirectRequest?: IndexRedirectRequest;
30
- }
31
-
32
- /**
33
- *
34
- */
35
- export class RedirectApi extends runtime.BaseAPI {
36
-
37
- /**
38
- * Creates request options for indexRedirect without sending the request
39
- */
40
- async indexRedirectRequestOpts(requestParameters: IndexRedirectOperationRequest): Promise<runtime.RequestOpts> {
41
- const queryParameters: any = {};
42
-
43
- const headerParameters: runtime.HTTPHeaders = {};
44
-
45
- headerParameters['Content-Type'] = 'application/json';
46
-
47
-
48
- let urlPath = `/admin-api/redirect/list`;
49
-
50
- return {
51
- path: urlPath,
52
- method: 'POST',
53
- headers: headerParameters,
54
- query: queryParameters,
55
- body: IndexRedirectRequestToJSON(requestParameters['indexRedirectRequest']),
56
- };
57
- }
58
-
59
- /**
60
- * Auto-generated: indexRedirect
61
- */
62
- async indexRedirectRaw(requestParameters: IndexRedirectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedRedirectListResourceResponse>> {
63
- const requestOptions = await this.indexRedirectRequestOpts(requestParameters);
64
- const response = await this.request(requestOptions, initOverrides);
65
-
66
- return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedRedirectListResourceResponseFromJSON(jsonValue));
67
- }
68
-
69
- /**
70
- * Auto-generated: indexRedirect
71
- */
72
- async indexRedirect(requestParameters: IndexRedirectOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedRedirectListResourceResponse> {
73
- const response = await this.indexRedirectRaw(requestParameters, initOverrides);
74
- return await response.value();
75
- }
76
-
77
- }
@@ -1,184 +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 IndexRedirectRequest
20
- */
21
- export interface IndexRedirectRequest {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof IndexRedirectRequest
26
- */
27
- search?: string | null;
28
- /**
29
- *
30
- * @type {IndexRedirectRequestSortByEnum}
31
- * @memberof IndexRedirectRequest
32
- */
33
- sortBy?: IndexRedirectRequestSortByEnum;
34
- /**
35
- *
36
- * @type {IndexRedirectRequestSortDirectionEnum}
37
- * @memberof IndexRedirectRequest
38
- */
39
- sortDirection?: IndexRedirectRequestSortDirectionEnum;
40
- /**
41
- *
42
- * @type {number}
43
- * @memberof IndexRedirectRequest
44
- */
45
- perPage?: number;
46
- /**
47
- *
48
- * @type {number}
49
- * @memberof IndexRedirectRequest
50
- */
51
- page?: number;
52
- /**
53
- *
54
- * @type {Array<string>}
55
- * @memberof IndexRedirectRequest
56
- */
57
- siteId?: Array<string>;
58
- /**
59
- *
60
- * @type {Array<string>}
61
- * @memberof IndexRedirectRequest
62
- */
63
- redirectableType?: Array<string>;
64
- /**
65
- *
66
- * @type {number}
67
- * @memberof IndexRedirectRequest
68
- */
69
- relatedId?: number;
70
- /**
71
- *
72
- * @type {IndexRedirectRequestRelatedTypeEnum}
73
- * @memberof IndexRedirectRequest
74
- */
75
- relatedType?: IndexRedirectRequestRelatedTypeEnum;
76
- /**
77
- *
78
- * @type {boolean}
79
- * @memberof IndexRedirectRequest
80
- */
81
- includesRelations?: boolean;
82
- /**
83
- *
84
- * @type {number}
85
- * @memberof IndexRedirectRequest
86
- */
87
- productChildId?: number | null;
88
- /**
89
- *
90
- * @type {number}
91
- * @memberof IndexRedirectRequest
92
- */
93
- productRangeId?: number | null;
94
- }
95
-
96
-
97
- /**
98
- * @export
99
- */
100
- export const IndexRedirectRequestSortByEnum = {
101
- Id: 'id'
102
- } as const;
103
- export type IndexRedirectRequestSortByEnum = typeof IndexRedirectRequestSortByEnum[keyof typeof IndexRedirectRequestSortByEnum];
104
-
105
- /**
106
- * @export
107
- */
108
- export const IndexRedirectRequestSortDirectionEnum = {
109
- Asc: 'asc',
110
- Desc: 'desc'
111
- } as const;
112
- export type IndexRedirectRequestSortDirectionEnum = typeof IndexRedirectRequestSortDirectionEnum[keyof typeof IndexRedirectRequestSortDirectionEnum];
113
-
114
- /**
115
- * @export
116
- */
117
- export const IndexRedirectRequestRelatedTypeEnum = {
118
- ProductChildSiteDetail: 'productChildSiteDetail',
119
- ProductRangeSiteDetail: 'productRangeSiteDetail',
120
- ProductCategory: 'productCategory',
121
- Supplier: 'supplier',
122
- Tag: 'tag'
123
- } as const;
124
- export type IndexRedirectRequestRelatedTypeEnum = typeof IndexRedirectRequestRelatedTypeEnum[keyof typeof IndexRedirectRequestRelatedTypeEnum];
125
-
126
-
127
- /**
128
- * Check if a given object implements the IndexRedirectRequest interface.
129
- */
130
- export function instanceOfIndexRedirectRequest(value: object): value is IndexRedirectRequest {
131
- return true;
132
- }
133
-
134
- export function IndexRedirectRequestFromJSON(json: any): IndexRedirectRequest {
135
- return IndexRedirectRequestFromJSONTyped(json, false);
136
- }
137
-
138
- export function IndexRedirectRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexRedirectRequest {
139
- if (json == null) {
140
- return json;
141
- }
142
- return {
143
-
144
- 'search': json['search'] == null ? undefined : json['search'],
145
- 'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
146
- 'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
147
- 'perPage': json['per_page'] == null ? undefined : json['per_page'],
148
- 'page': json['page'] == null ? undefined : json['page'],
149
- 'siteId': json['site_id'] == null ? undefined : json['site_id'],
150
- 'redirectableType': json['redirectable_type'] == null ? undefined : json['redirectable_type'],
151
- 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
152
- 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
153
- 'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
154
- 'productChildId': json['product_child_id'] == null ? undefined : json['product_child_id'],
155
- 'productRangeId': json['product_range_id'] == null ? undefined : json['product_range_id'],
156
- };
157
- }
158
-
159
- export function IndexRedirectRequestToJSON(json: any): IndexRedirectRequest {
160
- return IndexRedirectRequestToJSONTyped(json, false);
161
- }
162
-
163
- export function IndexRedirectRequestToJSONTyped(value?: IndexRedirectRequest | null, ignoreDiscriminator: boolean = false): any {
164
- if (value == null) {
165
- return value;
166
- }
167
-
168
- return {
169
-
170
- 'search': value['search'],
171
- 'sortBy': value['sortBy'],
172
- 'sortDirection': value['sortDirection'],
173
- 'per_page': value['perPage'],
174
- 'page': value['page'],
175
- 'site_id': value['siteId'],
176
- 'redirectable_type': value['redirectableType'],
177
- 'related_id': value['relatedId'],
178
- 'related_type': value['relatedType'],
179
- 'includes_relations': value['includesRelations'],
180
- 'product_child_id': value['productChildId'],
181
- 'product_range_id': value['productRangeId'],
182
- };
183
- }
184
-