@heliofi/common 0.1.268 → 0.1.270
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/index.d.ts +1 -0
- package/dist/src/domain/constants/index.js +1 -0
- package/dist/src/domain/constants/index.js.map +1 -1
- package/dist/src/domain/constants/limitSaleType.d.ts +4 -0
- package/dist/src/domain/constants/limitSaleType.js +9 -0
- package/dist/src/domain/constants/limitSaleType.js.map +1 -0
- package/dist/src/domain/decorators/BigintMin.d.ts +2 -0
- package/dist/src/domain/decorators/BigintMin.js +30 -0
- package/dist/src/domain/decorators/BigintMin.js.map +1 -0
- package/dist/src/domain/decorators/index.d.ts +1 -0
- package/dist/src/domain/decorators/index.js +1 -0
- package/dist/src/domain/decorators/index.js.map +1 -1
- package/dist/src/domain/model/link-features/dtos/linkFeatures.dto.d.ts +1 -0
- package/dist/src/domain/model/link-features/dtos/linkFeatures.dto.js +5 -0
- package/dist/src/domain/model/link-features/dtos/linkFeatures.dto.js.map +1 -1
- package/dist/src/domain/model/link-features/entities/LinkFeatures.entity.d.ts +9 -0
- package/dist/src/domain/model/link-features/entities/LinkFeatures.entity.js +8 -0
- package/dist/src/domain/model/link-features/entities/LinkFeatures.entity.js.map +1 -0
- package/dist/src/domain/model/link-features/entities/index.d.ts +1 -1
- package/dist/src/domain/model/link-features/entities/index.js +1 -1
- package/dist/src/domain/model/link-features/entities/index.js.map +1 -1
- package/dist/src/domain/model/nft-drop/dtos/nftDrop.dto.js +1 -1
- package/dist/src/domain/model/nft-drop/dtos/nftDrop.dto.js.map +1 -1
- package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCancel.dto.js +1 -1
- package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCancel.dto.js.map +1 -1
- package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCreate.dto.js +1 -1
- package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCreate.dto.js.map +1 -1
- package/dist/src/domain/model/nft-escrow/dtos/nftEscrowSubmit.dto.js +1 -1
- package/dist/src/domain/model/nft-escrow/dtos/nftEscrowSubmit.dto.js.map +1 -1
- package/dist/src/domain/model/paylink/dtos/createPaylink.dto.d.ts +2 -0
- package/dist/src/domain/model/paylink/dtos/createPaylink.dto.js +6 -0
- 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 -0
- package/dist/src/domain/model/paylink/dtos/updatePaylink.dto.js +6 -0
- package/dist/src/domain/model/paylink/dtos/updatePaylink.dto.js.map +1 -1
- package/dist/src/domain/model/paylink/entities/BasePaylink.d.ts +2 -0
- package/dist/src/domain/model/paylink/entities/BasePaylink.js.map +1 -1
- package/dist/src/domain/model/paylink/entities/Integration.enum.d.ts +3 -0
- package/dist/src/domain/model/paylink/entities/Integration.enum.js +8 -0
- package/dist/src/domain/model/paylink/entities/Integration.enum.js.map +1 -0
- package/dist/src/domain/model/paylink/entities/ShallowEnrichedPaylink.d.ts +2 -0
- package/dist/src/domain/model/paylink/entities/ShallowEnrichedPaylink.js.map +1 -1
- 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/dtos/createPaymentRequest.dto.js +5 -0
- package/dist/src/domain/model/payment-request/dtos/createPaymentRequest.dto.js.map +1 -1
- package/dist/src/domain/model/payment-request/dtos/updatePaymentRequest.dto.js +5 -0
- package/dist/src/domain/model/payment-request/dtos/updatePaymentRequest.dto.js.map +1 -1
- package/dist/src/domain/model/user/dtos/updateUser.dto.d.ts +0 -3
- package/dist/src/domain/model/user/dtos/updateUser.dto.js +0 -15
- package/dist/src/domain/model/user/dtos/updateUser.dto.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -27,4 +27,5 @@ __exportStar(require("./generalNetwork"), exports);
|
|
|
27
27
|
__exportStar(require("./paymentType"), exports);
|
|
28
28
|
__exportStar(require("./escrow"), exports);
|
|
29
29
|
__exportStar(require("./sumsub"), exports);
|
|
30
|
+
__exportStar(require("./limitSaleType"), exports);
|
|
30
31
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mDAAiC;AACjC,gDAA8B;AAC9B,iDAA+B;AAC/B,+CAA6B;AAC7B,mDAAiC;AACjC,qDAAmC;AACnC,8CAA4B;AAC5B,qEAAmD;AACnD,mDAAiC;AACjC,gDAA8B;AAC9B,2CAAyB;AACzB,2CAAyB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mDAAiC;AACjC,gDAA8B;AAC9B,iDAA+B;AAC/B,+CAA6B;AAC7B,mDAAiC;AACjC,qDAAmC;AACnC,8CAA4B;AAC5B,qEAAmD;AACnD,mDAAiC;AACjC,gDAA8B;AAC9B,2CAAyB;AACzB,2CAAyB;AACzB,kDAAgC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LimitSaleType = void 0;
|
|
4
|
+
var LimitSaleType;
|
|
5
|
+
(function (LimitSaleType) {
|
|
6
|
+
LimitSaleType["TRANSACTION"] = "transaction";
|
|
7
|
+
LimitSaleType["DISCORD_ID"] = "discordId";
|
|
8
|
+
})(LimitSaleType = exports.LimitSaleType || (exports.LimitSaleType = {}));
|
|
9
|
+
//# sourceMappingURL=limitSaleType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"limitSaleType.js","sourceRoot":"","sources":["../../../../src/domain/constants/limitSaleType.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,4CAA2B,CAAA;IAC3B,yCAAwB,CAAA;AAC1B,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BigintMin = void 0;
|
|
4
|
+
const class_validator_1 = require("class-validator");
|
|
5
|
+
function BigintMin(minValue, validationOptions) {
|
|
6
|
+
return function decorator(object, propertyName) {
|
|
7
|
+
(0, class_validator_1.registerDecorator)({
|
|
8
|
+
name: 'BigintMin',
|
|
9
|
+
target: object.constructor,
|
|
10
|
+
propertyName,
|
|
11
|
+
constraints: [minValue],
|
|
12
|
+
options: validationOptions,
|
|
13
|
+
validator: {
|
|
14
|
+
validate(value) {
|
|
15
|
+
if (typeof value !== 'bigint') {
|
|
16
|
+
return false;
|
|
17
|
+
}
|
|
18
|
+
try {
|
|
19
|
+
return value >= BigInt(minValue);
|
|
20
|
+
}
|
|
21
|
+
catch (e) {
|
|
22
|
+
return false;
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
exports.BigintMin = BigintMin;
|
|
30
|
+
//# sourceMappingURL=BigintMin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BigintMin.js","sourceRoot":"","sources":["../../../../src/domain/decorators/BigintMin.ts"],"names":[],"mappings":";;;AAAA,qDAAuE;AAEvE,SAAgB,SAAS,CACvB,QAAkC,EAClC,iBAAqC;IAErC,OAAO,SAAS,SAAS,CAAC,MAAe,EAAE,YAAoB;QAC7D,IAAA,mCAAiB,EAAC;YAChB,IAAI,EAAE,WAAW;YACjB,MAAM,EAAE,MAAM,CAAC,WAAW;YAC1B,YAAY;YACZ,WAAW,EAAE,CAAC,QAAQ,CAAC;YACvB,OAAO,EAAE,iBAAiB;YAC1B,SAAS,EAAE;gBACT,QAAQ,CAAC,KAAc;oBACrB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;wBAC7B,OAAO,KAAK,CAAC;qBACd;oBAED,IAAI;wBACF,OAAO,KAAK,IAAI,MAAM,CAAC,QAAQ,CAAC,CAAC;qBAClC;oBAAC,OAAO,CAAC,EAAE;wBACV,OAAO,KAAK,CAAC;qBACd;gBACH,CAAC;aACF;SACF,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC;AA1BD,8BA0BC"}
|
|
@@ -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("./PartialRequired"), exports);
|
|
18
|
+
__exportStar(require("./BigintMin"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/decorators/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/decorators/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,8CAA4B"}
|
|
@@ -54,5 +54,10 @@ __decorate([
|
|
|
54
54
|
(0, class_validator_1.IsOptional)(),
|
|
55
55
|
__metadata("design:type", Boolean)
|
|
56
56
|
], LinkFeaturesDto.prototype, "showDiscountCode", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_validator_1.IsBoolean)(),
|
|
59
|
+
(0, class_validator_1.IsOptional)(),
|
|
60
|
+
__metadata("design:type", Boolean)
|
|
61
|
+
], LinkFeaturesDto.prototype, "requireDiscordQuantityLimit", void 0);
|
|
57
62
|
exports.LinkFeaturesDto = LinkFeaturesDto;
|
|
58
63
|
//# sourceMappingURL=linkFeatures.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linkFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/dtos/linkFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AACxD,6EAA2E;AAE3E,MAAa,eAAgB,SAAQ,oDAAyB;
|
|
1
|
+
{"version":3,"file":"linkFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/dtos/linkFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AACxD,6EAA2E;AAE3E,MAAa,eAAgB,SAAQ,oDAAyB;CAoC7D;AAnCC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qDACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qDACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACe;AAE5B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8DACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;uDACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oDACS;AAEtB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;mDACS;AAErB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yDACc;AAE3B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACyB;AAnCxC,0CAoCC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PaymentRequestFeatures } from '../../payment-request-features';
|
|
2
|
+
export declare class LinkFeatures extends PaymentRequestFeatures {
|
|
3
|
+
canChangePrice: boolean;
|
|
4
|
+
requireQuantityLimits: boolean;
|
|
5
|
+
canChangeQuantity: boolean;
|
|
6
|
+
isHelioPlay: boolean;
|
|
7
|
+
isEscrowed: boolean;
|
|
8
|
+
requireDiscordQuantityLimit: boolean;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LinkFeatures = void 0;
|
|
4
|
+
const payment_request_features_1 = require("../../payment-request-features");
|
|
5
|
+
class LinkFeatures extends payment_request_features_1.PaymentRequestFeatures {
|
|
6
|
+
}
|
|
7
|
+
exports.LinkFeatures = LinkFeatures;
|
|
8
|
+
//# sourceMappingURL=LinkFeatures.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkFeatures.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/entities/LinkFeatures.entity.ts"],"names":[],"mappings":";;;AAAA,6EAAwE;AAExE,MAAa,YAAa,SAAQ,iDAAsB;CAYvD;AAZD,oCAYC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './LinkFeatures';
|
|
1
|
+
export * from './LinkFeatures.entity';
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./LinkFeatures"), exports);
|
|
17
|
+
__exportStar(require("./LinkFeatures.entity"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"nftDrop.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-drop/dtos/nftDrop.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8E;AAE9E,MAAa,UAAU;CAMtB;AALC;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,4BAAU,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;iDACH;AAL1B,gCAMC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"nftEscrowCancel.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-escrow/dtos/nftEscrowCancel.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,kBAAkB;CAY9B;AAXC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACO;AAXtB,gDAYC"}
|
|
@@ -40,4 +40,4 @@ __decorate([
|
|
|
40
40
|
__metadata("design:type", String)
|
|
41
41
|
], NftEscrowCreateDto.prototype, "currencyMintAddress", void 0);
|
|
42
42
|
exports.NftEscrowCreateDto = NftEscrowCreateDto;
|
|
43
|
-
//# sourceMappingURL=
|
|
43
|
+
//# sourceMappingURL=nftEscrowCreate.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"nftEscrowCreate.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-escrow/dtos/nftEscrowCreate.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAAuD;AAEvD,MAAa,kBAAkB;CAoB9B;AAnBC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;iDAC1B;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACW;AAExB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACe;AAnB9B,gDAoBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"nftEscrowSubmit.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-escrow/dtos/nftEscrowSubmit.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AAEnE,MAAa,kBAAkB;CAgB9B;AAfC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACa;AAE1B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACa;AAE1B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACY;AAf3B,gDAgBC"}
|
|
@@ -3,6 +3,7 @@ import { SplitWalletDto } from '../../split-wallets';
|
|
|
3
3
|
import { CreatePaymentRequestDto } from '../../payment-request';
|
|
4
4
|
import { HelioPlayPropertiesDto } from '../../helio-play';
|
|
5
5
|
import { DiscountCodeDto } from '../../discount-codes';
|
|
6
|
+
import { LimitSaleType } from '../../../constants';
|
|
6
7
|
export declare type CreatePaylinkDtoDeserialized = Omit<CreatePaylinkDto, 'normalizedPrice'> & {
|
|
7
8
|
normalizedPrice: bigint;
|
|
8
9
|
};
|
|
@@ -10,6 +11,7 @@ export declare class CreatePaylinkDto extends CreatePaymentRequestDto {
|
|
|
10
11
|
features?: LinkFeaturesDto;
|
|
11
12
|
splitWallets?: SplitWalletDto[];
|
|
12
13
|
discountCodes?: DiscountCodeDto[];
|
|
14
|
+
limitSaleType?: LimitSaleType;
|
|
13
15
|
minQuantity?: number;
|
|
14
16
|
maxQuantity?: number;
|
|
15
17
|
helioPlayProperties?: HelioPlayPropertiesDto;
|
|
@@ -17,6 +17,7 @@ const split_wallets_1 = require("../../split-wallets");
|
|
|
17
17
|
const payment_request_1 = require("../../payment-request");
|
|
18
18
|
const helio_play_1 = require("../../helio-play");
|
|
19
19
|
const discount_codes_1 = require("../../discount-codes");
|
|
20
|
+
const constants_1 = require("../../../constants");
|
|
20
21
|
class CreatePaylinkDto extends payment_request_1.CreatePaymentRequestDto {
|
|
21
22
|
}
|
|
22
23
|
__decorate([
|
|
@@ -35,6 +36,11 @@ __decorate([
|
|
|
35
36
|
(0, class_validator_1.IsOptional)(),
|
|
36
37
|
__metadata("design:type", Array)
|
|
37
38
|
], CreatePaylinkDto.prototype, "discountCodes", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_1.IsEnum)(constants_1.LimitSaleType),
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], CreatePaylinkDto.prototype, "limitSaleType", void 0);
|
|
38
44
|
__decorate([
|
|
39
45
|
(0, class_validator_1.IsOptional)(),
|
|
40
46
|
(0, class_validator_1.IsNumber)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPaylink.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/createPaylink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"createPaylink.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/createPaylink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+E;AAC/E,yDAAyC;AACzC,uDAAsD;AACtD,uDAAqD;AACrD,2DAAgE;AAChE,iDAA0D;AAC1D,yDAAuD;AACvD,kDAAmD;AAOnD,MAAa,gBAAiB,SAAQ,yCAAuB;CA8B5D;AA7BC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+BAAe,CAAC;IAC3B,IAAA,gCAAc,GAAE;8BACN,+BAAe;kDAAC;AAE3B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAc,CAAC;IAC1B,IAAA,4BAAU,GAAE;;sDACmB;AAEhC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAe,CAAC;IAC3B,IAAA,4BAAU,GAAE;;uDACqB;AAElC;IAAC,IAAA,wBAAM,EAAC,yBAAa,CAAC;IACrB,IAAA,4BAAU,GAAE;;uDACiB;AAE9B;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAsB,CAAC;IAClC,IAAA,gCAAc,GAAE;8BACK,mCAAsB;6DAAC;AA7B/C,4CA8BC"}
|
|
@@ -3,10 +3,12 @@ import { SplitWalletDto } from '../../split-wallets';
|
|
|
3
3
|
import { UpdatePaymentRequestDto } from '../../payment-request';
|
|
4
4
|
import { HelioPlayPropertiesDto } from '../../helio-play';
|
|
5
5
|
import { DiscountCodeDto } from '../../discount-codes';
|
|
6
|
+
import { LimitSaleType } from '../../../constants';
|
|
6
7
|
export declare class UpdatePaylinkDto extends UpdatePaymentRequestDto {
|
|
7
8
|
features?: LinkFeaturesDto;
|
|
8
9
|
splitWallets?: SplitWalletDto[];
|
|
9
10
|
discountCodes?: DiscountCodeDto[];
|
|
11
|
+
limitSaleType?: LimitSaleType;
|
|
10
12
|
minQuantity?: number;
|
|
11
13
|
maxQuantity?: number;
|
|
12
14
|
helioPlayProperties?: HelioPlayPropertiesDto;
|
|
@@ -17,6 +17,7 @@ const split_wallets_1 = require("../../split-wallets");
|
|
|
17
17
|
const payment_request_1 = require("../../payment-request");
|
|
18
18
|
const helio_play_1 = require("../../helio-play");
|
|
19
19
|
const discount_codes_1 = require("../../discount-codes");
|
|
20
|
+
const constants_1 = require("../../../constants");
|
|
20
21
|
class UpdatePaylinkDto extends payment_request_1.UpdatePaymentRequestDto {
|
|
21
22
|
}
|
|
22
23
|
__decorate([
|
|
@@ -35,6 +36,11 @@ __decorate([
|
|
|
35
36
|
(0, class_validator_1.IsOptional)(),
|
|
36
37
|
__metadata("design:type", Array)
|
|
37
38
|
], UpdatePaylinkDto.prototype, "discountCodes", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_1.IsEnum)(constants_1.LimitSaleType),
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], UpdatePaylinkDto.prototype, "limitSaleType", void 0);
|
|
38
44
|
__decorate([
|
|
39
45
|
(0, class_validator_1.IsNumber)(),
|
|
40
46
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updatePaylink.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/updatePaylink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"updatePaylink.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/updatePaylink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+E;AAC/E,yDAAyC;AACzC,uDAAsD;AACtD,uDAAqD;AACrD,2DAAgE;AAChE,iDAA0D;AAC1D,yDAAuD;AACvD,kDAAmD;AAEnD,MAAa,gBAAiB,SAAQ,yCAAuB;CA8B5D;AA7BC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+BAAe,CAAC;IAC3B,IAAA,gCAAc,GAAE;8BACN,+BAAe;kDAAC;AAE3B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAc,CAAC;IAC1B,IAAA,4BAAU,GAAE;;sDACmB;AAEhC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAe,CAAC;IAC3B,IAAA,4BAAU,GAAE;;uDACqB;AAElC;IAAC,IAAA,wBAAM,EAAC,yBAAa,CAAC;IACrB,IAAA,4BAAU,GAAE;;uDACiB;AAE9B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAsB,CAAC;IAClC,IAAA,gCAAc,GAAE;8BACK,mCAAsB;6DAAC;AA7B/C,4CA8BC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { HelioPlayProperties } from '../../helio-play';
|
|
2
2
|
import type { LinkFeatures } from '../../link-features';
|
|
3
3
|
import { BasePaymentRequest } from '../../payment-request';
|
|
4
|
+
import { LimitSaleType } from '../../../constants';
|
|
4
5
|
export declare class BasePaylink extends BasePaymentRequest {
|
|
5
6
|
features: LinkFeatures;
|
|
7
|
+
limitSaleType?: LimitSaleType;
|
|
6
8
|
minQuantity?: number;
|
|
7
9
|
maxQuantity?: number;
|
|
8
10
|
helioPlayProperties?: HelioPlayProperties;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasePaylink.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/BasePaylink.ts"],"names":[],"mappings":";;;AAEA,2DAA2D;
|
|
1
|
+
{"version":3,"file":"BasePaylink.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/BasePaylink.ts"],"names":[],"mappings":";;;AAEA,2DAA2D;AAG3D,MAAa,WAAY,SAAQ,oCAAkB;CAUlD;AAVD,kCAUC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Integration = void 0;
|
|
4
|
+
var Integration;
|
|
5
|
+
(function (Integration) {
|
|
6
|
+
Integration["BIZZABO"] = "BIZZABO";
|
|
7
|
+
})(Integration = exports.Integration || (exports.Integration = {}));
|
|
8
|
+
//# sourceMappingURL=Integration.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Integration.enum.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/Integration.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAEX;AAFD,WAAY,WAAW;IACrB,kCAAmB,CAAA;AACrB,CAAC,EAFW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAEtB"}
|
|
@@ -2,8 +2,10 @@ import { ShallowEnrichedPaymentRequest } from '../../payment-request';
|
|
|
2
2
|
import type { ContentResponse } from '../../content';
|
|
3
3
|
import type { LinkFeatures } from '../../link-features';
|
|
4
4
|
import { HelioPlayProperties } from '../../helio-play';
|
|
5
|
+
import { LimitSaleType } from '../../../constants';
|
|
5
6
|
export declare class ShallowEnrichedPaylink extends ShallowEnrichedPaymentRequest {
|
|
6
7
|
content: ContentResponse;
|
|
8
|
+
limitSaleType?: LimitSaleType;
|
|
7
9
|
minQuantity?: number;
|
|
8
10
|
maxQuantity?: number;
|
|
9
11
|
features: LinkFeatures;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShallowEnrichedPaylink.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/ShallowEnrichedPaylink.ts"],"names":[],"mappings":";;;AAAA,2DAAsE;
|
|
1
|
+
{"version":3,"file":"ShallowEnrichedPaylink.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/ShallowEnrichedPaylink.ts"],"names":[],"mappings":";;;AAAA,2DAAsE;AAMtE,MAAa,sBAAuB,SAAQ,+CAA6B;CAYxE;AAZD,wDAYC"}
|
|
@@ -21,4 +21,5 @@ __exportStar(require("./OnlyContentPaylink"), exports);
|
|
|
21
21
|
__exportStar(require("./PaylinkStats"), exports);
|
|
22
22
|
__exportStar(require("./OnlyContentAndSwapTransactionPaylink.entity"), exports);
|
|
23
23
|
__exportStar(require("./OnlyContentAndTransactionPaylink.entity"), exports);
|
|
24
|
+
__exportStar(require("./Integration.enum"), exports);
|
|
24
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,gDAA8B;AAC9B,2DAAyC;AACzC,uDAAqC;AACrC,iDAA+B;AAC/B,gFAA8D;AAC9D,4EAA0D"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,gDAA8B;AAC9B,2DAAyC;AACzC,uDAAqC;AACrC,iDAA+B;AAC/B,gFAA8D;AAC9D,4EAA0D;AAC1D,qDAAmC"}
|
|
@@ -19,6 +19,7 @@ const discordAuthProperties_1 = require("../../discordAuthProperties");
|
|
|
19
19
|
const access_code_auth_properties_1 = require("../../access-code-auth-properties");
|
|
20
20
|
const blockchain_1 = require("../../blockchain");
|
|
21
21
|
const nft_drop_1 = require("../../nft-drop");
|
|
22
|
+
const decorators_1 = require("../../../decorators");
|
|
22
23
|
class CreatePaymentRequestDto {
|
|
23
24
|
constructor() {
|
|
24
25
|
this.notifySenderByEmail = false;
|
|
@@ -47,6 +48,10 @@ __decorate([
|
|
|
47
48
|
__metadata("design:type", String)
|
|
48
49
|
], CreatePaymentRequestDto.prototype, "image", void 0);
|
|
49
50
|
__decorate([
|
|
51
|
+
(0, class_validator_1.ValidateIf)((object) => {
|
|
52
|
+
return !object.dynamic && !object.features?.canChangePrice;
|
|
53
|
+
}),
|
|
54
|
+
(0, decorators_1.BigintMin)(1, { message: 'Price must be greater than 0' }),
|
|
50
55
|
(0, class_validator_1.IsOptional)(),
|
|
51
56
|
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
52
57
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPaymentRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/createPaymentRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"createPaymentRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/createPaymentRequest.dto.ts"],"names":[],"mappings":"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"}
|
|
@@ -19,6 +19,7 @@ const discordAuthProperties_1 = require("../../discordAuthProperties");
|
|
|
19
19
|
const access_code_auth_properties_1 = require("../../access-code-auth-properties");
|
|
20
20
|
const blockchain_1 = require("../../blockchain");
|
|
21
21
|
const nft_drop_1 = require("../../nft-drop");
|
|
22
|
+
const decorators_1 = require("../../../decorators");
|
|
22
23
|
class UpdatePaymentRequestDto {
|
|
23
24
|
}
|
|
24
25
|
__decorate([
|
|
@@ -37,6 +38,10 @@ __decorate([
|
|
|
37
38
|
__metadata("design:type", String)
|
|
38
39
|
], UpdatePaymentRequestDto.prototype, "image", void 0);
|
|
39
40
|
__decorate([
|
|
41
|
+
(0, class_validator_1.ValidateIf)((object) => {
|
|
42
|
+
return !object.dynamic && !object.features?.canChangePrice;
|
|
43
|
+
}),
|
|
44
|
+
(0, decorators_1.BigintMin)(1, { message: 'Price must be greater than 0' }),
|
|
40
45
|
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
41
46
|
(0, class_validator_1.IsOptional)(),
|
|
42
47
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updatePaymentRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/updatePaymentRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"updatePaymentRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/updatePaymentRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,yDAAoD;AACpD,2CAA2C;AAC3C,2CAA2C;AAC3C,yDAAwD;AACxD,uEAAuE;AACvE,mFAAgF;AAChF,iDAAoD;AACpD,6CAA4C;AAC5C,oDAAgD;AAEhD,MAAa,uBAAuB;CAsFnC;AArFC;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,4BAAU,EAAC,CAAC,MAAM,EAAE,EAAE;QACrB,OAAO,CAAC,MAAM,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,cAAc,CAAC;IAC7D,CAAC,CAAC;IACD,IAAA,sBAAS,EAAC,CAAC,EAAE,EAAE,OAAO,EAAE,8BAA8B,EAAE,CAAC;IACzD,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;IACZ,IAAA,wBAAM,EAAC,6BAAgB,CAAC;;2DACK;AAE9B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yDACM;AAEnB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wDACK;AAElB;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,yDAA2B,CAAC;IACvC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACU,yDAA2B;yEAAC;AAEvD;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAU,CAAC;IACtB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACP,qBAAU;wDAAC;AAErB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;8BACG,iCAAgB;8DAAC;AArFnC,0DAsFC"}
|
|
@@ -24,20 +24,5 @@ __decorate([
|
|
|
24
24
|
(0, class_validator_1.IsOptional)(),
|
|
25
25
|
__metadata("design:type", String)
|
|
26
26
|
], UpdateUserDto.prototype, "name", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, class_validator_1.IsString)(),
|
|
29
|
-
(0, class_validator_1.IsOptional)(),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], UpdateUserDto.prototype, "discordUsername", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, class_validator_1.IsString)(),
|
|
34
|
-
(0, class_validator_1.IsOptional)(),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], UpdateUserDto.prototype, "twitterUsername", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, class_validator_1.IsBoolean)(),
|
|
39
|
-
(0, class_validator_1.IsOptional)(),
|
|
40
|
-
__metadata("design:type", Boolean)
|
|
41
|
-
], UpdateUserDto.prototype, "isDisabled", void 0);
|
|
42
27
|
exports.UpdateUserDto = UpdateUserDto;
|
|
43
28
|
//# sourceMappingURL=updateUser.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateUser.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/user/dtos/updateUser.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"updateUser.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/user/dtos/updateUser.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4E;AAE5E,MAAa,aAAa;CASzB;AARC;IAAC,IAAA,4BAAU,EAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,EAAE,CAAC;IAC1C,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;;4CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2CACC;AARhB,sCASC"}
|