@heliofi/common 0.0.14-alpha.0 → 0.0.16

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 (264) hide show
  1. package/dist/domain/model/index.d.ts +0 -6
  2. package/dist/domain/model/index.js +0 -6
  3. package/dist/domain/model/index.js.map +1 -1
  4. package/dist/index.js +1 -1
  5. package/dist/index.js.map +1 -1
  6. package/dist/src/domain/model/attachment/entities/index.d.ts +1 -1
  7. package/dist/src/domain/model/attachment/entities/index.js +1 -3
  8. package/dist/src/domain/model/attachment/entities/index.js.map +1 -1
  9. package/dist/src/domain/model/paylink/entities/PaylinkStats.d.ts +5 -0
  10. package/dist/src/domain/model/paylink/entities/PaylinkStats.js +7 -0
  11. package/dist/src/domain/model/paylink/entities/PaylinkStats.js.map +1 -0
  12. package/dist/src/domain/model/paylink/entities/index.d.ts +1 -0
  13. package/dist/src/domain/model/paylink/entities/index.js +1 -0
  14. package/dist/src/domain/model/paylink/entities/index.js.map +1 -1
  15. package/dist/src/domain/model/payment-request/entities/ShallowEnrichedPaymentRequest.d.ts +3 -0
  16. package/dist/src/domain/model/payment-request/entities/ShallowEnrichedPaymentRequest.js.map +1 -1
  17. package/dist/src/domain/model/user/dtos/index.d.ts +1 -1
  18. package/dist/src/domain/model/user/dtos/index.js +1 -3
  19. package/dist/src/domain/model/user/dtos/index.js.map +1 -1
  20. package/dist/tsconfig.tsbuildinfo +1 -1
  21. package/index.ts +1 -0
  22. package/package.json +3 -3
  23. package/tsconfig.tsbuildinfo +1 -1
  24. package/yarn-error.log +5475 -0
  25. package/dist/domain/model/paystream/dtos/createPaystreamDto.d.ts +0 -16
  26. package/dist/domain/model/paystream/dtos/createPaystreamDto.js +0 -94
  27. package/dist/domain/model/paystream/dtos/createPaystreamDto.js.map +0 -1
  28. package/dist/domain/model/paystream/dtos/index.d.ts +0 -2
  29. package/dist/domain/model/paystream/dtos/index.js +0 -19
  30. package/dist/domain/model/paystream/dtos/index.js.map +0 -1
  31. package/dist/domain/model/paystream/dtos/updatePaystreamDto.d.ts +0 -14
  32. package/dist/domain/model/paystream/dtos/updatePaystreamDto.js +0 -87
  33. package/dist/domain/model/paystream/dtos/updatePaystreamDto.js.map +0 -1
  34. package/dist/domain/model/paystream/entities/BasePaystream.d.ts +0 -7
  35. package/dist/domain/model/paystream/entities/BasePaystream.js +0 -8
  36. package/dist/domain/model/paystream/entities/BasePaystream.js.map +0 -1
  37. package/dist/domain/model/paystream/entities/IntervalType.enum.d.ts +0 -9
  38. package/dist/domain/model/paystream/entities/IntervalType.enum.js +0 -14
  39. package/dist/domain/model/paystream/entities/IntervalType.enum.js.map +0 -1
  40. package/dist/domain/model/paystream/entities/Paystream.d.ts +0 -7
  41. package/dist/domain/model/paystream/entities/Paystream.js +0 -8
  42. package/dist/domain/model/paystream/entities/Paystream.js.map +0 -1
  43. package/dist/domain/model/paystream/entities/ShallowEnrichedPaystream.d.ts +0 -7
  44. package/dist/domain/model/paystream/entities/ShallowEnrichedPaystream.js +0 -8
  45. package/dist/domain/model/paystream/entities/ShallowEnrichedPaystream.js.map +0 -1
  46. package/dist/domain/model/paystream/entities/index.d.ts +0 -4
  47. package/dist/domain/model/paystream/entities/index.js +0 -21
  48. package/dist/domain/model/paystream/entities/index.js.map +0 -1
  49. package/dist/domain/model/paystream/index.d.ts +0 -2
  50. package/dist/domain/model/paystream/index.js +0 -19
  51. package/dist/domain/model/paystream/index.js.map +0 -1
  52. package/dist/domain/model/paystream-tx/dtos/createPaystreamTxDto.d.ts +0 -9
  53. package/dist/domain/model/paystream-tx/dtos/createPaystreamTxDto.js +0 -47
  54. package/dist/domain/model/paystream-tx/dtos/createPaystreamTxDto.js.map +0 -1
  55. package/dist/domain/model/paystream-tx/dtos/index.d.ts +0 -2
  56. package/dist/domain/model/paystream-tx/dtos/index.js +0 -19
  57. package/dist/domain/model/paystream-tx/dtos/index.js.map +0 -1
  58. package/dist/domain/model/paystream-tx/dtos/updatePaystreamTxDto.d.ts +0 -5
  59. package/dist/domain/model/paystream-tx/dtos/updatePaystreamTxDto.js +0 -30
  60. package/dist/domain/model/paystream-tx/dtos/updatePaystreamTxDto.js.map +0 -1
  61. package/dist/domain/model/paystream-tx/entities/BasePaystreamTx.d.ts +0 -9
  62. package/dist/domain/model/paystream-tx/entities/BasePaystreamTx.js +0 -8
  63. package/dist/domain/model/paystream-tx/entities/BasePaystreamTx.js.map +0 -1
  64. package/dist/domain/model/paystream-tx/entities/PaystreamTx.d.ts +0 -9
  65. package/dist/domain/model/paystream-tx/entities/PaystreamTx.js +0 -8
  66. package/dist/domain/model/paystream-tx/entities/PaystreamTx.js.map +0 -1
  67. package/dist/domain/model/paystream-tx/entities/ShallowEnrichedPaystreamTx.d.ts +0 -7
  68. package/dist/domain/model/paystream-tx/entities/ShallowEnrichedPaystreamTx.js +0 -8
  69. package/dist/domain/model/paystream-tx/entities/ShallowEnrichedPaystreamTx.js.map +0 -1
  70. package/dist/domain/model/paystream-tx/entities/index.d.ts +0 -3
  71. package/dist/domain/model/paystream-tx/entities/index.js +0 -20
  72. package/dist/domain/model/paystream-tx/entities/index.js.map +0 -1
  73. package/dist/domain/model/paystream-tx/index.d.ts +0 -2
  74. package/dist/domain/model/paystream-tx/index.js +0 -19
  75. package/dist/domain/model/paystream-tx/index.js.map +0 -1
  76. package/dist/domain/model/stream/dtos/cancelStreamDto.d.ts +0 -8
  77. package/dist/domain/model/stream/dtos/cancelStreamDto.js +0 -54
  78. package/dist/domain/model/stream/dtos/cancelStreamDto.js.map +0 -1
  79. package/dist/domain/model/stream/dtos/createStreamDto.d.ts +0 -15
  80. package/dist/domain/model/stream/dtos/createStreamDto.js +0 -91
  81. package/dist/domain/model/stream/dtos/createStreamDto.js.map +0 -1
  82. package/dist/domain/model/stream/dtos/index.d.ts +0 -3
  83. package/dist/domain/model/stream/dtos/index.js +0 -20
  84. package/dist/domain/model/stream/dtos/index.js.map +0 -1
  85. package/dist/domain/model/stream/dtos/withdrawStreamDto.d.ts +0 -8
  86. package/dist/domain/model/stream/dtos/withdrawStreamDto.js +0 -53
  87. package/dist/domain/model/stream/dtos/withdrawStreamDto.js.map +0 -1
  88. package/dist/domain/model/stream/index.d.ts +0 -1
  89. package/dist/domain/model/stream/index.js +0 -18
  90. package/dist/domain/model/stream/index.js.map +0 -1
  91. package/dist/domain/model/stream-event/dtos/createStreamEventDto.d.ts +0 -4
  92. package/dist/domain/model/stream-event/dtos/createStreamEventDto.js +0 -27
  93. package/dist/domain/model/stream-event/dtos/createStreamEventDto.js.map +0 -1
  94. package/dist/domain/model/stream-event/dtos/index.d.ts +0 -1
  95. package/dist/domain/model/stream-event/dtos/index.js +0 -18
  96. package/dist/domain/model/stream-event/dtos/index.js.map +0 -1
  97. package/dist/domain/model/stream-event/dtos/updateStreamEventDto copy.d.ts +0 -4
  98. package/dist/domain/model/stream-event/dtos/updateStreamEventDto copy.js +0 -27
  99. package/dist/domain/model/stream-event/dtos/updateStreamEventDto copy.js.map +0 -1
  100. package/dist/domain/model/stream-event/entities/StreamEvent.d.ts +0 -4
  101. package/dist/domain/model/stream-event/entities/StreamEvent.js +0 -7
  102. package/dist/domain/model/stream-event/entities/StreamEvent.js.map +0 -1
  103. package/dist/domain/model/stream-event/entities/index.d.ts +0 -1
  104. package/dist/domain/model/stream-event/entities/index.js +0 -18
  105. package/dist/domain/model/stream-event/entities/index.js.map +0 -1
  106. package/dist/domain/model/stream-event/index.d.ts +0 -2
  107. package/dist/domain/model/stream-event/index.js +0 -19
  108. package/dist/domain/model/stream-event/index.js.map +0 -1
  109. package/dist/domain/model/stream-features/dtos/index.d.ts +0 -1
  110. package/dist/domain/model/stream-features/dtos/index.js +0 -18
  111. package/dist/domain/model/stream-features/dtos/index.js.map +0 -1
  112. package/dist/domain/model/stream-features/dtos/streamFeaturesDto.d.ts +0 -9
  113. package/dist/domain/model/stream-features/dtos/streamFeaturesDto.js +0 -52
  114. package/dist/domain/model/stream-features/dtos/streamFeaturesDto.js.map +0 -1
  115. package/dist/domain/model/stream-features/entities/StreamFeatures.d.ts +0 -3
  116. package/dist/domain/model/stream-features/entities/StreamFeatures.js +0 -8
  117. package/dist/domain/model/stream-features/entities/StreamFeatures.js.map +0 -1
  118. package/dist/domain/model/stream-features/entities/index.d.ts +0 -1
  119. package/dist/domain/model/stream-features/entities/index.js +0 -18
  120. package/dist/domain/model/stream-features/entities/index.js.map +0 -1
  121. package/dist/domain/model/stream-features/index.d.ts +0 -2
  122. package/dist/domain/model/stream-features/index.js +0 -19
  123. package/dist/domain/model/stream-features/index.js.map +0 -1
  124. package/dist/domain/model/withdrawal/dtos/createWithdrawalDto.d.ts +0 -6
  125. package/dist/domain/model/withdrawal/dtos/createWithdrawalDto.js +0 -35
  126. package/dist/domain/model/withdrawal/dtos/createWithdrawalDto.js.map +0 -1
  127. package/dist/domain/model/withdrawal/dtos/index.d.ts +0 -2
  128. package/dist/domain/model/withdrawal/dtos/index.js +0 -19
  129. package/dist/domain/model/withdrawal/dtos/index.js.map +0 -1
  130. package/dist/domain/model/withdrawal/dtos/updateWithdrawalDto.d.ts +0 -3
  131. package/dist/domain/model/withdrawal/dtos/updateWithdrawalDto.js +0 -21
  132. package/dist/domain/model/withdrawal/dtos/updateWithdrawalDto.js.map +0 -1
  133. package/dist/domain/model/withdrawal/entities/BaseWithdrawal.d.ts +0 -4
  134. package/dist/domain/model/withdrawal/entities/BaseWithdrawal.js +0 -7
  135. package/dist/domain/model/withdrawal/entities/BaseWithdrawal.js.map +0 -1
  136. package/dist/domain/model/withdrawal/entities/Withdrawal.d.ts +0 -5
  137. package/dist/domain/model/withdrawal/entities/Withdrawal.js +0 -8
  138. package/dist/domain/model/withdrawal/entities/Withdrawal.js.map +0 -1
  139. package/dist/domain/model/withdrawal/entities/index.d.ts +0 -2
  140. package/dist/domain/model/withdrawal/entities/index.js +0 -19
  141. package/dist/domain/model/withdrawal/entities/index.js.map +0 -1
  142. package/dist/domain/model/withdrawal/index.d.ts +0 -2
  143. package/dist/domain/model/withdrawal/index.js +0 -19
  144. package/dist/domain/model/withdrawal/index.js.map +0 -1
  145. package/dist/src/domain/model/attachment/entities/AttachmentType.d.ts +0 -3
  146. package/dist/src/domain/model/attachment/entities/AttachmentType.js +0 -8
  147. package/dist/src/domain/model/attachment/entities/AttachmentType.js.map +0 -1
  148. package/dist/src/domain/model/paystream/dtos/createPaystreamDto.d.ts +0 -17
  149. package/dist/src/domain/model/paystream/dtos/createPaystreamDto.js +0 -105
  150. package/dist/src/domain/model/paystream/dtos/createPaystreamDto.js.map +0 -1
  151. package/dist/src/domain/model/paystream/dtos/index.d.ts +0 -2
  152. package/dist/src/domain/model/paystream/dtos/index.js +0 -19
  153. package/dist/src/domain/model/paystream/dtos/index.js.map +0 -1
  154. package/dist/src/domain/model/paystream/dtos/updatePaystreamDto.d.ts +0 -15
  155. package/dist/src/domain/model/paystream/dtos/updatePaystreamDto.js +0 -93
  156. package/dist/src/domain/model/paystream/dtos/updatePaystreamDto.js.map +0 -1
  157. package/dist/src/domain/model/paystream/entities/BasePaystream.d.ts +0 -7
  158. package/dist/src/domain/model/paystream/entities/BasePaystream.js +0 -8
  159. package/dist/src/domain/model/paystream/entities/BasePaystream.js.map +0 -1
  160. package/dist/src/domain/model/paystream/entities/IntervalType.d.ts +0 -9
  161. package/dist/src/domain/model/paystream/entities/IntervalType.js +0 -14
  162. package/dist/src/domain/model/paystream/entities/IntervalType.js.map +0 -1
  163. package/dist/src/domain/model/paystream/entities/Paystream.d.ts +0 -7
  164. package/dist/src/domain/model/paystream/entities/Paystream.js +0 -8
  165. package/dist/src/domain/model/paystream/entities/Paystream.js.map +0 -1
  166. package/dist/src/domain/model/paystream/entities/ShallowEnrichedPaystream.d.ts +0 -7
  167. package/dist/src/domain/model/paystream/entities/ShallowEnrichedPaystream.js +0 -8
  168. package/dist/src/domain/model/paystream/entities/ShallowEnrichedPaystream.js.map +0 -1
  169. package/dist/src/domain/model/paystream/entities/index.d.ts +0 -4
  170. package/dist/src/domain/model/paystream/entities/index.js +0 -21
  171. package/dist/src/domain/model/paystream/entities/index.js.map +0 -1
  172. package/dist/src/domain/model/paystream/index.d.ts +0 -2
  173. package/dist/src/domain/model/paystream/index.js +0 -19
  174. package/dist/src/domain/model/paystream/index.js.map +0 -1
  175. package/dist/src/domain/model/paystream-tx/dtos/createPaystreamTxDto.d.ts +0 -10
  176. package/dist/src/domain/model/paystream-tx/dtos/createPaystreamTxDto.js +0 -51
  177. package/dist/src/domain/model/paystream-tx/dtos/createPaystreamTxDto.js.map +0 -1
  178. package/dist/src/domain/model/paystream-tx/dtos/index.d.ts +0 -2
  179. package/dist/src/domain/model/paystream-tx/dtos/index.js +0 -19
  180. package/dist/src/domain/model/paystream-tx/dtos/index.js.map +0 -1
  181. package/dist/src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.d.ts +0 -5
  182. package/dist/src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.js +0 -29
  183. package/dist/src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.js.map +0 -1
  184. package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTx.d.ts +0 -10
  185. package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTx.js +0 -8
  186. package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTx.js.map +0 -1
  187. package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.d.ts +0 -7
  188. package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.js +0 -8
  189. package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.js.map +0 -1
  190. package/dist/src/domain/model/paystream-tx/entities/index.d.ts +0 -2
  191. package/dist/src/domain/model/paystream-tx/entities/index.js +0 -19
  192. package/dist/src/domain/model/paystream-tx/entities/index.js.map +0 -1
  193. package/dist/src/domain/model/paystream-tx/index.d.ts +0 -2
  194. package/dist/src/domain/model/paystream-tx/index.js +0 -19
  195. package/dist/src/domain/model/paystream-tx/index.js.map +0 -1
  196. package/dist/src/domain/model/stream/dtos/cancelStreamDto.d.ts +0 -8
  197. package/dist/src/domain/model/stream/dtos/cancelStreamDto.js +0 -53
  198. package/dist/src/domain/model/stream/dtos/cancelStreamDto.js.map +0 -1
  199. package/dist/src/domain/model/stream/dtos/createStreamDto.d.ts +0 -17
  200. package/dist/src/domain/model/stream/dtos/createStreamDto.js +0 -97
  201. package/dist/src/domain/model/stream/dtos/createStreamDto.js.map +0 -1
  202. package/dist/src/domain/model/stream/dtos/index.d.ts +0 -3
  203. package/dist/src/domain/model/stream/dtos/index.js +0 -20
  204. package/dist/src/domain/model/stream/dtos/index.js.map +0 -1
  205. package/dist/src/domain/model/stream/dtos/withdrawStreamDto.d.ts +0 -7
  206. package/dist/src/domain/model/stream/dtos/withdrawStreamDto.js +0 -47
  207. package/dist/src/domain/model/stream/dtos/withdrawStreamDto.js.map +0 -1
  208. package/dist/src/domain/model/stream/index.d.ts +0 -1
  209. package/dist/src/domain/model/stream/index.js +0 -18
  210. package/dist/src/domain/model/stream/index.js.map +0 -1
  211. package/dist/src/domain/model/stream-event/dtos/createStreamEventDto.d.ts +0 -4
  212. package/dist/src/domain/model/stream-event/dtos/createStreamEventDto.js +0 -26
  213. package/dist/src/domain/model/stream-event/dtos/createStreamEventDto.js.map +0 -1
  214. package/dist/src/domain/model/stream-event/dtos/index.d.ts +0 -2
  215. package/dist/src/domain/model/stream-event/dtos/index.js +0 -19
  216. package/dist/src/domain/model/stream-event/dtos/index.js.map +0 -1
  217. package/dist/src/domain/model/stream-event/dtos/updateStreamEventDto.d.ts +0 -4
  218. package/dist/src/domain/model/stream-event/dtos/updateStreamEventDto.js +0 -26
  219. package/dist/src/domain/model/stream-event/dtos/updateStreamEventDto.js.map +0 -1
  220. package/dist/src/domain/model/stream-event/entities/StreamEvent.d.ts +0 -4
  221. package/dist/src/domain/model/stream-event/entities/StreamEvent.js +0 -7
  222. package/dist/src/domain/model/stream-event/entities/StreamEvent.js.map +0 -1
  223. package/dist/src/domain/model/stream-event/entities/index.d.ts +0 -1
  224. package/dist/src/domain/model/stream-event/entities/index.js +0 -18
  225. package/dist/src/domain/model/stream-event/entities/index.js.map +0 -1
  226. package/dist/src/domain/model/stream-event/index.d.ts +0 -2
  227. package/dist/src/domain/model/stream-event/index.js +0 -19
  228. package/dist/src/domain/model/stream-event/index.js.map +0 -1
  229. package/dist/src/domain/model/stream-features/dtos/index.d.ts +0 -1
  230. package/dist/src/domain/model/stream-features/dtos/index.js +0 -18
  231. package/dist/src/domain/model/stream-features/dtos/index.js.map +0 -1
  232. package/dist/src/domain/model/stream-features/dtos/streamFeaturesDto.d.ts +0 -9
  233. package/dist/src/domain/model/stream-features/dtos/streamFeaturesDto.js +0 -52
  234. package/dist/src/domain/model/stream-features/dtos/streamFeaturesDto.js.map +0 -1
  235. package/dist/src/domain/model/stream-features/entities/StreamFeatures.d.ts +0 -3
  236. package/dist/src/domain/model/stream-features/entities/StreamFeatures.js +0 -8
  237. package/dist/src/domain/model/stream-features/entities/StreamFeatures.js.map +0 -1
  238. package/dist/src/domain/model/stream-features/entities/index.d.ts +0 -1
  239. package/dist/src/domain/model/stream-features/entities/index.js +0 -18
  240. package/dist/src/domain/model/stream-features/entities/index.js.map +0 -1
  241. package/dist/src/domain/model/stream-features/index.d.ts +0 -2
  242. package/dist/src/domain/model/stream-features/index.js +0 -19
  243. package/dist/src/domain/model/stream-features/index.js.map +0 -1
  244. package/dist/src/domain/model/withdrawal/dtos/createWithdrawalDto.d.ts +0 -6
  245. package/dist/src/domain/model/withdrawal/dtos/createWithdrawalDto.js +0 -35
  246. package/dist/src/domain/model/withdrawal/dtos/createWithdrawalDto.js.map +0 -1
  247. package/dist/src/domain/model/withdrawal/dtos/index.d.ts +0 -2
  248. package/dist/src/domain/model/withdrawal/dtos/index.js +0 -19
  249. package/dist/src/domain/model/withdrawal/dtos/index.js.map +0 -1
  250. package/dist/src/domain/model/withdrawal/dtos/updateWithdrawalDto.d.ts +0 -3
  251. package/dist/src/domain/model/withdrawal/dtos/updateWithdrawalDto.js +0 -21
  252. package/dist/src/domain/model/withdrawal/dtos/updateWithdrawalDto.js.map +0 -1
  253. package/dist/src/domain/model/withdrawal/entities/BaseWithdrawal.d.ts +0 -4
  254. package/dist/src/domain/model/withdrawal/entities/BaseWithdrawal.js +0 -7
  255. package/dist/src/domain/model/withdrawal/entities/BaseWithdrawal.js.map +0 -1
  256. package/dist/src/domain/model/withdrawal/entities/Withdrawal.d.ts +0 -5
  257. package/dist/src/domain/model/withdrawal/entities/Withdrawal.js +0 -8
  258. package/dist/src/domain/model/withdrawal/entities/Withdrawal.js.map +0 -1
  259. package/dist/src/domain/model/withdrawal/entities/index.d.ts +0 -2
  260. package/dist/src/domain/model/withdrawal/entities/index.js +0 -19
  261. package/dist/src/domain/model/withdrawal/entities/index.js.map +0 -1
  262. package/dist/src/domain/model/withdrawal/index.d.ts +0 -2
  263. package/dist/src/domain/model/withdrawal/index.js +0 -19
  264. package/dist/src/domain/model/withdrawal/index.js.map +0 -1
@@ -1,16 +0,0 @@
1
- import { StreamFeaturesDto } from '../../stream-features';
2
- import { IntervalType } from '../entities';
3
- export declare class CreatePaystreamDto extends StreamFeaturesDto {
4
- company: string;
5
- name: string;
6
- maxTime?: number;
7
- description?: string;
8
- imageUrl?: string;
9
- normalizedPrice?: bigint;
10
- interval: IntervalType;
11
- emailNotify: boolean;
12
- currency?: string;
13
- disabled?: boolean;
14
- wallet: string;
15
- features?: StreamFeaturesDto;
16
- }
@@ -1,94 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.CreatePaystreamDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const swagger_1 = require("@nestjs/swagger");
15
- const class_transformer_1 = require("class-transformer");
16
- const stream_features_1 = require("../../stream-features");
17
- const entities_1 = require("../entities");
18
- class CreatePaystreamDto extends stream_features_1.StreamFeaturesDto {
19
- }
20
- __decorate([
21
- (0, swagger_1.ApiProperty)(),
22
- (0, class_validator_1.IsString)(),
23
- (0, class_validator_1.IsNotEmpty)(),
24
- __metadata("design:type", String)
25
- ], CreatePaystreamDto.prototype, "company", void 0);
26
- __decorate([
27
- (0, swagger_1.ApiProperty)(),
28
- (0, class_validator_1.IsString)(),
29
- (0, class_validator_1.IsNotEmpty)(),
30
- __metadata("design:type", String)
31
- ], CreatePaystreamDto.prototype, "name", void 0);
32
- __decorate([
33
- (0, swagger_1.ApiProperty)(),
34
- (0, class_validator_1.IsNotEmpty)(),
35
- (0, class_validator_1.IsNumber)(),
36
- __metadata("design:type", Number)
37
- ], CreatePaystreamDto.prototype, "maxTime", void 0);
38
- __decorate([
39
- (0, swagger_1.ApiProperty)(),
40
- (0, class_validator_1.IsString)(),
41
- (0, class_validator_1.IsOptional)(),
42
- __metadata("design:type", String)
43
- ], CreatePaystreamDto.prototype, "description", void 0);
44
- __decorate([
45
- (0, swagger_1.ApiProperty)(),
46
- (0, class_validator_1.IsString)(),
47
- (0, class_validator_1.IsOptional)(),
48
- __metadata("design:type", String)
49
- ], CreatePaystreamDto.prototype, "imageUrl", void 0);
50
- __decorate([
51
- (0, swagger_1.ApiProperty)(),
52
- (0, class_validator_1.IsOptional)(),
53
- __metadata("design:type", typeof BigInt === "function" ? BigInt : Object)
54
- ], CreatePaystreamDto.prototype, "normalizedPrice", void 0);
55
- __decorate([
56
- (0, swagger_1.ApiProperty)(),
57
- (0, class_validator_1.IsEnum)(entities_1.IntervalType),
58
- (0, class_validator_1.IsNotEmpty)(),
59
- __metadata("design:type", String)
60
- ], CreatePaystreamDto.prototype, "interval", void 0);
61
- __decorate([
62
- (0, swagger_1.ApiProperty)(),
63
- (0, class_validator_1.IsBoolean)(),
64
- (0, class_validator_1.IsNotEmpty)(),
65
- __metadata("design:type", Boolean)
66
- ], CreatePaystreamDto.prototype, "emailNotify", void 0);
67
- __decorate([
68
- (0, swagger_1.ApiProperty)(),
69
- (0, class_validator_1.IsString)(),
70
- (0, class_validator_1.IsOptional)(),
71
- __metadata("design:type", String)
72
- ], CreatePaystreamDto.prototype, "currency", void 0);
73
- __decorate([
74
- (0, swagger_1.ApiProperty)(),
75
- (0, class_validator_1.IsBoolean)(),
76
- (0, class_validator_1.IsOptional)(),
77
- __metadata("design:type", Boolean)
78
- ], CreatePaystreamDto.prototype, "disabled", void 0);
79
- __decorate([
80
- (0, swagger_1.ApiProperty)(),
81
- (0, class_validator_1.IsString)(),
82
- (0, class_validator_1.IsNotEmpty)(),
83
- __metadata("design:type", String)
84
- ], CreatePaystreamDto.prototype, "wallet", void 0);
85
- __decorate([
86
- (0, swagger_1.ApiProperty)(),
87
- (0, class_validator_1.IsString)(),
88
- (0, class_validator_1.IsOptional)(),
89
- (0, class_transformer_1.Type)(() => stream_features_1.StreamFeaturesDto),
90
- (0, class_validator_1.ValidateNested)(),
91
- __metadata("design:type", stream_features_1.StreamFeaturesDto)
92
- ], CreatePaystreamDto.prototype, "features", void 0);
93
- exports.CreatePaystreamDto = CreatePaystreamDto;
94
- //# sourceMappingURL=createPaystreamDto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createPaystreamDto.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream/dtos/createPaystreamDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,6CAA8C;AAC9C,yDAAyC;AACzC,2DAA0D;AAC1D,0CAA2C;AAE3C,MAAa,kBAAmB,SAAQ,mCAAiB;CA6DxD;AAzDC;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACG;AAKhB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACA;AAKb;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACM;AAKjB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACQ;AAKrB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACK;AAIlB;IAFC,IAAA,qBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;;2DACY;AAKzB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,uBAAY,CAAC;IACpB,IAAA,4BAAU,GAAE;;oDACU;AAKvB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;uDACQ;AAKrB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACK;AAKlB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oDACM;AAKnB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACE;AAOf;IALC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;8BACN,mCAAiB;oDAAC;AA5D/B,gDA6DC"}
@@ -1,2 +0,0 @@
1
- export * from './createPaystreamDto';
2
- export * from './updatePaystreamDto';
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./createPaystreamDto"), exports);
18
- __exportStar(require("./updatePaystreamDto"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,uDAAqC"}
@@ -1,14 +0,0 @@
1
- import { StreamFeaturesDto } from '../../stream-features';
2
- export declare class UpdatePaystreamDto extends StreamFeaturesDto {
3
- company?: string;
4
- name?: string;
5
- maxTime?: number;
6
- description?: string;
7
- imageUrl?: string;
8
- normalizedPrice?: bigint;
9
- emailNotify?: boolean;
10
- currency?: string;
11
- disabled?: boolean;
12
- wallet?: string;
13
- features?: StreamFeaturesDto;
14
- }
@@ -1,87 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.UpdatePaystreamDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const swagger_1 = require("@nestjs/swagger");
15
- const class_transformer_1 = require("class-transformer");
16
- const stream_features_1 = require("../../stream-features");
17
- class UpdatePaystreamDto extends stream_features_1.StreamFeaturesDto {
18
- }
19
- __decorate([
20
- (0, swagger_1.ApiProperty)(),
21
- (0, class_validator_1.IsString)(),
22
- (0, class_validator_1.IsOptional)(),
23
- __metadata("design:type", String)
24
- ], UpdatePaystreamDto.prototype, "company", void 0);
25
- __decorate([
26
- (0, swagger_1.ApiProperty)(),
27
- (0, class_validator_1.IsOptional)(),
28
- (0, class_validator_1.IsString)(),
29
- __metadata("design:type", String)
30
- ], UpdatePaystreamDto.prototype, "name", void 0);
31
- __decorate([
32
- (0, swagger_1.ApiProperty)(),
33
- (0, class_validator_1.IsOptional)(),
34
- (0, class_validator_1.IsNumber)(),
35
- __metadata("design:type", Number)
36
- ], UpdatePaystreamDto.prototype, "maxTime", void 0);
37
- __decorate([
38
- (0, swagger_1.ApiProperty)(),
39
- (0, class_validator_1.IsString)(),
40
- (0, class_validator_1.IsOptional)(),
41
- __metadata("design:type", String)
42
- ], UpdatePaystreamDto.prototype, "description", void 0);
43
- __decorate([
44
- (0, swagger_1.ApiProperty)(),
45
- (0, class_validator_1.IsString)(),
46
- (0, class_validator_1.IsOptional)(),
47
- __metadata("design:type", String)
48
- ], UpdatePaystreamDto.prototype, "imageUrl", void 0);
49
- __decorate([
50
- (0, swagger_1.ApiProperty)(),
51
- (0, class_validator_1.IsOptional)(),
52
- __metadata("design:type", typeof BigInt === "function" ? BigInt : Object)
53
- ], UpdatePaystreamDto.prototype, "normalizedPrice", void 0);
54
- __decorate([
55
- (0, swagger_1.ApiProperty)(),
56
- (0, class_validator_1.IsBoolean)(),
57
- (0, class_validator_1.IsOptional)(),
58
- __metadata("design:type", Boolean)
59
- ], UpdatePaystreamDto.prototype, "emailNotify", void 0);
60
- __decorate([
61
- (0, swagger_1.ApiProperty)(),
62
- (0, class_validator_1.IsString)(),
63
- (0, class_validator_1.IsOptional)(),
64
- __metadata("design:type", String)
65
- ], UpdatePaystreamDto.prototype, "currency", void 0);
66
- __decorate([
67
- (0, swagger_1.ApiProperty)(),
68
- (0, class_validator_1.IsBoolean)(),
69
- (0, class_validator_1.IsOptional)(),
70
- __metadata("design:type", Boolean)
71
- ], UpdatePaystreamDto.prototype, "disabled", void 0);
72
- __decorate([
73
- (0, swagger_1.ApiProperty)(),
74
- (0, class_validator_1.IsString)(),
75
- (0, class_validator_1.IsOptional)(),
76
- __metadata("design:type", String)
77
- ], UpdatePaystreamDto.prototype, "wallet", void 0);
78
- __decorate([
79
- (0, swagger_1.ApiProperty)(),
80
- (0, class_validator_1.IsString)(),
81
- (0, class_validator_1.IsOptional)(),
82
- (0, class_transformer_1.Type)(() => stream_features_1.StreamFeaturesDto),
83
- (0, class_validator_1.ValidateNested)(),
84
- __metadata("design:type", stream_features_1.StreamFeaturesDto)
85
- ], UpdatePaystreamDto.prototype, "features", void 0);
86
- exports.UpdatePaystreamDto = UpdatePaystreamDto;
87
- //# sourceMappingURL=updatePaystreamDto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updatePaystreamDto.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream/dtos/updatePaystreamDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,6CAA8C;AAC9C,yDAAyC;AACzC,2DAA0D;AAE1D,MAAa,kBAAmB,SAAQ,mCAAiB;CAwDxD;AApDC;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACI;AAKjB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACG;AAKd;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACM;AAKjB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACQ;AAKrB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACK;AAIlB;IAFC,IAAA,qBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;;2DACY;AAKzB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;uDACS;AAKtB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACK;AAKlB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oDACM;AAKnB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACG;AAOhB;IALC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;8BACN,mCAAiB;oDAAC;AAvD/B,gDAwDC"}
@@ -1,7 +0,0 @@
1
- import type { StreamFeatures } from '../../stream-features';
2
- import { BasePaymentRequest } from '../../payment-request';
3
- export declare class BasePaystream extends BasePaymentRequest {
4
- maxTime: number;
5
- interval: string;
6
- features: StreamFeatures;
7
- }
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BasePaystream = void 0;
4
- const payment_request_1 = require("../../payment-request");
5
- class BasePaystream extends payment_request_1.BasePaymentRequest {
6
- }
7
- exports.BasePaystream = BasePaystream;
8
- //# sourceMappingURL=BasePaystream.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BasePaystream.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream/entities/BasePaystream.ts"],"names":[],"mappings":";;;AACA,2DAA2D;AAE3D,MAAa,aAAc,SAAQ,oCAAkB;CAMpD;AAND,sCAMC"}
@@ -1,9 +0,0 @@
1
- export declare enum IntervalType {
2
- SECOND = "SECOND",
3
- MINUTE = "MINUTE",
4
- HOUR = "HOUR",
5
- DAY = "DAY",
6
- WEEK = "WEEK",
7
- MONTH = "MONTH",
8
- YEAR = "YEAR"
9
- }
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IntervalType = void 0;
4
- var IntervalType;
5
- (function (IntervalType) {
6
- IntervalType["SECOND"] = "SECOND";
7
- IntervalType["MINUTE"] = "MINUTE";
8
- IntervalType["HOUR"] = "HOUR";
9
- IntervalType["DAY"] = "DAY";
10
- IntervalType["WEEK"] = "WEEK";
11
- IntervalType["MONTH"] = "MONTH";
12
- IntervalType["YEAR"] = "YEAR";
13
- })(IntervalType = exports.IntervalType || (exports.IntervalType = {}));
14
- //# sourceMappingURL=IntervalType.enum.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IntervalType.enum.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream/entities/IntervalType.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,iCAAiB,CAAA;IACjB,iCAAiB,CAAA;IACjB,6BAAa,CAAA;IACb,2BAAW,CAAA;IACX,6BAAa,CAAA;IACb,+BAAe,CAAA;IACf,6BAAa,CAAA;AACf,CAAC,EARW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAQvB"}
@@ -1,7 +0,0 @@
1
- import { PaymentRequest } from '../../payment-request';
2
- import { StreamFeatures } from '../../stream-features';
3
- export declare class Paystream extends PaymentRequest {
4
- maxTime: number;
5
- interval: string;
6
- features: StreamFeatures;
7
- }
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Paystream = void 0;
4
- const payment_request_1 = require("../../payment-request");
5
- class Paystream extends payment_request_1.PaymentRequest {
6
- }
7
- exports.Paystream = Paystream;
8
- //# sourceMappingURL=Paystream.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Paystream.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream/entities/Paystream.ts"],"names":[],"mappings":";;;AAAA,2DAAuD;AAGvD,MAAa,SAAU,SAAQ,gCAAc;CAM5C;AAND,8BAMC"}
@@ -1,7 +0,0 @@
1
- import { ShallowEnrichedPaymentRequest } from '../../payment-request';
2
- import type { StreamFeatures } from '../../stream-features';
3
- export declare class ShallowEnrichedPaystream extends ShallowEnrichedPaymentRequest {
4
- maxTime: number;
5
- interval: string;
6
- features: StreamFeatures;
7
- }
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ShallowEnrichedPaystream = void 0;
4
- const payment_request_1 = require("../../payment-request");
5
- class ShallowEnrichedPaystream extends payment_request_1.ShallowEnrichedPaymentRequest {
6
- }
7
- exports.ShallowEnrichedPaystream = ShallowEnrichedPaystream;
8
- //# sourceMappingURL=ShallowEnrichedPaystream.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ShallowEnrichedPaystream.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream/entities/ShallowEnrichedPaystream.ts"],"names":[],"mappings":";;;AAAA,2DAAsE;AAGtE,MAAa,wBAAyB,SAAQ,+CAA6B;CAM1E;AAND,4DAMC"}
@@ -1,4 +0,0 @@
1
- export * from './Paystream';
2
- export * from './BasePaystream';
3
- export * from './ShallowEnrichedPaystream';
4
- export * from './IntervalType.enum';
@@ -1,21 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./Paystream"), exports);
18
- __exportStar(require("./BasePaystream"), exports);
19
- __exportStar(require("./ShallowEnrichedPaystream"), exports);
20
- __exportStar(require("./IntervalType.enum"), exports);
21
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,kDAAgC;AAChC,6DAA2C;AAC3C,sDAAoC"}
@@ -1,2 +0,0 @@
1
- export * from './dtos';
2
- export * from './entities';
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./dtos"), exports);
18
- __exportStar(require("./entities"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/paystream/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
@@ -1,9 +0,0 @@
1
- import { CreateStreamEventDto } from '../../stream-event/dtos';
2
- import { CreateTransactionMetaDto } from '../../transaction-meta';
3
- export declare class CreatePaystreamTxDto {
4
- meta: CreateTransactionMetaDto;
5
- paystream: string;
6
- paymentAccount: string;
7
- startedAt: CreateStreamEventDto;
8
- endedAt: number;
9
- }
@@ -1,47 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.CreatePaystreamTxDto = void 0;
13
- const class_transformer_1 = require("class-transformer");
14
- const class_validator_1 = require("class-validator");
15
- const dtos_1 = require("../../stream-event/dtos");
16
- const transaction_meta_1 = require("../../transaction-meta");
17
- class CreatePaystreamTxDto {
18
- }
19
- __decorate([
20
- (0, class_validator_1.IsNotEmpty)(),
21
- (0, class_transformer_1.Type)(() => transaction_meta_1.CreateTransactionMetaDto),
22
- (0, class_validator_1.ValidateNested)(),
23
- __metadata("design:type", transaction_meta_1.CreateTransactionMetaDto)
24
- ], CreatePaystreamTxDto.prototype, "meta", void 0);
25
- __decorate([
26
- (0, class_validator_1.IsString)(),
27
- (0, class_validator_1.IsNotEmpty)(),
28
- __metadata("design:type", String)
29
- ], CreatePaystreamTxDto.prototype, "paystream", void 0);
30
- __decorate([
31
- (0, class_validator_1.IsString)(),
32
- (0, class_validator_1.IsNotEmpty)(),
33
- __metadata("design:type", String)
34
- ], CreatePaystreamTxDto.prototype, "paymentAccount", void 0);
35
- __decorate([
36
- (0, class_validator_1.IsNotEmpty)(),
37
- (0, class_transformer_1.Type)(() => dtos_1.CreateStreamEventDto),
38
- (0, class_validator_1.ValidateNested)(),
39
- __metadata("design:type", dtos_1.CreateStreamEventDto)
40
- ], CreatePaystreamTxDto.prototype, "startedAt", void 0);
41
- __decorate([
42
- (0, class_validator_1.IsNumber)(),
43
- (0, class_validator_1.IsNotEmpty)(),
44
- __metadata("design:type", Number)
45
- ], CreatePaystreamTxDto.prototype, "endedAt", void 0);
46
- exports.CreatePaystreamTxDto = CreatePaystreamTxDto;
47
- //# sourceMappingURL=createPaystreamTxDto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createPaystreamTxDto.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream-tx/dtos/createPaystreamTxDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAKyB;AACzB,kDAA+D;AAC/D,6DAAkE;AAElE,MAAa,oBAAoB;CAsBhC;AAlBC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,2CAAwB,CAAC;IACpC,IAAA,gCAAc,GAAE;8BACX,2CAAwB;kDAAC;AAI/B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACK;AAIlB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACU;AAKvB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,2BAAoB,CAAC;IAChC,IAAA,gCAAc,GAAE;8BACN,2BAAoB;uDAAC;AAIhC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACG;AArBlB,oDAsBC"}
@@ -1,2 +0,0 @@
1
- export * from './createPaystreamTxDto';
2
- export * from './updatePaystreamTxDto';
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./createPaystreamTxDto"), exports);
18
- __exportStar(require("./updatePaystreamTxDto"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream-tx/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,yDAAuC"}
@@ -1,5 +0,0 @@
1
- import { CreateStreamEventDto } from '../../stream-event/dtos';
2
- export declare class UpdatePaystreamTxDto {
3
- cancelledAt?: CreateStreamEventDto;
4
- endedAt?: number;
5
- }
@@ -1,30 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.UpdatePaystreamTxDto = void 0;
13
- const class_transformer_1 = require("class-transformer");
14
- const class_validator_1 = require("class-validator");
15
- const dtos_1 = require("../../stream-event/dtos");
16
- class UpdatePaystreamTxDto {
17
- }
18
- __decorate([
19
- (0, class_validator_1.IsOptional)(),
20
- (0, class_transformer_1.Type)(() => dtos_1.CreateStreamEventDto),
21
- (0, class_validator_1.ValidateNested)(),
22
- __metadata("design:type", dtos_1.CreateStreamEventDto)
23
- ], UpdatePaystreamTxDto.prototype, "cancelledAt", void 0);
24
- __decorate([
25
- (0, class_validator_1.IsOptional)(),
26
- (0, class_validator_1.IsNumber)(),
27
- __metadata("design:type", Number)
28
- ], UpdatePaystreamTxDto.prototype, "endedAt", void 0);
29
- exports.UpdatePaystreamTxDto = UpdatePaystreamTxDto;
30
- //# sourceMappingURL=updatePaystreamTxDto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updatePaystreamTxDto.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAAuE;AACvE,kDAA+D;AAE/D,MAAa,oBAAoB;CAShC;AALC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,2BAAoB,CAAC;IAChC,IAAA,gCAAc,GAAE;8BACH,2BAAoB;yDAAC;AAInC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACM;AARnB,oDASC"}
@@ -1,9 +0,0 @@
1
- import { Entity } from '../../entity';
2
- import { StreamEvent } from '../../stream-event/entities';
3
- export declare class BasePaystreamTx extends Entity {
4
- id: string;
5
- paymentAcount: string;
6
- startedAt: StreamEvent;
7
- canceledAt: StreamEvent;
8
- endedAt: number;
9
- }
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BasePaystreamTx = void 0;
4
- const entity_1 = require("../../entity");
5
- class BasePaystreamTx extends entity_1.Entity {
6
- }
7
- exports.BasePaystreamTx = BasePaystreamTx;
8
- //# sourceMappingURL=BasePaystreamTx.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BasePaystreamTx.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream-tx/entities/BasePaystreamTx.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,eAAgB,SAAQ,eAAM;CAU1C;AAVD,0CAUC"}
@@ -1,9 +0,0 @@
1
- import { Paystream } from '../../paystream';
2
- import type { TransactionMeta } from '../../transaction-meta';
3
- import { BasePaystreamTx } from './BasePaystreamTx';
4
- import { Withdrawal } from '../../withdrawal/entities';
5
- export declare class PaystreamTx extends BasePaystreamTx {
6
- meta: TransactionMeta;
7
- paystream: Paystream;
8
- withdrawals: Withdrawal[];
9
- }
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PaystreamTx = void 0;
4
- const BasePaystreamTx_1 = require("./BasePaystreamTx");
5
- class PaystreamTx extends BasePaystreamTx_1.BasePaystreamTx {
6
- }
7
- exports.PaystreamTx = PaystreamTx;
8
- //# sourceMappingURL=PaystreamTx.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PaystreamTx.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream-tx/entities/PaystreamTx.ts"],"names":[],"mappings":";;;AAEA,uDAAoD;AAGpD,MAAa,WAAY,SAAQ,iCAAe;CAM/C;AAND,kCAMC"}
@@ -1,7 +0,0 @@
1
- import { BasePaystreamTx } from './BasePaystreamTx';
2
- import type { BaseTransactionMeta } from '../../transaction-meta';
3
- import type { BasePaystream } from '../../paystream';
4
- export declare class ShallowEnrichedPaystreamTx extends BasePaystreamTx {
5
- meta: BaseTransactionMeta;
6
- paystream: BasePaystream;
7
- }
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ShallowEnrichedPaystreamTx = void 0;
4
- const BasePaystreamTx_1 = require("./BasePaystreamTx");
5
- class ShallowEnrichedPaystreamTx extends BasePaystreamTx_1.BasePaystreamTx {
6
- }
7
- exports.ShallowEnrichedPaystreamTx = ShallowEnrichedPaystreamTx;
8
- //# sourceMappingURL=ShallowEnrichedPaystreamTx.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ShallowEnrichedPaystreamTx.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream-tx/entities/ShallowEnrichedPaystreamTx.ts"],"names":[],"mappings":";;;AAAA,uDAAoD;AAIpD,MAAa,0BAA2B,SAAQ,iCAAe;CAI9D;AAJD,gEAIC"}
@@ -1,3 +0,0 @@
1
- export * from './PaystreamTx';
2
- export * from './BasePaystreamTx';
3
- export * from './ShallowEnrichedPaystreamTx';