@digital8/lighting-illusions-ts-sdk 0.0.1835 → 0.0.1836

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 (274) hide show
  1. package/.openapi-generator/FILES +114 -0
  2. package/README.md +74 -2
  3. package/dist/apis/MenuApi.d.ts +109 -0
  4. package/dist/apis/MenuApi.js +433 -0
  5. package/dist/apis/MenuItemsApi.d.ts +124 -0
  6. package/dist/apis/MenuItemsApi.js +491 -0
  7. package/dist/apis/ProductRegistrationApi.d.ts +95 -0
  8. package/dist/apis/ProductRegistrationApi.js +377 -0
  9. package/dist/apis/RedirectApi.d.ts +33 -0
  10. package/dist/apis/RedirectApi.js +138 -0
  11. package/dist/apis/index.d.ts +4 -0
  12. package/dist/apis/index.js +4 -0
  13. package/dist/models/AddressFrontendResource.d.ts +1 -1
  14. package/dist/models/AddressFrontendResource.js +3 -1
  15. package/dist/models/AddressResource.d.ts +2 -2
  16. package/dist/models/AddressResource.js +2 -6
  17. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  18. package/dist/models/ExternalApiLogResource.js +3 -1
  19. package/dist/models/GetAllMenuItemRequest.d.ts +93 -0
  20. package/dist/models/GetAllMenuItemRequest.js +81 -0
  21. package/dist/models/GetAllMenuRequest.d.ts +93 -0
  22. package/dist/models/GetAllMenuRequest.js +81 -0
  23. package/dist/models/GetAllProductRegistrationRequest.d.ts +88 -0
  24. package/dist/models/GetAllProductRegistrationRequest.js +80 -0
  25. package/dist/models/GetHierarchyMenuItemRequest.d.ts +32 -0
  26. package/dist/models/GetHierarchyMenuItemRequest.js +51 -0
  27. package/dist/models/GlobalSearchProductResource.d.ts +6 -0
  28. package/dist/models/GlobalSearchProductResource.js +4 -0
  29. package/dist/models/IndexExternalApiLogRequest.d.ts +6 -0
  30. package/dist/models/IndexExternalApiLogRequest.js +2 -0
  31. package/dist/models/IndexMenuRequest.d.ts +105 -0
  32. package/dist/models/IndexMenuRequest.js +85 -0
  33. package/dist/models/IndexProductChildRequest.d.ts +1 -0
  34. package/dist/models/IndexProductChildRequest.js +1 -0
  35. package/dist/models/IndexProductRegistrationRequest.d.ts +131 -0
  36. package/dist/models/IndexProductRegistrationRequest.js +98 -0
  37. package/dist/models/IndexRedirectRequest.d.ts +124 -0
  38. package/dist/models/IndexRedirectRequest.js +95 -0
  39. package/dist/models/ListAssetsProductRegistrationRequest.d.ts +103 -0
  40. package/dist/models/ListAssetsProductRegistrationRequest.js +83 -0
  41. package/dist/models/MenuItemHierarchyResource.d.ts +81 -0
  42. package/dist/models/MenuItemHierarchyResource.js +80 -0
  43. package/dist/models/MenuItemHierarchyResourceArrayResponse.d.ts +33 -0
  44. package/dist/models/MenuItemHierarchyResourceArrayResponse.js +50 -0
  45. package/dist/models/MenuItemLinkResource.d.ts +68 -0
  46. package/dist/models/MenuItemLinkResource.js +67 -0
  47. package/dist/models/MenuItemLinkResourceArrayResponse.d.ts +33 -0
  48. package/dist/models/MenuItemLinkResourceArrayResponse.js +50 -0
  49. package/dist/models/MenuItemLiteResource.d.ts +62 -0
  50. package/dist/models/MenuItemLiteResource.js +67 -0
  51. package/dist/models/MenuItemLiteResourceArrayResponse.d.ts +33 -0
  52. package/dist/models/MenuItemLiteResourceArrayResponse.js +50 -0
  53. package/dist/models/MenuItemResource.d.ts +106 -0
  54. package/dist/models/MenuItemResource.js +91 -0
  55. package/dist/models/MenuItemResourceArrayResponse.d.ts +33 -0
  56. package/dist/models/MenuItemResourceArrayResponse.js +50 -0
  57. package/dist/models/MenuItemType.d.ts +27 -0
  58. package/dist/models/MenuItemType.js +53 -0
  59. package/dist/models/MenuListResource.d.ts +64 -0
  60. package/dist/models/MenuListResource.js +73 -0
  61. package/dist/models/MenuListResourceArrayResponse.d.ts +33 -0
  62. package/dist/models/MenuListResourceArrayResponse.js +50 -0
  63. package/dist/models/MenuPosition.d.ts +26 -0
  64. package/dist/models/MenuPosition.js +52 -0
  65. package/dist/models/MenuResource.d.ts +63 -0
  66. package/dist/models/MenuResource.js +70 -0
  67. package/dist/models/MenuResourceArrayResponse.d.ts +33 -0
  68. package/dist/models/MenuResourceArrayResponse.js +50 -0
  69. package/dist/models/PaginatedMenuListResourceResponse.d.ts +40 -0
  70. package/dist/models/PaginatedMenuListResourceResponse.js +57 -0
  71. package/dist/models/PaginatedProductRegistrationAssetResourceResponse.d.ts +40 -0
  72. package/dist/models/PaginatedProductRegistrationAssetResourceResponse.js +57 -0
  73. package/dist/models/PaginatedProductRegistrationListResourceResponse.d.ts +40 -0
  74. package/dist/models/PaginatedProductRegistrationListResourceResponse.js +57 -0
  75. package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +40 -0
  76. package/dist/models/PaginatedProductRegistrationResourceResponse.js +57 -0
  77. package/dist/models/PaginatedRedirectListResourceResponse.d.ts +40 -0
  78. package/dist/models/PaginatedRedirectListResourceResponse.js +57 -0
  79. package/dist/models/ProductChildListResource.d.ts +6 -0
  80. package/dist/models/ProductChildListResource.js +2 -0
  81. package/dist/models/ProductRegistrationAssetResource.d.ts +45 -0
  82. package/dist/models/ProductRegistrationAssetResource.js +58 -0
  83. package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +33 -0
  84. package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +50 -0
  85. package/dist/models/ProductRegistrationAssetType.d.ts +25 -0
  86. package/dist/models/ProductRegistrationAssetType.js +51 -0
  87. package/dist/models/ProductRegistrationCustomerLiteResource.d.ts +50 -0
  88. package/dist/models/ProductRegistrationCustomerLiteResource.js +61 -0
  89. package/dist/models/ProductRegistrationCustomerLiteResourceArrayResponse.d.ts +33 -0
  90. package/dist/models/ProductRegistrationCustomerLiteResourceArrayResponse.js +50 -0
  91. package/dist/models/ProductRegistrationCustomerResource.d.ts +62 -0
  92. package/dist/models/ProductRegistrationCustomerResource.js +65 -0
  93. package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +33 -0
  94. package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +50 -0
  95. package/dist/models/ProductRegistrationListResource.d.ts +57 -0
  96. package/dist/models/ProductRegistrationListResource.js +64 -0
  97. package/dist/models/ProductRegistrationListResourceArrayResponse.d.ts +33 -0
  98. package/dist/models/ProductRegistrationListResourceArrayResponse.js +50 -0
  99. package/dist/models/ProductRegistrationLiteResource.d.ts +38 -0
  100. package/dist/models/ProductRegistrationLiteResource.js +53 -0
  101. package/dist/models/ProductRegistrationLiteResourceArrayResponse.d.ts +33 -0
  102. package/dist/models/ProductRegistrationLiteResourceArrayResponse.js +50 -0
  103. package/dist/models/ProductRegistrationProductChildResource.d.ts +50 -0
  104. package/dist/models/ProductRegistrationProductChildResource.js +63 -0
  105. package/dist/models/ProductRegistrationProductChildResourceArrayResponse.d.ts +33 -0
  106. package/dist/models/ProductRegistrationProductChildResourceArrayResponse.js +50 -0
  107. package/dist/models/ProductRegistrationResource.d.ts +90 -0
  108. package/dist/models/ProductRegistrationResource.js +81 -0
  109. package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +33 -0
  110. package/dist/models/ProductRegistrationResourceArrayResponse.js +50 -0
  111. package/dist/models/ProductSearchResultResource.d.ts +6 -0
  112. package/dist/models/ProductSearchResultResource.js +4 -0
  113. package/dist/models/RedirectFrontendResource.d.ts +62 -0
  114. package/dist/models/RedirectFrontendResource.js +71 -0
  115. package/dist/models/RedirectFrontendResourceArrayResponse.d.ts +33 -0
  116. package/dist/models/RedirectFrontendResourceArrayResponse.js +50 -0
  117. package/dist/models/RedirectListResource.d.ts +69 -0
  118. package/dist/models/RedirectListResource.js +76 -0
  119. package/dist/models/RedirectListResourceArrayResponse.d.ts +33 -0
  120. package/dist/models/RedirectListResourceArrayResponse.js +50 -0
  121. package/dist/models/SearchLinkablesMenuItemRequest.d.ts +54 -0
  122. package/dist/models/SearchLinkablesMenuItemRequest.js +65 -0
  123. package/dist/models/StoreAssetForAssetableRequest.d.ts +2 -0
  124. package/dist/models/StoreAssetForAssetableRequest.js +3 -1
  125. package/dist/models/StoreFrontendResource.d.ts +1 -1
  126. package/dist/models/StoreFrontendResource.js +3 -1
  127. package/dist/models/StoreMenuItemRequest.d.ts +97 -0
  128. package/dist/models/StoreMenuItemRequest.js +84 -0
  129. package/dist/models/StoreMenuItemRequestMenuItemLink.d.ts +60 -0
  130. package/dist/models/StoreMenuItemRequestMenuItemLink.js +65 -0
  131. package/dist/models/StoreMenuRequest.d.ts +53 -0
  132. package/dist/models/StoreMenuRequest.js +68 -0
  133. package/dist/models/StoreResource.d.ts +2 -2
  134. package/dist/models/StoreResource.js +4 -4
  135. package/dist/models/UpdateMenuItemRequest.d.ts +97 -0
  136. package/dist/models/UpdateMenuItemRequest.js +78 -0
  137. package/dist/models/UpdateMenuRequest.d.ts +60 -0
  138. package/dist/models/UpdateMenuRequest.js +65 -0
  139. package/dist/models/UpdateMenuRequestMenuItemOrderInner.d.ts +44 -0
  140. package/dist/models/UpdateMenuRequestMenuItemOrderInner.js +53 -0
  141. package/dist/models/index.d.ts +53 -0
  142. package/dist/models/index.js +53 -0
  143. package/docs/GetAllMenuItemRequest.md +48 -0
  144. package/docs/GetAllMenuRequest.md +48 -0
  145. package/docs/GetAllProductRegistrationRequest.md +46 -0
  146. package/docs/GetHierarchyMenuItemRequest.md +34 -0
  147. package/docs/GlobalSearchProductResource.md +2 -0
  148. package/docs/IndexExternalApiLogRequest.md +2 -0
  149. package/docs/IndexMenuRequest.md +52 -0
  150. package/docs/IndexProductRegistrationRequest.md +58 -0
  151. package/docs/IndexRedirectRequest.md +56 -0
  152. package/docs/ListAssetsProductRegistrationRequest.md +52 -0
  153. package/docs/MenuApi.md +407 -0
  154. package/docs/MenuItemHierarchyResource.md +50 -0
  155. package/docs/MenuItemHierarchyResourceArrayResponse.md +34 -0
  156. package/docs/MenuItemLinkResource.md +46 -0
  157. package/docs/MenuItemLinkResourceArrayResponse.md +34 -0
  158. package/docs/MenuItemLiteResource.md +44 -0
  159. package/docs/MenuItemLiteResourceArrayResponse.md +34 -0
  160. package/docs/MenuItemResource.md +58 -0
  161. package/docs/MenuItemResourceArrayResponse.md +34 -0
  162. package/docs/MenuItemType.md +32 -0
  163. package/docs/MenuItemsApi.md +473 -0
  164. package/docs/MenuListResource.md +44 -0
  165. package/docs/MenuListResourceArrayResponse.md +34 -0
  166. package/docs/MenuPosition.md +32 -0
  167. package/docs/MenuResource.md +44 -0
  168. package/docs/MenuResourceArrayResponse.md +34 -0
  169. package/docs/PaginatedMenuListResourceResponse.md +36 -0
  170. package/docs/PaginatedProductRegistrationAssetResourceResponse.md +36 -0
  171. package/docs/PaginatedProductRegistrationListResourceResponse.md +36 -0
  172. package/docs/PaginatedProductRegistrationResourceResponse.md +36 -0
  173. package/docs/PaginatedRedirectListResourceResponse.md +36 -0
  174. package/docs/ProductChildListResource.md +2 -0
  175. package/docs/ProductRegistrationApi.md +344 -0
  176. package/docs/ProductRegistrationAssetResource.md +38 -0
  177. package/docs/ProductRegistrationAssetResourceArrayResponse.md +34 -0
  178. package/docs/ProductRegistrationAssetType.md +32 -0
  179. package/docs/ProductRegistrationCustomerLiteResource.md +40 -0
  180. package/docs/ProductRegistrationCustomerLiteResourceArrayResponse.md +34 -0
  181. package/docs/ProductRegistrationCustomerResource.md +44 -0
  182. package/docs/ProductRegistrationCustomerResourceArrayResponse.md +34 -0
  183. package/docs/ProductRegistrationListResource.md +42 -0
  184. package/docs/ProductRegistrationListResourceArrayResponse.md +34 -0
  185. package/docs/ProductRegistrationLiteResource.md +36 -0
  186. package/docs/ProductRegistrationLiteResourceArrayResponse.md +34 -0
  187. package/docs/ProductRegistrationProductChildResource.md +40 -0
  188. package/docs/ProductRegistrationProductChildResourceArrayResponse.md +34 -0
  189. package/docs/ProductRegistrationResource.md +52 -0
  190. package/docs/ProductRegistrationResourceArrayResponse.md +34 -0
  191. package/docs/ProductSearchResultResource.md +2 -0
  192. package/docs/RedirectApi.md +74 -0
  193. package/docs/RedirectFrontendResource.md +44 -0
  194. package/docs/RedirectFrontendResourceArrayResponse.md +34 -0
  195. package/docs/RedirectListResource.md +46 -0
  196. package/docs/RedirectListResourceArrayResponse.md +34 -0
  197. package/docs/SearchLinkablesMenuItemRequest.md +38 -0
  198. package/docs/StoreMenuItemRequest.md +52 -0
  199. package/docs/StoreMenuItemRequestMenuItemLink.md +40 -0
  200. package/docs/StoreMenuRequest.md +38 -0
  201. package/docs/UpdateMenuItemRequest.md +52 -0
  202. package/docs/UpdateMenuRequest.md +40 -0
  203. package/docs/UpdateMenuRequestMenuItemOrderInner.md +38 -0
  204. package/package.json +1 -1
  205. package/src/apis/MenuApi.ts +334 -0
  206. package/src/apis/MenuItemsApi.ts +381 -0
  207. package/src/apis/ProductRegistrationApi.ts +297 -0
  208. package/src/apis/RedirectApi.ts +77 -0
  209. package/src/apis/index.ts +4 -0
  210. package/src/models/AddressFrontendResource.ts +3 -2
  211. package/src/models/AddressResource.ts +4 -6
  212. package/src/models/ExternalApiLogResource.ts +3 -2
  213. package/src/models/GetAllMenuItemRequest.ts +144 -0
  214. package/src/models/GetAllMenuRequest.ts +144 -0
  215. package/src/models/GetAllProductRegistrationRequest.ts +137 -0
  216. package/src/models/GetHierarchyMenuItemRequest.ts +66 -0
  217. package/src/models/GlobalSearchProductResource.ts +9 -0
  218. package/src/models/IndexExternalApiLogRequest.ts +8 -0
  219. package/src/models/IndexMenuRequest.ts +160 -0
  220. package/src/models/IndexProductChildRequest.ts +1 -0
  221. package/src/models/IndexProductRegistrationRequest.ts +193 -0
  222. package/src/models/IndexRedirectRequest.ts +184 -0
  223. package/src/models/ListAssetsProductRegistrationRequest.ts +158 -0
  224. package/src/models/MenuItemHierarchyResource.ts +144 -0
  225. package/src/models/MenuItemHierarchyResourceArrayResponse.ts +73 -0
  226. package/src/models/MenuItemLinkResource.ts +116 -0
  227. package/src/models/MenuItemLinkResourceArrayResponse.ts +73 -0
  228. package/src/models/MenuItemLiteResource.ts +109 -0
  229. package/src/models/MenuItemLiteResourceArrayResponse.ts +73 -0
  230. package/src/models/MenuItemResource.ts +184 -0
  231. package/src/models/MenuItemResourceArrayResponse.ts +73 -0
  232. package/src/models/MenuItemType.ts +55 -0
  233. package/src/models/MenuListResource.ts +126 -0
  234. package/src/models/MenuListResourceArrayResponse.ts +73 -0
  235. package/src/models/MenuPosition.ts +54 -0
  236. package/src/models/MenuResource.ts +118 -0
  237. package/src/models/MenuResourceArrayResponse.ts +73 -0
  238. package/src/models/PaginatedMenuListResourceResponse.ts +90 -0
  239. package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +90 -0
  240. package/src/models/PaginatedProductRegistrationListResourceResponse.ts +90 -0
  241. package/src/models/PaginatedProductRegistrationResourceResponse.ts +90 -0
  242. package/src/models/PaginatedRedirectListResourceResponse.ts +90 -0
  243. package/src/models/ProductChildListResource.ts +8 -0
  244. package/src/models/ProductRegistrationAssetResource.ts +91 -0
  245. package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +73 -0
  246. package/src/models/ProductRegistrationAssetType.ts +53 -0
  247. package/src/models/ProductRegistrationCustomerLiteResource.ts +92 -0
  248. package/src/models/ProductRegistrationCustomerLiteResourceArrayResponse.ts +73 -0
  249. package/src/models/ProductRegistrationCustomerResource.ts +108 -0
  250. package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +73 -0
  251. package/src/models/ProductRegistrationListResource.ts +108 -0
  252. package/src/models/ProductRegistrationListResourceArrayResponse.ts +73 -0
  253. package/src/models/ProductRegistrationLiteResource.ts +74 -0
  254. package/src/models/ProductRegistrationLiteResourceArrayResponse.ts +73 -0
  255. package/src/models/ProductRegistrationProductChildResource.ts +93 -0
  256. package/src/models/ProductRegistrationProductChildResourceArrayResponse.ts +73 -0
  257. package/src/models/ProductRegistrationResource.ts +171 -0
  258. package/src/models/ProductRegistrationResourceArrayResponse.ts +73 -0
  259. package/src/models/ProductSearchResultResource.ts +9 -0
  260. package/src/models/RedirectFrontendResource.ts +111 -0
  261. package/src/models/RedirectFrontendResourceArrayResponse.ts +73 -0
  262. package/src/models/RedirectListResource.ts +128 -0
  263. package/src/models/RedirectListResourceArrayResponse.ts +73 -0
  264. package/src/models/SearchLinkablesMenuItemRequest.ts +95 -0
  265. package/src/models/StoreAssetForAssetableRequest.ts +3 -1
  266. package/src/models/StoreFrontendResource.ts +3 -2
  267. package/src/models/StoreMenuItemRequest.ts +161 -0
  268. package/src/models/StoreMenuItemRequestMenuItemLink.ts +102 -0
  269. package/src/models/StoreMenuRequest.ts +96 -0
  270. package/src/models/StoreResource.ts +5 -5
  271. package/src/models/UpdateMenuItemRequest.ts +158 -0
  272. package/src/models/UpdateMenuRequest.ts +109 -0
  273. package/src/models/UpdateMenuRequestMenuItemOrderInner.ts +81 -0
  274. package/src/models/index.ts +53 -0
@@ -64,6 +64,7 @@ function IndexExternalApiLogRequestFromJSONTyped(json, ignoreDiscriminator) {
64
64
  'externalApiLoggableId': json['external_api_loggable_id'] == null ? undefined : json['external_api_loggable_id'],
65
65
  'siteId': json['site_id'] == null ? undefined : json['site_id'],
66
66
  'productChildId': json['product_child_id'] == null ? undefined : json['product_child_id'],
67
+ 'productRegistrationId': json['product_registration_id'] == null ? undefined : json['product_registration_id'],
67
68
  'endpoint': json['endpoint'] == null ? undefined : json['endpoint'],
68
69
  'beforeCreatedAt': json['before_created_at'] == null ? undefined : (new Date(json['before_created_at'])),
69
70
  'afterCreatedAt': json['after_created_at'] == null ? undefined : (new Date(json['after_created_at'])),
@@ -93,6 +94,7 @@ function IndexExternalApiLogRequestToJSONTyped(value, ignoreDiscriminator) {
93
94
  'external_api_loggable_id': value['externalApiLoggableId'],
94
95
  'site_id': value['siteId'],
95
96
  'product_child_id': value['productChildId'],
97
+ 'product_registration_id': value['productRegistrationId'],
96
98
  'endpoint': value['endpoint'],
97
99
  'before_created_at': value['beforeCreatedAt'] == null ? value['beforeCreatedAt'] : value['beforeCreatedAt'].toISOString(),
98
100
  'after_created_at': value['afterCreatedAt'] == null ? value['afterCreatedAt'] : value['afterCreatedAt'].toISOString(),
@@ -0,0 +1,105 @@
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 IndexMenuRequest
16
+ */
17
+ export interface IndexMenuRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof IndexMenuRequest
22
+ */
23
+ search?: string | null;
24
+ /**
25
+ *
26
+ * @type {IndexMenuRequestSortByEnum}
27
+ * @memberof IndexMenuRequest
28
+ */
29
+ sortBy?: IndexMenuRequestSortByEnum;
30
+ /**
31
+ *
32
+ * @type {IndexMenuRequestSortDirectionEnum}
33
+ * @memberof IndexMenuRequest
34
+ */
35
+ sortDirection?: IndexMenuRequestSortDirectionEnum;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof IndexMenuRequest
40
+ */
41
+ perPage?: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof IndexMenuRequest
46
+ */
47
+ page?: number;
48
+ /**
49
+ *
50
+ * @type {Array<string>}
51
+ * @memberof IndexMenuRequest
52
+ */
53
+ siteId?: Array<string>;
54
+ /**
55
+ *
56
+ * @type {Array<string>}
57
+ * @memberof IndexMenuRequest
58
+ */
59
+ position?: Array<string>;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof IndexMenuRequest
64
+ */
65
+ relatedId?: number;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof IndexMenuRequest
70
+ */
71
+ relatedType?: string;
72
+ /**
73
+ *
74
+ * @type {boolean}
75
+ * @memberof IndexMenuRequest
76
+ */
77
+ includesRelations?: boolean;
78
+ }
79
+ /**
80
+ * @export
81
+ */
82
+ export declare const IndexMenuRequestSortByEnum: {
83
+ readonly Id: "id";
84
+ readonly Name: "name";
85
+ readonly Position: "position";
86
+ readonly SiteName: "site-name";
87
+ readonly MenuItemCount: "menu_item_count";
88
+ };
89
+ export type IndexMenuRequestSortByEnum = typeof IndexMenuRequestSortByEnum[keyof typeof IndexMenuRequestSortByEnum];
90
+ /**
91
+ * @export
92
+ */
93
+ export declare const IndexMenuRequestSortDirectionEnum: {
94
+ readonly Asc: "asc";
95
+ readonly Desc: "desc";
96
+ };
97
+ export type IndexMenuRequestSortDirectionEnum = typeof IndexMenuRequestSortDirectionEnum[keyof typeof IndexMenuRequestSortDirectionEnum];
98
+ /**
99
+ * Check if a given object implements the IndexMenuRequest interface.
100
+ */
101
+ export declare function instanceOfIndexMenuRequest(value: object): value is IndexMenuRequest;
102
+ export declare function IndexMenuRequestFromJSON(json: any): IndexMenuRequest;
103
+ export declare function IndexMenuRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexMenuRequest;
104
+ export declare function IndexMenuRequestToJSON(json: any): IndexMenuRequest;
105
+ export declare function IndexMenuRequestToJSONTyped(value?: IndexMenuRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,85 @@
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.IndexMenuRequestSortDirectionEnum = exports.IndexMenuRequestSortByEnum = void 0;
17
+ exports.instanceOfIndexMenuRequest = instanceOfIndexMenuRequest;
18
+ exports.IndexMenuRequestFromJSON = IndexMenuRequestFromJSON;
19
+ exports.IndexMenuRequestFromJSONTyped = IndexMenuRequestFromJSONTyped;
20
+ exports.IndexMenuRequestToJSON = IndexMenuRequestToJSON;
21
+ exports.IndexMenuRequestToJSONTyped = IndexMenuRequestToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.IndexMenuRequestSortByEnum = {
26
+ Id: 'id',
27
+ Name: 'name',
28
+ Position: 'position',
29
+ SiteName: 'site-name',
30
+ MenuItemCount: 'menu_item_count'
31
+ };
32
+ /**
33
+ * @export
34
+ */
35
+ exports.IndexMenuRequestSortDirectionEnum = {
36
+ Asc: 'asc',
37
+ Desc: 'desc'
38
+ };
39
+ /**
40
+ * Check if a given object implements the IndexMenuRequest interface.
41
+ */
42
+ function instanceOfIndexMenuRequest(value) {
43
+ return true;
44
+ }
45
+ function IndexMenuRequestFromJSON(json) {
46
+ return IndexMenuRequestFromJSONTyped(json, false);
47
+ }
48
+ function IndexMenuRequestFromJSONTyped(json, ignoreDiscriminator) {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+ 'search': json['search'] == null ? undefined : json['search'],
54
+ 'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
55
+ 'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
56
+ 'perPage': json['per_page'] == null ? undefined : json['per_page'],
57
+ 'page': json['page'] == null ? undefined : json['page'],
58
+ 'siteId': json['site_id'] == null ? undefined : json['site_id'],
59
+ 'position': json['position'] == null ? undefined : json['position'],
60
+ 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
61
+ 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
62
+ 'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
63
+ };
64
+ }
65
+ function IndexMenuRequestToJSON(json) {
66
+ return IndexMenuRequestToJSONTyped(json, false);
67
+ }
68
+ function IndexMenuRequestToJSONTyped(value, ignoreDiscriminator) {
69
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
70
+ if (value == null) {
71
+ return value;
72
+ }
73
+ return {
74
+ 'search': value['search'],
75
+ 'sortBy': value['sortBy'],
76
+ 'sortDirection': value['sortDirection'],
77
+ 'per_page': value['perPage'],
78
+ 'page': value['page'],
79
+ 'site_id': value['siteId'],
80
+ 'position': value['position'],
81
+ 'related_id': value['relatedId'],
82
+ 'related_type': value['relatedType'],
83
+ 'includes_relations': value['includesRelations'],
84
+ };
85
+ }
@@ -176,6 +176,7 @@ export declare const IndexProductChildRequestRelatedTypeEnum: {
176
176
  readonly OverlayTemplate: "overlayTemplate";
177
177
  readonly ProductType: "productType";
178
178
  readonly ProductRange: "productRange";
179
+ readonly ProductRegistration: "productRegistration";
179
180
  readonly Supplier: "supplier";
180
181
  readonly Tag: "tag";
181
182
  readonly Label: "label";
@@ -57,6 +57,7 @@ exports.IndexProductChildRequestRelatedTypeEnum = {
57
57
  OverlayTemplate: 'overlayTemplate',
58
58
  ProductType: 'productType',
59
59
  ProductRange: 'productRange',
60
+ ProductRegistration: 'productRegistration',
60
61
  Supplier: 'supplier',
61
62
  Tag: 'tag',
62
63
  Label: 'label',
@@ -0,0 +1,131 @@
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 IndexProductRegistrationRequest
16
+ */
17
+ export interface IndexProductRegistrationRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof IndexProductRegistrationRequest
22
+ */
23
+ search?: string | null;
24
+ /**
25
+ *
26
+ * @type {IndexProductRegistrationRequestSortByEnum}
27
+ * @memberof IndexProductRegistrationRequest
28
+ */
29
+ sortBy?: IndexProductRegistrationRequestSortByEnum;
30
+ /**
31
+ *
32
+ * @type {IndexProductRegistrationRequestSortDirectionEnum}
33
+ * @memberof IndexProductRegistrationRequest
34
+ */
35
+ sortDirection?: IndexProductRegistrationRequestSortDirectionEnum;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof IndexProductRegistrationRequest
40
+ */
41
+ perPage?: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof IndexProductRegistrationRequest
46
+ */
47
+ page?: number;
48
+ /**
49
+ *
50
+ * @type {Array<string>}
51
+ * @memberof IndexProductRegistrationRequest
52
+ */
53
+ siteId?: Array<string>;
54
+ /**
55
+ *
56
+ * @type {Date}
57
+ * @memberof IndexProductRegistrationRequest
58
+ */
59
+ beforePurchasedDate?: Date;
60
+ /**
61
+ *
62
+ * @type {Date}
63
+ * @memberof IndexProductRegistrationRequest
64
+ */
65
+ afterPurchasedDate?: Date;
66
+ /**
67
+ *
68
+ * @type {Date}
69
+ * @memberof IndexProductRegistrationRequest
70
+ */
71
+ beforeCreatedAt?: Date;
72
+ /**
73
+ *
74
+ * @type {Date}
75
+ * @memberof IndexProductRegistrationRequest
76
+ */
77
+ afterCreatedAt?: Date;
78
+ /**
79
+ *
80
+ * @type {number}
81
+ * @memberof IndexProductRegistrationRequest
82
+ */
83
+ relatedId?: number;
84
+ /**
85
+ *
86
+ * @type {IndexProductRegistrationRequestRelatedTypeEnum}
87
+ * @memberof IndexProductRegistrationRequest
88
+ */
89
+ relatedType?: IndexProductRegistrationRequestRelatedTypeEnum;
90
+ /**
91
+ *
92
+ * @type {boolean}
93
+ * @memberof IndexProductRegistrationRequest
94
+ */
95
+ includesRelations?: boolean;
96
+ }
97
+ /**
98
+ * @export
99
+ */
100
+ export declare const IndexProductRegistrationRequestSortByEnum: {
101
+ readonly Id: "id";
102
+ readonly CustomerName: "customer-name";
103
+ readonly CustomerEmail: "customer-email";
104
+ readonly CustomerPhone: "customer-phone";
105
+ readonly CreatedAt: "created_at";
106
+ readonly PurchasedDate: "purchased_date";
107
+ };
108
+ export type IndexProductRegistrationRequestSortByEnum = typeof IndexProductRegistrationRequestSortByEnum[keyof typeof IndexProductRegistrationRequestSortByEnum];
109
+ /**
110
+ * @export
111
+ */
112
+ export declare const IndexProductRegistrationRequestSortDirectionEnum: {
113
+ readonly Asc: "asc";
114
+ readonly Desc: "desc";
115
+ };
116
+ export type IndexProductRegistrationRequestSortDirectionEnum = typeof IndexProductRegistrationRequestSortDirectionEnum[keyof typeof IndexProductRegistrationRequestSortDirectionEnum];
117
+ /**
118
+ * @export
119
+ */
120
+ export declare const IndexProductRegistrationRequestRelatedTypeEnum: {
121
+ readonly ProductChild: "productChild";
122
+ };
123
+ export type IndexProductRegistrationRequestRelatedTypeEnum = typeof IndexProductRegistrationRequestRelatedTypeEnum[keyof typeof IndexProductRegistrationRequestRelatedTypeEnum];
124
+ /**
125
+ * Check if a given object implements the IndexProductRegistrationRequest interface.
126
+ */
127
+ export declare function instanceOfIndexProductRegistrationRequest(value: object): value is IndexProductRegistrationRequest;
128
+ export declare function IndexProductRegistrationRequestFromJSON(json: any): IndexProductRegistrationRequest;
129
+ export declare function IndexProductRegistrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexProductRegistrationRequest;
130
+ export declare function IndexProductRegistrationRequestToJSON(json: any): IndexProductRegistrationRequest;
131
+ export declare function IndexProductRegistrationRequestToJSONTyped(value?: IndexProductRegistrationRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,98 @@
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.IndexProductRegistrationRequestRelatedTypeEnum = exports.IndexProductRegistrationRequestSortDirectionEnum = exports.IndexProductRegistrationRequestSortByEnum = void 0;
17
+ exports.instanceOfIndexProductRegistrationRequest = instanceOfIndexProductRegistrationRequest;
18
+ exports.IndexProductRegistrationRequestFromJSON = IndexProductRegistrationRequestFromJSON;
19
+ exports.IndexProductRegistrationRequestFromJSONTyped = IndexProductRegistrationRequestFromJSONTyped;
20
+ exports.IndexProductRegistrationRequestToJSON = IndexProductRegistrationRequestToJSON;
21
+ exports.IndexProductRegistrationRequestToJSONTyped = IndexProductRegistrationRequestToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.IndexProductRegistrationRequestSortByEnum = {
26
+ Id: 'id',
27
+ CustomerName: 'customer-name',
28
+ CustomerEmail: 'customer-email',
29
+ CustomerPhone: 'customer-phone',
30
+ CreatedAt: 'created_at',
31
+ PurchasedDate: 'purchased_date'
32
+ };
33
+ /**
34
+ * @export
35
+ */
36
+ exports.IndexProductRegistrationRequestSortDirectionEnum = {
37
+ Asc: 'asc',
38
+ Desc: 'desc'
39
+ };
40
+ /**
41
+ * @export
42
+ */
43
+ exports.IndexProductRegistrationRequestRelatedTypeEnum = {
44
+ ProductChild: 'productChild'
45
+ };
46
+ /**
47
+ * Check if a given object implements the IndexProductRegistrationRequest interface.
48
+ */
49
+ function instanceOfIndexProductRegistrationRequest(value) {
50
+ return true;
51
+ }
52
+ function IndexProductRegistrationRequestFromJSON(json) {
53
+ return IndexProductRegistrationRequestFromJSONTyped(json, false);
54
+ }
55
+ function IndexProductRegistrationRequestFromJSONTyped(json, ignoreDiscriminator) {
56
+ if (json == null) {
57
+ return json;
58
+ }
59
+ return {
60
+ 'search': json['search'] == null ? undefined : json['search'],
61
+ 'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
62
+ 'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
63
+ 'perPage': json['per_page'] == null ? undefined : json['per_page'],
64
+ 'page': json['page'] == null ? undefined : json['page'],
65
+ 'siteId': json['site_id'] == null ? undefined : json['site_id'],
66
+ 'beforePurchasedDate': json['before_purchased_date'] == null ? undefined : (new Date(json['before_purchased_date'])),
67
+ 'afterPurchasedDate': json['after_purchased_date'] == null ? undefined : (new Date(json['after_purchased_date'])),
68
+ 'beforeCreatedAt': json['before_created_at'] == null ? undefined : (new Date(json['before_created_at'])),
69
+ 'afterCreatedAt': json['after_created_at'] == null ? undefined : (new Date(json['after_created_at'])),
70
+ 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
71
+ 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
72
+ 'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
73
+ };
74
+ }
75
+ function IndexProductRegistrationRequestToJSON(json) {
76
+ return IndexProductRegistrationRequestToJSONTyped(json, false);
77
+ }
78
+ function IndexProductRegistrationRequestToJSONTyped(value, ignoreDiscriminator) {
79
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
80
+ if (value == null) {
81
+ return value;
82
+ }
83
+ return {
84
+ 'search': value['search'],
85
+ 'sortBy': value['sortBy'],
86
+ 'sortDirection': value['sortDirection'],
87
+ 'per_page': value['perPage'],
88
+ 'page': value['page'],
89
+ 'site_id': value['siteId'],
90
+ 'before_purchased_date': value['beforePurchasedDate'] == null ? value['beforePurchasedDate'] : value['beforePurchasedDate'].toISOString(),
91
+ 'after_purchased_date': value['afterPurchasedDate'] == null ? value['afterPurchasedDate'] : value['afterPurchasedDate'].toISOString(),
92
+ 'before_created_at': value['beforeCreatedAt'] == null ? value['beforeCreatedAt'] : value['beforeCreatedAt'].toISOString(),
93
+ 'after_created_at': value['afterCreatedAt'] == null ? value['afterCreatedAt'] : value['afterCreatedAt'].toISOString(),
94
+ 'related_id': value['relatedId'],
95
+ 'related_type': value['relatedType'],
96
+ 'includes_relations': value['includesRelations'],
97
+ };
98
+ }
@@ -0,0 +1,124 @@
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 IndexRedirectRequest
16
+ */
17
+ export interface IndexRedirectRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof IndexRedirectRequest
22
+ */
23
+ search?: string | null;
24
+ /**
25
+ *
26
+ * @type {IndexRedirectRequestSortByEnum}
27
+ * @memberof IndexRedirectRequest
28
+ */
29
+ sortBy?: IndexRedirectRequestSortByEnum;
30
+ /**
31
+ *
32
+ * @type {IndexRedirectRequestSortDirectionEnum}
33
+ * @memberof IndexRedirectRequest
34
+ */
35
+ sortDirection?: IndexRedirectRequestSortDirectionEnum;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof IndexRedirectRequest
40
+ */
41
+ perPage?: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof IndexRedirectRequest
46
+ */
47
+ page?: number;
48
+ /**
49
+ *
50
+ * @type {Array<string>}
51
+ * @memberof IndexRedirectRequest
52
+ */
53
+ siteId?: Array<string>;
54
+ /**
55
+ *
56
+ * @type {Array<string>}
57
+ * @memberof IndexRedirectRequest
58
+ */
59
+ redirectableType?: Array<string>;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof IndexRedirectRequest
64
+ */
65
+ relatedId?: number;
66
+ /**
67
+ *
68
+ * @type {IndexRedirectRequestRelatedTypeEnum}
69
+ * @memberof IndexRedirectRequest
70
+ */
71
+ relatedType?: IndexRedirectRequestRelatedTypeEnum;
72
+ /**
73
+ *
74
+ * @type {boolean}
75
+ * @memberof IndexRedirectRequest
76
+ */
77
+ includesRelations?: boolean;
78
+ /**
79
+ *
80
+ * @type {number}
81
+ * @memberof IndexRedirectRequest
82
+ */
83
+ productChildId?: number | null;
84
+ /**
85
+ *
86
+ * @type {number}
87
+ * @memberof IndexRedirectRequest
88
+ */
89
+ productRangeId?: number | null;
90
+ }
91
+ /**
92
+ * @export
93
+ */
94
+ export declare const IndexRedirectRequestSortByEnum: {
95
+ readonly Id: "id";
96
+ };
97
+ export type IndexRedirectRequestSortByEnum = typeof IndexRedirectRequestSortByEnum[keyof typeof IndexRedirectRequestSortByEnum];
98
+ /**
99
+ * @export
100
+ */
101
+ export declare const IndexRedirectRequestSortDirectionEnum: {
102
+ readonly Asc: "asc";
103
+ readonly Desc: "desc";
104
+ };
105
+ export type IndexRedirectRequestSortDirectionEnum = typeof IndexRedirectRequestSortDirectionEnum[keyof typeof IndexRedirectRequestSortDirectionEnum];
106
+ /**
107
+ * @export
108
+ */
109
+ export declare const IndexRedirectRequestRelatedTypeEnum: {
110
+ readonly ProductChildSiteDetail: "productChildSiteDetail";
111
+ readonly ProductRangeSiteDetail: "productRangeSiteDetail";
112
+ readonly ProductCategory: "productCategory";
113
+ readonly Supplier: "supplier";
114
+ readonly Tag: "tag";
115
+ };
116
+ export type IndexRedirectRequestRelatedTypeEnum = typeof IndexRedirectRequestRelatedTypeEnum[keyof typeof IndexRedirectRequestRelatedTypeEnum];
117
+ /**
118
+ * Check if a given object implements the IndexRedirectRequest interface.
119
+ */
120
+ export declare function instanceOfIndexRedirectRequest(value: object): value is IndexRedirectRequest;
121
+ export declare function IndexRedirectRequestFromJSON(json: any): IndexRedirectRequest;
122
+ export declare function IndexRedirectRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexRedirectRequest;
123
+ export declare function IndexRedirectRequestToJSON(json: any): IndexRedirectRequest;
124
+ export declare function IndexRedirectRequestToJSONTyped(value?: IndexRedirectRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,95 @@
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.IndexRedirectRequestRelatedTypeEnum = exports.IndexRedirectRequestSortDirectionEnum = exports.IndexRedirectRequestSortByEnum = void 0;
17
+ exports.instanceOfIndexRedirectRequest = instanceOfIndexRedirectRequest;
18
+ exports.IndexRedirectRequestFromJSON = IndexRedirectRequestFromJSON;
19
+ exports.IndexRedirectRequestFromJSONTyped = IndexRedirectRequestFromJSONTyped;
20
+ exports.IndexRedirectRequestToJSON = IndexRedirectRequestToJSON;
21
+ exports.IndexRedirectRequestToJSONTyped = IndexRedirectRequestToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.IndexRedirectRequestSortByEnum = {
26
+ Id: 'id'
27
+ };
28
+ /**
29
+ * @export
30
+ */
31
+ exports.IndexRedirectRequestSortDirectionEnum = {
32
+ Asc: 'asc',
33
+ Desc: 'desc'
34
+ };
35
+ /**
36
+ * @export
37
+ */
38
+ exports.IndexRedirectRequestRelatedTypeEnum = {
39
+ ProductChildSiteDetail: 'productChildSiteDetail',
40
+ ProductRangeSiteDetail: 'productRangeSiteDetail',
41
+ ProductCategory: 'productCategory',
42
+ Supplier: 'supplier',
43
+ Tag: 'tag'
44
+ };
45
+ /**
46
+ * Check if a given object implements the IndexRedirectRequest interface.
47
+ */
48
+ function instanceOfIndexRedirectRequest(value) {
49
+ return true;
50
+ }
51
+ function IndexRedirectRequestFromJSON(json) {
52
+ return IndexRedirectRequestFromJSONTyped(json, false);
53
+ }
54
+ function IndexRedirectRequestFromJSONTyped(json, ignoreDiscriminator) {
55
+ if (json == null) {
56
+ return json;
57
+ }
58
+ return {
59
+ 'search': json['search'] == null ? undefined : json['search'],
60
+ 'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
61
+ 'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
62
+ 'perPage': json['per_page'] == null ? undefined : json['per_page'],
63
+ 'page': json['page'] == null ? undefined : json['page'],
64
+ 'siteId': json['site_id'] == null ? undefined : json['site_id'],
65
+ 'redirectableType': json['redirectable_type'] == null ? undefined : json['redirectable_type'],
66
+ 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
67
+ 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
68
+ 'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
69
+ 'productChildId': json['product_child_id'] == null ? undefined : json['product_child_id'],
70
+ 'productRangeId': json['product_range_id'] == null ? undefined : json['product_range_id'],
71
+ };
72
+ }
73
+ function IndexRedirectRequestToJSON(json) {
74
+ return IndexRedirectRequestToJSONTyped(json, false);
75
+ }
76
+ function IndexRedirectRequestToJSONTyped(value, ignoreDiscriminator) {
77
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
78
+ if (value == null) {
79
+ return value;
80
+ }
81
+ return {
82
+ 'search': value['search'],
83
+ 'sortBy': value['sortBy'],
84
+ 'sortDirection': value['sortDirection'],
85
+ 'per_page': value['perPage'],
86
+ 'page': value['page'],
87
+ 'site_id': value['siteId'],
88
+ 'redirectable_type': value['redirectableType'],
89
+ 'related_id': value['relatedId'],
90
+ 'related_type': value['relatedType'],
91
+ 'includes_relations': value['includesRelations'],
92
+ 'product_child_id': value['productChildId'],
93
+ 'product_range_id': value['productRangeId'],
94
+ };
95
+ }