@heliofi/common 0.0.13-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 +2 -2
  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,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';
@@ -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"), 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,iDAA+B"}
@@ -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,10 +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: bigint;
9
- interval: number;
10
- }
@@ -1,51 +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.IsNotEmpty)(),
43
- __metadata("design:type", typeof BigInt === "function" ? BigInt : Object)
44
- ], CreatePaystreamTxDto.prototype, "endedAt", void 0);
45
- __decorate([
46
- (0, class_validator_1.IsNumber)(),
47
- (0, class_validator_1.IsNotEmpty)(),
48
- __metadata("design:type", Number)
49
- ], CreatePaystreamTxDto.prototype, "interval", void 0);
50
- exports.CreatePaystreamTxDto = CreatePaystreamTxDto;
51
- //# 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;CAyBhC;AArBC;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;AAGhC;IADC,IAAA,4BAAU,GAAE;;qDACG;AAIhB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACI;AAxBnB,oDAyBC"}
@@ -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
- canceledAt?: CreateStreamEventDto;
4
- endedAt?: bigint;
5
- }
@@ -1,29 +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, "canceledAt", void 0);
24
- __decorate([
25
- (0, class_validator_1.IsOptional)(),
26
- __metadata("design:type", typeof BigInt === "function" ? BigInt : Object)
27
- ], UpdatePaystreamTxDto.prototype, "endedAt", void 0);
28
- exports.UpdatePaystreamTxDto = UpdatePaystreamTxDto;
29
- //# 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,qDAA6D;AAC7D,kDAA+D;AAE/D,MAAa,oBAAoB;CAQhC;AAJC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,2BAAoB,CAAC;IAChC,IAAA,gCAAc,GAAE;8BACJ,2BAAoB;wDAAC;AAGlC;IADC,IAAA,4BAAU,GAAE;;qDACI;AAPnB,oDAQC"}
@@ -1,10 +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: bigint;
9
- interval: number;
10
- }
@@ -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;CAY1C;AAZD,0CAYC"}
@@ -1,7 +0,0 @@
1
- import { Paystream } from '../../paystream';
2
- import { BasePaystreamTx } from './BasePaystreamTx';
3
- import { Withdrawal } from '../../withdrawal/entities';
4
- export declare class PaystreamTx extends BasePaystreamTx {
5
- paystream: Paystream;
6
- withdrawals: Withdrawal[];
7
- }
@@ -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":";;;AACA,uDAAoD;AAGpD,MAAa,WAAY,SAAQ,iCAAe;CAI/C;AAJD,kCAIC"}
@@ -1,2 +0,0 @@
1
- export * from './PaystreamTx';
2
- export * from './BasePaystreamTx';
@@ -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("./PaystreamTx"), exports);
18
- __exportStar(require("./BasePaystreamTx"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream-tx/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,oDAAkC"}
@@ -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-tx/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
@@ -1,8 +0,0 @@
1
- export declare class CancelStreamDto {
2
- id: string;
3
- transactionSignature: string;
4
- paymentRequestId: string;
5
- currency: string;
6
- canceledAt: bigint;
7
- paymentAccount: string;
8
- }
@@ -1,53 +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.CancelStreamDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const swagger_1 = require("@nestjs/swagger");
15
- class CancelStreamDto {
16
- }
17
- __decorate([
18
- (0, swagger_1.ApiProperty)(),
19
- (0, class_validator_1.IsString)(),
20
- (0, class_validator_1.IsNotEmpty)(),
21
- __metadata("design:type", String)
22
- ], CancelStreamDto.prototype, "id", void 0);
23
- __decorate([
24
- (0, swagger_1.ApiProperty)(),
25
- (0, class_validator_1.IsString)(),
26
- (0, class_validator_1.IsNotEmpty)(),
27
- __metadata("design:type", String)
28
- ], CancelStreamDto.prototype, "transactionSignature", void 0);
29
- __decorate([
30
- (0, swagger_1.ApiProperty)(),
31
- (0, class_validator_1.IsString)(),
32
- (0, class_validator_1.IsNotEmpty)(),
33
- __metadata("design:type", String)
34
- ], CancelStreamDto.prototype, "paymentRequestId", void 0);
35
- __decorate([
36
- (0, swagger_1.ApiProperty)(),
37
- (0, class_validator_1.IsString)(),
38
- (0, class_validator_1.IsNotEmpty)(),
39
- __metadata("design:type", String)
40
- ], CancelStreamDto.prototype, "currency", void 0);
41
- __decorate([
42
- (0, swagger_1.ApiProperty)(),
43
- (0, class_validator_1.IsNotEmpty)(),
44
- __metadata("design:type", typeof BigInt === "function" ? BigInt : Object)
45
- ], CancelStreamDto.prototype, "canceledAt", void 0);
46
- __decorate([
47
- (0, swagger_1.ApiProperty)(),
48
- (0, class_validator_1.IsString)(),
49
- (0, class_validator_1.IsNotEmpty)(),
50
- __metadata("design:type", String)
51
- ], CancelStreamDto.prototype, "paymentAccount", void 0);
52
- exports.CancelStreamDto = CancelStreamDto;
53
- //# sourceMappingURL=cancelStreamDto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cancelStreamDto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stream/dtos/cancelStreamDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,6CAA8C;AAE9C,MAAa,eAAe;CA6B3B;AAzBC;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2CACF;AAKX;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACgB;AAK7B;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACY;AAKzB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACI;AAIjB;IAFC,IAAA,qBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;;mDACM;AAKnB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACU;AA5BzB,0CA6BC"}
@@ -1,17 +0,0 @@
1
- import { CustomerDetailsDto } from '../../customer-details';
2
- import { ProductDetailsDto } from '../../product-details';
3
- export declare class CreateStreamDto {
4
- transactionSignature: string;
5
- paymentRequestId: string;
6
- sender: string;
7
- recipient: string;
8
- amount: bigint;
9
- product: string;
10
- currency: string;
11
- startedAt: bigint;
12
- endedAt: bigint;
13
- interval: number;
14
- paymentAccount: string;
15
- customerDetails: CustomerDetailsDto;
16
- productDetails: ProductDetailsDto;
17
- }
@@ -1,97 +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.CreateStreamDto = 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 customer_details_1 = require("../../customer-details");
17
- const product_details_1 = require("../../product-details");
18
- class CreateStreamDto {
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
- ], CreateStreamDto.prototype, "transactionSignature", 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
- ], CreateStreamDto.prototype, "paymentRequestId", void 0);
32
- __decorate([
33
- (0, swagger_1.ApiProperty)(),
34
- (0, class_validator_1.IsEmail)(),
35
- (0, class_validator_1.IsNotEmpty)(),
36
- __metadata("design:type", String)
37
- ], CreateStreamDto.prototype, "sender", void 0);
38
- __decorate([
39
- (0, swagger_1.ApiProperty)(),
40
- (0, class_validator_1.IsEmail)(),
41
- (0, class_validator_1.IsNotEmpty)(),
42
- __metadata("design:type", String)
43
- ], CreateStreamDto.prototype, "recipient", void 0);
44
- __decorate([
45
- (0, swagger_1.ApiProperty)(),
46
- (0, class_validator_1.IsNotEmpty)(),
47
- __metadata("design:type", typeof BigInt === "function" ? BigInt : Object)
48
- ], CreateStreamDto.prototype, "amount", void 0);
49
- __decorate([
50
- (0, swagger_1.ApiProperty)(),
51
- (0, class_validator_1.IsString)(),
52
- (0, class_validator_1.IsNotEmpty)(),
53
- __metadata("design:type", String)
54
- ], CreateStreamDto.prototype, "product", void 0);
55
- __decorate([
56
- (0, swagger_1.ApiProperty)(),
57
- (0, class_validator_1.IsString)(),
58
- (0, class_validator_1.IsNotEmpty)(),
59
- __metadata("design:type", String)
60
- ], CreateStreamDto.prototype, "currency", void 0);
61
- __decorate([
62
- (0, swagger_1.ApiProperty)(),
63
- (0, class_validator_1.IsNotEmpty)(),
64
- __metadata("design:type", typeof BigInt === "function" ? BigInt : Object)
65
- ], CreateStreamDto.prototype, "startedAt", void 0);
66
- __decorate([
67
- (0, swagger_1.ApiProperty)(),
68
- (0, class_validator_1.IsNotEmpty)(),
69
- __metadata("design:type", typeof BigInt === "function" ? BigInt : Object)
70
- ], CreateStreamDto.prototype, "endedAt", void 0);
71
- __decorate([
72
- (0, swagger_1.ApiProperty)(),
73
- (0, class_validator_1.IsNumber)(),
74
- (0, class_validator_1.IsNotEmpty)(),
75
- __metadata("design:type", Number)
76
- ], CreateStreamDto.prototype, "interval", void 0);
77
- __decorate([
78
- (0, swagger_1.ApiProperty)(),
79
- (0, class_validator_1.IsString)(),
80
- (0, class_validator_1.IsNotEmpty)(),
81
- __metadata("design:type", String)
82
- ], CreateStreamDto.prototype, "paymentAccount", void 0);
83
- __decorate([
84
- (0, class_validator_1.IsNotEmptyObject)(),
85
- (0, class_transformer_1.Type)(() => customer_details_1.CustomerDetailsDto),
86
- (0, class_validator_1.ValidateNested)(),
87
- __metadata("design:type", customer_details_1.CustomerDetailsDto)
88
- ], CreateStreamDto.prototype, "customerDetails", void 0);
89
- __decorate([
90
- (0, swagger_1.ApiProperty)(),
91
- (0, class_validator_1.IsNotEmptyObject)(),
92
- (0, class_transformer_1.Type)(() => product_details_1.ProductDetailsDto),
93
- (0, class_validator_1.ValidateNested)(),
94
- __metadata("design:type", product_details_1.ProductDetailsDto)
95
- ], CreateStreamDto.prototype, "productDetails", void 0);
96
- exports.CreateStreamDto = CreateStreamDto;
97
- //# sourceMappingURL=createStreamDto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createStreamDto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stream/dtos/createStreamDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,6CAA8C;AAC9C,yDAAyC;AACzC,6DAA4D;AAC5D,2DAA0D;AAE1D,MAAa,eAAe;CA+D3B;AA3DC;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACgB;AAK7B;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACY;AAKzB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;;+CACE;AAKf;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;;kDACK;AAIlB;IAFC,IAAA,qBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;;+CACE;AAKf;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACG;AAKhB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACI;AAIjB;IAFC,IAAA,qBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;;kDACK;AAIlB;IAFC,IAAA,qBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;;gDACG;AAKhB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACI;AAKjB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACU;AAKvB;IAHC,IAAA,kCAAgB,GAAE;IAClB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAkB,CAAC;IAC9B,IAAA,gCAAc,GAAE;8BACA,qCAAkB;wDAAC;AAMpC;IAJC,IAAA,qBAAW,GAAE;IACb,IAAA,kCAAgB,GAAE;IAClB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;8BACD,mCAAiB;uDAAC;AA9DpC,0CA+DC"}
@@ -1,3 +0,0 @@
1
- export * from './createStreamDto';
2
- export * from './cancelStreamDto';
3
- export * from './withdrawStreamDto';
@@ -1,20 +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("./createStreamDto"), exports);
18
- __exportStar(require("./cancelStreamDto"), exports);
19
- __exportStar(require("./withdrawStreamDto"), exports);
20
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stream/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,oDAAkC;AAClC,sDAAoC"}
@@ -1,7 +0,0 @@
1
- export declare class WithdrawStreamDto {
2
- id: string;
3
- transactionSignature: string;
4
- currency: string;
5
- time: bigint;
6
- paymentAccount: string;
7
- }
@@ -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.WithdrawStreamDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const swagger_1 = require("@nestjs/swagger");
15
- class WithdrawStreamDto {
16
- }
17
- __decorate([
18
- (0, swagger_1.ApiProperty)(),
19
- (0, class_validator_1.IsString)(),
20
- (0, class_validator_1.IsNotEmpty)(),
21
- __metadata("design:type", String)
22
- ], WithdrawStreamDto.prototype, "id", void 0);
23
- __decorate([
24
- (0, swagger_1.ApiProperty)(),
25
- (0, class_validator_1.IsString)(),
26
- (0, class_validator_1.IsNotEmpty)(),
27
- __metadata("design:type", String)
28
- ], WithdrawStreamDto.prototype, "transactionSignature", void 0);
29
- __decorate([
30
- (0, swagger_1.ApiProperty)(),
31
- (0, class_validator_1.IsString)(),
32
- (0, class_validator_1.IsNotEmpty)(),
33
- __metadata("design:type", String)
34
- ], WithdrawStreamDto.prototype, "currency", void 0);
35
- __decorate([
36
- (0, swagger_1.ApiProperty)(),
37
- (0, class_validator_1.IsNotEmpty)(),
38
- __metadata("design:type", typeof BigInt === "function" ? BigInt : Object)
39
- ], WithdrawStreamDto.prototype, "time", void 0);
40
- __decorate([
41
- (0, swagger_1.ApiProperty)(),
42
- (0, class_validator_1.IsString)(),
43
- (0, class_validator_1.IsNotEmpty)(),
44
- __metadata("design:type", String)
45
- ], WithdrawStreamDto.prototype, "paymentAccount", void 0);
46
- exports.WithdrawStreamDto = WithdrawStreamDto;
47
- //# sourceMappingURL=withdrawStreamDto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"withdrawStreamDto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stream/dtos/withdrawStreamDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,6CAA8C;AAE9C,MAAa,iBAAiB;CAwB7B;AApBC;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6CACF;AAKX;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACgB;AAK7B;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACI;AAIjB;IAFC,IAAA,qBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;;+CACA;AAKb;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACU;AAvBzB,8CAwBC"}