@bosonprotocol/core-sdk 1.6.0-alpha.8 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/accounts/subgraph.d.ts +9 -5
- package/dist/cjs/accounts/subgraph.d.ts.map +1 -1
- package/dist/cjs/accounts/subgraph.js +26 -22
- package/dist/cjs/accounts/subgraph.js.map +1 -1
- package/dist/cjs/core-sdk.d.ts +14 -11
- package/dist/cjs/core-sdk.d.ts.map +1 -1
- package/dist/cjs/core-sdk.js +61 -19
- package/dist/cjs/core-sdk.js.map +1 -1
- package/dist/cjs/exchanges/handler.d.ts +18 -0
- package/dist/cjs/exchanges/handler.d.ts.map +1 -1
- package/dist/cjs/exchanges/handler.js +82 -6
- package/dist/cjs/exchanges/handler.js.map +1 -1
- package/dist/cjs/exchanges/interface.d.ts +5 -0
- package/dist/cjs/exchanges/interface.d.ts.map +1 -1
- package/dist/cjs/exchanges/interface.js +31 -1
- package/dist/cjs/exchanges/interface.js.map +1 -1
- package/dist/cjs/exchanges/subgraph.d.ts +4 -4
- package/dist/cjs/exchanges/subgraph.d.ts.map +1 -1
- package/dist/cjs/exchanges/subgraph.js +9 -11
- package/dist/cjs/exchanges/subgraph.js.map +1 -1
- package/dist/cjs/funds/subgraph.d.ts +4 -2
- package/dist/cjs/funds/subgraph.d.ts.map +1 -1
- package/dist/cjs/funds/subgraph.js +13 -7
- package/dist/cjs/funds/subgraph.js.map +1 -1
- package/dist/cjs/offers/interface.d.ts.map +1 -1
- package/dist/cjs/offers/interface.js +11 -4
- package/dist/cjs/offers/interface.js.map +1 -1
- package/dist/cjs/offers/subgraph.d.ts +4 -4
- package/dist/cjs/offers/subgraph.d.ts.map +1 -1
- package/dist/cjs/offers/subgraph.js +7 -12
- package/dist/cjs/offers/subgraph.js.map +1 -1
- package/dist/cjs/subgraph.d.ts +531 -121
- package/dist/cjs/subgraph.d.ts.map +1 -1
- package/dist/cjs/subgraph.js +229 -101
- package/dist/cjs/subgraph.js.map +1 -1
- package/dist/cjs/utils/graphql.d.ts +82 -29
- package/dist/cjs/utils/graphql.d.ts.map +1 -1
- package/dist/esm/accounts/subgraph.d.ts +9 -5
- package/dist/esm/accounts/subgraph.d.ts.map +1 -1
- package/dist/esm/accounts/subgraph.js +37 -18
- package/dist/esm/accounts/subgraph.js.map +1 -1
- package/dist/esm/core-sdk.d.ts +14 -11
- package/dist/esm/core-sdk.d.ts.map +1 -1
- package/dist/esm/core-sdk.js +49 -19
- package/dist/esm/core-sdk.js.map +1 -1
- package/dist/esm/exchanges/handler.d.ts +18 -0
- package/dist/esm/exchanges/handler.d.ts.map +1 -1
- package/dist/esm/exchanges/handler.js +73 -6
- package/dist/esm/exchanges/handler.js.map +1 -1
- package/dist/esm/exchanges/interface.d.ts +5 -0
- package/dist/esm/exchanges/interface.d.ts.map +1 -1
- package/dist/esm/exchanges/interface.js +25 -0
- package/dist/esm/exchanges/interface.js.map +1 -1
- package/dist/esm/exchanges/subgraph.d.ts +4 -4
- package/dist/esm/exchanges/subgraph.d.ts.map +1 -1
- package/dist/esm/exchanges/subgraph.js +8 -10
- package/dist/esm/exchanges/subgraph.js.map +1 -1
- package/dist/esm/funds/subgraph.d.ts +4 -2
- package/dist/esm/funds/subgraph.d.ts.map +1 -1
- package/dist/esm/funds/subgraph.js +11 -5
- package/dist/esm/funds/subgraph.js.map +1 -1
- package/dist/esm/offers/interface.d.ts.map +1 -1
- package/dist/esm/offers/interface.js +11 -4
- package/dist/esm/offers/interface.js.map +1 -1
- package/dist/esm/offers/subgraph.d.ts +4 -4
- package/dist/esm/offers/subgraph.d.ts.map +1 -1
- package/dist/esm/offers/subgraph.js +7 -10
- package/dist/esm/offers/subgraph.js.map +1 -1
- package/dist/esm/subgraph.d.ts +531 -121
- package/dist/esm/subgraph.d.ts.map +1 -1
- package/dist/esm/subgraph.js +234 -100
- package/dist/esm/subgraph.js.map +1 -1
- package/dist/esm/utils/graphql.d.ts +82 -29
- package/dist/esm/utils/graphql.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/accounts/queries.graphql +89 -17
- package/src/accounts/subgraph.ts +58 -23
- package/src/core-sdk.ts +82 -35
- package/src/exchanges/handler.ts +123 -6
- package/src/exchanges/interface.ts +28 -0
- package/src/exchanges/queries.graphql +23 -23
- package/src/exchanges/subgraph.ts +21 -20
- package/src/funds/queries.graphql +20 -2
- package/src/funds/subgraph.ts +27 -8
- package/src/offers/interface.ts +16 -6
- package/src/offers/queries.graphql +43 -22
- package/src/offers/subgraph.ts +18 -20
- package/src/subgraph.ts +807 -262
package/src/subgraph.ts
CHANGED
|
@@ -394,16 +394,19 @@ export enum DisputeResolver_OrderBy {
|
|
|
394
394
|
export type Exchange = {
|
|
395
395
|
__typename?: "Exchange";
|
|
396
396
|
buyer: Buyer;
|
|
397
|
+
cancelledDate?: Maybe<Scalars["BigInt"]>;
|
|
397
398
|
committedDate: Scalars["BigInt"];
|
|
399
|
+
completedDate?: Maybe<Scalars["BigInt"]>;
|
|
398
400
|
disputed: Scalars["Boolean"];
|
|
399
401
|
expired: Scalars["Boolean"];
|
|
400
402
|
finalizedDate?: Maybe<Scalars["BigInt"]>;
|
|
401
403
|
id: Scalars["ID"];
|
|
402
404
|
offer: Offer;
|
|
403
405
|
redeemedDate?: Maybe<Scalars["BigInt"]>;
|
|
406
|
+
revokedDate?: Maybe<Scalars["BigInt"]>;
|
|
404
407
|
seller: Seller;
|
|
405
408
|
state: ExchangeState;
|
|
406
|
-
validUntilDate
|
|
409
|
+
validUntilDate: Scalars["BigInt"];
|
|
407
410
|
};
|
|
408
411
|
|
|
409
412
|
/**
|
|
@@ -553,6 +556,14 @@ export type Exchange_Filter = {
|
|
|
553
556
|
buyer_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
|
|
554
557
|
buyer_starts_with?: InputMaybe<Scalars["String"]>;
|
|
555
558
|
buyer_starts_with_nocase?: InputMaybe<Scalars["String"]>;
|
|
559
|
+
cancelledDate?: InputMaybe<Scalars["BigInt"]>;
|
|
560
|
+
cancelledDate_gt?: InputMaybe<Scalars["BigInt"]>;
|
|
561
|
+
cancelledDate_gte?: InputMaybe<Scalars["BigInt"]>;
|
|
562
|
+
cancelledDate_in?: InputMaybe<Array<Scalars["BigInt"]>>;
|
|
563
|
+
cancelledDate_lt?: InputMaybe<Scalars["BigInt"]>;
|
|
564
|
+
cancelledDate_lte?: InputMaybe<Scalars["BigInt"]>;
|
|
565
|
+
cancelledDate_not?: InputMaybe<Scalars["BigInt"]>;
|
|
566
|
+
cancelledDate_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
|
|
556
567
|
committedDate?: InputMaybe<Scalars["BigInt"]>;
|
|
557
568
|
committedDate_gt?: InputMaybe<Scalars["BigInt"]>;
|
|
558
569
|
committedDate_gte?: InputMaybe<Scalars["BigInt"]>;
|
|
@@ -561,6 +572,14 @@ export type Exchange_Filter = {
|
|
|
561
572
|
committedDate_lte?: InputMaybe<Scalars["BigInt"]>;
|
|
562
573
|
committedDate_not?: InputMaybe<Scalars["BigInt"]>;
|
|
563
574
|
committedDate_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
|
|
575
|
+
completedDate?: InputMaybe<Scalars["BigInt"]>;
|
|
576
|
+
completedDate_gt?: InputMaybe<Scalars["BigInt"]>;
|
|
577
|
+
completedDate_gte?: InputMaybe<Scalars["BigInt"]>;
|
|
578
|
+
completedDate_in?: InputMaybe<Array<Scalars["BigInt"]>>;
|
|
579
|
+
completedDate_lt?: InputMaybe<Scalars["BigInt"]>;
|
|
580
|
+
completedDate_lte?: InputMaybe<Scalars["BigInt"]>;
|
|
581
|
+
completedDate_not?: InputMaybe<Scalars["BigInt"]>;
|
|
582
|
+
completedDate_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
|
|
564
583
|
disputed?: InputMaybe<Scalars["Boolean"]>;
|
|
565
584
|
disputed_in?: InputMaybe<Array<Scalars["Boolean"]>>;
|
|
566
585
|
disputed_not?: InputMaybe<Scalars["Boolean"]>;
|
|
@@ -613,6 +632,14 @@ export type Exchange_Filter = {
|
|
|
613
632
|
redeemedDate_lte?: InputMaybe<Scalars["BigInt"]>;
|
|
614
633
|
redeemedDate_not?: InputMaybe<Scalars["BigInt"]>;
|
|
615
634
|
redeemedDate_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
|
|
635
|
+
revokedDate?: InputMaybe<Scalars["BigInt"]>;
|
|
636
|
+
revokedDate_gt?: InputMaybe<Scalars["BigInt"]>;
|
|
637
|
+
revokedDate_gte?: InputMaybe<Scalars["BigInt"]>;
|
|
638
|
+
revokedDate_in?: InputMaybe<Array<Scalars["BigInt"]>>;
|
|
639
|
+
revokedDate_lt?: InputMaybe<Scalars["BigInt"]>;
|
|
640
|
+
revokedDate_lte?: InputMaybe<Scalars["BigInt"]>;
|
|
641
|
+
revokedDate_not?: InputMaybe<Scalars["BigInt"]>;
|
|
642
|
+
revokedDate_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
|
|
616
643
|
seller?: InputMaybe<Scalars["String"]>;
|
|
617
644
|
seller_contains?: InputMaybe<Scalars["String"]>;
|
|
618
645
|
seller_contains_nocase?: InputMaybe<Scalars["String"]>;
|
|
@@ -649,13 +676,16 @@ export type Exchange_Filter = {
|
|
|
649
676
|
|
|
650
677
|
export enum Exchange_OrderBy {
|
|
651
678
|
Buyer = "buyer",
|
|
679
|
+
CancelledDate = "cancelledDate",
|
|
652
680
|
CommittedDate = "committedDate",
|
|
681
|
+
CompletedDate = "completedDate",
|
|
653
682
|
Disputed = "disputed",
|
|
654
683
|
Expired = "expired",
|
|
655
684
|
FinalizedDate = "finalizedDate",
|
|
656
685
|
Id = "id",
|
|
657
686
|
Offer = "offer",
|
|
658
687
|
RedeemedDate = "redeemedDate",
|
|
688
|
+
RevokedDate = "revokedDate",
|
|
659
689
|
Seller = "seller",
|
|
660
690
|
State = "state",
|
|
661
691
|
ValidUntilDate = "validUntilDate"
|
|
@@ -2256,14 +2286,31 @@ export enum _SubgraphErrorPolicy_ {
|
|
|
2256
2286
|
Deny = "deny"
|
|
2257
2287
|
}
|
|
2258
2288
|
|
|
2259
|
-
export type
|
|
2260
|
-
|
|
2261
|
-
|
|
2289
|
+
export type GetSellerByIdQueryQueryVariables = Exact<{
|
|
2290
|
+
sellerId: Scalars["ID"];
|
|
2291
|
+
fundsSkip?: InputMaybe<Scalars["Int"]>;
|
|
2292
|
+
fundsFirst?: InputMaybe<Scalars["Int"]>;
|
|
2293
|
+
fundsOrderBy?: InputMaybe<FundsEntity_OrderBy>;
|
|
2294
|
+
fundsOrderDirection?: InputMaybe<OrderDirection>;
|
|
2295
|
+
fundsFilter?: InputMaybe<FundsEntity_Filter>;
|
|
2296
|
+
offersSkip?: InputMaybe<Scalars["Int"]>;
|
|
2297
|
+
offersFirst?: InputMaybe<Scalars["Int"]>;
|
|
2298
|
+
offersOrderBy?: InputMaybe<Offer_OrderBy>;
|
|
2299
|
+
offersOrderDirection?: InputMaybe<OrderDirection>;
|
|
2300
|
+
offersFilter?: InputMaybe<Offer_Filter>;
|
|
2301
|
+
exchangesSkip?: InputMaybe<Scalars["Int"]>;
|
|
2302
|
+
exchangesFirst?: InputMaybe<Scalars["Int"]>;
|
|
2303
|
+
exchangesOrderBy?: InputMaybe<Exchange_OrderBy>;
|
|
2304
|
+
exchangesOrderDirection?: InputMaybe<OrderDirection>;
|
|
2305
|
+
exchangesFilter?: InputMaybe<Exchange_Filter>;
|
|
2306
|
+
includeExchanges?: InputMaybe<Scalars["Boolean"]>;
|
|
2307
|
+
includeOffers?: InputMaybe<Scalars["Boolean"]>;
|
|
2308
|
+
includeFunds?: InputMaybe<Scalars["Boolean"]>;
|
|
2262
2309
|
}>;
|
|
2263
2310
|
|
|
2264
|
-
export type
|
|
2311
|
+
export type GetSellerByIdQueryQuery = {
|
|
2265
2312
|
__typename?: "Query";
|
|
2266
|
-
|
|
2313
|
+
seller?: {
|
|
2267
2314
|
__typename?: "Seller";
|
|
2268
2315
|
id: string;
|
|
2269
2316
|
operator: string;
|
|
@@ -2271,55 +2318,118 @@ export type GetSellerByOperatorQueryQuery = {
|
|
|
2271
2318
|
clerk: string;
|
|
2272
2319
|
treasury: string;
|
|
2273
2320
|
active: boolean;
|
|
2274
|
-
funds
|
|
2321
|
+
funds?: Array<{
|
|
2275
2322
|
__typename?: "FundsEntity";
|
|
2323
|
+
id: string;
|
|
2276
2324
|
availableAmount: string;
|
|
2325
|
+
accountId: string;
|
|
2277
2326
|
token: {
|
|
2278
2327
|
__typename?: "ExchangeToken";
|
|
2279
2328
|
address: string;
|
|
2280
|
-
decimals: string;
|
|
2281
2329
|
name: string;
|
|
2282
2330
|
symbol: string;
|
|
2331
|
+
decimals: string;
|
|
2283
2332
|
};
|
|
2284
2333
|
}>;
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2334
|
+
offers?: Array<{
|
|
2335
|
+
__typename?: "Offer";
|
|
2336
|
+
id: string;
|
|
2337
|
+
createdAt: string;
|
|
2338
|
+
price: string;
|
|
2339
|
+
sellerDeposit: string;
|
|
2340
|
+
protocolFee: string;
|
|
2341
|
+
buyerCancelPenalty: string;
|
|
2342
|
+
quantityAvailable: string;
|
|
2343
|
+
quantityInitial: string;
|
|
2344
|
+
validFromDate: string;
|
|
2345
|
+
validUntilDate: string;
|
|
2346
|
+
voucherRedeemableFromDate: string;
|
|
2347
|
+
voucherRedeemableUntilDate: string;
|
|
2348
|
+
fulfillmentPeriodDuration: string;
|
|
2349
|
+
voucherValidDuration: string;
|
|
2350
|
+
resolutionPeriodDuration: string;
|
|
2351
|
+
metadataUri: string;
|
|
2352
|
+
offerChecksum: string;
|
|
2353
|
+
voidedAt?: string | null;
|
|
2354
|
+
disputeResolverId: string;
|
|
2355
|
+
seller: {
|
|
2356
|
+
__typename?: "Seller";
|
|
2357
|
+
id: string;
|
|
2358
|
+
operator: string;
|
|
2359
|
+
admin: string;
|
|
2360
|
+
clerk: string;
|
|
2361
|
+
treasury: string;
|
|
2362
|
+
active: boolean;
|
|
2363
|
+
};
|
|
2364
|
+
exchangeToken: {
|
|
2307
2365
|
__typename?: "ExchangeToken";
|
|
2308
2366
|
address: string;
|
|
2309
2367
|
decimals: string;
|
|
2310
2368
|
name: string;
|
|
2311
2369
|
symbol: string;
|
|
2312
2370
|
};
|
|
2371
|
+
metadata?:
|
|
2372
|
+
| {
|
|
2373
|
+
__typename?: "BaseMetadataEntity";
|
|
2374
|
+
name?: string | null;
|
|
2375
|
+
description?: string | null;
|
|
2376
|
+
externalUrl?: string | null;
|
|
2377
|
+
schemaUrl?: string | null;
|
|
2378
|
+
type: MetadataType;
|
|
2379
|
+
}
|
|
2380
|
+
| {
|
|
2381
|
+
__typename?: "ProductV1MetadataEntity";
|
|
2382
|
+
name?: string | null;
|
|
2383
|
+
description?: string | null;
|
|
2384
|
+
externalUrl?: string | null;
|
|
2385
|
+
schemaUrl?: string | null;
|
|
2386
|
+
type: MetadataType;
|
|
2387
|
+
}
|
|
2388
|
+
| null;
|
|
2313
2389
|
}>;
|
|
2314
|
-
|
|
2390
|
+
exchanges?: Array<{
|
|
2391
|
+
__typename?: "Exchange";
|
|
2392
|
+
id: string;
|
|
2393
|
+
disputed: boolean;
|
|
2394
|
+
state: ExchangeState;
|
|
2395
|
+
committedDate: string;
|
|
2396
|
+
finalizedDate?: string | null;
|
|
2397
|
+
validUntilDate: string;
|
|
2398
|
+
redeemedDate?: string | null;
|
|
2399
|
+
revokedDate?: string | null;
|
|
2400
|
+
cancelledDate?: string | null;
|
|
2401
|
+
expired: boolean;
|
|
2402
|
+
}>;
|
|
2403
|
+
} | null;
|
|
2315
2404
|
};
|
|
2316
2405
|
|
|
2317
|
-
export type
|
|
2318
|
-
|
|
2319
|
-
|
|
2406
|
+
export type GetSellersQueryQueryVariables = Exact<{
|
|
2407
|
+
sellersSkip?: InputMaybe<Scalars["Int"]>;
|
|
2408
|
+
sellersFirst?: InputMaybe<Scalars["Int"]>;
|
|
2409
|
+
sellersOrderBy?: InputMaybe<Seller_OrderBy>;
|
|
2410
|
+
sellersOrderDirection?: InputMaybe<OrderDirection>;
|
|
2411
|
+
sellersFilter?: InputMaybe<Seller_Filter>;
|
|
2412
|
+
fundsSkip?: InputMaybe<Scalars["Int"]>;
|
|
2413
|
+
fundsFirst?: InputMaybe<Scalars["Int"]>;
|
|
2414
|
+
fundsOrderBy?: InputMaybe<FundsEntity_OrderBy>;
|
|
2415
|
+
fundsOrderDirection?: InputMaybe<OrderDirection>;
|
|
2416
|
+
fundsFilter?: InputMaybe<FundsEntity_Filter>;
|
|
2417
|
+
offersSkip?: InputMaybe<Scalars["Int"]>;
|
|
2418
|
+
offersFirst?: InputMaybe<Scalars["Int"]>;
|
|
2419
|
+
offersOrderBy?: InputMaybe<Offer_OrderBy>;
|
|
2420
|
+
offersOrderDirection?: InputMaybe<OrderDirection>;
|
|
2421
|
+
offersFilter?: InputMaybe<Offer_Filter>;
|
|
2422
|
+
exchangesSkip?: InputMaybe<Scalars["Int"]>;
|
|
2423
|
+
exchangesFirst?: InputMaybe<Scalars["Int"]>;
|
|
2424
|
+
exchangesOrderBy?: InputMaybe<Exchange_OrderBy>;
|
|
2425
|
+
exchangesOrderDirection?: InputMaybe<OrderDirection>;
|
|
2426
|
+
exchangesFilter?: InputMaybe<Exchange_Filter>;
|
|
2427
|
+
includeExchanges?: InputMaybe<Scalars["Boolean"]>;
|
|
2428
|
+
includeOffers?: InputMaybe<Scalars["Boolean"]>;
|
|
2429
|
+
includeFunds?: InputMaybe<Scalars["Boolean"]>;
|
|
2320
2430
|
}>;
|
|
2321
2431
|
|
|
2322
|
-
export type
|
|
2432
|
+
export type GetSellersQueryQuery = {
|
|
2323
2433
|
__typename?: "Query";
|
|
2324
2434
|
sellers: Array<{
|
|
2325
2435
|
__typename?: "Seller";
|
|
@@ -2329,16 +2439,87 @@ export type GetSellerByClerkQueryQuery = {
|
|
|
2329
2439
|
clerk: string;
|
|
2330
2440
|
treasury: string;
|
|
2331
2441
|
active: boolean;
|
|
2332
|
-
funds
|
|
2442
|
+
funds?: Array<{
|
|
2333
2443
|
__typename?: "FundsEntity";
|
|
2444
|
+
id: string;
|
|
2334
2445
|
availableAmount: string;
|
|
2446
|
+
accountId: string;
|
|
2335
2447
|
token: {
|
|
2448
|
+
__typename?: "ExchangeToken";
|
|
2449
|
+
address: string;
|
|
2450
|
+
name: string;
|
|
2451
|
+
symbol: string;
|
|
2452
|
+
decimals: string;
|
|
2453
|
+
};
|
|
2454
|
+
}>;
|
|
2455
|
+
offers?: Array<{
|
|
2456
|
+
__typename?: "Offer";
|
|
2457
|
+
id: string;
|
|
2458
|
+
createdAt: string;
|
|
2459
|
+
price: string;
|
|
2460
|
+
sellerDeposit: string;
|
|
2461
|
+
protocolFee: string;
|
|
2462
|
+
buyerCancelPenalty: string;
|
|
2463
|
+
quantityAvailable: string;
|
|
2464
|
+
quantityInitial: string;
|
|
2465
|
+
validFromDate: string;
|
|
2466
|
+
validUntilDate: string;
|
|
2467
|
+
voucherRedeemableFromDate: string;
|
|
2468
|
+
voucherRedeemableUntilDate: string;
|
|
2469
|
+
fulfillmentPeriodDuration: string;
|
|
2470
|
+
voucherValidDuration: string;
|
|
2471
|
+
resolutionPeriodDuration: string;
|
|
2472
|
+
metadataUri: string;
|
|
2473
|
+
offerChecksum: string;
|
|
2474
|
+
voidedAt?: string | null;
|
|
2475
|
+
disputeResolverId: string;
|
|
2476
|
+
seller: {
|
|
2477
|
+
__typename?: "Seller";
|
|
2478
|
+
id: string;
|
|
2479
|
+
operator: string;
|
|
2480
|
+
admin: string;
|
|
2481
|
+
clerk: string;
|
|
2482
|
+
treasury: string;
|
|
2483
|
+
active: boolean;
|
|
2484
|
+
};
|
|
2485
|
+
exchangeToken: {
|
|
2336
2486
|
__typename?: "ExchangeToken";
|
|
2337
2487
|
address: string;
|
|
2338
2488
|
decimals: string;
|
|
2339
2489
|
name: string;
|
|
2340
2490
|
symbol: string;
|
|
2341
2491
|
};
|
|
2492
|
+
metadata?:
|
|
2493
|
+
| {
|
|
2494
|
+
__typename?: "BaseMetadataEntity";
|
|
2495
|
+
name?: string | null;
|
|
2496
|
+
description?: string | null;
|
|
2497
|
+
externalUrl?: string | null;
|
|
2498
|
+
schemaUrl?: string | null;
|
|
2499
|
+
type: MetadataType;
|
|
2500
|
+
}
|
|
2501
|
+
| {
|
|
2502
|
+
__typename?: "ProductV1MetadataEntity";
|
|
2503
|
+
name?: string | null;
|
|
2504
|
+
description?: string | null;
|
|
2505
|
+
externalUrl?: string | null;
|
|
2506
|
+
schemaUrl?: string | null;
|
|
2507
|
+
type: MetadataType;
|
|
2508
|
+
}
|
|
2509
|
+
| null;
|
|
2510
|
+
}>;
|
|
2511
|
+
exchanges?: Array<{
|
|
2512
|
+
__typename?: "Exchange";
|
|
2513
|
+
id: string;
|
|
2514
|
+
disputed: boolean;
|
|
2515
|
+
state: ExchangeState;
|
|
2516
|
+
committedDate: string;
|
|
2517
|
+
finalizedDate?: string | null;
|
|
2518
|
+
validUntilDate: string;
|
|
2519
|
+
redeemedDate?: string | null;
|
|
2520
|
+
revokedDate?: string | null;
|
|
2521
|
+
cancelledDate?: string | null;
|
|
2522
|
+
expired: boolean;
|
|
2342
2523
|
}>;
|
|
2343
2524
|
}>;
|
|
2344
2525
|
};
|
|
@@ -2351,19 +2532,107 @@ export type SellerFieldsFragment = {
|
|
|
2351
2532
|
clerk: string;
|
|
2352
2533
|
treasury: string;
|
|
2353
2534
|
active: boolean;
|
|
2354
|
-
funds
|
|
2535
|
+
funds?: Array<{
|
|
2355
2536
|
__typename?: "FundsEntity";
|
|
2537
|
+
id: string;
|
|
2356
2538
|
availableAmount: string;
|
|
2539
|
+
accountId: string;
|
|
2357
2540
|
token: {
|
|
2541
|
+
__typename?: "ExchangeToken";
|
|
2542
|
+
address: string;
|
|
2543
|
+
name: string;
|
|
2544
|
+
symbol: string;
|
|
2545
|
+
decimals: string;
|
|
2546
|
+
};
|
|
2547
|
+
}>;
|
|
2548
|
+
offers?: Array<{
|
|
2549
|
+
__typename?: "Offer";
|
|
2550
|
+
id: string;
|
|
2551
|
+
createdAt: string;
|
|
2552
|
+
price: string;
|
|
2553
|
+
sellerDeposit: string;
|
|
2554
|
+
protocolFee: string;
|
|
2555
|
+
buyerCancelPenalty: string;
|
|
2556
|
+
quantityAvailable: string;
|
|
2557
|
+
quantityInitial: string;
|
|
2558
|
+
validFromDate: string;
|
|
2559
|
+
validUntilDate: string;
|
|
2560
|
+
voucherRedeemableFromDate: string;
|
|
2561
|
+
voucherRedeemableUntilDate: string;
|
|
2562
|
+
fulfillmentPeriodDuration: string;
|
|
2563
|
+
voucherValidDuration: string;
|
|
2564
|
+
resolutionPeriodDuration: string;
|
|
2565
|
+
metadataUri: string;
|
|
2566
|
+
offerChecksum: string;
|
|
2567
|
+
voidedAt?: string | null;
|
|
2568
|
+
disputeResolverId: string;
|
|
2569
|
+
seller: {
|
|
2570
|
+
__typename?: "Seller";
|
|
2571
|
+
id: string;
|
|
2572
|
+
operator: string;
|
|
2573
|
+
admin: string;
|
|
2574
|
+
clerk: string;
|
|
2575
|
+
treasury: string;
|
|
2576
|
+
active: boolean;
|
|
2577
|
+
};
|
|
2578
|
+
exchangeToken: {
|
|
2358
2579
|
__typename?: "ExchangeToken";
|
|
2359
2580
|
address: string;
|
|
2360
2581
|
decimals: string;
|
|
2361
2582
|
name: string;
|
|
2362
2583
|
symbol: string;
|
|
2363
2584
|
};
|
|
2585
|
+
metadata?:
|
|
2586
|
+
| {
|
|
2587
|
+
__typename?: "BaseMetadataEntity";
|
|
2588
|
+
name?: string | null;
|
|
2589
|
+
description?: string | null;
|
|
2590
|
+
externalUrl?: string | null;
|
|
2591
|
+
schemaUrl?: string | null;
|
|
2592
|
+
type: MetadataType;
|
|
2593
|
+
}
|
|
2594
|
+
| {
|
|
2595
|
+
__typename?: "ProductV1MetadataEntity";
|
|
2596
|
+
name?: string | null;
|
|
2597
|
+
description?: string | null;
|
|
2598
|
+
externalUrl?: string | null;
|
|
2599
|
+
schemaUrl?: string | null;
|
|
2600
|
+
type: MetadataType;
|
|
2601
|
+
}
|
|
2602
|
+
| null;
|
|
2603
|
+
}>;
|
|
2604
|
+
exchanges?: Array<{
|
|
2605
|
+
__typename?: "Exchange";
|
|
2606
|
+
id: string;
|
|
2607
|
+
disputed: boolean;
|
|
2608
|
+
state: ExchangeState;
|
|
2609
|
+
committedDate: string;
|
|
2610
|
+
finalizedDate?: string | null;
|
|
2611
|
+
validUntilDate: string;
|
|
2612
|
+
redeemedDate?: string | null;
|
|
2613
|
+
revokedDate?: string | null;
|
|
2614
|
+
cancelledDate?: string | null;
|
|
2615
|
+
expired: boolean;
|
|
2364
2616
|
}>;
|
|
2365
2617
|
};
|
|
2366
2618
|
|
|
2619
|
+
export type BaseSellerFieldsFragment = {
|
|
2620
|
+
__typename?: "Seller";
|
|
2621
|
+
id: string;
|
|
2622
|
+
operator: string;
|
|
2623
|
+
admin: string;
|
|
2624
|
+
clerk: string;
|
|
2625
|
+
treasury: string;
|
|
2626
|
+
active: boolean;
|
|
2627
|
+
};
|
|
2628
|
+
|
|
2629
|
+
export type BaseBuyerFieldsFragment = {
|
|
2630
|
+
__typename?: "Buyer";
|
|
2631
|
+
id: string;
|
|
2632
|
+
wallet: string;
|
|
2633
|
+
active: boolean;
|
|
2634
|
+
};
|
|
2635
|
+
|
|
2367
2636
|
export type GetExchangeByIdQueryQueryVariables = Exact<{
|
|
2368
2637
|
exchangeId: Scalars["ID"];
|
|
2369
2638
|
}>;
|
|
@@ -2377,8 +2646,10 @@ export type GetExchangeByIdQueryQuery = {
|
|
|
2377
2646
|
state: ExchangeState;
|
|
2378
2647
|
committedDate: string;
|
|
2379
2648
|
finalizedDate?: string | null;
|
|
2380
|
-
validUntilDate
|
|
2649
|
+
validUntilDate: string;
|
|
2381
2650
|
redeemedDate?: string | null;
|
|
2651
|
+
revokedDate?: string | null;
|
|
2652
|
+
cancelledDate?: string | null;
|
|
2382
2653
|
expired: boolean;
|
|
2383
2654
|
buyer: {
|
|
2384
2655
|
__typename?: "Buyer";
|
|
@@ -2388,6 +2659,7 @@ export type GetExchangeByIdQueryQuery = {
|
|
|
2388
2659
|
};
|
|
2389
2660
|
seller: {
|
|
2390
2661
|
__typename?: "Seller";
|
|
2662
|
+
id: string;
|
|
2391
2663
|
operator: string;
|
|
2392
2664
|
admin: string;
|
|
2393
2665
|
clerk: string;
|
|
@@ -2453,15 +2725,15 @@ export type GetExchangeByIdQueryQuery = {
|
|
|
2453
2725
|
} | null;
|
|
2454
2726
|
};
|
|
2455
2727
|
|
|
2456
|
-
export type
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2728
|
+
export type GetExchangesQueryQueryVariables = Exact<{
|
|
2729
|
+
exchangesSkip?: InputMaybe<Scalars["Int"]>;
|
|
2730
|
+
exchangesFirst?: InputMaybe<Scalars["Int"]>;
|
|
2731
|
+
exchangesOrderBy?: InputMaybe<Exchange_OrderBy>;
|
|
2732
|
+
exchangesOrderDirection?: InputMaybe<OrderDirection>;
|
|
2733
|
+
exchangesFilter?: InputMaybe<Exchange_Filter>;
|
|
2462
2734
|
}>;
|
|
2463
2735
|
|
|
2464
|
-
export type
|
|
2736
|
+
export type GetExchangesQueryQuery = {
|
|
2465
2737
|
__typename?: "Query";
|
|
2466
2738
|
exchanges: Array<{
|
|
2467
2739
|
__typename?: "Exchange";
|
|
@@ -2470,8 +2742,10 @@ export type GetExchangesByOfferIdQuery = {
|
|
|
2470
2742
|
state: ExchangeState;
|
|
2471
2743
|
committedDate: string;
|
|
2472
2744
|
finalizedDate?: string | null;
|
|
2473
|
-
validUntilDate
|
|
2745
|
+
validUntilDate: string;
|
|
2474
2746
|
redeemedDate?: string | null;
|
|
2747
|
+
revokedDate?: string | null;
|
|
2748
|
+
cancelledDate?: string | null;
|
|
2475
2749
|
expired: boolean;
|
|
2476
2750
|
buyer: {
|
|
2477
2751
|
__typename?: "Buyer";
|
|
@@ -2481,6 +2755,7 @@ export type GetExchangesByOfferIdQuery = {
|
|
|
2481
2755
|
};
|
|
2482
2756
|
seller: {
|
|
2483
2757
|
__typename?: "Seller";
|
|
2758
|
+
id: string;
|
|
2484
2759
|
operator: string;
|
|
2485
2760
|
admin: string;
|
|
2486
2761
|
clerk: string;
|
|
@@ -2553,12 +2828,15 @@ export type ExchangeFieldsFragment = {
|
|
|
2553
2828
|
state: ExchangeState;
|
|
2554
2829
|
committedDate: string;
|
|
2555
2830
|
finalizedDate?: string | null;
|
|
2556
|
-
validUntilDate
|
|
2831
|
+
validUntilDate: string;
|
|
2557
2832
|
redeemedDate?: string | null;
|
|
2833
|
+
revokedDate?: string | null;
|
|
2834
|
+
cancelledDate?: string | null;
|
|
2558
2835
|
expired: boolean;
|
|
2559
2836
|
buyer: { __typename?: "Buyer"; id: string; wallet: string; active: boolean };
|
|
2560
2837
|
seller: {
|
|
2561
2838
|
__typename?: "Seller";
|
|
2839
|
+
id: string;
|
|
2562
2840
|
operator: string;
|
|
2563
2841
|
admin: string;
|
|
2564
2842
|
clerk: string;
|
|
@@ -2623,13 +2901,27 @@ export type ExchangeFieldsFragment = {
|
|
|
2623
2901
|
};
|
|
2624
2902
|
};
|
|
2625
2903
|
|
|
2626
|
-
export type
|
|
2627
|
-
|
|
2904
|
+
export type BaseExchangeFieldsFragment = {
|
|
2905
|
+
__typename?: "Exchange";
|
|
2906
|
+
id: string;
|
|
2907
|
+
disputed: boolean;
|
|
2908
|
+
state: ExchangeState;
|
|
2909
|
+
committedDate: string;
|
|
2910
|
+
finalizedDate?: string | null;
|
|
2911
|
+
validUntilDate: string;
|
|
2912
|
+
redeemedDate?: string | null;
|
|
2913
|
+
revokedDate?: string | null;
|
|
2914
|
+
cancelledDate?: string | null;
|
|
2915
|
+
expired: boolean;
|
|
2916
|
+
};
|
|
2917
|
+
|
|
2918
|
+
export type GetFundsByIdQueryVariables = Exact<{
|
|
2919
|
+
fundsId: Scalars["ID"];
|
|
2628
2920
|
}>;
|
|
2629
2921
|
|
|
2630
|
-
export type
|
|
2922
|
+
export type GetFundsByIdQuery = {
|
|
2631
2923
|
__typename?: "Query";
|
|
2632
|
-
|
|
2924
|
+
fundsEntity?: {
|
|
2633
2925
|
__typename?: "FundsEntity";
|
|
2634
2926
|
id: string;
|
|
2635
2927
|
availableAmount: string;
|
|
@@ -2641,25 +2933,56 @@ export type GetFundsByAccountIdQueryQuery = {
|
|
|
2641
2933
|
symbol: string;
|
|
2642
2934
|
decimals: string;
|
|
2643
2935
|
};
|
|
2644
|
-
}
|
|
2936
|
+
} | null;
|
|
2645
2937
|
};
|
|
2646
2938
|
|
|
2647
|
-
export type
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2939
|
+
export type GetFundsQueryVariables = Exact<{
|
|
2940
|
+
fundsSkip?: InputMaybe<Scalars["Int"]>;
|
|
2941
|
+
fundsFirst?: InputMaybe<Scalars["Int"]>;
|
|
2942
|
+
fundsOrderBy?: InputMaybe<FundsEntity_OrderBy>;
|
|
2943
|
+
fundsOrderDirection?: InputMaybe<OrderDirection>;
|
|
2944
|
+
fundsFilter?: InputMaybe<FundsEntity_Filter>;
|
|
2945
|
+
}>;
|
|
2946
|
+
|
|
2947
|
+
export type GetFundsQuery = {
|
|
2948
|
+
__typename?: "Query";
|
|
2949
|
+
fundsEntities: Array<{
|
|
2950
|
+
__typename?: "FundsEntity";
|
|
2951
|
+
id: string;
|
|
2952
|
+
availableAmount: string;
|
|
2953
|
+
accountId: string;
|
|
2954
|
+
token: {
|
|
2955
|
+
__typename?: "ExchangeToken";
|
|
2956
|
+
address: string;
|
|
2957
|
+
name: string;
|
|
2958
|
+
symbol: string;
|
|
2959
|
+
decimals: string;
|
|
2960
|
+
};
|
|
2961
|
+
}>;
|
|
2962
|
+
};
|
|
2963
|
+
|
|
2964
|
+
export type FundsEntityFieldsFragment = {
|
|
2965
|
+
__typename?: "FundsEntity";
|
|
2966
|
+
id: string;
|
|
2967
|
+
availableAmount: string;
|
|
2968
|
+
accountId: string;
|
|
2969
|
+
token: {
|
|
2970
|
+
__typename?: "ExchangeToken";
|
|
2971
|
+
address: string;
|
|
2972
|
+
name: string;
|
|
2973
|
+
symbol: string;
|
|
2974
|
+
decimals: string;
|
|
2975
|
+
};
|
|
2976
|
+
};
|
|
2660
2977
|
|
|
2661
2978
|
export type GetOfferByIdQueryQueryVariables = Exact<{
|
|
2662
2979
|
offerId: Scalars["ID"];
|
|
2980
|
+
exchangesSkip?: InputMaybe<Scalars["Int"]>;
|
|
2981
|
+
exchangesFirst?: InputMaybe<Scalars["Int"]>;
|
|
2982
|
+
exchangesOrderBy?: InputMaybe<Exchange_OrderBy>;
|
|
2983
|
+
exchangesOrderDirection?: InputMaybe<OrderDirection>;
|
|
2984
|
+
exchangesFilter?: InputMaybe<Exchange_Filter>;
|
|
2985
|
+
includeExchanges?: InputMaybe<Scalars["Boolean"]>;
|
|
2663
2986
|
}>;
|
|
2664
2987
|
|
|
2665
2988
|
export type GetOfferByIdQueryQuery = {
|
|
@@ -2685,6 +3008,19 @@ export type GetOfferByIdQueryQuery = {
|
|
|
2685
3008
|
offerChecksum: string;
|
|
2686
3009
|
voidedAt?: string | null;
|
|
2687
3010
|
disputeResolverId: string;
|
|
3011
|
+
exchanges?: Array<{
|
|
3012
|
+
__typename?: "Exchange";
|
|
3013
|
+
id: string;
|
|
3014
|
+
disputed: boolean;
|
|
3015
|
+
state: ExchangeState;
|
|
3016
|
+
committedDate: string;
|
|
3017
|
+
finalizedDate?: string | null;
|
|
3018
|
+
validUntilDate: string;
|
|
3019
|
+
redeemedDate?: string | null;
|
|
3020
|
+
revokedDate?: string | null;
|
|
3021
|
+
cancelledDate?: string | null;
|
|
3022
|
+
expired: boolean;
|
|
3023
|
+
}>;
|
|
2688
3024
|
seller: {
|
|
2689
3025
|
__typename?: "Seller";
|
|
2690
3026
|
id: string;
|
|
@@ -2722,78 +3058,164 @@ export type GetOfferByIdQueryQuery = {
|
|
|
2722
3058
|
} | null;
|
|
2723
3059
|
};
|
|
2724
3060
|
|
|
2725
|
-
export type
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
3061
|
+
export type GetOffersQueryQueryVariables = Exact<{
|
|
3062
|
+
offersSkip?: InputMaybe<Scalars["Int"]>;
|
|
3063
|
+
offersFirst?: InputMaybe<Scalars["Int"]>;
|
|
3064
|
+
offersOrderBy?: InputMaybe<Offer_OrderBy>;
|
|
3065
|
+
offersOrderDirection?: InputMaybe<OrderDirection>;
|
|
3066
|
+
offersFilter?: InputMaybe<Offer_Filter>;
|
|
3067
|
+
exchangesSkip?: InputMaybe<Scalars["Int"]>;
|
|
3068
|
+
exchangesFirst?: InputMaybe<Scalars["Int"]>;
|
|
3069
|
+
exchangesOrderBy?: InputMaybe<Exchange_OrderBy>;
|
|
3070
|
+
exchangesOrderDirection?: InputMaybe<OrderDirection>;
|
|
3071
|
+
exchangesFilter?: InputMaybe<Exchange_Filter>;
|
|
3072
|
+
includeExchanges?: InputMaybe<Scalars["Boolean"]>;
|
|
2731
3073
|
}>;
|
|
2732
3074
|
|
|
2733
|
-
export type
|
|
3075
|
+
export type GetOffersQueryQuery = {
|
|
2734
3076
|
__typename?: "Query";
|
|
2735
|
-
|
|
2736
|
-
__typename?: "
|
|
2737
|
-
|
|
2738
|
-
|
|
3077
|
+
offers: Array<{
|
|
3078
|
+
__typename?: "Offer";
|
|
3079
|
+
id: string;
|
|
3080
|
+
createdAt: string;
|
|
3081
|
+
price: string;
|
|
3082
|
+
sellerDeposit: string;
|
|
3083
|
+
protocolFee: string;
|
|
3084
|
+
buyerCancelPenalty: string;
|
|
3085
|
+
quantityAvailable: string;
|
|
3086
|
+
quantityInitial: string;
|
|
3087
|
+
validFromDate: string;
|
|
3088
|
+
validUntilDate: string;
|
|
3089
|
+
voucherRedeemableFromDate: string;
|
|
3090
|
+
voucherRedeemableUntilDate: string;
|
|
3091
|
+
fulfillmentPeriodDuration: string;
|
|
3092
|
+
voucherValidDuration: string;
|
|
3093
|
+
resolutionPeriodDuration: string;
|
|
3094
|
+
metadataUri: string;
|
|
3095
|
+
offerChecksum: string;
|
|
3096
|
+
voidedAt?: string | null;
|
|
3097
|
+
disputeResolverId: string;
|
|
3098
|
+
exchanges?: Array<{
|
|
3099
|
+
__typename?: "Exchange";
|
|
2739
3100
|
id: string;
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
buyerCancelPenalty: string;
|
|
2745
|
-
quantityAvailable: string;
|
|
2746
|
-
quantityInitial: string;
|
|
2747
|
-
validFromDate: string;
|
|
3101
|
+
disputed: boolean;
|
|
3102
|
+
state: ExchangeState;
|
|
3103
|
+
committedDate: string;
|
|
3104
|
+
finalizedDate?: string | null;
|
|
2748
3105
|
validUntilDate: string;
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
resolutionPeriodDuration: string;
|
|
2754
|
-
metadataUri: string;
|
|
2755
|
-
offerChecksum: string;
|
|
2756
|
-
voidedAt?: string | null;
|
|
2757
|
-
disputeResolverId: string;
|
|
2758
|
-
seller: {
|
|
2759
|
-
__typename?: "Seller";
|
|
2760
|
-
id: string;
|
|
2761
|
-
operator: string;
|
|
2762
|
-
admin: string;
|
|
2763
|
-
clerk: string;
|
|
2764
|
-
treasury: string;
|
|
2765
|
-
active: boolean;
|
|
2766
|
-
};
|
|
2767
|
-
exchangeToken: {
|
|
2768
|
-
__typename?: "ExchangeToken";
|
|
2769
|
-
address: string;
|
|
2770
|
-
decimals: string;
|
|
2771
|
-
name: string;
|
|
2772
|
-
symbol: string;
|
|
2773
|
-
};
|
|
2774
|
-
metadata?:
|
|
2775
|
-
| {
|
|
2776
|
-
__typename?: "BaseMetadataEntity";
|
|
2777
|
-
name?: string | null;
|
|
2778
|
-
description?: string | null;
|
|
2779
|
-
externalUrl?: string | null;
|
|
2780
|
-
schemaUrl?: string | null;
|
|
2781
|
-
type: MetadataType;
|
|
2782
|
-
}
|
|
2783
|
-
| {
|
|
2784
|
-
__typename?: "ProductV1MetadataEntity";
|
|
2785
|
-
name?: string | null;
|
|
2786
|
-
description?: string | null;
|
|
2787
|
-
externalUrl?: string | null;
|
|
2788
|
-
schemaUrl?: string | null;
|
|
2789
|
-
type: MetadataType;
|
|
2790
|
-
}
|
|
2791
|
-
| null;
|
|
3106
|
+
redeemedDate?: string | null;
|
|
3107
|
+
revokedDate?: string | null;
|
|
3108
|
+
cancelledDate?: string | null;
|
|
3109
|
+
expired: boolean;
|
|
2792
3110
|
}>;
|
|
3111
|
+
seller: {
|
|
3112
|
+
__typename?: "Seller";
|
|
3113
|
+
id: string;
|
|
3114
|
+
operator: string;
|
|
3115
|
+
admin: string;
|
|
3116
|
+
clerk: string;
|
|
3117
|
+
treasury: string;
|
|
3118
|
+
active: boolean;
|
|
3119
|
+
};
|
|
3120
|
+
exchangeToken: {
|
|
3121
|
+
__typename?: "ExchangeToken";
|
|
3122
|
+
address: string;
|
|
3123
|
+
decimals: string;
|
|
3124
|
+
name: string;
|
|
3125
|
+
symbol: string;
|
|
3126
|
+
};
|
|
3127
|
+
metadata?:
|
|
3128
|
+
| {
|
|
3129
|
+
__typename?: "BaseMetadataEntity";
|
|
3130
|
+
name?: string | null;
|
|
3131
|
+
description?: string | null;
|
|
3132
|
+
externalUrl?: string | null;
|
|
3133
|
+
schemaUrl?: string | null;
|
|
3134
|
+
type: MetadataType;
|
|
3135
|
+
}
|
|
3136
|
+
| {
|
|
3137
|
+
__typename?: "ProductV1MetadataEntity";
|
|
3138
|
+
name?: string | null;
|
|
3139
|
+
description?: string | null;
|
|
3140
|
+
externalUrl?: string | null;
|
|
3141
|
+
schemaUrl?: string | null;
|
|
3142
|
+
type: MetadataType;
|
|
3143
|
+
}
|
|
3144
|
+
| null;
|
|
2793
3145
|
}>;
|
|
2794
3146
|
};
|
|
2795
3147
|
|
|
2796
3148
|
export type OfferFieldsFragment = {
|
|
3149
|
+
__typename?: "Offer";
|
|
3150
|
+
id: string;
|
|
3151
|
+
createdAt: string;
|
|
3152
|
+
price: string;
|
|
3153
|
+
sellerDeposit: string;
|
|
3154
|
+
protocolFee: string;
|
|
3155
|
+
buyerCancelPenalty: string;
|
|
3156
|
+
quantityAvailable: string;
|
|
3157
|
+
quantityInitial: string;
|
|
3158
|
+
validFromDate: string;
|
|
3159
|
+
validUntilDate: string;
|
|
3160
|
+
voucherRedeemableFromDate: string;
|
|
3161
|
+
voucherRedeemableUntilDate: string;
|
|
3162
|
+
fulfillmentPeriodDuration: string;
|
|
3163
|
+
voucherValidDuration: string;
|
|
3164
|
+
resolutionPeriodDuration: string;
|
|
3165
|
+
metadataUri: string;
|
|
3166
|
+
offerChecksum: string;
|
|
3167
|
+
voidedAt?: string | null;
|
|
3168
|
+
disputeResolverId: string;
|
|
3169
|
+
exchanges?: Array<{
|
|
3170
|
+
__typename?: "Exchange";
|
|
3171
|
+
id: string;
|
|
3172
|
+
disputed: boolean;
|
|
3173
|
+
state: ExchangeState;
|
|
3174
|
+
committedDate: string;
|
|
3175
|
+
finalizedDate?: string | null;
|
|
3176
|
+
validUntilDate: string;
|
|
3177
|
+
redeemedDate?: string | null;
|
|
3178
|
+
revokedDate?: string | null;
|
|
3179
|
+
cancelledDate?: string | null;
|
|
3180
|
+
expired: boolean;
|
|
3181
|
+
}>;
|
|
3182
|
+
seller: {
|
|
3183
|
+
__typename?: "Seller";
|
|
3184
|
+
id: string;
|
|
3185
|
+
operator: string;
|
|
3186
|
+
admin: string;
|
|
3187
|
+
clerk: string;
|
|
3188
|
+
treasury: string;
|
|
3189
|
+
active: boolean;
|
|
3190
|
+
};
|
|
3191
|
+
exchangeToken: {
|
|
3192
|
+
__typename?: "ExchangeToken";
|
|
3193
|
+
address: string;
|
|
3194
|
+
decimals: string;
|
|
3195
|
+
name: string;
|
|
3196
|
+
symbol: string;
|
|
3197
|
+
};
|
|
3198
|
+
metadata?:
|
|
3199
|
+
| {
|
|
3200
|
+
__typename?: "BaseMetadataEntity";
|
|
3201
|
+
name?: string | null;
|
|
3202
|
+
description?: string | null;
|
|
3203
|
+
externalUrl?: string | null;
|
|
3204
|
+
schemaUrl?: string | null;
|
|
3205
|
+
type: MetadataType;
|
|
3206
|
+
}
|
|
3207
|
+
| {
|
|
3208
|
+
__typename?: "ProductV1MetadataEntity";
|
|
3209
|
+
name?: string | null;
|
|
3210
|
+
description?: string | null;
|
|
3211
|
+
externalUrl?: string | null;
|
|
3212
|
+
schemaUrl?: string | null;
|
|
3213
|
+
type: MetadataType;
|
|
3214
|
+
}
|
|
3215
|
+
| null;
|
|
3216
|
+
};
|
|
3217
|
+
|
|
3218
|
+
export type BaseOfferFieldsFragment = {
|
|
2797
3219
|
__typename?: "Offer";
|
|
2798
3220
|
id: string;
|
|
2799
3221
|
createdAt: string;
|
|
@@ -2850,27 +3272,31 @@ export type OfferFieldsFragment = {
|
|
|
2850
3272
|
| null;
|
|
2851
3273
|
};
|
|
2852
3274
|
|
|
2853
|
-
export const
|
|
2854
|
-
fragment
|
|
3275
|
+
export const BaseSellerFieldsFragmentDoc = gql`
|
|
3276
|
+
fragment BaseSellerFields on Seller {
|
|
2855
3277
|
id
|
|
2856
3278
|
operator
|
|
2857
3279
|
admin
|
|
2858
3280
|
clerk
|
|
2859
3281
|
treasury
|
|
2860
3282
|
active
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
3283
|
+
}
|
|
3284
|
+
`;
|
|
3285
|
+
export const FundsEntityFieldsFragmentDoc = gql`
|
|
3286
|
+
fragment FundsEntityFields on FundsEntity {
|
|
3287
|
+
id
|
|
3288
|
+
availableAmount
|
|
3289
|
+
token {
|
|
3290
|
+
address
|
|
3291
|
+
name
|
|
3292
|
+
symbol
|
|
3293
|
+
decimals
|
|
2869
3294
|
}
|
|
3295
|
+
accountId
|
|
2870
3296
|
}
|
|
2871
3297
|
`;
|
|
2872
|
-
export const
|
|
2873
|
-
fragment
|
|
3298
|
+
export const BaseOfferFieldsFragmentDoc = gql`
|
|
3299
|
+
fragment BaseOfferFields on Offer {
|
|
2874
3300
|
id
|
|
2875
3301
|
createdAt
|
|
2876
3302
|
price
|
|
@@ -2891,12 +3317,7 @@ export const OfferFieldsFragmentDoc = gql`
|
|
|
2891
3317
|
voidedAt
|
|
2892
3318
|
disputeResolverId
|
|
2893
3319
|
seller {
|
|
2894
|
-
|
|
2895
|
-
operator
|
|
2896
|
-
admin
|
|
2897
|
-
clerk
|
|
2898
|
-
treasury
|
|
2899
|
-
active
|
|
3320
|
+
...BaseSellerFields
|
|
2900
3321
|
}
|
|
2901
3322
|
exchangeToken {
|
|
2902
3323
|
address
|
|
@@ -2912,67 +3333,160 @@ export const OfferFieldsFragmentDoc = gql`
|
|
|
2912
3333
|
type
|
|
2913
3334
|
}
|
|
2914
3335
|
}
|
|
3336
|
+
${BaseSellerFieldsFragmentDoc}
|
|
2915
3337
|
`;
|
|
2916
|
-
export const
|
|
2917
|
-
fragment
|
|
3338
|
+
export const BaseExchangeFieldsFragmentDoc = gql`
|
|
3339
|
+
fragment BaseExchangeFields on Exchange {
|
|
2918
3340
|
id
|
|
2919
|
-
buyer {
|
|
2920
|
-
id
|
|
2921
|
-
wallet
|
|
2922
|
-
active
|
|
2923
|
-
}
|
|
2924
|
-
seller {
|
|
2925
|
-
operator
|
|
2926
|
-
admin
|
|
2927
|
-
clerk
|
|
2928
|
-
treasury
|
|
2929
|
-
active
|
|
2930
|
-
}
|
|
2931
3341
|
disputed
|
|
2932
3342
|
state
|
|
2933
3343
|
committedDate
|
|
2934
3344
|
finalizedDate
|
|
2935
3345
|
validUntilDate
|
|
2936
3346
|
redeemedDate
|
|
3347
|
+
revokedDate
|
|
3348
|
+
cancelledDate
|
|
2937
3349
|
expired
|
|
2938
|
-
|
|
2939
|
-
|
|
3350
|
+
}
|
|
3351
|
+
`;
|
|
3352
|
+
export const SellerFieldsFragmentDoc = gql`
|
|
3353
|
+
fragment SellerFields on Seller {
|
|
3354
|
+
...BaseSellerFields
|
|
3355
|
+
funds(
|
|
3356
|
+
skip: $fundsSkip
|
|
3357
|
+
first: $fundsFirst
|
|
3358
|
+
orderBy: $fundsOrderBy
|
|
3359
|
+
orderDirection: $fundsOrderDirection
|
|
3360
|
+
where: $fundsFilter
|
|
3361
|
+
) @include(if: $includeFunds) {
|
|
3362
|
+
...FundsEntityFields
|
|
3363
|
+
}
|
|
3364
|
+
offers(
|
|
3365
|
+
skip: $offersSkip
|
|
3366
|
+
first: $offersFirst
|
|
3367
|
+
orderBy: $offersOrderBy
|
|
3368
|
+
orderDirection: $offersOrderDirection
|
|
3369
|
+
where: $offersFilter
|
|
3370
|
+
) @include(if: $includeOffers) {
|
|
3371
|
+
...BaseOfferFields
|
|
3372
|
+
}
|
|
3373
|
+
exchanges(
|
|
3374
|
+
skip: $exchangesSkip
|
|
3375
|
+
first: $exchangesFirst
|
|
3376
|
+
orderBy: $exchangesOrderBy
|
|
3377
|
+
orderDirection: $exchangesOrderDirection
|
|
3378
|
+
where: $exchangesFilter
|
|
3379
|
+
) @include(if: $includeExchanges) {
|
|
3380
|
+
...BaseExchangeFields
|
|
2940
3381
|
}
|
|
2941
3382
|
}
|
|
2942
|
-
${
|
|
3383
|
+
${BaseSellerFieldsFragmentDoc}
|
|
3384
|
+
${FundsEntityFieldsFragmentDoc}
|
|
3385
|
+
${BaseOfferFieldsFragmentDoc}
|
|
3386
|
+
${BaseExchangeFieldsFragmentDoc}
|
|
2943
3387
|
`;
|
|
2944
|
-
export const
|
|
2945
|
-
fragment
|
|
3388
|
+
export const BaseBuyerFieldsFragmentDoc = gql`
|
|
3389
|
+
fragment BaseBuyerFields on Buyer {
|
|
2946
3390
|
id
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
3391
|
+
wallet
|
|
3392
|
+
active
|
|
3393
|
+
}
|
|
3394
|
+
`;
|
|
3395
|
+
export const ExchangeFieldsFragmentDoc = gql`
|
|
3396
|
+
fragment ExchangeFields on Exchange {
|
|
3397
|
+
...BaseExchangeFields
|
|
3398
|
+
buyer {
|
|
3399
|
+
...BaseBuyerFields
|
|
3400
|
+
}
|
|
3401
|
+
seller {
|
|
3402
|
+
...BaseSellerFields
|
|
3403
|
+
}
|
|
3404
|
+
offer {
|
|
3405
|
+
...BaseOfferFields
|
|
2953
3406
|
}
|
|
2954
|
-
accountId
|
|
2955
3407
|
}
|
|
3408
|
+
${BaseExchangeFieldsFragmentDoc}
|
|
3409
|
+
${BaseBuyerFieldsFragmentDoc}
|
|
3410
|
+
${BaseSellerFieldsFragmentDoc}
|
|
3411
|
+
${BaseOfferFieldsFragmentDoc}
|
|
2956
3412
|
`;
|
|
2957
|
-
export const
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
3413
|
+
export const OfferFieldsFragmentDoc = gql`
|
|
3414
|
+
fragment OfferFields on Offer {
|
|
3415
|
+
...BaseOfferFields
|
|
3416
|
+
exchanges(
|
|
3417
|
+
skip: $exchangesSkip
|
|
3418
|
+
first: $exchangesFirst
|
|
3419
|
+
orderBy: $exchangesOrderBy
|
|
3420
|
+
orderDirection: $exchangesOrderDirection
|
|
3421
|
+
where: $exchangesFilter
|
|
3422
|
+
) @include(if: $includeExchanges) {
|
|
3423
|
+
...BaseExchangeFields
|
|
2961
3424
|
}
|
|
2962
3425
|
}
|
|
2963
|
-
${
|
|
3426
|
+
${BaseOfferFieldsFragmentDoc}
|
|
3427
|
+
${BaseExchangeFieldsFragmentDoc}
|
|
2964
3428
|
`;
|
|
2965
|
-
export const
|
|
2966
|
-
query
|
|
2967
|
-
|
|
3429
|
+
export const GetSellerByIdQueryDocument = gql`
|
|
3430
|
+
query getSellerByIdQuery(
|
|
3431
|
+
$sellerId: ID!
|
|
3432
|
+
$fundsSkip: Int
|
|
3433
|
+
$fundsFirst: Int
|
|
3434
|
+
$fundsOrderBy: FundsEntity_orderBy
|
|
3435
|
+
$fundsOrderDirection: OrderDirection
|
|
3436
|
+
$fundsFilter: FundsEntity_filter
|
|
3437
|
+
$offersSkip: Int
|
|
3438
|
+
$offersFirst: Int
|
|
3439
|
+
$offersOrderBy: Offer_orderBy
|
|
3440
|
+
$offersOrderDirection: OrderDirection
|
|
3441
|
+
$offersFilter: Offer_filter
|
|
3442
|
+
$exchangesSkip: Int
|
|
3443
|
+
$exchangesFirst: Int
|
|
3444
|
+
$exchangesOrderBy: Exchange_orderBy
|
|
3445
|
+
$exchangesOrderDirection: OrderDirection
|
|
3446
|
+
$exchangesFilter: Exchange_filter
|
|
3447
|
+
$includeExchanges: Boolean = false
|
|
3448
|
+
$includeOffers: Boolean = false
|
|
3449
|
+
$includeFunds: Boolean = false
|
|
3450
|
+
) {
|
|
3451
|
+
seller(id: $sellerId) {
|
|
2968
3452
|
...SellerFields
|
|
2969
3453
|
}
|
|
2970
3454
|
}
|
|
2971
3455
|
${SellerFieldsFragmentDoc}
|
|
2972
3456
|
`;
|
|
2973
|
-
export const
|
|
2974
|
-
query
|
|
2975
|
-
|
|
3457
|
+
export const GetSellersQueryDocument = gql`
|
|
3458
|
+
query getSellersQuery(
|
|
3459
|
+
$sellersSkip: Int
|
|
3460
|
+
$sellersFirst: Int
|
|
3461
|
+
$sellersOrderBy: Seller_orderBy
|
|
3462
|
+
$sellersOrderDirection: OrderDirection
|
|
3463
|
+
$sellersFilter: Seller_filter
|
|
3464
|
+
$fundsSkip: Int
|
|
3465
|
+
$fundsFirst: Int
|
|
3466
|
+
$fundsOrderBy: FundsEntity_orderBy
|
|
3467
|
+
$fundsOrderDirection: OrderDirection
|
|
3468
|
+
$fundsFilter: FundsEntity_filter
|
|
3469
|
+
$offersSkip: Int
|
|
3470
|
+
$offersFirst: Int
|
|
3471
|
+
$offersOrderBy: Offer_orderBy
|
|
3472
|
+
$offersOrderDirection: OrderDirection
|
|
3473
|
+
$offersFilter: Offer_filter
|
|
3474
|
+
$exchangesSkip: Int
|
|
3475
|
+
$exchangesFirst: Int
|
|
3476
|
+
$exchangesOrderBy: Exchange_orderBy
|
|
3477
|
+
$exchangesOrderDirection: OrderDirection
|
|
3478
|
+
$exchangesFilter: Exchange_filter
|
|
3479
|
+
$includeExchanges: Boolean = false
|
|
3480
|
+
$includeOffers: Boolean = false
|
|
3481
|
+
$includeFunds: Boolean = false
|
|
3482
|
+
) {
|
|
3483
|
+
sellers(
|
|
3484
|
+
skip: $sellersSkip
|
|
3485
|
+
first: $sellersFirst
|
|
3486
|
+
orderBy: $sellersOrderBy
|
|
3487
|
+
orderDirection: $sellersOrderDirection
|
|
3488
|
+
where: $sellersFilter
|
|
3489
|
+
) {
|
|
2976
3490
|
...SellerFields
|
|
2977
3491
|
}
|
|
2978
3492
|
}
|
|
@@ -2986,59 +3500,92 @@ export const GetExchangeByIdQueryDocument = gql`
|
|
|
2986
3500
|
}
|
|
2987
3501
|
${ExchangeFieldsFragmentDoc}
|
|
2988
3502
|
`;
|
|
2989
|
-
export const
|
|
2990
|
-
query
|
|
2991
|
-
$
|
|
2992
|
-
$
|
|
2993
|
-
$
|
|
2994
|
-
$
|
|
2995
|
-
$
|
|
3503
|
+
export const GetExchangesQueryDocument = gql`
|
|
3504
|
+
query getExchangesQuery(
|
|
3505
|
+
$exchangesSkip: Int
|
|
3506
|
+
$exchangesFirst: Int
|
|
3507
|
+
$exchangesOrderBy: Exchange_orderBy
|
|
3508
|
+
$exchangesOrderDirection: OrderDirection
|
|
3509
|
+
$exchangesFilter: Exchange_filter
|
|
2996
3510
|
) {
|
|
2997
3511
|
exchanges(
|
|
2998
|
-
|
|
2999
|
-
first: $
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3512
|
+
skip: $exchangesSkip
|
|
3513
|
+
first: $exchangesFirst
|
|
3514
|
+
orderBy: $exchangesOrderBy
|
|
3515
|
+
orderDirection: $exchangesOrderDirection
|
|
3516
|
+
where: $exchangesFilter
|
|
3003
3517
|
) {
|
|
3004
3518
|
...ExchangeFields
|
|
3005
3519
|
}
|
|
3006
3520
|
}
|
|
3007
3521
|
${ExchangeFieldsFragmentDoc}
|
|
3008
3522
|
`;
|
|
3009
|
-
export const
|
|
3010
|
-
query
|
|
3011
|
-
|
|
3523
|
+
export const GetFundsByIdDocument = gql`
|
|
3524
|
+
query getFundsById($fundsId: ID!) {
|
|
3525
|
+
fundsEntity(id: $fundsId) {
|
|
3526
|
+
...FundsEntityFields
|
|
3527
|
+
}
|
|
3528
|
+
}
|
|
3529
|
+
${FundsEntityFieldsFragmentDoc}
|
|
3530
|
+
`;
|
|
3531
|
+
export const GetFundsDocument = gql`
|
|
3532
|
+
query getFunds(
|
|
3533
|
+
$fundsSkip: Int
|
|
3534
|
+
$fundsFirst: Int
|
|
3535
|
+
$fundsOrderBy: FundsEntity_orderBy
|
|
3536
|
+
$fundsOrderDirection: OrderDirection
|
|
3537
|
+
$fundsFilter: FundsEntity_filter
|
|
3538
|
+
) {
|
|
3539
|
+
fundsEntities(
|
|
3540
|
+
skip: $fundsSkip
|
|
3541
|
+
first: $fundsFirst
|
|
3542
|
+
orderBy: $fundsOrderBy
|
|
3543
|
+
orderDirection: $fundsOrderDirection
|
|
3544
|
+
where: $fundsFilter
|
|
3545
|
+
) {
|
|
3012
3546
|
...FundsEntityFields
|
|
3013
3547
|
}
|
|
3014
3548
|
}
|
|
3015
3549
|
${FundsEntityFieldsFragmentDoc}
|
|
3016
3550
|
`;
|
|
3017
3551
|
export const GetOfferByIdQueryDocument = gql`
|
|
3018
|
-
query getOfferByIdQuery(
|
|
3552
|
+
query getOfferByIdQuery(
|
|
3553
|
+
$offerId: ID!
|
|
3554
|
+
$exchangesSkip: Int
|
|
3555
|
+
$exchangesFirst: Int
|
|
3556
|
+
$exchangesOrderBy: Exchange_orderBy
|
|
3557
|
+
$exchangesOrderDirection: OrderDirection
|
|
3558
|
+
$exchangesFilter: Exchange_filter
|
|
3559
|
+
$includeExchanges: Boolean = false
|
|
3560
|
+
) {
|
|
3019
3561
|
offer(id: $offerId) {
|
|
3020
3562
|
...OfferFields
|
|
3021
3563
|
}
|
|
3022
3564
|
}
|
|
3023
3565
|
${OfferFieldsFragmentDoc}
|
|
3024
3566
|
`;
|
|
3025
|
-
export const
|
|
3026
|
-
query
|
|
3027
|
-
$
|
|
3028
|
-
$
|
|
3029
|
-
$
|
|
3030
|
-
$
|
|
3031
|
-
$
|
|
3567
|
+
export const GetOffersQueryDocument = gql`
|
|
3568
|
+
query getOffersQuery(
|
|
3569
|
+
$offersSkip: Int
|
|
3570
|
+
$offersFirst: Int
|
|
3571
|
+
$offersOrderBy: Offer_orderBy
|
|
3572
|
+
$offersOrderDirection: OrderDirection
|
|
3573
|
+
$offersFilter: Offer_filter
|
|
3574
|
+
$exchangesSkip: Int
|
|
3575
|
+
$exchangesFirst: Int
|
|
3576
|
+
$exchangesOrderBy: Exchange_orderBy
|
|
3577
|
+
$exchangesOrderDirection: OrderDirection
|
|
3578
|
+
$exchangesFilter: Exchange_filter
|
|
3579
|
+
$includeExchanges: Boolean = false
|
|
3032
3580
|
) {
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
}
|
|
3581
|
+
offers(
|
|
3582
|
+
skip: $offersSkip
|
|
3583
|
+
first: $offersFirst
|
|
3584
|
+
orderBy: $offersOrderBy
|
|
3585
|
+
orderDirection: $offersOrderDirection
|
|
3586
|
+
where: $offersFilter
|
|
3587
|
+
) {
|
|
3588
|
+
...OfferFields
|
|
3042
3589
|
}
|
|
3043
3590
|
}
|
|
3044
3591
|
${OfferFieldsFragmentDoc}
|
|
@@ -3061,48 +3608,33 @@ export function getSdk(
|
|
|
3061
3608
|
withWrapper: SdkFunctionWrapper = defaultWrapper
|
|
3062
3609
|
) {
|
|
3063
3610
|
return {
|
|
3064
|
-
|
|
3065
|
-
variables:
|
|
3066
|
-
requestHeaders?: Dom.RequestInit["headers"]
|
|
3067
|
-
): Promise<GetSellerByOperatorQueryQuery> {
|
|
3068
|
-
return withWrapper(
|
|
3069
|
-
(wrappedRequestHeaders) =>
|
|
3070
|
-
client.request<GetSellerByOperatorQueryQuery>(
|
|
3071
|
-
GetSellerByOperatorQueryDocument,
|
|
3072
|
-
variables,
|
|
3073
|
-
{ ...requestHeaders, ...wrappedRequestHeaders }
|
|
3074
|
-
),
|
|
3075
|
-
"getSellerByOperatorQuery",
|
|
3076
|
-
"query"
|
|
3077
|
-
);
|
|
3078
|
-
},
|
|
3079
|
-
getSellerByAdminQuery(
|
|
3080
|
-
variables: GetSellerByAdminQueryQueryVariables,
|
|
3611
|
+
getSellerByIdQuery(
|
|
3612
|
+
variables: GetSellerByIdQueryQueryVariables,
|
|
3081
3613
|
requestHeaders?: Dom.RequestInit["headers"]
|
|
3082
|
-
): Promise<
|
|
3614
|
+
): Promise<GetSellerByIdQueryQuery> {
|
|
3083
3615
|
return withWrapper(
|
|
3084
3616
|
(wrappedRequestHeaders) =>
|
|
3085
|
-
client.request<
|
|
3086
|
-
|
|
3617
|
+
client.request<GetSellerByIdQueryQuery>(
|
|
3618
|
+
GetSellerByIdQueryDocument,
|
|
3087
3619
|
variables,
|
|
3088
3620
|
{ ...requestHeaders, ...wrappedRequestHeaders }
|
|
3089
3621
|
),
|
|
3090
|
-
"
|
|
3622
|
+
"getSellerByIdQuery",
|
|
3091
3623
|
"query"
|
|
3092
3624
|
);
|
|
3093
3625
|
},
|
|
3094
|
-
|
|
3095
|
-
variables
|
|
3626
|
+
getSellersQuery(
|
|
3627
|
+
variables?: GetSellersQueryQueryVariables,
|
|
3096
3628
|
requestHeaders?: Dom.RequestInit["headers"]
|
|
3097
|
-
): Promise<
|
|
3629
|
+
): Promise<GetSellersQueryQuery> {
|
|
3098
3630
|
return withWrapper(
|
|
3099
3631
|
(wrappedRequestHeaders) =>
|
|
3100
|
-
client.request<
|
|
3101
|
-
|
|
3632
|
+
client.request<GetSellersQueryQuery>(
|
|
3633
|
+
GetSellersQueryDocument,
|
|
3102
3634
|
variables,
|
|
3103
3635
|
{ ...requestHeaders, ...wrappedRequestHeaders }
|
|
3104
3636
|
),
|
|
3105
|
-
"
|
|
3637
|
+
"getSellersQuery",
|
|
3106
3638
|
"query"
|
|
3107
3639
|
);
|
|
3108
3640
|
},
|
|
@@ -3121,33 +3653,46 @@ export function getSdk(
|
|
|
3121
3653
|
"query"
|
|
3122
3654
|
);
|
|
3123
3655
|
},
|
|
3124
|
-
|
|
3125
|
-
variables
|
|
3656
|
+
getExchangesQuery(
|
|
3657
|
+
variables?: GetExchangesQueryQueryVariables,
|
|
3126
3658
|
requestHeaders?: Dom.RequestInit["headers"]
|
|
3127
|
-
): Promise<
|
|
3659
|
+
): Promise<GetExchangesQueryQuery> {
|
|
3128
3660
|
return withWrapper(
|
|
3129
3661
|
(wrappedRequestHeaders) =>
|
|
3130
|
-
client.request<
|
|
3131
|
-
|
|
3662
|
+
client.request<GetExchangesQueryQuery>(
|
|
3663
|
+
GetExchangesQueryDocument,
|
|
3132
3664
|
variables,
|
|
3133
3665
|
{ ...requestHeaders, ...wrappedRequestHeaders }
|
|
3134
3666
|
),
|
|
3135
|
-
"
|
|
3667
|
+
"getExchangesQuery",
|
|
3136
3668
|
"query"
|
|
3137
3669
|
);
|
|
3138
3670
|
},
|
|
3139
|
-
|
|
3140
|
-
variables:
|
|
3671
|
+
getFundsById(
|
|
3672
|
+
variables: GetFundsByIdQueryVariables,
|
|
3141
3673
|
requestHeaders?: Dom.RequestInit["headers"]
|
|
3142
|
-
): Promise<
|
|
3674
|
+
): Promise<GetFundsByIdQuery> {
|
|
3143
3675
|
return withWrapper(
|
|
3144
3676
|
(wrappedRequestHeaders) =>
|
|
3145
|
-
client.request<
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
"
|
|
3677
|
+
client.request<GetFundsByIdQuery>(GetFundsByIdDocument, variables, {
|
|
3678
|
+
...requestHeaders,
|
|
3679
|
+
...wrappedRequestHeaders
|
|
3680
|
+
}),
|
|
3681
|
+
"getFundsById",
|
|
3682
|
+
"query"
|
|
3683
|
+
);
|
|
3684
|
+
},
|
|
3685
|
+
getFunds(
|
|
3686
|
+
variables?: GetFundsQueryVariables,
|
|
3687
|
+
requestHeaders?: Dom.RequestInit["headers"]
|
|
3688
|
+
): Promise<GetFundsQuery> {
|
|
3689
|
+
return withWrapper(
|
|
3690
|
+
(wrappedRequestHeaders) =>
|
|
3691
|
+
client.request<GetFundsQuery>(GetFundsDocument, variables, {
|
|
3692
|
+
...requestHeaders,
|
|
3693
|
+
...wrappedRequestHeaders
|
|
3694
|
+
}),
|
|
3695
|
+
"getFunds",
|
|
3151
3696
|
"query"
|
|
3152
3697
|
);
|
|
3153
3698
|
},
|
|
@@ -3166,18 +3711,18 @@ export function getSdk(
|
|
|
3166
3711
|
"query"
|
|
3167
3712
|
);
|
|
3168
3713
|
},
|
|
3169
|
-
|
|
3170
|
-
variables
|
|
3714
|
+
getOffersQuery(
|
|
3715
|
+
variables?: GetOffersQueryQueryVariables,
|
|
3171
3716
|
requestHeaders?: Dom.RequestInit["headers"]
|
|
3172
|
-
): Promise<
|
|
3717
|
+
): Promise<GetOffersQueryQuery> {
|
|
3173
3718
|
return withWrapper(
|
|
3174
3719
|
(wrappedRequestHeaders) =>
|
|
3175
|
-
client.request<
|
|
3176
|
-
|
|
3720
|
+
client.request<GetOffersQueryQuery>(
|
|
3721
|
+
GetOffersQueryDocument,
|
|
3177
3722
|
variables,
|
|
3178
3723
|
{ ...requestHeaders, ...wrappedRequestHeaders }
|
|
3179
3724
|
),
|
|
3180
|
-
"
|
|
3725
|
+
"getOffersQuery",
|
|
3181
3726
|
"query"
|
|
3182
3727
|
);
|
|
3183
3728
|
}
|