@heliofi/common 0.1.480 → 0.1.481
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/charge/dtos/prepareRequestBodyFromCharge.dto.d.ts +1 -0
- package/dist/src/domain/model/charge/dtos/prepareRequestBodyFromCharge.dto.js +15 -0
- package/dist/src/domain/model/charge/dtos/prepareRequestBodyFromCharge.dto.js.map +1 -1
- package/dist/src/domain/model/charge/dtos/updateCharge.dto.d.ts +1 -0
- package/dist/src/domain/model/charge/dtos/updateCharge.dto.js +5 -0
- package/dist/src/domain/model/charge/dtos/updateCharge.dto.js.map +1 -1
- package/dist/src/domain/model/charge/entities/PrepareRequestBodyFromCharge.entity.d.ts +1 -1
- package/dist/src/domain/model/discount-codes/entities/DiscountCodePublicAccess.entity.d.ts +8 -0
- package/dist/src/domain/model/discount-codes/entities/DiscountCodePublicAccess.entity.js +8 -0
- package/dist/src/domain/model/discount-codes/entities/DiscountCodePublicAccess.entity.js.map +1 -0
- package/dist/src/domain/model/discount-codes/entities/DiscountWithoutCode.entity.d.ts +7 -0
- package/dist/src/domain/model/discount-codes/entities/DiscountWithoutCode.entity.js +8 -0
- package/dist/src/domain/model/discount-codes/entities/DiscountWithoutCode.entity.js.map +1 -0
- package/dist/src/domain/model/discount-codes/entities/index.d.ts +1 -0
- package/dist/src/domain/model/discount-codes/entities/index.js +1 -0
- package/dist/src/domain/model/discount-codes/entities/index.js.map +1 -1
- package/dist/src/domain/model/integrations-details/dtos/integrationDetails.dto.d.ts +1 -0
- package/dist/src/domain/model/integrations-details/dtos/integrationDetails.dto.js +5 -0
- package/dist/src/domain/model/integrations-details/dtos/integrationDetails.dto.js.map +1 -1
- package/dist/src/domain/model/integrations-details/entities/IntegrationDetails.d.ts +1 -0
- package/dist/src/domain/model/integrations-details/entities/IntegrationDetails.js.map +1 -1
- package/dist/src/domain/model/paylink/dtos/createPaylinkWithApi.dto.d.ts +2 -0
- package/dist/src/domain/model/paylink/dtos/createPaylinkWithApi.dto.js +7 -0
- package/dist/src/domain/model/paylink/dtos/createPaylinkWithApi.dto.js.map +1 -1
- package/dist/src/domain/model/submit-transaction/dtos/submitSwapTransaction.dto.d.ts +1 -1
- package/dist/src/domain/model/submit-transaction/dtos/submitSwapTransaction.dto.js +1 -1
- package/dist/src/domain/model/submit-transaction/dtos/submitSwapTransaction.dto.js.map +1 -1
- package/dist/src/domain/model/wallet/entities/WalletOrigin.d.ts +2 -1
- package/dist/src/domain/model/wallet/entities/WalletOrigin.js +1 -0
- package/dist/src/domain/model/wallet/entities/WalletOrigin.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1,8 +1,23 @@
|
|
|
1
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
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
12
|
exports.PrepareTransactionFromChargeDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
4
14
|
const prepare_transaction_1 = require("../../prepare-transaction");
|
|
5
15
|
class PrepareTransactionFromChargeDto extends prepare_transaction_1.PrepareTransactionDto {
|
|
6
16
|
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsOptional)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], PrepareTransactionFromChargeDto.prototype, "sender", void 0);
|
|
7
22
|
exports.PrepareTransactionFromChargeDto = PrepareTransactionFromChargeDto;
|
|
8
23
|
//# sourceMappingURL=prepareRequestBodyFromCharge.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prepareRequestBodyFromCharge.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/prepareRequestBodyFromCharge.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"prepareRequestBodyFromCharge.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/prepareRequestBodyFromCharge.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,mEAAkE;AAElE,MAAa,+BAAgC,SAAQ,2CAAqB;CAIzE;AAHC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACE;AAHjB,0EAIC"}
|
|
@@ -28,5 +28,10 @@ __decorate([
|
|
|
28
28
|
(0, class_validator_1.IsNotEmpty)(),
|
|
29
29
|
__metadata("design:type", String)
|
|
30
30
|
], UpdateChargeDto.prototype, "paymentRequestId", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsString)(),
|
|
33
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], UpdateChargeDto.prototype, "pricingCurrencyRateToken", void 0);
|
|
31
36
|
exports.UpdateChargeDto = UpdateChargeDto;
|
|
32
37
|
//# sourceMappingURL=updateCharge.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateCharge.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/updateCharge.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,eAAe;
|
|
1
|
+
{"version":3,"file":"updateCharge.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/updateCharge.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,eAAe;CAgB3B;AAfC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACoB;AAfnC,0CAgBC"}
|
|
@@ -5,7 +5,7 @@ import { SourceIntegration } from '../../transaction-meta';
|
|
|
5
5
|
import { SolanaTransactionVersion } from '../../../constants';
|
|
6
6
|
export declare class PrepareRequestBodyFromCharge extends Entity {
|
|
7
7
|
paymentRequestId: string;
|
|
8
|
-
sender
|
|
8
|
+
sender?: string;
|
|
9
9
|
currency: string;
|
|
10
10
|
amount?: string;
|
|
11
11
|
quantity?: number;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DiscountCodePublicAccess = void 0;
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
class DiscountCodePublicAccess extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.DiscountCodePublicAccess = DiscountCodePublicAccess;
|
|
8
|
+
//# sourceMappingURL=DiscountCodePublicAccess.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiscountCodePublicAccess.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/discount-codes/entities/DiscountCodePublicAccess.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,wBAAyB,SAAQ,eAAM;CAQnD;AARD,4DAQC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DiscountWithoutCode = void 0;
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
class DiscountWithoutCode extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.DiscountWithoutCode = DiscountWithoutCode;
|
|
8
|
+
//# sourceMappingURL=DiscountWithoutCode.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiscountWithoutCode.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/discount-codes/entities/DiscountWithoutCode.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,mBAAoB,SAAQ,eAAM;CAM9C;AAND,kDAMC"}
|
|
@@ -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("./DiscountCode"), exports);
|
|
18
|
+
__exportStar(require("./DiscountCodePublicAccess.entity"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/discount-codes/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/discount-codes/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,oEAAkD"}
|
|
@@ -13,6 +13,11 @@ exports.IntegrationDetailsDto = void 0;
|
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
class IntegrationDetailsDto {
|
|
15
15
|
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsNumber)(),
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], IntegrationDetailsDto.prototype, "eventId", void 0);
|
|
16
21
|
__decorate([
|
|
17
22
|
(0, class_validator_1.IsNumber)(),
|
|
18
23
|
(0, class_validator_1.IsNotEmpty)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationDetails.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/integrations-details/dtos/integrationDetails.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,qBAAqB;
|
|
1
|
+
{"version":3,"file":"integrationDetails.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/integrations-details/dtos/integrationDetails.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,qBAAqB;CAgBjC;AAfC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACc;AAf7B,sDAgBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntegrationDetails.js","sourceRoot":"","sources":["../../../../../../src/domain/model/integrations-details/entities/IntegrationDetails.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,kBAAmB,SAAQ,eAAM;
|
|
1
|
+
{"version":3,"file":"IntegrationDetails.js","sourceRoot":"","sources":["../../../../../../src/domain/model/integrations-details/entities/IntegrationDetails.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,kBAAmB,SAAQ,eAAM;CAS7C;AATD,gDASC"}
|
|
@@ -5,6 +5,7 @@ import { DiscountCodeDto } from '../../discount-codes';
|
|
|
5
5
|
import { LimitSaleType } from '../../../constants';
|
|
6
6
|
import { HelioPlayPropertiesDto } from '../../helio-play';
|
|
7
7
|
import { AffiliateDetailsDto } from '../../affiliates';
|
|
8
|
+
import { RaffleDetailsDto } from '../../raffle-details';
|
|
8
9
|
export declare class CreatePaylinkWithApiDto extends CreatePaymentRequestWithApiDto {
|
|
9
10
|
features: CreateLinkFeaturesDto;
|
|
10
11
|
splitWallets?: SplitWalletDto[];
|
|
@@ -14,4 +15,5 @@ export declare class CreatePaylinkWithApiDto extends CreatePaymentRequestWithApi
|
|
|
14
15
|
maxQuantity?: number;
|
|
15
16
|
helioPlayProperties?: HelioPlayPropertiesDto;
|
|
16
17
|
affiliateDetails?: AffiliateDetailsDto;
|
|
18
|
+
raffleDetails?: RaffleDetailsDto;
|
|
17
19
|
}
|
|
@@ -19,6 +19,7 @@ const discount_codes_1 = require("../../discount-codes");
|
|
|
19
19
|
const constants_1 = require("../../../constants");
|
|
20
20
|
const helio_play_1 = require("../../helio-play");
|
|
21
21
|
const affiliates_1 = require("../../affiliates");
|
|
22
|
+
const raffle_details_1 = require("../../raffle-details");
|
|
22
23
|
class CreatePaylinkWithApiDto extends payment_request_1.CreatePaymentRequestWithApiDto {
|
|
23
24
|
}
|
|
24
25
|
__decorate([
|
|
@@ -64,5 +65,11 @@ __decorate([
|
|
|
64
65
|
(0, class_validator_1.ValidateNested)(),
|
|
65
66
|
__metadata("design:type", affiliates_1.AffiliateDetailsDto)
|
|
66
67
|
], CreatePaylinkWithApiDto.prototype, "affiliateDetails", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, class_transformer_1.Type)(() => raffle_details_1.RaffleDetailsDto),
|
|
70
|
+
(0, class_validator_1.IsOptional)(),
|
|
71
|
+
(0, class_validator_1.ValidateNested)(),
|
|
72
|
+
__metadata("design:type", raffle_details_1.RaffleDetailsDto)
|
|
73
|
+
], CreatePaylinkWithApiDto.prototype, "raffleDetails", void 0);
|
|
67
74
|
exports.CreatePaylinkWithApiDto = CreatePaylinkWithApiDto;
|
|
68
75
|
//# sourceMappingURL=createPaylinkWithApi.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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;AACvD,yDAAwD;AAExD,MAAa,uBAAwB,SAAQ,gDAA8B;CAwC1E;AAvCC;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;AAEvC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACD,iCAAgB;8DAAC;AAvCnC,0DAwCC"}
|
|
@@ -16,7 +16,7 @@ class SubmitSwapTransactionDto extends submitTransaction_dto_1.SubmitTransaction
|
|
|
16
16
|
}
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, class_validator_1.IsString)(),
|
|
19
|
-
(0, class_validator_1.
|
|
19
|
+
(0, class_validator_1.IsOptional)(),
|
|
20
20
|
__metadata("design:type", String)
|
|
21
21
|
], SubmitSwapTransactionDto.prototype, "signedSwapTransaction", void 0);
|
|
22
22
|
exports.SubmitSwapTransactionDto = SubmitSwapTransactionDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submitSwapTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/submit-transaction/dtos/submitSwapTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,mEAA+D;AAE/D,MAAa,wBAAyB,SAAQ,4CAAoB;CAIjE;AAHC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;
|
|
1
|
+
{"version":3,"file":"submitSwapTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/submit-transaction/dtos/submitSwapTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,mEAA+D;AAE/D,MAAa,wBAAyB,SAAQ,4CAAoB;CAIjE;AAHC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uEACkB;AAHjC,4DAIC"}
|
|
@@ -4,5 +4,6 @@ exports.WalletOrigin = void 0;
|
|
|
4
4
|
var WalletOrigin;
|
|
5
5
|
(function (WalletOrigin) {
|
|
6
6
|
WalletOrigin["XVERSE"] = "XVERSE";
|
|
7
|
+
WalletOrigin["MAGIC_EDEN"] = "MAGICEDEN";
|
|
7
8
|
})(WalletOrigin = exports.WalletOrigin || (exports.WalletOrigin = {}));
|
|
8
9
|
//# sourceMappingURL=WalletOrigin.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WalletOrigin.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet/entities/WalletOrigin.ts"],"names":[],"mappings":";;;AAEA,IAAY,
|
|
1
|
+
{"version":3,"file":"WalletOrigin.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet/entities/WalletOrigin.ts"],"names":[],"mappings":";;;AAEA,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,iCAAiB,CAAA;IACjB,wCAAwB,CAAA;AAC1B,CAAC,EAHW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAGvB"}
|