@heliofi/common 0.0.14-alpha.0 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/domain/model/index.d.ts +0 -6
- package/dist/domain/model/index.js +0 -6
- package/dist/domain/model/index.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/src/domain/model/attachment/entities/index.d.ts +1 -1
- package/dist/src/domain/model/attachment/entities/index.js +1 -3
- package/dist/src/domain/model/attachment/entities/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/user/dtos/index.d.ts +1 -1
- package/dist/src/domain/model/user/dtos/index.js +1 -3
- package/dist/src/domain/model/user/dtos/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/index.ts +1 -0
- package/package.json +3 -3
- package/tsconfig.tsbuildinfo +1 -1
- package/yarn-error.log +5475 -0
- package/dist/domain/model/paystream/dtos/createPaystreamDto.d.ts +0 -16
- package/dist/domain/model/paystream/dtos/createPaystreamDto.js +0 -94
- package/dist/domain/model/paystream/dtos/createPaystreamDto.js.map +0 -1
- package/dist/domain/model/paystream/dtos/index.d.ts +0 -2
- package/dist/domain/model/paystream/dtos/index.js +0 -19
- package/dist/domain/model/paystream/dtos/index.js.map +0 -1
- package/dist/domain/model/paystream/dtos/updatePaystreamDto.d.ts +0 -14
- package/dist/domain/model/paystream/dtos/updatePaystreamDto.js +0 -87
- package/dist/domain/model/paystream/dtos/updatePaystreamDto.js.map +0 -1
- package/dist/domain/model/paystream/entities/BasePaystream.d.ts +0 -7
- package/dist/domain/model/paystream/entities/BasePaystream.js +0 -8
- package/dist/domain/model/paystream/entities/BasePaystream.js.map +0 -1
- package/dist/domain/model/paystream/entities/IntervalType.enum.d.ts +0 -9
- package/dist/domain/model/paystream/entities/IntervalType.enum.js +0 -14
- package/dist/domain/model/paystream/entities/IntervalType.enum.js.map +0 -1
- package/dist/domain/model/paystream/entities/Paystream.d.ts +0 -7
- package/dist/domain/model/paystream/entities/Paystream.js +0 -8
- package/dist/domain/model/paystream/entities/Paystream.js.map +0 -1
- package/dist/domain/model/paystream/entities/ShallowEnrichedPaystream.d.ts +0 -7
- package/dist/domain/model/paystream/entities/ShallowEnrichedPaystream.js +0 -8
- package/dist/domain/model/paystream/entities/ShallowEnrichedPaystream.js.map +0 -1
- package/dist/domain/model/paystream/entities/index.d.ts +0 -4
- package/dist/domain/model/paystream/entities/index.js +0 -21
- package/dist/domain/model/paystream/entities/index.js.map +0 -1
- package/dist/domain/model/paystream/index.d.ts +0 -2
- package/dist/domain/model/paystream/index.js +0 -19
- package/dist/domain/model/paystream/index.js.map +0 -1
- package/dist/domain/model/paystream-tx/dtos/createPaystreamTxDto.d.ts +0 -9
- package/dist/domain/model/paystream-tx/dtos/createPaystreamTxDto.js +0 -47
- package/dist/domain/model/paystream-tx/dtos/createPaystreamTxDto.js.map +0 -1
- package/dist/domain/model/paystream-tx/dtos/index.d.ts +0 -2
- package/dist/domain/model/paystream-tx/dtos/index.js +0 -19
- package/dist/domain/model/paystream-tx/dtos/index.js.map +0 -1
- package/dist/domain/model/paystream-tx/dtos/updatePaystreamTxDto.d.ts +0 -5
- package/dist/domain/model/paystream-tx/dtos/updatePaystreamTxDto.js +0 -30
- package/dist/domain/model/paystream-tx/dtos/updatePaystreamTxDto.js.map +0 -1
- package/dist/domain/model/paystream-tx/entities/BasePaystreamTx.d.ts +0 -9
- package/dist/domain/model/paystream-tx/entities/BasePaystreamTx.js +0 -8
- package/dist/domain/model/paystream-tx/entities/BasePaystreamTx.js.map +0 -1
- package/dist/domain/model/paystream-tx/entities/PaystreamTx.d.ts +0 -9
- package/dist/domain/model/paystream-tx/entities/PaystreamTx.js +0 -8
- package/dist/domain/model/paystream-tx/entities/PaystreamTx.js.map +0 -1
- package/dist/domain/model/paystream-tx/entities/ShallowEnrichedPaystreamTx.d.ts +0 -7
- package/dist/domain/model/paystream-tx/entities/ShallowEnrichedPaystreamTx.js +0 -8
- package/dist/domain/model/paystream-tx/entities/ShallowEnrichedPaystreamTx.js.map +0 -1
- package/dist/domain/model/paystream-tx/entities/index.d.ts +0 -3
- package/dist/domain/model/paystream-tx/entities/index.js +0 -20
- package/dist/domain/model/paystream-tx/entities/index.js.map +0 -1
- package/dist/domain/model/paystream-tx/index.d.ts +0 -2
- package/dist/domain/model/paystream-tx/index.js +0 -19
- package/dist/domain/model/paystream-tx/index.js.map +0 -1
- package/dist/domain/model/stream/dtos/cancelStreamDto.d.ts +0 -8
- package/dist/domain/model/stream/dtos/cancelStreamDto.js +0 -54
- package/dist/domain/model/stream/dtos/cancelStreamDto.js.map +0 -1
- package/dist/domain/model/stream/dtos/createStreamDto.d.ts +0 -15
- package/dist/domain/model/stream/dtos/createStreamDto.js +0 -91
- package/dist/domain/model/stream/dtos/createStreamDto.js.map +0 -1
- package/dist/domain/model/stream/dtos/index.d.ts +0 -3
- package/dist/domain/model/stream/dtos/index.js +0 -20
- package/dist/domain/model/stream/dtos/index.js.map +0 -1
- package/dist/domain/model/stream/dtos/withdrawStreamDto.d.ts +0 -8
- package/dist/domain/model/stream/dtos/withdrawStreamDto.js +0 -53
- package/dist/domain/model/stream/dtos/withdrawStreamDto.js.map +0 -1
- package/dist/domain/model/stream/index.d.ts +0 -1
- package/dist/domain/model/stream/index.js +0 -18
- package/dist/domain/model/stream/index.js.map +0 -1
- package/dist/domain/model/stream-event/dtos/createStreamEventDto.d.ts +0 -4
- package/dist/domain/model/stream-event/dtos/createStreamEventDto.js +0 -27
- package/dist/domain/model/stream-event/dtos/createStreamEventDto.js.map +0 -1
- package/dist/domain/model/stream-event/dtos/index.d.ts +0 -1
- package/dist/domain/model/stream-event/dtos/index.js +0 -18
- package/dist/domain/model/stream-event/dtos/index.js.map +0 -1
- package/dist/domain/model/stream-event/dtos/updateStreamEventDto copy.d.ts +0 -4
- package/dist/domain/model/stream-event/dtos/updateStreamEventDto copy.js +0 -27
- package/dist/domain/model/stream-event/dtos/updateStreamEventDto copy.js.map +0 -1
- package/dist/domain/model/stream-event/entities/StreamEvent.d.ts +0 -4
- package/dist/domain/model/stream-event/entities/StreamEvent.js +0 -7
- package/dist/domain/model/stream-event/entities/StreamEvent.js.map +0 -1
- package/dist/domain/model/stream-event/entities/index.d.ts +0 -1
- package/dist/domain/model/stream-event/entities/index.js +0 -18
- package/dist/domain/model/stream-event/entities/index.js.map +0 -1
- package/dist/domain/model/stream-event/index.d.ts +0 -2
- package/dist/domain/model/stream-event/index.js +0 -19
- package/dist/domain/model/stream-event/index.js.map +0 -1
- package/dist/domain/model/stream-features/dtos/index.d.ts +0 -1
- package/dist/domain/model/stream-features/dtos/index.js +0 -18
- package/dist/domain/model/stream-features/dtos/index.js.map +0 -1
- package/dist/domain/model/stream-features/dtos/streamFeaturesDto.d.ts +0 -9
- package/dist/domain/model/stream-features/dtos/streamFeaturesDto.js +0 -52
- package/dist/domain/model/stream-features/dtos/streamFeaturesDto.js.map +0 -1
- package/dist/domain/model/stream-features/entities/StreamFeatures.d.ts +0 -3
- package/dist/domain/model/stream-features/entities/StreamFeatures.js +0 -8
- package/dist/domain/model/stream-features/entities/StreamFeatures.js.map +0 -1
- package/dist/domain/model/stream-features/entities/index.d.ts +0 -1
- package/dist/domain/model/stream-features/entities/index.js +0 -18
- package/dist/domain/model/stream-features/entities/index.js.map +0 -1
- package/dist/domain/model/stream-features/index.d.ts +0 -2
- package/dist/domain/model/stream-features/index.js +0 -19
- package/dist/domain/model/stream-features/index.js.map +0 -1
- package/dist/domain/model/withdrawal/dtos/createWithdrawalDto.d.ts +0 -6
- package/dist/domain/model/withdrawal/dtos/createWithdrawalDto.js +0 -35
- package/dist/domain/model/withdrawal/dtos/createWithdrawalDto.js.map +0 -1
- package/dist/domain/model/withdrawal/dtos/index.d.ts +0 -2
- package/dist/domain/model/withdrawal/dtos/index.js +0 -19
- package/dist/domain/model/withdrawal/dtos/index.js.map +0 -1
- package/dist/domain/model/withdrawal/dtos/updateWithdrawalDto.d.ts +0 -3
- package/dist/domain/model/withdrawal/dtos/updateWithdrawalDto.js +0 -21
- package/dist/domain/model/withdrawal/dtos/updateWithdrawalDto.js.map +0 -1
- package/dist/domain/model/withdrawal/entities/BaseWithdrawal.d.ts +0 -4
- package/dist/domain/model/withdrawal/entities/BaseWithdrawal.js +0 -7
- package/dist/domain/model/withdrawal/entities/BaseWithdrawal.js.map +0 -1
- package/dist/domain/model/withdrawal/entities/Withdrawal.d.ts +0 -5
- package/dist/domain/model/withdrawal/entities/Withdrawal.js +0 -8
- package/dist/domain/model/withdrawal/entities/Withdrawal.js.map +0 -1
- package/dist/domain/model/withdrawal/entities/index.d.ts +0 -2
- package/dist/domain/model/withdrawal/entities/index.js +0 -19
- package/dist/domain/model/withdrawal/entities/index.js.map +0 -1
- package/dist/domain/model/withdrawal/index.d.ts +0 -2
- package/dist/domain/model/withdrawal/index.js +0 -19
- package/dist/domain/model/withdrawal/index.js.map +0 -1
- package/dist/src/domain/model/attachment/entities/AttachmentType.d.ts +0 -3
- package/dist/src/domain/model/attachment/entities/AttachmentType.js +0 -8
- package/dist/src/domain/model/attachment/entities/AttachmentType.js.map +0 -1
- package/dist/src/domain/model/paystream/dtos/createPaystreamDto.d.ts +0 -17
- package/dist/src/domain/model/paystream/dtos/createPaystreamDto.js +0 -105
- package/dist/src/domain/model/paystream/dtos/createPaystreamDto.js.map +0 -1
- package/dist/src/domain/model/paystream/dtos/index.d.ts +0 -2
- package/dist/src/domain/model/paystream/dtos/index.js +0 -19
- package/dist/src/domain/model/paystream/dtos/index.js.map +0 -1
- package/dist/src/domain/model/paystream/dtos/updatePaystreamDto.d.ts +0 -15
- package/dist/src/domain/model/paystream/dtos/updatePaystreamDto.js +0 -93
- package/dist/src/domain/model/paystream/dtos/updatePaystreamDto.js.map +0 -1
- package/dist/src/domain/model/paystream/entities/BasePaystream.d.ts +0 -7
- package/dist/src/domain/model/paystream/entities/BasePaystream.js +0 -8
- package/dist/src/domain/model/paystream/entities/BasePaystream.js.map +0 -1
- package/dist/src/domain/model/paystream/entities/IntervalType.d.ts +0 -9
- package/dist/src/domain/model/paystream/entities/IntervalType.js +0 -14
- package/dist/src/domain/model/paystream/entities/IntervalType.js.map +0 -1
- package/dist/src/domain/model/paystream/entities/Paystream.d.ts +0 -7
- package/dist/src/domain/model/paystream/entities/Paystream.js +0 -8
- package/dist/src/domain/model/paystream/entities/Paystream.js.map +0 -1
- package/dist/src/domain/model/paystream/entities/ShallowEnrichedPaystream.d.ts +0 -7
- package/dist/src/domain/model/paystream/entities/ShallowEnrichedPaystream.js +0 -8
- package/dist/src/domain/model/paystream/entities/ShallowEnrichedPaystream.js.map +0 -1
- package/dist/src/domain/model/paystream/entities/index.d.ts +0 -4
- package/dist/src/domain/model/paystream/entities/index.js +0 -21
- package/dist/src/domain/model/paystream/entities/index.js.map +0 -1
- package/dist/src/domain/model/paystream/index.d.ts +0 -2
- package/dist/src/domain/model/paystream/index.js +0 -19
- package/dist/src/domain/model/paystream/index.js.map +0 -1
- package/dist/src/domain/model/paystream-tx/dtos/createPaystreamTxDto.d.ts +0 -10
- package/dist/src/domain/model/paystream-tx/dtos/createPaystreamTxDto.js +0 -51
- package/dist/src/domain/model/paystream-tx/dtos/createPaystreamTxDto.js.map +0 -1
- package/dist/src/domain/model/paystream-tx/dtos/index.d.ts +0 -2
- package/dist/src/domain/model/paystream-tx/dtos/index.js +0 -19
- package/dist/src/domain/model/paystream-tx/dtos/index.js.map +0 -1
- package/dist/src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.d.ts +0 -5
- package/dist/src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.js +0 -29
- package/dist/src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.js.map +0 -1
- package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTx.d.ts +0 -10
- package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTx.js +0 -8
- package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTx.js.map +0 -1
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.d.ts +0 -7
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.js +0 -8
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.js.map +0 -1
- package/dist/src/domain/model/paystream-tx/entities/index.d.ts +0 -2
- package/dist/src/domain/model/paystream-tx/entities/index.js +0 -19
- package/dist/src/domain/model/paystream-tx/entities/index.js.map +0 -1
- package/dist/src/domain/model/paystream-tx/index.d.ts +0 -2
- package/dist/src/domain/model/paystream-tx/index.js +0 -19
- package/dist/src/domain/model/paystream-tx/index.js.map +0 -1
- package/dist/src/domain/model/stream/dtos/cancelStreamDto.d.ts +0 -8
- package/dist/src/domain/model/stream/dtos/cancelStreamDto.js +0 -53
- package/dist/src/domain/model/stream/dtos/cancelStreamDto.js.map +0 -1
- package/dist/src/domain/model/stream/dtos/createStreamDto.d.ts +0 -17
- package/dist/src/domain/model/stream/dtos/createStreamDto.js +0 -97
- package/dist/src/domain/model/stream/dtos/createStreamDto.js.map +0 -1
- package/dist/src/domain/model/stream/dtos/index.d.ts +0 -3
- package/dist/src/domain/model/stream/dtos/index.js +0 -20
- package/dist/src/domain/model/stream/dtos/index.js.map +0 -1
- package/dist/src/domain/model/stream/dtos/withdrawStreamDto.d.ts +0 -7
- package/dist/src/domain/model/stream/dtos/withdrawStreamDto.js +0 -47
- package/dist/src/domain/model/stream/dtos/withdrawStreamDto.js.map +0 -1
- package/dist/src/domain/model/stream/index.d.ts +0 -1
- package/dist/src/domain/model/stream/index.js +0 -18
- package/dist/src/domain/model/stream/index.js.map +0 -1
- package/dist/src/domain/model/stream-event/dtos/createStreamEventDto.d.ts +0 -4
- package/dist/src/domain/model/stream-event/dtos/createStreamEventDto.js +0 -26
- package/dist/src/domain/model/stream-event/dtos/createStreamEventDto.js.map +0 -1
- package/dist/src/domain/model/stream-event/dtos/index.d.ts +0 -2
- package/dist/src/domain/model/stream-event/dtos/index.js +0 -19
- package/dist/src/domain/model/stream-event/dtos/index.js.map +0 -1
- package/dist/src/domain/model/stream-event/dtos/updateStreamEventDto.d.ts +0 -4
- package/dist/src/domain/model/stream-event/dtos/updateStreamEventDto.js +0 -26
- package/dist/src/domain/model/stream-event/dtos/updateStreamEventDto.js.map +0 -1
- package/dist/src/domain/model/stream-event/entities/StreamEvent.d.ts +0 -4
- package/dist/src/domain/model/stream-event/entities/StreamEvent.js +0 -7
- package/dist/src/domain/model/stream-event/entities/StreamEvent.js.map +0 -1
- package/dist/src/domain/model/stream-event/entities/index.d.ts +0 -1
- package/dist/src/domain/model/stream-event/entities/index.js +0 -18
- package/dist/src/domain/model/stream-event/entities/index.js.map +0 -1
- package/dist/src/domain/model/stream-event/index.d.ts +0 -2
- package/dist/src/domain/model/stream-event/index.js +0 -19
- package/dist/src/domain/model/stream-event/index.js.map +0 -1
- package/dist/src/domain/model/stream-features/dtos/index.d.ts +0 -1
- package/dist/src/domain/model/stream-features/dtos/index.js +0 -18
- package/dist/src/domain/model/stream-features/dtos/index.js.map +0 -1
- package/dist/src/domain/model/stream-features/dtos/streamFeaturesDto.d.ts +0 -9
- package/dist/src/domain/model/stream-features/dtos/streamFeaturesDto.js +0 -52
- package/dist/src/domain/model/stream-features/dtos/streamFeaturesDto.js.map +0 -1
- package/dist/src/domain/model/stream-features/entities/StreamFeatures.d.ts +0 -3
- package/dist/src/domain/model/stream-features/entities/StreamFeatures.js +0 -8
- package/dist/src/domain/model/stream-features/entities/StreamFeatures.js.map +0 -1
- package/dist/src/domain/model/stream-features/entities/index.d.ts +0 -1
- package/dist/src/domain/model/stream-features/entities/index.js +0 -18
- package/dist/src/domain/model/stream-features/entities/index.js.map +0 -1
- package/dist/src/domain/model/stream-features/index.d.ts +0 -2
- package/dist/src/domain/model/stream-features/index.js +0 -19
- package/dist/src/domain/model/stream-features/index.js.map +0 -1
- package/dist/src/domain/model/withdrawal/dtos/createWithdrawalDto.d.ts +0 -6
- package/dist/src/domain/model/withdrawal/dtos/createWithdrawalDto.js +0 -35
- package/dist/src/domain/model/withdrawal/dtos/createWithdrawalDto.js.map +0 -1
- package/dist/src/domain/model/withdrawal/dtos/index.d.ts +0 -2
- package/dist/src/domain/model/withdrawal/dtos/index.js +0 -19
- package/dist/src/domain/model/withdrawal/dtos/index.js.map +0 -1
- package/dist/src/domain/model/withdrawal/dtos/updateWithdrawalDto.d.ts +0 -3
- package/dist/src/domain/model/withdrawal/dtos/updateWithdrawalDto.js +0 -21
- package/dist/src/domain/model/withdrawal/dtos/updateWithdrawalDto.js.map +0 -1
- package/dist/src/domain/model/withdrawal/entities/BaseWithdrawal.d.ts +0 -4
- package/dist/src/domain/model/withdrawal/entities/BaseWithdrawal.js +0 -7
- package/dist/src/domain/model/withdrawal/entities/BaseWithdrawal.js.map +0 -1
- package/dist/src/domain/model/withdrawal/entities/Withdrawal.d.ts +0 -5
- package/dist/src/domain/model/withdrawal/entities/Withdrawal.js +0 -8
- package/dist/src/domain/model/withdrawal/entities/Withdrawal.js.map +0 -1
- package/dist/src/domain/model/withdrawal/entities/index.d.ts +0 -2
- package/dist/src/domain/model/withdrawal/entities/index.js +0 -19
- package/dist/src/domain/model/withdrawal/entities/index.js.map +0 -1
- package/dist/src/domain/model/withdrawal/index.d.ts +0 -2
- package/dist/src/domain/model/withdrawal/index.js +0 -19
- package/dist/src/domain/model/withdrawal/index.js.map +0 -1
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { StreamFeaturesDto } from '../../stream-features';
|
|
2
|
-
import { IntervalType } from '../entities';
|
|
3
|
-
export declare class CreatePaystreamDto extends StreamFeaturesDto {
|
|
4
|
-
company: string;
|
|
5
|
-
name: string;
|
|
6
|
-
maxTime?: number;
|
|
7
|
-
description?: string;
|
|
8
|
-
imageUrl?: string;
|
|
9
|
-
normalizedPrice?: bigint;
|
|
10
|
-
interval: IntervalType;
|
|
11
|
-
emailNotify: boolean;
|
|
12
|
-
currency?: string;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
wallet: string;
|
|
15
|
-
features?: StreamFeaturesDto;
|
|
16
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.CreatePaystreamDto = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
-
const class_transformer_1 = require("class-transformer");
|
|
16
|
-
const stream_features_1 = require("../../stream-features");
|
|
17
|
-
const entities_1 = require("../entities");
|
|
18
|
-
class CreatePaystreamDto extends stream_features_1.StreamFeaturesDto {
|
|
19
|
-
}
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, swagger_1.ApiProperty)(),
|
|
22
|
-
(0, class_validator_1.IsString)(),
|
|
23
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], CreatePaystreamDto.prototype, "company", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, swagger_1.ApiProperty)(),
|
|
28
|
-
(0, class_validator_1.IsString)(),
|
|
29
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], CreatePaystreamDto.prototype, "name", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, swagger_1.ApiProperty)(),
|
|
34
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
-
(0, class_validator_1.IsNumber)(),
|
|
36
|
-
__metadata("design:type", Number)
|
|
37
|
-
], CreatePaystreamDto.prototype, "maxTime", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, swagger_1.ApiProperty)(),
|
|
40
|
-
(0, class_validator_1.IsString)(),
|
|
41
|
-
(0, class_validator_1.IsOptional)(),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], CreatePaystreamDto.prototype, "description", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, swagger_1.ApiProperty)(),
|
|
46
|
-
(0, class_validator_1.IsString)(),
|
|
47
|
-
(0, class_validator_1.IsOptional)(),
|
|
48
|
-
__metadata("design:type", String)
|
|
49
|
-
], CreatePaystreamDto.prototype, "imageUrl", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, swagger_1.ApiProperty)(),
|
|
52
|
-
(0, class_validator_1.IsOptional)(),
|
|
53
|
-
__metadata("design:type", typeof BigInt === "function" ? BigInt : Object)
|
|
54
|
-
], CreatePaystreamDto.prototype, "normalizedPrice", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, swagger_1.ApiProperty)(),
|
|
57
|
-
(0, class_validator_1.IsEnum)(entities_1.IntervalType),
|
|
58
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
59
|
-
__metadata("design:type", String)
|
|
60
|
-
], CreatePaystreamDto.prototype, "interval", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
(0, swagger_1.ApiProperty)(),
|
|
63
|
-
(0, class_validator_1.IsBoolean)(),
|
|
64
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
65
|
-
__metadata("design:type", Boolean)
|
|
66
|
-
], CreatePaystreamDto.prototype, "emailNotify", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, swagger_1.ApiProperty)(),
|
|
69
|
-
(0, class_validator_1.IsString)(),
|
|
70
|
-
(0, class_validator_1.IsOptional)(),
|
|
71
|
-
__metadata("design:type", String)
|
|
72
|
-
], CreatePaystreamDto.prototype, "currency", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
(0, swagger_1.ApiProperty)(),
|
|
75
|
-
(0, class_validator_1.IsBoolean)(),
|
|
76
|
-
(0, class_validator_1.IsOptional)(),
|
|
77
|
-
__metadata("design:type", Boolean)
|
|
78
|
-
], CreatePaystreamDto.prototype, "disabled", void 0);
|
|
79
|
-
__decorate([
|
|
80
|
-
(0, swagger_1.ApiProperty)(),
|
|
81
|
-
(0, class_validator_1.IsString)(),
|
|
82
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
83
|
-
__metadata("design:type", String)
|
|
84
|
-
], CreatePaystreamDto.prototype, "wallet", void 0);
|
|
85
|
-
__decorate([
|
|
86
|
-
(0, swagger_1.ApiProperty)(),
|
|
87
|
-
(0, class_validator_1.IsString)(),
|
|
88
|
-
(0, class_validator_1.IsOptional)(),
|
|
89
|
-
(0, class_transformer_1.Type)(() => stream_features_1.StreamFeaturesDto),
|
|
90
|
-
(0, class_validator_1.ValidateNested)(),
|
|
91
|
-
__metadata("design:type", stream_features_1.StreamFeaturesDto)
|
|
92
|
-
], CreatePaystreamDto.prototype, "features", void 0);
|
|
93
|
-
exports.CreatePaystreamDto = CreatePaystreamDto;
|
|
94
|
-
//# sourceMappingURL=createPaystreamDto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createPaystreamDto.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream/dtos/createPaystreamDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,6CAA8C;AAC9C,yDAAyC;AACzC,2DAA0D;AAC1D,0CAA2C;AAE3C,MAAa,kBAAmB,SAAQ,mCAAiB;CA6DxD;AAzDC;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACG;AAKhB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACA;AAKb;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACM;AAKjB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACQ;AAKrB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACK;AAIlB;IAFC,IAAA,qBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;;2DACY;AAKzB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,uBAAY,CAAC;IACpB,IAAA,4BAAU,GAAE;;oDACU;AAKvB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;uDACQ;AAKrB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACK;AAKlB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oDACM;AAKnB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACE;AAOf;IALC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;8BACN,mCAAiB;oDAAC;AA5D/B,gDA6DC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./createPaystreamDto"), exports);
|
|
18
|
-
__exportStar(require("./updatePaystreamDto"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,uDAAqC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { StreamFeaturesDto } from '../../stream-features';
|
|
2
|
-
export declare class UpdatePaystreamDto extends StreamFeaturesDto {
|
|
3
|
-
company?: string;
|
|
4
|
-
name?: string;
|
|
5
|
-
maxTime?: number;
|
|
6
|
-
description?: string;
|
|
7
|
-
imageUrl?: string;
|
|
8
|
-
normalizedPrice?: bigint;
|
|
9
|
-
emailNotify?: boolean;
|
|
10
|
-
currency?: string;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
wallet?: string;
|
|
13
|
-
features?: StreamFeaturesDto;
|
|
14
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.UpdatePaystreamDto = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
-
const class_transformer_1 = require("class-transformer");
|
|
16
|
-
const stream_features_1 = require("../../stream-features");
|
|
17
|
-
class UpdatePaystreamDto extends stream_features_1.StreamFeaturesDto {
|
|
18
|
-
}
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, swagger_1.ApiProperty)(),
|
|
21
|
-
(0, class_validator_1.IsString)(),
|
|
22
|
-
(0, class_validator_1.IsOptional)(),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], UpdatePaystreamDto.prototype, "company", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, swagger_1.ApiProperty)(),
|
|
27
|
-
(0, class_validator_1.IsOptional)(),
|
|
28
|
-
(0, class_validator_1.IsString)(),
|
|
29
|
-
__metadata("design:type", String)
|
|
30
|
-
], UpdatePaystreamDto.prototype, "name", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, swagger_1.ApiProperty)(),
|
|
33
|
-
(0, class_validator_1.IsOptional)(),
|
|
34
|
-
(0, class_validator_1.IsNumber)(),
|
|
35
|
-
__metadata("design:type", Number)
|
|
36
|
-
], UpdatePaystreamDto.prototype, "maxTime", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, swagger_1.ApiProperty)(),
|
|
39
|
-
(0, class_validator_1.IsString)(),
|
|
40
|
-
(0, class_validator_1.IsOptional)(),
|
|
41
|
-
__metadata("design:type", String)
|
|
42
|
-
], UpdatePaystreamDto.prototype, "description", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, swagger_1.ApiProperty)(),
|
|
45
|
-
(0, class_validator_1.IsString)(),
|
|
46
|
-
(0, class_validator_1.IsOptional)(),
|
|
47
|
-
__metadata("design:type", String)
|
|
48
|
-
], UpdatePaystreamDto.prototype, "imageUrl", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, swagger_1.ApiProperty)(),
|
|
51
|
-
(0, class_validator_1.IsOptional)(),
|
|
52
|
-
__metadata("design:type", typeof BigInt === "function" ? BigInt : Object)
|
|
53
|
-
], UpdatePaystreamDto.prototype, "normalizedPrice", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
(0, swagger_1.ApiProperty)(),
|
|
56
|
-
(0, class_validator_1.IsBoolean)(),
|
|
57
|
-
(0, class_validator_1.IsOptional)(),
|
|
58
|
-
__metadata("design:type", Boolean)
|
|
59
|
-
], UpdatePaystreamDto.prototype, "emailNotify", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
(0, swagger_1.ApiProperty)(),
|
|
62
|
-
(0, class_validator_1.IsString)(),
|
|
63
|
-
(0, class_validator_1.IsOptional)(),
|
|
64
|
-
__metadata("design:type", String)
|
|
65
|
-
], UpdatePaystreamDto.prototype, "currency", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
(0, swagger_1.ApiProperty)(),
|
|
68
|
-
(0, class_validator_1.IsBoolean)(),
|
|
69
|
-
(0, class_validator_1.IsOptional)(),
|
|
70
|
-
__metadata("design:type", Boolean)
|
|
71
|
-
], UpdatePaystreamDto.prototype, "disabled", void 0);
|
|
72
|
-
__decorate([
|
|
73
|
-
(0, swagger_1.ApiProperty)(),
|
|
74
|
-
(0, class_validator_1.IsString)(),
|
|
75
|
-
(0, class_validator_1.IsOptional)(),
|
|
76
|
-
__metadata("design:type", String)
|
|
77
|
-
], UpdatePaystreamDto.prototype, "wallet", void 0);
|
|
78
|
-
__decorate([
|
|
79
|
-
(0, swagger_1.ApiProperty)(),
|
|
80
|
-
(0, class_validator_1.IsString)(),
|
|
81
|
-
(0, class_validator_1.IsOptional)(),
|
|
82
|
-
(0, class_transformer_1.Type)(() => stream_features_1.StreamFeaturesDto),
|
|
83
|
-
(0, class_validator_1.ValidateNested)(),
|
|
84
|
-
__metadata("design:type", stream_features_1.StreamFeaturesDto)
|
|
85
|
-
], UpdatePaystreamDto.prototype, "features", void 0);
|
|
86
|
-
exports.UpdatePaystreamDto = UpdatePaystreamDto;
|
|
87
|
-
//# sourceMappingURL=updatePaystreamDto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updatePaystreamDto.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream/dtos/updatePaystreamDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,6CAA8C;AAC9C,yDAAyC;AACzC,2DAA0D;AAE1D,MAAa,kBAAmB,SAAQ,mCAAiB;CAwDxD;AApDC;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACI;AAKjB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACG;AAKd;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACM;AAKjB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACQ;AAKrB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACK;AAIlB;IAFC,IAAA,qBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;;2DACY;AAKzB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;uDACS;AAKtB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACK;AAKlB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oDACM;AAKnB;IAHC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACG;AAOhB;IALC,IAAA,qBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;8BACN,mCAAiB;oDAAC;AAvD/B,gDAwDC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BasePaystream = void 0;
|
|
4
|
-
const payment_request_1 = require("../../payment-request");
|
|
5
|
-
class BasePaystream extends payment_request_1.BasePaymentRequest {
|
|
6
|
-
}
|
|
7
|
-
exports.BasePaystream = BasePaystream;
|
|
8
|
-
//# sourceMappingURL=BasePaystream.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BasePaystream.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream/entities/BasePaystream.ts"],"names":[],"mappings":";;;AACA,2DAA2D;AAE3D,MAAa,aAAc,SAAQ,oCAAkB;CAMpD;AAND,sCAMC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IntervalType = void 0;
|
|
4
|
-
var IntervalType;
|
|
5
|
-
(function (IntervalType) {
|
|
6
|
-
IntervalType["SECOND"] = "SECOND";
|
|
7
|
-
IntervalType["MINUTE"] = "MINUTE";
|
|
8
|
-
IntervalType["HOUR"] = "HOUR";
|
|
9
|
-
IntervalType["DAY"] = "DAY";
|
|
10
|
-
IntervalType["WEEK"] = "WEEK";
|
|
11
|
-
IntervalType["MONTH"] = "MONTH";
|
|
12
|
-
IntervalType["YEAR"] = "YEAR";
|
|
13
|
-
})(IntervalType = exports.IntervalType || (exports.IntervalType = {}));
|
|
14
|
-
//# sourceMappingURL=IntervalType.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IntervalType.enum.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream/entities/IntervalType.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,iCAAiB,CAAA;IACjB,iCAAiB,CAAA;IACjB,6BAAa,CAAA;IACb,2BAAW,CAAA;IACX,6BAAa,CAAA;IACb,+BAAe,CAAA;IACf,6BAAa,CAAA;AACf,CAAC,EARW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAQvB"}
|
|
@@ -1,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,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./Paystream"), exports);
|
|
18
|
-
__exportStar(require("./BasePaystream"), exports);
|
|
19
|
-
__exportStar(require("./ShallowEnrichedPaystream"), exports);
|
|
20
|
-
__exportStar(require("./IntervalType.enum"), exports);
|
|
21
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,kDAAgC;AAChC,6DAA2C;AAC3C,sDAAoC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./dtos"), exports);
|
|
18
|
-
__exportStar(require("./entities"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/paystream/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CreateStreamEventDto } from '../../stream-event/dtos';
|
|
2
|
-
import { CreateTransactionMetaDto } from '../../transaction-meta';
|
|
3
|
-
export declare class CreatePaystreamTxDto {
|
|
4
|
-
meta: CreateTransactionMetaDto;
|
|
5
|
-
paystream: string;
|
|
6
|
-
paymentAccount: string;
|
|
7
|
-
startedAt: CreateStreamEventDto;
|
|
8
|
-
endedAt: number;
|
|
9
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.CreatePaystreamTxDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const dtos_1 = require("../../stream-event/dtos");
|
|
16
|
-
const transaction_meta_1 = require("../../transaction-meta");
|
|
17
|
-
class CreatePaystreamTxDto {
|
|
18
|
-
}
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
-
(0, class_transformer_1.Type)(() => transaction_meta_1.CreateTransactionMetaDto),
|
|
22
|
-
(0, class_validator_1.ValidateNested)(),
|
|
23
|
-
__metadata("design:type", transaction_meta_1.CreateTransactionMetaDto)
|
|
24
|
-
], CreatePaystreamTxDto.prototype, "meta", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, class_validator_1.IsString)(),
|
|
27
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], CreatePaystreamTxDto.prototype, "paystream", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_validator_1.IsString)(),
|
|
32
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], CreatePaystreamTxDto.prototype, "paymentAccount", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
37
|
-
(0, class_transformer_1.Type)(() => dtos_1.CreateStreamEventDto),
|
|
38
|
-
(0, class_validator_1.ValidateNested)(),
|
|
39
|
-
__metadata("design:type", dtos_1.CreateStreamEventDto)
|
|
40
|
-
], CreatePaystreamTxDto.prototype, "startedAt", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, class_validator_1.IsNumber)(),
|
|
43
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
44
|
-
__metadata("design:type", Number)
|
|
45
|
-
], CreatePaystreamTxDto.prototype, "endedAt", void 0);
|
|
46
|
-
exports.CreatePaystreamTxDto = CreatePaystreamTxDto;
|
|
47
|
-
//# sourceMappingURL=createPaystreamTxDto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createPaystreamTxDto.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream-tx/dtos/createPaystreamTxDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAKyB;AACzB,kDAA+D;AAC/D,6DAAkE;AAElE,MAAa,oBAAoB;CAsBhC;AAlBC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,2CAAwB,CAAC;IACpC,IAAA,gCAAc,GAAE;8BACX,2CAAwB;kDAAC;AAI/B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACK;AAIlB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACU;AAKvB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,2BAAoB,CAAC;IAChC,IAAA,gCAAc,GAAE;8BACN,2BAAoB;uDAAC;AAIhC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACG;AArBlB,oDAsBC"}
|
|
@@ -1,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,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.UpdatePaystreamTxDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const dtos_1 = require("../../stream-event/dtos");
|
|
16
|
-
class UpdatePaystreamTxDto {
|
|
17
|
-
}
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsOptional)(),
|
|
20
|
-
(0, class_transformer_1.Type)(() => dtos_1.CreateStreamEventDto),
|
|
21
|
-
(0, class_validator_1.ValidateNested)(),
|
|
22
|
-
__metadata("design:type", dtos_1.CreateStreamEventDto)
|
|
23
|
-
], UpdatePaystreamTxDto.prototype, "cancelledAt", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, class_validator_1.IsOptional)(),
|
|
26
|
-
(0, class_validator_1.IsNumber)(),
|
|
27
|
-
__metadata("design:type", Number)
|
|
28
|
-
], UpdatePaystreamTxDto.prototype, "endedAt", void 0);
|
|
29
|
-
exports.UpdatePaystreamTxDto = UpdatePaystreamTxDto;
|
|
30
|
-
//# sourceMappingURL=updatePaystreamTxDto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updatePaystreamTxDto.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAAuE;AACvE,kDAA+D;AAE/D,MAAa,oBAAoB;CAShC;AALC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,2BAAoB,CAAC;IAChC,IAAA,gCAAc,GAAE;8BACH,2BAAoB;yDAAC;AAInC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACM;AARnB,oDASC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Entity } from '../../entity';
|
|
2
|
-
import { StreamEvent } from '../../stream-event/entities';
|
|
3
|
-
export declare class BasePaystreamTx extends Entity {
|
|
4
|
-
id: string;
|
|
5
|
-
paymentAcount: string;
|
|
6
|
-
startedAt: StreamEvent;
|
|
7
|
-
canceledAt: StreamEvent;
|
|
8
|
-
endedAt: number;
|
|
9
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BasePaystreamTx = void 0;
|
|
4
|
-
const entity_1 = require("../../entity");
|
|
5
|
-
class BasePaystreamTx extends entity_1.Entity {
|
|
6
|
-
}
|
|
7
|
-
exports.BasePaystreamTx = BasePaystreamTx;
|
|
8
|
-
//# sourceMappingURL=BasePaystreamTx.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BasePaystreamTx.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream-tx/entities/BasePaystreamTx.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,eAAgB,SAAQ,eAAM;CAU1C;AAVD,0CAUC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Paystream } from '../../paystream';
|
|
2
|
-
import type { TransactionMeta } from '../../transaction-meta';
|
|
3
|
-
import { BasePaystreamTx } from './BasePaystreamTx';
|
|
4
|
-
import { Withdrawal } from '../../withdrawal/entities';
|
|
5
|
-
export declare class PaystreamTx extends BasePaystreamTx {
|
|
6
|
-
meta: TransactionMeta;
|
|
7
|
-
paystream: Paystream;
|
|
8
|
-
withdrawals: Withdrawal[];
|
|
9
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PaystreamTx = void 0;
|
|
4
|
-
const BasePaystreamTx_1 = require("./BasePaystreamTx");
|
|
5
|
-
class PaystreamTx extends BasePaystreamTx_1.BasePaystreamTx {
|
|
6
|
-
}
|
|
7
|
-
exports.PaystreamTx = PaystreamTx;
|
|
8
|
-
//# sourceMappingURL=PaystreamTx.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PaystreamTx.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream-tx/entities/PaystreamTx.ts"],"names":[],"mappings":";;;AAEA,uDAAoD;AAGpD,MAAa,WAAY,SAAQ,iCAAe;CAM/C;AAND,kCAMC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BasePaystreamTx } from './BasePaystreamTx';
|
|
2
|
-
import type { BaseTransactionMeta } from '../../transaction-meta';
|
|
3
|
-
import type { BasePaystream } from '../../paystream';
|
|
4
|
-
export declare class ShallowEnrichedPaystreamTx extends BasePaystreamTx {
|
|
5
|
-
meta: BaseTransactionMeta;
|
|
6
|
-
paystream: BasePaystream;
|
|
7
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ShallowEnrichedPaystreamTx = void 0;
|
|
4
|
-
const BasePaystreamTx_1 = require("./BasePaystreamTx");
|
|
5
|
-
class ShallowEnrichedPaystreamTx extends BasePaystreamTx_1.BasePaystreamTx {
|
|
6
|
-
}
|
|
7
|
-
exports.ShallowEnrichedPaystreamTx = ShallowEnrichedPaystreamTx;
|
|
8
|
-
//# sourceMappingURL=ShallowEnrichedPaystreamTx.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ShallowEnrichedPaystreamTx.js","sourceRoot":"","sources":["../../../../../src/domain/model/paystream-tx/entities/ShallowEnrichedPaystreamTx.ts"],"names":[],"mappings":";;;AAAA,uDAAoD;AAIpD,MAAa,0BAA2B,SAAQ,iCAAe;CAI9D;AAJD,gEAIC"}
|