@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
@@ -13,8 +13,8 @@ exports.EventReferralFilter = exports.EventReferralFilterCriteriaDto = 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 event_referral_config_doc_1 = require("./event-referral-config.doc");
17
- const ticketing_data_type_enum_1 = require("./ticketing-data-type.enum");
16
+ const event_referral_config_doc_1 = require("../../../enums/event-referral-config.doc");
17
+ const ticketing_data_type_enum_1 = require("../../../enums/ticketing-data-type.enum");
18
18
  const cosmos_db_generic_filter_1 = require("../../cosmos-db-generic-filter");
19
19
  class EventReferralFilterCriteriaDto {
20
20
  }
@@ -1,4 +1,4 @@
1
- import { TicketingDataType } from './ticketing-data-type.enum';
1
+ import { TicketingDataType } from '../../../enums/ticketing-data-type.enum';
2
2
  export declare class EventReferralUsageDoc {
3
3
  dataType: TicketingDataType;
4
4
  id: string;
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.EventReferralUsageDoc = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const uuid_1 = require("uuid");
15
- const ticketing_data_type_enum_1 = require("./ticketing-data-type.enum");
15
+ const ticketing_data_type_enum_1 = require("../../../enums/ticketing-data-type.enum");
16
16
  class EventReferralUsageDoc {
17
17
  constructor(props) {
18
18
  this.dataType = ticketing_data_type_enum_1.TicketingDataType.REFERRAL_USAGE;
@@ -1,4 +1,4 @@
1
- import { TicketingDataType } from './ticketing-data-type.enum';
1
+ import { TicketingDataType } from '../../../enums/ticketing-data-type.enum';
2
2
  export declare class EventReferralDoc {
3
3
  dataType: TicketingDataType;
4
4
  id: string;
@@ -13,7 +13,7 @@ exports.EventReferralDoc = 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");
16
- const ticketing_data_type_enum_1 = require("./ticketing-data-type.enum");
16
+ const ticketing_data_type_enum_1 = require("../../../enums/ticketing-data-type.enum");
17
17
  class EventReferralDoc {
18
18
  constructor(props) {
19
19
  this.dataType = ticketing_data_type_enum_1.TicketingDataType.REFERRAL_CODE;
@@ -1,5 +1,5 @@
1
1
  import { EventGuestDoc } from './event-guest.doc';
2
- import { PaymentProvider } from '../external-payment/payment-provider.enum';
2
+ import { PaymentProvider } from '../../../enums/payment-provider.enum';
3
3
  declare class TwispayPaymentFormData {
4
4
  base64JsonRequest: string;
5
5
  base64Checksum: PromiseLike<ArrayBuffer>;
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.EventRegistrationResponseDto = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const event_guest_doc_1 = require("./event-guest.doc");
15
- const payment_provider_enum_1 = require("../external-payment/payment-provider.enum");
15
+ const payment_provider_enum_1 = require("../../../enums/payment-provider.enum");
16
16
  class TwispayPaymentFormData {
17
17
  }
18
18
  __decorate([
@@ -1,6 +1,12 @@
1
1
  import { EventStageProfileCreateDto } from './event-stage-profile-create.dto';
2
- declare const EventStageProfileEditDto_base: import("@nestjs/common").Type<Pick<EventStageProfileCreateDto, "isWhitelist" | "prices" | "maxLimit" | "userLimit" | "isEnabled" | "requiredApproval">>;
3
- export declare class EventStageProfileEditDto extends EventStageProfileEditDto_base {
2
+ declare type EventStageProfileEditDto_base = Pick<EventStageProfileCreateDto, "isWhitelist" | "prices" | "maxLimit" | "userLimit" | "isEnabled" | "requiredApproval">;
3
+ export declare type EventStageProfileEditDto = EventStageProfileEditDto_base & {
4
+ name: string;
5
+ startTime: number;
6
+ endTime: number;
7
+ };
8
+ declare const EventStageProfileEditDtoNest_base: import("@nestjs/common").Type<Pick<EventStageProfileCreateDto, "isWhitelist" | "prices" | "maxLimit" | "userLimit" | "isEnabled" | "requiredApproval">>;
9
+ export declare class EventStageProfileEditDtoNest extends EventStageProfileEditDtoNest_base {
4
10
  name: string;
5
11
  startTime: number;
6
12
  endTime: number;
@@ -1,4 +1,4 @@
1
- import { TicketingDataType } from './ticketing-data-type.enum';
1
+ import { TicketingDataType } from '../../../enums/ticketing-data-type.enum';
2
2
  import { EgldOrEsdtTokenPayment } from '../../../common/tokenPayent';
3
3
  export declare class EventStageProfileDoc {
4
4
  dataType: TicketingDataType;
@@ -13,7 +13,7 @@ exports.EventStageProfileDoc = 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");
16
- const ticketing_data_type_enum_1 = require("./ticketing-data-type.enum");
16
+ const ticketing_data_type_enum_1 = require("../../../enums/ticketing-data-type.enum");
17
17
  const tokenPayent_1 = require("../../../common/tokenPayent");
18
18
  class EventStageProfileDoc {
19
19
  constructor(props) {
@@ -1,6 +1,11 @@
1
1
  import { EventTicketProfileCreateDto } from './event-ticket-profile-create.dto';
2
- declare const EventTicketProfileEditDto_base: import("@nestjs/common").Type<Pick<EventTicketProfileCreateDto, "description" | "royalties" | "badgeColor" | "maxLimit" | "userLimit">>;
3
- export declare class EventTicketProfileEditDto extends EventTicketProfileEditDto_base {
2
+ declare type EventTicketProfileEditDto_base = Pick<EventTicketProfileCreateDto, "description" | "royalties" | "badgeColor" | "maxLimit" | "userLimit">;
3
+ export declare type EventTicketProfileEditDto = EventTicketProfileEditDto_base & {
4
+ name: string;
5
+ characteristics: Record<string, string | number>;
6
+ };
7
+ declare const EventTicketProfileEditDtoNest_base: import("@nestjs/common").Type<Pick<EventTicketProfileCreateDto, "description" | "royalties" | "badgeColor" | "maxLimit" | "userLimit">>;
8
+ export declare class EventTicketProfileEditDtoNest extends EventTicketProfileEditDtoNest_base {
4
9
  name: string;
5
10
  characteristics: Record<string, string | number>;
6
11
  }
@@ -1,4 +1,4 @@
1
- import { TicketingDataType } from './ticketing-data-type.enum';
1
+ import { TicketingDataType } from '../../../enums/ticketing-data-type.enum';
2
2
  export declare class EventTicketProfileDoc {
3
3
  dataType: TicketingDataType;
4
4
  eventId: string;
@@ -17,8 +17,13 @@ export declare class EventTicketProfileDoc {
17
17
  _ts: number;
18
18
  constructor(props?: Partial<EventTicketProfileDoc>);
19
19
  }
20
- declare const TicketProfileSummary_base: import("@nestjs/common").Type<Pick<EventTicketProfileDoc, "description" | "name" | "profile" | "badgeColor" | "characteristics">>;
21
- export declare class TicketProfileSummary extends TicketProfileSummary_base {
20
+ declare type TicketProfileSummary_base = Pick<EventTicketProfileDoc, "description" | "name" | "profile" | "badgeColor" | "characteristics">;
21
+ export declare type TicketProfileSummary = TicketProfileSummary_base & {
22
+ ticketId?: string;
23
+ quantity?: number;
24
+ };
25
+ declare const TicketProfileSummaryNest_base: import("@nestjs/common").Type<Pick<EventTicketProfileDoc, "description" | "name" | "profile" | "badgeColor" | "characteristics">>;
26
+ export declare class TicketProfileSummaryNest extends TicketProfileSummaryNest_base {
22
27
  ticketId?: string;
23
28
  quantity?: number;
24
29
  }
@@ -13,7 +13,7 @@ exports.TicketProfileSummary = exports.EventTicketProfileDoc = 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");
16
- const ticketing_data_type_enum_1 = require("./ticketing-data-type.enum");
16
+ const ticketing_data_type_enum_1 = require("../../../enums/ticketing-data-type.enum");
17
17
  class EventTicketProfileDoc {
18
18
  constructor(props) {
19
19
  this.dataType = ticketing_data_type_enum_1.TicketingDataType.EVENT_TICKET_PROFILE;
@@ -1,14 +1,9 @@
1
1
  import { EventGuestProfile } from './event-guest.doc';
2
2
  import { EventInvitation } from './event-invitation.doc';
3
- import { EventScanStatus, EventScanMessage } from './event-scan-status.enum';
3
+ import { EventScanStatus, EventScanMessage } from '../../../enums/event-scan-status.enum';
4
4
  import { TicketProfileSummary } from './event-ticket-profile.doc';
5
5
  import { NftDocHydrated } from '../token/nft-details.doc';
6
- export declare enum EventTicketQrType {
7
- BADGE = "badge",
8
- OFFLINE = "offline",
9
- GOOGLE = "google",
10
- MANUAL = "manual"
11
- }
6
+ import { EventTicketQrType } from '../../../enums/ticketing-visibility.enum';
12
7
  export declare class TicketSelection {
13
8
  identifier: string;
14
9
  ticketId: string;
@@ -9,21 +9,15 @@ 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.BadgeDecryptedData = exports.EventCheckInQR = exports.TicketsType = exports.QRBody = exports.TicketValidationResult = exports.TicketSelection = exports.EventTicketQrType = void 0;
12
+ exports.BadgeDecryptedData = exports.EventCheckInQR = exports.TicketsType = exports.QRBody = exports.TicketValidationResult = exports.TicketSelection = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const class_validator_1 = require("class-validator");
15
15
  const event_guest_doc_1 = require("./event-guest.doc");
16
16
  const event_invitation_doc_1 = require("./event-invitation.doc");
17
- const event_scan_status_enum_1 = require("./event-scan-status.enum");
17
+ const event_scan_status_enum_1 = require("../../../enums/event-scan-status.enum");
18
18
  const event_ticket_profile_doc_1 = require("./event-ticket-profile.doc");
19
19
  const nft_details_doc_1 = require("../token/nft-details.doc");
20
- var EventTicketQrType;
21
- (function (EventTicketQrType) {
22
- EventTicketQrType["BADGE"] = "badge";
23
- EventTicketQrType["OFFLINE"] = "offline";
24
- EventTicketQrType["GOOGLE"] = "google";
25
- EventTicketQrType["MANUAL"] = "manual";
26
- })(EventTicketQrType || (exports.EventTicketQrType = EventTicketQrType = {}));
20
+ const ticketing_visibility_enum_1 = require("../../../enums/ticketing-visibility.enum");
27
21
  class TicketSelection {
28
22
  }
29
23
  exports.TicketSelection = TicketSelection;
@@ -73,7 +67,7 @@ __decorate([
73
67
  __decorate([
74
68
  (0, swagger_1.ApiProperty)({
75
69
  description: 'QR Code type',
76
- enum: EventTicketQrType,
70
+ enum: ticketing_visibility_enum_1.EventTicketQrType,
77
71
  enumName: 'EventTicketQrType',
78
72
  }),
79
73
  __metadata("design:type", String)
@@ -124,10 +118,10 @@ exports.QRBody = QRBody;
124
118
  __decorate([
125
119
  (0, swagger_1.ApiProperty)({
126
120
  description: 'QR Type',
127
- enum: EventTicketQrType,
121
+ enum: ticketing_visibility_enum_1.EventTicketQrType,
128
122
  enumName: 'EventTicketQrType',
129
123
  }),
130
- (0, class_validator_1.IsEnum)(EventTicketQrType),
124
+ (0, class_validator_1.IsEnum)(ticketing_visibility_enum_1.EventTicketQrType),
131
125
  __metadata("design:type", String)
132
126
  ], QRBody.prototype, "type", void 0);
133
127
  __decorate([
@@ -1,4 +1,4 @@
1
- import { EventUserRoles, EventUserRolePermission } from './event-user-roles.enum';
1
+ import { EventUserRoles, EventUserRolePermission } from '../../../enums/event-user-roles.enum';
2
2
  export declare class EventUserRoleCreateDto {
3
3
  wallet?: string;
4
4
  name: string;
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.EventUserRoleCreateDto = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const class_validator_1 = require("class-validator");
15
- const event_user_roles_enum_1 = require("./event-user-roles.enum");
15
+ const event_user_roles_enum_1 = require("../../../enums/event-user-roles.enum");
16
16
  class EventUserRoleCreateDto {
17
17
  }
18
18
  exports.EventUserRoleCreateDto = EventUserRoleCreateDto;
@@ -1,8 +1,5 @@
1
- import { EventUserRoles, EventUserRolePermission } from './event-user-roles.enum';
2
- export declare enum RoleStatus {
3
- ACTIVE = "active",
4
- PENDING = "pending"
5
- }
1
+ import { RoleStatus } from '../../../enums/event-user-role.doc';
2
+ import { EventUserRoles, EventUserRolePermission } from '../../../enums/event-user-roles.enum';
6
3
  export declare class EventUserRoleDoc {
7
4
  dataType: string;
8
5
  eventId?: string;
@@ -9,17 +9,13 @@ 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.EventUserRole = exports.EventUserRoleDoc = exports.RoleStatus = void 0;
12
+ exports.EventUserRole = exports.EventUserRoleDoc = void 0;
13
13
  const sdk_nestjs_common_1 = require("@multiversx/sdk-nestjs-common");
14
14
  const swagger_1 = require("@nestjs/swagger");
15
15
  const class_validator_1 = require("class-validator");
16
- const event_user_roles_enum_1 = require("./event-user-roles.enum");
17
- const ticketing_data_type_enum_1 = require("./ticketing-data-type.enum");
18
- var RoleStatus;
19
- (function (RoleStatus) {
20
- RoleStatus["ACTIVE"] = "active";
21
- RoleStatus["PENDING"] = "pending";
22
- })(RoleStatus || (exports.RoleStatus = RoleStatus = {}));
16
+ const event_user_role_doc_1 = require("../../../enums/event-user-role.doc");
17
+ const event_user_roles_enum_1 = require("../../../enums/event-user-roles.enum");
18
+ const ticketing_data_type_enum_1 = require("../../../enums/ticketing-data-type.enum");
23
19
  class EventUserRoleDoc {
24
20
  constructor(props) {
25
21
  this.dataType = ticketing_data_type_enum_1.TicketingDataType.USER_ROLE;
@@ -104,7 +100,7 @@ __decorate([
104
100
  __decorate([
105
101
  (0, swagger_1.ApiProperty)({
106
102
  description: 'Status of the user role.',
107
- enum: RoleStatus,
103
+ enum: event_user_role_doc_1.RoleStatus,
108
104
  enumName: 'RoleStatus',
109
105
  required: false,
110
106
  }),
@@ -1,6 +1,20 @@
1
- import { EventVoucherDoc, VoucherType } from './event-voucher.doc';
2
- declare const EventVoucherCreateDto_base: import("@nestjs/common").Type<Partial<Omit<EventVoucherDoc, "id" | "dataType" | "createdAt" | "usedCount" | "createdBy">>>;
3
- export declare class EventVoucherCreateDto extends EventVoucherCreateDto_base {
1
+ import { EventVoucherDoc } from './event-voucher.doc';
2
+ import { VoucherType } from '../../../enums/voucher-type.enum';
3
+ declare type EventVoucherCreateDto_base = Partial<Omit<EventVoucherDoc, "id" | "dataType" | "createdAt" | "usedCount" | "createdBy">>;
4
+ export declare type EventVoucherCreateDto = EventVoucherCreateDto_base & {
5
+ code?: string;
6
+ type: VoucherType;
7
+ amount: number;
8
+ maxDiscountAmount?: number;
9
+ maxUses: number;
10
+ maxUsesPerUser: number;
11
+ eventId: string;
12
+ startDate?: number;
13
+ endDate?: number;
14
+ isActive?: boolean;
15
+ };
16
+ declare const EventVoucherCreateDtoNest_base: import("@nestjs/common").Type<Partial<Omit<EventVoucherDoc, "id" | "dataType" | "createdAt" | "usedCount" | "createdBy">>>;
17
+ export declare class EventVoucherCreateDtoNest extends EventVoucherCreateDtoNest_base {
4
18
  code?: string;
5
19
  type: VoucherType;
6
20
  amount: number;
@@ -13,6 +13,7 @@ exports.EventVoucherCreateDto = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const class_validator_1 = require("class-validator");
15
15
  const event_voucher_doc_1 = require("./event-voucher.doc");
16
+ const voucher_type_enum_1 = require("../../../enums/voucher-type.enum");
16
17
  class EventVoucherCreateDto extends (0, swagger_1.PartialType)((0, swagger_1.OmitType)(event_voucher_doc_1.EventVoucherDoc, [
17
18
  'id',
18
19
  'dataType',
@@ -31,10 +32,10 @@ __decorate([
31
32
  __decorate([
32
33
  (0, swagger_1.ApiProperty)({
33
34
  description: 'Type of discount provided by the voucher.',
34
- enum: event_voucher_doc_1.VoucherType,
35
+ enum: voucher_type_enum_1.VoucherType,
35
36
  enumName: 'VoucherType',
36
37
  }),
37
- (0, class_validator_1.IsEnum)(event_voucher_doc_1.VoucherType),
38
+ (0, class_validator_1.IsEnum)(voucher_type_enum_1.VoucherType),
38
39
  __metadata("design:type", String)
39
40
  ], EventVoucherCreateDto.prototype, "type", void 0);
40
41
  __decorate([
@@ -1,6 +1,12 @@
1
1
  import { EventVoucherCreateDto } from './event-voucher-create.dto';
2
- declare const EventVoucherEditDto_base: import("@nestjs/common").Type<Partial<Omit<EventVoucherCreateDto, "eventId" | "code">>>;
3
- export declare class EventVoucherEditDto extends EventVoucherEditDto_base {
2
+ declare type EventVoucherEditDto_base = Partial<Omit<EventVoucherCreateDto, "eventId" | "code">>;
3
+ export declare type EventVoucherEditDto = EventVoucherEditDto_base & {
4
+ isActive?: boolean;
5
+ startDate?: number;
6
+ endDate?: number;
7
+ };
8
+ declare const EventVoucherEditDtoNest_base: import("@nestjs/common").Type<Partial<Omit<EventVoucherCreateDto, "eventId" | "code">>>;
9
+ export declare class EventVoucherEditDtoNest extends EventVoucherEditDtoNest_base {
4
10
  isActive?: boolean;
5
11
  startDate?: number;
6
12
  endDate?: number;
@@ -1,5 +1,6 @@
1
- import { EventVoucherDoc, VoucherType } from './event-voucher.doc';
1
+ import { EventVoucherDoc } from './event-voucher.doc';
2
2
  import { CosmosDbGenericFilter, RangeFilter } from '../../cosmos-db-generic-filter';
3
+ import { VoucherType } from '../../../enums/voucher-type.enum';
3
4
  export declare class EventVoucherFilterCriteriaDto {
4
5
  searchText?: string;
5
6
  code?: string[];
@@ -13,9 +13,9 @@ exports.EventVoucherFilter = exports.EventVoucherFilterCriteriaDto = 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 event_voucher_doc_1 = require("./event-voucher.doc");
17
- const ticketing_data_type_enum_1 = require("./ticketing-data-type.enum");
16
+ const ticketing_data_type_enum_1 = require("../../../enums/ticketing-data-type.enum");
18
17
  const cosmos_db_generic_filter_1 = require("../../cosmos-db-generic-filter");
18
+ const voucher_type_enum_1 = require("../../../enums/voucher-type.enum");
19
19
  class EventVoucherFilterCriteriaDto {
20
20
  }
21
21
  exports.EventVoucherFilterCriteriaDto = EventVoucherFilterCriteriaDto;
@@ -46,13 +46,13 @@ __decorate([
46
46
  required: false,
47
47
  type: String,
48
48
  isArray: true,
49
- enum: event_voucher_doc_1.VoucherType,
49
+ enum: voucher_type_enum_1.VoucherType,
50
50
  enumName: 'VoucherType',
51
51
  description: 'Filter by type of discount (fixed or percentage).',
52
52
  }),
53
53
  (0, class_validator_1.IsOptional)(),
54
54
  (0, class_validator_1.IsArray)(),
55
- (0, class_validator_1.IsEnum)(event_voucher_doc_1.VoucherType, { each: true }),
55
+ (0, class_validator_1.IsEnum)(voucher_type_enum_1.VoucherType, { each: true }),
56
56
  __metadata("design:type", Array)
57
57
  ], EventVoucherFilterCriteriaDto.prototype, "type", void 0);
58
58
  __decorate([
@@ -1,8 +1,5 @@
1
- import { TicketingDataType } from './ticketing-data-type.enum';
2
- export declare enum VoucherType {
3
- FIXED = "fixed",
4
- PERCENTAGE = "percentage"
5
- }
1
+ import { TicketingDataType } from '../../../enums/ticketing-data-type.enum';
2
+ import { VoucherType } from '../../../enums/voucher-type.enum';
6
3
  export declare class EventVoucherDoc {
7
4
  dataType: TicketingDataType;
8
5
  id: string;
@@ -9,16 +9,12 @@ 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.EventVoucherQuery = exports.EventVoucherDoc = exports.VoucherType = void 0;
12
+ exports.EventVoucherQuery = exports.EventVoucherDoc = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const class_validator_1 = require("class-validator");
15
- const ticketing_data_type_enum_1 = require("./ticketing-data-type.enum");
15
+ const ticketing_data_type_enum_1 = require("../../../enums/ticketing-data-type.enum");
16
16
  const cosmos_db_paginated_response_dto_1 = require("../../cosmos-db-paginated-response.dto");
17
- var VoucherType;
18
- (function (VoucherType) {
19
- VoucherType["FIXED"] = "fixed";
20
- VoucherType["PERCENTAGE"] = "percentage";
21
- })(VoucherType || (exports.VoucherType = VoucherType = {}));
17
+ const voucher_type_enum_1 = require("../../../enums/voucher-type.enum");
22
18
  class EventVoucherDoc {
23
19
  constructor(props) {
24
20
  this.dataType = ticketing_data_type_enum_1.TicketingDataType.VOUCHER;
@@ -54,7 +50,7 @@ __decorate([
54
50
  __decorate([
55
51
  (0, swagger_1.ApiProperty)({
56
52
  description: 'Type of discount provided by the voucher.',
57
- enum: VoucherType,
53
+ enum: voucher_type_enum_1.VoucherType,
58
54
  enumName: 'VoucherType',
59
55
  }),
60
56
  __metadata("design:type", String)
@@ -1,7 +1,7 @@
1
- import { TokenDataType } from './token-data.enum';
1
+ import { TokenDataType } from '../../../enums/token-data.enum';
2
2
  import { NftMetadata } from './nft-metadata';
3
3
  import { NftSaleInfo, NftSaleInfoHydrated } from './nft-sale-info';
4
- import { ActivityChain, EsdtTokenSubType, EsdtTokenType } from '../../../common/enums';
4
+ import { ActivityChain, EsdtTokenSubType, EsdtTokenType } from '../../../enums/common.enum';
5
5
  import { CollectionProfileDoc } from '../collection/profile';
6
6
  import { OwnerDto } from '../../../common/owner.dto';
7
7
  export declare class NFTEventData {
@@ -10,10 +10,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.NftDocHydrated = exports.ExtraProperties = exports.NftDoc = exports.NftMedia = exports.NFTEventData = void 0;
13
- const token_data_enum_1 = require("./token-data.enum");
13
+ const token_data_enum_1 = require("../../../enums/token-data.enum");
14
14
  const nft_metadata_1 = require("./nft-metadata");
15
15
  const nft_sale_info_1 = require("./nft-sale-info");
16
- const enums_1 = require("../../../common/enums");
16
+ const common_enum_1 = require("../../../enums/common.enum");
17
17
  const swagger_1 = require("@nestjs/swagger");
18
18
  const profile_1 = require("../collection/profile");
19
19
  const owner_dto_1 = require("../../../common/owner.dto");
@@ -86,11 +86,11 @@ class NftDocBase {
86
86
  this.wasProcessed = false;
87
87
  this.metadata = { attributes: [] };
88
88
  this.isTicket = false;
89
- this.chain = enums_1.ActivityChain.MVX;
89
+ this.chain = common_enum_1.ActivityChain.MVX;
90
90
  this.onSale = false;
91
91
  Object.assign(this, props);
92
92
  this.id = this.identifier;
93
- if (this.type === enums_1.EsdtTokenType.NonFungibleESDT) {
93
+ if (this.type === common_enum_1.EsdtTokenType.NonFungibleESDT) {
94
94
  this.supply = 1;
95
95
  this.supplyLong = '1';
96
96
  }
@@ -140,7 +140,7 @@ __decorate([
140
140
  ], NftDocBase.prototype, "nonce", void 0);
141
141
  __decorate([
142
142
  (0, swagger_1.ApiProperty)({
143
- enum: enums_1.EsdtTokenType,
143
+ enum: common_enum_1.EsdtTokenType,
144
144
  enumName: 'EsdtTokenType',
145
145
  required: true,
146
146
  description: 'The type of the NFT',
@@ -149,7 +149,7 @@ __decorate([
149
149
  ], NftDocBase.prototype, "type", void 0);
150
150
  __decorate([
151
151
  (0, swagger_1.ApiProperty)({
152
- enum: enums_1.EsdtTokenSubType,
152
+ enum: common_enum_1.EsdtTokenSubType,
153
153
  enumName: 'EsdtTokenSubType',
154
154
  required: false,
155
155
  description: 'The sub-type of the NFT',
@@ -261,7 +261,7 @@ __decorate([
261
261
  ], NftDocBase.prototype, "eventData", void 0);
262
262
  __decorate([
263
263
  (0, swagger_1.ApiProperty)({
264
- enum: enums_1.ActivityChain,
264
+ enum: common_enum_1.ActivityChain,
265
265
  enumName: 'ActivityChain',
266
266
  required: true,
267
267
  description: 'The chain of the NFT',
@@ -1,5 +1,5 @@
1
- import { NftExtraAttributesType } from '../../../requests/nft-data/nft-extra-attributes.type';
2
- import { TokenDataType } from './token-data.enum';
1
+ import { NftExtraAttributesType } from '../../../enums/nft-extra-attributes.enum';
2
+ import { TokenDataType } from '../../../enums/token-data.enum';
3
3
  export declare class NftExtraMetadata {
4
4
  dataType: TokenDataType;
5
5
  identifier: string;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NftExtraMetadata = void 0;
4
- const token_data_enum_1 = require("./token-data.enum");
4
+ const token_data_enum_1 = require("../../../enums/token-data.enum");
5
5
  class NftExtraMetadata {
6
6
  constructor(props) {
7
7
  this.dataType = token_data_enum_1.TokenDataType.NftExtraMetadata;
@@ -1,6 +1,6 @@
1
- import { ActivityChain } from '../../../common/enums';
1
+ import { ActivityChain } from '../../../enums/common.enum';
2
2
  import { NftDocHydrated } from './nft-details.doc';
3
- import { TokenDataType } from './token-data.enum';
3
+ import { TokenDataType } from '../../../enums/token-data.enum';
4
4
  import { OwnerDto } from '../../../common/owner.dto';
5
5
  declare class NftOfferDocBase {
6
6
  dataType: TokenDataType;
@@ -11,15 +11,15 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.NftOfferDocHydrated = exports.NftOfferDoc = 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_details_doc_1 = require("./nft-details.doc");
16
- const token_data_enum_1 = require("./token-data.enum");
16
+ const token_data_enum_1 = require("../../../enums/token-data.enum");
17
17
  const owner_dto_1 = require("../../../common/owner.dto");
18
18
  class NftOfferDocBase {
19
19
  constructor(props) {
20
20
  this.dataType = token_data_enum_1.TokenDataType.Offer;
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.identifier}-${this.offerId}-${this.marketplace}-${this.dataType}`;
25
25
  if (!this.timestamp) {
@@ -153,8 +153,8 @@ __decorate([
153
153
  ], NftOfferDocBase.prototype, "isActive", void 0);
154
154
  __decorate([
155
155
  (0, swagger_1.ApiProperty)({
156
- example: enums_1.ActivityChain.MVX,
157
- enum: enums_1.ActivityChain,
156
+ example: common_enum_1.ActivityChain.MVX,
157
+ enum: common_enum_1.ActivityChain,
158
158
  description: 'Blockchain network of the offer',
159
159
  }),
160
160
  __metadata("design:type", String)
@@ -1,5 +1,5 @@
1
1
  import { OwnerDto } from '../../../common/owner.dto';
2
- import { XoxnoAuctionTypeString } from '../../../entities/xoxno-marketplace-sc/xoxno-auction-type.enum';
2
+ import { XoxnoAuctionTypeString } from '../../../enums/xoxno-auction-type.enum';
3
3
  declare class NftSaleInfoBase {
4
4
  auctionId: number;
5
5
  seller: string;
@@ -12,8 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.NftSaleInfoHydrated = exports.NftSaleInfo = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const owner_dto_1 = require("../../../common/owner.dto");
15
- const enums_1 = require("../../../common/enums");
16
- const xoxno_auction_type_enum_1 = require("../../../entities/xoxno-marketplace-sc/xoxno-auction-type.enum");
15
+ const common_enum_1 = require("../../../enums/common.enum");
16
+ const xoxno_auction_type_enum_1 = require("../../../enums/xoxno-auction-type.enum");
17
17
  class NftSaleInfoBase {
18
18
  }
19
19
  __decorate([
@@ -86,8 +86,8 @@ __decorate([
86
86
  ], NftSaleInfoBase.prototype, "quantity", void 0);
87
87
  __decorate([
88
88
  (0, swagger_1.ApiProperty)({
89
- enum: enums_1.MarketplacesOnSaleNames,
90
- example: enums_1.MarketplacesOnSaleNames.XOXNO_MARKETPLACE,
89
+ enum: common_enum_1.MarketplacesOnSaleNames,
90
+ example: common_enum_1.MarketplacesOnSaleNames.XOXNO_MARKETPLACE,
91
91
  enumName: 'MarketplacesOnSaleNames',
92
92
  }),
93
93
  __metadata("design:type", String)
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SftOwnerDoc = void 0;
4
- const enums_1 = require("../../../common/enums");
5
- const token_data_enum_1 = require("./token-data.enum");
4
+ const common_enum_1 = require("../../../enums/common.enum");
5
+ const token_data_enum_1 = require("../../../enums/token-data.enum");
6
6
  class SftOwnerDoc {
7
7
  constructor(props) {
8
8
  this.dataType = token_data_enum_1.TokenDataType.SftOwner;
9
9
  this.onSale = false;
10
- if (props?.type != enums_1.EsdtTokenType.SemiFungibleESDT &&
11
- props?.type != enums_1.EsdtTokenType.MetaESDT) {
10
+ if (props?.type != common_enum_1.EsdtTokenType.SemiFungibleESDT &&
11
+ props?.type != common_enum_1.EsdtTokenType.MetaESDT) {
12
12
  throw new Error(`invalid type [${props?.type}] for sft owner doc`);
13
13
  }
14
14
  Object.assign(this, props);
@@ -1,4 +1,4 @@
1
- import { UserDataType } from './user-data.type';
1
+ import { UserDataType } from '../../../enums/user-data-type.enum';
2
2
  import { SocialsDto } from '../../../common/socials';
3
3
  export declare class CreatorProfileDoc {
4
4
  dataType: UserDataType;