@explorins/pers-shared 2.1.98 → 2.1.100
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/cjs/shared-lib/dto/user-status-type.dto.d.ts +1 -0
- package/dist/cjs/shared-lib/dto/user-status-type.dto.d.ts.map +1 -1
- package/dist/cjs/shared-lib/dto/user-status-type.dto.js +10 -0
- package/dist/cjs/shared-lib/dto/user-status-type.dto.js.map +1 -1
- package/dist/esm/browser.js +2 -2
- package/dist/esm/index.js +5 -5
- package/dist/esm/shared-lib/decorators/index.js +1 -1
- package/dist/esm/shared-lib/dto/account-selector.dto.js +2 -2
- package/dist/esm/shared-lib/dto/account-token-balances.dto.js +1 -1
- package/dist/esm/shared-lib/dto/admin/admin-create.request.dto.js +2 -2
- package/dist/esm/shared-lib/dto/admin/admin.dto.js +2 -2
- package/dist/esm/shared-lib/dto/admin/index.js +2 -2
- package/dist/esm/shared-lib/dto/ai/ai-generation-log.dto.js +2 -2
- package/dist/esm/shared-lib/dto/ai/ai-prompt-config.dto.js +1 -1
- package/dist/esm/shared-lib/dto/ai/index.js +2 -2
- package/dist/esm/shared-lib/dto/analytics/ai-analytics.dto.js +4 -4
- package/dist/esm/shared-lib/dto/analytics/base-analytics.dto.js +1 -1
- package/dist/esm/shared-lib/dto/analytics/business-ranking-analytics.dto.js +3 -3
- package/dist/esm/shared-lib/dto/analytics/campaign-claim-analytics-request.dto.js +5 -5
- package/dist/esm/shared-lib/dto/analytics/campaign-claim-analytics.dto.js +5 -5
- package/dist/esm/shared-lib/dto/analytics/group-by-expression.dto.js +2 -2
- package/dist/esm/shared-lib/dto/analytics/index.js +9 -9
- package/dist/esm/shared-lib/dto/analytics/retention-analytics.dto.js +3 -3
- package/dist/esm/shared-lib/dto/analytics/transaction-analytics.request.dto.js +6 -6
- package/dist/esm/shared-lib/dto/analytics/user-analytics.dto.js +1 -1
- package/dist/esm/shared-lib/dto/analytics/user-ranking-analytics.dto.js +3 -3
- package/dist/esm/shared-lib/dto/api-key/api-key-verification.dto.js +1 -1
- package/dist/esm/shared-lib/dto/api-key/api-key.dto.js +1 -1
- package/dist/esm/shared-lib/dto/api-key/index.js +3 -3
- package/dist/esm/shared-lib/dto/auth/auth.dto.js +5 -5
- package/dist/esm/shared-lib/dto/auth/index.js +2 -2
- package/dist/esm/shared-lib/dto/business/business-create.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/business/business-membership.dto.js +4 -4
- package/dist/esm/shared-lib/dto/business/business-type.dto.js +1 -1
- package/dist/esm/shared-lib/dto/business/business-update.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/business/business.dto.js +3 -3
- package/dist/esm/shared-lib/dto/business/businessToggleActive.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/business/businessTypeCreate.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/business/index.js +8 -8
- package/dist/esm/shared-lib/dto/campaign/campaign-business-engagement.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/campaign/campaign.dto.js +5 -5
- package/dist/esm/shared-lib/dto/campaign/campaignClaim.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/campaign/campaignCreate.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/campaign/campaignTrigger.dto.js +4 -4
- package/dist/esm/shared-lib/dto/campaign/campaignTriggerCondition.dto.js +1 -1
- package/dist/esm/shared-lib/dto/campaign/campaignUpdate.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/campaign/campaignUserClaim.dto.js +6 -6
- package/dist/esm/shared-lib/dto/campaign/trigger-source.dto.js +2 -2
- package/dist/esm/shared-lib/dto/error-response.dto.js +2 -2
- package/dist/esm/shared-lib/dto/file/entity-storage-url.dto.js +3 -3
- package/dist/esm/shared-lib/dto/file/index.js +2 -2
- package/dist/esm/shared-lib/dto/index.js +36 -36
- package/dist/esm/shared-lib/dto/pagination/index.js +2 -2
- package/dist/esm/shared-lib/dto/pagination/pagination.request.dto.js +2 -2
- package/dist/esm/shared-lib/dto/purchase/index.js +9 -9
- package/dist/esm/shared-lib/dto/purchase/purchase.dto.js +1 -1
- package/dist/esm/shared-lib/dto/purchase/purchaseCreate.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/purchase/purchaseCreate.response.dto.js +1 -1
- package/dist/esm/shared-lib/dto/purchase/purchaseTokenUpdate.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/purchase/purchaseType.dto.js +1 -1
- package/dist/esm/shared-lib/dto/redemption/index.js +5 -5
- package/dist/esm/shared-lib/dto/redemption/redemption.dto.js +4 -4
- package/dist/esm/shared-lib/dto/redemption/redemptionCreate.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/redemption/redemptionRedeem.dto.js +5 -5
- package/dist/esm/shared-lib/dto/redemption/redemptionRedeem.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/redemption/redemptionType.dto.js +1 -1
- package/dist/esm/shared-lib/dto/signing-account/create-signing-account-request.dto.js +4 -4
- package/dist/esm/shared-lib/dto/signing-account/index.js +5 -5
- package/dist/esm/shared-lib/dto/signing-account/signing-account.dto.js +1 -1
- package/dist/esm/shared-lib/dto/signing-account/update-signing-account.dto.js +1 -1
- package/dist/esm/shared-lib/dto/tenant/index.js +4 -4
- package/dist/esm/shared-lib/dto/tenant/tenant.dto.js +1 -1
- package/dist/esm/shared-lib/dto/tenant/tenantUpdate.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/token/index.js +7 -7
- package/dist/esm/shared-lib/dto/token/token-balance.dto.js +1 -1
- package/dist/esm/shared-lib/dto/token/token-metadata.dto.js +3 -3
- package/dist/esm/shared-lib/dto/token/token-selector.dto.js +1 -1
- package/dist/esm/shared-lib/dto/token/token-type.dto.js +2 -2
- package/dist/esm/shared-lib/dto/token/token-unit.dto.js +2 -2
- package/dist/esm/shared-lib/dto/token/token.dto.js +2 -2
- package/dist/esm/shared-lib/dto/token/token.request.dto.js +2 -2
- package/dist/esm/shared-lib/dto/transaction/index.js +8 -8
- package/dist/esm/shared-lib/dto/transaction/transaction-bulk-data.request.dto.js +2 -2
- package/dist/esm/shared-lib/dto/transaction/transaction-pagination.request.dto.js +4 -4
- package/dist/esm/shared-lib/dto/transaction/transaction-trigger-process.dto.js +1 -1
- package/dist/esm/shared-lib/dto/transaction/transaction.dto.js +6 -6
- package/dist/esm/shared-lib/dto/transaction/transaction.request.dto.js +9 -9
- package/dist/esm/shared-lib/dto/user/index.js +3 -3
- package/dist/esm/shared-lib/dto/user/user.dto.js +3 -3
- package/dist/esm/shared-lib/dto/user/user.request.dto.js +1 -1
- package/dist/esm/shared-lib/dto/user/userUploadData.dto.js +1 -1
- package/dist/esm/shared-lib/dto/user-status-type.dto.d.ts +1 -0
- package/dist/esm/shared-lib/dto/user-status-type.dto.d.ts.map +1 -1
- package/dist/esm/shared-lib/dto/user-status-type.dto.js +10 -1
- package/dist/esm/shared-lib/dto/user-status-type.dto.js.map +1 -1
- package/dist/esm/shared-lib/dto/wallet.dto.js +2 -2
- package/dist/esm/shared-lib/dto/web3-contract.dto.js +3 -3
- package/dist/esm/shared-lib/enum/campaign/index.js +3 -3
- package/dist/esm/shared-lib/enum/index.js +28 -28
- package/dist/esm/shared-lib/enum/purchase/index.js +2 -2
- package/dist/esm/shared-lib/errors/base-business-error.js +1 -1
- package/dist/esm/shared-lib/errors/domains/authentication-errors.js +3 -3
- package/dist/esm/shared-lib/errors/domains/balance-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/business-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/campaign-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/contract-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/signing-account-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/system-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/tenant-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/token-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/transaction-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/trigger-source-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/user-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/validation-errors.js +2 -2
- package/dist/esm/shared-lib/errors/domains/wallet-errors.js +2 -2
- package/dist/esm/shared-lib/errors/index.js +18 -18
- package/dist/esm/shared-lib/errors/technical-errors.js +2 -2
- package/dist/esm/shared-lib/interfaces/campaign/index.js +1 -1
- package/dist/esm/shared-lib/interfaces/index.js +21 -21
- package/dist/esm/shared-lib/types/index.js +15 -15
- package/dist/esm/shared-lib/value-objects/account-selector.vo.js +3 -3
- package/dist/esm/shared-lib/value-objects/address.value-object.js +1 -1
- package/dist/esm/shared-lib/value-objects/index.js +8 -8
- package/dist/esm/shared-lib/value-objects/token-balance.value-object.js +1 -1
- package/dist/esm/shared-lib/value-objects/token-transaction-entity-reference-input.vo.js +2 -2
- package/dist/esm/shared-lib/value-objects/token-transaction-input.vo.js +2 -2
- package/dist/esm/shared-patterns/errors/error-factory.js +13 -13
- package/dist/esm/shared-patterns/functions/helper.functions.js +2 -2
- package/package.json +1 -1
|
@@ -5,12 +5,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional, getSchemaPath } from "@nestjs/swagger";
|
|
8
|
-
import { UserDTO } from "../user/user.dto";
|
|
9
|
-
import { BusinessDTO } from "../business/business.dto";
|
|
10
|
-
import { CampaignDTO } from "./campaign.dto";
|
|
11
|
-
import { TransactionDTO } from "../transaction/transaction.dto";
|
|
12
|
-
import { TriggerSourceDTO } from "./trigger-source.dto";
|
|
13
|
-
import { ProcessRecordStatus } from "../../enum";
|
|
8
|
+
import { UserDTO } from "../user/user.dto.js";
|
|
9
|
+
import { BusinessDTO } from "../business/business.dto.js";
|
|
10
|
+
import { CampaignDTO } from "./campaign.dto.js";
|
|
11
|
+
import { TransactionDTO } from "../transaction/transaction.dto.js";
|
|
12
|
+
import { TriggerSourceDTO } from "./trigger-source.dto.js";
|
|
13
|
+
import { ProcessRecordStatus } from "../../enum/index.js";
|
|
14
14
|
export class CampaignClaimDTO {
|
|
15
15
|
id = '';
|
|
16
16
|
createdAt = null;
|
|
@@ -6,8 +6,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
8
|
import { IsNotEmpty, IsEnum, IsString, IsObject, IsUUID, IsNumber } from 'class-validator';
|
|
9
|
-
import { TRIGGER_SOURCE_TYPES, TRIGGER_SOURCE_TYPE_VALUES } from "../../enum/campaign/trigger-source-type.enum";
|
|
10
|
-
import { OptionalNullify, OptionalNullifyNumber, OptionalStrip } from '../../decorators';
|
|
9
|
+
import { TRIGGER_SOURCE_TYPES, TRIGGER_SOURCE_TYPE_VALUES } from "../../enum/campaign/trigger-source-type.enum.js";
|
|
10
|
+
import { OptionalNullify, OptionalNullifyNumber, OptionalStrip } from '../../decorators/index.js';
|
|
11
11
|
const LOCATION_DESCRIPTION = `Geographic coordinates for location-based trigger validation.
|
|
12
12
|
|
|
13
13
|
**Universal Location Support:** ANY trigger type can use proximity validation (GPS_GEOFENCE, QR_CODE, NFC_TAG, API_WEBHOOK, TRANSACTION).
|
|
@@ -5,8 +5,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty } from "@nestjs/swagger";
|
|
8
|
-
import { ErrorCategory } from "../errors/base/error-classification-enums";
|
|
9
|
-
import { CommonErrorCodes } from "../errors/error-codes";
|
|
8
|
+
import { ErrorCategory } from "../errors/base/error-classification-enums.js";
|
|
9
|
+
import { CommonErrorCodes } from "../errors/error-codes.js";
|
|
10
10
|
/**
|
|
11
11
|
* Error details object for API responses
|
|
12
12
|
*
|
|
@@ -6,9 +6,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { IsNotEmpty, IsEnum, IsString } from 'class-validator';
|
|
8
8
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
9
|
-
import { FileUploadEntityType } from '../../enum/file-upload-entity-type.enum';
|
|
10
|
-
import { SignedUrlType } from '../../enum/signed-url-type.enum';
|
|
11
|
-
import { OptionalStrip } from '../../decorators';
|
|
9
|
+
import { FileUploadEntityType } from '../../enum/file-upload-entity-type.enum.js';
|
|
10
|
+
import { SignedUrlType } from '../../enum/signed-url-type.enum.js';
|
|
11
|
+
import { OptionalStrip } from '../../decorators/index.js';
|
|
12
12
|
export class EntityStorageUrlDTO {
|
|
13
13
|
entityType;
|
|
14
14
|
entityId;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './entity-storage-url.dto';
|
|
2
|
-
export * from './create-signed-url-response.dto';
|
|
1
|
+
export * from './entity-storage-url.dto.js';
|
|
2
|
+
export * from './create-signed-url-response.dto.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
// DTOs Barrel - Auto-exports all DTOs
|
|
2
2
|
// This file automatically exports all DTOs so we don't need to maintain manual lists
|
|
3
3
|
// AI DTOs
|
|
4
|
-
export * from './ai';
|
|
4
|
+
export * from './ai/index.js';
|
|
5
5
|
// Analytics DTOs
|
|
6
|
-
export * from './analytics';
|
|
6
|
+
export * from './analytics/index.js';
|
|
7
7
|
// Auth DTOs
|
|
8
|
-
export * from './auth';
|
|
8
|
+
export * from './auth/index.js';
|
|
9
9
|
// Business DTOs
|
|
10
|
-
export * from './business';
|
|
11
|
-
export * from './file';
|
|
10
|
+
export * from './business/index.js';
|
|
11
|
+
export * from './file/index.js';
|
|
12
12
|
// Core DTOs
|
|
13
|
-
export * from './tenant';
|
|
14
|
-
export * from './user';
|
|
15
|
-
export * from './user/user.request.dto';
|
|
16
|
-
export * from './user-status-type.dto';
|
|
17
|
-
export * from './analytics/user-analytics.dto';
|
|
13
|
+
export * from './tenant/index.js';
|
|
14
|
+
export * from './user/index.js';
|
|
15
|
+
export * from './user/user.request.dto.js';
|
|
16
|
+
export * from './user-status-type.dto.js';
|
|
17
|
+
export * from './analytics/user-analytics.dto.js';
|
|
18
18
|
// Error Response DTOs
|
|
19
|
-
export * from './error-response.dto';
|
|
20
|
-
export * from './account-token-balances.dto';
|
|
21
|
-
export * from './web3-contract.dto';
|
|
22
|
-
export * from './url.request.dto';
|
|
23
|
-
export * from './tag.dto';
|
|
24
|
-
export * from './wallet.dto';
|
|
19
|
+
export * from './error-response.dto.js';
|
|
20
|
+
export * from './account-token-balances.dto.js';
|
|
21
|
+
export * from './web3-contract.dto.js';
|
|
22
|
+
export * from './url.request.dto.js';
|
|
23
|
+
export * from './tag.dto.js';
|
|
24
|
+
export * from './wallet.dto.js';
|
|
25
25
|
// Token DTOs
|
|
26
|
-
export * from './token';
|
|
26
|
+
export * from './token/index.js';
|
|
27
27
|
// Transaction DTOs
|
|
28
|
-
export * from './transaction';
|
|
28
|
+
export * from './transaction/index.js';
|
|
29
29
|
// Purchase DTOs
|
|
30
|
-
export * from './purchase';
|
|
30
|
+
export * from './purchase/index.js';
|
|
31
31
|
// Redemption DTOs
|
|
32
|
-
export * from './redemption';
|
|
33
|
-
export * from './api-key';
|
|
32
|
+
export * from './redemption/index.js';
|
|
33
|
+
export * from './api-key/index.js';
|
|
34
34
|
// Campaign DTOs
|
|
35
|
-
export * from './campaign/campaign.dto';
|
|
36
|
-
export * from './campaign/campaignCreate.request.dto';
|
|
37
|
-
export * from './campaign/campaignUpdate.request.dto';
|
|
38
|
-
export * from './campaign/campaignClaim.request.dto';
|
|
39
|
-
export * from './campaign/campaignTrigger.dto';
|
|
40
|
-
export * from './campaign/campaignTriggerCondition.dto';
|
|
41
|
-
export * from './campaign/campaignUserClaim.dto';
|
|
42
|
-
export * from './campaign/campaign-business-engagement.request.dto';
|
|
43
|
-
export * from './campaign/campaign-business-engagement.dto';
|
|
44
|
-
export * from './campaign/trigger-source.dto';
|
|
35
|
+
export * from './campaign/campaign.dto.js';
|
|
36
|
+
export * from './campaign/campaignCreate.request.dto.js';
|
|
37
|
+
export * from './campaign/campaignUpdate.request.dto.js';
|
|
38
|
+
export * from './campaign/campaignClaim.request.dto.js';
|
|
39
|
+
export * from './campaign/campaignTrigger.dto.js';
|
|
40
|
+
export * from './campaign/campaignTriggerCondition.dto.js';
|
|
41
|
+
export * from './campaign/campaignUserClaim.dto.js';
|
|
42
|
+
export * from './campaign/campaign-business-engagement.request.dto.js';
|
|
43
|
+
export * from './campaign/campaign-business-engagement.dto.js';
|
|
44
|
+
export * from './campaign/trigger-source.dto.js';
|
|
45
45
|
// Signing Account DTOs
|
|
46
|
-
export * from './signing-account';
|
|
46
|
+
export * from './signing-account/index.js';
|
|
47
47
|
// Account Selector
|
|
48
|
-
export * from './account-selector.dto';
|
|
48
|
+
export * from './account-selector.dto.js';
|
|
49
49
|
// Pagination
|
|
50
|
-
export * from './pagination';
|
|
51
|
-
export * from './item-supply.dto';
|
|
50
|
+
export * from './pagination/index.js';
|
|
51
|
+
export * from './item-supply.dto.js';
|
|
52
52
|
// Admin DTOs
|
|
53
|
-
export * from './admin';
|
|
53
|
+
export * from './admin/index.js';
|
|
54
54
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './pagination.response.dto';
|
|
2
|
-
export * from './pagination.request.dto';
|
|
1
|
+
export * from './pagination.response.dto.js';
|
|
2
|
+
export * from './pagination.request.dto.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -7,8 +7,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { ApiPropertyOptional } from '@nestjs/swagger';
|
|
8
8
|
import { Type } from 'class-transformer';
|
|
9
9
|
import { IsInt, Min, Max, IsEnum, IsDateString } from 'class-validator';
|
|
10
|
-
import { SortOrder } from '../../enum/sort-order.enum';
|
|
11
|
-
import { OptionalStrip, OptionalStripNumber } from '../../decorators';
|
|
10
|
+
import { SortOrder } from '../../enum/sort-order.enum.js';
|
|
11
|
+
import { OptionalStrip, OptionalStripNumber } from '../../decorators/index.js';
|
|
12
12
|
/**
|
|
13
13
|
* ✅ GENERIC: Base pagination DTO for HTTP requests
|
|
14
14
|
* Implements common pagination validation and documentation
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from './donationType.dto';
|
|
2
|
-
export * from './purchase.dto';
|
|
3
|
-
export * from './purchaseCreate.request.dto';
|
|
4
|
-
export * from './purchaseCreate.response.dto';
|
|
5
|
-
export * from './purchaseToken.dto';
|
|
6
|
-
export * from './purchaseTokenCreate.request.dto';
|
|
7
|
-
export * from './purchaseTokenUpdate.request.dto';
|
|
8
|
-
export * from './purchaseType.dto';
|
|
9
|
-
export * from './payment-intent.dto';
|
|
1
|
+
export * from './donationType.dto.js';
|
|
2
|
+
export * from './purchase.dto.js';
|
|
3
|
+
export * from './purchaseCreate.request.dto.js';
|
|
4
|
+
export * from './purchaseCreate.response.dto.js';
|
|
5
|
+
export * from './purchaseToken.dto.js';
|
|
6
|
+
export * from './purchaseTokenCreate.request.dto.js';
|
|
7
|
+
export * from './purchaseTokenUpdate.request.dto.js';
|
|
8
|
+
export * from './purchaseType.dto.js';
|
|
9
|
+
export * from './payment-intent.dto.js';
|
|
10
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -5,7 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
|
-
import { PurchaseCurrency } from "../../enum/purchase";
|
|
8
|
+
import { PurchaseCurrency } from "../../enum/purchase/index.js";
|
|
9
9
|
export class PurchaseDTO {
|
|
10
10
|
id = '';
|
|
11
11
|
stripePaymentIntentId = '';
|
|
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
8
|
import { IsNotEmpty, IsNumber, IsString, IsUUID } from 'class-validator';
|
|
9
|
-
import { OptionalStrip, OptionalStripNumber } from '../../decorators';
|
|
9
|
+
import { OptionalStrip, OptionalStripNumber } from '../../decorators/index.js';
|
|
10
10
|
export class PurchaseCreateRequestDTO {
|
|
11
11
|
quantity = 0;
|
|
12
12
|
paymentIntentId = '';
|
|
@@ -5,7 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty } from "@nestjs/swagger";
|
|
8
|
-
import { PurchaseDTO } from "./purchase.dto";
|
|
8
|
+
import { PurchaseDTO } from "./purchase.dto.js";
|
|
9
9
|
export class PurchaseCreateResponseDTO extends PurchaseDTO {
|
|
10
10
|
paymentClientSecret = null;
|
|
11
11
|
}
|
|
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
8
|
import { IsString, IsBoolean } from 'class-validator';
|
|
9
|
-
import { OptionalNullify } from '../../decorators';
|
|
9
|
+
import { OptionalNullify } from '../../decorators/index.js';
|
|
10
10
|
export class PurchaseTokenUpdateRequestDTO {
|
|
11
11
|
/* @ApiProperty({
|
|
12
12
|
description: 'Purchase Token id',
|
|
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty } from "@nestjs/swagger";
|
|
8
8
|
import { IsNotEmpty, IsNumber, IsEnum } from 'class-validator';
|
|
9
|
-
import { PurchaseCurrency } from "../../enum/purchase";
|
|
9
|
+
import { PurchaseCurrency } from "../../enum/purchase/index.js";
|
|
10
10
|
export class PurchaseTypeCreateRequestDTO {
|
|
11
11
|
conversionRate = 0;
|
|
12
12
|
currency = PurchaseCurrency.EUR;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Redemption DTOs
|
|
2
|
-
export * from './redemption.dto';
|
|
3
|
-
export * from './redemptionCreate.request.dto';
|
|
4
|
-
export * from './redemptionRedeem.request.dto';
|
|
5
|
-
export * from './redemptionRedeem.dto'; // Export RedemptionSubmissionRequestDTO and other DTOs
|
|
6
|
-
export * from './redemptionType.dto';
|
|
2
|
+
export * from './redemption.dto.js';
|
|
3
|
+
export * from './redemptionCreate.request.dto.js';
|
|
4
|
+
export * from './redemptionRedeem.request.dto.js';
|
|
5
|
+
export * from './redemptionRedeem.dto.js'; // Export RedemptionSubmissionRequestDTO and other DTOs
|
|
6
|
+
export * from './redemptionType.dto.js';
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -5,10 +5,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
|
-
import { RedemptionTypeDTO } from "./redemptionType.dto";
|
|
9
|
-
import { TokenUnitDTO } from "../token/token-unit.dto";
|
|
10
|
-
import { UserStatusTypeDTO } from "../user-status-type.dto";
|
|
11
|
-
import { ItemSupply } from "../item-supply.dto";
|
|
8
|
+
import { RedemptionTypeDTO } from "./redemptionType.dto.js";
|
|
9
|
+
import { TokenUnitDTO } from "../token/token-unit.dto.js";
|
|
10
|
+
import { UserStatusTypeDTO } from "../user-status-type.dto.js";
|
|
11
|
+
import { ItemSupply } from "../item-supply.dto.js";
|
|
12
12
|
export class RedemptionDTO {
|
|
13
13
|
id = '';
|
|
14
14
|
description = null;
|
|
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
8
|
import { IsNumber, IsString, IsUrl, IsArray, ValidateIf } from 'class-validator';
|
|
9
|
-
import { OptionalStrip, OptionalStripNumber, OptionalNullify, OptionalNullifyNumber } from '../../decorators';
|
|
9
|
+
import { OptionalStrip, OptionalStripNumber, OptionalNullify, OptionalNullifyNumber } from '../../decorators/index.js';
|
|
10
10
|
export class RedemptionCreateRequestDTO {
|
|
11
11
|
creditTokenAmount;
|
|
12
12
|
description;
|
|
@@ -5,11 +5,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, getSchemaPath } from "@nestjs/swagger";
|
|
8
|
-
import { TransactionRequestResponseDTO } from "../transaction";
|
|
9
|
-
import { ProcessRecordStatus } from "../../enum";
|
|
10
|
-
import { UserDTO } from "../user/user.dto";
|
|
11
|
-
import { BusinessDTO } from "../business/business.dto";
|
|
12
|
-
import { RedemptionDTO } from "./redemption.dto";
|
|
8
|
+
import { TransactionRequestResponseDTO } from "../transaction/index.js";
|
|
9
|
+
import { ProcessRecordStatus } from "../../enum/index.js";
|
|
10
|
+
import { UserDTO } from "../user/user.dto.js";
|
|
11
|
+
import { BusinessDTO } from "../business/business.dto.js";
|
|
12
|
+
import { RedemptionDTO } from "./redemption.dto.js";
|
|
13
13
|
export class RedemptionRedeemDTO {
|
|
14
14
|
id = '';
|
|
15
15
|
userId = '';
|
|
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty } from "@nestjs/swagger";
|
|
8
8
|
import { IsNotEmpty, IsUUID } from 'class-validator';
|
|
9
|
-
import { OptionalNullify } from '../../decorators';
|
|
9
|
+
import { OptionalNullify } from '../../decorators/index.js';
|
|
10
10
|
export class RedemptionRedeemRequestDTO {
|
|
11
11
|
/**
|
|
12
12
|
* The ID of the redemption to redeem
|
|
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
8
|
import { IsNotEmpty, IsString, IsUrl } from 'class-validator';
|
|
9
|
-
import { OptionalStrip } from '../../decorators';
|
|
9
|
+
import { OptionalStrip } from '../../decorators/index.js';
|
|
10
10
|
export class RedemptionTypeCreateRequestDTO {
|
|
11
11
|
name = '';
|
|
12
12
|
description;
|
|
@@ -7,10 +7,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
8
8
|
import { IsEnum, IsNotEmpty, IsString, ValidateNested } from 'class-validator';
|
|
9
9
|
import { Type } from 'class-transformer';
|
|
10
|
-
import { AccountOwnerType } from '../../enum/owner-type.enum';
|
|
11
|
-
import { OptionalStrip } from '../../decorators';
|
|
12
|
-
// import { SigningAccountProvider } from '../../enum/signing-account-provider.enum';
|
|
13
|
-
// import { NetworkType } from '../../enum/crypto.enum';
|
|
10
|
+
import { AccountOwnerType } from '../../enum/owner-type.enum.js';
|
|
11
|
+
import { OptionalStrip } from '../../decorators/index.js';
|
|
12
|
+
// import { SigningAccountProvider } from '../../enum/signing-account-provider.enum.js';
|
|
13
|
+
// import { NetworkType } from '../../enum/crypto.enum.js';
|
|
14
14
|
export class CreateSigningAccountRequestDTO {
|
|
15
15
|
ownerType = AccountOwnerType.USER;
|
|
16
16
|
ownerId = '';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './create-signing-account-request.dto';
|
|
2
|
-
// export * from './select-primary-account-request.dto';
|
|
3
|
-
// export * from './select-primary-account-response.dto';
|
|
4
|
-
export * from './signing-account.dto';
|
|
5
|
-
export * from './update-signing-account.dto';
|
|
1
|
+
export * from './create-signing-account-request.dto.js';
|
|
2
|
+
// export * from './select-primary-account-request.dto.js';
|
|
3
|
+
// export * from './select-primary-account-response.dto.js';
|
|
4
|
+
export * from './signing-account.dto.js';
|
|
5
|
+
export * from './update-signing-account.dto.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
4
|
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;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
-
import { AccountOwnerType, NetworkType, SigningAccountStatus } from "../../enum";
|
|
7
|
+
import { AccountOwnerType, NetworkType, SigningAccountStatus } from "../../enum/index.js";
|
|
8
8
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
9
9
|
export class SigningAccountDTO {
|
|
10
10
|
id = '';
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { ApiPropertyOptional } from '@nestjs/swagger';
|
|
8
8
|
import { IsOptional, IsString, IsBoolean, IsArray, ValidateNested } from 'class-validator';
|
|
9
9
|
import { Type, Transform } from 'class-transformer';
|
|
10
|
-
import { OptionalNullify } from '../../decorators';
|
|
10
|
+
import { OptionalNullify } from '../../decorators/index.js';
|
|
11
11
|
/**
|
|
12
12
|
* DTO for updating an existing signing account
|
|
13
13
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './tenant.dto';
|
|
2
|
-
export * from './tenantCreate.request.dto';
|
|
3
|
-
export * from './tenantUpdate.request.dto';
|
|
4
|
-
export * from './tenant-client-config.dto';
|
|
1
|
+
export * from './tenant.dto.js';
|
|
2
|
+
export * from './tenantCreate.request.dto.js';
|
|
3
|
+
export * from './tenantUpdate.request.dto.js';
|
|
4
|
+
export * from './tenant-client-config.dto.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -5,7 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
|
-
import { WalletManagementType } from "../../enum/wallet.enum";
|
|
8
|
+
import { WalletManagementType } from "../../enum/wallet.enum.js";
|
|
9
9
|
export class TenantPublicDTO {
|
|
10
10
|
projectName = '';
|
|
11
11
|
acronym = '';
|
|
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
8
|
import { IsBoolean, IsUrl, IsEmail } from 'class-validator';
|
|
9
|
-
import { OptionalNullify } from '../../decorators';
|
|
9
|
+
import { OptionalNullify } from '../../decorators/index.js';
|
|
10
10
|
export class TenantUpdateRequestDTO {
|
|
11
11
|
projectName;
|
|
12
12
|
projectDescription;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from './token-balance.dto';
|
|
2
|
-
export * from './token-metadata.dto';
|
|
3
|
-
export * from './token-unit.dto';
|
|
4
|
-
export * from './token.dto';
|
|
5
|
-
export * from './token-selector.dto';
|
|
6
|
-
export * from './token-type.dto';
|
|
7
|
-
export * from './token.request.dto';
|
|
1
|
+
export * from './token-balance.dto.js';
|
|
2
|
+
export * from './token-metadata.dto.js';
|
|
3
|
+
export * from './token-unit.dto.js';
|
|
4
|
+
export * from './token.dto.js';
|
|
5
|
+
export * from './token-selector.dto.js';
|
|
6
|
+
export * from './token-type.dto.js';
|
|
7
|
+
export * from './token.request.dto.js';
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -5,7 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
|
-
import { NativeTokenTypes } from "../../types/native-token.type";
|
|
8
|
+
import { NativeTokenTypes } from "../../types/native-token.type.js";
|
|
9
9
|
export class TokenBalanceDTO {
|
|
10
10
|
contractAddress = '';
|
|
11
11
|
chainId = 0;
|
|
@@ -7,9 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
8
|
import { IsUrl, IsString, IsDateString, IsEnum, IsNumber, IsArray, ValidateNested } from 'class-validator';
|
|
9
9
|
import { Type } from 'class-transformer';
|
|
10
|
-
import { OptionalStrip, OptionalStripNumber } from '../../decorators';
|
|
11
|
-
import { TokenValidityTypes } from '../../enum/token-validity-type.enum';
|
|
12
|
-
import { AiPromptConfigDTO } from '../ai/ai-prompt-config.dto';
|
|
10
|
+
import { OptionalStrip, OptionalStripNumber } from '../../decorators/index.js';
|
|
11
|
+
import { TokenValidityTypes } from '../../enum/token-validity-type.enum.js';
|
|
12
|
+
import { AiPromptConfigDTO } from '../ai/ai-prompt-config.dto.js';
|
|
13
13
|
/**
|
|
14
14
|
* Token Metadata - NFT Template/Blueprint
|
|
15
15
|
*
|
|
@@ -6,7 +6,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
8
|
import { IsString, IsInt } from 'class-validator';
|
|
9
|
-
import { OptionalStrip, OptionalStripNumber } from '../../decorators';
|
|
9
|
+
import { OptionalStrip, OptionalStripNumber } from '../../decorators/index.js';
|
|
10
10
|
/**
|
|
11
11
|
* 🎯 Crystal Clear Token Identification Strategy
|
|
12
12
|
*
|
|
@@ -6,8 +6,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
8
|
import { IsEnum, IsString, IsUrl } from 'class-validator';
|
|
9
|
-
import { NativeTokenTypes } from "../../types/native-token.type";
|
|
10
|
-
import { OptionalStrip } from '../../decorators';
|
|
9
|
+
import { NativeTokenTypes } from "../../types/native-token.type.js";
|
|
10
|
+
import { OptionalStrip } from '../../decorators/index.js';
|
|
11
11
|
export class TokenTypeDTO {
|
|
12
12
|
nativeTokenType = NativeTokenTypes.ERC20;
|
|
13
13
|
name;
|
|
@@ -6,8 +6,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
8
|
import { IsNotEmpty, IsNumber, IsUUID } from 'class-validator';
|
|
9
|
-
import { TokenDTO } from "./token.dto";
|
|
10
|
-
import { OptionalStrip, OptionalStripNumber } from '../../decorators';
|
|
9
|
+
import { TokenDTO } from "./token.dto.js";
|
|
10
|
+
import { OptionalStrip, OptionalStripNumber } from '../../decorators/index.js';
|
|
11
11
|
/**
|
|
12
12
|
* Token Unit - Defines what tokens to mint/transfer in a transaction
|
|
13
13
|
*
|
|
@@ -5,8 +5,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
|
-
import { TokenMetadataDTO } from "./token-metadata.dto";
|
|
9
|
-
import { NativeTokenTypes } from "../../types/native-token.type";
|
|
8
|
+
import { TokenMetadataDTO } from "./token-metadata.dto.js";
|
|
9
|
+
import { NativeTokenTypes } from "../../types/native-token.type.js";
|
|
10
10
|
/**
|
|
11
11
|
* Token DTO - Smart Contract Wrapper
|
|
12
12
|
*
|
|
@@ -6,8 +6,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
8
|
import { IsBoolean, IsString, IsNotEmpty, IsNumber, IsEnum, IsUrl } from 'class-validator';
|
|
9
|
-
import { NativeTokenTypes } from "../../types/native-token.type";
|
|
10
|
-
import { OptionalStrip, OptionalStripNumber, OptionalNullify } from '../../decorators';
|
|
9
|
+
import { NativeTokenTypes } from "../../types/native-token.type.js";
|
|
10
|
+
import { OptionalStrip, OptionalStripNumber, OptionalNullify } from '../../decorators/index.js';
|
|
11
11
|
export class TokenUpdateRequestDTO {
|
|
12
12
|
isGallery;
|
|
13
13
|
name;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * from './transaction-bulk-data.request.dto';
|
|
2
|
-
// export * from './transaction-to-sign.dto';
|
|
3
|
-
export * from './transaction-trigger-process.dto';
|
|
4
|
-
export * from './transaction.dto';
|
|
5
|
-
export * from './transaction.request.dto';
|
|
6
|
-
export * from '../analytics/transaction-analytics.request.dto';
|
|
7
|
-
export * from './transaction-pagination.request.dto';
|
|
8
|
-
export * from './transaction-request-actionable.dto';
|
|
1
|
+
export * from './transaction-bulk-data.request.dto.js';
|
|
2
|
+
// export * from './transaction-to-sign.dto.js';
|
|
3
|
+
export * from './transaction-trigger-process.dto.js';
|
|
4
|
+
export * from './transaction.dto.js';
|
|
5
|
+
export * from './transaction.request.dto.js';
|
|
6
|
+
export * from '../analytics/transaction-analytics.request.dto.js';
|
|
7
|
+
export * from './transaction-pagination.request.dto.js';
|
|
8
|
+
export * from './transaction-request-actionable.dto.js';
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -4,11 +4,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
4
|
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;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
-
import { UserUploadDataDto } from "../user/userUploadData.dto";
|
|
7
|
+
import { UserUploadDataDto } from "../user/userUploadData.dto.js";
|
|
8
8
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
9
9
|
import { Type } from 'class-transformer';
|
|
10
10
|
import { IsArray, ValidateNested, IsNumber, IsString, MinLength, ArrayMinSize } from 'class-validator';
|
|
11
|
-
import { OptionalStrip, OptionalStripNumber } from '../../decorators';
|
|
11
|
+
import { OptionalStrip, OptionalStripNumber } from '../../decorators/index.js';
|
|
12
12
|
export class TransactionBulkUserUploadDataDto extends UserUploadDataDto {
|
|
13
13
|
amount;
|
|
14
14
|
tokenAddress;
|
|
@@ -6,11 +6,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiPropertyOptional } from '@nestjs/swagger';
|
|
8
8
|
import { IsString, IsIn } from 'class-validator';
|
|
9
|
-
import { NativeTokenTypes } from '../../types';
|
|
10
|
-
import { Web3TransactionType, TransactionRole } from '../../enum';
|
|
11
|
-
import { BaseFiltersDTO, BasePaginationRequestDTO } from '../pagination/pagination.request.dto';
|
|
9
|
+
import { NativeTokenTypes } from '../../types/index.js';
|
|
10
|
+
import { Web3TransactionType, TransactionRole } from '../../enum/index.js';
|
|
11
|
+
import { BaseFiltersDTO, BasePaginationRequestDTO } from '../pagination/pagination.request.dto.js';
|
|
12
12
|
import { Transform } from 'class-transformer';
|
|
13
|
-
import { OptionalStrip } from '../../decorators';
|
|
13
|
+
import { OptionalStrip } from '../../decorators/index.js';
|
|
14
14
|
const TRANSACTION_SORT_FIELDS = [
|
|
15
15
|
'createdAt',
|
|
16
16
|
'amount',
|
|
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
4
|
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;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
-
import { TransactionTriggerProcessType } from "../../enum/transaction-trigger-process-type.enum";
|
|
7
|
+
import { TransactionTriggerProcessType } from "../../enum/transaction-trigger-process-type.enum.js";
|
|
8
8
|
import { ApiProperty } from "@nestjs/swagger";
|
|
9
9
|
export class TransactionTriggerProcessDTO {
|
|
10
10
|
type = TransactionTriggerProcessType.PURCHASE;
|
|
@@ -5,12 +5,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, getSchemaPath } from "@nestjs/swagger";
|
|
8
|
-
import { Web3TransactionType } from "../../enum/transaction-type.enum";
|
|
9
|
-
import { TransactionStatus } from "../../enum/transaction-status.enum";
|
|
10
|
-
import { TransactionTriggerProcessType } from "../../enum/transaction-trigger-process-type.enum";
|
|
11
|
-
import { AccountOwnerType } from "../../enum";
|
|
12
|
-
import { UserDTO } from "../user/user.dto";
|
|
13
|
-
import { BusinessDTO } from "../business/business.dto";
|
|
8
|
+
import { Web3TransactionType } from "../../enum/transaction-type.enum.js";
|
|
9
|
+
import { TransactionStatus } from "../../enum/transaction-status.enum.js";
|
|
10
|
+
import { TransactionTriggerProcessType } from "../../enum/transaction-trigger-process-type.enum.js";
|
|
11
|
+
import { AccountOwnerType } from "../../enum/index.js";
|
|
12
|
+
import { UserDTO } from "../user/user.dto.js";
|
|
13
|
+
import { BusinessDTO } from "../business/business.dto.js";
|
|
14
14
|
export class TransactionDTO {
|
|
15
15
|
amount = null;
|
|
16
16
|
id = '';
|