@heliofi/common 0.1.151 → 0.1.153
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/model/discordAuthProperties/dtos/discordAuthProperties.dto.d.ts +4 -0
- package/dist/src/domain/model/discordAuthProperties/dtos/discordAuthProperties.dto.js +27 -0
- package/dist/src/domain/model/discordAuthProperties/dtos/discordAuthProperties.dto.js.map +1 -0
- package/dist/src/domain/model/discordAuthProperties/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/discordAuthProperties/dtos/index.js +18 -0
- package/dist/src/domain/model/discordAuthProperties/dtos/index.js.map +1 -0
- package/dist/src/domain/model/discordAuthProperties/entities/DiscordAuthProperties.d.ts +5 -0
- package/dist/src/domain/model/discordAuthProperties/entities/DiscordAuthProperties.js +8 -0
- package/dist/src/domain/model/discordAuthProperties/entities/DiscordAuthProperties.js.map +1 -0
- package/dist/src/domain/model/discordAuthProperties/entities/index.d.ts +1 -0
- package/dist/src/domain/model/discordAuthProperties/entities/index.js +18 -0
- package/dist/src/domain/model/discordAuthProperties/entities/index.js.map +1 -0
- package/dist/src/domain/model/discordAuthProperties/index.d.ts +2 -0
- package/dist/src/domain/model/discordAuthProperties/index.js +19 -0
- package/dist/src/domain/model/discordAuthProperties/index.js.map +1 -0
- package/dist/src/domain/model/fee/entities/FeeFeature.enum.d.ts +2 -1
- package/dist/src/domain/model/fee/entities/FeeFeature.enum.js +1 -0
- package/dist/src/domain/model/fee/entities/FeeFeature.enum.js.map +1 -1
- package/dist/src/domain/model/fee/entities/FeeOptions.d.ts +1 -0
- package/dist/src/domain/model/fee/entities/FeeProperties.d.ts +1 -1
- package/dist/src/domain/model/index.d.ts +1 -0
- package/dist/src/domain/model/index.js +1 -0
- package/dist/src/domain/model/index.js.map +1 -1
- package/dist/src/domain/model/paylink/dtos/createPaylink.dto.d.ts +2 -24
- package/dist/src/domain/model/paylink/dtos/createPaylink.dto.js +2 -111
- package/dist/src/domain/model/paylink/dtos/createPaylink.dto.js.map +1 -1
- package/dist/src/domain/model/paylink/dtos/updatePaylink.dto.d.ts +2 -24
- package/dist/src/domain/model/paylink/dtos/updatePaylink.dto.js +2 -106
- package/dist/src/domain/model/paylink/dtos/updatePaylink.dto.js.map +1 -1
- package/dist/src/domain/model/payment-request/dtos/createPaymentRequest.dto.d.ts +25 -0
- package/dist/src/domain/model/payment-request/dtos/createPaymentRequest.dto.js +125 -0
- package/dist/src/domain/model/payment-request/dtos/createPaymentRequest.dto.js.map +1 -0
- package/dist/src/domain/model/payment-request/dtos/index.d.ts +2 -0
- package/dist/src/domain/model/payment-request/dtos/index.js +19 -0
- package/dist/src/domain/model/payment-request/dtos/index.js.map +1 -0
- package/dist/src/domain/model/payment-request/dtos/updatePaymentRequest.dto.d.ts +25 -0
- package/dist/src/domain/model/payment-request/dtos/updatePaymentRequest.dto.js +120 -0
- package/dist/src/domain/model/payment-request/dtos/updatePaymentRequest.dto.js.map +1 -0
- package/dist/src/domain/model/payment-request/entities/BasePaymentRequest.d.ts +2 -2
- package/dist/src/domain/model/payment-request/entities/BasePaymentRequest.js.map +1 -1
- package/dist/src/domain/model/payment-request/index.d.ts +1 -0
- package/dist/src/domain/model/payment-request/index.js +1 -0
- package/dist/src/domain/model/payment-request/index.js.map +1 -1
- package/dist/src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.d.ts +1 -0
- package/dist/src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.js +5 -0
- package/dist/src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.js.map +1 -1
- package/dist/src/domain/model/payment-request-features/entities/PaymentRequestFeatures.d.ts +1 -0
- package/dist/src/domain/model/payment-request-features/entities/PaymentRequestFeatures.js.map +1 -1
- package/dist/src/domain/model/paystream/dtos/createPaystream.dto.d.ts +2 -24
- package/dist/src/domain/model/paystream/dtos/createPaystream.dto.js +2 -111
- package/dist/src/domain/model/paystream/dtos/createPaystream.dto.js.map +1 -1
- package/dist/src/domain/model/paystream/dtos/updatePaystream.dto.d.ts +2 -22
- package/dist/src/domain/model/paystream/dtos/updatePaystream.dto.js +2 -96
- package/dist/src/domain/model/paystream/dtos/updatePaystream.dto.js.map +1 -1
- package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.js.map +1 -1
- package/dist/src/domain/model/transaction-meta/dtos/createTransactionMeta.dto.d.ts +1 -1
- package/dist/src/domain/model/transaction-meta/dtos/createTransactionMeta.dto.js +3 -2
- package/dist/src/domain/model/transaction-meta/dtos/createTransactionMeta.dto.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,125 @@
|
|
|
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.CreatePaymentRequestDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const content_1 = require("../../content");
|
|
16
|
+
const product_1 = require("../../product");
|
|
17
|
+
const fixed_currency_1 = require("../../fixed-currency");
|
|
18
|
+
const discordAuthProperties_1 = require("../../discordAuthProperties");
|
|
19
|
+
class CreatePaymentRequestDto {
|
|
20
|
+
constructor() {
|
|
21
|
+
this.notifySenderByEmail = false;
|
|
22
|
+
this.notifyReceiverByEmail = false;
|
|
23
|
+
this.addDiscordRole = false;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], CreatePaymentRequestDto.prototype, "company", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsString)(),
|
|
33
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], CreatePaymentRequestDto.prototype, "name", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsString)(),
|
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], CreatePaymentRequestDto.prototype, "description", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsString)(),
|
|
43
|
+
(0, class_validator_1.IsOptional)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], CreatePaymentRequestDto.prototype, "image", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_validator_1.IsOptional)(),
|
|
48
|
+
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], CreatePaymentRequestDto.prototype, "normalizedPrice", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsBoolean)(),
|
|
53
|
+
(0, class_validator_1.IsOptional)(),
|
|
54
|
+
__metadata("design:type", Boolean)
|
|
55
|
+
], CreatePaymentRequestDto.prototype, "notifySenderByEmail", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_validator_1.IsBoolean)(),
|
|
58
|
+
(0, class_validator_1.IsOptional)(),
|
|
59
|
+
__metadata("design:type", Boolean)
|
|
60
|
+
], CreatePaymentRequestDto.prototype, "notifyReceiverByEmail", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_validator_1.IsBoolean)(),
|
|
63
|
+
(0, class_validator_1.IsOptional)(),
|
|
64
|
+
__metadata("design:type", Boolean)
|
|
65
|
+
], CreatePaymentRequestDto.prototype, "addDiscordRole", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_validator_1.IsString)(),
|
|
68
|
+
(0, class_validator_1.IsOptional)(),
|
|
69
|
+
__metadata("design:type", String)
|
|
70
|
+
], CreatePaymentRequestDto.prototype, "currency", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, class_validator_1.IsString)(),
|
|
73
|
+
(0, class_validator_1.IsOptional)(),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], CreatePaymentRequestDto.prototype, "blockchain", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, class_validator_1.IsBoolean)(),
|
|
78
|
+
(0, class_validator_1.IsOptional)(),
|
|
79
|
+
__metadata("design:type", Boolean)
|
|
80
|
+
], CreatePaymentRequestDto.prototype, "disabled", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, class_validator_1.IsBoolean)(),
|
|
83
|
+
(0, class_validator_1.IsOptional)(),
|
|
84
|
+
__metadata("design:type", Boolean)
|
|
85
|
+
], CreatePaymentRequestDto.prototype, "dynamic", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, class_validator_1.IsString)(),
|
|
88
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
89
|
+
__metadata("design:type", String)
|
|
90
|
+
], CreatePaymentRequestDto.prototype, "wallet", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, class_validator_1.IsOptional)(),
|
|
93
|
+
(0, class_transformer_1.Type)(() => content_1.ContentDto),
|
|
94
|
+
(0, class_validator_1.ValidateNested)(),
|
|
95
|
+
__metadata("design:type", content_1.ContentDto)
|
|
96
|
+
], CreatePaymentRequestDto.prototype, "content", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, class_validator_1.IsNumber)(),
|
|
99
|
+
(0, class_validator_1.IsOptional)(),
|
|
100
|
+
__metadata("design:type", Number)
|
|
101
|
+
], CreatePaymentRequestDto.prototype, "maxTransactions", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, class_validator_1.IsOptional)(),
|
|
104
|
+
(0, class_transformer_1.Type)(() => product_1.ProductDto),
|
|
105
|
+
(0, class_validator_1.ValidateNested)(),
|
|
106
|
+
__metadata("design:type", product_1.ProductDto)
|
|
107
|
+
], CreatePaymentRequestDto.prototype, "product", void 0);
|
|
108
|
+
__decorate([
|
|
109
|
+
(0, class_validator_1.IsString)(),
|
|
110
|
+
(0, class_validator_1.IsOptional)(),
|
|
111
|
+
__metadata("design:type", String)
|
|
112
|
+
], CreatePaymentRequestDto.prototype, "nftCollectionAddress", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, class_transformer_1.Type)(() => discordAuthProperties_1.DiscordAuthPropertiesDto),
|
|
115
|
+
(0, class_validator_1.IsOptional)(),
|
|
116
|
+
(0, class_validator_1.ValidateNested)(),
|
|
117
|
+
__metadata("design:type", discordAuthProperties_1.DiscordAuthPropertiesDto)
|
|
118
|
+
], CreatePaymentRequestDto.prototype, "discordAuthProperties", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
(0, class_transformer_1.Type)(() => fixed_currency_1.FixedCurrencyDto),
|
|
121
|
+
(0, class_validator_1.IsOptional)(),
|
|
122
|
+
__metadata("design:type", fixed_currency_1.FixedCurrencyDto)
|
|
123
|
+
], CreatePaymentRequestDto.prototype, "fixedCurrency", void 0);
|
|
124
|
+
exports.CreatePaymentRequestDto = CreatePaymentRequestDto;
|
|
125
|
+
//# sourceMappingURL=createPaymentRequest.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createPaymentRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/createPaymentRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAoD;AACpD,2CAA2C;AAC3C,2CAA2C;AAC3C,yDAAwD;AACxD,uEAAuE;AAEvE,MAAa,uBAAuB;IAApC;QAuBE,wBAAmB,GAAa,KAAK,CAAC;QAItC,0BAAqB,GAAa,KAAK,CAAC;QAIxC,mBAAc,GAAa,KAAK,CAAC;IAgDnC,CAAC;CAAA;AA9EC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACA;AAEb;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACE;AAEf;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;gEACf;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACyB;AAEtC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEAC2B;AAExC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACoB;AAEjC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACO;AAEpB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yDACM;AAEnB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACE;AAEf;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,gCAAc,GAAE;8BACP,oBAAU;wDAAC;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACY;AAEzB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,gCAAc,GAAE;8BACP,oBAAU;wDAAQ;AAE5B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qEACiB;AAE9B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gDAAwB,CAAC;IACpC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACO,gDAAwB;sEAAC;AAEjD;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;8BACG,iCAAgB;8DAAC;AA9EnC,0DA+EC"}
|
|
@@ -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("./createPaymentRequest.dto"), exports);
|
|
18
|
+
__exportStar(require("./updatePaymentRequest.dto"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,6DAA2C"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ContentDto } from '../../content';
|
|
2
|
+
import { ProductDto } from '../../product';
|
|
3
|
+
import { FixedCurrencyDto } from '../../fixed-currency';
|
|
4
|
+
import { DiscordAuthPropertiesDto } from '../../discordAuthProperties';
|
|
5
|
+
export declare class UpdatePaymentRequestDto {
|
|
6
|
+
company?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
image?: string;
|
|
10
|
+
normalizedPrice?: string;
|
|
11
|
+
notifySenderByEmail?: boolean;
|
|
12
|
+
notifyReceiverByEmail?: boolean;
|
|
13
|
+
addDiscordRole?: boolean;
|
|
14
|
+
currency?: string;
|
|
15
|
+
blockchain?: string;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
dynamic?: boolean;
|
|
18
|
+
wallet?: string;
|
|
19
|
+
content?: ContentDto;
|
|
20
|
+
maxTransactions?: number;
|
|
21
|
+
product?: ProductDto | null;
|
|
22
|
+
nftCollectionAddress?: string;
|
|
23
|
+
discordAuthProperties?: DiscordAuthPropertiesDto;
|
|
24
|
+
fixedCurrency?: FixedCurrencyDto;
|
|
25
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
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.UpdatePaymentRequestDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const content_1 = require("../../content");
|
|
16
|
+
const product_1 = require("../../product");
|
|
17
|
+
const fixed_currency_1 = require("../../fixed-currency");
|
|
18
|
+
const discordAuthProperties_1 = require("../../discordAuthProperties");
|
|
19
|
+
class UpdatePaymentRequestDto {
|
|
20
|
+
}
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsString)(),
|
|
23
|
+
(0, class_validator_1.IsOptional)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], UpdatePaymentRequestDto.prototype, "company", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
(0, class_validator_1.IsOptional)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], UpdatePaymentRequestDto.prototype, "name", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsString)(),
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], UpdatePaymentRequestDto.prototype, "description", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsString)(),
|
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], UpdatePaymentRequestDto.prototype, "image", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
43
|
+
(0, class_validator_1.IsOptional)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], UpdatePaymentRequestDto.prototype, "normalizedPrice", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_validator_1.IsBoolean)(),
|
|
48
|
+
(0, class_validator_1.IsOptional)(),
|
|
49
|
+
__metadata("design:type", Boolean)
|
|
50
|
+
], UpdatePaymentRequestDto.prototype, "notifySenderByEmail", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsBoolean)(),
|
|
53
|
+
(0, class_validator_1.IsOptional)(),
|
|
54
|
+
__metadata("design:type", Boolean)
|
|
55
|
+
], UpdatePaymentRequestDto.prototype, "notifyReceiverByEmail", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_validator_1.IsBoolean)(),
|
|
58
|
+
(0, class_validator_1.IsOptional)(),
|
|
59
|
+
__metadata("design:type", Boolean)
|
|
60
|
+
], UpdatePaymentRequestDto.prototype, "addDiscordRole", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_validator_1.IsString)(),
|
|
63
|
+
(0, class_validator_1.IsOptional)(),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], UpdatePaymentRequestDto.prototype, "currency", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_validator_1.IsString)(),
|
|
68
|
+
(0, class_validator_1.IsOptional)(),
|
|
69
|
+
__metadata("design:type", String)
|
|
70
|
+
], UpdatePaymentRequestDto.prototype, "blockchain", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, class_validator_1.IsBoolean)(),
|
|
73
|
+
(0, class_validator_1.IsOptional)(),
|
|
74
|
+
__metadata("design:type", Boolean)
|
|
75
|
+
], UpdatePaymentRequestDto.prototype, "disabled", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, class_validator_1.IsBoolean)(),
|
|
78
|
+
(0, class_validator_1.IsOptional)(),
|
|
79
|
+
__metadata("design:type", Boolean)
|
|
80
|
+
], UpdatePaymentRequestDto.prototype, "dynamic", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, class_validator_1.IsString)(),
|
|
83
|
+
(0, class_validator_1.IsOptional)(),
|
|
84
|
+
__metadata("design:type", String)
|
|
85
|
+
], UpdatePaymentRequestDto.prototype, "wallet", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, class_transformer_1.Type)(() => content_1.ContentDto),
|
|
88
|
+
(0, class_validator_1.IsOptional)(),
|
|
89
|
+
(0, class_validator_1.ValidateNested)(),
|
|
90
|
+
__metadata("design:type", content_1.ContentDto)
|
|
91
|
+
], UpdatePaymentRequestDto.prototype, "content", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, class_validator_1.IsNumber)(),
|
|
94
|
+
(0, class_validator_1.IsOptional)(),
|
|
95
|
+
__metadata("design:type", Number)
|
|
96
|
+
], UpdatePaymentRequestDto.prototype, "maxTransactions", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, class_transformer_1.Type)(() => product_1.ProductDto),
|
|
99
|
+
(0, class_validator_1.IsOptional)(),
|
|
100
|
+
(0, class_validator_1.ValidateNested)(),
|
|
101
|
+
__metadata("design:type", product_1.ProductDto)
|
|
102
|
+
], UpdatePaymentRequestDto.prototype, "product", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, class_validator_1.IsString)(),
|
|
105
|
+
(0, class_validator_1.IsOptional)(),
|
|
106
|
+
__metadata("design:type", String)
|
|
107
|
+
], UpdatePaymentRequestDto.prototype, "nftCollectionAddress", void 0);
|
|
108
|
+
__decorate([
|
|
109
|
+
(0, class_transformer_1.Type)(() => discordAuthProperties_1.DiscordAuthPropertiesDto),
|
|
110
|
+
(0, class_validator_1.IsOptional)(),
|
|
111
|
+
(0, class_validator_1.ValidateNested)(),
|
|
112
|
+
__metadata("design:type", discordAuthProperties_1.DiscordAuthPropertiesDto)
|
|
113
|
+
], UpdatePaymentRequestDto.prototype, "discordAuthProperties", void 0);
|
|
114
|
+
__decorate([
|
|
115
|
+
(0, class_transformer_1.Type)(() => fixed_currency_1.FixedCurrencyDto),
|
|
116
|
+
(0, class_validator_1.IsOptional)(),
|
|
117
|
+
__metadata("design:type", fixed_currency_1.FixedCurrencyDto)
|
|
118
|
+
], UpdatePaymentRequestDto.prototype, "fixedCurrency", void 0);
|
|
119
|
+
exports.UpdatePaymentRequestDto = UpdatePaymentRequestDto;
|
|
120
|
+
//# sourceMappingURL=updatePaymentRequest.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updatePaymentRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/updatePaymentRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAoD;AACpD,2CAA2C;AAC3C,2CAA2C;AAC3C,yDAAwD;AACxD,uEAAuE;AAEvE,MAAa,uBAAuB;CA+EnC;AA9EC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACE;AAEf;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvC,IAAA,4BAAU,GAAE;;gEACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACiB;AAE9B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACO;AAEpB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yDACM;AAEnB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACG;AAEhB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACP,oBAAU;wDAAC;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACY;AAEzB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACP,oBAAU;wDAAQ;AAE5B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qEACiB;AAE9B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gDAAwB,CAAC;IACpC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACO,gDAAwB;sEAAC;AAEjD;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;8BACG,iCAAgB;8DAAC;AA9EnC,0DA+EC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Entity } from '../../entity';
|
|
2
2
|
import { FixedCurrency } from '../../fixed-currency';
|
|
3
|
+
import { DiscordAuthProperties } from '../../discordAuthProperties';
|
|
3
4
|
export declare class BasePaymentRequest extends Entity {
|
|
4
5
|
id: string;
|
|
5
6
|
name: string;
|
|
@@ -15,7 +16,6 @@ export declare class BasePaymentRequest extends Entity {
|
|
|
15
16
|
updatedAt?: string;
|
|
16
17
|
dynamic?: boolean;
|
|
17
18
|
nftCollectionAddress?: string;
|
|
18
|
-
|
|
19
|
-
discordRoleId?: string;
|
|
19
|
+
discordAuthProperties?: DiscordAuthProperties;
|
|
20
20
|
fixedCurrency?: FixedCurrency;
|
|
21
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasePaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/BasePaymentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yCAAsC;
|
|
1
|
+
{"version":3,"file":"BasePaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/BasePaymentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yCAAsC;AAItC,MAAa,kBAAmB,SAAQ,eAAM;CAiC7C;AAxBC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;2DAChB;AAV1B,gDAiCC"}
|
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./entities"), exports);
|
|
18
|
+
__exportStar(require("./dtos"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/payment-request/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/payment-request/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,yCAAuB"}
|
|
@@ -83,5 +83,10 @@ __decorate([
|
|
|
83
83
|
(0, class_validator_1.IsOptional)(),
|
|
84
84
|
__metadata("design:type", Boolean)
|
|
85
85
|
], PaymentRequestFeaturesDto.prototype, "isHelioPlay", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, class_validator_1.IsBoolean)(),
|
|
88
|
+
(0, class_validator_1.IsOptional)(),
|
|
89
|
+
__metadata("design:type", Boolean)
|
|
90
|
+
], PaymentRequestFeaturesDto.prototype, "isTransparentWallet", void 0);
|
|
86
91
|
exports.PaymentRequestFeaturesDto = PaymentRequestFeaturesDto;
|
|
87
92
|
//# sourceMappingURL=paymentRequestFeatures.dto.js.map
|
package/dist/src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paymentRequestFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AAExD,MAAa,yBAAyB;
|
|
1
|
+
{"version":3,"file":"paymentRequestFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AAExD,MAAa,yBAAyB;CA4DrC;AA3DC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kEACa;AAE1B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iEACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qEACgB;AAE7B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wEACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iEACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qEACgB;AAE7B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;uEACkB;AAE/B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACW;AAExB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8DACS;AAEtB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACiB;AA3DhC,8DA4DC"}
|
package/dist/src/domain/model/payment-request-features/entities/PaymentRequestFeatures.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentRequestFeatures.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request-features/entities/PaymentRequestFeatures.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,sBAAuB,SAAQ,eAAM;
|
|
1
|
+
{"version":3,"file":"PaymentRequestFeatures.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request-features/entities/PaymentRequestFeatures.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,sBAAuB,SAAQ,eAAM;CAgCjD;AAhCD,wDAgCC"}
|
|
@@ -1,30 +1,8 @@
|
|
|
1
1
|
import { StreamFeaturesDto } from '../../stream-features';
|
|
2
2
|
import { IntervalType } from '../entities';
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import { FixedCurrencyDto } from '../../fixed-currency';
|
|
6
|
-
export declare class CreatePaystreamDto {
|
|
7
|
-
company: string;
|
|
8
|
-
name: string;
|
|
9
|
-
description?: string;
|
|
10
|
-
image?: string;
|
|
11
|
-
normalizedPrice?: string;
|
|
12
|
-
notifySenderByEmail?: boolean;
|
|
13
|
-
notifyReceiverByEmail?: boolean;
|
|
14
|
-
addDiscordRole?: boolean;
|
|
15
|
-
currency?: string;
|
|
16
|
-
blockchain?: string;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
wallet: string;
|
|
19
|
-
content?: ContentDto;
|
|
3
|
+
import { CreatePaymentRequestDto } from '../../payment-request';
|
|
4
|
+
export declare class CreatePaystreamDto extends CreatePaymentRequestDto {
|
|
20
5
|
features?: StreamFeaturesDto;
|
|
21
6
|
interval: IntervalType;
|
|
22
7
|
maxTime: number;
|
|
23
|
-
maxTransactions?: number;
|
|
24
|
-
dynamic?: boolean;
|
|
25
|
-
product?: ProductDto | null;
|
|
26
|
-
nftCollectionAddress?: string;
|
|
27
|
-
discordServerId?: string;
|
|
28
|
-
discordRoleId?: string;
|
|
29
|
-
fixedCurrency?: FixedCurrencyDto;
|
|
30
8
|
}
|
|
@@ -14,82 +14,9 @@ const class_validator_1 = require("class-validator");
|
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const stream_features_1 = require("../../stream-features");
|
|
16
16
|
const entities_1 = require("../entities");
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
const fixed_currency_1 = require("../../fixed-currency");
|
|
20
|
-
class CreatePaystreamDto {
|
|
21
|
-
constructor() {
|
|
22
|
-
this.notifySenderByEmail = false;
|
|
23
|
-
this.notifyReceiverByEmail = false;
|
|
24
|
-
this.addDiscordRole = false;
|
|
25
|
-
}
|
|
17
|
+
const payment_request_1 = require("../../payment-request");
|
|
18
|
+
class CreatePaystreamDto extends payment_request_1.CreatePaymentRequestDto {
|
|
26
19
|
}
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, class_validator_1.IsString)(),
|
|
29
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], CreatePaystreamDto.prototype, "company", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, class_validator_1.IsString)(),
|
|
34
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], CreatePaystreamDto.prototype, "name", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, class_validator_1.IsString)(),
|
|
39
|
-
(0, class_validator_1.IsOptional)(),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], CreatePaystreamDto.prototype, "description", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, class_validator_1.IsString)(),
|
|
44
|
-
(0, class_validator_1.IsOptional)(),
|
|
45
|
-
__metadata("design:type", String)
|
|
46
|
-
], CreatePaystreamDto.prototype, "image", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, class_validator_1.IsOptional)(),
|
|
49
|
-
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
50
|
-
__metadata("design:type", String)
|
|
51
|
-
], CreatePaystreamDto.prototype, "normalizedPrice", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
(0, class_validator_1.IsBoolean)(),
|
|
54
|
-
(0, class_validator_1.IsOptional)(),
|
|
55
|
-
__metadata("design:type", Boolean)
|
|
56
|
-
], CreatePaystreamDto.prototype, "notifySenderByEmail", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
(0, class_validator_1.IsBoolean)(),
|
|
59
|
-
(0, class_validator_1.IsOptional)(),
|
|
60
|
-
__metadata("design:type", Boolean)
|
|
61
|
-
], CreatePaystreamDto.prototype, "notifyReceiverByEmail", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
(0, class_validator_1.IsBoolean)(),
|
|
64
|
-
(0, class_validator_1.IsOptional)(),
|
|
65
|
-
__metadata("design:type", Boolean)
|
|
66
|
-
], CreatePaystreamDto.prototype, "addDiscordRole", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, class_validator_1.IsString)(),
|
|
69
|
-
(0, class_validator_1.IsOptional)(),
|
|
70
|
-
__metadata("design:type", String)
|
|
71
|
-
], CreatePaystreamDto.prototype, "currency", void 0);
|
|
72
|
-
__decorate([
|
|
73
|
-
(0, class_validator_1.IsString)(),
|
|
74
|
-
(0, class_validator_1.IsOptional)(),
|
|
75
|
-
__metadata("design:type", String)
|
|
76
|
-
], CreatePaystreamDto.prototype, "blockchain", void 0);
|
|
77
|
-
__decorate([
|
|
78
|
-
(0, class_validator_1.IsBoolean)(),
|
|
79
|
-
(0, class_validator_1.IsOptional)(),
|
|
80
|
-
__metadata("design:type", Boolean)
|
|
81
|
-
], CreatePaystreamDto.prototype, "disabled", void 0);
|
|
82
|
-
__decorate([
|
|
83
|
-
(0, class_validator_1.IsString)(),
|
|
84
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
85
|
-
__metadata("design:type", String)
|
|
86
|
-
], CreatePaystreamDto.prototype, "wallet", void 0);
|
|
87
|
-
__decorate([
|
|
88
|
-
(0, class_validator_1.IsOptional)(),
|
|
89
|
-
(0, class_transformer_1.Type)(() => content_1.ContentDto),
|
|
90
|
-
(0, class_validator_1.ValidateNested)(),
|
|
91
|
-
__metadata("design:type", content_1.ContentDto)
|
|
92
|
-
], CreatePaystreamDto.prototype, "content", void 0);
|
|
93
20
|
__decorate([
|
|
94
21
|
(0, class_validator_1.IsOptional)(),
|
|
95
22
|
(0, class_transformer_1.Type)(() => stream_features_1.StreamFeaturesDto),
|
|
@@ -106,41 +33,5 @@ __decorate([
|
|
|
106
33
|
(0, class_validator_1.IsNotEmpty)(),
|
|
107
34
|
__metadata("design:type", Number)
|
|
108
35
|
], CreatePaystreamDto.prototype, "maxTime", void 0);
|
|
109
|
-
__decorate([
|
|
110
|
-
(0, class_validator_1.IsNumber)(),
|
|
111
|
-
(0, class_validator_1.IsOptional)(),
|
|
112
|
-
__metadata("design:type", Number)
|
|
113
|
-
], CreatePaystreamDto.prototype, "maxTransactions", void 0);
|
|
114
|
-
__decorate([
|
|
115
|
-
(0, class_validator_1.IsBoolean)(),
|
|
116
|
-
(0, class_validator_1.IsOptional)(),
|
|
117
|
-
__metadata("design:type", Boolean)
|
|
118
|
-
], CreatePaystreamDto.prototype, "dynamic", void 0);
|
|
119
|
-
__decorate([
|
|
120
|
-
(0, class_validator_1.IsOptional)(),
|
|
121
|
-
(0, class_transformer_1.Type)(() => product_1.ProductDto),
|
|
122
|
-
(0, class_validator_1.ValidateNested)(),
|
|
123
|
-
__metadata("design:type", product_1.ProductDto)
|
|
124
|
-
], CreatePaystreamDto.prototype, "product", void 0);
|
|
125
|
-
__decorate([
|
|
126
|
-
(0, class_validator_1.IsString)(),
|
|
127
|
-
(0, class_validator_1.IsOptional)(),
|
|
128
|
-
__metadata("design:type", String)
|
|
129
|
-
], CreatePaystreamDto.prototype, "nftCollectionAddress", void 0);
|
|
130
|
-
__decorate([
|
|
131
|
-
(0, class_validator_1.IsString)(),
|
|
132
|
-
(0, class_validator_1.IsOptional)(),
|
|
133
|
-
__metadata("design:type", String)
|
|
134
|
-
], CreatePaystreamDto.prototype, "discordServerId", void 0);
|
|
135
|
-
__decorate([
|
|
136
|
-
(0, class_validator_1.IsString)(),
|
|
137
|
-
(0, class_validator_1.IsOptional)(),
|
|
138
|
-
__metadata("design:type", String)
|
|
139
|
-
], CreatePaystreamDto.prototype, "discordRoleId", void 0);
|
|
140
|
-
__decorate([
|
|
141
|
-
(0, class_transformer_1.Type)(() => fixed_currency_1.FixedCurrencyDto),
|
|
142
|
-
(0, class_validator_1.IsOptional)(),
|
|
143
|
-
__metadata("design:type", fixed_currency_1.FixedCurrencyDto)
|
|
144
|
-
], CreatePaystreamDto.prototype, "fixedCurrency", void 0);
|
|
145
36
|
exports.CreatePaystreamDto = CreatePaystreamDto;
|
|
146
37
|
//# sourceMappingURL=createPaystream.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPaystream.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream/dtos/createPaystream.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"createPaystream.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream/dtos/createPaystream.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAyC;AACzC,2DAA0D;AAC1D,0CAA2C;AAC3C,2DAAgE;AAEhE,MAAa,kBAAmB,SAAQ,yCAAuB;CAa9D;AAZC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;8BACN,mCAAiB;oDAAC;AAE7B;IAAC,IAAA,wBAAM,EAAC,uBAAY,CAAC;IACpB,IAAA,4BAAU,GAAE;;oDACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACG;AAZlB,gDAaC"}
|
|
@@ -1,28 +1,8 @@
|
|
|
1
1
|
import { StreamFeaturesDto } from '../../stream-features';
|
|
2
|
-
import { ProductDto } from '../../product';
|
|
3
|
-
import { ContentDto } from '../../content';
|
|
4
2
|
import { IntervalType } from '../entities';
|
|
5
|
-
import {
|
|
6
|
-
export declare class UpdatePaystreamDto {
|
|
7
|
-
company?: string;
|
|
8
|
-
name?: string;
|
|
9
|
-
description?: string;
|
|
10
|
-
image?: string;
|
|
11
|
-
normalizedPrice?: string;
|
|
12
|
-
notifySenderByEmail?: boolean;
|
|
13
|
-
notifyReceiverByEmail?: boolean;
|
|
14
|
-
addDiscordRole?: boolean;
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
wallet?: string;
|
|
17
|
-
dynamic?: boolean;
|
|
18
|
-
content?: ContentDto;
|
|
3
|
+
import { UpdatePaymentRequestDto } from '../../payment-request';
|
|
4
|
+
export declare class UpdatePaystreamDto extends UpdatePaymentRequestDto {
|
|
19
5
|
features?: StreamFeaturesDto;
|
|
20
6
|
interval?: IntervalType;
|
|
21
7
|
maxTime?: number;
|
|
22
|
-
maxTransactions?: number;
|
|
23
|
-
product?: ProductDto | null;
|
|
24
|
-
nftCollectionAddress?: string;
|
|
25
|
-
discordServerId?: string;
|
|
26
|
-
discordRoleId?: string;
|
|
27
|
-
fixedCurrency?: FixedCurrencyDto;
|
|
28
8
|
}
|