@bosonprotocol/core-sdk 1.30.0-alpha.2 → 1.30.0-alpha.21

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 (153) hide show
  1. package/dist/cjs/accounts/interface.d.ts.map +1 -1
  2. package/dist/cjs/accounts/interface.js +9 -4
  3. package/dist/cjs/accounts/interface.js.map +1 -1
  4. package/dist/cjs/accounts/mixin.d.ts +0 -7
  5. package/dist/cjs/accounts/mixin.d.ts.map +1 -1
  6. package/dist/cjs/accounts/mixin.js +2 -16
  7. package/dist/cjs/accounts/mixin.js.map +1 -1
  8. package/dist/cjs/accounts/subgraph.d.ts +0 -1
  9. package/dist/cjs/accounts/subgraph.d.ts.map +1 -1
  10. package/dist/cjs/accounts/subgraph.js +4 -12
  11. package/dist/cjs/accounts/subgraph.js.map +1 -1
  12. package/dist/cjs/accounts/types.d.ts +0 -1
  13. package/dist/cjs/accounts/types.d.ts.map +1 -1
  14. package/dist/cjs/exchanges/handler.d.ts +5 -0
  15. package/dist/cjs/exchanges/handler.d.ts.map +1 -1
  16. package/dist/cjs/exchanges/handler.js +46 -15
  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 +5 -1
  21. package/dist/cjs/exchanges/interface.js.map +1 -1
  22. package/dist/cjs/exchanges/mixin.d.ts +11 -0
  23. package/dist/cjs/exchanges/mixin.d.ts.map +1 -1
  24. package/dist/cjs/exchanges/mixin.js +21 -0
  25. package/dist/cjs/exchanges/mixin.js.map +1 -1
  26. package/dist/cjs/forwarder/mock-interface.d.ts +20 -0
  27. package/dist/cjs/forwarder/mock-interface.d.ts.map +1 -1
  28. package/dist/cjs/groups/interface.d.ts +6 -1
  29. package/dist/cjs/groups/interface.d.ts.map +1 -1
  30. package/dist/cjs/groups/interface.js +15 -9
  31. package/dist/cjs/groups/interface.js.map +1 -1
  32. package/dist/cjs/meta-tx/biconomy.d.ts.map +1 -1
  33. package/dist/cjs/meta-tx/biconomy.js +0 -1
  34. package/dist/cjs/meta-tx/biconomy.js.map +1 -1
  35. package/dist/cjs/meta-tx/handler.d.ts +4 -0
  36. package/dist/cjs/meta-tx/handler.d.ts.map +1 -1
  37. package/dist/cjs/meta-tx/handler.js +42 -7
  38. package/dist/cjs/meta-tx/handler.js.map +1 -1
  39. package/dist/cjs/meta-tx/mixin.d.ts +6 -0
  40. package/dist/cjs/meta-tx/mixin.d.ts.map +1 -1
  41. package/dist/cjs/meta-tx/mixin.js +17 -5
  42. package/dist/cjs/meta-tx/mixin.js.map +1 -1
  43. package/dist/cjs/offers/mixin.d.ts.map +1 -1
  44. package/dist/cjs/offers/mixin.js +1 -1
  45. package/dist/cjs/offers/mixin.js.map +1 -1
  46. package/dist/cjs/offers/renderContractualAgreement.d.ts.map +1 -1
  47. package/dist/cjs/offers/renderContractualAgreement.js.map +1 -1
  48. package/dist/cjs/orchestration/interface.d.ts.map +1 -1
  49. package/dist/cjs/orchestration/interface.js +5 -4
  50. package/dist/cjs/orchestration/interface.js.map +1 -1
  51. package/dist/cjs/subgraph.d.ts +156 -39
  52. package/dist/cjs/subgraph.d.ts.map +1 -1
  53. package/dist/cjs/subgraph.js +11 -4
  54. package/dist/cjs/subgraph.js.map +1 -1
  55. package/dist/cjs/voucher/handler.d.ts +1 -0
  56. package/dist/cjs/voucher/handler.d.ts.map +1 -1
  57. package/dist/cjs/voucher/handler.js +1 -1
  58. package/dist/cjs/voucher/handler.js.map +1 -1
  59. package/dist/cjs/voucher/interface.d.ts +1 -1
  60. package/dist/cjs/voucher/interface.d.ts.map +1 -1
  61. package/dist/cjs/voucher/interface.js +3 -2
  62. package/dist/cjs/voucher/interface.js.map +1 -1
  63. package/dist/cjs/voucher/mixin.d.ts +1 -1
  64. package/dist/cjs/voucher/mixin.d.ts.map +1 -1
  65. package/dist/cjs/voucher/mixin.js +2 -1
  66. package/dist/cjs/voucher/mixin.js.map +1 -1
  67. package/dist/esm/accounts/interface.d.ts.map +1 -1
  68. package/dist/esm/accounts/interface.js +9 -2
  69. package/dist/esm/accounts/interface.js.map +1 -1
  70. package/dist/esm/accounts/mixin.d.ts +0 -7
  71. package/dist/esm/accounts/mixin.d.ts.map +1 -1
  72. package/dist/esm/accounts/mixin.js +0 -12
  73. package/dist/esm/accounts/mixin.js.map +1 -1
  74. package/dist/esm/accounts/subgraph.d.ts +0 -1
  75. package/dist/esm/accounts/subgraph.d.ts.map +1 -1
  76. package/dist/esm/accounts/subgraph.js +3 -14
  77. package/dist/esm/accounts/subgraph.js.map +1 -1
  78. package/dist/esm/accounts/types.d.ts +0 -1
  79. package/dist/esm/accounts/types.d.ts.map +1 -1
  80. package/dist/esm/exchanges/handler.d.ts +5 -0
  81. package/dist/esm/exchanges/handler.d.ts.map +1 -1
  82. package/dist/esm/exchanges/handler.js +39 -8
  83. package/dist/esm/exchanges/handler.js.map +1 -1
  84. package/dist/esm/exchanges/interface.d.ts +1 -0
  85. package/dist/esm/exchanges/interface.d.ts.map +1 -1
  86. package/dist/esm/exchanges/interface.js +3 -0
  87. package/dist/esm/exchanges/interface.js.map +1 -1
  88. package/dist/esm/exchanges/mixin.d.ts +11 -0
  89. package/dist/esm/exchanges/mixin.d.ts.map +1 -1
  90. package/dist/esm/exchanges/mixin.js +20 -1
  91. package/dist/esm/exchanges/mixin.js.map +1 -1
  92. package/dist/esm/forwarder/mock-interface.d.ts +20 -0
  93. package/dist/esm/forwarder/mock-interface.d.ts.map +1 -1
  94. package/dist/esm/groups/interface.d.ts +6 -1
  95. package/dist/esm/groups/interface.d.ts.map +1 -1
  96. package/dist/esm/groups/interface.js +13 -8
  97. package/dist/esm/groups/interface.js.map +1 -1
  98. package/dist/esm/meta-tx/biconomy.d.ts.map +1 -1
  99. package/dist/esm/meta-tx/biconomy.js +0 -1
  100. package/dist/esm/meta-tx/biconomy.js.map +1 -1
  101. package/dist/esm/meta-tx/handler.d.ts +4 -0
  102. package/dist/esm/meta-tx/handler.d.ts.map +1 -1
  103. package/dist/esm/meta-tx/handler.js +48 -6
  104. package/dist/esm/meta-tx/handler.js.map +1 -1
  105. package/dist/esm/meta-tx/mixin.d.ts +6 -0
  106. package/dist/esm/meta-tx/mixin.d.ts.map +1 -1
  107. package/dist/esm/meta-tx/mixin.js +21 -3
  108. package/dist/esm/meta-tx/mixin.js.map +1 -1
  109. package/dist/esm/offers/mixin.d.ts.map +1 -1
  110. package/dist/esm/offers/mixin.js +1 -1
  111. package/dist/esm/offers/mixin.js.map +1 -1
  112. package/dist/esm/offers/renderContractualAgreement.d.ts.map +1 -1
  113. package/dist/esm/offers/renderContractualAgreement.js.map +1 -1
  114. package/dist/esm/orchestration/interface.d.ts.map +1 -1
  115. package/dist/esm/orchestration/interface.js +5 -4
  116. package/dist/esm/orchestration/interface.js.map +1 -1
  117. package/dist/esm/subgraph.d.ts +156 -39
  118. package/dist/esm/subgraph.d.ts.map +1 -1
  119. package/dist/esm/subgraph.js +9 -3
  120. package/dist/esm/subgraph.js.map +1 -1
  121. package/dist/esm/voucher/handler.d.ts +1 -0
  122. package/dist/esm/voucher/handler.d.ts.map +1 -1
  123. package/dist/esm/voucher/handler.js +1 -1
  124. package/dist/esm/voucher/handler.js.map +1 -1
  125. package/dist/esm/voucher/interface.d.ts +1 -1
  126. package/dist/esm/voucher/interface.d.ts.map +1 -1
  127. package/dist/esm/voucher/interface.js +3 -2
  128. package/dist/esm/voucher/interface.js.map +1 -1
  129. package/dist/esm/voucher/mixin.d.ts +1 -1
  130. package/dist/esm/voucher/mixin.d.ts.map +1 -1
  131. package/dist/esm/voucher/mixin.js +2 -1
  132. package/dist/esm/voucher/mixin.js.map +1 -1
  133. package/package.json +4 -3
  134. package/src/accounts/interface.ts +9 -2
  135. package/src/accounts/mixin.ts +0 -20
  136. package/src/accounts/subgraph.ts +3 -19
  137. package/src/accounts/types.ts +0 -1
  138. package/src/exchanges/handler.ts +70 -15
  139. package/src/exchanges/interface.ts +11 -0
  140. package/src/exchanges/mixin.ts +28 -1
  141. package/src/groups/interface.ts +17 -9
  142. package/src/groups/queries.graphql +3 -1
  143. package/src/meta-tx/biconomy.ts +0 -1
  144. package/src/meta-tx/handler.ts +64 -6
  145. package/src/meta-tx/mixin.ts +29 -3
  146. package/src/offers/mixin.ts +7 -2
  147. package/src/offers/queries.graphql +1 -0
  148. package/src/offers/renderContractualAgreement.ts +0 -1
  149. package/src/orchestration/interface.ts +5 -4
  150. package/src/subgraph.ts +160 -41
  151. package/src/voucher/handler.ts +2 -1
  152. package/src/voucher/interface.ts +6 -2
  153. package/src/voucher/mixin.ts +2 -0
@@ -685,17 +685,27 @@ export declare enum Buyer_OrderBy {
685
685
  */
686
686
  export type ConditionEntity = {
687
687
  __typename?: "ConditionEntity";
688
+ gatingType: Scalars["Int"];
688
689
  id: Scalars["ID"];
689
690
  maxCommits: Scalars["BigInt"];
691
+ maxTokenId: Scalars["BigInt"];
690
692
  method: Scalars["Int"];
693
+ minTokenId: Scalars["BigInt"];
691
694
  threshold: Scalars["BigInt"];
692
695
  tokenAddress: Scalars["Bytes"];
693
- tokenId: Scalars["BigInt"];
694
696
  tokenType: Scalars["Int"];
695
697
  };
696
698
  export type ConditionEntity_Filter = {
697
699
  /** Filter for the block changed event. */
698
700
  _change_block?: InputMaybe<BlockChangedFilter>;
701
+ gatingType?: InputMaybe<Scalars["Int"]>;
702
+ gatingType_gt?: InputMaybe<Scalars["Int"]>;
703
+ gatingType_gte?: InputMaybe<Scalars["Int"]>;
704
+ gatingType_in?: InputMaybe<Array<Scalars["Int"]>>;
705
+ gatingType_lt?: InputMaybe<Scalars["Int"]>;
706
+ gatingType_lte?: InputMaybe<Scalars["Int"]>;
707
+ gatingType_not?: InputMaybe<Scalars["Int"]>;
708
+ gatingType_not_in?: InputMaybe<Array<Scalars["Int"]>>;
699
709
  id?: InputMaybe<Scalars["ID"]>;
700
710
  id_gt?: InputMaybe<Scalars["ID"]>;
701
711
  id_gte?: InputMaybe<Scalars["ID"]>;
@@ -712,6 +722,14 @@ export type ConditionEntity_Filter = {
712
722
  maxCommits_lte?: InputMaybe<Scalars["BigInt"]>;
713
723
  maxCommits_not?: InputMaybe<Scalars["BigInt"]>;
714
724
  maxCommits_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
725
+ maxTokenId?: InputMaybe<Scalars["BigInt"]>;
726
+ maxTokenId_gt?: InputMaybe<Scalars["BigInt"]>;
727
+ maxTokenId_gte?: InputMaybe<Scalars["BigInt"]>;
728
+ maxTokenId_in?: InputMaybe<Array<Scalars["BigInt"]>>;
729
+ maxTokenId_lt?: InputMaybe<Scalars["BigInt"]>;
730
+ maxTokenId_lte?: InputMaybe<Scalars["BigInt"]>;
731
+ maxTokenId_not?: InputMaybe<Scalars["BigInt"]>;
732
+ maxTokenId_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
715
733
  method?: InputMaybe<Scalars["Int"]>;
716
734
  method_gt?: InputMaybe<Scalars["Int"]>;
717
735
  method_gte?: InputMaybe<Scalars["Int"]>;
@@ -720,6 +738,14 @@ export type ConditionEntity_Filter = {
720
738
  method_lte?: InputMaybe<Scalars["Int"]>;
721
739
  method_not?: InputMaybe<Scalars["Int"]>;
722
740
  method_not_in?: InputMaybe<Array<Scalars["Int"]>>;
741
+ minTokenId?: InputMaybe<Scalars["BigInt"]>;
742
+ minTokenId_gt?: InputMaybe<Scalars["BigInt"]>;
743
+ minTokenId_gte?: InputMaybe<Scalars["BigInt"]>;
744
+ minTokenId_in?: InputMaybe<Array<Scalars["BigInt"]>>;
745
+ minTokenId_lt?: InputMaybe<Scalars["BigInt"]>;
746
+ minTokenId_lte?: InputMaybe<Scalars["BigInt"]>;
747
+ minTokenId_not?: InputMaybe<Scalars["BigInt"]>;
748
+ minTokenId_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
723
749
  threshold?: InputMaybe<Scalars["BigInt"]>;
724
750
  threshold_gt?: InputMaybe<Scalars["BigInt"]>;
725
751
  threshold_gte?: InputMaybe<Scalars["BigInt"]>;
@@ -734,14 +760,6 @@ export type ConditionEntity_Filter = {
734
760
  tokenAddress_not?: InputMaybe<Scalars["Bytes"]>;
735
761
  tokenAddress_not_contains?: InputMaybe<Scalars["Bytes"]>;
736
762
  tokenAddress_not_in?: InputMaybe<Array<Scalars["Bytes"]>>;
737
- tokenId?: InputMaybe<Scalars["BigInt"]>;
738
- tokenId_gt?: InputMaybe<Scalars["BigInt"]>;
739
- tokenId_gte?: InputMaybe<Scalars["BigInt"]>;
740
- tokenId_in?: InputMaybe<Array<Scalars["BigInt"]>>;
741
- tokenId_lt?: InputMaybe<Scalars["BigInt"]>;
742
- tokenId_lte?: InputMaybe<Scalars["BigInt"]>;
743
- tokenId_not?: InputMaybe<Scalars["BigInt"]>;
744
- tokenId_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
745
763
  tokenType?: InputMaybe<Scalars["Int"]>;
746
764
  tokenType_gt?: InputMaybe<Scalars["Int"]>;
747
765
  tokenType_gte?: InputMaybe<Scalars["Int"]>;
@@ -752,12 +770,14 @@ export type ConditionEntity_Filter = {
752
770
  tokenType_not_in?: InputMaybe<Array<Scalars["Int"]>>;
753
771
  };
754
772
  export declare enum ConditionEntity_OrderBy {
773
+ GatingType = "gatingType",
755
774
  Id = "id",
756
775
  MaxCommits = "maxCommits",
776
+ MaxTokenId = "maxTokenId",
757
777
  Method = "method",
778
+ MinTokenId = "minTokenId",
758
779
  Threshold = "threshold",
759
780
  TokenAddress = "tokenAddress",
760
- TokenId = "tokenId",
761
781
  TokenType = "tokenType"
762
782
  }
763
783
  export type Dispute = {
@@ -2722,6 +2742,7 @@ export type Offer = {
2722
2742
  agentFee: Scalars["BigInt"];
2723
2743
  agentId: Scalars["BigInt"];
2724
2744
  buyerCancelPenalty: Scalars["BigInt"];
2745
+ collectionIndex: Scalars["BigInt"];
2725
2746
  condition?: Maybe<ConditionEntity>;
2726
2747
  createdAt: Scalars["BigInt"];
2727
2748
  /** Offer durations */
@@ -2905,6 +2926,14 @@ export type Offer_Filter = {
2905
2926
  buyerCancelPenalty_lte?: InputMaybe<Scalars["BigInt"]>;
2906
2927
  buyerCancelPenalty_not?: InputMaybe<Scalars["BigInt"]>;
2907
2928
  buyerCancelPenalty_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
2929
+ collectionIndex?: InputMaybe<Scalars["BigInt"]>;
2930
+ collectionIndex_gt?: InputMaybe<Scalars["BigInt"]>;
2931
+ collectionIndex_gte?: InputMaybe<Scalars["BigInt"]>;
2932
+ collectionIndex_in?: InputMaybe<Array<Scalars["BigInt"]>>;
2933
+ collectionIndex_lt?: InputMaybe<Scalars["BigInt"]>;
2934
+ collectionIndex_lte?: InputMaybe<Scalars["BigInt"]>;
2935
+ collectionIndex_not?: InputMaybe<Scalars["BigInt"]>;
2936
+ collectionIndex_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
2908
2937
  condition?: InputMaybe<Scalars["String"]>;
2909
2938
  condition_?: InputMaybe<ConditionEntity_Filter>;
2910
2939
  condition_contains?: InputMaybe<Scalars["String"]>;
@@ -3253,6 +3282,7 @@ export declare enum Offer_OrderBy {
3253
3282
  AgentFee = "agentFee",
3254
3283
  AgentId = "agentId",
3255
3284
  BuyerCancelPenalty = "buyerCancelPenalty",
3285
+ CollectionIndex = "collectionIndex",
3256
3286
  Condition = "condition",
3257
3287
  CreatedAt = "createdAt",
3258
3288
  DisputePeriodDuration = "disputePeriodDuration",
@@ -9007,6 +9037,7 @@ export type GetSellerByIdQueryQuery = {
9007
9037
  metadataHash: string;
9008
9038
  voided: boolean;
9009
9039
  voidedAt?: string | null;
9040
+ collectionIndex: string;
9010
9041
  disputeResolverId: string;
9011
9042
  numberOfCommits: string;
9012
9043
  numberOfRedemptions: string;
@@ -9016,7 +9047,9 @@ export type GetSellerByIdQueryQuery = {
9016
9047
  method: number;
9017
9048
  tokenType: number;
9018
9049
  tokenAddress: string;
9019
- tokenId: string;
9050
+ gatingType: number;
9051
+ minTokenId: string;
9052
+ maxTokenId: string;
9020
9053
  threshold: string;
9021
9054
  maxCommits: string;
9022
9055
  } | null;
@@ -9889,6 +9922,7 @@ export type GetSellersQueryQuery = {
9889
9922
  metadataHash: string;
9890
9923
  voided: boolean;
9891
9924
  voidedAt?: string | null;
9925
+ collectionIndex: string;
9892
9926
  disputeResolverId: string;
9893
9927
  numberOfCommits: string;
9894
9928
  numberOfRedemptions: string;
@@ -9898,7 +9932,9 @@ export type GetSellersQueryQuery = {
9898
9932
  method: number;
9899
9933
  tokenType: number;
9900
9934
  tokenAddress: string;
9901
- tokenId: string;
9935
+ gatingType: number;
9936
+ minTokenId: string;
9937
+ maxTokenId: string;
9902
9938
  threshold: string;
9903
9939
  maxCommits: string;
9904
9940
  } | null;
@@ -11262,6 +11298,7 @@ export type GetDisputeResolverByIdQueryQuery = {
11262
11298
  metadataHash: string;
11263
11299
  voided: boolean;
11264
11300
  voidedAt?: string | null;
11301
+ collectionIndex: string;
11265
11302
  disputeResolverId: string;
11266
11303
  numberOfCommits: string;
11267
11304
  numberOfRedemptions: string;
@@ -11271,7 +11308,9 @@ export type GetDisputeResolverByIdQueryQuery = {
11271
11308
  method: number;
11272
11309
  tokenType: number;
11273
11310
  tokenAddress: string;
11274
- tokenId: string;
11311
+ gatingType: number;
11312
+ minTokenId: string;
11313
+ maxTokenId: string;
11275
11314
  threshold: string;
11276
11315
  maxCommits: string;
11277
11316
  } | null;
@@ -11963,6 +12002,7 @@ export type GetDisputeResolversQueryQuery = {
11963
12002
  metadataHash: string;
11964
12003
  voided: boolean;
11965
12004
  voidedAt?: string | null;
12005
+ collectionIndex: string;
11966
12006
  disputeResolverId: string;
11967
12007
  numberOfCommits: string;
11968
12008
  numberOfRedemptions: string;
@@ -11972,7 +12012,9 @@ export type GetDisputeResolversQueryQuery = {
11972
12012
  method: number;
11973
12013
  tokenType: number;
11974
12014
  tokenAddress: string;
11975
- tokenId: string;
12015
+ gatingType: number;
12016
+ minTokenId: string;
12017
+ maxTokenId: string;
11976
12018
  threshold: string;
11977
12019
  maxCommits: string;
11978
12020
  } | null;
@@ -12662,6 +12704,7 @@ export type SellerFieldsFragment = {
12662
12704
  metadataHash: string;
12663
12705
  voided: boolean;
12664
12706
  voidedAt?: string | null;
12707
+ collectionIndex: string;
12665
12708
  disputeResolverId: string;
12666
12709
  numberOfCommits: string;
12667
12710
  numberOfRedemptions: string;
@@ -12671,7 +12714,9 @@ export type SellerFieldsFragment = {
12671
12714
  method: number;
12672
12715
  tokenType: number;
12673
12716
  tokenAddress: string;
12674
- tokenId: string;
12717
+ gatingType: number;
12718
+ minTokenId: string;
12719
+ maxTokenId: string;
12675
12720
  threshold: string;
12676
12721
  maxCommits: string;
12677
12722
  } | null;
@@ -13856,6 +13901,7 @@ export type DisputeResolverFieldsFragment = {
13856
13901
  metadataHash: string;
13857
13902
  voided: boolean;
13858
13903
  voidedAt?: string | null;
13904
+ collectionIndex: string;
13859
13905
  disputeResolverId: string;
13860
13906
  numberOfCommits: string;
13861
13907
  numberOfRedemptions: string;
@@ -13865,7 +13911,9 @@ export type DisputeResolverFieldsFragment = {
13865
13911
  method: number;
13866
13912
  tokenType: number;
13867
13913
  tokenAddress: string;
13868
- tokenId: string;
13914
+ gatingType: number;
13915
+ minTokenId: string;
13916
+ maxTokenId: string;
13869
13917
  threshold: string;
13870
13918
  maxCommits: string;
13871
13919
  } | null;
@@ -15243,6 +15291,7 @@ export type GetExchangeTokenByIdQueryQuery = {
15243
15291
  metadataHash: string;
15244
15292
  voided: boolean;
15245
15293
  voidedAt?: string | null;
15294
+ collectionIndex: string;
15246
15295
  disputeResolverId: string;
15247
15296
  numberOfCommits: string;
15248
15297
  numberOfRedemptions: string;
@@ -15252,7 +15301,9 @@ export type GetExchangeTokenByIdQueryQuery = {
15252
15301
  method: number;
15253
15302
  tokenType: number;
15254
15303
  tokenAddress: string;
15255
- tokenId: string;
15304
+ gatingType: number;
15305
+ minTokenId: string;
15306
+ maxTokenId: string;
15256
15307
  threshold: string;
15257
15308
  maxCommits: string;
15258
15309
  } | null;
@@ -15819,6 +15870,7 @@ export type GetExchangeTokensQueryQuery = {
15819
15870
  metadataHash: string;
15820
15871
  voided: boolean;
15821
15872
  voidedAt?: string | null;
15873
+ collectionIndex: string;
15822
15874
  disputeResolverId: string;
15823
15875
  numberOfCommits: string;
15824
15876
  numberOfRedemptions: string;
@@ -15828,7 +15880,9 @@ export type GetExchangeTokensQueryQuery = {
15828
15880
  method: number;
15829
15881
  tokenType: number;
15830
15882
  tokenAddress: string;
15831
- tokenId: string;
15883
+ gatingType: number;
15884
+ minTokenId: string;
15885
+ maxTokenId: string;
15832
15886
  threshold: string;
15833
15887
  maxCommits: string;
15834
15888
  } | null;
@@ -16374,6 +16428,7 @@ export type ExchangeTokenFieldsFragment = {
16374
16428
  metadataHash: string;
16375
16429
  voided: boolean;
16376
16430
  voidedAt?: string | null;
16431
+ collectionIndex: string;
16377
16432
  disputeResolverId: string;
16378
16433
  numberOfCommits: string;
16379
16434
  numberOfRedemptions: string;
@@ -16383,7 +16438,9 @@ export type ExchangeTokenFieldsFragment = {
16383
16438
  method: number;
16384
16439
  tokenType: number;
16385
16440
  tokenAddress: string;
16386
- tokenId: string;
16441
+ gatingType: number;
16442
+ minTokenId: string;
16443
+ maxTokenId: string;
16387
16444
  threshold: string;
16388
16445
  maxCommits: string;
16389
16446
  } | null;
@@ -17175,6 +17232,7 @@ export type GetExchangeByIdQueryQuery = {
17175
17232
  metadataHash: string;
17176
17233
  voided: boolean;
17177
17234
  voidedAt?: string | null;
17235
+ collectionIndex: string;
17178
17236
  disputeResolverId: string;
17179
17237
  numberOfCommits: string;
17180
17238
  numberOfRedemptions: string;
@@ -17184,7 +17242,9 @@ export type GetExchangeByIdQueryQuery = {
17184
17242
  method: number;
17185
17243
  tokenType: number;
17186
17244
  tokenAddress: string;
17187
- tokenId: string;
17245
+ gatingType: number;
17246
+ minTokenId: string;
17247
+ maxTokenId: string;
17188
17248
  threshold: string;
17189
17249
  maxCommits: string;
17190
17250
  } | null;
@@ -17833,6 +17893,7 @@ export type GetExchangesQueryQuery = {
17833
17893
  metadataHash: string;
17834
17894
  voided: boolean;
17835
17895
  voidedAt?: string | null;
17896
+ collectionIndex: string;
17836
17897
  disputeResolverId: string;
17837
17898
  numberOfCommits: string;
17838
17899
  numberOfRedemptions: string;
@@ -17842,7 +17903,9 @@ export type GetExchangesQueryQuery = {
17842
17903
  method: number;
17843
17904
  tokenType: number;
17844
17905
  tokenAddress: string;
17845
- tokenId: string;
17906
+ gatingType: number;
17907
+ minTokenId: string;
17908
+ maxTokenId: string;
17846
17909
  threshold: string;
17847
17910
  maxCommits: string;
17848
17911
  } | null;
@@ -18482,6 +18545,7 @@ export type ExchangeFieldsFragment = {
18482
18545
  metadataHash: string;
18483
18546
  voided: boolean;
18484
18547
  voidedAt?: string | null;
18548
+ collectionIndex: string;
18485
18549
  disputeResolverId: string;
18486
18550
  numberOfCommits: string;
18487
18551
  numberOfRedemptions: string;
@@ -18491,7 +18555,9 @@ export type ExchangeFieldsFragment = {
18491
18555
  method: number;
18492
18556
  tokenType: number;
18493
18557
  tokenAddress: string;
18494
- tokenId: string;
18558
+ gatingType: number;
18559
+ minTokenId: string;
18560
+ maxTokenId: string;
18495
18561
  threshold: string;
18496
18562
  maxCommits: string;
18497
18563
  } | null;
@@ -19271,7 +19337,9 @@ export type BaseConditionFieldsFragment = {
19271
19337
  method: number;
19272
19338
  tokenType: number;
19273
19339
  tokenAddress: string;
19274
- tokenId: string;
19340
+ gatingType: number;
19341
+ minTokenId: string;
19342
+ maxTokenId: string;
19275
19343
  threshold: string;
19276
19344
  maxCommits: string;
19277
19345
  };
@@ -19340,6 +19408,7 @@ export type GetBaseMetadataEntityByIdQueryQuery = {
19340
19408
  metadataHash: string;
19341
19409
  voided: boolean;
19342
19410
  voidedAt?: string | null;
19411
+ collectionIndex: string;
19343
19412
  disputeResolverId: string;
19344
19413
  numberOfCommits: string;
19345
19414
  numberOfRedemptions: string;
@@ -19349,7 +19418,9 @@ export type GetBaseMetadataEntityByIdQueryQuery = {
19349
19418
  method: number;
19350
19419
  tokenType: number;
19351
19420
  tokenAddress: string;
19352
- tokenId: string;
19421
+ gatingType: number;
19422
+ minTokenId: string;
19423
+ maxTokenId: string;
19353
19424
  threshold: string;
19354
19425
  maxCommits: string;
19355
19426
  } | null;
@@ -20003,6 +20074,7 @@ export type GetBaseMetadataEntitiesQueryQuery = {
20003
20074
  metadataHash: string;
20004
20075
  voided: boolean;
20005
20076
  voidedAt?: string | null;
20077
+ collectionIndex: string;
20006
20078
  disputeResolverId: string;
20007
20079
  numberOfCommits: string;
20008
20080
  numberOfRedemptions: string;
@@ -20012,7 +20084,9 @@ export type GetBaseMetadataEntitiesQueryQuery = {
20012
20084
  method: number;
20013
20085
  tokenType: number;
20014
20086
  tokenAddress: string;
20015
- tokenId: string;
20087
+ gatingType: number;
20088
+ minTokenId: string;
20089
+ maxTokenId: string;
20016
20090
  threshold: string;
20017
20091
  maxCommits: string;
20018
20092
  } | null;
@@ -20657,6 +20731,7 @@ export type BaseMetadataEntityFieldsFragment = {
20657
20731
  metadataHash: string;
20658
20732
  voided: boolean;
20659
20733
  voidedAt?: string | null;
20734
+ collectionIndex: string;
20660
20735
  disputeResolverId: string;
20661
20736
  numberOfCommits: string;
20662
20737
  numberOfRedemptions: string;
@@ -20666,7 +20741,9 @@ export type BaseMetadataEntityFieldsFragment = {
20666
20741
  method: number;
20667
20742
  tokenType: number;
20668
20743
  tokenAddress: string;
20669
- tokenId: string;
20744
+ gatingType: number;
20745
+ minTokenId: string;
20746
+ maxTokenId: string;
20670
20747
  threshold: string;
20671
20748
  maxCommits: string;
20672
20749
  } | null;
@@ -21310,6 +21387,7 @@ export type BaseBaseMetadataEntityFieldsFragment = {
21310
21387
  metadataHash: string;
21311
21388
  voided: boolean;
21312
21389
  voidedAt?: string | null;
21390
+ collectionIndex: string;
21313
21391
  disputeResolverId: string;
21314
21392
  numberOfCommits: string;
21315
21393
  numberOfRedemptions: string;
@@ -21319,7 +21397,9 @@ export type BaseBaseMetadataEntityFieldsFragment = {
21319
21397
  method: number;
21320
21398
  tokenType: number;
21321
21399
  tokenAddress: string;
21322
- tokenId: string;
21400
+ gatingType: number;
21401
+ minTokenId: string;
21402
+ maxTokenId: string;
21323
21403
  threshold: string;
21324
21404
  maxCommits: string;
21325
21405
  } | null;
@@ -22206,6 +22286,7 @@ export type GetProductV1ProductsWithVariantsQueryQuery = {
22206
22286
  metadataHash: string;
22207
22287
  voided: boolean;
22208
22288
  voidedAt?: string | null;
22289
+ collectionIndex: string;
22209
22290
  disputeResolverId: string;
22210
22291
  numberOfCommits: string;
22211
22292
  numberOfRedemptions: string;
@@ -22323,7 +22404,9 @@ export type GetProductV1ProductsWithVariantsQueryQuery = {
22323
22404
  method: number;
22324
22405
  tokenType: number;
22325
22406
  tokenAddress: string;
22326
- tokenId: string;
22407
+ gatingType: number;
22408
+ minTokenId: string;
22409
+ maxTokenId: string;
22327
22410
  threshold: string;
22328
22411
  maxCommits: string;
22329
22412
  } | null;
@@ -23082,6 +23165,7 @@ export type GetAllProductsWithNotVoidedVariantsQueryQuery = {
23082
23165
  metadataHash: string;
23083
23166
  voided: boolean;
23084
23167
  voidedAt?: string | null;
23168
+ collectionIndex: string;
23085
23169
  disputeResolverId: string;
23086
23170
  numberOfCommits: string;
23087
23171
  numberOfRedemptions: string;
@@ -23199,7 +23283,9 @@ export type GetAllProductsWithNotVoidedVariantsQueryQuery = {
23199
23283
  method: number;
23200
23284
  tokenType: number;
23201
23285
  tokenAddress: string;
23202
- tokenId: string;
23286
+ gatingType: number;
23287
+ minTokenId: string;
23288
+ maxTokenId: string;
23203
23289
  threshold: string;
23204
23290
  maxCommits: string;
23205
23291
  } | null;
@@ -23970,6 +24056,7 @@ export type GetProductV1MetadataEntityByIdQueryQuery = {
23970
24056
  metadataHash: string;
23971
24057
  voided: boolean;
23972
24058
  voidedAt?: string | null;
24059
+ collectionIndex: string;
23973
24060
  disputeResolverId: string;
23974
24061
  numberOfCommits: string;
23975
24062
  numberOfRedemptions: string;
@@ -24087,7 +24174,9 @@ export type GetProductV1MetadataEntityByIdQueryQuery = {
24087
24174
  method: number;
24088
24175
  tokenType: number;
24089
24176
  tokenAddress: string;
24090
- tokenId: string;
24177
+ gatingType: number;
24178
+ minTokenId: string;
24179
+ maxTokenId: string;
24091
24180
  threshold: string;
24092
24181
  maxCommits: string;
24093
24182
  } | null;
@@ -25060,6 +25149,7 @@ export type GetProductV1MetadataEntitiesQueryQuery = {
25060
25149
  metadataHash: string;
25061
25150
  voided: boolean;
25062
25151
  voidedAt?: string | null;
25152
+ collectionIndex: string;
25063
25153
  disputeResolverId: string;
25064
25154
  numberOfCommits: string;
25065
25155
  numberOfRedemptions: string;
@@ -25177,7 +25267,9 @@ export type GetProductV1MetadataEntitiesQueryQuery = {
25177
25267
  method: number;
25178
25268
  tokenType: number;
25179
25269
  tokenAddress: string;
25180
- tokenId: string;
25270
+ gatingType: number;
25271
+ minTokenId: string;
25272
+ maxTokenId: string;
25181
25273
  threshold: string;
25182
25274
  maxCommits: string;
25183
25275
  } | null;
@@ -26141,6 +26233,7 @@ export type ProductV1MetadataEntityFieldsFragment = {
26141
26233
  metadataHash: string;
26142
26234
  voided: boolean;
26143
26235
  voidedAt?: string | null;
26236
+ collectionIndex: string;
26144
26237
  disputeResolverId: string;
26145
26238
  numberOfCommits: string;
26146
26239
  numberOfRedemptions: string;
@@ -26258,7 +26351,9 @@ export type ProductV1MetadataEntityFieldsFragment = {
26258
26351
  method: number;
26259
26352
  tokenType: number;
26260
26353
  tokenAddress: string;
26261
- tokenId: string;
26354
+ gatingType: number;
26355
+ minTokenId: string;
26356
+ maxTokenId: string;
26262
26357
  threshold: string;
26263
26358
  maxCommits: string;
26264
26359
  } | null;
@@ -27221,6 +27316,7 @@ export type BaseProductV1MetadataEntityFieldsFragment = {
27221
27316
  metadataHash: string;
27222
27317
  voided: boolean;
27223
27318
  voidedAt?: string | null;
27319
+ collectionIndex: string;
27224
27320
  disputeResolverId: string;
27225
27321
  numberOfCommits: string;
27226
27322
  numberOfRedemptions: string;
@@ -27338,7 +27434,9 @@ export type BaseProductV1MetadataEntityFieldsFragment = {
27338
27434
  method: number;
27339
27435
  tokenType: number;
27340
27436
  tokenAddress: string;
27341
- tokenId: string;
27437
+ gatingType: number;
27438
+ minTokenId: string;
27439
+ maxTokenId: string;
27342
27440
  threshold: string;
27343
27441
  maxCommits: string;
27344
27442
  } | null;
@@ -28516,6 +28614,7 @@ export type BaseProductV1ProductWithVariantsFieldsFragment = {
28516
28614
  metadataHash: string;
28517
28615
  voided: boolean;
28518
28616
  voidedAt?: string | null;
28617
+ collectionIndex: string;
28519
28618
  disputeResolverId: string;
28520
28619
  numberOfCommits: string;
28521
28620
  numberOfRedemptions: string;
@@ -28633,7 +28732,9 @@ export type BaseProductV1ProductWithVariantsFieldsFragment = {
28633
28732
  method: number;
28634
28733
  tokenType: number;
28635
28734
  tokenAddress: string;
28636
- tokenId: string;
28735
+ gatingType: number;
28736
+ minTokenId: string;
28737
+ maxTokenId: string;
28637
28738
  threshold: string;
28638
28739
  maxCommits: string;
28639
28740
  } | null;
@@ -29382,6 +29483,7 @@ export type BaseProductV1ProductWithNotVoidedVariantsFieldsFragment = {
29382
29483
  metadataHash: string;
29383
29484
  voided: boolean;
29384
29485
  voidedAt?: string | null;
29486
+ collectionIndex: string;
29385
29487
  disputeResolverId: string;
29386
29488
  numberOfCommits: string;
29387
29489
  numberOfRedemptions: string;
@@ -29499,7 +29601,9 @@ export type BaseProductV1ProductWithNotVoidedVariantsFieldsFragment = {
29499
29601
  method: number;
29500
29602
  tokenType: number;
29501
29603
  tokenAddress: string;
29502
- tokenId: string;
29604
+ gatingType: number;
29605
+ minTokenId: string;
29606
+ maxTokenId: string;
29503
29607
  threshold: string;
29504
29608
  maxCommits: string;
29505
29609
  } | null;
@@ -30441,6 +30545,7 @@ export type GetOfferByIdQueryQuery = {
30441
30545
  metadataHash: string;
30442
30546
  voided: boolean;
30443
30547
  voidedAt?: string | null;
30548
+ collectionIndex: string;
30444
30549
  disputeResolverId: string;
30445
30550
  numberOfCommits: string;
30446
30551
  numberOfRedemptions: string;
@@ -30558,7 +30663,9 @@ export type GetOfferByIdQueryQuery = {
30558
30663
  method: number;
30559
30664
  tokenType: number;
30560
30665
  tokenAddress: string;
30561
- tokenId: string;
30666
+ gatingType: number;
30667
+ minTokenId: string;
30668
+ maxTokenId: string;
30562
30669
  threshold: string;
30563
30670
  maxCommits: string;
30564
30671
  } | null;
@@ -31105,6 +31212,7 @@ export type GetOffersQueryQuery = {
31105
31212
  metadataHash: string;
31106
31213
  voided: boolean;
31107
31214
  voidedAt?: string | null;
31215
+ collectionIndex: string;
31108
31216
  disputeResolverId: string;
31109
31217
  numberOfCommits: string;
31110
31218
  numberOfRedemptions: string;
@@ -31222,7 +31330,9 @@ export type GetOffersQueryQuery = {
31222
31330
  method: number;
31223
31331
  tokenType: number;
31224
31332
  tokenAddress: string;
31225
- tokenId: string;
31333
+ gatingType: number;
31334
+ minTokenId: string;
31335
+ maxTokenId: string;
31226
31336
  threshold: string;
31227
31337
  maxCommits: string;
31228
31338
  } | null;
@@ -31754,6 +31864,7 @@ export type OfferFieldsFragment = {
31754
31864
  metadataHash: string;
31755
31865
  voided: boolean;
31756
31866
  voidedAt?: string | null;
31867
+ collectionIndex: string;
31757
31868
  disputeResolverId: string;
31758
31869
  numberOfCommits: string;
31759
31870
  numberOfRedemptions: string;
@@ -31871,7 +31982,9 @@ export type OfferFieldsFragment = {
31871
31982
  method: number;
31872
31983
  tokenType: number;
31873
31984
  tokenAddress: string;
31874
- tokenId: string;
31985
+ gatingType: number;
31986
+ minTokenId: string;
31987
+ maxTokenId: string;
31875
31988
  threshold: string;
31876
31989
  maxCommits: string;
31877
31990
  } | null;
@@ -32402,6 +32515,7 @@ export type BaseOfferFieldsFragment = {
32402
32515
  metadataHash: string;
32403
32516
  voided: boolean;
32404
32517
  voidedAt?: string | null;
32518
+ collectionIndex: string;
32405
32519
  disputeResolverId: string;
32406
32520
  numberOfCommits: string;
32407
32521
  numberOfRedemptions: string;
@@ -32411,7 +32525,9 @@ export type BaseOfferFieldsFragment = {
32411
32525
  method: number;
32412
32526
  tokenType: number;
32413
32527
  tokenAddress: string;
32414
- tokenId: string;
32528
+ gatingType: number;
32529
+ minTokenId: string;
32530
+ maxTokenId: string;
32415
32531
  threshold: string;
32416
32532
  maxCommits: string;
32417
32533
  } | null;
@@ -33001,6 +33117,7 @@ export declare const GetProductV1MetadataEntitiesQueryDocument: string;
33001
33117
  export declare const GetOfferByIdQueryDocument: string;
33002
33118
  export declare const GetOffersQueryDocument: string;
33003
33119
  export type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string) => Promise<T>;
33120
+ export declare const defaultWrapper: SdkFunctionWrapper;
33004
33121
  export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
33005
33122
  getSellerByIdQuery(variables: GetSellerByIdQueryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetSellerByIdQueryQuery>;
33006
33123
  getSellersQuery(variables?: GetSellersQueryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetSellersQueryQuery>;