@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,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/stream-event/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './streamFeaturesDto';
|
|
@@ -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("./streamFeaturesDto"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stream-features/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare class StreamFeaturesDto {
|
|
2
|
+
requireEmail?: boolean;
|
|
3
|
+
requireDiscordUsername?: boolean;
|
|
4
|
+
requireFullName?: boolean;
|
|
5
|
+
requireTwitterUsername?: boolean;
|
|
6
|
+
requireCountry?: boolean;
|
|
7
|
+
requireDeliveryAddress?: boolean;
|
|
8
|
+
requirePhoneNumber?: boolean;
|
|
9
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.StreamFeaturesDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class StreamFeaturesDto {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsBoolean)(),
|
|
18
|
+
(0, class_validator_1.IsOptional)(),
|
|
19
|
+
__metadata("design:type", Boolean)
|
|
20
|
+
], StreamFeaturesDto.prototype, "requireEmail", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsBoolean)(),
|
|
23
|
+
(0, class_validator_1.IsOptional)(),
|
|
24
|
+
__metadata("design:type", Boolean)
|
|
25
|
+
], StreamFeaturesDto.prototype, "requireDiscordUsername", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsBoolean)(),
|
|
28
|
+
(0, class_validator_1.IsOptional)(),
|
|
29
|
+
__metadata("design:type", Boolean)
|
|
30
|
+
], StreamFeaturesDto.prototype, "requireFullName", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsBoolean)(),
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
__metadata("design:type", Boolean)
|
|
35
|
+
], StreamFeaturesDto.prototype, "requireTwitterUsername", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsBoolean)(),
|
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
|
39
|
+
__metadata("design:type", Boolean)
|
|
40
|
+
], StreamFeaturesDto.prototype, "requireCountry", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsBoolean)(),
|
|
43
|
+
(0, class_validator_1.IsOptional)(),
|
|
44
|
+
__metadata("design:type", Boolean)
|
|
45
|
+
], StreamFeaturesDto.prototype, "requireDeliveryAddress", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_validator_1.IsBoolean)(),
|
|
48
|
+
(0, class_validator_1.IsOptional)(),
|
|
49
|
+
__metadata("design:type", Boolean)
|
|
50
|
+
], StreamFeaturesDto.prototype, "requirePhoneNumber", void 0);
|
|
51
|
+
exports.StreamFeaturesDto = StreamFeaturesDto;
|
|
52
|
+
//# sourceMappingURL=streamFeaturesDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"streamFeaturesDto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stream-features/dtos/streamFeaturesDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AAExD,MAAa,iBAAiB;CA4B7B;AA3BC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;uDACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACa;AAE1B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yDACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACgB;AA3B/B,8CA4BC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StreamFeatures = void 0;
|
|
4
|
+
const payment_request_features_1 = require("../../payment-request-features");
|
|
5
|
+
class StreamFeatures extends payment_request_features_1.PaymentRequestFeatures {
|
|
6
|
+
}
|
|
7
|
+
exports.StreamFeatures = StreamFeatures;
|
|
8
|
+
//# sourceMappingURL=StreamFeatures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StreamFeatures.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stream-features/entities/StreamFeatures.ts"],"names":[],"mappings":";;;AAAA,6EAAwE;AAExE,MAAa,cAAe,SAAQ,iDAAsB;CAAG;AAA7D,wCAA6D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './StreamFeatures';
|
|
@@ -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("./StreamFeatures"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stream-features/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC"}
|
|
@@ -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/stream-features/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.CreateWithdrawalDto = 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 CreateWithdrawalDto {
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], CreateWithdrawalDto.prototype, "paystreamTxId", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", BigInt)
|
|
26
|
+
], CreateWithdrawalDto.prototype, "amount", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
+
(0, class_transformer_1.Type)(() => dtos_1.CreateStreamEventDto),
|
|
31
|
+
(0, class_validator_1.ValidateNested)(),
|
|
32
|
+
__metadata("design:type", dtos_1.CreateStreamEventDto)
|
|
33
|
+
], CreateWithdrawalDto.prototype, "event", void 0);
|
|
34
|
+
exports.CreateWithdrawalDto = CreateWithdrawalDto;
|
|
35
|
+
//# sourceMappingURL=createWithdrawalDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createWithdrawalDto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdrawal/dtos/createWithdrawalDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAAuE;AACvE,kDAA+D;AAE/D,MAAa,mBAAmB;CAa/B;AAZC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACS;AAEtB;IAAC,IAAA,4BAAU,GAAE;;mDACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,2BAAoB,CAAC;IAChC,IAAA,gCAAc,GAAE;8BACV,2BAAoB;kDAAC;AAZ9B,kDAaC"}
|
|
@@ -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("./updateWithdrawalDto"), exports);
|
|
18
|
+
__exportStar(require("./createWithdrawalDto"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdrawal/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,wDAAsC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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.UpdateWithdrawalDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class UpdateWithdrawalDto {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
18
|
+
__metadata("design:type", BigInt)
|
|
19
|
+
], UpdateWithdrawalDto.prototype, "amount", void 0);
|
|
20
|
+
exports.UpdateWithdrawalDto = UpdateWithdrawalDto;
|
|
21
|
+
//# sourceMappingURL=updateWithdrawalDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateWithdrawalDto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdrawal/dtos/updateWithdrawalDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAE7C,MAAa,mBAAmB;CAG/B;AAFC;IAAC,IAAA,4BAAU,GAAE;;mDACE;AAFjB,kDAGC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseWithdrawal.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdrawal/entities/BaseWithdrawal.ts"],"names":[],"mappings":";;;AAAA,MAAa,cAAc;CAI1B;AAJD,wCAIC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Withdrawal = void 0;
|
|
4
|
+
const BaseWithdrawal_1 = require("./BaseWithdrawal");
|
|
5
|
+
class Withdrawal extends BaseWithdrawal_1.BaseWithdrawal {
|
|
6
|
+
}
|
|
7
|
+
exports.Withdrawal = Withdrawal;
|
|
8
|
+
//# sourceMappingURL=Withdrawal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Withdrawal.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdrawal/entities/Withdrawal.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAElD,MAAa,UAAW,SAAQ,+BAAc;CAE7C;AAFD,gCAEC"}
|
|
@@ -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("./Withdrawal"), exports);
|
|
18
|
+
__exportStar(require("./BaseWithdrawal"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdrawal/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,mDAAiC"}
|
|
@@ -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/withdrawal/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
|