@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
|
@@ -7,16 +7,16 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
8
|
import { Type } from 'class-transformer';
|
|
9
9
|
import { IsEnum, IsNumber, ValidateNested, IsNotEmpty, IsUUID, IsString } from 'class-validator';
|
|
10
|
-
import { Web3TransactionType } from "../../enum/transaction-type.enum";
|
|
11
|
-
import { TokenSelectorDTO } from "../token/token-selector.dto";
|
|
12
|
-
import { AccountSelectorDTO } from "../account-selector.dto";
|
|
10
|
+
import { Web3TransactionType } from "../../enum/transaction-type.enum.js";
|
|
11
|
+
import { TokenSelectorDTO } from "../token/token-selector.dto.js";
|
|
12
|
+
import { AccountSelectorDTO } from "../account-selector.dto.js";
|
|
13
13
|
import { TRANSACTION_FORMAT_DESCRIPTIONS, TRANSACTION_FORMATS } from '@explorins/web3-types';
|
|
14
|
-
import { TransactionDTO } from "./transaction.dto";
|
|
15
|
-
// import { SigningAccountDTO } from "../signing-account/signing-account.dto";
|
|
16
|
-
import { TransactionStatus } from "../../enum/transaction-status.enum";
|
|
17
|
-
import { TransactionActionableDTO } from "./transaction-request-actionable.dto";
|
|
18
|
-
import { AccountOwnerType } from "../../enum";
|
|
19
|
-
import { OptionalStrip } from "../../decorators";
|
|
14
|
+
import { TransactionDTO } from "./transaction.dto.js";
|
|
15
|
+
// import { SigningAccountDTO } from "../signing-account/signing-account.dto.js";
|
|
16
|
+
import { TransactionStatus } from "../../enum/transaction-status.enum.js";
|
|
17
|
+
import { TransactionActionableDTO } from "./transaction-request-actionable.dto.js";
|
|
18
|
+
import { AccountOwnerType } from "../../enum/index.js";
|
|
19
|
+
import { OptionalStrip } from "../../decorators/index.js";
|
|
20
20
|
export class TransactionSubmissionRequestDTO {
|
|
21
21
|
transactionId;
|
|
22
22
|
type;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './userUploadData.dto';
|
|
2
|
-
export * from './user.dto';
|
|
3
|
-
export * from './user.request.dto';
|
|
1
|
+
export * from './userUploadData.dto.js';
|
|
2
|
+
export * from './user.dto.js';
|
|
3
|
+
export * from './user.request.dto.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -5,9 +5,9 @@ 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 { PublicWalletDTO } from "../wallet.dto";
|
|
9
|
-
import { AccountTokenBalancesDTO } from "../account-token-balances.dto";
|
|
10
|
-
import { UserStatusTypeDTO } from "../user-status-type.dto";
|
|
8
|
+
import { PublicWalletDTO } from "../wallet.dto.js";
|
|
9
|
+
import { AccountTokenBalancesDTO } from "../account-token-balances.dto.js";
|
|
10
|
+
import { UserStatusTypeDTO } from "../user-status-type.dto.js";
|
|
11
11
|
export class UserDTO {
|
|
12
12
|
// =====================================
|
|
13
13
|
// SCALAR FIELDS
|
|
@@ -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 { IsEmail, IsString, IsObject, IsBoolean } from 'class-validator';
|
|
9
|
-
import { OptionalStrip } from '../../decorators';
|
|
9
|
+
import { OptionalStrip } from '../../decorators/index.js';
|
|
10
10
|
export class UserCreateRequestDTO {
|
|
11
11
|
email;
|
|
12
12
|
instagramAccountId;
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
8
8
|
import { IsEmail, IsObject, IsString, ValidateNested, MinLength } from 'class-validator';
|
|
9
9
|
import { Type } from 'class-transformer';
|
|
10
|
-
import { OptionalStrip } from '../../decorators';
|
|
10
|
+
import { OptionalStrip } from '../../decorators/index.js';
|
|
11
11
|
// This DTO represents the user identification part.
|
|
12
12
|
// It implements IUserIdentifierObject to align with the shared library type structure.
|
|
13
13
|
export class UserIdentifierObjectDto {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-status-type.dto.d.ts","sourceRoot":"","sources":["../../../../src/shared-lib/dto/user-status-type.dto.ts"],"names":[],"mappings":"AAIA,qBAAa,8BAA8B;IAMvC,IAAI,EAAE,MAAM,CAAM;IAOlB,WAAW,CAAC,EAAE,MAAM,CAAC;IAOrB,eAAe,EAAE,MAAM,CAAK;IAO5B,kBAAkB,EAAE,MAAM,CAAK;IAO/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAUlB,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;IAUlC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"user-status-type.dto.d.ts","sourceRoot":"","sources":["../../../../src/shared-lib/dto/user-status-type.dto.ts"],"names":[],"mappings":"AAIA,qBAAa,8BAA8B;IAMvC,IAAI,EAAE,MAAM,CAAM;IAOlB,WAAW,CAAC,EAAE,MAAM,CAAC;IAOrB,eAAe,EAAE,MAAM,CAAK;IAO5B,kBAAkB,EAAE,MAAM,CAAK;IAO/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAUlB,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;IAUlC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAQhB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,iBAAkB,SAAQ,8BAA8B;IAIjE,EAAE,EAAE,MAAM,CAAK;CAClB"}
|
|
@@ -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, IsNumber, IsUrl, IsArray } from 'class-validator';
|
|
9
|
-
import { OptionalStrip } from '../decorators';
|
|
9
|
+
import { OptionalStrip } from '../decorators/index.js';
|
|
10
10
|
export class UserStatusTypeCreateRequestDTO {
|
|
11
11
|
name = '';
|
|
12
12
|
description;
|
|
@@ -15,6 +15,7 @@ export class UserStatusTypeCreateRequestDTO {
|
|
|
15
15
|
imageUrl;
|
|
16
16
|
eligibleTokenAddresses;
|
|
17
17
|
tags;
|
|
18
|
+
order;
|
|
18
19
|
}
|
|
19
20
|
__decorate([
|
|
20
21
|
ApiProperty({
|
|
@@ -71,6 +72,14 @@ __decorate([
|
|
|
71
72
|
IsArray(),
|
|
72
73
|
IsString({ each: true })
|
|
73
74
|
], UserStatusTypeCreateRequestDTO.prototype, "tags", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
ApiPropertyOptional({
|
|
77
|
+
description: 'Explicit ordering for status hierarchy (higher = more prestigious). If not set, falls back to minTokenBalance for ordering.',
|
|
78
|
+
example: 100
|
|
79
|
+
}),
|
|
80
|
+
OptionalStrip(),
|
|
81
|
+
IsNumber()
|
|
82
|
+
], UserStatusTypeCreateRequestDTO.prototype, "order", void 0);
|
|
74
83
|
export class UserStatusTypeDTO extends UserStatusTypeCreateRequestDTO {
|
|
75
84
|
id = 0;
|
|
76
85
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-status-type.dto.js","sourceRoot":"","sources":["../../../../src/shared-lib/dto/user-status-type.dto.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,MAAM,OAAO,8BAA8B;IAMvC,IAAI,GAAW,EAAE,CAAC;IAOlB,WAAW,CAAU;IAOrB,eAAe,GAAW,CAAC,CAAC;IAO5B,kBAAkB,GAAW,CAAC,CAAC;IAO/B,QAAQ,CAAU;IAUlB,sBAAsB,CAAY;IAUlC,IAAI,CAAY;
|
|
1
|
+
{"version":3,"file":"user-status-type.dto.js","sourceRoot":"","sources":["../../../../src/shared-lib/dto/user-status-type.dto.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,MAAM,OAAO,8BAA8B;IAMvC,IAAI,GAAW,EAAE,CAAC;IAOlB,WAAW,CAAU;IAOrB,eAAe,GAAW,CAAC,CAAC;IAO5B,kBAAkB,GAAW,CAAC,CAAC;IAO/B,QAAQ,CAAU;IAUlB,sBAAsB,CAAY;IAUlC,IAAI,CAAY;IAQhB,KAAK,CAAU;CAClB;AAzDG;IALC,WAAW,CAAC;QACT,WAAW,EAAE,uBAAuB;KACvC,CAAC;IACD,UAAU,EAAE;IACZ,QAAQ,EAAE;4DACO;AAOlB;IALC,mBAAmB,CAAC;QACjB,WAAW,EAAE,8BAA8B;KAC9C,CAAC;IACD,aAAa,EAAE;IACf,QAAQ,EAAE;mEACU;AAOrB;IALC,WAAW,CAAC;QACT,WAAW,EAAE,2CAA2C;KAC3D,CAAC;IACD,UAAU,EAAE;IACZ,QAAQ,EAAE;uEACiB;AAO5B;IALC,WAAW,CAAC;QACT,WAAW,EAAE,8CAA8C;KAC9D,CAAC;IACD,UAAU,EAAE;IACZ,QAAQ,EAAE;0EACoB;AAO/B;IALC,mBAAmB,CAAC;QACjB,WAAW,EAAE,4BAA4B;KAC5C,CAAC;IACD,aAAa,EAAE;IACf,KAAK,EAAE;gEACU;AAUlB;IARC,mBAAmB,CAAC;QACjB,WAAW,EAAE,wDAAwD;QACrE,IAAI,EAAE,CAAC,MAAM,CAAC;QACd,OAAO,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC;KACtC,CAAC;IACD,aAAa,EAAE;IACf,OAAO,EAAE;IACT,QAAQ,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;8EACS;AAUlC;IARC,mBAAmB,CAAC;QACjB,WAAW,EAAE,uCAAuC;QACpD,IAAI,EAAE,CAAC,MAAM,CAAC;QACd,OAAO,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,MAAM,CAAC;KACtC,CAAC;IACD,aAAa,EAAE;IACf,OAAO,EAAE;IACT,QAAQ,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;4DACT;AAQhB;IANC,mBAAmB,CAAC;QACjB,WAAW,EAAE,6HAA6H;QAC1I,OAAO,EAAE,GAAG;KACf,CAAC;IACD,aAAa,EAAE;IACf,QAAQ,EAAE;6DACI;AAGnB,MAAM,OAAO,iBAAkB,SAAQ,8BAA8B;IAIjE,EAAE,GAAW,CAAC,CAAC;CAClB;AADG;IAHC,WAAW,CAAC;QACT,WAAW,EAAE,qBAAqB;KACrC,CAAC;6CACa"}
|
|
@@ -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 { WalletManagementType, WalletStatus } from "../enum/wallet.enum";
|
|
9
|
-
import { AccountOwnerType } from "../enum/owner-type.enum";
|
|
8
|
+
import { WalletManagementType, WalletStatus } from "../enum/wallet.enum.js";
|
|
9
|
+
import { AccountOwnerType } from "../enum/owner-type.enum.js";
|
|
10
10
|
export class PublicWalletDTO {
|
|
11
11
|
id = '';
|
|
12
12
|
ownerType = AccountOwnerType.USER;
|
|
@@ -6,9 +6,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
|
8
8
|
import { IsNotEmpty, IsString, IsNumber, IsBoolean, IsEnum, IsUrl } from 'class-validator';
|
|
9
|
-
import { Web3ContractTypes } from "../enum/web3-contract-type.enum";
|
|
10
|
-
import { NativeTokenTypes } from "../types/native-token.type";
|
|
11
|
-
import { OptionalStrip, OptionalNullify } from '../decorators';
|
|
9
|
+
import { Web3ContractTypes } from "../enum/web3-contract-type.enum.js";
|
|
10
|
+
import { NativeTokenTypes } from "../types/native-token.type.js";
|
|
11
|
+
import { OptionalStrip, OptionalNullify } from '../decorators/index.js';
|
|
12
12
|
export var Web3ContractDeploymentStatus;
|
|
13
13
|
(function (Web3ContractDeploymentStatus) {
|
|
14
14
|
Web3ContractDeploymentStatus["COMPUTED"] = "COMPUTED";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./trigger-source-type.enum";
|
|
2
|
-
export * from "./campaignConditionType.enum";
|
|
3
|
-
export * from "./campaignTriggerType.enum";
|
|
1
|
+
export * from "./trigger-source-type.enum.js";
|
|
2
|
+
export * from "./campaignConditionType.enum.js";
|
|
3
|
+
export * from "./campaignTriggerType.enum.js";
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
// Enums Barrel - Auto-exports all enums
|
|
2
|
-
export * from './transaction-role.enum';
|
|
3
|
-
export * from './transaction-type.enum';
|
|
4
|
-
export * from './transaction-status.enum';
|
|
5
|
-
export * from './transaction-trigger-process-type.enum';
|
|
6
|
-
export * from './api-key-type.enum';
|
|
7
|
-
export * from './admin-type.enum';
|
|
8
|
-
export * from './membership-role.enum';
|
|
9
|
-
export * from './web3-contract-type.enum';
|
|
10
|
-
export * from './owner-type.enum';
|
|
11
|
-
export * from './storageType.enum';
|
|
12
|
-
export * from './storageDataType.enum';
|
|
13
|
-
export * from './web3-master-wallet-type.enum';
|
|
14
|
-
export * from './signing-account-provider.enum';
|
|
15
|
-
export * from './signing-account-status.enum';
|
|
16
|
-
export * from './crypto.enum';
|
|
17
|
-
export * from './wallet.enum';
|
|
18
|
-
export * from './sort-order.enum';
|
|
19
|
-
export * from './process-record-status.enum';
|
|
20
|
-
export * from './file-upload-entity-type.enum';
|
|
21
|
-
export * from './signed-url-type.enum';
|
|
22
|
-
export * from './token-validity-type.enum';
|
|
23
|
-
export * from './balance-migration-type.enum';
|
|
24
|
-
export * from './purchase';
|
|
25
|
-
export * from './campaign';
|
|
26
|
-
export * from './ai-operation-type.enum';
|
|
27
|
-
export * from './ai-trigger-process-type.enum';
|
|
28
|
-
export * from './ai-analytics-metric.enum';
|
|
2
|
+
export * from './transaction-role.enum.js';
|
|
3
|
+
export * from './transaction-type.enum.js';
|
|
4
|
+
export * from './transaction-status.enum.js';
|
|
5
|
+
export * from './transaction-trigger-process-type.enum.js';
|
|
6
|
+
export * from './api-key-type.enum.js';
|
|
7
|
+
export * from './admin-type.enum.js';
|
|
8
|
+
export * from './membership-role.enum.js';
|
|
9
|
+
export * from './web3-contract-type.enum.js';
|
|
10
|
+
export * from './owner-type.enum.js';
|
|
11
|
+
export * from './storageType.enum.js';
|
|
12
|
+
export * from './storageDataType.enum.js';
|
|
13
|
+
export * from './web3-master-wallet-type.enum.js';
|
|
14
|
+
export * from './signing-account-provider.enum.js';
|
|
15
|
+
export * from './signing-account-status.enum.js';
|
|
16
|
+
export * from './crypto.enum.js';
|
|
17
|
+
export * from './wallet.enum.js';
|
|
18
|
+
export * from './sort-order.enum.js';
|
|
19
|
+
export * from './process-record-status.enum.js';
|
|
20
|
+
export * from './file-upload-entity-type.enum.js';
|
|
21
|
+
export * from './signed-url-type.enum.js';
|
|
22
|
+
export * from './token-validity-type.enum.js';
|
|
23
|
+
export * from './balance-migration-type.enum.js';
|
|
24
|
+
export * from './purchase/index.js';
|
|
25
|
+
export * from './campaign/index.js';
|
|
26
|
+
export * from './ai-operation-type.enum.js';
|
|
27
|
+
export * from './ai-trigger-process-type.enum.js';
|
|
28
|
+
export * from './ai-analytics-metric.enum.js';
|
|
29
29
|
// Error classification enum
|
|
30
|
-
export { ErrorCategory } from '../errors/base/error-classification-enums';
|
|
30
|
+
export { ErrorCategory } from '../errors/base/error-classification-enums.js';
|
|
31
31
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './purchase-status.enum';
|
|
2
|
-
export * from './purchase-currency.enum';
|
|
1
|
+
export * from './purchase-status.enum.js';
|
|
2
|
+
export * from './purchase-currency.enum.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpException, HttpStatus } from '@nestjs/common';
|
|
2
|
-
import { ErrorCategory } from './base/error-classification-enums';
|
|
2
|
+
import { ErrorCategory } from './base/error-classification-enums.js';
|
|
3
3
|
/**
|
|
4
4
|
* Base class for business logic errors that should be surfaced to clients
|
|
5
5
|
* with meaningful error messages and appropriate HTTP status codes.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpStatus } from '@nestjs/common';
|
|
2
|
-
import { BusinessLogicError, SecurityError } from '../base-business-error';
|
|
3
|
-
import { CommonErrorCodes, ErrorDomains } from '../error-codes';
|
|
4
|
-
import { ErrorCategory } from '../base/error-classification-enums';
|
|
2
|
+
import { BusinessLogicError, SecurityError } from '../base-business-error.js';
|
|
3
|
+
import { CommonErrorCodes, ErrorDomains } from '../error-codes.js';
|
|
4
|
+
import { ErrorCategory } from '../base/error-classification-enums.js';
|
|
5
5
|
/**
|
|
6
6
|
* Authentication domain business errors
|
|
7
7
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpStatus } from '@nestjs/common';
|
|
2
|
-
import { DomainRuleError } from '../base-business-error';
|
|
3
|
-
import { CommonErrorCodes, ErrorDomains } from '../error-codes';
|
|
2
|
+
import { DomainRuleError } from '../base-business-error.js';
|
|
3
|
+
import { CommonErrorCodes, ErrorDomains } from '../error-codes.js';
|
|
4
4
|
/**
|
|
5
5
|
* Balance/Account domain business errors
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpStatus } from '@nestjs/common';
|
|
2
|
-
import { DomainRuleError, ValidationError } from '../base-business-error';
|
|
3
|
-
import { CommonErrorCodes, ErrorDomains } from '../error-codes';
|
|
2
|
+
import { DomainRuleError, ValidationError } from '../base-business-error.js';
|
|
3
|
+
import { CommonErrorCodes, ErrorDomains } from '../error-codes.js';
|
|
4
4
|
/**
|
|
5
5
|
* Business domain business errors
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpStatus } from '@nestjs/common';
|
|
2
|
-
import { DomainRuleError, ValidationError } from '../base-business-error';
|
|
3
|
-
import { CommonErrorCodes, ErrorDomains } from '../error-codes';
|
|
2
|
+
import { DomainRuleError, ValidationError } from '../base-business-error.js';
|
|
3
|
+
import { CommonErrorCodes, ErrorDomains } from '../error-codes.js';
|
|
4
4
|
export class CampaignUserInfoRequiredError extends DomainRuleError {
|
|
5
5
|
constructor(requiredField) {
|
|
6
6
|
super(CommonErrorCodes.CAMPAIGN_USER_INFO_REQUIRED, ErrorDomains.CAMPAIGN, `Campaign requires missing user info: ${requiredField}`, HttpStatus.BAD_REQUEST, 'Please complete your profile information to claim this campaign');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpStatus } from '@nestjs/common';
|
|
2
|
-
import { DomainRuleError } from '../base-business-error';
|
|
3
|
-
import { CommonErrorCodes, ErrorDomains } from '../error-codes';
|
|
2
|
+
import { DomainRuleError } from '../base-business-error.js';
|
|
3
|
+
import { CommonErrorCodes, ErrorDomains } from '../error-codes.js';
|
|
4
4
|
/**
|
|
5
5
|
* Contract domain business errors
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpStatus } from '@nestjs/common';
|
|
2
|
-
import { DomainRuleError, ValidationError, TechnicalError } from '../base-business-error';
|
|
3
|
-
import { CommonErrorCodes, ErrorDomains } from '../error-codes';
|
|
2
|
+
import { DomainRuleError, ValidationError, TechnicalError } from '../base-business-error.js';
|
|
3
|
+
import { CommonErrorCodes, ErrorDomains } from '../error-codes.js';
|
|
4
4
|
/**
|
|
5
5
|
* Signing Account domain business errors
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpStatus } from '@nestjs/common';
|
|
2
|
-
import { TechnicalError, InfrastructureError } from '../base-business-error';
|
|
3
|
-
import { CommonErrorCodes, ErrorDomains } from '../error-codes';
|
|
2
|
+
import { TechnicalError, InfrastructureError } from '../base-business-error.js';
|
|
3
|
+
import { CommonErrorCodes, ErrorDomains } from '../error-codes.js';
|
|
4
4
|
/**
|
|
5
5
|
* System domain business errors
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpStatus } from '@nestjs/common';
|
|
2
|
-
import { BusinessLogicError } from '../base-business-error';
|
|
3
|
-
import { CommonErrorCodes, ErrorDomains } from '../error-codes';
|
|
2
|
+
import { BusinessLogicError } from '../base-business-error.js';
|
|
3
|
+
import { CommonErrorCodes, ErrorDomains } from '../error-codes.js';
|
|
4
4
|
/**
|
|
5
5
|
* Tenant domain business errors
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpStatus } from '@nestjs/common';
|
|
2
|
-
import { DomainRuleError, ValidationError } from '../base-business-error';
|
|
3
|
-
import { CommonErrorCodes, ErrorDomains } from '../error-codes';
|
|
2
|
+
import { DomainRuleError, ValidationError } from '../base-business-error.js';
|
|
3
|
+
import { CommonErrorCodes, ErrorDomains } from '../error-codes.js';
|
|
4
4
|
/**
|
|
5
5
|
* Token domain business errors
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpStatus } from '@nestjs/common';
|
|
2
|
-
import { ValidationError, DomainRuleError, TechnicalError } from '../base-business-error';
|
|
3
|
-
import { CommonErrorCodes, ErrorDomains } from '../error-codes';
|
|
2
|
+
import { ValidationError, DomainRuleError, TechnicalError } from '../base-business-error.js';
|
|
3
|
+
import { CommonErrorCodes, ErrorDomains } from '../error-codes.js';
|
|
4
4
|
/**
|
|
5
5
|
* Transaction domain business errors
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpStatus } from '@nestjs/common';
|
|
2
|
-
import { DomainRuleError } from '../base-business-error';
|
|
3
|
-
import { CommonErrorCodes, ErrorDomains } from '../error-codes';
|
|
2
|
+
import { DomainRuleError } from '../base-business-error.js';
|
|
3
|
+
import { CommonErrorCodes, ErrorDomains } from '../error-codes.js';
|
|
4
4
|
/**
|
|
5
5
|
* Trigger Source domain errors
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpStatus } from '@nestjs/common';
|
|
2
|
-
import { DomainRuleError } from '../base-business-error';
|
|
3
|
-
import { CommonErrorCodes, ErrorDomains } from '../error-codes';
|
|
2
|
+
import { DomainRuleError } from '../base-business-error.js';
|
|
3
|
+
import { CommonErrorCodes, ErrorDomains } from '../error-codes.js';
|
|
4
4
|
/**
|
|
5
5
|
* User domain business errors
|
|
6
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ValidationError } from '../base-business-error';
|
|
2
|
-
import { CommonErrorCodes, ErrorDomains } from '../error-codes';
|
|
1
|
+
import { ValidationError } from '../base-business-error.js';
|
|
2
|
+
import { CommonErrorCodes, ErrorDomains } from '../error-codes.js';
|
|
3
3
|
/**
|
|
4
4
|
* Generic validation errors used across multiple domains
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpStatus } from '@nestjs/common';
|
|
2
|
-
import { DomainRuleError, TechnicalError } from '../base-business-error';
|
|
3
|
-
import { CommonErrorCodes, ErrorDomains } from '../error-codes';
|
|
2
|
+
import { DomainRuleError, TechnicalError } from '../base-business-error.js';
|
|
3
|
+
import { CommonErrorCodes, ErrorDomains } from '../error-codes.js';
|
|
4
4
|
/**
|
|
5
5
|
* Wallet domain business errors
|
|
6
6
|
*/
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
// Base error classes and interfaces
|
|
2
|
-
export { BusinessLogicError, ValidationError, DomainRuleError, TechnicalError, InfrastructureError, SecurityError, RateLimitError, TimeoutError, UnknownError } from './base-business-error';
|
|
3
|
-
export * from './technical-errors';
|
|
4
|
-
export * from './domains/transaction-errors';
|
|
2
|
+
export { BusinessLogicError, ValidationError, DomainRuleError, TechnicalError, InfrastructureError, SecurityError, RateLimitError, TimeoutError, UnknownError } from './base-business-error.js';
|
|
3
|
+
export * from './technical-errors.js';
|
|
4
|
+
export * from './domains/transaction-errors.js';
|
|
5
5
|
// Error classification system
|
|
6
|
-
export * from './base/error-classification-enums';
|
|
6
|
+
export * from './base/error-classification-enums.js';
|
|
7
7
|
// Note: Error classification system moved to @explorins/pers-shared-patterns
|
|
8
8
|
// Error codes extracted from domain classes
|
|
9
|
-
export * from './error-codes';
|
|
9
|
+
export * from './error-codes.js';
|
|
10
10
|
// Domain-specific errors (organized by domain)
|
|
11
|
-
export * from './domains/token-errors';
|
|
12
|
-
export * from './domains/user-errors';
|
|
13
|
-
export * from './domains/wallet-errors';
|
|
14
|
-
export * from './domains/business-errors';
|
|
15
|
-
export * from './domains/balance-errors';
|
|
16
|
-
export * from './domains/contract-errors';
|
|
17
|
-
export * from './domains/system-errors';
|
|
18
|
-
export * from './domains/authentication-errors';
|
|
19
|
-
export * from './domains/signing-account-errors';
|
|
20
|
-
export * from './domains/validation-errors';
|
|
21
|
-
export * from './domains/tenant-errors';
|
|
22
|
-
export * from './domains/campaign-errors';
|
|
23
|
-
export * from './domains/trigger-source-errors';
|
|
11
|
+
export * from './domains/token-errors.js';
|
|
12
|
+
export * from './domains/user-errors.js';
|
|
13
|
+
export * from './domains/wallet-errors.js';
|
|
14
|
+
export * from './domains/business-errors.js';
|
|
15
|
+
export * from './domains/balance-errors.js';
|
|
16
|
+
export * from './domains/contract-errors.js';
|
|
17
|
+
export * from './domains/system-errors.js';
|
|
18
|
+
export * from './domains/authentication-errors.js';
|
|
19
|
+
export * from './domains/signing-account-errors.js';
|
|
20
|
+
export * from './domains/validation-errors.js';
|
|
21
|
+
export * from './domains/tenant-errors.js';
|
|
22
|
+
export * from './domains/campaign-errors.js';
|
|
23
|
+
export * from './domains/trigger-source-errors.js';
|
|
24
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpException, HttpStatus } from '@nestjs/common';
|
|
2
|
-
import { ErrorCategory } from './base/error-classification-enums';
|
|
3
|
-
import { CommonErrorCodes } from './error-codes';
|
|
2
|
+
import { ErrorCategory } from './base/error-classification-enums.js';
|
|
3
|
+
import { CommonErrorCodes } from './error-codes.js';
|
|
4
4
|
/**
|
|
5
5
|
* Technical errors with meaningful messages that should be preserved
|
|
6
6
|
* Use for system errors that have specific, actionable messages but aren't business logic errors
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./trigger-settings.interface";
|
|
1
|
+
export * from "./trigger-settings.interface.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
// Interfaces Barrel - Auto-exports all interfaces
|
|
2
|
-
export * from './auth-request-context.interface';
|
|
3
|
-
export * from './transaction-account-data.interface';
|
|
4
|
-
export * from './local-storage-item.interface';
|
|
5
|
-
export * from './token-storage-data.interface';
|
|
6
|
-
export * from './jwt.payload.interface';
|
|
7
|
-
export * from './user-upload-data.interface';
|
|
8
|
-
export * from './token-transaction-input-data.interface';
|
|
9
|
-
export * from './geolocation-result.interface';
|
|
10
|
-
export * from './wallet.interface';
|
|
11
|
-
export * from './polymorphic-owner.interface';
|
|
12
|
-
export * from './signer-verification.interface';
|
|
13
|
-
export * from './wallet-signing-scenario.interface';
|
|
14
|
-
export * from './base-pagination.interface';
|
|
15
|
-
export * from './group-by-expression.interface';
|
|
16
|
-
export * from './transaction-analytics-request.interface';
|
|
17
|
-
export * from './location-coordinates.interface';
|
|
18
|
-
export * from './transaction.interface';
|
|
19
|
-
export * from './counterfactual-wallet-response.interface';
|
|
20
|
-
export * from './campaign';
|
|
21
|
-
export * from './ai-prompt-config.interface';
|
|
22
|
-
export * from './balance-filter-options.interface';
|
|
2
|
+
export * from './auth-request-context.interface.js';
|
|
3
|
+
export * from './transaction-account-data.interface.js';
|
|
4
|
+
export * from './local-storage-item.interface.js';
|
|
5
|
+
export * from './token-storage-data.interface.js';
|
|
6
|
+
export * from './jwt.payload.interface.js';
|
|
7
|
+
export * from './user-upload-data.interface.js';
|
|
8
|
+
export * from './token-transaction-input-data.interface.js';
|
|
9
|
+
export * from './geolocation-result.interface.js';
|
|
10
|
+
export * from './wallet.interface.js';
|
|
11
|
+
export * from './polymorphic-owner.interface.js';
|
|
12
|
+
export * from './signer-verification.interface.js';
|
|
13
|
+
export * from './wallet-signing-scenario.interface.js';
|
|
14
|
+
export * from './base-pagination.interface.js';
|
|
15
|
+
export * from './group-by-expression.interface.js';
|
|
16
|
+
export * from './transaction-analytics-request.interface.js';
|
|
17
|
+
export * from './location-coordinates.interface.js';
|
|
18
|
+
export * from './transaction.interface.js';
|
|
19
|
+
export * from './counterfactual-wallet-response.interface.js';
|
|
20
|
+
export * from './campaign/index.js';
|
|
21
|
+
export * from './ai-prompt-config.interface.js';
|
|
22
|
+
export * from './balance-filter-options.interface.js';
|
|
23
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
// Types Barrel - Auto-exports all type definitions
|
|
2
|
-
export * from './testnet-prefix';
|
|
3
|
-
export * from './unique-user-identifier-keys';
|
|
4
|
-
export * from './native-token.type';
|
|
5
|
-
export * from './analytics.type';
|
|
6
|
-
export * from './account-selector.type';
|
|
7
|
-
export * from './domains';
|
|
8
|
-
export * from './query-specification.types';
|
|
9
|
-
export * from './transaction-filters.type';
|
|
10
|
-
export * from './includable-relation.type';
|
|
11
|
-
export * from './transaction-include-relation.type';
|
|
12
|
-
export * from './campaign-include-relation.type';
|
|
13
|
-
export * from './campaign-claim-include-relation.type';
|
|
14
|
-
export * from './redemption-redeem-include-relation.type';
|
|
15
|
-
export * from './business-membership-include-relation.type';
|
|
16
|
-
export * from './user-include-relation.type';
|
|
2
|
+
export * from './testnet-prefix.js';
|
|
3
|
+
export * from './unique-user-identifier-keys.js';
|
|
4
|
+
export * from './native-token.type.js';
|
|
5
|
+
export * from './analytics.type.js';
|
|
6
|
+
export * from './account-selector.type.js';
|
|
7
|
+
export * from './domains.js';
|
|
8
|
+
export * from './query-specification.types.js';
|
|
9
|
+
export * from './transaction-filters.type.js';
|
|
10
|
+
export * from './includable-relation.type.js';
|
|
11
|
+
export * from './transaction-include-relation.type.js';
|
|
12
|
+
export * from './campaign-include-relation.type.js';
|
|
13
|
+
export * from './campaign-claim-include-relation.type.js';
|
|
14
|
+
export * from './redemption-redeem-include-relation.type.js';
|
|
15
|
+
export * from './business-membership-include-relation.type.js';
|
|
16
|
+
export * from './user-include-relation.type.js';
|
|
17
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -6,9 +6,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { Type } from "class-transformer";
|
|
8
8
|
import { IsEnum, IsNotEmpty, IsString, IsOptional, ValidateNested } from "class-validator";
|
|
9
|
-
import { AccountOwnerType } from "./../enum";
|
|
10
|
-
import { Address } from "./address.value-object";
|
|
11
|
-
import { Errors } from '../../shared-patterns/errors/error-factory';
|
|
9
|
+
import { AccountOwnerType } from "./../enum/index.js";
|
|
10
|
+
import { Address } from "./address.value-object.js";
|
|
11
|
+
import { Errors } from '../../shared-patterns/errors/error-factory.js';
|
|
12
12
|
export class AccountSelectorVo {
|
|
13
13
|
static fromDTO(selector) {
|
|
14
14
|
// Create the appropriate AccountSelector based on accountType
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// Value Objects Barrel - Auto-exports all value objects
|
|
2
|
-
export * from './address.value-object';
|
|
3
|
-
export * from './token-balance.value-object';
|
|
4
|
-
export * from './account-token-balances.value-object';
|
|
5
|
-
export * from './token-unit.value-object';
|
|
2
|
+
export * from './address.value-object.js';
|
|
3
|
+
export * from './token-balance.value-object.js';
|
|
4
|
+
export * from './account-token-balances.value-object.js';
|
|
5
|
+
export * from './token-unit.value-object.js';
|
|
6
6
|
// These use decorators but server environment can handle reflect-metadata
|
|
7
|
-
export * from './token-transaction-input.vo';
|
|
8
|
-
export * from './token-transaction-entity-reference-input.vo';
|
|
9
|
-
export * from './signed-tx-data.vo';
|
|
10
|
-
export * from './account-selector.vo';
|
|
7
|
+
export * from './token-transaction-input.vo.js';
|
|
8
|
+
export * from './token-transaction-entity-reference-input.vo.js';
|
|
9
|
+
export * from './signed-tx-data.vo.js';
|
|
10
|
+
export * from './account-selector.vo.js';
|
|
11
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -6,8 +6,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { IsNotEmpty, IsNumber, IsString, ValidateNested, IsOptional, IsEnum, IsObject } from 'class-validator';
|
|
8
8
|
import { Type } from 'class-transformer';
|
|
9
|
-
import { Web3TransactionType } from '../enum/transaction-type.enum';
|
|
10
|
-
import { AccountSelectorVo } from './account-selector.vo';
|
|
9
|
+
import { Web3TransactionType } from '../enum/transaction-type.enum.js';
|
|
10
|
+
import { AccountSelectorVo } from './account-selector.vo.js';
|
|
11
11
|
/**
|
|
12
12
|
* Token Transaction Entity Reference Input VO
|
|
13
13
|
*
|
|
@@ -6,8 +6,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { IsNotEmpty, IsNumber, IsString, ValidateNested, IsOptional, IsEnum, IsObject, IsArray } from 'class-validator';
|
|
8
8
|
import { Type } from 'class-transformer';
|
|
9
|
-
import { Web3TransactionType } from '../enum/transaction-type.enum';
|
|
10
|
-
import { Address } from './address.value-object';
|
|
9
|
+
import { Web3TransactionType } from '../enum/transaction-type.enum.js';
|
|
10
|
+
import { Address } from './address.value-object.js';
|
|
11
11
|
export class TokenTransactionInputDataVo {
|
|
12
12
|
transactionId;
|
|
13
13
|
chainId;
|