@bosonprotocol/core-sdk 1.16.0-alpha.8 → 1.16.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.
Files changed (101) hide show
  1. package/README.md +3 -104
  2. package/dist/cjs/core-sdk.d.ts +38 -1
  3. package/dist/cjs/core-sdk.d.ts.map +1 -1
  4. package/dist/cjs/core-sdk.js +80 -1
  5. package/dist/cjs/core-sdk.js.map +1 -1
  6. package/dist/cjs/event-logs/index.d.ts +2 -0
  7. package/dist/cjs/event-logs/index.d.ts.map +1 -0
  8. package/dist/cjs/event-logs/index.js +28 -0
  9. package/dist/cjs/event-logs/index.js.map +1 -0
  10. package/dist/cjs/event-logs/subgraph.d.ts +3 -0
  11. package/dist/cjs/event-logs/subgraph.d.ts.map +1 -0
  12. package/dist/cjs/event-logs/subgraph.js +22 -0
  13. package/dist/cjs/event-logs/subgraph.js.map +1 -0
  14. package/dist/cjs/exchanges/handler.d.ts +3 -0
  15. package/dist/cjs/exchanges/handler.d.ts.map +1 -1
  16. package/dist/cjs/exchanges/handler.js +34 -11
  17. package/dist/cjs/exchanges/handler.js.map +1 -1
  18. package/dist/cjs/exchanges/interface.d.ts +1 -0
  19. package/dist/cjs/exchanges/interface.d.ts.map +1 -1
  20. package/dist/cjs/exchanges/interface.js +7 -1
  21. package/dist/cjs/exchanges/interface.js.map +1 -1
  22. package/dist/cjs/index.d.ts +1 -1
  23. package/dist/cjs/index.d.ts.map +1 -1
  24. package/dist/cjs/index.js.map +1 -1
  25. package/dist/cjs/meta-tx/biconomy.d.ts +45 -0
  26. package/dist/cjs/meta-tx/biconomy.d.ts.map +1 -0
  27. package/dist/cjs/meta-tx/biconomy.js +76 -0
  28. package/dist/cjs/meta-tx/biconomy.js.map +1 -0
  29. package/dist/cjs/meta-tx/handler.d.ts +20 -1
  30. package/dist/cjs/meta-tx/handler.d.ts.map +1 -1
  31. package/dist/cjs/meta-tx/handler.js +61 -1
  32. package/dist/cjs/meta-tx/handler.js.map +1 -1
  33. package/dist/cjs/subgraph.d.ts +2848 -280
  34. package/dist/cjs/subgraph.d.ts.map +1 -1
  35. package/dist/cjs/subgraph.js +287 -41
  36. package/dist/cjs/subgraph.js.map +1 -1
  37. package/dist/cjs/utils/errors.d.ts +5 -0
  38. package/dist/cjs/utils/errors.d.ts.map +1 -0
  39. package/dist/cjs/utils/errors.js +11 -0
  40. package/dist/cjs/utils/errors.js.map +1 -0
  41. package/dist/cjs/utils/graphql.d.ts +43 -0
  42. package/dist/cjs/utils/graphql.d.ts.map +1 -1
  43. package/dist/esm/core-sdk.d.ts +38 -1
  44. package/dist/esm/core-sdk.d.ts.map +1 -1
  45. package/dist/esm/core-sdk.js +77 -1
  46. package/dist/esm/core-sdk.js.map +1 -1
  47. package/dist/esm/event-logs/index.d.ts +2 -0
  48. package/dist/esm/event-logs/index.d.ts.map +1 -0
  49. package/dist/esm/event-logs/index.js +2 -0
  50. package/dist/esm/event-logs/index.js.map +1 -0
  51. package/dist/esm/event-logs/subgraph.d.ts +3 -0
  52. package/dist/esm/event-logs/subgraph.d.ts.map +1 -0
  53. package/dist/esm/event-logs/subgraph.js +7 -0
  54. package/dist/esm/event-logs/subgraph.js.map +1 -0
  55. package/dist/esm/exchanges/handler.d.ts +3 -0
  56. package/dist/esm/exchanges/handler.d.ts.map +1 -1
  57. package/dist/esm/exchanges/handler.js +32 -12
  58. package/dist/esm/exchanges/handler.js.map +1 -1
  59. package/dist/esm/exchanges/interface.d.ts +1 -0
  60. package/dist/esm/exchanges/interface.d.ts.map +1 -1
  61. package/dist/esm/exchanges/interface.js +5 -0
  62. package/dist/esm/exchanges/interface.js.map +1 -1
  63. package/dist/esm/index.d.ts +1 -1
  64. package/dist/esm/index.d.ts.map +1 -1
  65. package/dist/esm/index.js.map +1 -1
  66. package/dist/esm/meta-tx/biconomy.d.ts +45 -0
  67. package/dist/esm/meta-tx/biconomy.d.ts.map +1 -0
  68. package/dist/esm/meta-tx/biconomy.js +60 -0
  69. package/dist/esm/meta-tx/biconomy.js.map +1 -0
  70. package/dist/esm/meta-tx/handler.d.ts +20 -1
  71. package/dist/esm/meta-tx/handler.d.ts.map +1 -1
  72. package/dist/esm/meta-tx/handler.js +56 -0
  73. package/dist/esm/meta-tx/handler.js.map +1 -1
  74. package/dist/esm/subgraph.d.ts +2848 -280
  75. package/dist/esm/subgraph.d.ts.map +1 -1
  76. package/dist/esm/subgraph.js +284 -39
  77. package/dist/esm/subgraph.js.map +1 -1
  78. package/dist/esm/utils/errors.d.ts +5 -0
  79. package/dist/esm/utils/errors.d.ts.map +1 -0
  80. package/dist/esm/utils/errors.js +8 -0
  81. package/dist/esm/utils/errors.js.map +1 -0
  82. package/dist/esm/utils/graphql.d.ts +43 -0
  83. package/dist/esm/utils/graphql.d.ts.map +1 -1
  84. package/package.json +3 -3
  85. package/src/accounts/queries.graphql +63 -0
  86. package/src/core-sdk.ts +117 -2
  87. package/src/disputes/queries.graphql +9 -9
  88. package/src/event-logs/index.ts +1 -0
  89. package/src/event-logs/queries.graphql +53 -0
  90. package/src/event-logs/subgraph.ts +14 -0
  91. package/src/exchanges/handler.ts +50 -20
  92. package/src/exchanges/interface.ts +6 -0
  93. package/src/exchanges/queries.graphql +9 -9
  94. package/src/index.ts +2 -1
  95. package/src/meta-tx/biconomy.ts +129 -0
  96. package/src/meta-tx/handler.ts +84 -2
  97. package/src/metadata/base.graphql +2 -0
  98. package/src/metadata/product-v1.graphql +2 -1
  99. package/src/offers/queries.graphql +3 -0
  100. package/src/subgraph.ts +2603 -240
  101. package/src/utils/errors.ts +5 -0
package/src/subgraph.ts CHANGED
@@ -31,6 +31,7 @@ export type Scalars = {
31
31
  export type Account = {
32
32
  funds: Array<FundsEntity>;
33
33
  id: Scalars["ID"];
34
+ logs: Array<EventLog>;
34
35
  };
35
36
 
36
37
  /**
@@ -45,6 +46,106 @@ export type AccountFundsArgs = {
45
46
  where?: InputMaybe<FundsEntity_Filter>;
46
47
  };
47
48
 
49
+ /**
50
+ * Accounts
51
+ *
52
+ */
53
+ export type AccountLogsArgs = {
54
+ first?: InputMaybe<Scalars["Int"]>;
55
+ orderBy?: InputMaybe<EventLog_OrderBy>;
56
+ orderDirection?: InputMaybe<OrderDirection>;
57
+ skip?: InputMaybe<Scalars["Int"]>;
58
+ where?: InputMaybe<EventLog_Filter>;
59
+ };
60
+
61
+ export type AccountEventLog = EventLog & {
62
+ __typename?: "AccountEventLog";
63
+ account: Account;
64
+ executedBy: Scalars["Bytes"];
65
+ hash: Scalars["String"];
66
+ id: Scalars["ID"];
67
+ timestamp: Scalars["BigInt"];
68
+ type: EventType;
69
+ };
70
+
71
+ export type AccountEventLog_Filter = {
72
+ account?: InputMaybe<Scalars["String"]>;
73
+ account_contains?: InputMaybe<Scalars["String"]>;
74
+ account_contains_nocase?: InputMaybe<Scalars["String"]>;
75
+ account_ends_with?: InputMaybe<Scalars["String"]>;
76
+ account_ends_with_nocase?: InputMaybe<Scalars["String"]>;
77
+ account_gt?: InputMaybe<Scalars["String"]>;
78
+ account_gte?: InputMaybe<Scalars["String"]>;
79
+ account_in?: InputMaybe<Array<Scalars["String"]>>;
80
+ account_lt?: InputMaybe<Scalars["String"]>;
81
+ account_lte?: InputMaybe<Scalars["String"]>;
82
+ account_not?: InputMaybe<Scalars["String"]>;
83
+ account_not_contains?: InputMaybe<Scalars["String"]>;
84
+ account_not_contains_nocase?: InputMaybe<Scalars["String"]>;
85
+ account_not_ends_with?: InputMaybe<Scalars["String"]>;
86
+ account_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
87
+ account_not_in?: InputMaybe<Array<Scalars["String"]>>;
88
+ account_not_starts_with?: InputMaybe<Scalars["String"]>;
89
+ account_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
90
+ account_starts_with?: InputMaybe<Scalars["String"]>;
91
+ account_starts_with_nocase?: InputMaybe<Scalars["String"]>;
92
+ executedBy?: InputMaybe<Scalars["Bytes"]>;
93
+ executedBy_contains?: InputMaybe<Scalars["Bytes"]>;
94
+ executedBy_in?: InputMaybe<Array<Scalars["Bytes"]>>;
95
+ executedBy_not?: InputMaybe<Scalars["Bytes"]>;
96
+ executedBy_not_contains?: InputMaybe<Scalars["Bytes"]>;
97
+ executedBy_not_in?: InputMaybe<Array<Scalars["Bytes"]>>;
98
+ hash?: InputMaybe<Scalars["String"]>;
99
+ hash_contains?: InputMaybe<Scalars["String"]>;
100
+ hash_contains_nocase?: InputMaybe<Scalars["String"]>;
101
+ hash_ends_with?: InputMaybe<Scalars["String"]>;
102
+ hash_ends_with_nocase?: InputMaybe<Scalars["String"]>;
103
+ hash_gt?: InputMaybe<Scalars["String"]>;
104
+ hash_gte?: InputMaybe<Scalars["String"]>;
105
+ hash_in?: InputMaybe<Array<Scalars["String"]>>;
106
+ hash_lt?: InputMaybe<Scalars["String"]>;
107
+ hash_lte?: InputMaybe<Scalars["String"]>;
108
+ hash_not?: InputMaybe<Scalars["String"]>;
109
+ hash_not_contains?: InputMaybe<Scalars["String"]>;
110
+ hash_not_contains_nocase?: InputMaybe<Scalars["String"]>;
111
+ hash_not_ends_with?: InputMaybe<Scalars["String"]>;
112
+ hash_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
113
+ hash_not_in?: InputMaybe<Array<Scalars["String"]>>;
114
+ hash_not_starts_with?: InputMaybe<Scalars["String"]>;
115
+ hash_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
116
+ hash_starts_with?: InputMaybe<Scalars["String"]>;
117
+ hash_starts_with_nocase?: InputMaybe<Scalars["String"]>;
118
+ id?: InputMaybe<Scalars["ID"]>;
119
+ id_gt?: InputMaybe<Scalars["ID"]>;
120
+ id_gte?: InputMaybe<Scalars["ID"]>;
121
+ id_in?: InputMaybe<Array<Scalars["ID"]>>;
122
+ id_lt?: InputMaybe<Scalars["ID"]>;
123
+ id_lte?: InputMaybe<Scalars["ID"]>;
124
+ id_not?: InputMaybe<Scalars["ID"]>;
125
+ id_not_in?: InputMaybe<Array<Scalars["ID"]>>;
126
+ timestamp?: InputMaybe<Scalars["BigInt"]>;
127
+ timestamp_gt?: InputMaybe<Scalars["BigInt"]>;
128
+ timestamp_gte?: InputMaybe<Scalars["BigInt"]>;
129
+ timestamp_in?: InputMaybe<Array<Scalars["BigInt"]>>;
130
+ timestamp_lt?: InputMaybe<Scalars["BigInt"]>;
131
+ timestamp_lte?: InputMaybe<Scalars["BigInt"]>;
132
+ timestamp_not?: InputMaybe<Scalars["BigInt"]>;
133
+ timestamp_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
134
+ type?: InputMaybe<EventType>;
135
+ type_in?: InputMaybe<Array<EventType>>;
136
+ type_not?: InputMaybe<EventType>;
137
+ type_not_in?: InputMaybe<Array<EventType>>;
138
+ };
139
+
140
+ export enum AccountEventLog_OrderBy {
141
+ Account = "account",
142
+ ExecutedBy = "executedBy",
143
+ Hash = "hash",
144
+ Id = "id",
145
+ Timestamp = "timestamp",
146
+ Type = "type"
147
+ }
148
+
48
149
  export type Account_Filter = {
49
150
  id?: InputMaybe<Scalars["ID"]>;
50
151
  id_gt?: InputMaybe<Scalars["ID"]>;
@@ -58,7 +159,8 @@ export type Account_Filter = {
58
159
 
59
160
  export enum Account_OrderBy {
60
161
  Funds = "funds",
61
- Id = "id"
162
+ Id = "id",
163
+ Logs = "logs"
62
164
  }
63
165
 
64
166
  export type BaseMetadataEntity = MetadataInterface & {
@@ -79,6 +181,8 @@ export type BaseMetadataEntity = MetadataInterface & {
79
181
  id: Scalars["ID"];
80
182
  image: Scalars["String"];
81
183
  name: Scalars["String"];
184
+ numberOfCommits: Scalars["BigInt"];
185
+ numberOfRedemptions: Scalars["BigInt"];
82
186
  /**
83
187
  * References to entities
84
188
  *
@@ -225,6 +329,22 @@ export type BaseMetadataEntity_Filter = {
225
329
  name_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
226
330
  name_starts_with?: InputMaybe<Scalars["String"]>;
227
331
  name_starts_with_nocase?: InputMaybe<Scalars["String"]>;
332
+ numberOfCommits?: InputMaybe<Scalars["BigInt"]>;
333
+ numberOfCommits_gt?: InputMaybe<Scalars["BigInt"]>;
334
+ numberOfCommits_gte?: InputMaybe<Scalars["BigInt"]>;
335
+ numberOfCommits_in?: InputMaybe<Array<Scalars["BigInt"]>>;
336
+ numberOfCommits_lt?: InputMaybe<Scalars["BigInt"]>;
337
+ numberOfCommits_lte?: InputMaybe<Scalars["BigInt"]>;
338
+ numberOfCommits_not?: InputMaybe<Scalars["BigInt"]>;
339
+ numberOfCommits_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
340
+ numberOfRedemptions?: InputMaybe<Scalars["BigInt"]>;
341
+ numberOfRedemptions_gt?: InputMaybe<Scalars["BigInt"]>;
342
+ numberOfRedemptions_gte?: InputMaybe<Scalars["BigInt"]>;
343
+ numberOfRedemptions_in?: InputMaybe<Array<Scalars["BigInt"]>>;
344
+ numberOfRedemptions_lt?: InputMaybe<Scalars["BigInt"]>;
345
+ numberOfRedemptions_lte?: InputMaybe<Scalars["BigInt"]>;
346
+ numberOfRedemptions_not?: InputMaybe<Scalars["BigInt"]>;
347
+ numberOfRedemptions_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
228
348
  offer?: InputMaybe<Scalars["String"]>;
229
349
  offer_contains?: InputMaybe<Scalars["String"]>;
230
350
  offer_contains_nocase?: InputMaybe<Scalars["String"]>;
@@ -328,6 +448,8 @@ export enum BaseMetadataEntity_OrderBy {
328
448
  Id = "id",
329
449
  Image = "image",
330
450
  Name = "name",
451
+ NumberOfCommits = "numberOfCommits",
452
+ NumberOfRedemptions = "numberOfRedemptions",
331
453
  Offer = "offer",
332
454
  QuantityAvailable = "quantityAvailable",
333
455
  SchemaUrl = "schemaUrl",
@@ -360,6 +482,7 @@ export type Buyer = Account & {
360
482
  exchanges: Array<Exchange>;
361
483
  funds: Array<FundsEntity>;
362
484
  id: Scalars["ID"];
485
+ logs: Array<EventLog>;
363
486
  wallet: Scalars["Bytes"];
364
487
  };
365
488
 
@@ -379,6 +502,14 @@ export type BuyerFundsArgs = {
379
502
  where?: InputMaybe<FundsEntity_Filter>;
380
503
  };
381
504
 
505
+ export type BuyerLogsArgs = {
506
+ first?: InputMaybe<Scalars["Int"]>;
507
+ orderBy?: InputMaybe<EventLog_OrderBy>;
508
+ orderDirection?: InputMaybe<OrderDirection>;
509
+ skip?: InputMaybe<Scalars["Int"]>;
510
+ where?: InputMaybe<EventLog_Filter>;
511
+ };
512
+
382
513
  export type Buyer_Filter = {
383
514
  active?: InputMaybe<Scalars["Boolean"]>;
384
515
  active_in?: InputMaybe<Array<Scalars["Boolean"]>>;
@@ -405,6 +536,7 @@ export enum Buyer_OrderBy {
405
536
  Exchanges = "exchanges",
406
537
  Funds = "funds",
407
538
  Id = "id",
539
+ Logs = "logs",
408
540
  Wallet = "wallet"
409
541
  }
410
542
 
@@ -413,6 +545,7 @@ export type Dispute = {
413
545
  buyer: Buyer;
414
546
  buyerPercent: Scalars["BigInt"];
415
547
  decidedDate?: Maybe<Scalars["BigInt"]>;
548
+ disputeResolver: DisputeResolver;
416
549
  disputedDate: Scalars["BigInt"];
417
550
  escalatedDate?: Maybe<Scalars["BigInt"]>;
418
551
  exchange: Exchange;
@@ -427,6 +560,116 @@ export type Dispute = {
427
560
  timeout: Scalars["BigInt"];
428
561
  };
429
562
 
563
+ export type DisputeEventLog = EventLog & {
564
+ __typename?: "DisputeEventLog";
565
+ account: Account;
566
+ dispute: Dispute;
567
+ executedBy: Scalars["Bytes"];
568
+ hash: Scalars["String"];
569
+ id: Scalars["ID"];
570
+ timestamp: Scalars["BigInt"];
571
+ type: EventType;
572
+ };
573
+
574
+ export type DisputeEventLog_Filter = {
575
+ account?: InputMaybe<Scalars["String"]>;
576
+ account_contains?: InputMaybe<Scalars["String"]>;
577
+ account_contains_nocase?: InputMaybe<Scalars["String"]>;
578
+ account_ends_with?: InputMaybe<Scalars["String"]>;
579
+ account_ends_with_nocase?: InputMaybe<Scalars["String"]>;
580
+ account_gt?: InputMaybe<Scalars["String"]>;
581
+ account_gte?: InputMaybe<Scalars["String"]>;
582
+ account_in?: InputMaybe<Array<Scalars["String"]>>;
583
+ account_lt?: InputMaybe<Scalars["String"]>;
584
+ account_lte?: InputMaybe<Scalars["String"]>;
585
+ account_not?: InputMaybe<Scalars["String"]>;
586
+ account_not_contains?: InputMaybe<Scalars["String"]>;
587
+ account_not_contains_nocase?: InputMaybe<Scalars["String"]>;
588
+ account_not_ends_with?: InputMaybe<Scalars["String"]>;
589
+ account_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
590
+ account_not_in?: InputMaybe<Array<Scalars["String"]>>;
591
+ account_not_starts_with?: InputMaybe<Scalars["String"]>;
592
+ account_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
593
+ account_starts_with?: InputMaybe<Scalars["String"]>;
594
+ account_starts_with_nocase?: InputMaybe<Scalars["String"]>;
595
+ dispute?: InputMaybe<Scalars["String"]>;
596
+ dispute_contains?: InputMaybe<Scalars["String"]>;
597
+ dispute_contains_nocase?: InputMaybe<Scalars["String"]>;
598
+ dispute_ends_with?: InputMaybe<Scalars["String"]>;
599
+ dispute_ends_with_nocase?: InputMaybe<Scalars["String"]>;
600
+ dispute_gt?: InputMaybe<Scalars["String"]>;
601
+ dispute_gte?: InputMaybe<Scalars["String"]>;
602
+ dispute_in?: InputMaybe<Array<Scalars["String"]>>;
603
+ dispute_lt?: InputMaybe<Scalars["String"]>;
604
+ dispute_lte?: InputMaybe<Scalars["String"]>;
605
+ dispute_not?: InputMaybe<Scalars["String"]>;
606
+ dispute_not_contains?: InputMaybe<Scalars["String"]>;
607
+ dispute_not_contains_nocase?: InputMaybe<Scalars["String"]>;
608
+ dispute_not_ends_with?: InputMaybe<Scalars["String"]>;
609
+ dispute_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
610
+ dispute_not_in?: InputMaybe<Array<Scalars["String"]>>;
611
+ dispute_not_starts_with?: InputMaybe<Scalars["String"]>;
612
+ dispute_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
613
+ dispute_starts_with?: InputMaybe<Scalars["String"]>;
614
+ dispute_starts_with_nocase?: InputMaybe<Scalars["String"]>;
615
+ executedBy?: InputMaybe<Scalars["Bytes"]>;
616
+ executedBy_contains?: InputMaybe<Scalars["Bytes"]>;
617
+ executedBy_in?: InputMaybe<Array<Scalars["Bytes"]>>;
618
+ executedBy_not?: InputMaybe<Scalars["Bytes"]>;
619
+ executedBy_not_contains?: InputMaybe<Scalars["Bytes"]>;
620
+ executedBy_not_in?: InputMaybe<Array<Scalars["Bytes"]>>;
621
+ hash?: InputMaybe<Scalars["String"]>;
622
+ hash_contains?: InputMaybe<Scalars["String"]>;
623
+ hash_contains_nocase?: InputMaybe<Scalars["String"]>;
624
+ hash_ends_with?: InputMaybe<Scalars["String"]>;
625
+ hash_ends_with_nocase?: InputMaybe<Scalars["String"]>;
626
+ hash_gt?: InputMaybe<Scalars["String"]>;
627
+ hash_gte?: InputMaybe<Scalars["String"]>;
628
+ hash_in?: InputMaybe<Array<Scalars["String"]>>;
629
+ hash_lt?: InputMaybe<Scalars["String"]>;
630
+ hash_lte?: InputMaybe<Scalars["String"]>;
631
+ hash_not?: InputMaybe<Scalars["String"]>;
632
+ hash_not_contains?: InputMaybe<Scalars["String"]>;
633
+ hash_not_contains_nocase?: InputMaybe<Scalars["String"]>;
634
+ hash_not_ends_with?: InputMaybe<Scalars["String"]>;
635
+ hash_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
636
+ hash_not_in?: InputMaybe<Array<Scalars["String"]>>;
637
+ hash_not_starts_with?: InputMaybe<Scalars["String"]>;
638
+ hash_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
639
+ hash_starts_with?: InputMaybe<Scalars["String"]>;
640
+ hash_starts_with_nocase?: InputMaybe<Scalars["String"]>;
641
+ id?: InputMaybe<Scalars["ID"]>;
642
+ id_gt?: InputMaybe<Scalars["ID"]>;
643
+ id_gte?: InputMaybe<Scalars["ID"]>;
644
+ id_in?: InputMaybe<Array<Scalars["ID"]>>;
645
+ id_lt?: InputMaybe<Scalars["ID"]>;
646
+ id_lte?: InputMaybe<Scalars["ID"]>;
647
+ id_not?: InputMaybe<Scalars["ID"]>;
648
+ id_not_in?: InputMaybe<Array<Scalars["ID"]>>;
649
+ timestamp?: InputMaybe<Scalars["BigInt"]>;
650
+ timestamp_gt?: InputMaybe<Scalars["BigInt"]>;
651
+ timestamp_gte?: InputMaybe<Scalars["BigInt"]>;
652
+ timestamp_in?: InputMaybe<Array<Scalars["BigInt"]>>;
653
+ timestamp_lt?: InputMaybe<Scalars["BigInt"]>;
654
+ timestamp_lte?: InputMaybe<Scalars["BigInt"]>;
655
+ timestamp_not?: InputMaybe<Scalars["BigInt"]>;
656
+ timestamp_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
657
+ type?: InputMaybe<EventType>;
658
+ type_in?: InputMaybe<Array<EventType>>;
659
+ type_not?: InputMaybe<EventType>;
660
+ type_not_in?: InputMaybe<Array<EventType>>;
661
+ };
662
+
663
+ export enum DisputeEventLog_OrderBy {
664
+ Account = "account",
665
+ Dispute = "dispute",
666
+ ExecutedBy = "executedBy",
667
+ Hash = "hash",
668
+ Id = "id",
669
+ Timestamp = "timestamp",
670
+ Type = "type"
671
+ }
672
+
430
673
  export type DisputeResolutionTermsEntity = {
431
674
  __typename?: "DisputeResolutionTermsEntity";
432
675
  buyerEscalationDeposit: Scalars["BigInt"];
@@ -532,14 +775,16 @@ export enum DisputeResolutionTermsEntity_OrderBy {
532
775
  Offer = "offer"
533
776
  }
534
777
 
535
- export type DisputeResolver = {
778
+ export type DisputeResolver = Account & {
536
779
  __typename?: "DisputeResolver";
537
780
  active: Scalars["Boolean"];
538
781
  admin: Scalars["Bytes"];
539
782
  clerk: Scalars["Bytes"];
540
783
  escalationResponsePeriod: Scalars["BigInt"];
541
784
  fees: Array<DisputeResolverFee>;
785
+ funds: Array<FundsEntity>;
542
786
  id: Scalars["ID"];
787
+ logs: Array<EventLog>;
543
788
  metadataUri: Scalars["String"];
544
789
  offers: Array<Offer>;
545
790
  operator: Scalars["Bytes"];
@@ -555,6 +800,22 @@ export type DisputeResolverFeesArgs = {
555
800
  where?: InputMaybe<DisputeResolverFee_Filter>;
556
801
  };
557
802
 
803
+ export type DisputeResolverFundsArgs = {
804
+ first?: InputMaybe<Scalars["Int"]>;
805
+ orderBy?: InputMaybe<FundsEntity_OrderBy>;
806
+ orderDirection?: InputMaybe<OrderDirection>;
807
+ skip?: InputMaybe<Scalars["Int"]>;
808
+ where?: InputMaybe<FundsEntity_Filter>;
809
+ };
810
+
811
+ export type DisputeResolverLogsArgs = {
812
+ first?: InputMaybe<Scalars["Int"]>;
813
+ orderBy?: InputMaybe<EventLog_OrderBy>;
814
+ orderDirection?: InputMaybe<OrderDirection>;
815
+ skip?: InputMaybe<Scalars["Int"]>;
816
+ where?: InputMaybe<EventLog_Filter>;
817
+ };
818
+
558
819
  export type DisputeResolverOffersArgs = {
559
820
  first?: InputMaybe<Scalars["Int"]>;
560
821
  orderBy?: InputMaybe<Offer_OrderBy>;
@@ -731,7 +992,9 @@ export enum DisputeResolver_OrderBy {
731
992
  Clerk = "clerk",
732
993
  EscalationResponsePeriod = "escalationResponsePeriod",
733
994
  Fees = "fees",
995
+ Funds = "funds",
734
996
  Id = "id",
997
+ Logs = "logs",
735
998
  MetadataUri = "metadataUri",
736
999
  Offers = "offers",
737
1000
  Operator = "operator",
@@ -789,6 +1052,26 @@ export type Dispute_Filter = {
789
1052
  decidedDate_lte?: InputMaybe<Scalars["BigInt"]>;
790
1053
  decidedDate_not?: InputMaybe<Scalars["BigInt"]>;
791
1054
  decidedDate_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
1055
+ disputeResolver?: InputMaybe<Scalars["String"]>;
1056
+ disputeResolver_contains?: InputMaybe<Scalars["String"]>;
1057
+ disputeResolver_contains_nocase?: InputMaybe<Scalars["String"]>;
1058
+ disputeResolver_ends_with?: InputMaybe<Scalars["String"]>;
1059
+ disputeResolver_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1060
+ disputeResolver_gt?: InputMaybe<Scalars["String"]>;
1061
+ disputeResolver_gte?: InputMaybe<Scalars["String"]>;
1062
+ disputeResolver_in?: InputMaybe<Array<Scalars["String"]>>;
1063
+ disputeResolver_lt?: InputMaybe<Scalars["String"]>;
1064
+ disputeResolver_lte?: InputMaybe<Scalars["String"]>;
1065
+ disputeResolver_not?: InputMaybe<Scalars["String"]>;
1066
+ disputeResolver_not_contains?: InputMaybe<Scalars["String"]>;
1067
+ disputeResolver_not_contains_nocase?: InputMaybe<Scalars["String"]>;
1068
+ disputeResolver_not_ends_with?: InputMaybe<Scalars["String"]>;
1069
+ disputeResolver_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1070
+ disputeResolver_not_in?: InputMaybe<Array<Scalars["String"]>>;
1071
+ disputeResolver_not_starts_with?: InputMaybe<Scalars["String"]>;
1072
+ disputeResolver_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1073
+ disputeResolver_starts_with?: InputMaybe<Scalars["String"]>;
1074
+ disputeResolver_starts_with_nocase?: InputMaybe<Scalars["String"]>;
792
1075
  disputedDate?: InputMaybe<Scalars["BigInt"]>;
793
1076
  disputedDate_gt?: InputMaybe<Scalars["BigInt"]>;
794
1077
  disputedDate_gte?: InputMaybe<Scalars["BigInt"]>;
@@ -911,6 +1194,7 @@ export enum Dispute_OrderBy {
911
1194
  Buyer = "buyer",
912
1195
  BuyerPercent = "buyerPercent",
913
1196
  DecidedDate = "decidedDate",
1197
+ DisputeResolver = "disputeResolver",
914
1198
  DisputedDate = "disputedDate",
915
1199
  EscalatedDate = "escalatedDate",
916
1200
  Exchange = "exchange",
@@ -925,6 +1209,137 @@ export enum Dispute_OrderBy {
925
1209
  Timeout = "timeout"
926
1210
  }
927
1211
 
1212
+ export type EventLog = {
1213
+ account: Account;
1214
+ executedBy: Scalars["Bytes"];
1215
+ hash: Scalars["String"];
1216
+ id: Scalars["ID"];
1217
+ timestamp: Scalars["BigInt"];
1218
+ type: EventType;
1219
+ };
1220
+
1221
+ export type EventLog_Filter = {
1222
+ account?: InputMaybe<Scalars["String"]>;
1223
+ account_contains?: InputMaybe<Scalars["String"]>;
1224
+ account_contains_nocase?: InputMaybe<Scalars["String"]>;
1225
+ account_ends_with?: InputMaybe<Scalars["String"]>;
1226
+ account_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1227
+ account_gt?: InputMaybe<Scalars["String"]>;
1228
+ account_gte?: InputMaybe<Scalars["String"]>;
1229
+ account_in?: InputMaybe<Array<Scalars["String"]>>;
1230
+ account_lt?: InputMaybe<Scalars["String"]>;
1231
+ account_lte?: InputMaybe<Scalars["String"]>;
1232
+ account_not?: InputMaybe<Scalars["String"]>;
1233
+ account_not_contains?: InputMaybe<Scalars["String"]>;
1234
+ account_not_contains_nocase?: InputMaybe<Scalars["String"]>;
1235
+ account_not_ends_with?: InputMaybe<Scalars["String"]>;
1236
+ account_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1237
+ account_not_in?: InputMaybe<Array<Scalars["String"]>>;
1238
+ account_not_starts_with?: InputMaybe<Scalars["String"]>;
1239
+ account_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1240
+ account_starts_with?: InputMaybe<Scalars["String"]>;
1241
+ account_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1242
+ executedBy?: InputMaybe<Scalars["Bytes"]>;
1243
+ executedBy_contains?: InputMaybe<Scalars["Bytes"]>;
1244
+ executedBy_in?: InputMaybe<Array<Scalars["Bytes"]>>;
1245
+ executedBy_not?: InputMaybe<Scalars["Bytes"]>;
1246
+ executedBy_not_contains?: InputMaybe<Scalars["Bytes"]>;
1247
+ executedBy_not_in?: InputMaybe<Array<Scalars["Bytes"]>>;
1248
+ hash?: InputMaybe<Scalars["String"]>;
1249
+ hash_contains?: InputMaybe<Scalars["String"]>;
1250
+ hash_contains_nocase?: InputMaybe<Scalars["String"]>;
1251
+ hash_ends_with?: InputMaybe<Scalars["String"]>;
1252
+ hash_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1253
+ hash_gt?: InputMaybe<Scalars["String"]>;
1254
+ hash_gte?: InputMaybe<Scalars["String"]>;
1255
+ hash_in?: InputMaybe<Array<Scalars["String"]>>;
1256
+ hash_lt?: InputMaybe<Scalars["String"]>;
1257
+ hash_lte?: InputMaybe<Scalars["String"]>;
1258
+ hash_not?: InputMaybe<Scalars["String"]>;
1259
+ hash_not_contains?: InputMaybe<Scalars["String"]>;
1260
+ hash_not_contains_nocase?: InputMaybe<Scalars["String"]>;
1261
+ hash_not_ends_with?: InputMaybe<Scalars["String"]>;
1262
+ hash_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1263
+ hash_not_in?: InputMaybe<Array<Scalars["String"]>>;
1264
+ hash_not_starts_with?: InputMaybe<Scalars["String"]>;
1265
+ hash_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1266
+ hash_starts_with?: InputMaybe<Scalars["String"]>;
1267
+ hash_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1268
+ id?: InputMaybe<Scalars["ID"]>;
1269
+ id_gt?: InputMaybe<Scalars["ID"]>;
1270
+ id_gte?: InputMaybe<Scalars["ID"]>;
1271
+ id_in?: InputMaybe<Array<Scalars["ID"]>>;
1272
+ id_lt?: InputMaybe<Scalars["ID"]>;
1273
+ id_lte?: InputMaybe<Scalars["ID"]>;
1274
+ id_not?: InputMaybe<Scalars["ID"]>;
1275
+ id_not_in?: InputMaybe<Array<Scalars["ID"]>>;
1276
+ timestamp?: InputMaybe<Scalars["BigInt"]>;
1277
+ timestamp_gt?: InputMaybe<Scalars["BigInt"]>;
1278
+ timestamp_gte?: InputMaybe<Scalars["BigInt"]>;
1279
+ timestamp_in?: InputMaybe<Array<Scalars["BigInt"]>>;
1280
+ timestamp_lt?: InputMaybe<Scalars["BigInt"]>;
1281
+ timestamp_lte?: InputMaybe<Scalars["BigInt"]>;
1282
+ timestamp_not?: InputMaybe<Scalars["BigInt"]>;
1283
+ timestamp_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
1284
+ type?: InputMaybe<EventType>;
1285
+ type_in?: InputMaybe<Array<EventType>>;
1286
+ type_not?: InputMaybe<EventType>;
1287
+ type_not_in?: InputMaybe<Array<EventType>>;
1288
+ };
1289
+
1290
+ export enum EventLog_OrderBy {
1291
+ Account = "account",
1292
+ ExecutedBy = "executedBy",
1293
+ Hash = "hash",
1294
+ Id = "id",
1295
+ Timestamp = "timestamp",
1296
+ Type = "type"
1297
+ }
1298
+
1299
+ /**
1300
+ * Events
1301
+ *
1302
+ */
1303
+ export enum EventType {
1304
+ AllowedSellersAdded = "ALLOWED_SELLERS_ADDED",
1305
+ AllowedSellersRemoved = "ALLOWED_SELLERS_REMOVED",
1306
+ /** ExchangeHandler events */
1307
+ BuyerCommitted = "BUYER_COMMITTED",
1308
+ BuyerCreated = "BUYER_CREATED",
1309
+ DisputeDecided = "DISPUTE_DECIDED",
1310
+ DisputeEscalated = "DISPUTE_ESCALATED",
1311
+ DisputeExpired = "DISPUTE_EXPIRED",
1312
+ /** DisputeHandler events */
1313
+ DisputeRaised = "DISPUTE_RAISED",
1314
+ DisputeResolved = "DISPUTE_RESOLVED",
1315
+ DisputeResolverActivated = "DISPUTE_RESOLVER_ACTIVATED",
1316
+ DisputeResolverCreated = "DISPUTE_RESOLVER_CREATED",
1317
+ DisputeResolverFeesAdded = "DISPUTE_RESOLVER_FEES_ADDED",
1318
+ DisputeResolverFeesRemoved = "DISPUTE_RESOLVER_FEES_REMOVED",
1319
+ DisputeResolverUpdated = "DISPUTE_RESOLVER_UPDATED",
1320
+ DisputeRetracted = "DISPUTE_RETRACTED",
1321
+ DisputeTimeoutExtended = "DISPUTE_TIMEOUT_EXTENDED",
1322
+ EscalatedDisputeExpired = "ESCALATED_DISPUTE_EXPIRED",
1323
+ EscalatedDisputeRefused = "ESCALATED_DISPUTE_REFUSED",
1324
+ ExchangeCompleted = "EXCHANGE_COMPLETED",
1325
+ /** FundsHandler events */
1326
+ FundsDeposited = "FUNDS_DEPOSITED",
1327
+ FundsEncumbered = "FUNDS_ENCUMBERED",
1328
+ FundsReleased = "FUNDS_RELEASED",
1329
+ FundsWithdrawn = "FUNDS_WITHDRAWN",
1330
+ /** OfferHandler events */
1331
+ OfferCreated = "OFFER_CREATED",
1332
+ OfferVoided = "OFFER_VOIDED",
1333
+ /** AccountHandler events */
1334
+ SellerCreated = "SELLER_CREATED",
1335
+ SellerUpdated = "SELLER_UPDATED",
1336
+ VoucherCanceled = "VOUCHER_CANCELED",
1337
+ VoucherExtended = "VOUCHER_EXTENDED",
1338
+ VoucherRedeemed = "VOUCHER_REDEEMED",
1339
+ VoucherRevoked = "VOUCHER_REVOKED",
1340
+ VoucherTransferred = "VOUCHER_TRANSFERRED"
1341
+ }
1342
+
928
1343
  export type Exchange = {
929
1344
  __typename?: "Exchange";
930
1345
  buyer: Buyer;
@@ -932,6 +1347,7 @@ export type Exchange = {
932
1347
  committedDate: Scalars["BigInt"];
933
1348
  completedDate?: Maybe<Scalars["BigInt"]>;
934
1349
  dispute?: Maybe<Dispute>;
1350
+ disputeResolver: DisputeResolver;
935
1351
  disputed: Scalars["Boolean"];
936
1352
  disputedDate?: Maybe<Scalars["BigInt"]>;
937
1353
  expired: Scalars["Boolean"];
@@ -945,6 +1361,116 @@ export type Exchange = {
945
1361
  validUntilDate: Scalars["BigInt"];
946
1362
  };
947
1363
 
1364
+ export type ExchangeEventLog = EventLog & {
1365
+ __typename?: "ExchangeEventLog";
1366
+ account: Account;
1367
+ exchange: Exchange;
1368
+ executedBy: Scalars["Bytes"];
1369
+ hash: Scalars["String"];
1370
+ id: Scalars["ID"];
1371
+ timestamp: Scalars["BigInt"];
1372
+ type: EventType;
1373
+ };
1374
+
1375
+ export type ExchangeEventLog_Filter = {
1376
+ account?: InputMaybe<Scalars["String"]>;
1377
+ account_contains?: InputMaybe<Scalars["String"]>;
1378
+ account_contains_nocase?: InputMaybe<Scalars["String"]>;
1379
+ account_ends_with?: InputMaybe<Scalars["String"]>;
1380
+ account_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1381
+ account_gt?: InputMaybe<Scalars["String"]>;
1382
+ account_gte?: InputMaybe<Scalars["String"]>;
1383
+ account_in?: InputMaybe<Array<Scalars["String"]>>;
1384
+ account_lt?: InputMaybe<Scalars["String"]>;
1385
+ account_lte?: InputMaybe<Scalars["String"]>;
1386
+ account_not?: InputMaybe<Scalars["String"]>;
1387
+ account_not_contains?: InputMaybe<Scalars["String"]>;
1388
+ account_not_contains_nocase?: InputMaybe<Scalars["String"]>;
1389
+ account_not_ends_with?: InputMaybe<Scalars["String"]>;
1390
+ account_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1391
+ account_not_in?: InputMaybe<Array<Scalars["String"]>>;
1392
+ account_not_starts_with?: InputMaybe<Scalars["String"]>;
1393
+ account_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1394
+ account_starts_with?: InputMaybe<Scalars["String"]>;
1395
+ account_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1396
+ exchange?: InputMaybe<Scalars["String"]>;
1397
+ exchange_contains?: InputMaybe<Scalars["String"]>;
1398
+ exchange_contains_nocase?: InputMaybe<Scalars["String"]>;
1399
+ exchange_ends_with?: InputMaybe<Scalars["String"]>;
1400
+ exchange_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1401
+ exchange_gt?: InputMaybe<Scalars["String"]>;
1402
+ exchange_gte?: InputMaybe<Scalars["String"]>;
1403
+ exchange_in?: InputMaybe<Array<Scalars["String"]>>;
1404
+ exchange_lt?: InputMaybe<Scalars["String"]>;
1405
+ exchange_lte?: InputMaybe<Scalars["String"]>;
1406
+ exchange_not?: InputMaybe<Scalars["String"]>;
1407
+ exchange_not_contains?: InputMaybe<Scalars["String"]>;
1408
+ exchange_not_contains_nocase?: InputMaybe<Scalars["String"]>;
1409
+ exchange_not_ends_with?: InputMaybe<Scalars["String"]>;
1410
+ exchange_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1411
+ exchange_not_in?: InputMaybe<Array<Scalars["String"]>>;
1412
+ exchange_not_starts_with?: InputMaybe<Scalars["String"]>;
1413
+ exchange_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1414
+ exchange_starts_with?: InputMaybe<Scalars["String"]>;
1415
+ exchange_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1416
+ executedBy?: InputMaybe<Scalars["Bytes"]>;
1417
+ executedBy_contains?: InputMaybe<Scalars["Bytes"]>;
1418
+ executedBy_in?: InputMaybe<Array<Scalars["Bytes"]>>;
1419
+ executedBy_not?: InputMaybe<Scalars["Bytes"]>;
1420
+ executedBy_not_contains?: InputMaybe<Scalars["Bytes"]>;
1421
+ executedBy_not_in?: InputMaybe<Array<Scalars["Bytes"]>>;
1422
+ hash?: InputMaybe<Scalars["String"]>;
1423
+ hash_contains?: InputMaybe<Scalars["String"]>;
1424
+ hash_contains_nocase?: InputMaybe<Scalars["String"]>;
1425
+ hash_ends_with?: InputMaybe<Scalars["String"]>;
1426
+ hash_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1427
+ hash_gt?: InputMaybe<Scalars["String"]>;
1428
+ hash_gte?: InputMaybe<Scalars["String"]>;
1429
+ hash_in?: InputMaybe<Array<Scalars["String"]>>;
1430
+ hash_lt?: InputMaybe<Scalars["String"]>;
1431
+ hash_lte?: InputMaybe<Scalars["String"]>;
1432
+ hash_not?: InputMaybe<Scalars["String"]>;
1433
+ hash_not_contains?: InputMaybe<Scalars["String"]>;
1434
+ hash_not_contains_nocase?: InputMaybe<Scalars["String"]>;
1435
+ hash_not_ends_with?: InputMaybe<Scalars["String"]>;
1436
+ hash_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1437
+ hash_not_in?: InputMaybe<Array<Scalars["String"]>>;
1438
+ hash_not_starts_with?: InputMaybe<Scalars["String"]>;
1439
+ hash_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1440
+ hash_starts_with?: InputMaybe<Scalars["String"]>;
1441
+ hash_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1442
+ id?: InputMaybe<Scalars["ID"]>;
1443
+ id_gt?: InputMaybe<Scalars["ID"]>;
1444
+ id_gte?: InputMaybe<Scalars["ID"]>;
1445
+ id_in?: InputMaybe<Array<Scalars["ID"]>>;
1446
+ id_lt?: InputMaybe<Scalars["ID"]>;
1447
+ id_lte?: InputMaybe<Scalars["ID"]>;
1448
+ id_not?: InputMaybe<Scalars["ID"]>;
1449
+ id_not_in?: InputMaybe<Array<Scalars["ID"]>>;
1450
+ timestamp?: InputMaybe<Scalars["BigInt"]>;
1451
+ timestamp_gt?: InputMaybe<Scalars["BigInt"]>;
1452
+ timestamp_gte?: InputMaybe<Scalars["BigInt"]>;
1453
+ timestamp_in?: InputMaybe<Array<Scalars["BigInt"]>>;
1454
+ timestamp_lt?: InputMaybe<Scalars["BigInt"]>;
1455
+ timestamp_lte?: InputMaybe<Scalars["BigInt"]>;
1456
+ timestamp_not?: InputMaybe<Scalars["BigInt"]>;
1457
+ timestamp_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
1458
+ type?: InputMaybe<EventType>;
1459
+ type_in?: InputMaybe<Array<EventType>>;
1460
+ type_not?: InputMaybe<EventType>;
1461
+ type_not_in?: InputMaybe<Array<EventType>>;
1462
+ };
1463
+
1464
+ export enum ExchangeEventLog_OrderBy {
1465
+ Account = "account",
1466
+ Exchange = "exchange",
1467
+ ExecutedBy = "executedBy",
1468
+ Hash = "hash",
1469
+ Id = "id",
1470
+ Timestamp = "timestamp",
1471
+ Type = "type"
1472
+ }
1473
+
948
1474
  /**
949
1475
  * Exchange and Voucher
950
1476
  *
@@ -1118,6 +1644,26 @@ export type Exchange_Filter = {
1118
1644
  completedDate_not?: InputMaybe<Scalars["BigInt"]>;
1119
1645
  completedDate_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
1120
1646
  dispute?: InputMaybe<Scalars["String"]>;
1647
+ disputeResolver?: InputMaybe<Scalars["String"]>;
1648
+ disputeResolver_contains?: InputMaybe<Scalars["String"]>;
1649
+ disputeResolver_contains_nocase?: InputMaybe<Scalars["String"]>;
1650
+ disputeResolver_ends_with?: InputMaybe<Scalars["String"]>;
1651
+ disputeResolver_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1652
+ disputeResolver_gt?: InputMaybe<Scalars["String"]>;
1653
+ disputeResolver_gte?: InputMaybe<Scalars["String"]>;
1654
+ disputeResolver_in?: InputMaybe<Array<Scalars["String"]>>;
1655
+ disputeResolver_lt?: InputMaybe<Scalars["String"]>;
1656
+ disputeResolver_lte?: InputMaybe<Scalars["String"]>;
1657
+ disputeResolver_not?: InputMaybe<Scalars["String"]>;
1658
+ disputeResolver_not_contains?: InputMaybe<Scalars["String"]>;
1659
+ disputeResolver_not_contains_nocase?: InputMaybe<Scalars["String"]>;
1660
+ disputeResolver_not_ends_with?: InputMaybe<Scalars["String"]>;
1661
+ disputeResolver_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1662
+ disputeResolver_not_in?: InputMaybe<Array<Scalars["String"]>>;
1663
+ disputeResolver_not_starts_with?: InputMaybe<Scalars["String"]>;
1664
+ disputeResolver_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1665
+ disputeResolver_starts_with?: InputMaybe<Scalars["String"]>;
1666
+ disputeResolver_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1121
1667
  dispute_contains?: InputMaybe<Scalars["String"]>;
1122
1668
  dispute_contains_nocase?: InputMaybe<Scalars["String"]>;
1123
1669
  dispute_ends_with?: InputMaybe<Scalars["String"]>;
@@ -1245,6 +1791,7 @@ export enum Exchange_OrderBy {
1245
1791
  CommittedDate = "committedDate",
1246
1792
  CompletedDate = "completedDate",
1247
1793
  Dispute = "dispute",
1794
+ DisputeResolver = "disputeResolver",
1248
1795
  Disputed = "disputed",
1249
1796
  DisputedDate = "disputedDate",
1250
1797
  Expired = "expired",
@@ -1354,6 +1901,116 @@ export enum FundsEntity_OrderBy {
1354
1901
  TokenAddress = "tokenAddress"
1355
1902
  }
1356
1903
 
1904
+ export type FundsEventLog = EventLog & {
1905
+ __typename?: "FundsEventLog";
1906
+ account: Account;
1907
+ executedBy: Scalars["Bytes"];
1908
+ funds: FundsEntity;
1909
+ hash: Scalars["String"];
1910
+ id: Scalars["ID"];
1911
+ timestamp: Scalars["BigInt"];
1912
+ type: EventType;
1913
+ };
1914
+
1915
+ export type FundsEventLog_Filter = {
1916
+ account?: InputMaybe<Scalars["String"]>;
1917
+ account_contains?: InputMaybe<Scalars["String"]>;
1918
+ account_contains_nocase?: InputMaybe<Scalars["String"]>;
1919
+ account_ends_with?: InputMaybe<Scalars["String"]>;
1920
+ account_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1921
+ account_gt?: InputMaybe<Scalars["String"]>;
1922
+ account_gte?: InputMaybe<Scalars["String"]>;
1923
+ account_in?: InputMaybe<Array<Scalars["String"]>>;
1924
+ account_lt?: InputMaybe<Scalars["String"]>;
1925
+ account_lte?: InputMaybe<Scalars["String"]>;
1926
+ account_not?: InputMaybe<Scalars["String"]>;
1927
+ account_not_contains?: InputMaybe<Scalars["String"]>;
1928
+ account_not_contains_nocase?: InputMaybe<Scalars["String"]>;
1929
+ account_not_ends_with?: InputMaybe<Scalars["String"]>;
1930
+ account_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1931
+ account_not_in?: InputMaybe<Array<Scalars["String"]>>;
1932
+ account_not_starts_with?: InputMaybe<Scalars["String"]>;
1933
+ account_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1934
+ account_starts_with?: InputMaybe<Scalars["String"]>;
1935
+ account_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1936
+ executedBy?: InputMaybe<Scalars["Bytes"]>;
1937
+ executedBy_contains?: InputMaybe<Scalars["Bytes"]>;
1938
+ executedBy_in?: InputMaybe<Array<Scalars["Bytes"]>>;
1939
+ executedBy_not?: InputMaybe<Scalars["Bytes"]>;
1940
+ executedBy_not_contains?: InputMaybe<Scalars["Bytes"]>;
1941
+ executedBy_not_in?: InputMaybe<Array<Scalars["Bytes"]>>;
1942
+ funds?: InputMaybe<Scalars["String"]>;
1943
+ funds_contains?: InputMaybe<Scalars["String"]>;
1944
+ funds_contains_nocase?: InputMaybe<Scalars["String"]>;
1945
+ funds_ends_with?: InputMaybe<Scalars["String"]>;
1946
+ funds_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1947
+ funds_gt?: InputMaybe<Scalars["String"]>;
1948
+ funds_gte?: InputMaybe<Scalars["String"]>;
1949
+ funds_in?: InputMaybe<Array<Scalars["String"]>>;
1950
+ funds_lt?: InputMaybe<Scalars["String"]>;
1951
+ funds_lte?: InputMaybe<Scalars["String"]>;
1952
+ funds_not?: InputMaybe<Scalars["String"]>;
1953
+ funds_not_contains?: InputMaybe<Scalars["String"]>;
1954
+ funds_not_contains_nocase?: InputMaybe<Scalars["String"]>;
1955
+ funds_not_ends_with?: InputMaybe<Scalars["String"]>;
1956
+ funds_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1957
+ funds_not_in?: InputMaybe<Array<Scalars["String"]>>;
1958
+ funds_not_starts_with?: InputMaybe<Scalars["String"]>;
1959
+ funds_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1960
+ funds_starts_with?: InputMaybe<Scalars["String"]>;
1961
+ funds_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1962
+ hash?: InputMaybe<Scalars["String"]>;
1963
+ hash_contains?: InputMaybe<Scalars["String"]>;
1964
+ hash_contains_nocase?: InputMaybe<Scalars["String"]>;
1965
+ hash_ends_with?: InputMaybe<Scalars["String"]>;
1966
+ hash_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1967
+ hash_gt?: InputMaybe<Scalars["String"]>;
1968
+ hash_gte?: InputMaybe<Scalars["String"]>;
1969
+ hash_in?: InputMaybe<Array<Scalars["String"]>>;
1970
+ hash_lt?: InputMaybe<Scalars["String"]>;
1971
+ hash_lte?: InputMaybe<Scalars["String"]>;
1972
+ hash_not?: InputMaybe<Scalars["String"]>;
1973
+ hash_not_contains?: InputMaybe<Scalars["String"]>;
1974
+ hash_not_contains_nocase?: InputMaybe<Scalars["String"]>;
1975
+ hash_not_ends_with?: InputMaybe<Scalars["String"]>;
1976
+ hash_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
1977
+ hash_not_in?: InputMaybe<Array<Scalars["String"]>>;
1978
+ hash_not_starts_with?: InputMaybe<Scalars["String"]>;
1979
+ hash_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1980
+ hash_starts_with?: InputMaybe<Scalars["String"]>;
1981
+ hash_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1982
+ id?: InputMaybe<Scalars["ID"]>;
1983
+ id_gt?: InputMaybe<Scalars["ID"]>;
1984
+ id_gte?: InputMaybe<Scalars["ID"]>;
1985
+ id_in?: InputMaybe<Array<Scalars["ID"]>>;
1986
+ id_lt?: InputMaybe<Scalars["ID"]>;
1987
+ id_lte?: InputMaybe<Scalars["ID"]>;
1988
+ id_not?: InputMaybe<Scalars["ID"]>;
1989
+ id_not_in?: InputMaybe<Array<Scalars["ID"]>>;
1990
+ timestamp?: InputMaybe<Scalars["BigInt"]>;
1991
+ timestamp_gt?: InputMaybe<Scalars["BigInt"]>;
1992
+ timestamp_gte?: InputMaybe<Scalars["BigInt"]>;
1993
+ timestamp_in?: InputMaybe<Array<Scalars["BigInt"]>>;
1994
+ timestamp_lt?: InputMaybe<Scalars["BigInt"]>;
1995
+ timestamp_lte?: InputMaybe<Scalars["BigInt"]>;
1996
+ timestamp_not?: InputMaybe<Scalars["BigInt"]>;
1997
+ timestamp_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
1998
+ type?: InputMaybe<EventType>;
1999
+ type_in?: InputMaybe<Array<EventType>>;
2000
+ type_not?: InputMaybe<EventType>;
2001
+ type_not_in?: InputMaybe<Array<EventType>>;
2002
+ };
2003
+
2004
+ export enum FundsEventLog_OrderBy {
2005
+ Account = "account",
2006
+ ExecutedBy = "executedBy",
2007
+ Funds = "funds",
2008
+ Hash = "hash",
2009
+ Id = "id",
2010
+ Timestamp = "timestamp",
2011
+ Type = "type"
2012
+ }
2013
+
1357
2014
  export type MetadataAttribute = {
1358
2015
  __typename?: "MetadataAttribute";
1359
2016
  displayType: Scalars["String"];
@@ -1457,6 +2114,8 @@ export type MetadataInterface = {
1457
2114
  id: Scalars["ID"];
1458
2115
  image: Scalars["String"];
1459
2116
  name: Scalars["String"];
2117
+ numberOfCommits: Scalars["BigInt"];
2118
+ numberOfRedemptions: Scalars["BigInt"];
1460
2119
  /**
1461
2120
  * References to entities
1462
2121
  *
@@ -1602,6 +2261,22 @@ export type MetadataInterface_Filter = {
1602
2261
  name_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1603
2262
  name_starts_with?: InputMaybe<Scalars["String"]>;
1604
2263
  name_starts_with_nocase?: InputMaybe<Scalars["String"]>;
2264
+ numberOfCommits?: InputMaybe<Scalars["BigInt"]>;
2265
+ numberOfCommits_gt?: InputMaybe<Scalars["BigInt"]>;
2266
+ numberOfCommits_gte?: InputMaybe<Scalars["BigInt"]>;
2267
+ numberOfCommits_in?: InputMaybe<Array<Scalars["BigInt"]>>;
2268
+ numberOfCommits_lt?: InputMaybe<Scalars["BigInt"]>;
2269
+ numberOfCommits_lte?: InputMaybe<Scalars["BigInt"]>;
2270
+ numberOfCommits_not?: InputMaybe<Scalars["BigInt"]>;
2271
+ numberOfCommits_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
2272
+ numberOfRedemptions?: InputMaybe<Scalars["BigInt"]>;
2273
+ numberOfRedemptions_gt?: InputMaybe<Scalars["BigInt"]>;
2274
+ numberOfRedemptions_gte?: InputMaybe<Scalars["BigInt"]>;
2275
+ numberOfRedemptions_in?: InputMaybe<Array<Scalars["BigInt"]>>;
2276
+ numberOfRedemptions_lt?: InputMaybe<Scalars["BigInt"]>;
2277
+ numberOfRedemptions_lte?: InputMaybe<Scalars["BigInt"]>;
2278
+ numberOfRedemptions_not?: InputMaybe<Scalars["BigInt"]>;
2279
+ numberOfRedemptions_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
1605
2280
  offer?: InputMaybe<Scalars["String"]>;
1606
2281
  offer_contains?: InputMaybe<Scalars["String"]>;
1607
2282
  offer_contains_nocase?: InputMaybe<Scalars["String"]>;
@@ -1705,6 +2380,8 @@ export enum MetadataInterface_OrderBy {
1705
2380
  Id = "id",
1706
2381
  Image = "image",
1707
2382
  Name = "name",
2383
+ NumberOfCommits = "numberOfCommits",
2384
+ NumberOfRedemptions = "numberOfRedemptions",
1708
2385
  Offer = "offer",
1709
2386
  QuantityAvailable = "quantityAvailable",
1710
2387
  SchemaUrl = "schemaUrl",
@@ -1741,6 +2418,9 @@ export type Offer = {
1741
2418
  metadata?: Maybe<MetadataInterface>;
1742
2419
  metadataHash: Scalars["String"];
1743
2420
  metadataUri: Scalars["String"];
2421
+ /** Stats */
2422
+ numberOfCommits: Scalars["BigInt"];
2423
+ numberOfRedemptions: Scalars["BigInt"];
1744
2424
  price: Scalars["BigInt"];
1745
2425
  protocolFee: Scalars["BigInt"];
1746
2426
  quantityAvailable: Scalars["BigInt"];
@@ -1771,6 +2451,116 @@ export type OfferExchangesArgs = {
1771
2451
  where?: InputMaybe<Exchange_Filter>;
1772
2452
  };
1773
2453
 
2454
+ export type OfferEventLog = EventLog & {
2455
+ __typename?: "OfferEventLog";
2456
+ account: Account;
2457
+ executedBy: Scalars["Bytes"];
2458
+ hash: Scalars["String"];
2459
+ id: Scalars["ID"];
2460
+ offer: Offer;
2461
+ timestamp: Scalars["BigInt"];
2462
+ type: EventType;
2463
+ };
2464
+
2465
+ export type OfferEventLog_Filter = {
2466
+ account?: InputMaybe<Scalars["String"]>;
2467
+ account_contains?: InputMaybe<Scalars["String"]>;
2468
+ account_contains_nocase?: InputMaybe<Scalars["String"]>;
2469
+ account_ends_with?: InputMaybe<Scalars["String"]>;
2470
+ account_ends_with_nocase?: InputMaybe<Scalars["String"]>;
2471
+ account_gt?: InputMaybe<Scalars["String"]>;
2472
+ account_gte?: InputMaybe<Scalars["String"]>;
2473
+ account_in?: InputMaybe<Array<Scalars["String"]>>;
2474
+ account_lt?: InputMaybe<Scalars["String"]>;
2475
+ account_lte?: InputMaybe<Scalars["String"]>;
2476
+ account_not?: InputMaybe<Scalars["String"]>;
2477
+ account_not_contains?: InputMaybe<Scalars["String"]>;
2478
+ account_not_contains_nocase?: InputMaybe<Scalars["String"]>;
2479
+ account_not_ends_with?: InputMaybe<Scalars["String"]>;
2480
+ account_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
2481
+ account_not_in?: InputMaybe<Array<Scalars["String"]>>;
2482
+ account_not_starts_with?: InputMaybe<Scalars["String"]>;
2483
+ account_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
2484
+ account_starts_with?: InputMaybe<Scalars["String"]>;
2485
+ account_starts_with_nocase?: InputMaybe<Scalars["String"]>;
2486
+ executedBy?: InputMaybe<Scalars["Bytes"]>;
2487
+ executedBy_contains?: InputMaybe<Scalars["Bytes"]>;
2488
+ executedBy_in?: InputMaybe<Array<Scalars["Bytes"]>>;
2489
+ executedBy_not?: InputMaybe<Scalars["Bytes"]>;
2490
+ executedBy_not_contains?: InputMaybe<Scalars["Bytes"]>;
2491
+ executedBy_not_in?: InputMaybe<Array<Scalars["Bytes"]>>;
2492
+ hash?: InputMaybe<Scalars["String"]>;
2493
+ hash_contains?: InputMaybe<Scalars["String"]>;
2494
+ hash_contains_nocase?: InputMaybe<Scalars["String"]>;
2495
+ hash_ends_with?: InputMaybe<Scalars["String"]>;
2496
+ hash_ends_with_nocase?: InputMaybe<Scalars["String"]>;
2497
+ hash_gt?: InputMaybe<Scalars["String"]>;
2498
+ hash_gte?: InputMaybe<Scalars["String"]>;
2499
+ hash_in?: InputMaybe<Array<Scalars["String"]>>;
2500
+ hash_lt?: InputMaybe<Scalars["String"]>;
2501
+ hash_lte?: InputMaybe<Scalars["String"]>;
2502
+ hash_not?: InputMaybe<Scalars["String"]>;
2503
+ hash_not_contains?: InputMaybe<Scalars["String"]>;
2504
+ hash_not_contains_nocase?: InputMaybe<Scalars["String"]>;
2505
+ hash_not_ends_with?: InputMaybe<Scalars["String"]>;
2506
+ hash_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
2507
+ hash_not_in?: InputMaybe<Array<Scalars["String"]>>;
2508
+ hash_not_starts_with?: InputMaybe<Scalars["String"]>;
2509
+ hash_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
2510
+ hash_starts_with?: InputMaybe<Scalars["String"]>;
2511
+ hash_starts_with_nocase?: InputMaybe<Scalars["String"]>;
2512
+ id?: InputMaybe<Scalars["ID"]>;
2513
+ id_gt?: InputMaybe<Scalars["ID"]>;
2514
+ id_gte?: InputMaybe<Scalars["ID"]>;
2515
+ id_in?: InputMaybe<Array<Scalars["ID"]>>;
2516
+ id_lt?: InputMaybe<Scalars["ID"]>;
2517
+ id_lte?: InputMaybe<Scalars["ID"]>;
2518
+ id_not?: InputMaybe<Scalars["ID"]>;
2519
+ id_not_in?: InputMaybe<Array<Scalars["ID"]>>;
2520
+ offer?: InputMaybe<Scalars["String"]>;
2521
+ offer_contains?: InputMaybe<Scalars["String"]>;
2522
+ offer_contains_nocase?: InputMaybe<Scalars["String"]>;
2523
+ offer_ends_with?: InputMaybe<Scalars["String"]>;
2524
+ offer_ends_with_nocase?: InputMaybe<Scalars["String"]>;
2525
+ offer_gt?: InputMaybe<Scalars["String"]>;
2526
+ offer_gte?: InputMaybe<Scalars["String"]>;
2527
+ offer_in?: InputMaybe<Array<Scalars["String"]>>;
2528
+ offer_lt?: InputMaybe<Scalars["String"]>;
2529
+ offer_lte?: InputMaybe<Scalars["String"]>;
2530
+ offer_not?: InputMaybe<Scalars["String"]>;
2531
+ offer_not_contains?: InputMaybe<Scalars["String"]>;
2532
+ offer_not_contains_nocase?: InputMaybe<Scalars["String"]>;
2533
+ offer_not_ends_with?: InputMaybe<Scalars["String"]>;
2534
+ offer_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
2535
+ offer_not_in?: InputMaybe<Array<Scalars["String"]>>;
2536
+ offer_not_starts_with?: InputMaybe<Scalars["String"]>;
2537
+ offer_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
2538
+ offer_starts_with?: InputMaybe<Scalars["String"]>;
2539
+ offer_starts_with_nocase?: InputMaybe<Scalars["String"]>;
2540
+ timestamp?: InputMaybe<Scalars["BigInt"]>;
2541
+ timestamp_gt?: InputMaybe<Scalars["BigInt"]>;
2542
+ timestamp_gte?: InputMaybe<Scalars["BigInt"]>;
2543
+ timestamp_in?: InputMaybe<Array<Scalars["BigInt"]>>;
2544
+ timestamp_lt?: InputMaybe<Scalars["BigInt"]>;
2545
+ timestamp_lte?: InputMaybe<Scalars["BigInt"]>;
2546
+ timestamp_not?: InputMaybe<Scalars["BigInt"]>;
2547
+ timestamp_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
2548
+ type?: InputMaybe<EventType>;
2549
+ type_in?: InputMaybe<Array<EventType>>;
2550
+ type_not?: InputMaybe<EventType>;
2551
+ type_not_in?: InputMaybe<Array<EventType>>;
2552
+ };
2553
+
2554
+ export enum OfferEventLog_OrderBy {
2555
+ Account = "account",
2556
+ ExecutedBy = "executedBy",
2557
+ Hash = "hash",
2558
+ Id = "id",
2559
+ Offer = "offer",
2560
+ Timestamp = "timestamp",
2561
+ Type = "type"
2562
+ }
2563
+
1774
2564
  export type Offer_Filter = {
1775
2565
  agentFee?: InputMaybe<Scalars["BigInt"]>;
1776
2566
  agentFee_gt?: InputMaybe<Scalars["BigInt"]>;
@@ -1948,6 +2738,22 @@ export type Offer_Filter = {
1948
2738
  metadata_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
1949
2739
  metadata_starts_with?: InputMaybe<Scalars["String"]>;
1950
2740
  metadata_starts_with_nocase?: InputMaybe<Scalars["String"]>;
2741
+ numberOfCommits?: InputMaybe<Scalars["BigInt"]>;
2742
+ numberOfCommits_gt?: InputMaybe<Scalars["BigInt"]>;
2743
+ numberOfCommits_gte?: InputMaybe<Scalars["BigInt"]>;
2744
+ numberOfCommits_in?: InputMaybe<Array<Scalars["BigInt"]>>;
2745
+ numberOfCommits_lt?: InputMaybe<Scalars["BigInt"]>;
2746
+ numberOfCommits_lte?: InputMaybe<Scalars["BigInt"]>;
2747
+ numberOfCommits_not?: InputMaybe<Scalars["BigInt"]>;
2748
+ numberOfCommits_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
2749
+ numberOfRedemptions?: InputMaybe<Scalars["BigInt"]>;
2750
+ numberOfRedemptions_gt?: InputMaybe<Scalars["BigInt"]>;
2751
+ numberOfRedemptions_gte?: InputMaybe<Scalars["BigInt"]>;
2752
+ numberOfRedemptions_in?: InputMaybe<Array<Scalars["BigInt"]>>;
2753
+ numberOfRedemptions_lt?: InputMaybe<Scalars["BigInt"]>;
2754
+ numberOfRedemptions_lte?: InputMaybe<Scalars["BigInt"]>;
2755
+ numberOfRedemptions_not?: InputMaybe<Scalars["BigInt"]>;
2756
+ numberOfRedemptions_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
1951
2757
  price?: InputMaybe<Scalars["BigInt"]>;
1952
2758
  price_gt?: InputMaybe<Scalars["BigInt"]>;
1953
2759
  price_gte?: InputMaybe<Scalars["BigInt"]>;
@@ -2093,6 +2899,8 @@ export enum Offer_OrderBy {
2093
2899
  Metadata = "metadata",
2094
2900
  MetadataHash = "metadataHash",
2095
2901
  MetadataUri = "metadataUri",
2902
+ NumberOfCommits = "numberOfCommits",
2903
+ NumberOfRedemptions = "numberOfRedemptions",
2096
2904
  Price = "price",
2097
2905
  ProtocolFee = "protocolFee",
2098
2906
  QuantityAvailable = "quantityAvailable",
@@ -2400,6 +3208,8 @@ export type ProductV1MetadataEntity = MetadataInterface & {
2400
3208
  id: Scalars["ID"];
2401
3209
  image: Scalars["String"];
2402
3210
  name: Scalars["String"];
3211
+ numberOfCommits: Scalars["BigInt"];
3212
+ numberOfRedemptions: Scalars["BigInt"];
2403
3213
  /**
2404
3214
  * References to entities
2405
3215
  *
@@ -2584,6 +3394,22 @@ export type ProductV1MetadataEntity_Filter = {
2584
3394
  name_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
2585
3395
  name_starts_with?: InputMaybe<Scalars["String"]>;
2586
3396
  name_starts_with_nocase?: InputMaybe<Scalars["String"]>;
3397
+ numberOfCommits?: InputMaybe<Scalars["BigInt"]>;
3398
+ numberOfCommits_gt?: InputMaybe<Scalars["BigInt"]>;
3399
+ numberOfCommits_gte?: InputMaybe<Scalars["BigInt"]>;
3400
+ numberOfCommits_in?: InputMaybe<Array<Scalars["BigInt"]>>;
3401
+ numberOfCommits_lt?: InputMaybe<Scalars["BigInt"]>;
3402
+ numberOfCommits_lte?: InputMaybe<Scalars["BigInt"]>;
3403
+ numberOfCommits_not?: InputMaybe<Scalars["BigInt"]>;
3404
+ numberOfCommits_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
3405
+ numberOfRedemptions?: InputMaybe<Scalars["BigInt"]>;
3406
+ numberOfRedemptions_gt?: InputMaybe<Scalars["BigInt"]>;
3407
+ numberOfRedemptions_gte?: InputMaybe<Scalars["BigInt"]>;
3408
+ numberOfRedemptions_in?: InputMaybe<Array<Scalars["BigInt"]>>;
3409
+ numberOfRedemptions_lt?: InputMaybe<Scalars["BigInt"]>;
3410
+ numberOfRedemptions_lte?: InputMaybe<Scalars["BigInt"]>;
3411
+ numberOfRedemptions_not?: InputMaybe<Scalars["BigInt"]>;
3412
+ numberOfRedemptions_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
2587
3413
  offer?: InputMaybe<Scalars["String"]>;
2588
3414
  offer_contains?: InputMaybe<Scalars["String"]>;
2589
3415
  offer_contains_nocase?: InputMaybe<Scalars["String"]>;
@@ -2794,6 +3620,8 @@ export enum ProductV1MetadataEntity_OrderBy {
2794
3620
  Id = "id",
2795
3621
  Image = "image",
2796
3622
  Name = "name",
3623
+ NumberOfCommits = "numberOfCommits",
3624
+ NumberOfRedemptions = "numberOfRedemptions",
2797
3625
  Offer = "offer",
2798
3626
  Product = "product",
2799
3627
  ProductOverrides = "productOverrides",
@@ -4857,12 +5685,16 @@ export type Query = {
4857
5685
  /** Access to subgraph metadata */
4858
5686
  _meta?: Maybe<_Meta_>;
4859
5687
  account?: Maybe<Account>;
5688
+ accountEventLog?: Maybe<AccountEventLog>;
5689
+ accountEventLogs: Array<AccountEventLog>;
4860
5690
  accounts: Array<Account>;
4861
5691
  baseMetadataEntities: Array<BaseMetadataEntity>;
4862
5692
  baseMetadataEntity?: Maybe<BaseMetadataEntity>;
4863
5693
  buyer?: Maybe<Buyer>;
4864
5694
  buyers: Array<Buyer>;
4865
5695
  dispute?: Maybe<Dispute>;
5696
+ disputeEventLog?: Maybe<DisputeEventLog>;
5697
+ disputeEventLogs: Array<DisputeEventLog>;
4866
5698
  disputeResolutionTermsEntities: Array<DisputeResolutionTermsEntity>;
4867
5699
  disputeResolutionTermsEntity?: Maybe<DisputeResolutionTermsEntity>;
4868
5700
  disputeResolver?: Maybe<DisputeResolver>;
@@ -4870,17 +5702,25 @@ export type Query = {
4870
5702
  disputeResolverFees: Array<DisputeResolverFee>;
4871
5703
  disputeResolvers: Array<DisputeResolver>;
4872
5704
  disputes: Array<Dispute>;
5705
+ eventLog?: Maybe<EventLog>;
5706
+ eventLogs: Array<EventLog>;
4873
5707
  exchange?: Maybe<Exchange>;
5708
+ exchangeEventLog?: Maybe<ExchangeEventLog>;
5709
+ exchangeEventLogs: Array<ExchangeEventLog>;
4874
5710
  exchangeToken?: Maybe<ExchangeToken>;
4875
5711
  exchangeTokens: Array<ExchangeToken>;
4876
5712
  exchanges: Array<Exchange>;
4877
5713
  fundsEntities: Array<FundsEntity>;
4878
5714
  fundsEntity?: Maybe<FundsEntity>;
5715
+ fundsEventLog?: Maybe<FundsEventLog>;
5716
+ fundsEventLogs: Array<FundsEventLog>;
4879
5717
  metadataAttribute?: Maybe<MetadataAttribute>;
4880
5718
  metadataAttributes: Array<MetadataAttribute>;
4881
5719
  metadataInterface?: Maybe<MetadataInterface>;
4882
5720
  metadataInterfaces: Array<MetadataInterface>;
4883
5721
  offer?: Maybe<Offer>;
5722
+ offerEventLog?: Maybe<OfferEventLog>;
5723
+ offerEventLogs: Array<OfferEventLog>;
4884
5724
  offers: Array<Offer>;
4885
5725
  productV1Brand?: Maybe<ProductV1Brand>;
4886
5726
  productV1Brands: Array<ProductV1Brand>;
@@ -4925,6 +5765,22 @@ export type QueryAccountArgs = {
4925
5765
  subgraphError?: _SubgraphErrorPolicy_;
4926
5766
  };
4927
5767
 
5768
+ export type QueryAccountEventLogArgs = {
5769
+ block?: InputMaybe<Block_Height>;
5770
+ id: Scalars["ID"];
5771
+ subgraphError?: _SubgraphErrorPolicy_;
5772
+ };
5773
+
5774
+ export type QueryAccountEventLogsArgs = {
5775
+ block?: InputMaybe<Block_Height>;
5776
+ first?: InputMaybe<Scalars["Int"]>;
5777
+ orderBy?: InputMaybe<AccountEventLog_OrderBy>;
5778
+ orderDirection?: InputMaybe<OrderDirection>;
5779
+ skip?: InputMaybe<Scalars["Int"]>;
5780
+ subgraphError?: _SubgraphErrorPolicy_;
5781
+ where?: InputMaybe<AccountEventLog_Filter>;
5782
+ };
5783
+
4928
5784
  export type QueryAccountsArgs = {
4929
5785
  block?: InputMaybe<Block_Height>;
4930
5786
  first?: InputMaybe<Scalars["Int"]>;
@@ -4973,6 +5829,22 @@ export type QueryDisputeArgs = {
4973
5829
  subgraphError?: _SubgraphErrorPolicy_;
4974
5830
  };
4975
5831
 
5832
+ export type QueryDisputeEventLogArgs = {
5833
+ block?: InputMaybe<Block_Height>;
5834
+ id: Scalars["ID"];
5835
+ subgraphError?: _SubgraphErrorPolicy_;
5836
+ };
5837
+
5838
+ export type QueryDisputeEventLogsArgs = {
5839
+ block?: InputMaybe<Block_Height>;
5840
+ first?: InputMaybe<Scalars["Int"]>;
5841
+ orderBy?: InputMaybe<DisputeEventLog_OrderBy>;
5842
+ orderDirection?: InputMaybe<OrderDirection>;
5843
+ skip?: InputMaybe<Scalars["Int"]>;
5844
+ subgraphError?: _SubgraphErrorPolicy_;
5845
+ where?: InputMaybe<DisputeEventLog_Filter>;
5846
+ };
5847
+
4976
5848
  export type QueryDisputeResolutionTermsEntitiesArgs = {
4977
5849
  block?: InputMaybe<Block_Height>;
4978
5850
  first?: InputMaybe<Scalars["Int"]>;
@@ -5031,12 +5903,44 @@ export type QueryDisputesArgs = {
5031
5903
  where?: InputMaybe<Dispute_Filter>;
5032
5904
  };
5033
5905
 
5906
+ export type QueryEventLogArgs = {
5907
+ block?: InputMaybe<Block_Height>;
5908
+ id: Scalars["ID"];
5909
+ subgraphError?: _SubgraphErrorPolicy_;
5910
+ };
5911
+
5912
+ export type QueryEventLogsArgs = {
5913
+ block?: InputMaybe<Block_Height>;
5914
+ first?: InputMaybe<Scalars["Int"]>;
5915
+ orderBy?: InputMaybe<EventLog_OrderBy>;
5916
+ orderDirection?: InputMaybe<OrderDirection>;
5917
+ skip?: InputMaybe<Scalars["Int"]>;
5918
+ subgraphError?: _SubgraphErrorPolicy_;
5919
+ where?: InputMaybe<EventLog_Filter>;
5920
+ };
5921
+
5034
5922
  export type QueryExchangeArgs = {
5035
5923
  block?: InputMaybe<Block_Height>;
5036
5924
  id: Scalars["ID"];
5037
5925
  subgraphError?: _SubgraphErrorPolicy_;
5038
5926
  };
5039
5927
 
5928
+ export type QueryExchangeEventLogArgs = {
5929
+ block?: InputMaybe<Block_Height>;
5930
+ id: Scalars["ID"];
5931
+ subgraphError?: _SubgraphErrorPolicy_;
5932
+ };
5933
+
5934
+ export type QueryExchangeEventLogsArgs = {
5935
+ block?: InputMaybe<Block_Height>;
5936
+ first?: InputMaybe<Scalars["Int"]>;
5937
+ orderBy?: InputMaybe<ExchangeEventLog_OrderBy>;
5938
+ orderDirection?: InputMaybe<OrderDirection>;
5939
+ skip?: InputMaybe<Scalars["Int"]>;
5940
+ subgraphError?: _SubgraphErrorPolicy_;
5941
+ where?: InputMaybe<ExchangeEventLog_Filter>;
5942
+ };
5943
+
5040
5944
  export type QueryExchangeTokenArgs = {
5041
5945
  block?: InputMaybe<Block_Height>;
5042
5946
  id: Scalars["ID"];
@@ -5079,6 +5983,22 @@ export type QueryFundsEntityArgs = {
5079
5983
  subgraphError?: _SubgraphErrorPolicy_;
5080
5984
  };
5081
5985
 
5986
+ export type QueryFundsEventLogArgs = {
5987
+ block?: InputMaybe<Block_Height>;
5988
+ id: Scalars["ID"];
5989
+ subgraphError?: _SubgraphErrorPolicy_;
5990
+ };
5991
+
5992
+ export type QueryFundsEventLogsArgs = {
5993
+ block?: InputMaybe<Block_Height>;
5994
+ first?: InputMaybe<Scalars["Int"]>;
5995
+ orderBy?: InputMaybe<FundsEventLog_OrderBy>;
5996
+ orderDirection?: InputMaybe<OrderDirection>;
5997
+ skip?: InputMaybe<Scalars["Int"]>;
5998
+ subgraphError?: _SubgraphErrorPolicy_;
5999
+ where?: InputMaybe<FundsEventLog_Filter>;
6000
+ };
6001
+
5082
6002
  export type QueryMetadataAttributeArgs = {
5083
6003
  block?: InputMaybe<Block_Height>;
5084
6004
  id: Scalars["ID"];
@@ -5117,6 +6037,22 @@ export type QueryOfferArgs = {
5117
6037
  subgraphError?: _SubgraphErrorPolicy_;
5118
6038
  };
5119
6039
 
6040
+ export type QueryOfferEventLogArgs = {
6041
+ block?: InputMaybe<Block_Height>;
6042
+ id: Scalars["ID"];
6043
+ subgraphError?: _SubgraphErrorPolicy_;
6044
+ };
6045
+
6046
+ export type QueryOfferEventLogsArgs = {
6047
+ block?: InputMaybe<Block_Height>;
6048
+ first?: InputMaybe<Scalars["Int"]>;
6049
+ orderBy?: InputMaybe<OfferEventLog_OrderBy>;
6050
+ orderDirection?: InputMaybe<OrderDirection>;
6051
+ skip?: InputMaybe<Scalars["Int"]>;
6052
+ subgraphError?: _SubgraphErrorPolicy_;
6053
+ where?: InputMaybe<OfferEventLog_Filter>;
6054
+ };
6055
+
5120
6056
  export type QueryOffersArgs = {
5121
6057
  block?: InputMaybe<Block_Height>;
5122
6058
  first?: InputMaybe<Scalars["Int"]>;
@@ -5387,6 +6323,7 @@ export type Seller = Account & {
5387
6323
  exchanges: Array<Exchange>;
5388
6324
  funds: Array<FundsEntity>;
5389
6325
  id: Scalars["ID"];
6326
+ logs: Array<EventLog>;
5390
6327
  offers: Array<Offer>;
5391
6328
  operator: Scalars["Bytes"];
5392
6329
  sellerId: Scalars["BigInt"];
@@ -5410,6 +6347,14 @@ export type SellerFundsArgs = {
5410
6347
  where?: InputMaybe<FundsEntity_Filter>;
5411
6348
  };
5412
6349
 
6350
+ export type SellerLogsArgs = {
6351
+ first?: InputMaybe<Scalars["Int"]>;
6352
+ orderBy?: InputMaybe<EventLog_OrderBy>;
6353
+ orderDirection?: InputMaybe<OrderDirection>;
6354
+ skip?: InputMaybe<Scalars["Int"]>;
6355
+ where?: InputMaybe<EventLog_Filter>;
6356
+ };
6357
+
5413
6358
  export type SellerOffersArgs = {
5414
6359
  first?: InputMaybe<Scalars["Int"]>;
5415
6360
  orderBy?: InputMaybe<Offer_OrderBy>;
@@ -5496,6 +6441,7 @@ export enum Seller_OrderBy {
5496
6441
  Exchanges = "exchanges",
5497
6442
  Funds = "funds",
5498
6443
  Id = "id",
6444
+ Logs = "logs",
5499
6445
  Offers = "offers",
5500
6446
  Operator = "operator",
5501
6447
  SellerId = "sellerId",
@@ -5508,12 +6454,16 @@ export type Subscription = {
5508
6454
  /** Access to subgraph metadata */
5509
6455
  _meta?: Maybe<_Meta_>;
5510
6456
  account?: Maybe<Account>;
6457
+ accountEventLog?: Maybe<AccountEventLog>;
6458
+ accountEventLogs: Array<AccountEventLog>;
5511
6459
  accounts: Array<Account>;
5512
6460
  baseMetadataEntities: Array<BaseMetadataEntity>;
5513
6461
  baseMetadataEntity?: Maybe<BaseMetadataEntity>;
5514
6462
  buyer?: Maybe<Buyer>;
5515
6463
  buyers: Array<Buyer>;
5516
6464
  dispute?: Maybe<Dispute>;
6465
+ disputeEventLog?: Maybe<DisputeEventLog>;
6466
+ disputeEventLogs: Array<DisputeEventLog>;
5517
6467
  disputeResolutionTermsEntities: Array<DisputeResolutionTermsEntity>;
5518
6468
  disputeResolutionTermsEntity?: Maybe<DisputeResolutionTermsEntity>;
5519
6469
  disputeResolver?: Maybe<DisputeResolver>;
@@ -5521,17 +6471,25 @@ export type Subscription = {
5521
6471
  disputeResolverFees: Array<DisputeResolverFee>;
5522
6472
  disputeResolvers: Array<DisputeResolver>;
5523
6473
  disputes: Array<Dispute>;
6474
+ eventLog?: Maybe<EventLog>;
6475
+ eventLogs: Array<EventLog>;
5524
6476
  exchange?: Maybe<Exchange>;
6477
+ exchangeEventLog?: Maybe<ExchangeEventLog>;
6478
+ exchangeEventLogs: Array<ExchangeEventLog>;
5525
6479
  exchangeToken?: Maybe<ExchangeToken>;
5526
6480
  exchangeTokens: Array<ExchangeToken>;
5527
6481
  exchanges: Array<Exchange>;
5528
6482
  fundsEntities: Array<FundsEntity>;
5529
6483
  fundsEntity?: Maybe<FundsEntity>;
6484
+ fundsEventLog?: Maybe<FundsEventLog>;
6485
+ fundsEventLogs: Array<FundsEventLog>;
5530
6486
  metadataAttribute?: Maybe<MetadataAttribute>;
5531
6487
  metadataAttributes: Array<MetadataAttribute>;
5532
6488
  metadataInterface?: Maybe<MetadataInterface>;
5533
6489
  metadataInterfaces: Array<MetadataInterface>;
5534
6490
  offer?: Maybe<Offer>;
6491
+ offerEventLog?: Maybe<OfferEventLog>;
6492
+ offerEventLogs: Array<OfferEventLog>;
5535
6493
  offers: Array<Offer>;
5536
6494
  productV1Brand?: Maybe<ProductV1Brand>;
5537
6495
  productV1Brands: Array<ProductV1Brand>;
@@ -5576,6 +6534,22 @@ export type SubscriptionAccountArgs = {
5576
6534
  subgraphError?: _SubgraphErrorPolicy_;
5577
6535
  };
5578
6536
 
6537
+ export type SubscriptionAccountEventLogArgs = {
6538
+ block?: InputMaybe<Block_Height>;
6539
+ id: Scalars["ID"];
6540
+ subgraphError?: _SubgraphErrorPolicy_;
6541
+ };
6542
+
6543
+ export type SubscriptionAccountEventLogsArgs = {
6544
+ block?: InputMaybe<Block_Height>;
6545
+ first?: InputMaybe<Scalars["Int"]>;
6546
+ orderBy?: InputMaybe<AccountEventLog_OrderBy>;
6547
+ orderDirection?: InputMaybe<OrderDirection>;
6548
+ skip?: InputMaybe<Scalars["Int"]>;
6549
+ subgraphError?: _SubgraphErrorPolicy_;
6550
+ where?: InputMaybe<AccountEventLog_Filter>;
6551
+ };
6552
+
5579
6553
  export type SubscriptionAccountsArgs = {
5580
6554
  block?: InputMaybe<Block_Height>;
5581
6555
  first?: InputMaybe<Scalars["Int"]>;
@@ -5624,6 +6598,22 @@ export type SubscriptionDisputeArgs = {
5624
6598
  subgraphError?: _SubgraphErrorPolicy_;
5625
6599
  };
5626
6600
 
6601
+ export type SubscriptionDisputeEventLogArgs = {
6602
+ block?: InputMaybe<Block_Height>;
6603
+ id: Scalars["ID"];
6604
+ subgraphError?: _SubgraphErrorPolicy_;
6605
+ };
6606
+
6607
+ export type SubscriptionDisputeEventLogsArgs = {
6608
+ block?: InputMaybe<Block_Height>;
6609
+ first?: InputMaybe<Scalars["Int"]>;
6610
+ orderBy?: InputMaybe<DisputeEventLog_OrderBy>;
6611
+ orderDirection?: InputMaybe<OrderDirection>;
6612
+ skip?: InputMaybe<Scalars["Int"]>;
6613
+ subgraphError?: _SubgraphErrorPolicy_;
6614
+ where?: InputMaybe<DisputeEventLog_Filter>;
6615
+ };
6616
+
5627
6617
  export type SubscriptionDisputeResolutionTermsEntitiesArgs = {
5628
6618
  block?: InputMaybe<Block_Height>;
5629
6619
  first?: InputMaybe<Scalars["Int"]>;
@@ -5682,12 +6672,44 @@ export type SubscriptionDisputesArgs = {
5682
6672
  where?: InputMaybe<Dispute_Filter>;
5683
6673
  };
5684
6674
 
6675
+ export type SubscriptionEventLogArgs = {
6676
+ block?: InputMaybe<Block_Height>;
6677
+ id: Scalars["ID"];
6678
+ subgraphError?: _SubgraphErrorPolicy_;
6679
+ };
6680
+
6681
+ export type SubscriptionEventLogsArgs = {
6682
+ block?: InputMaybe<Block_Height>;
6683
+ first?: InputMaybe<Scalars["Int"]>;
6684
+ orderBy?: InputMaybe<EventLog_OrderBy>;
6685
+ orderDirection?: InputMaybe<OrderDirection>;
6686
+ skip?: InputMaybe<Scalars["Int"]>;
6687
+ subgraphError?: _SubgraphErrorPolicy_;
6688
+ where?: InputMaybe<EventLog_Filter>;
6689
+ };
6690
+
5685
6691
  export type SubscriptionExchangeArgs = {
5686
6692
  block?: InputMaybe<Block_Height>;
5687
6693
  id: Scalars["ID"];
5688
6694
  subgraphError?: _SubgraphErrorPolicy_;
5689
6695
  };
5690
6696
 
6697
+ export type SubscriptionExchangeEventLogArgs = {
6698
+ block?: InputMaybe<Block_Height>;
6699
+ id: Scalars["ID"];
6700
+ subgraphError?: _SubgraphErrorPolicy_;
6701
+ };
6702
+
6703
+ export type SubscriptionExchangeEventLogsArgs = {
6704
+ block?: InputMaybe<Block_Height>;
6705
+ first?: InputMaybe<Scalars["Int"]>;
6706
+ orderBy?: InputMaybe<ExchangeEventLog_OrderBy>;
6707
+ orderDirection?: InputMaybe<OrderDirection>;
6708
+ skip?: InputMaybe<Scalars["Int"]>;
6709
+ subgraphError?: _SubgraphErrorPolicy_;
6710
+ where?: InputMaybe<ExchangeEventLog_Filter>;
6711
+ };
6712
+
5691
6713
  export type SubscriptionExchangeTokenArgs = {
5692
6714
  block?: InputMaybe<Block_Height>;
5693
6715
  id: Scalars["ID"];
@@ -5730,6 +6752,22 @@ export type SubscriptionFundsEntityArgs = {
5730
6752
  subgraphError?: _SubgraphErrorPolicy_;
5731
6753
  };
5732
6754
 
6755
+ export type SubscriptionFundsEventLogArgs = {
6756
+ block?: InputMaybe<Block_Height>;
6757
+ id: Scalars["ID"];
6758
+ subgraphError?: _SubgraphErrorPolicy_;
6759
+ };
6760
+
6761
+ export type SubscriptionFundsEventLogsArgs = {
6762
+ block?: InputMaybe<Block_Height>;
6763
+ first?: InputMaybe<Scalars["Int"]>;
6764
+ orderBy?: InputMaybe<FundsEventLog_OrderBy>;
6765
+ orderDirection?: InputMaybe<OrderDirection>;
6766
+ skip?: InputMaybe<Scalars["Int"]>;
6767
+ subgraphError?: _SubgraphErrorPolicy_;
6768
+ where?: InputMaybe<FundsEventLog_Filter>;
6769
+ };
6770
+
5733
6771
  export type SubscriptionMetadataAttributeArgs = {
5734
6772
  block?: InputMaybe<Block_Height>;
5735
6773
  id: Scalars["ID"];
@@ -5768,6 +6806,22 @@ export type SubscriptionOfferArgs = {
5768
6806
  subgraphError?: _SubgraphErrorPolicy_;
5769
6807
  };
5770
6808
 
6809
+ export type SubscriptionOfferEventLogArgs = {
6810
+ block?: InputMaybe<Block_Height>;
6811
+ id: Scalars["ID"];
6812
+ subgraphError?: _SubgraphErrorPolicy_;
6813
+ };
6814
+
6815
+ export type SubscriptionOfferEventLogsArgs = {
6816
+ block?: InputMaybe<Block_Height>;
6817
+ first?: InputMaybe<Scalars["Int"]>;
6818
+ orderBy?: InputMaybe<OfferEventLog_OrderBy>;
6819
+ orderDirection?: InputMaybe<OrderDirection>;
6820
+ skip?: InputMaybe<Scalars["Int"]>;
6821
+ subgraphError?: _SubgraphErrorPolicy_;
6822
+ where?: InputMaybe<OfferEventLog_Filter>;
6823
+ };
6824
+
5771
6825
  export type SubscriptionOffersArgs = {
5772
6826
  block?: InputMaybe<Block_Height>;
5773
6827
  first?: InputMaybe<Scalars["Int"]>;
@@ -6077,9 +7131,15 @@ export type GetSellerByIdQueryQueryVariables = Exact<{
6077
7131
  exchangesOrderBy?: InputMaybe<Exchange_OrderBy>;
6078
7132
  exchangesOrderDirection?: InputMaybe<OrderDirection>;
6079
7133
  exchangesFilter?: InputMaybe<Exchange_Filter>;
7134
+ logsSkip?: InputMaybe<Scalars["Int"]>;
7135
+ logsFirst?: InputMaybe<Scalars["Int"]>;
7136
+ logsOrderBy?: InputMaybe<EventLog_OrderBy>;
7137
+ logsOrderDirection?: InputMaybe<OrderDirection>;
7138
+ logsFilter?: InputMaybe<EventLog_Filter>;
6080
7139
  includeExchanges?: InputMaybe<Scalars["Boolean"]>;
6081
7140
  includeOffers?: InputMaybe<Scalars["Boolean"]>;
6082
7141
  includeFunds?: InputMaybe<Scalars["Boolean"]>;
7142
+ includeLogs?: InputMaybe<Scalars["Boolean"]>;
6083
7143
  }>;
6084
7144
 
6085
7145
  export type GetSellerByIdQueryQuery = {
@@ -6130,8 +7190,11 @@ export type GetSellerByIdQueryQuery = {
6130
7190
  resolutionPeriodDuration: string;
6131
7191
  metadataUri: string;
6132
7192
  metadataHash: string;
7193
+ voided: boolean;
6133
7194
  voidedAt?: string | null;
6134
7195
  disputeResolverId: string;
7196
+ numberOfCommits: string;
7197
+ numberOfRedemptions: string;
6135
7198
  seller: {
6136
7199
  __typename?: "Seller";
6137
7200
  id: string;
@@ -6374,7 +7437,106 @@ export type GetSellerByIdQueryQuery = {
6374
7437
  completedDate?: string | null;
6375
7438
  disputedDate?: string | null;
6376
7439
  expired: boolean;
7440
+ dispute?: {
7441
+ __typename?: "Dispute";
7442
+ id: string;
7443
+ exchangeId: string;
7444
+ state: DisputeState;
7445
+ buyerPercent: string;
7446
+ disputedDate: string;
7447
+ escalatedDate?: string | null;
7448
+ finalizedDate?: string | null;
7449
+ retractedDate?: string | null;
7450
+ resolvedDate?: string | null;
7451
+ decidedDate?: string | null;
7452
+ refusedDate?: string | null;
7453
+ timeout: string;
7454
+ } | null;
7455
+ buyer: {
7456
+ __typename?: "Buyer";
7457
+ id: string;
7458
+ wallet: string;
7459
+ active: boolean;
7460
+ };
7461
+ seller: {
7462
+ __typename?: "Seller";
7463
+ id: string;
7464
+ operator: string;
7465
+ admin: string;
7466
+ clerk: string;
7467
+ treasury: string;
7468
+ authTokenId: string;
7469
+ authTokenType: number;
7470
+ voucherCloneAddress: string;
7471
+ active: boolean;
7472
+ };
6377
7473
  }>;
7474
+ logs?: Array<
7475
+ | {
7476
+ __typename?: "AccountEventLog";
7477
+ id: string;
7478
+ hash: string;
7479
+ type: EventType;
7480
+ timestamp: string;
7481
+ executedBy: string;
7482
+ account:
7483
+ | { __typename?: "Buyer"; id: string }
7484
+ | { __typename?: "DisputeResolver"; id: string }
7485
+ | { __typename?: "Seller"; id: string };
7486
+ }
7487
+ | {
7488
+ __typename?: "DisputeEventLog";
7489
+ id: string;
7490
+ hash: string;
7491
+ type: EventType;
7492
+ timestamp: string;
7493
+ executedBy: string;
7494
+ dispute: { __typename?: "Dispute"; id: string };
7495
+ account:
7496
+ | { __typename?: "Buyer"; id: string }
7497
+ | { __typename?: "DisputeResolver"; id: string }
7498
+ | { __typename?: "Seller"; id: string };
7499
+ }
7500
+ | {
7501
+ __typename?: "ExchangeEventLog";
7502
+ id: string;
7503
+ hash: string;
7504
+ type: EventType;
7505
+ timestamp: string;
7506
+ executedBy: string;
7507
+ exchange: { __typename?: "Exchange"; id: string };
7508
+ account:
7509
+ | { __typename?: "Buyer"; id: string }
7510
+ | { __typename?: "DisputeResolver"; id: string }
7511
+ | { __typename?: "Seller"; id: string };
7512
+ }
7513
+ | {
7514
+ __typename?: "FundsEventLog";
7515
+ id: string;
7516
+ hash: string;
7517
+ type: EventType;
7518
+ timestamp: string;
7519
+ executedBy: string;
7520
+ funds: { __typename?: "FundsEntity"; id: string };
7521
+ account:
7522
+ | { __typename?: "Buyer"; id: string }
7523
+ | { __typename?: "DisputeResolver"; id: string }
7524
+ | { __typename?: "Seller"; id: string };
7525
+ }
7526
+ | {
7527
+ __typename?: "OfferEventLog";
7528
+ id: string;
7529
+ hash: string;
7530
+ type: EventType;
7531
+ timestamp: string;
7532
+ executedBy: string;
7533
+ offer: { __typename?: "Offer"; id: string };
7534
+ account:
7535
+ | { __typename?: "Buyer"; id: string }
7536
+ | { __typename?: "DisputeResolver"; id: string }
7537
+ | { __typename?: "Seller"; id: string };
7538
+ }
7539
+ >;
6378
7540
  } | null;
6379
7541
  };
6380
7542
 
@@ -6399,9 +7561,15 @@ export type GetSellersQueryQueryVariables = Exact<{
6399
7561
  exchangesOrderBy?: InputMaybe<Exchange_OrderBy>;
6400
7562
  exchangesOrderDirection?: InputMaybe<OrderDirection>;
6401
7563
  exchangesFilter?: InputMaybe<Exchange_Filter>;
7564
+ logsSkip?: InputMaybe<Scalars["Int"]>;
7565
+ logsFirst?: InputMaybe<Scalars["Int"]>;
7566
+ logsOrderBy?: InputMaybe<EventLog_OrderBy>;
7567
+ logsOrderDirection?: InputMaybe<OrderDirection>;
7568
+ logsFilter?: InputMaybe<EventLog_Filter>;
6402
7569
  includeExchanges?: InputMaybe<Scalars["Boolean"]>;
6403
7570
  includeOffers?: InputMaybe<Scalars["Boolean"]>;
6404
7571
  includeFunds?: InputMaybe<Scalars["Boolean"]>;
7572
+ includeLogs?: InputMaybe<Scalars["Boolean"]>;
6405
7573
  }>;
6406
7574
 
6407
7575
  export type GetSellersQueryQuery = {
@@ -6452,8 +7620,11 @@ export type GetSellersQueryQuery = {
6452
7620
  resolutionPeriodDuration: string;
6453
7621
  metadataUri: string;
6454
7622
  metadataHash: string;
7623
+ voided: boolean;
6455
7624
  voidedAt?: string | null;
6456
7625
  disputeResolverId: string;
7626
+ numberOfCommits: string;
7627
+ numberOfRedemptions: string;
6457
7628
  seller: {
6458
7629
  __typename?: "Seller";
6459
7630
  id: string;
@@ -6696,7 +7867,106 @@ export type GetSellersQueryQuery = {
6696
7867
  completedDate?: string | null;
6697
7868
  disputedDate?: string | null;
6698
7869
  expired: boolean;
7870
+ dispute?: {
7871
+ __typename?: "Dispute";
7872
+ id: string;
7873
+ exchangeId: string;
7874
+ state: DisputeState;
7875
+ buyerPercent: string;
7876
+ disputedDate: string;
7877
+ escalatedDate?: string | null;
7878
+ finalizedDate?: string | null;
7879
+ retractedDate?: string | null;
7880
+ resolvedDate?: string | null;
7881
+ decidedDate?: string | null;
7882
+ refusedDate?: string | null;
7883
+ timeout: string;
7884
+ } | null;
7885
+ buyer: {
7886
+ __typename?: "Buyer";
7887
+ id: string;
7888
+ wallet: string;
7889
+ active: boolean;
7890
+ };
7891
+ seller: {
7892
+ __typename?: "Seller";
7893
+ id: string;
7894
+ operator: string;
7895
+ admin: string;
7896
+ clerk: string;
7897
+ treasury: string;
7898
+ authTokenId: string;
7899
+ authTokenType: number;
7900
+ voucherCloneAddress: string;
7901
+ active: boolean;
7902
+ };
6699
7903
  }>;
7904
+ logs?: Array<
7905
+ | {
7906
+ __typename?: "AccountEventLog";
7907
+ id: string;
7908
+ hash: string;
7909
+ type: EventType;
7910
+ timestamp: string;
7911
+ executedBy: string;
7912
+ account:
7913
+ | { __typename?: "Buyer"; id: string }
7914
+ | { __typename?: "DisputeResolver"; id: string }
7915
+ | { __typename?: "Seller"; id: string };
7916
+ }
7917
+ | {
7918
+ __typename?: "DisputeEventLog";
7919
+ id: string;
7920
+ hash: string;
7921
+ type: EventType;
7922
+ timestamp: string;
7923
+ executedBy: string;
7924
+ dispute: { __typename?: "Dispute"; id: string };
7925
+ account:
7926
+ | { __typename?: "Buyer"; id: string }
7927
+ | { __typename?: "DisputeResolver"; id: string }
7928
+ | { __typename?: "Seller"; id: string };
7929
+ }
7930
+ | {
7931
+ __typename?: "ExchangeEventLog";
7932
+ id: string;
7933
+ hash: string;
7934
+ type: EventType;
7935
+ timestamp: string;
7936
+ executedBy: string;
7937
+ exchange: { __typename?: "Exchange"; id: string };
7938
+ account:
7939
+ | { __typename?: "Buyer"; id: string }
7940
+ | { __typename?: "DisputeResolver"; id: string }
7941
+ | { __typename?: "Seller"; id: string };
7942
+ }
7943
+ | {
7944
+ __typename?: "FundsEventLog";
7945
+ id: string;
7946
+ hash: string;
7947
+ type: EventType;
7948
+ timestamp: string;
7949
+ executedBy: string;
7950
+ funds: { __typename?: "FundsEntity"; id: string };
7951
+ account:
7952
+ | { __typename?: "Buyer"; id: string }
7953
+ | { __typename?: "DisputeResolver"; id: string }
7954
+ | { __typename?: "Seller"; id: string };
7955
+ }
7956
+ | {
7957
+ __typename?: "OfferEventLog";
7958
+ id: string;
7959
+ hash: string;
7960
+ type: EventType;
7961
+ timestamp: string;
7962
+ executedBy: string;
7963
+ offer: { __typename?: "Offer"; id: string };
7964
+ account:
7965
+ | { __typename?: "Buyer"; id: string }
7966
+ | { __typename?: "DisputeResolver"; id: string }
7967
+ | { __typename?: "Seller"; id: string };
7968
+ }
7969
+ >;
6700
7970
  }>;
6701
7971
  };
6702
7972
 
@@ -6712,8 +7982,14 @@ export type GetBuyerByIdQueryQueryVariables = Exact<{
6712
7982
  exchangesOrderBy?: InputMaybe<Exchange_OrderBy>;
6713
7983
  exchangesOrderDirection?: InputMaybe<OrderDirection>;
6714
7984
  exchangesFilter?: InputMaybe<Exchange_Filter>;
7985
+ logsSkip?: InputMaybe<Scalars["Int"]>;
7986
+ logsFirst?: InputMaybe<Scalars["Int"]>;
7987
+ logsOrderBy?: InputMaybe<EventLog_OrderBy>;
7988
+ logsOrderDirection?: InputMaybe<OrderDirection>;
7989
+ logsFilter?: InputMaybe<EventLog_Filter>;
6715
7990
  includeExchanges?: InputMaybe<Scalars["Boolean"]>;
6716
7991
  includeFunds?: InputMaybe<Scalars["Boolean"]>;
7992
+ includeLogs?: InputMaybe<Scalars["Boolean"]>;
6717
7993
  }>;
6718
7994
 
6719
7995
  export type GetBuyerByIdQueryQuery = {
@@ -6751,7 +8027,106 @@ export type GetBuyerByIdQueryQuery = {
6751
8027
  completedDate?: string | null;
6752
8028
  disputedDate?: string | null;
6753
8029
  expired: boolean;
8030
+ dispute?: {
8031
+ __typename?: "Dispute";
8032
+ id: string;
8033
+ exchangeId: string;
8034
+ state: DisputeState;
8035
+ buyerPercent: string;
8036
+ disputedDate: string;
8037
+ escalatedDate?: string | null;
8038
+ finalizedDate?: string | null;
8039
+ retractedDate?: string | null;
8040
+ resolvedDate?: string | null;
8041
+ decidedDate?: string | null;
8042
+ refusedDate?: string | null;
8043
+ timeout: string;
8044
+ } | null;
8045
+ buyer: {
8046
+ __typename?: "Buyer";
8047
+ id: string;
8048
+ wallet: string;
8049
+ active: boolean;
8050
+ };
8051
+ seller: {
8052
+ __typename?: "Seller";
8053
+ id: string;
8054
+ operator: string;
8055
+ admin: string;
8056
+ clerk: string;
8057
+ treasury: string;
8058
+ authTokenId: string;
8059
+ authTokenType: number;
8060
+ voucherCloneAddress: string;
8061
+ active: boolean;
8062
+ };
6754
8063
  }>;
8064
+ logs?: Array<
8065
+ | {
8066
+ __typename?: "AccountEventLog";
8067
+ id: string;
8068
+ hash: string;
8069
+ type: EventType;
8070
+ timestamp: string;
8071
+ executedBy: string;
8072
+ account:
8073
+ | { __typename?: "Buyer"; id: string }
8074
+ | { __typename?: "DisputeResolver"; id: string }
8075
+ | { __typename?: "Seller"; id: string };
8076
+ }
8077
+ | {
8078
+ __typename?: "DisputeEventLog";
8079
+ id: string;
8080
+ hash: string;
8081
+ type: EventType;
8082
+ timestamp: string;
8083
+ executedBy: string;
8084
+ dispute: { __typename?: "Dispute"; id: string };
8085
+ account:
8086
+ | { __typename?: "Buyer"; id: string }
8087
+ | { __typename?: "DisputeResolver"; id: string }
8088
+ | { __typename?: "Seller"; id: string };
8089
+ }
8090
+ | {
8091
+ __typename?: "ExchangeEventLog";
8092
+ id: string;
8093
+ hash: string;
8094
+ type: EventType;
8095
+ timestamp: string;
8096
+ executedBy: string;
8097
+ exchange: { __typename?: "Exchange"; id: string };
8098
+ account:
8099
+ | { __typename?: "Buyer"; id: string }
8100
+ | { __typename?: "DisputeResolver"; id: string }
8101
+ | { __typename?: "Seller"; id: string };
8102
+ }
8103
+ | {
8104
+ __typename?: "FundsEventLog";
8105
+ id: string;
8106
+ hash: string;
8107
+ type: EventType;
8108
+ timestamp: string;
8109
+ executedBy: string;
8110
+ funds: { __typename?: "FundsEntity"; id: string };
8111
+ account:
8112
+ | { __typename?: "Buyer"; id: string }
8113
+ | { __typename?: "DisputeResolver"; id: string }
8114
+ | { __typename?: "Seller"; id: string };
8115
+ }
8116
+ | {
8117
+ __typename?: "OfferEventLog";
8118
+ id: string;
8119
+ hash: string;
8120
+ type: EventType;
8121
+ timestamp: string;
8122
+ executedBy: string;
8123
+ offer: { __typename?: "Offer"; id: string };
8124
+ account:
8125
+ | { __typename?: "Buyer"; id: string }
8126
+ | { __typename?: "DisputeResolver"; id: string }
8127
+ | { __typename?: "Seller"; id: string };
8128
+ }
8129
+ >;
6755
8130
  } | null;
6756
8131
  };
6757
8132
 
@@ -6776,9 +8151,15 @@ export type GetBuyersQueryQueryVariables = Exact<{
6776
8151
  exchangesOrderBy?: InputMaybe<Exchange_OrderBy>;
6777
8152
  exchangesOrderDirection?: InputMaybe<OrderDirection>;
6778
8153
  exchangesFilter?: InputMaybe<Exchange_Filter>;
8154
+ logsSkip?: InputMaybe<Scalars["Int"]>;
8155
+ logsFirst?: InputMaybe<Scalars["Int"]>;
8156
+ logsOrderBy?: InputMaybe<EventLog_OrderBy>;
8157
+ logsOrderDirection?: InputMaybe<OrderDirection>;
8158
+ logsFilter?: InputMaybe<EventLog_Filter>;
6779
8159
  includeExchanges?: InputMaybe<Scalars["Boolean"]>;
6780
8160
  includeOffers?: InputMaybe<Scalars["Boolean"]>;
6781
8161
  includeFunds?: InputMaybe<Scalars["Boolean"]>;
8162
+ includeLogs?: InputMaybe<Scalars["Boolean"]>;
6782
8163
  }>;
6783
8164
 
6784
8165
  export type GetBuyersQueryQuery = {
@@ -6816,7 +8197,106 @@ export type GetBuyersQueryQuery = {
6816
8197
  completedDate?: string | null;
6817
8198
  disputedDate?: string | null;
6818
8199
  expired: boolean;
8200
+ dispute?: {
8201
+ __typename?: "Dispute";
8202
+ id: string;
8203
+ exchangeId: string;
8204
+ state: DisputeState;
8205
+ buyerPercent: string;
8206
+ disputedDate: string;
8207
+ escalatedDate?: string | null;
8208
+ finalizedDate?: string | null;
8209
+ retractedDate?: string | null;
8210
+ resolvedDate?: string | null;
8211
+ decidedDate?: string | null;
8212
+ refusedDate?: string | null;
8213
+ timeout: string;
8214
+ } | null;
8215
+ buyer: {
8216
+ __typename?: "Buyer";
8217
+ id: string;
8218
+ wallet: string;
8219
+ active: boolean;
8220
+ };
8221
+ seller: {
8222
+ __typename?: "Seller";
8223
+ id: string;
8224
+ operator: string;
8225
+ admin: string;
8226
+ clerk: string;
8227
+ treasury: string;
8228
+ authTokenId: string;
8229
+ authTokenType: number;
8230
+ voucherCloneAddress: string;
8231
+ active: boolean;
8232
+ };
6819
8233
  }>;
8234
+ logs?: Array<
8235
+ | {
8236
+ __typename?: "AccountEventLog";
8237
+ id: string;
8238
+ hash: string;
8239
+ type: EventType;
8240
+ timestamp: string;
8241
+ executedBy: string;
8242
+ account:
8243
+ | { __typename?: "Buyer"; id: string }
8244
+ | { __typename?: "DisputeResolver"; id: string }
8245
+ | { __typename?: "Seller"; id: string };
8246
+ }
8247
+ | {
8248
+ __typename?: "DisputeEventLog";
8249
+ id: string;
8250
+ hash: string;
8251
+ type: EventType;
8252
+ timestamp: string;
8253
+ executedBy: string;
8254
+ dispute: { __typename?: "Dispute"; id: string };
8255
+ account:
8256
+ | { __typename?: "Buyer"; id: string }
8257
+ | { __typename?: "DisputeResolver"; id: string }
8258
+ | { __typename?: "Seller"; id: string };
8259
+ }
8260
+ | {
8261
+ __typename?: "ExchangeEventLog";
8262
+ id: string;
8263
+ hash: string;
8264
+ type: EventType;
8265
+ timestamp: string;
8266
+ executedBy: string;
8267
+ exchange: { __typename?: "Exchange"; id: string };
8268
+ account:
8269
+ | { __typename?: "Buyer"; id: string }
8270
+ | { __typename?: "DisputeResolver"; id: string }
8271
+ | { __typename?: "Seller"; id: string };
8272
+ }
8273
+ | {
8274
+ __typename?: "FundsEventLog";
8275
+ id: string;
8276
+ hash: string;
8277
+ type: EventType;
8278
+ timestamp: string;
8279
+ executedBy: string;
8280
+ funds: { __typename?: "FundsEntity"; id: string };
8281
+ account:
8282
+ | { __typename?: "Buyer"; id: string }
8283
+ | { __typename?: "DisputeResolver"; id: string }
8284
+ | { __typename?: "Seller"; id: string };
8285
+ }
8286
+ | {
8287
+ __typename?: "OfferEventLog";
8288
+ id: string;
8289
+ hash: string;
8290
+ type: EventType;
8291
+ timestamp: string;
8292
+ executedBy: string;
8293
+ offer: { __typename?: "Offer"; id: string };
8294
+ account:
8295
+ | { __typename?: "Buyer"; id: string }
8296
+ | { __typename?: "DisputeResolver"; id: string }
8297
+ | { __typename?: "Seller"; id: string };
8298
+ }
8299
+ >;
6820
8300
  }>;
6821
8301
  };
6822
8302
 
@@ -6827,7 +8307,13 @@ export type GetDisputeResolverByIdQueryQueryVariables = Exact<{
6827
8307
  offersOrderBy?: InputMaybe<Offer_OrderBy>;
6828
8308
  offersOrderDirection?: InputMaybe<OrderDirection>;
6829
8309
  offersFilter?: InputMaybe<Offer_Filter>;
8310
+ logsSkip?: InputMaybe<Scalars["Int"]>;
8311
+ logsFirst?: InputMaybe<Scalars["Int"]>;
8312
+ logsOrderBy?: InputMaybe<EventLog_OrderBy>;
8313
+ logsOrderDirection?: InputMaybe<OrderDirection>;
8314
+ logsFilter?: InputMaybe<EventLog_Filter>;
6830
8315
  includeOffers?: InputMaybe<Scalars["Boolean"]>;
8316
+ includeLogs?: InputMaybe<Scalars["Boolean"]>;
6831
8317
  }>;
6832
8318
 
6833
8319
  export type GetDisputeResolverByIdQueryQuery = {
@@ -6864,8 +8350,11 @@ export type GetDisputeResolverByIdQueryQuery = {
6864
8350
  resolutionPeriodDuration: string;
6865
8351
  metadataUri: string;
6866
8352
  metadataHash: string;
8353
+ voided: boolean;
6867
8354
  voidedAt?: string | null;
6868
8355
  disputeResolverId: string;
8356
+ numberOfCommits: string;
8357
+ numberOfRedemptions: string;
6869
8358
  seller: {
6870
8359
  __typename?: "Seller";
6871
8360
  id: string;
@@ -7094,6 +8583,72 @@ export type GetDisputeResolverByIdQueryQuery = {
7094
8583
  }
7095
8584
  | null;
7096
8585
  }>;
8586
+ logs?: Array<
8587
+ | {
8588
+ __typename?: "AccountEventLog";
8589
+ id: string;
8590
+ hash: string;
8591
+ type: EventType;
8592
+ timestamp: string;
8593
+ executedBy: string;
8594
+ account:
8595
+ | { __typename?: "Buyer"; id: string }
8596
+ | { __typename?: "DisputeResolver"; id: string }
8597
+ | { __typename?: "Seller"; id: string };
8598
+ }
8599
+ | {
8600
+ __typename?: "DisputeEventLog";
8601
+ id: string;
8602
+ hash: string;
8603
+ type: EventType;
8604
+ timestamp: string;
8605
+ executedBy: string;
8606
+ dispute: { __typename?: "Dispute"; id: string };
8607
+ account:
8608
+ | { __typename?: "Buyer"; id: string }
8609
+ | { __typename?: "DisputeResolver"; id: string }
8610
+ | { __typename?: "Seller"; id: string };
8611
+ }
8612
+ | {
8613
+ __typename?: "ExchangeEventLog";
8614
+ id: string;
8615
+ hash: string;
8616
+ type: EventType;
8617
+ timestamp: string;
8618
+ executedBy: string;
8619
+ exchange: { __typename?: "Exchange"; id: string };
8620
+ account:
8621
+ | { __typename?: "Buyer"; id: string }
8622
+ | { __typename?: "DisputeResolver"; id: string }
8623
+ | { __typename?: "Seller"; id: string };
8624
+ }
8625
+ | {
8626
+ __typename?: "FundsEventLog";
8627
+ id: string;
8628
+ hash: string;
8629
+ type: EventType;
8630
+ timestamp: string;
8631
+ executedBy: string;
8632
+ funds: { __typename?: "FundsEntity"; id: string };
8633
+ account:
8634
+ | { __typename?: "Buyer"; id: string }
8635
+ | { __typename?: "DisputeResolver"; id: string }
8636
+ | { __typename?: "Seller"; id: string };
8637
+ }
8638
+ | {
8639
+ __typename?: "OfferEventLog";
8640
+ id: string;
8641
+ hash: string;
8642
+ type: EventType;
8643
+ timestamp: string;
8644
+ executedBy: string;
8645
+ offer: { __typename?: "Offer"; id: string };
8646
+ account:
8647
+ | { __typename?: "Buyer"; id: string }
8648
+ | { __typename?: "DisputeResolver"; id: string }
8649
+ | { __typename?: "Seller"; id: string };
8650
+ }
8651
+ >;
7097
8652
  fees: Array<{
7098
8653
  __typename?: "DisputeResolverFee";
7099
8654
  id: string;
@@ -7123,7 +8678,13 @@ export type GetDisputeResolversQueryQueryVariables = Exact<{
7123
8678
  offersOrderBy?: InputMaybe<Offer_OrderBy>;
7124
8679
  offersOrderDirection?: InputMaybe<OrderDirection>;
7125
8680
  offersFilter?: InputMaybe<Offer_Filter>;
8681
+ logsSkip?: InputMaybe<Scalars["Int"]>;
8682
+ logsFirst?: InputMaybe<Scalars["Int"]>;
8683
+ logsOrderBy?: InputMaybe<EventLog_OrderBy>;
8684
+ logsOrderDirection?: InputMaybe<OrderDirection>;
8685
+ logsFilter?: InputMaybe<EventLog_Filter>;
7126
8686
  includeOffers?: InputMaybe<Scalars["Boolean"]>;
8687
+ includeLogs?: InputMaybe<Scalars["Boolean"]>;
7127
8688
  }>;
7128
8689
 
7129
8690
  export type GetDisputeResolversQueryQuery = {
@@ -7160,8 +8721,11 @@ export type GetDisputeResolversQueryQuery = {
7160
8721
  resolutionPeriodDuration: string;
7161
8722
  metadataUri: string;
7162
8723
  metadataHash: string;
8724
+ voided: boolean;
7163
8725
  voidedAt?: string | null;
7164
8726
  disputeResolverId: string;
8727
+ numberOfCommits: string;
8728
+ numberOfRedemptions: string;
7165
8729
  seller: {
7166
8730
  __typename?: "Seller";
7167
8731
  id: string;
@@ -7390,6 +8954,72 @@ export type GetDisputeResolversQueryQuery = {
7390
8954
  }
7391
8955
  | null;
7392
8956
  }>;
8957
+ logs?: Array<
8958
+ | {
8959
+ __typename?: "AccountEventLog";
8960
+ id: string;
8961
+ hash: string;
8962
+ type: EventType;
8963
+ timestamp: string;
8964
+ executedBy: string;
8965
+ account:
8966
+ | { __typename?: "Buyer"; id: string }
8967
+ | { __typename?: "DisputeResolver"; id: string }
8968
+ | { __typename?: "Seller"; id: string };
8969
+ }
8970
+ | {
8971
+ __typename?: "DisputeEventLog";
8972
+ id: string;
8973
+ hash: string;
8974
+ type: EventType;
8975
+ timestamp: string;
8976
+ executedBy: string;
8977
+ dispute: { __typename?: "Dispute"; id: string };
8978
+ account:
8979
+ | { __typename?: "Buyer"; id: string }
8980
+ | { __typename?: "DisputeResolver"; id: string }
8981
+ | { __typename?: "Seller"; id: string };
8982
+ }
8983
+ | {
8984
+ __typename?: "ExchangeEventLog";
8985
+ id: string;
8986
+ hash: string;
8987
+ type: EventType;
8988
+ timestamp: string;
8989
+ executedBy: string;
8990
+ exchange: { __typename?: "Exchange"; id: string };
8991
+ account:
8992
+ | { __typename?: "Buyer"; id: string }
8993
+ | { __typename?: "DisputeResolver"; id: string }
8994
+ | { __typename?: "Seller"; id: string };
8995
+ }
8996
+ | {
8997
+ __typename?: "FundsEventLog";
8998
+ id: string;
8999
+ hash: string;
9000
+ type: EventType;
9001
+ timestamp: string;
9002
+ executedBy: string;
9003
+ funds: { __typename?: "FundsEntity"; id: string };
9004
+ account:
9005
+ | { __typename?: "Buyer"; id: string }
9006
+ | { __typename?: "DisputeResolver"; id: string }
9007
+ | { __typename?: "Seller"; id: string };
9008
+ }
9009
+ | {
9010
+ __typename?: "OfferEventLog";
9011
+ id: string;
9012
+ hash: string;
9013
+ type: EventType;
9014
+ timestamp: string;
9015
+ executedBy: string;
9016
+ offer: { __typename?: "Offer"; id: string };
9017
+ account:
9018
+ | { __typename?: "Buyer"; id: string }
9019
+ | { __typename?: "DisputeResolver"; id: string }
9020
+ | { __typename?: "Seller"; id: string };
9021
+ }
9022
+ >;
7393
9023
  fees: Array<{
7394
9024
  __typename?: "DisputeResolverFee";
7395
9025
  id: string;
@@ -7454,8 +9084,11 @@ export type SellerFieldsFragment = {
7454
9084
  resolutionPeriodDuration: string;
7455
9085
  metadataUri: string;
7456
9086
  metadataHash: string;
9087
+ voided: boolean;
7457
9088
  voidedAt?: string | null;
7458
9089
  disputeResolverId: string;
9090
+ numberOfCommits: string;
9091
+ numberOfRedemptions: string;
7459
9092
  seller: {
7460
9093
  __typename?: "Seller";
7461
9094
  id: string;
@@ -7694,7 +9327,106 @@ export type SellerFieldsFragment = {
7694
9327
  completedDate?: string | null;
7695
9328
  disputedDate?: string | null;
7696
9329
  expired: boolean;
9330
+ dispute?: {
9331
+ __typename?: "Dispute";
9332
+ id: string;
9333
+ exchangeId: string;
9334
+ state: DisputeState;
9335
+ buyerPercent: string;
9336
+ disputedDate: string;
9337
+ escalatedDate?: string | null;
9338
+ finalizedDate?: string | null;
9339
+ retractedDate?: string | null;
9340
+ resolvedDate?: string | null;
9341
+ decidedDate?: string | null;
9342
+ refusedDate?: string | null;
9343
+ timeout: string;
9344
+ } | null;
9345
+ buyer: {
9346
+ __typename?: "Buyer";
9347
+ id: string;
9348
+ wallet: string;
9349
+ active: boolean;
9350
+ };
9351
+ seller: {
9352
+ __typename?: "Seller";
9353
+ id: string;
9354
+ operator: string;
9355
+ admin: string;
9356
+ clerk: string;
9357
+ treasury: string;
9358
+ authTokenId: string;
9359
+ authTokenType: number;
9360
+ voucherCloneAddress: string;
9361
+ active: boolean;
9362
+ };
7697
9363
  }>;
9364
+ logs?: Array<
9365
+ | {
9366
+ __typename?: "AccountEventLog";
9367
+ id: string;
9368
+ hash: string;
9369
+ type: EventType;
9370
+ timestamp: string;
9371
+ executedBy: string;
9372
+ account:
9373
+ | { __typename?: "Buyer"; id: string }
9374
+ | { __typename?: "DisputeResolver"; id: string }
9375
+ | { __typename?: "Seller"; id: string };
9376
+ }
9377
+ | {
9378
+ __typename?: "DisputeEventLog";
9379
+ id: string;
9380
+ hash: string;
9381
+ type: EventType;
9382
+ timestamp: string;
9383
+ executedBy: string;
9384
+ dispute: { __typename?: "Dispute"; id: string };
9385
+ account:
9386
+ | { __typename?: "Buyer"; id: string }
9387
+ | { __typename?: "DisputeResolver"; id: string }
9388
+ | { __typename?: "Seller"; id: string };
9389
+ }
9390
+ | {
9391
+ __typename?: "ExchangeEventLog";
9392
+ id: string;
9393
+ hash: string;
9394
+ type: EventType;
9395
+ timestamp: string;
9396
+ executedBy: string;
9397
+ exchange: { __typename?: "Exchange"; id: string };
9398
+ account:
9399
+ | { __typename?: "Buyer"; id: string }
9400
+ | { __typename?: "DisputeResolver"; id: string }
9401
+ | { __typename?: "Seller"; id: string };
9402
+ }
9403
+ | {
9404
+ __typename?: "FundsEventLog";
9405
+ id: string;
9406
+ hash: string;
9407
+ type: EventType;
9408
+ timestamp: string;
9409
+ executedBy: string;
9410
+ funds: { __typename?: "FundsEntity"; id: string };
9411
+ account:
9412
+ | { __typename?: "Buyer"; id: string }
9413
+ | { __typename?: "DisputeResolver"; id: string }
9414
+ | { __typename?: "Seller"; id: string };
9415
+ }
9416
+ | {
9417
+ __typename?: "OfferEventLog";
9418
+ id: string;
9419
+ hash: string;
9420
+ type: EventType;
9421
+ timestamp: string;
9422
+ executedBy: string;
9423
+ offer: { __typename?: "Offer"; id: string };
9424
+ account:
9425
+ | { __typename?: "Buyer"; id: string }
9426
+ | { __typename?: "DisputeResolver"; id: string }
9427
+ | { __typename?: "Seller"; id: string };
9428
+ }
9429
+ >;
7698
9430
  };
7699
9431
 
7700
9432
  export type BaseSellerFieldsFragment = {
@@ -7743,7 +9475,106 @@ export type BuyerFieldsFragment = {
7743
9475
  completedDate?: string | null;
7744
9476
  disputedDate?: string | null;
7745
9477
  expired: boolean;
9478
+ dispute?: {
9479
+ __typename?: "Dispute";
9480
+ id: string;
9481
+ exchangeId: string;
9482
+ state: DisputeState;
9483
+ buyerPercent: string;
9484
+ disputedDate: string;
9485
+ escalatedDate?: string | null;
9486
+ finalizedDate?: string | null;
9487
+ retractedDate?: string | null;
9488
+ resolvedDate?: string | null;
9489
+ decidedDate?: string | null;
9490
+ refusedDate?: string | null;
9491
+ timeout: string;
9492
+ } | null;
9493
+ buyer: {
9494
+ __typename?: "Buyer";
9495
+ id: string;
9496
+ wallet: string;
9497
+ active: boolean;
9498
+ };
9499
+ seller: {
9500
+ __typename?: "Seller";
9501
+ id: string;
9502
+ operator: string;
9503
+ admin: string;
9504
+ clerk: string;
9505
+ treasury: string;
9506
+ authTokenId: string;
9507
+ authTokenType: number;
9508
+ voucherCloneAddress: string;
9509
+ active: boolean;
9510
+ };
7746
9511
  }>;
9512
+ logs?: Array<
9513
+ | {
9514
+ __typename?: "AccountEventLog";
9515
+ id: string;
9516
+ hash: string;
9517
+ type: EventType;
9518
+ timestamp: string;
9519
+ executedBy: string;
9520
+ account:
9521
+ | { __typename?: "Buyer"; id: string }
9522
+ | { __typename?: "DisputeResolver"; id: string }
9523
+ | { __typename?: "Seller"; id: string };
9524
+ }
9525
+ | {
9526
+ __typename?: "DisputeEventLog";
9527
+ id: string;
9528
+ hash: string;
9529
+ type: EventType;
9530
+ timestamp: string;
9531
+ executedBy: string;
9532
+ dispute: { __typename?: "Dispute"; id: string };
9533
+ account:
9534
+ | { __typename?: "Buyer"; id: string }
9535
+ | { __typename?: "DisputeResolver"; id: string }
9536
+ | { __typename?: "Seller"; id: string };
9537
+ }
9538
+ | {
9539
+ __typename?: "ExchangeEventLog";
9540
+ id: string;
9541
+ hash: string;
9542
+ type: EventType;
9543
+ timestamp: string;
9544
+ executedBy: string;
9545
+ exchange: { __typename?: "Exchange"; id: string };
9546
+ account:
9547
+ | { __typename?: "Buyer"; id: string }
9548
+ | { __typename?: "DisputeResolver"; id: string }
9549
+ | { __typename?: "Seller"; id: string };
9550
+ }
9551
+ | {
9552
+ __typename?: "FundsEventLog";
9553
+ id: string;
9554
+ hash: string;
9555
+ type: EventType;
9556
+ timestamp: string;
9557
+ executedBy: string;
9558
+ funds: { __typename?: "FundsEntity"; id: string };
9559
+ account:
9560
+ | { __typename?: "Buyer"; id: string }
9561
+ | { __typename?: "DisputeResolver"; id: string }
9562
+ | { __typename?: "Seller"; id: string };
9563
+ }
9564
+ | {
9565
+ __typename?: "OfferEventLog";
9566
+ id: string;
9567
+ hash: string;
9568
+ type: EventType;
9569
+ timestamp: string;
9570
+ executedBy: string;
9571
+ offer: { __typename?: "Offer"; id: string };
9572
+ account:
9573
+ | { __typename?: "Buyer"; id: string }
9574
+ | { __typename?: "DisputeResolver"; id: string }
9575
+ | { __typename?: "Seller"; id: string };
9576
+ }
9577
+ >;
7747
9578
  };
7748
9579
 
7749
9580
  export type BaseBuyerFieldsFragment = {
@@ -7785,8 +9616,11 @@ export type DisputeResolverFieldsFragment = {
7785
9616
  resolutionPeriodDuration: string;
7786
9617
  metadataUri: string;
7787
9618
  metadataHash: string;
9619
+ voided: boolean;
7788
9620
  voidedAt?: string | null;
7789
9621
  disputeResolverId: string;
9622
+ numberOfCommits: string;
9623
+ numberOfRedemptions: string;
7790
9624
  seller: {
7791
9625
  __typename?: "Seller";
7792
9626
  id: string;
@@ -8011,6 +9845,72 @@ export type DisputeResolverFieldsFragment = {
8011
9845
  }
8012
9846
  | null;
8013
9847
  }>;
9848
+ logs?: Array<
9849
+ | {
9850
+ __typename?: "AccountEventLog";
9851
+ id: string;
9852
+ hash: string;
9853
+ type: EventType;
9854
+ timestamp: string;
9855
+ executedBy: string;
9856
+ account:
9857
+ | { __typename?: "Buyer"; id: string }
9858
+ | { __typename?: "DisputeResolver"; id: string }
9859
+ | { __typename?: "Seller"; id: string };
9860
+ }
9861
+ | {
9862
+ __typename?: "DisputeEventLog";
9863
+ id: string;
9864
+ hash: string;
9865
+ type: EventType;
9866
+ timestamp: string;
9867
+ executedBy: string;
9868
+ dispute: { __typename?: "Dispute"; id: string };
9869
+ account:
9870
+ | { __typename?: "Buyer"; id: string }
9871
+ | { __typename?: "DisputeResolver"; id: string }
9872
+ | { __typename?: "Seller"; id: string };
9873
+ }
9874
+ | {
9875
+ __typename?: "ExchangeEventLog";
9876
+ id: string;
9877
+ hash: string;
9878
+ type: EventType;
9879
+ timestamp: string;
9880
+ executedBy: string;
9881
+ exchange: { __typename?: "Exchange"; id: string };
9882
+ account:
9883
+ | { __typename?: "Buyer"; id: string }
9884
+ | { __typename?: "DisputeResolver"; id: string }
9885
+ | { __typename?: "Seller"; id: string };
9886
+ }
9887
+ | {
9888
+ __typename?: "FundsEventLog";
9889
+ id: string;
9890
+ hash: string;
9891
+ type: EventType;
9892
+ timestamp: string;
9893
+ executedBy: string;
9894
+ funds: { __typename?: "FundsEntity"; id: string };
9895
+ account:
9896
+ | { __typename?: "Buyer"; id: string }
9897
+ | { __typename?: "DisputeResolver"; id: string }
9898
+ | { __typename?: "Seller"; id: string };
9899
+ }
9900
+ | {
9901
+ __typename?: "OfferEventLog";
9902
+ id: string;
9903
+ hash: string;
9904
+ type: EventType;
9905
+ timestamp: string;
9906
+ executedBy: string;
9907
+ offer: { __typename?: "Offer"; id: string };
9908
+ account:
9909
+ | { __typename?: "Buyer"; id: string }
9910
+ | { __typename?: "DisputeResolver"; id: string }
9911
+ | { __typename?: "Seller"; id: string };
9912
+ }
9913
+ >;
8014
9914
  fees: Array<{
8015
9915
  __typename?: "DisputeResolverFee";
8016
9916
  id: string;
@@ -8121,6 +10021,39 @@ export type GetDisputeByIdQueryQuery = {
8121
10021
  completedDate?: string | null;
8122
10022
  disputedDate?: string | null;
8123
10023
  expired: boolean;
10024
+ dispute?: {
10025
+ __typename?: "Dispute";
10026
+ id: string;
10027
+ exchangeId: string;
10028
+ state: DisputeState;
10029
+ buyerPercent: string;
10030
+ disputedDate: string;
10031
+ escalatedDate?: string | null;
10032
+ finalizedDate?: string | null;
10033
+ retractedDate?: string | null;
10034
+ resolvedDate?: string | null;
10035
+ decidedDate?: string | null;
10036
+ refusedDate?: string | null;
10037
+ timeout: string;
10038
+ } | null;
10039
+ buyer: {
10040
+ __typename?: "Buyer";
10041
+ id: string;
10042
+ wallet: string;
10043
+ active: boolean;
10044
+ };
10045
+ seller: {
10046
+ __typename?: "Seller";
10047
+ id: string;
10048
+ operator: string;
10049
+ admin: string;
10050
+ clerk: string;
10051
+ treasury: string;
10052
+ authTokenId: string;
10053
+ authTokenType: number;
10054
+ voucherCloneAddress: string;
10055
+ active: boolean;
10056
+ };
8124
10057
  };
8125
10058
  seller: {
8126
10059
  __typename?: "Seller";
@@ -8181,6 +10114,39 @@ export type GetDisputesQueryQuery = {
8181
10114
  completedDate?: string | null;
8182
10115
  disputedDate?: string | null;
8183
10116
  expired: boolean;
10117
+ dispute?: {
10118
+ __typename?: "Dispute";
10119
+ id: string;
10120
+ exchangeId: string;
10121
+ state: DisputeState;
10122
+ buyerPercent: string;
10123
+ disputedDate: string;
10124
+ escalatedDate?: string | null;
10125
+ finalizedDate?: string | null;
10126
+ retractedDate?: string | null;
10127
+ resolvedDate?: string | null;
10128
+ decidedDate?: string | null;
10129
+ refusedDate?: string | null;
10130
+ timeout: string;
10131
+ } | null;
10132
+ buyer: {
10133
+ __typename?: "Buyer";
10134
+ id: string;
10135
+ wallet: string;
10136
+ active: boolean;
10137
+ };
10138
+ seller: {
10139
+ __typename?: "Seller";
10140
+ id: string;
10141
+ operator: string;
10142
+ admin: string;
10143
+ clerk: string;
10144
+ treasury: string;
10145
+ authTokenId: string;
10146
+ authTokenType: number;
10147
+ voucherCloneAddress: string;
10148
+ active: boolean;
10149
+ };
8184
10150
  };
8185
10151
  seller: {
8186
10152
  __typename?: "Seller";
@@ -8231,6 +10197,39 @@ export type DisputeFieldsFragment = {
8231
10197
  completedDate?: string | null;
8232
10198
  disputedDate?: string | null;
8233
10199
  expired: boolean;
10200
+ dispute?: {
10201
+ __typename?: "Dispute";
10202
+ id: string;
10203
+ exchangeId: string;
10204
+ state: DisputeState;
10205
+ buyerPercent: string;
10206
+ disputedDate: string;
10207
+ escalatedDate?: string | null;
10208
+ finalizedDate?: string | null;
10209
+ retractedDate?: string | null;
10210
+ resolvedDate?: string | null;
10211
+ decidedDate?: string | null;
10212
+ refusedDate?: string | null;
10213
+ timeout: string;
10214
+ } | null;
10215
+ buyer: {
10216
+ __typename?: "Buyer";
10217
+ id: string;
10218
+ wallet: string;
10219
+ active: boolean;
10220
+ };
10221
+ seller: {
10222
+ __typename?: "Seller";
10223
+ id: string;
10224
+ operator: string;
10225
+ admin: string;
10226
+ clerk: string;
10227
+ treasury: string;
10228
+ authTokenId: string;
10229
+ authTokenType: number;
10230
+ voucherCloneAddress: string;
10231
+ active: boolean;
10232
+ };
8234
10233
  };
8235
10234
  seller: {
8236
10235
  __typename?: "Seller";
@@ -8261,34 +10260,6 @@ export type BaseDisputeFieldsFragment = {
8261
10260
  decidedDate?: string | null;
8262
10261
  refusedDate?: string | null;
8263
10262
  timeout: string;
8264
- exchange: {
8265
- __typename?: "Exchange";
8266
- id: string;
8267
- disputed: boolean;
8268
- state: ExchangeState;
8269
- committedDate: string;
8270
- finalizedDate?: string | null;
8271
- validUntilDate: string;
8272
- redeemedDate?: string | null;
8273
- revokedDate?: string | null;
8274
- cancelledDate?: string | null;
8275
- completedDate?: string | null;
8276
- disputedDate?: string | null;
8277
- expired: boolean;
8278
- };
8279
- seller: {
8280
- __typename?: "Seller";
8281
- id: string;
8282
- operator: string;
8283
- admin: string;
8284
- clerk: string;
8285
- treasury: string;
8286
- authTokenId: string;
8287
- authTokenType: number;
8288
- voucherCloneAddress: string;
8289
- active: boolean;
8290
- };
8291
- buyer: { __typename?: "Buyer"; id: string; wallet: string; active: boolean };
8292
10263
  };
8293
10264
 
8294
10265
  export type GetExchangeTokenByIdQueryQueryVariables = Exact<{
@@ -8342,8 +10313,11 @@ export type GetExchangeTokenByIdQueryQuery = {
8342
10313
  resolutionPeriodDuration: string;
8343
10314
  metadataUri: string;
8344
10315
  metadataHash: string;
10316
+ voided: boolean;
8345
10317
  voidedAt?: string | null;
8346
10318
  disputeResolverId: string;
10319
+ numberOfCommits: string;
10320
+ numberOfRedemptions: string;
8347
10321
  seller: {
8348
10322
  __typename?: "Seller";
8349
10323
  id: string;
@@ -8631,8 +10605,11 @@ export type GetExchangeTokensQueryQuery = {
8631
10605
  resolutionPeriodDuration: string;
8632
10606
  metadataUri: string;
8633
10607
  metadataHash: string;
10608
+ voided: boolean;
8634
10609
  voidedAt?: string | null;
8635
10610
  disputeResolverId: string;
10611
+ numberOfCommits: string;
10612
+ numberOfRedemptions: string;
8636
10613
  seller: {
8637
10614
  __typename?: "Seller";
8638
10615
  id: string;
@@ -8898,8 +10875,11 @@ export type ExchangeTokenFieldsFragment = {
8898
10875
  resolutionPeriodDuration: string;
8899
10876
  metadataUri: string;
8900
10877
  metadataHash: string;
10878
+ voided: boolean;
8901
10879
  voidedAt?: string | null;
8902
10880
  disputeResolverId: string;
10881
+ numberOfCommits: string;
10882
+ numberOfRedemptions: string;
8903
10883
  seller: {
8904
10884
  __typename?: "Seller";
8905
10885
  id: string;
@@ -9141,6 +11121,160 @@ export type BaseExchangeTokenFieldsFragment = {
9141
11121
  name: string;
9142
11122
  };
9143
11123
 
11124
+ export type GetEventLogsQueryQueryVariables = Exact<{
11125
+ logsSkip?: InputMaybe<Scalars["Int"]>;
11126
+ logsFirst?: InputMaybe<Scalars["Int"]>;
11127
+ logsOrderBy?: InputMaybe<EventLog_OrderBy>;
11128
+ logsOrderDirection?: InputMaybe<OrderDirection>;
11129
+ logsFilter?: InputMaybe<EventLog_Filter>;
11130
+ }>;
11131
+
11132
+ export type GetEventLogsQueryQuery = {
11133
+ __typename?: "Query";
11134
+ eventLogs: Array<
11135
+ | {
11136
+ __typename?: "AccountEventLog";
11137
+ id: string;
11138
+ hash: string;
11139
+ type: EventType;
11140
+ timestamp: string;
11141
+ executedBy: string;
11142
+ account:
11143
+ | { __typename?: "Buyer"; id: string }
11144
+ | { __typename?: "DisputeResolver"; id: string }
11145
+ | { __typename?: "Seller"; id: string };
11146
+ }
11147
+ | {
11148
+ __typename?: "DisputeEventLog";
11149
+ id: string;
11150
+ hash: string;
11151
+ type: EventType;
11152
+ timestamp: string;
11153
+ executedBy: string;
11154
+ dispute: { __typename?: "Dispute"; id: string };
11155
+ account:
11156
+ | { __typename?: "Buyer"; id: string }
11157
+ | { __typename?: "DisputeResolver"; id: string }
11158
+ | { __typename?: "Seller"; id: string };
11159
+ }
11160
+ | {
11161
+ __typename?: "ExchangeEventLog";
11162
+ id: string;
11163
+ hash: string;
11164
+ type: EventType;
11165
+ timestamp: string;
11166
+ executedBy: string;
11167
+ exchange: { __typename?: "Exchange"; id: string };
11168
+ account:
11169
+ | { __typename?: "Buyer"; id: string }
11170
+ | { __typename?: "DisputeResolver"; id: string }
11171
+ | { __typename?: "Seller"; id: string };
11172
+ }
11173
+ | {
11174
+ __typename?: "FundsEventLog";
11175
+ id: string;
11176
+ hash: string;
11177
+ type: EventType;
11178
+ timestamp: string;
11179
+ executedBy: string;
11180
+ funds: { __typename?: "FundsEntity"; id: string };
11181
+ account:
11182
+ | { __typename?: "Buyer"; id: string }
11183
+ | { __typename?: "DisputeResolver"; id: string }
11184
+ | { __typename?: "Seller"; id: string };
11185
+ }
11186
+ | {
11187
+ __typename?: "OfferEventLog";
11188
+ id: string;
11189
+ hash: string;
11190
+ type: EventType;
11191
+ timestamp: string;
11192
+ executedBy: string;
11193
+ offer: { __typename?: "Offer"; id: string };
11194
+ account:
11195
+ | { __typename?: "Buyer"; id: string }
11196
+ | { __typename?: "DisputeResolver"; id: string }
11197
+ | { __typename?: "Seller"; id: string };
11198
+ }
11199
+ >;
11200
+ };
11201
+
11202
+ type BaseEventLogFields_AccountEventLog_Fragment = {
11203
+ __typename?: "AccountEventLog";
11204
+ id: string;
11205
+ hash: string;
11206
+ type: EventType;
11207
+ timestamp: string;
11208
+ executedBy: string;
11209
+ account:
11210
+ | { __typename?: "Buyer"; id: string }
11211
+ | { __typename?: "DisputeResolver"; id: string }
11212
+ | { __typename?: "Seller"; id: string };
11213
+ };
11214
+
11215
+ type BaseEventLogFields_DisputeEventLog_Fragment = {
11216
+ __typename?: "DisputeEventLog";
11217
+ id: string;
11218
+ hash: string;
11219
+ type: EventType;
11220
+ timestamp: string;
11221
+ executedBy: string;
11222
+ dispute: { __typename?: "Dispute"; id: string };
11223
+ account:
11224
+ | { __typename?: "Buyer"; id: string }
11225
+ | { __typename?: "DisputeResolver"; id: string }
11226
+ | { __typename?: "Seller"; id: string };
11227
+ };
11228
+
11229
+ type BaseEventLogFields_ExchangeEventLog_Fragment = {
11230
+ __typename?: "ExchangeEventLog";
11231
+ id: string;
11232
+ hash: string;
11233
+ type: EventType;
11234
+ timestamp: string;
11235
+ executedBy: string;
11236
+ exchange: { __typename?: "Exchange"; id: string };
11237
+ account:
11238
+ | { __typename?: "Buyer"; id: string }
11239
+ | { __typename?: "DisputeResolver"; id: string }
11240
+ | { __typename?: "Seller"; id: string };
11241
+ };
11242
+
11243
+ type BaseEventLogFields_FundsEventLog_Fragment = {
11244
+ __typename?: "FundsEventLog";
11245
+ id: string;
11246
+ hash: string;
11247
+ type: EventType;
11248
+ timestamp: string;
11249
+ executedBy: string;
11250
+ funds: { __typename?: "FundsEntity"; id: string };
11251
+ account:
11252
+ | { __typename?: "Buyer"; id: string }
11253
+ | { __typename?: "DisputeResolver"; id: string }
11254
+ | { __typename?: "Seller"; id: string };
11255
+ };
11256
+
11257
+ type BaseEventLogFields_OfferEventLog_Fragment = {
11258
+ __typename?: "OfferEventLog";
11259
+ id: string;
11260
+ hash: string;
11261
+ type: EventType;
11262
+ timestamp: string;
11263
+ executedBy: string;
11264
+ offer: { __typename?: "Offer"; id: string };
11265
+ account:
11266
+ | { __typename?: "Buyer"; id: string }
11267
+ | { __typename?: "DisputeResolver"; id: string }
11268
+ | { __typename?: "Seller"; id: string };
11269
+ };
11270
+
11271
+ export type BaseEventLogFieldsFragment =
11272
+ | BaseEventLogFields_AccountEventLog_Fragment
11273
+ | BaseEventLogFields_DisputeEventLog_Fragment
11274
+ | BaseEventLogFields_ExchangeEventLog_Fragment
11275
+ | BaseEventLogFields_FundsEventLog_Fragment
11276
+ | BaseEventLogFields_OfferEventLog_Fragment;
11277
+
9144
11278
  export type GetExchangeByIdQueryQueryVariables = Exact<{
9145
11279
  exchangeId: Scalars["ID"];
9146
11280
  }>;
@@ -9161,24 +11295,6 @@ export type GetExchangeByIdQueryQuery = {
9161
11295
  completedDate?: string | null;
9162
11296
  disputedDate?: string | null;
9163
11297
  expired: boolean;
9164
- buyer: {
9165
- __typename?: "Buyer";
9166
- id: string;
9167
- wallet: string;
9168
- active: boolean;
9169
- };
9170
- seller: {
9171
- __typename?: "Seller";
9172
- id: string;
9173
- operator: string;
9174
- admin: string;
9175
- clerk: string;
9176
- treasury: string;
9177
- authTokenId: string;
9178
- authTokenType: number;
9179
- voucherCloneAddress: string;
9180
- active: boolean;
9181
- };
9182
11298
  offer: {
9183
11299
  __typename?: "Offer";
9184
11300
  id: string;
@@ -9200,8 +11316,11 @@ export type GetExchangeByIdQueryQuery = {
9200
11316
  resolutionPeriodDuration: string;
9201
11317
  metadataUri: string;
9202
11318
  metadataHash: string;
11319
+ voided: boolean;
9203
11320
  voidedAt?: string | null;
9204
11321
  disputeResolverId: string;
11322
+ numberOfCommits: string;
11323
+ numberOfRedemptions: string;
9205
11324
  seller: {
9206
11325
  __typename?: "Seller";
9207
11326
  id: string;
@@ -9444,40 +11563,25 @@ export type GetExchangeByIdQueryQuery = {
9444
11563
  decidedDate?: string | null;
9445
11564
  refusedDate?: string | null;
9446
11565
  timeout: string;
9447
- exchange: {
9448
- __typename?: "Exchange";
9449
- id: string;
9450
- disputed: boolean;
9451
- state: ExchangeState;
9452
- committedDate: string;
9453
- finalizedDate?: string | null;
9454
- validUntilDate: string;
9455
- redeemedDate?: string | null;
9456
- revokedDate?: string | null;
9457
- cancelledDate?: string | null;
9458
- completedDate?: string | null;
9459
- disputedDate?: string | null;
9460
- expired: boolean;
9461
- };
9462
- seller: {
9463
- __typename?: "Seller";
9464
- id: string;
9465
- operator: string;
9466
- admin: string;
9467
- clerk: string;
9468
- treasury: string;
9469
- authTokenId: string;
9470
- authTokenType: number;
9471
- voucherCloneAddress: string;
9472
- active: boolean;
9473
- };
9474
- buyer: {
9475
- __typename?: "Buyer";
9476
- id: string;
9477
- wallet: string;
9478
- active: boolean;
9479
- };
9480
11566
  } | null;
11567
+ buyer: {
11568
+ __typename?: "Buyer";
11569
+ id: string;
11570
+ wallet: string;
11571
+ active: boolean;
11572
+ };
11573
+ seller: {
11574
+ __typename?: "Seller";
11575
+ id: string;
11576
+ operator: string;
11577
+ admin: string;
11578
+ clerk: string;
11579
+ treasury: string;
11580
+ authTokenId: string;
11581
+ authTokenType: number;
11582
+ voucherCloneAddress: string;
11583
+ active: boolean;
11584
+ };
9481
11585
  } | null;
9482
11586
  };
9483
11587
 
@@ -9505,24 +11609,6 @@ export type GetExchangesQueryQuery = {
9505
11609
  completedDate?: string | null;
9506
11610
  disputedDate?: string | null;
9507
11611
  expired: boolean;
9508
- buyer: {
9509
- __typename?: "Buyer";
9510
- id: string;
9511
- wallet: string;
9512
- active: boolean;
9513
- };
9514
- seller: {
9515
- __typename?: "Seller";
9516
- id: string;
9517
- operator: string;
9518
- admin: string;
9519
- clerk: string;
9520
- treasury: string;
9521
- authTokenId: string;
9522
- authTokenType: number;
9523
- voucherCloneAddress: string;
9524
- active: boolean;
9525
- };
9526
11612
  offer: {
9527
11613
  __typename?: "Offer";
9528
11614
  id: string;
@@ -9544,8 +11630,11 @@ export type GetExchangesQueryQuery = {
9544
11630
  resolutionPeriodDuration: string;
9545
11631
  metadataUri: string;
9546
11632
  metadataHash: string;
11633
+ voided: boolean;
9547
11634
  voidedAt?: string | null;
9548
11635
  disputeResolverId: string;
11636
+ numberOfCommits: string;
11637
+ numberOfRedemptions: string;
9549
11638
  seller: {
9550
11639
  __typename?: "Seller";
9551
11640
  id: string;
@@ -9788,40 +11877,25 @@ export type GetExchangesQueryQuery = {
9788
11877
  decidedDate?: string | null;
9789
11878
  refusedDate?: string | null;
9790
11879
  timeout: string;
9791
- exchange: {
9792
- __typename?: "Exchange";
9793
- id: string;
9794
- disputed: boolean;
9795
- state: ExchangeState;
9796
- committedDate: string;
9797
- finalizedDate?: string | null;
9798
- validUntilDate: string;
9799
- redeemedDate?: string | null;
9800
- revokedDate?: string | null;
9801
- cancelledDate?: string | null;
9802
- completedDate?: string | null;
9803
- disputedDate?: string | null;
9804
- expired: boolean;
9805
- };
9806
- seller: {
9807
- __typename?: "Seller";
9808
- id: string;
9809
- operator: string;
9810
- admin: string;
9811
- clerk: string;
9812
- treasury: string;
9813
- authTokenId: string;
9814
- authTokenType: number;
9815
- voucherCloneAddress: string;
9816
- active: boolean;
9817
- };
9818
- buyer: {
9819
- __typename?: "Buyer";
9820
- id: string;
9821
- wallet: string;
9822
- active: boolean;
9823
- };
9824
11880
  } | null;
11881
+ buyer: {
11882
+ __typename?: "Buyer";
11883
+ id: string;
11884
+ wallet: string;
11885
+ active: boolean;
11886
+ };
11887
+ seller: {
11888
+ __typename?: "Seller";
11889
+ id: string;
11890
+ operator: string;
11891
+ admin: string;
11892
+ clerk: string;
11893
+ treasury: string;
11894
+ authTokenId: string;
11895
+ authTokenType: number;
11896
+ voucherCloneAddress: string;
11897
+ active: boolean;
11898
+ };
9825
11899
  }>;
9826
11900
  };
9827
11901
 
@@ -9839,19 +11913,6 @@ export type ExchangeFieldsFragment = {
9839
11913
  completedDate?: string | null;
9840
11914
  disputedDate?: string | null;
9841
11915
  expired: boolean;
9842
- buyer: { __typename?: "Buyer"; id: string; wallet: string; active: boolean };
9843
- seller: {
9844
- __typename?: "Seller";
9845
- id: string;
9846
- operator: string;
9847
- admin: string;
9848
- clerk: string;
9849
- treasury: string;
9850
- authTokenId: string;
9851
- authTokenType: number;
9852
- voucherCloneAddress: string;
9853
- active: boolean;
9854
- };
9855
11916
  offer: {
9856
11917
  __typename?: "Offer";
9857
11918
  id: string;
@@ -9873,8 +11934,11 @@ export type ExchangeFieldsFragment = {
9873
11934
  resolutionPeriodDuration: string;
9874
11935
  metadataUri: string;
9875
11936
  metadataHash: string;
11937
+ voided: boolean;
9876
11938
  voidedAt?: string | null;
9877
11939
  disputeResolverId: string;
11940
+ numberOfCommits: string;
11941
+ numberOfRedemptions: string;
9878
11942
  seller: {
9879
11943
  __typename?: "Seller";
9880
11944
  id: string;
@@ -10090,63 +12154,43 @@ export type ExchangeFieldsFragment = {
10090
12154
  countryOfOrigin?: string | null;
10091
12155
  redemptionPoint?: string | null;
10092
12156
  supportedJurisdictions?: Array<{
10093
- __typename?: "ProductV1ShippingJurisdiction";
10094
- id: string;
10095
- label: string;
10096
- deliveryTime: string;
10097
- }> | null;
10098
- } | null;
10099
- }
10100
- | null;
10101
- };
10102
- dispute?: {
10103
- __typename?: "Dispute";
10104
- id: string;
10105
- exchangeId: string;
10106
- state: DisputeState;
10107
- buyerPercent: string;
10108
- disputedDate: string;
10109
- escalatedDate?: string | null;
10110
- finalizedDate?: string | null;
10111
- retractedDate?: string | null;
10112
- resolvedDate?: string | null;
10113
- decidedDate?: string | null;
10114
- refusedDate?: string | null;
10115
- timeout: string;
10116
- exchange: {
10117
- __typename?: "Exchange";
10118
- id: string;
10119
- disputed: boolean;
10120
- state: ExchangeState;
10121
- committedDate: string;
10122
- finalizedDate?: string | null;
10123
- validUntilDate: string;
10124
- redeemedDate?: string | null;
10125
- revokedDate?: string | null;
10126
- cancelledDate?: string | null;
10127
- completedDate?: string | null;
10128
- disputedDate?: string | null;
10129
- expired: boolean;
10130
- };
10131
- seller: {
10132
- __typename?: "Seller";
10133
- id: string;
10134
- operator: string;
10135
- admin: string;
10136
- clerk: string;
10137
- treasury: string;
10138
- authTokenId: string;
10139
- authTokenType: number;
10140
- voucherCloneAddress: string;
10141
- active: boolean;
10142
- };
10143
- buyer: {
10144
- __typename?: "Buyer";
10145
- id: string;
10146
- wallet: string;
10147
- active: boolean;
10148
- };
12157
+ __typename?: "ProductV1ShippingJurisdiction";
12158
+ id: string;
12159
+ label: string;
12160
+ deliveryTime: string;
12161
+ }> | null;
12162
+ } | null;
12163
+ }
12164
+ | null;
12165
+ };
12166
+ dispute?: {
12167
+ __typename?: "Dispute";
12168
+ id: string;
12169
+ exchangeId: string;
12170
+ state: DisputeState;
12171
+ buyerPercent: string;
12172
+ disputedDate: string;
12173
+ escalatedDate?: string | null;
12174
+ finalizedDate?: string | null;
12175
+ retractedDate?: string | null;
12176
+ resolvedDate?: string | null;
12177
+ decidedDate?: string | null;
12178
+ refusedDate?: string | null;
12179
+ timeout: string;
10149
12180
  } | null;
12181
+ buyer: { __typename?: "Buyer"; id: string; wallet: string; active: boolean };
12182
+ seller: {
12183
+ __typename?: "Seller";
12184
+ id: string;
12185
+ operator: string;
12186
+ admin: string;
12187
+ clerk: string;
12188
+ treasury: string;
12189
+ authTokenId: string;
12190
+ authTokenType: number;
12191
+ voucherCloneAddress: string;
12192
+ active: boolean;
12193
+ };
10150
12194
  };
10151
12195
 
10152
12196
  export type BaseExchangeFieldsFragment = {
@@ -10163,6 +12207,34 @@ export type BaseExchangeFieldsFragment = {
10163
12207
  completedDate?: string | null;
10164
12208
  disputedDate?: string | null;
10165
12209
  expired: boolean;
12210
+ dispute?: {
12211
+ __typename?: "Dispute";
12212
+ id: string;
12213
+ exchangeId: string;
12214
+ state: DisputeState;
12215
+ buyerPercent: string;
12216
+ disputedDate: string;
12217
+ escalatedDate?: string | null;
12218
+ finalizedDate?: string | null;
12219
+ retractedDate?: string | null;
12220
+ resolvedDate?: string | null;
12221
+ decidedDate?: string | null;
12222
+ refusedDate?: string | null;
12223
+ timeout: string;
12224
+ } | null;
12225
+ buyer: { __typename?: "Buyer"; id: string; wallet: string; active: boolean };
12226
+ seller: {
12227
+ __typename?: "Seller";
12228
+ id: string;
12229
+ operator: string;
12230
+ admin: string;
12231
+ clerk: string;
12232
+ treasury: string;
12233
+ authTokenId: string;
12234
+ authTokenType: number;
12235
+ voucherCloneAddress: string;
12236
+ active: boolean;
12237
+ };
10166
12238
  };
10167
12239
 
10168
12240
  export type GetFundsByIdQueryVariables = Exact<{
@@ -10260,6 +12332,8 @@ export type GetBaseMetadataEntityByIdQueryQuery = {
10260
12332
  validFromDate: string;
10261
12333
  validUntilDate: string;
10262
12334
  quantityAvailable: string;
12335
+ numberOfCommits: string;
12336
+ numberOfRedemptions: string;
10263
12337
  attributes?: Array<{
10264
12338
  __typename?: "MetadataAttribute";
10265
12339
  traitType: string;
@@ -10287,8 +12361,11 @@ export type GetBaseMetadataEntityByIdQueryQuery = {
10287
12361
  resolutionPeriodDuration: string;
10288
12362
  metadataUri: string;
10289
12363
  metadataHash: string;
12364
+ voided: boolean;
10290
12365
  voidedAt?: string | null;
10291
12366
  disputeResolverId: string;
12367
+ numberOfCommits: string;
12368
+ numberOfRedemptions: string;
10292
12369
  seller: {
10293
12370
  __typename?: "Seller";
10294
12371
  id: string;
@@ -10564,6 +12641,8 @@ export type GetBaseMetadataEntitiesQueryQuery = {
10564
12641
  validFromDate: string;
10565
12642
  validUntilDate: string;
10566
12643
  quantityAvailable: string;
12644
+ numberOfCommits: string;
12645
+ numberOfRedemptions: string;
10567
12646
  attributes?: Array<{
10568
12647
  __typename?: "MetadataAttribute";
10569
12648
  traitType: string;
@@ -10591,8 +12670,11 @@ export type GetBaseMetadataEntitiesQueryQuery = {
10591
12670
  resolutionPeriodDuration: string;
10592
12671
  metadataUri: string;
10593
12672
  metadataHash: string;
12673
+ voided: boolean;
10594
12674
  voidedAt?: string | null;
10595
12675
  disputeResolverId: string;
12676
+ numberOfCommits: string;
12677
+ numberOfRedemptions: string;
10596
12678
  seller: {
10597
12679
  __typename?: "Seller";
10598
12680
  id: string;
@@ -10858,6 +12940,8 @@ export type BaseMetadataEntityFieldsFragment = {
10858
12940
  validFromDate: string;
10859
12941
  validUntilDate: string;
10860
12942
  quantityAvailable: string;
12943
+ numberOfCommits: string;
12944
+ numberOfRedemptions: string;
10861
12945
  attributes?: Array<{
10862
12946
  __typename?: "MetadataAttribute";
10863
12947
  traitType: string;
@@ -10885,8 +12969,11 @@ export type BaseMetadataEntityFieldsFragment = {
10885
12969
  resolutionPeriodDuration: string;
10886
12970
  metadataUri: string;
10887
12971
  metadataHash: string;
12972
+ voided: boolean;
10888
12973
  voidedAt?: string | null;
10889
12974
  disputeResolverId: string;
12975
+ numberOfCommits: string;
12976
+ numberOfRedemptions: string;
10890
12977
  seller: {
10891
12978
  __typename?: "Seller";
10892
12979
  id: string;
@@ -11147,6 +13234,8 @@ export type BaseBaseMetadataEntityFieldsFragment = {
11147
13234
  validFromDate: string;
11148
13235
  validUntilDate: string;
11149
13236
  quantityAvailable: string;
13237
+ numberOfCommits: string;
13238
+ numberOfRedemptions: string;
11150
13239
  attributes?: Array<{
11151
13240
  __typename?: "MetadataAttribute";
11152
13241
  traitType: string;
@@ -11174,8 +13263,11 @@ export type BaseBaseMetadataEntityFieldsFragment = {
11174
13263
  resolutionPeriodDuration: string;
11175
13264
  metadataUri: string;
11176
13265
  metadataHash: string;
13266
+ voided: boolean;
11177
13267
  voidedAt?: string | null;
11178
13268
  disputeResolverId: string;
13269
+ numberOfCommits: string;
13270
+ numberOfRedemptions: string;
11179
13271
  seller: {
11180
13272
  __typename?: "Seller";
11181
13273
  id: string;
@@ -11481,6 +13573,8 @@ export type GetProductV1MetadataEntityByIdQueryQuery = {
11481
13573
  validFromDate: string;
11482
13574
  validUntilDate: string;
11483
13575
  quantityAvailable: string;
13576
+ numberOfCommits: string;
13577
+ numberOfRedemptions: string;
11484
13578
  uuid: string;
11485
13579
  attributes?: Array<{
11486
13580
  __typename?: "MetadataAttribute";
@@ -11509,8 +13603,11 @@ export type GetProductV1MetadataEntityByIdQueryQuery = {
11509
13603
  resolutionPeriodDuration: string;
11510
13604
  metadataUri: string;
11511
13605
  metadataHash: string;
13606
+ voided: boolean;
11512
13607
  voidedAt?: string | null;
11513
13608
  disputeResolverId: string;
13609
+ numberOfCommits: string;
13610
+ numberOfRedemptions: string;
11514
13611
  seller: {
11515
13612
  __typename?: "Seller";
11516
13613
  id: string;
@@ -11910,6 +14007,8 @@ export type GetProductV1MetadataEntitiesQueryQuery = {
11910
14007
  validFromDate: string;
11911
14008
  validUntilDate: string;
11912
14009
  quantityAvailable: string;
14010
+ numberOfCommits: string;
14011
+ numberOfRedemptions: string;
11913
14012
  uuid: string;
11914
14013
  attributes?: Array<{
11915
14014
  __typename?: "MetadataAttribute";
@@ -11938,8 +14037,11 @@ export type GetProductV1MetadataEntitiesQueryQuery = {
11938
14037
  resolutionPeriodDuration: string;
11939
14038
  metadataUri: string;
11940
14039
  metadataHash: string;
14040
+ voided: boolean;
11941
14041
  voidedAt?: string | null;
11942
14042
  disputeResolverId: string;
14043
+ numberOfCommits: string;
14044
+ numberOfRedemptions: string;
11943
14045
  seller: {
11944
14046
  __typename?: "Seller";
11945
14047
  id: string;
@@ -12329,6 +14431,8 @@ export type ProductV1MetadataEntityFieldsFragment = {
12329
14431
  validFromDate: string;
12330
14432
  validUntilDate: string;
12331
14433
  quantityAvailable: string;
14434
+ numberOfCommits: string;
14435
+ numberOfRedemptions: string;
12332
14436
  uuid: string;
12333
14437
  attributes?: Array<{
12334
14438
  __typename?: "MetadataAttribute";
@@ -12357,8 +14461,11 @@ export type ProductV1MetadataEntityFieldsFragment = {
12357
14461
  resolutionPeriodDuration: string;
12358
14462
  metadataUri: string;
12359
14463
  metadataHash: string;
14464
+ voided: boolean;
12360
14465
  voidedAt?: string | null;
12361
14466
  disputeResolverId: string;
14467
+ numberOfCommits: string;
14468
+ numberOfRedemptions: string;
12362
14469
  seller: {
12363
14470
  __typename?: "Seller";
12364
14471
  id: string;
@@ -12743,6 +14850,8 @@ export type BaseProductV1MetadataEntityFieldsFragment = {
12743
14850
  validFromDate: string;
12744
14851
  validUntilDate: string;
12745
14852
  quantityAvailable: string;
14853
+ numberOfCommits: string;
14854
+ numberOfRedemptions: string;
12746
14855
  uuid: string;
12747
14856
  attributes?: Array<{
12748
14857
  __typename?: "MetadataAttribute";
@@ -12771,8 +14880,11 @@ export type BaseProductV1MetadataEntityFieldsFragment = {
12771
14880
  resolutionPeriodDuration: string;
12772
14881
  metadataUri: string;
12773
14882
  metadataHash: string;
14883
+ voided: boolean;
12774
14884
  voidedAt?: string | null;
12775
14885
  disputeResolverId: string;
14886
+ numberOfCommits: string;
14887
+ numberOfRedemptions: string;
12776
14888
  seller: {
12777
14889
  __typename?: "Seller";
12778
14890
  id: string;
@@ -13408,8 +15520,11 @@ export type GetOfferByIdQueryQuery = {
13408
15520
  resolutionPeriodDuration: string;
13409
15521
  metadataUri: string;
13410
15522
  metadataHash: string;
15523
+ voided: boolean;
13411
15524
  voidedAt?: string | null;
13412
15525
  disputeResolverId: string;
15526
+ numberOfCommits: string;
15527
+ numberOfRedemptions: string;
13413
15528
  exchanges?: Array<{
13414
15529
  __typename?: "Exchange";
13415
15530
  id: string;
@@ -13424,6 +15539,39 @@ export type GetOfferByIdQueryQuery = {
13424
15539
  completedDate?: string | null;
13425
15540
  disputedDate?: string | null;
13426
15541
  expired: boolean;
15542
+ dispute?: {
15543
+ __typename?: "Dispute";
15544
+ id: string;
15545
+ exchangeId: string;
15546
+ state: DisputeState;
15547
+ buyerPercent: string;
15548
+ disputedDate: string;
15549
+ escalatedDate?: string | null;
15550
+ finalizedDate?: string | null;
15551
+ retractedDate?: string | null;
15552
+ resolvedDate?: string | null;
15553
+ decidedDate?: string | null;
15554
+ refusedDate?: string | null;
15555
+ timeout: string;
15556
+ } | null;
15557
+ buyer: {
15558
+ __typename?: "Buyer";
15559
+ id: string;
15560
+ wallet: string;
15561
+ active: boolean;
15562
+ };
15563
+ seller: {
15564
+ __typename?: "Seller";
15565
+ id: string;
15566
+ operator: string;
15567
+ admin: string;
15568
+ clerk: string;
15569
+ treasury: string;
15570
+ authTokenId: string;
15571
+ authTokenType: number;
15572
+ voucherCloneAddress: string;
15573
+ active: boolean;
15574
+ };
13427
15575
  }>;
13428
15576
  seller: {
13429
15577
  __typename?: "Seller";
@@ -13688,8 +15836,11 @@ export type GetOffersQueryQuery = {
13688
15836
  resolutionPeriodDuration: string;
13689
15837
  metadataUri: string;
13690
15838
  metadataHash: string;
15839
+ voided: boolean;
13691
15840
  voidedAt?: string | null;
13692
15841
  disputeResolverId: string;
15842
+ numberOfCommits: string;
15843
+ numberOfRedemptions: string;
13693
15844
  exchanges?: Array<{
13694
15845
  __typename?: "Exchange";
13695
15846
  id: string;
@@ -13704,6 +15855,39 @@ export type GetOffersQueryQuery = {
13704
15855
  completedDate?: string | null;
13705
15856
  disputedDate?: string | null;
13706
15857
  expired: boolean;
15858
+ dispute?: {
15859
+ __typename?: "Dispute";
15860
+ id: string;
15861
+ exchangeId: string;
15862
+ state: DisputeState;
15863
+ buyerPercent: string;
15864
+ disputedDate: string;
15865
+ escalatedDate?: string | null;
15866
+ finalizedDate?: string | null;
15867
+ retractedDate?: string | null;
15868
+ resolvedDate?: string | null;
15869
+ decidedDate?: string | null;
15870
+ refusedDate?: string | null;
15871
+ timeout: string;
15872
+ } | null;
15873
+ buyer: {
15874
+ __typename?: "Buyer";
15875
+ id: string;
15876
+ wallet: string;
15877
+ active: boolean;
15878
+ };
15879
+ seller: {
15880
+ __typename?: "Seller";
15881
+ id: string;
15882
+ operator: string;
15883
+ admin: string;
15884
+ clerk: string;
15885
+ treasury: string;
15886
+ authTokenId: string;
15887
+ authTokenType: number;
15888
+ voucherCloneAddress: string;
15889
+ active: boolean;
15890
+ };
13707
15891
  }>;
13708
15892
  seller: {
13709
15893
  __typename?: "Seller";
@@ -13952,8 +16136,11 @@ export type OfferFieldsFragment = {
13952
16136
  resolutionPeriodDuration: string;
13953
16137
  metadataUri: string;
13954
16138
  metadataHash: string;
16139
+ voided: boolean;
13955
16140
  voidedAt?: string | null;
13956
16141
  disputeResolverId: string;
16142
+ numberOfCommits: string;
16143
+ numberOfRedemptions: string;
13957
16144
  exchanges?: Array<{
13958
16145
  __typename?: "Exchange";
13959
16146
  id: string;
@@ -13968,6 +16155,39 @@ export type OfferFieldsFragment = {
13968
16155
  completedDate?: string | null;
13969
16156
  disputedDate?: string | null;
13970
16157
  expired: boolean;
16158
+ dispute?: {
16159
+ __typename?: "Dispute";
16160
+ id: string;
16161
+ exchangeId: string;
16162
+ state: DisputeState;
16163
+ buyerPercent: string;
16164
+ disputedDate: string;
16165
+ escalatedDate?: string | null;
16166
+ finalizedDate?: string | null;
16167
+ retractedDate?: string | null;
16168
+ resolvedDate?: string | null;
16169
+ decidedDate?: string | null;
16170
+ refusedDate?: string | null;
16171
+ timeout: string;
16172
+ } | null;
16173
+ buyer: {
16174
+ __typename?: "Buyer";
16175
+ id: string;
16176
+ wallet: string;
16177
+ active: boolean;
16178
+ };
16179
+ seller: {
16180
+ __typename?: "Seller";
16181
+ id: string;
16182
+ operator: string;
16183
+ admin: string;
16184
+ clerk: string;
16185
+ treasury: string;
16186
+ authTokenId: string;
16187
+ authTokenType: number;
16188
+ voucherCloneAddress: string;
16189
+ active: boolean;
16190
+ };
13971
16191
  }>;
13972
16192
  seller: {
13973
16193
  __typename?: "Seller";
@@ -14215,8 +16435,11 @@ export type BaseOfferFieldsFragment = {
14215
16435
  resolutionPeriodDuration: string;
14216
16436
  metadataUri: string;
14217
16437
  metadataHash: string;
16438
+ voided: boolean;
14218
16439
  voidedAt?: string | null;
14219
16440
  disputeResolverId: string;
16441
+ numberOfCommits: string;
16442
+ numberOfRedemptions: string;
14220
16443
  seller: {
14221
16444
  __typename?: "Seller";
14222
16445
  id: string;
@@ -14707,8 +16930,11 @@ export const BaseOfferFieldsFragmentDoc = gql`
14707
16930
  resolutionPeriodDuration
14708
16931
  metadataUri
14709
16932
  metadataHash
16933
+ voided
14710
16934
  voidedAt
14711
16935
  disputeResolverId
16936
+ numberOfCommits
16937
+ numberOfRedemptions
14712
16938
  seller {
14713
16939
  ...BaseSellerFields
14714
16940
  }
@@ -14768,6 +16994,29 @@ export const BaseOfferFieldsFragmentDoc = gql`
14768
16994
  ${BaseProductV1ExchangePolicyFieldsFragmentDoc}
14769
16995
  ${BaseProductV1ShippingOptionFieldsFragmentDoc}
14770
16996
  `;
16997
+ export const BaseDisputeFieldsFragmentDoc = gql`
16998
+ fragment BaseDisputeFields on Dispute {
16999
+ id
17000
+ exchangeId
17001
+ state
17002
+ buyerPercent
17003
+ disputedDate
17004
+ escalatedDate
17005
+ finalizedDate
17006
+ retractedDate
17007
+ resolvedDate
17008
+ decidedDate
17009
+ refusedDate
17010
+ timeout
17011
+ }
17012
+ `;
17013
+ export const BaseBuyerFieldsFragmentDoc = gql`
17014
+ fragment BaseBuyerFields on Buyer {
17015
+ id
17016
+ wallet
17017
+ active
17018
+ }
17019
+ `;
14771
17020
  export const BaseExchangeFieldsFragmentDoc = gql`
14772
17021
  fragment BaseExchangeFields on Exchange {
14773
17022
  id
@@ -14782,6 +17031,50 @@ export const BaseExchangeFieldsFragmentDoc = gql`
14782
17031
  completedDate
14783
17032
  disputedDate
14784
17033
  expired
17034
+ dispute {
17035
+ ...BaseDisputeFields
17036
+ }
17037
+ buyer {
17038
+ ...BaseBuyerFields
17039
+ }
17040
+ seller {
17041
+ ...BaseSellerFields
17042
+ }
17043
+ }
17044
+ ${BaseDisputeFieldsFragmentDoc}
17045
+ ${BaseBuyerFieldsFragmentDoc}
17046
+ ${BaseSellerFieldsFragmentDoc}
17047
+ `;
17048
+ export const BaseEventLogFieldsFragmentDoc = gql`
17049
+ fragment BaseEventLogFields on EventLog {
17050
+ id
17051
+ hash
17052
+ type
17053
+ timestamp
17054
+ executedBy
17055
+ account {
17056
+ id
17057
+ }
17058
+ ... on OfferEventLog {
17059
+ offer {
17060
+ id
17061
+ }
17062
+ }
17063
+ ... on ExchangeEventLog {
17064
+ exchange {
17065
+ id
17066
+ }
17067
+ }
17068
+ ... on FundsEventLog {
17069
+ funds {
17070
+ id
17071
+ }
17072
+ }
17073
+ ... on DisputeEventLog {
17074
+ dispute {
17075
+ id
17076
+ }
17077
+ }
14785
17078
  }
14786
17079
  `;
14787
17080
  export const SellerFieldsFragmentDoc = gql`
@@ -14814,18 +17107,21 @@ export const SellerFieldsFragmentDoc = gql`
14814
17107
  ) @include(if: $includeExchanges) {
14815
17108
  ...BaseExchangeFields
14816
17109
  }
17110
+ logs(
17111
+ skip: $logsSkip
17112
+ first: $logsFirst
17113
+ orderBy: $logsOrderBy
17114
+ orderDirection: $logsOrderDirection
17115
+ where: $logsFilter
17116
+ ) @include(if: $includeLogs) {
17117
+ ...BaseEventLogFields
17118
+ }
14817
17119
  }
14818
17120
  ${BaseSellerFieldsFragmentDoc}
14819
17121
  ${FundsEntityFieldsFragmentDoc}
14820
17122
  ${BaseOfferFieldsFragmentDoc}
14821
17123
  ${BaseExchangeFieldsFragmentDoc}
14822
- `;
14823
- export const BaseBuyerFieldsFragmentDoc = gql`
14824
- fragment BaseBuyerFields on Buyer {
14825
- id
14826
- wallet
14827
- active
14828
- }
17124
+ ${BaseEventLogFieldsFragmentDoc}
14829
17125
  `;
14830
17126
  export const BuyerFieldsFragmentDoc = gql`
14831
17127
  fragment BuyerFields on Buyer {
@@ -14848,10 +17144,20 @@ export const BuyerFieldsFragmentDoc = gql`
14848
17144
  ) @include(if: $includeExchanges) {
14849
17145
  ...BaseExchangeFields
14850
17146
  }
17147
+ logs(
17148
+ skip: $logsSkip
17149
+ first: $logsFirst
17150
+ orderBy: $logsOrderBy
17151
+ orderDirection: $logsOrderDirection
17152
+ where: $logsFilter
17153
+ ) @include(if: $includeLogs) {
17154
+ ...BaseEventLogFields
17155
+ }
14851
17156
  }
14852
17157
  ${BaseBuyerFieldsFragmentDoc}
14853
17158
  ${FundsEntityFieldsFragmentDoc}
14854
17159
  ${BaseExchangeFieldsFragmentDoc}
17160
+ ${BaseEventLogFieldsFragmentDoc}
14855
17161
  `;
14856
17162
  export const DisputeResolverFieldsFragmentDoc = gql`
14857
17163
  fragment DisputeResolverFields on DisputeResolver {
@@ -14865,24 +17171,23 @@ export const DisputeResolverFieldsFragmentDoc = gql`
14865
17171
  ) @include(if: $includeOffers) {
14866
17172
  ...BaseOfferFields
14867
17173
  }
17174
+ logs(
17175
+ skip: $logsSkip
17176
+ first: $logsFirst
17177
+ orderBy: $logsOrderBy
17178
+ orderDirection: $logsOrderDirection
17179
+ where: $logsFilter
17180
+ ) @include(if: $includeLogs) {
17181
+ ...BaseEventLogFields
17182
+ }
14868
17183
  }
14869
17184
  ${BaseDisputeResolverFieldsFragmentDoc}
14870
17185
  ${BaseOfferFieldsFragmentDoc}
17186
+ ${BaseEventLogFieldsFragmentDoc}
14871
17187
  `;
14872
- export const BaseDisputeFieldsFragmentDoc = gql`
14873
- fragment BaseDisputeFields on Dispute {
14874
- id
14875
- exchangeId
14876
- state
14877
- buyerPercent
14878
- disputedDate
14879
- escalatedDate
14880
- finalizedDate
14881
- retractedDate
14882
- resolvedDate
14883
- decidedDate
14884
- refusedDate
14885
- timeout
17188
+ export const DisputeFieldsFragmentDoc = gql`
17189
+ fragment DisputeFields on Dispute {
17190
+ ...BaseDisputeFields
14886
17191
  exchange {
14887
17192
  ...BaseExchangeFields
14888
17193
  }
@@ -14893,16 +17198,11 @@ export const BaseDisputeFieldsFragmentDoc = gql`
14893
17198
  ...BaseBuyerFields
14894
17199
  }
14895
17200
  }
17201
+ ${BaseDisputeFieldsFragmentDoc}
14896
17202
  ${BaseExchangeFieldsFragmentDoc}
14897
17203
  ${BaseSellerFieldsFragmentDoc}
14898
17204
  ${BaseBuyerFieldsFragmentDoc}
14899
17205
  `;
14900
- export const DisputeFieldsFragmentDoc = gql`
14901
- fragment DisputeFields on Dispute {
14902
- ...BaseDisputeFields
14903
- }
14904
- ${BaseDisputeFieldsFragmentDoc}
14905
- `;
14906
17206
  export const ExchangeTokenFieldsFragmentDoc = gql`
14907
17207
  fragment ExchangeTokenFields on ExchangeToken {
14908
17208
  ...BaseExchangeTokenFields
@@ -14932,24 +17232,12 @@ export const ExchangeTokenFieldsFragmentDoc = gql`
14932
17232
  export const ExchangeFieldsFragmentDoc = gql`
14933
17233
  fragment ExchangeFields on Exchange {
14934
17234
  ...BaseExchangeFields
14935
- buyer {
14936
- ...BaseBuyerFields
14937
- }
14938
- seller {
14939
- ...BaseSellerFields
14940
- }
14941
17235
  offer {
14942
17236
  ...BaseOfferFields
14943
17237
  }
14944
- dispute {
14945
- ...BaseDisputeFields
14946
- }
14947
17238
  }
14948
17239
  ${BaseExchangeFieldsFragmentDoc}
14949
- ${BaseBuyerFieldsFragmentDoc}
14950
- ${BaseSellerFieldsFragmentDoc}
14951
17240
  ${BaseOfferFieldsFragmentDoc}
14952
- ${BaseDisputeFieldsFragmentDoc}
14953
17241
  `;
14954
17242
  export const BaseBaseMetadataEntityFieldsFragmentDoc = gql`
14955
17243
  fragment BaseBaseMetadataEntityFields on BaseMetadataEntity {
@@ -14979,6 +17267,8 @@ export const BaseBaseMetadataEntityFieldsFragmentDoc = gql`
14979
17267
  validFromDate
14980
17268
  validUntilDate
14981
17269
  quantityAvailable
17270
+ numberOfCommits
17271
+ numberOfRedemptions
14982
17272
  }
14983
17273
  ${BaseOfferFieldsFragmentDoc}
14984
17274
  ${BaseSellerFieldsFragmentDoc}
@@ -15018,6 +17308,8 @@ export const BaseProductV1MetadataEntityFieldsFragmentDoc = gql`
15018
17308
  validFromDate
15019
17309
  validUntilDate
15020
17310
  quantityAvailable
17311
+ numberOfCommits
17312
+ numberOfRedemptions
15021
17313
  uuid
15022
17314
  product {
15023
17315
  ...BaseProductV1ProductFields
@@ -15114,9 +17406,15 @@ export const GetSellerByIdQueryDocument = gql`
15114
17406
  $exchangesOrderBy: Exchange_orderBy
15115
17407
  $exchangesOrderDirection: OrderDirection
15116
17408
  $exchangesFilter: Exchange_filter
17409
+ $logsSkip: Int
17410
+ $logsFirst: Int
17411
+ $logsOrderBy: EventLog_orderBy
17412
+ $logsOrderDirection: OrderDirection
17413
+ $logsFilter: EventLog_filter
15117
17414
  $includeExchanges: Boolean = false
15118
17415
  $includeOffers: Boolean = false
15119
17416
  $includeFunds: Boolean = false
17417
+ $includeLogs: Boolean = false
15120
17418
  ) {
15121
17419
  seller(id: $sellerId) {
15122
17420
  ...SellerFields
@@ -15146,9 +17444,15 @@ export const GetSellersQueryDocument = gql`
15146
17444
  $exchangesOrderBy: Exchange_orderBy
15147
17445
  $exchangesOrderDirection: OrderDirection
15148
17446
  $exchangesFilter: Exchange_filter
17447
+ $logsSkip: Int
17448
+ $logsFirst: Int
17449
+ $logsOrderBy: EventLog_orderBy
17450
+ $logsOrderDirection: OrderDirection
17451
+ $logsFilter: EventLog_filter
15149
17452
  $includeExchanges: Boolean = false
15150
17453
  $includeOffers: Boolean = false
15151
17454
  $includeFunds: Boolean = false
17455
+ $includeLogs: Boolean = false
15152
17456
  ) {
15153
17457
  sellers(
15154
17458
  skip: $sellersSkip
@@ -15175,8 +17479,14 @@ export const GetBuyerByIdQueryDocument = gql`
15175
17479
  $exchangesOrderBy: Exchange_orderBy
15176
17480
  $exchangesOrderDirection: OrderDirection
15177
17481
  $exchangesFilter: Exchange_filter
17482
+ $logsSkip: Int
17483
+ $logsFirst: Int
17484
+ $logsOrderBy: EventLog_orderBy
17485
+ $logsOrderDirection: OrderDirection
17486
+ $logsFilter: EventLog_filter
15178
17487
  $includeExchanges: Boolean = false
15179
17488
  $includeFunds: Boolean = false
17489
+ $includeLogs: Boolean = false
15180
17490
  ) {
15181
17491
  buyer(id: $buyerId) {
15182
17492
  ...BuyerFields
@@ -15206,9 +17516,15 @@ export const GetBuyersQueryDocument = gql`
15206
17516
  $exchangesOrderBy: Exchange_orderBy
15207
17517
  $exchangesOrderDirection: OrderDirection
15208
17518
  $exchangesFilter: Exchange_filter
17519
+ $logsSkip: Int
17520
+ $logsFirst: Int
17521
+ $logsOrderBy: EventLog_orderBy
17522
+ $logsOrderDirection: OrderDirection
17523
+ $logsFilter: EventLog_filter
15209
17524
  $includeExchanges: Boolean = false
15210
17525
  $includeOffers: Boolean = false
15211
17526
  $includeFunds: Boolean = false
17527
+ $includeLogs: Boolean = false
15212
17528
  ) {
15213
17529
  buyers(
15214
17530
  skip: $buyersSkip
@@ -15230,7 +17546,13 @@ export const GetDisputeResolverByIdQueryDocument = gql`
15230
17546
  $offersOrderBy: Offer_orderBy
15231
17547
  $offersOrderDirection: OrderDirection
15232
17548
  $offersFilter: Offer_filter
17549
+ $logsSkip: Int
17550
+ $logsFirst: Int
17551
+ $logsOrderBy: EventLog_orderBy
17552
+ $logsOrderDirection: OrderDirection
17553
+ $logsFilter: EventLog_filter
15233
17554
  $includeOffers: Boolean = false
17555
+ $includeLogs: Boolean = false
15234
17556
  ) {
15235
17557
  disputeResolver(id: $disputeResolverId) {
15236
17558
  ...DisputeResolverFields
@@ -15250,7 +17572,13 @@ export const GetDisputeResolversQueryDocument = gql`
15250
17572
  $offersOrderBy: Offer_orderBy
15251
17573
  $offersOrderDirection: OrderDirection
15252
17574
  $offersFilter: Offer_filter
17575
+ $logsSkip: Int
17576
+ $logsFirst: Int
17577
+ $logsOrderBy: EventLog_orderBy
17578
+ $logsOrderDirection: OrderDirection
17579
+ $logsFilter: EventLog_filter
15253
17580
  $includeOffers: Boolean = false
17581
+ $includeLogs: Boolean = false
15254
17582
  ) {
15255
17583
  disputeResolvers(
15256
17584
  skip: $disputeResolversSkip
@@ -15359,6 +17687,26 @@ export const GetExchangeTokensQueryDocument = gql`
15359
17687
  }
15360
17688
  ${ExchangeTokenFieldsFragmentDoc}
15361
17689
  `;
17690
+ export const GetEventLogsQueryDocument = gql`
17691
+ query getEventLogsQuery(
17692
+ $logsSkip: Int
17693
+ $logsFirst: Int
17694
+ $logsOrderBy: EventLog_orderBy
17695
+ $logsOrderDirection: OrderDirection
17696
+ $logsFilter: EventLog_filter
17697
+ ) {
17698
+ eventLogs(
17699
+ skip: $logsSkip
17700
+ first: $logsFirst
17701
+ orderBy: $logsOrderBy
17702
+ orderDirection: $logsOrderDirection
17703
+ where: $logsFilter
17704
+ ) {
17705
+ ...BaseEventLogFields
17706
+ }
17707
+ }
17708
+ ${BaseEventLogFieldsFragmentDoc}
17709
+ `;
15362
17710
  export const GetExchangeByIdQueryDocument = gql`
15363
17711
  query getExchangeByIdQuery($exchangeId: ID!) {
15364
17712
  exchange(id: $exchangeId) {
@@ -15735,6 +18083,21 @@ export function getSdk(
15735
18083
  "query"
15736
18084
  );
15737
18085
  },
18086
+ getEventLogsQuery(
18087
+ variables?: GetEventLogsQueryQueryVariables,
18088
+ requestHeaders?: Dom.RequestInit["headers"]
18089
+ ): Promise<GetEventLogsQueryQuery> {
18090
+ return withWrapper(
18091
+ (wrappedRequestHeaders) =>
18092
+ client.request<GetEventLogsQueryQuery>(
18093
+ GetEventLogsQueryDocument,
18094
+ variables,
18095
+ { ...requestHeaders, ...wrappedRequestHeaders }
18096
+ ),
18097
+ "getEventLogsQuery",
18098
+ "query"
18099
+ );
18100
+ },
15738
18101
  getExchangeByIdQuery(
15739
18102
  variables: GetExchangeByIdQueryQueryVariables,
15740
18103
  requestHeaders?: Dom.RequestInit["headers"]