@digital8/lighting-illusions-ts-sdk 0.0.2435 → 0.0.2436

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 (328) hide show
  1. package/.openapi-generator/FILES +6 -83
  2. package/README.md +2 -2
  3. package/dist/apis/AuspostApi.d.ts +29 -0
  4. package/dist/apis/{PermissionsApi.js → AuspostApi.js} +14 -105
  5. package/dist/apis/CustomersApi.d.ts +1 -72
  6. package/dist/apis/CustomersApi.js +0 -289
  7. package/dist/apis/SupplierApi.js +1 -1
  8. package/dist/apis/index.d.ts +1 -5
  9. package/dist/apis/index.js +1 -5
  10. package/dist/models/AddressResource.d.ts +1 -1
  11. package/dist/models/AddressResource.js +1 -3
  12. package/dist/models/AddressType.d.ts +0 -2
  13. package/dist/models/AddressType.js +1 -3
  14. package/dist/models/AdminNoteResource.d.ts +3 -3
  15. package/dist/models/AdminNoteResource.js +3 -3
  16. package/dist/models/AdminOrderResource.d.ts +9 -3
  17. package/dist/models/AdminOrderResource.js +7 -3
  18. package/dist/models/AdminUserLiteResource.d.ts +1 -1
  19. package/dist/models/AdminUserLiteResource.js +1 -3
  20. package/dist/models/CartResource.d.ts +3 -3
  21. package/dist/models/CartResource.js +3 -3
  22. package/dist/models/CreateCustomerRequest.d.ts +6 -24
  23. package/dist/models/CreateCustomerRequest.js +6 -12
  24. package/dist/models/CustomerListResource.d.ts +8 -27
  25. package/dist/models/CustomerListResource.js +13 -25
  26. package/dist/models/CustomerResource.d.ts +11 -45
  27. package/dist/models/CustomerResource.js +16 -37
  28. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  29. package/dist/models/ExternalApiLogResource.js +1 -3
  30. package/dist/models/OrderFulfillmentResource.d.ts +3 -3
  31. package/dist/models/OrderFulfillmentResource.js +4 -6
  32. package/dist/models/PaymentTotalsResource.d.ts +128 -0
  33. package/dist/models/PaymentTotalsResource.js +113 -0
  34. package/dist/models/PaymentTotalsResourceArrayResponse.d.ts +33 -0
  35. package/dist/models/PaymentTotalsResourceArrayResponse.js +50 -0
  36. package/dist/models/SearchCartsRequest.d.ts +0 -6
  37. package/dist/models/SearchCartsRequest.js +0 -2
  38. package/dist/models/SearchCustomersRequest.d.ts +3 -31
  39. package/dist/models/SearchCustomersRequest.js +3 -15
  40. package/dist/models/SearchOrdersRequest.d.ts +0 -6
  41. package/dist/models/SearchOrdersRequest.js +0 -2
  42. package/dist/models/StoreFrontendResource.d.ts +1 -1
  43. package/dist/models/StoreFrontendResource.js +3 -1
  44. package/dist/models/StoreListResource.d.ts +2 -2
  45. package/dist/models/StoreListResource.js +4 -4
  46. package/dist/models/SuburbValidationResource.d.ts +32 -0
  47. package/dist/models/SuburbValidationResource.js +51 -0
  48. package/dist/models/SuburbValidationResourceArrayResponse.d.ts +33 -0
  49. package/dist/models/SuburbValidationResourceArrayResponse.js +50 -0
  50. package/dist/models/ValidateSuburbRequest.d.ts +50 -0
  51. package/dist/models/ValidateSuburbRequest.js +63 -0
  52. package/dist/models/index.d.ts +5 -78
  53. package/dist/models/index.js +5 -78
  54. package/package.json +1 -1
  55. package/src/apis/AuspostApi.ts +69 -0
  56. package/src/apis/CustomersApi.ts +0 -292
  57. package/src/apis/SupplierApi.ts +1 -1
  58. package/src/apis/index.ts +1 -5
  59. package/src/models/AddressResource.ts +2 -3
  60. package/src/models/AddressType.ts +1 -3
  61. package/src/models/AdminNoteResource.ts +10 -10
  62. package/src/models/AdminOrderResource.ts +20 -11
  63. package/src/models/AdminUserLiteResource.ts +2 -3
  64. package/src/models/CartResource.ts +10 -10
  65. package/src/models/CreateCustomerRequest.ts +11 -35
  66. package/src/models/CustomerListResource.ts +20 -53
  67. package/src/models/CustomerResource.ts +30 -101
  68. package/src/models/ExternalApiLogResource.ts +2 -3
  69. package/src/models/OrderFulfillmentResource.ts +7 -8
  70. package/src/models/PaymentTotalsResource.ts +209 -0
  71. package/src/models/PaymentTotalsResourceArrayResponse.ts +73 -0
  72. package/src/models/SearchCartsRequest.ts +0 -8
  73. package/src/models/SearchCustomersRequest.ts +3 -39
  74. package/src/models/SearchOrdersRequest.ts +0 -8
  75. package/src/models/StoreFrontendResource.ts +3 -2
  76. package/src/models/StoreListResource.ts +5 -5
  77. package/src/models/SuburbValidationResource.ts +66 -0
  78. package/src/models/SuburbValidationResourceArrayResponse.ts +73 -0
  79. package/src/models/ValidateSuburbRequest.ts +93 -0
  80. package/src/models/index.ts +5 -78
  81. package/dist/apis/AdminsApi.d.ts +0 -109
  82. package/dist/apis/AdminsApi.js +0 -453
  83. package/dist/apis/AuthApi.d.ts +0 -67
  84. package/dist/apis/AuthApi.js +0 -299
  85. package/dist/apis/CouponsApi.d.ts +0 -85
  86. package/dist/apis/CouponsApi.js +0 -355
  87. package/dist/apis/PermissionsApi.d.ts +0 -51
  88. package/dist/apis/RolesApi.d.ts +0 -133
  89. package/dist/apis/RolesApi.js +0 -551
  90. package/dist/models/AdminListResource.d.ts +0 -52
  91. package/dist/models/AdminListResource.js +0 -64
  92. package/dist/models/AdminListResourceArrayResponse.d.ts +0 -33
  93. package/dist/models/AdminListResourceArrayResponse.js +0 -50
  94. package/dist/models/AdminLiteResource.d.ts +0 -39
  95. package/dist/models/AdminLiteResource.js +0 -56
  96. package/dist/models/AdminLiteResourceArrayResponse.d.ts +0 -33
  97. package/dist/models/AdminLiteResourceArrayResponse.js +0 -50
  98. package/dist/models/AdminLoginResponseResource.d.ts +0 -39
  99. package/dist/models/AdminLoginResponseResource.js +0 -56
  100. package/dist/models/AdminLoginResponseResourceArrayResponse.d.ts +0 -33
  101. package/dist/models/AdminLoginResponseResourceArrayResponse.js +0 -50
  102. package/dist/models/AdminResource.d.ts +0 -64
  103. package/dist/models/AdminResource.js +0 -70
  104. package/dist/models/AdminResourceArrayResponse.d.ts +0 -33
  105. package/dist/models/AdminResourceArrayResponse.js +0 -50
  106. package/dist/models/AttachAdminsToRoleRequest.d.ts +0 -32
  107. package/dist/models/AttachAdminsToRoleRequest.js +0 -51
  108. package/dist/models/AttachPermissionsToRoleRequest.d.ts +0 -32
  109. package/dist/models/AttachPermissionsToRoleRequest.js +0 -51
  110. package/dist/models/AttachRolesToAdminRequest.d.ts +0 -32
  111. package/dist/models/AttachRolesToAdminRequest.js +0 -51
  112. package/dist/models/CheckEmailFrontendResource.d.ts +0 -32
  113. package/dist/models/CheckEmailFrontendResource.js +0 -51
  114. package/dist/models/CheckEmailFrontendResourceArrayResponse.d.ts +0 -33
  115. package/dist/models/CheckEmailFrontendResourceArrayResponse.js +0 -50
  116. package/dist/models/CouponListResource.d.ts +0 -99
  117. package/dist/models/CouponListResource.js +0 -91
  118. package/dist/models/CouponListResourceArrayResponse.d.ts +0 -33
  119. package/dist/models/CouponListResourceArrayResponse.js +0 -50
  120. package/dist/models/CouponLiteResource.d.ts +0 -44
  121. package/dist/models/CouponLiteResource.js +0 -57
  122. package/dist/models/CouponLiteResourceArrayResponse.d.ts +0 -33
  123. package/dist/models/CouponLiteResourceArrayResponse.js +0 -50
  124. package/dist/models/CouponResource.d.ts +0 -163
  125. package/dist/models/CouponResource.js +0 -135
  126. package/dist/models/CouponResourceArrayResponse.d.ts +0 -33
  127. package/dist/models/CouponResourceArrayResponse.js +0 -50
  128. package/dist/models/CouponType.d.ts +0 -26
  129. package/dist/models/CouponType.js +0 -52
  130. package/dist/models/CreateAdminUserRequest.d.ts +0 -56
  131. package/dist/models/CreateAdminUserRequest.js +0 -65
  132. package/dist/models/CreateCouponRequest.d.ts +0 -126
  133. package/dist/models/CreateCouponRequest.js +0 -107
  134. package/dist/models/CreateCouponRequestCouponablesInner.d.ts +0 -48
  135. package/dist/models/CreateCouponRequestCouponablesInner.js +0 -61
  136. package/dist/models/CreateCustomerAddressRequest.d.ts +0 -90
  137. package/dist/models/CreateCustomerAddressRequest.js +0 -83
  138. package/dist/models/CreateRoleRequest.d.ts +0 -38
  139. package/dist/models/CreateRoleRequest.js +0 -55
  140. package/dist/models/CustomerAuthResponseResource.d.ts +0 -39
  141. package/dist/models/CustomerAuthResponseResource.js +0 -56
  142. package/dist/models/CustomerAuthResponseResourceArrayResponse.d.ts +0 -33
  143. package/dist/models/CustomerAuthResponseResourceArrayResponse.js +0 -50
  144. package/dist/models/CustomerFrontendResource.d.ts +0 -70
  145. package/dist/models/CustomerFrontendResource.js +0 -75
  146. package/dist/models/CustomerFrontendResourceArrayResponse.d.ts +0 -33
  147. package/dist/models/CustomerFrontendResourceArrayResponse.js +0 -50
  148. package/dist/models/CustomerSocialLinkableResource.d.ts +0 -38
  149. package/dist/models/CustomerSocialLinkableResource.js +0 -55
  150. package/dist/models/CustomerSocialLinkableResourceArrayResponse.d.ts +0 -33
  151. package/dist/models/CustomerSocialLinkableResourceArrayResponse.js +0 -50
  152. package/dist/models/CustomerSocialProviderLiteResource.d.ts +0 -50
  153. package/dist/models/CustomerSocialProviderLiteResource.js +0 -61
  154. package/dist/models/CustomerSocialProviderLiteResourceArrayResponse.d.ts +0 -33
  155. package/dist/models/CustomerSocialProviderLiteResourceArrayResponse.js +0 -50
  156. package/dist/models/CustomerType.d.ts +0 -25
  157. package/dist/models/CustomerType.js +0 -51
  158. package/dist/models/ForgotPasswordAdminRequest.d.ts +0 -32
  159. package/dist/models/ForgotPasswordAdminRequest.js +0 -51
  160. package/dist/models/LoginAdminRequest.d.ts +0 -38
  161. package/dist/models/LoginAdminRequest.js +0 -55
  162. package/dist/models/NetsuiteSyncLiteResource.d.ts +0 -44
  163. package/dist/models/NetsuiteSyncLiteResource.js +0 -59
  164. package/dist/models/NetsuiteSyncLiteResourceArrayResponse.d.ts +0 -33
  165. package/dist/models/NetsuiteSyncLiteResourceArrayResponse.js +0 -50
  166. package/dist/models/PaginatedAdminListResourceResponse.d.ts +0 -40
  167. package/dist/models/PaginatedAdminListResourceResponse.js +0 -57
  168. package/dist/models/PaginatedAdminLiteResourceResponse.d.ts +0 -40
  169. package/dist/models/PaginatedAdminLiteResourceResponse.js +0 -57
  170. package/dist/models/PaginatedCouponListResourceResponse.d.ts +0 -40
  171. package/dist/models/PaginatedCouponListResourceResponse.js +0 -57
  172. package/dist/models/PaginatedCouponResourceResponse.d.ts +0 -40
  173. package/dist/models/PaginatedCouponResourceResponse.js +0 -57
  174. package/dist/models/PaginatedPermissionListResourceResponse.d.ts +0 -40
  175. package/dist/models/PaginatedPermissionListResourceResponse.js +0 -57
  176. package/dist/models/PaginatedPermissionLiteResourceResponse.d.ts +0 -40
  177. package/dist/models/PaginatedPermissionLiteResourceResponse.js +0 -57
  178. package/dist/models/PaginatedRoleListResourceResponse.d.ts +0 -40
  179. package/dist/models/PaginatedRoleListResourceResponse.js +0 -57
  180. package/dist/models/PaginatedRoleLiteResourceResponse.d.ts +0 -40
  181. package/dist/models/PaginatedRoleLiteResourceResponse.js +0 -57
  182. package/dist/models/PermissionListResource.d.ts +0 -44
  183. package/dist/models/PermissionListResource.js +0 -56
  184. package/dist/models/PermissionListResourceArrayResponse.d.ts +0 -33
  185. package/dist/models/PermissionListResourceArrayResponse.js +0 -50
  186. package/dist/models/PermissionLiteResource.d.ts +0 -38
  187. package/dist/models/PermissionLiteResource.js +0 -53
  188. package/dist/models/PermissionLiteResourceArrayResponse.d.ts +0 -33
  189. package/dist/models/PermissionLiteResourceArrayResponse.js +0 -50
  190. package/dist/models/PermissionResource.d.ts +0 -56
  191. package/dist/models/PermissionResource.js +0 -62
  192. package/dist/models/PermissionResourceArrayResponse.d.ts +0 -33
  193. package/dist/models/PermissionResourceArrayResponse.js +0 -50
  194. package/dist/models/ResetPasswordAdminRequest.d.ts +0 -44
  195. package/dist/models/ResetPasswordAdminRequest.js +0 -59
  196. package/dist/models/RoleListResource.d.ts +0 -74
  197. package/dist/models/RoleListResource.js +0 -74
  198. package/dist/models/RoleListResourceArrayResponse.d.ts +0 -33
  199. package/dist/models/RoleListResourceArrayResponse.js +0 -50
  200. package/dist/models/RoleLiteResource.d.ts +0 -44
  201. package/dist/models/RoleLiteResource.js +0 -57
  202. package/dist/models/RoleLiteResourceArrayResponse.d.ts +0 -33
  203. package/dist/models/RoleLiteResourceArrayResponse.js +0 -50
  204. package/dist/models/RoleResource.d.ts +0 -82
  205. package/dist/models/RoleResource.js +0 -80
  206. package/dist/models/RoleResourceArrayResponse.d.ts +0 -33
  207. package/dist/models/RoleResourceArrayResponse.js +0 -50
  208. package/dist/models/SearchAdminUsersRequest.d.ts +0 -112
  209. package/dist/models/SearchAdminUsersRequest.js +0 -88
  210. package/dist/models/SearchAllAdminUsersRequest.d.ts +0 -88
  211. package/dist/models/SearchAllAdminUsersRequest.js +0 -80
  212. package/dist/models/SearchAllCouponsRequest.d.ts +0 -101
  213. package/dist/models/SearchAllCouponsRequest.js +0 -85
  214. package/dist/models/SearchAllCustomersRequest.d.ts +0 -103
  215. package/dist/models/SearchAllCustomersRequest.js +0 -89
  216. package/dist/models/SearchAllPermissionsRequest.d.ts +0 -85
  217. package/dist/models/SearchAllPermissionsRequest.js +0 -77
  218. package/dist/models/SearchAllRolesRequest.d.ts +0 -94
  219. package/dist/models/SearchAllRolesRequest.js +0 -82
  220. package/dist/models/SearchCouponsRequest.d.ts +0 -137
  221. package/dist/models/SearchCouponsRequest.js +0 -97
  222. package/dist/models/SearchPermissionsRequest.d.ts +0 -97
  223. package/dist/models/SearchPermissionsRequest.js +0 -81
  224. package/dist/models/SearchRolesRequest.d.ts +0 -106
  225. package/dist/models/SearchRolesRequest.js +0 -86
  226. package/dist/models/SignUpType.d.ts +0 -29
  227. package/dist/models/SignUpType.js +0 -55
  228. package/dist/models/SocialProvider.d.ts +0 -26
  229. package/dist/models/SocialProvider.js +0 -52
  230. package/dist/models/UpdateAdminUserRequest.d.ts +0 -56
  231. package/dist/models/UpdateAdminUserRequest.js +0 -63
  232. package/dist/models/UpdateCouponRequest.d.ts +0 -120
  233. package/dist/models/UpdateCouponRequest.js +0 -103
  234. package/dist/models/UpdateCustomerAddressRequest.d.ts +0 -90
  235. package/dist/models/UpdateCustomerAddressRequest.js +0 -83
  236. package/dist/models/UpdateCustomerRequest.d.ts +0 -68
  237. package/dist/models/UpdateCustomerRequest.js +0 -67
  238. package/dist/models/UpdateRoleRequest.d.ts +0 -38
  239. package/dist/models/UpdateRoleRequest.js +0 -55
  240. package/dist/models/UserLiteResource.d.ts +0 -62
  241. package/dist/models/UserLiteResource.js +0 -69
  242. package/dist/models/UserLiteResourceArrayResponse.d.ts +0 -33
  243. package/dist/models/UserLiteResourceArrayResponse.js +0 -50
  244. package/dist/models/UserType.d.ts +0 -25
  245. package/dist/models/UserType.js +0 -51
  246. package/src/apis/AdminsApi.ts +0 -384
  247. package/src/apis/AuthApi.ts +0 -211
  248. package/src/apis/CouponsApi.ts +0 -286
  249. package/src/apis/PermissionsApi.ts +0 -155
  250. package/src/apis/RolesApi.ts +0 -482
  251. package/src/models/AdminListResource.ts +0 -107
  252. package/src/models/AdminListResourceArrayResponse.ts +0 -73
  253. package/src/models/AdminLiteResource.ts +0 -83
  254. package/src/models/AdminLiteResourceArrayResponse.ts +0 -73
  255. package/src/models/AdminLoginResponseResource.ts +0 -83
  256. package/src/models/AdminLoginResponseResourceArrayResponse.ts +0 -73
  257. package/src/models/AdminResource.ts +0 -124
  258. package/src/models/AdminResourceArrayResponse.ts +0 -73
  259. package/src/models/AttachAdminsToRoleRequest.ts +0 -66
  260. package/src/models/AttachPermissionsToRoleRequest.ts +0 -66
  261. package/src/models/AttachRolesToAdminRequest.ts +0 -66
  262. package/src/models/CheckEmailFrontendResource.ts +0 -66
  263. package/src/models/CheckEmailFrontendResourceArrayResponse.ts +0 -73
  264. package/src/models/CouponListResource.ts +0 -170
  265. package/src/models/CouponListResourceArrayResponse.ts +0 -73
  266. package/src/models/CouponLiteResource.ts +0 -83
  267. package/src/models/CouponLiteResourceArrayResponse.ts +0 -73
  268. package/src/models/CouponResource.ts +0 -288
  269. package/src/models/CouponResourceArrayResponse.ts +0 -73
  270. package/src/models/CouponType.ts +0 -54
  271. package/src/models/CreateAdminUserRequest.ts +0 -101
  272. package/src/models/CreateCouponRequest.ts +0 -207
  273. package/src/models/CreateCouponRequestCouponablesInner.ts +0 -86
  274. package/src/models/CreateCustomerAddressRequest.ts +0 -146
  275. package/src/models/CreateRoleRequest.ts +0 -75
  276. package/src/models/CustomerAuthResponseResource.ts +0 -83
  277. package/src/models/CustomerAuthResponseResourceArrayResponse.ts +0 -73
  278. package/src/models/CustomerFrontendResource.ts +0 -134
  279. package/src/models/CustomerFrontendResourceArrayResponse.ts +0 -73
  280. package/src/models/CustomerSocialLinkableResource.ts +0 -75
  281. package/src/models/CustomerSocialLinkableResourceArrayResponse.ts +0 -73
  282. package/src/models/CustomerSocialProviderLiteResource.ts +0 -92
  283. package/src/models/CustomerSocialProviderLiteResourceArrayResponse.ts +0 -73
  284. package/src/models/CustomerType.ts +0 -53
  285. package/src/models/ForgotPasswordAdminRequest.ts +0 -66
  286. package/src/models/LoginAdminRequest.ts +0 -75
  287. package/src/models/NetsuiteSyncLiteResource.ts +0 -84
  288. package/src/models/NetsuiteSyncLiteResourceArrayResponse.ts +0 -73
  289. package/src/models/PaginatedAdminListResourceResponse.ts +0 -90
  290. package/src/models/PaginatedAdminLiteResourceResponse.ts +0 -90
  291. package/src/models/PaginatedCouponListResourceResponse.ts +0 -90
  292. package/src/models/PaginatedCouponResourceResponse.ts +0 -90
  293. package/src/models/PaginatedPermissionListResourceResponse.ts +0 -90
  294. package/src/models/PaginatedPermissionLiteResourceResponse.ts +0 -90
  295. package/src/models/PaginatedRoleListResourceResponse.ts +0 -90
  296. package/src/models/PaginatedRoleLiteResourceResponse.ts +0 -90
  297. package/src/models/PermissionListResource.ts +0 -82
  298. package/src/models/PermissionListResourceArrayResponse.ts +0 -73
  299. package/src/models/PermissionLiteResource.ts +0 -74
  300. package/src/models/PermissionLiteResourceArrayResponse.ts +0 -73
  301. package/src/models/PermissionResource.ts +0 -99
  302. package/src/models/PermissionResourceArrayResponse.ts +0 -73
  303. package/src/models/ResetPasswordAdminRequest.ts +0 -84
  304. package/src/models/RoleListResource.ts +0 -126
  305. package/src/models/RoleListResourceArrayResponse.ts +0 -73
  306. package/src/models/RoleLiteResource.ts +0 -83
  307. package/src/models/RoleLiteResourceArrayResponse.ts +0 -73
  308. package/src/models/RoleResource.ts +0 -150
  309. package/src/models/RoleResourceArrayResponse.ts +0 -73
  310. package/src/models/SearchAdminUsersRequest.ts +0 -169
  311. package/src/models/SearchAllAdminUsersRequest.ts +0 -137
  312. package/src/models/SearchAllCouponsRequest.ts +0 -154
  313. package/src/models/SearchAllCustomersRequest.ts +0 -157
  314. package/src/models/SearchAllPermissionsRequest.ts +0 -134
  315. package/src/models/SearchAllRolesRequest.ts +0 -145
  316. package/src/models/SearchCouponsRequest.ts +0 -202
  317. package/src/models/SearchPermissionsRequest.ts +0 -150
  318. package/src/models/SearchRolesRequest.ts +0 -161
  319. package/src/models/SignUpType.ts +0 -57
  320. package/src/models/SocialProvider.ts +0 -54
  321. package/src/models/UpdateAdminUserRequest.ts +0 -100
  322. package/src/models/UpdateCouponRequest.ts +0 -198
  323. package/src/models/UpdateCustomerAddressRequest.ts +0 -146
  324. package/src/models/UpdateCustomerRequest.ts +0 -116
  325. package/src/models/UpdateRoleRequest.ts +0 -75
  326. package/src/models/UserLiteResource.ts +0 -110
  327. package/src/models/UserLiteResourceArrayResponse.ts +0 -73
  328. package/src/models/UserType.ts +0 -53
@@ -0,0 +1,113 @@
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.instanceOfPaymentTotalsResource = instanceOfPaymentTotalsResource;
17
+ exports.PaymentTotalsResourceFromJSON = PaymentTotalsResourceFromJSON;
18
+ exports.PaymentTotalsResourceFromJSONTyped = PaymentTotalsResourceFromJSONTyped;
19
+ exports.PaymentTotalsResourceToJSON = PaymentTotalsResourceToJSON;
20
+ exports.PaymentTotalsResourceToJSONTyped = PaymentTotalsResourceToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PaymentTotalsResource interface.
23
+ */
24
+ function instanceOfPaymentTotalsResource(value) {
25
+ if (!('subtotal' in value) || value['subtotal'] === undefined)
26
+ return false;
27
+ if (!('shippingAmount' in value) || value['shippingAmount'] === undefined)
28
+ return false;
29
+ if (!('transitInsurance' in value) || value['transitInsurance'] === undefined)
30
+ return false;
31
+ if (!('discountTotal' in value) || value['discountTotal'] === undefined)
32
+ return false;
33
+ if (!('discountBreakdown' in value) || value['discountBreakdown'] === undefined)
34
+ return false;
35
+ if (!('gstAmount' in value) || value['gstAmount'] === undefined)
36
+ return false;
37
+ if (!('finalTotal' in value) || value['finalTotal'] === undefined)
38
+ return false;
39
+ if (!('amountPaid' in value) || value['amountPaid'] === undefined)
40
+ return false;
41
+ if (!('amountDue' in value) || value['amountDue'] === undefined)
42
+ return false;
43
+ if (!('appliedCoupons' in value) || value['appliedCoupons'] === undefined)
44
+ return false;
45
+ if (!('noOfItems' in value) || value['noOfItems'] === undefined)
46
+ return false;
47
+ if (!('lineItems' in value) || value['lineItems'] === undefined)
48
+ return false;
49
+ if (!('shippingType' in value) || value['shippingType'] === undefined)
50
+ return false;
51
+ if (!('includeTransitInsurance' in value) || value['includeTransitInsurance'] === undefined)
52
+ return false;
53
+ if (!('deliveryShippingQuote' in value) || value['deliveryShippingQuote'] === undefined)
54
+ return false;
55
+ if (!('transitInsuranceQuote' in value) || value['transitInsuranceQuote'] === undefined)
56
+ return false;
57
+ return true;
58
+ }
59
+ function PaymentTotalsResourceFromJSON(json) {
60
+ return PaymentTotalsResourceFromJSONTyped(json, false);
61
+ }
62
+ function PaymentTotalsResourceFromJSONTyped(json, ignoreDiscriminator) {
63
+ if (json == null) {
64
+ return json;
65
+ }
66
+ return {
67
+ 'subtotal': json['subtotal'],
68
+ 'shippingAmount': json['shippingAmount'],
69
+ 'transitInsurance': json['transitInsurance'],
70
+ 'discountTotal': json['discountTotal'],
71
+ 'discountBreakdown': json['discountBreakdown'],
72
+ 'gstAmount': json['gstAmount'],
73
+ 'finalTotal': json['finalTotal'],
74
+ 'amountPaid': json['amountPaid'],
75
+ 'amountDue': json['amountDue'],
76
+ 'appliedCoupons': json['appliedCoupons'],
77
+ 'noOfItems': json['noOfItems'],
78
+ 'lineItems': json['lineItems'],
79
+ 'sessionToken': json['sessionToken'] == null ? undefined : json['sessionToken'],
80
+ 'shippingType': json['shippingType'],
81
+ 'includeTransitInsurance': json['includeTransitInsurance'],
82
+ 'deliveryShippingQuote': json['deliveryShippingQuote'],
83
+ 'transitInsuranceQuote': json['transitInsuranceQuote'],
84
+ };
85
+ }
86
+ function PaymentTotalsResourceToJSON(json) {
87
+ return PaymentTotalsResourceToJSONTyped(json, false);
88
+ }
89
+ function PaymentTotalsResourceToJSONTyped(value, ignoreDiscriminator) {
90
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
91
+ if (value == null) {
92
+ return value;
93
+ }
94
+ return {
95
+ 'subtotal': value['subtotal'],
96
+ 'shippingAmount': value['shippingAmount'],
97
+ 'transitInsurance': value['transitInsurance'],
98
+ 'discountTotal': value['discountTotal'],
99
+ 'discountBreakdown': value['discountBreakdown'],
100
+ 'gstAmount': value['gstAmount'],
101
+ 'finalTotal': value['finalTotal'],
102
+ 'amountPaid': value['amountPaid'],
103
+ 'amountDue': value['amountDue'],
104
+ 'appliedCoupons': value['appliedCoupons'],
105
+ 'noOfItems': value['noOfItems'],
106
+ 'lineItems': value['lineItems'],
107
+ 'sessionToken': value['sessionToken'],
108
+ 'shippingType': value['shippingType'],
109
+ 'includeTransitInsurance': value['includeTransitInsurance'],
110
+ 'deliveryShippingQuote': value['deliveryShippingQuote'],
111
+ 'transitInsuranceQuote': value['transitInsuranceQuote'],
112
+ };
113
+ }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * My API
3
+ * API documentation for my Laravel app
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { PaymentTotalsResource } from './PaymentTotalsResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PaymentTotalsResourceArrayResponse
17
+ */
18
+ export interface PaymentTotalsResourceArrayResponse {
19
+ /**
20
+ *
21
+ * @type {Array<PaymentTotalsResource>}
22
+ * @memberof PaymentTotalsResourceArrayResponse
23
+ */
24
+ data?: Array<PaymentTotalsResource>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the PaymentTotalsResourceArrayResponse interface.
28
+ */
29
+ export declare function instanceOfPaymentTotalsResourceArrayResponse(value: object): value is PaymentTotalsResourceArrayResponse;
30
+ export declare function PaymentTotalsResourceArrayResponseFromJSON(json: any): PaymentTotalsResourceArrayResponse;
31
+ export declare function PaymentTotalsResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentTotalsResourceArrayResponse;
32
+ export declare function PaymentTotalsResourceArrayResponseToJSON(json: any): PaymentTotalsResourceArrayResponse;
33
+ export declare function PaymentTotalsResourceArrayResponseToJSONTyped(value?: PaymentTotalsResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * My API
6
+ * API documentation for my Laravel app
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfPaymentTotalsResourceArrayResponse = instanceOfPaymentTotalsResourceArrayResponse;
17
+ exports.PaymentTotalsResourceArrayResponseFromJSON = PaymentTotalsResourceArrayResponseFromJSON;
18
+ exports.PaymentTotalsResourceArrayResponseFromJSONTyped = PaymentTotalsResourceArrayResponseFromJSONTyped;
19
+ exports.PaymentTotalsResourceArrayResponseToJSON = PaymentTotalsResourceArrayResponseToJSON;
20
+ exports.PaymentTotalsResourceArrayResponseToJSONTyped = PaymentTotalsResourceArrayResponseToJSONTyped;
21
+ var PaymentTotalsResource_1 = require("./PaymentTotalsResource");
22
+ /**
23
+ * Check if a given object implements the PaymentTotalsResourceArrayResponse interface.
24
+ */
25
+ function instanceOfPaymentTotalsResourceArrayResponse(value) {
26
+ return true;
27
+ }
28
+ function PaymentTotalsResourceArrayResponseFromJSON(json) {
29
+ return PaymentTotalsResourceArrayResponseFromJSONTyped(json, false);
30
+ }
31
+ function PaymentTotalsResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(PaymentTotalsResource_1.PaymentTotalsResourceFromJSON)),
37
+ };
38
+ }
39
+ function PaymentTotalsResourceArrayResponseToJSON(json) {
40
+ return PaymentTotalsResourceArrayResponseToJSONTyped(json, false);
41
+ }
42
+ function PaymentTotalsResourceArrayResponseToJSONTyped(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(PaymentTotalsResource_1.PaymentTotalsResourceToJSON)),
49
+ };
50
+ }
@@ -117,12 +117,6 @@ export interface SearchCartsRequest {
117
117
  * @memberof SearchCartsRequest
118
118
  */
119
119
  includesRelations?: boolean;
120
- /**
121
- *
122
- * @type {number}
123
- * @memberof SearchCartsRequest
124
- */
125
- couponId?: number | null;
126
120
  }
127
121
  /**
128
122
  * @export
@@ -66,7 +66,6 @@ function SearchCartsRequestFromJSONTyped(json, ignoreDiscriminator) {
66
66
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
67
67
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
68
68
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
69
- 'couponId': json['coupon_id'] == null ? undefined : json['coupon_id'],
70
69
  };
71
70
  }
72
71
  function SearchCartsRequestToJSON(json) {
@@ -95,6 +94,5 @@ function SearchCartsRequestToJSONTyped(value, ignoreDiscriminator) {
95
94
  'related_id': value['relatedId'],
96
95
  'related_type': value['relatedType'],
97
96
  'includes_relations': value['includesRelations'],
98
- 'coupon_id': value['couponId'],
99
97
  };
100
98
  }
@@ -51,30 +51,6 @@ export interface SearchCustomersRequest {
51
51
  * @memberof SearchCustomersRequest
52
52
  */
53
53
  siteId?: Array<string>;
54
- /**
55
- *
56
- * @type {Array<string>}
57
- * @memberof SearchCustomersRequest
58
- */
59
- type?: Array<string>;
60
- /**
61
- *
62
- * @type {Array<string>}
63
- * @memberof SearchCustomersRequest
64
- */
65
- signUpType?: Array<string>;
66
- /**
67
- *
68
- * @type {Date}
69
- * @memberof SearchCustomersRequest
70
- */
71
- beforeCreatedAt?: Date;
72
- /**
73
- *
74
- * @type {Date}
75
- * @memberof SearchCustomersRequest
76
- */
77
- afterCreatedAt?: Date;
78
54
  /**
79
55
  *
80
56
  * @type {number}
@@ -99,14 +75,10 @@ export interface SearchCustomersRequest {
99
75
  */
100
76
  export declare const SearchCustomersRequestSortByEnum: {
101
77
  readonly Id: "id";
102
- readonly NetsuiteSyncNetsuiteId: "netsuiteSync-netsuite_id";
103
78
  readonly CreatedAt: "created_at";
104
- readonly UpdatedAt: "updated_at";
105
- readonly UserFirstName: "user-first_name";
106
- readonly UserLastName: "user-last_name";
107
- readonly UserEmail: "user-email";
108
- readonly Type: "type";
109
- readonly SignUpType: "sign_up_type";
79
+ readonly FirstName: "first_name";
80
+ readonly LastName: "last_name";
81
+ readonly Email: "email";
110
82
  };
111
83
  export type SearchCustomersRequestSortByEnum = typeof SearchCustomersRequestSortByEnum[keyof typeof SearchCustomersRequestSortByEnum];
112
84
  /**
@@ -24,14 +24,10 @@ exports.SearchCustomersRequestToJSONTyped = SearchCustomersRequestToJSONTyped;
24
24
  */
25
25
  exports.SearchCustomersRequestSortByEnum = {
26
26
  Id: 'id',
27
- NetsuiteSyncNetsuiteId: 'netsuiteSync-netsuite_id',
28
27
  CreatedAt: 'created_at',
29
- UpdatedAt: 'updated_at',
30
- UserFirstName: 'user-first_name',
31
- UserLastName: 'user-last_name',
32
- UserEmail: 'user-email',
33
- Type: 'type',
34
- SignUpType: 'sign_up_type'
28
+ FirstName: 'first_name',
29
+ LastName: 'last_name',
30
+ Email: 'email'
35
31
  };
36
32
  /**
37
33
  * @export
@@ -60,10 +56,6 @@ function SearchCustomersRequestFromJSONTyped(json, ignoreDiscriminator) {
60
56
  'perPage': json['per_page'] == null ? undefined : json['per_page'],
61
57
  'page': json['page'] == null ? undefined : json['page'],
62
58
  'siteId': json['site_id'] == null ? undefined : json['site_id'],
63
- 'type': json['type'] == null ? undefined : json['type'],
64
- 'signUpType': json['sign_up_type'] == null ? undefined : json['sign_up_type'],
65
- 'beforeCreatedAt': json['before_created_at'] == null ? undefined : (new Date(json['before_created_at'])),
66
- 'afterCreatedAt': json['after_created_at'] == null ? undefined : (new Date(json['after_created_at'])),
67
59
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
68
60
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
69
61
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
@@ -84,10 +76,6 @@ function SearchCustomersRequestToJSONTyped(value, ignoreDiscriminator) {
84
76
  'per_page': value['perPage'],
85
77
  'page': value['page'],
86
78
  'site_id': value['siteId'],
87
- 'type': value['type'],
88
- 'sign_up_type': value['signUpType'],
89
- 'before_created_at': value['beforeCreatedAt'] == null ? undefined : ((value['beforeCreatedAt']).toISOString()),
90
- 'after_created_at': value['afterCreatedAt'] == null ? undefined : ((value['afterCreatedAt']).toISOString()),
91
79
  'related_id': value['relatedId'],
92
80
  'related_type': value['relatedType'],
93
81
  'includes_relations': value['includesRelations'],
@@ -129,12 +129,6 @@ export interface SearchOrdersRequest {
129
129
  * @memberof SearchOrdersRequest
130
130
  */
131
131
  includesRelations?: boolean;
132
- /**
133
- *
134
- * @type {number}
135
- * @memberof SearchOrdersRequest
136
- */
137
- couponId?: number | null;
138
132
  }
139
133
  /**
140
134
  * @export
@@ -69,7 +69,6 @@ function SearchOrdersRequestFromJSONTyped(json, ignoreDiscriminator) {
69
69
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
70
70
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
71
71
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
72
- 'couponId': json['coupon_id'] == null ? undefined : json['coupon_id'],
73
72
  };
74
73
  }
75
74
  function SearchOrdersRequestToJSON(json) {
@@ -100,6 +99,5 @@ function SearchOrdersRequestToJSONTyped(value, ignoreDiscriminator) {
100
99
  'related_id': value['relatedId'],
101
100
  'related_type': value['relatedType'],
102
101
  'includes_relations': value['includesRelations'],
103
- 'coupon_id': value['couponId'],
104
102
  };
105
103
  }
@@ -44,7 +44,7 @@ export interface StoreFrontendResource {
44
44
  * @type {string}
45
45
  * @memberof StoreFrontendResource
46
46
  */
47
- website?: string | null;
47
+ website: string;
48
48
  /**
49
49
  *
50
50
  * @type {string}
@@ -28,6 +28,8 @@ function instanceOfStoreFrontendResource(value) {
28
28
  return false;
29
29
  if (!('email' in value) || value['email'] === undefined)
30
30
  return false;
31
+ if (!('website' in value) || value['website'] === undefined)
32
+ return false;
31
33
  if (!('phone' in value) || value['phone'] === undefined)
32
34
  return false;
33
35
  if (!('latitude' in value) || value['latitude'] === undefined)
@@ -54,7 +56,7 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
54
56
  'siteId': json['siteId'],
55
57
  'name': json['name'],
56
58
  'email': json['email'],
57
- 'website': json['website'] == null ? undefined : json['website'],
59
+ 'website': json['website'],
58
60
  'phone': json['phone'],
59
61
  'address': json['address'] == null ? undefined : json['address'],
60
62
  'latitude': json['latitude'],
@@ -57,7 +57,7 @@ export interface StoreListResource {
57
57
  * @type {string}
58
58
  * @memberof StoreListResource
59
59
  */
60
- tagLine?: string | null;
60
+ tagLine: string;
61
61
  /**
62
62
  *
63
63
  * @type {string}
@@ -69,7 +69,7 @@ export interface StoreListResource {
69
69
  * @type {string}
70
70
  * @memberof StoreListResource
71
71
  */
72
- website: string;
72
+ website?: string | null;
73
73
  /**
74
74
  *
75
75
  * @type {number}
@@ -33,9 +33,9 @@ function instanceOfStoreListResource(value) {
33
33
  return false;
34
34
  if (!('latitude' in value) || value['latitude'] === undefined)
35
35
  return false;
36
- if (!('email' in value) || value['email'] === undefined)
36
+ if (!('tagLine' in value) || value['tagLine'] === undefined)
37
37
  return false;
38
- if (!('website' in value) || value['website'] === undefined)
38
+ if (!('email' in value) || value['email'] === undefined)
39
39
  return false;
40
40
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
41
41
  return false;
@@ -57,9 +57,9 @@ function StoreListResourceFromJSONTyped(json, ignoreDiscriminator) {
57
57
  'phone': json['phone'],
58
58
  'longitude': json['longitude'],
59
59
  'latitude': json['latitude'],
60
- 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
60
+ 'tagLine': json['tagLine'],
61
61
  'email': json['email'],
62
- 'website': json['website'],
62
+ 'website': json['website'] == null ? undefined : json['website'],
63
63
  'netsuiteId': json['netsuiteId'],
64
64
  'displayNetsuiteId': json['displayNetsuiteId'],
65
65
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
@@ -0,0 +1,32 @@
1
+ /**
2
+ * My API
3
+ * API documentation for my Laravel app
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SuburbValidationResource
16
+ */
17
+ export interface SuburbValidationResource {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof SuburbValidationResource
22
+ */
23
+ found: boolean;
24
+ }
25
+ /**
26
+ * Check if a given object implements the SuburbValidationResource interface.
27
+ */
28
+ export declare function instanceOfSuburbValidationResource(value: object): value is SuburbValidationResource;
29
+ export declare function SuburbValidationResourceFromJSON(json: any): SuburbValidationResource;
30
+ export declare function SuburbValidationResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuburbValidationResource;
31
+ export declare function SuburbValidationResourceToJSON(json: any): SuburbValidationResource;
32
+ export declare function SuburbValidationResourceToJSONTyped(value?: SuburbValidationResource | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * My API
6
+ * API documentation for my Laravel app
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfSuburbValidationResource = instanceOfSuburbValidationResource;
17
+ exports.SuburbValidationResourceFromJSON = SuburbValidationResourceFromJSON;
18
+ exports.SuburbValidationResourceFromJSONTyped = SuburbValidationResourceFromJSONTyped;
19
+ exports.SuburbValidationResourceToJSON = SuburbValidationResourceToJSON;
20
+ exports.SuburbValidationResourceToJSONTyped = SuburbValidationResourceToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SuburbValidationResource interface.
23
+ */
24
+ function instanceOfSuburbValidationResource(value) {
25
+ if (!('found' in value) || value['found'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function SuburbValidationResourceFromJSON(json) {
30
+ return SuburbValidationResourceFromJSONTyped(json, false);
31
+ }
32
+ function SuburbValidationResourceFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'found': json['found'],
38
+ };
39
+ }
40
+ function SuburbValidationResourceToJSON(json) {
41
+ return SuburbValidationResourceToJSONTyped(json, false);
42
+ }
43
+ function SuburbValidationResourceToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'found': value['found'],
50
+ };
51
+ }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * My API
3
+ * API documentation for my Laravel app
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { SuburbValidationResource } from './SuburbValidationResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SuburbValidationResourceArrayResponse
17
+ */
18
+ export interface SuburbValidationResourceArrayResponse {
19
+ /**
20
+ *
21
+ * @type {Array<SuburbValidationResource>}
22
+ * @memberof SuburbValidationResourceArrayResponse
23
+ */
24
+ data?: Array<SuburbValidationResource>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the SuburbValidationResourceArrayResponse interface.
28
+ */
29
+ export declare function instanceOfSuburbValidationResourceArrayResponse(value: object): value is SuburbValidationResourceArrayResponse;
30
+ export declare function SuburbValidationResourceArrayResponseFromJSON(json: any): SuburbValidationResourceArrayResponse;
31
+ export declare function SuburbValidationResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuburbValidationResourceArrayResponse;
32
+ export declare function SuburbValidationResourceArrayResponseToJSON(json: any): SuburbValidationResourceArrayResponse;
33
+ export declare function SuburbValidationResourceArrayResponseToJSONTyped(value?: SuburbValidationResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * My API
6
+ * API documentation for my Laravel app
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfSuburbValidationResourceArrayResponse = instanceOfSuburbValidationResourceArrayResponse;
17
+ exports.SuburbValidationResourceArrayResponseFromJSON = SuburbValidationResourceArrayResponseFromJSON;
18
+ exports.SuburbValidationResourceArrayResponseFromJSONTyped = SuburbValidationResourceArrayResponseFromJSONTyped;
19
+ exports.SuburbValidationResourceArrayResponseToJSON = SuburbValidationResourceArrayResponseToJSON;
20
+ exports.SuburbValidationResourceArrayResponseToJSONTyped = SuburbValidationResourceArrayResponseToJSONTyped;
21
+ var SuburbValidationResource_1 = require("./SuburbValidationResource");
22
+ /**
23
+ * Check if a given object implements the SuburbValidationResourceArrayResponse interface.
24
+ */
25
+ function instanceOfSuburbValidationResourceArrayResponse(value) {
26
+ return true;
27
+ }
28
+ function SuburbValidationResourceArrayResponseFromJSON(json) {
29
+ return SuburbValidationResourceArrayResponseFromJSONTyped(json, false);
30
+ }
31
+ function SuburbValidationResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(SuburbValidationResource_1.SuburbValidationResourceFromJSON)),
37
+ };
38
+ }
39
+ function SuburbValidationResourceArrayResponseToJSON(json) {
40
+ return SuburbValidationResourceArrayResponseToJSONTyped(json, false);
41
+ }
42
+ function SuburbValidationResourceArrayResponseToJSONTyped(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(SuburbValidationResource_1.SuburbValidationResourceToJSON)),
49
+ };
50
+ }
@@ -0,0 +1,50 @@
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 ValidateSuburbRequest
16
+ */
17
+ export interface ValidateSuburbRequest {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof ValidateSuburbRequest
22
+ */
23
+ siteId: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ValidateSuburbRequest
28
+ */
29
+ suburb: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ValidateSuburbRequest
34
+ */
35
+ state: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ValidateSuburbRequest
40
+ */
41
+ postcode: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the ValidateSuburbRequest interface.
45
+ */
46
+ export declare function instanceOfValidateSuburbRequest(value: object): value is ValidateSuburbRequest;
47
+ export declare function ValidateSuburbRequestFromJSON(json: any): ValidateSuburbRequest;
48
+ export declare function ValidateSuburbRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidateSuburbRequest;
49
+ export declare function ValidateSuburbRequestToJSON(json: any): ValidateSuburbRequest;
50
+ export declare function ValidateSuburbRequestToJSONTyped(value?: ValidateSuburbRequest | null, ignoreDiscriminator?: boolean): any;