@bosonprotocol/core-sdk 1.22.0-alpha.2 → 1.22.0-alpha.4

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 (86) hide show
  1. package/dist/cjs/core-sdk.d.ts +26 -1
  2. package/dist/cjs/core-sdk.d.ts.map +1 -1
  3. package/dist/cjs/core-sdk.js +51 -0
  4. package/dist/cjs/core-sdk.js.map +1 -1
  5. package/dist/cjs/groups/handler.d.ts +7 -0
  6. package/dist/cjs/groups/handler.d.ts.map +1 -0
  7. package/dist/cjs/groups/handler.js +23 -0
  8. package/dist/cjs/groups/handler.js.map +1 -0
  9. package/dist/cjs/groups/index.d.ts +4 -0
  10. package/dist/cjs/groups/index.d.ts.map +1 -0
  11. package/dist/cjs/groups/index.js +30 -0
  12. package/dist/cjs/groups/index.js.map +1 -0
  13. package/dist/cjs/groups/interface.d.ts +6 -0
  14. package/dist/cjs/groups/interface.d.ts.map +1 -0
  15. package/dist/cjs/groups/interface.js +29 -0
  16. package/dist/cjs/groups/interface.js.map +1 -0
  17. package/dist/cjs/groups/subgraph.d.ts +2 -0
  18. package/dist/cjs/groups/subgraph.d.ts.map +1 -0
  19. package/dist/cjs/groups/subgraph.js +5 -0
  20. package/dist/cjs/groups/subgraph.js.map +1 -0
  21. package/dist/cjs/index.d.ts +1 -0
  22. package/dist/cjs/index.d.ts.map +1 -1
  23. package/dist/cjs/index.js +2 -1
  24. package/dist/cjs/index.js.map +1 -1
  25. package/dist/cjs/orchestration/handler.d.ts +9 -1
  26. package/dist/cjs/orchestration/handler.d.ts.map +1 -1
  27. package/dist/cjs/orchestration/handler.js +18 -1
  28. package/dist/cjs/orchestration/handler.js.map +1 -1
  29. package/dist/cjs/orchestration/interface.d.ts +2 -0
  30. package/dist/cjs/orchestration/interface.d.ts.map +1 -1
  31. package/dist/cjs/orchestration/interface.js +13 -1
  32. package/dist/cjs/orchestration/interface.js.map +1 -1
  33. package/dist/cjs/subgraph.d.ts +509 -0
  34. package/dist/cjs/subgraph.d.ts.map +1 -1
  35. package/dist/cjs/subgraph.js +35 -3
  36. package/dist/cjs/subgraph.js.map +1 -1
  37. package/dist/esm/core-sdk.d.ts +26 -1
  38. package/dist/esm/core-sdk.d.ts.map +1 -1
  39. package/dist/esm/core-sdk.js +47 -0
  40. package/dist/esm/core-sdk.js.map +1 -1
  41. package/dist/esm/groups/handler.d.ts +7 -0
  42. package/dist/esm/groups/handler.d.ts.map +1 -0
  43. package/dist/esm/groups/handler.js +8 -0
  44. package/dist/esm/groups/handler.js.map +1 -0
  45. package/dist/esm/groups/index.d.ts +4 -0
  46. package/dist/esm/groups/index.d.ts.map +1 -0
  47. package/dist/esm/groups/index.js +4 -0
  48. package/dist/esm/groups/index.js.map +1 -0
  49. package/dist/esm/groups/interface.d.ts +6 -0
  50. package/dist/esm/groups/interface.d.ts.map +1 -0
  51. package/dist/esm/groups/interface.js +24 -0
  52. package/dist/esm/groups/interface.js.map +1 -0
  53. package/dist/esm/groups/subgraph.d.ts +2 -0
  54. package/dist/esm/groups/subgraph.d.ts.map +1 -0
  55. package/dist/esm/groups/subgraph.js +2 -0
  56. package/dist/esm/groups/subgraph.js.map +1 -0
  57. package/dist/esm/index.d.ts +1 -0
  58. package/dist/esm/index.d.ts.map +1 -1
  59. package/dist/esm/index.js +1 -0
  60. package/dist/esm/index.js.map +1 -1
  61. package/dist/esm/orchestration/handler.d.ts +9 -1
  62. package/dist/esm/orchestration/handler.d.ts.map +1 -1
  63. package/dist/esm/orchestration/handler.js +15 -1
  64. package/dist/esm/orchestration/handler.js.map +1 -1
  65. package/dist/esm/orchestration/interface.d.ts +2 -0
  66. package/dist/esm/orchestration/interface.d.ts.map +1 -1
  67. package/dist/esm/orchestration/interface.js +11 -0
  68. package/dist/esm/orchestration/interface.js.map +1 -1
  69. package/dist/esm/subgraph.d.ts +509 -0
  70. package/dist/esm/subgraph.d.ts.map +1 -1
  71. package/dist/esm/subgraph.js +32 -0
  72. package/dist/esm/subgraph.js.map +1 -1
  73. package/package.json +3 -3
  74. package/src/core-sdk.ts +65 -1
  75. package/src/groups/handler.ts +17 -0
  76. package/src/groups/index.ts +3 -0
  77. package/src/groups/interface.ts +36 -0
  78. package/src/groups/queries.graphql +9 -0
  79. package/src/groups/subgraph.ts +1 -0
  80. package/src/index.ts +1 -0
  81. package/src/metadata/base.graphql +1 -0
  82. package/src/metadata/product-v1.graphql +1 -0
  83. package/src/offers/queries.graphql +4 -0
  84. package/src/orchestration/handler.ts +30 -2
  85. package/src/orchestration/interface.ts +19 -1
  86. package/src/subgraph.ts +534 -0
package/src/subgraph.ts CHANGED
@@ -172,6 +172,7 @@ export type BaseMetadataEntity = MetadataInterface & {
172
172
  __typename?: "BaseMetadataEntity";
173
173
  animationUrl?: Maybe<Scalars["String"]>;
174
174
  attributes?: Maybe<Array<MetadataAttribute>>;
175
+ condition?: Maybe<Scalars["String"]>;
175
176
  /**
176
177
  * Enriched fields from offer entity to allow nested query workaround
177
178
  *
@@ -243,6 +244,26 @@ export type BaseMetadataEntity_Filter = {
243
244
  attributes_not?: InputMaybe<Array<Scalars["String"]>>;
244
245
  attributes_not_contains?: InputMaybe<Array<Scalars["String"]>>;
245
246
  attributes_not_contains_nocase?: InputMaybe<Array<Scalars["String"]>>;
247
+ condition?: InputMaybe<Scalars["String"]>;
248
+ condition_contains?: InputMaybe<Scalars["String"]>;
249
+ condition_contains_nocase?: InputMaybe<Scalars["String"]>;
250
+ condition_ends_with?: InputMaybe<Scalars["String"]>;
251
+ condition_ends_with_nocase?: InputMaybe<Scalars["String"]>;
252
+ condition_gt?: InputMaybe<Scalars["String"]>;
253
+ condition_gte?: InputMaybe<Scalars["String"]>;
254
+ condition_in?: InputMaybe<Array<Scalars["String"]>>;
255
+ condition_lt?: InputMaybe<Scalars["String"]>;
256
+ condition_lte?: InputMaybe<Scalars["String"]>;
257
+ condition_not?: InputMaybe<Scalars["String"]>;
258
+ condition_not_contains?: InputMaybe<Scalars["String"]>;
259
+ condition_not_contains_nocase?: InputMaybe<Scalars["String"]>;
260
+ condition_not_ends_with?: InputMaybe<Scalars["String"]>;
261
+ condition_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
262
+ condition_not_in?: InputMaybe<Array<Scalars["String"]>>;
263
+ condition_not_starts_with?: InputMaybe<Scalars["String"]>;
264
+ condition_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
265
+ condition_starts_with?: InputMaybe<Scalars["String"]>;
266
+ condition_starts_with_nocase?: InputMaybe<Scalars["String"]>;
246
267
  createdAt?: InputMaybe<Scalars["BigInt"]>;
247
268
  createdAt_gt?: InputMaybe<Scalars["BigInt"]>;
248
269
  createdAt_gte?: InputMaybe<Scalars["BigInt"]>;
@@ -495,6 +516,7 @@ export type BaseMetadataEntity_Filter = {
495
516
  export enum BaseMetadataEntity_OrderBy {
496
517
  AnimationUrl = "animationUrl",
497
518
  Attributes = "attributes",
519
+ Condition = "condition",
498
520
  CreatedAt = "createdAt",
499
521
  Description = "description",
500
522
  ExchangeToken = "exchangeToken",
@@ -593,6 +615,90 @@ export enum Buyer_OrderBy {
593
615
  Wallet = "wallet"
594
616
  }
595
617
 
618
+ /**
619
+ * Groups
620
+ *
621
+ */
622
+ export type ConditionEntity = {
623
+ __typename?: "ConditionEntity";
624
+ id: Scalars["ID"];
625
+ maxCommits: Scalars["BigInt"];
626
+ method: Scalars["Int"];
627
+ threshold: Scalars["BigInt"];
628
+ tokenAddress: Scalars["Bytes"];
629
+ tokenId: Scalars["BigInt"];
630
+ tokenType: Scalars["Int"];
631
+ };
632
+
633
+ export type ConditionEntity_Filter = {
634
+ /** Filter for the block changed event. */
635
+ _change_block?: InputMaybe<BlockChangedFilter>;
636
+ id?: InputMaybe<Scalars["ID"]>;
637
+ id_gt?: InputMaybe<Scalars["ID"]>;
638
+ id_gte?: InputMaybe<Scalars["ID"]>;
639
+ id_in?: InputMaybe<Array<Scalars["ID"]>>;
640
+ id_lt?: InputMaybe<Scalars["ID"]>;
641
+ id_lte?: InputMaybe<Scalars["ID"]>;
642
+ id_not?: InputMaybe<Scalars["ID"]>;
643
+ id_not_in?: InputMaybe<Array<Scalars["ID"]>>;
644
+ maxCommits?: InputMaybe<Scalars["BigInt"]>;
645
+ maxCommits_gt?: InputMaybe<Scalars["BigInt"]>;
646
+ maxCommits_gte?: InputMaybe<Scalars["BigInt"]>;
647
+ maxCommits_in?: InputMaybe<Array<Scalars["BigInt"]>>;
648
+ maxCommits_lt?: InputMaybe<Scalars["BigInt"]>;
649
+ maxCommits_lte?: InputMaybe<Scalars["BigInt"]>;
650
+ maxCommits_not?: InputMaybe<Scalars["BigInt"]>;
651
+ maxCommits_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
652
+ method?: InputMaybe<Scalars["Int"]>;
653
+ method_gt?: InputMaybe<Scalars["Int"]>;
654
+ method_gte?: InputMaybe<Scalars["Int"]>;
655
+ method_in?: InputMaybe<Array<Scalars["Int"]>>;
656
+ method_lt?: InputMaybe<Scalars["Int"]>;
657
+ method_lte?: InputMaybe<Scalars["Int"]>;
658
+ method_not?: InputMaybe<Scalars["Int"]>;
659
+ method_not_in?: InputMaybe<Array<Scalars["Int"]>>;
660
+ threshold?: InputMaybe<Scalars["BigInt"]>;
661
+ threshold_gt?: InputMaybe<Scalars["BigInt"]>;
662
+ threshold_gte?: InputMaybe<Scalars["BigInt"]>;
663
+ threshold_in?: InputMaybe<Array<Scalars["BigInt"]>>;
664
+ threshold_lt?: InputMaybe<Scalars["BigInt"]>;
665
+ threshold_lte?: InputMaybe<Scalars["BigInt"]>;
666
+ threshold_not?: InputMaybe<Scalars["BigInt"]>;
667
+ threshold_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
668
+ tokenAddress?: InputMaybe<Scalars["Bytes"]>;
669
+ tokenAddress_contains?: InputMaybe<Scalars["Bytes"]>;
670
+ tokenAddress_in?: InputMaybe<Array<Scalars["Bytes"]>>;
671
+ tokenAddress_not?: InputMaybe<Scalars["Bytes"]>;
672
+ tokenAddress_not_contains?: InputMaybe<Scalars["Bytes"]>;
673
+ tokenAddress_not_in?: InputMaybe<Array<Scalars["Bytes"]>>;
674
+ tokenId?: InputMaybe<Scalars["BigInt"]>;
675
+ tokenId_gt?: InputMaybe<Scalars["BigInt"]>;
676
+ tokenId_gte?: InputMaybe<Scalars["BigInt"]>;
677
+ tokenId_in?: InputMaybe<Array<Scalars["BigInt"]>>;
678
+ tokenId_lt?: InputMaybe<Scalars["BigInt"]>;
679
+ tokenId_lte?: InputMaybe<Scalars["BigInt"]>;
680
+ tokenId_not?: InputMaybe<Scalars["BigInt"]>;
681
+ tokenId_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
682
+ tokenType?: InputMaybe<Scalars["Int"]>;
683
+ tokenType_gt?: InputMaybe<Scalars["Int"]>;
684
+ tokenType_gte?: InputMaybe<Scalars["Int"]>;
685
+ tokenType_in?: InputMaybe<Array<Scalars["Int"]>>;
686
+ tokenType_lt?: InputMaybe<Scalars["Int"]>;
687
+ tokenType_lte?: InputMaybe<Scalars["Int"]>;
688
+ tokenType_not?: InputMaybe<Scalars["Int"]>;
689
+ tokenType_not_in?: InputMaybe<Array<Scalars["Int"]>>;
690
+ };
691
+
692
+ export enum ConditionEntity_OrderBy {
693
+ Id = "id",
694
+ MaxCommits = "maxCommits",
695
+ Method = "method",
696
+ Threshold = "threshold",
697
+ TokenAddress = "tokenAddress",
698
+ TokenId = "tokenId",
699
+ TokenType = "tokenType"
700
+ }
701
+
596
702
  export type Dispute = {
597
703
  __typename?: "Dispute";
598
704
  buyer: Buyer;
@@ -2199,6 +2305,7 @@ export enum MetadataAttribute_OrderBy {
2199
2305
  export type MetadataInterface = {
2200
2306
  animationUrl?: Maybe<Scalars["String"]>;
2201
2307
  attributes?: Maybe<Array<MetadataAttribute>>;
2308
+ condition?: Maybe<Scalars["String"]>;
2202
2309
  /**
2203
2310
  * Enriched fields from offer entity to allow nested query workaround
2204
2311
  *
@@ -2269,6 +2376,26 @@ export type MetadataInterface_Filter = {
2269
2376
  attributes_not?: InputMaybe<Array<Scalars["String"]>>;
2270
2377
  attributes_not_contains?: InputMaybe<Array<Scalars["String"]>>;
2271
2378
  attributes_not_contains_nocase?: InputMaybe<Array<Scalars["String"]>>;
2379
+ condition?: InputMaybe<Scalars["String"]>;
2380
+ condition_contains?: InputMaybe<Scalars["String"]>;
2381
+ condition_contains_nocase?: InputMaybe<Scalars["String"]>;
2382
+ condition_ends_with?: InputMaybe<Scalars["String"]>;
2383
+ condition_ends_with_nocase?: InputMaybe<Scalars["String"]>;
2384
+ condition_gt?: InputMaybe<Scalars["String"]>;
2385
+ condition_gte?: InputMaybe<Scalars["String"]>;
2386
+ condition_in?: InputMaybe<Array<Scalars["String"]>>;
2387
+ condition_lt?: InputMaybe<Scalars["String"]>;
2388
+ condition_lte?: InputMaybe<Scalars["String"]>;
2389
+ condition_not?: InputMaybe<Scalars["String"]>;
2390
+ condition_not_contains?: InputMaybe<Scalars["String"]>;
2391
+ condition_not_contains_nocase?: InputMaybe<Scalars["String"]>;
2392
+ condition_not_ends_with?: InputMaybe<Scalars["String"]>;
2393
+ condition_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
2394
+ condition_not_in?: InputMaybe<Array<Scalars["String"]>>;
2395
+ condition_not_starts_with?: InputMaybe<Scalars["String"]>;
2396
+ condition_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
2397
+ condition_starts_with?: InputMaybe<Scalars["String"]>;
2398
+ condition_starts_with_nocase?: InputMaybe<Scalars["String"]>;
2272
2399
  createdAt?: InputMaybe<Scalars["BigInt"]>;
2273
2400
  createdAt_gt?: InputMaybe<Scalars["BigInt"]>;
2274
2401
  createdAt_gte?: InputMaybe<Scalars["BigInt"]>;
@@ -2521,6 +2648,7 @@ export type MetadataInterface_Filter = {
2521
2648
  export enum MetadataInterface_OrderBy {
2522
2649
  AnimationUrl = "animationUrl",
2523
2650
  Attributes = "attributes",
2651
+ Condition = "condition",
2524
2652
  CreatedAt = "createdAt",
2525
2653
  Description = "description",
2526
2654
  ExchangeToken = "exchangeToken",
@@ -2555,6 +2683,7 @@ export type Offer = {
2555
2683
  agentFee: Scalars["BigInt"];
2556
2684
  agentId: Scalars["BigInt"];
2557
2685
  buyerCancelPenalty: Scalars["BigInt"];
2686
+ condition?: Maybe<ConditionEntity>;
2558
2687
  createdAt: Scalars["BigInt"];
2559
2688
  /** Offer durations */
2560
2689
  disputePeriodDuration: Scalars["BigInt"];
@@ -2740,6 +2869,27 @@ export type Offer_Filter = {
2740
2869
  buyerCancelPenalty_lte?: InputMaybe<Scalars["BigInt"]>;
2741
2870
  buyerCancelPenalty_not?: InputMaybe<Scalars["BigInt"]>;
2742
2871
  buyerCancelPenalty_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
2872
+ condition?: InputMaybe<Scalars["String"]>;
2873
+ condition_?: InputMaybe<ConditionEntity_Filter>;
2874
+ condition_contains?: InputMaybe<Scalars["String"]>;
2875
+ condition_contains_nocase?: InputMaybe<Scalars["String"]>;
2876
+ condition_ends_with?: InputMaybe<Scalars["String"]>;
2877
+ condition_ends_with_nocase?: InputMaybe<Scalars["String"]>;
2878
+ condition_gt?: InputMaybe<Scalars["String"]>;
2879
+ condition_gte?: InputMaybe<Scalars["String"]>;
2880
+ condition_in?: InputMaybe<Array<Scalars["String"]>>;
2881
+ condition_lt?: InputMaybe<Scalars["String"]>;
2882
+ condition_lte?: InputMaybe<Scalars["String"]>;
2883
+ condition_not?: InputMaybe<Scalars["String"]>;
2884
+ condition_not_contains?: InputMaybe<Scalars["String"]>;
2885
+ condition_not_contains_nocase?: InputMaybe<Scalars["String"]>;
2886
+ condition_not_ends_with?: InputMaybe<Scalars["String"]>;
2887
+ condition_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
2888
+ condition_not_in?: InputMaybe<Array<Scalars["String"]>>;
2889
+ condition_not_starts_with?: InputMaybe<Scalars["String"]>;
2890
+ condition_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
2891
+ condition_starts_with?: InputMaybe<Scalars["String"]>;
2892
+ condition_starts_with_nocase?: InputMaybe<Scalars["String"]>;
2743
2893
  createdAt?: InputMaybe<Scalars["BigInt"]>;
2744
2894
  createdAt_gt?: InputMaybe<Scalars["BigInt"]>;
2745
2895
  createdAt_gte?: InputMaybe<Scalars["BigInt"]>;
@@ -3047,6 +3197,7 @@ export enum Offer_OrderBy {
3047
3197
  AgentFee = "agentFee",
3048
3198
  AgentId = "agentId",
3049
3199
  BuyerCancelPenalty = "buyerCancelPenalty",
3200
+ Condition = "condition",
3050
3201
  CreatedAt = "createdAt",
3051
3202
  DisputePeriodDuration = "disputePeriodDuration",
3052
3203
  DisputeResolutionTerms = "disputeResolutionTerms",
@@ -3413,6 +3564,7 @@ export type ProductV1MetadataEntity = MetadataInterface & {
3413
3564
  __typename?: "ProductV1MetadataEntity";
3414
3565
  animationUrl?: Maybe<Scalars["String"]>;
3415
3566
  attributes?: Maybe<Array<MetadataAttribute>>;
3567
+ condition?: Maybe<Scalars["String"]>;
3416
3568
  /**
3417
3569
  * Enriched fields from offer entity to allow nested query workaround
3418
3570
  *
@@ -3505,6 +3657,26 @@ export type ProductV1MetadataEntity_Filter = {
3505
3657
  attributes_not?: InputMaybe<Array<Scalars["String"]>>;
3506
3658
  attributes_not_contains?: InputMaybe<Array<Scalars["String"]>>;
3507
3659
  attributes_not_contains_nocase?: InputMaybe<Array<Scalars["String"]>>;
3660
+ condition?: InputMaybe<Scalars["String"]>;
3661
+ condition_contains?: InputMaybe<Scalars["String"]>;
3662
+ condition_contains_nocase?: InputMaybe<Scalars["String"]>;
3663
+ condition_ends_with?: InputMaybe<Scalars["String"]>;
3664
+ condition_ends_with_nocase?: InputMaybe<Scalars["String"]>;
3665
+ condition_gt?: InputMaybe<Scalars["String"]>;
3666
+ condition_gte?: InputMaybe<Scalars["String"]>;
3667
+ condition_in?: InputMaybe<Array<Scalars["String"]>>;
3668
+ condition_lt?: InputMaybe<Scalars["String"]>;
3669
+ condition_lte?: InputMaybe<Scalars["String"]>;
3670
+ condition_not?: InputMaybe<Scalars["String"]>;
3671
+ condition_not_contains?: InputMaybe<Scalars["String"]>;
3672
+ condition_not_contains_nocase?: InputMaybe<Scalars["String"]>;
3673
+ condition_not_ends_with?: InputMaybe<Scalars["String"]>;
3674
+ condition_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
3675
+ condition_not_in?: InputMaybe<Array<Scalars["String"]>>;
3676
+ condition_not_starts_with?: InputMaybe<Scalars["String"]>;
3677
+ condition_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
3678
+ condition_starts_with?: InputMaybe<Scalars["String"]>;
3679
+ condition_starts_with_nocase?: InputMaybe<Scalars["String"]>;
3508
3680
  createdAt?: InputMaybe<Scalars["BigInt"]>;
3509
3681
  createdAt_gt?: InputMaybe<Scalars["BigInt"]>;
3510
3682
  createdAt_gte?: InputMaybe<Scalars["BigInt"]>;
@@ -3917,6 +4089,7 @@ export type ProductV1MetadataEntity_Filter = {
3917
4089
  export enum ProductV1MetadataEntity_OrderBy {
3918
4090
  AnimationUrl = "animationUrl",
3919
4091
  Attributes = "attributes",
4092
+ Condition = "condition",
3920
4093
  CreatedAt = "createdAt",
3921
4094
  Description = "description",
3922
4095
  ExchangePolicy = "exchangePolicy",
@@ -6095,6 +6268,8 @@ export type Query = {
6095
6268
  baseMetadataEntity?: Maybe<BaseMetadataEntity>;
6096
6269
  buyer?: Maybe<Buyer>;
6097
6270
  buyers: Array<Buyer>;
6271
+ conditionEntities: Array<ConditionEntity>;
6272
+ conditionEntity?: Maybe<ConditionEntity>;
6098
6273
  dispute?: Maybe<Dispute>;
6099
6274
  disputeEventLog?: Maybe<DisputeEventLog>;
6100
6275
  disputeEventLogs: Array<DisputeEventLog>;
@@ -6226,6 +6401,22 @@ export type QueryBuyersArgs = {
6226
6401
  where?: InputMaybe<Buyer_Filter>;
6227
6402
  };
6228
6403
 
6404
+ export type QueryConditionEntitiesArgs = {
6405
+ block?: InputMaybe<Block_Height>;
6406
+ first?: InputMaybe<Scalars["Int"]>;
6407
+ orderBy?: InputMaybe<ConditionEntity_OrderBy>;
6408
+ orderDirection?: InputMaybe<OrderDirection>;
6409
+ skip?: InputMaybe<Scalars["Int"]>;
6410
+ subgraphError?: _SubgraphErrorPolicy_;
6411
+ where?: InputMaybe<ConditionEntity_Filter>;
6412
+ };
6413
+
6414
+ export type QueryConditionEntityArgs = {
6415
+ block?: InputMaybe<Block_Height>;
6416
+ id: Scalars["ID"];
6417
+ subgraphError?: _SubgraphErrorPolicy_;
6418
+ };
6419
+
6229
6420
  export type QueryDisputeArgs = {
6230
6421
  block?: InputMaybe<Block_Height>;
6231
6422
  id: Scalars["ID"];
@@ -6902,6 +7093,8 @@ export type Subscription = {
6902
7093
  baseMetadataEntity?: Maybe<BaseMetadataEntity>;
6903
7094
  buyer?: Maybe<Buyer>;
6904
7095
  buyers: Array<Buyer>;
7096
+ conditionEntities: Array<ConditionEntity>;
7097
+ conditionEntity?: Maybe<ConditionEntity>;
6905
7098
  dispute?: Maybe<Dispute>;
6906
7099
  disputeEventLog?: Maybe<DisputeEventLog>;
6907
7100
  disputeEventLogs: Array<DisputeEventLog>;
@@ -7033,6 +7226,22 @@ export type SubscriptionBuyersArgs = {
7033
7226
  where?: InputMaybe<Buyer_Filter>;
7034
7227
  };
7035
7228
 
7229
+ export type SubscriptionConditionEntitiesArgs = {
7230
+ block?: InputMaybe<Block_Height>;
7231
+ first?: InputMaybe<Scalars["Int"]>;
7232
+ orderBy?: InputMaybe<ConditionEntity_OrderBy>;
7233
+ orderDirection?: InputMaybe<OrderDirection>;
7234
+ skip?: InputMaybe<Scalars["Int"]>;
7235
+ subgraphError?: _SubgraphErrorPolicy_;
7236
+ where?: InputMaybe<ConditionEntity_Filter>;
7237
+ };
7238
+
7239
+ export type SubscriptionConditionEntityArgs = {
7240
+ block?: InputMaybe<Block_Height>;
7241
+ id: Scalars["ID"];
7242
+ subgraphError?: _SubgraphErrorPolicy_;
7243
+ };
7244
+
7036
7245
  export type SubscriptionDisputeArgs = {
7037
7246
  block?: InputMaybe<Block_Height>;
7038
7247
  id: Scalars["ID"];
@@ -7638,6 +7847,16 @@ export type GetSellerByIdQueryQuery = {
7638
7847
  disputeResolverId: string;
7639
7848
  numberOfCommits: string;
7640
7849
  numberOfRedemptions: string;
7850
+ condition?: {
7851
+ __typename?: "ConditionEntity";
7852
+ id: string;
7853
+ method: number;
7854
+ tokenType: number;
7855
+ tokenAddress: string;
7856
+ tokenId: string;
7857
+ threshold: string;
7858
+ maxCommits: string;
7859
+ } | null;
7641
7860
  seller: {
7642
7861
  __typename?: "Seller";
7643
7862
  id: string;
@@ -7703,6 +7922,7 @@ export type GetSellerByIdQueryQuery = {
7703
7922
  externalUrl: string;
7704
7923
  animationUrl?: string | null;
7705
7924
  licenseUrl: string;
7925
+ condition?: string | null;
7706
7926
  schemaUrl: string;
7707
7927
  type: MetadataType;
7708
7928
  }
@@ -7720,6 +7940,7 @@ export type GetSellerByIdQueryQuery = {
7720
7940
  externalUrl: string;
7721
7941
  animationUrl?: string | null;
7722
7942
  licenseUrl: string;
7943
+ condition?: string | null;
7723
7944
  schemaUrl: string;
7724
7945
  type: MetadataType;
7725
7946
  attributes?: Array<{
@@ -8125,6 +8346,16 @@ export type GetSellersQueryQuery = {
8125
8346
  disputeResolverId: string;
8126
8347
  numberOfCommits: string;
8127
8348
  numberOfRedemptions: string;
8349
+ condition?: {
8350
+ __typename?: "ConditionEntity";
8351
+ id: string;
8352
+ method: number;
8353
+ tokenType: number;
8354
+ tokenAddress: string;
8355
+ tokenId: string;
8356
+ threshold: string;
8357
+ maxCommits: string;
8358
+ } | null;
8128
8359
  seller: {
8129
8360
  __typename?: "Seller";
8130
8361
  id: string;
@@ -8190,6 +8421,7 @@ export type GetSellersQueryQuery = {
8190
8421
  externalUrl: string;
8191
8422
  animationUrl?: string | null;
8192
8423
  licenseUrl: string;
8424
+ condition?: string | null;
8193
8425
  schemaUrl: string;
8194
8426
  type: MetadataType;
8195
8427
  }
@@ -8207,6 +8439,7 @@ export type GetSellersQueryQuery = {
8207
8439
  externalUrl: string;
8208
8440
  animationUrl?: string | null;
8209
8441
  licenseUrl: string;
8442
+ condition?: string | null;
8210
8443
  schemaUrl: string;
8211
8444
  type: MetadataType;
8212
8445
  attributes?: Array<{
@@ -8922,6 +9155,16 @@ export type GetDisputeResolverByIdQueryQuery = {
8922
9155
  disputeResolverId: string;
8923
9156
  numberOfCommits: string;
8924
9157
  numberOfRedemptions: string;
9158
+ condition?: {
9159
+ __typename?: "ConditionEntity";
9160
+ id: string;
9161
+ method: number;
9162
+ tokenType: number;
9163
+ tokenAddress: string;
9164
+ tokenId: string;
9165
+ threshold: string;
9166
+ maxCommits: string;
9167
+ } | null;
8925
9168
  seller: {
8926
9169
  __typename?: "Seller";
8927
9170
  id: string;
@@ -8987,6 +9230,7 @@ export type GetDisputeResolverByIdQueryQuery = {
8987
9230
  externalUrl: string;
8988
9231
  animationUrl?: string | null;
8989
9232
  licenseUrl: string;
9233
+ condition?: string | null;
8990
9234
  schemaUrl: string;
8991
9235
  type: MetadataType;
8992
9236
  }
@@ -9004,6 +9248,7 @@ export type GetDisputeResolverByIdQueryQuery = {
9004
9248
  externalUrl: string;
9005
9249
  animationUrl?: string | null;
9006
9250
  licenseUrl: string;
9251
+ condition?: string | null;
9007
9252
  schemaUrl: string;
9008
9253
  type: MetadataType;
9009
9254
  attributes?: Array<{
@@ -9346,6 +9591,16 @@ export type GetDisputeResolversQueryQuery = {
9346
9591
  disputeResolverId: string;
9347
9592
  numberOfCommits: string;
9348
9593
  numberOfRedemptions: string;
9594
+ condition?: {
9595
+ __typename?: "ConditionEntity";
9596
+ id: string;
9597
+ method: number;
9598
+ tokenType: number;
9599
+ tokenAddress: string;
9600
+ tokenId: string;
9601
+ threshold: string;
9602
+ maxCommits: string;
9603
+ } | null;
9349
9604
  seller: {
9350
9605
  __typename?: "Seller";
9351
9606
  id: string;
@@ -9411,6 +9666,7 @@ export type GetDisputeResolversQueryQuery = {
9411
9666
  externalUrl: string;
9412
9667
  animationUrl?: string | null;
9413
9668
  licenseUrl: string;
9669
+ condition?: string | null;
9414
9670
  schemaUrl: string;
9415
9671
  type: MetadataType;
9416
9672
  }
@@ -9428,6 +9684,7 @@ export type GetDisputeResolversQueryQuery = {
9428
9684
  externalUrl: string;
9429
9685
  animationUrl?: string | null;
9430
9686
  licenseUrl: string;
9687
+ condition?: string | null;
9431
9688
  schemaUrl: string;
9432
9689
  type: MetadataType;
9433
9690
  attributes?: Array<{
@@ -9764,6 +10021,16 @@ export type SellerFieldsFragment = {
9764
10021
  disputeResolverId: string;
9765
10022
  numberOfCommits: string;
9766
10023
  numberOfRedemptions: string;
10024
+ condition?: {
10025
+ __typename?: "ConditionEntity";
10026
+ id: string;
10027
+ method: number;
10028
+ tokenType: number;
10029
+ tokenAddress: string;
10030
+ tokenId: string;
10031
+ threshold: string;
10032
+ maxCommits: string;
10033
+ } | null;
9767
10034
  seller: {
9768
10035
  __typename?: "Seller";
9769
10036
  id: string;
@@ -9829,6 +10096,7 @@ export type SellerFieldsFragment = {
9829
10096
  externalUrl: string;
9830
10097
  animationUrl?: string | null;
9831
10098
  licenseUrl: string;
10099
+ condition?: string | null;
9832
10100
  schemaUrl: string;
9833
10101
  type: MetadataType;
9834
10102
  }
@@ -9846,6 +10114,7 @@ export type SellerFieldsFragment = {
9846
10114
  externalUrl: string;
9847
10115
  animationUrl?: string | null;
9848
10116
  licenseUrl: string;
10117
+ condition?: string | null;
9849
10118
  schemaUrl: string;
9850
10119
  type: MetadataType;
9851
10120
  attributes?: Array<{
@@ -10359,6 +10628,16 @@ export type DisputeResolverFieldsFragment = {
10359
10628
  disputeResolverId: string;
10360
10629
  numberOfCommits: string;
10361
10630
  numberOfRedemptions: string;
10631
+ condition?: {
10632
+ __typename?: "ConditionEntity";
10633
+ id: string;
10634
+ method: number;
10635
+ tokenType: number;
10636
+ tokenAddress: string;
10637
+ tokenId: string;
10638
+ threshold: string;
10639
+ maxCommits: string;
10640
+ } | null;
10362
10641
  seller: {
10363
10642
  __typename?: "Seller";
10364
10643
  id: string;
@@ -10424,6 +10703,7 @@ export type DisputeResolverFieldsFragment = {
10424
10703
  externalUrl: string;
10425
10704
  animationUrl?: string | null;
10426
10705
  licenseUrl: string;
10706
+ condition?: string | null;
10427
10707
  schemaUrl: string;
10428
10708
  type: MetadataType;
10429
10709
  }
@@ -10441,6 +10721,7 @@ export type DisputeResolverFieldsFragment = {
10441
10721
  externalUrl: string;
10442
10722
  animationUrl?: string | null;
10443
10723
  licenseUrl: string;
10724
+ condition?: string | null;
10444
10725
  schemaUrl: string;
10445
10726
  type: MetadataType;
10446
10727
  attributes?: Array<{
@@ -11121,6 +11402,16 @@ export type GetExchangeTokenByIdQueryQuery = {
11121
11402
  disputeResolverId: string;
11122
11403
  numberOfCommits: string;
11123
11404
  numberOfRedemptions: string;
11405
+ condition?: {
11406
+ __typename?: "ConditionEntity";
11407
+ id: string;
11408
+ method: number;
11409
+ tokenType: number;
11410
+ tokenAddress: string;
11411
+ tokenId: string;
11412
+ threshold: string;
11413
+ maxCommits: string;
11414
+ } | null;
11124
11415
  seller: {
11125
11416
  __typename?: "Seller";
11126
11417
  id: string;
@@ -11186,6 +11477,7 @@ export type GetExchangeTokenByIdQueryQuery = {
11186
11477
  externalUrl: string;
11187
11478
  animationUrl?: string | null;
11188
11479
  licenseUrl: string;
11480
+ condition?: string | null;
11189
11481
  schemaUrl: string;
11190
11482
  type: MetadataType;
11191
11483
  }
@@ -11203,6 +11495,7 @@ export type GetExchangeTokenByIdQueryQuery = {
11203
11495
  externalUrl: string;
11204
11496
  animationUrl?: string | null;
11205
11497
  licenseUrl: string;
11498
+ condition?: string | null;
11206
11499
  schemaUrl: string;
11207
11500
  type: MetadataType;
11208
11501
  attributes?: Array<{
@@ -11462,6 +11755,16 @@ export type GetExchangeTokensQueryQuery = {
11462
11755
  disputeResolverId: string;
11463
11756
  numberOfCommits: string;
11464
11757
  numberOfRedemptions: string;
11758
+ condition?: {
11759
+ __typename?: "ConditionEntity";
11760
+ id: string;
11761
+ method: number;
11762
+ tokenType: number;
11763
+ tokenAddress: string;
11764
+ tokenId: string;
11765
+ threshold: string;
11766
+ maxCommits: string;
11767
+ } | null;
11465
11768
  seller: {
11466
11769
  __typename?: "Seller";
11467
11770
  id: string;
@@ -11527,6 +11830,7 @@ export type GetExchangeTokensQueryQuery = {
11527
11830
  externalUrl: string;
11528
11831
  animationUrl?: string | null;
11529
11832
  licenseUrl: string;
11833
+ condition?: string | null;
11530
11834
  schemaUrl: string;
11531
11835
  type: MetadataType;
11532
11836
  }
@@ -11544,6 +11848,7 @@ export type GetExchangeTokensQueryQuery = {
11544
11848
  externalUrl: string;
11545
11849
  animationUrl?: string | null;
11546
11850
  licenseUrl: string;
11851
+ condition?: string | null;
11547
11852
  schemaUrl: string;
11548
11853
  type: MetadataType;
11549
11854
  attributes?: Array<{
@@ -11781,6 +12086,16 @@ export type ExchangeTokenFieldsFragment = {
11781
12086
  disputeResolverId: string;
11782
12087
  numberOfCommits: string;
11783
12088
  numberOfRedemptions: string;
12089
+ condition?: {
12090
+ __typename?: "ConditionEntity";
12091
+ id: string;
12092
+ method: number;
12093
+ tokenType: number;
12094
+ tokenAddress: string;
12095
+ tokenId: string;
12096
+ threshold: string;
12097
+ maxCommits: string;
12098
+ } | null;
11784
12099
  seller: {
11785
12100
  __typename?: "Seller";
11786
12101
  id: string;
@@ -11846,6 +12161,7 @@ export type ExchangeTokenFieldsFragment = {
11846
12161
  externalUrl: string;
11847
12162
  animationUrl?: string | null;
11848
12163
  licenseUrl: string;
12164
+ condition?: string | null;
11849
12165
  schemaUrl: string;
11850
12166
  type: MetadataType;
11851
12167
  }
@@ -11863,6 +12179,7 @@ export type ExchangeTokenFieldsFragment = {
11863
12179
  externalUrl: string;
11864
12180
  animationUrl?: string | null;
11865
12181
  licenseUrl: string;
12182
+ condition?: string | null;
11866
12183
  schemaUrl: string;
11867
12184
  type: MetadataType;
11868
12185
  attributes?: Array<{
@@ -12279,6 +12596,16 @@ export type GetExchangeByIdQueryQuery = {
12279
12596
  disputeResolverId: string;
12280
12597
  numberOfCommits: string;
12281
12598
  numberOfRedemptions: string;
12599
+ condition?: {
12600
+ __typename?: "ConditionEntity";
12601
+ id: string;
12602
+ method: number;
12603
+ tokenType: number;
12604
+ tokenAddress: string;
12605
+ tokenId: string;
12606
+ threshold: string;
12607
+ maxCommits: string;
12608
+ } | null;
12282
12609
  seller: {
12283
12610
  __typename?: "Seller";
12284
12611
  id: string;
@@ -12344,6 +12671,7 @@ export type GetExchangeByIdQueryQuery = {
12344
12671
  externalUrl: string;
12345
12672
  animationUrl?: string | null;
12346
12673
  licenseUrl: string;
12674
+ condition?: string | null;
12347
12675
  schemaUrl: string;
12348
12676
  type: MetadataType;
12349
12677
  }
@@ -12361,6 +12689,7 @@ export type GetExchangeByIdQueryQuery = {
12361
12689
  externalUrl: string;
12362
12690
  animationUrl?: string | null;
12363
12691
  licenseUrl: string;
12692
+ condition?: string | null;
12364
12693
  schemaUrl: string;
12365
12694
  type: MetadataType;
12366
12695
  attributes?: Array<{
@@ -12644,6 +12973,16 @@ export type GetExchangesQueryQuery = {
12644
12973
  disputeResolverId: string;
12645
12974
  numberOfCommits: string;
12646
12975
  numberOfRedemptions: string;
12976
+ condition?: {
12977
+ __typename?: "ConditionEntity";
12978
+ id: string;
12979
+ method: number;
12980
+ tokenType: number;
12981
+ tokenAddress: string;
12982
+ tokenId: string;
12983
+ threshold: string;
12984
+ maxCommits: string;
12985
+ } | null;
12647
12986
  seller: {
12648
12987
  __typename?: "Seller";
12649
12988
  id: string;
@@ -12709,6 +13048,7 @@ export type GetExchangesQueryQuery = {
12709
13048
  externalUrl: string;
12710
13049
  animationUrl?: string | null;
12711
13050
  licenseUrl: string;
13051
+ condition?: string | null;
12712
13052
  schemaUrl: string;
12713
13053
  type: MetadataType;
12714
13054
  }
@@ -12726,6 +13066,7 @@ export type GetExchangesQueryQuery = {
12726
13066
  externalUrl: string;
12727
13067
  animationUrl?: string | null;
12728
13068
  licenseUrl: string;
13069
+ condition?: string | null;
12729
13070
  schemaUrl: string;
12730
13071
  type: MetadataType;
12731
13072
  attributes?: Array<{
@@ -12999,6 +13340,16 @@ export type ExchangeFieldsFragment = {
12999
13340
  disputeResolverId: string;
13000
13341
  numberOfCommits: string;
13001
13342
  numberOfRedemptions: string;
13343
+ condition?: {
13344
+ __typename?: "ConditionEntity";
13345
+ id: string;
13346
+ method: number;
13347
+ tokenType: number;
13348
+ tokenAddress: string;
13349
+ tokenId: string;
13350
+ threshold: string;
13351
+ maxCommits: string;
13352
+ } | null;
13002
13353
  seller: {
13003
13354
  __typename?: "Seller";
13004
13355
  id: string;
@@ -13064,6 +13415,7 @@ export type ExchangeFieldsFragment = {
13064
13415
  externalUrl: string;
13065
13416
  animationUrl?: string | null;
13066
13417
  licenseUrl: string;
13418
+ condition?: string | null;
13067
13419
  schemaUrl: string;
13068
13420
  type: MetadataType;
13069
13421
  }
@@ -13081,6 +13433,7 @@ export type ExchangeFieldsFragment = {
13081
13433
  externalUrl: string;
13082
13434
  animationUrl?: string | null;
13083
13435
  licenseUrl: string;
13436
+ condition?: string | null;
13084
13437
  schemaUrl: string;
13085
13438
  type: MetadataType;
13086
13439
  attributes?: Array<{
@@ -13420,6 +13773,17 @@ export type BaseFundsEntityFieldsFragment = {
13420
13773
  accountId: string;
13421
13774
  };
13422
13775
 
13776
+ export type BaseConditionFieldsFragment = {
13777
+ __typename?: "ConditionEntity";
13778
+ id: string;
13779
+ method: number;
13780
+ tokenType: number;
13781
+ tokenAddress: string;
13782
+ tokenId: string;
13783
+ threshold: string;
13784
+ maxCommits: string;
13785
+ };
13786
+
13423
13787
  export type GetBaseMetadataEntityByIdQueryQueryVariables = Exact<{
13424
13788
  metadataId: Scalars["ID"];
13425
13789
  metadataSkip?: InputMaybe<Scalars["Int"]>;
@@ -13439,6 +13803,7 @@ export type GetBaseMetadataEntityByIdQueryQuery = {
13439
13803
  externalUrl: string;
13440
13804
  animationUrl?: string | null;
13441
13805
  licenseUrl: string;
13806
+ condition?: string | null;
13442
13807
  schemaUrl: string;
13443
13808
  type: MetadataType;
13444
13809
  image: string;
@@ -13481,6 +13846,16 @@ export type GetBaseMetadataEntityByIdQueryQuery = {
13481
13846
  disputeResolverId: string;
13482
13847
  numberOfCommits: string;
13483
13848
  numberOfRedemptions: string;
13849
+ condition?: {
13850
+ __typename?: "ConditionEntity";
13851
+ id: string;
13852
+ method: number;
13853
+ tokenType: number;
13854
+ tokenAddress: string;
13855
+ tokenId: string;
13856
+ threshold: string;
13857
+ maxCommits: string;
13858
+ } | null;
13484
13859
  seller: {
13485
13860
  __typename?: "Seller";
13486
13861
  id: string;
@@ -13546,6 +13921,7 @@ export type GetBaseMetadataEntityByIdQueryQuery = {
13546
13921
  externalUrl: string;
13547
13922
  animationUrl?: string | null;
13548
13923
  licenseUrl: string;
13924
+ condition?: string | null;
13549
13925
  schemaUrl: string;
13550
13926
  type: MetadataType;
13551
13927
  }
@@ -13563,6 +13939,7 @@ export type GetBaseMetadataEntityByIdQueryQuery = {
13563
13939
  externalUrl: string;
13564
13940
  animationUrl?: string | null;
13565
13941
  licenseUrl: string;
13942
+ condition?: string | null;
13566
13943
  schemaUrl: string;
13567
13944
  type: MetadataType;
13568
13945
  attributes?: Array<{
@@ -13801,6 +14178,7 @@ export type GetBaseMetadataEntitiesQueryQuery = {
13801
14178
  externalUrl: string;
13802
14179
  animationUrl?: string | null;
13803
14180
  licenseUrl: string;
14181
+ condition?: string | null;
13804
14182
  schemaUrl: string;
13805
14183
  type: MetadataType;
13806
14184
  image: string;
@@ -13843,6 +14221,16 @@ export type GetBaseMetadataEntitiesQueryQuery = {
13843
14221
  disputeResolverId: string;
13844
14222
  numberOfCommits: string;
13845
14223
  numberOfRedemptions: string;
14224
+ condition?: {
14225
+ __typename?: "ConditionEntity";
14226
+ id: string;
14227
+ method: number;
14228
+ tokenType: number;
14229
+ tokenAddress: string;
14230
+ tokenId: string;
14231
+ threshold: string;
14232
+ maxCommits: string;
14233
+ } | null;
13846
14234
  seller: {
13847
14235
  __typename?: "Seller";
13848
14236
  id: string;
@@ -13908,6 +14296,7 @@ export type GetBaseMetadataEntitiesQueryQuery = {
13908
14296
  externalUrl: string;
13909
14297
  animationUrl?: string | null;
13910
14298
  licenseUrl: string;
14299
+ condition?: string | null;
13911
14300
  schemaUrl: string;
13912
14301
  type: MetadataType;
13913
14302
  }
@@ -13925,6 +14314,7 @@ export type GetBaseMetadataEntitiesQueryQuery = {
13925
14314
  externalUrl: string;
13926
14315
  animationUrl?: string | null;
13927
14316
  licenseUrl: string;
14317
+ condition?: string | null;
13928
14318
  schemaUrl: string;
13929
14319
  type: MetadataType;
13930
14320
  attributes?: Array<{
@@ -14153,6 +14543,7 @@ export type BaseMetadataEntityFieldsFragment = {
14153
14543
  externalUrl: string;
14154
14544
  animationUrl?: string | null;
14155
14545
  licenseUrl: string;
14546
+ condition?: string | null;
14156
14547
  schemaUrl: string;
14157
14548
  type: MetadataType;
14158
14549
  image: string;
@@ -14195,6 +14586,16 @@ export type BaseMetadataEntityFieldsFragment = {
14195
14586
  disputeResolverId: string;
14196
14587
  numberOfCommits: string;
14197
14588
  numberOfRedemptions: string;
14589
+ condition?: {
14590
+ __typename?: "ConditionEntity";
14591
+ id: string;
14592
+ method: number;
14593
+ tokenType: number;
14594
+ tokenAddress: string;
14595
+ tokenId: string;
14596
+ threshold: string;
14597
+ maxCommits: string;
14598
+ } | null;
14198
14599
  seller: {
14199
14600
  __typename?: "Seller";
14200
14601
  id: string;
@@ -14260,6 +14661,7 @@ export type BaseMetadataEntityFieldsFragment = {
14260
14661
  externalUrl: string;
14261
14662
  animationUrl?: string | null;
14262
14663
  licenseUrl: string;
14664
+ condition?: string | null;
14263
14665
  schemaUrl: string;
14264
14666
  type: MetadataType;
14265
14667
  }
@@ -14277,6 +14679,7 @@ export type BaseMetadataEntityFieldsFragment = {
14277
14679
  externalUrl: string;
14278
14680
  animationUrl?: string | null;
14279
14681
  licenseUrl: string;
14682
+ condition?: string | null;
14280
14683
  schemaUrl: string;
14281
14684
  type: MetadataType;
14282
14685
  attributes?: Array<{
@@ -14500,6 +14903,7 @@ export type BaseBaseMetadataEntityFieldsFragment = {
14500
14903
  externalUrl: string;
14501
14904
  animationUrl?: string | null;
14502
14905
  licenseUrl: string;
14906
+ condition?: string | null;
14503
14907
  schemaUrl: string;
14504
14908
  type: MetadataType;
14505
14909
  image: string;
@@ -14542,6 +14946,16 @@ export type BaseBaseMetadataEntityFieldsFragment = {
14542
14946
  disputeResolverId: string;
14543
14947
  numberOfCommits: string;
14544
14948
  numberOfRedemptions: string;
14949
+ condition?: {
14950
+ __typename?: "ConditionEntity";
14951
+ id: string;
14952
+ method: number;
14953
+ tokenType: number;
14954
+ tokenAddress: string;
14955
+ tokenId: string;
14956
+ threshold: string;
14957
+ maxCommits: string;
14958
+ } | null;
14545
14959
  seller: {
14546
14960
  __typename?: "Seller";
14547
14961
  id: string;
@@ -14607,6 +15021,7 @@ export type BaseBaseMetadataEntityFieldsFragment = {
14607
15021
  externalUrl: string;
14608
15022
  animationUrl?: string | null;
14609
15023
  licenseUrl: string;
15024
+ condition?: string | null;
14610
15025
  schemaUrl: string;
14611
15026
  type: MetadataType;
14612
15027
  }
@@ -14624,6 +15039,7 @@ export type BaseBaseMetadataEntityFieldsFragment = {
14624
15039
  externalUrl: string;
14625
15040
  animationUrl?: string | null;
14626
15041
  licenseUrl: string;
15042
+ condition?: string | null;
14627
15043
  schemaUrl: string;
14628
15044
  type: MetadataType;
14629
15045
  attributes?: Array<{
@@ -15017,6 +15433,7 @@ export type GetProductV1MetadataEntityByIdQueryQuery = {
15017
15433
  externalUrl: string;
15018
15434
  animationUrl?: string | null;
15019
15435
  licenseUrl: string;
15436
+ condition?: string | null;
15020
15437
  schemaUrl: string;
15021
15438
  type: MetadataType;
15022
15439
  image: string;
@@ -15110,6 +15527,16 @@ export type GetProductV1MetadataEntityByIdQueryQuery = {
15110
15527
  royaltyPercentage: string;
15111
15528
  };
15112
15529
  }>;
15530
+ condition?: {
15531
+ __typename?: "ConditionEntity";
15532
+ id: string;
15533
+ method: number;
15534
+ tokenType: number;
15535
+ tokenAddress: string;
15536
+ tokenId: string;
15537
+ threshold: string;
15538
+ maxCommits: string;
15539
+ } | null;
15113
15540
  seller: {
15114
15541
  __typename?: "Seller";
15115
15542
  id: string;
@@ -15175,6 +15602,7 @@ export type GetProductV1MetadataEntityByIdQueryQuery = {
15175
15602
  externalUrl: string;
15176
15603
  animationUrl?: string | null;
15177
15604
  licenseUrl: string;
15605
+ condition?: string | null;
15178
15606
  schemaUrl: string;
15179
15607
  type: MetadataType;
15180
15608
  }
@@ -15192,6 +15620,7 @@ export type GetProductV1MetadataEntityByIdQueryQuery = {
15192
15620
  externalUrl: string;
15193
15621
  animationUrl?: string | null;
15194
15622
  licenseUrl: string;
15623
+ condition?: string | null;
15195
15624
  schemaUrl: string;
15196
15625
  type: MetadataType;
15197
15626
  attributes?: Array<{
@@ -15596,6 +16025,7 @@ export type GetProductV1MetadataEntitiesQueryQuery = {
15596
16025
  externalUrl: string;
15597
16026
  animationUrl?: string | null;
15598
16027
  licenseUrl: string;
16028
+ condition?: string | null;
15599
16029
  schemaUrl: string;
15600
16030
  type: MetadataType;
15601
16031
  image: string;
@@ -15689,6 +16119,16 @@ export type GetProductV1MetadataEntitiesQueryQuery = {
15689
16119
  royaltyPercentage: string;
15690
16120
  };
15691
16121
  }>;
16122
+ condition?: {
16123
+ __typename?: "ConditionEntity";
16124
+ id: string;
16125
+ method: number;
16126
+ tokenType: number;
16127
+ tokenAddress: string;
16128
+ tokenId: string;
16129
+ threshold: string;
16130
+ maxCommits: string;
16131
+ } | null;
15692
16132
  seller: {
15693
16133
  __typename?: "Seller";
15694
16134
  id: string;
@@ -15754,6 +16194,7 @@ export type GetProductV1MetadataEntitiesQueryQuery = {
15754
16194
  externalUrl: string;
15755
16195
  animationUrl?: string | null;
15756
16196
  licenseUrl: string;
16197
+ condition?: string | null;
15757
16198
  schemaUrl: string;
15758
16199
  type: MetadataType;
15759
16200
  }
@@ -15771,6 +16212,7 @@ export type GetProductV1MetadataEntitiesQueryQuery = {
15771
16212
  externalUrl: string;
15772
16213
  animationUrl?: string | null;
15773
16214
  licenseUrl: string;
16215
+ condition?: string | null;
15774
16216
  schemaUrl: string;
15775
16217
  type: MetadataType;
15776
16218
  attributes?: Array<{
@@ -16165,6 +16607,7 @@ export type ProductV1MetadataEntityFieldsFragment = {
16165
16607
  externalUrl: string;
16166
16608
  animationUrl?: string | null;
16167
16609
  licenseUrl: string;
16610
+ condition?: string | null;
16168
16611
  schemaUrl: string;
16169
16612
  type: MetadataType;
16170
16613
  image: string;
@@ -16258,6 +16701,16 @@ export type ProductV1MetadataEntityFieldsFragment = {
16258
16701
  royaltyPercentage: string;
16259
16702
  };
16260
16703
  }>;
16704
+ condition?: {
16705
+ __typename?: "ConditionEntity";
16706
+ id: string;
16707
+ method: number;
16708
+ tokenType: number;
16709
+ tokenAddress: string;
16710
+ tokenId: string;
16711
+ threshold: string;
16712
+ maxCommits: string;
16713
+ } | null;
16261
16714
  seller: {
16262
16715
  __typename?: "Seller";
16263
16716
  id: string;
@@ -16323,6 +16776,7 @@ export type ProductV1MetadataEntityFieldsFragment = {
16323
16776
  externalUrl: string;
16324
16777
  animationUrl?: string | null;
16325
16778
  licenseUrl: string;
16779
+ condition?: string | null;
16326
16780
  schemaUrl: string;
16327
16781
  type: MetadataType;
16328
16782
  }
@@ -16340,6 +16794,7 @@ export type ProductV1MetadataEntityFieldsFragment = {
16340
16794
  externalUrl: string;
16341
16795
  animationUrl?: string | null;
16342
16796
  licenseUrl: string;
16797
+ condition?: string | null;
16343
16798
  schemaUrl: string;
16344
16799
  type: MetadataType;
16345
16800
  attributes?: Array<{
@@ -16729,6 +17184,7 @@ export type BaseProductV1MetadataEntityFieldsFragment = {
16729
17184
  externalUrl: string;
16730
17185
  animationUrl?: string | null;
16731
17186
  licenseUrl: string;
17187
+ condition?: string | null;
16732
17188
  schemaUrl: string;
16733
17189
  type: MetadataType;
16734
17190
  image: string;
@@ -16822,6 +17278,16 @@ export type BaseProductV1MetadataEntityFieldsFragment = {
16822
17278
  royaltyPercentage: string;
16823
17279
  };
16824
17280
  }>;
17281
+ condition?: {
17282
+ __typename?: "ConditionEntity";
17283
+ id: string;
17284
+ method: number;
17285
+ tokenType: number;
17286
+ tokenAddress: string;
17287
+ tokenId: string;
17288
+ threshold: string;
17289
+ maxCommits: string;
17290
+ } | null;
16825
17291
  seller: {
16826
17292
  __typename?: "Seller";
16827
17293
  id: string;
@@ -16887,6 +17353,7 @@ export type BaseProductV1MetadataEntityFieldsFragment = {
16887
17353
  externalUrl: string;
16888
17354
  animationUrl?: string | null;
16889
17355
  licenseUrl: string;
17356
+ condition?: string | null;
16890
17357
  schemaUrl: string;
16891
17358
  type: MetadataType;
16892
17359
  }
@@ -16904,6 +17371,7 @@ export type BaseProductV1MetadataEntityFieldsFragment = {
16904
17371
  externalUrl: string;
16905
17372
  animationUrl?: string | null;
16906
17373
  licenseUrl: string;
17374
+ condition?: string | null;
16907
17375
  schemaUrl: string;
16908
17376
  type: MetadataType;
16909
17377
  attributes?: Array<{
@@ -17648,6 +18116,16 @@ export type GetOfferByIdQueryQuery = {
17648
18116
  royaltyPercentage: string;
17649
18117
  };
17650
18118
  }>;
18119
+ condition?: {
18120
+ __typename?: "ConditionEntity";
18121
+ id: string;
18122
+ method: number;
18123
+ tokenType: number;
18124
+ tokenAddress: string;
18125
+ tokenId: string;
18126
+ threshold: string;
18127
+ maxCommits: string;
18128
+ } | null;
17651
18129
  seller: {
17652
18130
  __typename?: "Seller";
17653
18131
  id: string;
@@ -17713,6 +18191,7 @@ export type GetOfferByIdQueryQuery = {
17713
18191
  externalUrl: string;
17714
18192
  animationUrl?: string | null;
17715
18193
  licenseUrl: string;
18194
+ condition?: string | null;
17716
18195
  schemaUrl: string;
17717
18196
  type: MetadataType;
17718
18197
  }
@@ -17730,6 +18209,7 @@ export type GetOfferByIdQueryQuery = {
17730
18209
  externalUrl: string;
17731
18210
  animationUrl?: string | null;
17732
18211
  licenseUrl: string;
18212
+ condition?: string | null;
17733
18213
  schemaUrl: string;
17734
18214
  type: MetadataType;
17735
18215
  attributes?: Array<{
@@ -18015,6 +18495,16 @@ export type GetOffersQueryQuery = {
18015
18495
  royaltyPercentage: string;
18016
18496
  };
18017
18497
  }>;
18498
+ condition?: {
18499
+ __typename?: "ConditionEntity";
18500
+ id: string;
18501
+ method: number;
18502
+ tokenType: number;
18503
+ tokenAddress: string;
18504
+ tokenId: string;
18505
+ threshold: string;
18506
+ maxCommits: string;
18507
+ } | null;
18018
18508
  seller: {
18019
18509
  __typename?: "Seller";
18020
18510
  id: string;
@@ -18080,6 +18570,7 @@ export type GetOffersQueryQuery = {
18080
18570
  externalUrl: string;
18081
18571
  animationUrl?: string | null;
18082
18572
  licenseUrl: string;
18573
+ condition?: string | null;
18083
18574
  schemaUrl: string;
18084
18575
  type: MetadataType;
18085
18576
  }
@@ -18097,6 +18588,7 @@ export type GetOffersQueryQuery = {
18097
18588
  externalUrl: string;
18098
18589
  animationUrl?: string | null;
18099
18590
  licenseUrl: string;
18591
+ condition?: string | null;
18100
18592
  schemaUrl: string;
18101
18593
  type: MetadataType;
18102
18594
  attributes?: Array<{
@@ -18366,6 +18858,16 @@ export type OfferFieldsFragment = {
18366
18858
  royaltyPercentage: string;
18367
18859
  };
18368
18860
  }>;
18861
+ condition?: {
18862
+ __typename?: "ConditionEntity";
18863
+ id: string;
18864
+ method: number;
18865
+ tokenType: number;
18866
+ tokenAddress: string;
18867
+ tokenId: string;
18868
+ threshold: string;
18869
+ maxCommits: string;
18870
+ } | null;
18369
18871
  seller: {
18370
18872
  __typename?: "Seller";
18371
18873
  id: string;
@@ -18431,6 +18933,7 @@ export type OfferFieldsFragment = {
18431
18933
  externalUrl: string;
18432
18934
  animationUrl?: string | null;
18433
18935
  licenseUrl: string;
18936
+ condition?: string | null;
18434
18937
  schemaUrl: string;
18435
18938
  type: MetadataType;
18436
18939
  }
@@ -18448,6 +18951,7 @@ export type OfferFieldsFragment = {
18448
18951
  externalUrl: string;
18449
18952
  animationUrl?: string | null;
18450
18953
  licenseUrl: string;
18954
+ condition?: string | null;
18451
18955
  schemaUrl: string;
18452
18956
  type: MetadataType;
18453
18957
  attributes?: Array<{
@@ -18666,6 +19170,16 @@ export type BaseOfferFieldsFragment = {
18666
19170
  disputeResolverId: string;
18667
19171
  numberOfCommits: string;
18668
19172
  numberOfRedemptions: string;
19173
+ condition?: {
19174
+ __typename?: "ConditionEntity";
19175
+ id: string;
19176
+ method: number;
19177
+ tokenType: number;
19178
+ tokenAddress: string;
19179
+ tokenId: string;
19180
+ threshold: string;
19181
+ maxCommits: string;
19182
+ } | null;
18669
19183
  seller: {
18670
19184
  __typename?: "Seller";
18671
19185
  id: string;
@@ -18731,6 +19245,7 @@ export type BaseOfferFieldsFragment = {
18731
19245
  externalUrl: string;
18732
19246
  animationUrl?: string | null;
18733
19247
  licenseUrl: string;
19248
+ condition?: string | null;
18734
19249
  schemaUrl: string;
18735
19250
  type: MetadataType;
18736
19251
  }
@@ -18748,6 +19263,7 @@ export type BaseOfferFieldsFragment = {
18748
19263
  externalUrl: string;
18749
19264
  animationUrl?: string | null;
18750
19265
  licenseUrl: string;
19266
+ condition?: string | null;
18751
19267
  schemaUrl: string;
18752
19268
  type: MetadataType;
18753
19269
  attributes?: Array<{
@@ -18981,6 +19497,17 @@ export const FundsEntityFieldsFragmentDoc = gql`
18981
19497
  ${BaseFundsEntityFieldsFragmentDoc}
18982
19498
  ${BaseExchangeTokenFieldsFragmentDoc}
18983
19499
  `;
19500
+ export const BaseConditionFieldsFragmentDoc = gql`
19501
+ fragment BaseConditionFields on ConditionEntity {
19502
+ id
19503
+ method
19504
+ tokenType
19505
+ tokenAddress
19506
+ tokenId
19507
+ threshold
19508
+ maxCommits
19509
+ }
19510
+ `;
18984
19511
  export const BaseDisputeResolverFeeFieldsFragmentDoc = gql`
18985
19512
  fragment BaseDisputeResolverFeeFields on DisputeResolverFee {
18986
19513
  id
@@ -19220,6 +19747,9 @@ export const BaseOfferFieldsFragmentDoc = gql`
19220
19747
  disputeResolverId
19221
19748
  numberOfCommits
19222
19749
  numberOfRedemptions
19750
+ condition {
19751
+ ...BaseConditionFields
19752
+ }
19223
19753
  seller {
19224
19754
  ...BaseSellerFields
19225
19755
  }
@@ -19238,6 +19768,7 @@ export const BaseOfferFieldsFragmentDoc = gql`
19238
19768
  externalUrl
19239
19769
  animationUrl
19240
19770
  licenseUrl
19771
+ condition
19241
19772
  schemaUrl
19242
19773
  type
19243
19774
  ... on ProductV1MetadataEntity {
@@ -19271,6 +19802,7 @@ export const BaseOfferFieldsFragmentDoc = gql`
19271
19802
  }
19272
19803
  }
19273
19804
  }
19805
+ ${BaseConditionFieldsFragmentDoc}
19274
19806
  ${BaseSellerFieldsFragmentDoc}
19275
19807
  ${BaseExchangeTokenFieldsFragmentDoc}
19276
19808
  ${BaseDisputeResolverFieldsFragmentDoc}
@@ -19537,6 +20069,7 @@ export const BaseBaseMetadataEntityFieldsFragmentDoc = gql`
19537
20069
  externalUrl
19538
20070
  animationUrl
19539
20071
  licenseUrl
20072
+ condition
19540
20073
  schemaUrl
19541
20074
  type
19542
20075
  image
@@ -19580,6 +20113,7 @@ export const BaseProductV1MetadataEntityFieldsFragmentDoc = gql`
19580
20113
  externalUrl
19581
20114
  animationUrl
19582
20115
  licenseUrl
20116
+ condition
19583
20117
  schemaUrl
19584
20118
  type
19585
20119
  image