@xoxno/types 1.0.151 → 1.0.154

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 (26) hide show
  1. package/dist/cosmos-db/documents/collection/mintProfile.d.ts +2 -2
  2. package/dist/cosmos-db/documents/collection/mintProfile.js +10 -0
  3. package/dist/cosmos-db/documents/collection/profile.js +4 -0
  4. package/dist/cosmos-db/documents/lending/lending-account-profile.js +2 -1
  5. package/dist/cosmos-db/documents/lending/lending-emode-category-profile.doc.d.ts +2 -2
  6. package/dist/cosmos-db/documents/short/short-collection-info.doc.d.ts +3 -2
  7. package/dist/cosmos-db/documents/short/short-collection.doc.d.ts +3 -2
  8. package/dist/cosmos-db/documents/short/short-creator.doc.d.ts +3 -2
  9. package/dist/cosmos-db/documents/short/short-nft-collection-info.doc.d.ts +3 -2
  10. package/dist/cosmos-db/documents/short/short-nft.doc.d.ts +3 -2
  11. package/dist/cosmos-db/documents/short/short-voucher.doc.d.ts +3 -2
  12. package/dist/cosmos-db/documents/ticketing/event-guest.doc.d.ts +5 -1
  13. package/dist/cosmos-db/documents/ticketing/event-guest.doc.js +5 -2
  14. package/dist/cosmos-db/documents/ticketing/event-question-answer.doc.d.ts +2 -2
  15. package/dist/cosmos-db/documents/ticketing/event-referral-config-edit.dto.d.ts +3 -2
  16. package/dist/cosmos-db/documents/ticketing/event-stage-profile-edit.dto.d.ts +3 -2
  17. package/dist/cosmos-db/documents/ticketing/event-ticket-profile-edit.dto.d.ts +3 -2
  18. package/dist/cosmos-db/documents/ticketing/event-ticket-profile.doc.d.ts +2 -2
  19. package/dist/cosmos-db/documents/ticketing/event-voucher-create.dto.d.ts +3 -2
  20. package/dist/cosmos-db/documents/ticketing/event-voucher-edit.dto.d.ts +3 -2
  21. package/dist/entities/staking-data/staking-summary.dto.d.ts +3 -2
  22. package/dist/entities/transactions/transaction-send-result.d.ts +2 -2
  23. package/dist/requests/collection/collections.d.ts +3 -2
  24. package/dist/requests/user-data/creator-profile.dto.d.ts +2 -2
  25. package/dist/requests/user-data/me-profile.d.ts +2 -2
  26. package/package.json +2 -1
@@ -41,7 +41,7 @@ export declare class CollectionMintProfileDocHydrated extends CollectionMintProf
41
41
  collectionInfo: ShortCollectionInfoDoc;
42
42
  creatorInfo: ShortCreatorDoc;
43
43
  }
44
- declare type CollectionMintProfileDocWithStages_base = Type<Pick<T, K>>;
44
+ declare type CollectionMintProfileDocWithStages_base = Pick<CollectionMintProfileDocHydrated, "collectionSize" | "collectionInfo" | "contractAddress" | "collectionTag" | "nftTransferLimited" | "hasBotProtection" | "kycRequired" | "totalNftMinted" | "cid" | "mediaType" | "globalWalletLimit" | "hasAttributes">;
45
45
  export declare type CollectionMintProfileDocWithStages = CollectionMintProfileDocWithStages_base & {
46
46
  collection: string;
47
47
  isExcludedFromMint: boolean;
@@ -49,7 +49,7 @@ export declare type CollectionMintProfileDocWithStages = CollectionMintProfileDo
49
49
  mintStages: MintStageDto[];
50
50
  creatorInfo: CreatorProfileDoc;
51
51
  };
52
- declare const CollectionMintProfileDocWithStagesNest_base: Type<Pick<T, K>>;
52
+ declare const CollectionMintProfileDocWithStagesNest_base: import("@nestjs/common").Type<Pick<CollectionMintProfileDocHydrated, "collectionSize" | "collectionInfo" | "contractAddress" | "collectionTag" | "nftTransferLimited" | "hasBotProtection" | "kycRequired" | "totalNftMinted" | "cid" | "mediaType" | "globalWalletLimit" | "hasAttributes">>;
53
53
  export declare class CollectionMintProfileDocWithStagesNest extends CollectionMintProfileDocWithStagesNest_base {
54
54
  collection: string;
55
55
  isExcludedFromMint: boolean;
@@ -13,6 +13,8 @@ exports.CollectionMintProfileDocWithStages = exports.CollectionMintProfileDocHyd
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const tokenPayent_1 = require("../../../common/tokenPayent");
15
15
  const collection_enum_1 = require("../../../enums/collection.enum");
16
+ const short_collection_info_doc_1 = require("../short/short-collection-info.doc");
17
+ const short_creator_doc_1 = require("../short/short-creator.doc");
16
18
  class CollectionMintProfileDoc {
17
19
  constructor(props) {
18
20
  this.dataType = collection_enum_1.CollectionDataType.MintProfile;
@@ -242,6 +244,14 @@ __decorate([
242
244
  class CollectionMintProfileDocHydrated extends CollectionMintProfileDoc {
243
245
  }
244
246
  exports.CollectionMintProfileDocHydrated = CollectionMintProfileDocHydrated;
247
+ __decorate([
248
+ (0, swagger_1.ApiProperty)(),
249
+ __metadata("design:type", short_collection_info_doc_1.ShortCollectionInfoDoc)
250
+ ], CollectionMintProfileDocHydrated.prototype, "collectionInfo", void 0);
251
+ __decorate([
252
+ (0, swagger_1.ApiProperty)(),
253
+ __metadata("design:type", short_creator_doc_1.ShortCreatorDoc)
254
+ ], CollectionMintProfileDocHydrated.prototype, "creatorInfo", void 0);
245
255
  class CollectionMintProfileDocWithStages extends (0, swagger_1.PickType)(CollectionMintProfileDocHydrated, [
246
256
  'contractAddress',
247
257
  'collectionTag',
@@ -241,6 +241,10 @@ __decorate([
241
241
  (0, swagger_1.ApiProperty)({
242
242
  description: 'Roles associated with the collection',
243
243
  type: 'object',
244
+ additionalProperties: {
245
+ type: 'array',
246
+ items: { type: 'string' },
247
+ },
244
248
  example: { ESDTRoleNFTCreate: ['erd1...'] },
245
249
  }),
246
250
  __metadata("design:type", Object)
@@ -13,6 +13,7 @@ exports.LendingAccountProfile = exports.LendingAccountProfileDoc = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const lending_data_type_enum_1 = require("../../../enums/lending-data-type.enum");
15
15
  const lending_emode_category_profile_doc_1 = require("./lending-emode-category-profile.doc");
16
+ const lending_market_profile_doc_1 = require("./lending-market-profile.doc");
16
17
  const lending_enum_1 = require("../../../enums/lending.enum");
17
18
  class LendingAccountProfileDoc {
18
19
  constructor(props) {
@@ -258,7 +259,7 @@ __decorate([
258
259
  __decorate([
259
260
  (0, swagger_1.ApiProperty)({
260
261
  description: 'Lending market partial profile',
261
- // type: PickType(LendingMarketProfile, selectFields),
262
+ type: (0, swagger_1.PickType)(lending_market_profile_doc_1.LendingMarketProfile, selectFields),
262
263
  }),
263
264
  __metadata("design:type", Object)
264
265
  ], LendingAccountProfile.prototype, "marketProfile", void 0);
@@ -12,9 +12,9 @@ export declare class LendingEModeCategoryProfileDoc {
12
12
  _ts?: number;
13
13
  constructor(props?: Partial<LendingEModeCategoryProfileDoc>);
14
14
  }
15
- declare type ShortLendingTokenEModeProfileDoc_base = Type<Pick<T, K>>;
15
+ declare type ShortLendingTokenEModeProfileDoc_base = Pick<LendingTokenEModeProfileDoc, "token" | "canBeCollateral" | "canBeBorrowed" | "eModeCategory">;
16
16
  export declare type ShortLendingTokenEModeProfileDoc = ShortLendingTokenEModeProfileDoc_base ;
17
- declare const ShortLendingTokenEModeProfileDocNest_base: Type<Pick<T, K>>;
17
+ declare const ShortLendingTokenEModeProfileDocNest_base: import("@nestjs/common").Type<Pick<LendingTokenEModeProfileDoc, "token" | "canBeCollateral" | "canBeBorrowed" | "eModeCategory">>;
18
18
  export declare class ShortLendingTokenEModeProfileDocNest extends ShortLendingTokenEModeProfileDocNest_base {
19
19
  }
20
20
  export declare class LendingEModeCategoryProfile extends LendingEModeCategoryProfileDoc {
@@ -1,8 +1,9 @@
1
- declare type ShortCollectionInfoDoc_base = Type<Pick<T, K>>;
1
+ import { CollectionProfileDoc } from '../collection/profile';
2
+ declare type ShortCollectionInfoDoc_base = Pick<CollectionProfileDoc, "description" | "profile" | "followCount" | "holdersCount" | "name" | "isVisible" | "isVerified" | "socials" | "banner" | "chain" | "owner" | "collectionSize">;
2
3
  export declare type ShortCollectionInfoDoc = ShortCollectionInfoDoc_base & {
3
4
  volume: number;
4
5
  };
5
- declare const ShortCollectionInfoDocNest_base: Type<Pick<T, K>>;
6
+ declare const ShortCollectionInfoDocNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "profile" | "followCount" | "holdersCount" | "name" | "isVisible" | "isVerified" | "socials" | "banner" | "chain" | "owner" | "collectionSize">>;
6
7
  export declare class ShortCollectionInfoDocNest extends ShortCollectionInfoDocNest_base {
7
8
  volume: number;
8
9
  }
@@ -1,6 +1,7 @@
1
- declare type ShortCollectionDoc_base = Type<Pick<T, K>>;
1
+ import { CollectionProfileDoc } from '../collection/profile';
2
+ declare type ShortCollectionDoc_base = Pick<CollectionProfileDoc, "description" | "profile" | "followCount" | "holdersCount" | "name" | "isVisible" | "isVerified" | "chain" | "collectionSize">;
2
3
  export declare type ShortCollectionDoc = ShortCollectionDoc_base ;
3
- declare const ShortCollectionDocNest_base: Type<Pick<T, K>>;
4
+ declare const ShortCollectionDocNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "profile" | "followCount" | "holdersCount" | "name" | "isVisible" | "isVerified" | "chain" | "collectionSize">>;
4
5
  export declare class ShortCollectionDocNest extends ShortCollectionDocNest_base {
5
6
  }
6
7
  export {};
@@ -1,6 +1,7 @@
1
- declare type ShortCreatorDoc_base = Type<Pick<T, K>>;
1
+ import { CreatorProfileDoc } from '../user/user-creator-profile.doc';
2
+ declare type ShortCreatorDoc_base = Pick<CreatorProfileDoc, "profile" | "name" | "contractAddress">;
2
3
  export declare type ShortCreatorDoc = ShortCreatorDoc_base ;
3
- declare const ShortCreatorDocNest_base: Type<Pick<T, K>>;
4
+ declare const ShortCreatorDocNest_base: import("@nestjs/common").Type<Pick<CreatorProfileDoc, "profile" | "name" | "contractAddress">>;
4
5
  export declare class ShortCreatorDocNest extends ShortCreatorDocNest_base {
5
6
  }
6
7
  export {};
@@ -1,6 +1,7 @@
1
- declare type ShortNftCollectionInfoDoc_base = Type<Pick<T, K>>;
1
+ import { CollectionProfileDoc } from '../collection/profile';
2
+ declare type ShortNftCollectionInfoDoc_base = Pick<CollectionProfileDoc, "description" | "profile" | "followCount" | "holdersCount" | "name" | "isVisible" | "isVerified" | "banner" | "chain" | "roles" | "customConfig" | "collectionSize">;
2
3
  export declare type ShortNftCollectionInfoDoc = ShortNftCollectionInfoDoc_base ;
3
- declare const ShortNftCollectionInfoDocNest_base: Type<Pick<T, K>>;
4
+ declare const ShortNftCollectionInfoDocNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "profile" | "followCount" | "holdersCount" | "name" | "isVisible" | "isVerified" | "banner" | "chain" | "roles" | "customConfig" | "collectionSize">>;
4
5
  export declare class ShortNftCollectionInfoDocNest extends ShortNftCollectionInfoDocNest_base {
5
6
  }
6
7
  export {};
@@ -1,6 +1,7 @@
1
- declare type ShortNftDoc_base = Type<Pick<T, K>>;
1
+ import { NftDoc } from '../token/nft-details.doc';
2
+ declare type ShortNftDoc_base = Pick<NftDoc, "identifier" | "collection" | "name" | "url" | "wasProcessed" | "media" | "metadata">;
2
3
  export declare type ShortNftDoc = ShortNftDoc_base ;
3
- declare const ShortNftDocNest_base: Type<Pick<T, K>>;
4
+ declare const ShortNftDocNest_base: import("@nestjs/common").Type<Pick<NftDoc, "identifier" | "collection" | "name" | "url" | "wasProcessed" | "media" | "metadata">>;
4
5
  export declare class ShortNftDocNest extends ShortNftDocNest_base {
5
6
  }
6
7
  export {};
@@ -1,6 +1,7 @@
1
- declare type ShortVoucherDoc_base = Type<Pick<T, K>>;
1
+ import { EventVoucherDoc } from '../ticketing/event-voucher.doc';
2
+ declare type ShortVoucherDoc_base = Pick<EventVoucherDoc, "type" | "amount" | "maxDiscountAmount">;
2
3
  export declare type ShortVoucherDoc = ShortVoucherDoc_base ;
3
- declare const ShortVoucherDocNest_base: Type<Pick<T, K>>;
4
+ declare const ShortVoucherDocNest_base: import("@nestjs/common").Type<Pick<EventVoucherDoc, "type" | "amount" | "maxDiscountAmount">>;
4
5
  export declare class ShortVoucherDocNest extends ShortVoucherDocNest_base {
5
6
  }
6
7
  export {};
@@ -1,6 +1,7 @@
1
1
  import { EventGuestStatus } from '../../../enums/event-guest-status.enum';
2
2
  import { TicketProfileSummary } from './event-ticket-profile.doc';
3
3
  import { TicketingDataType } from '../../../enums/ticketing-data-type.enum';
4
+ import { ShortNftDoc } from '../short/short-nft.doc';
4
5
  export declare class EventGuestCheckIn {
5
6
  ticketId: string;
6
7
  ticketProfile?: TicketProfileSummary;
@@ -12,6 +13,9 @@ export declare class EventGuestCheckIn {
12
13
  quantity?: number;
13
14
  transactionId?: string;
14
15
  }
16
+ export declare class EventGuestCheckInHydrated extends EventGuestCheckIn {
17
+ nft: ShortNftDoc;
18
+ }
15
19
  declare class EventGuestRegistration {
16
20
  email?: string;
17
21
  name?: string;
@@ -33,7 +37,7 @@ export declare class EventGuestDoc {
33
37
  dataType: TicketingDataType;
34
38
  wallet: string;
35
39
  eventId: string;
36
- ticket: Record<string, EventGuestCheckIn>;
40
+ ticket: Record<string, EventGuestCheckInHydrated>;
37
41
  questionnaireFilled: boolean;
38
42
  registration?: EventGuestRegistration;
39
43
  billing?: EventGuestBilling;
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.EventGuestExport = exports.EventGuestProfileQuery = exports.EventGuestProfile = exports.EventGuestDoc = exports.EventGuestCheckIn = void 0;
12
+ exports.EventGuestExport = exports.EventGuestProfileQuery = exports.EventGuestProfile = exports.EventGuestDoc = exports.EventGuestCheckInHydrated = exports.EventGuestCheckIn = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const class_validator_1 = require("class-validator");
15
15
  const uuid_1 = require("uuid");
@@ -105,6 +105,9 @@ __decorate([
105
105
  }),
106
106
  __metadata("design:type", String)
107
107
  ], EventGuestCheckIn.prototype, "transactionId", void 0);
108
+ class EventGuestCheckInHydrated extends EventGuestCheckIn {
109
+ }
110
+ exports.EventGuestCheckInHydrated = EventGuestCheckInHydrated;
108
111
  class EventGuestRegistration {
109
112
  }
110
113
  __decorate([
@@ -250,7 +253,7 @@ __decorate([
250
253
  },
251
254
  type: 'object',
252
255
  additionalProperties: {
253
- $ref: (0, swagger_1.getSchemaPath)(EventGuestCheckIn),
256
+ $ref: (0, swagger_1.getSchemaPath)(EventGuestCheckInHydrated),
254
257
  },
255
258
  }),
256
259
  __metadata("design:type", Object)
@@ -13,9 +13,9 @@ export declare class EventGuestAnswerDoc {
13
13
  constructor(props?: Partial<EventGuestAnswerDoc>);
14
14
  static create(data: Omit<EventGuestAnswerDoc, 'id' | 'dataType' | 'createdAt' | 'pk'>): EventGuestAnswerDoc;
15
15
  }
16
- declare type EventQuestionAnswerDto_base = Type<Pick<T, K>>;
16
+ declare type EventQuestionAnswerDto_base = Pick<EventGuestAnswerDoc, "questionId" | "answer">;
17
17
  export declare type EventQuestionAnswerDto = EventQuestionAnswerDto_base ;
18
- declare const EventQuestionAnswerDtoNest_base: Type<Pick<T, K>>;
18
+ declare const EventQuestionAnswerDtoNest_base: import("@nestjs/common").Type<Pick<EventGuestAnswerDoc, "questionId" | "answer">>;
19
19
  export declare class EventQuestionAnswerDtoNest extends EventQuestionAnswerDtoNest_base {
20
20
  }
21
21
  export declare class AnsweredQuestionWithDetails {
@@ -1,6 +1,7 @@
1
- declare type EventReferralConfigEditDto_base = Type<Partial<T>>;
1
+ import { EventReferralConfigCreateDto } from './event-referral-config-create.dto';
2
+ declare type EventReferralConfigEditDto_base = Partial<EventReferralConfigCreateDto>;
2
3
  export declare type EventReferralConfigEditDto = EventReferralConfigEditDto_base ;
3
- declare const EventReferralConfigEditDtoNest_base: Type<Partial<T>>;
4
+ declare const EventReferralConfigEditDtoNest_base: import("@nestjs/common").Type<Partial<EventReferralConfigCreateDto>>;
4
5
  export declare class EventReferralConfigEditDtoNest extends EventReferralConfigEditDtoNest_base {
5
6
  }
6
7
  export {};
@@ -1,10 +1,11 @@
1
- declare type EventStageProfileEditDto_base = Type<Pick<T, K>>;
1
+ import { EventStageProfileCreateDto } from './event-stage-profile-create.dto';
2
+ declare type EventStageProfileEditDto_base = Pick<EventStageProfileCreateDto, "isWhitelist" | "prices" | "maxLimit" | "userLimit" | "isEnabled" | "requiredApproval">;
2
3
  export declare type EventStageProfileEditDto = EventStageProfileEditDto_base & {
3
4
  name: string;
4
5
  startTime: number;
5
6
  endTime: number;
6
7
  };
7
- declare const EventStageProfileEditDtoNest_base: Type<Pick<T, K>>;
8
+ declare const EventStageProfileEditDtoNest_base: import("@nestjs/common").Type<Pick<EventStageProfileCreateDto, "isWhitelist" | "prices" | "maxLimit" | "userLimit" | "isEnabled" | "requiredApproval">>;
8
9
  export declare class EventStageProfileEditDtoNest extends EventStageProfileEditDtoNest_base {
9
10
  name: string;
10
11
  startTime: number;
@@ -1,9 +1,10 @@
1
- declare type EventTicketProfileEditDto_base = Type<Pick<T, K>>;
1
+ import { EventTicketProfileCreateDto } from './event-ticket-profile-create.dto';
2
+ declare type EventTicketProfileEditDto_base = Pick<EventTicketProfileCreateDto, "description" | "royalties" | "badgeColor" | "maxLimit" | "userLimit">;
2
3
  export declare type EventTicketProfileEditDto = EventTicketProfileEditDto_base & {
3
4
  name: string;
4
5
  characteristics: Record<string, string | number>;
5
6
  };
6
- declare const EventTicketProfileEditDtoNest_base: Type<Pick<T, K>>;
7
+ declare const EventTicketProfileEditDtoNest_base: import("@nestjs/common").Type<Pick<EventTicketProfileCreateDto, "description" | "royalties" | "badgeColor" | "maxLimit" | "userLimit">>;
7
8
  export declare class EventTicketProfileEditDtoNest extends EventTicketProfileEditDtoNest_base {
8
9
  name: string;
9
10
  characteristics: Record<string, string | number>;
@@ -17,12 +17,12 @@ export declare class EventTicketProfileDoc {
17
17
  _ts: number;
18
18
  constructor(props?: Partial<EventTicketProfileDoc>);
19
19
  }
20
- declare type TicketProfileSummary_base = Type<Pick<T, K>>;
20
+ declare type TicketProfileSummary_base = Pick<EventTicketProfileDoc, "description" | "profile" | "name" | "badgeColor" | "characteristics">;
21
21
  export declare type TicketProfileSummary = TicketProfileSummary_base & {
22
22
  ticketId?: string;
23
23
  quantity?: number;
24
24
  };
25
- declare const TicketProfileSummaryNest_base: Type<Pick<T, K>>;
25
+ declare const TicketProfileSummaryNest_base: import("@nestjs/common").Type<Pick<EventTicketProfileDoc, "description" | "profile" | "name" | "badgeColor" | "characteristics">>;
26
26
  export declare class TicketProfileSummaryNest extends TicketProfileSummaryNest_base {
27
27
  ticketId?: string;
28
28
  quantity?: number;
@@ -1,5 +1,6 @@
1
+ import { EventVoucherDoc } from './event-voucher.doc';
1
2
  import { VoucherType } from '../../../enums/voucher-type.enum';
2
- declare type EventVoucherCreateDto_base = Type<Partial<T>>;
3
+ declare type EventVoucherCreateDto_base = Partial<Omit<EventVoucherDoc, "id" | "dataType" | "usedCount" | "createdAt" | "createdBy">>;
3
4
  export declare type EventVoucherCreateDto = EventVoucherCreateDto_base & {
4
5
  code?: string;
5
6
  type: VoucherType;
@@ -12,7 +13,7 @@ export declare type EventVoucherCreateDto = EventVoucherCreateDto_base & {
12
13
  endDate?: number;
13
14
  isActive?: boolean;
14
15
  };
15
- declare const EventVoucherCreateDtoNest_base: Type<Partial<T>>;
16
+ declare const EventVoucherCreateDtoNest_base: import("@nestjs/common").Type<Partial<Omit<EventVoucherDoc, "id" | "dataType" | "usedCount" | "createdAt" | "createdBy">>>;
16
17
  export declare class EventVoucherCreateDtoNest extends EventVoucherCreateDtoNest_base {
17
18
  code?: string;
18
19
  type: VoucherType;
@@ -1,10 +1,11 @@
1
- declare type EventVoucherEditDto_base = Type<Partial<T>>;
1
+ import { EventVoucherCreateDto } from './event-voucher-create.dto';
2
+ declare type EventVoucherEditDto_base = Partial<Omit<EventVoucherCreateDto, "eventId" | "code">>;
2
3
  export declare type EventVoucherEditDto = EventVoucherEditDto_base & {
3
4
  isActive?: boolean;
4
5
  startDate?: number;
5
6
  endDate?: number;
6
7
  };
7
- declare const EventVoucherEditDtoNest_base: Type<Partial<T>>;
8
+ declare const EventVoucherEditDtoNest_base: import("@nestjs/common").Type<Partial<Omit<EventVoucherCreateDto, "eventId" | "code">>>;
8
9
  export declare class EventVoucherEditDtoNest extends EventVoucherEditDtoNest_base {
9
10
  isActive?: boolean;
10
11
  startDate?: number;
@@ -1,6 +1,7 @@
1
- declare type StakingPostDTO_base = Type<Pick<T, K>>;
1
+ import { StakingSummary } from '../../cosmos-db/documents/staking/staking-pool-doc';
2
+ declare type StakingPostDTO_base = Pick<StakingSummary, "description" | "name">;
2
3
  export declare type StakingPostDTO = StakingPostDTO_base ;
3
- declare const StakingPostDTONest_base: Type<Pick<T, K>>;
4
+ declare const StakingPostDTONest_base: import("@nestjs/common").Type<Pick<StakingSummary, "description" | "name">>;
4
5
  export declare class StakingPostDTONest extends StakingPostDTONest_base {
5
6
  }
6
7
  export {};
@@ -8,9 +8,9 @@ export declare class TransactionSendResult {
8
8
  status: TransactionStatus;
9
9
  txHash: string;
10
10
  }
11
- declare type BatchTransactionResponse_base = Type<Pick<T, K>>;
11
+ declare type BatchTransactionResponse_base = Pick<TransactionSendResult, "txHash" | "status">;
12
12
  export declare type BatchTransactionResponse = BatchTransactionResponse_base ;
13
- declare const BatchTransactionResponseNest_base: Type<Pick<T, K>>;
13
+ declare const BatchTransactionResponseNest_base: import("@nestjs/common").Type<Pick<TransactionSendResult, "txHash" | "status">>;
14
14
  export declare class BatchTransactionResponseNest extends BatchTransactionResponseNest_base {
15
15
  }
16
16
  export {};
@@ -1,6 +1,7 @@
1
- declare type CollectionProfileUpdateDto_base = Type<Pick<T, K>>;
1
+ import { CollectionProfileDoc } from '../../cosmos-db/documents/collection/profile';
2
+ declare type CollectionProfileUpdateDto_base = Pick<CollectionProfileDoc, "description" | "profile" | "socials">;
2
3
  export declare type CollectionProfileUpdateDto = CollectionProfileUpdateDto_base ;
3
- declare const CollectionProfileUpdateDtoNest_base: Type<Pick<T, K>>;
4
+ declare const CollectionProfileUpdateDtoNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "profile" | "socials">>;
4
5
  export declare class CollectionProfileUpdateDtoNest extends CollectionProfileUpdateDtoNest_base {
5
6
  }
6
7
  export {};
@@ -2,9 +2,9 @@ import { CreatorProfileDoc } from '../../cosmos-db/documents/user/user-creator-p
2
2
  export declare class CreatorProfileDto extends CreatorProfileDoc {
3
3
  followCount: number;
4
4
  }
5
- declare type CreatorUpdateProfileDTO_base = Type<Pick<T, K>>;
5
+ declare type CreatorUpdateProfileDTO_base = Pick<CreatorProfileDto, "description" | "profile" | "socials">;
6
6
  export declare type CreatorUpdateProfileDTO = CreatorUpdateProfileDTO_base ;
7
- declare const CreatorUpdateProfileDTONest_base: Type<Pick<T, K>>;
7
+ declare const CreatorUpdateProfileDTONest_base: import("@nestjs/common").Type<Pick<CreatorProfileDto, "description" | "profile" | "socials">>;
8
8
  export declare class CreatorUpdateProfileDTONest extends CreatorUpdateProfileDTONest_base {
9
9
  }
10
10
  export {};
@@ -10,9 +10,9 @@ declare class UserSettingsDto {
10
10
  export declare class UserProfileDto extends UserProfileDoc {
11
11
  userSettings: UserSettingsDto;
12
12
  }
13
- declare type UserProfileEditDto_base = Type<Partial<T>>;
13
+ declare type UserProfileEditDto_base = Partial<Pick<UserProfileDoc, "description" | "profile" | "socials" | "isBoberBattleUser">>;
14
14
  export declare type UserProfileEditDto = UserProfileEditDto_base ;
15
- declare const UserProfileEditDtoNest_base: Type<Partial<T>>;
15
+ declare const UserProfileEditDtoNest_base: import("@nestjs/common").Type<Partial<Pick<UserProfileDoc, "description" | "profile" | "socials" | "isBoberBattleUser">>>;
16
16
  export declare class UserProfileEditDtoNest extends UserProfileEditDtoNest_base {
17
17
  }
18
18
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.151",
3
+ "version": "1.0.154",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {
@@ -64,6 +64,7 @@
64
64
  "dependencies": {
65
65
  "@azure/cosmos": "^4.5.0",
66
66
  "@multiversx/sdk-nestjs-common": "^6.0.0",
67
+ "@nestjs/common": "^11.1.5",
67
68
  "class-transformer": "^0.5.1",
68
69
  "class-validator": "^0.14.2",
69
70
  "uuid": "^11.1.0"