@bosonprotocol/core-sdk 1.11.0-alpha.1 → 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 +2 -2
  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
@@ -4906,10 +4906,11 @@ export declare type GetSellerByIdQueryQuery = {
4906
4906
  accountId: string;
4907
4907
  token: {
4908
4908
  __typename?: "ExchangeToken";
4909
+ id: string;
4909
4910
  address: string;
4910
- name: string;
4911
- symbol: string;
4912
4911
  decimals: string;
4912
+ symbol: string;
4913
+ name: string;
4913
4914
  };
4914
4915
  }>;
4915
4916
  offers?: Array<{
@@ -4944,10 +4945,11 @@ export declare type GetSellerByIdQueryQuery = {
4944
4945
  };
4945
4946
  exchangeToken: {
4946
4947
  __typename?: "ExchangeToken";
4948
+ id: string;
4947
4949
  address: string;
4948
4950
  decimals: string;
4949
- name: string;
4950
4951
  symbol: string;
4952
+ name: string;
4951
4953
  };
4952
4954
  metadata?: {
4953
4955
  __typename?: "BaseMetadataEntity";
@@ -5023,10 +5025,11 @@ export declare type GetSellersQueryQuery = {
5023
5025
  accountId: string;
5024
5026
  token: {
5025
5027
  __typename?: "ExchangeToken";
5028
+ id: string;
5026
5029
  address: string;
5027
- name: string;
5028
- symbol: string;
5029
5030
  decimals: string;
5031
+ symbol: string;
5032
+ name: string;
5030
5033
  };
5031
5034
  }>;
5032
5035
  offers?: Array<{
@@ -5061,10 +5064,11 @@ export declare type GetSellersQueryQuery = {
5061
5064
  };
5062
5065
  exchangeToken: {
5063
5066
  __typename?: "ExchangeToken";
5067
+ id: string;
5064
5068
  address: string;
5065
5069
  decimals: string;
5066
- name: string;
5067
5070
  symbol: string;
5071
+ name: string;
5068
5072
  };
5069
5073
  metadata?: {
5070
5074
  __typename?: "BaseMetadataEntity";
@@ -5127,10 +5131,11 @@ export declare type GetBuyerByIdQueryQuery = {
5127
5131
  accountId: string;
5128
5132
  token: {
5129
5133
  __typename?: "ExchangeToken";
5134
+ id: string;
5130
5135
  address: string;
5131
- name: string;
5132
- symbol: string;
5133
5136
  decimals: string;
5137
+ symbol: string;
5138
+ name: string;
5134
5139
  };
5135
5140
  }>;
5136
5141
  exchanges?: Array<{
@@ -5188,10 +5193,11 @@ export declare type GetBuyersQueryQuery = {
5188
5193
  accountId: string;
5189
5194
  token: {
5190
5195
  __typename?: "ExchangeToken";
5196
+ id: string;
5191
5197
  address: string;
5192
- name: string;
5193
- symbol: string;
5194
5198
  decimals: string;
5199
+ symbol: string;
5200
+ name: string;
5195
5201
  };
5196
5202
  }>;
5197
5203
  exchanges?: Array<{
@@ -5225,10 +5231,11 @@ export declare type SellerFieldsFragment = {
5225
5231
  accountId: string;
5226
5232
  token: {
5227
5233
  __typename?: "ExchangeToken";
5234
+ id: string;
5228
5235
  address: string;
5229
- name: string;
5230
- symbol: string;
5231
5236
  decimals: string;
5237
+ symbol: string;
5238
+ name: string;
5232
5239
  };
5233
5240
  }>;
5234
5241
  offers?: Array<{
@@ -5263,10 +5270,11 @@ export declare type SellerFieldsFragment = {
5263
5270
  };
5264
5271
  exchangeToken: {
5265
5272
  __typename?: "ExchangeToken";
5273
+ id: string;
5266
5274
  address: string;
5267
5275
  decimals: string;
5268
- name: string;
5269
5276
  symbol: string;
5277
+ name: string;
5270
5278
  };
5271
5279
  metadata?: {
5272
5280
  __typename?: "BaseMetadataEntity";
@@ -5320,10 +5328,11 @@ export declare type BuyerFieldsFragment = {
5320
5328
  accountId: string;
5321
5329
  token: {
5322
5330
  __typename?: "ExchangeToken";
5331
+ id: string;
5323
5332
  address: string;
5324
- name: string;
5325
- symbol: string;
5326
5333
  decimals: string;
5334
+ symbol: string;
5335
+ name: string;
5327
5336
  };
5328
5337
  }>;
5329
5338
  exchanges?: Array<{
@@ -5347,40 +5356,36 @@ export declare type BaseBuyerFieldsFragment = {
5347
5356
  wallet: string;
5348
5357
  active: boolean;
5349
5358
  };
5350
- export declare type GetExchangeByIdQueryQueryVariables = Exact<{
5351
- exchangeId: Scalars["ID"];
5359
+ export declare type GetExchangeTokenByIdQueryQueryVariables = Exact<{
5360
+ exchangeTokenId: Scalars["ID"];
5361
+ exchangeTokensSkip?: InputMaybe<Scalars["Int"]>;
5362
+ exchangeTokensFirst?: InputMaybe<Scalars["Int"]>;
5363
+ exchangeTokensOrderBy?: InputMaybe<ExchangeToken_OrderBy>;
5364
+ exchangeTokensOrderDirection?: InputMaybe<OrderDirection>;
5365
+ exchangeTokensFilter?: InputMaybe<ExchangeToken_Filter>;
5366
+ offersSkip?: InputMaybe<Scalars["Int"]>;
5367
+ offersFirst?: InputMaybe<Scalars["Int"]>;
5368
+ offersOrderBy?: InputMaybe<Offer_OrderBy>;
5369
+ offersOrderDirection?: InputMaybe<OrderDirection>;
5370
+ offersFilter?: InputMaybe<Offer_Filter>;
5371
+ fundsSkip?: InputMaybe<Scalars["Int"]>;
5372
+ fundsFirst?: InputMaybe<Scalars["Int"]>;
5373
+ fundsOrderBy?: InputMaybe<FundsEntity_OrderBy>;
5374
+ fundsOrderDirection?: InputMaybe<OrderDirection>;
5375
+ fundsFilter?: InputMaybe<FundsEntity_Filter>;
5376
+ includeOffers?: InputMaybe<Scalars["Boolean"]>;
5377
+ includeFunds?: InputMaybe<Scalars["Boolean"]>;
5352
5378
  }>;
5353
- export declare type GetExchangeByIdQueryQuery = {
5379
+ export declare type GetExchangeTokenByIdQueryQuery = {
5354
5380
  __typename?: "Query";
5355
- exchange?: {
5356
- __typename?: "Exchange";
5381
+ exchangeToken?: {
5382
+ __typename?: "ExchangeToken";
5357
5383
  id: string;
5358
- disputed: boolean;
5359
- state: ExchangeState;
5360
- committedDate: string;
5361
- finalizedDate?: string | null;
5362
- validUntilDate: string;
5363
- redeemedDate?: string | null;
5364
- revokedDate?: string | null;
5365
- cancelledDate?: string | null;
5366
- completedDate?: string | null;
5367
- expired: boolean;
5368
- buyer: {
5369
- __typename?: "Buyer";
5370
- id: string;
5371
- wallet: string;
5372
- active: boolean;
5373
- };
5374
- seller: {
5375
- __typename?: "Seller";
5376
- id: string;
5377
- operator: string;
5378
- admin: string;
5379
- clerk: string;
5380
- treasury: string;
5381
- active: boolean;
5382
- };
5383
- offer: {
5384
+ address: string;
5385
+ decimals: string;
5386
+ symbol: string;
5387
+ name: string;
5388
+ offers?: Array<{
5384
5389
  __typename?: "Offer";
5385
5390
  id: string;
5386
5391
  createdAt: string;
@@ -5412,10 +5417,11 @@ export declare type GetExchangeByIdQueryQuery = {
5412
5417
  };
5413
5418
  exchangeToken: {
5414
5419
  __typename?: "ExchangeToken";
5420
+ id: string;
5415
5421
  address: string;
5416
5422
  decimals: string;
5417
- name: string;
5418
5423
  symbol: string;
5424
+ name: string;
5419
5425
  };
5420
5426
  metadata?: {
5421
5427
  __typename?: "BaseMetadataEntity";
@@ -5432,47 +5438,44 @@ export declare type GetExchangeByIdQueryQuery = {
5432
5438
  schemaUrl: string;
5433
5439
  type: MetadataType;
5434
5440
  } | null;
5435
- };
5441
+ }>;
5442
+ funds?: Array<{
5443
+ __typename?: "FundsEntity";
5444
+ id: string;
5445
+ availableAmount: string;
5446
+ accountId: string;
5447
+ }>;
5436
5448
  } | null;
5437
5449
  };
5438
- export declare type GetExchangesQueryQueryVariables = Exact<{
5439
- exchangesSkip?: InputMaybe<Scalars["Int"]>;
5440
- exchangesFirst?: InputMaybe<Scalars["Int"]>;
5441
- exchangesOrderBy?: InputMaybe<Exchange_OrderBy>;
5442
- exchangesOrderDirection?: InputMaybe<OrderDirection>;
5443
- exchangesFilter?: InputMaybe<Exchange_Filter>;
5450
+ export declare type GetExchangeTokensQueryQueryVariables = Exact<{
5451
+ exchangeTokensSkip?: InputMaybe<Scalars["Int"]>;
5452
+ exchangeTokensFirst?: InputMaybe<Scalars["Int"]>;
5453
+ exchangeTokensOrderBy?: InputMaybe<ExchangeToken_OrderBy>;
5454
+ exchangeTokensOrderDirection?: InputMaybe<OrderDirection>;
5455
+ exchangeTokensFilter?: InputMaybe<ExchangeToken_Filter>;
5456
+ offersSkip?: InputMaybe<Scalars["Int"]>;
5457
+ offersFirst?: InputMaybe<Scalars["Int"]>;
5458
+ offersOrderBy?: InputMaybe<Offer_OrderBy>;
5459
+ offersOrderDirection?: InputMaybe<OrderDirection>;
5460
+ offersFilter?: InputMaybe<Offer_Filter>;
5461
+ includeOffers?: InputMaybe<Scalars["Boolean"]>;
5462
+ fundsSkip?: InputMaybe<Scalars["Int"]>;
5463
+ fundsFirst?: InputMaybe<Scalars["Int"]>;
5464
+ fundsOrderBy?: InputMaybe<FundsEntity_OrderBy>;
5465
+ fundsOrderDirection?: InputMaybe<OrderDirection>;
5466
+ fundsFilter?: InputMaybe<FundsEntity_Filter>;
5467
+ includeFunds?: InputMaybe<Scalars["Boolean"]>;
5444
5468
  }>;
5445
- export declare type GetExchangesQueryQuery = {
5469
+ export declare type GetExchangeTokensQueryQuery = {
5446
5470
  __typename?: "Query";
5447
- exchanges: Array<{
5448
- __typename?: "Exchange";
5471
+ exchangeTokens: Array<{
5472
+ __typename?: "ExchangeToken";
5449
5473
  id: string;
5450
- disputed: boolean;
5451
- state: ExchangeState;
5452
- committedDate: string;
5453
- finalizedDate?: string | null;
5454
- validUntilDate: string;
5455
- redeemedDate?: string | null;
5456
- revokedDate?: string | null;
5457
- cancelledDate?: string | null;
5458
- completedDate?: string | null;
5459
- expired: boolean;
5460
- buyer: {
5461
- __typename?: "Buyer";
5462
- id: string;
5463
- wallet: string;
5464
- active: boolean;
5465
- };
5466
- seller: {
5467
- __typename?: "Seller";
5468
- id: string;
5469
- operator: string;
5470
- admin: string;
5471
- clerk: string;
5472
- treasury: string;
5473
- active: boolean;
5474
- };
5475
- offer: {
5474
+ address: string;
5475
+ decimals: string;
5476
+ symbol: string;
5477
+ name: string;
5478
+ offers?: Array<{
5476
5479
  __typename?: "Offer";
5477
5480
  id: string;
5478
5481
  createdAt: string;
@@ -5504,10 +5507,11 @@ export declare type GetExchangesQueryQuery = {
5504
5507
  };
5505
5508
  exchangeToken: {
5506
5509
  __typename?: "ExchangeToken";
5510
+ id: string;
5507
5511
  address: string;
5508
5512
  decimals: string;
5509
- name: string;
5510
5513
  symbol: string;
5514
+ name: string;
5511
5515
  };
5512
5516
  metadata?: {
5513
5517
  __typename?: "BaseMetadataEntity";
@@ -5524,38 +5528,23 @@ export declare type GetExchangesQueryQuery = {
5524
5528
  schemaUrl: string;
5525
5529
  type: MetadataType;
5526
5530
  } | null;
5527
- };
5531
+ }>;
5532
+ funds?: Array<{
5533
+ __typename?: "FundsEntity";
5534
+ id: string;
5535
+ availableAmount: string;
5536
+ accountId: string;
5537
+ }>;
5528
5538
  }>;
5529
5539
  };
5530
- export declare type ExchangeFieldsFragment = {
5531
- __typename?: "Exchange";
5540
+ export declare type ExchangeTokenFieldsFragment = {
5541
+ __typename?: "ExchangeToken";
5532
5542
  id: string;
5533
- disputed: boolean;
5534
- state: ExchangeState;
5535
- committedDate: string;
5536
- finalizedDate?: string | null;
5537
- validUntilDate: string;
5538
- redeemedDate?: string | null;
5539
- revokedDate?: string | null;
5540
- cancelledDate?: string | null;
5541
- completedDate?: string | null;
5542
- expired: boolean;
5543
- buyer: {
5544
- __typename?: "Buyer";
5545
- id: string;
5546
- wallet: string;
5547
- active: boolean;
5548
- };
5549
- seller: {
5550
- __typename?: "Seller";
5551
- id: string;
5552
- operator: string;
5553
- admin: string;
5554
- clerk: string;
5555
- treasury: string;
5556
- active: boolean;
5557
- };
5558
- offer: {
5543
+ address: string;
5544
+ decimals: string;
5545
+ symbol: string;
5546
+ name: string;
5547
+ offers?: Array<{
5559
5548
  __typename?: "Offer";
5560
5549
  id: string;
5561
5550
  createdAt: string;
@@ -5587,10 +5576,11 @@ export declare type ExchangeFieldsFragment = {
5587
5576
  };
5588
5577
  exchangeToken: {
5589
5578
  __typename?: "ExchangeToken";
5579
+ id: string;
5590
5580
  address: string;
5591
5581
  decimals: string;
5592
- name: string;
5593
5582
  symbol: string;
5583
+ name: string;
5594
5584
  };
5595
5585
  metadata?: {
5596
5586
  __typename?: "BaseMetadataEntity";
@@ -5607,76 +5597,1867 @@ export declare type ExchangeFieldsFragment = {
5607
5597
  schemaUrl: string;
5608
5598
  type: MetadataType;
5609
5599
  } | null;
5610
- };
5611
- };
5612
- export declare type BaseExchangeFieldsFragment = {
5613
- __typename?: "Exchange";
5614
- id: string;
5615
- disputed: boolean;
5616
- state: ExchangeState;
5617
- committedDate: string;
5618
- finalizedDate?: string | null;
5619
- validUntilDate: string;
5620
- redeemedDate?: string | null;
5621
- revokedDate?: string | null;
5622
- cancelledDate?: string | null;
5623
- completedDate?: string | null;
5624
- expired: boolean;
5625
- };
5626
- export declare type GetFundsByIdQueryVariables = Exact<{
5627
- fundsId: Scalars["ID"];
5628
- }>;
5629
- export declare type GetFundsByIdQuery = {
5630
- __typename?: "Query";
5631
- fundsEntity?: {
5600
+ }>;
5601
+ funds?: Array<{
5632
5602
  __typename?: "FundsEntity";
5633
5603
  id: string;
5634
5604
  availableAmount: string;
5635
5605
  accountId: string;
5636
- token: {
5637
- __typename?: "ExchangeToken";
5638
- address: string;
5639
- name: string;
5640
- symbol: string;
5641
- decimals: string;
5642
- };
5643
- } | null;
5606
+ }>;
5644
5607
  };
5645
- export declare type GetFundsQueryVariables = Exact<{
5646
- fundsSkip?: InputMaybe<Scalars["Int"]>;
5647
- fundsFirst?: InputMaybe<Scalars["Int"]>;
5648
- fundsOrderBy?: InputMaybe<FundsEntity_OrderBy>;
5649
- fundsOrderDirection?: InputMaybe<OrderDirection>;
5650
- fundsFilter?: InputMaybe<FundsEntity_Filter>;
5608
+ export declare type BaseExchangeTokenFieldsFragment = {
5609
+ __typename?: "ExchangeToken";
5610
+ id: string;
5611
+ address: string;
5612
+ decimals: string;
5613
+ symbol: string;
5614
+ name: string;
5615
+ };
5616
+ export declare type GetExchangeByIdQueryQueryVariables = Exact<{
5617
+ exchangeId: Scalars["ID"];
5651
5618
  }>;
5652
- export declare type GetFundsQuery = {
5619
+ export declare type GetExchangeByIdQueryQuery = {
5653
5620
  __typename?: "Query";
5654
- fundsEntities: Array<{
5655
- __typename?: "FundsEntity";
5621
+ exchange?: {
5622
+ __typename?: "Exchange";
5656
5623
  id: string;
5657
- availableAmount: string;
5658
- accountId: string;
5659
- token: {
5660
- __typename?: "ExchangeToken";
5661
- address: string;
5662
- name: string;
5663
- symbol: string;
5664
- decimals: string;
5665
- };
5666
- }>;
5624
+ disputed: boolean;
5625
+ state: ExchangeState;
5626
+ committedDate: string;
5627
+ finalizedDate?: string | null;
5628
+ validUntilDate: string;
5629
+ redeemedDate?: string | null;
5630
+ revokedDate?: string | null;
5631
+ cancelledDate?: string | null;
5632
+ completedDate?: string | null;
5633
+ expired: boolean;
5634
+ buyer: {
5635
+ __typename?: "Buyer";
5636
+ id: string;
5637
+ wallet: string;
5638
+ active: boolean;
5639
+ };
5640
+ seller: {
5641
+ __typename?: "Seller";
5642
+ id: string;
5643
+ operator: string;
5644
+ admin: string;
5645
+ clerk: string;
5646
+ treasury: string;
5647
+ active: boolean;
5648
+ };
5649
+ offer: {
5650
+ __typename?: "Offer";
5651
+ id: string;
5652
+ createdAt: string;
5653
+ price: string;
5654
+ sellerDeposit: string;
5655
+ protocolFee: string;
5656
+ buyerCancelPenalty: string;
5657
+ quantityAvailable: string;
5658
+ quantityInitial: string;
5659
+ validFromDate: string;
5660
+ validUntilDate: string;
5661
+ voucherRedeemableFromDate: string;
5662
+ voucherRedeemableUntilDate: string;
5663
+ fulfillmentPeriodDuration: string;
5664
+ voucherValidDuration: string;
5665
+ resolutionPeriodDuration: string;
5666
+ metadataUri: string;
5667
+ metadataHash: string;
5668
+ voidedAt?: string | null;
5669
+ disputeResolverId: string;
5670
+ seller: {
5671
+ __typename?: "Seller";
5672
+ id: string;
5673
+ operator: string;
5674
+ admin: string;
5675
+ clerk: string;
5676
+ treasury: string;
5677
+ active: boolean;
5678
+ };
5679
+ exchangeToken: {
5680
+ __typename?: "ExchangeToken";
5681
+ id: string;
5682
+ address: string;
5683
+ decimals: string;
5684
+ symbol: string;
5685
+ name: string;
5686
+ };
5687
+ metadata?: {
5688
+ __typename?: "BaseMetadataEntity";
5689
+ name: string;
5690
+ description: string;
5691
+ externalUrl: string;
5692
+ schemaUrl: string;
5693
+ type: MetadataType;
5694
+ } | {
5695
+ __typename?: "ProductV1MetadataEntity";
5696
+ name: string;
5697
+ description: string;
5698
+ externalUrl: string;
5699
+ schemaUrl: string;
5700
+ type: MetadataType;
5701
+ } | null;
5702
+ };
5703
+ } | null;
5704
+ };
5705
+ export declare type GetExchangesQueryQueryVariables = Exact<{
5706
+ exchangesSkip?: InputMaybe<Scalars["Int"]>;
5707
+ exchangesFirst?: InputMaybe<Scalars["Int"]>;
5708
+ exchangesOrderBy?: InputMaybe<Exchange_OrderBy>;
5709
+ exchangesOrderDirection?: InputMaybe<OrderDirection>;
5710
+ exchangesFilter?: InputMaybe<Exchange_Filter>;
5711
+ }>;
5712
+ export declare type GetExchangesQueryQuery = {
5713
+ __typename?: "Query";
5714
+ exchanges: Array<{
5715
+ __typename?: "Exchange";
5716
+ id: string;
5717
+ disputed: boolean;
5718
+ state: ExchangeState;
5719
+ committedDate: string;
5720
+ finalizedDate?: string | null;
5721
+ validUntilDate: string;
5722
+ redeemedDate?: string | null;
5723
+ revokedDate?: string | null;
5724
+ cancelledDate?: string | null;
5725
+ completedDate?: string | null;
5726
+ expired: boolean;
5727
+ buyer: {
5728
+ __typename?: "Buyer";
5729
+ id: string;
5730
+ wallet: string;
5731
+ active: boolean;
5732
+ };
5733
+ seller: {
5734
+ __typename?: "Seller";
5735
+ id: string;
5736
+ operator: string;
5737
+ admin: string;
5738
+ clerk: string;
5739
+ treasury: string;
5740
+ active: boolean;
5741
+ };
5742
+ offer: {
5743
+ __typename?: "Offer";
5744
+ id: string;
5745
+ createdAt: string;
5746
+ price: string;
5747
+ sellerDeposit: string;
5748
+ protocolFee: string;
5749
+ buyerCancelPenalty: string;
5750
+ quantityAvailable: string;
5751
+ quantityInitial: string;
5752
+ validFromDate: string;
5753
+ validUntilDate: string;
5754
+ voucherRedeemableFromDate: string;
5755
+ voucherRedeemableUntilDate: string;
5756
+ fulfillmentPeriodDuration: string;
5757
+ voucherValidDuration: string;
5758
+ resolutionPeriodDuration: string;
5759
+ metadataUri: string;
5760
+ metadataHash: string;
5761
+ voidedAt?: string | null;
5762
+ disputeResolverId: string;
5763
+ seller: {
5764
+ __typename?: "Seller";
5765
+ id: string;
5766
+ operator: string;
5767
+ admin: string;
5768
+ clerk: string;
5769
+ treasury: string;
5770
+ active: boolean;
5771
+ };
5772
+ exchangeToken: {
5773
+ __typename?: "ExchangeToken";
5774
+ id: string;
5775
+ address: string;
5776
+ decimals: string;
5777
+ symbol: string;
5778
+ name: string;
5779
+ };
5780
+ metadata?: {
5781
+ __typename?: "BaseMetadataEntity";
5782
+ name: string;
5783
+ description: string;
5784
+ externalUrl: string;
5785
+ schemaUrl: string;
5786
+ type: MetadataType;
5787
+ } | {
5788
+ __typename?: "ProductV1MetadataEntity";
5789
+ name: string;
5790
+ description: string;
5791
+ externalUrl: string;
5792
+ schemaUrl: string;
5793
+ type: MetadataType;
5794
+ } | null;
5795
+ };
5796
+ }>;
5797
+ };
5798
+ export declare type ExchangeFieldsFragment = {
5799
+ __typename?: "Exchange";
5800
+ id: string;
5801
+ disputed: boolean;
5802
+ state: ExchangeState;
5803
+ committedDate: string;
5804
+ finalizedDate?: string | null;
5805
+ validUntilDate: string;
5806
+ redeemedDate?: string | null;
5807
+ revokedDate?: string | null;
5808
+ cancelledDate?: string | null;
5809
+ completedDate?: string | null;
5810
+ expired: boolean;
5811
+ buyer: {
5812
+ __typename?: "Buyer";
5813
+ id: string;
5814
+ wallet: string;
5815
+ active: boolean;
5816
+ };
5817
+ seller: {
5818
+ __typename?: "Seller";
5819
+ id: string;
5820
+ operator: string;
5821
+ admin: string;
5822
+ clerk: string;
5823
+ treasury: string;
5824
+ active: boolean;
5825
+ };
5826
+ offer: {
5827
+ __typename?: "Offer";
5828
+ id: string;
5829
+ createdAt: string;
5830
+ price: string;
5831
+ sellerDeposit: string;
5832
+ protocolFee: string;
5833
+ buyerCancelPenalty: string;
5834
+ quantityAvailable: string;
5835
+ quantityInitial: string;
5836
+ validFromDate: string;
5837
+ validUntilDate: string;
5838
+ voucherRedeemableFromDate: string;
5839
+ voucherRedeemableUntilDate: string;
5840
+ fulfillmentPeriodDuration: string;
5841
+ voucherValidDuration: string;
5842
+ resolutionPeriodDuration: string;
5843
+ metadataUri: string;
5844
+ metadataHash: string;
5845
+ voidedAt?: string | null;
5846
+ disputeResolverId: string;
5847
+ seller: {
5848
+ __typename?: "Seller";
5849
+ id: string;
5850
+ operator: string;
5851
+ admin: string;
5852
+ clerk: string;
5853
+ treasury: string;
5854
+ active: boolean;
5855
+ };
5856
+ exchangeToken: {
5857
+ __typename?: "ExchangeToken";
5858
+ id: string;
5859
+ address: string;
5860
+ decimals: string;
5861
+ symbol: string;
5862
+ name: string;
5863
+ };
5864
+ metadata?: {
5865
+ __typename?: "BaseMetadataEntity";
5866
+ name: string;
5867
+ description: string;
5868
+ externalUrl: string;
5869
+ schemaUrl: string;
5870
+ type: MetadataType;
5871
+ } | {
5872
+ __typename?: "ProductV1MetadataEntity";
5873
+ name: string;
5874
+ description: string;
5875
+ externalUrl: string;
5876
+ schemaUrl: string;
5877
+ type: MetadataType;
5878
+ } | null;
5879
+ };
5880
+ };
5881
+ export declare type BaseExchangeFieldsFragment = {
5882
+ __typename?: "Exchange";
5883
+ id: string;
5884
+ disputed: boolean;
5885
+ state: ExchangeState;
5886
+ committedDate: string;
5887
+ finalizedDate?: string | null;
5888
+ validUntilDate: string;
5889
+ redeemedDate?: string | null;
5890
+ revokedDate?: string | null;
5891
+ cancelledDate?: string | null;
5892
+ completedDate?: string | null;
5893
+ expired: boolean;
5894
+ };
5895
+ export declare type GetFundsByIdQueryVariables = Exact<{
5896
+ fundsId: Scalars["ID"];
5897
+ }>;
5898
+ export declare type GetFundsByIdQuery = {
5899
+ __typename?: "Query";
5900
+ fundsEntity?: {
5901
+ __typename?: "FundsEntity";
5902
+ id: string;
5903
+ availableAmount: string;
5904
+ accountId: string;
5905
+ token: {
5906
+ __typename?: "ExchangeToken";
5907
+ id: string;
5908
+ address: string;
5909
+ decimals: string;
5910
+ symbol: string;
5911
+ name: string;
5912
+ };
5913
+ } | null;
5914
+ };
5915
+ export declare type GetFundsQueryVariables = Exact<{
5916
+ fundsSkip?: InputMaybe<Scalars["Int"]>;
5917
+ fundsFirst?: InputMaybe<Scalars["Int"]>;
5918
+ fundsOrderBy?: InputMaybe<FundsEntity_OrderBy>;
5919
+ fundsOrderDirection?: InputMaybe<OrderDirection>;
5920
+ fundsFilter?: InputMaybe<FundsEntity_Filter>;
5921
+ }>;
5922
+ export declare type GetFundsQuery = {
5923
+ __typename?: "Query";
5924
+ fundsEntities: Array<{
5925
+ __typename?: "FundsEntity";
5926
+ id: string;
5927
+ availableAmount: string;
5928
+ accountId: string;
5929
+ token: {
5930
+ __typename?: "ExchangeToken";
5931
+ id: string;
5932
+ address: string;
5933
+ decimals: string;
5934
+ symbol: string;
5935
+ name: string;
5936
+ };
5937
+ }>;
5938
+ };
5939
+ export declare type FundsEntityFieldsFragment = {
5940
+ __typename?: "FundsEntity";
5941
+ id: string;
5942
+ availableAmount: string;
5943
+ accountId: string;
5944
+ token: {
5945
+ __typename?: "ExchangeToken";
5946
+ id: string;
5947
+ address: string;
5948
+ decimals: string;
5949
+ symbol: string;
5950
+ name: string;
5951
+ };
5952
+ };
5953
+ export declare type BaseFundsEntityFieldsFragment = {
5954
+ __typename?: "FundsEntity";
5955
+ id: string;
5956
+ availableAmount: string;
5957
+ accountId: string;
5958
+ };
5959
+ export declare type GetBaseMetadataEntityByIdQueryQueryVariables = Exact<{
5960
+ metadataId: Scalars["ID"];
5961
+ metadataSkip?: InputMaybe<Scalars["Int"]>;
5962
+ metadataFirst?: InputMaybe<Scalars["Int"]>;
5963
+ metadataOrderBy?: InputMaybe<BaseMetadataEntity_OrderBy>;
5964
+ metadataOrderDirection?: InputMaybe<OrderDirection>;
5965
+ metadataFilter?: InputMaybe<BaseMetadataEntity_Filter>;
5966
+ }>;
5967
+ export declare type GetBaseMetadataEntityByIdQueryQuery = {
5968
+ __typename?: "Query";
5969
+ baseMetadataEntity?: {
5970
+ __typename?: "BaseMetadataEntity";
5971
+ id: string;
5972
+ name: string;
5973
+ description: string;
5974
+ externalUrl: string;
5975
+ schemaUrl: string;
5976
+ type: MetadataType;
5977
+ image: string;
5978
+ createdAt: string;
5979
+ voided: boolean;
5980
+ validFromDate: string;
5981
+ validUntilDate: string;
5982
+ quantityAvailable: string;
5983
+ attributes?: Array<{
5984
+ __typename?: "MetadataAttribute";
5985
+ traitType: string;
5986
+ value: string;
5987
+ displayType: string;
5988
+ }> | null;
5989
+ offer: {
5990
+ __typename?: "Offer";
5991
+ id: string;
5992
+ createdAt: string;
5993
+ price: string;
5994
+ sellerDeposit: string;
5995
+ protocolFee: string;
5996
+ buyerCancelPenalty: string;
5997
+ quantityAvailable: string;
5998
+ quantityInitial: string;
5999
+ validFromDate: string;
6000
+ validUntilDate: string;
6001
+ voucherRedeemableFromDate: string;
6002
+ voucherRedeemableUntilDate: string;
6003
+ fulfillmentPeriodDuration: string;
6004
+ voucherValidDuration: string;
6005
+ resolutionPeriodDuration: string;
6006
+ metadataUri: string;
6007
+ metadataHash: string;
6008
+ voidedAt?: string | null;
6009
+ disputeResolverId: string;
6010
+ seller: {
6011
+ __typename?: "Seller";
6012
+ id: string;
6013
+ operator: string;
6014
+ admin: string;
6015
+ clerk: string;
6016
+ treasury: string;
6017
+ active: boolean;
6018
+ };
6019
+ exchangeToken: {
6020
+ __typename?: "ExchangeToken";
6021
+ id: string;
6022
+ address: string;
6023
+ decimals: string;
6024
+ symbol: string;
6025
+ name: string;
6026
+ };
6027
+ metadata?: {
6028
+ __typename?: "BaseMetadataEntity";
6029
+ name: string;
6030
+ description: string;
6031
+ externalUrl: string;
6032
+ schemaUrl: string;
6033
+ type: MetadataType;
6034
+ } | {
6035
+ __typename?: "ProductV1MetadataEntity";
6036
+ name: string;
6037
+ description: string;
6038
+ externalUrl: string;
6039
+ schemaUrl: string;
6040
+ type: MetadataType;
6041
+ } | null;
6042
+ };
6043
+ seller: {
6044
+ __typename?: "Seller";
6045
+ id: string;
6046
+ operator: string;
6047
+ admin: string;
6048
+ clerk: string;
6049
+ treasury: string;
6050
+ active: boolean;
6051
+ };
6052
+ exchangeToken: {
6053
+ __typename?: "ExchangeToken";
6054
+ id: string;
6055
+ address: string;
6056
+ decimals: string;
6057
+ symbol: string;
6058
+ name: string;
6059
+ };
6060
+ } | null;
6061
+ };
6062
+ export declare type GetBaseMetadataEntitiesQueryQueryVariables = Exact<{
6063
+ metadataSkip?: InputMaybe<Scalars["Int"]>;
6064
+ metadataFirst?: InputMaybe<Scalars["Int"]>;
6065
+ metadataOrderBy?: InputMaybe<BaseMetadataEntity_OrderBy>;
6066
+ metadataOrderDirection?: InputMaybe<OrderDirection>;
6067
+ metadataFilter?: InputMaybe<BaseMetadataEntity_Filter>;
6068
+ }>;
6069
+ export declare type GetBaseMetadataEntitiesQueryQuery = {
6070
+ __typename?: "Query";
6071
+ baseMetadataEntities: Array<{
6072
+ __typename?: "BaseMetadataEntity";
6073
+ id: string;
6074
+ name: string;
6075
+ description: string;
6076
+ externalUrl: string;
6077
+ schemaUrl: string;
6078
+ type: MetadataType;
6079
+ image: string;
6080
+ createdAt: string;
6081
+ voided: boolean;
6082
+ validFromDate: string;
6083
+ validUntilDate: string;
6084
+ quantityAvailable: string;
6085
+ attributes?: Array<{
6086
+ __typename?: "MetadataAttribute";
6087
+ traitType: string;
6088
+ value: string;
6089
+ displayType: string;
6090
+ }> | null;
6091
+ offer: {
6092
+ __typename?: "Offer";
6093
+ id: string;
6094
+ createdAt: string;
6095
+ price: string;
6096
+ sellerDeposit: string;
6097
+ protocolFee: string;
6098
+ buyerCancelPenalty: string;
6099
+ quantityAvailable: string;
6100
+ quantityInitial: string;
6101
+ validFromDate: string;
6102
+ validUntilDate: string;
6103
+ voucherRedeemableFromDate: string;
6104
+ voucherRedeemableUntilDate: string;
6105
+ fulfillmentPeriodDuration: string;
6106
+ voucherValidDuration: string;
6107
+ resolutionPeriodDuration: string;
6108
+ metadataUri: string;
6109
+ metadataHash: string;
6110
+ voidedAt?: string | null;
6111
+ disputeResolverId: string;
6112
+ seller: {
6113
+ __typename?: "Seller";
6114
+ id: string;
6115
+ operator: string;
6116
+ admin: string;
6117
+ clerk: string;
6118
+ treasury: string;
6119
+ active: boolean;
6120
+ };
6121
+ exchangeToken: {
6122
+ __typename?: "ExchangeToken";
6123
+ id: string;
6124
+ address: string;
6125
+ decimals: string;
6126
+ symbol: string;
6127
+ name: string;
6128
+ };
6129
+ metadata?: {
6130
+ __typename?: "BaseMetadataEntity";
6131
+ name: string;
6132
+ description: string;
6133
+ externalUrl: string;
6134
+ schemaUrl: string;
6135
+ type: MetadataType;
6136
+ } | {
6137
+ __typename?: "ProductV1MetadataEntity";
6138
+ name: string;
6139
+ description: string;
6140
+ externalUrl: string;
6141
+ schemaUrl: string;
6142
+ type: MetadataType;
6143
+ } | null;
6144
+ };
6145
+ seller: {
6146
+ __typename?: "Seller";
6147
+ id: string;
6148
+ operator: string;
6149
+ admin: string;
6150
+ clerk: string;
6151
+ treasury: string;
6152
+ active: boolean;
6153
+ };
6154
+ exchangeToken: {
6155
+ __typename?: "ExchangeToken";
6156
+ id: string;
6157
+ address: string;
6158
+ decimals: string;
6159
+ symbol: string;
6160
+ name: string;
6161
+ };
6162
+ }>;
6163
+ };
6164
+ export declare type BaseMetadataEntityFieldsFragment = {
6165
+ __typename?: "BaseMetadataEntity";
6166
+ id: string;
6167
+ name: string;
6168
+ description: string;
6169
+ externalUrl: string;
6170
+ schemaUrl: string;
6171
+ type: MetadataType;
6172
+ image: string;
6173
+ createdAt: string;
6174
+ voided: boolean;
6175
+ validFromDate: string;
6176
+ validUntilDate: string;
6177
+ quantityAvailable: string;
6178
+ attributes?: Array<{
6179
+ __typename?: "MetadataAttribute";
6180
+ traitType: string;
6181
+ value: string;
6182
+ displayType: string;
6183
+ }> | null;
6184
+ offer: {
6185
+ __typename?: "Offer";
6186
+ id: string;
6187
+ createdAt: string;
6188
+ price: string;
6189
+ sellerDeposit: string;
6190
+ protocolFee: string;
6191
+ buyerCancelPenalty: string;
6192
+ quantityAvailable: string;
6193
+ quantityInitial: string;
6194
+ validFromDate: string;
6195
+ validUntilDate: string;
6196
+ voucherRedeemableFromDate: string;
6197
+ voucherRedeemableUntilDate: string;
6198
+ fulfillmentPeriodDuration: string;
6199
+ voucherValidDuration: string;
6200
+ resolutionPeriodDuration: string;
6201
+ metadataUri: string;
6202
+ metadataHash: string;
6203
+ voidedAt?: string | null;
6204
+ disputeResolverId: string;
6205
+ seller: {
6206
+ __typename?: "Seller";
6207
+ id: string;
6208
+ operator: string;
6209
+ admin: string;
6210
+ clerk: string;
6211
+ treasury: string;
6212
+ active: boolean;
6213
+ };
6214
+ exchangeToken: {
6215
+ __typename?: "ExchangeToken";
6216
+ id: string;
6217
+ address: string;
6218
+ decimals: string;
6219
+ symbol: string;
6220
+ name: string;
6221
+ };
6222
+ metadata?: {
6223
+ __typename?: "BaseMetadataEntity";
6224
+ name: string;
6225
+ description: string;
6226
+ externalUrl: string;
6227
+ schemaUrl: string;
6228
+ type: MetadataType;
6229
+ } | {
6230
+ __typename?: "ProductV1MetadataEntity";
6231
+ name: string;
6232
+ description: string;
6233
+ externalUrl: string;
6234
+ schemaUrl: string;
6235
+ type: MetadataType;
6236
+ } | null;
6237
+ };
6238
+ seller: {
6239
+ __typename?: "Seller";
6240
+ id: string;
6241
+ operator: string;
6242
+ admin: string;
6243
+ clerk: string;
6244
+ treasury: string;
6245
+ active: boolean;
6246
+ };
6247
+ exchangeToken: {
6248
+ __typename?: "ExchangeToken";
6249
+ id: string;
6250
+ address: string;
6251
+ decimals: string;
6252
+ symbol: string;
6253
+ name: string;
6254
+ };
6255
+ };
6256
+ export declare type BaseBaseMetadataEntityFieldsFragment = {
6257
+ __typename?: "BaseMetadataEntity";
6258
+ id: string;
6259
+ name: string;
6260
+ description: string;
6261
+ externalUrl: string;
6262
+ schemaUrl: string;
6263
+ type: MetadataType;
6264
+ image: string;
6265
+ createdAt: string;
6266
+ voided: boolean;
6267
+ validFromDate: string;
6268
+ validUntilDate: string;
6269
+ quantityAvailable: string;
6270
+ attributes?: Array<{
6271
+ __typename?: "MetadataAttribute";
6272
+ traitType: string;
6273
+ value: string;
6274
+ displayType: string;
6275
+ }> | null;
6276
+ offer: {
6277
+ __typename?: "Offer";
6278
+ id: string;
6279
+ createdAt: string;
6280
+ price: string;
6281
+ sellerDeposit: string;
6282
+ protocolFee: string;
6283
+ buyerCancelPenalty: string;
6284
+ quantityAvailable: string;
6285
+ quantityInitial: string;
6286
+ validFromDate: string;
6287
+ validUntilDate: string;
6288
+ voucherRedeemableFromDate: string;
6289
+ voucherRedeemableUntilDate: string;
6290
+ fulfillmentPeriodDuration: string;
6291
+ voucherValidDuration: string;
6292
+ resolutionPeriodDuration: string;
6293
+ metadataUri: string;
6294
+ metadataHash: string;
6295
+ voidedAt?: string | null;
6296
+ disputeResolverId: string;
6297
+ seller: {
6298
+ __typename?: "Seller";
6299
+ id: string;
6300
+ operator: string;
6301
+ admin: string;
6302
+ clerk: string;
6303
+ treasury: string;
6304
+ active: boolean;
6305
+ };
6306
+ exchangeToken: {
6307
+ __typename?: "ExchangeToken";
6308
+ id: string;
6309
+ address: string;
6310
+ decimals: string;
6311
+ symbol: string;
6312
+ name: string;
6313
+ };
6314
+ metadata?: {
6315
+ __typename?: "BaseMetadataEntity";
6316
+ name: string;
6317
+ description: string;
6318
+ externalUrl: string;
6319
+ schemaUrl: string;
6320
+ type: MetadataType;
6321
+ } | {
6322
+ __typename?: "ProductV1MetadataEntity";
6323
+ name: string;
6324
+ description: string;
6325
+ externalUrl: string;
6326
+ schemaUrl: string;
6327
+ type: MetadataType;
6328
+ } | null;
6329
+ };
6330
+ seller: {
6331
+ __typename?: "Seller";
6332
+ id: string;
6333
+ operator: string;
6334
+ admin: string;
6335
+ clerk: string;
6336
+ treasury: string;
6337
+ active: boolean;
6338
+ };
6339
+ exchangeToken: {
6340
+ __typename?: "ExchangeToken";
6341
+ id: string;
6342
+ address: string;
6343
+ decimals: string;
6344
+ symbol: string;
6345
+ name: string;
6346
+ };
6347
+ };
6348
+ export declare type GetProductV1BrandsQueryQueryVariables = Exact<{
6349
+ brandsSkip?: InputMaybe<Scalars["Int"]>;
6350
+ brandsFirst?: InputMaybe<Scalars["Int"]>;
6351
+ brandsOrderBy?: InputMaybe<ProductV1Brand_OrderBy>;
6352
+ brandsOrderDirection?: InputMaybe<OrderDirection>;
6353
+ brandsFilter?: InputMaybe<ProductV1Brand_Filter>;
6354
+ }>;
6355
+ export declare type GetProductV1BrandsQueryQuery = {
6356
+ __typename?: "Query";
6357
+ productV1Brands: Array<{
6358
+ __typename?: "ProductV1Brand";
6359
+ id: string;
6360
+ name: string;
6361
+ }>;
6362
+ };
6363
+ export declare type GetProductV1CategoriesQueryQueryVariables = Exact<{
6364
+ categoriesSkip?: InputMaybe<Scalars["Int"]>;
6365
+ categoriesFirst?: InputMaybe<Scalars["Int"]>;
6366
+ categoriesOrderBy?: InputMaybe<ProductV1Category_OrderBy>;
6367
+ categoriesOrderDirection?: InputMaybe<OrderDirection>;
6368
+ categoriesFilter?: InputMaybe<ProductV1Category_Filter>;
6369
+ }>;
6370
+ export declare type GetProductV1CategoriesQueryQuery = {
6371
+ __typename?: "Query";
6372
+ productV1Categories: Array<{
6373
+ __typename?: "ProductV1Category";
6374
+ id: string;
6375
+ name: string;
6376
+ }>;
6377
+ };
6378
+ export declare type GetProductV1MetadataEntityByIdQueryQueryVariables = Exact<{
6379
+ metadataId: Scalars["ID"];
6380
+ metadataSkip?: InputMaybe<Scalars["Int"]>;
6381
+ metadataFirst?: InputMaybe<Scalars["Int"]>;
6382
+ metadataOrderBy?: InputMaybe<ProductV1MetadataEntity_OrderBy>;
6383
+ metadataOrderDirection?: InputMaybe<OrderDirection>;
6384
+ metadataFilter?: InputMaybe<ProductV1MetadataEntity_Filter>;
6385
+ }>;
6386
+ export declare type GetProductV1MetadataEntityByIdQueryQuery = {
6387
+ __typename?: "Query";
6388
+ productV1MetadataEntity?: {
6389
+ __typename?: "ProductV1MetadataEntity";
6390
+ id: string;
6391
+ name: string;
6392
+ description: string;
6393
+ externalUrl: string;
6394
+ schemaUrl: string;
6395
+ type: MetadataType;
6396
+ image: string;
6397
+ createdAt: string;
6398
+ voided: boolean;
6399
+ validFromDate: string;
6400
+ validUntilDate: string;
6401
+ quantityAvailable: string;
6402
+ uuid: string;
6403
+ attributes?: Array<{
6404
+ __typename?: "MetadataAttribute";
6405
+ traitType: string;
6406
+ value: string;
6407
+ displayType: string;
6408
+ }> | null;
6409
+ offer: {
6410
+ __typename?: "Offer";
6411
+ id: string;
6412
+ createdAt: string;
6413
+ price: string;
6414
+ sellerDeposit: string;
6415
+ protocolFee: string;
6416
+ buyerCancelPenalty: string;
6417
+ quantityAvailable: string;
6418
+ quantityInitial: string;
6419
+ validFromDate: string;
6420
+ validUntilDate: string;
6421
+ voucherRedeemableFromDate: string;
6422
+ voucherRedeemableUntilDate: string;
6423
+ fulfillmentPeriodDuration: string;
6424
+ voucherValidDuration: string;
6425
+ resolutionPeriodDuration: string;
6426
+ metadataUri: string;
6427
+ metadataHash: string;
6428
+ voidedAt?: string | null;
6429
+ disputeResolverId: string;
6430
+ seller: {
6431
+ __typename?: "Seller";
6432
+ id: string;
6433
+ operator: string;
6434
+ admin: string;
6435
+ clerk: string;
6436
+ treasury: string;
6437
+ active: boolean;
6438
+ };
6439
+ exchangeToken: {
6440
+ __typename?: "ExchangeToken";
6441
+ id: string;
6442
+ address: string;
6443
+ decimals: string;
6444
+ symbol: string;
6445
+ name: string;
6446
+ };
6447
+ metadata?: {
6448
+ __typename?: "BaseMetadataEntity";
6449
+ name: string;
6450
+ description: string;
6451
+ externalUrl: string;
6452
+ schemaUrl: string;
6453
+ type: MetadataType;
6454
+ } | {
6455
+ __typename?: "ProductV1MetadataEntity";
6456
+ name: string;
6457
+ description: string;
6458
+ externalUrl: string;
6459
+ schemaUrl: string;
6460
+ type: MetadataType;
6461
+ } | null;
6462
+ };
6463
+ seller: {
6464
+ __typename?: "Seller";
6465
+ id: string;
6466
+ operator: string;
6467
+ admin: string;
6468
+ clerk: string;
6469
+ treasury: string;
6470
+ active: boolean;
6471
+ };
6472
+ exchangeToken: {
6473
+ __typename?: "ExchangeToken";
6474
+ id: string;
6475
+ address: string;
6476
+ decimals: string;
6477
+ symbol: string;
6478
+ name: string;
6479
+ };
6480
+ product: {
6481
+ __typename?: "ProductV1Product";
6482
+ id: string;
6483
+ uuid: string;
6484
+ version: number;
6485
+ title: string;
6486
+ description: string;
6487
+ identification_sKU?: string | null;
6488
+ identification_productId?: string | null;
6489
+ identification_productIdType?: string | null;
6490
+ productionInformation_brandName: string;
6491
+ productionInformation_manufacturer?: string | null;
6492
+ productionInformation_manufacturerPartNumber?: string | null;
6493
+ productionInformation_modelNumber?: string | null;
6494
+ productionInformation_materials?: Array<string> | null;
6495
+ details_category?: string | null;
6496
+ details_subCategory?: string | null;
6497
+ details_subCategory2?: string | null;
6498
+ details_offerCategory: string;
6499
+ offerCategory: ProductV1OfferCategory;
6500
+ details_tags?: Array<string> | null;
6501
+ details_sections?: Array<string> | null;
6502
+ details_personalisation?: Array<string> | null;
6503
+ packaging_packageQuantity?: string | null;
6504
+ packaging_dimensions_length?: string | null;
6505
+ packaging_dimensions_width?: string | null;
6506
+ packaging_dimensions_height?: string | null;
6507
+ packaging_dimensions_unit?: string | null;
6508
+ packaging_weight_value?: string | null;
6509
+ packaging_weight_unit?: string | null;
6510
+ brand: {
6511
+ __typename?: "ProductV1Brand";
6512
+ id: string;
6513
+ name: string;
6514
+ };
6515
+ category?: {
6516
+ __typename?: "ProductV1Category";
6517
+ id: string;
6518
+ name: string;
6519
+ } | null;
6520
+ subCategory?: {
6521
+ __typename?: "ProductV1Category";
6522
+ id: string;
6523
+ name: string;
6524
+ } | null;
6525
+ subCategory2?: {
6526
+ __typename?: "ProductV1Category";
6527
+ id: string;
6528
+ name: string;
6529
+ } | null;
6530
+ tags?: Array<{
6531
+ __typename?: "ProductV1Tag";
6532
+ id: string;
6533
+ name: string;
6534
+ }> | null;
6535
+ sections?: Array<{
6536
+ __typename?: "ProductV1Section";
6537
+ id: string;
6538
+ name: string;
6539
+ }> | null;
6540
+ personalisation?: Array<{
6541
+ __typename?: "ProductV1Personalisation";
6542
+ id: string;
6543
+ name: string;
6544
+ }> | null;
6545
+ visuals_images: Array<{
6546
+ __typename?: "ProductV1Media";
6547
+ id: string;
6548
+ url: string;
6549
+ tag?: string | null;
6550
+ type: ProductV1MediaType;
6551
+ }>;
6552
+ visuals_videos?: Array<{
6553
+ __typename?: "ProductV1Media";
6554
+ id: string;
6555
+ url: string;
6556
+ tag?: string | null;
6557
+ type: ProductV1MediaType;
6558
+ }> | null;
6559
+ };
6560
+ variations?: Array<{
6561
+ __typename?: "ProductV1Variation";
6562
+ id: string;
6563
+ type: string;
6564
+ option: string;
6565
+ }> | null;
6566
+ productV1Seller: {
6567
+ __typename?: "ProductV1Seller";
6568
+ id: string;
6569
+ defaultVersion?: number | null;
6570
+ name?: string | null;
6571
+ description?: string | null;
6572
+ externalUrl?: string | null;
6573
+ tokenId?: string | null;
6574
+ images?: Array<{
6575
+ __typename?: "ProductV1Media";
6576
+ id: string;
6577
+ url: string;
6578
+ tag?: string | null;
6579
+ type: ProductV1MediaType;
6580
+ }> | null;
6581
+ contactLinks?: Array<{
6582
+ __typename?: "ProductV1SellerContactLink";
6583
+ id: string;
6584
+ url: string;
6585
+ tag: string;
6586
+ }> | null;
6587
+ seller: {
6588
+ __typename?: "Seller";
6589
+ id: string;
6590
+ operator: string;
6591
+ admin: string;
6592
+ clerk: string;
6593
+ treasury: string;
6594
+ active: boolean;
6595
+ };
6596
+ };
6597
+ } | null;
6598
+ };
6599
+ export declare type GetProductV1MetadataEntitiesQueryQueryVariables = Exact<{
6600
+ metadataSkip?: InputMaybe<Scalars["Int"]>;
6601
+ metadataFirst?: InputMaybe<Scalars["Int"]>;
6602
+ metadataOrderBy?: InputMaybe<ProductV1MetadataEntity_OrderBy>;
6603
+ metadataOrderDirection?: InputMaybe<OrderDirection>;
6604
+ metadataFilter?: InputMaybe<ProductV1MetadataEntity_Filter>;
6605
+ }>;
6606
+ export declare type GetProductV1MetadataEntitiesQueryQuery = {
6607
+ __typename?: "Query";
6608
+ productV1MetadataEntities: Array<{
6609
+ __typename?: "ProductV1MetadataEntity";
6610
+ id: string;
6611
+ name: string;
6612
+ description: string;
6613
+ externalUrl: string;
6614
+ schemaUrl: string;
6615
+ type: MetadataType;
6616
+ image: string;
6617
+ createdAt: string;
6618
+ voided: boolean;
6619
+ validFromDate: string;
6620
+ validUntilDate: string;
6621
+ quantityAvailable: string;
6622
+ uuid: string;
6623
+ attributes?: Array<{
6624
+ __typename?: "MetadataAttribute";
6625
+ traitType: string;
6626
+ value: string;
6627
+ displayType: string;
6628
+ }> | null;
6629
+ offer: {
6630
+ __typename?: "Offer";
6631
+ id: string;
6632
+ createdAt: string;
6633
+ price: string;
6634
+ sellerDeposit: string;
6635
+ protocolFee: string;
6636
+ buyerCancelPenalty: string;
6637
+ quantityAvailable: string;
6638
+ quantityInitial: string;
6639
+ validFromDate: string;
6640
+ validUntilDate: string;
6641
+ voucherRedeemableFromDate: string;
6642
+ voucherRedeemableUntilDate: string;
6643
+ fulfillmentPeriodDuration: string;
6644
+ voucherValidDuration: string;
6645
+ resolutionPeriodDuration: string;
6646
+ metadataUri: string;
6647
+ metadataHash: string;
6648
+ voidedAt?: string | null;
6649
+ disputeResolverId: string;
6650
+ seller: {
6651
+ __typename?: "Seller";
6652
+ id: string;
6653
+ operator: string;
6654
+ admin: string;
6655
+ clerk: string;
6656
+ treasury: string;
6657
+ active: boolean;
6658
+ };
6659
+ exchangeToken: {
6660
+ __typename?: "ExchangeToken";
6661
+ id: string;
6662
+ address: string;
6663
+ decimals: string;
6664
+ symbol: string;
6665
+ name: string;
6666
+ };
6667
+ metadata?: {
6668
+ __typename?: "BaseMetadataEntity";
6669
+ name: string;
6670
+ description: string;
6671
+ externalUrl: string;
6672
+ schemaUrl: string;
6673
+ type: MetadataType;
6674
+ } | {
6675
+ __typename?: "ProductV1MetadataEntity";
6676
+ name: string;
6677
+ description: string;
6678
+ externalUrl: string;
6679
+ schemaUrl: string;
6680
+ type: MetadataType;
6681
+ } | null;
6682
+ };
6683
+ seller: {
6684
+ __typename?: "Seller";
6685
+ id: string;
6686
+ operator: string;
6687
+ admin: string;
6688
+ clerk: string;
6689
+ treasury: string;
6690
+ active: boolean;
6691
+ };
6692
+ exchangeToken: {
6693
+ __typename?: "ExchangeToken";
6694
+ id: string;
6695
+ address: string;
6696
+ decimals: string;
6697
+ symbol: string;
6698
+ name: string;
6699
+ };
6700
+ product: {
6701
+ __typename?: "ProductV1Product";
6702
+ id: string;
6703
+ uuid: string;
6704
+ version: number;
6705
+ title: string;
6706
+ description: string;
6707
+ identification_sKU?: string | null;
6708
+ identification_productId?: string | null;
6709
+ identification_productIdType?: string | null;
6710
+ productionInformation_brandName: string;
6711
+ productionInformation_manufacturer?: string | null;
6712
+ productionInformation_manufacturerPartNumber?: string | null;
6713
+ productionInformation_modelNumber?: string | null;
6714
+ productionInformation_materials?: Array<string> | null;
6715
+ details_category?: string | null;
6716
+ details_subCategory?: string | null;
6717
+ details_subCategory2?: string | null;
6718
+ details_offerCategory: string;
6719
+ offerCategory: ProductV1OfferCategory;
6720
+ details_tags?: Array<string> | null;
6721
+ details_sections?: Array<string> | null;
6722
+ details_personalisation?: Array<string> | null;
6723
+ packaging_packageQuantity?: string | null;
6724
+ packaging_dimensions_length?: string | null;
6725
+ packaging_dimensions_width?: string | null;
6726
+ packaging_dimensions_height?: string | null;
6727
+ packaging_dimensions_unit?: string | null;
6728
+ packaging_weight_value?: string | null;
6729
+ packaging_weight_unit?: string | null;
6730
+ brand: {
6731
+ __typename?: "ProductV1Brand";
6732
+ id: string;
6733
+ name: string;
6734
+ };
6735
+ category?: {
6736
+ __typename?: "ProductV1Category";
6737
+ id: string;
6738
+ name: string;
6739
+ } | null;
6740
+ subCategory?: {
6741
+ __typename?: "ProductV1Category";
6742
+ id: string;
6743
+ name: string;
6744
+ } | null;
6745
+ subCategory2?: {
6746
+ __typename?: "ProductV1Category";
6747
+ id: string;
6748
+ name: string;
6749
+ } | null;
6750
+ tags?: Array<{
6751
+ __typename?: "ProductV1Tag";
6752
+ id: string;
6753
+ name: string;
6754
+ }> | null;
6755
+ sections?: Array<{
6756
+ __typename?: "ProductV1Section";
6757
+ id: string;
6758
+ name: string;
6759
+ }> | null;
6760
+ personalisation?: Array<{
6761
+ __typename?: "ProductV1Personalisation";
6762
+ id: string;
6763
+ name: string;
6764
+ }> | null;
6765
+ visuals_images: Array<{
6766
+ __typename?: "ProductV1Media";
6767
+ id: string;
6768
+ url: string;
6769
+ tag?: string | null;
6770
+ type: ProductV1MediaType;
6771
+ }>;
6772
+ visuals_videos?: Array<{
6773
+ __typename?: "ProductV1Media";
6774
+ id: string;
6775
+ url: string;
6776
+ tag?: string | null;
6777
+ type: ProductV1MediaType;
6778
+ }> | null;
6779
+ };
6780
+ variations?: Array<{
6781
+ __typename?: "ProductV1Variation";
6782
+ id: string;
6783
+ type: string;
6784
+ option: string;
6785
+ }> | null;
6786
+ productV1Seller: {
6787
+ __typename?: "ProductV1Seller";
6788
+ id: string;
6789
+ defaultVersion?: number | null;
6790
+ name?: string | null;
6791
+ description?: string | null;
6792
+ externalUrl?: string | null;
6793
+ tokenId?: string | null;
6794
+ images?: Array<{
6795
+ __typename?: "ProductV1Media";
6796
+ id: string;
6797
+ url: string;
6798
+ tag?: string | null;
6799
+ type: ProductV1MediaType;
6800
+ }> | null;
6801
+ contactLinks?: Array<{
6802
+ __typename?: "ProductV1SellerContactLink";
6803
+ id: string;
6804
+ url: string;
6805
+ tag: string;
6806
+ }> | null;
6807
+ seller: {
6808
+ __typename?: "Seller";
6809
+ id: string;
6810
+ operator: string;
6811
+ admin: string;
6812
+ clerk: string;
6813
+ treasury: string;
6814
+ active: boolean;
6815
+ };
6816
+ };
6817
+ }>;
6818
+ };
6819
+ export declare type ProductV1MetadataEntityFieldsFragment = {
6820
+ __typename?: "ProductV1MetadataEntity";
6821
+ id: string;
6822
+ name: string;
6823
+ description: string;
6824
+ externalUrl: string;
6825
+ schemaUrl: string;
6826
+ type: MetadataType;
6827
+ image: string;
6828
+ createdAt: string;
6829
+ voided: boolean;
6830
+ validFromDate: string;
6831
+ validUntilDate: string;
6832
+ quantityAvailable: string;
6833
+ uuid: string;
6834
+ attributes?: Array<{
6835
+ __typename?: "MetadataAttribute";
6836
+ traitType: string;
6837
+ value: string;
6838
+ displayType: string;
6839
+ }> | null;
6840
+ offer: {
6841
+ __typename?: "Offer";
6842
+ id: string;
6843
+ createdAt: string;
6844
+ price: string;
6845
+ sellerDeposit: string;
6846
+ protocolFee: string;
6847
+ buyerCancelPenalty: string;
6848
+ quantityAvailable: string;
6849
+ quantityInitial: string;
6850
+ validFromDate: string;
6851
+ validUntilDate: string;
6852
+ voucherRedeemableFromDate: string;
6853
+ voucherRedeemableUntilDate: string;
6854
+ fulfillmentPeriodDuration: string;
6855
+ voucherValidDuration: string;
6856
+ resolutionPeriodDuration: string;
6857
+ metadataUri: string;
6858
+ metadataHash: string;
6859
+ voidedAt?: string | null;
6860
+ disputeResolverId: string;
6861
+ seller: {
6862
+ __typename?: "Seller";
6863
+ id: string;
6864
+ operator: string;
6865
+ admin: string;
6866
+ clerk: string;
6867
+ treasury: string;
6868
+ active: boolean;
6869
+ };
6870
+ exchangeToken: {
6871
+ __typename?: "ExchangeToken";
6872
+ id: string;
6873
+ address: string;
6874
+ decimals: string;
6875
+ symbol: string;
6876
+ name: string;
6877
+ };
6878
+ metadata?: {
6879
+ __typename?: "BaseMetadataEntity";
6880
+ name: string;
6881
+ description: string;
6882
+ externalUrl: string;
6883
+ schemaUrl: string;
6884
+ type: MetadataType;
6885
+ } | {
6886
+ __typename?: "ProductV1MetadataEntity";
6887
+ name: string;
6888
+ description: string;
6889
+ externalUrl: string;
6890
+ schemaUrl: string;
6891
+ type: MetadataType;
6892
+ } | null;
6893
+ };
6894
+ seller: {
6895
+ __typename?: "Seller";
6896
+ id: string;
6897
+ operator: string;
6898
+ admin: string;
6899
+ clerk: string;
6900
+ treasury: string;
6901
+ active: boolean;
6902
+ };
6903
+ exchangeToken: {
6904
+ __typename?: "ExchangeToken";
6905
+ id: string;
6906
+ address: string;
6907
+ decimals: string;
6908
+ symbol: string;
6909
+ name: string;
6910
+ };
6911
+ product: {
6912
+ __typename?: "ProductV1Product";
6913
+ id: string;
6914
+ uuid: string;
6915
+ version: number;
6916
+ title: string;
6917
+ description: string;
6918
+ identification_sKU?: string | null;
6919
+ identification_productId?: string | null;
6920
+ identification_productIdType?: string | null;
6921
+ productionInformation_brandName: string;
6922
+ productionInformation_manufacturer?: string | null;
6923
+ productionInformation_manufacturerPartNumber?: string | null;
6924
+ productionInformation_modelNumber?: string | null;
6925
+ productionInformation_materials?: Array<string> | null;
6926
+ details_category?: string | null;
6927
+ details_subCategory?: string | null;
6928
+ details_subCategory2?: string | null;
6929
+ details_offerCategory: string;
6930
+ offerCategory: ProductV1OfferCategory;
6931
+ details_tags?: Array<string> | null;
6932
+ details_sections?: Array<string> | null;
6933
+ details_personalisation?: Array<string> | null;
6934
+ packaging_packageQuantity?: string | null;
6935
+ packaging_dimensions_length?: string | null;
6936
+ packaging_dimensions_width?: string | null;
6937
+ packaging_dimensions_height?: string | null;
6938
+ packaging_dimensions_unit?: string | null;
6939
+ packaging_weight_value?: string | null;
6940
+ packaging_weight_unit?: string | null;
6941
+ brand: {
6942
+ __typename?: "ProductV1Brand";
6943
+ id: string;
6944
+ name: string;
6945
+ };
6946
+ category?: {
6947
+ __typename?: "ProductV1Category";
6948
+ id: string;
6949
+ name: string;
6950
+ } | null;
6951
+ subCategory?: {
6952
+ __typename?: "ProductV1Category";
6953
+ id: string;
6954
+ name: string;
6955
+ } | null;
6956
+ subCategory2?: {
6957
+ __typename?: "ProductV1Category";
6958
+ id: string;
6959
+ name: string;
6960
+ } | null;
6961
+ tags?: Array<{
6962
+ __typename?: "ProductV1Tag";
6963
+ id: string;
6964
+ name: string;
6965
+ }> | null;
6966
+ sections?: Array<{
6967
+ __typename?: "ProductV1Section";
6968
+ id: string;
6969
+ name: string;
6970
+ }> | null;
6971
+ personalisation?: Array<{
6972
+ __typename?: "ProductV1Personalisation";
6973
+ id: string;
6974
+ name: string;
6975
+ }> | null;
6976
+ visuals_images: Array<{
6977
+ __typename?: "ProductV1Media";
6978
+ id: string;
6979
+ url: string;
6980
+ tag?: string | null;
6981
+ type: ProductV1MediaType;
6982
+ }>;
6983
+ visuals_videos?: Array<{
6984
+ __typename?: "ProductV1Media";
6985
+ id: string;
6986
+ url: string;
6987
+ tag?: string | null;
6988
+ type: ProductV1MediaType;
6989
+ }> | null;
6990
+ };
6991
+ variations?: Array<{
6992
+ __typename?: "ProductV1Variation";
6993
+ id: string;
6994
+ type: string;
6995
+ option: string;
6996
+ }> | null;
6997
+ productV1Seller: {
6998
+ __typename?: "ProductV1Seller";
6999
+ id: string;
7000
+ defaultVersion?: number | null;
7001
+ name?: string | null;
7002
+ description?: string | null;
7003
+ externalUrl?: string | null;
7004
+ tokenId?: string | null;
7005
+ images?: Array<{
7006
+ __typename?: "ProductV1Media";
7007
+ id: string;
7008
+ url: string;
7009
+ tag?: string | null;
7010
+ type: ProductV1MediaType;
7011
+ }> | null;
7012
+ contactLinks?: Array<{
7013
+ __typename?: "ProductV1SellerContactLink";
7014
+ id: string;
7015
+ url: string;
7016
+ tag: string;
7017
+ }> | null;
7018
+ seller: {
7019
+ __typename?: "Seller";
7020
+ id: string;
7021
+ operator: string;
7022
+ admin: string;
7023
+ clerk: string;
7024
+ treasury: string;
7025
+ active: boolean;
7026
+ };
7027
+ };
5667
7028
  };
5668
- export declare type FundsEntityFieldsFragment = {
5669
- __typename?: "FundsEntity";
7029
+ export declare type BaseProductV1MetadataEntityFieldsFragment = {
7030
+ __typename?: "ProductV1MetadataEntity";
5670
7031
  id: string;
5671
- availableAmount: string;
5672
- accountId: string;
5673
- token: {
7032
+ name: string;
7033
+ description: string;
7034
+ externalUrl: string;
7035
+ schemaUrl: string;
7036
+ type: MetadataType;
7037
+ image: string;
7038
+ createdAt: string;
7039
+ voided: boolean;
7040
+ validFromDate: string;
7041
+ validUntilDate: string;
7042
+ quantityAvailable: string;
7043
+ uuid: string;
7044
+ attributes?: Array<{
7045
+ __typename?: "MetadataAttribute";
7046
+ traitType: string;
7047
+ value: string;
7048
+ displayType: string;
7049
+ }> | null;
7050
+ offer: {
7051
+ __typename?: "Offer";
7052
+ id: string;
7053
+ createdAt: string;
7054
+ price: string;
7055
+ sellerDeposit: string;
7056
+ protocolFee: string;
7057
+ buyerCancelPenalty: string;
7058
+ quantityAvailable: string;
7059
+ quantityInitial: string;
7060
+ validFromDate: string;
7061
+ validUntilDate: string;
7062
+ voucherRedeemableFromDate: string;
7063
+ voucherRedeemableUntilDate: string;
7064
+ fulfillmentPeriodDuration: string;
7065
+ voucherValidDuration: string;
7066
+ resolutionPeriodDuration: string;
7067
+ metadataUri: string;
7068
+ metadataHash: string;
7069
+ voidedAt?: string | null;
7070
+ disputeResolverId: string;
7071
+ seller: {
7072
+ __typename?: "Seller";
7073
+ id: string;
7074
+ operator: string;
7075
+ admin: string;
7076
+ clerk: string;
7077
+ treasury: string;
7078
+ active: boolean;
7079
+ };
7080
+ exchangeToken: {
7081
+ __typename?: "ExchangeToken";
7082
+ id: string;
7083
+ address: string;
7084
+ decimals: string;
7085
+ symbol: string;
7086
+ name: string;
7087
+ };
7088
+ metadata?: {
7089
+ __typename?: "BaseMetadataEntity";
7090
+ name: string;
7091
+ description: string;
7092
+ externalUrl: string;
7093
+ schemaUrl: string;
7094
+ type: MetadataType;
7095
+ } | {
7096
+ __typename?: "ProductV1MetadataEntity";
7097
+ name: string;
7098
+ description: string;
7099
+ externalUrl: string;
7100
+ schemaUrl: string;
7101
+ type: MetadataType;
7102
+ } | null;
7103
+ };
7104
+ seller: {
7105
+ __typename?: "Seller";
7106
+ id: string;
7107
+ operator: string;
7108
+ admin: string;
7109
+ clerk: string;
7110
+ treasury: string;
7111
+ active: boolean;
7112
+ };
7113
+ exchangeToken: {
5674
7114
  __typename?: "ExchangeToken";
7115
+ id: string;
5675
7116
  address: string;
5676
- name: string;
5677
- symbol: string;
5678
7117
  decimals: string;
7118
+ symbol: string;
7119
+ name: string;
7120
+ };
7121
+ product: {
7122
+ __typename?: "ProductV1Product";
7123
+ id: string;
7124
+ uuid: string;
7125
+ version: number;
7126
+ title: string;
7127
+ description: string;
7128
+ identification_sKU?: string | null;
7129
+ identification_productId?: string | null;
7130
+ identification_productIdType?: string | null;
7131
+ productionInformation_brandName: string;
7132
+ productionInformation_manufacturer?: string | null;
7133
+ productionInformation_manufacturerPartNumber?: string | null;
7134
+ productionInformation_modelNumber?: string | null;
7135
+ productionInformation_materials?: Array<string> | null;
7136
+ details_category?: string | null;
7137
+ details_subCategory?: string | null;
7138
+ details_subCategory2?: string | null;
7139
+ details_offerCategory: string;
7140
+ offerCategory: ProductV1OfferCategory;
7141
+ details_tags?: Array<string> | null;
7142
+ details_sections?: Array<string> | null;
7143
+ details_personalisation?: Array<string> | null;
7144
+ packaging_packageQuantity?: string | null;
7145
+ packaging_dimensions_length?: string | null;
7146
+ packaging_dimensions_width?: string | null;
7147
+ packaging_dimensions_height?: string | null;
7148
+ packaging_dimensions_unit?: string | null;
7149
+ packaging_weight_value?: string | null;
7150
+ packaging_weight_unit?: string | null;
7151
+ brand: {
7152
+ __typename?: "ProductV1Brand";
7153
+ id: string;
7154
+ name: string;
7155
+ };
7156
+ category?: {
7157
+ __typename?: "ProductV1Category";
7158
+ id: string;
7159
+ name: string;
7160
+ } | null;
7161
+ subCategory?: {
7162
+ __typename?: "ProductV1Category";
7163
+ id: string;
7164
+ name: string;
7165
+ } | null;
7166
+ subCategory2?: {
7167
+ __typename?: "ProductV1Category";
7168
+ id: string;
7169
+ name: string;
7170
+ } | null;
7171
+ tags?: Array<{
7172
+ __typename?: "ProductV1Tag";
7173
+ id: string;
7174
+ name: string;
7175
+ }> | null;
7176
+ sections?: Array<{
7177
+ __typename?: "ProductV1Section";
7178
+ id: string;
7179
+ name: string;
7180
+ }> | null;
7181
+ personalisation?: Array<{
7182
+ __typename?: "ProductV1Personalisation";
7183
+ id: string;
7184
+ name: string;
7185
+ }> | null;
7186
+ visuals_images: Array<{
7187
+ __typename?: "ProductV1Media";
7188
+ id: string;
7189
+ url: string;
7190
+ tag?: string | null;
7191
+ type: ProductV1MediaType;
7192
+ }>;
7193
+ visuals_videos?: Array<{
7194
+ __typename?: "ProductV1Media";
7195
+ id: string;
7196
+ url: string;
7197
+ tag?: string | null;
7198
+ type: ProductV1MediaType;
7199
+ }> | null;
7200
+ };
7201
+ variations?: Array<{
7202
+ __typename?: "ProductV1Variation";
7203
+ id: string;
7204
+ type: string;
7205
+ option: string;
7206
+ }> | null;
7207
+ productV1Seller: {
7208
+ __typename?: "ProductV1Seller";
7209
+ id: string;
7210
+ defaultVersion?: number | null;
7211
+ name?: string | null;
7212
+ description?: string | null;
7213
+ externalUrl?: string | null;
7214
+ tokenId?: string | null;
7215
+ images?: Array<{
7216
+ __typename?: "ProductV1Media";
7217
+ id: string;
7218
+ url: string;
7219
+ tag?: string | null;
7220
+ type: ProductV1MediaType;
7221
+ }> | null;
7222
+ contactLinks?: Array<{
7223
+ __typename?: "ProductV1SellerContactLink";
7224
+ id: string;
7225
+ url: string;
7226
+ tag: string;
7227
+ }> | null;
7228
+ seller: {
7229
+ __typename?: "Seller";
7230
+ id: string;
7231
+ operator: string;
7232
+ admin: string;
7233
+ clerk: string;
7234
+ treasury: string;
7235
+ active: boolean;
7236
+ };
7237
+ };
7238
+ };
7239
+ export declare type BaseProductV1ProductFieldsFragment = {
7240
+ __typename?: "ProductV1Product";
7241
+ id: string;
7242
+ uuid: string;
7243
+ version: number;
7244
+ title: string;
7245
+ description: string;
7246
+ identification_sKU?: string | null;
7247
+ identification_productId?: string | null;
7248
+ identification_productIdType?: string | null;
7249
+ productionInformation_brandName: string;
7250
+ productionInformation_manufacturer?: string | null;
7251
+ productionInformation_manufacturerPartNumber?: string | null;
7252
+ productionInformation_modelNumber?: string | null;
7253
+ productionInformation_materials?: Array<string> | null;
7254
+ details_category?: string | null;
7255
+ details_subCategory?: string | null;
7256
+ details_subCategory2?: string | null;
7257
+ details_offerCategory: string;
7258
+ offerCategory: ProductV1OfferCategory;
7259
+ details_tags?: Array<string> | null;
7260
+ details_sections?: Array<string> | null;
7261
+ details_personalisation?: Array<string> | null;
7262
+ packaging_packageQuantity?: string | null;
7263
+ packaging_dimensions_length?: string | null;
7264
+ packaging_dimensions_width?: string | null;
7265
+ packaging_dimensions_height?: string | null;
7266
+ packaging_dimensions_unit?: string | null;
7267
+ packaging_weight_value?: string | null;
7268
+ packaging_weight_unit?: string | null;
7269
+ brand: {
7270
+ __typename?: "ProductV1Brand";
7271
+ id: string;
7272
+ name: string;
7273
+ };
7274
+ category?: {
7275
+ __typename?: "ProductV1Category";
7276
+ id: string;
7277
+ name: string;
7278
+ } | null;
7279
+ subCategory?: {
7280
+ __typename?: "ProductV1Category";
7281
+ id: string;
7282
+ name: string;
7283
+ } | null;
7284
+ subCategory2?: {
7285
+ __typename?: "ProductV1Category";
7286
+ id: string;
7287
+ name: string;
7288
+ } | null;
7289
+ tags?: Array<{
7290
+ __typename?: "ProductV1Tag";
7291
+ id: string;
7292
+ name: string;
7293
+ }> | null;
7294
+ sections?: Array<{
7295
+ __typename?: "ProductV1Section";
7296
+ id: string;
7297
+ name: string;
7298
+ }> | null;
7299
+ personalisation?: Array<{
7300
+ __typename?: "ProductV1Personalisation";
7301
+ id: string;
7302
+ name: string;
7303
+ }> | null;
7304
+ visuals_images: Array<{
7305
+ __typename?: "ProductV1Media";
7306
+ id: string;
7307
+ url: string;
7308
+ tag?: string | null;
7309
+ type: ProductV1MediaType;
7310
+ }>;
7311
+ visuals_videos?: Array<{
7312
+ __typename?: "ProductV1Media";
7313
+ id: string;
7314
+ url: string;
7315
+ tag?: string | null;
7316
+ type: ProductV1MediaType;
7317
+ }> | null;
7318
+ };
7319
+ export declare type BaseProductV1BrandFieldsFragment = {
7320
+ __typename?: "ProductV1Brand";
7321
+ id: string;
7322
+ name: string;
7323
+ };
7324
+ export declare type BaseProductV1CategoryFieldsFragment = {
7325
+ __typename?: "ProductV1Category";
7326
+ id: string;
7327
+ name: string;
7328
+ };
7329
+ export declare type BaseProductV1TagFieldsFragment = {
7330
+ __typename?: "ProductV1Tag";
7331
+ id: string;
7332
+ name: string;
7333
+ };
7334
+ export declare type BaseProductV1SectionFieldsFragment = {
7335
+ __typename?: "ProductV1Section";
7336
+ id: string;
7337
+ name: string;
7338
+ };
7339
+ export declare type BaseProductV1MediaFieldsFragment = {
7340
+ __typename?: "ProductV1Media";
7341
+ id: string;
7342
+ url: string;
7343
+ tag?: string | null;
7344
+ type: ProductV1MediaType;
7345
+ };
7346
+ export declare type BaseProductV1PersonalisationFieldsFragment = {
7347
+ __typename?: "ProductV1Personalisation";
7348
+ id: string;
7349
+ name: string;
7350
+ };
7351
+ export declare type BaseProductV1VariationFieldsFragment = {
7352
+ __typename?: "ProductV1Variation";
7353
+ id: string;
7354
+ type: string;
7355
+ option: string;
7356
+ };
7357
+ export declare type BaseProductV1SellerFieldsFragment = {
7358
+ __typename?: "ProductV1Seller";
7359
+ id: string;
7360
+ defaultVersion?: number | null;
7361
+ name?: string | null;
7362
+ description?: string | null;
7363
+ externalUrl?: string | null;
7364
+ tokenId?: string | null;
7365
+ images?: Array<{
7366
+ __typename?: "ProductV1Media";
7367
+ id: string;
7368
+ url: string;
7369
+ tag?: string | null;
7370
+ type: ProductV1MediaType;
7371
+ }> | null;
7372
+ contactLinks?: Array<{
7373
+ __typename?: "ProductV1SellerContactLink";
7374
+ id: string;
7375
+ url: string;
7376
+ tag: string;
7377
+ }> | null;
7378
+ seller: {
7379
+ __typename?: "Seller";
7380
+ id: string;
7381
+ operator: string;
7382
+ admin: string;
7383
+ clerk: string;
7384
+ treasury: string;
7385
+ active: boolean;
7386
+ };
7387
+ };
7388
+ export declare type BaseProductV1SellerContactLinkFieldsFragment = {
7389
+ __typename?: "ProductV1SellerContactLink";
7390
+ id: string;
7391
+ url: string;
7392
+ tag: string;
7393
+ };
7394
+ export declare type BaseProductV1ShippingOptionFieldsFragment = {
7395
+ __typename?: "ProductV1ShippingOption";
7396
+ id: string;
7397
+ defaultVersion?: number | null;
7398
+ countryOfOrigin?: string | null;
7399
+ redemptionPoint?: string | null;
7400
+ supportedJurisdictions?: Array<{
7401
+ __typename?: "ProductV1ShippingJurisdiction";
7402
+ id: string;
7403
+ label: string;
7404
+ deliveryTime: string;
7405
+ }> | null;
7406
+ };
7407
+ export declare type BaseProductV1ShippingJurisdictionFieldsFragment = {
7408
+ __typename?: "ProductV1ShippingJurisdiction";
7409
+ id: string;
7410
+ label: string;
7411
+ deliveryTime: string;
7412
+ };
7413
+ export declare type BaseProductV1ExchangePolicyFieldsFragment = {
7414
+ __typename?: "ProductV1ExchangePolicy";
7415
+ id: string;
7416
+ uuid: string;
7417
+ version: number;
7418
+ label?: string | null;
7419
+ template: string;
7420
+ };
7421
+ export declare type BaseProductV1ProductOverridesFieldsFragment = {
7422
+ __typename?: "ProductV1ProductOverrides";
7423
+ id: string;
7424
+ version: number;
7425
+ title: string;
7426
+ description: string;
7427
+ identification_sKU?: string | null;
7428
+ identification_productId?: string | null;
7429
+ identification_productIdType?: string | null;
7430
+ productionInformation_brandName: string;
7431
+ productionInformation_manufacturer?: string | null;
7432
+ productionInformation_manufacturerPartNumber?: string | null;
7433
+ productionInformation_modelNumber?: string | null;
7434
+ productionInformation_materials?: Array<string> | null;
7435
+ packaging_packageQuantity?: string | null;
7436
+ packaging_dimensions_length?: string | null;
7437
+ packaging_dimensions_width?: string | null;
7438
+ packaging_dimensions_height?: string | null;
7439
+ packaging_dimensions_unit?: string | null;
7440
+ packaging_weight_value?: string | null;
7441
+ packaging_weight_unit?: string | null;
7442
+ brand: {
7443
+ __typename?: "ProductV1Brand";
7444
+ id: string;
7445
+ name: string;
5679
7446
  };
7447
+ visuals_images: Array<{
7448
+ __typename?: "ProductV1Media";
7449
+ id: string;
7450
+ url: string;
7451
+ tag?: string | null;
7452
+ type: ProductV1MediaType;
7453
+ }>;
7454
+ visuals_videos?: Array<{
7455
+ __typename?: "ProductV1Media";
7456
+ id: string;
7457
+ url: string;
7458
+ tag?: string | null;
7459
+ type: ProductV1MediaType;
7460
+ }> | null;
5680
7461
  };
5681
7462
  export declare type GetOfferByIdQueryQueryVariables = Exact<{
5682
7463
  offerId: Scalars["ID"];
@@ -5735,10 +7516,11 @@ export declare type GetOfferByIdQueryQuery = {
5735
7516
  };
5736
7517
  exchangeToken: {
5737
7518
  __typename?: "ExchangeToken";
7519
+ id: string;
5738
7520
  address: string;
5739
7521
  decimals: string;
5740
- name: string;
5741
7522
  symbol: string;
7523
+ name: string;
5742
7524
  };
5743
7525
  metadata?: {
5744
7526
  __typename?: "BaseMetadataEntity";
@@ -5818,10 +7600,11 @@ export declare type GetOffersQueryQuery = {
5818
7600
  };
5819
7601
  exchangeToken: {
5820
7602
  __typename?: "ExchangeToken";
7603
+ id: string;
5821
7604
  address: string;
5822
7605
  decimals: string;
5823
- name: string;
5824
7606
  symbol: string;
7607
+ name: string;
5825
7608
  };
5826
7609
  metadata?: {
5827
7610
  __typename?: "BaseMetadataEntity";
@@ -5886,10 +7669,11 @@ export declare type OfferFieldsFragment = {
5886
7669
  };
5887
7670
  exchangeToken: {
5888
7671
  __typename?: "ExchangeToken";
7672
+ id: string;
5889
7673
  address: string;
5890
7674
  decimals: string;
5891
- name: string;
5892
7675
  symbol: string;
7676
+ name: string;
5893
7677
  };
5894
7678
  metadata?: {
5895
7679
  __typename?: "BaseMetadataEntity";
@@ -5939,10 +7723,11 @@ export declare type BaseOfferFieldsFragment = {
5939
7723
  };
5940
7724
  exchangeToken: {
5941
7725
  __typename?: "ExchangeToken";
7726
+ id: string;
5942
7727
  address: string;
5943
7728
  decimals: string;
5944
- name: string;
5945
7729
  symbol: string;
7730
+ name: string;
5946
7731
  };
5947
7732
  metadata?: {
5948
7733
  __typename?: "BaseMetadataEntity";
@@ -5961,22 +7746,51 @@ export declare type BaseOfferFieldsFragment = {
5961
7746
  } | null;
5962
7747
  };
5963
7748
  export declare const BaseSellerFieldsFragmentDoc: string;
7749
+ export declare const BaseFundsEntityFieldsFragmentDoc: string;
7750
+ export declare const BaseExchangeTokenFieldsFragmentDoc: string;
5964
7751
  export declare const FundsEntityFieldsFragmentDoc: string;
5965
7752
  export declare const BaseOfferFieldsFragmentDoc: string;
5966
7753
  export declare const BaseExchangeFieldsFragmentDoc: string;
5967
7754
  export declare const SellerFieldsFragmentDoc: string;
5968
7755
  export declare const BaseBuyerFieldsFragmentDoc: string;
5969
7756
  export declare const BuyerFieldsFragmentDoc: string;
7757
+ export declare const ExchangeTokenFieldsFragmentDoc: string;
5970
7758
  export declare const ExchangeFieldsFragmentDoc: string;
7759
+ export declare const BaseBaseMetadataEntityFieldsFragmentDoc: string;
7760
+ export declare const BaseMetadataEntityFieldsFragmentDoc: string;
7761
+ export declare const BaseProductV1BrandFieldsFragmentDoc: string;
7762
+ export declare const BaseProductV1CategoryFieldsFragmentDoc: string;
7763
+ export declare const BaseProductV1TagFieldsFragmentDoc: string;
7764
+ export declare const BaseProductV1SectionFieldsFragmentDoc: string;
7765
+ export declare const BaseProductV1PersonalisationFieldsFragmentDoc: string;
7766
+ export declare const BaseProductV1MediaFieldsFragmentDoc: string;
7767
+ export declare const BaseProductV1ProductFieldsFragmentDoc: string;
7768
+ export declare const BaseProductV1VariationFieldsFragmentDoc: string;
7769
+ export declare const BaseProductV1SellerContactLinkFieldsFragmentDoc: string;
7770
+ export declare const BaseProductV1SellerFieldsFragmentDoc: string;
7771
+ export declare const BaseProductV1MetadataEntityFieldsFragmentDoc: string;
7772
+ export declare const ProductV1MetadataEntityFieldsFragmentDoc: string;
7773
+ export declare const BaseProductV1ShippingJurisdictionFieldsFragmentDoc: string;
7774
+ export declare const BaseProductV1ShippingOptionFieldsFragmentDoc: string;
7775
+ export declare const BaseProductV1ExchangePolicyFieldsFragmentDoc: string;
7776
+ export declare const BaseProductV1ProductOverridesFieldsFragmentDoc: string;
5971
7777
  export declare const OfferFieldsFragmentDoc: string;
5972
7778
  export declare const GetSellerByIdQueryDocument: string;
5973
7779
  export declare const GetSellersQueryDocument: string;
5974
7780
  export declare const GetBuyerByIdQueryDocument: string;
5975
7781
  export declare const GetBuyersQueryDocument: string;
7782
+ export declare const GetExchangeTokenByIdQueryDocument: string;
7783
+ export declare const GetExchangeTokensQueryDocument: string;
5976
7784
  export declare const GetExchangeByIdQueryDocument: string;
5977
7785
  export declare const GetExchangesQueryDocument: string;
5978
7786
  export declare const GetFundsByIdDocument: string;
5979
7787
  export declare const GetFundsDocument: string;
7788
+ export declare const GetBaseMetadataEntityByIdQueryDocument: string;
7789
+ export declare const GetBaseMetadataEntitiesQueryDocument: string;
7790
+ export declare const GetProductV1BrandsQueryDocument: string;
7791
+ export declare const GetProductV1CategoriesQueryDocument: string;
7792
+ export declare const GetProductV1MetadataEntityByIdQueryDocument: string;
7793
+ export declare const GetProductV1MetadataEntitiesQueryDocument: string;
5980
7794
  export declare const GetOfferByIdQueryDocument: string;
5981
7795
  export declare const GetOffersQueryDocument: string;
5982
7796
  export declare type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string) => Promise<T>;
@@ -5985,10 +7799,18 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
5985
7799
  getSellersQuery(variables?: GetSellersQueryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetSellersQueryQuery>;
5986
7800
  getBuyerByIdQuery(variables: GetBuyerByIdQueryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetBuyerByIdQueryQuery>;
5987
7801
  getBuyersQuery(variables?: GetBuyersQueryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetBuyersQueryQuery>;
7802
+ getExchangeTokenByIdQuery(variables: GetExchangeTokenByIdQueryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetExchangeTokenByIdQueryQuery>;
7803
+ getExchangeTokensQuery(variables?: GetExchangeTokensQueryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetExchangeTokensQueryQuery>;
5988
7804
  getExchangeByIdQuery(variables: GetExchangeByIdQueryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetExchangeByIdQueryQuery>;
5989
7805
  getExchangesQuery(variables?: GetExchangesQueryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetExchangesQueryQuery>;
5990
7806
  getFundsById(variables: GetFundsByIdQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetFundsByIdQuery>;
5991
7807
  getFunds(variables?: GetFundsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetFundsQuery>;
7808
+ getBaseMetadataEntityByIdQuery(variables: GetBaseMetadataEntityByIdQueryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetBaseMetadataEntityByIdQueryQuery>;
7809
+ getBaseMetadataEntitiesQuery(variables?: GetBaseMetadataEntitiesQueryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetBaseMetadataEntitiesQueryQuery>;
7810
+ getProductV1BrandsQuery(variables?: GetProductV1BrandsQueryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetProductV1BrandsQueryQuery>;
7811
+ getProductV1CategoriesQuery(variables?: GetProductV1CategoriesQueryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetProductV1CategoriesQueryQuery>;
7812
+ getProductV1MetadataEntityByIdQuery(variables: GetProductV1MetadataEntityByIdQueryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetProductV1MetadataEntityByIdQueryQuery>;
7813
+ getProductV1MetadataEntitiesQuery(variables?: GetProductV1MetadataEntitiesQueryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetProductV1MetadataEntitiesQueryQuery>;
5992
7814
  getOfferByIdQuery(variables: GetOfferByIdQueryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetOfferByIdQueryQuery>;
5993
7815
  getOffersQuery(variables?: GetOffersQueryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetOffersQueryQuery>;
5994
7816
  };