@xoxno/sdk-js 0.1.252 → 0.1.254

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 (83) hide show
  1. package/dist/dist/email.esm.d.ts +23 -0
  2. package/dist/dist/email.esm.d.ts.map +1 -0
  3. package/dist/email/event-email-2.d.ts.map +1 -1
  4. package/dist/email/utils.d.ts.map +1 -1
  5. package/dist/email.cjs.js +1 -1
  6. package/dist/email.esm.js +1 -1
  7. package/dist/scripts/renderEmail.d.ts +2 -0
  8. package/dist/scripts/renderEmail.d.ts.map +1 -0
  9. package/dist/src/collection/index.d.ts +298 -0
  10. package/dist/src/collection/index.d.ts.map +1 -0
  11. package/dist/src/common/index.d.ts +72 -0
  12. package/dist/src/common/index.d.ts.map +1 -0
  13. package/dist/src/email/Markdown.d.ts +4 -0
  14. package/dist/src/email/Markdown.d.ts.map +1 -0
  15. package/dist/src/email/email.d.ts +30 -0
  16. package/dist/src/email/email.d.ts.map +1 -0
  17. package/dist/src/email/event-email-2.d.ts +20 -0
  18. package/dist/src/email/event-email-2.d.ts.map +1 -0
  19. package/dist/src/email/event-email.d.ts +20 -0
  20. package/dist/src/email/event-email.d.ts.map +1 -0
  21. package/dist/src/email/post-email.d.ts +19 -0
  22. package/dist/src/email/post-email.d.ts.map +1 -0
  23. package/dist/src/email/types.d.ts +65 -0
  24. package/dist/src/email/types.d.ts.map +1 -0
  25. package/dist/src/email/utils.d.ts +88 -0
  26. package/dist/src/email/utils.d.ts.map +1 -0
  27. package/dist/src/email.d.ts +6 -0
  28. package/dist/src/email.d.ts.map +1 -0
  29. package/dist/src/index.d.ts +10 -0
  30. package/dist/src/index.d.ts.map +1 -0
  31. package/dist/src/interactions/index.d.ts +256 -0
  32. package/dist/src/interactions/index.d.ts.map +1 -0
  33. package/dist/src/interactor.d.ts +6 -0
  34. package/dist/src/interactor.d.ts.map +1 -0
  35. package/dist/src/launchpad/index.d.ts +79 -0
  36. package/dist/src/launchpad/index.d.ts.map +1 -0
  37. package/dist/src/nft/index.d.ts +69 -0
  38. package/dist/src/nft/index.d.ts.map +1 -0
  39. package/dist/src/scripts/renderEmail.d.ts +2 -0
  40. package/dist/src/scripts/renderEmail.d.ts.map +1 -0
  41. package/dist/src/staking/index.d.ts +12 -0
  42. package/dist/src/staking/index.d.ts.map +1 -0
  43. package/dist/src/types/collection.d.ts +883 -0
  44. package/dist/src/types/collection.d.ts.map +1 -0
  45. package/dist/src/types/common.d.ts +72 -0
  46. package/dist/src/types/common.d.ts.map +1 -0
  47. package/dist/src/types/event.d.ts +92 -0
  48. package/dist/src/types/event.d.ts.map +1 -0
  49. package/dist/src/types/index.d.ts +9 -0
  50. package/dist/src/types/index.d.ts.map +1 -0
  51. package/dist/src/types/interactions.d.ts +97 -0
  52. package/dist/src/types/interactions.d.ts.map +1 -0
  53. package/dist/src/types/nft.d.ts +119 -0
  54. package/dist/src/types/nft.d.ts.map +1 -0
  55. package/dist/src/types/staking.d.ts +67 -0
  56. package/dist/src/types/staking.d.ts.map +1 -0
  57. package/dist/src/types/trading.d.ts +115 -0
  58. package/dist/src/types/trading.d.ts.map +1 -0
  59. package/dist/src/types/user.d.ts +302 -0
  60. package/dist/src/types/user.d.ts.map +1 -0
  61. package/dist/src/users/index.d.ts +202 -0
  62. package/dist/src/users/index.d.ts.map +1 -0
  63. package/dist/src/utils/SmartContractAbis.d.ts +16 -0
  64. package/dist/src/utils/SmartContractAbis.d.ts.map +1 -0
  65. package/dist/src/utils/SmartContractService.d.ts +4 -0
  66. package/dist/src/utils/SmartContractService.d.ts.map +1 -0
  67. package/dist/src/utils/api.d.ts +31 -0
  68. package/dist/src/utils/api.d.ts.map +1 -0
  69. package/dist/src/utils/const.d.ts +14 -0
  70. package/dist/src/utils/const.d.ts.map +1 -0
  71. package/dist/src/utils/getActivity.d.ts +11 -0
  72. package/dist/src/utils/getActivity.d.ts.map +1 -0
  73. package/dist/src/utils/helpers.d.ts +4 -0
  74. package/dist/src/utils/helpers.d.ts.map +1 -0
  75. package/dist/src/utils/regex.d.ts +3 -0
  76. package/dist/src/utils/regex.d.ts.map +1 -0
  77. package/dist/src/utils/scCalls.d.ts +10 -0
  78. package/dist/src/utils/scCalls.d.ts.map +1 -0
  79. package/dist/src/utils.d.ts +5 -0
  80. package/dist/src/utils.d.ts.map +1 -0
  81. package/dist/types/event.d.ts +1 -0
  82. package/dist/types/event.d.ts.map +1 -1
  83. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ declare function main(): Promise<void>;
2
+ //# sourceMappingURL=renderEmail.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderEmail.d.ts","sourceRoot":"","sources":["../../src/scripts/renderEmail.js"],"names":[],"mappings":"AAAA,uCA8BC"}
@@ -0,0 +1,298 @@
1
+ import type { AnalyticsGraphs, NftData, StakingSummaryPools } from '../types';
2
+ import type { CollectionListings, CollectionRanksExport, CollectionsNFTsResponse, CollectionStatsDoc, CollectionStatsResults, CollectionVolume, GetCollectionMintInfo, GetCollectionsArgs, GetCollectionStatsArgs, GETDropsArgs, GetDropsResponse, GetGlobalOffersArgs, GetNFTsArgs, GetOffersArgs, GetOffersResponse, GlobalOffersResult, ICollectionAttributes, ICollectionProfile, IOwners, ISingleHolder, SearchNFTsResponse, SuggestNFTsArgs, SuggestResults } from '../types/collection';
3
+ import type { TradincActivityArgs, TradingActivityResponse } from '../types/trading';
4
+ /**
5
+ * CollectionModule provides a set of methods to interact with NFT collections.
6
+ * It includes methods for getting collection profile information, floor price,
7
+ * collection attributes, and searching NFTs within a collection.
8
+ *
9
+ * @example
10
+ * const collectionModule = new CollectionModule();
11
+ */
12
+ export declare class CollectionModule {
13
+ private api;
14
+ constructor();
15
+ /**
16
+ * @public
17
+ * @async
18
+ * @function getCollectionProfile
19
+ * @param {string} collection - The ticker of the collection to fetch the profile for.
20
+ * @returns {Promise<ICollectionProfile>} A promise that resolves to the fetched collection profile.
21
+ *
22
+ * This function fetches the profile of a given collection. It takes the following parameter:
23
+ * - collection (string): The ticker of the collection to fetch the profile for.
24
+ *
25
+ * The function first validates the input ticker and checks if it is a valid collection ticker.
26
+ * If it is valid, the function fetches the collection profile using the API.
27
+ * Finally, it returns a promise that resolves to the fetched collection profile.
28
+ */
29
+ getCollectionProfile: (collection: string) => Promise<ICollectionProfile>;
30
+ /**
31
+ * @public
32
+ * @async
33
+ * @function getDailyTrending
34
+ * @returns {Promise<NftData[]>} A promise that resolves to the array of trending NFTs.
35
+ * This function fetches the top NFTs that are trending today based on their floor and volumes
36
+ */
37
+ getDailyTrending: () => Promise<NftData[]>;
38
+ /**
39
+ * Fetches the floor price of a collection.
40
+ * @param collection - The ticker of the collection.
41
+ * @param token - The token for the floor price calculation (default: 'EGLD').
42
+ * @returns A Promise that resolves to the collection's floor price as a number.
43
+ * @throws An error if the provided collection ticker is invalid.
44
+ */
45
+ getCollectionFloorPrice: (collection: string, token?: string) => Promise<number>;
46
+ /**
47
+ * @public
48
+ * @async
49
+ * @function getCollectionAttributes
50
+ * @param {string} collection - The ticker of the collection to fetch the attributes for.
51
+ * @returns {Promise<ICollectionAttributes>} A promise that resolves to the fetched collection attributes.
52
+ *
53
+ * This function fetches the attributes of a given collection. It takes the following parameter:
54
+ * - collection (string): The ticker of the collection to fetch the attributes for.
55
+ *
56
+ * The function first validates the input ticker and checks if it is a valid collection ticker.
57
+ * If it is valid, the function fetches the collection attributes using the API.
58
+ * Finally, it returns a promise that resolves to the fetched collection attributes.
59
+ */
60
+ getCollectionAttributes: (collection: string) => Promise<ICollectionAttributes>;
61
+ /**
62
+ * Searches for NFTs based on the provided arguments.
63
+ * @param {SearchNFTsArgs} args - The SearchNFTsArgs object containing the search parameters.
64
+ * @returns {Promise<SearchNFTsResponse>} A Promise that resolves to the SearchNFTsResponse object.
65
+ * @throws An error if the provided collection ticker is invalid or if the 'top' value is greater than 100.
66
+ */
67
+ getNFTs: (args: GetNFTsArgs) => Promise<SearchNFTsResponse>;
68
+ /**
69
+ * Searches for NFTs based on the provided arguments.
70
+ * @param {SearchNFTsArgs} args - The SearchNFTsArgs object containing the search parameters.
71
+ * @returns {Promise<SearchNFTsResponse>} A Promise that resolves to the SearchNFTsResponse object.
72
+ * @throws An error if the provided collection ticker is invalid or if the 'top' value is greater than 100.
73
+ */
74
+ getSearchNFTs: (args: GetNFTsArgs) => Promise<SearchNFTsResponse>;
75
+ /**
76
+ * @public
77
+ * @async
78
+ * @function suggestCollections
79
+ * @param {SuggestNFTsArgs} args - An object containing the necessary parameters to fetch suggested collections results.
80
+ * @returns {Promise<SuggestResults>} A promise that resolves to the fetched collections results.
81
+ *
82
+ * This function fetches suggested collections results based on the provided arguments. It takes an object with the following properties:
83
+ * - name (string): The name to search for (required).
84
+ * - top (number, optional): The maximum number of results to return (default is 35, cannot be greater than 100).
85
+ * - skip (number, optional): The number of results to skip (default is 0).
86
+ *
87
+ * Finally, it returns a promise that resolves to the fetched collections results.
88
+ */
89
+ suggestCollections: (args: SuggestNFTsArgs) => Promise<SuggestResults>;
90
+ /**
91
+ * @public
92
+ * @async
93
+ * @function collectionListingsAnalytics
94
+ * @param {string} ticker - The unique collection identifier called ticker
95
+ * @returns {Promise<CollectionListings>} A promise that resolves to the distribution of listings
96
+ */
97
+ collectionListingsAnalytics: (ticker: string) => Promise<CollectionListings>;
98
+ /**
99
+ * Retrieves trading history based on the provided arguments.
100
+ *
101
+ * @param {TradincActivityArgs} args - The arguments for filtering the trading activity.
102
+ * @returns {Promise<TradingActivityResponse>} A promise resolving to a TradingActivityResponse object containing the activity.
103
+ * @throws {Error} Throws an error if the 'top' argument is greater than 100.
104
+ */
105
+ getTradingActivity: (args: TradincActivityArgs) => Promise<TradingActivityResponse>;
106
+ getOffers: (args: GetOffersArgs) => Promise<GetOffersResponse>;
107
+ /**
108
+ * Fetch collections profiles based on the provided arguments.
109
+ * @param {GetCollectionsArgs} args - The GetCollectionsArgs object containing the search parameters.
110
+ * @returns {Promise<CollectionsNFTsResponse>} A Promise that resolves to the CollectionsNFTsResponse object.
111
+ * @throws An error if the 'top' value is greater than 100.
112
+ */
113
+ getCollections: (args?: GetCollectionsArgs) => Promise<CollectionsNFTsResponse>;
114
+ /**
115
+ * Fetch global offers based on the provided arguments.
116
+ * @param {GetGlobalOffersArgs} args - The GetCollectionsArgs object containing the search parameters.
117
+ * @returns {Promise<GlobalOffersResult>} A Promise that resolves to the GlobalOffersResult object.
118
+ * @throws An error if the 'top' value is greater than 100.
119
+ */
120
+ getGlobalOffers: (args?: GetGlobalOffersArgs) => Promise<GlobalOffersResult>;
121
+ /**
122
+ * @public
123
+ * @async
124
+ * @function getCollectionVolume
125
+ * @param {string} collection - The ticker of the collection to fetch the volume for (e.g., 'EAPES-8f3c1f').
126
+ * @param {string} after - The start date (inclusive) of the date range for the volume data (e.g., '2023-04-17').
127
+ * @param {string} before - The end date (inclusive) of the date range for the volume data (e.g., '2023-04-25').
128
+ * @param {string} bin - The binning period for the volume data (e.g., '1d' for 1 day).
129
+ * @returns {Promise<CollectionVolume[]>} A promise that resolves to an array of collection volume data.
130
+ *
131
+ * This function fetches volume data for a given collection within a specified date range and binning period. It takes the following parameters:
132
+ * - collection (string): The ticker of the collection to fetch the volume for (e.g., 'EAPES-8f3c1f').
133
+ * - after (string): The start date (inclusive) of the date range for the volume data (e.g., '2023-04-17').
134
+ * - before (string): The end date (inclusive) of the date range for the volume data (e.g., '2023-04-25').
135
+ * - bin (string): The binning period for the volume data (e.g., '1d' for 1 day).
136
+ *
137
+ * The function first validates the input collection ticker and checks if it is a valid collection ticker.
138
+ * If it is valid, the function fetches the collection volume data using the API with the specified query parameters.
139
+ * Finally, it returns a promise that resolves to an array of collection volume data.
140
+ */
141
+ getCollectionVolume: (collection: string, after: string, before: string, bin: string) => Promise<CollectionVolume[]>;
142
+ /**
143
+ * @public
144
+ * @async
145
+ * @function getMarketplaceVolume
146
+ * @param {string} after - The start date (inclusive) of the date range for the volume data (e.g., '2023-04-17').
147
+ * @param {string} before - The end date (inclusive) of the date range for the volume data (e.g., '2023-04-25').
148
+ * @param {string} bin - The binning period for the volume data (e.g., '1d' for 1 day).
149
+ * @returns {Promise<CollectionVolume[]>} A promise that resolves to an array of collection volume data.
150
+ *
151
+ * This function fetches volume data for a given collection within a specified date range and binning period. It takes the following parameters:
152
+ * - collection (string): The ticker of the collection to fetch the volume for (e.g., 'EAPES-8f3c1f').
153
+ * - after (string): The start date (inclusive) of the date range for the volume data (e.g., '2023-04-17').
154
+ * - before (string): The end date (inclusive) of the date range for the volume data (e.g., '2023-04-25').
155
+ * - bin (string): The binning period for the volume data (e.g., '1d' for 1 day).
156
+ *
157
+ * The function first validates the input collection ticker and checks if it is a valid collection ticker.
158
+ * If it is valid, the function fetches the collection volume data using the API with the specified query parameters.
159
+ * Finally, it returns a promise that resolves to an array of collection volume data.
160
+ */
161
+ getMarketplaceVolume: (after: string, before: string, bin: string) => Promise<CollectionVolume[]>;
162
+ /**
163
+ * @public
164
+ * @async
165
+ * @function getCollectionOwners
166
+ * @param {string} collection - The ticker of the collection to fetch the owner information for (e.g., 'EAPES-8f3c1f').
167
+ * @returns {Promise<IOwners>} A promise that resolves a struct of collection information about holders
168
+ *
169
+ * This function fetches owner information for a given collection. It takes the following parameter:
170
+ * - collection (string): The ticker of the collection to fetch the owner information for (e.g., 'EAPES-8f3c1f').
171
+ *
172
+ * The function first validates the input collection ticker and checks if it is a valid collection ticker.
173
+ * If it is valid, the function fetches the collection owner information using the API.
174
+ * Finally, it returns a promise that resolves a struct of collection information about holders
175
+ */
176
+ getCollectionOwners: (collection: string) => Promise<IOwners>;
177
+ /**
178
+ * @public
179
+ * @async
180
+ * @function getExportOwners
181
+ * @param {string} collection - The ticker of the collection to fetch the owner information for (e.g., 'EAPES-8f3c1f').
182
+ * @returns {Promise<ISingleHolder[]>} A promise that resolves an array of holders part of the collection.
183
+ *
184
+ * This function fetches owners information for a given collection. It takes the following parameter:
185
+ * - collection (string): The ticker of the collection to fetch the owner information for (e.g., 'EAPES-8f3c1f').
186
+ *
187
+ * The function first validates the input collection ticker and checks if it is a valid collection ticker.
188
+ * If it is valid, the function fetches the collection owner information using the API.
189
+ * Finally, it returns a promise that resolves to an array of collection owner information.
190
+ */
191
+ getExportOwners: (collection: string) => Promise<ISingleHolder[]>;
192
+ /**
193
+ * @public
194
+ * @async
195
+ * @function getCollectionsStatistics
196
+ * @param {GetCollectionStatsArgs} args - The filter payload for the collection statsitics
197
+ * @returns {Promise<CollectionStatsResults>} A promise that resolves to a struct with information
198
+ * Finally, it returns a promise that resolves a struct with information
199
+ */
200
+ getCollectionsStatistics: (args: GetCollectionStatsArgs) => Promise<CollectionStatsResults>;
201
+ /**
202
+ * @public
203
+ * @async
204
+ * @function getCollectionStats
205
+ * @param {GetCollectionStatsArgs} args - The filter payload for the collection statsitics
206
+ * @returns {Promise<CollectionStatsDoc>} A promise that resolves to a struct with information
207
+ * Finally, it returns a promise that resolves a struct with information
208
+ */
209
+ getCollectionStats: (ticker: string) => Promise<CollectionStatsDoc>;
210
+ getAwaitEmpty: (delay: number) => Promise<boolean>;
211
+ /**
212
+ * @public
213
+ * @async
214
+ * @function getCollectionMintInfo
215
+ * @param {string} ticker - The ticker of the collection to fetch the owner information for (e.g., 'EAPES-8f3c1f').
216
+ * @returns {Promise<GetCollectionMintInfo>} A promise that resolves to a struct with information
217
+ * Finally, it returns a promise that resolves a struct with information
218
+ */
219
+ getCollectionMintInfo: ({ ticker, extra, }: {
220
+ ticker: string;
221
+ extra?: RequestInit;
222
+ }) => Promise<GetCollectionMintInfo>;
223
+ /**
224
+ * @public
225
+ * @async
226
+ * @function getCollectionRanks
227
+ * @param {string} ticker - The ticker of the collection to fetch the owner information for (e.g., 'EAPES-8f3c1f').
228
+ * @returns {Promise<CollectionRanksExport[]>} A promise that resolves to a struct with information
229
+ * Finally, it returns a promise that resolves a struct with information
230
+ */
231
+ getCollectionRanks: ({ ticker, extra, }: {
232
+ ticker: string;
233
+ extra?: RequestInit;
234
+ }) => Promise<CollectionRanksExport[]>;
235
+ /**
236
+ * @public
237
+ * @async
238
+ * @function getDropInfo
239
+ * @param {string} collectionTag - The unique ID of the collection part of the launchpad smart contract
240
+ * @param {string} creatorTag - The unique ID of the creator part of the launchpad smart contract
241
+ * @returns {Promise<GetCollectionMintInfo>} A promise that resolves to a struct with information
242
+ * Finally, it returns a promise that resolves a struct with information
243
+ */
244
+ getDropInfo: ({ collectionTag, creatorTag, extra, }: {
245
+ collectionTag: string;
246
+ creatorTag: string;
247
+ extra?: RequestInit;
248
+ }) => Promise<GetCollectionMintInfo>;
249
+ /**
250
+ * @public
251
+ * @async
252
+ * @function getCollectionGraphData
253
+ * @param category - The ticker of the collection.
254
+ * @returns {Promise<AnalyticsGraphs>} A promise the required analytics data
255
+ * This function gets the global graph data
256
+ */
257
+ getCollectionGraphData: (collection: string, startTime: string, endTime: string, bin: string) => Promise<AnalyticsGraphs>;
258
+ /**
259
+ * @public
260
+ * @async
261
+ * @function getPinnedCollections
262
+ * @returns {Promise<ICollectionProfile[]>} A promise that resolves to the fetched pinned collections.
263
+ */
264
+ getPinnedCollections: () => Promise<ICollectionProfile[]>;
265
+ /**
266
+ * Get drops based on the provided arguments.
267
+ * @param {SearchNFTsArgs} args - The SearchNFTsArgs object containing the search parameters.
268
+ * @returns {Promise<SearchNFTsResponse>} A Promise that resolves to the SearchNFTsResponse object.
269
+ * @throws An error if the provided collection ticker is invalid or if the 'top' value is greater than 100.
270
+ */
271
+ getSearchDrops: (args: GETDropsArgs) => Promise<GetDropsResponse>;
272
+ /**
273
+ * Get drops based on the provided arguments.
274
+ * @param {SearchNFTsArgs} args - The SearchNFTsArgs object containing the search parameters.
275
+ * @returns {Promise<SearchNFTsResponse>} A Promise that resolves to the SearchNFTsResponse object.
276
+ * @throws An error if the provided collection ticker is invalid or if the 'top' value is greater than 100.
277
+ */
278
+ getDrops: (args: GETDropsArgs) => Promise<GetDropsResponse>;
279
+ /** Gets collection staking info
280
+ * @param {String} collection - User's address
281
+ * @returns {StakingSummaryPools[]} Collection's staking info
282
+ * @throws {Error} Throws an error if the collection is invalid
283
+ * */
284
+ getCollectionStakingSummary: ({ collection, extra, }: {
285
+ collection: string;
286
+ extra?: RequestInit;
287
+ }) => Promise<StakingSummaryPools[]>;
288
+ /**
289
+ * @public
290
+ * @async
291
+ * @function getCollectionsFloor
292
+ * @param collections - The tickers of the collection.
293
+ * @returns {Promise<Record<string, number>>} Floor price of the collections
294
+ * This function gets the floor price of the collections
295
+ */
296
+ getCollectionsFloor: (collections: string[]) => Promise<Record<string, number>>;
297
+ }
298
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/collection/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAC7E,OAAO,KAAK,EACV,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACvB,kBAAkB,EAClB,sBAAsB,EACtB,gBAAgB,EAChB,qBAAqB,EACrB,kBAAkB,EAClB,sBAAsB,EACtB,YAAY,EACZ,gBAAgB,EAChB,mBAAmB,EACnB,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,kBAAkB,EAClB,OAAO,EACP,aAAa,EAEb,kBAAkB,EAClB,eAAe,EACf,cAAc,EACf,MAAM,qBAAqB,CAAA;AAE5B,OAAO,KAAK,EACV,mBAAmB,EACnB,uBAAuB,EACxB,MAAM,kBAAkB,CAAA;AAIzB;;;;;;;GAOG;AACH,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,GAAG,CAAa;;IAKxB;;;;;;;;;;;;;OAaG;IACI,oBAAoB,eACb,MAAM,KACjB,OAAO,CAAC,kBAAkB,CAAC,CAc7B;IAED;;;;;;OAMG;IACI,gBAAgB,QAAa,OAAO,CAAC,OAAO,EAAE,CAAC,CAWrD;IAED;;;;;;OAMG;IACI,uBAAuB,eAChB,MAAM,qBA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,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAejC;CACF"}
@@ -0,0 +1,72 @@
1
+ import type { FungibleAssetsMap, SuggestNFTsArgs, SuggestResults } from '../types/collection';
2
+ import { AssetCategory } from '../types/collection';
3
+ import type { AnalyticsGraphs, AshSwapPaymentData, StakingExplore, StatisticsSummary, TokenUSDPrices } from '../types/common';
4
+ export declare class CommonModule {
5
+ private api;
6
+ constructor();
7
+ /** Gets all tokens usd price
8
+ * @returns {TokenUSDPrices} User's creator info
9
+ * */
10
+ getTokensUsdPrice: () => Promise<TokenUSDPrices>;
11
+ /** Gets all tokens usd price
12
+ * @returns {TokenUSDPrices} User's creator info
13
+ * */
14
+ getAshSwapAmount: ({ originalToken, originalTokenValue, paymentToken, }: {
15
+ originalToken: string;
16
+ originalTokenValue: string;
17
+ paymentToken: string;
18
+ }) => Promise<AshSwapPaymentData>;
19
+ /**
20
+ * @public
21
+ * @async
22
+ * @function getFungibleTokens
23
+ * @param category - The ticker of the collection.
24
+ * @returns {Promise<FungibleAssetsMap>} A promise that resolves a map of ESDT tokens and their info
25
+ * This function fetches all branded fungible assets and their info
26
+ */
27
+ getFungibleTokens: (categories?: AssetCategory[], identifiers?: string[]) => Promise<FungibleAssetsMap>;
28
+ /**
29
+ * @public
30
+ * @async
31
+ * @function getGlobalGraphData
32
+ * @param category - The ticker of the collection.
33
+ * @returns {Promise<AnalyticsGraphs>} A promise the required analytics data
34
+ * This function gets the global graph data
35
+ */
36
+ getGlobalGraphData: (startTime: string, endTime: string, bin: string) => Promise<AnalyticsGraphs>;
37
+ /**
38
+ * @public
39
+ * @async
40
+ * @function getAnalyticsOverview
41
+ * @returns {Promise<StatisticsSummary>} A promise the required analytics data
42
+ * This function gets the global graph data
43
+ */
44
+ getAnalyticsOverview: () => Promise<StatisticsSummary>;
45
+ /**
46
+ * @public
47
+ * @async
48
+ * @function suggestResults
49
+ * @param {SuggestNFTsArgs} args - An object containing the necessary parameters to fetch suggested NFT results.
50
+ * @returns {Promise<SuggestResults>} A promise that resolves to the fetched NFT results.
51
+ *
52
+ * This function fetches suggested NFT results based on the provided arguments. It takes an object with the following properties:
53
+ * - name (string): The name to search for (required).
54
+ * - orderBy (SuggestOrderBy[], optional): An array of ordering preferences for the results.
55
+ * - top (number, optional): The maximum number of results to return (default is 35, cannot be greater than 100).
56
+ * - skip (number, optional): The number of results to skip (default is 0).
57
+ *
58
+ * The function first validates the input arguments and constructs a payload body with the provided parameters.
59
+ * Then, it converts the payload body into a base64 string and fetches the suggested results using the API.
60
+ * Finally, it returns a promise that resolves to the fetched NFT results.
61
+ */
62
+ suggestResults: (args: SuggestNFTsArgs) => Promise<SuggestResults>;
63
+ /**
64
+ * @public
65
+ * @async
66
+ * @function getExploreStaking
67
+ * @returns {Promise<StakingExplore[]>} A promise that resolves to the fetched staking explore data.
68
+ * This function fetches the staking explore data.
69
+ */
70
+ getExploreStaking: () => Promise<StakingExplore[]>;
71
+ }
72
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,eAAe,EACf,cAAc,EACf,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,KAAK,EACV,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,cAAc,EACf,MAAM,iBAAiB,CAAA;AAGxB,qBAAa,YAAY;IACvB,OAAO,CAAC,GAAG,CAAa;;IAIxB;;UAEM;IACC,iBAAiB,QAAa,OAAO,CAAC,cAAc,CAAC,CAI3D;IAED;;UAEM;IACC,gBAAgB,yDAIpB;QACD,aAAa,EAAE,MAAM,CAAA;QACrB,kBAAkB,EAAE,MAAM,CAAA;QAC1B,YAAY,EAAE,MAAM,CAAA;KACrB,KAAG,OAAO,CAAC,kBAAkB,CAAC,CAY9B;IAED;;;;;;;OAOG;IACI,iBAAiB,gBACV,aAAa,EAAE,gBACb,MAAM,EAAE,KACrB,OAAO,CAAC,iBAAiB,CAAC,CAsB5B;IAED;;;;;;;OAOG;IACI,kBAAkB,cACZ,MAAM,WACR,MAAM,OACV,MAAM,KACV,OAAO,CAAC,eAAe,CAAC,CAgB1B;IAED;;;;;;OAMG;IACI,oBAAoB,QAAa,OAAO,CAAC,iBAAiB,CAAC,CAWjE;IAED;;;;;;;;;;;;;;;;OAgBG;IACI,cAAc,SACb,eAAe,KACpB,OAAO,CAAC,cAAc,CAAC,CAoBzB;IAED;;;;;;OAMG;IACI,iBAAiB,QAAa,OAAO,CAAC,cAAc,EAAE,CAAC,CAW7D;CACF"}
@@ -0,0 +1,4 @@
1
+ import React, { type ComponentProps } from 'react';
2
+ import ReactMarkdown from 'react-markdown';
3
+ export declare function Markdown(props: ComponentProps<typeof ReactMarkdown>): React.JSX.Element;
4
+ //# sourceMappingURL=Markdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Markdown.d.ts","sourceRoot":"","sources":["../../../src/email/Markdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAIlD,OAAO,aAAa,MAAM,gBAAgB,CAAA;AAiC1C,wBAAgB,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,aAAa,CAAC,qBAEnE"}
@@ -0,0 +1,30 @@
1
+ import React, { type ComponentProps } from 'react';
2
+ import type { IBaseNotification, IEmailActivityType } from './types';
3
+ import type { IHost, WithUnsubscribeToken } from './utils';
4
+ type IProps = {
5
+ host?: IHost;
6
+ } & ({
7
+ activityType: Exclude<IEmailActivityType, 'verifyEmail'>;
8
+ payload: {
9
+ name: string;
10
+ address: string;
11
+ nft: Pick<IBaseNotification, 'asset' | 'owner' | 'activity'>;
12
+ code?: never;
13
+ };
14
+ } | {
15
+ activityType: Extract<IEmailActivityType, 'verifyEmail'>;
16
+ payload: {
17
+ name: string;
18
+ address?: never;
19
+ nft?: never;
20
+ code: string;
21
+ };
22
+ });
23
+ declare const XOXNOEmail: ({ host, unsubscribeToken, ...props }: IProps & WithUnsubscribeToken) => React.JSX.Element;
24
+ export declare const renderEmail: (props: ComponentProps<typeof XOXNOEmail>) => Promise<{
25
+ html: string;
26
+ plainText: string;
27
+ subject: string;
28
+ }>;
29
+ export {};
30
+ //# sourceMappingURL=email.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email.d.ts","sourceRoot":"","sources":["../../../src/email/email.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAiB,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAMjE,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,EAGnB,MAAM,SAAS,CAAA;AAahB,OAAO,KAAK,EAAE,KAAK,EAAgB,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAyIxE,KAAK,MAAM,GAAG;IACZ,IAAI,CAAC,EAAE,KAAK,CAAA;CACb,GAAG,CACA;IACE,YAAY,EAAE,OAAO,CAAC,kBAAkB,EAAE,aAAa,CAAC,CAAA;IACxD,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAA;QACZ,OAAO,EAAE,MAAM,CAAA;QACf,GAAG,EAAE,IAAI,CAAC,iBAAiB,EAAE,OAAO,GAAG,OAAO,GAAG,UAAU,CAAC,CAAA;QAC5D,IAAI,CAAC,EAAE,KAAK,CAAA;KACb,CAAA;CACF,GACD;IACE,YAAY,EAAE,OAAO,CAAC,kBAAkB,EAAE,aAAa,CAAC,CAAA;IACxD,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAA;QACZ,OAAO,CAAC,EAAE,KAAK,CAAA;QACf,GAAG,CAAC,EAAE,KAAK,CAAA;QACX,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;CACF,CACJ,CAAA;AAID,QAAA,MAAM,UAAU,yCAIb,MAAM,GAAG,oBAAoB,sBA6H/B,CAAA;AAED,eAAO,MAAM,WAAW,UAAiB,cAAc,CAAC,OAAO,UAAU,CAAC;;;;EAIzE,CAAA"}
@@ -0,0 +1,20 @@
1
+ import React, { type ComponentProps } from 'react';
2
+ import type { IEvent } from './types';
3
+ import type { IHost, WithUnsubscribeToken } from './utils';
4
+ type IProps = {
5
+ host?: IHost;
6
+ name: string;
7
+ event: IEvent;
8
+ style?: {
9
+ background: string;
10
+ backgroundColor: string;
11
+ };
12
+ };
13
+ declare const EventEmail: ({ host, event, name, style, unsubscribeToken, }: IProps & WithUnsubscribeToken) => React.JSX.Element;
14
+ export declare const renderEventEmail2: (props: ComponentProps<typeof EventEmail>) => Promise<{
15
+ html: string;
16
+ plainText: string;
17
+ subject: string;
18
+ }>;
19
+ export {};
20
+ //# sourceMappingURL=event-email-2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event-email-2.d.ts","sourceRoot":"","sources":["../../../src/email/event-email-2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAiB,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAMjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,KAAK,EAAE,KAAK,EAAgB,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAsCxE,KAAK,MAAM,GAAG;IACZ,IAAI,CAAC,EAAE,KAAK,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE;QACN,UAAU,EAAE,MAAM,CAAA;QAClB,eAAe,EAAE,MAAM,CAAA;KACxB,CAAA;CACF,CAAA;AAID,QAAA,MAAM,UAAU,oDASb,MAAM,GAAG,oBAAoB,sBAyL/B,CAAA;AAED,eAAO,MAAM,iBAAiB,UACrB,cAAc,CAAC,OAAO,UAAU,CAAC;;;;EAKzC,CAAA"}
@@ -0,0 +1,20 @@
1
+ import React, { type ComponentProps } from 'react';
2
+ import type { IEvent } from './types';
3
+ import type { IHost, WithUnsubscribeToken } from './utils';
4
+ type IProps = {
5
+ host?: IHost;
6
+ name: string;
7
+ event: IEvent;
8
+ style?: {
9
+ background: string;
10
+ backgroundColor: string;
11
+ };
12
+ };
13
+ declare const EventEmail: ({ host, event, name, style, unsubscribeToken, }: IProps & WithUnsubscribeToken) => React.JSX.Element;
14
+ export declare const renderEventEmail: (props: ComponentProps<typeof EventEmail>) => Promise<{
15
+ html: string;
16
+ plainText: string;
17
+ subject: string;
18
+ }>;
19
+ export {};
20
+ //# sourceMappingURL=event-email.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event-email.d.ts","sourceRoot":"","sources":["../../../src/email/event-email.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAiB,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAMjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,KAAK,EAAE,KAAK,EAAgB,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAkCxE,KAAK,MAAM,GAAG;IACZ,IAAI,CAAC,EAAE,KAAK,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE;QACN,UAAU,EAAE,MAAM,CAAA;QAClB,eAAe,EAAE,MAAM,CAAA;KACxB,CAAA;CACF,CAAA;AAID,QAAA,MAAM,UAAU,oDASb,MAAM,GAAG,oBAAoB,sBA0H/B,CAAA;AAED,eAAO,MAAM,gBAAgB,UACpB,cAAc,CAAC,OAAO,UAAU,CAAC;;;;EAKzC,CAAA"}
@@ -0,0 +1,19 @@
1
+ import React, { type ComponentProps } from 'react';
2
+ import type { IHost, WithUnsubscribeToken } from './utils';
3
+ type IProps = {
4
+ host?: IHost;
5
+ subject: string;
6
+ message: string;
7
+ style?: {
8
+ background: string;
9
+ backgroundColor: string;
10
+ };
11
+ };
12
+ declare const PostEmail: ({ host, subject, message, style, unsubscribeToken, }: IProps & WithUnsubscribeToken) => React.JSX.Element;
13
+ export declare const renderPostEmail: (props: ComponentProps<typeof PostEmail>) => Promise<{
14
+ html: string;
15
+ plainText: string;
16
+ subject: string;
17
+ }>;
18
+ export {};
19
+ //# sourceMappingURL=post-email.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"post-email.d.ts","sourceRoot":"","sources":["../../../src/email/post-email.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAiB,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAMjE,OAAO,KAAK,EAAE,KAAK,EAAgB,oBAAoB,EAAE,MAAM,SAAS,CAAA;AA+BxE,KAAK,MAAM,GAAG;IACZ,IAAI,CAAC,EAAE,KAAK,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE;QACN,UAAU,EAAE,MAAM,CAAA;QAClB,eAAe,EAAE,MAAM,CAAA;KACxB,CAAA;CACF,CAAA;AAID,QAAA,MAAM,SAAS,yDASZ,MAAM,GAAG,oBAAoB,sBAmD/B,CAAA;AAED,eAAO,MAAM,eAAe,UACnB,cAAc,CAAC,OAAO,SAAS,CAAC;;;;EAKxC,CAAA"}
@@ -0,0 +1,65 @@
1
+ import type { IEventDoc } from '../types';
2
+ import { NftActivityType } from '../types';
3
+ export declare const offerTradeTypes: readonly [NftActivityType.OFFER_TRADE, NftActivityType.GLOBAL_OFFER_TRADE];
4
+ export declare const tradeTypes: readonly [NftActivityType.TRADE, NftActivityType.BULK_TRADE, NftActivityType.OTHER_TRADE];
5
+ export declare const offerTypes: readonly [NftActivityType.OFFER_CREATE, NftActivityType.OFFER_REJECT];
6
+ export declare const bidTypes: readonly [NftActivityType.AUCTION_BID, NftActivityType.AUCTION_OUT_BID];
7
+ export declare const depositTypes: readonly ["deposit", "withdrawDeposit"];
8
+ export declare const verifyEmailTypes: readonly ["verifyEmail"];
9
+ export type IOfferTradeTypes = (typeof offerTradeTypes)[number];
10
+ export type ITradeTypes = (typeof tradeTypes)[number];
11
+ export type IDepositTypes = (typeof depositTypes)[number];
12
+ export type IBidTypes = (typeof bidTypes)[number];
13
+ export type IOfferTypes = (typeof offerTypes)[number];
14
+ export type IVerifyEmailTypes = (typeof verifyEmailTypes)[number];
15
+ declare const emailActivityTypes: readonly [NftActivityType.OFFER_TRADE, NftActivityType.GLOBAL_OFFER_TRADE, NftActivityType.TRADE, NftActivityType.BULK_TRADE, NftActivityType.OTHER_TRADE, NftActivityType.OFFER_CREATE, NftActivityType.OFFER_REJECT, "deposit", "withdrawDeposit", NftActivityType.AUCTION_BID, NftActivityType.AUCTION_OUT_BID, "verifyEmail"];
16
+ export type IEmailActivityType = (typeof emailActivityTypes)[number];
17
+ export declare enum NotificationAssetType {
18
+ NFT = "nft",
19
+ USER = "user",
20
+ CHAT = "chat"
21
+ }
22
+ export interface IBaseNotification {
23
+ id: string;
24
+ isRead: boolean;
25
+ txHash: string;
26
+ source: string;
27
+ activityType: IEmailActivityType | '';
28
+ message?: string;
29
+ asset: {
30
+ type: NotificationAssetType;
31
+ collection?: string;
32
+ identifier?: string;
33
+ address?: string;
34
+ name?: string;
35
+ url?: string;
36
+ };
37
+ activity: {
38
+ price?: number;
39
+ paymentToken?: string;
40
+ quantity?: number;
41
+ buyer?: string;
42
+ seller?: string;
43
+ previousBidder?: string;
44
+ deadline?: number;
45
+ unreadCount?: number;
46
+ };
47
+ owner: string;
48
+ timestamp: number;
49
+ }
50
+ export interface INotification extends Omit<IBaseNotification, 'asset'> {
51
+ asset: Omit<IBaseNotification['asset'], 'url'> & {
52
+ url: string[];
53
+ };
54
+ }
55
+ export interface IEvent {
56
+ name: string;
57
+ backgroundImage: string;
58
+ ticketImage: string;
59
+ time: string;
60
+ location: IEventDoc['location'];
61
+ ticketId: string;
62
+ eventId: string;
63
+ }
64
+ export {};
65
+ //# sourceMappingURL=types.d.ts.map
@@ -0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