@explorins/pers-shared 2.1.97 → 2.1.98
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/user.dto.d.ts +9 -0
- package/dist/cjs/shared-lib/dto/user/user.dto.d.ts.map +1 -1
- package/dist/cjs/shared-lib/dto/user/user.dto.js +35 -0
- package/dist/cjs/shared-lib/dto/user/user.dto.js.map +1 -1
- package/dist/cjs/shared-lib/dto/user-status-type.dto.d.ts +1 -2
- 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 +12 -16
- package/dist/cjs/shared-lib/dto/user-status-type.dto.js.map +1 -1
- package/dist/cjs/shared-lib/enum/balance-migration-type.enum.d.ts +13 -0
- package/dist/cjs/shared-lib/enum/balance-migration-type.enum.d.ts.map +1 -0
- package/dist/cjs/shared-lib/enum/balance-migration-type.enum.js +17 -0
- package/dist/cjs/shared-lib/enum/balance-migration-type.enum.js.map +1 -0
- package/dist/cjs/shared-lib/enum/index.d.ts +1 -0
- package/dist/cjs/shared-lib/enum/index.d.ts.map +1 -1
- package/dist/cjs/shared-lib/enum/index.js +1 -0
- package/dist/cjs/shared-lib/enum/index.js.map +1 -1
- package/dist/cjs/shared-lib/interfaces/balance-filter-options.interface.d.ts +43 -0
- package/dist/cjs/shared-lib/interfaces/balance-filter-options.interface.d.ts.map +1 -0
- package/dist/cjs/shared-lib/interfaces/balance-filter-options.interface.js +3 -0
- package/dist/cjs/shared-lib/interfaces/balance-filter-options.interface.js.map +1 -0
- package/dist/cjs/shared-lib/interfaces/index.d.ts +1 -0
- package/dist/cjs/shared-lib/interfaces/index.d.ts.map +1 -1
- package/dist/cjs/shared-lib/interfaces/index.js +1 -0
- package/dist/cjs/shared-lib/interfaces/index.js.map +1 -1
- package/dist/cjs/shared-lib/interfaces/token-storage-data.interface.d.ts +5 -1
- package/dist/cjs/shared-lib/interfaces/token-storage-data.interface.d.ts.map +1 -1
- package/dist/cjs/shared-lib/interfaces/token-storage-data.interface.js +4 -0
- package/dist/cjs/shared-lib/interfaces/token-storage-data.interface.js.map +1 -1
- package/dist/cjs/shared-lib/types/index.d.ts +1 -0
- package/dist/cjs/shared-lib/types/index.d.ts.map +1 -1
- package/dist/cjs/shared-lib/types/index.js +1 -0
- package/dist/cjs/shared-lib/types/index.js.map +1 -1
- package/dist/cjs/shared-lib/types/user-include-relation.type.d.ts +11 -0
- package/dist/cjs/shared-lib/types/user-include-relation.type.d.ts.map +1 -0
- package/dist/cjs/shared-lib/types/user-include-relation.type.js +16 -0
- package/dist/cjs/shared-lib/types/user-include-relation.type.js.map +1 -0
- package/dist/cjs/shared-lib/value-objects/token-balance.value-object.d.ts +18 -1
- package/dist/cjs/shared-lib/value-objects/token-balance.value-object.d.ts.map +1 -1
- package/dist/cjs/shared-lib/value-objects/token-balance.value-object.js +24 -2
- package/dist/cjs/shared-lib/value-objects/token-balance.value-object.js.map +1 -1
- package/dist/cjs/shared-patterns/functions/helper.functions.d.ts +71 -0
- package/dist/cjs/shared-patterns/functions/helper.functions.d.ts.map +1 -0
- package/dist/cjs/shared-patterns/functions/helper.functions.js +185 -0
- package/dist/cjs/shared-patterns/functions/helper.functions.js.map +1 -0
- 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.d.ts +9 -0
- package/dist/esm/shared-lib/dto/user/user.dto.d.ts.map +1 -1
- package/dist/esm/shared-lib/dto/user/user.dto.js +37 -3
- package/dist/esm/shared-lib/dto/user/user.dto.js.map +1 -1
- 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 -2
- 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 +12 -15
- 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/balance-migration-type.enum.d.ts +13 -0
- package/dist/esm/shared-lib/enum/balance-migration-type.enum.d.ts.map +1 -0
- package/dist/esm/shared-lib/enum/balance-migration-type.enum.js +14 -0
- package/dist/esm/shared-lib/enum/balance-migration-type.enum.js.map +1 -0
- package/dist/esm/shared-lib/enum/campaign/index.js +3 -3
- package/dist/esm/shared-lib/enum/index.d.ts +1 -0
- package/dist/esm/shared-lib/enum/index.d.ts.map +1 -1
- package/dist/esm/shared-lib/enum/index.js +28 -27
- package/dist/esm/shared-lib/enum/index.js.map +1 -1
- 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/balance-filter-options.interface.d.ts +43 -0
- package/dist/esm/shared-lib/interfaces/balance-filter-options.interface.d.ts.map +1 -0
- package/dist/esm/shared-lib/interfaces/balance-filter-options.interface.js +2 -0
- package/dist/esm/shared-lib/interfaces/balance-filter-options.interface.js.map +1 -0
- package/dist/esm/shared-lib/interfaces/campaign/index.js +1 -1
- package/dist/esm/shared-lib/interfaces/index.d.ts +1 -0
- package/dist/esm/shared-lib/interfaces/index.d.ts.map +1 -1
- package/dist/esm/shared-lib/interfaces/index.js +21 -20
- package/dist/esm/shared-lib/interfaces/index.js.map +1 -1
- package/dist/esm/shared-lib/interfaces/token-storage-data.interface.d.ts +5 -1
- package/dist/esm/shared-lib/interfaces/token-storage-data.interface.d.ts.map +1 -1
- package/dist/esm/shared-lib/interfaces/token-storage-data.interface.js +4 -0
- package/dist/esm/shared-lib/interfaces/token-storage-data.interface.js.map +1 -1
- package/dist/esm/shared-lib/types/index.d.ts +1 -0
- package/dist/esm/shared-lib/types/index.d.ts.map +1 -1
- package/dist/esm/shared-lib/types/index.js +15 -14
- package/dist/esm/shared-lib/types/index.js.map +1 -1
- package/dist/esm/shared-lib/types/user-include-relation.type.d.ts +11 -0
- package/dist/esm/shared-lib/types/user-include-relation.type.d.ts.map +1 -0
- package/dist/esm/shared-lib/types/user-include-relation.type.js +12 -0
- package/dist/esm/shared-lib/types/user-include-relation.type.js.map +1 -0
- 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.d.ts +18 -1
- package/dist/esm/shared-lib/value-objects/token-balance.value-object.d.ts.map +1 -1
- package/dist/esm/shared-lib/value-objects/token-balance.value-object.js +24 -2
- package/dist/esm/shared-lib/value-objects/token-balance.value-object.js.map +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.d.ts +71 -0
- package/dist/esm/shared-patterns/functions/helper.functions.d.ts.map +1 -0
- package/dist/esm/shared-patterns/functions/helper.functions.js +174 -0
- package/dist/esm/shared-patterns/functions/helper.functions.js.map +1 -0
- package/package.json +1 -1
|
@@ -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";
|
|
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";
|
|
10
|
+
import { OptionalNullify } from "../../decorators";
|
|
11
|
+
import { UserDTO } from "../user/user.dto";
|
|
12
|
+
import { BusinessDTO } from "./business.dto";
|
|
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';
|
|
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';
|
|
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";
|
|
10
|
+
import { BusinessTypeDTO } from "./business-type.dto";
|
|
11
|
+
import { PublicWalletDTO } from "../wallet.dto";
|
|
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';
|
|
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';
|
|
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';
|
|
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';
|
|
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';
|
|
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";
|
|
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";
|
|
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';
|
|
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';
|
|
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";
|
|
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';
|
|
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";
|
|
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';
|
|
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";
|
|
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";
|
|
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";
|
|
10
|
+
import { OptionalNullify, OptionalNullifyNumber, OptionalStrip } from '../../decorators';
|
|
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";
|
|
9
|
+
import { CommonErrorCodes } from "../errors/error-codes";
|
|
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';
|
|
10
|
+
import { SignedUrlType } from '../../enum/signed-url-type.enum';
|
|
11
|
+
import { OptionalStrip } from '../../decorators';
|
|
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';
|
|
2
|
+
export * from './create-signed-url-response.dto';
|
|
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';
|
|
5
5
|
// Analytics DTOs
|
|
6
|
-
export * from './analytics
|
|
6
|
+
export * from './analytics';
|
|
7
7
|
// Auth DTOs
|
|
8
|
-
export * from './auth
|
|
8
|
+
export * from './auth';
|
|
9
9
|
// Business DTOs
|
|
10
|
-
export * from './business
|
|
11
|
-
export * from './file
|
|
10
|
+
export * from './business';
|
|
11
|
+
export * from './file';
|
|
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';
|
|
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';
|
|
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';
|
|
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';
|
|
25
25
|
// Token DTOs
|
|
26
|
-
export * from './token
|
|
26
|
+
export * from './token';
|
|
27
27
|
// Transaction DTOs
|
|
28
|
-
export * from './transaction
|
|
28
|
+
export * from './transaction';
|
|
29
29
|
// Purchase DTOs
|
|
30
|
-
export * from './purchase
|
|
30
|
+
export * from './purchase';
|
|
31
31
|
// Redemption DTOs
|
|
32
|
-
export * from './redemption
|
|
33
|
-
export * from './api-key
|
|
32
|
+
export * from './redemption';
|
|
33
|
+
export * from './api-key';
|
|
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';
|
|
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';
|
|
45
45
|
// Signing Account DTOs
|
|
46
|
-
export * from './signing-account
|
|
46
|
+
export * from './signing-account';
|
|
47
47
|
// Account Selector
|
|
48
|
-
export * from './account-selector.dto
|
|
48
|
+
export * from './account-selector.dto';
|
|
49
49
|
// Pagination
|
|
50
|
-
export * from './pagination
|
|
51
|
-
export * from './item-supply.dto
|
|
50
|
+
export * from './pagination';
|
|
51
|
+
export * from './item-supply.dto';
|
|
52
52
|
// Admin DTOs
|
|
53
|
-
export * from './admin
|
|
53
|
+
export * from './admin';
|
|
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';
|
|
2
|
+
export * from './pagination.request.dto';
|
|
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';
|
|
11
|
+
import { OptionalStrip, OptionalStripNumber } from '../../decorators';
|
|
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';
|
|
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';
|
|
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";
|
|
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';
|
|
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";
|
|
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';
|
|
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";
|
|
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
|
|
6
|
-
export * from './redemptionType.dto
|
|
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';
|
|
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";
|
|
9
|
+
import { TokenUnitDTO } from "../token/token-unit.dto";
|
|
10
|
+
import { UserStatusTypeDTO } from "../user-status-type.dto";
|
|
11
|
+
import { ItemSupply } from "../item-supply.dto";
|
|
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';
|
|
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";
|
|
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";
|
|
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';
|
|
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';
|
|
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';
|
|
11
|
+
import { OptionalStrip } from '../../decorators';
|
|
12
|
+
// import { SigningAccountProvider } from '../../enum/signing-account-provider.enum';
|
|
13
|
+
// import { NetworkType } from '../../enum/crypto.enum';
|
|
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';
|
|
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';
|
|
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";
|
|
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';
|
|
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';
|
|
2
|
+
export * from './tenantCreate.request.dto';
|
|
3
|
+
export * from './tenantUpdate.request.dto';
|
|
4
|
+
export * from './tenant-client-config.dto';
|
|
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";
|
|
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';
|
|
10
10
|
export class TenantUpdateRequestDTO {
|
|
11
11
|
projectName;
|
|
12
12
|
projectDescription;
|