@codex-data/sdk 1.0.0-rc1 → 1.0.0-rc3

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 (113) hide show
  1. package/dist/resources/generated_mutations/CreateWebhooks.graphql +392 -0
  2. package/dist/resources/generated_queries/FilterPairs.graphql +8 -0
  3. package/dist/resources/generated_queries/FilterTokens.graphql +7 -0
  4. package/dist/resources/generated_queries/GetCommunityNotes.graphql +100 -0
  5. package/dist/resources/generated_queries/GetDetailedPairStats.graphql +2 -0
  6. package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +2 -0
  7. package/dist/resources/generated_queries/GetEventLabels.graphql +11 -0
  8. package/dist/resources/generated_queries/GetNftEvents.graphql +46 -0
  9. package/dist/resources/generated_queries/GetNftPoolEvents.graphql +375 -0
  10. package/dist/resources/generated_queries/GetPrimePoolEvents.graphql +118 -0
  11. package/dist/resources/generated_queries/GetTokenEvents.graphql +49 -0
  12. package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +98 -0
  13. package/dist/resources/generated_queries/GetTokenInfo.graphql +1 -0
  14. package/dist/resources/generated_queries/GetTokensInfo.graphql +1 -0
  15. package/dist/resources/generated_queries/GetWebhooks.graphql +98 -0
  16. package/dist/resources/generated_queries/ListFavoriteTokens.graphql +1 -0
  17. package/dist/resources/generated_queries/ListPairsForToken.graphql +2 -0
  18. package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +4 -0
  19. package/dist/resources/generated_queries/ListTopTokens.graphql +1 -0
  20. package/dist/resources/generated_queries/Token.graphql +1 -0
  21. package/dist/resources/generated_queries/TokenLifecycleEvents.graphql +12 -0
  22. package/dist/resources/generated_queries/Tokens.graphql +1 -0
  23. package/dist/resources/generated_subscriptions/OnBarsUpdated.graphql +42 -0
  24. package/dist/resources/generated_subscriptions/OnEventLabelCreated.graphql +11 -0
  25. package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +49 -0
  26. package/dist/resources/generated_subscriptions/OnNftEventsCreated.graphql +46 -0
  27. package/dist/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +375 -0
  28. package/dist/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +551 -0
  29. package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +49 -0
  30. package/dist/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +12 -0
  31. package/dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +17 -0
  32. package/dist/resources/graphql.d.ts +138 -13
  33. package/dist/resources/graphql.d.ts.map +1 -1
  34. package/dist/resources/graphql.js +8 -0
  35. package/dist/resources/graphql.js.map +1 -1
  36. package/dist/resources/graphql.schema.json +940 -122
  37. package/dist/resources/graphql.ts +148 -14
  38. package/dist/resources/mutations_override/CreateWebhooks.graphql +472 -0
  39. package/dist/resources/queries_override/GetEventLabels.graphql +35 -0
  40. package/dist/resources/queries_override/GetWebhooks.graphql +134 -0
  41. package/dist/resources/schema.graphql +185 -16
  42. package/dist/resources/subscriptions_override/OnEventLabelCreated.graphql +22 -0
  43. package/dist/scripts/generateGraphql.d.ts +1 -0
  44. package/dist/scripts/generateGraphql.d.ts.map +1 -1
  45. package/dist/scripts/generateGraphql.js +48 -12
  46. package/dist/scripts/generateGraphql.js.map +1 -1
  47. package/dist/sdk/Mutation.d.ts +1 -1
  48. package/dist/sdk/Mutation.js +1 -1
  49. package/dist/sdk/Query.d.ts +55 -54
  50. package/dist/sdk/Query.d.ts.map +1 -1
  51. package/dist/sdk/Query.js +54 -53
  52. package/dist/sdk/Query.js.map +1 -1
  53. package/dist/sdk/Subscribe.d.ts +12 -11
  54. package/dist/sdk/Subscribe.d.ts.map +1 -1
  55. package/dist/sdk/Subscribe.js +80 -55
  56. package/dist/sdk/Subscribe.js.map +1 -1
  57. package/dist/sdk/generated/gql.d.ts +76 -58
  58. package/dist/sdk/generated/gql.d.ts.map +1 -1
  59. package/dist/sdk/generated/gql.js +31 -29
  60. package/dist/sdk/generated/gql.js.map +1 -1
  61. package/dist/sdk/generated/graphql.d.ts +2908 -90
  62. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  63. package/dist/sdk/generated/graphql.js +41 -31
  64. package/dist/sdk/generated/graphql.js.map +1 -1
  65. package/dist/sdk/index.d.ts.map +1 -1
  66. package/dist/sdk/index.js +1 -0
  67. package/dist/sdk/index.js.map +1 -1
  68. package/package.json +1 -1
  69. package/src/resources/generated_mutations/CreateWebhooks.graphql +392 -0
  70. package/src/resources/generated_queries/FilterPairs.graphql +8 -0
  71. package/src/resources/generated_queries/FilterTokens.graphql +7 -0
  72. package/src/resources/generated_queries/GetCommunityNotes.graphql +100 -0
  73. package/src/resources/generated_queries/GetDetailedPairStats.graphql +2 -0
  74. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +2 -0
  75. package/src/resources/generated_queries/GetEventLabels.graphql +11 -0
  76. package/src/resources/generated_queries/GetNftEvents.graphql +46 -0
  77. package/src/resources/generated_queries/GetNftPoolEvents.graphql +375 -0
  78. package/src/resources/generated_queries/GetPrimePoolEvents.graphql +118 -0
  79. package/src/resources/generated_queries/GetTokenEvents.graphql +49 -0
  80. package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +98 -0
  81. package/src/resources/generated_queries/GetTokenInfo.graphql +1 -0
  82. package/src/resources/generated_queries/GetTokensInfo.graphql +1 -0
  83. package/src/resources/generated_queries/GetWebhooks.graphql +98 -0
  84. package/src/resources/generated_queries/ListFavoriteTokens.graphql +1 -0
  85. package/src/resources/generated_queries/ListPairsForToken.graphql +2 -0
  86. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +4 -0
  87. package/src/resources/generated_queries/ListTopTokens.graphql +1 -0
  88. package/src/resources/generated_queries/Token.graphql +1 -0
  89. package/src/resources/generated_queries/TokenLifecycleEvents.graphql +12 -0
  90. package/src/resources/generated_queries/Tokens.graphql +1 -0
  91. package/src/resources/generated_subscriptions/OnBarsUpdated.graphql +42 -0
  92. package/src/resources/generated_subscriptions/OnEventLabelCreated.graphql +11 -0
  93. package/src/resources/generated_subscriptions/OnEventsCreated.graphql +49 -0
  94. package/src/resources/generated_subscriptions/OnNftEventsCreated.graphql +46 -0
  95. package/src/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +375 -0
  96. package/src/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +551 -0
  97. package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +49 -0
  98. package/src/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +12 -0
  99. package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +17 -0
  100. package/src/resources/graphql.schema.json +940 -122
  101. package/src/resources/graphql.ts +148 -14
  102. package/src/resources/mutations_override/CreateWebhooks.graphql +472 -0
  103. package/src/resources/queries_override/GetEventLabels.graphql +35 -0
  104. package/src/resources/queries_override/GetWebhooks.graphql +134 -0
  105. package/src/resources/schema.graphql +185 -16
  106. package/src/resources/subscriptions_override/OnEventLabelCreated.graphql +22 -0
  107. package/src/scripts/generateGraphql.ts +87 -17
  108. package/src/sdk/Mutation.ts +2 -2
  109. package/src/sdk/Query.ts +117 -113
  110. package/src/sdk/Subscribe.ts +118 -85
  111. package/src/sdk/generated/gql.ts +68 -58
  112. package/src/sdk/generated/graphql.ts +226 -72
  113. package/src/sdk/index.ts +1 -0
@@ -16,6 +16,381 @@ subscription OnNftPoolEventsCreated(
16
16
  blockNumber
17
17
  collectionAddress
18
18
  collectionId
19
+ data {
20
+ ... on NewPoolEventData {
21
+ assetRecipientAddress
22
+ bondingCurveAddress
23
+ bondingCurveType
24
+ buyPriceT
25
+ collectionAddress
26
+ createdAt
27
+ delta
28
+ feeAmountT
29
+ nbtRatio
30
+ networkId
31
+ nftTokenBalance
32
+ ownerAddress
33
+ poolAddress
34
+ sellPriceT
35
+ startPriceT
36
+ tokenAddress
37
+ tokenBalanceT
38
+ type
39
+ usdRatio
40
+ }
41
+ ... on NewPoolEventDataV2 {
42
+ assetRecipientAddress
43
+ bondingCurveAddress
44
+ bondingCurveType
45
+ buyPriceT
46
+ collectionAddress
47
+ createdAt
48
+ delta
49
+ feeAmountT
50
+ nbtRatio
51
+ networkId
52
+ nftAssets {
53
+ address
54
+ attributes {
55
+ class
56
+ css
57
+ displayType
58
+ maxValue
59
+ name
60
+ value
61
+ valueType
62
+ }
63
+ description
64
+ id
65
+ media {
66
+ image
67
+ processed
68
+ thumbLg
69
+ thumbSm
70
+ }
71
+ name
72
+ networkId
73
+ originalImage
74
+ quantity
75
+ rawAssetData {
76
+ animationUrl
77
+ externalUrl
78
+ imageData
79
+ imageUrl
80
+ }
81
+ tokenId
82
+ uri
83
+ }
84
+ nftTokenIds
85
+ nftTokenQuantities
86
+ ownerAddress
87
+ poolAddress
88
+ poolNftType
89
+ propertyChecker
90
+ royalties {
91
+ percent
92
+ recipient
93
+ }
94
+ sellPriceT
95
+ startPriceT
96
+ tokenAddress
97
+ tokenBalanceT
98
+ type
99
+ usdRatio
100
+ }
101
+ ... on NftPoolAssetRecipientUpdateEventData {
102
+ newAssetRecipient
103
+ type
104
+ }
105
+ ... on NftPoolDeltaUpdateEventData {
106
+ newDelta
107
+ type
108
+ }
109
+ ... on NftPoolFeeUpdateEventData {
110
+ nbtRatio
111
+ newFeeT
112
+ type
113
+ usdRatio
114
+ }
115
+ ... on NftPoolNftDepositEventData {
116
+ nftTokenBalance
117
+ nftTokenIds
118
+ tokenBalanceT
119
+ type
120
+ }
121
+ ... on NftPoolNftDepositEventDataV2 {
122
+ nftAssets {
123
+ address
124
+ attributes {
125
+ class
126
+ css
127
+ displayType
128
+ maxValue
129
+ name
130
+ value
131
+ valueType
132
+ }
133
+ description
134
+ id
135
+ media {
136
+ image
137
+ processed
138
+ thumbLg
139
+ thumbSm
140
+ }
141
+ name
142
+ networkId
143
+ originalImage
144
+ quantity
145
+ rawAssetData {
146
+ animationUrl
147
+ externalUrl
148
+ imageData
149
+ imageUrl
150
+ }
151
+ tokenId
152
+ uri
153
+ }
154
+ nftTokenAmounts
155
+ nftTokenIds
156
+ tokenBalanceT
157
+ type
158
+ }
159
+ ... on NftPoolNftWithdrawalEventData {
160
+ nftTokenBalance
161
+ nftTokenIds
162
+ tokenBalanceT
163
+ type
164
+ }
165
+ ... on NftPoolNftWithdrawalEventDataV2 {
166
+ nftAssets {
167
+ address
168
+ attributes {
169
+ class
170
+ css
171
+ displayType
172
+ maxValue
173
+ name
174
+ value
175
+ valueType
176
+ }
177
+ description
178
+ id
179
+ media {
180
+ image
181
+ processed
182
+ thumbLg
183
+ thumbSm
184
+ }
185
+ name
186
+ networkId
187
+ originalImage
188
+ quantity
189
+ rawAssetData {
190
+ animationUrl
191
+ externalUrl
192
+ imageData
193
+ imageUrl
194
+ }
195
+ tokenId
196
+ uri
197
+ }
198
+ nftTokenAmounts
199
+ nftTokenIds
200
+ tokenBalanceT
201
+ type
202
+ }
203
+ ... on NftPoolOwnershipTransferredEventDataV2 {
204
+ newOwner
205
+ type
206
+ }
207
+ ... on NftPoolSpotPriceUpdateEventData {
208
+ nbtRatio
209
+ newBuyPriceT
210
+ newSellPriceT
211
+ newSpotPriceT
212
+ type
213
+ usdRatio
214
+ }
215
+ ... on NftPoolSpotPriceUpdateEventDataV2 {
216
+ nbtRatio
217
+ newBuyPriceT
218
+ newSellPriceT
219
+ newSpotPriceT
220
+ type
221
+ usdRatio
222
+ }
223
+ ... on NftPoolTokenDepositEventData {
224
+ amountT
225
+ nbtRatio
226
+ nftTokenBalance
227
+ tokenBalanceT
228
+ type
229
+ usdRatio
230
+ }
231
+ ... on NftPoolTokenDepositEventDataV2 {
232
+ amountT
233
+ nbtRatio
234
+ tokenBalanceT
235
+ type
236
+ usdRatio
237
+ }
238
+ ... on NftPoolTokenWithdrawalEventData {
239
+ amountT
240
+ nbtRatio
241
+ nftTokenBalance
242
+ tokenBalanceT
243
+ type
244
+ usdRatio
245
+ }
246
+ ... on NftPoolTokenWithdrawalEventDataV2 {
247
+ amountT
248
+ nbtRatio
249
+ tokenBalanceT
250
+ type
251
+ usdRatio
252
+ }
253
+ ... on SwapNftInPoolEventData {
254
+ amountT
255
+ nbtRatio
256
+ newBuyPriceT
257
+ newDelta
258
+ newSellPriceT
259
+ newSpotPriceT
260
+ nftTokenBalance
261
+ nftsTransfered {
262
+ amountT
263
+ nftTokenId
264
+ }
265
+ poolFeeT
266
+ protocolFeeT
267
+ tokenBalanceT
268
+ tokenId
269
+ type
270
+ usdRatio
271
+ }
272
+ ... on SwapNftInPoolEventDataV2 {
273
+ amountT
274
+ nbtRatio
275
+ newBuyPriceT
276
+ newDelta
277
+ newSellPriceT
278
+ newSpotPriceT
279
+ nftAssets {
280
+ address
281
+ attributes {
282
+ class
283
+ css
284
+ displayType
285
+ maxValue
286
+ name
287
+ value
288
+ valueType
289
+ }
290
+ description
291
+ id
292
+ media {
293
+ image
294
+ processed
295
+ thumbLg
296
+ thumbSm
297
+ }
298
+ name
299
+ networkId
300
+ originalImage
301
+ quantity
302
+ rawAssetData {
303
+ animationUrl
304
+ externalUrl
305
+ imageData
306
+ imageUrl
307
+ }
308
+ tokenId
309
+ uri
310
+ }
311
+ nftsTransfered {
312
+ amountT
313
+ nftQuantity
314
+ nftTokenId
315
+ }
316
+ poolFeeT
317
+ protocolFeeT
318
+ tokenBalanceT
319
+ tokenId
320
+ type
321
+ usdRatio
322
+ }
323
+ ... on SwapNftOutPoolEventData {
324
+ amountT
325
+ nbtRatio
326
+ newBuyPriceT
327
+ newDelta
328
+ newSellPriceT
329
+ newSpotPriceT
330
+ nftTokenBalance
331
+ nftsTransfered {
332
+ amountT
333
+ nftTokenId
334
+ }
335
+ poolFeeT
336
+ protocolFeeT
337
+ tokenBalanceT
338
+ tokenId
339
+ type
340
+ usdRatio
341
+ }
342
+ ... on SwapNftOutPoolEventDataV2 {
343
+ amountT
344
+ nbtRatio
345
+ newBuyPriceT
346
+ newDelta
347
+ newSellPriceT
348
+ newSpotPriceT
349
+ nftAssets {
350
+ address
351
+ attributes {
352
+ class
353
+ css
354
+ displayType
355
+ maxValue
356
+ name
357
+ value
358
+ valueType
359
+ }
360
+ description
361
+ id
362
+ media {
363
+ image
364
+ processed
365
+ thumbLg
366
+ thumbSm
367
+ }
368
+ name
369
+ networkId
370
+ originalImage
371
+ quantity
372
+ rawAssetData {
373
+ animationUrl
374
+ externalUrl
375
+ imageData
376
+ imageUrl
377
+ }
378
+ tokenId
379
+ uri
380
+ }
381
+ nftsTransfered {
382
+ amountT
383
+ nftQuantity
384
+ nftTokenId
385
+ }
386
+ poolFeeT
387
+ protocolFeeT
388
+ tokenBalanceT
389
+ tokenId
390
+ type
391
+ usdRatio
392
+ }
393
+ }
19
394
  eventType
20
395
  exchangeAddress
21
396
  id