@heliofi/common 0.1.60 → 0.1.62
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/apiKey/dtos/createApiKeyDto.d.ts +1 -1
- package/dist/src/domain/model/apiKey/dtos/createApiKeyDto.js.map +1 -1
- package/dist/src/domain/model/approve-transaction/dtos/approveTransaction.dto.d.ts +3 -0
- package/dist/src/domain/model/approve-transaction/dtos/approveTransaction.dto.js +12 -0
- package/dist/src/domain/model/approve-transaction/dtos/approveTransaction.dto.js.map +1 -1
- package/dist/src/domain/model/index.d.ts +2 -0
- package/dist/src/domain/model/index.js +2 -0
- package/dist/src/domain/model/index.js.map +1 -1
- package/dist/src/domain/model/link-features/dtos/linkFeatures.dto.d.ts +2 -2
- package/dist/src/domain/model/link-features/dtos/linkFeatures.dto.js +9 -9
- package/dist/src/domain/model/link-features/dtos/linkFeatures.dto.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 +6 -0
- package/dist/src/domain/model/paylink/dtos/createPaylink.dto.js.map +1 -1
- package/dist/src/domain/model/paylink/dtos/updatePaylink.dto.d.ts +2 -0
- package/dist/src/domain/model/paylink/dtos/updatePaylink.dto.js +6 -0
- package/dist/src/domain/model/paylink/dtos/updatePaylink.dto.js.map +1 -1
- package/dist/src/domain/model/payment-request/entities/PaymentRequest.d.ts +2 -0
- package/dist/src/domain/model/payment-request/entities/PaymentRequest.js.map +1 -1
- package/dist/src/domain/model/payment-request/entities/ShallowEnrichedPaymentRequest.d.ts +2 -0
- package/dist/src/domain/model/payment-request/entities/ShallowEnrichedPaymentRequest.js.map +1 -1
- package/dist/src/domain/model/payment-request-features/entities/PaymentRequestFeatures.d.ts +2 -0
- package/dist/src/domain/model/payment-request-features/entities/PaymentRequestFeatures.js.map +1 -1
- package/dist/src/domain/model/split-account/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/split-account/dtos/index.js +18 -0
- package/dist/src/domain/model/split-account/dtos/index.js.map +1 -0
- package/dist/src/domain/model/split-account/dtos/splitAccount.dto.d.ts +4 -0
- package/dist/src/domain/model/split-account/dtos/splitAccount.dto.js +28 -0
- package/dist/src/domain/model/split-account/dtos/splitAccount.dto.js.map +1 -0
- package/dist/src/domain/model/split-account/entities/SplitAccount.d.ts +5 -0
- package/dist/src/domain/model/split-account/entities/SplitAccount.js +22 -0
- package/dist/src/domain/model/split-account/entities/SplitAccount.js.map +1 -0
- package/dist/src/domain/model/split-account/entities/index.d.ts +1 -0
- package/dist/src/domain/model/split-account/entities/index.js +18 -0
- package/dist/src/domain/model/split-account/entities/index.js.map +1 -0
- package/dist/src/domain/model/split-account/index.d.ts +2 -0
- package/dist/src/domain/model/split-account/index.js +19 -0
- package/dist/src/domain/model/split-account/index.js.map +1 -0
- package/dist/src/domain/model/split-wallets/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/split-wallets/dtos/index.js +18 -0
- package/dist/src/domain/model/split-wallets/dtos/index.js.map +1 -0
- package/dist/src/domain/model/split-wallets/dtos/splitWallet.dto.d.ts +4 -0
- package/dist/src/domain/model/split-wallets/dtos/splitWallet.dto.js +27 -0
- package/dist/src/domain/model/split-wallets/dtos/splitWallet.dto.js.map +1 -0
- package/dist/src/domain/model/split-wallets/entities/SplitWallet.d.ts +5 -0
- package/dist/src/domain/model/split-wallets/entities/SplitWallet.js +8 -0
- package/dist/src/domain/model/split-wallets/entities/SplitWallet.js.map +1 -0
- package/dist/src/domain/model/split-wallets/entities/index.d.ts +1 -0
- package/dist/src/domain/model/split-wallets/entities/index.js +18 -0
- package/dist/src/domain/model/split-wallets/entities/index.js.map +1 -0
- package/dist/src/domain/model/split-wallets/index.d.ts +2 -0
- package/dist/src/domain/model/split-wallets/index.js +19 -0
- package/dist/src/domain/model/split-wallets/index.js.map +1 -0
- package/dist/src/domain/model/transaction-meta/dtos/createTransactionMeta.dto.d.ts +3 -0
- package/dist/src/domain/model/transaction-meta/dtos/createTransactionMeta.dto.js +12 -0
- package/dist/src/domain/model/transaction-meta/dtos/createTransactionMeta.dto.js.map +1 -1
- package/dist/src/domain/model/transaction-meta/entities/BaseTransactionMeta.d.ts +3 -0
- package/dist/src/domain/model/transaction-meta/entities/BaseTransactionMeta.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createApiKeyDto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/apiKey/dtos/createApiKeyDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAEjE,MAAa,eAAe;CAQ3B;AAPC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACQ;AAEnB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;
|
|
1
|
+
{"version":3,"file":"createApiKeyDto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/apiKey/dtos/createApiKeyDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAEjE,MAAa,eAAe;CAQ3B;AAPC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACQ;AAEnB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACO;AAPtB,0CAQC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CustomerDetailsDto } from '../../customer-details';
|
|
2
2
|
import { ProductDetailsDto } from '../../product-details';
|
|
3
|
+
import { SplitWalletDto } from '../../split-wallets';
|
|
3
4
|
export declare class ApproveTransactionDto {
|
|
4
5
|
transactionSignature: string;
|
|
5
6
|
paymentRequestId: string;
|
|
@@ -11,4 +12,6 @@ export declare class ApproveTransactionDto {
|
|
|
11
12
|
time?: string;
|
|
12
13
|
customerDetails?: CustomerDetailsDto;
|
|
13
14
|
productDetails?: ProductDetailsDto;
|
|
15
|
+
splitRevenue?: boolean;
|
|
16
|
+
splitWallets?: SplitWalletDto[];
|
|
14
17
|
}
|
|
@@ -14,6 +14,7 @@ const class_validator_1 = require("class-validator");
|
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const customer_details_1 = require("../../customer-details");
|
|
16
16
|
const product_details_1 = require("../../product-details");
|
|
17
|
+
const split_wallets_1 = require("../../split-wallets");
|
|
17
18
|
class ApproveTransactionDto {
|
|
18
19
|
}
|
|
19
20
|
__decorate([
|
|
@@ -70,5 +71,16 @@ __decorate([
|
|
|
70
71
|
(0, class_validator_1.IsOptional)(),
|
|
71
72
|
__metadata("design:type", product_details_1.ProductDetailsDto)
|
|
72
73
|
], ApproveTransactionDto.prototype, "productDetails", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, class_validator_1.IsBoolean)(),
|
|
76
|
+
(0, class_validator_1.IsOptional)(),
|
|
77
|
+
__metadata("design:type", Boolean)
|
|
78
|
+
], ApproveTransactionDto.prototype, "splitRevenue", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, class_transformer_1.Type)(() => split_wallets_1.SplitWalletDto),
|
|
81
|
+
(0, class_validator_1.ValidateNested)(),
|
|
82
|
+
(0, class_validator_1.IsOptional)(),
|
|
83
|
+
__metadata("design:type", Array)
|
|
84
|
+
], ApproveTransactionDto.prototype, "splitWallets", void 0);
|
|
73
85
|
exports.ApproveTransactionDto = ApproveTransactionDto;
|
|
74
86
|
//# sourceMappingURL=approveTransaction.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"approveTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/approve-transaction/dtos/approveTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"approveTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/approve-transaction/dtos/approveTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,yDAAoD;AACpD,6DAA4D;AAC5D,2DAA0D;AAC1D,uDAAqD;AAErD,MAAa,qBAAqB;CAqDjC;AApDC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mEACgB;AAE7B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACK;AAElB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;qDACzB;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;;mDACC;AAEd;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAkB,CAAC;IAC9B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACK,qCAAkB;8DAAC;AAErC;IAAC,IAAA,kCAAgB,GAAE;IAClB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACI,mCAAiB;6DAAC;AAEnC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAEvB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAc,CAAC;IAC1B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;;2DACmB;AApDlC,sDAqDC"}
|
|
@@ -47,4 +47,6 @@ __exportStar(require("./withdrawal"), exports);
|
|
|
47
47
|
__exportStar(require("./report"), exports);
|
|
48
48
|
__exportStar(require("./breakpoint"), exports);
|
|
49
49
|
__exportStar(require("./metrics"), exports);
|
|
50
|
+
__exportStar(require("./split-wallets"), exports);
|
|
51
|
+
__exportStar(require("./split-account"), exports);
|
|
50
52
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,yCAAuB;AACvB,yCAAuB;AACvB,2CAAyB;AACzB,2CAAyB;AACzB,qDAAmC;AACnC,qDAAmC;AACnC,mDAAiC;AACjC,6CAA2B;AAC3B,4CAA0B;AAC1B,2CAAyB;AACzB,+CAA6B;AAC7B,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,kDAAgC;AAChC,oDAAkC;AAClC,6DAA2C;AAC3C,+CAA6B;AAC7B,0CAAwB;AACxB,yCAAuB;AACvB,wDAAsC;AACtC,4CAA0B;AAC1B,oDAAkC;AAClC,8CAA4B;AAC5B,iDAA+B;AAC/B,2CAAyB;AACzB,iDAA+B;AAC/B,oDAAkC;AAClC,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,4CAA0B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,yCAAuB;AACvB,yCAAuB;AACvB,2CAAyB;AACzB,2CAAyB;AACzB,qDAAmC;AACnC,qDAAmC;AACnC,mDAAiC;AACjC,6CAA2B;AAC3B,4CAA0B;AAC1B,2CAAyB;AACzB,+CAA6B;AAC7B,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,kDAAgC;AAChC,oDAAkC;AAClC,6DAA2C;AAC3C,+CAA6B;AAC7B,0CAAwB;AACxB,yCAAuB;AACvB,wDAAsC;AACtC,4CAA0B;AAC1B,oDAAkC;AAClC,8CAA4B;AAC5B,iDAA+B;AAC/B,2CAAyB;AACzB,iDAA+B;AAC/B,oDAAkC;AAClC,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,4CAA0B;AAC1B,kDAAgC;AAChC,kDAAgC"}
|
|
@@ -8,10 +8,10 @@ export declare class LinkFeaturesDto {
|
|
|
8
8
|
requirePhoneNumber?: boolean;
|
|
9
9
|
requireProductDetails?: boolean;
|
|
10
10
|
requireMaxTransactions?: boolean;
|
|
11
|
+
splitRevenue?: boolean;
|
|
12
|
+
splitEqually?: boolean;
|
|
11
13
|
requireNftGate?: boolean;
|
|
12
14
|
canChangeQuantity?: boolean;
|
|
13
15
|
requireQuantityLimits?: boolean;
|
|
14
|
-
minQuantity?: number;
|
|
15
|
-
maxQuantity?: number;
|
|
16
16
|
canChangePrice?: boolean;
|
|
17
17
|
}
|
|
@@ -62,27 +62,27 @@ __decorate([
|
|
|
62
62
|
(0, class_validator_1.IsBoolean)(),
|
|
63
63
|
(0, class_validator_1.IsOptional)(),
|
|
64
64
|
__metadata("design:type", Boolean)
|
|
65
|
-
], LinkFeaturesDto.prototype, "
|
|
65
|
+
], LinkFeaturesDto.prototype, "splitRevenue", void 0);
|
|
66
66
|
__decorate([
|
|
67
67
|
(0, class_validator_1.IsBoolean)(),
|
|
68
68
|
(0, class_validator_1.IsOptional)(),
|
|
69
69
|
__metadata("design:type", Boolean)
|
|
70
|
-
], LinkFeaturesDto.prototype, "
|
|
70
|
+
], LinkFeaturesDto.prototype, "splitEqually", void 0);
|
|
71
71
|
__decorate([
|
|
72
72
|
(0, class_validator_1.IsBoolean)(),
|
|
73
73
|
(0, class_validator_1.IsOptional)(),
|
|
74
74
|
__metadata("design:type", Boolean)
|
|
75
|
-
], LinkFeaturesDto.prototype, "
|
|
75
|
+
], LinkFeaturesDto.prototype, "requireNftGate", void 0);
|
|
76
76
|
__decorate([
|
|
77
|
-
(0, class_validator_1.
|
|
77
|
+
(0, class_validator_1.IsBoolean)(),
|
|
78
78
|
(0, class_validator_1.IsOptional)(),
|
|
79
|
-
__metadata("design:type",
|
|
80
|
-
], LinkFeaturesDto.prototype, "
|
|
79
|
+
__metadata("design:type", Boolean)
|
|
80
|
+
], LinkFeaturesDto.prototype, "canChangeQuantity", void 0);
|
|
81
81
|
__decorate([
|
|
82
|
-
(0, class_validator_1.
|
|
82
|
+
(0, class_validator_1.IsBoolean)(),
|
|
83
83
|
(0, class_validator_1.IsOptional)(),
|
|
84
|
-
__metadata("design:type",
|
|
85
|
-
], LinkFeaturesDto.prototype, "
|
|
84
|
+
__metadata("design:type", Boolean)
|
|
85
|
+
], LinkFeaturesDto.prototype, "requireQuantityLimits", void 0);
|
|
86
86
|
__decorate([
|
|
87
87
|
(0, class_validator_1.IsBoolean)(),
|
|
88
88
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linkFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/dtos/linkFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkE;AAElE,MAAa,eAAe;CA4D3B;AA3DC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qDACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wDACa;AAE1B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;uDACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACgB;AAE7B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8DACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;
|
|
1
|
+
{"version":3,"file":"linkFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/dtos/linkFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkE;AAElE,MAAa,eAAe;CA4D3B;AA3DC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qDACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wDACa;AAE1B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;uDACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACgB;AAE7B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8DACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qDACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qDACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;uDACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACe;AAE5B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8DACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;uDACY;AA3D3B,0CA4DC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ContentDto } from '../../content';
|
|
2
2
|
import { LinkFeaturesDto } from '../../link-features';
|
|
3
3
|
import { ProductDto } from '../../product';
|
|
4
|
+
import { SplitWalletDto } from '../../split-wallets';
|
|
4
5
|
export declare type CreatePaylinkDtoDeserialized = Omit<CreatePaylinkDto, 'normalizedPrice'> & {
|
|
5
6
|
normalizedPrice: bigint;
|
|
6
7
|
};
|
|
@@ -22,6 +23,7 @@ export declare class CreatePaylinkDto {
|
|
|
22
23
|
maxTransactions?: number;
|
|
23
24
|
product?: ProductDto | null;
|
|
24
25
|
nftCollectionAddress?: string;
|
|
26
|
+
splitWallets?: SplitWalletDto[];
|
|
25
27
|
minQuantity?: number;
|
|
26
28
|
maxQuantity?: number;
|
|
27
29
|
}
|
|
@@ -15,6 +15,7 @@ const class_transformer_1 = require("class-transformer");
|
|
|
15
15
|
const content_1 = require("../../content");
|
|
16
16
|
const link_features_1 = require("../../link-features");
|
|
17
17
|
const product_1 = require("../../product");
|
|
18
|
+
const split_wallets_1 = require("../../split-wallets");
|
|
18
19
|
class CreatePaylinkDto {
|
|
19
20
|
constructor() {
|
|
20
21
|
this.notifySenderByEmail = false;
|
|
@@ -110,6 +111,11 @@ __decorate([
|
|
|
110
111
|
(0, class_validator_1.IsOptional)(),
|
|
111
112
|
__metadata("design:type", String)
|
|
112
113
|
], CreatePaylinkDto.prototype, "nftCollectionAddress", void 0);
|
|
114
|
+
__decorate([
|
|
115
|
+
(0, class_transformer_1.Type)(() => split_wallets_1.SplitWalletDto),
|
|
116
|
+
(0, class_validator_1.IsOptional)(),
|
|
117
|
+
__metadata("design:type", Array)
|
|
118
|
+
], CreatePaylinkDto.prototype, "splitWallets", void 0);
|
|
113
119
|
__decorate([
|
|
114
120
|
(0, class_validator_1.IsNumber)(),
|
|
115
121
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPaylink.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/createPaylink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAoD;AACpD,2CAA2C;AAC3C,uDAAsD;AACtD,2CAA2C;
|
|
1
|
+
{"version":3,"file":"createPaylink.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/createPaylink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAoD;AACpD,2CAA2C;AAC3C,uDAAsD;AACtD,2CAA2C;AAC3C,uDAAqD;AAOrD,MAAa,gBAAgB;IAA7B;QAuBE,wBAAmB,GAAa,KAAK,CAAC;QAItC,0BAAqB,GAAa,KAAK,CAAC;QAIxC,mBAAc,GAAa,KAAK,CAAC;IAoDnC,CAAC;CAAA;AAlFC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACA;AAEb;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACE;AAEf;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;yDACf;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACyB;AAEtC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DAC2B;AAExC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wDACoB;AAEjC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACK;AAElB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kDACM;AAEnB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACE;AAEf;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,gCAAc,GAAE;8BACP,oBAAU;iDAAC;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+BAAe,CAAC;IAC3B,IAAA,gCAAc,GAAE;8BACN,+BAAe;kDAAC;AAE3B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACY;AAEzB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,gCAAc,GAAE;8BACP,oBAAU;iDAAQ;AAE5B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8DACiB;AAE9B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAc,CAAC;IAC1B,IAAA,4BAAU,GAAE;;sDACmB;AAEhC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAlFvB,4CAmFC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ContentDto } from '../../content';
|
|
2
2
|
import { LinkFeaturesDto } from '../../link-features';
|
|
3
3
|
import { ProductDto } from '../../product';
|
|
4
|
+
import { SplitWalletDto } from '../../split-wallets';
|
|
4
5
|
export declare class UpdatePaylinkDto {
|
|
5
6
|
company?: string;
|
|
6
7
|
name?: string;
|
|
@@ -19,6 +20,7 @@ export declare class UpdatePaylinkDto {
|
|
|
19
20
|
maxTransactions?: number;
|
|
20
21
|
product?: ProductDto | null;
|
|
21
22
|
nftCollectionAddress?: string;
|
|
23
|
+
splitWallets?: SplitWalletDto[];
|
|
22
24
|
minQuantity?: number;
|
|
23
25
|
maxQuantity?: number;
|
|
24
26
|
}
|
|
@@ -15,6 +15,7 @@ const class_transformer_1 = require("class-transformer");
|
|
|
15
15
|
const content_1 = require("../../content");
|
|
16
16
|
const link_features_1 = require("../../link-features");
|
|
17
17
|
const product_1 = require("../../product");
|
|
18
|
+
const split_wallets_1 = require("../../split-wallets");
|
|
18
19
|
class UpdatePaylinkDto {
|
|
19
20
|
}
|
|
20
21
|
__decorate([
|
|
@@ -105,6 +106,11 @@ __decorate([
|
|
|
105
106
|
(0, class_validator_1.IsOptional)(),
|
|
106
107
|
__metadata("design:type", String)
|
|
107
108
|
], UpdatePaylinkDto.prototype, "nftCollectionAddress", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, class_transformer_1.Type)(() => split_wallets_1.SplitWalletDto),
|
|
111
|
+
(0, class_validator_1.IsOptional)(),
|
|
112
|
+
__metadata("design:type", Array)
|
|
113
|
+
], UpdatePaylinkDto.prototype, "splitWallets", void 0);
|
|
108
114
|
__decorate([
|
|
109
115
|
(0, class_validator_1.IsNumber)(),
|
|
110
116
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updatePaylink.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/updatePaylink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAoD;AACpD,2CAA2C;AAC3C,uDAAsD;AACtD,2CAA2C;
|
|
1
|
+
{"version":3,"file":"updatePaylink.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/updatePaylink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAoD;AACpD,2CAA2C;AAC3C,uDAAsD;AACtD,2CAA2C;AAC3C,uDAAqD;AAErD,MAAa,gBAAgB;CAmF5B;AAlFC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACI;AAEjB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACG;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACE;AAEf;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;yDACf;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACiB;AAE9B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wDACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACK;AAElB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kDACM;AAEnB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACG;AAEhB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iDACK;AAElB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,gCAAc,GAAE;8BACP,oBAAU;iDAAC;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+BAAe,CAAC;IAC3B,IAAA,gCAAc,GAAE;8BACN,+BAAe;kDAAC;AAE3B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACY;AAEzB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACP,oBAAU;iDAAQ;AAE5B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8DACiB;AAE9B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAc,CAAC;IAC1B,IAAA,4BAAU,GAAE;;sDACmB;AAEhC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAlFvB,4CAmFC"}
|
|
@@ -4,10 +4,12 @@ import type { Wallet } from '../../wallet';
|
|
|
4
4
|
import { BasePaymentRequest } from './BasePaymentRequest';
|
|
5
5
|
import { Product } from '../../product';
|
|
6
6
|
import { BaseCompany } from '../../company';
|
|
7
|
+
import { SplitWallet } from '../../split-wallets';
|
|
7
8
|
export declare class PaymentRequest extends BasePaymentRequest {
|
|
8
9
|
creator: User;
|
|
9
10
|
company: BaseCompany;
|
|
10
11
|
currency: Currency;
|
|
11
12
|
wallet: Wallet;
|
|
12
13
|
product: Product;
|
|
14
|
+
splitWallets?: SplitWallet[];
|
|
13
15
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/PaymentRequest.ts"],"names":[],"mappings":";;;AAGA,6DAA0D;
|
|
1
|
+
{"version":3,"file":"PaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/PaymentRequest.ts"],"names":[],"mappings":";;;AAGA,6DAA0D;AAK1D,MAAa,cAAe,SAAQ,uCAAkB;CAYrD;AAZD,wCAYC"}
|
|
@@ -4,12 +4,14 @@ import type { BaseCurrency } from '../../currency';
|
|
|
4
4
|
import type { BaseWallet } from '../../wallet';
|
|
5
5
|
import { Product } from '../../product';
|
|
6
6
|
import { BaseCompany } from '../../company';
|
|
7
|
+
import { SplitWallet } from '../../split-wallets';
|
|
7
8
|
export declare class ShallowEnrichedPaymentRequest extends BasePaymentRequest {
|
|
8
9
|
creator: BaseUser;
|
|
9
10
|
company: BaseCompany;
|
|
10
11
|
currency: BaseCurrency;
|
|
11
12
|
wallet: BaseWallet;
|
|
12
13
|
product: Product;
|
|
14
|
+
splitWallets?: SplitWallet[];
|
|
13
15
|
slug: string;
|
|
14
16
|
volume: number;
|
|
15
17
|
sales: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShallowEnrichedPaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/ShallowEnrichedPaymentRequest.ts"],"names":[],"mappings":";;;AAAA,6DAA0D;
|
|
1
|
+
{"version":3,"file":"ShallowEnrichedPaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/ShallowEnrichedPaymentRequest.ts"],"names":[],"mappings":";;;AAAA,6DAA0D;AAQ1D,MAAa,6BAA8B,SAAQ,uCAAkB;CAkBpE;AAlBD,sEAkBC"}
|
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;CAwBjD;AAxBD,wDAwBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './splitAccount.dto';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./splitAccount.dto"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/split-account/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
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.SplitAccountDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
class SplitAccountDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], SplitAccountDto.prototype, "amount", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], SplitAccountDto.prototype, "recipient", void 0);
|
|
27
|
+
exports.SplitAccountDto = SplitAccountDto;
|
|
28
|
+
//# sourceMappingURL=splitAccount.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"splitAccount.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/split-account/dtos/splitAccount.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,yDAA8C;AAE9C,MAAa,eAAe;CAQ3B;AAPC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;+CACzB;AAEf;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACO;AAPpB,0CAQC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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.SplitAccount = void 0;
|
|
13
|
+
const entity_1 = require("../../entity");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
class SplitAccount extends entity_1.Entity {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
19
|
+
__metadata("design:type", BigInt)
|
|
20
|
+
], SplitAccount.prototype, "amount", void 0);
|
|
21
|
+
exports.SplitAccount = SplitAccount;
|
|
22
|
+
//# sourceMappingURL=SplitAccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SplitAccount.js","sourceRoot":"","sources":["../../../../../../src/domain/model/split-account/entities/SplitAccount.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAsC;AACtC,yDAA8C;AAE9C,MAAa,YAAa,SAAQ,eAAM;CAKvC;AAJC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;4CACzB;AAFjB,oCAKC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SplitAccount';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./SplitAccount"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/split-account/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./dtos"), exports);
|
|
18
|
+
__exportStar(require("./entities"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/split-account/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './splitWallet.dto';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./splitWallet.dto"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/split-wallets/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
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.SplitWalletDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class SplitWalletDto {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsString)(),
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], SplitWalletDto.prototype, "address", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsNumber)(),
|
|
23
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], SplitWalletDto.prototype, "sharePercent", void 0);
|
|
26
|
+
exports.SplitWalletDto = SplitWalletDto;
|
|
27
|
+
//# sourceMappingURL=splitWallet.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"splitWallet.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/split-wallets/dtos/splitWallet.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAEjE,MAAa,cAAc;CAQ1B;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACQ;AAPvB,wCAQC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SplitWallet = void 0;
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
class SplitWallet extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.SplitWallet = SplitWallet;
|
|
8
|
+
//# sourceMappingURL=SplitWallet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SplitWallet.js","sourceRoot":"","sources":["../../../../../../src/domain/model/split-wallets/entities/SplitWallet.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,WAAY,SAAQ,eAAM;CAItC;AAJD,kCAIC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SplitWallet';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./SplitWallet"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/split-wallets/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./entities"), exports);
|
|
18
|
+
__exportStar(require("./dtos"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/split-wallets/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,yCAAuB"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CustomerDetailsDto } from '../../customer-details';
|
|
2
2
|
import { ProductDetailsDto } from '../../product-details';
|
|
3
|
+
import { SplitAccountDto } from '../../split-account';
|
|
3
4
|
export declare class CreateTransactionMetaDto {
|
|
4
5
|
transactionSignature: string;
|
|
5
6
|
amount: string;
|
|
@@ -8,4 +9,6 @@ export declare class CreateTransactionMetaDto {
|
|
|
8
9
|
senderPK: string;
|
|
9
10
|
customerDetails: CustomerDetailsDto;
|
|
10
11
|
productDetails: ProductDetailsDto;
|
|
12
|
+
splitRevenue?: boolean;
|
|
13
|
+
remainingAccounts?: SplitAccountDto[];
|
|
11
14
|
}
|