@heliofi/common 0.1.3 → 0.1.4
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.
- package/dist/src/domain/constants/emailValidation.d.ts +1 -0
- package/dist/src/domain/constants/emailValidation.js +5 -0
- package/dist/src/domain/constants/emailValidation.js.map +1 -0
- package/dist/src/domain/constants/index.d.ts +2 -1
- package/dist/src/domain/constants/index.js +16 -2
- package/dist/src/domain/constants/index.js.map +1 -1
- package/dist/src/domain/constants/orderDirection.d.ts +6 -0
- package/dist/src/domain/constants/orderDirection.js +17 -0
- package/dist/src/domain/constants/orderDirection.js.map +1 -0
- package/dist/src/domain/model/index.d.ts +6 -0
- package/dist/src/domain/model/index.js +6 -0
- package/dist/src/domain/model/index.js.map +1 -1
- package/dist/src/domain/model/paylink/entities/PaylinkStats.d.ts +5 -0
- package/dist/src/domain/model/paylink/entities/PaylinkStats.js +7 -0
- package/dist/src/domain/model/paylink/entities/PaylinkStats.js.map +1 -0
- package/dist/src/domain/model/paylink/entities/index.d.ts +1 -0
- package/dist/src/domain/model/paylink/entities/index.js +1 -0
- package/dist/src/domain/model/paylink/entities/index.js.map +1 -1
- package/dist/src/domain/model/payment-request/entities/ShallowEnrichedPaymentRequest.d.ts +3 -0
- package/dist/src/domain/model/payment-request/entities/ShallowEnrichedPaymentRequest.js.map +1 -1
- package/dist/src/domain/model/paystream/dtos/createPaystream.dto.d.ts +17 -0
- package/dist/src/domain/model/paystream/dtos/createPaystream.dto.js +91 -0
- package/dist/src/domain/model/paystream/dtos/createPaystream.dto.js.map +1 -0
- package/dist/src/domain/model/paystream/dtos/index.d.ts +2 -0
- package/dist/src/domain/model/paystream/dtos/index.js +19 -0
- package/dist/src/domain/model/paystream/dtos/index.js.map +1 -0
- package/dist/src/domain/model/paystream/dtos/updatePaystream.dto.d.ts +15 -0
- package/dist/src/domain/model/paystream/dtos/updatePaystream.dto.js +80 -0
- package/dist/src/domain/model/paystream/dtos/updatePaystream.dto.js.map +1 -0
- package/dist/src/domain/model/paystream/entities/BasePaystream.d.ts +7 -0
- package/dist/src/domain/model/paystream/entities/BasePaystream.js +8 -0
- package/dist/src/domain/model/paystream/entities/BasePaystream.js.map +1 -0
- package/dist/src/domain/model/paystream/entities/IntervalType.d.ts +9 -0
- package/dist/src/domain/model/paystream/entities/IntervalType.js +14 -0
- package/dist/src/domain/model/paystream/entities/IntervalType.js.map +1 -0
- package/dist/src/domain/model/paystream/entities/Paystream.d.ts +7 -0
- package/dist/src/domain/model/paystream/entities/Paystream.js +8 -0
- package/dist/src/domain/model/paystream/entities/Paystream.js.map +1 -0
- package/dist/src/domain/model/paystream/entities/ShallowEnrichedPaystream.d.ts +7 -0
- package/dist/src/domain/model/paystream/entities/ShallowEnrichedPaystream.js +8 -0
- package/dist/src/domain/model/paystream/entities/ShallowEnrichedPaystream.js.map +1 -0
- package/dist/src/domain/model/paystream/entities/index.d.ts +4 -0
- package/dist/src/domain/model/paystream/entities/index.js +21 -0
- package/dist/src/domain/model/paystream/entities/index.js.map +1 -0
- package/dist/src/domain/model/paystream/index.d.ts +2 -0
- package/dist/src/domain/model/paystream/index.js +19 -0
- package/dist/src/domain/model/paystream/index.js.map +1 -0
- package/dist/src/domain/model/paystream-tx/dtos/createPaystreamTxDto.d.ts +10 -0
- package/dist/src/domain/model/paystream-tx/dtos/createPaystreamTxDto.js +51 -0
- package/dist/src/domain/model/paystream-tx/dtos/createPaystreamTxDto.js.map +1 -0
- package/dist/src/domain/model/paystream-tx/dtos/index.d.ts +2 -0
- package/dist/src/domain/model/paystream-tx/dtos/index.js +19 -0
- package/dist/src/domain/model/paystream-tx/dtos/index.js.map +1 -0
- package/dist/src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.d.ts +5 -0
- package/dist/src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.js +29 -0
- package/dist/src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.js.map +1 -0
- package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTx.d.ts +10 -0
- package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTx.js +8 -0
- package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTx.js.map +1 -0
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.d.ts +7 -0
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.js +8 -0
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.js.map +1 -0
- package/dist/src/domain/model/paystream-tx/entities/index.d.ts +2 -0
- package/dist/src/domain/model/paystream-tx/entities/index.js +19 -0
- package/dist/src/domain/model/paystream-tx/entities/index.js.map +1 -0
- package/dist/src/domain/model/paystream-tx/index.d.ts +2 -0
- package/dist/src/domain/model/paystream-tx/index.js +19 -0
- package/dist/src/domain/model/paystream-tx/index.js.map +1 -0
- package/dist/src/domain/model/stream/dtos/cancelStream.dto.d.ts +8 -0
- package/dist/src/domain/model/stream/dtos/cancelStream.dto.js +46 -0
- package/dist/src/domain/model/stream/dtos/cancelStream.dto.js.map +1 -0
- package/dist/src/domain/model/stream/dtos/createStream.dto.d.ts +17 -0
- package/dist/src/domain/model/stream/dtos/createStream.dto.js +84 -0
- package/dist/src/domain/model/stream/dtos/createStream.dto.js.map +1 -0
- package/dist/src/domain/model/stream/dtos/index.d.ts +3 -0
- package/dist/src/domain/model/stream/dtos/index.js +20 -0
- package/dist/src/domain/model/stream/dtos/index.js.map +1 -0
- package/dist/src/domain/model/stream/dtos/withdrawStream.dto.d.ts +7 -0
- package/dist/src/domain/model/stream/dtos/withdrawStream.dto.js +41 -0
- package/dist/src/domain/model/stream/dtos/withdrawStream.dto.js.map +1 -0
- package/dist/src/domain/model/stream/index.d.ts +1 -0
- package/dist/src/domain/model/stream/index.js +18 -0
- package/dist/src/domain/model/stream/index.js.map +1 -0
- package/dist/src/domain/model/stream-event/dtos/createStreamEventDto.d.ts +4 -0
- package/dist/src/domain/model/stream-event/dtos/createStreamEventDto.js +26 -0
- package/dist/src/domain/model/stream-event/dtos/createStreamEventDto.js.map +1 -0
- package/dist/src/domain/model/stream-event/dtos/index.d.ts +2 -0
- package/dist/src/domain/model/stream-event/dtos/index.js +19 -0
- package/dist/src/domain/model/stream-event/dtos/index.js.map +1 -0
- package/dist/src/domain/model/stream-event/dtos/updateStreamEventDto.d.ts +4 -0
- package/dist/src/domain/model/stream-event/dtos/updateStreamEventDto.js +26 -0
- package/dist/src/domain/model/stream-event/dtos/updateStreamEventDto.js.map +1 -0
- package/dist/src/domain/model/stream-event/entities/StreamEvent.d.ts +4 -0
- package/dist/src/domain/model/stream-event/entities/StreamEvent.js +7 -0
- package/dist/src/domain/model/stream-event/entities/StreamEvent.js.map +1 -0
- package/dist/src/domain/model/stream-event/entities/index.d.ts +1 -0
- package/dist/src/domain/model/stream-event/entities/index.js +18 -0
- package/dist/src/domain/model/stream-event/entities/index.js.map +1 -0
- package/dist/src/domain/model/stream-event/index.d.ts +2 -0
- package/dist/src/domain/model/stream-event/index.js +19 -0
- package/dist/src/domain/model/stream-event/index.js.map +1 -0
- package/dist/src/domain/model/stream-features/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/stream-features/dtos/index.js +18 -0
- package/dist/src/domain/model/stream-features/dtos/index.js.map +1 -0
- package/dist/src/domain/model/stream-features/dtos/streamFeaturesDto.d.ts +9 -0
- package/dist/src/domain/model/stream-features/dtos/streamFeaturesDto.js +52 -0
- package/dist/src/domain/model/stream-features/dtos/streamFeaturesDto.js.map +1 -0
- package/dist/src/domain/model/stream-features/entities/StreamFeatures.d.ts +3 -0
- package/dist/src/domain/model/stream-features/entities/StreamFeatures.js +8 -0
- package/dist/src/domain/model/stream-features/entities/StreamFeatures.js.map +1 -0
- package/dist/src/domain/model/stream-features/entities/index.d.ts +1 -0
- package/dist/src/domain/model/stream-features/entities/index.js +18 -0
- package/dist/src/domain/model/stream-features/entities/index.js.map +1 -0
- package/dist/src/domain/model/stream-features/index.d.ts +2 -0
- package/dist/src/domain/model/stream-features/index.js +19 -0
- package/dist/src/domain/model/stream-features/index.js.map +1 -0
- package/dist/src/domain/model/withdrawal/dtos/createWithdrawalDto.d.ts +6 -0
- package/dist/src/domain/model/withdrawal/dtos/createWithdrawalDto.js +35 -0
- package/dist/src/domain/model/withdrawal/dtos/createWithdrawalDto.js.map +1 -0
- package/dist/src/domain/model/withdrawal/dtos/index.d.ts +2 -0
- package/dist/src/domain/model/withdrawal/dtos/index.js +19 -0
- package/dist/src/domain/model/withdrawal/dtos/index.js.map +1 -0
- package/dist/src/domain/model/withdrawal/dtos/updateWithdrawalDto.d.ts +3 -0
- package/dist/src/domain/model/withdrawal/dtos/updateWithdrawalDto.js +21 -0
- package/dist/src/domain/model/withdrawal/dtos/updateWithdrawalDto.js.map +1 -0
- package/dist/src/domain/model/withdrawal/entities/BaseWithdrawal.d.ts +4 -0
- package/dist/src/domain/model/withdrawal/entities/BaseWithdrawal.js +7 -0
- package/dist/src/domain/model/withdrawal/entities/BaseWithdrawal.js.map +1 -0
- package/dist/src/domain/model/withdrawal/entities/Withdrawal.d.ts +5 -0
- package/dist/src/domain/model/withdrawal/entities/Withdrawal.js +8 -0
- package/dist/src/domain/model/withdrawal/entities/Withdrawal.js.map +1 -0
- package/dist/src/domain/model/withdrawal/entities/index.d.ts +2 -0
- package/dist/src/domain/model/withdrawal/entities/index.js +19 -0
- package/dist/src/domain/model/withdrawal/entities/index.js.map +1 -0
- package/dist/src/domain/model/withdrawal/index.d.ts +2 -0
- package/dist/src/domain/model/withdrawal/index.js +19 -0
- package/dist/src/domain/model/withdrawal/index.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -4
|
@@ -0,0 +1 @@
|
|
|
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;AAxBC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,2CAAwB,CAAC;IACpC,IAAA,gCAAc,GAAE;8BACX,2CAAwB;kDAAC;AAE/B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACU;AAEvB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,2BAAoB,CAAC;IAChC,IAAA,gCAAc,GAAE;8BACN,2BAAoB;uDAAC;AAEhC;IAAC,IAAA,4BAAU,GAAE;;qDACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACI;AAxBnB,oDAyBC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream-tx/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,yDAAuC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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", BigInt)
|
|
27
|
+
], UpdatePaystreamTxDto.prototype, "endedAt", void 0);
|
|
28
|
+
exports.UpdatePaystreamTxDto = UpdatePaystreamTxDto;
|
|
29
|
+
//# sourceMappingURL=updatePaystreamTxDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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;AAPC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,2BAAoB,CAAC;IAChC,IAAA,gCAAc,GAAE;8BACJ,2BAAoB;wDAAC;AAElC;IAAC,IAAA,4BAAU,GAAE;;qDACI;AAPnB,oDAQC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream-tx/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,oDAAkC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream-tx/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
class CancelStreamDto {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsString)(),
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], CancelStreamDto.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsString)(),
|
|
23
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], CancelStreamDto.prototype, "transactionSignature", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], CancelStreamDto.prototype, "paymentRequestId", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsString)(),
|
|
33
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], CancelStreamDto.prototype, "currency", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
38
|
+
__metadata("design:type", BigInt)
|
|
39
|
+
], CancelStreamDto.prototype, "canceledAt", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsString)(),
|
|
42
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], CancelStreamDto.prototype, "paymentAccount", void 0);
|
|
45
|
+
exports.CancelStreamDto = CancelStreamDto;
|
|
46
|
+
//# sourceMappingURL=cancelStream.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancelStream.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stream/dtos/cancelStream.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,eAAe;CAuB3B;AAtBC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2CACF;AAEX;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACgB;AAE7B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACI;AAEjB;IAAC,IAAA,4BAAU,GAAE;;mDACM;AAEnB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACU;AAtBzB,0CAuBC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
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 class_transformer_1 = require("class-transformer");
|
|
15
|
+
const customer_details_1 = require("../../customer-details");
|
|
16
|
+
const product_details_1 = require("../../product-details");
|
|
17
|
+
class CreateStreamDto {
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], CreateStreamDto.prototype, "transactionSignature", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], CreateStreamDto.prototype, "paymentRequestId", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsEmail)(),
|
|
31
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], CreateStreamDto.prototype, "sender", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsEmail)(),
|
|
36
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], CreateStreamDto.prototype, "recipient", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
41
|
+
__metadata("design:type", BigInt)
|
|
42
|
+
], CreateStreamDto.prototype, "amount", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsString)(),
|
|
45
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], CreateStreamDto.prototype, "product", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_validator_1.IsString)(),
|
|
50
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], CreateStreamDto.prototype, "currency", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
55
|
+
__metadata("design:type", BigInt)
|
|
56
|
+
], CreateStreamDto.prototype, "startedAt", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
59
|
+
__metadata("design:type", BigInt)
|
|
60
|
+
], CreateStreamDto.prototype, "endedAt", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_validator_1.IsNumber)(),
|
|
63
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
64
|
+
__metadata("design:type", Number)
|
|
65
|
+
], CreateStreamDto.prototype, "interval", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_validator_1.IsString)(),
|
|
68
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
69
|
+
__metadata("design:type", String)
|
|
70
|
+
], CreateStreamDto.prototype, "paymentAccount", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, class_validator_1.IsNotEmptyObject)(),
|
|
73
|
+
(0, class_transformer_1.Type)(() => customer_details_1.CustomerDetailsDto),
|
|
74
|
+
(0, class_validator_1.ValidateNested)(),
|
|
75
|
+
__metadata("design:type", customer_details_1.CustomerDetailsDto)
|
|
76
|
+
], CreateStreamDto.prototype, "customerDetails", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, class_validator_1.IsNotEmptyObject)(),
|
|
79
|
+
(0, class_transformer_1.Type)(() => product_details_1.ProductDetailsDto),
|
|
80
|
+
(0, class_validator_1.ValidateNested)(),
|
|
81
|
+
__metadata("design:type", product_details_1.ProductDetailsDto)
|
|
82
|
+
], CreateStreamDto.prototype, "productDetails", void 0);
|
|
83
|
+
exports.CreateStreamDto = CreateStreamDto;
|
|
84
|
+
//# sourceMappingURL=createStream.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createStream.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stream/dtos/createStream.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAyC;AACzC,6DAA4D;AAC5D,2DAA0D;AAE1D,MAAa,eAAe;CAmD3B;AAlDC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACgB;AAE7B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACY;AAEzB;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;;+CACE;AAEf;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;;kDACK;AAElB;IAAC,IAAA,4BAAU,GAAE;;+CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACI;AAEjB;IAAC,IAAA,4BAAU,GAAE;;kDACK;AAElB;IAAC,IAAA,4BAAU,GAAE;;gDACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACU;AAEvB;IAAC,IAAA,kCAAgB,GAAE;IAClB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAkB,CAAC;IAC9B,IAAA,gCAAc,GAAE;8BACA,qCAAkB;wDAAC;AAEpC;IAAC,IAAA,kCAAgB,GAAE;IAClB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;8BACD,mCAAiB;uDAAC;AAlDpC,0CAmDC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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("./createStream.dto"), exports);
|
|
18
|
+
__exportStar(require("./cancelStream.dto"), exports);
|
|
19
|
+
__exportStar(require("./withdrawStream.dto"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stream/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,qDAAmC;AACnC,uDAAqC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
class WithdrawStreamDto {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsString)(),
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], WithdrawStreamDto.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsString)(),
|
|
23
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], WithdrawStreamDto.prototype, "transactionSignature", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], WithdrawStreamDto.prototype, "currency", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
33
|
+
__metadata("design:type", BigInt)
|
|
34
|
+
], WithdrawStreamDto.prototype, "time", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsString)(),
|
|
37
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], WithdrawStreamDto.prototype, "paymentAccount", void 0);
|
|
40
|
+
exports.WithdrawStreamDto = WithdrawStreamDto;
|
|
41
|
+
//# sourceMappingURL=withdrawStream.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withdrawStream.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stream/dtos/withdrawStream.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,iBAAiB;CAmB7B;AAlBC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6CACF;AAEX;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACgB;AAE7B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACI;AAEjB;IAAC,IAAA,4BAAU,GAAE;;+CACA;AAEb;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACU;AAlBzB,8CAmBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dtos';
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/stream/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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.CreateStreamEventDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class CreateStreamEventDto {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsString)(),
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], CreateStreamEventDto.prototype, "transactionSignature", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
23
|
+
__metadata("design:type", BigInt)
|
|
24
|
+
], CreateStreamEventDto.prototype, "timestamp", void 0);
|
|
25
|
+
exports.CreateStreamEventDto = CreateStreamEventDto;
|
|
26
|
+
//# sourceMappingURL=createStreamEventDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createStreamEventDto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stream-event/dtos/createStreamEventDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,oBAAoB;CAOhC;AANC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kEACgB;AAE7B;IAAC,IAAA,4BAAU,GAAE;;uDACK;AANpB,oDAOC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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("./createStreamEventDto"), exports);
|
|
18
|
+
__exportStar(require("./updateStreamEventDto"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stream-event/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,yDAAuC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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.UpdateStreamEventDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class UpdateStreamEventDto {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsString)(),
|
|
18
|
+
(0, class_validator_1.IsOptional)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], UpdateStreamEventDto.prototype, "transactionSignature", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], UpdateStreamEventDto.prototype, "timestamp", void 0);
|
|
25
|
+
exports.UpdateStreamEventDto = UpdateStreamEventDto;
|
|
26
|
+
//# sourceMappingURL=updateStreamEventDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateStreamEventDto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stream-event/dtos/updateStreamEventDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,oBAAoB;CAOhC;AANC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kEACiB;AAE9B;IAAC,IAAA,4BAAU,GAAE;;uDACM;AANrB,oDAOC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StreamEvent.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stream-event/entities/StreamEvent.ts"],"names":[],"mappings":";;;AAAA,MAAa,WAAW;CAIvB;AAJD,kCAIC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './StreamEvent';
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./StreamEvent"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stream-event/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
|