@heliofi/common 0.1.468 → 0.1.470
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/index.d.ts +0 -1
- package/dist/src/domain/constants/index.js +0 -1
- package/dist/src/domain/constants/index.js.map +1 -1
- package/dist/src/domain/constants/maxWalletsPerBlockchain.d.ts +1 -0
- package/dist/src/domain/constants/maxWalletsPerBlockchain.js +2 -1
- package/dist/src/domain/constants/maxWalletsPerBlockchain.js.map +1 -1
- package/dist/src/domain/model/prepare-transaction/dtos/prepareTransaction.dto.d.ts +0 -2
- package/dist/src/domain/model/prepare-transaction/dtos/prepareTransaction.dto.js +0 -7
- package/dist/src/domain/model/prepare-transaction/dtos/prepareTransaction.dto.js.map +1 -1
- package/dist/src/domain/model/prepare-transaction/entities/PrepareTransaction.entity.d.ts +0 -1
- package/dist/src/domain/model/prepare-transaction/entities/PrepareTransaction.entity.js.map +1 -1
- package/dist/src/domain/model/pricing/dtos/createPricing.dto.d.ts +4 -0
- package/dist/src/domain/model/pricing/dtos/createPricing.dto.js +31 -0
- package/dist/src/domain/model/pricing/dtos/createPricing.dto.js.map +1 -0
- package/dist/src/domain/model/pricing/dtos/index.d.ts +2 -0
- package/dist/src/domain/model/pricing/dtos/index.js +19 -0
- package/dist/src/domain/model/pricing/dtos/index.js.map +1 -0
- package/dist/src/domain/model/pricing/dtos/updatePricing.dto.d.ts +3 -0
- package/dist/src/domain/model/pricing/dtos/updatePricing.dto.js +25 -0
- package/dist/src/domain/model/pricing/dtos/updatePricing.dto.js.map +1 -0
- package/dist/src/domain/model/pricing/entities/BasePricing.d.ts +4 -0
- package/dist/src/domain/model/pricing/entities/BasePricing.js +22 -0
- package/dist/src/domain/model/pricing/entities/BasePricing.js.map +1 -0
- package/dist/src/domain/model/pricing/entities/Pricing.d.ts +5 -0
- package/dist/src/domain/model/pricing/entities/Pricing.js +8 -0
- package/dist/src/domain/model/pricing/entities/Pricing.js.map +1 -0
- package/dist/src/domain/model/pricing/entities/index.d.ts +2 -0
- package/dist/src/domain/model/pricing/entities/index.js +19 -0
- package/dist/src/domain/model/pricing/entities/index.js.map +1 -0
- package/dist/src/domain/model/pricing/index.d.ts +2 -0
- package/dist/src/domain/model/pricing/index.js +19 -0
- package/dist/src/domain/model/pricing/index.js.map +1 -0
- package/dist/src/domain/model/submit-transaction/dtos/submitTransaction.dto.d.ts +0 -1
- package/dist/src/domain/model/submit-transaction/dtos/submitTransaction.dto.js +0 -6
- package/dist/src/domain/model/submit-transaction/dtos/submitTransaction.dto.js.map +1 -1
- package/dist/src/domain/model/submit-transaction/dtos/submitTransactionV0.dto.d.ts +18 -0
- package/dist/src/domain/model/submit-transaction/dtos/submitTransactionV0.dto.js +82 -0
- package/dist/src/domain/model/submit-transaction/dtos/submitTransactionV0.dto.js.map +1 -0
- package/dist/src/domain/model/user/entities/ShallowEnrichedUser.d.ts +2 -0
- package/dist/src/domain/model/user/entities/ShallowEnrichedUser.js.map +1 -1
- package/dist/src/domain/model/user/entities/User.d.ts +2 -0
- package/dist/src/domain/model/user/entities/User.js.map +1 -1
- package/dist/src/domain/services/index.d.ts +0 -1
- package/dist/src/domain/services/index.js +0 -1
- package/dist/src/domain/services/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/src/domain/constants/solanaTransactionVersion.d.ts +0 -4
- package/dist/src/domain/constants/solanaTransactionVersion.js +0 -9
- package/dist/src/domain/constants/solanaTransactionVersion.js.map +0 -1
- package/dist/src/domain/model/transaction-meta/entities/StatusAudit.d.ts +0 -4
- package/dist/src/domain/model/transaction-meta/entities/StatusAudit.js +0 -7
- package/dist/src/domain/model/transaction-meta/entities/StatusAudit.js.map +0 -1
- package/dist/src/domain/services/SerializeService.d.ts +0 -6
- package/dist/src/domain/services/SerializeService.js +0 -27
- package/dist/src/domain/services/SerializeService.js.map +0 -1
- package/dist/src/domain/services/SolanaSerializationService.d.ts +0 -6
- package/dist/src/domain/services/SolanaSerializationService.js +0 -27
- package/dist/src/domain/services/SolanaSerializationService.js.map +0 -1
|
@@ -34,5 +34,4 @@ __exportStar(require("./platform"), exports);
|
|
|
34
34
|
__exportStar(require("./wallet"), exports);
|
|
35
35
|
__exportStar(require("./tradingViewDetails"), exports);
|
|
36
36
|
__exportStar(require("./template"), exports);
|
|
37
|
-
__exportStar(require("./solanaTransactionVersion"), exports);
|
|
38
37
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mDAAiC;AACjC,gDAA8B;AAC9B,iDAA+B;AAC/B,+CAA6B;AAC7B,mDAAiC;AACjC,qDAAmC;AACnC,8CAA4B;AAC5B,qEAAmD;AACnD,mDAAiC;AACjC,gDAA8B;AAC9B,2CAAyB;AACzB,2CAAyB;AACzB,kDAAgC;AAChC,4DAA0C;AAC1C,yDAAuC;AACvC,6CAA2B;AAC3B,2CAAyB;AACzB,uDAAqC;AACrC,6CAA2B
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mDAAiC;AACjC,gDAA8B;AAC9B,iDAA+B;AAC/B,+CAA6B;AAC7B,mDAAiC;AACjC,qDAAmC;AACnC,8CAA4B;AAC5B,qEAAmD;AACnD,mDAAiC;AACjC,gDAA8B;AAC9B,2CAAyB;AACzB,2CAAyB;AACzB,kDAAgC;AAChC,4DAA0C;AAC1C,yDAAuC;AACvC,6CAA2B;AAC3B,2CAAyB;AACzB,uDAAqC;AACrC,6CAA2B"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.maxWalletsPerBlockchain = void 0;
|
|
3
|
+
exports.maxPayoutWalletsPerBlockchain = exports.maxWalletsPerBlockchain = void 0;
|
|
4
4
|
exports.maxWalletsPerBlockchain = 5;
|
|
5
|
+
exports.maxPayoutWalletsPerBlockchain = 5;
|
|
5
6
|
//# sourceMappingURL=maxWalletsPerBlockchain.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maxWalletsPerBlockchain.js","sourceRoot":"","sources":["../../../../src/domain/constants/maxWalletsPerBlockchain.ts"],"names":[],"mappings":";;;AAAa,QAAA,uBAAuB,GAAG,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"maxWalletsPerBlockchain.js","sourceRoot":"","sources":["../../../../src/domain/constants/maxWalletsPerBlockchain.ts"],"names":[],"mappings":";;;AAAa,QAAA,uBAAuB,GAAG,CAAC,CAAC;AAE5B,QAAA,6BAA6B,GAAG,CAAC,CAAC"}
|
|
@@ -2,7 +2,6 @@ import { PreparePaymentRequestDto } from '../../prepare-payment-request';
|
|
|
2
2
|
import { CustomerDetailsDto } from '../../customer-details';
|
|
3
3
|
import { ProductDetailsDto } from '../../product-details';
|
|
4
4
|
import { SourceIntegration } from '../../transaction-meta';
|
|
5
|
-
import { SolanaTransactionVersion } from '../../../constants';
|
|
6
5
|
export declare class PrepareTransactionDto extends PreparePaymentRequestDto {
|
|
7
6
|
currency: string;
|
|
8
7
|
amount?: string;
|
|
@@ -15,5 +14,4 @@ export declare class PrepareTransactionDto extends PreparePaymentRequestDto {
|
|
|
15
14
|
pricingCurrencyRateToken?: string;
|
|
16
15
|
sourceIntegration?: SourceIntegration;
|
|
17
16
|
sourceIntegrationVersion?: string;
|
|
18
|
-
solanaTransactionVersion?: SolanaTransactionVersion;
|
|
19
17
|
}
|
|
@@ -16,7 +16,6 @@ const prepare_payment_request_1 = require("../../prepare-payment-request");
|
|
|
16
16
|
const customer_details_1 = require("../../customer-details");
|
|
17
17
|
const product_details_1 = require("../../product-details");
|
|
18
18
|
const transaction_meta_1 = require("../../transaction-meta");
|
|
19
|
-
const constants_1 = require("../../../constants");
|
|
20
19
|
class PrepareTransactionDto extends prepare_payment_request_1.PreparePaymentRequestDto {
|
|
21
20
|
}
|
|
22
21
|
__decorate([
|
|
@@ -77,11 +76,5 @@ __decorate([
|
|
|
77
76
|
(0, class_validator_1.MaxLength)(100),
|
|
78
77
|
__metadata("design:type", String)
|
|
79
78
|
], PrepareTransactionDto.prototype, "sourceIntegrationVersion", void 0);
|
|
80
|
-
__decorate([
|
|
81
|
-
(0, class_validator_1.IsString)(),
|
|
82
|
-
(0, class_validator_1.IsEnum)(constants_1.SolanaTransactionVersion),
|
|
83
|
-
(0, class_validator_1.IsOptional)(),
|
|
84
|
-
__metadata("design:type", String)
|
|
85
|
-
], PrepareTransactionDto.prototype, "solanaTransactionVersion", void 0);
|
|
86
79
|
exports.PrepareTransactionDto = PrepareTransactionDto;
|
|
87
80
|
//# sourceMappingURL=prepareTransaction.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prepareTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/dtos/prepareTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,yDAAoD;AACpD,2EAAyE;AACzE,6DAA4D;AAC5D,2DAA0D;AAC1D,6DAA2D;
|
|
1
|
+
{"version":3,"file":"prepareTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/dtos/prepareTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,yDAAoD;AACpD,2EAAyE;AACzE,6DAA4D;AAC5D,2DAA0D;AAC1D,6DAA2D;AAE3D,MAAa,qBAAsB,SAAQ,kDAAwB;CAgDlE;AA/CC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACI;AAEjB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;qDACxB;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACK;AAGlB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qEACmB;AAEhC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACU;AAEvB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAkB,CAAC;IAC9B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACK,qCAAkB;8DAAC;AAErC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACI,mCAAiB;6DAAC;AAEnC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uEACqB;AAElC;IAAC,IAAA,wBAAM,EAAC,oCAAiB,CAAC;IACzB,IAAA,4BAAU,GAAE;;gEACyB;AAEtC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;uEACmB;AA/CpC,sDAgDC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrepareTransaction.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/entities/PrepareTransaction.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,kBAAmB,SAAQ,eAAM;
|
|
1
|
+
{"version":3,"file":"PrepareTransaction.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/entities/PrepareTransaction.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,kBAAmB,SAAQ,eAAM;CAM7C;AAND,gDAMC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.CreatePricingDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const decorators_1 = require("../../../decorators");
|
|
16
|
+
class CreatePricingDto {
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
(0, class_validator_1.IsMongoId)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], CreatePricingDto.prototype, "currencyId", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, decorators_1.BigintMin)(1n, { message: 'Price must be greater than 0' }),
|
|
26
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
27
|
+
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], CreatePricingDto.prototype, "price", void 0);
|
|
30
|
+
exports.CreatePricingDto = CreatePricingDto;
|
|
31
|
+
//# sourceMappingURL=createPricing.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createPricing.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/pricing/dtos/createPricing.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkE;AAClE,yDAA8C;AAC9C,oDAAgD;AAEhD,MAAa,gBAAgB;CAU5B;AATC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;oDACO;AAEnB;IAAC,IAAA,sBAAS,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,8BAA8B,EAAE,CAAC;IAC1D,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;+CAC1B;AAThB,4CAUC"}
|
|
@@ -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("./createPricing.dto"), exports);
|
|
18
|
+
__exportStar(require("./updatePricing.dto"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/pricing/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,sDAAoC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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.UpdatePricingDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const decorators_1 = require("../../../decorators");
|
|
16
|
+
class UpdatePricingDto {
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, decorators_1.BigintMin)(1n, { message: 'Price must be greater than 0' }),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], UpdatePricingDto.prototype, "price", void 0);
|
|
24
|
+
exports.UpdatePricingDto = UpdatePricingDto;
|
|
25
|
+
//# sourceMappingURL=updatePricing.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updatePricing.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/pricing/dtos/updatePricing.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAC7C,yDAA8C;AAC9C,oDAAgD;AAEhD,MAAa,gBAAgB;CAK5B;AAJC;IAAC,IAAA,sBAAS,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,8BAA8B,EAAE,CAAC;IAC1D,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;+CAC1B;AAJhB,4CAKC"}
|
|
@@ -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.BasePricing = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const entity_1 = require("../../entity");
|
|
15
|
+
class BasePricing extends entity_1.Entity {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
19
|
+
__metadata("design:type", BigInt)
|
|
20
|
+
], BasePricing.prototype, "normalizedPrice", void 0);
|
|
21
|
+
exports.BasePricing = BasePricing;
|
|
22
|
+
//# sourceMappingURL=BasePricing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BasePricing.js","sourceRoot":"","sources":["../../../../../../src/domain/model/pricing/entities/BasePricing.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yCAAsC;AAEtC,MAAa,WAAY,SAAQ,eAAM;CAGtC;AAFC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;oDAChB;AAF1B,kCAGC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Pricing = void 0;
|
|
4
|
+
const BasePricing_1 = require("./BasePricing");
|
|
5
|
+
class Pricing extends BasePricing_1.BasePricing {
|
|
6
|
+
}
|
|
7
|
+
exports.Pricing = Pricing;
|
|
8
|
+
//# sourceMappingURL=Pricing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pricing.js","sourceRoot":"","sources":["../../../../../../src/domain/model/pricing/entities/Pricing.ts"],"names":[],"mappings":";;;AAAA,+CAA4C;AAG5C,MAAa,OAAQ,SAAQ,yBAAW;CAEvC;AAFD,0BAEC"}
|
|
@@ -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("./BasePricing"), exports);
|
|
18
|
+
__exportStar(require("./Pricing"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/pricing/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,4CAA0B"}
|
|
@@ -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/pricing/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
|
|
@@ -71,11 +71,5 @@ __decorate([
|
|
|
71
71
|
(0, class_validator_1.IsOptional)(),
|
|
72
72
|
__metadata("design:type", String)
|
|
73
73
|
], SubmitTransactionDto.prototype, "affiliateCode", void 0);
|
|
74
|
-
__decorate([
|
|
75
|
-
(0, class_validator_1.IsArray)(),
|
|
76
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
77
|
-
(0, class_validator_1.IsOptional)(),
|
|
78
|
-
__metadata("design:type", Array)
|
|
79
|
-
], SubmitTransactionDto.prototype, "addressLookupTableAccounts", void 0);
|
|
80
74
|
exports.SubmitTransactionDto = SubmitTransactionDto;
|
|
81
75
|
//# sourceMappingURL=submitTransaction.dto.js.map
|
|
@@ -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,qDAOyB;AACzB,yDAAyC;AACzC,6DAA4D;AAC5D,2DAA0D;AAC1D,uDAAqD;AACrD,2EAAuE;AAEvE,MAAa,oBAAqB,SAAQ,oDAAwB;IAAlE;;QAGE,aAAQ,GAAI,CAAC,CAAC;IAqChB,CAAC;CAAA;AAvCC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACC;AAEd;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAkB,CAAC;IAC9B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACK,qCAAkB;6DAAC;AAErC;IAAC,IAAA,kCAAgB,GAAE;IAClB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACI,mCAAiB;4DAAC;AAEnC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACU;AAEvB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAc,CAAC;IAC1B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;;0DACmB;AAEhC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACM;AAEnB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACU;AAvCzB,oDAwCC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CustomerDetailsDto } from '../../customer-details';
|
|
2
|
+
import { ProductDetailsDto } from '../../product-details';
|
|
3
|
+
import { SplitWalletDto } from '../../split-wallets';
|
|
4
|
+
import { FixedCurrencyDto } from '../../fixed-currency';
|
|
5
|
+
import { BaseSubmitTransactionDto } from './baseSubmitTransaction.dto';
|
|
6
|
+
export declare class SubmitTransactionDtoV0 extends BaseSubmitTransactionDto {
|
|
7
|
+
paymentRequestId: string;
|
|
8
|
+
quantity: number;
|
|
9
|
+
time?: string;
|
|
10
|
+
customerDetails?: CustomerDetailsDto;
|
|
11
|
+
productDetails?: ProductDetailsDto;
|
|
12
|
+
splitRevenue?: boolean;
|
|
13
|
+
splitWallets?: SplitWalletDto[];
|
|
14
|
+
fixedCurrency?: FixedCurrencyDto;
|
|
15
|
+
rateToken?: string;
|
|
16
|
+
discountToken?: string;
|
|
17
|
+
affiliateCode?: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
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.SubmitTransactionDtoV0 = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const customer_details_1 = require("../../customer-details");
|
|
16
|
+
const product_details_1 = require("../../product-details");
|
|
17
|
+
const split_wallets_1 = require("../../split-wallets");
|
|
18
|
+
const fixed_currency_1 = require("../../fixed-currency");
|
|
19
|
+
const baseSubmitTransaction_dto_1 = require("./baseSubmitTransaction.dto");
|
|
20
|
+
class SubmitTransactionDtoV0 extends baseSubmitTransaction_dto_1.BaseSubmitTransactionDto {
|
|
21
|
+
}
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], SubmitTransactionDtoV0.prototype, "paymentRequestId", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsNumber)(),
|
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], SubmitTransactionDtoV0.prototype, "quantity", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], SubmitTransactionDtoV0.prototype, "time", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_transformer_1.Type)(() => customer_details_1.CustomerDetailsDto),
|
|
39
|
+
(0, class_validator_1.ValidateNested)(),
|
|
40
|
+
(0, class_validator_1.IsOptional)(),
|
|
41
|
+
__metadata("design:type", customer_details_1.CustomerDetailsDto)
|
|
42
|
+
], SubmitTransactionDtoV0.prototype, "customerDetails", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsNotEmptyObject)(),
|
|
45
|
+
(0, class_transformer_1.Type)(() => product_details_1.ProductDetailsDto),
|
|
46
|
+
(0, class_validator_1.ValidateNested)(),
|
|
47
|
+
(0, class_validator_1.IsOptional)(),
|
|
48
|
+
__metadata("design:type", product_details_1.ProductDetailsDto)
|
|
49
|
+
], SubmitTransactionDtoV0.prototype, "productDetails", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_validator_1.IsBoolean)(),
|
|
52
|
+
(0, class_validator_1.IsOptional)(),
|
|
53
|
+
__metadata("design:type", Boolean)
|
|
54
|
+
], SubmitTransactionDtoV0.prototype, "splitRevenue", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, class_transformer_1.Type)(() => split_wallets_1.SplitWalletDto),
|
|
57
|
+
(0, class_validator_1.ValidateNested)(),
|
|
58
|
+
(0, class_validator_1.IsOptional)(),
|
|
59
|
+
__metadata("design:type", Array)
|
|
60
|
+
], SubmitTransactionDtoV0.prototype, "splitWallets", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_transformer_1.Type)(() => fixed_currency_1.FixedCurrencyDto),
|
|
63
|
+
(0, class_validator_1.IsOptional)(),
|
|
64
|
+
__metadata("design:type", fixed_currency_1.FixedCurrencyDto)
|
|
65
|
+
], SubmitTransactionDtoV0.prototype, "fixedCurrency", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_validator_1.IsString)(),
|
|
68
|
+
(0, class_validator_1.IsOptional)(),
|
|
69
|
+
__metadata("design:type", String)
|
|
70
|
+
], SubmitTransactionDtoV0.prototype, "rateToken", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, class_validator_1.IsString)(),
|
|
73
|
+
(0, class_validator_1.IsOptional)(),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], SubmitTransactionDtoV0.prototype, "discountToken", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, class_validator_1.IsString)(),
|
|
78
|
+
(0, class_validator_1.IsOptional)(),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], SubmitTransactionDtoV0.prototype, "affiliateCode", void 0);
|
|
81
|
+
exports.SubmitTransactionDtoV0 = SubmitTransactionDtoV0;
|
|
82
|
+
//# sourceMappingURL=submitTransactionV0.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"submitTransactionV0.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/submit-transaction/dtos/submitTransactionV0.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,yDAAyC;AACzC,6DAA4D;AAC5D,2DAA0D;AAC1D,uDAAqD;AACrD,yDAAwD;AACxD,2EAAuE;AAEvE,MAAa,sBAAuB,SAAQ,oDAAwB;CAgDnE;AA/CC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACC;AAEd;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAkB,CAAC;IAC9B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACK,qCAAkB;+DAAC;AAErC;IAAC,IAAA,kCAAgB,GAAE;IAClB,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACI,mCAAiB;8DAAC;AAEnC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;4DACU;AAEvB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAc,CAAC;IAC1B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;;4DACmB;AAEhC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;8BACG,iCAAgB;6DAAC;AAEjC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACM;AAEnB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACU;AA/CzB,wDAgDC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { BaseUser } from './BaseUser.entity';
|
|
2
2
|
import type { BaseRole } from '../../role';
|
|
3
3
|
import type { BaseWallet } from '../../wallet';
|
|
4
|
+
import { BasePayoutWallet } from '../../payout-wallet';
|
|
4
5
|
export declare class ShallowEnrichedUser extends BaseUser {
|
|
5
6
|
roles: BaseRole[];
|
|
6
7
|
wallets: BaseWallet[];
|
|
8
|
+
payoutWallets: BasePayoutWallet[];
|
|
7
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShallowEnrichedUser.js","sourceRoot":"","sources":["../../../../../../src/domain/model/user/entities/ShallowEnrichedUser.ts"],"names":[],"mappings":";;;AAAA,uDAA6C;
|
|
1
|
+
{"version":3,"file":"ShallowEnrichedUser.js","sourceRoot":"","sources":["../../../../../../src/domain/model/user/entities/ShallowEnrichedUser.ts"],"names":[],"mappings":";;;AAAA,uDAA6C;AAK7C,MAAa,mBAAoB,SAAQ,0BAAQ;CAMhD;AAND,kDAMC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { Role } from '../../role';
|
|
2
2
|
import type { Wallet } from '../../wallet';
|
|
3
3
|
import { BaseUser } from './BaseUser.entity';
|
|
4
|
+
import { PayoutWallet } from '../../payout-wallet';
|
|
4
5
|
export declare class User extends BaseUser {
|
|
5
6
|
roles: Role[];
|
|
6
7
|
wallets: Wallet[];
|
|
8
|
+
payoutWallets: PayoutWallet[];
|
|
7
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../../../../src/domain/model/user/entities/User.ts"],"names":[],"mappings":";;;AAEA,uDAA6C;
|
|
1
|
+
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../../../../src/domain/model/user/entities/User.ts"],"names":[],"mappings":";;;AAEA,uDAA6C;AAG7C,MAAa,IAAK,SAAQ,0BAAQ;CAMjC;AAND,oBAMC"}
|
|
@@ -28,5 +28,4 @@ __exportStar(require("./ClusterService"), exports);
|
|
|
28
28
|
__exportStar(require("./AmountService"), exports);
|
|
29
29
|
__exportStar(require("./AddressService"), exports);
|
|
30
30
|
__exportStar(require("./PublicKeyService"), exports);
|
|
31
|
-
__exportStar(require("./SolanaSerializationService"), exports);
|
|
32
31
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,0DAAwC;AACxC,mDAAiC;AACjC,mDAAiC;AACjC,+CAA6B;AAC7B,iEAA+C;AAC/C,2DAAyC;AACzC,uDAAqC;AACrC,2DAAyC;AACzC,6DAA2C;AAC3C,mDAAiC;AACjC,kDAAgC;AAChC,mDAAiC;AACjC,qDAAmC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,0DAAwC;AACxC,mDAAiC;AACjC,mDAAiC;AACjC,+CAA6B;AAC7B,iEAA+C;AAC/C,2DAAyC;AACzC,uDAAqC;AACrC,2DAAyC;AACzC,6DAA2C;AAC3C,mDAAiC;AACjC,kDAAgC;AAChC,mDAAiC;AACjC,qDAAmC"}
|