@heliofi/common 0.1.657 → 0.1.658
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/template.d.ts +2 -1
- package/dist/src/domain/constants/template.js +1 -0
- package/dist/src/domain/constants/template.js.map +1 -1
- package/dist/src/domain/decorators/jsonStringTransformerIfNotObject.d.ts +4 -0
- package/dist/src/domain/decorators/jsonStringTransformerIfNotObject.js +21 -0
- package/dist/src/domain/decorators/jsonStringTransformerIfNotObject.js.map +1 -0
- package/dist/src/domain/decorators/jsonStringTransformerIfNotObject.spec.d.ts +1 -0
- package/dist/src/domain/decorators/jsonStringTransformerIfNotObject.spec.js +33 -0
- package/dist/src/domain/decorators/jsonStringTransformerIfNotObject.spec.js.map +1 -0
- package/dist/src/domain/errors/InputError.d.ts +4 -0
- package/dist/src/domain/errors/InputError.js +14 -0
- package/dist/src/domain/errors/InputError.js.map +1 -0
- package/dist/src/domain/errors/index.d.ts +1 -0
- package/dist/src/domain/errors/index.js +18 -0
- package/dist/src/domain/errors/index.js.map +1 -0
- package/dist/src/domain/index.d.ts +1 -0
- package/dist/src/domain/index.js +1 -0
- package/dist/src/domain/index.js.map +1 -1
- package/dist/src/domain/model/currency/dtos/createCurrency.dto.d.ts +6 -3
- package/dist/src/domain/model/currency/dtos/createCurrency.dto.js +16 -0
- package/dist/src/domain/model/currency/dtos/createCurrency.dto.js.map +1 -1
- package/dist/src/domain/model/currency/dtos/createCurrencyWithIconUrl.dto.d.ts +4 -0
- package/dist/src/domain/model/currency/dtos/createCurrencyWithIconUrl.dto.js +23 -0
- package/dist/src/domain/model/currency/dtos/createCurrencyWithIconUrl.dto.js.map +1 -0
- package/dist/src/domain/model/currency/dtos/index.d.ts +2 -0
- package/dist/src/domain/model/currency/dtos/index.js +2 -0
- package/dist/src/domain/model/currency/dtos/index.js.map +1 -1
- package/dist/src/domain/model/currency/dtos/updateCurrency.dto.d.ts +5 -1
- package/dist/src/domain/model/currency/dtos/updateCurrency.dto.js +22 -5
- package/dist/src/domain/model/currency/dtos/updateCurrency.dto.js.map +1 -1
- package/dist/src/domain/model/currency/dtos/updateCurrencyWithIconUrl.dto.d.ts +4 -0
- package/dist/src/domain/model/currency/dtos/updateCurrencyWithIconUrl.dto.js +23 -0
- package/dist/src/domain/model/currency/dtos/updateCurrencyWithIconUrl.dto.js.map +1 -0
- 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/link-features/dtos/createLinkFeatures.dto.d.ts +1 -0
- package/dist/src/domain/model/link-features/dtos/createLinkFeatures.dto.js +5 -0
- package/dist/src/domain/model/link-features/dtos/createLinkFeatures.dto.js.map +1 -1
- package/dist/src/domain/model/link-features/dtos/updateLinkFeatures.dto.d.ts +1 -0
- package/dist/src/domain/model/link-features/dtos/updateLinkFeatures.dto.js +5 -0
- package/dist/src/domain/model/link-features/dtos/updateLinkFeatures.dto.js.map +1 -1
- package/dist/src/domain/model/link-features/entities/LinkFeatures.entity.d.ts +1 -0
- package/dist/src/domain/model/link-features/entities/LinkFeatures.entity.js.map +1 -1
- package/dist/src/domain/model/nft-send/dtos/nftSendPrepare.dto.d.ts +1 -2
- package/dist/src/domain/model/nft-send/dtos/nftSendPrepare.dto.js +1 -6
- package/dist/src/domain/model/nft-send/dtos/nftSendPrepare.dto.js.map +1 -1
- package/dist/src/domain/model/nft-send/dtos/nftSendSubmit.dto.d.ts +1 -2
- package/dist/src/domain/model/nft-send/dtos/nftSendSubmit.dto.js +1 -6
- package/dist/src/domain/model/nft-send/dtos/nftSendSubmit.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/Paylink.d.ts +2 -0
- package/dist/src/domain/model/paylink/entities/Paylink.js.map +1 -1
- package/dist/src/domain/model/paylink/entities/ShallowEnrichedPaylink.entity.d.ts +2 -0
- package/dist/src/domain/model/paylink/entities/ShallowEnrichedPaylink.entity.js.map +1 -1
- package/dist/src/domain/model/prepare-transaction/entities/PrepareSendNftTransaction.entity.d.ts +0 -1
- package/dist/src/domain/model/prepare-transaction/entities/PrepareSendNftTransaction.entity.js.map +1 -1
- package/dist/src/domain/model/subscription-details/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/subscription-details/dtos/index.js +18 -0
- package/dist/src/domain/model/subscription-details/dtos/index.js.map +1 -0
- package/dist/src/domain/model/subscription-details/dtos/subscriptionDetails.dto.d.ts +7 -0
- package/dist/src/domain/model/subscription-details/dtos/subscriptionDetails.dto.js +38 -0
- package/dist/src/domain/model/subscription-details/dtos/subscriptionDetails.dto.js.map +1 -0
- package/dist/src/domain/model/subscription-details/entities/SubscriptionDetails.entity.d.ts +7 -0
- package/dist/src/domain/model/subscription-details/entities/SubscriptionDetails.entity.js +7 -0
- package/dist/src/domain/model/subscription-details/entities/SubscriptionDetails.entity.js.map +1 -0
- package/dist/src/domain/model/subscription-details/entities/index.d.ts +1 -0
- package/dist/src/domain/model/subscription-details/entities/index.js +18 -0
- package/dist/src/domain/model/subscription-details/entities/index.js.map +1 -0
- package/dist/src/domain/model/subscription-details/index.d.ts +2 -0
- package/dist/src/domain/model/subscription-details/index.js +19 -0
- package/dist/src/domain/model/subscription-details/index.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -2
|
@@ -4,6 +4,7 @@ import { BasePaymentRequest } from '../../payment-request';
|
|
|
4
4
|
import { LimitSaleType } from '../../../constants';
|
|
5
5
|
import { AffiliateDetails } from '../../affiliates';
|
|
6
6
|
import { RaffleDetails } from '../../raffle-details';
|
|
7
|
+
import { SubscriptionDetails } from '../../subscription-details';
|
|
7
8
|
export declare class BasePaylink extends BasePaymentRequest {
|
|
8
9
|
features: LinkFeatures;
|
|
9
10
|
limitSaleType?: LimitSaleType;
|
|
@@ -12,4 +13,5 @@ export declare class BasePaylink extends BasePaymentRequest {
|
|
|
12
13
|
helioPlayProperties?: HelioPlayProperties;
|
|
13
14
|
affiliateDetails?: AffiliateDetails;
|
|
14
15
|
raffleDetails?: RaffleDetails;
|
|
16
|
+
subscriptionDetails?: SubscriptionDetails;
|
|
15
17
|
}
|
|
@@ -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;AAM3D,MAAa,WAAY,SAAQ,oCAAkB;CAgBlD;AAhBD,kCAgBC"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { HelioPlayProperties } from '../../helio-play';
|
|
2
2
|
import { LinkFeatures } from '../../link-features';
|
|
3
3
|
import { PaymentRequest } from '../../payment-request';
|
|
4
|
+
import { SubscriptionDetails } from '../../subscription-details';
|
|
4
5
|
export declare class Paylink extends PaymentRequest {
|
|
5
6
|
features: LinkFeatures;
|
|
6
7
|
minQuantity?: number;
|
|
7
8
|
maxQuantity?: number;
|
|
8
9
|
helioPlayProperties?: HelioPlayProperties;
|
|
9
10
|
airdropConfigured?: boolean;
|
|
11
|
+
subscriptionDetails?: SubscriptionDetails;
|
|
10
12
|
redirectUrl?: string;
|
|
11
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Paylink.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/Paylink.ts"],"names":[],"mappings":";;;AAEA,2DAAuD;
|
|
1
|
+
{"version":3,"file":"Paylink.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/Paylink.ts"],"names":[],"mappings":";;;AAEA,2DAAuD;AAGvD,MAAa,OAAQ,SAAQ,gCAAc;CAc1C;AAdD,0BAcC"}
|
|
@@ -6,6 +6,7 @@ import { LimitSaleType } from '../../../constants';
|
|
|
6
6
|
import { AffiliateDetails } from '../../affiliates';
|
|
7
7
|
import { RaffleDetails } from '../../raffle-details';
|
|
8
8
|
import { BaseAirdropDetails } from '../../airdrop-details';
|
|
9
|
+
import { SubscriptionDetails } from '../../subscription-details';
|
|
9
10
|
export declare class ShallowEnrichedPaylink extends ShallowEnrichedPaymentRequest {
|
|
10
11
|
content: ContentResponse;
|
|
11
12
|
limitSaleType?: LimitSaleType;
|
|
@@ -17,5 +18,6 @@ export declare class ShallowEnrichedPaylink extends ShallowEnrichedPaymentReques
|
|
|
17
18
|
affiliateDetails?: AffiliateDetails;
|
|
18
19
|
airdropConfigured?: boolean;
|
|
19
20
|
raffleDetails?: RaffleDetails;
|
|
21
|
+
subscriptionDetails?: SubscriptionDetails;
|
|
20
22
|
redirectUrl?: string;
|
|
21
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShallowEnrichedPaylink.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/ShallowEnrichedPaylink.entity.ts"],"names":[],"mappings":";;;AAAA,2DAAsE;
|
|
1
|
+
{"version":3,"file":"ShallowEnrichedPaylink.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/ShallowEnrichedPaylink.entity.ts"],"names":[],"mappings":";;;AAAA,2DAAsE;AAUtE,MAAa,sBAAuB,SAAQ,+CAA6B;CAwBxE;AAxBD,wDAwBC"}
|
package/dist/src/domain/model/prepare-transaction/entities/PrepareSendNftTransaction.entity.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrepareSendNftTransaction.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/entities/PrepareSendNftTransaction.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,yBAA0B,SAAQ,eAAM;
|
|
1
|
+
{"version":3,"file":"PrepareSendNftTransaction.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/entities/PrepareSendNftTransaction.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,yBAA0B,SAAQ,eAAM;CAUpD;AAVD,8DAUC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './subscriptionDetails.dto';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./subscriptionDetails.dto"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/subscription-details/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C"}
|
|
@@ -0,0 +1,38 @@
|
|
|
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.SubscriptionDetailsDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const constants_1 = require("../../../constants");
|
|
15
|
+
class SubscriptionDetailsDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsNumber)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], SubscriptionDetailsDto.prototype, "renewalReminders", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsNumber)(),
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], SubscriptionDetailsDto.prototype, "gracePeriod", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsNumber)(),
|
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], SubscriptionDetailsDto.prototype, "annualDiscountBps", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsEnum)(constants_1.IntervalType),
|
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], SubscriptionDetailsDto.prototype, "interval", void 0);
|
|
37
|
+
exports.SubscriptionDetailsDto = SubscriptionDetailsDto;
|
|
38
|
+
//# sourceMappingURL=subscriptionDetails.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriptionDetails.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/subscription-details/dtos/subscriptionDetails.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,kDAAkD;AAElD,MAAa,sBAAsB;CAgBlC;AAfC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACa;AAE1B;IAAC,IAAA,wBAAM,EAAC,wBAAY,CAAC;IACpB,IAAA,4BAAU,GAAE;;wDACU;AAfzB,wDAgBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubscriptionDetails.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/subscription-details/entities/SubscriptionDetails.entity.ts"],"names":[],"mappings":";;;AAEA,MAAa,mBAAmB;CAQ/B;AARD,kDAQC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SubscriptionDetails.entity';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./SubscriptionDetails.entity"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/subscription-details/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./dtos"), exports);
|
|
18
|
+
__exportStar(require("./entities"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/subscription-details/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
|