@bosonprotocol/core-sdk 1.11.0-alpha.0 → 1.11.0-alpha.10

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 (73) hide show
  1. package/dist/cjs/accounts/subgraph.d.ts +5 -1
  2. package/dist/cjs/accounts/subgraph.d.ts.map +1 -1
  3. package/dist/cjs/accounts/subgraph.js +28 -4
  4. package/dist/cjs/accounts/subgraph.js.map +1 -1
  5. package/dist/cjs/core-sdk.d.ts +240 -4
  6. package/dist/cjs/core-sdk.d.ts.map +1 -1
  7. package/dist/cjs/core-sdk.js +295 -19
  8. package/dist/cjs/core-sdk.js.map +1 -1
  9. package/dist/cjs/erc20/index.d.ts +1 -0
  10. package/dist/cjs/erc20/index.d.ts.map +1 -1
  11. package/dist/cjs/erc20/index.js +2 -1
  12. package/dist/cjs/erc20/index.js.map +1 -1
  13. package/dist/cjs/erc20/subgraph.d.ts +5 -0
  14. package/dist/cjs/erc20/subgraph.d.ts.map +1 -0
  15. package/dist/cjs/erc20/subgraph.js +30 -0
  16. package/dist/cjs/erc20/subgraph.js.map +1 -0
  17. package/dist/cjs/metadata/index.d.ts +2 -0
  18. package/dist/cjs/metadata/index.d.ts.map +1 -0
  19. package/dist/cjs/metadata/index.js +28 -0
  20. package/dist/cjs/metadata/index.js.map +1 -0
  21. package/dist/cjs/metadata/subgraph.d.ts +11 -0
  22. package/dist/cjs/metadata/subgraph.d.ts.map +1 -0
  23. package/dist/cjs/metadata/subgraph.js +62 -0
  24. package/dist/cjs/metadata/subgraph.js.map +1 -0
  25. package/dist/cjs/subgraph.d.ts +1996 -174
  26. package/dist/cjs/subgraph.d.ts.map +1 -1
  27. package/dist/cjs/subgraph.js +535 -13
  28. package/dist/cjs/subgraph.js.map +1 -1
  29. package/dist/cjs/utils/graphql.d.ts +83 -0
  30. package/dist/cjs/utils/graphql.d.ts.map +1 -1
  31. package/dist/esm/accounts/subgraph.d.ts +5 -1
  32. package/dist/esm/accounts/subgraph.d.ts.map +1 -1
  33. package/dist/esm/accounts/subgraph.js +27 -3
  34. package/dist/esm/accounts/subgraph.js.map +1 -1
  35. package/dist/esm/core-sdk.d.ts +240 -4
  36. package/dist/esm/core-sdk.d.ts.map +1 -1
  37. package/dist/esm/core-sdk.js +285 -17
  38. package/dist/esm/core-sdk.js.map +1 -1
  39. package/dist/esm/erc20/index.d.ts +1 -0
  40. package/dist/esm/erc20/index.d.ts.map +1 -1
  41. package/dist/esm/erc20/index.js +1 -0
  42. package/dist/esm/erc20/index.js.map +1 -1
  43. package/dist/esm/erc20/subgraph.d.ts +5 -0
  44. package/dist/esm/erc20/subgraph.d.ts.map +1 -0
  45. package/dist/esm/erc20/subgraph.js +15 -0
  46. package/dist/esm/erc20/subgraph.js.map +1 -0
  47. package/dist/esm/metadata/index.d.ts +2 -0
  48. package/dist/esm/metadata/index.d.ts.map +1 -0
  49. package/dist/esm/metadata/index.js +2 -0
  50. package/dist/esm/metadata/index.js.map +1 -0
  51. package/dist/esm/metadata/subgraph.d.ts +11 -0
  52. package/dist/esm/metadata/subgraph.d.ts.map +1 -0
  53. package/dist/esm/metadata/subgraph.js +46 -0
  54. package/dist/esm/metadata/subgraph.js.map +1 -0
  55. package/dist/esm/subgraph.d.ts +1996 -174
  56. package/dist/esm/subgraph.d.ts.map +1 -1
  57. package/dist/esm/subgraph.js +533 -11
  58. package/dist/esm/subgraph.js.map +1 -1
  59. package/dist/esm/utils/graphql.d.ts +83 -0
  60. package/dist/esm/utils/graphql.d.ts.map +1 -1
  61. package/package.json +4 -3
  62. package/src/accounts/subgraph.ts +49 -3
  63. package/src/core-sdk.ts +323 -23
  64. package/src/erc20/index.ts +1 -0
  65. package/src/erc20/queries.graphql +84 -0
  66. package/src/erc20/subgraph.ts +33 -0
  67. package/src/funds/queries.graphql +7 -6
  68. package/src/metadata/base.graphql +63 -0
  69. package/src/metadata/index.ts +1 -0
  70. package/src/metadata/product-v1.graphql +285 -0
  71. package/src/metadata/subgraph.ts +105 -0
  72. package/src/offers/queries.graphql +1 -4
  73. package/src/subgraph.ts +2646 -197
package/src/subgraph.ts CHANGED
@@ -5415,10 +5415,11 @@ export type GetSellerByIdQueryQuery = {
5415
5415
  accountId: string;
5416
5416
  token: {
5417
5417
  __typename?: "ExchangeToken";
5418
+ id: string;
5418
5419
  address: string;
5419
- name: string;
5420
- symbol: string;
5421
5420
  decimals: string;
5421
+ symbol: string;
5422
+ name: string;
5422
5423
  };
5423
5424
  }>;
5424
5425
  offers?: Array<{
@@ -5453,10 +5454,11 @@ export type GetSellerByIdQueryQuery = {
5453
5454
  };
5454
5455
  exchangeToken: {
5455
5456
  __typename?: "ExchangeToken";
5457
+ id: string;
5456
5458
  address: string;
5457
5459
  decimals: string;
5458
- name: string;
5459
5460
  symbol: string;
5461
+ name: string;
5460
5462
  };
5461
5463
  metadata?:
5462
5464
  | {
@@ -5537,10 +5539,11 @@ export type GetSellersQueryQuery = {
5537
5539
  accountId: string;
5538
5540
  token: {
5539
5541
  __typename?: "ExchangeToken";
5542
+ id: string;
5540
5543
  address: string;
5541
- name: string;
5542
- symbol: string;
5543
5544
  decimals: string;
5545
+ symbol: string;
5546
+ name: string;
5544
5547
  };
5545
5548
  }>;
5546
5549
  offers?: Array<{
@@ -5575,10 +5578,11 @@ export type GetSellersQueryQuery = {
5575
5578
  };
5576
5579
  exchangeToken: {
5577
5580
  __typename?: "ExchangeToken";
5581
+ id: string;
5578
5582
  address: string;
5579
5583
  decimals: string;
5580
- name: string;
5581
5584
  symbol: string;
5585
+ name: string;
5582
5586
  };
5583
5587
  metadata?:
5584
5588
  | {
@@ -5646,10 +5650,11 @@ export type GetBuyerByIdQueryQuery = {
5646
5650
  accountId: string;
5647
5651
  token: {
5648
5652
  __typename?: "ExchangeToken";
5653
+ id: string;
5649
5654
  address: string;
5650
- name: string;
5651
- symbol: string;
5652
5655
  decimals: string;
5656
+ symbol: string;
5657
+ name: string;
5653
5658
  };
5654
5659
  }>;
5655
5660
  exchanges?: Array<{
@@ -5709,10 +5714,11 @@ export type GetBuyersQueryQuery = {
5709
5714
  accountId: string;
5710
5715
  token: {
5711
5716
  __typename?: "ExchangeToken";
5717
+ id: string;
5712
5718
  address: string;
5713
- name: string;
5714
- symbol: string;
5715
5719
  decimals: string;
5720
+ symbol: string;
5721
+ name: string;
5716
5722
  };
5717
5723
  }>;
5718
5724
  exchanges?: Array<{
@@ -5747,10 +5753,11 @@ export type SellerFieldsFragment = {
5747
5753
  accountId: string;
5748
5754
  token: {
5749
5755
  __typename?: "ExchangeToken";
5756
+ id: string;
5750
5757
  address: string;
5751
- name: string;
5752
- symbol: string;
5753
5758
  decimals: string;
5759
+ symbol: string;
5760
+ name: string;
5754
5761
  };
5755
5762
  }>;
5756
5763
  offers?: Array<{
@@ -5785,10 +5792,11 @@ export type SellerFieldsFragment = {
5785
5792
  };
5786
5793
  exchangeToken: {
5787
5794
  __typename?: "ExchangeToken";
5795
+ id: string;
5788
5796
  address: string;
5789
5797
  decimals: string;
5790
- name: string;
5791
5798
  symbol: string;
5799
+ name: string;
5792
5800
  };
5793
5801
  metadata?:
5794
5802
  | {
@@ -5847,10 +5855,11 @@ export type BuyerFieldsFragment = {
5847
5855
  accountId: string;
5848
5856
  token: {
5849
5857
  __typename?: "ExchangeToken";
5858
+ id: string;
5850
5859
  address: string;
5851
- name: string;
5852
- symbol: string;
5853
5860
  decimals: string;
5861
+ symbol: string;
5862
+ name: string;
5854
5863
  };
5855
5864
  }>;
5856
5865
  exchanges?: Array<{
@@ -5876,41 +5885,37 @@ export type BaseBuyerFieldsFragment = {
5876
5885
  active: boolean;
5877
5886
  };
5878
5887
 
5879
- export type GetExchangeByIdQueryQueryVariables = Exact<{
5880
- exchangeId: Scalars["ID"];
5888
+ export type GetExchangeTokenByIdQueryQueryVariables = Exact<{
5889
+ exchangeTokenId: Scalars["ID"];
5890
+ exchangeTokensSkip?: InputMaybe<Scalars["Int"]>;
5891
+ exchangeTokensFirst?: InputMaybe<Scalars["Int"]>;
5892
+ exchangeTokensOrderBy?: InputMaybe<ExchangeToken_OrderBy>;
5893
+ exchangeTokensOrderDirection?: InputMaybe<OrderDirection>;
5894
+ exchangeTokensFilter?: InputMaybe<ExchangeToken_Filter>;
5895
+ offersSkip?: InputMaybe<Scalars["Int"]>;
5896
+ offersFirst?: InputMaybe<Scalars["Int"]>;
5897
+ offersOrderBy?: InputMaybe<Offer_OrderBy>;
5898
+ offersOrderDirection?: InputMaybe<OrderDirection>;
5899
+ offersFilter?: InputMaybe<Offer_Filter>;
5900
+ fundsSkip?: InputMaybe<Scalars["Int"]>;
5901
+ fundsFirst?: InputMaybe<Scalars["Int"]>;
5902
+ fundsOrderBy?: InputMaybe<FundsEntity_OrderBy>;
5903
+ fundsOrderDirection?: InputMaybe<OrderDirection>;
5904
+ fundsFilter?: InputMaybe<FundsEntity_Filter>;
5905
+ includeOffers?: InputMaybe<Scalars["Boolean"]>;
5906
+ includeFunds?: InputMaybe<Scalars["Boolean"]>;
5881
5907
  }>;
5882
5908
 
5883
- export type GetExchangeByIdQueryQuery = {
5909
+ export type GetExchangeTokenByIdQueryQuery = {
5884
5910
  __typename?: "Query";
5885
- exchange?: {
5886
- __typename?: "Exchange";
5911
+ exchangeToken?: {
5912
+ __typename?: "ExchangeToken";
5887
5913
  id: string;
5888
- disputed: boolean;
5889
- state: ExchangeState;
5890
- committedDate: string;
5891
- finalizedDate?: string | null;
5892
- validUntilDate: string;
5893
- redeemedDate?: string | null;
5894
- revokedDate?: string | null;
5895
- cancelledDate?: string | null;
5896
- completedDate?: string | null;
5897
- expired: boolean;
5898
- buyer: {
5899
- __typename?: "Buyer";
5900
- id: string;
5901
- wallet: string;
5902
- active: boolean;
5903
- };
5904
- seller: {
5905
- __typename?: "Seller";
5906
- id: string;
5907
- operator: string;
5908
- admin: string;
5909
- clerk: string;
5910
- treasury: string;
5911
- active: boolean;
5912
- };
5913
- offer: {
5914
+ address: string;
5915
+ decimals: string;
5916
+ symbol: string;
5917
+ name: string;
5918
+ offers?: Array<{
5914
5919
  __typename?: "Offer";
5915
5920
  id: string;
5916
5921
  createdAt: string;
@@ -5942,10 +5947,11 @@ export type GetExchangeByIdQueryQuery = {
5942
5947
  };
5943
5948
  exchangeToken: {
5944
5949
  __typename?: "ExchangeToken";
5950
+ id: string;
5945
5951
  address: string;
5946
5952
  decimals: string;
5947
- name: string;
5948
5953
  symbol: string;
5954
+ name: string;
5949
5955
  };
5950
5956
  metadata?:
5951
5957
  | {
@@ -5965,49 +5971,46 @@ export type GetExchangeByIdQueryQuery = {
5965
5971
  type: MetadataType;
5966
5972
  }
5967
5973
  | null;
5968
- };
5974
+ }>;
5975
+ funds?: Array<{
5976
+ __typename?: "FundsEntity";
5977
+ id: string;
5978
+ availableAmount: string;
5979
+ accountId: string;
5980
+ }>;
5969
5981
  } | null;
5970
5982
  };
5971
5983
 
5972
- export type GetExchangesQueryQueryVariables = Exact<{
5973
- exchangesSkip?: InputMaybe<Scalars["Int"]>;
5974
- exchangesFirst?: InputMaybe<Scalars["Int"]>;
5975
- exchangesOrderBy?: InputMaybe<Exchange_OrderBy>;
5976
- exchangesOrderDirection?: InputMaybe<OrderDirection>;
5977
- exchangesFilter?: InputMaybe<Exchange_Filter>;
5984
+ export type GetExchangeTokensQueryQueryVariables = Exact<{
5985
+ exchangeTokensSkip?: InputMaybe<Scalars["Int"]>;
5986
+ exchangeTokensFirst?: InputMaybe<Scalars["Int"]>;
5987
+ exchangeTokensOrderBy?: InputMaybe<ExchangeToken_OrderBy>;
5988
+ exchangeTokensOrderDirection?: InputMaybe<OrderDirection>;
5989
+ exchangeTokensFilter?: InputMaybe<ExchangeToken_Filter>;
5990
+ offersSkip?: InputMaybe<Scalars["Int"]>;
5991
+ offersFirst?: InputMaybe<Scalars["Int"]>;
5992
+ offersOrderBy?: InputMaybe<Offer_OrderBy>;
5993
+ offersOrderDirection?: InputMaybe<OrderDirection>;
5994
+ offersFilter?: InputMaybe<Offer_Filter>;
5995
+ includeOffers?: InputMaybe<Scalars["Boolean"]>;
5996
+ fundsSkip?: InputMaybe<Scalars["Int"]>;
5997
+ fundsFirst?: InputMaybe<Scalars["Int"]>;
5998
+ fundsOrderBy?: InputMaybe<FundsEntity_OrderBy>;
5999
+ fundsOrderDirection?: InputMaybe<OrderDirection>;
6000
+ fundsFilter?: InputMaybe<FundsEntity_Filter>;
6001
+ includeFunds?: InputMaybe<Scalars["Boolean"]>;
5978
6002
  }>;
5979
6003
 
5980
- export type GetExchangesQueryQuery = {
6004
+ export type GetExchangeTokensQueryQuery = {
5981
6005
  __typename?: "Query";
5982
- exchanges: Array<{
5983
- __typename?: "Exchange";
6006
+ exchangeTokens: Array<{
6007
+ __typename?: "ExchangeToken";
5984
6008
  id: string;
5985
- disputed: boolean;
5986
- state: ExchangeState;
5987
- committedDate: string;
5988
- finalizedDate?: string | null;
5989
- validUntilDate: string;
5990
- redeemedDate?: string | null;
5991
- revokedDate?: string | null;
5992
- cancelledDate?: string | null;
5993
- completedDate?: string | null;
5994
- expired: boolean;
5995
- buyer: {
5996
- __typename?: "Buyer";
5997
- id: string;
5998
- wallet: string;
5999
- active: boolean;
6000
- };
6001
- seller: {
6002
- __typename?: "Seller";
6003
- id: string;
6004
- operator: string;
6005
- admin: string;
6006
- clerk: string;
6007
- treasury: string;
6008
- active: boolean;
6009
- };
6010
- offer: {
6009
+ address: string;
6010
+ decimals: string;
6011
+ symbol: string;
6012
+ name: string;
6013
+ offers?: Array<{
6011
6014
  __typename?: "Offer";
6012
6015
  id: string;
6013
6016
  createdAt: string;
@@ -6039,10 +6042,11 @@ export type GetExchangesQueryQuery = {
6039
6042
  };
6040
6043
  exchangeToken: {
6041
6044
  __typename?: "ExchangeToken";
6045
+ id: string;
6042
6046
  address: string;
6043
6047
  decimals: string;
6044
- name: string;
6045
6048
  symbol: string;
6049
+ name: string;
6046
6050
  };
6047
6051
  metadata?:
6048
6052
  | {
@@ -6062,34 +6066,24 @@ export type GetExchangesQueryQuery = {
6062
6066
  type: MetadataType;
6063
6067
  }
6064
6068
  | null;
6065
- };
6069
+ }>;
6070
+ funds?: Array<{
6071
+ __typename?: "FundsEntity";
6072
+ id: string;
6073
+ availableAmount: string;
6074
+ accountId: string;
6075
+ }>;
6066
6076
  }>;
6067
6077
  };
6068
6078
 
6069
- export type ExchangeFieldsFragment = {
6070
- __typename?: "Exchange";
6079
+ export type ExchangeTokenFieldsFragment = {
6080
+ __typename?: "ExchangeToken";
6071
6081
  id: string;
6072
- disputed: boolean;
6073
- state: ExchangeState;
6074
- committedDate: string;
6075
- finalizedDate?: string | null;
6076
- validUntilDate: string;
6077
- redeemedDate?: string | null;
6078
- revokedDate?: string | null;
6079
- cancelledDate?: string | null;
6080
- completedDate?: string | null;
6081
- expired: boolean;
6082
- buyer: { __typename?: "Buyer"; id: string; wallet: string; active: boolean };
6083
- seller: {
6084
- __typename?: "Seller";
6085
- id: string;
6086
- operator: string;
6087
- admin: string;
6088
- clerk: string;
6089
- treasury: string;
6090
- active: boolean;
6091
- };
6092
- offer: {
6082
+ address: string;
6083
+ decimals: string;
6084
+ symbol: string;
6085
+ name: string;
6086
+ offers?: Array<{
6093
6087
  __typename?: "Offer";
6094
6088
  id: string;
6095
6089
  createdAt: string;
@@ -6121,10 +6115,11 @@ export type ExchangeFieldsFragment = {
6121
6115
  };
6122
6116
  exchangeToken: {
6123
6117
  __typename?: "ExchangeToken";
6118
+ id: string;
6124
6119
  address: string;
6125
6120
  decimals: string;
6126
- name: string;
6127
6121
  symbol: string;
6122
+ name: string;
6128
6123
  };
6129
6124
  metadata?:
6130
6125
  | {
@@ -6144,84 +6139,1916 @@ export type ExchangeFieldsFragment = {
6144
6139
  type: MetadataType;
6145
6140
  }
6146
6141
  | null;
6147
- };
6148
- };
6149
-
6150
- export type BaseExchangeFieldsFragment = {
6151
- __typename?: "Exchange";
6152
- id: string;
6153
- disputed: boolean;
6154
- state: ExchangeState;
6155
- committedDate: string;
6156
- finalizedDate?: string | null;
6157
- validUntilDate: string;
6158
- redeemedDate?: string | null;
6159
- revokedDate?: string | null;
6160
- cancelledDate?: string | null;
6161
- completedDate?: string | null;
6162
- expired: boolean;
6163
- };
6164
-
6165
- export type GetFundsByIdQueryVariables = Exact<{
6166
- fundsId: Scalars["ID"];
6167
- }>;
6168
-
6169
- export type GetFundsByIdQuery = {
6170
- __typename?: "Query";
6171
- fundsEntity?: {
6142
+ }>;
6143
+ funds?: Array<{
6172
6144
  __typename?: "FundsEntity";
6173
6145
  id: string;
6174
6146
  availableAmount: string;
6175
6147
  accountId: string;
6176
- token: {
6177
- __typename?: "ExchangeToken";
6178
- address: string;
6179
- name: string;
6180
- symbol: string;
6181
- decimals: string;
6182
- };
6183
- } | null;
6148
+ }>;
6184
6149
  };
6185
6150
 
6186
- export type GetFundsQueryVariables = Exact<{
6187
- fundsSkip?: InputMaybe<Scalars["Int"]>;
6188
- fundsFirst?: InputMaybe<Scalars["Int"]>;
6189
- fundsOrderBy?: InputMaybe<FundsEntity_OrderBy>;
6190
- fundsOrderDirection?: InputMaybe<OrderDirection>;
6191
- fundsFilter?: InputMaybe<FundsEntity_Filter>;
6151
+ export type BaseExchangeTokenFieldsFragment = {
6152
+ __typename?: "ExchangeToken";
6153
+ id: string;
6154
+ address: string;
6155
+ decimals: string;
6156
+ symbol: string;
6157
+ name: string;
6158
+ };
6159
+
6160
+ export type GetExchangeByIdQueryQueryVariables = Exact<{
6161
+ exchangeId: Scalars["ID"];
6192
6162
  }>;
6193
6163
 
6194
- export type GetFundsQuery = {
6164
+ export type GetExchangeByIdQueryQuery = {
6195
6165
  __typename?: "Query";
6196
- fundsEntities: Array<{
6197
- __typename?: "FundsEntity";
6166
+ exchange?: {
6167
+ __typename?: "Exchange";
6198
6168
  id: string;
6199
- availableAmount: string;
6200
- accountId: string;
6201
- token: {
6202
- __typename?: "ExchangeToken";
6203
- address: string;
6204
- name: string;
6205
- symbol: string;
6206
- decimals: string;
6207
- };
6208
- }>;
6209
- };
6169
+ disputed: boolean;
6170
+ state: ExchangeState;
6171
+ committedDate: string;
6172
+ finalizedDate?: string | null;
6173
+ validUntilDate: string;
6174
+ redeemedDate?: string | null;
6175
+ revokedDate?: string | null;
6176
+ cancelledDate?: string | null;
6177
+ completedDate?: string | null;
6178
+ expired: boolean;
6179
+ buyer: {
6180
+ __typename?: "Buyer";
6181
+ id: string;
6182
+ wallet: string;
6183
+ active: boolean;
6184
+ };
6185
+ seller: {
6186
+ __typename?: "Seller";
6187
+ id: string;
6188
+ operator: string;
6189
+ admin: string;
6190
+ clerk: string;
6191
+ treasury: string;
6192
+ active: boolean;
6193
+ };
6194
+ offer: {
6195
+ __typename?: "Offer";
6196
+ id: string;
6197
+ createdAt: string;
6198
+ price: string;
6199
+ sellerDeposit: string;
6200
+ protocolFee: string;
6201
+ buyerCancelPenalty: string;
6202
+ quantityAvailable: string;
6203
+ quantityInitial: string;
6204
+ validFromDate: string;
6205
+ validUntilDate: string;
6206
+ voucherRedeemableFromDate: string;
6207
+ voucherRedeemableUntilDate: string;
6208
+ fulfillmentPeriodDuration: string;
6209
+ voucherValidDuration: string;
6210
+ resolutionPeriodDuration: string;
6211
+ metadataUri: string;
6212
+ metadataHash: string;
6213
+ voidedAt?: string | null;
6214
+ disputeResolverId: string;
6215
+ seller: {
6216
+ __typename?: "Seller";
6217
+ id: string;
6218
+ operator: string;
6219
+ admin: string;
6220
+ clerk: string;
6221
+ treasury: string;
6222
+ active: boolean;
6223
+ };
6224
+ exchangeToken: {
6225
+ __typename?: "ExchangeToken";
6226
+ id: string;
6227
+ address: string;
6228
+ decimals: string;
6229
+ symbol: string;
6230
+ name: string;
6231
+ };
6232
+ metadata?:
6233
+ | {
6234
+ __typename?: "BaseMetadataEntity";
6235
+ name: string;
6236
+ description: string;
6237
+ externalUrl: string;
6238
+ schemaUrl: string;
6239
+ type: MetadataType;
6240
+ }
6241
+ | {
6242
+ __typename?: "ProductV1MetadataEntity";
6243
+ name: string;
6244
+ description: string;
6245
+ externalUrl: string;
6246
+ schemaUrl: string;
6247
+ type: MetadataType;
6248
+ }
6249
+ | null;
6250
+ };
6251
+ } | null;
6252
+ };
6253
+
6254
+ export type GetExchangesQueryQueryVariables = Exact<{
6255
+ exchangesSkip?: InputMaybe<Scalars["Int"]>;
6256
+ exchangesFirst?: InputMaybe<Scalars["Int"]>;
6257
+ exchangesOrderBy?: InputMaybe<Exchange_OrderBy>;
6258
+ exchangesOrderDirection?: InputMaybe<OrderDirection>;
6259
+ exchangesFilter?: InputMaybe<Exchange_Filter>;
6260
+ }>;
6261
+
6262
+ export type GetExchangesQueryQuery = {
6263
+ __typename?: "Query";
6264
+ exchanges: Array<{
6265
+ __typename?: "Exchange";
6266
+ id: string;
6267
+ disputed: boolean;
6268
+ state: ExchangeState;
6269
+ committedDate: string;
6270
+ finalizedDate?: string | null;
6271
+ validUntilDate: string;
6272
+ redeemedDate?: string | null;
6273
+ revokedDate?: string | null;
6274
+ cancelledDate?: string | null;
6275
+ completedDate?: string | null;
6276
+ expired: boolean;
6277
+ buyer: {
6278
+ __typename?: "Buyer";
6279
+ id: string;
6280
+ wallet: string;
6281
+ active: boolean;
6282
+ };
6283
+ seller: {
6284
+ __typename?: "Seller";
6285
+ id: string;
6286
+ operator: string;
6287
+ admin: string;
6288
+ clerk: string;
6289
+ treasury: string;
6290
+ active: boolean;
6291
+ };
6292
+ offer: {
6293
+ __typename?: "Offer";
6294
+ id: string;
6295
+ createdAt: string;
6296
+ price: string;
6297
+ sellerDeposit: string;
6298
+ protocolFee: string;
6299
+ buyerCancelPenalty: string;
6300
+ quantityAvailable: string;
6301
+ quantityInitial: string;
6302
+ validFromDate: string;
6303
+ validUntilDate: string;
6304
+ voucherRedeemableFromDate: string;
6305
+ voucherRedeemableUntilDate: string;
6306
+ fulfillmentPeriodDuration: string;
6307
+ voucherValidDuration: string;
6308
+ resolutionPeriodDuration: string;
6309
+ metadataUri: string;
6310
+ metadataHash: string;
6311
+ voidedAt?: string | null;
6312
+ disputeResolverId: string;
6313
+ seller: {
6314
+ __typename?: "Seller";
6315
+ id: string;
6316
+ operator: string;
6317
+ admin: string;
6318
+ clerk: string;
6319
+ treasury: string;
6320
+ active: boolean;
6321
+ };
6322
+ exchangeToken: {
6323
+ __typename?: "ExchangeToken";
6324
+ id: string;
6325
+ address: string;
6326
+ decimals: string;
6327
+ symbol: string;
6328
+ name: string;
6329
+ };
6330
+ metadata?:
6331
+ | {
6332
+ __typename?: "BaseMetadataEntity";
6333
+ name: string;
6334
+ description: string;
6335
+ externalUrl: string;
6336
+ schemaUrl: string;
6337
+ type: MetadataType;
6338
+ }
6339
+ | {
6340
+ __typename?: "ProductV1MetadataEntity";
6341
+ name: string;
6342
+ description: string;
6343
+ externalUrl: string;
6344
+ schemaUrl: string;
6345
+ type: MetadataType;
6346
+ }
6347
+ | null;
6348
+ };
6349
+ }>;
6350
+ };
6351
+
6352
+ export type ExchangeFieldsFragment = {
6353
+ __typename?: "Exchange";
6354
+ id: string;
6355
+ disputed: boolean;
6356
+ state: ExchangeState;
6357
+ committedDate: string;
6358
+ finalizedDate?: string | null;
6359
+ validUntilDate: string;
6360
+ redeemedDate?: string | null;
6361
+ revokedDate?: string | null;
6362
+ cancelledDate?: string | null;
6363
+ completedDate?: string | null;
6364
+ expired: boolean;
6365
+ buyer: { __typename?: "Buyer"; id: string; wallet: string; active: boolean };
6366
+ seller: {
6367
+ __typename?: "Seller";
6368
+ id: string;
6369
+ operator: string;
6370
+ admin: string;
6371
+ clerk: string;
6372
+ treasury: string;
6373
+ active: boolean;
6374
+ };
6375
+ offer: {
6376
+ __typename?: "Offer";
6377
+ id: string;
6378
+ createdAt: string;
6379
+ price: string;
6380
+ sellerDeposit: string;
6381
+ protocolFee: string;
6382
+ buyerCancelPenalty: string;
6383
+ quantityAvailable: string;
6384
+ quantityInitial: string;
6385
+ validFromDate: string;
6386
+ validUntilDate: string;
6387
+ voucherRedeemableFromDate: string;
6388
+ voucherRedeemableUntilDate: string;
6389
+ fulfillmentPeriodDuration: string;
6390
+ voucherValidDuration: string;
6391
+ resolutionPeriodDuration: string;
6392
+ metadataUri: string;
6393
+ metadataHash: string;
6394
+ voidedAt?: string | null;
6395
+ disputeResolverId: string;
6396
+ seller: {
6397
+ __typename?: "Seller";
6398
+ id: string;
6399
+ operator: string;
6400
+ admin: string;
6401
+ clerk: string;
6402
+ treasury: string;
6403
+ active: boolean;
6404
+ };
6405
+ exchangeToken: {
6406
+ __typename?: "ExchangeToken";
6407
+ id: string;
6408
+ address: string;
6409
+ decimals: string;
6410
+ symbol: string;
6411
+ name: string;
6412
+ };
6413
+ metadata?:
6414
+ | {
6415
+ __typename?: "BaseMetadataEntity";
6416
+ name: string;
6417
+ description: string;
6418
+ externalUrl: string;
6419
+ schemaUrl: string;
6420
+ type: MetadataType;
6421
+ }
6422
+ | {
6423
+ __typename?: "ProductV1MetadataEntity";
6424
+ name: string;
6425
+ description: string;
6426
+ externalUrl: string;
6427
+ schemaUrl: string;
6428
+ type: MetadataType;
6429
+ }
6430
+ | null;
6431
+ };
6432
+ };
6433
+
6434
+ export type BaseExchangeFieldsFragment = {
6435
+ __typename?: "Exchange";
6436
+ id: string;
6437
+ disputed: boolean;
6438
+ state: ExchangeState;
6439
+ committedDate: string;
6440
+ finalizedDate?: string | null;
6441
+ validUntilDate: string;
6442
+ redeemedDate?: string | null;
6443
+ revokedDate?: string | null;
6444
+ cancelledDate?: string | null;
6445
+ completedDate?: string | null;
6446
+ expired: boolean;
6447
+ };
6448
+
6449
+ export type GetFundsByIdQueryVariables = Exact<{
6450
+ fundsId: Scalars["ID"];
6451
+ }>;
6452
+
6453
+ export type GetFundsByIdQuery = {
6454
+ __typename?: "Query";
6455
+ fundsEntity?: {
6456
+ __typename?: "FundsEntity";
6457
+ id: string;
6458
+ availableAmount: string;
6459
+ accountId: string;
6460
+ token: {
6461
+ __typename?: "ExchangeToken";
6462
+ id: string;
6463
+ address: string;
6464
+ decimals: string;
6465
+ symbol: string;
6466
+ name: string;
6467
+ };
6468
+ } | null;
6469
+ };
6470
+
6471
+ export type GetFundsQueryVariables = Exact<{
6472
+ fundsSkip?: InputMaybe<Scalars["Int"]>;
6473
+ fundsFirst?: InputMaybe<Scalars["Int"]>;
6474
+ fundsOrderBy?: InputMaybe<FundsEntity_OrderBy>;
6475
+ fundsOrderDirection?: InputMaybe<OrderDirection>;
6476
+ fundsFilter?: InputMaybe<FundsEntity_Filter>;
6477
+ }>;
6478
+
6479
+ export type GetFundsQuery = {
6480
+ __typename?: "Query";
6481
+ fundsEntities: Array<{
6482
+ __typename?: "FundsEntity";
6483
+ id: string;
6484
+ availableAmount: string;
6485
+ accountId: string;
6486
+ token: {
6487
+ __typename?: "ExchangeToken";
6488
+ id: string;
6489
+ address: string;
6490
+ decimals: string;
6491
+ symbol: string;
6492
+ name: string;
6493
+ };
6494
+ }>;
6495
+ };
6496
+
6497
+ export type FundsEntityFieldsFragment = {
6498
+ __typename?: "FundsEntity";
6499
+ id: string;
6500
+ availableAmount: string;
6501
+ accountId: string;
6502
+ token: {
6503
+ __typename?: "ExchangeToken";
6504
+ id: string;
6505
+ address: string;
6506
+ decimals: string;
6507
+ symbol: string;
6508
+ name: string;
6509
+ };
6510
+ };
6511
+
6512
+ export type BaseFundsEntityFieldsFragment = {
6513
+ __typename?: "FundsEntity";
6514
+ id: string;
6515
+ availableAmount: string;
6516
+ accountId: string;
6517
+ };
6518
+
6519
+ export type GetBaseMetadataEntityByIdQueryQueryVariables = Exact<{
6520
+ metadataId: Scalars["ID"];
6521
+ metadataSkip?: InputMaybe<Scalars["Int"]>;
6522
+ metadataFirst?: InputMaybe<Scalars["Int"]>;
6523
+ metadataOrderBy?: InputMaybe<BaseMetadataEntity_OrderBy>;
6524
+ metadataOrderDirection?: InputMaybe<OrderDirection>;
6525
+ metadataFilter?: InputMaybe<BaseMetadataEntity_Filter>;
6526
+ }>;
6527
+
6528
+ export type GetBaseMetadataEntityByIdQueryQuery = {
6529
+ __typename?: "Query";
6530
+ baseMetadataEntity?: {
6531
+ __typename?: "BaseMetadataEntity";
6532
+ id: string;
6533
+ name: string;
6534
+ description: string;
6535
+ externalUrl: string;
6536
+ schemaUrl: string;
6537
+ type: MetadataType;
6538
+ image: string;
6539
+ createdAt: string;
6540
+ voided: boolean;
6541
+ validFromDate: string;
6542
+ validUntilDate: string;
6543
+ quantityAvailable: string;
6544
+ attributes?: Array<{
6545
+ __typename?: "MetadataAttribute";
6546
+ traitType: string;
6547
+ value: string;
6548
+ displayType: string;
6549
+ }> | null;
6550
+ offer: {
6551
+ __typename?: "Offer";
6552
+ id: string;
6553
+ createdAt: string;
6554
+ price: string;
6555
+ sellerDeposit: string;
6556
+ protocolFee: string;
6557
+ buyerCancelPenalty: string;
6558
+ quantityAvailable: string;
6559
+ quantityInitial: string;
6560
+ validFromDate: string;
6561
+ validUntilDate: string;
6562
+ voucherRedeemableFromDate: string;
6563
+ voucherRedeemableUntilDate: string;
6564
+ fulfillmentPeriodDuration: string;
6565
+ voucherValidDuration: string;
6566
+ resolutionPeriodDuration: string;
6567
+ metadataUri: string;
6568
+ metadataHash: string;
6569
+ voidedAt?: string | null;
6570
+ disputeResolverId: string;
6571
+ seller: {
6572
+ __typename?: "Seller";
6573
+ id: string;
6574
+ operator: string;
6575
+ admin: string;
6576
+ clerk: string;
6577
+ treasury: string;
6578
+ active: boolean;
6579
+ };
6580
+ exchangeToken: {
6581
+ __typename?: "ExchangeToken";
6582
+ id: string;
6583
+ address: string;
6584
+ decimals: string;
6585
+ symbol: string;
6586
+ name: string;
6587
+ };
6588
+ metadata?:
6589
+ | {
6590
+ __typename?: "BaseMetadataEntity";
6591
+ name: string;
6592
+ description: string;
6593
+ externalUrl: string;
6594
+ schemaUrl: string;
6595
+ type: MetadataType;
6596
+ }
6597
+ | {
6598
+ __typename?: "ProductV1MetadataEntity";
6599
+ name: string;
6600
+ description: string;
6601
+ externalUrl: string;
6602
+ schemaUrl: string;
6603
+ type: MetadataType;
6604
+ }
6605
+ | null;
6606
+ };
6607
+ seller: {
6608
+ __typename?: "Seller";
6609
+ id: string;
6610
+ operator: string;
6611
+ admin: string;
6612
+ clerk: string;
6613
+ treasury: string;
6614
+ active: boolean;
6615
+ };
6616
+ exchangeToken: {
6617
+ __typename?: "ExchangeToken";
6618
+ id: string;
6619
+ address: string;
6620
+ decimals: string;
6621
+ symbol: string;
6622
+ name: string;
6623
+ };
6624
+ } | null;
6625
+ };
6626
+
6627
+ export type GetBaseMetadataEntitiesQueryQueryVariables = Exact<{
6628
+ metadataSkip?: InputMaybe<Scalars["Int"]>;
6629
+ metadataFirst?: InputMaybe<Scalars["Int"]>;
6630
+ metadataOrderBy?: InputMaybe<BaseMetadataEntity_OrderBy>;
6631
+ metadataOrderDirection?: InputMaybe<OrderDirection>;
6632
+ metadataFilter?: InputMaybe<BaseMetadataEntity_Filter>;
6633
+ }>;
6634
+
6635
+ export type GetBaseMetadataEntitiesQueryQuery = {
6636
+ __typename?: "Query";
6637
+ baseMetadataEntities: Array<{
6638
+ __typename?: "BaseMetadataEntity";
6639
+ id: string;
6640
+ name: string;
6641
+ description: string;
6642
+ externalUrl: string;
6643
+ schemaUrl: string;
6644
+ type: MetadataType;
6645
+ image: string;
6646
+ createdAt: string;
6647
+ voided: boolean;
6648
+ validFromDate: string;
6649
+ validUntilDate: string;
6650
+ quantityAvailable: string;
6651
+ attributes?: Array<{
6652
+ __typename?: "MetadataAttribute";
6653
+ traitType: string;
6654
+ value: string;
6655
+ displayType: string;
6656
+ }> | null;
6657
+ offer: {
6658
+ __typename?: "Offer";
6659
+ id: string;
6660
+ createdAt: string;
6661
+ price: string;
6662
+ sellerDeposit: string;
6663
+ protocolFee: string;
6664
+ buyerCancelPenalty: string;
6665
+ quantityAvailable: string;
6666
+ quantityInitial: string;
6667
+ validFromDate: string;
6668
+ validUntilDate: string;
6669
+ voucherRedeemableFromDate: string;
6670
+ voucherRedeemableUntilDate: string;
6671
+ fulfillmentPeriodDuration: string;
6672
+ voucherValidDuration: string;
6673
+ resolutionPeriodDuration: string;
6674
+ metadataUri: string;
6675
+ metadataHash: string;
6676
+ voidedAt?: string | null;
6677
+ disputeResolverId: string;
6678
+ seller: {
6679
+ __typename?: "Seller";
6680
+ id: string;
6681
+ operator: string;
6682
+ admin: string;
6683
+ clerk: string;
6684
+ treasury: string;
6685
+ active: boolean;
6686
+ };
6687
+ exchangeToken: {
6688
+ __typename?: "ExchangeToken";
6689
+ id: string;
6690
+ address: string;
6691
+ decimals: string;
6692
+ symbol: string;
6693
+ name: string;
6694
+ };
6695
+ metadata?:
6696
+ | {
6697
+ __typename?: "BaseMetadataEntity";
6698
+ name: string;
6699
+ description: string;
6700
+ externalUrl: string;
6701
+ schemaUrl: string;
6702
+ type: MetadataType;
6703
+ }
6704
+ | {
6705
+ __typename?: "ProductV1MetadataEntity";
6706
+ name: string;
6707
+ description: string;
6708
+ externalUrl: string;
6709
+ schemaUrl: string;
6710
+ type: MetadataType;
6711
+ }
6712
+ | null;
6713
+ };
6714
+ seller: {
6715
+ __typename?: "Seller";
6716
+ id: string;
6717
+ operator: string;
6718
+ admin: string;
6719
+ clerk: string;
6720
+ treasury: string;
6721
+ active: boolean;
6722
+ };
6723
+ exchangeToken: {
6724
+ __typename?: "ExchangeToken";
6725
+ id: string;
6726
+ address: string;
6727
+ decimals: string;
6728
+ symbol: string;
6729
+ name: string;
6730
+ };
6731
+ }>;
6732
+ };
6733
+
6734
+ export type BaseMetadataEntityFieldsFragment = {
6735
+ __typename?: "BaseMetadataEntity";
6736
+ id: string;
6737
+ name: string;
6738
+ description: string;
6739
+ externalUrl: string;
6740
+ schemaUrl: string;
6741
+ type: MetadataType;
6742
+ image: string;
6743
+ createdAt: string;
6744
+ voided: boolean;
6745
+ validFromDate: string;
6746
+ validUntilDate: string;
6747
+ quantityAvailable: string;
6748
+ attributes?: Array<{
6749
+ __typename?: "MetadataAttribute";
6750
+ traitType: string;
6751
+ value: string;
6752
+ displayType: string;
6753
+ }> | null;
6754
+ offer: {
6755
+ __typename?: "Offer";
6756
+ id: string;
6757
+ createdAt: string;
6758
+ price: string;
6759
+ sellerDeposit: string;
6760
+ protocolFee: string;
6761
+ buyerCancelPenalty: string;
6762
+ quantityAvailable: string;
6763
+ quantityInitial: string;
6764
+ validFromDate: string;
6765
+ validUntilDate: string;
6766
+ voucherRedeemableFromDate: string;
6767
+ voucherRedeemableUntilDate: string;
6768
+ fulfillmentPeriodDuration: string;
6769
+ voucherValidDuration: string;
6770
+ resolutionPeriodDuration: string;
6771
+ metadataUri: string;
6772
+ metadataHash: string;
6773
+ voidedAt?: string | null;
6774
+ disputeResolverId: string;
6775
+ seller: {
6776
+ __typename?: "Seller";
6777
+ id: string;
6778
+ operator: string;
6779
+ admin: string;
6780
+ clerk: string;
6781
+ treasury: string;
6782
+ active: boolean;
6783
+ };
6784
+ exchangeToken: {
6785
+ __typename?: "ExchangeToken";
6786
+ id: string;
6787
+ address: string;
6788
+ decimals: string;
6789
+ symbol: string;
6790
+ name: string;
6791
+ };
6792
+ metadata?:
6793
+ | {
6794
+ __typename?: "BaseMetadataEntity";
6795
+ name: string;
6796
+ description: string;
6797
+ externalUrl: string;
6798
+ schemaUrl: string;
6799
+ type: MetadataType;
6800
+ }
6801
+ | {
6802
+ __typename?: "ProductV1MetadataEntity";
6803
+ name: string;
6804
+ description: string;
6805
+ externalUrl: string;
6806
+ schemaUrl: string;
6807
+ type: MetadataType;
6808
+ }
6809
+ | null;
6810
+ };
6811
+ seller: {
6812
+ __typename?: "Seller";
6813
+ id: string;
6814
+ operator: string;
6815
+ admin: string;
6816
+ clerk: string;
6817
+ treasury: string;
6818
+ active: boolean;
6819
+ };
6820
+ exchangeToken: {
6821
+ __typename?: "ExchangeToken";
6822
+ id: string;
6823
+ address: string;
6824
+ decimals: string;
6825
+ symbol: string;
6826
+ name: string;
6827
+ };
6828
+ };
6829
+
6830
+ export type BaseBaseMetadataEntityFieldsFragment = {
6831
+ __typename?: "BaseMetadataEntity";
6832
+ id: string;
6833
+ name: string;
6834
+ description: string;
6835
+ externalUrl: string;
6836
+ schemaUrl: string;
6837
+ type: MetadataType;
6838
+ image: string;
6839
+ createdAt: string;
6840
+ voided: boolean;
6841
+ validFromDate: string;
6842
+ validUntilDate: string;
6843
+ quantityAvailable: string;
6844
+ attributes?: Array<{
6845
+ __typename?: "MetadataAttribute";
6846
+ traitType: string;
6847
+ value: string;
6848
+ displayType: string;
6849
+ }> | null;
6850
+ offer: {
6851
+ __typename?: "Offer";
6852
+ id: string;
6853
+ createdAt: string;
6854
+ price: string;
6855
+ sellerDeposit: string;
6856
+ protocolFee: string;
6857
+ buyerCancelPenalty: string;
6858
+ quantityAvailable: string;
6859
+ quantityInitial: string;
6860
+ validFromDate: string;
6861
+ validUntilDate: string;
6862
+ voucherRedeemableFromDate: string;
6863
+ voucherRedeemableUntilDate: string;
6864
+ fulfillmentPeriodDuration: string;
6865
+ voucherValidDuration: string;
6866
+ resolutionPeriodDuration: string;
6867
+ metadataUri: string;
6868
+ metadataHash: string;
6869
+ voidedAt?: string | null;
6870
+ disputeResolverId: string;
6871
+ seller: {
6872
+ __typename?: "Seller";
6873
+ id: string;
6874
+ operator: string;
6875
+ admin: string;
6876
+ clerk: string;
6877
+ treasury: string;
6878
+ active: boolean;
6879
+ };
6880
+ exchangeToken: {
6881
+ __typename?: "ExchangeToken";
6882
+ id: string;
6883
+ address: string;
6884
+ decimals: string;
6885
+ symbol: string;
6886
+ name: string;
6887
+ };
6888
+ metadata?:
6889
+ | {
6890
+ __typename?: "BaseMetadataEntity";
6891
+ name: string;
6892
+ description: string;
6893
+ externalUrl: string;
6894
+ schemaUrl: string;
6895
+ type: MetadataType;
6896
+ }
6897
+ | {
6898
+ __typename?: "ProductV1MetadataEntity";
6899
+ name: string;
6900
+ description: string;
6901
+ externalUrl: string;
6902
+ schemaUrl: string;
6903
+ type: MetadataType;
6904
+ }
6905
+ | null;
6906
+ };
6907
+ seller: {
6908
+ __typename?: "Seller";
6909
+ id: string;
6910
+ operator: string;
6911
+ admin: string;
6912
+ clerk: string;
6913
+ treasury: string;
6914
+ active: boolean;
6915
+ };
6916
+ exchangeToken: {
6917
+ __typename?: "ExchangeToken";
6918
+ id: string;
6919
+ address: string;
6920
+ decimals: string;
6921
+ symbol: string;
6922
+ name: string;
6923
+ };
6924
+ };
6925
+
6926
+ export type GetProductV1BrandsQueryQueryVariables = Exact<{
6927
+ brandsSkip?: InputMaybe<Scalars["Int"]>;
6928
+ brandsFirst?: InputMaybe<Scalars["Int"]>;
6929
+ brandsOrderBy?: InputMaybe<ProductV1Brand_OrderBy>;
6930
+ brandsOrderDirection?: InputMaybe<OrderDirection>;
6931
+ brandsFilter?: InputMaybe<ProductV1Brand_Filter>;
6932
+ }>;
6933
+
6934
+ export type GetProductV1BrandsQueryQuery = {
6935
+ __typename?: "Query";
6936
+ productV1Brands: Array<{
6937
+ __typename?: "ProductV1Brand";
6938
+ id: string;
6939
+ name: string;
6940
+ }>;
6941
+ };
6942
+
6943
+ export type GetProductV1CategoriesQueryQueryVariables = Exact<{
6944
+ categoriesSkip?: InputMaybe<Scalars["Int"]>;
6945
+ categoriesFirst?: InputMaybe<Scalars["Int"]>;
6946
+ categoriesOrderBy?: InputMaybe<ProductV1Category_OrderBy>;
6947
+ categoriesOrderDirection?: InputMaybe<OrderDirection>;
6948
+ categoriesFilter?: InputMaybe<ProductV1Category_Filter>;
6949
+ }>;
6950
+
6951
+ export type GetProductV1CategoriesQueryQuery = {
6952
+ __typename?: "Query";
6953
+ productV1Categories: Array<{
6954
+ __typename?: "ProductV1Category";
6955
+ id: string;
6956
+ name: string;
6957
+ }>;
6958
+ };
6959
+
6960
+ export type GetProductV1MetadataEntityByIdQueryQueryVariables = Exact<{
6961
+ metadataId: Scalars["ID"];
6962
+ metadataSkip?: InputMaybe<Scalars["Int"]>;
6963
+ metadataFirst?: InputMaybe<Scalars["Int"]>;
6964
+ metadataOrderBy?: InputMaybe<ProductV1MetadataEntity_OrderBy>;
6965
+ metadataOrderDirection?: InputMaybe<OrderDirection>;
6966
+ metadataFilter?: InputMaybe<ProductV1MetadataEntity_Filter>;
6967
+ }>;
6968
+
6969
+ export type GetProductV1MetadataEntityByIdQueryQuery = {
6970
+ __typename?: "Query";
6971
+ productV1MetadataEntity?: {
6972
+ __typename?: "ProductV1MetadataEntity";
6973
+ id: string;
6974
+ name: string;
6975
+ description: string;
6976
+ externalUrl: string;
6977
+ schemaUrl: string;
6978
+ type: MetadataType;
6979
+ image: string;
6980
+ createdAt: string;
6981
+ voided: boolean;
6982
+ validFromDate: string;
6983
+ validUntilDate: string;
6984
+ quantityAvailable: string;
6985
+ uuid: string;
6986
+ attributes?: Array<{
6987
+ __typename?: "MetadataAttribute";
6988
+ traitType: string;
6989
+ value: string;
6990
+ displayType: string;
6991
+ }> | null;
6992
+ offer: {
6993
+ __typename?: "Offer";
6994
+ id: string;
6995
+ createdAt: string;
6996
+ price: string;
6997
+ sellerDeposit: string;
6998
+ protocolFee: string;
6999
+ buyerCancelPenalty: string;
7000
+ quantityAvailable: string;
7001
+ quantityInitial: string;
7002
+ validFromDate: string;
7003
+ validUntilDate: string;
7004
+ voucherRedeemableFromDate: string;
7005
+ voucherRedeemableUntilDate: string;
7006
+ fulfillmentPeriodDuration: string;
7007
+ voucherValidDuration: string;
7008
+ resolutionPeriodDuration: string;
7009
+ metadataUri: string;
7010
+ metadataHash: string;
7011
+ voidedAt?: string | null;
7012
+ disputeResolverId: string;
7013
+ seller: {
7014
+ __typename?: "Seller";
7015
+ id: string;
7016
+ operator: string;
7017
+ admin: string;
7018
+ clerk: string;
7019
+ treasury: string;
7020
+ active: boolean;
7021
+ };
7022
+ exchangeToken: {
7023
+ __typename?: "ExchangeToken";
7024
+ id: string;
7025
+ address: string;
7026
+ decimals: string;
7027
+ symbol: string;
7028
+ name: string;
7029
+ };
7030
+ metadata?:
7031
+ | {
7032
+ __typename?: "BaseMetadataEntity";
7033
+ name: string;
7034
+ description: string;
7035
+ externalUrl: string;
7036
+ schemaUrl: string;
7037
+ type: MetadataType;
7038
+ }
7039
+ | {
7040
+ __typename?: "ProductV1MetadataEntity";
7041
+ name: string;
7042
+ description: string;
7043
+ externalUrl: string;
7044
+ schemaUrl: string;
7045
+ type: MetadataType;
7046
+ }
7047
+ | null;
7048
+ };
7049
+ seller: {
7050
+ __typename?: "Seller";
7051
+ id: string;
7052
+ operator: string;
7053
+ admin: string;
7054
+ clerk: string;
7055
+ treasury: string;
7056
+ active: boolean;
7057
+ };
7058
+ exchangeToken: {
7059
+ __typename?: "ExchangeToken";
7060
+ id: string;
7061
+ address: string;
7062
+ decimals: string;
7063
+ symbol: string;
7064
+ name: string;
7065
+ };
7066
+ product: {
7067
+ __typename?: "ProductV1Product";
7068
+ id: string;
7069
+ uuid: string;
7070
+ version: number;
7071
+ title: string;
7072
+ description: string;
7073
+ identification_sKU?: string | null;
7074
+ identification_productId?: string | null;
7075
+ identification_productIdType?: string | null;
7076
+ productionInformation_brandName: string;
7077
+ productionInformation_manufacturer?: string | null;
7078
+ productionInformation_manufacturerPartNumber?: string | null;
7079
+ productionInformation_modelNumber?: string | null;
7080
+ productionInformation_materials?: Array<string> | null;
7081
+ details_category?: string | null;
7082
+ details_subCategory?: string | null;
7083
+ details_subCategory2?: string | null;
7084
+ details_offerCategory: string;
7085
+ offerCategory: ProductV1OfferCategory;
7086
+ details_tags?: Array<string> | null;
7087
+ details_sections?: Array<string> | null;
7088
+ details_personalisation?: Array<string> | null;
7089
+ packaging_packageQuantity?: string | null;
7090
+ packaging_dimensions_length?: string | null;
7091
+ packaging_dimensions_width?: string | null;
7092
+ packaging_dimensions_height?: string | null;
7093
+ packaging_dimensions_unit?: string | null;
7094
+ packaging_weight_value?: string | null;
7095
+ packaging_weight_unit?: string | null;
7096
+ brand: { __typename?: "ProductV1Brand"; id: string; name: string };
7097
+ category?: {
7098
+ __typename?: "ProductV1Category";
7099
+ id: string;
7100
+ name: string;
7101
+ } | null;
7102
+ subCategory?: {
7103
+ __typename?: "ProductV1Category";
7104
+ id: string;
7105
+ name: string;
7106
+ } | null;
7107
+ subCategory2?: {
7108
+ __typename?: "ProductV1Category";
7109
+ id: string;
7110
+ name: string;
7111
+ } | null;
7112
+ tags?: Array<{
7113
+ __typename?: "ProductV1Tag";
7114
+ id: string;
7115
+ name: string;
7116
+ }> | null;
7117
+ sections?: Array<{
7118
+ __typename?: "ProductV1Section";
7119
+ id: string;
7120
+ name: string;
7121
+ }> | null;
7122
+ personalisation?: Array<{
7123
+ __typename?: "ProductV1Personalisation";
7124
+ id: string;
7125
+ name: string;
7126
+ }> | null;
7127
+ visuals_images: Array<{
7128
+ __typename?: "ProductV1Media";
7129
+ id: string;
7130
+ url: string;
7131
+ tag?: string | null;
7132
+ type: ProductV1MediaType;
7133
+ }>;
7134
+ visuals_videos?: Array<{
7135
+ __typename?: "ProductV1Media";
7136
+ id: string;
7137
+ url: string;
7138
+ tag?: string | null;
7139
+ type: ProductV1MediaType;
7140
+ }> | null;
7141
+ };
7142
+ variations?: Array<{
7143
+ __typename?: "ProductV1Variation";
7144
+ id: string;
7145
+ type: string;
7146
+ option: string;
7147
+ }> | null;
7148
+ productV1Seller: {
7149
+ __typename?: "ProductV1Seller";
7150
+ id: string;
7151
+ defaultVersion?: number | null;
7152
+ name?: string | null;
7153
+ description?: string | null;
7154
+ externalUrl?: string | null;
7155
+ tokenId?: string | null;
7156
+ images?: Array<{
7157
+ __typename?: "ProductV1Media";
7158
+ id: string;
7159
+ url: string;
7160
+ tag?: string | null;
7161
+ type: ProductV1MediaType;
7162
+ }> | null;
7163
+ contactLinks?: Array<{
7164
+ __typename?: "ProductV1SellerContactLink";
7165
+ id: string;
7166
+ url: string;
7167
+ tag: string;
7168
+ }> | null;
7169
+ seller: {
7170
+ __typename?: "Seller";
7171
+ id: string;
7172
+ operator: string;
7173
+ admin: string;
7174
+ clerk: string;
7175
+ treasury: string;
7176
+ active: boolean;
7177
+ };
7178
+ };
7179
+ } | null;
7180
+ };
6210
7181
 
6211
- export type FundsEntityFieldsFragment = {
6212
- __typename?: "FundsEntity";
7182
+ export type GetProductV1MetadataEntitiesQueryQueryVariables = Exact<{
7183
+ metadataSkip?: InputMaybe<Scalars["Int"]>;
7184
+ metadataFirst?: InputMaybe<Scalars["Int"]>;
7185
+ metadataOrderBy?: InputMaybe<ProductV1MetadataEntity_OrderBy>;
7186
+ metadataOrderDirection?: InputMaybe<OrderDirection>;
7187
+ metadataFilter?: InputMaybe<ProductV1MetadataEntity_Filter>;
7188
+ }>;
7189
+
7190
+ export type GetProductV1MetadataEntitiesQueryQuery = {
7191
+ __typename?: "Query";
7192
+ productV1MetadataEntities: Array<{
7193
+ __typename?: "ProductV1MetadataEntity";
7194
+ id: string;
7195
+ name: string;
7196
+ description: string;
7197
+ externalUrl: string;
7198
+ schemaUrl: string;
7199
+ type: MetadataType;
7200
+ image: string;
7201
+ createdAt: string;
7202
+ voided: boolean;
7203
+ validFromDate: string;
7204
+ validUntilDate: string;
7205
+ quantityAvailable: string;
7206
+ uuid: string;
7207
+ attributes?: Array<{
7208
+ __typename?: "MetadataAttribute";
7209
+ traitType: string;
7210
+ value: string;
7211
+ displayType: string;
7212
+ }> | null;
7213
+ offer: {
7214
+ __typename?: "Offer";
7215
+ id: string;
7216
+ createdAt: string;
7217
+ price: string;
7218
+ sellerDeposit: string;
7219
+ protocolFee: string;
7220
+ buyerCancelPenalty: string;
7221
+ quantityAvailable: string;
7222
+ quantityInitial: string;
7223
+ validFromDate: string;
7224
+ validUntilDate: string;
7225
+ voucherRedeemableFromDate: string;
7226
+ voucherRedeemableUntilDate: string;
7227
+ fulfillmentPeriodDuration: string;
7228
+ voucherValidDuration: string;
7229
+ resolutionPeriodDuration: string;
7230
+ metadataUri: string;
7231
+ metadataHash: string;
7232
+ voidedAt?: string | null;
7233
+ disputeResolverId: string;
7234
+ seller: {
7235
+ __typename?: "Seller";
7236
+ id: string;
7237
+ operator: string;
7238
+ admin: string;
7239
+ clerk: string;
7240
+ treasury: string;
7241
+ active: boolean;
7242
+ };
7243
+ exchangeToken: {
7244
+ __typename?: "ExchangeToken";
7245
+ id: string;
7246
+ address: string;
7247
+ decimals: string;
7248
+ symbol: string;
7249
+ name: string;
7250
+ };
7251
+ metadata?:
7252
+ | {
7253
+ __typename?: "BaseMetadataEntity";
7254
+ name: string;
7255
+ description: string;
7256
+ externalUrl: string;
7257
+ schemaUrl: string;
7258
+ type: MetadataType;
7259
+ }
7260
+ | {
7261
+ __typename?: "ProductV1MetadataEntity";
7262
+ name: string;
7263
+ description: string;
7264
+ externalUrl: string;
7265
+ schemaUrl: string;
7266
+ type: MetadataType;
7267
+ }
7268
+ | null;
7269
+ };
7270
+ seller: {
7271
+ __typename?: "Seller";
7272
+ id: string;
7273
+ operator: string;
7274
+ admin: string;
7275
+ clerk: string;
7276
+ treasury: string;
7277
+ active: boolean;
7278
+ };
7279
+ exchangeToken: {
7280
+ __typename?: "ExchangeToken";
7281
+ id: string;
7282
+ address: string;
7283
+ decimals: string;
7284
+ symbol: string;
7285
+ name: string;
7286
+ };
7287
+ product: {
7288
+ __typename?: "ProductV1Product";
7289
+ id: string;
7290
+ uuid: string;
7291
+ version: number;
7292
+ title: string;
7293
+ description: string;
7294
+ identification_sKU?: string | null;
7295
+ identification_productId?: string | null;
7296
+ identification_productIdType?: string | null;
7297
+ productionInformation_brandName: string;
7298
+ productionInformation_manufacturer?: string | null;
7299
+ productionInformation_manufacturerPartNumber?: string | null;
7300
+ productionInformation_modelNumber?: string | null;
7301
+ productionInformation_materials?: Array<string> | null;
7302
+ details_category?: string | null;
7303
+ details_subCategory?: string | null;
7304
+ details_subCategory2?: string | null;
7305
+ details_offerCategory: string;
7306
+ offerCategory: ProductV1OfferCategory;
7307
+ details_tags?: Array<string> | null;
7308
+ details_sections?: Array<string> | null;
7309
+ details_personalisation?: Array<string> | null;
7310
+ packaging_packageQuantity?: string | null;
7311
+ packaging_dimensions_length?: string | null;
7312
+ packaging_dimensions_width?: string | null;
7313
+ packaging_dimensions_height?: string | null;
7314
+ packaging_dimensions_unit?: string | null;
7315
+ packaging_weight_value?: string | null;
7316
+ packaging_weight_unit?: string | null;
7317
+ brand: { __typename?: "ProductV1Brand"; id: string; name: string };
7318
+ category?: {
7319
+ __typename?: "ProductV1Category";
7320
+ id: string;
7321
+ name: string;
7322
+ } | null;
7323
+ subCategory?: {
7324
+ __typename?: "ProductV1Category";
7325
+ id: string;
7326
+ name: string;
7327
+ } | null;
7328
+ subCategory2?: {
7329
+ __typename?: "ProductV1Category";
7330
+ id: string;
7331
+ name: string;
7332
+ } | null;
7333
+ tags?: Array<{
7334
+ __typename?: "ProductV1Tag";
7335
+ id: string;
7336
+ name: string;
7337
+ }> | null;
7338
+ sections?: Array<{
7339
+ __typename?: "ProductV1Section";
7340
+ id: string;
7341
+ name: string;
7342
+ }> | null;
7343
+ personalisation?: Array<{
7344
+ __typename?: "ProductV1Personalisation";
7345
+ id: string;
7346
+ name: string;
7347
+ }> | null;
7348
+ visuals_images: Array<{
7349
+ __typename?: "ProductV1Media";
7350
+ id: string;
7351
+ url: string;
7352
+ tag?: string | null;
7353
+ type: ProductV1MediaType;
7354
+ }>;
7355
+ visuals_videos?: Array<{
7356
+ __typename?: "ProductV1Media";
7357
+ id: string;
7358
+ url: string;
7359
+ tag?: string | null;
7360
+ type: ProductV1MediaType;
7361
+ }> | null;
7362
+ };
7363
+ variations?: Array<{
7364
+ __typename?: "ProductV1Variation";
7365
+ id: string;
7366
+ type: string;
7367
+ option: string;
7368
+ }> | null;
7369
+ productV1Seller: {
7370
+ __typename?: "ProductV1Seller";
7371
+ id: string;
7372
+ defaultVersion?: number | null;
7373
+ name?: string | null;
7374
+ description?: string | null;
7375
+ externalUrl?: string | null;
7376
+ tokenId?: string | null;
7377
+ images?: Array<{
7378
+ __typename?: "ProductV1Media";
7379
+ id: string;
7380
+ url: string;
7381
+ tag?: string | null;
7382
+ type: ProductV1MediaType;
7383
+ }> | null;
7384
+ contactLinks?: Array<{
7385
+ __typename?: "ProductV1SellerContactLink";
7386
+ id: string;
7387
+ url: string;
7388
+ tag: string;
7389
+ }> | null;
7390
+ seller: {
7391
+ __typename?: "Seller";
7392
+ id: string;
7393
+ operator: string;
7394
+ admin: string;
7395
+ clerk: string;
7396
+ treasury: string;
7397
+ active: boolean;
7398
+ };
7399
+ };
7400
+ }>;
7401
+ };
7402
+
7403
+ export type ProductV1MetadataEntityFieldsFragment = {
7404
+ __typename?: "ProductV1MetadataEntity";
7405
+ id: string;
7406
+ name: string;
7407
+ description: string;
7408
+ externalUrl: string;
7409
+ schemaUrl: string;
7410
+ type: MetadataType;
7411
+ image: string;
7412
+ createdAt: string;
7413
+ voided: boolean;
7414
+ validFromDate: string;
7415
+ validUntilDate: string;
7416
+ quantityAvailable: string;
7417
+ uuid: string;
7418
+ attributes?: Array<{
7419
+ __typename?: "MetadataAttribute";
7420
+ traitType: string;
7421
+ value: string;
7422
+ displayType: string;
7423
+ }> | null;
7424
+ offer: {
7425
+ __typename?: "Offer";
7426
+ id: string;
7427
+ createdAt: string;
7428
+ price: string;
7429
+ sellerDeposit: string;
7430
+ protocolFee: string;
7431
+ buyerCancelPenalty: string;
7432
+ quantityAvailable: string;
7433
+ quantityInitial: string;
7434
+ validFromDate: string;
7435
+ validUntilDate: string;
7436
+ voucherRedeemableFromDate: string;
7437
+ voucherRedeemableUntilDate: string;
7438
+ fulfillmentPeriodDuration: string;
7439
+ voucherValidDuration: string;
7440
+ resolutionPeriodDuration: string;
7441
+ metadataUri: string;
7442
+ metadataHash: string;
7443
+ voidedAt?: string | null;
7444
+ disputeResolverId: string;
7445
+ seller: {
7446
+ __typename?: "Seller";
7447
+ id: string;
7448
+ operator: string;
7449
+ admin: string;
7450
+ clerk: string;
7451
+ treasury: string;
7452
+ active: boolean;
7453
+ };
7454
+ exchangeToken: {
7455
+ __typename?: "ExchangeToken";
7456
+ id: string;
7457
+ address: string;
7458
+ decimals: string;
7459
+ symbol: string;
7460
+ name: string;
7461
+ };
7462
+ metadata?:
7463
+ | {
7464
+ __typename?: "BaseMetadataEntity";
7465
+ name: string;
7466
+ description: string;
7467
+ externalUrl: string;
7468
+ schemaUrl: string;
7469
+ type: MetadataType;
7470
+ }
7471
+ | {
7472
+ __typename?: "ProductV1MetadataEntity";
7473
+ name: string;
7474
+ description: string;
7475
+ externalUrl: string;
7476
+ schemaUrl: string;
7477
+ type: MetadataType;
7478
+ }
7479
+ | null;
7480
+ };
7481
+ seller: {
7482
+ __typename?: "Seller";
7483
+ id: string;
7484
+ operator: string;
7485
+ admin: string;
7486
+ clerk: string;
7487
+ treasury: string;
7488
+ active: boolean;
7489
+ };
7490
+ exchangeToken: {
7491
+ __typename?: "ExchangeToken";
7492
+ id: string;
7493
+ address: string;
7494
+ decimals: string;
7495
+ symbol: string;
7496
+ name: string;
7497
+ };
7498
+ product: {
7499
+ __typename?: "ProductV1Product";
7500
+ id: string;
7501
+ uuid: string;
7502
+ version: number;
7503
+ title: string;
7504
+ description: string;
7505
+ identification_sKU?: string | null;
7506
+ identification_productId?: string | null;
7507
+ identification_productIdType?: string | null;
7508
+ productionInformation_brandName: string;
7509
+ productionInformation_manufacturer?: string | null;
7510
+ productionInformation_manufacturerPartNumber?: string | null;
7511
+ productionInformation_modelNumber?: string | null;
7512
+ productionInformation_materials?: Array<string> | null;
7513
+ details_category?: string | null;
7514
+ details_subCategory?: string | null;
7515
+ details_subCategory2?: string | null;
7516
+ details_offerCategory: string;
7517
+ offerCategory: ProductV1OfferCategory;
7518
+ details_tags?: Array<string> | null;
7519
+ details_sections?: Array<string> | null;
7520
+ details_personalisation?: Array<string> | null;
7521
+ packaging_packageQuantity?: string | null;
7522
+ packaging_dimensions_length?: string | null;
7523
+ packaging_dimensions_width?: string | null;
7524
+ packaging_dimensions_height?: string | null;
7525
+ packaging_dimensions_unit?: string | null;
7526
+ packaging_weight_value?: string | null;
7527
+ packaging_weight_unit?: string | null;
7528
+ brand: { __typename?: "ProductV1Brand"; id: string; name: string };
7529
+ category?: {
7530
+ __typename?: "ProductV1Category";
7531
+ id: string;
7532
+ name: string;
7533
+ } | null;
7534
+ subCategory?: {
7535
+ __typename?: "ProductV1Category";
7536
+ id: string;
7537
+ name: string;
7538
+ } | null;
7539
+ subCategory2?: {
7540
+ __typename?: "ProductV1Category";
7541
+ id: string;
7542
+ name: string;
7543
+ } | null;
7544
+ tags?: Array<{
7545
+ __typename?: "ProductV1Tag";
7546
+ id: string;
7547
+ name: string;
7548
+ }> | null;
7549
+ sections?: Array<{
7550
+ __typename?: "ProductV1Section";
7551
+ id: string;
7552
+ name: string;
7553
+ }> | null;
7554
+ personalisation?: Array<{
7555
+ __typename?: "ProductV1Personalisation";
7556
+ id: string;
7557
+ name: string;
7558
+ }> | null;
7559
+ visuals_images: Array<{
7560
+ __typename?: "ProductV1Media";
7561
+ id: string;
7562
+ url: string;
7563
+ tag?: string | null;
7564
+ type: ProductV1MediaType;
7565
+ }>;
7566
+ visuals_videos?: Array<{
7567
+ __typename?: "ProductV1Media";
7568
+ id: string;
7569
+ url: string;
7570
+ tag?: string | null;
7571
+ type: ProductV1MediaType;
7572
+ }> | null;
7573
+ };
7574
+ variations?: Array<{
7575
+ __typename?: "ProductV1Variation";
7576
+ id: string;
7577
+ type: string;
7578
+ option: string;
7579
+ }> | null;
7580
+ productV1Seller: {
7581
+ __typename?: "ProductV1Seller";
7582
+ id: string;
7583
+ defaultVersion?: number | null;
7584
+ name?: string | null;
7585
+ description?: string | null;
7586
+ externalUrl?: string | null;
7587
+ tokenId?: string | null;
7588
+ images?: Array<{
7589
+ __typename?: "ProductV1Media";
7590
+ id: string;
7591
+ url: string;
7592
+ tag?: string | null;
7593
+ type: ProductV1MediaType;
7594
+ }> | null;
7595
+ contactLinks?: Array<{
7596
+ __typename?: "ProductV1SellerContactLink";
7597
+ id: string;
7598
+ url: string;
7599
+ tag: string;
7600
+ }> | null;
7601
+ seller: {
7602
+ __typename?: "Seller";
7603
+ id: string;
7604
+ operator: string;
7605
+ admin: string;
7606
+ clerk: string;
7607
+ treasury: string;
7608
+ active: boolean;
7609
+ };
7610
+ };
7611
+ };
7612
+
7613
+ export type BaseProductV1MetadataEntityFieldsFragment = {
7614
+ __typename?: "ProductV1MetadataEntity";
6213
7615
  id: string;
6214
- availableAmount: string;
6215
- accountId: string;
6216
- token: {
7616
+ name: string;
7617
+ description: string;
7618
+ externalUrl: string;
7619
+ schemaUrl: string;
7620
+ type: MetadataType;
7621
+ image: string;
7622
+ createdAt: string;
7623
+ voided: boolean;
7624
+ validFromDate: string;
7625
+ validUntilDate: string;
7626
+ quantityAvailable: string;
7627
+ uuid: string;
7628
+ attributes?: Array<{
7629
+ __typename?: "MetadataAttribute";
7630
+ traitType: string;
7631
+ value: string;
7632
+ displayType: string;
7633
+ }> | null;
7634
+ offer: {
7635
+ __typename?: "Offer";
7636
+ id: string;
7637
+ createdAt: string;
7638
+ price: string;
7639
+ sellerDeposit: string;
7640
+ protocolFee: string;
7641
+ buyerCancelPenalty: string;
7642
+ quantityAvailable: string;
7643
+ quantityInitial: string;
7644
+ validFromDate: string;
7645
+ validUntilDate: string;
7646
+ voucherRedeemableFromDate: string;
7647
+ voucherRedeemableUntilDate: string;
7648
+ fulfillmentPeriodDuration: string;
7649
+ voucherValidDuration: string;
7650
+ resolutionPeriodDuration: string;
7651
+ metadataUri: string;
7652
+ metadataHash: string;
7653
+ voidedAt?: string | null;
7654
+ disputeResolverId: string;
7655
+ seller: {
7656
+ __typename?: "Seller";
7657
+ id: string;
7658
+ operator: string;
7659
+ admin: string;
7660
+ clerk: string;
7661
+ treasury: string;
7662
+ active: boolean;
7663
+ };
7664
+ exchangeToken: {
7665
+ __typename?: "ExchangeToken";
7666
+ id: string;
7667
+ address: string;
7668
+ decimals: string;
7669
+ symbol: string;
7670
+ name: string;
7671
+ };
7672
+ metadata?:
7673
+ | {
7674
+ __typename?: "BaseMetadataEntity";
7675
+ name: string;
7676
+ description: string;
7677
+ externalUrl: string;
7678
+ schemaUrl: string;
7679
+ type: MetadataType;
7680
+ }
7681
+ | {
7682
+ __typename?: "ProductV1MetadataEntity";
7683
+ name: string;
7684
+ description: string;
7685
+ externalUrl: string;
7686
+ schemaUrl: string;
7687
+ type: MetadataType;
7688
+ }
7689
+ | null;
7690
+ };
7691
+ seller: {
7692
+ __typename?: "Seller";
7693
+ id: string;
7694
+ operator: string;
7695
+ admin: string;
7696
+ clerk: string;
7697
+ treasury: string;
7698
+ active: boolean;
7699
+ };
7700
+ exchangeToken: {
6217
7701
  __typename?: "ExchangeToken";
7702
+ id: string;
6218
7703
  address: string;
6219
- name: string;
6220
- symbol: string;
6221
7704
  decimals: string;
7705
+ symbol: string;
7706
+ name: string;
7707
+ };
7708
+ product: {
7709
+ __typename?: "ProductV1Product";
7710
+ id: string;
7711
+ uuid: string;
7712
+ version: number;
7713
+ title: string;
7714
+ description: string;
7715
+ identification_sKU?: string | null;
7716
+ identification_productId?: string | null;
7717
+ identification_productIdType?: string | null;
7718
+ productionInformation_brandName: string;
7719
+ productionInformation_manufacturer?: string | null;
7720
+ productionInformation_manufacturerPartNumber?: string | null;
7721
+ productionInformation_modelNumber?: string | null;
7722
+ productionInformation_materials?: Array<string> | null;
7723
+ details_category?: string | null;
7724
+ details_subCategory?: string | null;
7725
+ details_subCategory2?: string | null;
7726
+ details_offerCategory: string;
7727
+ offerCategory: ProductV1OfferCategory;
7728
+ details_tags?: Array<string> | null;
7729
+ details_sections?: Array<string> | null;
7730
+ details_personalisation?: Array<string> | null;
7731
+ packaging_packageQuantity?: string | null;
7732
+ packaging_dimensions_length?: string | null;
7733
+ packaging_dimensions_width?: string | null;
7734
+ packaging_dimensions_height?: string | null;
7735
+ packaging_dimensions_unit?: string | null;
7736
+ packaging_weight_value?: string | null;
7737
+ packaging_weight_unit?: string | null;
7738
+ brand: { __typename?: "ProductV1Brand"; id: string; name: string };
7739
+ category?: {
7740
+ __typename?: "ProductV1Category";
7741
+ id: string;
7742
+ name: string;
7743
+ } | null;
7744
+ subCategory?: {
7745
+ __typename?: "ProductV1Category";
7746
+ id: string;
7747
+ name: string;
7748
+ } | null;
7749
+ subCategory2?: {
7750
+ __typename?: "ProductV1Category";
7751
+ id: string;
7752
+ name: string;
7753
+ } | null;
7754
+ tags?: Array<{
7755
+ __typename?: "ProductV1Tag";
7756
+ id: string;
7757
+ name: string;
7758
+ }> | null;
7759
+ sections?: Array<{
7760
+ __typename?: "ProductV1Section";
7761
+ id: string;
7762
+ name: string;
7763
+ }> | null;
7764
+ personalisation?: Array<{
7765
+ __typename?: "ProductV1Personalisation";
7766
+ id: string;
7767
+ name: string;
7768
+ }> | null;
7769
+ visuals_images: Array<{
7770
+ __typename?: "ProductV1Media";
7771
+ id: string;
7772
+ url: string;
7773
+ tag?: string | null;
7774
+ type: ProductV1MediaType;
7775
+ }>;
7776
+ visuals_videos?: Array<{
7777
+ __typename?: "ProductV1Media";
7778
+ id: string;
7779
+ url: string;
7780
+ tag?: string | null;
7781
+ type: ProductV1MediaType;
7782
+ }> | null;
7783
+ };
7784
+ variations?: Array<{
7785
+ __typename?: "ProductV1Variation";
7786
+ id: string;
7787
+ type: string;
7788
+ option: string;
7789
+ }> | null;
7790
+ productV1Seller: {
7791
+ __typename?: "ProductV1Seller";
7792
+ id: string;
7793
+ defaultVersion?: number | null;
7794
+ name?: string | null;
7795
+ description?: string | null;
7796
+ externalUrl?: string | null;
7797
+ tokenId?: string | null;
7798
+ images?: Array<{
7799
+ __typename?: "ProductV1Media";
7800
+ id: string;
7801
+ url: string;
7802
+ tag?: string | null;
7803
+ type: ProductV1MediaType;
7804
+ }> | null;
7805
+ contactLinks?: Array<{
7806
+ __typename?: "ProductV1SellerContactLink";
7807
+ id: string;
7808
+ url: string;
7809
+ tag: string;
7810
+ }> | null;
7811
+ seller: {
7812
+ __typename?: "Seller";
7813
+ id: string;
7814
+ operator: string;
7815
+ admin: string;
7816
+ clerk: string;
7817
+ treasury: string;
7818
+ active: boolean;
7819
+ };
7820
+ };
7821
+ };
7822
+
7823
+ export type BaseProductV1ProductFieldsFragment = {
7824
+ __typename?: "ProductV1Product";
7825
+ id: string;
7826
+ uuid: string;
7827
+ version: number;
7828
+ title: string;
7829
+ description: string;
7830
+ identification_sKU?: string | null;
7831
+ identification_productId?: string | null;
7832
+ identification_productIdType?: string | null;
7833
+ productionInformation_brandName: string;
7834
+ productionInformation_manufacturer?: string | null;
7835
+ productionInformation_manufacturerPartNumber?: string | null;
7836
+ productionInformation_modelNumber?: string | null;
7837
+ productionInformation_materials?: Array<string> | null;
7838
+ details_category?: string | null;
7839
+ details_subCategory?: string | null;
7840
+ details_subCategory2?: string | null;
7841
+ details_offerCategory: string;
7842
+ offerCategory: ProductV1OfferCategory;
7843
+ details_tags?: Array<string> | null;
7844
+ details_sections?: Array<string> | null;
7845
+ details_personalisation?: Array<string> | null;
7846
+ packaging_packageQuantity?: string | null;
7847
+ packaging_dimensions_length?: string | null;
7848
+ packaging_dimensions_width?: string | null;
7849
+ packaging_dimensions_height?: string | null;
7850
+ packaging_dimensions_unit?: string | null;
7851
+ packaging_weight_value?: string | null;
7852
+ packaging_weight_unit?: string | null;
7853
+ brand: { __typename?: "ProductV1Brand"; id: string; name: string };
7854
+ category?: {
7855
+ __typename?: "ProductV1Category";
7856
+ id: string;
7857
+ name: string;
7858
+ } | null;
7859
+ subCategory?: {
7860
+ __typename?: "ProductV1Category";
7861
+ id: string;
7862
+ name: string;
7863
+ } | null;
7864
+ subCategory2?: {
7865
+ __typename?: "ProductV1Category";
7866
+ id: string;
7867
+ name: string;
7868
+ } | null;
7869
+ tags?: Array<{
7870
+ __typename?: "ProductV1Tag";
7871
+ id: string;
7872
+ name: string;
7873
+ }> | null;
7874
+ sections?: Array<{
7875
+ __typename?: "ProductV1Section";
7876
+ id: string;
7877
+ name: string;
7878
+ }> | null;
7879
+ personalisation?: Array<{
7880
+ __typename?: "ProductV1Personalisation";
7881
+ id: string;
7882
+ name: string;
7883
+ }> | null;
7884
+ visuals_images: Array<{
7885
+ __typename?: "ProductV1Media";
7886
+ id: string;
7887
+ url: string;
7888
+ tag?: string | null;
7889
+ type: ProductV1MediaType;
7890
+ }>;
7891
+ visuals_videos?: Array<{
7892
+ __typename?: "ProductV1Media";
7893
+ id: string;
7894
+ url: string;
7895
+ tag?: string | null;
7896
+ type: ProductV1MediaType;
7897
+ }> | null;
7898
+ };
7899
+
7900
+ export type BaseProductV1BrandFieldsFragment = {
7901
+ __typename?: "ProductV1Brand";
7902
+ id: string;
7903
+ name: string;
7904
+ };
7905
+
7906
+ export type BaseProductV1CategoryFieldsFragment = {
7907
+ __typename?: "ProductV1Category";
7908
+ id: string;
7909
+ name: string;
7910
+ };
7911
+
7912
+ export type BaseProductV1TagFieldsFragment = {
7913
+ __typename?: "ProductV1Tag";
7914
+ id: string;
7915
+ name: string;
7916
+ };
7917
+
7918
+ export type BaseProductV1SectionFieldsFragment = {
7919
+ __typename?: "ProductV1Section";
7920
+ id: string;
7921
+ name: string;
7922
+ };
7923
+
7924
+ export type BaseProductV1MediaFieldsFragment = {
7925
+ __typename?: "ProductV1Media";
7926
+ id: string;
7927
+ url: string;
7928
+ tag?: string | null;
7929
+ type: ProductV1MediaType;
7930
+ };
7931
+
7932
+ export type BaseProductV1PersonalisationFieldsFragment = {
7933
+ __typename?: "ProductV1Personalisation";
7934
+ id: string;
7935
+ name: string;
7936
+ };
7937
+
7938
+ export type BaseProductV1VariationFieldsFragment = {
7939
+ __typename?: "ProductV1Variation";
7940
+ id: string;
7941
+ type: string;
7942
+ option: string;
7943
+ };
7944
+
7945
+ export type BaseProductV1SellerFieldsFragment = {
7946
+ __typename?: "ProductV1Seller";
7947
+ id: string;
7948
+ defaultVersion?: number | null;
7949
+ name?: string | null;
7950
+ description?: string | null;
7951
+ externalUrl?: string | null;
7952
+ tokenId?: string | null;
7953
+ images?: Array<{
7954
+ __typename?: "ProductV1Media";
7955
+ id: string;
7956
+ url: string;
7957
+ tag?: string | null;
7958
+ type: ProductV1MediaType;
7959
+ }> | null;
7960
+ contactLinks?: Array<{
7961
+ __typename?: "ProductV1SellerContactLink";
7962
+ id: string;
7963
+ url: string;
7964
+ tag: string;
7965
+ }> | null;
7966
+ seller: {
7967
+ __typename?: "Seller";
7968
+ id: string;
7969
+ operator: string;
7970
+ admin: string;
7971
+ clerk: string;
7972
+ treasury: string;
7973
+ active: boolean;
6222
7974
  };
6223
7975
  };
6224
7976
 
7977
+ export type BaseProductV1SellerContactLinkFieldsFragment = {
7978
+ __typename?: "ProductV1SellerContactLink";
7979
+ id: string;
7980
+ url: string;
7981
+ tag: string;
7982
+ };
7983
+
7984
+ export type BaseProductV1ShippingOptionFieldsFragment = {
7985
+ __typename?: "ProductV1ShippingOption";
7986
+ id: string;
7987
+ defaultVersion?: number | null;
7988
+ countryOfOrigin?: string | null;
7989
+ redemptionPoint?: string | null;
7990
+ supportedJurisdictions?: Array<{
7991
+ __typename?: "ProductV1ShippingJurisdiction";
7992
+ id: string;
7993
+ label: string;
7994
+ deliveryTime: string;
7995
+ }> | null;
7996
+ };
7997
+
7998
+ export type BaseProductV1ShippingJurisdictionFieldsFragment = {
7999
+ __typename?: "ProductV1ShippingJurisdiction";
8000
+ id: string;
8001
+ label: string;
8002
+ deliveryTime: string;
8003
+ };
8004
+
8005
+ export type BaseProductV1ExchangePolicyFieldsFragment = {
8006
+ __typename?: "ProductV1ExchangePolicy";
8007
+ id: string;
8008
+ uuid: string;
8009
+ version: number;
8010
+ label?: string | null;
8011
+ template: string;
8012
+ };
8013
+
8014
+ export type BaseProductV1ProductOverridesFieldsFragment = {
8015
+ __typename?: "ProductV1ProductOverrides";
8016
+ id: string;
8017
+ version: number;
8018
+ title: string;
8019
+ description: string;
8020
+ identification_sKU?: string | null;
8021
+ identification_productId?: string | null;
8022
+ identification_productIdType?: string | null;
8023
+ productionInformation_brandName: string;
8024
+ productionInformation_manufacturer?: string | null;
8025
+ productionInformation_manufacturerPartNumber?: string | null;
8026
+ productionInformation_modelNumber?: string | null;
8027
+ productionInformation_materials?: Array<string> | null;
8028
+ packaging_packageQuantity?: string | null;
8029
+ packaging_dimensions_length?: string | null;
8030
+ packaging_dimensions_width?: string | null;
8031
+ packaging_dimensions_height?: string | null;
8032
+ packaging_dimensions_unit?: string | null;
8033
+ packaging_weight_value?: string | null;
8034
+ packaging_weight_unit?: string | null;
8035
+ brand: { __typename?: "ProductV1Brand"; id: string; name: string };
8036
+ visuals_images: Array<{
8037
+ __typename?: "ProductV1Media";
8038
+ id: string;
8039
+ url: string;
8040
+ tag?: string | null;
8041
+ type: ProductV1MediaType;
8042
+ }>;
8043
+ visuals_videos?: Array<{
8044
+ __typename?: "ProductV1Media";
8045
+ id: string;
8046
+ url: string;
8047
+ tag?: string | null;
8048
+ type: ProductV1MediaType;
8049
+ }> | null;
8050
+ };
8051
+
6225
8052
  export type GetOfferByIdQueryQueryVariables = Exact<{
6226
8053
  offerId: Scalars["ID"];
6227
8054
  exchangesSkip?: InputMaybe<Scalars["Int"]>;
@@ -6280,10 +8107,11 @@ export type GetOfferByIdQueryQuery = {
6280
8107
  };
6281
8108
  exchangeToken: {
6282
8109
  __typename?: "ExchangeToken";
8110
+ id: string;
6283
8111
  address: string;
6284
8112
  decimals: string;
6285
- name: string;
6286
8113
  symbol: string;
8114
+ name: string;
6287
8115
  };
6288
8116
  metadata?:
6289
8117
  | {
@@ -6368,10 +8196,11 @@ export type GetOffersQueryQuery = {
6368
8196
  };
6369
8197
  exchangeToken: {
6370
8198
  __typename?: "ExchangeToken";
8199
+ id: string;
6371
8200
  address: string;
6372
8201
  decimals: string;
6373
- name: string;
6374
8202
  symbol: string;
8203
+ name: string;
6375
8204
  };
6376
8205
  metadata?:
6377
8206
  | {
@@ -6440,10 +8269,11 @@ export type OfferFieldsFragment = {
6440
8269
  };
6441
8270
  exchangeToken: {
6442
8271
  __typename?: "ExchangeToken";
8272
+ id: string;
6443
8273
  address: string;
6444
8274
  decimals: string;
6445
- name: string;
6446
8275
  symbol: string;
8276
+ name: string;
6447
8277
  };
6448
8278
  metadata?:
6449
8279
  | {
@@ -6497,10 +8327,11 @@ export type BaseOfferFieldsFragment = {
6497
8327
  };
6498
8328
  exchangeToken: {
6499
8329
  __typename?: "ExchangeToken";
8330
+ id: string;
6500
8331
  address: string;
6501
8332
  decimals: string;
6502
- name: string;
6503
8333
  symbol: string;
8334
+ name: string;
6504
8335
  };
6505
8336
  metadata?:
6506
8337
  | {
@@ -6532,18 +8363,31 @@ export const BaseSellerFieldsFragmentDoc = gql`
6532
8363
  active
6533
8364
  }
6534
8365
  `;
6535
- export const FundsEntityFieldsFragmentDoc = gql`
6536
- fragment FundsEntityFields on FundsEntity {
8366
+ export const BaseFundsEntityFieldsFragmentDoc = gql`
8367
+ fragment BaseFundsEntityFields on FundsEntity {
6537
8368
  id
6538
8369
  availableAmount
8370
+ accountId
8371
+ }
8372
+ `;
8373
+ export const BaseExchangeTokenFieldsFragmentDoc = gql`
8374
+ fragment BaseExchangeTokenFields on ExchangeToken {
8375
+ id
8376
+ address
8377
+ decimals
8378
+ symbol
8379
+ name
8380
+ }
8381
+ `;
8382
+ export const FundsEntityFieldsFragmentDoc = gql`
8383
+ fragment FundsEntityFields on FundsEntity {
8384
+ ...BaseFundsEntityFields
6539
8385
  token {
6540
- address
6541
- name
6542
- symbol
6543
- decimals
8386
+ ...BaseExchangeTokenFields
6544
8387
  }
6545
- accountId
6546
8388
  }
8389
+ ${BaseFundsEntityFieldsFragmentDoc}
8390
+ ${BaseExchangeTokenFieldsFragmentDoc}
6547
8391
  `;
6548
8392
  export const BaseOfferFieldsFragmentDoc = gql`
6549
8393
  fragment BaseOfferFields on Offer {
@@ -6570,10 +8414,7 @@ export const BaseOfferFieldsFragmentDoc = gql`
6570
8414
  ...BaseSellerFields
6571
8415
  }
6572
8416
  exchangeToken {
6573
- address
6574
- decimals
6575
- name
6576
- symbol
8417
+ ...BaseExchangeTokenFields
6577
8418
  }
6578
8419
  metadata {
6579
8420
  name
@@ -6584,6 +8425,7 @@ export const BaseOfferFieldsFragmentDoc = gql`
6584
8425
  }
6585
8426
  }
6586
8427
  ${BaseSellerFieldsFragmentDoc}
8428
+ ${BaseExchangeTokenFieldsFragmentDoc}
6587
8429
  `;
6588
8430
  export const BaseExchangeFieldsFragmentDoc = gql`
6589
8431
  fragment BaseExchangeFields on Exchange {
@@ -6653,21 +8495,47 @@ export const BuyerFieldsFragmentDoc = gql`
6653
8495
  orderDirection: $fundsOrderDirection
6654
8496
  where: $fundsFilter
6655
8497
  ) @include(if: $includeFunds) {
6656
- ...FundsEntityFields
6657
- }
6658
- exchanges(
6659
- skip: $exchangesSkip
6660
- first: $exchangesFirst
6661
- orderBy: $exchangesOrderBy
6662
- orderDirection: $exchangesOrderDirection
6663
- where: $exchangesFilter
6664
- ) @include(if: $includeExchanges) {
6665
- ...BaseExchangeFields
8498
+ ...FundsEntityFields
8499
+ }
8500
+ exchanges(
8501
+ skip: $exchangesSkip
8502
+ first: $exchangesFirst
8503
+ orderBy: $exchangesOrderBy
8504
+ orderDirection: $exchangesOrderDirection
8505
+ where: $exchangesFilter
8506
+ ) @include(if: $includeExchanges) {
8507
+ ...BaseExchangeFields
8508
+ }
8509
+ }
8510
+ ${BaseBuyerFieldsFragmentDoc}
8511
+ ${FundsEntityFieldsFragmentDoc}
8512
+ ${BaseExchangeFieldsFragmentDoc}
8513
+ `;
8514
+ export const ExchangeTokenFieldsFragmentDoc = gql`
8515
+ fragment ExchangeTokenFields on ExchangeToken {
8516
+ ...BaseExchangeTokenFields
8517
+ offers(
8518
+ skip: $offersSkip
8519
+ first: $offersFirst
8520
+ orderBy: $offersOrderBy
8521
+ orderDirection: $offersOrderDirection
8522
+ where: $offersFilter
8523
+ ) @include(if: $includeOffers) {
8524
+ ...BaseOfferFields
8525
+ }
8526
+ funds(
8527
+ skip: $fundsSkip
8528
+ first: $fundsFirst
8529
+ orderBy: $fundsOrderBy
8530
+ orderDirection: $fundsOrderDirection
8531
+ where: $fundsFilter
8532
+ ) @include(if: $includeFunds) {
8533
+ ...BaseFundsEntityFields
6666
8534
  }
6667
8535
  }
6668
- ${BaseBuyerFieldsFragmentDoc}
6669
- ${FundsEntityFieldsFragmentDoc}
6670
- ${BaseExchangeFieldsFragmentDoc}
8536
+ ${BaseExchangeTokenFieldsFragmentDoc}
8537
+ ${BaseOfferFieldsFragmentDoc}
8538
+ ${BaseFundsEntityFieldsFragmentDoc}
6671
8539
  `;
6672
8540
  export const ExchangeFieldsFragmentDoc = gql`
6673
8541
  fragment ExchangeFields on Exchange {
@@ -6687,6 +8555,298 @@ export const ExchangeFieldsFragmentDoc = gql`
6687
8555
  ${BaseSellerFieldsFragmentDoc}
6688
8556
  ${BaseOfferFieldsFragmentDoc}
6689
8557
  `;
8558
+ export const BaseBaseMetadataEntityFieldsFragmentDoc = gql`
8559
+ fragment BaseBaseMetadataEntityFields on BaseMetadataEntity {
8560
+ id
8561
+ name
8562
+ description
8563
+ externalUrl
8564
+ schemaUrl
8565
+ type
8566
+ image
8567
+ attributes {
8568
+ traitType
8569
+ value
8570
+ displayType
8571
+ }
8572
+ offer {
8573
+ ...BaseOfferFields
8574
+ }
8575
+ seller {
8576
+ ...BaseSellerFields
8577
+ }
8578
+ exchangeToken {
8579
+ ...BaseExchangeTokenFields
8580
+ }
8581
+ createdAt
8582
+ voided
8583
+ validFromDate
8584
+ validUntilDate
8585
+ quantityAvailable
8586
+ }
8587
+ ${BaseOfferFieldsFragmentDoc}
8588
+ ${BaseSellerFieldsFragmentDoc}
8589
+ ${BaseExchangeTokenFieldsFragmentDoc}
8590
+ `;
8591
+ export const BaseMetadataEntityFieldsFragmentDoc = gql`
8592
+ fragment BaseMetadataEntityFields on BaseMetadataEntity {
8593
+ ...BaseBaseMetadataEntityFields
8594
+ }
8595
+ ${BaseBaseMetadataEntityFieldsFragmentDoc}
8596
+ `;
8597
+ export const BaseProductV1BrandFieldsFragmentDoc = gql`
8598
+ fragment BaseProductV1BrandFields on ProductV1Brand {
8599
+ id
8600
+ name
8601
+ }
8602
+ `;
8603
+ export const BaseProductV1CategoryFieldsFragmentDoc = gql`
8604
+ fragment BaseProductV1CategoryFields on ProductV1Category {
8605
+ id
8606
+ name
8607
+ }
8608
+ `;
8609
+ export const BaseProductV1TagFieldsFragmentDoc = gql`
8610
+ fragment BaseProductV1TagFields on ProductV1Tag {
8611
+ id
8612
+ name
8613
+ }
8614
+ `;
8615
+ export const BaseProductV1SectionFieldsFragmentDoc = gql`
8616
+ fragment BaseProductV1SectionFields on ProductV1Section {
8617
+ id
8618
+ name
8619
+ }
8620
+ `;
8621
+ export const BaseProductV1PersonalisationFieldsFragmentDoc = gql`
8622
+ fragment BaseProductV1PersonalisationFields on ProductV1Personalisation {
8623
+ id
8624
+ name
8625
+ }
8626
+ `;
8627
+ export const BaseProductV1MediaFieldsFragmentDoc = gql`
8628
+ fragment BaseProductV1MediaFields on ProductV1Media {
8629
+ id
8630
+ url
8631
+ tag
8632
+ type
8633
+ }
8634
+ `;
8635
+ export const BaseProductV1ProductFieldsFragmentDoc = gql`
8636
+ fragment BaseProductV1ProductFields on ProductV1Product {
8637
+ id
8638
+ uuid
8639
+ version
8640
+ title
8641
+ description
8642
+ identification_sKU
8643
+ identification_productId
8644
+ identification_productIdType
8645
+ productionInformation_brandName
8646
+ brand {
8647
+ ...BaseProductV1BrandFields
8648
+ }
8649
+ productionInformation_manufacturer
8650
+ productionInformation_manufacturerPartNumber
8651
+ productionInformation_modelNumber
8652
+ productionInformation_materials
8653
+ details_category
8654
+ category {
8655
+ ...BaseProductV1CategoryFields
8656
+ }
8657
+ details_subCategory
8658
+ subCategory {
8659
+ ...BaseProductV1CategoryFields
8660
+ }
8661
+ details_subCategory2
8662
+ subCategory2 {
8663
+ ...BaseProductV1CategoryFields
8664
+ }
8665
+ details_offerCategory
8666
+ offerCategory
8667
+ details_tags
8668
+ tags {
8669
+ ...BaseProductV1TagFields
8670
+ }
8671
+ details_sections
8672
+ sections {
8673
+ ...BaseProductV1SectionFields
8674
+ }
8675
+ details_personalisation
8676
+ personalisation {
8677
+ ...BaseProductV1PersonalisationFields
8678
+ }
8679
+ visuals_images {
8680
+ ...BaseProductV1MediaFields
8681
+ }
8682
+ visuals_videos {
8683
+ ...BaseProductV1MediaFields
8684
+ }
8685
+ packaging_packageQuantity
8686
+ packaging_dimensions_length
8687
+ packaging_dimensions_width
8688
+ packaging_dimensions_height
8689
+ packaging_dimensions_unit
8690
+ packaging_weight_value
8691
+ packaging_weight_unit
8692
+ }
8693
+ ${BaseProductV1BrandFieldsFragmentDoc}
8694
+ ${BaseProductV1CategoryFieldsFragmentDoc}
8695
+ ${BaseProductV1TagFieldsFragmentDoc}
8696
+ ${BaseProductV1SectionFieldsFragmentDoc}
8697
+ ${BaseProductV1PersonalisationFieldsFragmentDoc}
8698
+ ${BaseProductV1MediaFieldsFragmentDoc}
8699
+ `;
8700
+ export const BaseProductV1VariationFieldsFragmentDoc = gql`
8701
+ fragment BaseProductV1VariationFields on ProductV1Variation {
8702
+ id
8703
+ type
8704
+ option
8705
+ }
8706
+ `;
8707
+ export const BaseProductV1SellerContactLinkFieldsFragmentDoc = gql`
8708
+ fragment BaseProductV1SellerContactLinkFields on ProductV1SellerContactLink {
8709
+ id
8710
+ url
8711
+ tag
8712
+ }
8713
+ `;
8714
+ export const BaseProductV1SellerFieldsFragmentDoc = gql`
8715
+ fragment BaseProductV1SellerFields on ProductV1Seller {
8716
+ id
8717
+ defaultVersion
8718
+ name
8719
+ description
8720
+ externalUrl
8721
+ tokenId
8722
+ images {
8723
+ ...BaseProductV1MediaFields
8724
+ }
8725
+ contactLinks {
8726
+ ...BaseProductV1SellerContactLinkFields
8727
+ }
8728
+ seller {
8729
+ ...BaseSellerFields
8730
+ }
8731
+ }
8732
+ ${BaseProductV1MediaFieldsFragmentDoc}
8733
+ ${BaseProductV1SellerContactLinkFieldsFragmentDoc}
8734
+ ${BaseSellerFieldsFragmentDoc}
8735
+ `;
8736
+ export const BaseProductV1MetadataEntityFieldsFragmentDoc = gql`
8737
+ fragment BaseProductV1MetadataEntityFields on ProductV1MetadataEntity {
8738
+ id
8739
+ name
8740
+ description
8741
+ externalUrl
8742
+ schemaUrl
8743
+ type
8744
+ image
8745
+ attributes {
8746
+ traitType
8747
+ value
8748
+ displayType
8749
+ }
8750
+ offer {
8751
+ ...BaseOfferFields
8752
+ }
8753
+ seller {
8754
+ ...BaseSellerFields
8755
+ }
8756
+ exchangeToken {
8757
+ ...BaseExchangeTokenFields
8758
+ }
8759
+ createdAt
8760
+ voided
8761
+ validFromDate
8762
+ validUntilDate
8763
+ quantityAvailable
8764
+ uuid
8765
+ product {
8766
+ ...BaseProductV1ProductFields
8767
+ }
8768
+ variations {
8769
+ ...BaseProductV1VariationFields
8770
+ }
8771
+ productV1Seller {
8772
+ ...BaseProductV1SellerFields
8773
+ }
8774
+ }
8775
+ ${BaseOfferFieldsFragmentDoc}
8776
+ ${BaseSellerFieldsFragmentDoc}
8777
+ ${BaseExchangeTokenFieldsFragmentDoc}
8778
+ ${BaseProductV1ProductFieldsFragmentDoc}
8779
+ ${BaseProductV1VariationFieldsFragmentDoc}
8780
+ ${BaseProductV1SellerFieldsFragmentDoc}
8781
+ `;
8782
+ export const ProductV1MetadataEntityFieldsFragmentDoc = gql`
8783
+ fragment ProductV1MetadataEntityFields on ProductV1MetadataEntity {
8784
+ ...BaseProductV1MetadataEntityFields
8785
+ }
8786
+ ${BaseProductV1MetadataEntityFieldsFragmentDoc}
8787
+ `;
8788
+ export const BaseProductV1ShippingJurisdictionFieldsFragmentDoc = gql`
8789
+ fragment BaseProductV1ShippingJurisdictionFields on ProductV1ShippingJurisdiction {
8790
+ id
8791
+ label
8792
+ deliveryTime
8793
+ }
8794
+ `;
8795
+ export const BaseProductV1ShippingOptionFieldsFragmentDoc = gql`
8796
+ fragment BaseProductV1ShippingOptionFields on ProductV1ShippingOption {
8797
+ id
8798
+ defaultVersion
8799
+ countryOfOrigin
8800
+ supportedJurisdictions {
8801
+ ...BaseProductV1ShippingJurisdictionFields
8802
+ }
8803
+ redemptionPoint
8804
+ }
8805
+ ${BaseProductV1ShippingJurisdictionFieldsFragmentDoc}
8806
+ `;
8807
+ export const BaseProductV1ExchangePolicyFieldsFragmentDoc = gql`
8808
+ fragment BaseProductV1ExchangePolicyFields on ProductV1ExchangePolicy {
8809
+ id
8810
+ uuid
8811
+ version
8812
+ label
8813
+ template
8814
+ }
8815
+ `;
8816
+ export const BaseProductV1ProductOverridesFieldsFragmentDoc = gql`
8817
+ fragment BaseProductV1ProductOverridesFields on ProductV1ProductOverrides {
8818
+ id
8819
+ version
8820
+ title
8821
+ description
8822
+ identification_sKU
8823
+ identification_productId
8824
+ identification_productIdType
8825
+ productionInformation_brandName
8826
+ brand {
8827
+ ...BaseProductV1BrandFields
8828
+ }
8829
+ productionInformation_manufacturer
8830
+ productionInformation_manufacturerPartNumber
8831
+ productionInformation_modelNumber
8832
+ productionInformation_materials
8833
+ visuals_images {
8834
+ ...BaseProductV1MediaFields
8835
+ }
8836
+ visuals_videos {
8837
+ ...BaseProductV1MediaFields
8838
+ }
8839
+ packaging_packageQuantity
8840
+ packaging_dimensions_length
8841
+ packaging_dimensions_width
8842
+ packaging_dimensions_height
8843
+ packaging_dimensions_unit
8844
+ packaging_weight_value
8845
+ packaging_weight_unit
8846
+ }
8847
+ ${BaseProductV1BrandFieldsFragmentDoc}
8848
+ ${BaseProductV1MediaFieldsFragmentDoc}
8849
+ `;
6690
8850
  export const OfferFieldsFragmentDoc = gql`
6691
8851
  fragment OfferFields on Offer {
6692
8852
  ...BaseOfferFields
@@ -6829,6 +8989,65 @@ export const GetBuyersQueryDocument = gql`
6829
8989
  }
6830
8990
  ${BuyerFieldsFragmentDoc}
6831
8991
  `;
8992
+ export const GetExchangeTokenByIdQueryDocument = gql`
8993
+ query getExchangeTokenByIdQuery(
8994
+ $exchangeTokenId: ID!
8995
+ $exchangeTokensSkip: Int
8996
+ $exchangeTokensFirst: Int
8997
+ $exchangeTokensOrderBy: ExchangeToken_orderBy
8998
+ $exchangeTokensOrderDirection: OrderDirection
8999
+ $exchangeTokensFilter: ExchangeToken_filter
9000
+ $offersSkip: Int
9001
+ $offersFirst: Int
9002
+ $offersOrderBy: Offer_orderBy
9003
+ $offersOrderDirection: OrderDirection
9004
+ $offersFilter: Offer_filter
9005
+ $fundsSkip: Int
9006
+ $fundsFirst: Int
9007
+ $fundsOrderBy: FundsEntity_orderBy
9008
+ $fundsOrderDirection: OrderDirection
9009
+ $fundsFilter: FundsEntity_filter
9010
+ $includeOffers: Boolean = false
9011
+ $includeFunds: Boolean = false
9012
+ ) {
9013
+ exchangeToken(id: $exchangeTokenId) {
9014
+ ...ExchangeTokenFields
9015
+ }
9016
+ }
9017
+ ${ExchangeTokenFieldsFragmentDoc}
9018
+ `;
9019
+ export const GetExchangeTokensQueryDocument = gql`
9020
+ query getExchangeTokensQuery(
9021
+ $exchangeTokensSkip: Int
9022
+ $exchangeTokensFirst: Int
9023
+ $exchangeTokensOrderBy: ExchangeToken_orderBy
9024
+ $exchangeTokensOrderDirection: OrderDirection
9025
+ $exchangeTokensFilter: ExchangeToken_filter
9026
+ $offersSkip: Int
9027
+ $offersFirst: Int
9028
+ $offersOrderBy: Offer_orderBy
9029
+ $offersOrderDirection: OrderDirection
9030
+ $offersFilter: Offer_filter
9031
+ $includeOffers: Boolean = false
9032
+ $fundsSkip: Int
9033
+ $fundsFirst: Int
9034
+ $fundsOrderBy: FundsEntity_orderBy
9035
+ $fundsOrderDirection: OrderDirection
9036
+ $fundsFilter: FundsEntity_filter
9037
+ $includeFunds: Boolean = false
9038
+ ) {
9039
+ exchangeTokens(
9040
+ skip: $exchangeTokensSkip
9041
+ first: $exchangeTokensFirst
9042
+ orderBy: $exchangeTokensOrderBy
9043
+ orderDirection: $exchangeTokensOrderDirection
9044
+ where: $exchangeTokensFilter
9045
+ ) {
9046
+ ...ExchangeTokenFields
9047
+ }
9048
+ }
9049
+ ${ExchangeTokenFieldsFragmentDoc}
9050
+ `;
6832
9051
  export const GetExchangeByIdQueryDocument = gql`
6833
9052
  query getExchangeByIdQuery($exchangeId: ID!) {
6834
9053
  exchange(id: $exchangeId) {
@@ -6885,6 +9104,116 @@ export const GetFundsDocument = gql`
6885
9104
  }
6886
9105
  ${FundsEntityFieldsFragmentDoc}
6887
9106
  `;
9107
+ export const GetBaseMetadataEntityByIdQueryDocument = gql`
9108
+ query getBaseMetadataEntityByIdQuery(
9109
+ $metadataId: ID!
9110
+ $metadataSkip: Int
9111
+ $metadataFirst: Int
9112
+ $metadataOrderBy: BaseMetadataEntity_orderBy
9113
+ $metadataOrderDirection: OrderDirection
9114
+ $metadataFilter: BaseMetadataEntity_filter
9115
+ ) {
9116
+ baseMetadataEntity(id: $metadataId) {
9117
+ ...BaseMetadataEntityFields
9118
+ }
9119
+ }
9120
+ ${BaseMetadataEntityFieldsFragmentDoc}
9121
+ `;
9122
+ export const GetBaseMetadataEntitiesQueryDocument = gql`
9123
+ query getBaseMetadataEntitiesQuery(
9124
+ $metadataSkip: Int
9125
+ $metadataFirst: Int
9126
+ $metadataOrderBy: BaseMetadataEntity_orderBy
9127
+ $metadataOrderDirection: OrderDirection
9128
+ $metadataFilter: BaseMetadataEntity_filter
9129
+ ) {
9130
+ baseMetadataEntities(
9131
+ skip: $metadataSkip
9132
+ first: $metadataFirst
9133
+ orderBy: $metadataOrderBy
9134
+ orderDirection: $metadataOrderDirection
9135
+ where: $metadataFilter
9136
+ ) {
9137
+ ...BaseMetadataEntityFields
9138
+ }
9139
+ }
9140
+ ${BaseMetadataEntityFieldsFragmentDoc}
9141
+ `;
9142
+ export const GetProductV1BrandsQueryDocument = gql`
9143
+ query getProductV1BrandsQuery(
9144
+ $brandsSkip: Int
9145
+ $brandsFirst: Int
9146
+ $brandsOrderBy: ProductV1Brand_orderBy
9147
+ $brandsOrderDirection: OrderDirection
9148
+ $brandsFilter: ProductV1Brand_filter
9149
+ ) {
9150
+ productV1Brands(
9151
+ skip: $brandsSkip
9152
+ first: $brandsFirst
9153
+ orderBy: $brandsOrderBy
9154
+ orderDirection: $brandsOrderDirection
9155
+ where: $brandsFilter
9156
+ ) {
9157
+ ...BaseProductV1BrandFields
9158
+ }
9159
+ }
9160
+ ${BaseProductV1BrandFieldsFragmentDoc}
9161
+ `;
9162
+ export const GetProductV1CategoriesQueryDocument = gql`
9163
+ query getProductV1CategoriesQuery(
9164
+ $categoriesSkip: Int
9165
+ $categoriesFirst: Int
9166
+ $categoriesOrderBy: ProductV1Category_orderBy
9167
+ $categoriesOrderDirection: OrderDirection
9168
+ $categoriesFilter: ProductV1Category_filter
9169
+ ) {
9170
+ productV1Categories(
9171
+ skip: $categoriesSkip
9172
+ first: $categoriesFirst
9173
+ orderBy: $categoriesOrderBy
9174
+ orderDirection: $categoriesOrderDirection
9175
+ where: $categoriesFilter
9176
+ ) {
9177
+ ...BaseProductV1CategoryFields
9178
+ }
9179
+ }
9180
+ ${BaseProductV1CategoryFieldsFragmentDoc}
9181
+ `;
9182
+ export const GetProductV1MetadataEntityByIdQueryDocument = gql`
9183
+ query getProductV1MetadataEntityByIdQuery(
9184
+ $metadataId: ID!
9185
+ $metadataSkip: Int
9186
+ $metadataFirst: Int
9187
+ $metadataOrderBy: ProductV1MetadataEntity_orderBy
9188
+ $metadataOrderDirection: OrderDirection
9189
+ $metadataFilter: ProductV1MetadataEntity_filter
9190
+ ) {
9191
+ productV1MetadataEntity(id: $metadataId) {
9192
+ ...ProductV1MetadataEntityFields
9193
+ }
9194
+ }
9195
+ ${ProductV1MetadataEntityFieldsFragmentDoc}
9196
+ `;
9197
+ export const GetProductV1MetadataEntitiesQueryDocument = gql`
9198
+ query getProductV1MetadataEntitiesQuery(
9199
+ $metadataSkip: Int
9200
+ $metadataFirst: Int
9201
+ $metadataOrderBy: ProductV1MetadataEntity_orderBy
9202
+ $metadataOrderDirection: OrderDirection
9203
+ $metadataFilter: ProductV1MetadataEntity_filter
9204
+ ) {
9205
+ productV1MetadataEntities(
9206
+ skip: $metadataSkip
9207
+ first: $metadataFirst
9208
+ orderBy: $metadataOrderBy
9209
+ orderDirection: $metadataOrderDirection
9210
+ where: $metadataFilter
9211
+ ) {
9212
+ ...ProductV1MetadataEntityFields
9213
+ }
9214
+ }
9215
+ ${ProductV1MetadataEntityFieldsFragmentDoc}
9216
+ `;
6888
9217
  export const GetOfferByIdQueryDocument = gql`
6889
9218
  query getOfferByIdQuery(
6890
9219
  $offerId: ID!
@@ -7005,6 +9334,36 @@ export function getSdk(
7005
9334
  "query"
7006
9335
  );
7007
9336
  },
9337
+ getExchangeTokenByIdQuery(
9338
+ variables: GetExchangeTokenByIdQueryQueryVariables,
9339
+ requestHeaders?: Dom.RequestInit["headers"]
9340
+ ): Promise<GetExchangeTokenByIdQueryQuery> {
9341
+ return withWrapper(
9342
+ (wrappedRequestHeaders) =>
9343
+ client.request<GetExchangeTokenByIdQueryQuery>(
9344
+ GetExchangeTokenByIdQueryDocument,
9345
+ variables,
9346
+ { ...requestHeaders, ...wrappedRequestHeaders }
9347
+ ),
9348
+ "getExchangeTokenByIdQuery",
9349
+ "query"
9350
+ );
9351
+ },
9352
+ getExchangeTokensQuery(
9353
+ variables?: GetExchangeTokensQueryQueryVariables,
9354
+ requestHeaders?: Dom.RequestInit["headers"]
9355
+ ): Promise<GetExchangeTokensQueryQuery> {
9356
+ return withWrapper(
9357
+ (wrappedRequestHeaders) =>
9358
+ client.request<GetExchangeTokensQueryQuery>(
9359
+ GetExchangeTokensQueryDocument,
9360
+ variables,
9361
+ { ...requestHeaders, ...wrappedRequestHeaders }
9362
+ ),
9363
+ "getExchangeTokensQuery",
9364
+ "query"
9365
+ );
9366
+ },
7008
9367
  getExchangeByIdQuery(
7009
9368
  variables: GetExchangeByIdQueryQueryVariables,
7010
9369
  requestHeaders?: Dom.RequestInit["headers"]
@@ -7063,6 +9422,96 @@ export function getSdk(
7063
9422
  "query"
7064
9423
  );
7065
9424
  },
9425
+ getBaseMetadataEntityByIdQuery(
9426
+ variables: GetBaseMetadataEntityByIdQueryQueryVariables,
9427
+ requestHeaders?: Dom.RequestInit["headers"]
9428
+ ): Promise<GetBaseMetadataEntityByIdQueryQuery> {
9429
+ return withWrapper(
9430
+ (wrappedRequestHeaders) =>
9431
+ client.request<GetBaseMetadataEntityByIdQueryQuery>(
9432
+ GetBaseMetadataEntityByIdQueryDocument,
9433
+ variables,
9434
+ { ...requestHeaders, ...wrappedRequestHeaders }
9435
+ ),
9436
+ "getBaseMetadataEntityByIdQuery",
9437
+ "query"
9438
+ );
9439
+ },
9440
+ getBaseMetadataEntitiesQuery(
9441
+ variables?: GetBaseMetadataEntitiesQueryQueryVariables,
9442
+ requestHeaders?: Dom.RequestInit["headers"]
9443
+ ): Promise<GetBaseMetadataEntitiesQueryQuery> {
9444
+ return withWrapper(
9445
+ (wrappedRequestHeaders) =>
9446
+ client.request<GetBaseMetadataEntitiesQueryQuery>(
9447
+ GetBaseMetadataEntitiesQueryDocument,
9448
+ variables,
9449
+ { ...requestHeaders, ...wrappedRequestHeaders }
9450
+ ),
9451
+ "getBaseMetadataEntitiesQuery",
9452
+ "query"
9453
+ );
9454
+ },
9455
+ getProductV1BrandsQuery(
9456
+ variables?: GetProductV1BrandsQueryQueryVariables,
9457
+ requestHeaders?: Dom.RequestInit["headers"]
9458
+ ): Promise<GetProductV1BrandsQueryQuery> {
9459
+ return withWrapper(
9460
+ (wrappedRequestHeaders) =>
9461
+ client.request<GetProductV1BrandsQueryQuery>(
9462
+ GetProductV1BrandsQueryDocument,
9463
+ variables,
9464
+ { ...requestHeaders, ...wrappedRequestHeaders }
9465
+ ),
9466
+ "getProductV1BrandsQuery",
9467
+ "query"
9468
+ );
9469
+ },
9470
+ getProductV1CategoriesQuery(
9471
+ variables?: GetProductV1CategoriesQueryQueryVariables,
9472
+ requestHeaders?: Dom.RequestInit["headers"]
9473
+ ): Promise<GetProductV1CategoriesQueryQuery> {
9474
+ return withWrapper(
9475
+ (wrappedRequestHeaders) =>
9476
+ client.request<GetProductV1CategoriesQueryQuery>(
9477
+ GetProductV1CategoriesQueryDocument,
9478
+ variables,
9479
+ { ...requestHeaders, ...wrappedRequestHeaders }
9480
+ ),
9481
+ "getProductV1CategoriesQuery",
9482
+ "query"
9483
+ );
9484
+ },
9485
+ getProductV1MetadataEntityByIdQuery(
9486
+ variables: GetProductV1MetadataEntityByIdQueryQueryVariables,
9487
+ requestHeaders?: Dom.RequestInit["headers"]
9488
+ ): Promise<GetProductV1MetadataEntityByIdQueryQuery> {
9489
+ return withWrapper(
9490
+ (wrappedRequestHeaders) =>
9491
+ client.request<GetProductV1MetadataEntityByIdQueryQuery>(
9492
+ GetProductV1MetadataEntityByIdQueryDocument,
9493
+ variables,
9494
+ { ...requestHeaders, ...wrappedRequestHeaders }
9495
+ ),
9496
+ "getProductV1MetadataEntityByIdQuery",
9497
+ "query"
9498
+ );
9499
+ },
9500
+ getProductV1MetadataEntitiesQuery(
9501
+ variables?: GetProductV1MetadataEntitiesQueryQueryVariables,
9502
+ requestHeaders?: Dom.RequestInit["headers"]
9503
+ ): Promise<GetProductV1MetadataEntitiesQueryQuery> {
9504
+ return withWrapper(
9505
+ (wrappedRequestHeaders) =>
9506
+ client.request<GetProductV1MetadataEntitiesQueryQuery>(
9507
+ GetProductV1MetadataEntitiesQueryDocument,
9508
+ variables,
9509
+ { ...requestHeaders, ...wrappedRequestHeaders }
9510
+ ),
9511
+ "getProductV1MetadataEntitiesQuery",
9512
+ "query"
9513
+ );
9514
+ },
7066
9515
  getOfferByIdQuery(
7067
9516
  variables: GetOfferByIdQueryQueryVariables,
7068
9517
  requestHeaders?: Dom.RequestInit["headers"]