@heliofi/common 0.2.70 → 0.2.71
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/{redirectQueryParams.js → RedirectQueryParams.js} +1 -1
- package/dist/src/domain/constants/RedirectQueryParams.js.map +1 -0
- package/dist/src/domain/model/onramp/dtos/getQuote.dto.d.ts +1 -4
- package/dist/src/domain/model/onramp/dtos/getQuote.dto.js +2 -13
- package/dist/src/domain/model/onramp/dtos/getQuote.dto.js.map +1 -1
- package/dist/src/domain/model/onramp/dtos/initiateTransaction.dto.d.ts +4 -3
- package/dist/src/domain/model/onramp/dtos/initiateTransaction.dto.js +11 -6
- package/dist/src/domain/model/onramp/dtos/initiateTransaction.dto.js.map +1 -1
- package/dist/src/domain/model/onramper/dtos/getPaymentMethods.dto.d.ts +1 -1
- package/dist/src/domain/model/onramper/dtos/getPaymentMethods.dto.js +1 -1
- package/dist/src/domain/model/onramper/dtos/getPaymentMethods.dto.js.map +1 -1
- package/dist/src/domain/model/onramper/dtos/index.d.ts +0 -1
- package/dist/src/domain/model/onramper/dtos/index.js +0 -1
- package/dist/src/domain/model/onramper/dtos/index.js.map +1 -1
- package/dist/src/domain/model/onramper/entities/index.d.ts +0 -1
- package/dist/src/domain/model/onramper/entities/index.js +0 -1
- package/dist/src/domain/model/onramper/entities/index.js.map +1 -1
- package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithMetaWithCurrencyInfoAndDiscountCodes.d.ts +5 -0
- package/dist/src/domain/model/{withdrawal/dtos/updateWithdrawalDto.js → paylink-tx/entities/PaylinkTxWithMetaWithCurrencyInfoAndDiscountCodes.js} +9 -9
- package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithMetaWithCurrencyInfoAndDiscountCodes.js.map +1 -0
- package/dist/src/domain/model/paylink-tx/entities/index.d.ts +1 -0
- package/dist/src/domain/model/paylink-tx/entities/index.js +1 -0
- package/dist/src/domain/model/paylink-tx/entities/index.js.map +1 -1
- package/dist/src/domain/model/payment-request/dtos/createPaymentRequest.dto.js.map +1 -1
- package/dist/src/domain/model/payment-request/dtos/createPaymentRequestWithApi.dto.d.ts +2 -0
- package/dist/src/domain/model/payment-request/dtos/createPaymentRequestWithApi.dto.js +7 -0
- package/dist/src/domain/model/payment-request/dtos/createPaymentRequestWithApi.dto.js.map +1 -1
- package/dist/src/domain/model/redirect-query-params/dtos/{RedirectQueryParam.dto.js → redirect-query-param.dto.js} +6 -6
- package/dist/src/domain/model/redirect-query-params/dtos/redirect-query-param.dto.js.map +1 -0
- package/dist/src/domain/model/redirect-query-params/entities/redirect-query-param.entity.d.ts +6 -0
- package/dist/src/domain/model/redirect-query-params/entities/redirect-query-param.entity.js +8 -0
- package/dist/src/domain/model/redirect-query-params/entities/redirect-query-param.entity.js.map +1 -0
- package/dist/src/domain/model/webhook/paylink/paylink-hook/entities/HookSecret.entity.d.ts +4 -0
- package/dist/src/domain/model/webhook/paylink/paylink-hook/entities/HookSecret.entity.js +8 -0
- package/dist/src/domain/model/webhook/paylink/paylink-hook/entities/HookSecret.entity.js.map +1 -0
- package/dist/src/domain/model/webhook/paylink/paylink-hook-event/entities/BasePaylinkHookEvents.entity.d.ts +2 -1
- package/dist/src/domain/model/webhook/paylink/paylink-hook-event/entities/BasePaylinkHookEvents.entity.js +2 -1
- package/dist/src/domain/model/webhook/paylink/paylink-hook-event/entities/BasePaylinkHookEvents.entity.js.map +1 -1
- package/dist/src/domain/model/webhook/paylink/paylink-hook-event/query/getAllQuery.dto.js +15 -0
- package/dist/src/domain/model/webhook/paylink/paylink-hook-event/query/getAllQuery.dto.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/src/domain/constants/redirectQueryParams.js.map +0 -1
- package/dist/src/domain/model/allowlist/entities/InvalidAllowlistWallets.entity.d.ts +0 -4
- package/dist/src/domain/model/allowlist/entities/InvalidAllowlistWallets.entity.js +0 -7
- package/dist/src/domain/model/allowlist/entities/InvalidAllowlistWallets.entity.js.map +0 -1
- package/dist/src/domain/model/apiKey/dtos/createApiKeyDtoInternal.d.ts +0 -6
- package/dist/src/domain/model/apiKey/dtos/createApiKeyDtoInternal.js +0 -37
- package/dist/src/domain/model/apiKey/dtos/createApiKeyDtoInternal.js.map +0 -1
- package/dist/src/domain/model/apiKey/dtos/updateApiKey.dto.d.ts +0 -4
- package/dist/src/domain/model/apiKey/dtos/updateApiKey.dto.js +0 -27
- package/dist/src/domain/model/apiKey/dtos/updateApiKey.dto.js.map +0 -1
- package/dist/src/domain/model/auth/dtos/generateTwitterRefreshToken.dto.d.ts +0 -8
- package/dist/src/domain/model/auth/dtos/generateTwitterRefreshToken.dto.js +0 -43
- package/dist/src/domain/model/auth/dtos/generateTwitterRefreshToken.dto.js.map +0 -1
- package/dist/src/domain/model/blink/entities/CreateBlinkResponse.entity.d.ts +0 -3
- package/dist/src/domain/model/blink/entities/CreateBlinkResponse.entity.js +0 -7
- package/dist/src/domain/model/blink/entities/CreateBlinkResponse.entity.js.map +0 -1
- package/dist/src/domain/model/discount-codes/entities/DiscountCodePublicAccess.entity.d.ts +0 -8
- package/dist/src/domain/model/discount-codes/entities/DiscountCodePublicAccess.entity.js +0 -8
- package/dist/src/domain/model/discount-codes/entities/DiscountCodePublicAccess.entity.js.map +0 -1
- package/dist/src/domain/model/email/EmailTelegramInviteDto.d.ts +0 -8
- package/dist/src/domain/model/email/EmailTelegramInviteDto.js +0 -3
- package/dist/src/domain/model/email/EmailTelegramInviteDto.js.map +0 -1
- package/dist/src/domain/model/email/dtos/emailRenewalReminder.dto.d.ts +0 -16
- package/dist/src/domain/model/email/dtos/emailRenewalReminder.dto.js +0 -83
- package/dist/src/domain/model/email/dtos/emailRenewalReminder.dto.js.map +0 -1
- package/dist/src/domain/model/fee/dtos/feeDetailsDto.d.ts +0 -4
- package/dist/src/domain/model/fee/dtos/feeDetailsDto.js +0 -27
- package/dist/src/domain/model/fee/dtos/feeDetailsDto.js.map +0 -1
- package/dist/src/domain/model/fee/dtos/feeDto.d.ts +0 -8
- package/dist/src/domain/model/fee/dtos/feeDto.js +0 -48
- package/dist/src/domain/model/fee/dtos/feeDto.js.map +0 -1
- package/dist/src/domain/model/fee/dtos/index.d.ts +0 -1
- package/dist/src/domain/model/fee/dtos/index.js +0 -18
- package/dist/src/domain/model/fee/dtos/index.js.map +0 -1
- package/dist/src/domain/model/fee/entities/FeeOptions.d.ts +0 -8
- package/dist/src/domain/model/fee/entities/FeeOptions.js +0 -3
- package/dist/src/domain/model/fee/entities/FeeOptions.js.map +0 -1
- package/dist/src/domain/model/location/entities/FetchifyFindAddress.entity.d.ts +0 -5
- package/dist/src/domain/model/location/entities/FetchifyFindAddress.entity.js +0 -8
- package/dist/src/domain/model/location/entities/FetchifyFindAddress.entity.js.map +0 -1
- package/dist/src/domain/model/location/entities/FetchifyResult.entity.d.ts +0 -5
- package/dist/src/domain/model/location/entities/FetchifyResult.entity.js +0 -7
- package/dist/src/domain/model/location/entities/FetchifyResult.entity.js.map +0 -1
- package/dist/src/domain/model/location/entities/FetchifyRetrieveAddress.entity.d.ts +0 -13
- package/dist/src/domain/model/location/entities/FetchifyRetrieveAddress.entity.js +0 -8
- package/dist/src/domain/model/location/entities/FetchifyRetrieveAddress.entity.js.map +0 -1
- package/dist/src/domain/model/location/entities/index.d.ts +0 -2
- package/dist/src/domain/model/location/entities/index.js +0 -19
- package/dist/src/domain/model/location/entities/index.js.map +0 -1
- package/dist/src/domain/model/location/index.d.ts +0 -1
- package/dist/src/domain/model/location/index.js +0 -18
- package/dist/src/domain/model/location/index.js.map +0 -1
- package/dist/src/domain/model/onramp/entities/OnrampTransactionStatus.entity.d.ts +0 -5
- package/dist/src/domain/model/onramp/entities/OnrampTransactionStatus.entity.js +0 -7
- package/dist/src/domain/model/onramp/entities/OnrampTransactionStatus.entity.js.map +0 -1
- package/dist/src/domain/model/onramp/entities/OnramperCurrency.entity.d.ts +0 -12
- package/dist/src/domain/model/onramp/entities/OnramperCurrency.entity.js +0 -7
- package/dist/src/domain/model/onramp/entities/OnramperCurrency.entity.js.map +0 -1
- package/dist/src/domain/model/onramp/entities/OnramperPaymentMethod.entity.d.ts +0 -4
- package/dist/src/domain/model/onramp/entities/OnramperPaymentMethod.entity.js +0 -7
- package/dist/src/domain/model/onramp/entities/OnramperPaymentMethod.entity.js.map +0 -1
- package/dist/src/domain/model/onramp/entities/OnramperQuote.entity.d.ts +0 -10
- package/dist/src/domain/model/onramp/entities/OnramperQuote.entity.js +0 -7
- package/dist/src/domain/model/onramp/entities/OnramperQuote.entity.js.map +0 -1
- package/dist/src/domain/model/onramp/entities/OnramperTransaction.entity.d.ts +0 -42
- package/dist/src/domain/model/onramp/entities/OnramperTransaction.entity.js +0 -7
- package/dist/src/domain/model/onramp/entities/OnramperTransaction.entity.js.map +0 -1
- package/dist/src/domain/model/onramper/dtos/getCurrencies.dto.d.ts +0 -3
- package/dist/src/domain/model/onramper/dtos/getCurrencies.dto.js +0 -22
- package/dist/src/domain/model/onramper/dtos/getCurrencies.dto.js.map +0 -1
- package/dist/src/domain/model/onramper/dtos/initiateTransaction.dto.d.ts +0 -10
- package/dist/src/domain/model/onramper/dtos/initiateTransaction.dto.js +0 -53
- package/dist/src/domain/model/onramper/dtos/initiateTransaction.dto.js.map +0 -1
- package/dist/src/domain/model/onramper/entities/OnramperTransaction.entity.d.ts +0 -4
- package/dist/src/domain/model/onramper/entities/OnramperTransaction.entity.js +0 -7
- package/dist/src/domain/model/onramper/entities/OnramperTransaction.entity.js.map +0 -1
- package/dist/src/domain/model/onramper/entities/PaymentMethod.entity.d.ts +0 -5
- package/dist/src/domain/model/onramper/entities/PaymentMethod.entity.js +0 -7
- package/dist/src/domain/model/onramper/entities/PaymentMethod.entity.js.map +0 -1
- package/dist/src/domain/model/paylink-tx/entities/CreatePaylinkTx.d.ts +0 -8
- package/dist/src/domain/model/paylink-tx/entities/CreatePaylinkTx.js +0 -7
- package/dist/src/domain/model/paylink-tx/entities/CreatePaylinkTx.js.map +0 -1
- package/dist/src/domain/model/paylink-tx/entities/UpdatePaylinkTx.d.ts +0 -4
- package/dist/src/domain/model/paylink-tx/entities/UpdatePaylinkTx.js +0 -7
- package/dist/src/domain/model/paylink-tx/entities/UpdatePaylinkTx.js.map +0 -1
- package/dist/src/domain/model/paystream-tx/entities/CreatePaystreamTx.d.ts +0 -11
- package/dist/src/domain/model/paystream-tx/entities/CreatePaystreamTx.js +0 -7
- package/dist/src/domain/model/paystream-tx/entities/CreatePaystreamTx.js.map +0 -1
- package/dist/src/domain/model/paystream-tx/entities/UpdatePaystreamTx.d.ts +0 -7
- package/dist/src/domain/model/paystream-tx/entities/UpdatePaystreamTx.js +0 -7
- package/dist/src/domain/model/paystream-tx/entities/UpdatePaystreamTx.js.map +0 -1
- package/dist/src/domain/model/raffle-details/dtos/createRaffleDetails.dto.d.ts +0 -7
- package/dist/src/domain/model/raffle-details/dtos/createRaffleDetails.dto.js +0 -44
- package/dist/src/domain/model/raffle-details/dtos/createRaffleDetails.dto.js.map +0 -1
- package/dist/src/domain/model/raffle-details/dtos/updateRaffleDetails.dto.d.ts +0 -6
- package/dist/src/domain/model/raffle-details/dtos/updateRaffleDetails.dto.js +0 -37
- package/dist/src/domain/model/raffle-details/dtos/updateRaffleDetails.dto.js.map +0 -1
- package/dist/src/domain/model/redirect-query-params/dtos/RedirectQueryParam.dto.js.map +0 -1
- package/dist/src/domain/model/role/dtos/createRole.dto.d.ts +0 -6
- package/dist/src/domain/model/role/dtos/createRole.dto.js +0 -33
- package/dist/src/domain/model/role/dtos/createRole.dto.js.map +0 -1
- package/dist/src/domain/model/role/dtos/index.d.ts +0 -2
- package/dist/src/domain/model/role/dtos/index.js +0 -19
- package/dist/src/domain/model/role/dtos/index.js.map +0 -1
- package/dist/src/domain/model/role/dtos/updateRole.dto.d.ts +0 -4
- package/dist/src/domain/model/role/dtos/updateRole.dto.js +0 -23
- package/dist/src/domain/model/role/dtos/updateRole.dto.js.map +0 -1
- package/dist/src/domain/model/shopify-gdpr/dtos/Customer.dto.d.ts +0 -5
- package/dist/src/domain/model/shopify-gdpr/dtos/Customer.dto.js +0 -32
- package/dist/src/domain/model/shopify-gdpr/dtos/Customer.dto.js.map +0 -1
- package/dist/src/domain/model/shopify-gdpr/dtos/CustomerDataRequest.dto.d.ts +0 -9
- package/dist/src/domain/model/shopify-gdpr/dtos/CustomerDataRequest.dto.js +0 -45
- package/dist/src/domain/model/shopify-gdpr/dtos/CustomerDataRequest.dto.js.map +0 -1
- package/dist/src/domain/model/shopify-gdpr/dtos/CustomerRedactRequest.dto.d.ts +0 -7
- package/dist/src/domain/model/shopify-gdpr/dtos/CustomerRedactRequest.dto.js +0 -39
- package/dist/src/domain/model/shopify-gdpr/dtos/CustomerRedactRequest.dto.js.map +0 -1
- package/dist/src/domain/model/shopify-gdpr/dtos/DataRequest.dto.d.ts +0 -3
- package/dist/src/domain/model/shopify-gdpr/dtos/DataRequest.dto.js +0 -22
- package/dist/src/domain/model/shopify-gdpr/dtos/DataRequest.dto.js.map +0 -1
- package/dist/src/domain/model/shopify-gdpr/dtos/ShopRedactRequest.dto.d.ts +0 -4
- package/dist/src/domain/model/shopify-gdpr/dtos/ShopRedactRequest.dto.js +0 -27
- package/dist/src/domain/model/shopify-gdpr/dtos/ShopRedactRequest.dto.js.map +0 -1
- package/dist/src/domain/model/shopify-gdpr/dtos/index.d.ts +0 -5
- package/dist/src/domain/model/shopify-gdpr/dtos/index.js +0 -22
- package/dist/src/domain/model/shopify-gdpr/dtos/index.js.map +0 -1
- package/dist/src/domain/model/shopify-gdpr/index.d.ts +0 -1
- package/dist/src/domain/model/shopify-gdpr/index.js +0 -18
- package/dist/src/domain/model/shopify-gdpr/index.js.map +0 -1
- package/dist/src/domain/model/telegram-details/dtos/telegramLogin.dto.d.ts +0 -5
- package/dist/src/domain/model/telegram-details/dtos/telegramLogin.dto.js +0 -32
- package/dist/src/domain/model/telegram-details/dtos/telegramLogin.dto.js.map +0 -1
- package/dist/src/domain/model/webhook/paylink-transaction-hook/dtos/createPaylinkTransactionHook.dto.d.ts +0 -6
- package/dist/src/domain/model/webhook/paylink-transaction-hook/dtos/createPaylinkTransactionHook.dto.js +0 -31
- package/dist/src/domain/model/webhook/paylink-transaction-hook/dtos/createPaylinkTransactionHook.dto.js.map +0 -1
- package/dist/src/domain/model/webhook/paylink-transaction-hook/dtos/index.d.ts +0 -1
- package/dist/src/domain/model/webhook/paylink-transaction-hook/dtos/index.js +0 -18
- package/dist/src/domain/model/webhook/paylink-transaction-hook/dtos/index.js.map +0 -1
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.entity.d.ts +0 -3
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.entity.js +0 -8
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.entity.js.map +0 -1
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionHook.entity.d.ts +0 -11
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionHook.entity.js +0 -8
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionHook.entity.js.map +0 -1
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionPayload.entity.d.ts +0 -8
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionPayload.entity.js +0 -8
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionPayload.entity.js.map +0 -1
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/index.d.ts +0 -3
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/index.js +0 -20
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/index.js.map +0 -1
- package/dist/src/domain/model/webhook/paylink-transaction-hook/index.d.ts +0 -2
- package/dist/src/domain/model/webhook/paylink-transaction-hook/index.js +0 -19
- package/dist/src/domain/model/webhook/paylink-transaction-hook/index.js.map +0 -1
- package/dist/src/domain/model/withdrawal/dtos/updateWithdrawalDto.d.ts +0 -3
- package/dist/src/domain/model/withdrawal/dtos/updateWithdrawalDto.js.map +0 -1
- package/yarn-error.log +0 -18384
- package/dist/src/domain/constants/{redirectQueryParams.d.ts → RedirectQueryParams.d.ts} +0 -0
- package/dist/src/domain/model/redirect-query-params/dtos/{RedirectQueryParam.dto.d.ts → redirect-query-param.dto.d.ts} +1 -1
|
@@ -5,4 +5,4 @@ var RedirectQueryParams;
|
|
|
5
5
|
(function (RedirectQueryParams) {
|
|
6
6
|
RedirectQueryParams["WALLET_ADDRESS"] = "WALLET_ADDRESS";
|
|
7
7
|
})(RedirectQueryParams = exports.RedirectQueryParams || (exports.RedirectQueryParams = {}));
|
|
8
|
-
//# sourceMappingURL=
|
|
8
|
+
//# sourceMappingURL=RedirectQueryParams.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RedirectQueryParams.js","sourceRoot":"","sources":["../../../../src/domain/constants/RedirectQueryParams.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAEX;AAFD,WAAY,mBAAmB;IAC7B,wDAAiC,CAAA;AACnC,CAAC,EAFW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAE9B"}
|
|
@@ -11,24 +11,18 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.GetQuoteDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
const blockchain_1 = require("../../blockchain");
|
|
15
14
|
class GetQuoteDto {
|
|
16
15
|
}
|
|
17
16
|
__decorate([
|
|
18
17
|
(0, class_validator_1.IsString)(),
|
|
19
18
|
(0, class_validator_1.IsNotEmpty)(),
|
|
20
19
|
__metadata("design:type", String)
|
|
21
|
-
], GetQuoteDto.prototype, "
|
|
20
|
+
], GetQuoteDto.prototype, "crypto", void 0);
|
|
22
21
|
__decorate([
|
|
23
22
|
(0, class_validator_1.IsString)(),
|
|
24
23
|
(0, class_validator_1.IsNotEmpty)(),
|
|
25
24
|
__metadata("design:type", String)
|
|
26
|
-
], GetQuoteDto.prototype, "
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, class_validator_1.IsEnum)(blockchain_1.BlockchainSymbol),
|
|
29
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], GetQuoteDto.prototype, "blockchain", void 0);
|
|
25
|
+
], GetQuoteDto.prototype, "amount", void 0);
|
|
32
26
|
__decorate([
|
|
33
27
|
(0, class_validator_1.IsString)(),
|
|
34
28
|
(0, class_validator_1.IsNotEmpty)(),
|
|
@@ -39,10 +33,5 @@ __decorate([
|
|
|
39
33
|
(0, class_validator_1.IsNotEmpty)(),
|
|
40
34
|
__metadata("design:type", String)
|
|
41
35
|
], GetQuoteDto.prototype, "paymentMethod", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, class_validator_1.IsBoolean)(),
|
|
44
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
45
|
-
__metadata("design:type", Boolean)
|
|
46
|
-
], GetQuoteDto.prototype, "isDark", void 0);
|
|
47
36
|
exports.GetQuoteDto = GetQuoteDto;
|
|
48
37
|
//# sourceMappingURL=getQuote.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getQuote.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramp/dtos/getQuote.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"getQuote.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramp/dtos/getQuote.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,WAAW;CAgBvB;AAfC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACS;AAEtB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACS;AAfxB,kCAgBC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { BlockchainSymbol } from '../../blockchain';
|
|
2
2
|
export declare class InitiateTransactionDto {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
onramp: string;
|
|
4
|
+
destination: string;
|
|
5
|
+
amount: number;
|
|
6
|
+
paymentMethod: string;
|
|
5
7
|
blockchain: BlockchainSymbol;
|
|
6
8
|
walletAddress: string;
|
|
7
|
-
paymentMethod: string;
|
|
8
9
|
isDark: boolean;
|
|
9
10
|
}
|
|
@@ -18,12 +18,22 @@ __decorate([
|
|
|
18
18
|
(0, class_validator_1.IsString)(),
|
|
19
19
|
(0, class_validator_1.IsNotEmpty)(),
|
|
20
20
|
__metadata("design:type", String)
|
|
21
|
+
], InitiateTransactionDto.prototype, "onramp", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], InitiateTransactionDto.prototype, "destination", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsNumber)(),
|
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
21
31
|
], InitiateTransactionDto.prototype, "amount", void 0);
|
|
22
32
|
__decorate([
|
|
23
33
|
(0, class_validator_1.IsString)(),
|
|
24
34
|
(0, class_validator_1.IsNotEmpty)(),
|
|
25
35
|
__metadata("design:type", String)
|
|
26
|
-
], InitiateTransactionDto.prototype, "
|
|
36
|
+
], InitiateTransactionDto.prototype, "paymentMethod", void 0);
|
|
27
37
|
__decorate([
|
|
28
38
|
(0, class_validator_1.IsEnum)(blockchain_1.BlockchainSymbol),
|
|
29
39
|
(0, class_validator_1.IsNotEmpty)(),
|
|
@@ -34,11 +44,6 @@ __decorate([
|
|
|
34
44
|
(0, class_validator_1.IsNotEmpty)(),
|
|
35
45
|
__metadata("design:type", String)
|
|
36
46
|
], InitiateTransactionDto.prototype, "walletAddress", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, class_validator_1.IsString)(),
|
|
39
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], InitiateTransactionDto.prototype, "paymentMethod", void 0);
|
|
42
47
|
__decorate([
|
|
43
48
|
(0, class_validator_1.IsBoolean)(),
|
|
44
49
|
(0, class_validator_1.IsNotEmpty)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initiateTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramp/dtos/initiateTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"initiateTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramp/dtos/initiateTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,iDAAoD;AAEpD,MAAa,sBAAsB;CA4BlC;AA3BC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACS;AAEtB;IAAC,IAAA,wBAAM,EAAC,6BAAgB,CAAC;IACxB,IAAA,4BAAU,GAAE;;0DACgB;AAE7B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACS;AAEtB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sDACG;AA3BlB,wDA4BC"}
|
|
@@ -23,6 +23,6 @@ __decorate([
|
|
|
23
23
|
(0, class_validator_1.IsEnum)(blockchain_1.BlockchainSymbol),
|
|
24
24
|
(0, class_validator_1.IsNotEmpty)(),
|
|
25
25
|
__metadata("design:type", String)
|
|
26
|
-
], GetPaymentMethodsDto.prototype, "
|
|
26
|
+
], GetPaymentMethodsDto.prototype, "chain", void 0);
|
|
27
27
|
exports.GetPaymentMethodsDto = GetPaymentMethodsDto;
|
|
28
28
|
//# sourceMappingURL=getPaymentMethods.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPaymentMethods.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramper/dtos/getPaymentMethods.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,iDAAoD;AAEpD,MAAa,oBAAoB;CAQhC;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACI;AAEjB;IAAC,IAAA,wBAAM,EAAC,6BAAgB,CAAC;IACxB,IAAA,4BAAU,GAAE;;
|
|
1
|
+
{"version":3,"file":"getPaymentMethods.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramper/dtos/getPaymentMethods.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,iDAAoD;AAEpD,MAAa,oBAAoB;CAQhC;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACI;AAEjB;IAAC,IAAA,wBAAM,EAAC,6BAAgB,CAAC;IACxB,IAAA,4BAAU,GAAE;;mDACW;AAP1B,oDAQC"}
|
|
@@ -16,5 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./getPaymentMethods.dto"), exports);
|
|
18
18
|
__exportStar(require("./getQuote.dto"), exports);
|
|
19
|
-
__exportStar(require("./initiateTransaction.dto"), exports);
|
|
20
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramper/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,iDAA+B
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramper/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,iDAA+B"}
|
|
@@ -17,5 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./OnramperCurrency.entity"), exports);
|
|
18
18
|
__exportStar(require("./OnramperPaymentMethod.entity"), exports);
|
|
19
19
|
__exportStar(require("./OnramperQuote.entity"), exports);
|
|
20
|
-
__exportStar(require("./OnramperTransaction.entity"), exports);
|
|
21
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramper/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,iEAA+C;AAC/C,yDAAuC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramper/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,iEAA+C;AAC/C,yDAAuC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DiscountCode } from '../../discount-codes';
|
|
2
|
+
import { PaylinkTxWithMetaWithCurrencyInfo } from './PaylinkTxWithMetaWithCurrencyInfo.entity';
|
|
3
|
+
export declare class PaylinkTxWithMetaWithCurrencyInfoAndDiscountCodes extends PaylinkTxWithMetaWithCurrencyInfo {
|
|
4
|
+
discountCodes: DiscountCode[];
|
|
5
|
+
}
|
|
@@ -9,15 +9,15 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
12
|
+
exports.PaylinkTxWithMetaWithCurrencyInfoAndDiscountCodes = void 0;
|
|
14
13
|
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
|
|
14
|
+
const discount_codes_1 = require("../../discount-codes");
|
|
15
|
+
const PaylinkTxWithMetaWithCurrencyInfo_entity_1 = require("./PaylinkTxWithMetaWithCurrencyInfo.entity");
|
|
16
|
+
class PaylinkTxWithMetaWithCurrencyInfoAndDiscountCodes extends PaylinkTxWithMetaWithCurrencyInfo_entity_1.PaylinkTxWithMetaWithCurrencyInfo {
|
|
16
17
|
}
|
|
17
18
|
__decorate([
|
|
18
|
-
(0,
|
|
19
|
-
(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
//# sourceMappingURL=updateWithdrawalDto.js.map
|
|
19
|
+
(0, class_transformer_1.Type)(() => discount_codes_1.DiscountCode),
|
|
20
|
+
__metadata("design:type", Array)
|
|
21
|
+
], PaylinkTxWithMetaWithCurrencyInfoAndDiscountCodes.prototype, "discountCodes", void 0);
|
|
22
|
+
exports.PaylinkTxWithMetaWithCurrencyInfoAndDiscountCodes = PaylinkTxWithMetaWithCurrencyInfoAndDiscountCodes;
|
|
23
|
+
//# sourceMappingURL=PaylinkTxWithMetaWithCurrencyInfoAndDiscountCodes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaylinkTxWithMetaWithCurrencyInfoAndDiscountCodes.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink-tx/entities/PaylinkTxWithMetaWithCurrencyInfoAndDiscountCodes.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,yDAAoD;AACpD,yGAA+F;AAE/F,MAAa,iDAAkD,SAAQ,4EAAiC;CAGvG;AAFC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAAY,CAAC;;wFACK;AAFhC,8GAGC"}
|
|
@@ -23,4 +23,5 @@ __exportStar(require("./PaylinkTxWithMeta"), exports);
|
|
|
23
23
|
__exportStar(require("./PaylinkTxWithBaseMeta"), exports);
|
|
24
24
|
__exportStar(require("./PaylinkTxWithPublicMeta"), exports);
|
|
25
25
|
__exportStar(require("./PaylinkTxWithMetaWithCurrencyInfo.entity"), exports);
|
|
26
|
+
__exportStar(require("./PaylinkTxWithMetaWithCurrencyInfoAndDiscountCodes"), exports);
|
|
26
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink-tx/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,kDAAgC;AAChC,6DAA2C;AAC3C,4DAA0C;AAC1C,wEAAsD;AACtD,sDAAoC;AACpC,0DAAwC;AACxC,4DAA0C;AAC1C,6EAA2D"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink-tx/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,kDAAgC;AAChC,6DAA2C;AAC3C,4DAA0C;AAC1C,wEAAsD;AACtD,sDAAoC;AACpC,0DAAwC;AACxC,4DAA0C;AAC1C,6EAA2D;AAC3D,sFAAoE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPaymentRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/createPaymentRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAayB;AACzB,yDAAoD;AACpD,2CAA2C;AAC3C,2CAA2C;AAC3C,mFAAgF;AAChF,iDAAoD;AACpD,6CAA4C;AAC5C,oDAAgD;AAChD,+CAA+C;AAC/C,qEAAmE;AACnE,qEAAqE;AACrE,iDAAuD;AACvD,uDAAsD;AACtD,+DAA8D;AAC9D,kDAA8C;AAC9C,uCAA6C;AAC7C,4CAAqD;AACrD,uEAAoE;AAEpE,MAAa,uBAAuB;IAApC;QAqCE,wBAAmB,GAAa,KAAK,CAAC;QAItC,0BAAqB,GAAa,KAAK,CAAC;QAIxC,mBAAc,GAAa,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"createPaymentRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/createPaymentRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAayB;AACzB,yDAAoD;AACpD,2CAA2C;AAC3C,2CAA2C;AAC3C,mFAAgF;AAChF,iDAAoD;AACpD,6CAA4C;AAC5C,oDAAgD;AAChD,+CAA+C;AAC/C,qEAAmE;AACnE,qEAAqE;AACrE,iDAAuD;AACvD,uDAAsD;AACtD,+DAA8D;AAC9D,kDAA8C;AAC9C,uCAA6C;AAC7C,4CAAqD;AACrD,uEAAoE;AAEpE,MAAa,uBAAuB;IAApC;QAqCE,wBAAmB,GAAa,KAAK,CAAC;QAItC,0BAAqB,GAAa,KAAK,CAAC;QAIxC,mBAAc,GAAa,KAAK,CAAC;IA6HnC,CAAC;CAAA;AAtKC;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;IACZ,IAAA,2BAAS,GAAE;;gEACY;AAExB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACQ;AAErB;IAAC,IAAA,2BAAS,EAAC,oBAAQ,CAAC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8B,EAAE,CAAC;IAC1D,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;sDACzB;AAEf;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+BAAe,CAAC;IAC3B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACF,+BAAe;6DAAC;AAE/B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uCAAmB,CAAC;IAC/B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACE,uCAAmB;iEAAC;AAEvC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACQ;AAErB;IAAC,IAAA,wBAAM,EAAC,iCAAqB,CAAC;IAC7B,IAAA,4BAAU,GAAE;;gEAC2B;AAExC;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6CAAqB,CAAC;IACjC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;oEACe;AAE9C;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sBAAc,CAAC;IAC1B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACH,sBAAc;4DAAC;AAzK/B,0DA0KC"}
|
|
@@ -12,6 +12,7 @@ import { CountdownDetailsDto } from '../../countdown-details';
|
|
|
12
12
|
import { Template } from '../../../constants';
|
|
13
13
|
import { RedirectTimeoutValues } from '../constants';
|
|
14
14
|
import { RedirectQueryParamDto } from '../../redirect-query-params';
|
|
15
|
+
import { CustomThemeDto } from '../../theme';
|
|
15
16
|
export declare class CreatePaymentRequestWithApiDto implements Omit<CreatePaymentRequestDto, 'company'> {
|
|
16
17
|
name: string;
|
|
17
18
|
pricingCurrency: string;
|
|
@@ -39,4 +40,5 @@ export declare class CreatePaymentRequestWithApiDto implements Omit<CreatePaymen
|
|
|
39
40
|
redirectTimeout?: RedirectTimeoutValues;
|
|
40
41
|
redirectQueryParams?: RedirectQueryParamDto[];
|
|
41
42
|
countdownDetails?: CountdownDetailsDto;
|
|
43
|
+
customTheme?: CustomThemeDto;
|
|
42
44
|
}
|
|
@@ -26,6 +26,7 @@ const countdown_details_1 = require("../../countdown-details");
|
|
|
26
26
|
const constants_1 = require("../../../constants");
|
|
27
27
|
const constants_2 = require("../constants");
|
|
28
28
|
const redirect_query_params_1 = require("../../redirect-query-params");
|
|
29
|
+
const theme_1 = require("../../theme");
|
|
29
30
|
class CreatePaymentRequestWithApiDto {
|
|
30
31
|
constructor() {
|
|
31
32
|
this.notifySenderByEmail = false;
|
|
@@ -185,5 +186,11 @@ __decorate([
|
|
|
185
186
|
(0, class_validator_1.ValidateNested)(),
|
|
186
187
|
__metadata("design:type", countdown_details_1.CountdownDetailsDto)
|
|
187
188
|
], CreatePaymentRequestWithApiDto.prototype, "countdownDetails", void 0);
|
|
189
|
+
__decorate([
|
|
190
|
+
(0, class_transformer_1.Type)(() => theme_1.CustomThemeDto),
|
|
191
|
+
(0, class_validator_1.IsOptional)(),
|
|
192
|
+
(0, class_validator_1.ValidateNested)(),
|
|
193
|
+
__metadata("design:type", theme_1.CustomThemeDto)
|
|
194
|
+
], CreatePaymentRequestWithApiDto.prototype, "customTheme", void 0);
|
|
188
195
|
exports.CreatePaymentRequestWithApiDto = CreatePaymentRequestWithApiDto;
|
|
189
196
|
//# sourceMappingURL=createPaymentRequestWithApi.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPaymentRequestWithApi.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/createPaymentRequestWithApi.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAayB;AACzB,yDAAoD;AAEpD,oDAAgD;AAChD,2CAA2C;AAC3C,2CAA2C;AAC3C,qEAAmE;AACnE,6CAA4C;AAC5C,mFAAgF;AAChF,+CAA+C;AAC/C,qEAAqE;AACrE,iDAAuD;AACvD,uDAAsD;AACtD,+DAA8D;AAC9D,kDAA8C;AAC9C,4CAAqD;AACrD,uEAAoE;
|
|
1
|
+
{"version":3,"file":"createPaymentRequestWithApi.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/createPaymentRequestWithApi.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAayB;AACzB,yDAAoD;AAEpD,oDAAgD;AAChD,2CAA2C;AAC3C,2CAA2C;AAC3C,qEAAmE;AACnE,6CAA4C;AAC5C,mFAAgF;AAChF,+CAA+C;AAC/C,qEAAqE;AACrE,iDAAuD;AACvD,uDAAsD;AACtD,+DAA8D;AAC9D,kDAA8C;AAC9C,4CAAqD;AACrD,uEAAoE;AACpE,uCAA6C;AAE7C,MAAa,8BAA8B;IAA3C;QAuBE,wBAAmB,GAAa,KAAK,CAAC;QAItC,0BAAqB,GAAa,KAAK,CAAC;QAIxC,mBAAc,GAAa,KAAK,CAAC;IAsGnC,CAAC;CAAA;AAlIC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACA;AAEb;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;uEACY;AAExB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mEACQ;AAErB;IAAC,IAAA,2BAAS,EAAC,oBAAQ,CAAC,OAAO,CAAC;IAC3B,IAAA,wBAAM,EAAC,oBAAQ,CAAC;IAChB,IAAA,4BAAU,GAAE;;gEACO;AAEpB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2EACyB;AAEtC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6EAC2B;AAExC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,G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AAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACE,uCAAmB;wEAAC;AAEvC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sBAAc,CAAC;IAC1B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACH,sBAAc;mEAAC;AApI/B,wEAqIC"}
|
|
@@ -14,15 +14,15 @@ const class_validator_1 = require("class-validator");
|
|
|
14
14
|
const constants_1 = require("../../../constants");
|
|
15
15
|
class RedirectQueryParamDto {
|
|
16
16
|
}
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsEnum)(constants_1.RedirectQueryParams),
|
|
19
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], RedirectQueryParamDto.prototype, "queryParamType", void 0);
|
|
22
17
|
__decorate([
|
|
23
18
|
(0, class_validator_1.IsString)(),
|
|
24
19
|
(0, class_validator_1.IsOptional)(),
|
|
25
20
|
__metadata("design:type", String)
|
|
26
21
|
], RedirectQueryParamDto.prototype, "value", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsEnum)(constants_1.RedirectQueryParams),
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], RedirectQueryParamDto.prototype, "queryParamType", void 0);
|
|
27
27
|
exports.RedirectQueryParamDto = RedirectQueryParamDto;
|
|
28
|
-
//# sourceMappingURL=
|
|
28
|
+
//# sourceMappingURL=redirect-query-param.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redirect-query-param.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/redirect-query-params/dtos/redirect-query-param.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,kDAAyD;AAEzD,MAAa,qBAAqB;CAQjC;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACE;AAEf;IAAC,IAAA,wBAAM,EAAC,+BAAmB,CAAC;IAC3B,IAAA,4BAAU,GAAE;;6DACuB;AAPtC,sDAQC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RedirectQueryParam = void 0;
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
class RedirectQueryParam extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.RedirectQueryParam = RedirectQueryParam;
|
|
8
|
+
//# sourceMappingURL=redirect-query-param.entity.js.map
|
package/dist/src/domain/model/redirect-query-params/entities/redirect-query-param.entity.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redirect-query-param.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/redirect-query-params/entities/redirect-query-param.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,kBAAmB,SAAQ,eAAM;CAI7C;AAJD,gDAIC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HookSecret = void 0;
|
|
4
|
+
const entity_1 = require("../../../../entity");
|
|
5
|
+
class HookSecret extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.HookSecret = HookSecret;
|
|
8
|
+
//# sourceMappingURL=HookSecret.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HookSecret.entity.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/paylink/paylink-hook/entities/HookSecret.entity.ts"],"names":[],"mappings":";;;AAAA,+CAA4C;AAE5C,MAAa,UAAW,SAAQ,eAAM;CAErC;AAFD,gCAEC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { Entity } from '../../../../entity';
|
|
1
2
|
import { PaylinkHookEvent } from '../../paylink-hook/entities';
|
|
2
3
|
import { PaylinkHookEventStatus } from './PaylinkHookEventStatus.entity';
|
|
3
|
-
export declare class BasePaylinkHookEvents {
|
|
4
|
+
export declare class BasePaylinkHookEvents extends Entity {
|
|
4
5
|
id: string;
|
|
5
6
|
company: string;
|
|
6
7
|
event: PaylinkHookEvent;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BasePaylinkHookEvents = void 0;
|
|
4
|
-
|
|
4
|
+
const entity_1 = require("../../../../entity");
|
|
5
|
+
class BasePaylinkHookEvents extends entity_1.Entity {
|
|
5
6
|
}
|
|
6
7
|
exports.BasePaylinkHookEvents = BasePaylinkHookEvents;
|
|
7
8
|
//# sourceMappingURL=BasePaylinkHookEvents.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasePaylinkHookEvents.entity.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/paylink/paylink-hook-event/entities/BasePaylinkHookEvents.entity.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"BasePaylinkHookEvents.entity.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/paylink/paylink-hook-event/entities/BasePaylinkHookEvents.entity.ts"],"names":[],"mappings":";;;AAAA,+CAA4C;AAI5C,MAAa,qBAAsB,SAAQ,eAAM;CAYhD;AAZD,sDAYC"}
|
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.GetAllPaylinkHookEventsQueryDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
15
|
const shared_1 = require("../../../../shared");
|
|
15
16
|
const entities_1 = require("../entities");
|
|
16
17
|
const entities_2 = require("../../paylink-hook/entities");
|
|
@@ -18,12 +19,26 @@ class GetAllPaylinkHookEventsQueryDto extends shared_1.BaseQueryDto {
|
|
|
18
19
|
}
|
|
19
20
|
__decorate([
|
|
20
21
|
(0, class_validator_1.IsOptional)(),
|
|
22
|
+
(0, class_transformer_1.Transform)((data) => {
|
|
23
|
+
if (data.type === class_transformer_1.TransformationType.PLAIN_TO_CLASS &&
|
|
24
|
+
typeof data.value === 'string') {
|
|
25
|
+
return data.value.split(',').map((v) => v.trim());
|
|
26
|
+
}
|
|
27
|
+
return data.value;
|
|
28
|
+
}),
|
|
21
29
|
(0, class_validator_1.IsArray)(),
|
|
22
30
|
(0, class_validator_1.IsEnum)(entities_1.PaylinkHookEventStatus, { each: true }),
|
|
23
31
|
__metadata("design:type", Array)
|
|
24
32
|
], GetAllPaylinkHookEventsQueryDto.prototype, "status", void 0);
|
|
25
33
|
__decorate([
|
|
26
34
|
(0, class_validator_1.IsOptional)(),
|
|
35
|
+
(0, class_transformer_1.Transform)((data) => {
|
|
36
|
+
if (data.type === class_transformer_1.TransformationType.PLAIN_TO_CLASS &&
|
|
37
|
+
typeof data.value === 'string') {
|
|
38
|
+
return data.value.split(',').map((v) => v.trim());
|
|
39
|
+
}
|
|
40
|
+
return data.value;
|
|
41
|
+
}),
|
|
27
42
|
(0, class_validator_1.IsArray)(),
|
|
28
43
|
(0, class_validator_1.IsEnum)(entities_2.PaylinkHookEvent, { each: true }),
|
|
29
44
|
__metadata("design:type", Array)
|
package/dist/src/domain/model/webhook/paylink/paylink-hook-event/query/getAllQuery.dto.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAllQuery.dto.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/paylink/paylink-hook-event/query/getAllQuery.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8D;AAC9D,+CAAkD;AAClD,0CAAqD;AACrD,0DAA+D;AAE/D,MAAa,+BAAgC,SAAQ,qBAAY;
|
|
1
|
+
{"version":3,"file":"getAllQuery.dto.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/paylink/paylink-hook-event/query/getAllQuery.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8D;AAC9D,yDAAkE;AAClE,+CAAkD;AAClD,0CAAqD;AACrD,0DAA+D;AAE/D,MAAa,+BAAgC,SAAQ,qBAAY;CA4BhE;AA3BC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,IAAI,EAAE,EAAE;QAClB,IACE,IAAI,CAAC,IAAI,KAAK,sCAAkB,CAAC,cAAc;YAC/C,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,EAC9B;YACA,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;SACnD;QACD,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC,CAAC;IACD,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAM,EAAC,iCAAsB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;+DACb;AAElC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,IAAI,EAAE,EAAE;QAClB,IACE,IAAI,CAAC,IAAI,KAAK,sCAAkB,CAAC,cAAc;YAC/C,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,EAC9B;YACA,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;SACnD;QACD,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC,CAAC;IACD,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAM,EAAC,2BAAgB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;8DACd;AA3B7B,0EA4BC"}
|