@heliofi/common 0.1.423 → 0.1.424
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/auth/dtos/transactionSignOn.dto.d.ts +4 -0
- package/dist/src/domain/model/auth/dtos/transactionSignOn.dto.js +19 -0
- package/dist/src/domain/model/auth/dtos/transactionSignOn.dto.js.map +1 -1
- package/dist/src/domain/model/paylink/dtos/createPaylink.dto.d.ts +1 -1
- package/dist/src/domain/model/paylink/dtos/createPaylink.dto.js +1 -1
- package/dist/src/domain/model/paylink/dtos/createPaylink.dto.js.map +1 -1
- package/dist/src/domain/model/paylink/dtos/createPaylinkWithApi.dto.d.ts +1 -1
- package/dist/src/domain/model/paylink/dtos/createPaylinkWithApi.dto.js +1 -1
- package/dist/src/domain/model/paylink/dtos/createPaylinkWithApi.dto.js.map +1 -1
- package/dist/src/domain/model/payment-request/entities/BasePaymentRequest.d.ts +1 -0
- package/dist/src/domain/model/payment-request/entities/BasePaymentRequest.js +4 -0
- package/dist/src/domain/model/payment-request/entities/BasePaymentRequest.js.map +1 -1
- package/dist/src/domain/model/paystream/dtos/createPaystream.dto.d.ts +1 -1
- package/dist/src/domain/model/paystream/dtos/createPaystream.dto.js +1 -1
- package/dist/src/domain/model/paystream/dtos/createPaystream.dto.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -2,6 +2,10 @@ import { Platform } from '../../../constants';
|
|
|
2
2
|
import { AuthScope } from '../entities';
|
|
3
3
|
export declare class TransactionSignOnDto {
|
|
4
4
|
transaction: string;
|
|
5
|
+
publicKey: string;
|
|
6
|
+
authMessage: string;
|
|
7
|
+
nonce: string;
|
|
8
|
+
nonceV2?: boolean;
|
|
5
9
|
platform?: Platform;
|
|
6
10
|
scopes?: AuthScope[];
|
|
7
11
|
}
|
|
@@ -20,6 +20,25 @@ __decorate([
|
|
|
20
20
|
(0, class_validator_1.IsNotEmpty)(),
|
|
21
21
|
__metadata("design:type", String)
|
|
22
22
|
], TransactionSignOnDto.prototype, "transaction", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], TransactionSignOnDto.prototype, "publicKey", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], TransactionSignOnDto.prototype, "authMessage", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], TransactionSignOnDto.prototype, "nonce", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsOptional)(),
|
|
40
|
+
__metadata("design:type", Boolean)
|
|
41
|
+
], TransactionSignOnDto.prototype, "nonceV2", void 0);
|
|
23
42
|
__decorate([
|
|
24
43
|
(0, class_validator_1.IsOptional)(),
|
|
25
44
|
(0, class_validator_1.IsEnum)(constants_1.Platform),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactionSignOn.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/transactionSignOn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,kDAA8C;AAC9C,0CAAwC;AAExC,MAAa,oBAAoB;
|
|
1
|
+
{"version":3,"file":"transactionSignOn.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/transactionSignOn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,kDAA8C;AAC9C,0CAAwC;AAExC,MAAa,oBAAoB;CA4BhC;AA3BC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACC;AAEd;IAAC,IAAA,4BAAU,GAAE;;qDACK;AAElB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,oBAAQ,CAAC;;sDACG;AAEpB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAM,EAAC,oBAAS,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;oDACb;AA3BvB,oDA4BC"}
|
|
@@ -9,7 +9,7 @@ export declare type CreatePaylinkDtoDeserialized = Omit<CreatePaylinkDto, 'price
|
|
|
9
9
|
price: bigint;
|
|
10
10
|
};
|
|
11
11
|
export declare class CreatePaylinkDto extends CreatePaymentRequestDto {
|
|
12
|
-
features
|
|
12
|
+
features: CreateLinkFeaturesDto;
|
|
13
13
|
splitWallets?: SplitWalletDto[];
|
|
14
14
|
discountCodes?: DiscountCodeDto[];
|
|
15
15
|
limitSaleType?: LimitSaleType;
|
|
@@ -22,7 +22,7 @@ const affiliates_1 = require("../../affiliates");
|
|
|
22
22
|
class CreatePaylinkDto extends payment_request_1.CreatePaymentRequestDto {
|
|
23
23
|
}
|
|
24
24
|
__decorate([
|
|
25
|
-
(0, class_validator_1.
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
26
|
(0, class_transformer_1.Type)(() => link_features_1.CreateLinkFeaturesDto),
|
|
27
27
|
(0, class_validator_1.ValidateNested)(),
|
|
28
28
|
__metadata("design:type", link_features_1.CreateLinkFeaturesDto)
|
|
@@ -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,qDAOyB;AACzB,yDAAyC;AACzC,uDAA4D;AAC5D,uDAAqD;AACrD,2DAAgE;AAChE,iDAA0D;AAC1D,yDAAuD;AACvD,kDAAmD;AACnD,iDAAuD;AAMvD,MAAa,gBAAiB,SAAQ,yCAAuB;CAuC5D;AAtCC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAqB,CAAC;IACjC,IAAA,gCAAc,GAAE;8BACP,qCAAqB;kDAAC;AAEhC;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;AAE7C;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACM;AAEnB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAmB,CAAC;IAC/B,IAAA,gCAAc,GAAE;8BACE,gCAAmB;0DAAC;AAtCzC,4CAuCC"}
|
|
@@ -6,7 +6,7 @@ import { LimitSaleType } from '../../../constants';
|
|
|
6
6
|
import { HelioPlayPropertiesDto } from '../../helio-play';
|
|
7
7
|
import { AffiliateDetailsDto } from '../../affiliates';
|
|
8
8
|
export declare class CreatePaylinkWithApiDto extends CreatePaymentRequestWithApiDto {
|
|
9
|
-
features
|
|
9
|
+
features: CreateLinkFeaturesDto;
|
|
10
10
|
splitWallets?: SplitWalletDto[];
|
|
11
11
|
discountCodes?: DiscountCodeDto[];
|
|
12
12
|
limitSaleType?: LimitSaleType;
|
|
@@ -22,7 +22,7 @@ const affiliates_1 = require("../../affiliates");
|
|
|
22
22
|
class CreatePaylinkWithApiDto extends payment_request_1.CreatePaymentRequestWithApiDto {
|
|
23
23
|
}
|
|
24
24
|
__decorate([
|
|
25
|
-
(0, class_validator_1.
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
26
|
(0, class_transformer_1.Type)(() => link_features_1.CreateLinkFeaturesDto),
|
|
27
27
|
(0, class_validator_1.ValidateNested)(),
|
|
28
28
|
__metadata("design:type", link_features_1.CreateLinkFeaturesDto)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPaylinkWithApi.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/createPaylinkWithApi.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"createPaylinkWithApi.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/createPaylinkWithApi.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAyC;AACzC,2DAAuE;AACvE,uDAA4D;AAC5D,uDAAqD;AACrD,yDAAuD;AACvD,kDAAmD;AACnD,iDAA0D;AAC1D,iDAAuD;AAEvD,MAAa,uBAAwB,SAAQ,gDAA8B;CAmC1E;AAlCC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAqB,CAAC;IACjC,IAAA,gCAAc,GAAE;8BACP,qCAAqB;yDAAC;AAEhC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAc,CAAC;IAC1B,IAAA,4BAAU,GAAE;;6DACmB;AAEhC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAe,CAAC;IAC3B,IAAA,4BAAU,GAAE;;8DACqB;AAElC;IAAC,IAAA,wBAAM,EAAC,yBAAa,CAAC;IACrB,IAAA,4BAAU,GAAE;;8DACiB;AAE9B;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACU;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACQ;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAsB,CAAC;IAClC,IAAA,gCAAc,GAAE;8BACK,mCAAsB;oEAAC;AAE7C;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAmB,CAAC;IAC/B,IAAA,gCAAc,GAAE;8BACE,gCAAmB;iEAAC;AAlCzC,0DAmCC"}
|
|
@@ -7,6 +7,7 @@ import { CountdownDetails } from '../../countdown-details';
|
|
|
7
7
|
import { Template } from '../../../constants';
|
|
8
8
|
export declare class BasePaymentRequest extends Entity {
|
|
9
9
|
price: bigint;
|
|
10
|
+
normalizedPrice: bigint;
|
|
10
11
|
id: string;
|
|
11
12
|
name: string;
|
|
12
13
|
template: Template;
|
|
@@ -18,5 +18,9 @@ __decorate([
|
|
|
18
18
|
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
19
19
|
__metadata("design:type", BigInt)
|
|
20
20
|
], BasePaymentRequest.prototype, "price", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
23
|
+
__metadata("design:type", BigInt)
|
|
24
|
+
], BasePaymentRequest.prototype, "normalizedPrice", void 0);
|
|
21
25
|
exports.BasePaymentRequest = BasePaymentRequest;
|
|
22
26
|
//# sourceMappingURL=BasePaymentRequest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasePaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/BasePaymentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yCAAsC;AAQtC,MAAa,kBAAmB,SAAQ,eAAM;
|
|
1
|
+
{"version":3,"file":"BasePaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/BasePaymentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yCAAsC;AAQtC,MAAa,kBAAmB,SAAQ,eAAM;CA8C7C;AA7CC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;iDAC1B;AAEd;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;2DAChB;AAL1B,gDA8CC"}
|
|
@@ -4,7 +4,7 @@ import { HelioPlayPropertiesDto } from '../../helio-play';
|
|
|
4
4
|
import { IntervalType } from '../../../constants';
|
|
5
5
|
export declare class CreatePaystreamDto extends CreatePaymentRequestDto {
|
|
6
6
|
helioPlayProperties?: HelioPlayPropertiesDto;
|
|
7
|
-
features
|
|
7
|
+
features: CreateStreamFeaturesDto;
|
|
8
8
|
interval: IntervalType;
|
|
9
9
|
maxTime: number;
|
|
10
10
|
}
|
|
@@ -25,7 +25,7 @@ __decorate([
|
|
|
25
25
|
__metadata("design:type", helio_play_1.HelioPlayPropertiesDto)
|
|
26
26
|
], CreatePaystreamDto.prototype, "helioPlayProperties", void 0);
|
|
27
27
|
__decorate([
|
|
28
|
-
(0, class_validator_1.
|
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
29
29
|
(0, class_transformer_1.Type)(() => stream_features_1.CreateStreamFeaturesDto),
|
|
30
30
|
(0, class_validator_1.ValidateNested)(),
|
|
31
31
|
__metadata("design:type", stream_features_1.CreateStreamFeaturesDto)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPaystream.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream/dtos/createPaystream.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAyC;AACzC,2DAAgE;AAChE,2DAAgE;AAChE,iDAA0D;AAC1D,kDAAkD;AAElD,MAAa,kBAAmB,SAAQ,yCAAuB;CAkB9D;AAjBC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAsB,CAAC;IAClC,IAAA,gCAAc,GAAE;8BACK,mCAAsB;+DAAC;AAE7C;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,yCAAuB,CAAC;IACnC,IAAA,gCAAc,GAAE;
|
|
1
|
+
{"version":3,"file":"createPaystream.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream/dtos/createPaystream.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAyC;AACzC,2DAAgE;AAChE,2DAAgE;AAChE,iDAA0D;AAC1D,kDAAkD;AAElD,MAAa,kBAAmB,SAAQ,yCAAuB;CAkB9D;AAjBC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAsB,CAAC;IAClC,IAAA,gCAAc,GAAE;8BACK,mCAAsB;+DAAC;AAE7C;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,yCAAuB,CAAC;IACnC,IAAA,gCAAc,GAAE;8BACP,yCAAuB;oDAAC;AAElC;IAAC,IAAA,wBAAM,EAAC,wBAAY,CAAC;IACpB,IAAA,4BAAU,GAAE;;oDACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACG;AAjBlB,gDAkBC"}
|