@explorins/pers-shared 2.1.98 → 2.1.99

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.
Files changed (122) hide show
  1. package/dist/esm/browser.js +2 -2
  2. package/dist/esm/index.js +5 -5
  3. package/dist/esm/shared-lib/decorators/index.js +1 -1
  4. package/dist/esm/shared-lib/dto/account-selector.dto.js +2 -2
  5. package/dist/esm/shared-lib/dto/account-token-balances.dto.js +1 -1
  6. package/dist/esm/shared-lib/dto/admin/admin-create.request.dto.js +2 -2
  7. package/dist/esm/shared-lib/dto/admin/admin.dto.js +2 -2
  8. package/dist/esm/shared-lib/dto/admin/index.js +2 -2
  9. package/dist/esm/shared-lib/dto/ai/ai-generation-log.dto.js +2 -2
  10. package/dist/esm/shared-lib/dto/ai/ai-prompt-config.dto.js +1 -1
  11. package/dist/esm/shared-lib/dto/ai/index.js +2 -2
  12. package/dist/esm/shared-lib/dto/analytics/ai-analytics.dto.js +4 -4
  13. package/dist/esm/shared-lib/dto/analytics/base-analytics.dto.js +1 -1
  14. package/dist/esm/shared-lib/dto/analytics/business-ranking-analytics.dto.js +3 -3
  15. package/dist/esm/shared-lib/dto/analytics/campaign-claim-analytics-request.dto.js +5 -5
  16. package/dist/esm/shared-lib/dto/analytics/campaign-claim-analytics.dto.js +5 -5
  17. package/dist/esm/shared-lib/dto/analytics/group-by-expression.dto.js +2 -2
  18. package/dist/esm/shared-lib/dto/analytics/index.js +9 -9
  19. package/dist/esm/shared-lib/dto/analytics/retention-analytics.dto.js +3 -3
  20. package/dist/esm/shared-lib/dto/analytics/transaction-analytics.request.dto.js +6 -6
  21. package/dist/esm/shared-lib/dto/analytics/user-analytics.dto.js +1 -1
  22. package/dist/esm/shared-lib/dto/analytics/user-ranking-analytics.dto.js +3 -3
  23. package/dist/esm/shared-lib/dto/api-key/api-key-verification.dto.js +1 -1
  24. package/dist/esm/shared-lib/dto/api-key/api-key.dto.js +1 -1
  25. package/dist/esm/shared-lib/dto/api-key/index.js +3 -3
  26. package/dist/esm/shared-lib/dto/auth/auth.dto.js +5 -5
  27. package/dist/esm/shared-lib/dto/auth/index.js +2 -2
  28. package/dist/esm/shared-lib/dto/business/business-create.request.dto.js +1 -1
  29. package/dist/esm/shared-lib/dto/business/business-membership.dto.js +4 -4
  30. package/dist/esm/shared-lib/dto/business/business-type.dto.js +1 -1
  31. package/dist/esm/shared-lib/dto/business/business-update.request.dto.js +1 -1
  32. package/dist/esm/shared-lib/dto/business/business.dto.js +3 -3
  33. package/dist/esm/shared-lib/dto/business/businessToggleActive.request.dto.js +1 -1
  34. package/dist/esm/shared-lib/dto/business/businessTypeCreate.request.dto.js +1 -1
  35. package/dist/esm/shared-lib/dto/business/index.js +8 -8
  36. package/dist/esm/shared-lib/dto/campaign/campaign-business-engagement.request.dto.js +1 -1
  37. package/dist/esm/shared-lib/dto/campaign/campaign.dto.js +5 -5
  38. package/dist/esm/shared-lib/dto/campaign/campaignClaim.request.dto.js +1 -1
  39. package/dist/esm/shared-lib/dto/campaign/campaignCreate.request.dto.js +1 -1
  40. package/dist/esm/shared-lib/dto/campaign/campaignTrigger.dto.js +4 -4
  41. package/dist/esm/shared-lib/dto/campaign/campaignTriggerCondition.dto.js +1 -1
  42. package/dist/esm/shared-lib/dto/campaign/campaignUpdate.request.dto.js +1 -1
  43. package/dist/esm/shared-lib/dto/campaign/campaignUserClaim.dto.js +6 -6
  44. package/dist/esm/shared-lib/dto/campaign/trigger-source.dto.js +2 -2
  45. package/dist/esm/shared-lib/dto/error-response.dto.js +2 -2
  46. package/dist/esm/shared-lib/dto/file/entity-storage-url.dto.js +3 -3
  47. package/dist/esm/shared-lib/dto/file/index.js +2 -2
  48. package/dist/esm/shared-lib/dto/index.js +36 -36
  49. package/dist/esm/shared-lib/dto/pagination/index.js +2 -2
  50. package/dist/esm/shared-lib/dto/pagination/pagination.request.dto.js +2 -2
  51. package/dist/esm/shared-lib/dto/purchase/index.js +9 -9
  52. package/dist/esm/shared-lib/dto/purchase/purchase.dto.js +1 -1
  53. package/dist/esm/shared-lib/dto/purchase/purchaseCreate.request.dto.js +1 -1
  54. package/dist/esm/shared-lib/dto/purchase/purchaseCreate.response.dto.js +1 -1
  55. package/dist/esm/shared-lib/dto/purchase/purchaseTokenUpdate.request.dto.js +1 -1
  56. package/dist/esm/shared-lib/dto/purchase/purchaseType.dto.js +1 -1
  57. package/dist/esm/shared-lib/dto/redemption/index.js +5 -5
  58. package/dist/esm/shared-lib/dto/redemption/redemption.dto.js +4 -4
  59. package/dist/esm/shared-lib/dto/redemption/redemptionCreate.request.dto.js +1 -1
  60. package/dist/esm/shared-lib/dto/redemption/redemptionRedeem.dto.js +5 -5
  61. package/dist/esm/shared-lib/dto/redemption/redemptionRedeem.request.dto.js +1 -1
  62. package/dist/esm/shared-lib/dto/redemption/redemptionType.dto.js +1 -1
  63. package/dist/esm/shared-lib/dto/signing-account/create-signing-account-request.dto.js +4 -4
  64. package/dist/esm/shared-lib/dto/signing-account/index.js +5 -5
  65. package/dist/esm/shared-lib/dto/signing-account/signing-account.dto.js +1 -1
  66. package/dist/esm/shared-lib/dto/signing-account/update-signing-account.dto.js +1 -1
  67. package/dist/esm/shared-lib/dto/tenant/index.js +4 -4
  68. package/dist/esm/shared-lib/dto/tenant/tenant.dto.js +1 -1
  69. package/dist/esm/shared-lib/dto/tenant/tenantUpdate.request.dto.js +1 -1
  70. package/dist/esm/shared-lib/dto/token/index.js +7 -7
  71. package/dist/esm/shared-lib/dto/token/token-balance.dto.js +1 -1
  72. package/dist/esm/shared-lib/dto/token/token-metadata.dto.js +3 -3
  73. package/dist/esm/shared-lib/dto/token/token-selector.dto.js +1 -1
  74. package/dist/esm/shared-lib/dto/token/token-type.dto.js +2 -2
  75. package/dist/esm/shared-lib/dto/token/token-unit.dto.js +2 -2
  76. package/dist/esm/shared-lib/dto/token/token.dto.js +2 -2
  77. package/dist/esm/shared-lib/dto/token/token.request.dto.js +2 -2
  78. package/dist/esm/shared-lib/dto/transaction/index.js +8 -8
  79. package/dist/esm/shared-lib/dto/transaction/transaction-bulk-data.request.dto.js +2 -2
  80. package/dist/esm/shared-lib/dto/transaction/transaction-pagination.request.dto.js +4 -4
  81. package/dist/esm/shared-lib/dto/transaction/transaction-trigger-process.dto.js +1 -1
  82. package/dist/esm/shared-lib/dto/transaction/transaction.dto.js +6 -6
  83. package/dist/esm/shared-lib/dto/transaction/transaction.request.dto.js +9 -9
  84. package/dist/esm/shared-lib/dto/user/index.js +3 -3
  85. package/dist/esm/shared-lib/dto/user/user.dto.js +3 -3
  86. package/dist/esm/shared-lib/dto/user/user.request.dto.js +1 -1
  87. package/dist/esm/shared-lib/dto/user/userUploadData.dto.js +1 -1
  88. package/dist/esm/shared-lib/dto/user-status-type.dto.js +1 -1
  89. package/dist/esm/shared-lib/dto/wallet.dto.js +2 -2
  90. package/dist/esm/shared-lib/dto/web3-contract.dto.js +3 -3
  91. package/dist/esm/shared-lib/enum/campaign/index.js +3 -3
  92. package/dist/esm/shared-lib/enum/index.js +28 -28
  93. package/dist/esm/shared-lib/enum/purchase/index.js +2 -2
  94. package/dist/esm/shared-lib/errors/base-business-error.js +1 -1
  95. package/dist/esm/shared-lib/errors/domains/authentication-errors.js +3 -3
  96. package/dist/esm/shared-lib/errors/domains/balance-errors.js +2 -2
  97. package/dist/esm/shared-lib/errors/domains/business-errors.js +2 -2
  98. package/dist/esm/shared-lib/errors/domains/campaign-errors.js +2 -2
  99. package/dist/esm/shared-lib/errors/domains/contract-errors.js +2 -2
  100. package/dist/esm/shared-lib/errors/domains/signing-account-errors.js +2 -2
  101. package/dist/esm/shared-lib/errors/domains/system-errors.js +2 -2
  102. package/dist/esm/shared-lib/errors/domains/tenant-errors.js +2 -2
  103. package/dist/esm/shared-lib/errors/domains/token-errors.js +2 -2
  104. package/dist/esm/shared-lib/errors/domains/transaction-errors.js +2 -2
  105. package/dist/esm/shared-lib/errors/domains/trigger-source-errors.js +2 -2
  106. package/dist/esm/shared-lib/errors/domains/user-errors.js +2 -2
  107. package/dist/esm/shared-lib/errors/domains/validation-errors.js +2 -2
  108. package/dist/esm/shared-lib/errors/domains/wallet-errors.js +2 -2
  109. package/dist/esm/shared-lib/errors/index.js +18 -18
  110. package/dist/esm/shared-lib/errors/technical-errors.js +2 -2
  111. package/dist/esm/shared-lib/interfaces/campaign/index.js +1 -1
  112. package/dist/esm/shared-lib/interfaces/index.js +21 -21
  113. package/dist/esm/shared-lib/types/index.js +15 -15
  114. package/dist/esm/shared-lib/value-objects/account-selector.vo.js +3 -3
  115. package/dist/esm/shared-lib/value-objects/address.value-object.js +1 -1
  116. package/dist/esm/shared-lib/value-objects/index.js +8 -8
  117. package/dist/esm/shared-lib/value-objects/token-balance.value-object.js +1 -1
  118. package/dist/esm/shared-lib/value-objects/token-transaction-entity-reference-input.vo.js +2 -2
  119. package/dist/esm/shared-lib/value-objects/token-transaction-input.vo.js +2 -2
  120. package/dist/esm/shared-patterns/errors/error-factory.js +13 -13
  121. package/dist/esm/shared-patterns/functions/helper.functions.js +2 -2
  122. package/package.json +1 -1
@@ -3,9 +3,9 @@
3
3
  * Uses barrel exports for automatic inclusion - no manual maintenance needed!
4
4
  */
5
5
  // Export enums - these are safe for browser use (barrel export)
6
- export * from './shared-lib/enum';
6
+ export * from './shared-lib/enum/index.js';
7
7
  // Export types and constants (runtime exports) - browser-safe only
8
- export * from './shared-lib/types';
8
+ export * from './shared-lib/types/index.js';
9
9
  // Re-export web3 types for convenience
10
10
  export * from '@explorins/web3-types';
11
11
  // Note: Backend-specific types (like TRANSACTION_FORMATS) are excluded from browser build
package/dist/esm/index.js CHANGED
@@ -1,13 +1,13 @@
1
1
  // PERS Shared Contracts Library - Pure Data Contracts and Domain Vocabulary
2
2
  // 🌐 PUBLIC: Safe for external consumption - contains only DTOs, interfaces, types, and enums
3
3
  // Core domain contracts
4
- export * from './shared-lib/enum';
5
- export * from './shared-lib/interfaces';
6
- export * from './shared-lib/types';
4
+ export * from './shared-lib/enum/index.js';
5
+ export * from './shared-lib/interfaces/index.js';
6
+ export * from './shared-lib/types/index.js';
7
7
  // Re-export web3 types for convenience
8
8
  export * from '@explorins/web3-types';
9
- export { ErrorCategory } from './shared-lib/errors/base/error-classification-enums';
9
+ export { ErrorCategory } from './shared-lib/errors/base/error-classification-enums.js';
10
10
  // Shared patterns (architecture components)
11
- // export * from './shared-patterns/index';
11
+ // export * from './shared-patterns/index.js';
12
12
  // External consumers should only use the type exports and documented public APIs
13
13
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export * from './validation.decorators';
1
+ export * from './validation.decorators.js';
2
2
  //# sourceMappingURL=index.js.map
@@ -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 { IsString, IsEnum } from "class-validator";
9
- import { AccountOwnerType } from "../enum";
10
- import { OptionalStrip } from '../decorators';
9
+ import { AccountOwnerType } from "../enum/index.js";
10
+ import { OptionalStrip } from '../decorators/index.js';
11
11
  /**
12
12
  * Standard Account Identification for Transaction Participants
13
13
  * Supports multiple identification methods with auto-detection
@@ -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 { TokenBalanceDTO, TokenMetadataBalanceDTO } from "./token/token-balance.dto";
8
+ import { TokenBalanceDTO, TokenMetadataBalanceDTO } from "./token/token-balance.dto.js";
9
9
  export class AccountTokenBalancesDTO {
10
10
  accountAddress = '';
11
11
  tokenBalances = [];
@@ -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, IsEmail, IsString, IsEnum } from 'class-validator';
9
- import { AdminType } from './../../enum/admin-type.enum';
10
- import { OptionalStrip } from '../../decorators';
9
+ import { AdminType } from './../../enum/admin-type.enum.js';
10
+ import { OptionalStrip } from '../../decorators/index.js';
11
11
  export class AdminCreateRequestDTO {
12
12
  email = '';
13
13
  displayName;
@@ -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 { AdminType } from "../../enum/admin-type.enum";
9
- import { TenantDTO } from "./../tenant";
8
+ import { AdminType } from "../../enum/admin-type.enum.js";
9
+ import { TenantDTO } from "./../tenant/index.js";
10
10
  export class AdminDTO {
11
11
  id = '';
12
12
  email = '';
@@ -1,3 +1,3 @@
1
- export * from './admin-create.request.dto';
2
- export * from './admin.dto';
1
+ export * from './admin-create.request.dto.js';
2
+ export * from './admin.dto.js';
3
3
  //# sourceMappingURL=index.js.map
@@ -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 { AiOperationType } from '../../enum/ai-operation-type.enum';
9
- import { AiTriggerProcessType } from '../../enum/ai-trigger-process-type.enum';
8
+ import { AiOperationType } from '../../enum/ai-operation-type.enum.js';
9
+ import { AiTriggerProcessType } from '../../enum/ai-trigger-process-type.enum.js';
10
10
  /**
11
11
  * AI Generation Log DTO
12
12
  *
@@ -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 { IsEnum, IsString, MaxLength } from 'class-validator';
9
- import { AiOperationType } from '../../enum/ai-operation-type.enum';
9
+ import { AiOperationType } from '../../enum/ai-operation-type.enum.js';
10
10
  /**
11
11
  * DTO for a single AI prompt operation configuration.
12
12
  * Implements AiPromptConfig interface with validation decorators.
@@ -1,4 +1,4 @@
1
1
  // AI DTOs Barrel
2
- export * from './ai-generation-log.dto';
3
- export * from './ai-prompt-config.dto';
2
+ export * from './ai-generation-log.dto.js';
3
+ export * from './ai-prompt-config.dto.js';
4
4
  //# sourceMappingURL=index.js.map
@@ -7,10 +7,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
8
8
  import { IsDate, IsOptional, IsString, IsBoolean, IsArray, IsNumber, IsEnum } from 'class-validator';
9
9
  import { Type } from 'class-transformer';
10
- import { SortOrder } from '../../enum/sort-order.enum';
11
- import { AiTriggerProcessType } from '../../enum/ai-trigger-process-type.enum';
12
- import { AiOperationType } from '../../enum/ai-operation-type.enum';
13
- import { AiAnalyticsMetric, AiAnalyticsGroupBy } from '../../enum/ai-analytics-metric.enum';
10
+ import { SortOrder } from '../../enum/sort-order.enum.js';
11
+ import { AiTriggerProcessType } from '../../enum/ai-trigger-process-type.enum.js';
12
+ import { AiOperationType } from '../../enum/ai-operation-type.enum.js';
13
+ import { AiAnalyticsMetric, AiAnalyticsGroupBy } from '../../enum/ai-analytics-metric.enum.js';
14
14
  /**
15
15
  * AI Usage Summary Request DTO
16
16
  *
@@ -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 { IsDateString } from 'class-validator';
9
- import { OptionalStrip } from '../../decorators';
9
+ import { OptionalStrip } from '../../decorators/index.js';
10
10
  /**
11
11
  * BASE ANALYTICS REQUEST
12
12
  *
@@ -7,9 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  import { IsEnum, IsInt, Min, Max, IsDateString, ValidateNested, IsString } from 'class-validator';
8
8
  import { Type } from 'class-transformer';
9
9
  import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
10
- import { SortOrder } from '../../..';
11
- import { NativeTokenTypes } from '../../types/native-token.type';
12
- import { OptionalStrip, OptionalStripNumber } from '../../decorators';
10
+ import { SortOrder } from '../../../index.js';
11
+ import { NativeTokenTypes } from '../../types/native-token.type.js';
12
+ import { OptionalStrip, OptionalStripNumber } from '../../decorators/index.js';
13
13
  /**
14
14
  * BUSINESS RANKING ANALYTICS DTOs
15
15
  *
@@ -7,11 +7,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  import { IsNumber, Min, Max, IsArray, IsString, ValidateNested, IsEnum, IsIn, IsDateString } from 'class-validator';
8
8
  import { Transform, Type } from 'class-transformer';
9
9
  import { ApiProperty, ApiPropertyOptional, OmitType, PartialType } from '@nestjs/swagger';
10
- import { CampaignClaimAnalyticsDTO } from '../analytics/campaign-claim-analytics.dto';
11
- import { SortOrder } from '../../enum';
12
- import { ANALYTICS_METRIC_TYPES } from '../../types/analytics.type';
13
- import { GroupByExpressionDTO } from '../analytics/group-by-expression.dto';
14
- import { OptionalStrip, OptionalStripNumber } from '../../decorators';
10
+ import { CampaignClaimAnalyticsDTO } from '../analytics/campaign-claim-analytics.dto.js';
11
+ import { SortOrder } from '../../enum/index.js';
12
+ import { ANALYTICS_METRIC_TYPES } from '../../types/analytics.type.js';
13
+ import { GroupByExpressionDTO } from '../analytics/group-by-expression.dto.js';
14
+ import { OptionalStrip, OptionalStripNumber } from '../../decorators/index.js';
15
15
  /**
16
16
  * SCALABLE ANALYTICS REQUEST PATTERN
17
17
  *
@@ -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, ApiPropertyOptional } from "@nestjs/swagger";
8
- import { ProcessRecordStatus } from "../../enum";
9
- import { UserDTO } from "../user/user.dto";
10
- import { CampaignDTO } from "../campaign/campaign.dto";
11
- import { BusinessDTO } from "../business/business.dto";
12
- import { TriggerSourceDTO } from "../campaign/trigger-source.dto";
8
+ import { ProcessRecordStatus } from "../../enum/index.js";
9
+ import { UserDTO } from "../user/user.dto.js";
10
+ import { CampaignDTO } from "../campaign/campaign.dto.js";
11
+ import { BusinessDTO } from "../business/business.dto.js";
12
+ import { TriggerSourceDTO } from "../campaign/trigger-source.dto.js";
13
13
  /**
14
14
  * Campaign Claim Analytics DTO
15
15
  *
@@ -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 { IsString } from "class-validator";
9
- import { AccountOwnerType } from "../../enum";
10
- import { OptionalStrip } from '../../decorators';
9
+ import { AccountOwnerType } from "../../enum/index.js";
10
+ import { OptionalStrip } from '../../decorators/index.js';
11
11
  export class GroupByExpressionDTO {
12
12
  expression;
13
13
  alias;
@@ -1,10 +1,10 @@
1
- export * from './base-analytics.dto';
2
- export * from './business-ranking-analytics.dto';
3
- export * from './campaign-claim-analytics.dto';
4
- export * from './campaign-claim-analytics-request.dto';
5
- export * from './group-by-expression.dto';
6
- export * from './retention-analytics.dto';
7
- export * from './tag-analytics.dto';
8
- export * from './user-ranking-analytics.dto';
9
- export * from './ai-analytics.dto';
1
+ export * from './base-analytics.dto.js';
2
+ export * from './business-ranking-analytics.dto.js';
3
+ export * from './campaign-claim-analytics.dto.js';
4
+ export * from './campaign-claim-analytics-request.dto.js';
5
+ export * from './group-by-expression.dto.js';
6
+ export * from './retention-analytics.dto.js';
7
+ export * from './tag-analytics.dto.js';
8
+ export * from './user-ranking-analytics.dto.js';
9
+ export * from './ai-analytics.dto.js';
10
10
  //# sourceMappingURL=index.js.map
@@ -7,9 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  import { IsEnum, IsInt, Min, Max, IsDateString, ValidateNested } from 'class-validator';
8
8
  import { Type } from 'class-transformer';
9
9
  import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
10
- import { NativeTokenTypes } from '../../types/native-token.type';
11
- import { OptionalStrip, OptionalStripNumber } from '../../decorators';
12
- import { TransactionTriggerProcessType } from '../../enum';
10
+ import { NativeTokenTypes } from '../../types/native-token.type.js';
11
+ import { OptionalStrip, OptionalStripNumber } from '../../decorators/index.js';
12
+ import { TransactionTriggerProcessType } from '../../enum/index.js';
13
13
  /**
14
14
  * RETENTION ANALYTICS DTOs
15
15
  *
@@ -7,12 +7,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  import { IsIn, IsNumber, IsString, IsObject, IsDateString, Min, Max, IsArray, ValidateNested, IsEnum } from 'class-validator';
8
8
  import { Transform, Type } from 'class-transformer';
9
9
  import { ApiProperty, ApiPropertyOptional, OmitType, PartialType } from '@nestjs/swagger';
10
- import { TransactionDTO } from '../transaction/transaction.dto';
11
- import { SortOrder, AccountOwnerType } from '../../enum';
12
- import { ANALYTICS_METRIC_TYPES } from '../../types/analytics.type';
13
- import { GroupByExpressionDTO } from './group-by-expression.dto';
14
- import { NativeTokenTypes } from '../../types/native-token.type';
15
- import { OptionalStrip, OptionalStripNumber } from '../../decorators';
10
+ import { TransactionDTO } from '../transaction/transaction.dto.js';
11
+ import { SortOrder, AccountOwnerType } from '../../enum/index.js';
12
+ import { ANALYTICS_METRIC_TYPES } from '../../types/analytics.type.js';
13
+ import { GroupByExpressionDTO } from './group-by-expression.dto.js';
14
+ import { NativeTokenTypes } from '../../types/native-token.type.js';
15
+ import { OptionalStrip, OptionalStripNumber } from '../../decorators/index.js';
16
16
  /**
17
17
  * Type-safe filters for transaction analytics
18
18
  * All fields optional via PartialType
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
8
8
  import { IsDateString, ValidateNested } from 'class-validator';
9
9
  import { Type } from 'class-transformer';
10
- import { OptionalStrip } from '../../decorators';
10
+ import { OptionalStrip } from '../../decorators/index.js';
11
11
  /**
12
12
  * USER ANALYTICS FILTERS DTO
13
13
  *
@@ -7,9 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
8
8
  import { IsDateString, IsEnum, IsNumber, ValidateNested, Min, Max } from 'class-validator';
9
9
  import { Type } from 'class-transformer';
10
- import { SortOrder } from '../../enum';
11
- import { NativeTokenTypes } from '../../types/native-token.type';
12
- import { OptionalStrip, OptionalStripNumber } from '../../decorators';
10
+ import { SortOrder } from '../../enum/index.js';
11
+ import { NativeTokenTypes } from '../../types/native-token.type.js';
12
+ import { OptionalStrip, OptionalStripNumber } from '../../decorators/index.js';
13
13
  /**
14
14
  * USER RANKING FILTERS DTO
15
15
  *
@@ -7,7 +7,7 @@ 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 { IsBoolean, IsOptional, ValidateNested } from "class-validator";
10
- import { ApiKeyDTO } from "./api-key.dto";
10
+ import { ApiKeyDTO } from "./api-key.dto.js";
11
11
  export class ApiKeyVerificationRequestDTO {
12
12
  /** JWT token to verify */
13
13
  authToken;
@@ -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 { IsEnum, IsString, IsDateString, IsUUID, IsOptional } from 'class-validator';
9
- import { ApiKeyType } from './../../enum/api-key-type.enum';
9
+ import { ApiKeyType } from './../../enum/api-key-type.enum.js';
10
10
  /**
11
11
  * API Key DTO - Standard response format for API key information
12
12
  * Contains safe, non-sensitive API key metadata for client consumption
@@ -1,4 +1,4 @@
1
- export * from './api-key.dto';
2
- export * from './api-key.request.dto';
3
- export * from './api-key-verification.dto';
1
+ export * from './api-key.dto.js';
2
+ export * from './api-key.request.dto.js';
3
+ export * from './api-key-verification.dto.js';
4
4
  //# sourceMappingURL=index.js.map
@@ -7,11 +7,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
8
8
  import { IsNotEmpty, IsString, ValidateNested, IsEnum } from "class-validator";
9
9
  import { Type } from "class-transformer";
10
- import { UserDTO } from "../user/user.dto";
11
- import { BusinessDTO } from "../business";
12
- import { AccountOwnerType } from "../../enum";
13
- import { AdminDTO } from "../admin";
14
- import { OptionalStrip } from '../../decorators';
10
+ import { UserDTO } from "../user/user.dto.js";
11
+ import { BusinessDTO } from "../business/index.js";
12
+ import { AccountOwnerType } from "../../enum/index.js";
13
+ import { AdminDTO } from "../admin/index.js";
14
+ import { OptionalStrip } from '../../decorators/index.js';
15
15
  /**
16
16
  * Auth Context DTO
17
17
  *
@@ -1,3 +1,3 @@
1
- export * from './auth-token-verification.dto';
2
- export * from './auth.dto';
1
+ export * from './auth-token-verification.dto.js';
2
+ export * from './auth.dto.js';
3
3
  //# sourceMappingURL=index.js.map
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  import { ApiProperty } from "@nestjs/swagger";
8
8
  import { IsNotEmpty, IsString, IsArray, ValidateNested } from "class-validator";
9
9
  import { Type } from 'class-transformer';
10
- import { BusinessUpdateRequestDTO } from "./business-update.request.dto";
10
+ import { BusinessUpdateRequestDTO } from "./business-update.request.dto.js";
11
11
  export class BusinessCreateRequestDTO extends BusinessUpdateRequestDTO {
12
12
  displayName = '';
13
13
  }
@@ -6,10 +6,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  };
7
7
  import { ApiProperty, ApiPropertyOptional, getSchemaPath } from "@nestjs/swagger";
8
8
  import { IsEnum, IsNotEmpty, IsUUID } from "class-validator";
9
- import { MembershipRole } from "../../enum/membership-role.enum";
10
- import { OptionalNullify } from "../../decorators";
11
- import { UserDTO } from "../user/user.dto";
12
- import { BusinessDTO } from "./business.dto";
9
+ import { MembershipRole } from "../../enum/membership-role.enum.js";
10
+ import { OptionalNullify } from "../../decorators/index.js";
11
+ import { UserDTO } from "../user/user.dto.js";
12
+ import { BusinessDTO } from "./business.dto.js";
13
13
  /**
14
14
  * Business Membership DTO
15
15
  *
@@ -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 { IsNumber } from 'class-validator';
9
- import { OptionalStripNumber } from '../../decorators';
9
+ import { OptionalStripNumber } from '../../decorators/index.js';
10
10
  export class BusinessTypeDTO {
11
11
  id;
12
12
  name = 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 { IsString, IsEmail, IsUrl, IsNumber, IsArray } from 'class-validator';
9
- import { OptionalNullify, OptionalNullifyNumber, OptionalStrip } from '../../decorators';
9
+ import { OptionalNullify, OptionalNullifyNumber, OptionalStrip } from '../../decorators/index.js';
10
10
  export class BusinessUpdateRequestDTO {
11
11
  email;
12
12
  businessLegalName;
@@ -6,9 +6,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  };
7
7
  import { ApiProperty } from "@nestjs/swagger";
8
8
  import { Type } from "class-transformer";
9
- import { TokenBalanceDTO } from "../token/token-balance.dto";
10
- import { BusinessTypeDTO } from "./business-type.dto";
11
- import { PublicWalletDTO } from "../wallet.dto";
9
+ import { TokenBalanceDTO } from "../token/token-balance.dto.js";
10
+ import { BusinessTypeDTO } from "./business-type.dto.js";
11
+ import { PublicWalletDTO } from "../wallet.dto.js";
12
12
  export class BusinessDTO {
13
13
  id = '';
14
14
  /* @ApiProperty()
@@ -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, IsBoolean } from 'class-validator';
9
- import { OptionalStrip } from '../../decorators';
9
+ import { OptionalStrip } from '../../decorators/index.js';
10
10
  export class BusinessToggleActiveRequestDTO {
11
11
  isActive = false;
12
12
  /* @ApiPropertyOptional()
@@ -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 BusinessTypeCreateRequestDTO {
11
11
  name;
12
12
  description;
@@ -1,10 +1,10 @@
1
1
  // Business DTOs
2
- export * from './business.dto';
3
- export * from './business-type.dto';
4
- export * from './business-membership.dto';
5
- export * from './business-create.request.dto';
6
- export * from './business-update.request.dto';
7
- export * from './businessSetAllAsTokenMinter.request.dto';
8
- export * from './businessToggleActive.request.dto';
9
- export * from './businessTypeCreate.request.dto';
2
+ export * from './business.dto.js';
3
+ export * from './business-type.dto.js';
4
+ export * from './business-membership.dto.js';
5
+ export * from './business-create.request.dto.js';
6
+ export * from './business-update.request.dto.js';
7
+ export * from './businessSetAllAsTokenMinter.request.dto.js';
8
+ export * from './businessToggleActive.request.dto.js';
9
+ export * from './businessTypeCreate.request.dto.js';
10
10
  //# sourceMappingURL=index.js.map
@@ -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, IsArray, IsUUID, IsString, IsNumber, IsUrl } from 'class-validator';
9
- import { OptionalStrip, OptionalStripNumber } from '../../decorators';
9
+ import { OptionalStrip, OptionalStripNumber } from '../../decorators/index.js';
10
10
  export class CampaignBusinessEngagementCreateRequestDTO {
11
11
  businessIds = [];
12
12
  shortDescription;
@@ -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, ApiPropertyOptional, getSchemaPath } from "@nestjs/swagger";
8
- import { CampaignBusinessEngagementDTO } from "./campaign-business-engagement.dto";
9
- import { TokenUnitDTO } from "../token/token-unit.dto";
10
- import { TriggerSourceDTO } from "./trigger-source.dto";
11
- import { CampaignTriggerDTO } from "./campaignTrigger.dto";
12
- import { BusinessDTO } from "../business/business.dto";
8
+ import { CampaignBusinessEngagementDTO } from "./campaign-business-engagement.dto.js";
9
+ import { TokenUnitDTO } from "../token/token-unit.dto.js";
10
+ import { TriggerSourceDTO } from "./trigger-source.dto.js";
11
+ import { CampaignTriggerDTO } from "./campaignTrigger.dto.js";
12
+ import { BusinessDTO } from "../business/business.dto.js";
13
13
  /**
14
14
  * Campaign DTO
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 { IsUUID, IsObject, IsNumber, IsString } from 'class-validator';
9
- import { OptionalStrip, OptionalStripNumber } from '../../decorators';
9
+ import { OptionalStrip, OptionalStripNumber } from '../../decorators/index.js';
10
10
  export class CampaignClaimRequestDTO {
11
11
  triggerSourceId;
12
12
  metadata;
@@ -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, IsString } from 'class-validator';
9
- import { CampaignUpdateRequestDTO } from './campaignUpdate.request.dto';
9
+ import { CampaignUpdateRequestDTO } from './campaignUpdate.request.dto.js';
10
10
  /**
11
11
  * DTO for creating a new campaign.
12
12
  * Extends CampaignUpdateRequestDTO with required `name` field.
@@ -7,10 +7,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
8
8
  import { IsNotEmpty, IsString, IsNumber, IsEnum, IsArray, ValidateNested } from 'class-validator';
9
9
  import { Type } from 'class-transformer';
10
- import { CampaignTriggerType } from "../../enum/campaign/campaignTriggerType.enum";
11
- import { CampaignTriggerConditionDTO } from "./campaignTriggerCondition.dto";
12
- import { SOURCE_LOGIC_TYPES, SOURCE_LOGIC_TYPE_VALUES } from "../../enum/campaign/trigger-source-type.enum";
13
- import { OptionalStrip, OptionalNullifyNumber } from '../../decorators';
10
+ import { CampaignTriggerType } from "../../enum/campaign/campaignTriggerType.enum.js";
11
+ import { CampaignTriggerConditionDTO } from "./campaignTriggerCondition.dto.js";
12
+ import { SOURCE_LOGIC_TYPES, SOURCE_LOGIC_TYPE_VALUES } from "../../enum/campaign/trigger-source-type.enum.js";
13
+ import { OptionalStrip, OptionalNullifyNumber } from '../../decorators/index.js';
14
14
  export class CampaignTriggerUpdateRequestDTO {
15
15
  name;
16
16
  description;
@@ -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, IsEnum, IsString } from 'class-validator';
9
- import { CampaignConditionType } from "../../enum/campaign/campaignConditionType.enum";
9
+ import { CampaignConditionType } from "../../enum/campaign/campaignConditionType.enum.js";
10
10
  export class CampaignTriggerConditionDTO {
11
11
  conditionType = CampaignConditionType.EQUALS;
12
12
  value = '';
@@ -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, IsDateString, IsUrl, IsNumber, IsArray, ValidateIf } from 'class-validator';
9
- import { OptionalNullify, OptionalNullifyNumber, OptionalStrip } from '../../decorators';
9
+ import { OptionalNullify, OptionalNullifyNumber, OptionalStrip } from '../../decorators/index.js';
10
10
  /**
11
11
  * DTO for updating an existing campaign.
12
12
  * All fields are optional - only provided fields will be updated.
@@ -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