@digital8/lighting-illusions-ts-sdk 0.0.2136 → 0.0.2138

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 (457) hide show
  1. package/.openapi-generator/FILES +0 -186
  2. package/README.md +2 -125
  3. package/dist/apis/AdminApi.d.ts +0 -17
  4. package/dist/apis/AdminApi.js +0 -60
  5. package/dist/apis/LabelApi.d.ts +3 -2
  6. package/dist/apis/LabelApi.js +2 -1
  7. package/dist/apis/ProductApi.d.ts +0 -16
  8. package/dist/apis/ProductApi.js +0 -59
  9. package/dist/apis/SiteApi.d.ts +0 -16
  10. package/dist/apis/SiteApi.js +0 -60
  11. package/dist/apis/index.d.ts +0 -4
  12. package/dist/apis/index.js +0 -4
  13. package/dist/models/AddressResource.d.ts +1 -19
  14. package/dist/models/AddressResource.js +8 -14
  15. package/dist/models/CreateStoreRequestAddress.d.ts +0 -6
  16. package/dist/models/CreateStoreRequestAddress.js +0 -2
  17. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  18. package/dist/models/ExternalApiLogResource.js +1 -3
  19. package/dist/models/LabelListResource.d.ts +4 -4
  20. package/dist/models/LabelListResource.js +4 -4
  21. package/dist/models/LabelResource.d.ts +4 -4
  22. package/dist/models/LabelResource.js +4 -4
  23. package/dist/models/ProductChildFrontendResource.d.ts +3 -2
  24. package/dist/models/ProductChildFrontendResource.js +3 -2
  25. package/dist/models/ProductChildSiteDetailLiteResource.d.ts +0 -7
  26. package/dist/models/ProductChildSiteDetailLiteResource.js +0 -5
  27. package/dist/models/SearchAllFrontendComponentsRequest.d.ts +15 -0
  28. package/dist/models/SearchAllFrontendComponentsRequest.js +11 -1
  29. package/dist/models/SearchAllProductChildrenRequest.d.ts +6 -0
  30. package/dist/models/SearchAllProductChildrenRequest.js +2 -0
  31. package/dist/models/SearchProductChildrenRequest.d.ts +14 -0
  32. package/dist/models/SearchProductChildrenRequest.js +10 -1
  33. package/dist/models/SitePaymentConfigResource.d.ts +0 -6
  34. package/dist/models/SitePaymentConfigResource.js +0 -4
  35. package/dist/models/StoreFrontendResource.d.ts +2 -2
  36. package/dist/models/StoreFrontendResource.js +6 -2
  37. package/dist/models/StoreListResource.d.ts +1 -1
  38. package/dist/models/StoreListResource.js +1 -3
  39. package/dist/models/StoreResource.d.ts +2 -2
  40. package/dist/models/StoreResource.js +6 -2
  41. package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
  42. package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
  43. package/dist/models/UpdateSiteRequest.d.ts +0 -6
  44. package/dist/models/UpdateSiteRequest.js +0 -4
  45. package/dist/models/index.d.ts +0 -89
  46. package/dist/models/index.js +0 -89
  47. package/docs/AddressResource.md +0 -6
  48. package/docs/AdminApi.md +0 -66
  49. package/docs/CreateStoreRequestAddress.md +0 -2
  50. package/docs/LabelApi.md +3 -3
  51. package/docs/LabelListResource.md +2 -2
  52. package/docs/LabelResource.md +2 -2
  53. package/docs/ProductApi.md +0 -66
  54. package/docs/ProductChildFrontendResource.md +1 -1
  55. package/docs/ProductChildSiteDetailLiteResource.md +0 -2
  56. package/docs/SearchAllFrontendComponentsRequest.md +2 -0
  57. package/docs/SearchAllProductChildrenRequest.md +2 -0
  58. package/docs/SearchProductChildrenRequest.md +2 -0
  59. package/docs/SiteApi.md +0 -66
  60. package/docs/SitePaymentConfigResource.md +0 -2
  61. package/docs/StoreSpecialDateFrontendResource.md +1 -1
  62. package/docs/UpdateSiteRequest.md +0 -2
  63. package/package.json +1 -1
  64. package/src/apis/AdminApi.ts +0 -54
  65. package/src/apis/LabelApi.ts +8 -3
  66. package/src/apis/ProductApi.ts +0 -49
  67. package/src/apis/SiteApi.ts +0 -54
  68. package/src/apis/index.ts +0 -4
  69. package/src/models/AddressResource.ts +9 -33
  70. package/src/models/CreateStoreRequestAddress.ts +0 -8
  71. package/src/models/ExternalApiLogResource.ts +2 -3
  72. package/src/models/LabelListResource.ts +8 -8
  73. package/src/models/LabelResource.ts +8 -8
  74. package/src/models/ProductChildFrontendResource.ts +11 -4
  75. package/src/models/ProductChildSiteDetailLiteResource.ts +0 -16
  76. package/src/models/SearchAllFrontendComponentsRequest.ts +18 -0
  77. package/src/models/SearchAllProductChildrenRequest.ts +8 -0
  78. package/src/models/SearchProductChildrenRequest.ts +17 -0
  79. package/src/models/SitePaymentConfigResource.ts +0 -9
  80. package/src/models/StoreFrontendResource.ts +6 -4
  81. package/src/models/StoreListResource.ts +2 -3
  82. package/src/models/StoreResource.ts +6 -4
  83. package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
  84. package/src/models/UpdateSiteRequest.ts +0 -9
  85. package/src/models/index.ts +0 -89
  86. package/dist/apis/CartsApi.d.ts +0 -215
  87. package/dist/apis/CartsApi.js +0 -814
  88. package/dist/apis/CustomersApi.d.ts +0 -66
  89. package/dist/apis/CustomersApi.js +0 -258
  90. package/dist/apis/OrdersApi.d.ts +0 -230
  91. package/dist/apis/OrdersApi.js +0 -871
  92. package/dist/apis/TransactionsApi.d.ts +0 -69
  93. package/dist/apis/TransactionsApi.js +0 -262
  94. package/dist/models/AddressType.d.ts +0 -25
  95. package/dist/models/AddressType.js +0 -51
  96. package/dist/models/AdminNoteResource.d.ts +0 -57
  97. package/dist/models/AdminNoteResource.js +0 -64
  98. package/dist/models/AdminNoteResourceArrayResponse.d.ts +0 -33
  99. package/dist/models/AdminNoteResourceArrayResponse.js +0 -50
  100. package/dist/models/AdminOrderLineItemResource.d.ts +0 -124
  101. package/dist/models/AdminOrderLineItemResource.js +0 -113
  102. package/dist/models/AdminOrderLineItemResourceArrayResponse.d.ts +0 -33
  103. package/dist/models/AdminOrderLineItemResourceArrayResponse.js +0 -50
  104. package/dist/models/AdminOrderResource.d.ts +0 -301
  105. package/dist/models/AdminOrderResource.js +0 -224
  106. package/dist/models/AdminOrderResourceArrayResponse.d.ts +0 -33
  107. package/dist/models/AdminOrderResourceArrayResponse.js +0 -50
  108. package/dist/models/AttachCouponRequest.d.ts +0 -32
  109. package/dist/models/AttachCouponRequest.js +0 -51
  110. package/dist/models/AttachLineItemRequest.d.ts +0 -44
  111. package/dist/models/AttachLineItemRequest.js +0 -57
  112. package/dist/models/CartCouponResource.d.ts +0 -50
  113. package/dist/models/CartCouponResource.js +0 -63
  114. package/dist/models/CartCouponResourceArrayResponse.d.ts +0 -33
  115. package/dist/models/CartCouponResourceArrayResponse.js +0 -50
  116. package/dist/models/CartListResource.d.ts +0 -89
  117. package/dist/models/CartListResource.js +0 -82
  118. package/dist/models/CartListResourceArrayResponse.d.ts +0 -33
  119. package/dist/models/CartListResourceArrayResponse.js +0 -50
  120. package/dist/models/CartOrderSource.d.ts +0 -25
  121. package/dist/models/CartOrderSource.js +0 -51
  122. package/dist/models/CartResource.d.ts +0 -235
  123. package/dist/models/CartResource.js +0 -170
  124. package/dist/models/CartResourceArrayResponse.d.ts +0 -33
  125. package/dist/models/CartResourceArrayResponse.js +0 -50
  126. package/dist/models/CartStatus.d.ts +0 -26
  127. package/dist/models/CartStatus.js +0 -52
  128. package/dist/models/CreateCartRequest.d.ts +0 -167
  129. package/dist/models/CreateCartRequest.js +0 -113
  130. package/dist/models/CreateCartRequestItemsInner.d.ts +0 -44
  131. package/dist/models/CreateCartRequestItemsInner.js +0 -57
  132. package/dist/models/CreateCartRequestShippingAddress.d.ts +0 -74
  133. package/dist/models/CreateCartRequestShippingAddress.js +0 -63
  134. package/dist/models/CreateCustomerRequest.d.ts +0 -56
  135. package/dist/models/CreateCustomerRequest.js +0 -65
  136. package/dist/models/CreateTransactionRequest.d.ts +0 -87
  137. package/dist/models/CreateTransactionRequest.js +0 -80
  138. package/dist/models/CustomerListResource.d.ts +0 -63
  139. package/dist/models/CustomerListResource.js +0 -70
  140. package/dist/models/CustomerListResourceArrayResponse.d.ts +0 -33
  141. package/dist/models/CustomerListResourceArrayResponse.js +0 -50
  142. package/dist/models/CustomerResource.d.ts +0 -70
  143. package/dist/models/CustomerResource.js +0 -75
  144. package/dist/models/CustomerResourceArrayResponse.d.ts +0 -33
  145. package/dist/models/CustomerResourceArrayResponse.js +0 -50
  146. package/dist/models/DetachCouponRequest.d.ts +0 -32
  147. package/dist/models/DetachCouponRequest.js +0 -51
  148. package/dist/models/DiscountResource.d.ts +0 -68
  149. package/dist/models/DiscountResource.js +0 -73
  150. package/dist/models/DiscountResourceArrayResponse.d.ts +0 -33
  151. package/dist/models/DiscountResourceArrayResponse.js +0 -50
  152. package/dist/models/DiscountType.d.ts +0 -26
  153. package/dist/models/DiscountType.js +0 -52
  154. package/dist/models/DiscountValueType.d.ts +0 -25
  155. package/dist/models/DiscountValueType.js +0 -51
  156. package/dist/models/LiAddressResource.d.ts +0 -86
  157. package/dist/models/LiAddressResource.js +0 -83
  158. package/dist/models/LiAddressResourceArrayResponse.d.ts +0 -33
  159. package/dist/models/LiAddressResourceArrayResponse.js +0 -50
  160. package/dist/models/LiAdminUserLiteResource.d.ts +0 -50
  161. package/dist/models/LiAdminUserLiteResource.js +0 -61
  162. package/dist/models/LiAdminUserLiteResourceArrayResponse.d.ts +0 -33
  163. package/dist/models/LiAdminUserLiteResourceArrayResponse.js +0 -50
  164. package/dist/models/LineItemDiscountResource.d.ts +0 -50
  165. package/dist/models/LineItemDiscountResource.js +0 -63
  166. package/dist/models/LineItemDiscountResourceArrayResponse.d.ts +0 -33
  167. package/dist/models/LineItemDiscountResourceArrayResponse.js +0 -50
  168. package/dist/models/LineItemListResource.d.ts +0 -89
  169. package/dist/models/LineItemListResource.js +0 -90
  170. package/dist/models/LineItemListResourceArrayResponse.d.ts +0 -33
  171. package/dist/models/LineItemListResourceArrayResponse.js +0 -50
  172. package/dist/models/OmnisendSyncLiteResource.d.ts +0 -44
  173. package/dist/models/OmnisendSyncLiteResource.js +0 -59
  174. package/dist/models/OmnisendSyncLiteResourceArrayResponse.d.ts +0 -33
  175. package/dist/models/OmnisendSyncLiteResourceArrayResponse.js +0 -50
  176. package/dist/models/OrderFulfillmentLineItemResource.d.ts +0 -45
  177. package/dist/models/OrderFulfillmentLineItemResource.js +0 -60
  178. package/dist/models/OrderFulfillmentLineItemResourceArrayResponse.d.ts +0 -33
  179. package/dist/models/OrderFulfillmentLineItemResourceArrayResponse.js +0 -50
  180. package/dist/models/OrderFulfillmentResource.d.ts +0 -93
  181. package/dist/models/OrderFulfillmentResource.js +0 -88
  182. package/dist/models/OrderFulfillmentResourceArrayResponse.d.ts +0 -33
  183. package/dist/models/OrderFulfillmentResourceArrayResponse.js +0 -50
  184. package/dist/models/OrderListResource.d.ts +0 -109
  185. package/dist/models/OrderListResource.js +0 -98
  186. package/dist/models/OrderListResourceArrayResponse.d.ts +0 -33
  187. package/dist/models/OrderListResourceArrayResponse.js +0 -50
  188. package/dist/models/OrderLiteResource.d.ts +0 -62
  189. package/dist/models/OrderLiteResource.js +0 -67
  190. package/dist/models/OrderLiteResourceArrayResponse.d.ts +0 -33
  191. package/dist/models/OrderLiteResourceArrayResponse.js +0 -50
  192. package/dist/models/OrderOmnisendEvent.d.ts +0 -25
  193. package/dist/models/OrderOmnisendEvent.js +0 -51
  194. package/dist/models/OrderStatusId.d.ts +0 -37
  195. package/dist/models/OrderStatusId.js +0 -63
  196. package/dist/models/OrderStatusLiteResource.d.ts +0 -44
  197. package/dist/models/OrderStatusLiteResource.js +0 -59
  198. package/dist/models/OrderStatusLiteResourceArrayResponse.d.ts +0 -33
  199. package/dist/models/OrderStatusLiteResourceArrayResponse.js +0 -50
  200. package/dist/models/OrderStatusWithCountResource.d.ts +0 -50
  201. package/dist/models/OrderStatusWithCountResource.js +0 -63
  202. package/dist/models/OrderStatusWithCountResourceArrayResponse.d.ts +0 -33
  203. package/dist/models/OrderStatusWithCountResourceArrayResponse.js +0 -50
  204. package/dist/models/PaginatedAdminNoteResourceResponse.d.ts +0 -40
  205. package/dist/models/PaginatedAdminNoteResourceResponse.js +0 -57
  206. package/dist/models/PaginatedCartListResourceResponse.d.ts +0 -40
  207. package/dist/models/PaginatedCartListResourceResponse.js +0 -57
  208. package/dist/models/PaginatedCustomerListResourceResponse.d.ts +0 -40
  209. package/dist/models/PaginatedCustomerListResourceResponse.js +0 -57
  210. package/dist/models/PaginatedOrderFulfillmentResourceResponse.d.ts +0 -40
  211. package/dist/models/PaginatedOrderFulfillmentResourceResponse.js +0 -57
  212. package/dist/models/PaginatedOrderListResourceResponse.d.ts +0 -40
  213. package/dist/models/PaginatedOrderListResourceResponse.js +0 -57
  214. package/dist/models/PaginatedTransactionListResourceResponse.d.ts +0 -40
  215. package/dist/models/PaginatedTransactionListResourceResponse.js +0 -57
  216. package/dist/models/PaginatedTransactionResourceResponse.d.ts +0 -40
  217. package/dist/models/PaginatedTransactionResourceResponse.js +0 -57
  218. package/dist/models/PaymentMethod.d.ts +0 -30
  219. package/dist/models/PaymentMethod.js +0 -56
  220. package/dist/models/PaymentSource.d.ts +0 -26
  221. package/dist/models/PaymentSource.js +0 -52
  222. package/dist/models/PaymentStatus.d.ts +0 -25
  223. package/dist/models/PaymentStatus.js +0 -51
  224. package/dist/models/ProductChildLineItemLiteResource.d.ts +0 -88
  225. package/dist/models/ProductChildLineItemLiteResource.js +0 -89
  226. package/dist/models/ProductChildLineItemLiteResourceArrayResponse.d.ts +0 -33
  227. package/dist/models/ProductChildLineItemLiteResourceArrayResponse.js +0 -50
  228. package/dist/models/RefundTransactionRequest.d.ts +0 -38
  229. package/dist/models/RefundTransactionRequest.js +0 -53
  230. package/dist/models/SearchAdminNotesRequest.d.ts +0 -102
  231. package/dist/models/SearchAdminNotesRequest.js +0 -82
  232. package/dist/models/SearchAllOrdersRequest.d.ts +0 -105
  233. package/dist/models/SearchAllOrdersRequest.js +0 -85
  234. package/dist/models/SearchCartsRequest.d.ts +0 -146
  235. package/dist/models/SearchCartsRequest.js +0 -98
  236. package/dist/models/SearchCustomersRequest.d.ts +0 -99
  237. package/dist/models/SearchCustomersRequest.js +0 -83
  238. package/dist/models/SearchOrderFulfillmentsRequest.d.ts +0 -120
  239. package/dist/models/SearchOrderFulfillmentsRequest.js +0 -88
  240. package/dist/models/SearchOrdersRequest.d.ts +0 -153
  241. package/dist/models/SearchOrdersRequest.js +0 -101
  242. package/dist/models/SearchTransactionsRequest.d.ts +0 -135
  243. package/dist/models/SearchTransactionsRequest.js +0 -98
  244. package/dist/models/ShippingType.d.ts +0 -28
  245. package/dist/models/ShippingType.js +0 -54
  246. package/dist/models/SkuSearchProductChildRequest.d.ts +0 -38
  247. package/dist/models/SkuSearchProductChildRequest.js +0 -55
  248. package/dist/models/StoreTransactionResource.d.ts +0 -39
  249. package/dist/models/StoreTransactionResource.js +0 -56
  250. package/dist/models/StoreTransactionResourceArrayResponse.d.ts +0 -33
  251. package/dist/models/StoreTransactionResourceArrayResponse.js +0 -50
  252. package/dist/models/TransactionListResource.d.ts +0 -116
  253. package/dist/models/TransactionListResource.js +0 -97
  254. package/dist/models/TransactionListResourceArrayResponse.d.ts +0 -33
  255. package/dist/models/TransactionListResourceArrayResponse.js +0 -50
  256. package/dist/models/TransactionLiteResource.d.ts +0 -98
  257. package/dist/models/TransactionLiteResource.js +0 -89
  258. package/dist/models/TransactionLiteResourceArrayResponse.d.ts +0 -33
  259. package/dist/models/TransactionLiteResourceArrayResponse.js +0 -50
  260. package/dist/models/TransactionResource.d.ts +0 -128
  261. package/dist/models/TransactionResource.js +0 -101
  262. package/dist/models/TransactionResourceArrayResponse.d.ts +0 -33
  263. package/dist/models/TransactionResourceArrayResponse.js +0 -50
  264. package/dist/models/TransactionType.d.ts +0 -25
  265. package/dist/models/TransactionType.js +0 -51
  266. package/dist/models/UpdateCartRequest.d.ts +0 -148
  267. package/dist/models/UpdateCartRequest.js +0 -100
  268. package/dist/models/UpdateLineItemRequest.d.ts +0 -38
  269. package/dist/models/UpdateLineItemRequest.js +0 -53
  270. package/dist/models/UpdateOrderRequest.d.ts +0 -130
  271. package/dist/models/UpdateOrderRequest.js +0 -104
  272. package/docs/AddressType.md +0 -32
  273. package/docs/AdminNoteResource.md +0 -42
  274. package/docs/AdminNoteResourceArrayResponse.md +0 -34
  275. package/docs/AdminOrderLineItemResource.md +0 -64
  276. package/docs/AdminOrderLineItemResourceArrayResponse.md +0 -34
  277. package/docs/AdminOrderResource.md +0 -120
  278. package/docs/AdminOrderResourceArrayResponse.md +0 -34
  279. package/docs/AttachCouponRequest.md +0 -34
  280. package/docs/AttachLineItemRequest.md +0 -38
  281. package/docs/CartCouponResource.md +0 -40
  282. package/docs/CartCouponResourceArrayResponse.md +0 -34
  283. package/docs/CartListResource.md +0 -52
  284. package/docs/CartListResourceArrayResponse.md +0 -34
  285. package/docs/CartOrderSource.md +0 -32
  286. package/docs/CartResource.md +0 -100
  287. package/docs/CartResourceArrayResponse.md +0 -34
  288. package/docs/CartStatus.md +0 -32
  289. package/docs/CartsApi.md +0 -821
  290. package/docs/CreateCartRequest.md +0 -72
  291. package/docs/CreateCartRequestItemsInner.md +0 -38
  292. package/docs/CreateCartRequestShippingAddress.md +0 -48
  293. package/docs/CreateCustomerRequest.md +0 -42
  294. package/docs/CreateTransactionRequest.md +0 -48
  295. package/docs/CustomerListResource.md +0 -44
  296. package/docs/CustomerListResourceArrayResponse.md +0 -34
  297. package/docs/CustomerResource.md +0 -46
  298. package/docs/CustomerResourceArrayResponse.md +0 -34
  299. package/docs/CustomersApi.md +0 -206
  300. package/docs/DetachCouponRequest.md +0 -34
  301. package/docs/DiscountResource.md +0 -46
  302. package/docs/DiscountResourceArrayResponse.md +0 -34
  303. package/docs/DiscountType.md +0 -32
  304. package/docs/DiscountValueType.md +0 -32
  305. package/docs/LiAddressResource.md +0 -52
  306. package/docs/LiAddressResourceArrayResponse.md +0 -34
  307. package/docs/LiAdminUserLiteResource.md +0 -40
  308. package/docs/LiAdminUserLiteResourceArrayResponse.md +0 -34
  309. package/docs/LineItemDiscountResource.md +0 -40
  310. package/docs/LineItemDiscountResourceArrayResponse.md +0 -34
  311. package/docs/LineItemListResource.md +0 -52
  312. package/docs/LineItemListResourceArrayResponse.md +0 -34
  313. package/docs/OmnisendSyncLiteResource.md +0 -38
  314. package/docs/OmnisendSyncLiteResourceArrayResponse.md +0 -34
  315. package/docs/OrderFulfillmentLineItemResource.md +0 -38
  316. package/docs/OrderFulfillmentLineItemResourceArrayResponse.md +0 -34
  317. package/docs/OrderFulfillmentResource.md +0 -54
  318. package/docs/OrderFulfillmentResourceArrayResponse.md +0 -34
  319. package/docs/OrderListResource.md +0 -58
  320. package/docs/OrderListResourceArrayResponse.md +0 -34
  321. package/docs/OrderLiteResource.md +0 -44
  322. package/docs/OrderLiteResourceArrayResponse.md +0 -34
  323. package/docs/OrderOmnisendEvent.md +0 -32
  324. package/docs/OrderStatusId.md +0 -32
  325. package/docs/OrderStatusLiteResource.md +0 -38
  326. package/docs/OrderStatusLiteResourceArrayResponse.md +0 -34
  327. package/docs/OrderStatusWithCountResource.md +0 -40
  328. package/docs/OrderStatusWithCountResourceArrayResponse.md +0 -34
  329. package/docs/OrdersApi.md +0 -879
  330. package/docs/PaginatedAdminNoteResourceResponse.md +0 -36
  331. package/docs/PaginatedCartListResourceResponse.md +0 -36
  332. package/docs/PaginatedCustomerListResourceResponse.md +0 -36
  333. package/docs/PaginatedOrderFulfillmentResourceResponse.md +0 -36
  334. package/docs/PaginatedOrderListResourceResponse.md +0 -36
  335. package/docs/PaginatedTransactionListResourceResponse.md +0 -36
  336. package/docs/PaginatedTransactionResourceResponse.md +0 -36
  337. package/docs/PaymentMethod.md +0 -32
  338. package/docs/PaymentSource.md +0 -32
  339. package/docs/PaymentStatus.md +0 -32
  340. package/docs/ProductChildLineItemLiteResource.md +0 -52
  341. package/docs/ProductChildLineItemLiteResourceArrayResponse.md +0 -34
  342. package/docs/RefundTransactionRequest.md +0 -36
  343. package/docs/SearchAdminNotesRequest.md +0 -52
  344. package/docs/SearchAllOrdersRequest.md +0 -52
  345. package/docs/SearchCartsRequest.md +0 -66
  346. package/docs/SearchCustomersRequest.md +0 -50
  347. package/docs/SearchOrderFulfillmentsRequest.md +0 -58
  348. package/docs/SearchOrdersRequest.md +0 -68
  349. package/docs/SearchTransactionsRequest.md +0 -60
  350. package/docs/ShippingType.md +0 -32
  351. package/docs/SkuSearchProductChildRequest.md +0 -36
  352. package/docs/StoreTransactionResource.md +0 -36
  353. package/docs/StoreTransactionResourceArrayResponse.md +0 -34
  354. package/docs/TransactionListResource.md +0 -62
  355. package/docs/TransactionListResourceArrayResponse.md +0 -34
  356. package/docs/TransactionLiteResource.md +0 -56
  357. package/docs/TransactionLiteResourceArrayResponse.md +0 -34
  358. package/docs/TransactionResource.md +0 -66
  359. package/docs/TransactionResourceArrayResponse.md +0 -34
  360. package/docs/TransactionType.md +0 -32
  361. package/docs/TransactionsApi.md +0 -209
  362. package/docs/UpdateCartRequest.md +0 -66
  363. package/docs/UpdateLineItemRequest.md +0 -36
  364. package/docs/UpdateOrderRequest.md +0 -60
  365. package/src/apis/CartsApi.ts +0 -693
  366. package/src/apis/CustomersApi.ts +0 -179
  367. package/src/apis/OrdersApi.ts +0 -740
  368. package/src/apis/TransactionsApi.ts +0 -193
  369. package/src/models/AddressType.ts +0 -53
  370. package/src/models/AdminNoteResource.ts +0 -108
  371. package/src/models/AdminNoteResourceArrayResponse.ts +0 -73
  372. package/src/models/AdminOrderLineItemResource.ts +0 -216
  373. package/src/models/AdminOrderLineItemResourceArrayResponse.ts +0 -73
  374. package/src/models/AdminOrderResource.ts +0 -526
  375. package/src/models/AdminOrderResourceArrayResponse.ts +0 -73
  376. package/src/models/AttachCouponRequest.ts +0 -66
  377. package/src/models/AttachLineItemRequest.ts +0 -83
  378. package/src/models/CartCouponResource.ts +0 -93
  379. package/src/models/CartCouponResourceArrayResponse.ts +0 -73
  380. package/src/models/CartListResource.ts +0 -165
  381. package/src/models/CartListResourceArrayResponse.ts +0 -73
  382. package/src/models/CartOrderSource.ts +0 -53
  383. package/src/models/CartResource.ts +0 -390
  384. package/src/models/CartResourceArrayResponse.ts +0 -73
  385. package/src/models/CartStatus.ts +0 -54
  386. package/src/models/CreateCartRequest.ts +0 -258
  387. package/src/models/CreateCartRequestItemsInner.ts +0 -83
  388. package/src/models/CreateCartRequestShippingAddress.ts +0 -121
  389. package/src/models/CreateCustomerRequest.ts +0 -101
  390. package/src/models/CreateTransactionRequest.ts +0 -139
  391. package/src/models/CustomerListResource.ts +0 -118
  392. package/src/models/CustomerListResourceArrayResponse.ts +0 -73
  393. package/src/models/CustomerResource.ts +0 -134
  394. package/src/models/CustomerResourceArrayResponse.ts +0 -73
  395. package/src/models/DetachCouponRequest.ts +0 -66
  396. package/src/models/DiscountResource.ts +0 -119
  397. package/src/models/DiscountResourceArrayResponse.ts +0 -73
  398. package/src/models/DiscountType.ts +0 -54
  399. package/src/models/DiscountValueType.ts +0 -53
  400. package/src/models/LiAddressResource.ts +0 -145
  401. package/src/models/LiAddressResourceArrayResponse.ts +0 -73
  402. package/src/models/LiAdminUserLiteResource.ts +0 -92
  403. package/src/models/LiAdminUserLiteResourceArrayResponse.ts +0 -73
  404. package/src/models/LineItemDiscountResource.ts +0 -93
  405. package/src/models/LineItemDiscountResourceArrayResponse.ts +0 -73
  406. package/src/models/LineItemListResource.ts +0 -169
  407. package/src/models/LineItemListResourceArrayResponse.ts +0 -73
  408. package/src/models/OmnisendSyncLiteResource.ts +0 -84
  409. package/src/models/OmnisendSyncLiteResourceArrayResponse.ts +0 -73
  410. package/src/models/OrderFulfillmentLineItemResource.ts +0 -92
  411. package/src/models/OrderFulfillmentLineItemResourceArrayResponse.ts +0 -73
  412. package/src/models/OrderFulfillmentResource.ts +0 -162
  413. package/src/models/OrderFulfillmentResourceArrayResponse.ts +0 -73
  414. package/src/models/OrderListResource.ts +0 -207
  415. package/src/models/OrderListResourceArrayResponse.ts +0 -73
  416. package/src/models/OrderLiteResource.ts +0 -109
  417. package/src/models/OrderLiteResourceArrayResponse.ts +0 -73
  418. package/src/models/OrderOmnisendEvent.ts +0 -53
  419. package/src/models/OrderStatusId.ts +0 -65
  420. package/src/models/OrderStatusLiteResource.ts +0 -84
  421. package/src/models/OrderStatusLiteResourceArrayResponse.ts +0 -73
  422. package/src/models/OrderStatusWithCountResource.ts +0 -93
  423. package/src/models/OrderStatusWithCountResourceArrayResponse.ts +0 -73
  424. package/src/models/PaginatedAdminNoteResourceResponse.ts +0 -90
  425. package/src/models/PaginatedCartListResourceResponse.ts +0 -90
  426. package/src/models/PaginatedCustomerListResourceResponse.ts +0 -90
  427. package/src/models/PaginatedOrderFulfillmentResourceResponse.ts +0 -90
  428. package/src/models/PaginatedOrderListResourceResponse.ts +0 -90
  429. package/src/models/PaginatedTransactionListResourceResponse.ts +0 -90
  430. package/src/models/PaginatedTransactionResourceResponse.ts +0 -90
  431. package/src/models/PaymentMethod.ts +0 -58
  432. package/src/models/PaymentSource.ts +0 -54
  433. package/src/models/PaymentStatus.ts +0 -53
  434. package/src/models/ProductChildLineItemLiteResource.ts +0 -162
  435. package/src/models/ProductChildLineItemLiteResourceArrayResponse.ts +0 -73
  436. package/src/models/RefundTransactionRequest.ts +0 -74
  437. package/src/models/SearchAdminNotesRequest.ts +0 -157
  438. package/src/models/SearchAllOrdersRequest.ts +0 -160
  439. package/src/models/SearchCartsRequest.ts +0 -215
  440. package/src/models/SearchCustomersRequest.ts +0 -152
  441. package/src/models/SearchOrderFulfillmentsRequest.ts +0 -181
  442. package/src/models/SearchOrdersRequest.ts +0 -224
  443. package/src/models/SearchTransactionsRequest.ts +0 -199
  444. package/src/models/ShippingType.ts +0 -56
  445. package/src/models/SkuSearchProductChildRequest.ts +0 -75
  446. package/src/models/StoreTransactionResource.ts +0 -83
  447. package/src/models/StoreTransactionResourceArrayResponse.ts +0 -73
  448. package/src/models/TransactionListResource.ts +0 -187
  449. package/src/models/TransactionListResourceArrayResponse.ts +0 -73
  450. package/src/models/TransactionLiteResource.ts +0 -162
  451. package/src/models/TransactionLiteResourceArrayResponse.ts +0 -73
  452. package/src/models/TransactionResource.ts +0 -203
  453. package/src/models/TransactionResourceArrayResponse.ts +0 -73
  454. package/src/models/TransactionType.ts +0 -53
  455. package/src/models/UpdateCartRequest.ts +0 -224
  456. package/src/models/UpdateLineItemRequest.ts +0 -74
  457. package/src/models/UpdateOrderRequest.ts +0 -205
@@ -1,90 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { PagingMetadata } from './PagingMetadata';
17
- import {
18
- PagingMetadataFromJSON,
19
- PagingMetadataFromJSONTyped,
20
- PagingMetadataToJSON,
21
- PagingMetadataToJSONTyped,
22
- } from './PagingMetadata';
23
- import type { CustomerListResource } from './CustomerListResource';
24
- import {
25
- CustomerListResourceFromJSON,
26
- CustomerListResourceFromJSONTyped,
27
- CustomerListResourceToJSON,
28
- CustomerListResourceToJSONTyped,
29
- } from './CustomerListResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface PaginatedCustomerListResourceResponse
35
- */
36
- export interface PaginatedCustomerListResourceResponse {
37
- /**
38
- *
39
- * @type {Array<CustomerListResource>}
40
- * @memberof PaginatedCustomerListResourceResponse
41
- */
42
- data: Array<CustomerListResource>;
43
- /**
44
- *
45
- * @type {PagingMetadata}
46
- * @memberof PaginatedCustomerListResourceResponse
47
- */
48
- meta: PagingMetadata;
49
- }
50
-
51
- /**
52
- * Check if a given object implements the PaginatedCustomerListResourceResponse interface.
53
- */
54
- export function instanceOfPaginatedCustomerListResourceResponse(value: object): value is PaginatedCustomerListResourceResponse {
55
- if (!('data' in value) || value['data'] === undefined) return false;
56
- if (!('meta' in value) || value['meta'] === undefined) return false;
57
- return true;
58
- }
59
-
60
- export function PaginatedCustomerListResourceResponseFromJSON(json: any): PaginatedCustomerListResourceResponse {
61
- return PaginatedCustomerListResourceResponseFromJSONTyped(json, false);
62
- }
63
-
64
- export function PaginatedCustomerListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedCustomerListResourceResponse {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'data': ((json['data'] as Array<any>).map(CustomerListResourceFromJSON)),
71
- 'meta': PagingMetadataFromJSON(json['meta']),
72
- };
73
- }
74
-
75
- export function PaginatedCustomerListResourceResponseToJSON(json: any): PaginatedCustomerListResourceResponse {
76
- return PaginatedCustomerListResourceResponseToJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedCustomerListResourceResponseToJSONTyped(value?: PaginatedCustomerListResourceResponse | null, ignoreDiscriminator: boolean = false): any {
80
- if (value == null) {
81
- return value;
82
- }
83
-
84
- return {
85
-
86
- 'data': ((value['data'] as Array<any>).map(CustomerListResourceToJSON)),
87
- 'meta': PagingMetadataToJSON(value['meta']),
88
- };
89
- }
90
-
@@ -1,90 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { OrderFulfillmentResource } from './OrderFulfillmentResource';
17
- import {
18
- OrderFulfillmentResourceFromJSON,
19
- OrderFulfillmentResourceFromJSONTyped,
20
- OrderFulfillmentResourceToJSON,
21
- OrderFulfillmentResourceToJSONTyped,
22
- } from './OrderFulfillmentResource';
23
- import type { PagingMetadata } from './PagingMetadata';
24
- import {
25
- PagingMetadataFromJSON,
26
- PagingMetadataFromJSONTyped,
27
- PagingMetadataToJSON,
28
- PagingMetadataToJSONTyped,
29
- } from './PagingMetadata';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface PaginatedOrderFulfillmentResourceResponse
35
- */
36
- export interface PaginatedOrderFulfillmentResourceResponse {
37
- /**
38
- *
39
- * @type {Array<OrderFulfillmentResource>}
40
- * @memberof PaginatedOrderFulfillmentResourceResponse
41
- */
42
- data: Array<OrderFulfillmentResource>;
43
- /**
44
- *
45
- * @type {PagingMetadata}
46
- * @memberof PaginatedOrderFulfillmentResourceResponse
47
- */
48
- meta: PagingMetadata;
49
- }
50
-
51
- /**
52
- * Check if a given object implements the PaginatedOrderFulfillmentResourceResponse interface.
53
- */
54
- export function instanceOfPaginatedOrderFulfillmentResourceResponse(value: object): value is PaginatedOrderFulfillmentResourceResponse {
55
- if (!('data' in value) || value['data'] === undefined) return false;
56
- if (!('meta' in value) || value['meta'] === undefined) return false;
57
- return true;
58
- }
59
-
60
- export function PaginatedOrderFulfillmentResourceResponseFromJSON(json: any): PaginatedOrderFulfillmentResourceResponse {
61
- return PaginatedOrderFulfillmentResourceResponseFromJSONTyped(json, false);
62
- }
63
-
64
- export function PaginatedOrderFulfillmentResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedOrderFulfillmentResourceResponse {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'data': ((json['data'] as Array<any>).map(OrderFulfillmentResourceFromJSON)),
71
- 'meta': PagingMetadataFromJSON(json['meta']),
72
- };
73
- }
74
-
75
- export function PaginatedOrderFulfillmentResourceResponseToJSON(json: any): PaginatedOrderFulfillmentResourceResponse {
76
- return PaginatedOrderFulfillmentResourceResponseToJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedOrderFulfillmentResourceResponseToJSONTyped(value?: PaginatedOrderFulfillmentResourceResponse | null, ignoreDiscriminator: boolean = false): any {
80
- if (value == null) {
81
- return value;
82
- }
83
-
84
- return {
85
-
86
- 'data': ((value['data'] as Array<any>).map(OrderFulfillmentResourceToJSON)),
87
- 'meta': PagingMetadataToJSON(value['meta']),
88
- };
89
- }
90
-
@@ -1,90 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { PagingMetadata } from './PagingMetadata';
17
- import {
18
- PagingMetadataFromJSON,
19
- PagingMetadataFromJSONTyped,
20
- PagingMetadataToJSON,
21
- PagingMetadataToJSONTyped,
22
- } from './PagingMetadata';
23
- import type { OrderListResource } from './OrderListResource';
24
- import {
25
- OrderListResourceFromJSON,
26
- OrderListResourceFromJSONTyped,
27
- OrderListResourceToJSON,
28
- OrderListResourceToJSONTyped,
29
- } from './OrderListResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface PaginatedOrderListResourceResponse
35
- */
36
- export interface PaginatedOrderListResourceResponse {
37
- /**
38
- *
39
- * @type {Array<OrderListResource>}
40
- * @memberof PaginatedOrderListResourceResponse
41
- */
42
- data: Array<OrderListResource>;
43
- /**
44
- *
45
- * @type {PagingMetadata}
46
- * @memberof PaginatedOrderListResourceResponse
47
- */
48
- meta: PagingMetadata;
49
- }
50
-
51
- /**
52
- * Check if a given object implements the PaginatedOrderListResourceResponse interface.
53
- */
54
- export function instanceOfPaginatedOrderListResourceResponse(value: object): value is PaginatedOrderListResourceResponse {
55
- if (!('data' in value) || value['data'] === undefined) return false;
56
- if (!('meta' in value) || value['meta'] === undefined) return false;
57
- return true;
58
- }
59
-
60
- export function PaginatedOrderListResourceResponseFromJSON(json: any): PaginatedOrderListResourceResponse {
61
- return PaginatedOrderListResourceResponseFromJSONTyped(json, false);
62
- }
63
-
64
- export function PaginatedOrderListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedOrderListResourceResponse {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'data': ((json['data'] as Array<any>).map(OrderListResourceFromJSON)),
71
- 'meta': PagingMetadataFromJSON(json['meta']),
72
- };
73
- }
74
-
75
- export function PaginatedOrderListResourceResponseToJSON(json: any): PaginatedOrderListResourceResponse {
76
- return PaginatedOrderListResourceResponseToJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedOrderListResourceResponseToJSONTyped(value?: PaginatedOrderListResourceResponse | null, ignoreDiscriminator: boolean = false): any {
80
- if (value == null) {
81
- return value;
82
- }
83
-
84
- return {
85
-
86
- 'data': ((value['data'] as Array<any>).map(OrderListResourceToJSON)),
87
- 'meta': PagingMetadataToJSON(value['meta']),
88
- };
89
- }
90
-
@@ -1,90 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { PagingMetadata } from './PagingMetadata';
17
- import {
18
- PagingMetadataFromJSON,
19
- PagingMetadataFromJSONTyped,
20
- PagingMetadataToJSON,
21
- PagingMetadataToJSONTyped,
22
- } from './PagingMetadata';
23
- import type { TransactionListResource } from './TransactionListResource';
24
- import {
25
- TransactionListResourceFromJSON,
26
- TransactionListResourceFromJSONTyped,
27
- TransactionListResourceToJSON,
28
- TransactionListResourceToJSONTyped,
29
- } from './TransactionListResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface PaginatedTransactionListResourceResponse
35
- */
36
- export interface PaginatedTransactionListResourceResponse {
37
- /**
38
- *
39
- * @type {Array<TransactionListResource>}
40
- * @memberof PaginatedTransactionListResourceResponse
41
- */
42
- data: Array<TransactionListResource>;
43
- /**
44
- *
45
- * @type {PagingMetadata}
46
- * @memberof PaginatedTransactionListResourceResponse
47
- */
48
- meta: PagingMetadata;
49
- }
50
-
51
- /**
52
- * Check if a given object implements the PaginatedTransactionListResourceResponse interface.
53
- */
54
- export function instanceOfPaginatedTransactionListResourceResponse(value: object): value is PaginatedTransactionListResourceResponse {
55
- if (!('data' in value) || value['data'] === undefined) return false;
56
- if (!('meta' in value) || value['meta'] === undefined) return false;
57
- return true;
58
- }
59
-
60
- export function PaginatedTransactionListResourceResponseFromJSON(json: any): PaginatedTransactionListResourceResponse {
61
- return PaginatedTransactionListResourceResponseFromJSONTyped(json, false);
62
- }
63
-
64
- export function PaginatedTransactionListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedTransactionListResourceResponse {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'data': ((json['data'] as Array<any>).map(TransactionListResourceFromJSON)),
71
- 'meta': PagingMetadataFromJSON(json['meta']),
72
- };
73
- }
74
-
75
- export function PaginatedTransactionListResourceResponseToJSON(json: any): PaginatedTransactionListResourceResponse {
76
- return PaginatedTransactionListResourceResponseToJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedTransactionListResourceResponseToJSONTyped(value?: PaginatedTransactionListResourceResponse | null, ignoreDiscriminator: boolean = false): any {
80
- if (value == null) {
81
- return value;
82
- }
83
-
84
- return {
85
-
86
- 'data': ((value['data'] as Array<any>).map(TransactionListResourceToJSON)),
87
- 'meta': PagingMetadataToJSON(value['meta']),
88
- };
89
- }
90
-
@@ -1,90 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { PagingMetadata } from './PagingMetadata';
17
- import {
18
- PagingMetadataFromJSON,
19
- PagingMetadataFromJSONTyped,
20
- PagingMetadataToJSON,
21
- PagingMetadataToJSONTyped,
22
- } from './PagingMetadata';
23
- import type { TransactionResource } from './TransactionResource';
24
- import {
25
- TransactionResourceFromJSON,
26
- TransactionResourceFromJSONTyped,
27
- TransactionResourceToJSON,
28
- TransactionResourceToJSONTyped,
29
- } from './TransactionResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface PaginatedTransactionResourceResponse
35
- */
36
- export interface PaginatedTransactionResourceResponse {
37
- /**
38
- *
39
- * @type {Array<TransactionResource>}
40
- * @memberof PaginatedTransactionResourceResponse
41
- */
42
- data: Array<TransactionResource>;
43
- /**
44
- *
45
- * @type {PagingMetadata}
46
- * @memberof PaginatedTransactionResourceResponse
47
- */
48
- meta: PagingMetadata;
49
- }
50
-
51
- /**
52
- * Check if a given object implements the PaginatedTransactionResourceResponse interface.
53
- */
54
- export function instanceOfPaginatedTransactionResourceResponse(value: object): value is PaginatedTransactionResourceResponse {
55
- if (!('data' in value) || value['data'] === undefined) return false;
56
- if (!('meta' in value) || value['meta'] === undefined) return false;
57
- return true;
58
- }
59
-
60
- export function PaginatedTransactionResourceResponseFromJSON(json: any): PaginatedTransactionResourceResponse {
61
- return PaginatedTransactionResourceResponseFromJSONTyped(json, false);
62
- }
63
-
64
- export function PaginatedTransactionResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedTransactionResourceResponse {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'data': ((json['data'] as Array<any>).map(TransactionResourceFromJSON)),
71
- 'meta': PagingMetadataFromJSON(json['meta']),
72
- };
73
- }
74
-
75
- export function PaginatedTransactionResourceResponseToJSON(json: any): PaginatedTransactionResourceResponse {
76
- return PaginatedTransactionResourceResponseToJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedTransactionResourceResponseToJSONTyped(value?: PaginatedTransactionResourceResponse | null, ignoreDiscriminator: boolean = false): any {
80
- if (value == null) {
81
- return value;
82
- }
83
-
84
- return {
85
-
86
- 'data': ((value['data'] as Array<any>).map(TransactionResourceToJSON)),
87
- 'meta': PagingMetadataToJSON(value['meta']),
88
- };
89
- }
90
-
@@ -1,58 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- /**
17
- *
18
- * @export
19
- */
20
- export const PaymentMethod = {
21
- BankDeposit: 'bank_deposit',
22
- Visa: 'visa',
23
- Mastercard: 'mastercard',
24
- AmericanExpress: 'american_express',
25
- GooglePay: 'google_pay',
26
- PayPal: 'pay_pal',
27
- ApplePay: 'apple_pay'
28
- } as const;
29
- export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
30
-
31
-
32
- export function instanceOfPaymentMethod(value: any): boolean {
33
- for (const key in PaymentMethod) {
34
- if (Object.prototype.hasOwnProperty.call(PaymentMethod, key)) {
35
- if (PaymentMethod[key as keyof typeof PaymentMethod] === value) {
36
- return true;
37
- }
38
- }
39
- }
40
- return false;
41
- }
42
-
43
- export function PaymentMethodFromJSON(json: any): PaymentMethod {
44
- return PaymentMethodFromJSONTyped(json, false);
45
- }
46
-
47
- export function PaymentMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentMethod {
48
- return json as PaymentMethod;
49
- }
50
-
51
- export function PaymentMethodToJSON(value?: PaymentMethod | null): any {
52
- return value as any;
53
- }
54
-
55
- export function PaymentMethodToJSONTyped(value: any, ignoreDiscriminator: boolean): PaymentMethod {
56
- return value as PaymentMethod;
57
- }
58
-
@@ -1,54 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- /**
17
- *
18
- * @export
19
- */
20
- export const PaymentSource = {
21
- Checkout: 'checkout',
22
- ExpressCheckout: 'express_checkout',
23
- AdminPortal: 'admin_portal'
24
- } as const;
25
- export type PaymentSource = typeof PaymentSource[keyof typeof PaymentSource];
26
-
27
-
28
- export function instanceOfPaymentSource(value: any): boolean {
29
- for (const key in PaymentSource) {
30
- if (Object.prototype.hasOwnProperty.call(PaymentSource, key)) {
31
- if (PaymentSource[key as keyof typeof PaymentSource] === value) {
32
- return true;
33
- }
34
- }
35
- }
36
- return false;
37
- }
38
-
39
- export function PaymentSourceFromJSON(json: any): PaymentSource {
40
- return PaymentSourceFromJSONTyped(json, false);
41
- }
42
-
43
- export function PaymentSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentSource {
44
- return json as PaymentSource;
45
- }
46
-
47
- export function PaymentSourceToJSON(value?: PaymentSource | null): any {
48
- return value as any;
49
- }
50
-
51
- export function PaymentSourceToJSONTyped(value: any, ignoreDiscriminator: boolean): PaymentSource {
52
- return value as PaymentSource;
53
- }
54
-
@@ -1,53 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- /**
17
- *
18
- * @export
19
- */
20
- export const PaymentStatus = {
21
- Success: 'success',
22
- Failure: 'failure'
23
- } as const;
24
- export type PaymentStatus = typeof PaymentStatus[keyof typeof PaymentStatus];
25
-
26
-
27
- export function instanceOfPaymentStatus(value: any): boolean {
28
- for (const key in PaymentStatus) {
29
- if (Object.prototype.hasOwnProperty.call(PaymentStatus, key)) {
30
- if (PaymentStatus[key as keyof typeof PaymentStatus] === value) {
31
- return true;
32
- }
33
- }
34
- }
35
- return false;
36
- }
37
-
38
- export function PaymentStatusFromJSON(json: any): PaymentStatus {
39
- return PaymentStatusFromJSONTyped(json, false);
40
- }
41
-
42
- export function PaymentStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentStatus {
43
- return json as PaymentStatus;
44
- }
45
-
46
- export function PaymentStatusToJSON(value?: PaymentStatus | null): any {
47
- return value as any;
48
- }
49
-
50
- export function PaymentStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): PaymentStatus {
51
- return value as PaymentStatus;
52
- }
53
-