@heliofi/common 0.2.168 → 0.2.169-alpha.0
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/updateCharge.dto.js.map +1 -1
- package/dist/src/domain/model/deposit/dtos/baseDeposit.dto.d.ts +0 -2
- package/dist/src/domain/model/deposit/dtos/baseDeposit.dto.js +0 -12
- package/dist/src/domain/model/deposit/dtos/baseDeposit.dto.js.map +1 -1
- package/dist/src/domain/model/deposit/entities/Deposit.d.ts +8 -0
- package/dist/src/domain/model/deposit/entities/Deposit.entity.d.ts +0 -2
- package/dist/src/domain/model/deposit/entities/Deposit.entity.js.map +1 -1
- package/dist/src/domain/model/deposit/entities/Deposit.js +8 -0
- package/dist/src/domain/model/deposit/entities/Deposit.js.map +1 -0
- package/dist/src/domain/model/deposit/entities/DepositCustomer.d.ts +6 -0
- package/dist/src/domain/model/deposit/entities/DepositCustomer.js +8 -0
- package/dist/src/domain/model/deposit/entities/DepositCustomer.js.map +1 -0
- package/dist/src/domain/model/deposit/entities/DepositCustomerPopulated.entity.d.ts +8 -0
- package/dist/src/domain/model/deposit/entities/DepositCustomerPopulated.entity.js +8 -0
- package/dist/src/domain/model/deposit/entities/DepositCustomerPopulated.entity.js.map +1 -0
- package/dist/src/domain/model/deposit/entities/index.d.ts +0 -1
- package/dist/src/domain/model/deposit/entities/index.js +0 -1
- package/dist/src/domain/model/deposit/entities/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/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/paylink/dtos/createPaylink.dto.d.ts +2 -0
- package/dist/src/domain/model/paylink/dtos/createPaylink.dto.js +9 -0
- package/dist/src/domain/model/paylink/dtos/createPaylink.dto.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/payment-request-features/entities/PaymentRequestFeatures.d.ts +1 -0
- package/dist/src/domain/model/payment-request-features/entities/PaymentRequestFeatures.js.map +1 -1
- package/dist/src/domain/model/prepare-transaction/dtos/BasePrepareTransaction.dto.d.ts +1 -0
- package/dist/src/domain/model/prepare-transaction/dtos/BasePrepareTransaction.dto.js +8 -0
- package/dist/src/domain/model/prepare-transaction/dtos/BasePrepareTransaction.dto.js.map +1 -1
- package/dist/src/domain/model/report/entities/ReportItem.entity.d.ts +2 -0
- package/dist/src/domain/model/report/entities/ReportItem.entity.js.map +1 -1
- package/dist/src/domain/model/stripe-details/StripeApiKey.dto.d.ts +5 -0
- package/dist/src/domain/model/stripe-details/StripeApiKey.dto.js +37 -0
- package/dist/src/domain/model/stripe-details/StripeApiKey.dto.js.map +1 -0
- package/dist/src/domain/model/stripe-details/StripeApiKey.entity.d.ts +4 -0
- package/dist/src/domain/model/stripe-details/StripeApiKey.entity.js +7 -0
- package/dist/src/domain/model/stripe-details/StripeApiKey.entity.js.map +1 -0
- package/dist/src/domain/model/stripe-details/StripeApiKeys.dto.d.ts +4 -0
- package/dist/src/domain/model/stripe-details/StripeApiKeys.dto.js +26 -0
- package/dist/src/domain/model/stripe-details/StripeApiKeys.dto.js.map +1 -0
- package/dist/src/domain/model/stripe-details/StripeDetails.entity.d.ts +5 -0
- package/dist/src/domain/model/stripe-details/StripeDetails.entity.js +8 -0
- package/dist/src/domain/model/stripe-details/StripeDetails.entity.js.map +1 -0
- package/dist/src/domain/model/stripe-details/index.d.ts +3 -0
- package/dist/src/domain/model/{recent-sweep-attempt/entities → stripe-details}/index.js +3 -1
- package/dist/src/domain/model/stripe-details/index.js.map +1 -0
- package/dist/src/domain/model/submit-transaction/dtos/submitTransaction.dto.d.ts +1 -0
- package/dist/src/domain/model/submit-transaction/dtos/submitTransaction.dto.js +8 -0
- package/dist/src/domain/model/submit-transaction/dtos/submitTransaction.dto.js.map +1 -1
- package/dist/src/domain/model/transaction/entities/TransactionDetails.entity.d.ts +1 -0
- package/dist/src/domain/model/transaction/entities/TransactionDetails.entity.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/src/domain/model/deposit/dtos/createDepositWithApi.dto.d.ts +0 -12
- package/dist/src/domain/model/deposit/dtos/createDepositWithApi.dto.js +0 -66
- package/dist/src/domain/model/deposit/dtos/createDepositWithApi.dto.js.map +0 -1
- package/dist/src/domain/model/deposit/entities/DepositForMerchant.entity.d.ts +0 -5
- package/dist/src/domain/model/deposit/entities/DepositForMerchant.entity.js +0 -8
- package/dist/src/domain/model/deposit/entities/DepositForMerchant.entity.js.map +0 -1
- package/dist/src/domain/model/recent-sweep-attempt/entities/RecentSweepAttempt.d.ts +0 -9
- package/dist/src/domain/model/recent-sweep-attempt/entities/RecentSweepAttempt.js +0 -8
- package/dist/src/domain/model/recent-sweep-attempt/entities/RecentSweepAttempt.js.map +0 -1
- package/dist/src/domain/model/recent-sweep-attempt/entities/index.d.ts +0 -1
- package/dist/src/domain/model/recent-sweep-attempt/entities/index.js.map +0 -1
- package/dist/src/domain/model/recent-sweep-attempt/index.d.ts +0 -1
- package/dist/src/domain/model/recent-sweep-attempt/index.js +0 -18
- package/dist/src/domain/model/recent-sweep-attempt/index.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateCharge.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/updateCharge.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"updateCharge.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/updateCharge.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAyC;AACzC,uEAAmE;AACnE,6DAA4D;AAC5D,2DAA0D;AAE1D,MAAa,eAAgB,SAAQ,gDAAsB;CA+B1D;AA/BD,0CA+BC;AA5BC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACE;AAIf;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACI;AAIjB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACoB;AAKjC;IAHC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAkB,CAAC;IAC9B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACK,qCAAkB;wDAAC;AAKrC;IAHC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACI,mCAAiB;uDAAC"}
|
|
@@ -3,8 +3,6 @@ import { DepositOptionsForCard } from './depositOptionsForCard.dto';
|
|
|
3
3
|
export declare class BaseDepositDto {
|
|
4
4
|
description?: string;
|
|
5
5
|
notifyReceiverByEmail?: boolean;
|
|
6
|
-
merchantAffiliateFeeBps?: number;
|
|
7
|
-
merchantAffiliateFeeWallet?: string;
|
|
8
6
|
connectWalletOptions?: DepositOptions;
|
|
9
7
|
transferManuallyOptions?: DepositOptions;
|
|
10
8
|
payWithCardOptions?: DepositOptionsForCard;
|
|
@@ -27,18 +27,6 @@ __decorate([
|
|
|
27
27
|
(0, class_validator_1.IsOptional)(),
|
|
28
28
|
__metadata("design:type", Boolean)
|
|
29
29
|
], BaseDepositDto.prototype, "notifyReceiverByEmail", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_validator_1.IsNumber)(),
|
|
32
|
-
(0, class_validator_1.IsOptional)(),
|
|
33
|
-
(0, class_validator_1.Min)(0),
|
|
34
|
-
(0, class_validator_1.Max)(9500),
|
|
35
|
-
__metadata("design:type", Number)
|
|
36
|
-
], BaseDepositDto.prototype, "merchantAffiliateFeeBps", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, class_validator_1.IsString)(),
|
|
39
|
-
(0, class_validator_1.IsOptional)(),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], BaseDepositDto.prototype, "merchantAffiliateFeeWallet", void 0);
|
|
42
30
|
__decorate([
|
|
43
31
|
(0, class_validator_1.IsObject)(),
|
|
44
32
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"baseDeposit.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/dtos/baseDeposit.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"baseDeposit.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/dtos/baseDeposit.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,6DAAsD;AACtD,2EAAoE;AAEpE,MAAa,cAAc;CAqB1B;AArBD,wCAqBC;AAjBC;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;mDACM;AAIrB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACmB;AAIhC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;8BACU,mCAAc;4DAAC;AAItC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;8BACa,mCAAc;+DAAC;AAIzC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;8BACQ,iDAAqB;0DAAC"}
|
|
@@ -9,8 +9,6 @@ export declare class DepositEntity extends Entity {
|
|
|
9
9
|
platform: Platform;
|
|
10
10
|
notifyReceiverByEmail: boolean;
|
|
11
11
|
disabled: boolean;
|
|
12
|
-
merchantAffiliateFeeBps?: number;
|
|
13
|
-
merchantAffiliateFeeWallet?: string;
|
|
14
12
|
createdAt: string;
|
|
15
13
|
updatedAt: string;
|
|
16
14
|
connectWalletOptions?: DepositOptionsEntity;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Deposit.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/Deposit.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAKtC,MAAa,aAAc,SAAQ,eAAM;
|
|
1
|
+
{"version":3,"file":"Deposit.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/Deposit.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAKtC,MAAa,aAAc,SAAQ,eAAM;CAsBxC;AAtBD,sCAsBC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DepositEntity = void 0;
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
class DepositEntity extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.DepositEntity = DepositEntity;
|
|
8
|
+
//# sourceMappingURL=Deposit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Deposit.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/Deposit.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,aAAc,SAAQ,eAAM;CAUxC;AAVD,sCAUC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DepositCustomerEntity = void 0;
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
class DepositCustomerEntity extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.DepositCustomerEntity = DepositCustomerEntity;
|
|
8
|
+
//# sourceMappingURL=DepositCustomer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DepositCustomer.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/DepositCustomer.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,qBAAsB,SAAQ,eAAM;CAKhD;AALD,sDAKC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DepositCustomerPopulatedEntity = void 0;
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
class DepositCustomerPopulatedEntity extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.DepositCustomerPopulatedEntity = DepositCustomerPopulatedEntity;
|
|
8
|
+
//# sourceMappingURL=DepositCustomerPopulated.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DepositCustomerPopulated.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/DepositCustomerPopulated.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,8BAA+B,SAAQ,eAAM;CAQzD;AARD,wEAQC"}
|
|
@@ -2,7 +2,6 @@ export * from './DepositCustomerForMerchant.entity';
|
|
|
2
2
|
export * from './DepositWalletEnriched.entity';
|
|
3
3
|
export * from './DepositEnriched.entity';
|
|
4
4
|
export * from './Deposit.entity';
|
|
5
|
-
export * from './DepositForMerchant.entity';
|
|
6
5
|
export * from './DepositCustomer.entity';
|
|
7
6
|
export * from './DepositCustomerEnriched.entity';
|
|
8
7
|
export * from './DepositWallet.entity';
|
|
@@ -18,7 +18,6 @@ __exportStar(require("./DepositCustomerForMerchant.entity"), exports);
|
|
|
18
18
|
__exportStar(require("./DepositWalletEnriched.entity"), exports);
|
|
19
19
|
__exportStar(require("./DepositEnriched.entity"), exports);
|
|
20
20
|
__exportStar(require("./Deposit.entity"), exports);
|
|
21
|
-
__exportStar(require("./DepositForMerchant.entity"), exports);
|
|
22
21
|
__exportStar(require("./DepositCustomer.entity"), exports);
|
|
23
22
|
__exportStar(require("./DepositCustomerEnriched.entity"), exports);
|
|
24
23
|
__exportStar(require("./DepositWallet.entity"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sEAAoD;AACpD,iEAA+C;AAC/C,2DAAyC;AACzC,mDAAiC;AACjC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sEAAoD;AACpD,iEAA+C;AAC/C,2DAAyC;AACzC,mDAAiC;AACjC,2DAAyC;AACzC,mEAAiD;AACjD,yDAAuC;AACvC,4DAA0C;AAC1C,iDAA+B;AAC/B,+DAA6C;AAC7C,yEAAuD;AACvD,oFAAkE;AAClE,6EAA2D"}
|
|
@@ -95,4 +95,9 @@ __decorate([
|
|
|
95
95
|
(0, class_validator_1.IsOptional)(),
|
|
96
96
|
__metadata("design:type", Boolean)
|
|
97
97
|
], CreateLinkFeaturesDto.prototype, "showDetailsForCharge", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, class_validator_1.IsBoolean)(),
|
|
100
|
+
(0, class_validator_1.IsOptional)(),
|
|
101
|
+
__metadata("design:type", Boolean)
|
|
102
|
+
], CreateLinkFeaturesDto.prototype, "requireAdditionalProductDetails", void 0);
|
|
98
103
|
//# sourceMappingURL=createLinkFeatures.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createLinkFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/dtos/createLinkFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AACxD,6EAAiF;AAEjF,MAAa,qBAAsB,SAAQ,0DAA+B;
|
|
1
|
+
{"version":3,"file":"createLinkFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/dtos/createLinkFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AACxD,6EAAiF;AAEjF,MAAa,qBAAsB,SAAQ,0DAA+B;CAoEzE;AApED,sDAoEC;AAjEC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAIvB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAIvB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACe;AAI5B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACmB;AAIhC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAIzB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACS;AAItB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;yDACS;AAIrB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACc;AAI3B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACc;AAI3B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAIzB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;4DACW;AAIxB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACqB;AAIlC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qEACoB;AAIjC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAIzB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8DACa;AAI1B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;mEACkB;AAI/B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8EAC6B"}
|
|
@@ -1 +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;
|
|
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;CAwBvD;AAxBD,oCAwBC"}
|
|
@@ -9,6 +9,7 @@ import { SourceIntegration } from '../../transaction-meta';
|
|
|
9
9
|
import { RaffleDetailsDto } from '../../raffle-details';
|
|
10
10
|
import { PayLinkCreationSource } from '../entities';
|
|
11
11
|
import { SubscriptionDetailsDto } from '../../subscription-details';
|
|
12
|
+
import { ProductDto } from '../../product';
|
|
12
13
|
export type CreatePaylinkDtoDeserialized = Omit<CreatePaylinkDto, 'price'> & {
|
|
13
14
|
price: bigint;
|
|
14
15
|
};
|
|
@@ -32,4 +33,5 @@ export declare class CreatePaylinkDto extends CreatePaymentRequestDto {
|
|
|
32
33
|
stripeApiKeyId?: string;
|
|
33
34
|
addTelegramGroup?: boolean;
|
|
34
35
|
telegramGroupIds?: string[];
|
|
36
|
+
additionalProducts?: ProductDto[];
|
|
35
37
|
}
|
|
@@ -23,6 +23,7 @@ const transaction_meta_1 = require("../../transaction-meta");
|
|
|
23
23
|
const raffle_details_1 = require("../../raffle-details");
|
|
24
24
|
const entities_1 = require("../entities");
|
|
25
25
|
const subscription_details_1 = require("../../subscription-details");
|
|
26
|
+
const product_1 = require("../../product");
|
|
26
27
|
class CreatePaylinkDto extends payment_request_1.CreatePaymentRequestDto {
|
|
27
28
|
}
|
|
28
29
|
exports.CreatePaylinkDto = CreatePaylinkDto;
|
|
@@ -130,4 +131,12 @@ __decorate([
|
|
|
130
131
|
(0, class_validator_1.IsOptional)(),
|
|
131
132
|
__metadata("design:type", Array)
|
|
132
133
|
], CreatePaylinkDto.prototype, "telegramGroupIds", void 0);
|
|
134
|
+
__decorate([
|
|
135
|
+
(0, class_validator_1.IsOptional)(),
|
|
136
|
+
(0, class_validator_1.IsArray)(),
|
|
137
|
+
(0, class_validator_1.ArrayMaxSize)(1),
|
|
138
|
+
(0, class_transformer_1.Type)(() => product_1.ProductDto),
|
|
139
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
140
|
+
__metadata("design:type", Array)
|
|
141
|
+
], CreatePaylinkDto.prototype, "additionalProducts", void 0);
|
|
133
142
|
//# sourceMappingURL=createPaylink.dto.js.map
|
|
@@ -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,qDAYyB;AACzB,yDAAyC;AACzC,uDAA4D;AAC5D,uDAAqD;AACrD,2DAAgE;AAChE,iDAA0D;AAC1D,yDAAuD;AACvD,kDAAmD;AACnD,iDAAuD;AACvD,6DAA2D;AAC3D,yDAAwD;AACxD,0CAAoD;AACpD,qEAAoE;AACpE,2CAA2C;AAM3C,MAAa,gBAAiB,SAAQ,yCAAuB;CA4F5D;AA5FD,4CA4FC;AAxFC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAqB,CAAC;IACjC,IAAA,gCAAc,GAAE;8BACP,qCAAqB;kDAAC;AAIhC;IAFC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAc,CAAC;IAC1B,IAAA,4BAAU,GAAE;;sDACmB;AAIhC;IAFC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAe,CAAC;IAC3B,IAAA,4BAAU,GAAE;;uDACqB;AAIlC;IAFC,IAAA,wBAAM,EAAC,yBAAa,CAAC;IACrB,IAAA,4BAAU,GAAE;;uDACiB;AAI9B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAIrB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAKrB;IAHC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAsB,CAAC;IAClC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACK,mCAAsB;6DAAC;AAI7C;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACM;AAKnB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAmB,CAAC;IAC/B,IAAA,gCAAc,GAAE;8BACE,gCAAmB;0DAAC;AAKvC;IAHC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACD,iCAAgB;uDAAC;AAIjC;IAFC,IAAA,wBAAM,EAAC,oCAAiB,CAAC;IACzB,IAAA,4BAAU,GAAE;;2DACyB;AAKtC;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;kEACmB;AAIlC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAKrB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;0DACc;AAI1B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDAC0B;AAKvC;IAHC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6CAAsB,CAAC;IAClC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACK,6CAAsB;6DAAC;AAK7C;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;wDACY;AAIxB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACc;AAK3B;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,4BAAU,GAAE;;0DACe;AAO5B;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;4DACG"}
|
|
@@ -7,6 +7,7 @@ import { AffiliateDetails } from '../../affiliates';
|
|
|
7
7
|
import { RaffleDetails } from '../../raffle-details';
|
|
8
8
|
import { BaseAirdropDetails } from '../../airdrop-details';
|
|
9
9
|
import { SubscriptionDetails } from '../../subscription-details';
|
|
10
|
+
import { Product } from '../../product';
|
|
10
11
|
export declare class ShallowEnrichedPaylink extends ShallowEnrichedPaymentRequest {
|
|
11
12
|
content: ContentResponse;
|
|
12
13
|
limitSaleType?: LimitSaleType;
|
|
@@ -24,4 +25,5 @@ export declare class ShallowEnrichedPaylink extends ShallowEnrichedPaymentReques
|
|
|
24
25
|
stripeApiKeyId: string | undefined;
|
|
25
26
|
addStripeApiKey: boolean;
|
|
26
27
|
redirectUrl?: string;
|
|
28
|
+
additionalProducts: Product[];
|
|
27
29
|
}
|
|
@@ -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;AAWtE,MAAa,sBAAuB,SAAQ,+CAA6B;CAkCxE;AAlCD,wDAkCC"}
|
|
@@ -10,6 +10,7 @@ export declare class PaymentRequestFeatures extends Entity {
|
|
|
10
10
|
requireDeliveryAddress: boolean;
|
|
11
11
|
requirePhoneNumber: boolean;
|
|
12
12
|
requireProductDetails: boolean;
|
|
13
|
+
requireAdditionalProductDetails: boolean;
|
|
13
14
|
requireMaxTransactions: boolean;
|
|
14
15
|
splitRevenue: boolean;
|
|
15
16
|
splitEqually: boolean;
|
package/dist/src/domain/model/payment-request-features/entities/PaymentRequestFeatures.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentRequestFeatures.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request-features/entities/PaymentRequestFeatures.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,sBAAuB,SAAQ,eAAM;
|
|
1
|
+
{"version":3,"file":"PaymentRequestFeatures.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request-features/entities/PaymentRequestFeatures.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,sBAAuB,SAAQ,eAAM;CA8DjD;AA9DD,wDA8DC"}
|
|
@@ -8,6 +8,7 @@ export declare class BasePrepareTransactionDto extends PreparePaymentRequestDto
|
|
|
8
8
|
discountToken?: string;
|
|
9
9
|
customerDetails?: CustomerDetailsDto;
|
|
10
10
|
productDetails?: ProductDetailsDto;
|
|
11
|
+
additionalProductDetails?: ProductDetailsDto[];
|
|
11
12
|
pricingCurrencyRateToken: string;
|
|
12
13
|
sourceIntegration?: SourceIntegration;
|
|
13
14
|
sourceIntegrationVersion?: string;
|
|
@@ -46,6 +46,14 @@ __decorate([
|
|
|
46
46
|
(0, class_validator_1.IsOptional)(),
|
|
47
47
|
__metadata("design:type", product_details_1.ProductDetailsDto)
|
|
48
48
|
], BasePrepareTransactionDto.prototype, "productDetails", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_validator_1.IsOptional)(),
|
|
51
|
+
(0, class_validator_1.IsArray)(),
|
|
52
|
+
(0, class_validator_1.ArrayMaxSize)(1),
|
|
53
|
+
(0, class_transformer_1.Type)(() => product_details_1.ProductDetailsDto),
|
|
54
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
55
|
+
__metadata("design:type", Array)
|
|
56
|
+
], BasePrepareTransactionDto.prototype, "additionalProductDetails", void 0);
|
|
49
57
|
__decorate([
|
|
50
58
|
(0, class_validator_1.IsString)(),
|
|
51
59
|
(0, class_validator_1.IsNotEmpty)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasePrepareTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/dtos/BasePrepareTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"BasePrepareTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/dtos/BasePrepareTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAUyB;AACzB,yDAAoD;AACpD,2EAAyE;AACzE,6DAA4D;AAC5D,2DAA0D;AAC1D,6DAA2D;AAE3D,MAAa,yBAA0B,SAAQ,kDAAwB;CA0CtE;AA1CD,8DA0CC;AAvCC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;yDACxB;AAIhB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACK;AAIlB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACU;AAKvB;IAHC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAkB,CAAC;IAC9B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACK,qCAAkB;kEAAC;AAKrC;IAHC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACI,mCAAiB;iEAAC;AAOnC;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;2EACgB;AAI/C;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2EACoB;AAIjC;IAFC,IAAA,wBAAM,EAAC,oCAAiB,CAAC;IACzB,IAAA,4BAAU,GAAE;;oEACyB;AAKtC;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;2EACmB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReportItem.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/report/entities/ReportItem.entity.ts"],"names":[],"mappings":";;;AACA,yCAAsC;AAItC,MAAa,UAAW,SAAQ,eAAM;
|
|
1
|
+
{"version":3,"file":"ReportItem.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/report/entities/ReportItem.entity.ts"],"names":[],"mappings":";;;AACA,yCAAsC;AAItC,MAAa,UAAW,SAAQ,eAAM;CA2GrC;AA3GD,gCA2GC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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.StripeApiKeyDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class StripeApiKeyDto {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsOptional)(),
|
|
18
|
+
(0, class_validator_1.IsMongoId)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], StripeApiKeyDto.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.MaxLength)(100),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], StripeApiKeyDto.prototype, "name", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsOptional)(),
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.MaxLength)(200),
|
|
31
|
+
(0, class_validator_1.Matches)(/^rk_/, {
|
|
32
|
+
message: 'Stripe API key must be a restricted key starting with "rk_"',
|
|
33
|
+
}),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], StripeApiKeyDto.prototype, "newSecretKey", void 0);
|
|
36
|
+
exports.StripeApiKeyDto = StripeApiKeyDto;
|
|
37
|
+
//# sourceMappingURL=StripeApiKey.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StripeApiKey.dto.js","sourceRoot":"","sources":["../../../../../src/domain/model/stripe-details/StripeApiKey.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AAEzB,MAAa,eAAe;CAiB3B;AAhBC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;2CACA;AAEZ;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;6CACD;AAEd;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;IACd,IAAA,yBAAO,EAAC,MAAM,EAAE;QACf,OAAO,EAAE,6DAA6D;KACvE,CAAC;;qDACoB;AAhBxB,0CAiBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StripeApiKey.entity.js","sourceRoot":"","sources":["../../../../../src/domain/model/stripe-details/StripeApiKey.entity.ts"],"names":[],"mappings":";;;AAAA,MAAa,YAAY;CAKxB;AALD,oCAKC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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.StripeApiKeysDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const StripeApiKey_dto_1 = require("./StripeApiKey.dto");
|
|
16
|
+
class StripeApiKeysDto {
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_transformer_1.Type)(() => StripeApiKey_dto_1.StripeApiKeyDto),
|
|
20
|
+
(0, class_validator_1.IsArray)(),
|
|
21
|
+
(0, class_validator_1.IsDefined)(),
|
|
22
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
23
|
+
__metadata("design:type", Array)
|
|
24
|
+
], StripeApiKeysDto.prototype, "apiKeys", void 0);
|
|
25
|
+
exports.StripeApiKeysDto = StripeApiKeysDto;
|
|
26
|
+
//# sourceMappingURL=StripeApiKeys.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StripeApiKeys.dto.js","sourceRoot":"","sources":["../../../../../src/domain/model/stripe-details/StripeApiKeys.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqE;AACrE,yDAAyC;AACzC,yDAAqD;AAErD,MAAa,gBAAgB;CAM5B;AALC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kCAAe,CAAC;IAC3B,IAAA,yBAAO,GAAE;IACT,IAAA,2BAAS,GAAE;IACX,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;iDACJ;AAL7B,4CAMC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StripeDetails = void 0;
|
|
4
|
+
const entity_1 = require("../entity");
|
|
5
|
+
class StripeDetails extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.StripeDetails = StripeDetails;
|
|
8
|
+
//# sourceMappingURL=StripeDetails.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StripeDetails.entity.js","sourceRoot":"","sources":["../../../../../src/domain/model/stripe-details/StripeDetails.entity.ts"],"names":[],"mappings":";;;AACA,sCAAmC;AAEnC,MAAa,aAAc,SAAQ,eAAM;CAExC;AAFD,sCAEC"}
|
|
@@ -14,5 +14,7 @@ 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("./
|
|
17
|
+
__exportStar(require("./StripeApiKey.entity"), exports);
|
|
18
|
+
__exportStar(require("./StripeApiKey.dto"), exports);
|
|
19
|
+
__exportStar(require("./StripeApiKeys.dto"), exports);
|
|
18
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/stripe-details/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,qDAAmC;AACnC,sDAAoC"}
|
|
@@ -7,6 +7,7 @@ export declare class SubmitTransactionDto extends BaseSubmitTransactionDto {
|
|
|
7
7
|
time?: string;
|
|
8
8
|
customerDetails?: CustomerDetailsDto;
|
|
9
9
|
productDetails?: ProductDetailsDto;
|
|
10
|
+
additionalProductDetails?: ProductDetailsDto[];
|
|
10
11
|
splitRevenue?: boolean;
|
|
11
12
|
splitWallets?: SplitWalletDto[];
|
|
12
13
|
rateToken?: string;
|
|
@@ -46,6 +46,14 @@ __decorate([
|
|
|
46
46
|
(0, class_validator_1.IsOptional)(),
|
|
47
47
|
__metadata("design:type", product_details_1.ProductDetailsDto)
|
|
48
48
|
], SubmitTransactionDto.prototype, "productDetails", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_validator_1.IsOptional)(),
|
|
51
|
+
(0, class_validator_1.IsArray)(),
|
|
52
|
+
(0, class_validator_1.ArrayMaxSize)(1),
|
|
53
|
+
(0, class_transformer_1.Type)(() => product_details_1.ProductDetailsDto),
|
|
54
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
55
|
+
__metadata("design:type", Array)
|
|
56
|
+
], SubmitTransactionDto.prototype, "additionalProductDetails", void 0);
|
|
49
57
|
__decorate([
|
|
50
58
|
(0, class_validator_1.IsBoolean)(),
|
|
51
59
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submitTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/submit-transaction/dtos/submitTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"submitTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/submit-transaction/dtos/submitTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDASyB;AACzB,yDAAyC;AACzC,6DAA4D;AAC5D,2DAA0D;AAC1D,uDAAqD;AACrD,2EAAuE;AAEvE,MAAa,oBAAqB,SAAQ,oDAAwB;IAAlE;;QAGE,aAAQ,GAAI,CAAC,CAAC;IAiDhB,CAAC;CAAA;AApDD,oDAoDC;AAjDC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACC;AAId;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACC;AAKd;IAHC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAkB,CAAC;IAC9B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACK,qCAAkB;6DAAC;AAMrC;IAJC,IAAA,kCAAgB,GAAE;IAClB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACI,mCAAiB;4DAAC;AAOnC;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;sEACgB;AAI/C;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACU;AAKvB;IAHC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAc,CAAC;IAC1B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;;0DACmB;AAIhC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACM;AAInB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACU;AAIvB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACU;AAKvB;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,4BAAU,GAAE;;wEACyB"}
|
|
@@ -24,6 +24,7 @@ export declare class TransactionDetails extends Entity {
|
|
|
24
24
|
currency: string;
|
|
25
25
|
customerDetails: CustomerDetails;
|
|
26
26
|
productDetails: ProductDetails;
|
|
27
|
+
additionalProductDetails?: ProductDetails[];
|
|
27
28
|
merchantDetails: MerchantDetails;
|
|
28
29
|
fee?: bigint;
|
|
29
30
|
isRefunded?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionDetails.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/transaction/entities/TransactionDetails.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAoD;AAEpD,yCAAsC;AAKtC,qDAAiD;AAEjD,2CAAwC;AAGxC,MAAa,kBAAmB,SAAQ,eAAM;
|
|
1
|
+
{"version":3,"file":"TransactionDetails.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/transaction/entities/TransactionDetails.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAoD;AAEpD,yCAAsC;AAKtC,qDAAiD;AAEjD,2CAAwC;AAGxC,MAAa,kBAAmB,SAAQ,eAAM;CAsD7C;AAtDD,gDAsDC;AApDC;IADC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;8BACZ,0BAAW;qDAAC;AAGxB;IADC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;;sDACQ;AAGhC;IADC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iBAAO,CAAC;;oDACC;AAGrB;IADC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;mDACvB"}
|