@codex-data/sdk 0.5.8 → 0.6.0

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.
@@ -25,382 +25,6 @@ mutation CreateWebhooks($input: CreateWebhooksInput!) {
25
25
  eq
26
26
  }
27
27
  }
28
- ... on DecodedLogWebhookCondition {
29
- decodingId {
30
- eq
31
- }
32
- eventName {
33
- eq
34
- }
35
- address {
36
- eq
37
- }
38
- event
39
- }
40
- ... on DecodedCallWebhookCondition {
41
- decodingId {
42
- eq
43
- }
44
- methodName {
45
- eq
46
- }
47
- address {
48
- eq
49
- }
50
- from {
51
- eq
52
- }
53
- to {
54
- eq
55
- }
56
- methodId {
57
- eq
58
- }
59
- inputDecodedCallWebhookCondition: input
60
- output
61
- }
62
- ... on RawCallTraceWebhookCondition {
63
- traceType {
64
- eq
65
- }
66
- result {
67
- code {
68
- contains
69
- notContains
70
- }
71
- }
72
- networkId {
73
- oneOf
74
- }
75
- }
76
- ... on TokenPairEventWebhookCondition {
77
- tokenAddress {
78
- eq
79
- }
80
- networkId {
81
- oneOf
82
- }
83
- swapValue {
84
- gt
85
- gte
86
- lt
87
- lte
88
- eq
89
- }
90
- maker {
91
- eq
92
- }
93
- pairAddress {
94
- eq
95
- }
96
- exchangeAddress {
97
- eq
98
- }
99
- eventType {
100
- oneOf
101
- }
102
- }
103
- ... on NftEventWebhookCondition {
104
- networkId {
105
- oneOf
106
- }
107
- maker {
108
- eq
109
- }
110
- contractAddress {
111
- eq
112
- }
113
- exchangeAddress {
114
- eq
115
- }
116
- tokenId {
117
- eq
118
- }
119
- tokenAddress {
120
- eq
121
- }
122
- individualBaseTokenPrice {
123
- gt
124
- gte
125
- lt
126
- lte
127
- eq
128
- }
129
- eventType {
130
- eq
131
- }
132
- fillSource {
133
- oneOf
134
- }
135
- }
136
- ... on RawTransactionWebhookCondition {
137
- networkId {
138
- oneOf
139
- }
140
- to {
141
- eq
142
- }
143
- from {
144
- eq
145
- }
146
- toOrFrom {
147
- eq
148
- }
149
- input {
150
- contains
151
- notContains
152
- }
153
- ignoreTokenPairEvents
154
- ignoreNftEvents
155
- }
156
- }
157
- retrySettings {
158
- maxTimeElapsed
159
- minRetryDelay
160
- maxRetryDelay
161
- maxRetries
162
- }
163
- bucketId
164
- bucketSortkey
165
- }
166
- decodedLogWebhooks {
167
- id
168
- webhookType
169
- name
170
- created
171
- alertRecurrence
172
- callbackUrl
173
- status
174
- groupId
175
- bucketId
176
- bucketSortkey
177
- conditions {
178
- ... on PriceEventWebhookCondition {
179
- tokenAddressPriceEventWebhookCondition: tokenAddress {
180
- eq
181
- }
182
- networkIdPriceEventWebhookCondition: networkId {
183
- eq
184
- }
185
- priceUsd {
186
- gt
187
- gte
188
- lt
189
- lte
190
- eq
191
- }
192
- }
193
- ... on DecodedLogWebhookCondition {
194
- decodingId {
195
- eq
196
- }
197
- eventName {
198
- eq
199
- }
200
- address {
201
- eq
202
- }
203
- event
204
- }
205
- ... on DecodedCallWebhookCondition {
206
- decodingId {
207
- eq
208
- }
209
- methodName {
210
- eq
211
- }
212
- address {
213
- eq
214
- }
215
- from {
216
- eq
217
- }
218
- to {
219
- eq
220
- }
221
- methodId {
222
- eq
223
- }
224
- inputDecodedCallWebhookCondition: input
225
- output
226
- }
227
- ... on RawCallTraceWebhookCondition {
228
- traceType {
229
- eq
230
- }
231
- result {
232
- code {
233
- contains
234
- notContains
235
- }
236
- }
237
- networkId {
238
- oneOf
239
- }
240
- }
241
- ... on TokenPairEventWebhookCondition {
242
- tokenAddress {
243
- eq
244
- }
245
- networkId {
246
- oneOf
247
- }
248
- swapValue {
249
- gt
250
- gte
251
- lt
252
- lte
253
- eq
254
- }
255
- maker {
256
- eq
257
- }
258
- pairAddress {
259
- eq
260
- }
261
- exchangeAddress {
262
- eq
263
- }
264
- eventType {
265
- oneOf
266
- }
267
- }
268
- ... on NftEventWebhookCondition {
269
- networkId {
270
- oneOf
271
- }
272
- maker {
273
- eq
274
- }
275
- contractAddress {
276
- eq
277
- }
278
- exchangeAddress {
279
- eq
280
- }
281
- tokenId {
282
- eq
283
- }
284
- tokenAddress {
285
- eq
286
- }
287
- individualBaseTokenPrice {
288
- gt
289
- gte
290
- lt
291
- lte
292
- eq
293
- }
294
- eventType {
295
- eq
296
- }
297
- fillSource {
298
- oneOf
299
- }
300
- }
301
- ... on RawTransactionWebhookCondition {
302
- networkId {
303
- oneOf
304
- }
305
- to {
306
- eq
307
- }
308
- from {
309
- eq
310
- }
311
- toOrFrom {
312
- eq
313
- }
314
- input {
315
- contains
316
- notContains
317
- }
318
- ignoreTokenPairEvents
319
- ignoreNftEvents
320
- }
321
- }
322
- retrySettings {
323
- maxTimeElapsed
324
- minRetryDelay
325
- maxRetryDelay
326
- maxRetries
327
- }
328
- }
329
- decodedCallWebhooks {
330
- id
331
- webhookType
332
- name
333
- created
334
- alertRecurrence
335
- callbackUrl
336
- status
337
- groupId
338
- bucketId
339
- bucketSortkey
340
- conditions {
341
- ... on PriceEventWebhookCondition {
342
- tokenAddressPriceEventWebhookCondition: tokenAddress {
343
- eq
344
- }
345
- networkIdPriceEventWebhookCondition: networkId {
346
- eq
347
- }
348
- priceUsd {
349
- gt
350
- gte
351
- lt
352
- lte
353
- eq
354
- }
355
- }
356
- ... on DecodedLogWebhookCondition {
357
- decodingId {
358
- eq
359
- }
360
- eventName {
361
- eq
362
- }
363
- address {
364
- eq
365
- }
366
- event
367
- }
368
- ... on DecodedCallWebhookCondition {
369
- decodingId {
370
- eq
371
- }
372
- methodName {
373
- eq
374
- }
375
- address {
376
- eq
377
- }
378
- from {
379
- eq
380
- }
381
- to {
382
- eq
383
- }
384
- methodId {
385
- eq
386
- }
387
- inputDecodedCallWebhookCondition: input
388
- output
389
- }
390
- ... on RawCallTraceWebhookCondition {
391
- traceType {
392
- eq
393
- }
394
- result {
395
- code {
396
- contains
397
- notContains
398
- }
399
- }
400
- networkId {
401
- oneOf
402
- }
403
- }
404
28
  ... on TokenPairEventWebhookCondition {
405
29
  tokenAddress {
406
30
  eq
@@ -488,169 +112,8 @@ mutation CreateWebhooks($input: CreateWebhooksInput!) {
488
112
  maxRetryDelay
489
113
  maxRetries
490
114
  }
491
- }
492
- rawCallTraceWebhooks {
493
- id
494
- webhookType
495
- name
496
- created
497
- alertRecurrence
498
- callbackUrl
499
- status
500
- groupId
501
115
  bucketId
502
116
  bucketSortkey
503
- conditions {
504
- ... on PriceEventWebhookCondition {
505
- tokenAddressPriceEventWebhookCondition: tokenAddress {
506
- eq
507
- }
508
- networkIdPriceEventWebhookCondition: networkId {
509
- eq
510
- }
511
- priceUsd {
512
- gt
513
- gte
514
- lt
515
- lte
516
- eq
517
- }
518
- }
519
- ... on DecodedLogWebhookCondition {
520
- decodingId {
521
- eq
522
- }
523
- eventName {
524
- eq
525
- }
526
- address {
527
- eq
528
- }
529
- event
530
- }
531
- ... on DecodedCallWebhookCondition {
532
- decodingId {
533
- eq
534
- }
535
- methodName {
536
- eq
537
- }
538
- address {
539
- eq
540
- }
541
- from {
542
- eq
543
- }
544
- to {
545
- eq
546
- }
547
- methodId {
548
- eq
549
- }
550
- inputDecodedCallWebhookCondition: input
551
- output
552
- }
553
- ... on RawCallTraceWebhookCondition {
554
- traceType {
555
- eq
556
- }
557
- result {
558
- code {
559
- contains
560
- notContains
561
- }
562
- }
563
- networkId {
564
- oneOf
565
- }
566
- }
567
- ... on TokenPairEventWebhookCondition {
568
- tokenAddress {
569
- eq
570
- }
571
- networkId {
572
- oneOf
573
- }
574
- swapValue {
575
- gt
576
- gte
577
- lt
578
- lte
579
- eq
580
- }
581
- maker {
582
- eq
583
- }
584
- pairAddress {
585
- eq
586
- }
587
- exchangeAddress {
588
- eq
589
- }
590
- eventType {
591
- oneOf
592
- }
593
- }
594
- ... on NftEventWebhookCondition {
595
- networkId {
596
- oneOf
597
- }
598
- maker {
599
- eq
600
- }
601
- contractAddress {
602
- eq
603
- }
604
- exchangeAddress {
605
- eq
606
- }
607
- tokenId {
608
- eq
609
- }
610
- tokenAddress {
611
- eq
612
- }
613
- individualBaseTokenPrice {
614
- gt
615
- gte
616
- lt
617
- lte
618
- eq
619
- }
620
- eventType {
621
- eq
622
- }
623
- fillSource {
624
- oneOf
625
- }
626
- }
627
- ... on RawTransactionWebhookCondition {
628
- networkId {
629
- oneOf
630
- }
631
- to {
632
- eq
633
- }
634
- from {
635
- eq
636
- }
637
- toOrFrom {
638
- eq
639
- }
640
- input {
641
- contains
642
- notContains
643
- }
644
- ignoreTokenPairEvents
645
- ignoreNftEvents
646
- }
647
- }
648
- retrySettings {
649
- maxTimeElapsed
650
- minRetryDelay
651
- maxRetryDelay
652
- maxRetries
653
- }
654
117
  }
655
118
  tokenPairEventWebhooks {
656
119
  id
@@ -679,54 +142,6 @@ mutation CreateWebhooks($input: CreateWebhooksInput!) {
679
142
  eq
680
143
  }
681
144
  }
682
- ... on DecodedLogWebhookCondition {
683
- decodingId {
684
- eq
685
- }
686
- eventName {
687
- eq
688
- }
689
- address {
690
- eq
691
- }
692
- event
693
- }
694
- ... on DecodedCallWebhookCondition {
695
- decodingId {
696
- eq
697
- }
698
- methodName {
699
- eq
700
- }
701
- address {
702
- eq
703
- }
704
- from {
705
- eq
706
- }
707
- to {
708
- eq
709
- }
710
- methodId {
711
- eq
712
- }
713
- inputDecodedCallWebhookCondition: input
714
- output
715
- }
716
- ... on RawCallTraceWebhookCondition {
717
- traceType {
718
- eq
719
- }
720
- result {
721
- code {
722
- contains
723
- notContains
724
- }
725
- }
726
- networkId {
727
- oneOf
728
- }
729
- }
730
145
  ... on TokenPairEventWebhookCondition {
731
146
  tokenAddress {
732
147
  eq
@@ -848,54 +263,6 @@ mutation CreateWebhooks($input: CreateWebhooksInput!) {
848
263
  eq
849
264
  }
850
265
  }
851
- ... on DecodedLogWebhookCondition {
852
- decodingId {
853
- eq
854
- }
855
- eventName {
856
- eq
857
- }
858
- address {
859
- eq
860
- }
861
- event
862
- }
863
- ... on DecodedCallWebhookCondition {
864
- decodingId {
865
- eq
866
- }
867
- methodName {
868
- eq
869
- }
870
- address {
871
- eq
872
- }
873
- from {
874
- eq
875
- }
876
- to {
877
- eq
878
- }
879
- methodId {
880
- eq
881
- }
882
- inputDecodedCallWebhookCondition: input
883
- output
884
- }
885
- ... on RawCallTraceWebhookCondition {
886
- traceType {
887
- eq
888
- }
889
- result {
890
- code {
891
- contains
892
- notContains
893
- }
894
- }
895
- networkId {
896
- oneOf
897
- }
898
- }
899
266
  ... on TokenPairEventWebhookCondition {
900
267
  tokenAddress {
901
268
  eq
@@ -1005,54 +372,6 @@ mutation CreateWebhooks($input: CreateWebhooksInput!) {
1005
372
  eq
1006
373
  }
1007
374
  }
1008
- ... on DecodedLogWebhookCondition {
1009
- decodingId {
1010
- eq
1011
- }
1012
- eventName {
1013
- eq
1014
- }
1015
- address {
1016
- eq
1017
- }
1018
- event
1019
- }
1020
- ... on DecodedCallWebhookCondition {
1021
- decodingId {
1022
- eq
1023
- }
1024
- methodName {
1025
- eq
1026
- }
1027
- address {
1028
- eq
1029
- }
1030
- from {
1031
- eq
1032
- }
1033
- to {
1034
- eq
1035
- }
1036
- methodId {
1037
- eq
1038
- }
1039
- inputDecodedCallWebhookCondition: input
1040
- output
1041
- }
1042
- ... on RawCallTraceWebhookCondition {
1043
- traceType {
1044
- eq
1045
- }
1046
- result {
1047
- code {
1048
- contains
1049
- notContains
1050
- }
1051
- }
1052
- networkId {
1053
- oneOf
1054
- }
1055
- }
1056
375
  ... on TokenPairEventWebhookCondition {
1057
376
  tokenAddress {
1058
377
  eq
@@ -6,6 +6,7 @@ query FilterPairs(
6
6
  $limit: Int
7
7
  $offset: Int
8
8
  $matchTokens: PairFilterMatchTokens
9
+ $statsType: TokenPairStatisticsType
9
10
  ) {
10
11
  filterPairs(
11
12
  filters: $filters
@@ -15,6 +16,7 @@ query FilterPairs(
15
16
  limit: $limit
16
17
  offset: $offset
17
18
  matchTokens: $matchTokens
19
+ statsType: $statsType
18
20
  ) {
19
21
  count
20
22
  offset
@@ -5,6 +5,7 @@ query FilterTokens(
5
5
  $rankings: [TokenRanking]
6
6
  $limit: Int
7
7
  $offset: Int
8
+ $statsType: TokenPairStatisticsType
8
9
  ) {
9
10
  filterTokens(
10
11
  filters: $filters
@@ -13,6 +14,7 @@ query FilterTokens(
13
14
  rankings: $rankings
14
15
  limit: $limit
15
16
  offset: $offset
17
+ statsType: $statsType
16
18
  ) {
17
19
  count
18
20
  page