@xoxno/types 1.0.84 → 1.0.87

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 (305) hide show
  1. package/dist/cache/keys.d.ts +1 -1
  2. package/dist/common/kusto/wallet-stats.d.ts +1 -1
  3. package/dist/common/kusto/wallet-stats.js +2 -2
  4. package/dist/cosmos-db/documents/activity/nft-activity.doc.d.ts +3 -3
  5. package/dist/cosmos-db/documents/activity/nft-activity.doc.js +7 -7
  6. package/dist/cosmos-db/documents/chat/chat-message-content.dto.js +1 -1
  7. package/dist/cosmos-db/documents/chat/chat-message.doc.d.ts +2 -2
  8. package/dist/cosmos-db/documents/chat/chat-message.doc.js +1 -1
  9. package/dist/cosmos-db/documents/chat/group-chat-profile.doc.js +1 -1
  10. package/dist/cosmos-db/documents/chat/user-block.doc.d.ts +1 -1
  11. package/dist/cosmos-db/documents/chat/user-block.doc.js +1 -1
  12. package/dist/cosmos-db/documents/chat/user-conversation.doc.d.ts +1 -1
  13. package/dist/cosmos-db/documents/chat/user-conversation.doc.js +1 -1
  14. package/dist/cosmos-db/documents/collection/globalOffer.d.ts +2 -2
  15. package/dist/cosmos-db/documents/collection/globalOffer.js +8 -8
  16. package/dist/cosmos-db/documents/collection/mintProfile.d.ts +10 -3
  17. package/dist/cosmos-db/documents/collection/mintProfile.js +4 -4
  18. package/dist/cosmos-db/documents/collection/profile.d.ts +2 -2
  19. package/dist/cosmos-db/documents/collection/profile.js +12 -12
  20. package/dist/cosmos-db/documents/collection/stats.d.ts +1 -1
  21. package/dist/cosmos-db/documents/collection/stats.js +7 -7
  22. package/dist/cosmos-db/documents/collection/verification.d.ts +1 -1
  23. package/dist/cosmos-db/documents/collection/verification.js +4 -4
  24. package/dist/cosmos-db/documents/external-payment/binance-hook.d.ts +1 -11
  25. package/dist/cosmos-db/documents/external-payment/binance-hook.js +0 -14
  26. package/dist/cosmos-db/documents/external-payment/external-payment-request.d.ts +2 -2
  27. package/dist/cosmos-db/documents/external-payment/external-payment-request.js +2 -2
  28. package/dist/cosmos-db/documents/external-payment/external-payment.doc.d.ts +3 -3
  29. package/dist/cosmos-db/documents/external-payment/twispay-cart.d.ts +1 -4
  30. package/dist/cosmos-db/documents/external-payment/twispay-cart.js +0 -6
  31. package/dist/cosmos-db/documents/external-payment/twispay-payment-form.d.ts +1 -1
  32. package/dist/cosmos-db/documents/external-payment/twispay-transaction.d.ts +1 -35
  33. package/dist/cosmos-db/documents/external-payment/twispay-transaction.js +0 -41
  34. package/dist/cosmos-db/documents/lending/lending-account-profile.d.ts +1 -1
  35. package/dist/cosmos-db/documents/lending/lending-account-profile.js +4 -4
  36. package/dist/cosmos-db/documents/lending/lending-emode-category-profile.doc.d.ts +5 -3
  37. package/dist/cosmos-db/documents/lending/lending-emode-category-profile.doc.js +1 -1
  38. package/dist/cosmos-db/documents/lending/lending-market-profile.doc.js +1 -1
  39. package/dist/cosmos-db/documents/lending/lending-nft-attributes.d.ts +1 -7
  40. package/dist/cosmos-db/documents/lending/lending-nft-attributes.js +1 -9
  41. package/dist/cosmos-db/documents/lending/lending-token-emode-profile.doc.d.ts +1 -1
  42. package/dist/cosmos-db/documents/lending/lending-token-emode-profile.doc.js +1 -1
  43. package/dist/cosmos-db/documents/notification/notification.doc.d.ts +2 -2
  44. package/dist/cosmos-db/documents/notification/notification.doc.js +1 -1
  45. package/dist/cosmos-db/documents/staking/staking-delegator-doc.d.ts +1 -1
  46. package/dist/cosmos-db/documents/staking/staking-delegator-doc.js +1 -1
  47. package/dist/cosmos-db/documents/staking/staking-pool-doc.d.ts +3 -3
  48. package/dist/cosmos-db/documents/staking/staking-pool-doc.js +1 -1
  49. package/dist/cosmos-db/documents/ticketing/event-guest-doc.filter.d.ts +1 -1
  50. package/dist/cosmos-db/documents/ticketing/event-guest-doc.filter.js +2 -2
  51. package/dist/cosmos-db/documents/ticketing/event-guest.doc.d.ts +2 -2
  52. package/dist/cosmos-db/documents/ticketing/event-guest.doc.js +2 -2
  53. package/dist/cosmos-db/documents/ticketing/event-invitation-doc.filter.d.ts +1 -1
  54. package/dist/cosmos-db/documents/ticketing/event-invitation-doc.filter.js +2 -2
  55. package/dist/cosmos-db/documents/ticketing/event-invitation.doc.d.ts +2 -2
  56. package/dist/cosmos-db/documents/ticketing/event-invitation.doc.js +2 -2
  57. package/dist/cosmos-db/documents/ticketing/event-profile-create.dto.d.ts +2 -5
  58. package/dist/cosmos-db/documents/ticketing/event-profile-create.dto.js +5 -9
  59. package/dist/cosmos-db/documents/ticketing/event-profile-doc.filter.js +1 -1
  60. package/dist/cosmos-db/documents/ticketing/event-profile-edit.dto.d.ts +1 -1
  61. package/dist/cosmos-db/documents/ticketing/event-profile-edit.dto.js +1 -1
  62. package/dist/cosmos-db/documents/ticketing/event-profile.doc.d.ts +5 -5
  63. package/dist/cosmos-db/documents/ticketing/event-profile.doc.js +7 -7
  64. package/dist/cosmos-db/documents/ticketing/event-question-answer.doc.d.ts +5 -3
  65. package/dist/cosmos-db/documents/ticketing/event-question-answer.doc.js +1 -1
  66. package/dist/cosmos-db/documents/ticketing/event-question-create.dto.d.ts +1 -1
  67. package/dist/cosmos-db/documents/ticketing/event-question-create.dto.js +1 -1
  68. package/dist/cosmos-db/documents/ticketing/event-question-edit.dto.d.ts +1 -1
  69. package/dist/cosmos-db/documents/ticketing/event-question-edit.dto.js +1 -1
  70. package/dist/cosmos-db/documents/ticketing/event-question-validator.js +1 -1
  71. package/dist/cosmos-db/documents/ticketing/event-question.doc.d.ts +2 -2
  72. package/dist/cosmos-db/documents/ticketing/event-question.doc.js +2 -2
  73. package/dist/cosmos-db/documents/ticketing/event-referral-config-create.dto.d.ts +1 -1
  74. package/dist/cosmos-db/documents/ticketing/event-referral-config-create.dto.js +1 -1
  75. package/dist/cosmos-db/documents/ticketing/event-referral-config-edit.dto.d.ts +4 -2
  76. package/dist/cosmos-db/documents/ticketing/event-referral-config-filter.doc.js +1 -1
  77. package/dist/cosmos-db/documents/ticketing/event-referral-config.doc.d.ts +1 -5
  78. package/dist/cosmos-db/documents/ticketing/event-referral-config.doc.js +4 -8
  79. package/dist/cosmos-db/documents/ticketing/event-referral-filter.doc.d.ts +1 -1
  80. package/dist/cosmos-db/documents/ticketing/event-referral-filter.doc.js +2 -2
  81. package/dist/cosmos-db/documents/ticketing/event-referral-usage.doc.d.ts +1 -1
  82. package/dist/cosmos-db/documents/ticketing/event-referral-usage.doc.js +1 -1
  83. package/dist/cosmos-db/documents/ticketing/event-referral.doc.d.ts +1 -1
  84. package/dist/cosmos-db/documents/ticketing/event-referral.doc.js +1 -1
  85. package/dist/cosmos-db/documents/ticketing/event-registration.dto.d.ts +1 -1
  86. package/dist/cosmos-db/documents/ticketing/event-registration.dto.js +1 -1
  87. package/dist/cosmos-db/documents/ticketing/event-stage-profile-edit.dto.d.ts +8 -2
  88. package/dist/cosmos-db/documents/ticketing/event-stage-profile.doc.d.ts +1 -1
  89. package/dist/cosmos-db/documents/ticketing/event-stage-profile.doc.js +1 -1
  90. package/dist/cosmos-db/documents/ticketing/event-ticket-profile-edit.dto.d.ts +7 -2
  91. package/dist/cosmos-db/documents/ticketing/event-ticket-profile.doc.d.ts +8 -3
  92. package/dist/cosmos-db/documents/ticketing/event-ticket-profile.doc.js +1 -1
  93. package/dist/cosmos-db/documents/ticketing/event-ticket-qr-type.enum.d.ts +2 -7
  94. package/dist/cosmos-db/documents/ticketing/event-ticket-qr-type.enum.js +6 -12
  95. package/dist/cosmos-db/documents/ticketing/event-user-role-create.dto.d.ts +1 -1
  96. package/dist/cosmos-db/documents/ticketing/event-user-role-create.dto.js +1 -1
  97. package/dist/cosmos-db/documents/ticketing/event-user-role.doc.d.ts +2 -5
  98. package/dist/cosmos-db/documents/ticketing/event-user-role.doc.js +5 -9
  99. package/dist/cosmos-db/documents/ticketing/event-voucher-create.dto.d.ts +17 -3
  100. package/dist/cosmos-db/documents/ticketing/event-voucher-create.dto.js +3 -2
  101. package/dist/cosmos-db/documents/ticketing/event-voucher-edit.dto.d.ts +8 -2
  102. package/dist/cosmos-db/documents/ticketing/event-voucher-filter.doc.d.ts +2 -1
  103. package/dist/cosmos-db/documents/ticketing/event-voucher-filter.doc.js +4 -4
  104. package/dist/cosmos-db/documents/ticketing/event-voucher.doc.d.ts +2 -5
  105. package/dist/cosmos-db/documents/ticketing/event-voucher.doc.js +4 -8
  106. package/dist/cosmos-db/documents/token/nft-details.doc.d.ts +2 -2
  107. package/dist/cosmos-db/documents/token/nft-details.doc.js +7 -7
  108. package/dist/cosmos-db/documents/token/nft-extra-metadata.doc.d.ts +2 -2
  109. package/dist/cosmos-db/documents/token/nft-extra-metadata.doc.js +1 -1
  110. package/dist/cosmos-db/documents/token/nft-offer.doc.d.ts +2 -2
  111. package/dist/cosmos-db/documents/token/nft-offer.doc.js +5 -5
  112. package/dist/cosmos-db/documents/token/nft-sale-info.d.ts +1 -1
  113. package/dist/cosmos-db/documents/token/nft-sale-info.js +4 -4
  114. package/dist/cosmos-db/documents/token/sft-owner-doc.js +4 -4
  115. package/dist/cosmos-db/documents/user/user-creator-profile.doc.d.ts +1 -1
  116. package/dist/cosmos-db/documents/user/user-creator-profile.doc.js +3 -3
  117. package/dist/cosmos-db/documents/user/user-favorite.doc.d.ts +2 -2
  118. package/dist/cosmos-db/documents/user/user-favorite.doc.js +3 -3
  119. package/dist/cosmos-db/documents/user/user-profile.doc.d.ts +2 -2
  120. package/dist/cosmos-db/documents/user/user-profile.doc.js +6 -6
  121. package/dist/cosmos-db/documents/user/user-settings.doc.d.ts +1 -9
  122. package/dist/cosmos-db/documents/user/user-settings.doc.js +3 -12
  123. package/dist/entities/bober-battle/game-type.d.ts +1 -1
  124. package/dist/entities/notification-data/device-tag-storage.doc.js +1 -1
  125. package/dist/entities/notification-data/mobile-device-registration.dto.d.ts +1 -1
  126. package/dist/entities/notification-data/mobile-device-registration.dto.js +4 -4
  127. package/dist/entities/notification-data/mobile-device.doc.d.ts +1 -4
  128. package/dist/entities/notification-data/mobile-device.doc.js +4 -8
  129. package/dist/entities/notification-data/notification-template.d.ts +1 -9
  130. package/dist/entities/notification-data/notification-template.js +10 -19
  131. package/dist/entities/notification-data/push-notification.doc.d.ts +1 -17
  132. package/dist/entities/notification-data/push-notification.doc.js +7 -25
  133. package/dist/entities/notification-data/tag-priority.d.ts +1 -15
  134. package/dist/entities/notification-data/tag-priority.js +14 -30
  135. package/dist/entities/search-data/collection-data-search.type.d.ts +1 -1
  136. package/dist/entities/search-data/filter-query.dto.d.ts +1 -1
  137. package/dist/entities/search-data/search.dto.d.ts +1 -1
  138. package/dist/entities/search-data/search.dto.js +5 -5
  139. package/dist/entities/staking-data/staking-creator.doc.d.ts +1 -1
  140. package/dist/entities/staking-data/staking-creator.doc.js +1 -1
  141. package/dist/entities/staking-data/staking-summary.dto.d.ts +4 -2
  142. package/dist/entities/token-data/metrics.d.ts +4 -0
  143. package/dist/entities/transactions/transaction-process-status.d.ts +1 -1
  144. package/dist/entities/transactions/transaction-process-status.js +3 -3
  145. package/dist/entities/transactions/transaction-send-result.d.ts +5 -3
  146. package/dist/entities/transactions/transaction-send-result.js +3 -3
  147. package/dist/entities/web2user-data/web2user-account.d.ts +1 -1
  148. package/dist/entities/web2user-data/web2user-account.dto.d.ts +1 -1
  149. package/dist/entities/web2user-data/web2user-account.dto.js +1 -1
  150. package/dist/entities/web2user-data/web2user-account.js +1 -1
  151. package/dist/entities/web2user-data/web2user-wallet.d.ts +2 -2
  152. package/dist/entities/web2user-data/web2user-wallet.dto.d.ts +2 -2
  153. package/dist/entities/web2user-data/web2user-wallet.dto.js +2 -2
  154. package/dist/entities/web2user-data/web2user-wallet.js +2 -2
  155. package/dist/entities/xoxno-liquid-egld-sc/provider.dto.d.ts +15 -0
  156. package/dist/entities/xoxno-liquid-egld-sc/{xoxno-egld-liquid-sc-event-name.enum.js → provider.dto.js} +1 -11
  157. package/dist/{cosmos-db/documents/external-payment/binance-request.d.ts → enums/binance.enum.d.ts} +11 -0
  158. package/dist/{cosmos-db/documents/external-payment/binance-request.js → enums/binance.enum.js} +14 -1
  159. package/dist/enums/bober-battle-activity.enum.js +16 -0
  160. package/dist/enums/event-referral-config.doc.d.ts +4 -0
  161. package/dist/enums/event-referral-config.doc.js +8 -0
  162. package/dist/enums/event-user-role.doc.d.ts +4 -0
  163. package/dist/enums/event-user-role.doc.js +8 -0
  164. package/dist/enums/external-payment-status.enum.d.ts +12 -0
  165. package/dist/{cosmos-db/documents/external-payment → enums}/external-payment-status.enum.js +6 -11
  166. package/dist/{entities/token-data → enums}/fiat-tokens.enum.d.ts +0 -4
  167. package/dist/{common/kusto → enums}/kusto-db.enum.d.ts +4 -0
  168. package/dist/{common/kusto → enums}/kusto-db.enum.js +6 -1
  169. package/dist/enums/lending.enum.d.ts +7 -0
  170. package/dist/enums/lending.enum.js +11 -0
  171. package/dist/enums/mobile-device.enum.d.ts +4 -0
  172. package/dist/enums/mobile-device.enum.js +8 -0
  173. package/dist/enums/notification-template.enum.d.ts +9 -0
  174. package/dist/enums/notification-template.enum.js +13 -0
  175. package/dist/enums/purchase-type.enum.d.ts +6 -0
  176. package/dist/{cosmos-db/documents/external-payment → enums}/purchase-type.enum.js +0 -8
  177. package/dist/enums/push-notification.enum.d.ts +17 -0
  178. package/dist/enums/push-notification.enum.js +22 -0
  179. package/dist/enums/tag-priority.enum.d.ts +15 -0
  180. package/dist/enums/tag-priority.enum.js +20 -0
  181. package/dist/enums/ticketing-visibility.enum.d.ts +10 -0
  182. package/dist/enums/ticketing-visibility.enum.js +15 -0
  183. package/dist/enums/twispay.enum.d.ts +35 -0
  184. package/dist/enums/twispay.enum.js +43 -0
  185. package/dist/enums/user-settings.enum.d.ts +8 -0
  186. package/dist/enums/user-settings.enum.js +12 -0
  187. package/dist/enums/voucher-type.enum.d.ts +4 -0
  188. package/dist/enums/voucher-type.enum.js +8 -0
  189. package/dist/{entities/xoxno-liquid-egld-sc/xoxno-egld-liquid-sc-event-name.enum.d.ts → enums/xoxno-egld-liquid-sc.enum.d.ts} +0 -15
  190. package/dist/enums/xoxno-egld-liquid-sc.enum.js +13 -0
  191. package/dist/index.d.ts +266 -5545
  192. package/dist/index.js +61 -50
  193. package/dist/requests/collection/collection-info.dto.d.ts +6 -2
  194. package/dist/requests/collection/collection-mint-profile.filter.d.ts +2 -2
  195. package/dist/requests/collection/collection-mint-profile.filter.js +4 -4
  196. package/dist/requests/collection/collection-offers.filter.d.ts +1 -1
  197. package/dist/requests/collection/collection-offers.filter.js +4 -4
  198. package/dist/requests/collection/collection-profile.filter.d.ts +2 -2
  199. package/dist/requests/collection/collection-profile.filter.js +4 -4
  200. package/dist/requests/collection/collection-stats.filter.d.ts +2 -2
  201. package/dist/requests/collection/collection-stats.filter.js +6 -6
  202. package/dist/requests/collection/collections.d.ts +4 -2
  203. package/dist/requests/lending/lending-market-profile.filter.js +1 -1
  204. package/dist/requests/nft-activity-data/nft-activity-data.d.ts +1 -1
  205. package/dist/requests/nft-activity-data/nft-activity.filter.d.ts +3 -3
  206. package/dist/requests/nft-activity-data/nft-activity.filter.js +4 -4
  207. package/dist/requests/nft-data/nft-doc.filter.d.ts +2 -2
  208. package/dist/requests/nft-data/nft-doc.filter.js +3 -3
  209. package/dist/requests/nft-data/nft-offer-doc.filter.js +1 -1
  210. package/dist/requests/user-data/creator-profile.dto.d.ts +4 -2
  211. package/dist/requests/user-data/me-profile.d.ts +4 -2
  212. package/dist/requests/user-data/token-inventory.d.ts +1 -1
  213. package/dist/utils/types.d.ts +1 -1
  214. package/package.json +2 -2
  215. package/dist/common/kusto/order-direction.enum.d.ts +0 -4
  216. package/dist/common/kusto/order-direction.enum.js +0 -8
  217. package/dist/cosmos-db/documents/external-payment/external-payment-status.enum.d.ts +0 -18
  218. package/dist/cosmos-db/documents/external-payment/purchase-type.enum.d.ts +0 -14
  219. package/dist/requests/nft-activity-data/bober-battle-activity.enum.js +0 -85
  220. /package/dist/{entities/auth → enums}/auth-strategy.enum.d.ts +0 -0
  221. /package/dist/{entities/auth → enums}/auth-strategy.enum.js +0 -0
  222. /package/dist/{requests/chat → enums}/azure-ws-event-name.enum.d.ts +0 -0
  223. /package/dist/{requests/chat → enums}/azure-ws-event-name.enum.js +0 -0
  224. /package/dist/{requests/chat → enums}/azure-ws-hub-name.enum.d.ts +0 -0
  225. /package/dist/{requests/chat → enums}/azure-ws-hub-name.enum.js +0 -0
  226. /package/dist/{requests/nft-activity-data → enums}/bober-battle-activity.enum.d.ts +0 -0
  227. /package/dist/{cosmos-db/documents/chat → enums}/chat-data-type.enum.d.ts +0 -0
  228. /package/dist/{cosmos-db/documents/chat → enums}/chat-data-type.enum.js +0 -0
  229. /package/dist/{cosmos-db/documents/chat → enums}/chat-message-content-type.enum.d.ts +0 -0
  230. /package/dist/{cosmos-db/documents/chat → enums}/chat-message-content-type.enum.js +0 -0
  231. /package/dist/{cosmos-db/documents/collection/dataTypes.d.ts → enums/collection.enum.d.ts} +0 -0
  232. /package/dist/{cosmos-db/documents/collection/dataTypes.js → enums/collection.enum.js} +0 -0
  233. /package/dist/{common/enums.d.ts → enums/common.enum.d.ts} +0 -0
  234. /package/dist/{common/enums.js → enums/common.enum.js} +0 -0
  235. /package/dist/{cosmos-db → enums}/cosmos-db-container.enum.d.ts +0 -0
  236. /package/dist/{cosmos-db → enums}/cosmos-db-container.enum.js +0 -0
  237. /package/dist/{cosmos-db/documents/ticketing → enums}/event-category.enum.d.ts +0 -0
  238. /package/dist/{cosmos-db/documents/ticketing → enums}/event-category.enum.js +0 -0
  239. /package/dist/{cosmos-db/documents/ticketing → enums}/event-guest-status.enum.d.ts +0 -0
  240. /package/dist/{cosmos-db/documents/ticketing → enums}/event-guest-status.enum.js +0 -0
  241. /package/dist/{cosmos-db/documents/ticketing → enums}/event-invitation-status.enum.d.ts +0 -0
  242. /package/dist/{cosmos-db/documents/ticketing → enums}/event-invitation-status.enum.js +0 -0
  243. /package/dist/{cosmos-db/documents/ticketing → enums}/event-question-answer-type.enum.d.ts +0 -0
  244. /package/dist/{cosmos-db/documents/ticketing → enums}/event-question-answer-type.enum.js +0 -0
  245. /package/dist/{cosmos-db/documents/ticketing → enums}/event-scan-status.enum.d.ts +0 -0
  246. /package/dist/{cosmos-db/documents/ticketing → enums}/event-scan-status.enum.js +0 -0
  247. /package/dist/{requests/nft-activity-data → enums}/event-source.enum.d.ts +0 -0
  248. /package/dist/{requests/nft-activity-data → enums}/event-source.enum.js +0 -0
  249. /package/dist/{cosmos-db/documents/ticketing → enums}/event-user-roles.enum.d.ts +0 -0
  250. /package/dist/{cosmos-db/documents/ticketing → enums}/event-user-roles.enum.js +0 -0
  251. /package/dist/{entities/token-data → enums}/fiat-tokens.enum.js +0 -0
  252. /package/dist/{cosmos-db/documents/lending → enums}/lending-data-type.enum.d.ts +0 -0
  253. /package/dist/{cosmos-db/documents/lending → enums}/lending-data-type.enum.js +0 -0
  254. /package/dist/{cosmos-db/documents/lending → enums}/lending-position-type.enum.d.ts +0 -0
  255. /package/dist/{cosmos-db/documents/lending → enums}/lending-position-type.enum.js +0 -0
  256. /package/dist/{entities/web2user-data → enums}/linked-account-type.enum.d.ts +0 -0
  257. /package/dist/{entities/web2user-data → enums}/linked-account-type.enum.js +0 -0
  258. /package/dist/{requests/nft-activity-data → enums}/marketplace-activity.enum.d.ts +0 -0
  259. /package/dist/{requests/nft-activity-data → enums}/marketplace-activity.enum.js +0 -0
  260. /package/dist/{requests/nft-activity-data → enums}/nft-activity-type.enum.d.ts +0 -0
  261. /package/dist/{requests/nft-activity-data → enums}/nft-activity-type.enum.js +0 -0
  262. /package/dist/{requests/nft-data/nft-extra-attributes.type.d.ts → enums/nft-extra-attributes.enum.d.ts} +0 -0
  263. /package/dist/{requests/nft-data/nft-extra-attributes.type.js → enums/nft-extra-attributes.enum.js} +0 -0
  264. /package/dist/{cosmos-db/documents/notification → enums}/notification-asset-type.enum.d.ts +0 -0
  265. /package/dist/{cosmos-db/documents/notification → enums}/notification-asset-type.enum.js +0 -0
  266. /package/dist/{cosmos-db/documents/notification → enums}/notification-data-type.enum.d.ts +0 -0
  267. /package/dist/{cosmos-db/documents/notification → enums}/notification-data-type.enum.js +0 -0
  268. /package/dist/{requests/nft-data/offers.d.ts → enums/offers.enum.d.ts} +0 -0
  269. /package/dist/{requests/nft-data/offers.js → enums/offers.enum.js} +0 -0
  270. /package/dist/{common/kusto → enums}/order-by-column.enum.d.ts +0 -0
  271. /package/dist/{common/kusto → enums}/order-by-column.enum.js +0 -0
  272. /package/dist/{cosmos-db/documents/external-payment → enums}/payment-provider.enum.d.ts +0 -0
  273. /package/dist/{cosmos-db/documents/external-payment → enums}/payment-provider.enum.js +0 -0
  274. /package/dist/{entities/auth → enums}/role.enum.d.ts +0 -0
  275. /package/dist/{entities/auth → enums}/role.enum.js +0 -0
  276. /package/dist/{entities/search-data → enums}/search-index-name.enum.d.ts +0 -0
  277. /package/dist/{entities/search-data → enums}/search-index-name.enum.js +0 -0
  278. /package/dist/{entities/staking-data → enums}/staking-data-type.enum.d.ts +0 -0
  279. /package/dist/{entities/staking-data → enums}/staking-data-type.enum.js +0 -0
  280. /package/dist/{entities/staking-data → enums}/staking-issuing-type-string.enum.d.ts +0 -0
  281. /package/dist/{entities/staking-data → enums}/staking-issuing-type-string.enum.js +0 -0
  282. /package/dist/{entities/staking-data → enums}/staking-pool-type-string.enum.d.ts +0 -0
  283. /package/dist/{entities/staking-data → enums}/staking-pool-type-string.enum.js +0 -0
  284. /package/dist/{entities/staking-data → enums}/staking-status-string.enum.d.ts +0 -0
  285. /package/dist/{entities/staking-data → enums}/staking-status-string.enum.js +0 -0
  286. /package/dist/{cosmos-db/documents/ticketing → enums}/ticketing-data-type.enum.d.ts +0 -0
  287. /package/dist/{cosmos-db/documents/ticketing → enums}/ticketing-data-type.enum.js +0 -0
  288. /package/dist/{entities/token-data → enums}/token-category.enum.d.ts +0 -0
  289. /package/dist/{entities/token-data → enums}/token-category.enum.js +0 -0
  290. /package/dist/{cosmos-db/documents/token → enums}/token-data.enum.d.ts +0 -0
  291. /package/dist/{cosmos-db/documents/token → enums}/token-data.enum.js +0 -0
  292. /package/dist/{entities/transactions/transaction.status.d.ts → enums/transaction-status.enum.d.ts} +0 -0
  293. /package/dist/{entities/transactions/transaction.status.js → enums/transaction-status.enum.js} +0 -0
  294. /package/dist/{cosmos-db/documents/user/user-data.type.d.ts → enums/user-data-type.enum.d.ts} +0 -0
  295. /package/dist/{cosmos-db/documents/user/user-data.type.js → enums/user-data-type.enum.js} +0 -0
  296. /package/dist/{cosmos-db/documents/user → enums}/user-favorite-type.enum.d.ts +0 -0
  297. /package/dist/{cosmos-db/documents/user → enums}/user-favorite-type.enum.js +0 -0
  298. /package/dist/{entities/web2user-data → enums}/wallet-client-type.enum.d.ts +0 -0
  299. /package/dist/{entities/web2user-data → enums}/wallet-client-type.enum.js +0 -0
  300. /package/dist/{entities/xoxno-marketplace-sc → enums}/xoxno-auction-type.enum.d.ts +0 -0
  301. /package/dist/{entities/xoxno-marketplace-sc → enums}/xoxno-auction-type.enum.js +0 -0
  302. /package/dist/{requests/nft-activity-data → enums}/xoxno-egld-ls-activity.enum.d.ts +0 -0
  303. /package/dist/{requests/nft-activity-data → enums}/xoxno-egld-ls-activity.enum.js +0 -0
  304. /package/dist/{requests/nft-activity-data → enums}/xoxno-ls-activity.enum.d.ts +0 -0
  305. /package/dist/{requests/nft-activity-data → enums}/xoxno-ls-activity.enum.js +0 -0
@@ -1,4 +1,4 @@
1
- import { ActivityChain } from '../common/enums';
1
+ import { ActivityChain } from '../enums/common.enum';
2
2
  /**
3
3
  * An object that defines all Redis keys and their TTLs.
4
4
  * This ensures consistency and a single source of truth.
@@ -1,4 +1,4 @@
1
- import { ActivityChain } from '../enums';
1
+ import { ActivityChain } from '../../enums/common.enum';
2
2
  export interface PriceData {
3
3
  price: number;
4
4
  usdValue: number;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WalletTradingStats = void 0;
4
- const enums_1 = require("../enums");
4
+ const common_enum_1 = require("../../enums/common.enum");
5
5
  class WalletTradingStats {
6
6
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
7
7
  constructor(data) {
@@ -61,7 +61,7 @@ class WalletTradingStats {
61
61
  usdValue: data.SellerMinPriceData?.UsdValue ?? null,
62
62
  }
63
63
  : null;
64
- this.chain = data.chain ?? enums_1.ActivityChain.MVX;
64
+ this.chain = data.chain ?? common_enum_1.ActivityChain.MVX;
65
65
  }
66
66
  }
67
67
  exports.WalletTradingStats = WalletTradingStats;
@@ -1,7 +1,7 @@
1
- import { ActivityChain } from '../../../common/enums';
2
- import { NftActivityEventSource } from '../../../requests/nft-activity-data/event-source.enum';
1
+ import { ActivityChain } from '../../../enums/common.enum';
2
+ import { NftActivityEventSource } from '../../../enums/event-source.enum';
3
3
  import { NftActivityData, NftActivityDataHydrated } from '../../../requests/nft-activity-data/nft-activity-data';
4
- import { NftActivityType } from '../../../requests/nft-activity-data/nft-activity-type.enum';
4
+ import { NftActivityType } from '../../../enums/nft-activity-type.enum';
5
5
  import { OwnerDto } from '../../../common/owner.dto';
6
6
  declare class NftActivityDocBase {
7
7
  timestamp: number;
@@ -11,17 +11,17 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.NftActivityDocHydrated = exports.NftActivityDoc = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
- const enums_1 = require("../../../common/enums");
14
+ const common_enum_1 = require("../../../enums/common.enum");
15
15
  const uuid_1 = require("uuid");
16
- const event_source_enum_1 = require("../../../requests/nft-activity-data/event-source.enum");
16
+ const event_source_enum_1 = require("../../../enums/event-source.enum");
17
17
  const nft_activity_data_1 = require("../../../requests/nft-activity-data/nft-activity-data");
18
- const nft_activity_type_enum_1 = require("../../../requests/nft-activity-data/nft-activity-type.enum");
18
+ const nft_activity_type_enum_1 = require("../../../enums/nft-activity-type.enum");
19
19
  class NftActivityDocBase {
20
20
  constructor(data) {
21
- this.chain = enums_1.ActivityChain.MVX;
21
+ this.chain = common_enum_1.ActivityChain.MVX;
22
22
  Object.assign(this, data);
23
23
  this.id = (0, uuid_1.v4)();
24
- this.chain = this.chain || enums_1.ActivityChain.MVX;
24
+ this.chain = this.chain || common_enum_1.ActivityChain.MVX;
25
25
  }
26
26
  }
27
27
  __decorate([
@@ -55,8 +55,8 @@ __decorate([
55
55
  ], NftActivityDocBase.prototype, "eventOrder", void 0);
56
56
  __decorate([
57
57
  (0, swagger_1.ApiProperty)({
58
- example: enums_1.ActivityChain.MVX,
59
- enum: enums_1.ActivityChain,
58
+ example: common_enum_1.ActivityChain.MVX,
59
+ enum: common_enum_1.ActivityChain,
60
60
  description: 'Blockchain network where the activity occurred',
61
61
  }),
62
62
  __metadata("design:type", String)
@@ -13,7 +13,7 @@ exports.ChatMessageContentDto = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const class_transformer_1 = require("class-transformer");
15
15
  const class_validator_1 = require("class-validator");
16
- const chat_message_content_type_enum_1 = require("./chat-message-content-type.enum");
16
+ const chat_message_content_type_enum_1 = require("../../../enums/chat-message-content-type.enum");
17
17
  const chat_message_reply_dto_1 = require("./chat-message-reply.dto");
18
18
  class ChatMessageContentDto {
19
19
  }
@@ -1,5 +1,5 @@
1
- import { ChatDataType } from './chat-data-type.enum';
2
- import { ChatMessageContentType } from './chat-message-content-type.enum';
1
+ import { ChatDataType } from '../../../enums/chat-data-type.enum';
2
+ import { ChatMessageContentType } from '../../../enums/chat-message-content-type.enum';
3
3
  import { OwnerDto } from '../../../common/owner.dto';
4
4
  declare class MessageContentReplyToDto {
5
5
  type: string;
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ChatMessageDocHydrated = exports.ChatMessageDoc = exports.MessageDto = void 0;
13
13
  const uuid_1 = require("uuid");
14
- const chat_data_type_enum_1 = require("./chat-data-type.enum");
14
+ const chat_data_type_enum_1 = require("../../../enums/chat-data-type.enum");
15
15
  const owner_dto_1 = require("../../../common/owner.dto");
16
16
  const swagger_1 = require("@nestjs/swagger");
17
17
  class MessageContentReplyToDto {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GroupChatProfileDoc = void 0;
4
- const chat_data_type_enum_1 = require("./chat-data-type.enum");
4
+ const chat_data_type_enum_1 = require("../../../enums/chat-data-type.enum");
5
5
  class GroupChatProfileDoc {
6
6
  constructor(props) {
7
7
  this.dataType = chat_data_type_enum_1.ChatDataType.GROUP_CHAT_PROFILE;
@@ -1,5 +1,5 @@
1
1
  import { OwnerDto } from '../../../common/owner.dto';
2
- import { ChatDataType } from './chat-data-type.enum';
2
+ import { ChatDataType } from '../../../enums/chat-data-type.enum';
3
3
  declare class UserBlockDocBase {
4
4
  dataType: ChatDataType;
5
5
  timestamp: number;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UserBlockDocHydrated = exports.UserBlockDoc = void 0;
4
- const chat_data_type_enum_1 = require("./chat-data-type.enum");
4
+ const chat_data_type_enum_1 = require("../../../enums/chat-data-type.enum");
5
5
  class UserBlockDocBase {
6
6
  constructor(props) {
7
7
  this.dataType = chat_data_type_enum_1.ChatDataType.BLOCKED_USER;
@@ -1,5 +1,5 @@
1
1
  import { OwnerDto } from '../../../common/owner.dto';
2
- import { ChatDataType } from './chat-data-type.enum';
2
+ import { ChatDataType } from '../../../enums/chat-data-type.enum';
3
3
  import { MessageDto } from './chat-message.doc';
4
4
  declare class UserConversationDocBase {
5
5
  dataType: ChatDataType;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UserConversationDocHydrated = exports.UserConversationDoc = void 0;
4
- const chat_data_type_enum_1 = require("./chat-data-type.enum");
4
+ const chat_data_type_enum_1 = require("../../../enums/chat-data-type.enum");
5
5
  class UserConversationDocBase {
6
6
  constructor(props) {
7
7
  this.dataType = chat_data_type_enum_1.ChatDataType.CONVERSATION;
@@ -1,6 +1,6 @@
1
- import { ActivityChain } from '../../../common/enums';
1
+ import { ActivityChain } from '../../../enums/common.enum';
2
2
  import { NftMetadataAttributes } from '../token/nft-metadata-attributes';
3
- import { CollectionDataType } from './dataTypes';
3
+ import { CollectionDataType } from '../../../enums/collection.enum';
4
4
  import { CollectionProfileDoc } from './profile';
5
5
  import { OwnerDto } from '../../../common/owner.dto';
6
6
  declare class GlobalOfferDocBase {
@@ -11,15 +11,15 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.GlobalOfferDocHydrated = exports.GlobalOfferDoc = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
- const enums_1 = require("../../../common/enums");
14
+ const common_enum_1 = require("../../../enums/common.enum");
15
15
  const nft_metadata_attributes_1 = require("../token/nft-metadata-attributes");
16
- const dataTypes_1 = require("./dataTypes");
16
+ const collection_enum_1 = require("../../../enums/collection.enum");
17
17
  class GlobalOfferDocBase {
18
18
  constructor(props) {
19
- this.dataType = dataTypes_1.CollectionDataType.GlobalOffer;
19
+ this.dataType = collection_enum_1.CollectionDataType.GlobalOffer;
20
20
  this.attributes = [];
21
21
  this.isActive = true;
22
- this.chain = enums_1.ActivityChain.MVX;
22
+ this.chain = common_enum_1.ActivityChain.MVX;
23
23
  Object.assign(this, props);
24
24
  this.id = `${this.collection}-${this.offerId}-${this.marketplace}-${this.dataType}`;
25
25
  }
@@ -27,8 +27,8 @@ class GlobalOfferDocBase {
27
27
  __decorate([
28
28
  (0, swagger_1.ApiProperty)({
29
29
  description: 'Data type identifier for the global offer',
30
- enum: dataTypes_1.CollectionDataType,
31
- example: dataTypes_1.CollectionDataType.GlobalOffer,
30
+ enum: collection_enum_1.CollectionDataType,
31
+ example: collection_enum_1.CollectionDataType.GlobalOffer,
32
32
  }),
33
33
  __metadata("design:type", String)
34
34
  ], GlobalOfferDocBase.prototype, "dataType", void 0);
@@ -128,8 +128,8 @@ __decorate([
128
128
  __decorate([
129
129
  (0, swagger_1.ApiProperty)({
130
130
  description: 'Blockchain chain',
131
- enum: enums_1.ActivityChain,
132
- example: enums_1.ActivityChain.MVX,
131
+ enum: common_enum_1.ActivityChain,
132
+ example: common_enum_1.ActivityChain.MVX,
133
133
  }),
134
134
  __metadata("design:type", String)
135
135
  ], GlobalOfferDocBase.prototype, "chain", void 0);
@@ -1,5 +1,5 @@
1
1
  import { EgldOrEsdtTokenPayment } from '../../../common/tokenPayent';
2
- import { CollectionDataType } from './dataTypes';
2
+ import { CollectionDataType } from '../../../enums/collection.enum';
3
3
  import { CollectionProfileDoc } from './profile';
4
4
  import { CreatorProfileDoc } from '../user/user-creator-profile.doc';
5
5
  import { MintStageDto } from '../../../requests/collection/creator-drop-info';
@@ -40,8 +40,15 @@ export declare class CollectionMintProfileDocHydrated extends CollectionMintProf
40
40
  collectionInfo: Partial<CollectionProfileDoc>;
41
41
  creatorInfo: Partial<CreatorProfileDoc>;
42
42
  }
43
- declare const CollectionMintProfileDocWithStages_base: import("@nestjs/common").Type<Pick<CollectionMintProfileDocHydrated, "collectionSize" | "collectionInfo" | "contractAddress" | "collectionTag" | "nftTransferLimited" | "hasBotProtection" | "kycRequired" | "totalNftMinted" | "cid" | "mediaType" | "globalWalletLimit" | "creatorInfo" | "hasAttributes">>;
44
- export declare class CollectionMintProfileDocWithStages extends CollectionMintProfileDocWithStages_base {
43
+ declare type CollectionMintProfileDocWithStages_base = Pick<CollectionMintProfileDocHydrated, "collectionSize" | "collectionInfo" | "contractAddress" | "collectionTag" | "nftTransferLimited" | "hasBotProtection" | "kycRequired" | "totalNftMinted" | "cid" | "mediaType" | "globalWalletLimit" | "creatorInfo" | "hasAttributes">;
44
+ export declare type CollectionMintProfileDocWithStages = CollectionMintProfileDocWithStages_base & {
45
+ collection: string;
46
+ isExcludedFromMint: boolean;
47
+ userMintsGlobal: number;
48
+ mintStages: MintStageDto[];
49
+ };
50
+ declare const CollectionMintProfileDocWithStagesNest_base: import("@nestjs/common").Type<Pick<CollectionMintProfileDocHydrated, "collectionSize" | "collectionInfo" | "contractAddress" | "collectionTag" | "nftTransferLimited" | "hasBotProtection" | "kycRequired" | "totalNftMinted" | "cid" | "mediaType" | "globalWalletLimit" | "creatorInfo" | "hasAttributes">>;
51
+ export declare class CollectionMintProfileDocWithStagesNest extends CollectionMintProfileDocWithStagesNest_base {
45
52
  collection: string;
46
53
  isExcludedFromMint: boolean;
47
54
  userMintsGlobal: number;
@@ -12,10 +12,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.CollectionMintProfileDocWithStages = exports.CollectionMintProfileDocHydrated = exports.CollectionMintProfileDoc = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const tokenPayent_1 = require("../../../common/tokenPayent");
15
- const dataTypes_1 = require("./dataTypes");
15
+ const collection_enum_1 = require("../../../enums/collection.enum");
16
16
  class CollectionMintProfileDoc {
17
17
  constructor(props) {
18
- this.dataType = dataTypes_1.CollectionDataType.MintProfile;
18
+ this.dataType = collection_enum_1.CollectionDataType.MintProfile;
19
19
  this.prices = [];
20
20
  this.isSoldOut = false;
21
21
  Object.assign(this, props);
@@ -29,8 +29,8 @@ exports.CollectionMintProfileDoc = CollectionMintProfileDoc;
29
29
  __decorate([
30
30
  (0, swagger_1.ApiProperty)({
31
31
  description: 'Data type identifier for the mint profile',
32
- enum: dataTypes_1.CollectionDataType,
33
- example: dataTypes_1.CollectionDataType.MintProfile,
32
+ enum: collection_enum_1.CollectionDataType,
33
+ example: collection_enum_1.CollectionDataType.MintProfile,
34
34
  }),
35
35
  __metadata("design:type", String)
36
36
  ], CollectionMintProfileDoc.prototype, "dataType", void 0);
@@ -1,8 +1,8 @@
1
- import { EsdtTokenType, EsdtTokenSubType, ActivityChain } from '../../../common/enums';
1
+ import { EsdtTokenType, EsdtTokenSubType, ActivityChain } from '../../../enums/common.enum';
2
2
  import { SocialsDto } from '../../../common/socials';
3
3
  import { StatisticsDto } from '../../../common/statistics';
4
4
  import { XoxnoMarketplaceScCollectionConfig } from './collectionConfig';
5
- import { CollectionDataType } from './dataTypes';
5
+ import { CollectionDataType } from '../../../enums/collection.enum';
6
6
  export declare class Rule {
7
7
  type: 'kiosk_lock_rule' | 'royalty_rule';
8
8
  amount_bp?: number;
@@ -11,11 +11,11 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.CollectionProfileDoc = exports.TransferPolicy = exports.Rule = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
- const enums_1 = require("../../../common/enums");
14
+ const common_enum_1 = require("../../../enums/common.enum");
15
15
  const socials_1 = require("../../../common/socials");
16
16
  const statistics_1 = require("../../../common/statistics");
17
17
  const collectionConfig_1 = require("./collectionConfig");
18
- const dataTypes_1 = require("./dataTypes");
18
+ const collection_enum_1 = require("../../../enums/collection.enum");
19
19
  class Rule {
20
20
  }
21
21
  exports.Rule = Rule;
@@ -52,7 +52,7 @@ __decorate([
52
52
  ], TransferPolicy.prototype, "is_origin_byte", void 0);
53
53
  class CollectionProfileDoc {
54
54
  constructor(props) {
55
- this.dataType = dataTypes_1.CollectionDataType.CollectionProfile;
55
+ this.dataType = collection_enum_1.CollectionDataType.CollectionProfile;
56
56
  this.collection = '';
57
57
  this.originalCollection = '';
58
58
  this.name = '';
@@ -66,7 +66,7 @@ class CollectionProfileDoc {
66
66
  holdersCount: 0,
67
67
  }),
68
68
  });
69
- this.chain = enums_1.ActivityChain.MVX;
69
+ this.chain = common_enum_1.ActivityChain.MVX;
70
70
  this.transferPolicies = [];
71
71
  this.owner = '';
72
72
  this.creator = '';
@@ -95,8 +95,8 @@ exports.CollectionProfileDoc = CollectionProfileDoc;
95
95
  __decorate([
96
96
  (0, swagger_1.ApiProperty)({
97
97
  description: 'Data type identifier for the collection profile',
98
- enum: dataTypes_1.CollectionDataType,
99
- example: dataTypes_1.CollectionDataType.CollectionProfile,
98
+ enum: collection_enum_1.CollectionDataType,
99
+ example: collection_enum_1.CollectionDataType.CollectionProfile,
100
100
  }),
101
101
  __metadata("design:type", String)
102
102
  ], CollectionProfileDoc.prototype, "dataType", void 0);
@@ -152,17 +152,17 @@ __decorate([
152
152
  __decorate([
153
153
  (0, swagger_1.ApiProperty)({
154
154
  description: 'Token type',
155
- enum: enums_1.EsdtTokenType,
156
- example: enums_1.EsdtTokenType.NonFungibleESDT,
155
+ enum: common_enum_1.EsdtTokenType,
156
+ example: common_enum_1.EsdtTokenType.NonFungibleESDT,
157
157
  }),
158
158
  __metadata("design:type", String)
159
159
  ], CollectionProfileDoc.prototype, "type", void 0);
160
160
  __decorate([
161
161
  (0, swagger_1.ApiProperty)({
162
162
  description: 'Token subtype',
163
- enum: enums_1.EsdtTokenSubType,
163
+ enum: common_enum_1.EsdtTokenSubType,
164
164
  required: false,
165
- example: enums_1.EsdtTokenSubType.NonFungibleESDTv2,
165
+ example: common_enum_1.EsdtTokenSubType.NonFungibleESDTv2,
166
166
  }),
167
167
  __metadata("design:type", String)
168
168
  ], CollectionProfileDoc.prototype, "subType", void 0);
@@ -190,8 +190,8 @@ __decorate([
190
190
  __decorate([
191
191
  (0, swagger_1.ApiProperty)({
192
192
  description: 'Blockchain chain',
193
- enum: enums_1.ActivityChain,
194
- example: enums_1.ActivityChain.MVX,
193
+ enum: common_enum_1.ActivityChain,
194
+ example: common_enum_1.ActivityChain.MVX,
195
195
  }),
196
196
  __metadata("design:type", String)
197
197
  ], CollectionProfileDoc.prototype, "chain", void 0);
@@ -1,4 +1,4 @@
1
- import { ActivityChain } from '../../../common/enums';
1
+ import { ActivityChain } from '../../../enums/common.enum';
2
2
  import { CollectionProfileDoc } from './profile';
3
3
  declare class TradingDataSummary {
4
4
  volume: number;
@@ -11,8 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.CollectionStatsDocHydrated = exports.CollectionStatsDoc = exports.TradingStatistics = exports.AllTimeHigh = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
- const enums_1 = require("../../../common/enums");
15
- const dataTypes_1 = require("./dataTypes");
14
+ const common_enum_1 = require("../../../enums/common.enum");
15
+ const collection_enum_1 = require("../../../enums/collection.enum");
16
16
  const profile_1 = require("./profile");
17
17
  class TradingDataSummary {
18
18
  constructor() {
@@ -204,11 +204,11 @@ __decorate([
204
204
  ], TradingStatistics.prototype, "year", void 0);
205
205
  class CollectionStatsDoc {
206
206
  constructor(props) {
207
- this.dataType = dataTypes_1.CollectionDataType.CollectionStats;
207
+ this.dataType = collection_enum_1.CollectionDataType.CollectionStats;
208
208
  this.floorPrice = 0;
209
209
  this.listedCount = 0;
210
210
  this.tradingStats = new TradingStatistics();
211
- this.chain = enums_1.ActivityChain.MVX;
211
+ this.chain = common_enum_1.ActivityChain.MVX;
212
212
  if (!props?.collection) {
213
213
  throw new Error('collection is required');
214
214
  }
@@ -221,7 +221,7 @@ exports.CollectionStatsDoc = CollectionStatsDoc;
221
221
  __decorate([
222
222
  (0, swagger_1.ApiProperty)({
223
223
  description: 'Data type identifier for collection stats',
224
- example: dataTypes_1.CollectionDataType.CollectionStats,
224
+ example: collection_enum_1.CollectionDataType.CollectionStats,
225
225
  }),
226
226
  __metadata("design:type", String)
227
227
  ], CollectionStatsDoc.prototype, "dataType", void 0);
@@ -257,8 +257,8 @@ __decorate([
257
257
  __decorate([
258
258
  (0, swagger_1.ApiProperty)({
259
259
  description: 'Blockchain chain',
260
- enum: enums_1.ActivityChain,
261
- example: enums_1.ActivityChain.MVX,
260
+ enum: common_enum_1.ActivityChain,
261
+ example: common_enum_1.ActivityChain.MVX,
262
262
  }),
263
263
  __metadata("design:type", String)
264
264
  ], CollectionStatsDoc.prototype, "chain", void 0);
@@ -1,4 +1,4 @@
1
- import { CollectionDataType } from './dataTypes';
1
+ import { CollectionDataType } from '../../../enums/collection.enum';
2
2
  export declare class CollectionVerificationDoc {
3
3
  dataType: CollectionDataType;
4
4
  collection: string;
@@ -11,10 +11,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.CollectionVerificationDoc = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
- const dataTypes_1 = require("./dataTypes");
14
+ const collection_enum_1 = require("../../../enums/collection.enum");
15
15
  class CollectionVerificationDoc {
16
16
  constructor(props) {
17
- this.dataType = dataTypes_1.CollectionDataType.CollectionVerification;
17
+ this.dataType = collection_enum_1.CollectionDataType.CollectionVerification;
18
18
  Object.assign(this, props);
19
19
  this.id = `${this.collection}-${this.dataType}`;
20
20
  }
@@ -23,8 +23,8 @@ exports.CollectionVerificationDoc = CollectionVerificationDoc;
23
23
  __decorate([
24
24
  (0, swagger_1.ApiProperty)({
25
25
  description: 'Data type identifier for the collection verification',
26
- enum: dataTypes_1.CollectionDataType,
27
- example: dataTypes_1.CollectionDataType.CollectionVerification,
26
+ enum: collection_enum_1.CollectionDataType,
27
+ example: collection_enum_1.CollectionDataType.CollectionVerification,
28
28
  }),
29
29
  __metadata("design:type", String)
30
30
  ], CollectionVerificationDoc.prototype, "dataType", void 0);
@@ -1,3 +1,4 @@
1
+ import { BinanceBizStatus, BinanceBizType } from '../../../enums/binance.enum';
1
2
  interface PaymentInstruction {
2
3
  currency: string;
3
4
  amount: number;
@@ -32,15 +33,4 @@ export interface BinanceRequestParameters {
32
33
  data: string;
33
34
  childAttribute?: BinanceNotificationData;
34
35
  }
35
- export declare enum BinanceBizType {
36
- PAY = "PAY",
37
- REFUND = "REFUND",
38
- PAYOUT = "PAYOUT",
39
- PAY_REFUND = "PAY_REFUND",
40
- BALANCE = "BALANCE"
41
- }
42
- export declare enum BinanceBizStatus {
43
- PAY_SUCCESS = "PAY_SUCCESS",
44
- PAY_CLOSED = "PAY_CLOSED"
45
- }
46
36
  export {};
@@ -1,16 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BinanceBizStatus = exports.BinanceBizType = void 0;
4
- var BinanceBizType;
5
- (function (BinanceBizType) {
6
- BinanceBizType["PAY"] = "PAY";
7
- BinanceBizType["REFUND"] = "REFUND";
8
- BinanceBizType["PAYOUT"] = "PAYOUT";
9
- BinanceBizType["PAY_REFUND"] = "PAY_REFUND";
10
- BinanceBizType["BALANCE"] = "BALANCE";
11
- })(BinanceBizType || (exports.BinanceBizType = BinanceBizType = {}));
12
- var BinanceBizStatus;
13
- (function (BinanceBizStatus) {
14
- BinanceBizStatus["PAY_SUCCESS"] = "PAY_SUCCESS";
15
- BinanceBizStatus["PAY_CLOSED"] = "PAY_CLOSED";
16
- })(BinanceBizStatus || (exports.BinanceBizStatus = BinanceBizStatus = {}));
@@ -1,5 +1,5 @@
1
- import { PaymentProvider } from './payment-provider.enum';
2
- import { PurchaseType } from './purchase-type.enum';
1
+ import { PaymentProvider } from '../../../enums/payment-provider.enum';
2
+ import { PurchaseType } from '../../../enums/purchase-type.enum';
3
3
  export declare class CallbackUrl {
4
4
  success: string;
5
5
  error: string;
@@ -13,8 +13,8 @@ exports.ExternalPaymentRequest = exports.TwispayEventTicketCustomData = exports.
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const class_transformer_1 = require("class-transformer");
15
15
  const class_validator_1 = require("class-validator");
16
- const payment_provider_enum_1 = require("./payment-provider.enum");
17
- const purchase_type_enum_1 = require("./purchase-type.enum");
16
+ const payment_provider_enum_1 = require("../../../enums/payment-provider.enum");
17
+ const purchase_type_enum_1 = require("../../../enums/purchase-type.enum");
18
18
  class CallbackUrl {
19
19
  }
20
20
  exports.CallbackUrl = CallbackUrl;
@@ -1,7 +1,7 @@
1
1
  import { LaunchpadCustomData, MarketplaceCustomData, TwispayEventTicketCustomData } from './external-payment-request';
2
- import { ExternalPaymentInternalStatus } from './external-payment-status.enum';
3
- import { PaymentProvider } from './payment-provider.enum';
4
- import { PurchaseType } from './purchase-type.enum';
2
+ import { ExternalPaymentInternalStatus } from '../../../enums/external-payment-status.enum';
3
+ import { PaymentProvider } from '../../../enums/payment-provider.enum';
4
+ import { PurchaseType } from '../../../enums/purchase-type.enum';
5
5
  export declare class ExternalPayment {
6
6
  internalStatus: ExternalPaymentInternalStatus;
7
7
  address: string;
@@ -1,3 +1,4 @@
1
+ import { ItemType } from '../../../enums/external-payment-status.enum';
1
2
  export interface TwispayCartItems {
2
3
  item: string;
3
4
  unitPrice: string;
@@ -7,7 +8,3 @@ export interface TwispayCartItems {
7
8
  vatPercent?: number;
8
9
  itemDescription: string;
9
10
  }
10
- export declare enum ItemType {
11
- physical = "physical",
12
- digital = "digital"
13
- }
@@ -1,8 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ItemType = void 0;
4
- var ItemType;
5
- (function (ItemType) {
6
- ItemType["physical"] = "physical";
7
- ItemType["digital"] = "digital";
8
- })(ItemType || (exports.ItemType = ItemType = {}));
@@ -1,5 +1,5 @@
1
+ import { TwispayTransactionStatus } from '../../../enums/twispay.enum';
1
2
  import { ExternalPaymentRequest } from './external-payment-request';
2
- import { TwispayTransactionStatus } from './twispay-transaction';
3
3
  export interface TwispayCallBackData {
4
4
  transactionStatus: TwispayTransactionStatus;
5
5
  orderId: string;
@@ -1,3 +1,4 @@
1
+ import { TwispayTransactionType, TwispayIntervalType } from '../../../enums/twispay.enum';
1
2
  import { TwispayCartItems } from './twispay-cart';
2
3
  export interface TwispayOrderDetails {
3
4
  amount: number;
@@ -13,38 +14,3 @@ export interface TwispayOrderDetails {
13
14
  firstBillDate?: string;
14
15
  items?: TwispayCartItems[];
15
16
  }
16
- export declare enum TwispayTransactionType {
17
- purchase = "purchase",
18
- recurring = "recurring",
19
- managed = "managed",
20
- credit = "credit"
21
- }
22
- export declare enum TwispayCardTransactionMode {
23
- auth = "auth",//only reserve the requested amount
24
- authAndCapture = "authAndCapture",//also sends a settlement request
25
- credit = "credit"
26
- }
27
- export declare enum TwispayIntervalType {
28
- day = "day",
29
- month = "month"
30
- }
31
- export declare enum TwispayTransactionStatus {
32
- completeOk = "complete-ok",//complete, successful transaction
33
- cancelOk = "cancel-ok",
34
- refundOk = "refund-ok",
35
- voidOk = "void-ok",//using refund on AUTH only transaction
36
- chargeBack = "charge-back",
37
- completeFailed = "complete-failed",//declined transaction, can be declined if there is a long period of time passed. usually capture has to be made within 7days
38
- inProgress = "in-progress",//only the AUTH was made and it was successfully authorized - could be first status
39
- pending3d = "3d-pending"
40
- }
41
- export declare enum TwispayTransactionRefundReason {
42
- fraudConfirm = "fraud-confirm",
43
- highlySuspicious = "highly-suspicious",
44
- duplicatedTransaction = "duplicated-transaction",
45
- customerDemand = "customer-demand",
46
- testTransaction = "test-transaction",
47
- completeFailed = "complete-failed",
48
- cardExpired = "card-expired",
49
- itemSoltOut = "The item is sold already"
50
- }
@@ -1,48 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TwispayTransactionRefundReason = exports.TwispayTransactionStatus = exports.TwispayIntervalType = exports.TwispayCardTransactionMode = exports.TwispayTransactionType = void 0;
4
3
  // cardTransactionMode: TwispayCardTransactionMode;
5
4
  // backUrl: string; // used to redirect the customers back to the merchant’s site; we also post an encrypted transaction result to this URL
6
5
  // cardId?: number; //id of a previously used card for this customer
7
6
  // invoiceEmail?: string; //an alternative email address to send invoice to
8
7
  // custom?: string[]; //associative array of string values
9
- var TwispayTransactionType;
10
- (function (TwispayTransactionType) {
11
- TwispayTransactionType["purchase"] = "purchase";
12
- TwispayTransactionType["recurring"] = "recurring";
13
- TwispayTransactionType["managed"] = "managed";
14
- TwispayTransactionType["credit"] = "credit";
15
- })(TwispayTransactionType || (exports.TwispayTransactionType = TwispayTransactionType = {}));
16
- var TwispayCardTransactionMode;
17
- (function (TwispayCardTransactionMode) {
18
- TwispayCardTransactionMode["auth"] = "auth";
19
- TwispayCardTransactionMode["authAndCapture"] = "authAndCapture";
20
- TwispayCardTransactionMode["credit"] = "credit";
21
- })(TwispayCardTransactionMode || (exports.TwispayCardTransactionMode = TwispayCardTransactionMode = {}));
22
- var TwispayIntervalType;
23
- (function (TwispayIntervalType) {
24
- TwispayIntervalType["day"] = "day";
25
- TwispayIntervalType["month"] = "month";
26
- })(TwispayIntervalType || (exports.TwispayIntervalType = TwispayIntervalType = {}));
27
- var TwispayTransactionStatus;
28
- (function (TwispayTransactionStatus) {
29
- TwispayTransactionStatus["completeOk"] = "complete-ok";
30
- TwispayTransactionStatus["cancelOk"] = "cancel-ok";
31
- TwispayTransactionStatus["refundOk"] = "refund-ok";
32
- TwispayTransactionStatus["voidOk"] = "void-ok";
33
- TwispayTransactionStatus["chargeBack"] = "charge-back";
34
- TwispayTransactionStatus["completeFailed"] = "complete-failed";
35
- TwispayTransactionStatus["inProgress"] = "in-progress";
36
- TwispayTransactionStatus["pending3d"] = "3d-pending";
37
- })(TwispayTransactionStatus || (exports.TwispayTransactionStatus = TwispayTransactionStatus = {}));
38
- var TwispayTransactionRefundReason;
39
- (function (TwispayTransactionRefundReason) {
40
- TwispayTransactionRefundReason["fraudConfirm"] = "fraud-confirm";
41
- TwispayTransactionRefundReason["highlySuspicious"] = "highly-suspicious";
42
- TwispayTransactionRefundReason["duplicatedTransaction"] = "duplicated-transaction";
43
- TwispayTransactionRefundReason["customerDemand"] = "customer-demand";
44
- TwispayTransactionRefundReason["testTransaction"] = "test-transaction";
45
- TwispayTransactionRefundReason["completeFailed"] = "complete-failed";
46
- TwispayTransactionRefundReason["cardExpired"] = "card-expired";
47
- TwispayTransactionRefundReason["itemSoltOut"] = "The item is sold already";
48
- })(TwispayTransactionRefundReason || (exports.TwispayTransactionRefundReason = TwispayTransactionRefundReason = {}));