@digital8/lighting-illusions-ts-sdk 0.0.1452 → 0.0.1453

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 (237) hide show
  1. package/.openapi-generator/FILES +74 -40
  2. package/README.md +56 -25
  3. package/dist/apis/LabelApi.d.ts +109 -0
  4. package/dist/apis/{ProductRegistrationApi.js → LabelApi.js} +174 -57
  5. package/dist/apis/StoreApi.d.ts +190 -0
  6. package/dist/apis/StoreApi.js +744 -0
  7. package/dist/apis/SupplierApi.d.ts +33 -1
  8. package/dist/apis/SupplierApi.js +122 -0
  9. package/dist/apis/index.d.ts +2 -1
  10. package/dist/apis/index.js +2 -1
  11. package/dist/models/AddressFrontendResource.d.ts +74 -0
  12. package/dist/models/AddressFrontendResource.js +77 -0
  13. package/dist/models/AddressFrontendResourceArrayResponse.d.ts +33 -0
  14. package/dist/models/AddressFrontendResourceArrayResponse.js +50 -0
  15. package/dist/models/AddressResource.d.ts +1 -1
  16. package/dist/models/AddressResource.js +9 -7
  17. package/dist/models/AttachStoresSupplierRequest.d.ts +32 -0
  18. package/dist/models/AttachStoresSupplierRequest.js +51 -0
  19. package/dist/models/AttachSuppliersStoreRequest.d.ts +32 -0
  20. package/dist/models/AttachSuppliersStoreRequest.js +51 -0
  21. package/dist/models/DetachStoresSupplierRequest.d.ts +32 -0
  22. package/dist/models/DetachStoresSupplierRequest.js +51 -0
  23. package/dist/models/DetachSuppliersStoreRequest.d.ts +32 -0
  24. package/dist/models/DetachSuppliersStoreRequest.js +51 -0
  25. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  26. package/dist/models/ExternalApiLogResource.js +3 -1
  27. package/dist/models/GetAllStoreRequest.d.ts +93 -0
  28. package/dist/models/{GetAllProductRegistrationRequest.js → GetAllStoreRequest.js} +24 -20
  29. package/dist/models/IndexLabelRequest.d.ts +109 -0
  30. package/dist/models/{ListAssetsProductRegistrationRequest.js → IndexLabelRequest.js} +31 -22
  31. package/dist/models/IndexProductChildRequest.d.ts +1 -1
  32. package/dist/models/IndexProductChildRequest.js +1 -1
  33. package/dist/models/IndexStoreRequest.d.ts +105 -0
  34. package/dist/models/IndexStoreRequest.js +85 -0
  35. package/dist/models/LabelListResource.d.ts +75 -0
  36. package/dist/models/LabelListResource.js +74 -0
  37. package/dist/models/LabelListResourceArrayResponse.d.ts +33 -0
  38. package/dist/models/LabelListResourceArrayResponse.js +50 -0
  39. package/dist/models/LabelLiteResource.d.ts +56 -0
  40. package/dist/models/LabelLiteResource.js +65 -0
  41. package/dist/models/LabelLiteResourceArrayResponse.d.ts +33 -0
  42. package/dist/models/LabelLiteResourceArrayResponse.js +50 -0
  43. package/dist/models/LabelResource.d.ts +23 -4
  44. package/dist/models/LabelResource.js +19 -8
  45. package/dist/models/PaginatedLabelListResourceResponse.d.ts +40 -0
  46. package/dist/models/PaginatedLabelListResourceResponse.js +57 -0
  47. package/dist/models/PaginatedStoreListResourceResponse.d.ts +40 -0
  48. package/dist/models/PaginatedStoreListResourceResponse.js +57 -0
  49. package/dist/models/StoreFrontendResource.d.ts +98 -0
  50. package/dist/models/StoreFrontendResource.js +89 -0
  51. package/dist/models/StoreFrontendResourceArrayResponse.d.ts +33 -0
  52. package/dist/models/StoreFrontendResourceArrayResponse.js +50 -0
  53. package/dist/models/StoreLabelRequest.d.ts +74 -0
  54. package/dist/models/StoreLabelRequest.js +71 -0
  55. package/dist/models/StoreListResource.d.ts +81 -0
  56. package/dist/models/StoreListResource.js +78 -0
  57. package/dist/models/StoreListResourceArrayResponse.d.ts +33 -0
  58. package/dist/models/StoreListResourceArrayResponse.js +50 -0
  59. package/dist/models/StoreLiteResource.d.ts +45 -0
  60. package/dist/models/StoreLiteResource.js +58 -0
  61. package/dist/models/StoreLiteResourceArrayResponse.d.ts +33 -0
  62. package/dist/models/StoreLiteResourceArrayResponse.js +50 -0
  63. package/dist/models/StoreResource.d.ts +102 -0
  64. package/dist/models/StoreResource.js +95 -0
  65. package/dist/models/StoreResourceArrayResponse.d.ts +33 -0
  66. package/dist/models/StoreResourceArrayResponse.js +50 -0
  67. package/dist/models/StoreSpecialDateFrontendResource.d.ts +68 -0
  68. package/dist/models/StoreSpecialDateFrontendResource.js +73 -0
  69. package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.d.ts +33 -0
  70. package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.js +50 -0
  71. package/dist/models/StoreSpecialDateResource.d.ts +68 -0
  72. package/dist/models/StoreSpecialDateResource.js +73 -0
  73. package/dist/models/StoreSpecialDateResourceArrayResponse.d.ts +33 -0
  74. package/dist/models/StoreSpecialDateResourceArrayResponse.js +50 -0
  75. package/dist/models/StoreStoreRequest.d.ts +94 -0
  76. package/dist/models/StoreStoreRequest.js +85 -0
  77. package/dist/models/StoreStoreRequestAddress.d.ts +68 -0
  78. package/dist/models/StoreStoreRequestAddress.js +73 -0
  79. package/dist/models/StoreStoreRequestSpecialDatesInner.d.ts +62 -0
  80. package/dist/models/StoreStoreRequestSpecialDatesInner.js +61 -0
  81. package/dist/models/StoreStoreSpecialDateRequest.d.ts +62 -0
  82. package/dist/models/StoreStoreSpecialDateRequest.js +61 -0
  83. package/dist/models/UpdateLabelRequest.d.ts +74 -0
  84. package/dist/models/UpdateLabelRequest.js +63 -0
  85. package/dist/models/UpdateStoreRequest.d.ts +94 -0
  86. package/dist/models/UpdateStoreRequest.js +85 -0
  87. package/dist/models/UpdateStoreRequestSpecialDatesInner.d.ts +56 -0
  88. package/dist/models/UpdateStoreRequestSpecialDatesInner.js +57 -0
  89. package/dist/models/index.d.ts +35 -19
  90. package/dist/models/index.js +35 -19
  91. package/docs/{PaginatedProductRegistrationAssetResourceResponse.md → AddressFrontendResource.md} +20 -8
  92. package/docs/{ProductRegistrationResourceArrayResponse.md → AddressFrontendResourceArrayResponse.md} +5 -5
  93. package/docs/{ProductRegistrationAssetType.md → AttachStoresSupplierRequest.md} +6 -4
  94. package/docs/{ProductRegistrationLiteResource.md → AttachSuppliersStoreRequest.md} +6 -8
  95. package/docs/DetachStoresSupplierRequest.md +34 -0
  96. package/docs/DetachSuppliersStoreRequest.md +34 -0
  97. package/docs/{GetAllProductRegistrationRequest.md → GetAllStoreRequest.md} +8 -4
  98. package/docs/{ListAssetsProductRegistrationRequest.md → IndexLabelRequest.md} +6 -8
  99. package/docs/{IndexProductRegistrationRequest.md → IndexStoreRequest.md} +8 -12
  100. package/docs/LabelApi.md +407 -0
  101. package/docs/LabelListResource.md +48 -0
  102. package/docs/LabelListResourceArrayResponse.md +34 -0
  103. package/docs/{ProductRegistrationAssetResource.md → LabelLiteResource.md} +12 -8
  104. package/docs/LabelLiteResourceArrayResponse.md +34 -0
  105. package/docs/LabelResource.md +12 -6
  106. package/docs/{PaginatedProductRegistrationResourceResponse.md → PaginatedLabelListResourceResponse.md} +5 -5
  107. package/docs/{PaginatedProductRegistrationListResourceResponse.md → PaginatedStoreListResourceResponse.md} +5 -5
  108. package/docs/StoreApi.md +755 -0
  109. package/docs/StoreFrontendResource.md +56 -0
  110. package/docs/StoreFrontendResourceArrayResponse.md +34 -0
  111. package/docs/StoreLabelRequest.md +48 -0
  112. package/docs/StoreListResource.md +50 -0
  113. package/docs/StoreListResourceArrayResponse.md +34 -0
  114. package/docs/{ProductRegistrationCustomerLiteResource.md → StoreLiteResource.md} +6 -6
  115. package/docs/StoreLiteResourceArrayResponse.md +34 -0
  116. package/docs/StoreResource.md +56 -0
  117. package/docs/StoreResourceArrayResponse.md +34 -0
  118. package/docs/StoreSpecialDateFrontendResource.md +46 -0
  119. package/docs/{ProductRegistrationAssetResourceArrayResponse.md → StoreSpecialDateFrontendResourceArrayResponse.md} +5 -5
  120. package/docs/{ProductRegistrationListResource.md → StoreSpecialDateResource.md} +16 -10
  121. package/docs/StoreSpecialDateResourceArrayResponse.md +34 -0
  122. package/docs/StoreStoreRequest.md +54 -0
  123. package/docs/StoreStoreRequestAddress.md +46 -0
  124. package/docs/StoreStoreRequestSpecialDatesInner.md +44 -0
  125. package/docs/StoreStoreSpecialDateRequest.md +44 -0
  126. package/docs/SupplierApi.md +138 -0
  127. package/docs/UpdateLabelRequest.md +48 -0
  128. package/docs/UpdateStoreRequest.md +54 -0
  129. package/docs/{ProductRegistrationCustomerResource.md → UpdateStoreRequestSpecialDatesInner.md} +10 -8
  130. package/package.json +1 -1
  131. package/src/apis/LabelApi.ts +328 -0
  132. package/src/apis/StoreApi.ts +625 -0
  133. package/src/apis/SupplierApi.ts +112 -0
  134. package/src/apis/index.ts +2 -1
  135. package/src/models/AddressFrontendResource.ts +128 -0
  136. package/src/models/AddressFrontendResourceArrayResponse.ts +73 -0
  137. package/src/models/AddressResource.ts +9 -8
  138. package/src/models/AttachStoresSupplierRequest.ts +66 -0
  139. package/src/models/AttachSuppliersStoreRequest.ts +66 -0
  140. package/src/models/DetachStoresSupplierRequest.ts +66 -0
  141. package/src/models/DetachSuppliersStoreRequest.ts +66 -0
  142. package/src/models/ExternalApiLogResource.ts +3 -2
  143. package/src/models/GetAllStoreRequest.ts +144 -0
  144. package/src/models/IndexLabelRequest.ts +163 -0
  145. package/src/models/IndexProductChildRequest.ts +1 -1
  146. package/src/models/IndexStoreRequest.ts +160 -0
  147. package/src/models/LabelListResource.ts +134 -0
  148. package/src/models/LabelListResourceArrayResponse.ts +73 -0
  149. package/src/models/LabelLiteResource.ts +101 -0
  150. package/src/models/LabelLiteResourceArrayResponse.ts +73 -0
  151. package/src/models/LabelResource.ts +46 -12
  152. package/src/models/PaginatedLabelListResourceResponse.ts +90 -0
  153. package/src/models/PaginatedStoreListResourceResponse.ts +90 -0
  154. package/src/models/StoreFrontendResource.ts +162 -0
  155. package/src/models/StoreFrontendResourceArrayResponse.ts +73 -0
  156. package/src/models/StoreLabelRequest.ts +125 -0
  157. package/src/models/StoreListResource.ts +143 -0
  158. package/src/models/StoreListResourceArrayResponse.ts +73 -0
  159. package/src/models/StoreLiteResource.ts +91 -0
  160. package/src/models/StoreLiteResourceArrayResponse.ts +73 -0
  161. package/src/models/StoreResource.ts +192 -0
  162. package/src/models/StoreResourceArrayResponse.ts +73 -0
  163. package/src/models/StoreSpecialDateFrontendResource.ts +119 -0
  164. package/src/models/StoreSpecialDateFrontendResourceArrayResponse.ts +73 -0
  165. package/src/models/StoreSpecialDateResource.ts +119 -0
  166. package/src/models/StoreSpecialDateResourceArrayResponse.ts +73 -0
  167. package/src/models/StoreStoreRequest.ts +167 -0
  168. package/src/models/StoreStoreRequestAddress.ts +119 -0
  169. package/src/models/StoreStoreRequestSpecialDatesInner.ts +106 -0
  170. package/src/models/StoreStoreSpecialDateRequest.ts +106 -0
  171. package/src/models/UpdateLabelRequest.ts +121 -0
  172. package/src/models/UpdateStoreRequest.ts +167 -0
  173. package/src/models/UpdateStoreRequestSpecialDatesInner.ts +97 -0
  174. package/src/models/index.ts +35 -19
  175. package/dist/apis/ProductRegistrationApi.d.ts +0 -79
  176. package/dist/models/GetAllProductRegistrationRequest.d.ts +0 -81
  177. package/dist/models/IndexProductRegistrationRequest.d.ts +0 -124
  178. package/dist/models/IndexProductRegistrationRequest.js +0 -95
  179. package/dist/models/ListAssetsProductRegistrationRequest.d.ts +0 -103
  180. package/dist/models/PaginatedProductRegistrationAssetResourceResponse.d.ts +0 -40
  181. package/dist/models/PaginatedProductRegistrationAssetResourceResponse.js +0 -57
  182. package/dist/models/PaginatedProductRegistrationListResourceResponse.d.ts +0 -40
  183. package/dist/models/PaginatedProductRegistrationListResourceResponse.js +0 -57
  184. package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +0 -40
  185. package/dist/models/PaginatedProductRegistrationResourceResponse.js +0 -57
  186. package/dist/models/ProductRegistrationAssetResource.d.ts +0 -45
  187. package/dist/models/ProductRegistrationAssetResource.js +0 -58
  188. package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +0 -33
  189. package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +0 -50
  190. package/dist/models/ProductRegistrationAssetType.d.ts +0 -25
  191. package/dist/models/ProductRegistrationAssetType.js +0 -51
  192. package/dist/models/ProductRegistrationCustomerLiteResource.d.ts +0 -44
  193. package/dist/models/ProductRegistrationCustomerLiteResource.js +0 -57
  194. package/dist/models/ProductRegistrationCustomerLiteResourceArrayResponse.d.ts +0 -33
  195. package/dist/models/ProductRegistrationCustomerLiteResourceArrayResponse.js +0 -50
  196. package/dist/models/ProductRegistrationCustomerResource.d.ts +0 -50
  197. package/dist/models/ProductRegistrationCustomerResource.js +0 -61
  198. package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +0 -33
  199. package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +0 -50
  200. package/dist/models/ProductRegistrationListResource.d.ts +0 -51
  201. package/dist/models/ProductRegistrationListResource.js +0 -60
  202. package/dist/models/ProductRegistrationListResourceArrayResponse.d.ts +0 -33
  203. package/dist/models/ProductRegistrationListResourceArrayResponse.js +0 -50
  204. package/dist/models/ProductRegistrationLiteResource.d.ts +0 -38
  205. package/dist/models/ProductRegistrationLiteResource.js +0 -53
  206. package/dist/models/ProductRegistrationLiteResourceArrayResponse.d.ts +0 -33
  207. package/dist/models/ProductRegistrationLiteResourceArrayResponse.js +0 -50
  208. package/dist/models/ProductRegistrationResource.d.ts +0 -76
  209. package/dist/models/ProductRegistrationResource.js +0 -75
  210. package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +0 -33
  211. package/dist/models/ProductRegistrationResourceArrayResponse.js +0 -50
  212. package/docs/ProductRegistrationApi.md +0 -275
  213. package/docs/ProductRegistrationCustomerLiteResourceArrayResponse.md +0 -34
  214. package/docs/ProductRegistrationCustomerResourceArrayResponse.md +0 -34
  215. package/docs/ProductRegistrationListResourceArrayResponse.md +0 -34
  216. package/docs/ProductRegistrationLiteResourceArrayResponse.md +0 -34
  217. package/docs/ProductRegistrationResource.md +0 -48
  218. package/src/apis/ProductRegistrationApi.ts +0 -238
  219. package/src/models/GetAllProductRegistrationRequest.ts +0 -128
  220. package/src/models/IndexProductRegistrationRequest.ts +0 -184
  221. package/src/models/ListAssetsProductRegistrationRequest.ts +0 -158
  222. package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +0 -90
  223. package/src/models/PaginatedProductRegistrationListResourceResponse.ts +0 -90
  224. package/src/models/PaginatedProductRegistrationResourceResponse.ts +0 -90
  225. package/src/models/ProductRegistrationAssetResource.ts +0 -91
  226. package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +0 -73
  227. package/src/models/ProductRegistrationAssetType.ts +0 -53
  228. package/src/models/ProductRegistrationCustomerLiteResource.ts +0 -83
  229. package/src/models/ProductRegistrationCustomerLiteResourceArrayResponse.ts +0 -73
  230. package/src/models/ProductRegistrationCustomerResource.ts +0 -92
  231. package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +0 -73
  232. package/src/models/ProductRegistrationListResource.ts +0 -99
  233. package/src/models/ProductRegistrationListResourceArrayResponse.ts +0 -73
  234. package/src/models/ProductRegistrationLiteResource.ts +0 -74
  235. package/src/models/ProductRegistrationLiteResourceArrayResponse.ts +0 -73
  236. package/src/models/ProductRegistrationResource.ts +0 -141
  237. package/src/models/ProductRegistrationResourceArrayResponse.ts +0 -73
@@ -0,0 +1,167 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * My API
5
+ * API documentation for my Laravel app
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { UpdateStoreRequestSpecialDatesInner } from './UpdateStoreRequestSpecialDatesInner';
17
+ import {
18
+ UpdateStoreRequestSpecialDatesInnerFromJSON,
19
+ UpdateStoreRequestSpecialDatesInnerFromJSONTyped,
20
+ UpdateStoreRequestSpecialDatesInnerToJSON,
21
+ UpdateStoreRequestSpecialDatesInnerToJSONTyped,
22
+ } from './UpdateStoreRequestSpecialDatesInner';
23
+ import type { StoreStoreRequestAddress } from './StoreStoreRequestAddress';
24
+ import {
25
+ StoreStoreRequestAddressFromJSON,
26
+ StoreStoreRequestAddressFromJSONTyped,
27
+ StoreStoreRequestAddressToJSON,
28
+ StoreStoreRequestAddressToJSONTyped,
29
+ } from './StoreStoreRequestAddress';
30
+
31
+ /**
32
+ *
33
+ * @export
34
+ * @interface UpdateStoreRequest
35
+ */
36
+ export interface UpdateStoreRequest {
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof UpdateStoreRequest
41
+ */
42
+ siteId: number;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof UpdateStoreRequest
47
+ */
48
+ name: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof UpdateStoreRequest
53
+ */
54
+ phone: string;
55
+ /**
56
+ *
57
+ * @type {number}
58
+ * @memberof UpdateStoreRequest
59
+ */
60
+ longitude: number;
61
+ /**
62
+ *
63
+ * @type {number}
64
+ * @memberof UpdateStoreRequest
65
+ */
66
+ latitude: number;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof UpdateStoreRequest
71
+ */
72
+ tagLine?: string;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof UpdateStoreRequest
77
+ */
78
+ email: string;
79
+ /**
80
+ *
81
+ * @type {Array<string>}
82
+ * @memberof UpdateStoreRequest
83
+ */
84
+ openingHours?: Array<string>;
85
+ /**
86
+ *
87
+ * @type {Array<number>}
88
+ * @memberof UpdateStoreRequest
89
+ */
90
+ supplierIds?: Array<number>;
91
+ /**
92
+ *
93
+ * @type {Array<UpdateStoreRequestSpecialDatesInner>}
94
+ * @memberof UpdateStoreRequest
95
+ */
96
+ specialDates?: Array<UpdateStoreRequestSpecialDatesInner>;
97
+ /**
98
+ *
99
+ * @type {StoreStoreRequestAddress}
100
+ * @memberof UpdateStoreRequest
101
+ */
102
+ address: StoreStoreRequestAddress;
103
+ }
104
+
105
+ /**
106
+ * Check if a given object implements the UpdateStoreRequest interface.
107
+ */
108
+ export function instanceOfUpdateStoreRequest(value: object): value is UpdateStoreRequest {
109
+ if (!('siteId' in value) || value['siteId'] === undefined) return false;
110
+ if (!('name' in value) || value['name'] === undefined) return false;
111
+ if (!('phone' in value) || value['phone'] === undefined) return false;
112
+ if (!('longitude' in value) || value['longitude'] === undefined) return false;
113
+ if (!('latitude' in value) || value['latitude'] === undefined) return false;
114
+ if (!('email' in value) || value['email'] === undefined) return false;
115
+ if (!('address' in value) || value['address'] === undefined) return false;
116
+ return true;
117
+ }
118
+
119
+ export function UpdateStoreRequestFromJSON(json: any): UpdateStoreRequest {
120
+ return UpdateStoreRequestFromJSONTyped(json, false);
121
+ }
122
+
123
+ export function UpdateStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateStoreRequest {
124
+ if (json == null) {
125
+ return json;
126
+ }
127
+ return {
128
+
129
+ 'siteId': json['site_id'],
130
+ 'name': json['name'],
131
+ 'phone': json['phone'],
132
+ 'longitude': json['longitude'],
133
+ 'latitude': json['latitude'],
134
+ 'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
135
+ 'email': json['email'],
136
+ 'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
137
+ 'supplierIds': json['supplier_ids'] == null ? undefined : json['supplier_ids'],
138
+ 'specialDates': json['special_dates'] == null ? undefined : ((json['special_dates'] as Array<any>).map(UpdateStoreRequestSpecialDatesInnerFromJSON)),
139
+ 'address': StoreStoreRequestAddressFromJSON(json['address']),
140
+ };
141
+ }
142
+
143
+ export function UpdateStoreRequestToJSON(json: any): UpdateStoreRequest {
144
+ return UpdateStoreRequestToJSONTyped(json, false);
145
+ }
146
+
147
+ export function UpdateStoreRequestToJSONTyped(value?: UpdateStoreRequest | null, ignoreDiscriminator: boolean = false): any {
148
+ if (value == null) {
149
+ return value;
150
+ }
151
+
152
+ return {
153
+
154
+ 'site_id': value['siteId'],
155
+ 'name': value['name'],
156
+ 'phone': value['phone'],
157
+ 'longitude': value['longitude'],
158
+ 'latitude': value['latitude'],
159
+ 'tag_line': value['tagLine'],
160
+ 'email': value['email'],
161
+ 'opening_hours': value['openingHours'],
162
+ 'supplier_ids': value['supplierIds'],
163
+ 'special_dates': value['specialDates'] == null ? undefined : ((value['specialDates'] as Array<any>).map(UpdateStoreRequestSpecialDatesInnerToJSON)),
164
+ 'address': StoreStoreRequestAddressToJSON(value['address']),
165
+ };
166
+ }
167
+
@@ -0,0 +1,97 @@
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 UpdateStoreRequestSpecialDatesInner
20
+ */
21
+ export interface UpdateStoreRequestSpecialDatesInner {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof UpdateStoreRequestSpecialDatesInner
26
+ */
27
+ id?: number;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof UpdateStoreRequestSpecialDatesInner
32
+ */
33
+ name?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof UpdateStoreRequestSpecialDatesInner
38
+ */
39
+ hours?: string;
40
+ /**
41
+ *
42
+ * @type {Date}
43
+ * @memberof UpdateStoreRequestSpecialDatesInner
44
+ */
45
+ displayStart?: Date;
46
+ /**
47
+ *
48
+ * @type {Date}
49
+ * @memberof UpdateStoreRequestSpecialDatesInner
50
+ */
51
+ displayEnd?: Date;
52
+ }
53
+
54
+ /**
55
+ * Check if a given object implements the UpdateStoreRequestSpecialDatesInner interface.
56
+ */
57
+ export function instanceOfUpdateStoreRequestSpecialDatesInner(value: object): value is UpdateStoreRequestSpecialDatesInner {
58
+ return true;
59
+ }
60
+
61
+ export function UpdateStoreRequestSpecialDatesInnerFromJSON(json: any): UpdateStoreRequestSpecialDatesInner {
62
+ return UpdateStoreRequestSpecialDatesInnerFromJSONTyped(json, false);
63
+ }
64
+
65
+ export function UpdateStoreRequestSpecialDatesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateStoreRequestSpecialDatesInner {
66
+ if (json == null) {
67
+ return json;
68
+ }
69
+ return {
70
+
71
+ 'id': json['id'] == null ? undefined : json['id'],
72
+ 'name': json['name'] == null ? undefined : json['name'],
73
+ 'hours': json['hours'] == null ? undefined : json['hours'],
74
+ 'displayStart': json['display_start'] == null ? undefined : (new Date(json['display_start'])),
75
+ 'displayEnd': json['display_end'] == null ? undefined : (new Date(json['display_end'])),
76
+ };
77
+ }
78
+
79
+ export function UpdateStoreRequestSpecialDatesInnerToJSON(json: any): UpdateStoreRequestSpecialDatesInner {
80
+ return UpdateStoreRequestSpecialDatesInnerToJSONTyped(json, false);
81
+ }
82
+
83
+ export function UpdateStoreRequestSpecialDatesInnerToJSONTyped(value?: UpdateStoreRequestSpecialDatesInner | null, ignoreDiscriminator: boolean = false): any {
84
+ if (value == null) {
85
+ return value;
86
+ }
87
+
88
+ return {
89
+
90
+ 'id': value['id'],
91
+ 'name': value['name'],
92
+ 'hours': value['hours'],
93
+ 'display_start': value['displayStart'] == null ? value['displayStart'] : value['displayStart'].toISOString(),
94
+ 'display_end': value['displayEnd'] == null ? value['displayEnd'] : value['displayEnd'].toISOString(),
95
+ };
96
+ }
97
+
@@ -1,5 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
+ export * from './AddressFrontendResource';
4
+ export * from './AddressFrontendResourceArrayResponse';
3
5
  export * from './AddressResource';
4
6
  export * from './AddressResourceArrayResponse';
5
7
  export * from './AssetFileForUploadResource';
@@ -25,6 +27,8 @@ export * from './AttachDocumentsProductChildRequestDocumentsInner';
25
27
  export * from './AttachDocumentsProductRangeRequest';
26
28
  export * from './AttachProductTypeAttributeRequest';
27
29
  export * from './AttachProductsProductCategoryRequest';
30
+ export * from './AttachStoresSupplierRequest';
31
+ export * from './AttachSuppliersStoreRequest';
28
32
  export * from './AttributeFieldType';
29
33
  export * from './AttributeListResource';
30
34
  export * from './AttributeListResourceArrayResponse';
@@ -62,6 +66,8 @@ export * from './DetachDocumentablesDocumentRequestDocumentablesInner';
62
66
  export * from './DetachDocumentsProductChildRequest';
63
67
  export * from './DetachDocumentsProductRangeRequest';
64
68
  export * from './DetachProductsProductCategoryRequest';
69
+ export * from './DetachStoresSupplierRequest';
70
+ export * from './DetachSuppliersStoreRequest';
65
71
  export * from './DocumentFileForUploadResource';
66
72
  export * from './DocumentFileForUploadResourceArrayResponse';
67
73
  export * from './DocumentFrontendResource';
@@ -86,9 +92,9 @@ export * from './GetAllOverlayTemplateRequest';
86
92
  export * from './GetAllProductCategoryRequest';
87
93
  export * from './GetAllProductChildRequest';
88
94
  export * from './GetAllProductRangeRequest';
89
- export * from './GetAllProductRegistrationRequest';
90
95
  export * from './GetAllProductRequest';
91
96
  export * from './GetAllProductTypeRequest';
97
+ export * from './GetAllStoreRequest';
92
98
  export * from './GetAllSupplierRequest';
93
99
  export * from './GetHierarchyProductCategoryRequest';
94
100
  export * from './GetUniqueEndpointsExternalApiLogRequest';
@@ -107,21 +113,25 @@ export * from './IndexAttributeValueRequest';
107
113
  export * from './IndexDefinitionRequest';
108
114
  export * from './IndexDocumentRequest';
109
115
  export * from './IndexExternalApiLogRequest';
116
+ export * from './IndexLabelRequest';
110
117
  export * from './IndexModelAttributeRequest';
111
118
  export * from './IndexOverlayTemplateRequest';
112
119
  export * from './IndexProductCategoryRequest';
113
120
  export * from './IndexProductChildRequest';
114
121
  export * from './IndexProductRangeRequest';
115
- export * from './IndexProductRegistrationRequest';
116
122
  export * from './IndexProductRequest';
117
123
  export * from './IndexProductTypeRequest';
118
124
  export * from './IndexSiteNotificationRequest';
119
125
  export * from './IndexSiteRequest';
126
+ export * from './IndexStoreRequest';
120
127
  export * from './IndexSupplierRequest';
121
128
  export * from './IndexTagRequest';
129
+ export * from './LabelListResource';
130
+ export * from './LabelListResourceArrayResponse';
131
+ export * from './LabelLiteResource';
132
+ export * from './LabelLiteResourceArrayResponse';
122
133
  export * from './LabelResource';
123
134
  export * from './LabelResourceArrayResponse';
124
- export * from './ListAssetsProductRegistrationRequest';
125
135
  export * from './ModelAttributeListResource';
126
136
  export * from './ModelAttributeListResourceArrayResponse';
127
137
  export * from './ModelAttributeResource';
@@ -149,6 +159,7 @@ export * from './PaginatedDocumentResourceResponse';
149
159
  export * from './PaginatedExternalApiLogListResourceResponse';
150
160
  export * from './PaginatedExternalApiLogResourceResponse';
151
161
  export * from './PaginatedGoogleCategoryResourceResponse';
162
+ export * from './PaginatedLabelListResourceResponse';
152
163
  export * from './PaginatedModelAttributeListResourceResponse';
153
164
  export * from './PaginatedOverlayTemplateListResourceResponse';
154
165
  export * from './PaginatedOverlayTemplateLiteResourceResponse';
@@ -167,9 +178,6 @@ export * from './PaginatedProductRangeListResourceResponse';
167
178
  export * from './PaginatedProductRangeLiteResourceResponse';
168
179
  export * from './PaginatedProductRangeResourceResponse';
169
180
  export * from './PaginatedProductRangeSearchResultResourceResponse';
170
- export * from './PaginatedProductRegistrationAssetResourceResponse';
171
- export * from './PaginatedProductRegistrationListResourceResponse';
172
- export * from './PaginatedProductRegistrationResourceResponse';
173
181
  export * from './PaginatedProductResourceResponse';
174
182
  export * from './PaginatedProductSearchResultResourceResponse';
175
183
  export * from './PaginatedProductTypeListResourceResponse';
@@ -180,6 +188,7 @@ export * from './PaginatedSiteLiteResourceResponse';
180
188
  export * from './PaginatedSiteNotificationListResourceResponse';
181
189
  export * from './PaginatedSiteNotificationResourceResponse';
182
190
  export * from './PaginatedSiteResourceResponse';
191
+ export * from './PaginatedStoreListResourceResponse';
183
192
  export * from './PaginatedSupplierFrontendResourceResponse';
184
193
  export * from './PaginatedSupplierListResourceResponse';
185
194
  export * from './PaginatedSupplierLiteResourceResponse';
@@ -251,19 +260,6 @@ export * from './ProductRangeSiteDetailResource';
251
260
  export * from './ProductRangeSiteDetailResourceArrayResponse';
252
261
  export * from './ProductRangeSortBy';
253
262
  export * from './ProductRating';
254
- export * from './ProductRegistrationAssetResource';
255
- export * from './ProductRegistrationAssetResourceArrayResponse';
256
- export * from './ProductRegistrationAssetType';
257
- export * from './ProductRegistrationCustomerLiteResource';
258
- export * from './ProductRegistrationCustomerLiteResourceArrayResponse';
259
- export * from './ProductRegistrationCustomerResource';
260
- export * from './ProductRegistrationCustomerResourceArrayResponse';
261
- export * from './ProductRegistrationListResource';
262
- export * from './ProductRegistrationListResourceArrayResponse';
263
- export * from './ProductRegistrationLiteResource';
264
- export * from './ProductRegistrationLiteResourceArrayResponse';
265
- export * from './ProductRegistrationResource';
266
- export * from './ProductRegistrationResourceArrayResponse';
267
263
  export * from './ProductResource';
268
264
  export * from './ProductResourceArrayResponse';
269
265
  export * from './ProductSearchResponseResource';
@@ -304,6 +300,13 @@ export * from './StoreAttributeValueRequest';
304
300
  export * from './StoreDefinitionRequest';
305
301
  export * from './StoreDocumentFileRequest';
306
302
  export * from './StoreDocumentRequest';
303
+ export * from './StoreFrontendResource';
304
+ export * from './StoreFrontendResourceArrayResponse';
305
+ export * from './StoreLabelRequest';
306
+ export * from './StoreListResource';
307
+ export * from './StoreListResourceArrayResponse';
308
+ export * from './StoreLiteResource';
309
+ export * from './StoreLiteResourceArrayResponse';
307
310
  export * from './StoreOverlayTemplateAssetRequest';
308
311
  export * from './StoreOverlayTemplateRequest';
309
312
  export * from './StoreProductCategoryRequest';
@@ -319,7 +322,17 @@ export * from './StoreProductRangeRequestSitesInner';
319
322
  export * from './StoreProductRequest';
320
323
  export * from './StoreProductRequestCategoriesInner';
321
324
  export * from './StoreProductTypeRequest';
325
+ export * from './StoreResource';
326
+ export * from './StoreResourceArrayResponse';
322
327
  export * from './StoreSiteNotificationRequest';
328
+ export * from './StoreSpecialDateFrontendResource';
329
+ export * from './StoreSpecialDateFrontendResourceArrayResponse';
330
+ export * from './StoreSpecialDateResource';
331
+ export * from './StoreSpecialDateResourceArrayResponse';
332
+ export * from './StoreStoreRequest';
333
+ export * from './StoreStoreRequestAddress';
334
+ export * from './StoreStoreRequestSpecialDatesInner';
335
+ export * from './StoreStoreSpecialDateRequest';
323
336
  export * from './StoreSupplierRequest';
324
337
  export * from './StoreTagRequest';
325
338
  export * from './SupplierFrontendResource';
@@ -346,6 +359,7 @@ export * from './UpdateDefinitionRequest';
346
359
  export * from './UpdateDocumentRequest';
347
360
  export * from './UpdateFilterOrderAttributeRequest';
348
361
  export * from './UpdateFilterOrderAttributeRequestValuesInner';
362
+ export * from './UpdateLabelRequest';
349
363
  export * from './UpdateModelAttributeRequest';
350
364
  export * from './UpdateOverlayTemplateAssetRequest';
351
365
  export * from './UpdateOverlayTemplateRequest';
@@ -358,6 +372,8 @@ export * from './UpdateProductRequest';
358
372
  export * from './UpdateProductTypeRequest';
359
373
  export * from './UpdateSiteNotificationRequest';
360
374
  export * from './UpdateSiteRequest';
375
+ export * from './UpdateStoreRequest';
376
+ export * from './UpdateStoreRequestSpecialDatesInner';
361
377
  export * from './UpdateSupplierRequest';
362
378
  export * from './UpdateTagRequest';
363
379
  export * from './WishlistCheckResource';
@@ -1,79 +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 * as runtime from '../runtime';
13
- import type { GetAllProductRegistrationRequest, IndexProductRegistrationRequest, ListAssetsProductRegistrationRequest, PaginatedProductRegistrationAssetResourceResponse, PaginatedProductRegistrationListResourceResponse, ProductRegistrationLiteResourceArrayResponse, ProductRegistrationResource } from '../models/index';
14
- export interface GetAllProductRegistrationOperationRequest {
15
- getAllProductRegistrationRequest?: GetAllProductRegistrationRequest;
16
- }
17
- export interface IndexProductRegistrationOperationRequest {
18
- indexProductRegistrationRequest?: IndexProductRegistrationRequest;
19
- }
20
- export interface ListAssetsProductRegistrationOperationRequest {
21
- productRegistration: number;
22
- listAssetsProductRegistrationRequest?: ListAssetsProductRegistrationRequest;
23
- }
24
- export interface ShowProductRegistrationRequest {
25
- productRegistration: number;
26
- }
27
- /**
28
- *
29
- */
30
- export declare class ProductRegistrationApi extends runtime.BaseAPI {
31
- /**
32
- * Creates request options for getAllProductRegistration without sending the request
33
- */
34
- getAllProductRegistrationRequestOpts(requestParameters: GetAllProductRegistrationOperationRequest): Promise<runtime.RequestOpts>;
35
- /**
36
- * Auto-generated: getAllProductRegistration
37
- */
38
- getAllProductRegistrationRaw(requestParameters: GetAllProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductRegistrationLiteResourceArrayResponse>>;
39
- /**
40
- * Auto-generated: getAllProductRegistration
41
- */
42
- getAllProductRegistration(requestParameters?: GetAllProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductRegistrationLiteResourceArrayResponse>;
43
- /**
44
- * Creates request options for indexProductRegistration without sending the request
45
- */
46
- indexProductRegistrationRequestOpts(requestParameters: IndexProductRegistrationOperationRequest): Promise<runtime.RequestOpts>;
47
- /**
48
- * Auto-generated: indexProductRegistration
49
- */
50
- indexProductRegistrationRaw(requestParameters: IndexProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductRegistrationListResourceResponse>>;
51
- /**
52
- * Auto-generated: indexProductRegistration
53
- */
54
- indexProductRegistration(requestParameters?: IndexProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductRegistrationListResourceResponse>;
55
- /**
56
- * Creates request options for listAssetsProductRegistration without sending the request
57
- */
58
- listAssetsProductRegistrationRequestOpts(requestParameters: ListAssetsProductRegistrationOperationRequest): Promise<runtime.RequestOpts>;
59
- /**
60
- * Auto-generated: listAssetsProductRegistration
61
- */
62
- listAssetsProductRegistrationRaw(requestParameters: ListAssetsProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductRegistrationAssetResourceResponse>>;
63
- /**
64
- * Auto-generated: listAssetsProductRegistration
65
- */
66
- listAssetsProductRegistration(requestParameters: ListAssetsProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductRegistrationAssetResourceResponse>;
67
- /**
68
- * Creates request options for showProductRegistration without sending the request
69
- */
70
- showProductRegistrationRequestOpts(requestParameters: ShowProductRegistrationRequest): Promise<runtime.RequestOpts>;
71
- /**
72
- * Auto-generated: showProductRegistration
73
- */
74
- showProductRegistrationRaw(requestParameters: ShowProductRegistrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductRegistrationResource>>;
75
- /**
76
- * Auto-generated: showProductRegistration
77
- */
78
- showProductRegistration(requestParameters: ShowProductRegistrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductRegistrationResource>;
79
- }
@@ -1,81 +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 GetAllProductRegistrationRequest
16
- */
17
- export interface GetAllProductRegistrationRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof GetAllProductRegistrationRequest
22
- */
23
- search?: string;
24
- /**
25
- *
26
- * @type {GetAllProductRegistrationRequestSortByEnum}
27
- * @memberof GetAllProductRegistrationRequest
28
- */
29
- sortBy?: GetAllProductRegistrationRequestSortByEnum;
30
- /**
31
- *
32
- * @type {GetAllProductRegistrationRequestSortDirectionEnum}
33
- * @memberof GetAllProductRegistrationRequest
34
- */
35
- sortDirection?: GetAllProductRegistrationRequestSortDirectionEnum;
36
- /**
37
- *
38
- * @type {number}
39
- * @memberof GetAllProductRegistrationRequest
40
- */
41
- relatedId?: number;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof GetAllProductRegistrationRequest
46
- */
47
- relatedType?: string;
48
- /**
49
- *
50
- * @type {boolean}
51
- * @memberof GetAllProductRegistrationRequest
52
- */
53
- includesRelations?: boolean;
54
- }
55
- /**
56
- * @export
57
- */
58
- export declare const GetAllProductRegistrationRequestSortByEnum: {
59
- readonly Id: "id";
60
- readonly CustomerName: "customer-name";
61
- readonly CustomerEmail: "customer-email";
62
- readonly CustomerPhone: "customer-phone";
63
- readonly CreatedAt: "created_at";
64
- };
65
- export type GetAllProductRegistrationRequestSortByEnum = typeof GetAllProductRegistrationRequestSortByEnum[keyof typeof GetAllProductRegistrationRequestSortByEnum];
66
- /**
67
- * @export
68
- */
69
- export declare const GetAllProductRegistrationRequestSortDirectionEnum: {
70
- readonly Asc: "asc";
71
- readonly Desc: "desc";
72
- };
73
- export type GetAllProductRegistrationRequestSortDirectionEnum = typeof GetAllProductRegistrationRequestSortDirectionEnum[keyof typeof GetAllProductRegistrationRequestSortDirectionEnum];
74
- /**
75
- * Check if a given object implements the GetAllProductRegistrationRequest interface.
76
- */
77
- export declare function instanceOfGetAllProductRegistrationRequest(value: object): value is GetAllProductRegistrationRequest;
78
- export declare function GetAllProductRegistrationRequestFromJSON(json: any): GetAllProductRegistrationRequest;
79
- export declare function GetAllProductRegistrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllProductRegistrationRequest;
80
- export declare function GetAllProductRegistrationRequestToJSON(json: any): GetAllProductRegistrationRequest;
81
- export declare function GetAllProductRegistrationRequestToJSONTyped(value?: GetAllProductRegistrationRequest | null, ignoreDiscriminator?: boolean): any;