@heliofi/common 0.2.251 → 0.2.252-alpha.1780490132
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/entities/ApiKeyAccess.d.ts +2 -1
- package/dist/src/domain/model/apiKey/entities/ApiKeyAccess.js +1 -0
- package/dist/src/domain/model/apiKey/entities/ApiKeyAccess.js.map +1 -1
- package/dist/src/domain/model/audit/explorer/constants/AuditLogChanges.d.ts +5 -0
- package/dist/src/domain/model/audit/explorer/constants/AuditLogChanges.js +3 -0
- package/dist/src/domain/model/audit/explorer/constants/AuditLogChanges.js.map +1 -0
- package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditAction.d.ts +77 -0
- package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditAction.js +82 -0
- package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditAction.js.map +1 -0
- package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditActionType.d.ts +6 -0
- package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditActionType.js +63 -0
- package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditActionType.js.map +1 -0
- package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditEntityType.d.ts +15 -0
- package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditEntityType.js +20 -0
- package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditEntityType.js.map +1 -0
- package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditStatus.d.ts +4 -0
- package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditStatus.js +9 -0
- package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditStatus.js.map +1 -0
- package/dist/src/domain/model/audit/explorer/constants/index.d.ts +5 -0
- package/dist/src/domain/model/audit/explorer/constants/index.js +22 -0
- package/dist/src/domain/model/audit/explorer/constants/index.js.map +1 -0
- package/dist/src/domain/model/audit/explorer/dtos/createExplorerAuditLog.dto.d.ts +15 -0
- package/dist/src/domain/model/audit/explorer/dtos/createExplorerAuditLog.dto.js +3 -0
- package/dist/src/domain/model/audit/explorer/dtos/createExplorerAuditLog.dto.js.map +1 -0
- package/dist/src/domain/model/audit/explorer/dtos/explorerAuditLogQuery.dto.d.ts +9 -0
- package/dist/src/domain/model/audit/explorer/dtos/explorerAuditLogQuery.dto.js +40 -0
- package/dist/src/domain/model/audit/explorer/dtos/explorerAuditLogQuery.dto.js.map +1 -0
- package/dist/src/domain/model/audit/explorer/dtos/index.d.ts +2 -0
- package/dist/src/domain/model/audit/explorer/dtos/index.js +19 -0
- package/dist/src/domain/model/audit/explorer/dtos/index.js.map +1 -0
- package/dist/src/domain/model/audit/explorer/entities/BaseExplorerAuditLog.entity.d.ts +20 -0
- package/dist/src/domain/model/audit/explorer/entities/BaseExplorerAuditLog.entity.js +8 -0
- package/dist/src/domain/model/audit/explorer/entities/BaseExplorerAuditLog.entity.js.map +1 -0
- package/dist/src/domain/model/audit/explorer/entities/ExplorerAuditLogPageResponse.entity.d.ts +7 -0
- package/dist/src/domain/model/audit/explorer/entities/ExplorerAuditLogPageResponse.entity.js +3 -0
- package/dist/src/domain/model/audit/explorer/entities/ExplorerAuditLogPageResponse.entity.js.map +1 -0
- package/dist/src/domain/model/audit/explorer/entities/index.d.ts +2 -0
- package/dist/src/domain/model/audit/explorer/entities/index.js +19 -0
- package/dist/src/domain/model/audit/explorer/entities/index.js.map +1 -0
- package/dist/src/domain/model/audit/explorer/index.d.ts +3 -0
- package/dist/src/domain/model/audit/explorer/index.js +20 -0
- package/dist/src/domain/model/audit/explorer/index.js.map +1 -0
- package/dist/src/domain/model/audit/index.d.ts +1 -0
- package/dist/src/domain/model/audit/index.js +1 -0
- package/dist/src/domain/model/audit/index.js.map +1 -1
- package/dist/src/domain/model/broadcast/broadcast.spec.d.ts +1 -0
- package/dist/src/domain/model/broadcast/broadcast.spec.js +153 -0
- package/dist/src/domain/model/broadcast/broadcast.spec.js.map +1 -0
- package/dist/src/domain/model/broadcast/constants/BroadcastErrorCode.d.ts +10 -0
- package/dist/src/domain/model/broadcast/constants/BroadcastErrorCode.js +15 -0
- package/dist/src/domain/model/broadcast/constants/BroadcastErrorCode.js.map +1 -0
- package/dist/src/domain/model/broadcast/constants/SignedTransactionKind.d.ts +5 -0
- package/dist/src/domain/model/broadcast/constants/SignedTransactionKind.js +10 -0
- package/dist/src/domain/model/broadcast/constants/SignedTransactionKind.js.map +1 -0
- package/dist/src/domain/model/broadcast/constants/index.d.ts +2 -0
- package/dist/src/domain/model/broadcast/constants/index.js +19 -0
- package/dist/src/domain/model/broadcast/constants/index.js.map +1 -0
- package/dist/src/domain/model/broadcast/entities/BroadcastResult.d.ts +16 -0
- package/dist/src/domain/model/broadcast/entities/BroadcastResult.js +3 -0
- package/dist/src/domain/model/broadcast/entities/BroadcastResult.js.map +1 -0
- package/dist/src/domain/model/broadcast/entities/SignedTransaction.d.ts +29 -0
- package/dist/src/domain/model/broadcast/entities/SignedTransaction.js +3 -0
- package/dist/src/domain/model/broadcast/entities/SignedTransaction.js.map +1 -0
- package/dist/src/domain/model/broadcast/entities/index.d.ts +2 -0
- package/dist/src/domain/model/broadcast/entities/index.js +19 -0
- package/dist/src/domain/model/broadcast/entities/index.js.map +1 -0
- package/dist/src/domain/model/broadcast/index.d.ts +2 -0
- package/dist/src/domain/model/broadcast/index.js +19 -0
- package/dist/src/domain/model/broadcast/index.js.map +1 -0
- package/dist/src/domain/model/deposit-below-minimum-notification/entities/DepositBelowMinimumNotification.entity.d.ts +15 -0
- package/dist/src/domain/model/deposit-below-minimum-notification/entities/DepositBelowMinimumNotification.entity.js +8 -0
- package/dist/src/domain/model/deposit-below-minimum-notification/entities/DepositBelowMinimumNotification.entity.js.map +1 -0
- package/dist/src/domain/model/deposit-below-minimum-notification/entities/index.d.ts +1 -0
- package/dist/src/domain/model/deposit-below-minimum-notification/entities/index.js +18 -0
- package/dist/src/domain/model/deposit-below-minimum-notification/entities/index.js.map +1 -0
- package/dist/src/domain/model/deposit-below-minimum-notification/index.d.ts +1 -0
- package/dist/src/domain/model/deposit-below-minimum-notification/index.js +18 -0
- package/dist/src/domain/model/deposit-below-minimum-notification/index.js.map +1 -0
- package/dist/src/domain/model/deposit-management/entities/SanctionedDepositDetail.entity.d.ts +1 -1
- package/dist/src/domain/model/deposit-management/entities/SanctionedDepositDetail.entity.js.map +1 -1
- package/dist/src/domain/model/index.d.ts +3 -0
- package/dist/src/domain/model/index.js +3 -0
- package/dist/src/domain/model/index.js.map +1 -1
- package/dist/src/domain/model/intercom-identity/entities/IntercomIdentityHash.entity.d.ts +3 -0
- package/dist/src/domain/model/intercom-identity/entities/IntercomIdentityHash.entity.js +7 -0
- package/dist/src/domain/model/intercom-identity/entities/IntercomIdentityHash.entity.js.map +1 -0
- package/dist/src/domain/model/intercom-identity/entities/index.d.ts +1 -0
- package/dist/src/domain/model/intercom-identity/entities/index.js +18 -0
- package/dist/src/domain/model/intercom-identity/entities/index.js.map +1 -0
- package/dist/src/domain/model/intercom-identity/index.d.ts +1 -0
- package/dist/src/domain/model/intercom-identity/index.js +18 -0
- package/dist/src/domain/model/intercom-identity/index.js.map +1 -0
- package/dist/src/domain/model/on-ramps/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/on-ramps/dtos/index.js +1 -0
- package/dist/src/domain/model/on-ramps/dtos/index.js.map +1 -1
- package/dist/src/domain/model/on-ramps/dtos/moonpayPlatformWebhookPayload.dto.d.ts +12 -0
- package/dist/src/domain/model/on-ramps/dtos/moonpayPlatformWebhookPayload.dto.js +44 -0
- package/dist/src/domain/model/on-ramps/dtos/moonpayPlatformWebhookPayload.dto.js.map +1 -0
- package/dist/src/domain/model/webhook/deposit/deposit-hook-event/entities/DepositHookEvent.entity.d.ts +2 -1
- package/dist/src/domain/model/webhook/deposit/deposit-hook-event/entities/DepositHookEvent.entity.js +1 -0
- package/dist/src/domain/model/webhook/deposit/deposit-hook-event/entities/DepositHookEvent.entity.js.map +1 -1
- package/dist/src/domain/model/withdraw/constants/WithdrawKind.d.ts +3 -0
- package/dist/src/domain/model/withdraw/constants/WithdrawKind.js +8 -0
- package/dist/src/domain/model/withdraw/constants/WithdrawKind.js.map +1 -0
- package/dist/src/domain/model/withdraw/constants/index.d.ts +1 -0
- package/dist/src/domain/model/withdraw/constants/index.js +1 -0
- package/dist/src/domain/model/withdraw/constants/index.js.map +1 -1
- package/dist/src/domain/model/withdraw/dtos/createWithdraw.dto.d.ts +2 -0
- package/dist/src/domain/model/withdraw/dtos/createWithdraw.dto.js +5 -0
- package/dist/src/domain/model/withdraw/dtos/createWithdraw.dto.js.map +1 -1
- package/dist/src/domain/model/withdraw/dtos/index.d.ts +7 -0
- package/dist/src/domain/model/withdraw/dtos/index.js +7 -0
- package/dist/src/domain/model/withdraw/dtos/index.js.map +1 -1
- package/dist/src/domain/model/withdraw/dtos/preparedWithdraw.dto.d.ts +8 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdraw.dto.js +44 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdraw.dto.js.map +1 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawCall.dto.d.ts +5 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawCall.dto.js +7 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawCall.dto.js.map +1 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawResponse.dto.d.ts +7 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawResponse.dto.js +7 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawResponse.dto.js.map +1 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawSummary.dto.d.ts +8 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawSummary.dto.js +7 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawSummary.dto.js.map +1 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedData.dto.d.ts +8 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedData.dto.js +7 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedData.dto.js.map +1 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedDataDomain.dto.d.ts +6 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedDataDomain.dto.js +7 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedDataDomain.dto.js.map +1 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedDataField.dto.d.ts +4 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedDataField.dto.js +7 -0
- package/dist/src/domain/model/withdraw/dtos/preparedWithdrawTypedDataField.dto.js.map +1 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawCostBreakdown.entity.d.ts +9 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawCostBreakdown.entity.js +7 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawCostBreakdown.entity.js.map +1 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawCustomerSwapRoute.entity.d.ts +7 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawCustomerSwapRoute.entity.js +7 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawCustomerSwapRoute.entity.js.map +1 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawCustomerSwapRoutesResponse.entity.d.ts +4 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawCustomerSwapRoutesResponse.entity.js +7 -0
- package/dist/src/domain/model/withdraw/entities/WithdrawCustomerSwapRoutesResponse.entity.js.map +1 -0
- package/dist/src/domain/model/withdraw/entities/index.d.ts +3 -0
- package/dist/src/domain/model/withdraw/entities/index.js +3 -0
- package/dist/src/domain/model/withdraw/entities/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum MoonPayPlatformWebhookEventType {
|
|
2
|
+
TRANSACTION_COMPLETED = "transaction_completed",
|
|
3
|
+
TRANSACTION_FAILED = "transaction_failed",
|
|
4
|
+
TRANSACTION_PENDING = "transaction_pending",
|
|
5
|
+
TRANSACTION_WAITING_PAYMENT = "transaction_waiting_payment"
|
|
6
|
+
}
|
|
7
|
+
export declare class MoonPayPlatformWebhookPayloadDto {
|
|
8
|
+
type: string;
|
|
9
|
+
data: Record<string, unknown>;
|
|
10
|
+
externalCustomerId?: string;
|
|
11
|
+
externalTransactionId?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.MoonPayPlatformWebhookPayloadDto = exports.MoonPayPlatformWebhookEventType = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
var MoonPayPlatformWebhookEventType;
|
|
15
|
+
(function (MoonPayPlatformWebhookEventType) {
|
|
16
|
+
MoonPayPlatformWebhookEventType["TRANSACTION_COMPLETED"] = "transaction_completed";
|
|
17
|
+
MoonPayPlatformWebhookEventType["TRANSACTION_FAILED"] = "transaction_failed";
|
|
18
|
+
MoonPayPlatformWebhookEventType["TRANSACTION_PENDING"] = "transaction_pending";
|
|
19
|
+
MoonPayPlatformWebhookEventType["TRANSACTION_WAITING_PAYMENT"] = "transaction_waiting_payment";
|
|
20
|
+
})(MoonPayPlatformWebhookEventType || (exports.MoonPayPlatformWebhookEventType = MoonPayPlatformWebhookEventType = {}));
|
|
21
|
+
class MoonPayPlatformWebhookPayloadDto {
|
|
22
|
+
}
|
|
23
|
+
exports.MoonPayPlatformWebhookPayloadDto = MoonPayPlatformWebhookPayloadDto;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], MoonPayPlatformWebhookPayloadDto.prototype, "type", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsObject)(),
|
|
31
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
32
|
+
__metadata("design:type", Object)
|
|
33
|
+
], MoonPayPlatformWebhookPayloadDto.prototype, "data", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
(0, class_validator_1.IsOptional)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], MoonPayPlatformWebhookPayloadDto.prototype, "externalCustomerId", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_1.IsString)(),
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], MoonPayPlatformWebhookPayloadDto.prototype, "externalTransactionId", void 0);
|
|
44
|
+
//# sourceMappingURL=moonpayPlatformWebhookPayload.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"moonpayPlatformWebhookPayload.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/on-ramps/dtos/moonpayPlatformWebhookPayload.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6E;AAM7E,IAAY,+BAKX;AALD,WAAY,+BAA+B;IACzC,kFAA+C,CAAA;IAC/C,4EAAyC,CAAA;IACzC,8EAA2C,CAAA;IAC3C,8FAA2D,CAAA;AAC7D,CAAC,EALW,+BAA+B,+CAA/B,+BAA+B,QAK1C;AAED,MAAa,gCAAgC;CAgB5C;AAhBD,4EAgBC;AAbC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8DACA;AAIb;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8DACiB;AAI9B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4EACe;AAI5B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+EACkB"}
|
|
@@ -5,5 +5,6 @@ export declare enum DepositHookEvent {
|
|
|
5
5
|
DEPOSIT_TX_ENRICHED = "DEPOSIT_TX_ENRICHED",
|
|
6
6
|
DEPOSIT_CUSTOMER_QUOTA_WARNING = "DEPOSIT_CUSTOMER_QUOTA_WARNING",
|
|
7
7
|
DEPOSIT_CUSTOMER_QUOTA_CRITICAL = "DEPOSIT_CUSTOMER_QUOTA_CRITICAL",
|
|
8
|
-
DEPOSIT_CUSTOMER_QUOTA_REACHED = "DEPOSIT_CUSTOMER_QUOTA_REACHED"
|
|
8
|
+
DEPOSIT_CUSTOMER_QUOTA_REACHED = "DEPOSIT_CUSTOMER_QUOTA_REACHED",
|
|
9
|
+
DEPOSIT_BELOW_MINIMUM = "DEPOSIT_BELOW_MINIMUM"
|
|
9
10
|
}
|
package/dist/src/domain/model/webhook/deposit/deposit-hook-event/entities/DepositHookEvent.entity.js
CHANGED
|
@@ -10,5 +10,6 @@ var DepositHookEvent;
|
|
|
10
10
|
DepositHookEvent["DEPOSIT_CUSTOMER_QUOTA_WARNING"] = "DEPOSIT_CUSTOMER_QUOTA_WARNING";
|
|
11
11
|
DepositHookEvent["DEPOSIT_CUSTOMER_QUOTA_CRITICAL"] = "DEPOSIT_CUSTOMER_QUOTA_CRITICAL";
|
|
12
12
|
DepositHookEvent["DEPOSIT_CUSTOMER_QUOTA_REACHED"] = "DEPOSIT_CUSTOMER_QUOTA_REACHED";
|
|
13
|
+
DepositHookEvent["DEPOSIT_BELOW_MINIMUM"] = "DEPOSIT_BELOW_MINIMUM";
|
|
13
14
|
})(DepositHookEvent || (exports.DepositHookEvent = DepositHookEvent = {}));
|
|
14
15
|
//# sourceMappingURL=DepositHookEvent.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DepositHookEvent.entity.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/deposit/deposit-hook-event/entities/DepositHookEvent.entity.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"DepositHookEvent.entity.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/deposit/deposit-hook-event/entities/DepositHookEvent.entity.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBASX;AATD,WAAY,gBAAgB;IAC1B,+BAAW,CAAA;IACX,iEAA6C,CAAA;IAC7C,iEAA6C,CAAA;IAC7C,+DAA2C,CAAA;IAC3C,qFAAiE,CAAA;IACjE,uFAAmE,CAAA;IACnE,qFAAiE,CAAA;IACjE,mEAA+C,CAAA;AACjD,CAAC,EATW,gBAAgB,gCAAhB,gBAAgB,QAS3B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WithdrawKind = void 0;
|
|
4
|
+
var WithdrawKind;
|
|
5
|
+
(function (WithdrawKind) {
|
|
6
|
+
WithdrawKind["POLYMARKET"] = "polymarket";
|
|
7
|
+
})(WithdrawKind || (exports.WithdrawKind = WithdrawKind = {}));
|
|
8
|
+
//# sourceMappingURL=WithdrawKind.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WithdrawKind.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/constants/WithdrawKind.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAEX;AAFD,WAAY,YAAY;IACtB,yCAAyB,CAAA;AAC3B,CAAC,EAFW,YAAY,4BAAZ,YAAY,QAEvB"}
|
|
@@ -21,4 +21,5 @@ __exportStar(require("./WithdrawFeature"), exports);
|
|
|
21
21
|
__exportStar(require("./WithdrawState"), exports);
|
|
22
22
|
__exportStar(require("./WithdrawTransactionDirection"), exports);
|
|
23
23
|
__exportStar(require("./WithdrawTransactionStatus"), exports);
|
|
24
|
+
__exportStar(require("./WithdrawKind"), exports);
|
|
24
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,oDAAkC;AAClC,qDAAmC;AACnC,oDAAkC;AAClC,kDAAgC;AAChC,iEAA+C;AAC/C,8DAA4C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,oDAAkC;AAClC,qDAAmC;AACnC,oDAAkC;AAClC,kDAAgC;AAChC,iEAA+C;AAC/C,8DAA4C;AAC5C,iDAA+B"}
|
|
@@ -11,10 +11,15 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CreateWithdrawDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
+
const WithdrawKind_1 = require("../constants/WithdrawKind");
|
|
14
15
|
const baseWithdraw_dto_1 = require("./baseWithdraw.dto");
|
|
15
16
|
class CreateWithdrawDto extends baseWithdraw_dto_1.BaseWithdrawDto {
|
|
16
17
|
}
|
|
17
18
|
exports.CreateWithdrawDto = CreateWithdrawDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsEnum)(WithdrawKind_1.WithdrawKind),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], CreateWithdrawDto.prototype, "kind", void 0);
|
|
18
23
|
__decorate([
|
|
19
24
|
(0, class_validator_1.IsString)(),
|
|
20
25
|
(0, class_validator_1.IsNotEmpty)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createWithdraw.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/createWithdraw.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"createWithdraw.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/createWithdraw.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,4DAAyD;AACzD,yDAAqD;AAErD,MAAa,iBAAkB,SAAQ,kCAAe;CAarD;AAbD,8CAaC;AAXC;IADC,IAAA,wBAAM,EAAC,2BAAY,CAAC;;+CACF;AAKnB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;+CACF;AAKb;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,8BAAY,EAAC,CAAC,CAAC;;sDACM"}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
export * from './baseWithdraw.dto';
|
|
2
2
|
export * from './createWithdraw.dto';
|
|
3
|
+
export * from './preparedWithdraw.dto';
|
|
4
|
+
export * from './preparedWithdrawCall.dto';
|
|
5
|
+
export * from './preparedWithdrawResponse.dto';
|
|
6
|
+
export * from './preparedWithdrawSummary.dto';
|
|
7
|
+
export * from './preparedWithdrawTypedData.dto';
|
|
8
|
+
export * from './preparedWithdrawTypedDataDomain.dto';
|
|
9
|
+
export * from './preparedWithdrawTypedDataField.dto';
|
|
3
10
|
export * from './updateWithdraw.dto';
|
|
@@ -16,5 +16,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./baseWithdraw.dto"), exports);
|
|
18
18
|
__exportStar(require("./createWithdraw.dto"), exports);
|
|
19
|
+
__exportStar(require("./preparedWithdraw.dto"), exports);
|
|
20
|
+
__exportStar(require("./preparedWithdrawCall.dto"), exports);
|
|
21
|
+
__exportStar(require("./preparedWithdrawResponse.dto"), exports);
|
|
22
|
+
__exportStar(require("./preparedWithdrawSummary.dto"), exports);
|
|
23
|
+
__exportStar(require("./preparedWithdrawTypedData.dto"), exports);
|
|
24
|
+
__exportStar(require("./preparedWithdrawTypedDataDomain.dto"), exports);
|
|
25
|
+
__exportStar(require("./preparedWithdrawTypedDataField.dto"), exports);
|
|
19
26
|
__exportStar(require("./updateWithdraw.dto"), exports);
|
|
20
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,uDAAqC;AACrC,uDAAqC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,uDAAqC;AACrC,yDAAuC;AACvC,6DAA2C;AAC3C,iEAA+C;AAC/C,gEAA8C;AAC9C,kEAAgD;AAChD,wEAAsD;AACtD,uEAAqD;AACrD,uDAAqC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.PreparedWithdrawDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class PreparedWithdrawDto {
|
|
15
|
+
}
|
|
16
|
+
exports.PreparedWithdrawDto = PreparedWithdrawDto;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsEthereumAddress)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], PreparedWithdrawDto.prototype, "eoa", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsEthereumAddress)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], PreparedWithdrawDto.prototype, "depositWallet", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsString)(),
|
|
27
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], PreparedWithdrawDto.prototype, "recipient", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.Matches)(/^\d+$/),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], PreparedWithdrawDto.prototype, "amount", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsInt)(),
|
|
36
|
+
(0, class_validator_1.IsPositive)(),
|
|
37
|
+
__metadata("design:type", Number)
|
|
38
|
+
], PreparedWithdrawDto.prototype, "dstChainId", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_1.IsString)(),
|
|
41
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], PreparedWithdrawDto.prototype, "dstToken", void 0);
|
|
44
|
+
//# sourceMappingURL=preparedWithdraw.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preparedWithdraw.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdraw.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AAEzB,MAAa,mBAAmB;CA+B/B;AA/BD,kDA+BC;AA3BC;IADC,IAAA,mCAAiB,GAAE;;gDACR;AAKZ;IADC,IAAA,mCAAiB,GAAE;;0DACE;AAOtB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACK;AAKlB;IADC,IAAA,yBAAO,EAAC,OAAO,CAAC;;mDACF;AAIf;IAFC,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;uDACM;AAKnB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACI"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PreparedWithdrawCallDto = void 0;
|
|
4
|
+
class PreparedWithdrawCallDto {
|
|
5
|
+
}
|
|
6
|
+
exports.PreparedWithdrawCallDto = PreparedWithdrawCallDto;
|
|
7
|
+
//# sourceMappingURL=preparedWithdrawCall.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preparedWithdrawCall.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawCall.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,uBAAuB;CAMnC;AAND,0DAMC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PreparedWithdrawSummaryDto } from './preparedWithdrawSummary.dto';
|
|
2
|
+
import { PreparedWithdrawTypedDataDto } from './preparedWithdrawTypedData.dto';
|
|
3
|
+
export declare class PreparedWithdrawResponseDto {
|
|
4
|
+
token: string;
|
|
5
|
+
typedData: PreparedWithdrawTypedDataDto;
|
|
6
|
+
summary: PreparedWithdrawSummaryDto;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PreparedWithdrawResponseDto = void 0;
|
|
4
|
+
class PreparedWithdrawResponseDto {
|
|
5
|
+
}
|
|
6
|
+
exports.PreparedWithdrawResponseDto = PreparedWithdrawResponseDto;
|
|
7
|
+
//# sourceMappingURL=preparedWithdrawResponse.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preparedWithdrawResponse.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawResponse.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,2BAA2B;CAMvC;AAND,kEAMC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PreparedWithdrawSummaryDto = void 0;
|
|
4
|
+
class PreparedWithdrawSummaryDto {
|
|
5
|
+
}
|
|
6
|
+
exports.PreparedWithdrawSummaryDto = PreparedWithdrawSummaryDto;
|
|
7
|
+
//# sourceMappingURL=preparedWithdrawSummary.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preparedWithdrawSummary.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawSummary.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,0BAA0B;CAYtC;AAZD,gEAYC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PreparedWithdrawTypedDataDomainDto } from './preparedWithdrawTypedDataDomain.dto';
|
|
2
|
+
import { PreparedWithdrawTypedDataFieldDto } from './preparedWithdrawTypedDataField.dto';
|
|
3
|
+
export declare class PreparedWithdrawTypedDataDto {
|
|
4
|
+
domain: PreparedWithdrawTypedDataDomainDto;
|
|
5
|
+
types: Record<string, PreparedWithdrawTypedDataFieldDto[]>;
|
|
6
|
+
primaryType: string;
|
|
7
|
+
message: Record<string, unknown>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PreparedWithdrawTypedDataDto = void 0;
|
|
4
|
+
class PreparedWithdrawTypedDataDto {
|
|
5
|
+
}
|
|
6
|
+
exports.PreparedWithdrawTypedDataDto = PreparedWithdrawTypedDataDto;
|
|
7
|
+
//# sourceMappingURL=preparedWithdrawTypedData.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preparedWithdrawTypedData.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawTypedData.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,4BAA4B;CAQxC;AARD,oEAQC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PreparedWithdrawTypedDataDomainDto = void 0;
|
|
4
|
+
class PreparedWithdrawTypedDataDomainDto {
|
|
5
|
+
}
|
|
6
|
+
exports.PreparedWithdrawTypedDataDomainDto = PreparedWithdrawTypedDataDomainDto;
|
|
7
|
+
//# sourceMappingURL=preparedWithdrawTypedDataDomain.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preparedWithdrawTypedDataDomain.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawTypedDataDomain.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,kCAAkC;CAQ9C;AARD,gFAQC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PreparedWithdrawTypedDataFieldDto = void 0;
|
|
4
|
+
class PreparedWithdrawTypedDataFieldDto {
|
|
5
|
+
}
|
|
6
|
+
exports.PreparedWithdrawTypedDataFieldDto = PreparedWithdrawTypedDataFieldDto;
|
|
7
|
+
//# sourceMappingURL=preparedWithdrawTypedDataField.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preparedWithdrawTypedDataField.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawTypedDataField.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,iCAAiC;CAI7C;AAJD,8EAIC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WithdrawCostBreakdown = void 0;
|
|
4
|
+
class WithdrawCostBreakdown {
|
|
5
|
+
}
|
|
6
|
+
exports.WithdrawCostBreakdown = WithdrawCostBreakdown;
|
|
7
|
+
//# sourceMappingURL=WithdrawCostBreakdown.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WithdrawCostBreakdown.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/WithdrawCostBreakdown.entity.ts"],"names":[],"mappings":";;;AAAA,MAAa,qBAAqB;CAcjC;AAdD,sDAcC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WithdrawCustomerSwapRoute = void 0;
|
|
4
|
+
class WithdrawCustomerSwapRoute {
|
|
5
|
+
}
|
|
6
|
+
exports.WithdrawCustomerSwapRoute = WithdrawCustomerSwapRoute;
|
|
7
|
+
//# sourceMappingURL=WithdrawCustomerSwapRoute.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WithdrawCustomerSwapRoute.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/WithdrawCustomerSwapRoute.entity.ts"],"names":[],"mappings":";;;AAYA,MAAa,yBAAyB;CAQrC;AARD,8DAQC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WithdrawCustomerSwapRoutesResponse = void 0;
|
|
4
|
+
class WithdrawCustomerSwapRoutesResponse {
|
|
5
|
+
}
|
|
6
|
+
exports.WithdrawCustomerSwapRoutesResponse = WithdrawCustomerSwapRoutesResponse;
|
|
7
|
+
//# sourceMappingURL=WithdrawCustomerSwapRoutesResponse.entity.js.map
|
package/dist/src/domain/model/withdraw/entities/WithdrawCustomerSwapRoutesResponse.entity.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WithdrawCustomerSwapRoutesResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/WithdrawCustomerSwapRoutesResponse.entity.ts"],"names":[],"mappings":";;;AAMA,MAAa,kCAAkC;CAE9C;AAFD,gFAEC"}
|
|
@@ -15,4 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./Withdraw.entity"), exports);
|
|
18
|
+
__exportStar(require("./WithdrawCostBreakdown.entity"), exports);
|
|
19
|
+
__exportStar(require("./WithdrawCustomerSwapRoute.entity"), exports);
|
|
20
|
+
__exportStar(require("./WithdrawCustomerSwapRoutesResponse.entity"), exports);
|
|
18
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,iEAA+C;AAC/C,qEAAmD;AACnD,8EAA4D"}
|