@xoxno/types 1.0.192 → 1.0.194

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 (101) hide show
  1. package/dist/common/kusto/lending-overall-stats.d.ts +1 -1
  2. package/dist/common/kusto/lending-overall-stats.js +3 -0
  3. package/dist/common/kusto/user-trading-summary.d.ts +13 -15
  4. package/dist/common/kusto/user-trading-summary.js +91 -0
  5. package/dist/common/kusto/volume-graph.js +71 -0
  6. package/dist/common/kusto/wallet-stats.d.ts +1 -1
  7. package/dist/common/kusto/wallet-stats.js +254 -1
  8. package/dist/common/statistics.js +75 -4
  9. package/dist/cosmos-db/cosmos-db-paginated-response.dto.d.ts +7 -6
  10. package/dist/cosmos-db/cosmos-db-paginated-response.dto.js +14 -2
  11. package/dist/cosmos-db/documents/activity/nft-activity.doc.js +13 -0
  12. package/dist/cosmos-db/documents/chat/chat-message.doc.js +57 -0
  13. package/dist/cosmos-db/documents/chat/chat-read.dto.js +26 -0
  14. package/dist/cosmos-db/documents/chat/group-chat-profile.doc.js +85 -0
  15. package/dist/cosmos-db/documents/chat/user-block.doc.js +76 -0
  16. package/dist/cosmos-db/documents/chat/user-conversation.doc.js +115 -0
  17. package/dist/cosmos-db/documents/collection/collectionConfig.d.ts +1 -1
  18. package/dist/cosmos-db/documents/collection/collectionConfig.js +87 -1
  19. package/dist/cosmos-db/documents/collection/globalOffer.js +37 -0
  20. package/dist/cosmos-db/documents/collection/mintProfile.js +45 -2
  21. package/dist/cosmos-db/documents/external-payment/binance-hook.d.ts +4 -5
  22. package/dist/cosmos-db/documents/external-payment/binance-hook.js +216 -0
  23. package/dist/cosmos-db/documents/external-payment/external-payment.doc.js +218 -0
  24. package/dist/cosmos-db/documents/external-payment/stripe-charge-event.d.ts +71 -71
  25. package/dist/cosmos-db/documents/external-payment/stripe-charge-event.js +783 -0
  26. package/dist/cosmos-db/documents/external-payment/twispay-cart.d.ts +1 -1
  27. package/dist/cosmos-db/documents/external-payment/twispay-cart.js +75 -0
  28. package/dist/cosmos-db/documents/external-payment/twispay-customer.d.ts +1 -2
  29. package/dist/cosmos-db/documents/external-payment/twispay-customer.js +102 -0
  30. package/dist/cosmos-db/documents/external-payment/twispay-payment-form.d.ts +1 -1
  31. package/dist/cosmos-db/documents/external-payment/twispay-payment-form.js +98 -0
  32. package/dist/cosmos-db/documents/external-payment/twispay-transaction.d.ts +1 -1
  33. package/dist/cosmos-db/documents/external-payment/twispay-transaction.js +116 -1
  34. package/dist/cosmos-db/documents/lending/lending-account-profile.js +21 -0
  35. package/dist/cosmos-db/documents/lending/lending-emode-category-profile.doc.js +15 -0
  36. package/dist/cosmos-db/documents/lending/lending-market-profile.doc.js +21 -0
  37. package/dist/cosmos-db/documents/lending/lending-nft-attributes.js +49 -0
  38. package/dist/cosmos-db/documents/lending/lending-token-emode-profile.doc.js +21 -0
  39. package/dist/cosmos-db/documents/notification/notification.doc.js +108 -0
  40. package/dist/cosmos-db/documents/short/short-collection-info.doc.d.ts +2 -2
  41. package/dist/cosmos-db/documents/short/short-collection.doc.d.ts +2 -2
  42. package/dist/cosmos-db/documents/short/short-nft-collection-info.doc.d.ts +2 -2
  43. package/dist/cosmos-db/documents/staking/staking-delegator-doc.js +89 -0
  44. package/dist/cosmos-db/documents/staking/staking-pool-doc.js +274 -0
  45. package/dist/cosmos-db/documents/ticketing/event-guest.doc.js +24 -0
  46. package/dist/cosmos-db/documents/ticketing/event-invitation.doc.js +7 -0
  47. package/dist/cosmos-db/documents/ticketing/event-location.js +24 -0
  48. package/dist/cosmos-db/documents/ticketing/event-profile.doc.js +14 -0
  49. package/dist/cosmos-db/documents/ticketing/event-question.doc.js +7 -0
  50. package/dist/cosmos-db/documents/ticketing/event-referral-config.doc.js +7 -0
  51. package/dist/cosmos-db/documents/ticketing/event-referral.doc.js +7 -0
  52. package/dist/cosmos-db/documents/ticketing/event-stage-profile.doc.js +14 -0
  53. package/dist/cosmos-db/documents/ticketing/event-ticket-profile.doc.js +14 -0
  54. package/dist/cosmos-db/documents/ticketing/event-user-role.doc.js +16 -0
  55. package/dist/cosmos-db/documents/ticketing/event-voucher.doc.js +7 -0
  56. package/dist/cosmos-db/documents/token/nft-details.doc.js +18 -5
  57. package/dist/cosmos-db/documents/token/nft-extra-metadata.doc.js +59 -0
  58. package/dist/cosmos-db/documents/token/nft-metadata-attributes.js +40 -0
  59. package/dist/cosmos-db/documents/token/nft-metadata.js +9 -0
  60. package/dist/cosmos-db/documents/token/nft-sale-info.js +89 -17
  61. package/dist/cosmos-db/documents/token/sft-owner-doc.js +86 -0
  62. package/dist/cosmos-db/documents/user/user-favorite.doc.js +67 -0
  63. package/dist/cosmos-db/paginated-responses.d.ts +113 -15
  64. package/dist/cosmos-db/paginated-responses.js +43 -14
  65. package/dist/entities/airdrop/airdrop.dto.js +77 -0
  66. package/dist/entities/auth/login-request.dto.js +7 -0
  67. package/dist/entities/delegation-data/delegation-data-output.js +106 -0
  68. package/dist/entities/mvx-built-in/account-on-network.js +124 -0
  69. package/dist/entities/mvx-built-in/esdt-token.js +187 -0
  70. package/dist/entities/mvx-built-in/mvx-guardian.d.ts +5 -6
  71. package/dist/entities/mvx-built-in/mvx-guardian.js +67 -8
  72. package/dist/entities/notification-data/device-tag-storage.doc.js +79 -11
  73. package/dist/entities/notification-data/push-notification.doc.js +147 -25
  74. package/dist/entities/notification-data/tag-priority.d.ts +1 -1
  75. package/dist/entities/notification-data/tag-priority.js +57 -1
  76. package/dist/entities/search-data/filter-query.dto.js +32 -0
  77. package/dist/entities/staking-data/staking-creator.doc.js +38 -6
  78. package/dist/entities/staking-data/staking-explore.js +26 -5
  79. package/dist/entities/staking-data/user-staking-summary.dto.js +18 -0
  80. package/dist/entities/token-data/metrics.js +192 -38
  81. package/dist/entities/token-data/token-data.doc.js +99 -13
  82. package/dist/entities/transactions/smart-contract-result.js +138 -0
  83. package/dist/entities/transactions/transaction-detailed.js +44 -0
  84. package/dist/entities/transactions/transaction-log-event.js +52 -0
  85. package/dist/entities/transactions/transaction-log.js +51 -0
  86. package/dist/entities/transactions/transaction-operation.js +115 -0
  87. package/dist/entities/transactions/transaction-receipt.js +34 -0
  88. package/dist/entities/transactions/transaction.js +194 -0
  89. package/dist/entities/web2user-data/success.dto.js +18 -0
  90. package/dist/requests/bober-battle/analytics.js +187 -0
  91. package/dist/requests/collection/collection-attributes-map.js +123 -0
  92. package/dist/requests/collection/pinned-collections.d.ts +2 -2
  93. package/dist/requests/collection/shareholder.dto.js +30 -0
  94. package/dist/requests/lending/lending-indexes.dto.js +74 -0
  95. package/dist/requests/lending/lending-token-price.dto.js +18 -0
  96. package/dist/requests/nft-activity-data/nft-activity-data.js +168 -0
  97. package/dist/requests/nft-data/nft-doc.filter.js +2 -0
  98. package/dist/requests/nft-data/nft-offer-doc.filter.js +11 -0
  99. package/dist/requests/nft-data/sign-data.dto.js +10 -2
  100. package/dist/requests/user-data/token-inventory.js +10 -0
  101. package/package.json +1 -1
@@ -84,6 +84,17 @@ exports.NftOfferDocFilter = NftOfferDocFilter;
84
84
  __decorate([
85
85
  (0, swagger_1.ApiProperty)({
86
86
  type: NftOfferDocFilterCriteria,
87
+ description: 'Filter criteria for NFT offer documents',
88
+ required: false,
87
89
  }),
88
90
  __metadata("design:type", Object)
89
91
  ], NftOfferDocFilter.prototype, "filters", void 0);
92
+ __decorate([
93
+ (0, swagger_1.ApiProperty)({
94
+ type: [String],
95
+ description: 'Order by criteria for sorting results',
96
+ required: false,
97
+ example: ['priceShort desc'],
98
+ }),
99
+ __metadata("design:type", Array)
100
+ ], NftOfferDocFilter.prototype, "orderBy", void 0);
@@ -15,10 +15,18 @@ class SignDataDto {
15
15
  }
16
16
  exports.SignDataDto = SignDataDto;
17
17
  __decorate([
18
- (0, swagger_1.ApiProperty)({ example: 'hex-encoded-data' }),
18
+ (0, swagger_1.ApiProperty)({
19
+ type: String,
20
+ description: 'Hex-encoded data to be signed',
21
+ example: '0x48656c6c6f20576f726c64',
22
+ }),
19
23
  __metadata("design:type", String)
20
24
  ], SignDataDto.prototype, "data", void 0);
21
25
  __decorate([
22
- (0, swagger_1.ApiProperty)({ example: 'hex-encoded-signature' }),
26
+ (0, swagger_1.ApiProperty)({
27
+ type: String,
28
+ description: 'Hex-encoded signature of the data',
29
+ example: '0x5d99b6f7f6d1f73d1a26497f2b1c89b24c0993913f86e9a2d02cd69887d9c94f3c880358579d811b21dd1b7fd9bb01c1d81d10e69f0384e675c32b39643be892',
30
+ }),
23
31
  __metadata("design:type", String)
24
32
  ], SignDataDto.prototype, "signature", void 0);
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.UserTokenInventoryResponseDto = void 0;
13
13
  // DTO Type
14
14
  const swagger_1 = require("@nestjs/swagger");
15
+ const common_enum_1 = require("../../enums/common.enum");
15
16
  const token_data_doc_1 = require("../../entities/token-data/token-data.doc");
16
17
  class WalletDto {
17
18
  }
@@ -74,3 +75,12 @@ __decorate([
74
75
  (0, swagger_1.ApiProperty)({ type: token_data_doc_1.TokenDataDocWithBalance, isArray: true }),
75
76
  __metadata("design:type", Array)
76
77
  ], UserTokenInventoryResponseDto.prototype, "tokens", void 0);
78
+ __decorate([
79
+ (0, swagger_1.ApiProperty)({
80
+ description: 'The blockchain chain identifier',
81
+ enum: common_enum_1.ActivityChain,
82
+ enumName: 'ActivityChain',
83
+ example: common_enum_1.ActivityChain.MVX,
84
+ }),
85
+ __metadata("design:type", String)
86
+ ], UserTokenInventoryResponseDto.prototype, "chain", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.192",
3
+ "version": "1.0.194",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {