@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/dist/cjs/subgraph.d.ts
CHANGED
|
@@ -377,16 +377,19 @@ export declare enum DisputeResolver_OrderBy {
|
|
|
377
377
|
export declare type Exchange = {
|
|
378
378
|
__typename?: "Exchange";
|
|
379
379
|
buyer: Buyer;
|
|
380
|
+
cancelledDate?: Maybe<Scalars["BigInt"]>;
|
|
380
381
|
committedDate: Scalars["BigInt"];
|
|
382
|
+
completedDate?: Maybe<Scalars["BigInt"]>;
|
|
381
383
|
disputed: Scalars["Boolean"];
|
|
382
384
|
expired: Scalars["Boolean"];
|
|
383
385
|
finalizedDate?: Maybe<Scalars["BigInt"]>;
|
|
384
386
|
id: Scalars["ID"];
|
|
385
387
|
offer: Offer;
|
|
386
388
|
redeemedDate?: Maybe<Scalars["BigInt"]>;
|
|
389
|
+
revokedDate?: Maybe<Scalars["BigInt"]>;
|
|
387
390
|
seller: Seller;
|
|
388
391
|
state: ExchangeState;
|
|
389
|
-
validUntilDate
|
|
392
|
+
validUntilDate: Scalars["BigInt"];
|
|
390
393
|
};
|
|
391
394
|
/**
|
|
392
395
|
* Exchange and Voucher
|
|
@@ -529,6 +532,14 @@ export declare type Exchange_Filter = {
|
|
|
529
532
|
buyer_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
|
|
530
533
|
buyer_starts_with?: InputMaybe<Scalars["String"]>;
|
|
531
534
|
buyer_starts_with_nocase?: InputMaybe<Scalars["String"]>;
|
|
535
|
+
cancelledDate?: InputMaybe<Scalars["BigInt"]>;
|
|
536
|
+
cancelledDate_gt?: InputMaybe<Scalars["BigInt"]>;
|
|
537
|
+
cancelledDate_gte?: InputMaybe<Scalars["BigInt"]>;
|
|
538
|
+
cancelledDate_in?: InputMaybe<Array<Scalars["BigInt"]>>;
|
|
539
|
+
cancelledDate_lt?: InputMaybe<Scalars["BigInt"]>;
|
|
540
|
+
cancelledDate_lte?: InputMaybe<Scalars["BigInt"]>;
|
|
541
|
+
cancelledDate_not?: InputMaybe<Scalars["BigInt"]>;
|
|
542
|
+
cancelledDate_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
|
|
532
543
|
committedDate?: InputMaybe<Scalars["BigInt"]>;
|
|
533
544
|
committedDate_gt?: InputMaybe<Scalars["BigInt"]>;
|
|
534
545
|
committedDate_gte?: InputMaybe<Scalars["BigInt"]>;
|
|
@@ -537,6 +548,14 @@ export declare type Exchange_Filter = {
|
|
|
537
548
|
committedDate_lte?: InputMaybe<Scalars["BigInt"]>;
|
|
538
549
|
committedDate_not?: InputMaybe<Scalars["BigInt"]>;
|
|
539
550
|
committedDate_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
|
|
551
|
+
completedDate?: InputMaybe<Scalars["BigInt"]>;
|
|
552
|
+
completedDate_gt?: InputMaybe<Scalars["BigInt"]>;
|
|
553
|
+
completedDate_gte?: InputMaybe<Scalars["BigInt"]>;
|
|
554
|
+
completedDate_in?: InputMaybe<Array<Scalars["BigInt"]>>;
|
|
555
|
+
completedDate_lt?: InputMaybe<Scalars["BigInt"]>;
|
|
556
|
+
completedDate_lte?: InputMaybe<Scalars["BigInt"]>;
|
|
557
|
+
completedDate_not?: InputMaybe<Scalars["BigInt"]>;
|
|
558
|
+
completedDate_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
|
|
540
559
|
disputed?: InputMaybe<Scalars["Boolean"]>;
|
|
541
560
|
disputed_in?: InputMaybe<Array<Scalars["Boolean"]>>;
|
|
542
561
|
disputed_not?: InputMaybe<Scalars["Boolean"]>;
|
|
@@ -589,6 +608,14 @@ export declare type Exchange_Filter = {
|
|
|
589
608
|
redeemedDate_lte?: InputMaybe<Scalars["BigInt"]>;
|
|
590
609
|
redeemedDate_not?: InputMaybe<Scalars["BigInt"]>;
|
|
591
610
|
redeemedDate_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
|
|
611
|
+
revokedDate?: InputMaybe<Scalars["BigInt"]>;
|
|
612
|
+
revokedDate_gt?: InputMaybe<Scalars["BigInt"]>;
|
|
613
|
+
revokedDate_gte?: InputMaybe<Scalars["BigInt"]>;
|
|
614
|
+
revokedDate_in?: InputMaybe<Array<Scalars["BigInt"]>>;
|
|
615
|
+
revokedDate_lt?: InputMaybe<Scalars["BigInt"]>;
|
|
616
|
+
revokedDate_lte?: InputMaybe<Scalars["BigInt"]>;
|
|
617
|
+
revokedDate_not?: InputMaybe<Scalars["BigInt"]>;
|
|
618
|
+
revokedDate_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
|
|
592
619
|
seller?: InputMaybe<Scalars["String"]>;
|
|
593
620
|
seller_contains?: InputMaybe<Scalars["String"]>;
|
|
594
621
|
seller_contains_nocase?: InputMaybe<Scalars["String"]>;
|
|
@@ -624,13 +651,16 @@ export declare type Exchange_Filter = {
|
|
|
624
651
|
};
|
|
625
652
|
export declare enum Exchange_OrderBy {
|
|
626
653
|
Buyer = "buyer",
|
|
654
|
+
CancelledDate = "cancelledDate",
|
|
627
655
|
CommittedDate = "committedDate",
|
|
656
|
+
CompletedDate = "completedDate",
|
|
628
657
|
Disputed = "disputed",
|
|
629
658
|
Expired = "expired",
|
|
630
659
|
FinalizedDate = "finalizedDate",
|
|
631
660
|
Id = "id",
|
|
632
661
|
Offer = "offer",
|
|
633
662
|
RedeemedDate = "redeemedDate",
|
|
663
|
+
RevokedDate = "revokedDate",
|
|
634
664
|
Seller = "seller",
|
|
635
665
|
State = "state",
|
|
636
666
|
ValidUntilDate = "validUntilDate"
|
|
@@ -2150,13 +2180,30 @@ export declare enum _SubgraphErrorPolicy_ {
|
|
|
2150
2180
|
/** If the subgraph has indexing errors, data will be omitted. The default. */
|
|
2151
2181
|
Deny = "deny"
|
|
2152
2182
|
}
|
|
2153
|
-
export declare type
|
|
2154
|
-
|
|
2155
|
-
|
|
2183
|
+
export declare type GetSellerByIdQueryQueryVariables = Exact<{
|
|
2184
|
+
sellerId: Scalars["ID"];
|
|
2185
|
+
fundsSkip?: InputMaybe<Scalars["Int"]>;
|
|
2186
|
+
fundsFirst?: InputMaybe<Scalars["Int"]>;
|
|
2187
|
+
fundsOrderBy?: InputMaybe<FundsEntity_OrderBy>;
|
|
2188
|
+
fundsOrderDirection?: InputMaybe<OrderDirection>;
|
|
2189
|
+
fundsFilter?: InputMaybe<FundsEntity_Filter>;
|
|
2190
|
+
offersSkip?: InputMaybe<Scalars["Int"]>;
|
|
2191
|
+
offersFirst?: InputMaybe<Scalars["Int"]>;
|
|
2192
|
+
offersOrderBy?: InputMaybe<Offer_OrderBy>;
|
|
2193
|
+
offersOrderDirection?: InputMaybe<OrderDirection>;
|
|
2194
|
+
offersFilter?: InputMaybe<Offer_Filter>;
|
|
2195
|
+
exchangesSkip?: InputMaybe<Scalars["Int"]>;
|
|
2196
|
+
exchangesFirst?: InputMaybe<Scalars["Int"]>;
|
|
2197
|
+
exchangesOrderBy?: InputMaybe<Exchange_OrderBy>;
|
|
2198
|
+
exchangesOrderDirection?: InputMaybe<OrderDirection>;
|
|
2199
|
+
exchangesFilter?: InputMaybe<Exchange_Filter>;
|
|
2200
|
+
includeExchanges?: InputMaybe<Scalars["Boolean"]>;
|
|
2201
|
+
includeOffers?: InputMaybe<Scalars["Boolean"]>;
|
|
2202
|
+
includeFunds?: InputMaybe<Scalars["Boolean"]>;
|
|
2156
2203
|
}>;
|
|
2157
|
-
export declare type
|
|
2204
|
+
export declare type GetSellerByIdQueryQuery = {
|
|
2158
2205
|
__typename?: "Query";
|
|
2159
|
-
|
|
2206
|
+
seller?: {
|
|
2160
2207
|
__typename?: "Seller";
|
|
2161
2208
|
id: string;
|
|
2162
2209
|
operator: string;
|
|
@@ -2164,51 +2211,113 @@ export declare type GetSellerByOperatorQueryQuery = {
|
|
|
2164
2211
|
clerk: string;
|
|
2165
2212
|
treasury: string;
|
|
2166
2213
|
active: boolean;
|
|
2167
|
-
funds
|
|
2214
|
+
funds?: Array<{
|
|
2168
2215
|
__typename?: "FundsEntity";
|
|
2216
|
+
id: string;
|
|
2169
2217
|
availableAmount: string;
|
|
2218
|
+
accountId: string;
|
|
2170
2219
|
token: {
|
|
2171
2220
|
__typename?: "ExchangeToken";
|
|
2172
2221
|
address: string;
|
|
2173
|
-
decimals: string;
|
|
2174
2222
|
name: string;
|
|
2175
2223
|
symbol: string;
|
|
2224
|
+
decimals: string;
|
|
2176
2225
|
};
|
|
2177
2226
|
}>;
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2227
|
+
offers?: Array<{
|
|
2228
|
+
__typename?: "Offer";
|
|
2229
|
+
id: string;
|
|
2230
|
+
createdAt: string;
|
|
2231
|
+
price: string;
|
|
2232
|
+
sellerDeposit: string;
|
|
2233
|
+
protocolFee: string;
|
|
2234
|
+
buyerCancelPenalty: string;
|
|
2235
|
+
quantityAvailable: string;
|
|
2236
|
+
quantityInitial: string;
|
|
2237
|
+
validFromDate: string;
|
|
2238
|
+
validUntilDate: string;
|
|
2239
|
+
voucherRedeemableFromDate: string;
|
|
2240
|
+
voucherRedeemableUntilDate: string;
|
|
2241
|
+
fulfillmentPeriodDuration: string;
|
|
2242
|
+
voucherValidDuration: string;
|
|
2243
|
+
resolutionPeriodDuration: string;
|
|
2244
|
+
metadataUri: string;
|
|
2245
|
+
offerChecksum: string;
|
|
2246
|
+
voidedAt?: string | null;
|
|
2247
|
+
disputeResolverId: string;
|
|
2248
|
+
seller: {
|
|
2249
|
+
__typename?: "Seller";
|
|
2250
|
+
id: string;
|
|
2251
|
+
operator: string;
|
|
2252
|
+
admin: string;
|
|
2253
|
+
clerk: string;
|
|
2254
|
+
treasury: string;
|
|
2255
|
+
active: boolean;
|
|
2256
|
+
};
|
|
2257
|
+
exchangeToken: {
|
|
2198
2258
|
__typename?: "ExchangeToken";
|
|
2199
2259
|
address: string;
|
|
2200
2260
|
decimals: string;
|
|
2201
2261
|
name: string;
|
|
2202
2262
|
symbol: string;
|
|
2203
2263
|
};
|
|
2264
|
+
metadata?: {
|
|
2265
|
+
__typename?: "BaseMetadataEntity";
|
|
2266
|
+
name?: string | null;
|
|
2267
|
+
description?: string | null;
|
|
2268
|
+
externalUrl?: string | null;
|
|
2269
|
+
schemaUrl?: string | null;
|
|
2270
|
+
type: MetadataType;
|
|
2271
|
+
} | {
|
|
2272
|
+
__typename?: "ProductV1MetadataEntity";
|
|
2273
|
+
name?: string | null;
|
|
2274
|
+
description?: string | null;
|
|
2275
|
+
externalUrl?: string | null;
|
|
2276
|
+
schemaUrl?: string | null;
|
|
2277
|
+
type: MetadataType;
|
|
2278
|
+
} | null;
|
|
2204
2279
|
}>;
|
|
2205
|
-
|
|
2280
|
+
exchanges?: Array<{
|
|
2281
|
+
__typename?: "Exchange";
|
|
2282
|
+
id: string;
|
|
2283
|
+
disputed: boolean;
|
|
2284
|
+
state: ExchangeState;
|
|
2285
|
+
committedDate: string;
|
|
2286
|
+
finalizedDate?: string | null;
|
|
2287
|
+
validUntilDate: string;
|
|
2288
|
+
redeemedDate?: string | null;
|
|
2289
|
+
revokedDate?: string | null;
|
|
2290
|
+
cancelledDate?: string | null;
|
|
2291
|
+
expired: boolean;
|
|
2292
|
+
}>;
|
|
2293
|
+
} | null;
|
|
2206
2294
|
};
|
|
2207
|
-
export declare type
|
|
2208
|
-
|
|
2209
|
-
|
|
2295
|
+
export declare type GetSellersQueryQueryVariables = Exact<{
|
|
2296
|
+
sellersSkip?: InputMaybe<Scalars["Int"]>;
|
|
2297
|
+
sellersFirst?: InputMaybe<Scalars["Int"]>;
|
|
2298
|
+
sellersOrderBy?: InputMaybe<Seller_OrderBy>;
|
|
2299
|
+
sellersOrderDirection?: InputMaybe<OrderDirection>;
|
|
2300
|
+
sellersFilter?: InputMaybe<Seller_Filter>;
|
|
2301
|
+
fundsSkip?: InputMaybe<Scalars["Int"]>;
|
|
2302
|
+
fundsFirst?: InputMaybe<Scalars["Int"]>;
|
|
2303
|
+
fundsOrderBy?: InputMaybe<FundsEntity_OrderBy>;
|
|
2304
|
+
fundsOrderDirection?: InputMaybe<OrderDirection>;
|
|
2305
|
+
fundsFilter?: InputMaybe<FundsEntity_Filter>;
|
|
2306
|
+
offersSkip?: InputMaybe<Scalars["Int"]>;
|
|
2307
|
+
offersFirst?: InputMaybe<Scalars["Int"]>;
|
|
2308
|
+
offersOrderBy?: InputMaybe<Offer_OrderBy>;
|
|
2309
|
+
offersOrderDirection?: InputMaybe<OrderDirection>;
|
|
2310
|
+
offersFilter?: InputMaybe<Offer_Filter>;
|
|
2311
|
+
exchangesSkip?: InputMaybe<Scalars["Int"]>;
|
|
2312
|
+
exchangesFirst?: InputMaybe<Scalars["Int"]>;
|
|
2313
|
+
exchangesOrderBy?: InputMaybe<Exchange_OrderBy>;
|
|
2314
|
+
exchangesOrderDirection?: InputMaybe<OrderDirection>;
|
|
2315
|
+
exchangesFilter?: InputMaybe<Exchange_Filter>;
|
|
2316
|
+
includeExchanges?: InputMaybe<Scalars["Boolean"]>;
|
|
2317
|
+
includeOffers?: InputMaybe<Scalars["Boolean"]>;
|
|
2318
|
+
includeFunds?: InputMaybe<Scalars["Boolean"]>;
|
|
2210
2319
|
}>;
|
|
2211
|
-
export declare type
|
|
2320
|
+
export declare type GetSellersQueryQuery = {
|
|
2212
2321
|
__typename?: "Query";
|
|
2213
2322
|
sellers: Array<{
|
|
2214
2323
|
__typename?: "Seller";
|
|
@@ -2218,16 +2327,84 @@ export declare type GetSellerByClerkQueryQuery = {
|
|
|
2218
2327
|
clerk: string;
|
|
2219
2328
|
treasury: string;
|
|
2220
2329
|
active: boolean;
|
|
2221
|
-
funds
|
|
2330
|
+
funds?: Array<{
|
|
2222
2331
|
__typename?: "FundsEntity";
|
|
2332
|
+
id: string;
|
|
2223
2333
|
availableAmount: string;
|
|
2334
|
+
accountId: string;
|
|
2224
2335
|
token: {
|
|
2336
|
+
__typename?: "ExchangeToken";
|
|
2337
|
+
address: string;
|
|
2338
|
+
name: string;
|
|
2339
|
+
symbol: string;
|
|
2340
|
+
decimals: string;
|
|
2341
|
+
};
|
|
2342
|
+
}>;
|
|
2343
|
+
offers?: Array<{
|
|
2344
|
+
__typename?: "Offer";
|
|
2345
|
+
id: string;
|
|
2346
|
+
createdAt: string;
|
|
2347
|
+
price: string;
|
|
2348
|
+
sellerDeposit: string;
|
|
2349
|
+
protocolFee: string;
|
|
2350
|
+
buyerCancelPenalty: string;
|
|
2351
|
+
quantityAvailable: string;
|
|
2352
|
+
quantityInitial: string;
|
|
2353
|
+
validFromDate: string;
|
|
2354
|
+
validUntilDate: string;
|
|
2355
|
+
voucherRedeemableFromDate: string;
|
|
2356
|
+
voucherRedeemableUntilDate: string;
|
|
2357
|
+
fulfillmentPeriodDuration: string;
|
|
2358
|
+
voucherValidDuration: string;
|
|
2359
|
+
resolutionPeriodDuration: string;
|
|
2360
|
+
metadataUri: string;
|
|
2361
|
+
offerChecksum: string;
|
|
2362
|
+
voidedAt?: string | null;
|
|
2363
|
+
disputeResolverId: string;
|
|
2364
|
+
seller: {
|
|
2365
|
+
__typename?: "Seller";
|
|
2366
|
+
id: string;
|
|
2367
|
+
operator: string;
|
|
2368
|
+
admin: string;
|
|
2369
|
+
clerk: string;
|
|
2370
|
+
treasury: string;
|
|
2371
|
+
active: boolean;
|
|
2372
|
+
};
|
|
2373
|
+
exchangeToken: {
|
|
2225
2374
|
__typename?: "ExchangeToken";
|
|
2226
2375
|
address: string;
|
|
2227
2376
|
decimals: string;
|
|
2228
2377
|
name: string;
|
|
2229
2378
|
symbol: string;
|
|
2230
2379
|
};
|
|
2380
|
+
metadata?: {
|
|
2381
|
+
__typename?: "BaseMetadataEntity";
|
|
2382
|
+
name?: string | null;
|
|
2383
|
+
description?: string | null;
|
|
2384
|
+
externalUrl?: string | null;
|
|
2385
|
+
schemaUrl?: string | null;
|
|
2386
|
+
type: MetadataType;
|
|
2387
|
+
} | {
|
|
2388
|
+
__typename?: "ProductV1MetadataEntity";
|
|
2389
|
+
name?: string | null;
|
|
2390
|
+
description?: string | null;
|
|
2391
|
+
externalUrl?: string | null;
|
|
2392
|
+
schemaUrl?: string | null;
|
|
2393
|
+
type: MetadataType;
|
|
2394
|
+
} | null;
|
|
2395
|
+
}>;
|
|
2396
|
+
exchanges?: Array<{
|
|
2397
|
+
__typename?: "Exchange";
|
|
2398
|
+
id: string;
|
|
2399
|
+
disputed: boolean;
|
|
2400
|
+
state: ExchangeState;
|
|
2401
|
+
committedDate: string;
|
|
2402
|
+
finalizedDate?: string | null;
|
|
2403
|
+
validUntilDate: string;
|
|
2404
|
+
redeemedDate?: string | null;
|
|
2405
|
+
revokedDate?: string | null;
|
|
2406
|
+
cancelledDate?: string | null;
|
|
2407
|
+
expired: boolean;
|
|
2231
2408
|
}>;
|
|
2232
2409
|
}>;
|
|
2233
2410
|
};
|
|
@@ -2239,17 +2416,100 @@ export declare type SellerFieldsFragment = {
|
|
|
2239
2416
|
clerk: string;
|
|
2240
2417
|
treasury: string;
|
|
2241
2418
|
active: boolean;
|
|
2242
|
-
funds
|
|
2419
|
+
funds?: Array<{
|
|
2243
2420
|
__typename?: "FundsEntity";
|
|
2421
|
+
id: string;
|
|
2244
2422
|
availableAmount: string;
|
|
2423
|
+
accountId: string;
|
|
2245
2424
|
token: {
|
|
2425
|
+
__typename?: "ExchangeToken";
|
|
2426
|
+
address: string;
|
|
2427
|
+
name: string;
|
|
2428
|
+
symbol: string;
|
|
2429
|
+
decimals: string;
|
|
2430
|
+
};
|
|
2431
|
+
}>;
|
|
2432
|
+
offers?: Array<{
|
|
2433
|
+
__typename?: "Offer";
|
|
2434
|
+
id: string;
|
|
2435
|
+
createdAt: string;
|
|
2436
|
+
price: string;
|
|
2437
|
+
sellerDeposit: string;
|
|
2438
|
+
protocolFee: string;
|
|
2439
|
+
buyerCancelPenalty: string;
|
|
2440
|
+
quantityAvailable: string;
|
|
2441
|
+
quantityInitial: string;
|
|
2442
|
+
validFromDate: string;
|
|
2443
|
+
validUntilDate: string;
|
|
2444
|
+
voucherRedeemableFromDate: string;
|
|
2445
|
+
voucherRedeemableUntilDate: string;
|
|
2446
|
+
fulfillmentPeriodDuration: string;
|
|
2447
|
+
voucherValidDuration: string;
|
|
2448
|
+
resolutionPeriodDuration: string;
|
|
2449
|
+
metadataUri: string;
|
|
2450
|
+
offerChecksum: string;
|
|
2451
|
+
voidedAt?: string | null;
|
|
2452
|
+
disputeResolverId: string;
|
|
2453
|
+
seller: {
|
|
2454
|
+
__typename?: "Seller";
|
|
2455
|
+
id: string;
|
|
2456
|
+
operator: string;
|
|
2457
|
+
admin: string;
|
|
2458
|
+
clerk: string;
|
|
2459
|
+
treasury: string;
|
|
2460
|
+
active: boolean;
|
|
2461
|
+
};
|
|
2462
|
+
exchangeToken: {
|
|
2246
2463
|
__typename?: "ExchangeToken";
|
|
2247
2464
|
address: string;
|
|
2248
2465
|
decimals: string;
|
|
2249
2466
|
name: string;
|
|
2250
2467
|
symbol: string;
|
|
2251
2468
|
};
|
|
2469
|
+
metadata?: {
|
|
2470
|
+
__typename?: "BaseMetadataEntity";
|
|
2471
|
+
name?: string | null;
|
|
2472
|
+
description?: string | null;
|
|
2473
|
+
externalUrl?: string | null;
|
|
2474
|
+
schemaUrl?: string | null;
|
|
2475
|
+
type: MetadataType;
|
|
2476
|
+
} | {
|
|
2477
|
+
__typename?: "ProductV1MetadataEntity";
|
|
2478
|
+
name?: string | null;
|
|
2479
|
+
description?: string | null;
|
|
2480
|
+
externalUrl?: string | null;
|
|
2481
|
+
schemaUrl?: string | null;
|
|
2482
|
+
type: MetadataType;
|
|
2483
|
+
} | null;
|
|
2252
2484
|
}>;
|
|
2485
|
+
exchanges?: Array<{
|
|
2486
|
+
__typename?: "Exchange";
|
|
2487
|
+
id: string;
|
|
2488
|
+
disputed: boolean;
|
|
2489
|
+
state: ExchangeState;
|
|
2490
|
+
committedDate: string;
|
|
2491
|
+
finalizedDate?: string | null;
|
|
2492
|
+
validUntilDate: string;
|
|
2493
|
+
redeemedDate?: string | null;
|
|
2494
|
+
revokedDate?: string | null;
|
|
2495
|
+
cancelledDate?: string | null;
|
|
2496
|
+
expired: boolean;
|
|
2497
|
+
}>;
|
|
2498
|
+
};
|
|
2499
|
+
export declare type BaseSellerFieldsFragment = {
|
|
2500
|
+
__typename?: "Seller";
|
|
2501
|
+
id: string;
|
|
2502
|
+
operator: string;
|
|
2503
|
+
admin: string;
|
|
2504
|
+
clerk: string;
|
|
2505
|
+
treasury: string;
|
|
2506
|
+
active: boolean;
|
|
2507
|
+
};
|
|
2508
|
+
export declare type BaseBuyerFieldsFragment = {
|
|
2509
|
+
__typename?: "Buyer";
|
|
2510
|
+
id: string;
|
|
2511
|
+
wallet: string;
|
|
2512
|
+
active: boolean;
|
|
2253
2513
|
};
|
|
2254
2514
|
export declare type GetExchangeByIdQueryQueryVariables = Exact<{
|
|
2255
2515
|
exchangeId: Scalars["ID"];
|
|
@@ -2263,8 +2523,10 @@ export declare type GetExchangeByIdQueryQuery = {
|
|
|
2263
2523
|
state: ExchangeState;
|
|
2264
2524
|
committedDate: string;
|
|
2265
2525
|
finalizedDate?: string | null;
|
|
2266
|
-
validUntilDate
|
|
2526
|
+
validUntilDate: string;
|
|
2267
2527
|
redeemedDate?: string | null;
|
|
2528
|
+
revokedDate?: string | null;
|
|
2529
|
+
cancelledDate?: string | null;
|
|
2268
2530
|
expired: boolean;
|
|
2269
2531
|
buyer: {
|
|
2270
2532
|
__typename?: "Buyer";
|
|
@@ -2274,6 +2536,7 @@ export declare type GetExchangeByIdQueryQuery = {
|
|
|
2274
2536
|
};
|
|
2275
2537
|
seller: {
|
|
2276
2538
|
__typename?: "Seller";
|
|
2539
|
+
id: string;
|
|
2277
2540
|
operator: string;
|
|
2278
2541
|
admin: string;
|
|
2279
2542
|
clerk: string;
|
|
@@ -2335,14 +2598,14 @@ export declare type GetExchangeByIdQueryQuery = {
|
|
|
2335
2598
|
};
|
|
2336
2599
|
} | null;
|
|
2337
2600
|
};
|
|
2338
|
-
export declare type
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2601
|
+
export declare type GetExchangesQueryQueryVariables = Exact<{
|
|
2602
|
+
exchangesSkip?: InputMaybe<Scalars["Int"]>;
|
|
2603
|
+
exchangesFirst?: InputMaybe<Scalars["Int"]>;
|
|
2604
|
+
exchangesOrderBy?: InputMaybe<Exchange_OrderBy>;
|
|
2605
|
+
exchangesOrderDirection?: InputMaybe<OrderDirection>;
|
|
2606
|
+
exchangesFilter?: InputMaybe<Exchange_Filter>;
|
|
2344
2607
|
}>;
|
|
2345
|
-
export declare type
|
|
2608
|
+
export declare type GetExchangesQueryQuery = {
|
|
2346
2609
|
__typename?: "Query";
|
|
2347
2610
|
exchanges: Array<{
|
|
2348
2611
|
__typename?: "Exchange";
|
|
@@ -2351,8 +2614,10 @@ export declare type GetExchangesByOfferIdQuery = {
|
|
|
2351
2614
|
state: ExchangeState;
|
|
2352
2615
|
committedDate: string;
|
|
2353
2616
|
finalizedDate?: string | null;
|
|
2354
|
-
validUntilDate
|
|
2617
|
+
validUntilDate: string;
|
|
2355
2618
|
redeemedDate?: string | null;
|
|
2619
|
+
revokedDate?: string | null;
|
|
2620
|
+
cancelledDate?: string | null;
|
|
2356
2621
|
expired: boolean;
|
|
2357
2622
|
buyer: {
|
|
2358
2623
|
__typename?: "Buyer";
|
|
@@ -2362,6 +2627,7 @@ export declare type GetExchangesByOfferIdQuery = {
|
|
|
2362
2627
|
};
|
|
2363
2628
|
seller: {
|
|
2364
2629
|
__typename?: "Seller";
|
|
2630
|
+
id: string;
|
|
2365
2631
|
operator: string;
|
|
2366
2632
|
admin: string;
|
|
2367
2633
|
clerk: string;
|
|
@@ -2430,8 +2696,10 @@ export declare type ExchangeFieldsFragment = {
|
|
|
2430
2696
|
state: ExchangeState;
|
|
2431
2697
|
committedDate: string;
|
|
2432
2698
|
finalizedDate?: string | null;
|
|
2433
|
-
validUntilDate
|
|
2699
|
+
validUntilDate: string;
|
|
2434
2700
|
redeemedDate?: string | null;
|
|
2701
|
+
revokedDate?: string | null;
|
|
2702
|
+
cancelledDate?: string | null;
|
|
2435
2703
|
expired: boolean;
|
|
2436
2704
|
buyer: {
|
|
2437
2705
|
__typename?: "Buyer";
|
|
@@ -2441,6 +2709,7 @@ export declare type ExchangeFieldsFragment = {
|
|
|
2441
2709
|
};
|
|
2442
2710
|
seller: {
|
|
2443
2711
|
__typename?: "Seller";
|
|
2712
|
+
id: string;
|
|
2444
2713
|
operator: string;
|
|
2445
2714
|
admin: string;
|
|
2446
2715
|
clerk: string;
|
|
@@ -2501,10 +2770,46 @@ export declare type ExchangeFieldsFragment = {
|
|
|
2501
2770
|
} | null;
|
|
2502
2771
|
};
|
|
2503
2772
|
};
|
|
2504
|
-
export declare type
|
|
2505
|
-
|
|
2773
|
+
export declare type BaseExchangeFieldsFragment = {
|
|
2774
|
+
__typename?: "Exchange";
|
|
2775
|
+
id: string;
|
|
2776
|
+
disputed: boolean;
|
|
2777
|
+
state: ExchangeState;
|
|
2778
|
+
committedDate: string;
|
|
2779
|
+
finalizedDate?: string | null;
|
|
2780
|
+
validUntilDate: string;
|
|
2781
|
+
redeemedDate?: string | null;
|
|
2782
|
+
revokedDate?: string | null;
|
|
2783
|
+
cancelledDate?: string | null;
|
|
2784
|
+
expired: boolean;
|
|
2785
|
+
};
|
|
2786
|
+
export declare type GetFundsByIdQueryVariables = Exact<{
|
|
2787
|
+
fundsId: Scalars["ID"];
|
|
2788
|
+
}>;
|
|
2789
|
+
export declare type GetFundsByIdQuery = {
|
|
2790
|
+
__typename?: "Query";
|
|
2791
|
+
fundsEntity?: {
|
|
2792
|
+
__typename?: "FundsEntity";
|
|
2793
|
+
id: string;
|
|
2794
|
+
availableAmount: string;
|
|
2795
|
+
accountId: string;
|
|
2796
|
+
token: {
|
|
2797
|
+
__typename?: "ExchangeToken";
|
|
2798
|
+
address: string;
|
|
2799
|
+
name: string;
|
|
2800
|
+
symbol: string;
|
|
2801
|
+
decimals: string;
|
|
2802
|
+
};
|
|
2803
|
+
} | null;
|
|
2804
|
+
};
|
|
2805
|
+
export declare type GetFundsQueryVariables = Exact<{
|
|
2806
|
+
fundsSkip?: InputMaybe<Scalars["Int"]>;
|
|
2807
|
+
fundsFirst?: InputMaybe<Scalars["Int"]>;
|
|
2808
|
+
fundsOrderBy?: InputMaybe<FundsEntity_OrderBy>;
|
|
2809
|
+
fundsOrderDirection?: InputMaybe<OrderDirection>;
|
|
2810
|
+
fundsFilter?: InputMaybe<FundsEntity_Filter>;
|
|
2506
2811
|
}>;
|
|
2507
|
-
export declare type
|
|
2812
|
+
export declare type GetFundsQuery = {
|
|
2508
2813
|
__typename?: "Query";
|
|
2509
2814
|
fundsEntities: Array<{
|
|
2510
2815
|
__typename?: "FundsEntity";
|
|
@@ -2535,6 +2840,12 @@ export declare type FundsEntityFieldsFragment = {
|
|
|
2535
2840
|
};
|
|
2536
2841
|
export declare type GetOfferByIdQueryQueryVariables = Exact<{
|
|
2537
2842
|
offerId: Scalars["ID"];
|
|
2843
|
+
exchangesSkip?: InputMaybe<Scalars["Int"]>;
|
|
2844
|
+
exchangesFirst?: InputMaybe<Scalars["Int"]>;
|
|
2845
|
+
exchangesOrderBy?: InputMaybe<Exchange_OrderBy>;
|
|
2846
|
+
exchangesOrderDirection?: InputMaybe<OrderDirection>;
|
|
2847
|
+
exchangesFilter?: InputMaybe<Exchange_Filter>;
|
|
2848
|
+
includeExchanges?: InputMaybe<Scalars["Boolean"]>;
|
|
2538
2849
|
}>;
|
|
2539
2850
|
export declare type GetOfferByIdQueryQuery = {
|
|
2540
2851
|
__typename?: "Query";
|
|
@@ -2559,6 +2870,19 @@ export declare type GetOfferByIdQueryQuery = {
|
|
|
2559
2870
|
offerChecksum: string;
|
|
2560
2871
|
voidedAt?: string | null;
|
|
2561
2872
|
disputeResolverId: string;
|
|
2873
|
+
exchanges?: Array<{
|
|
2874
|
+
__typename?: "Exchange";
|
|
2875
|
+
id: string;
|
|
2876
|
+
disputed: boolean;
|
|
2877
|
+
state: ExchangeState;
|
|
2878
|
+
committedDate: string;
|
|
2879
|
+
finalizedDate?: string | null;
|
|
2880
|
+
validUntilDate: string;
|
|
2881
|
+
redeemedDate?: string | null;
|
|
2882
|
+
revokedDate?: string | null;
|
|
2883
|
+
cancelledDate?: string | null;
|
|
2884
|
+
expired: boolean;
|
|
2885
|
+
}>;
|
|
2562
2886
|
seller: {
|
|
2563
2887
|
__typename?: "Seller";
|
|
2564
2888
|
id: string;
|
|
@@ -2592,73 +2916,155 @@ export declare type GetOfferByIdQueryQuery = {
|
|
|
2592
2916
|
} | null;
|
|
2593
2917
|
} | null;
|
|
2594
2918
|
};
|
|
2595
|
-
export declare type
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2919
|
+
export declare type GetOffersQueryQueryVariables = Exact<{
|
|
2920
|
+
offersSkip?: InputMaybe<Scalars["Int"]>;
|
|
2921
|
+
offersFirst?: InputMaybe<Scalars["Int"]>;
|
|
2922
|
+
offersOrderBy?: InputMaybe<Offer_OrderBy>;
|
|
2923
|
+
offersOrderDirection?: InputMaybe<OrderDirection>;
|
|
2924
|
+
offersFilter?: InputMaybe<Offer_Filter>;
|
|
2925
|
+
exchangesSkip?: InputMaybe<Scalars["Int"]>;
|
|
2926
|
+
exchangesFirst?: InputMaybe<Scalars["Int"]>;
|
|
2927
|
+
exchangesOrderBy?: InputMaybe<Exchange_OrderBy>;
|
|
2928
|
+
exchangesOrderDirection?: InputMaybe<OrderDirection>;
|
|
2929
|
+
exchangesFilter?: InputMaybe<Exchange_Filter>;
|
|
2930
|
+
includeExchanges?: InputMaybe<Scalars["Boolean"]>;
|
|
2601
2931
|
}>;
|
|
2602
|
-
export declare type
|
|
2932
|
+
export declare type GetOffersQueryQuery = {
|
|
2603
2933
|
__typename?: "Query";
|
|
2604
|
-
|
|
2605
|
-
__typename?: "
|
|
2606
|
-
|
|
2607
|
-
|
|
2934
|
+
offers: Array<{
|
|
2935
|
+
__typename?: "Offer";
|
|
2936
|
+
id: string;
|
|
2937
|
+
createdAt: string;
|
|
2938
|
+
price: string;
|
|
2939
|
+
sellerDeposit: string;
|
|
2940
|
+
protocolFee: string;
|
|
2941
|
+
buyerCancelPenalty: string;
|
|
2942
|
+
quantityAvailable: string;
|
|
2943
|
+
quantityInitial: string;
|
|
2944
|
+
validFromDate: string;
|
|
2945
|
+
validUntilDate: string;
|
|
2946
|
+
voucherRedeemableFromDate: string;
|
|
2947
|
+
voucherRedeemableUntilDate: string;
|
|
2948
|
+
fulfillmentPeriodDuration: string;
|
|
2949
|
+
voucherValidDuration: string;
|
|
2950
|
+
resolutionPeriodDuration: string;
|
|
2951
|
+
metadataUri: string;
|
|
2952
|
+
offerChecksum: string;
|
|
2953
|
+
voidedAt?: string | null;
|
|
2954
|
+
disputeResolverId: string;
|
|
2955
|
+
exchanges?: Array<{
|
|
2956
|
+
__typename?: "Exchange";
|
|
2608
2957
|
id: string;
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
buyerCancelPenalty: string;
|
|
2614
|
-
quantityAvailable: string;
|
|
2615
|
-
quantityInitial: string;
|
|
2616
|
-
validFromDate: string;
|
|
2958
|
+
disputed: boolean;
|
|
2959
|
+
state: ExchangeState;
|
|
2960
|
+
committedDate: string;
|
|
2961
|
+
finalizedDate?: string | null;
|
|
2617
2962
|
validUntilDate: string;
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
resolutionPeriodDuration: string;
|
|
2623
|
-
metadataUri: string;
|
|
2624
|
-
offerChecksum: string;
|
|
2625
|
-
voidedAt?: string | null;
|
|
2626
|
-
disputeResolverId: string;
|
|
2627
|
-
seller: {
|
|
2628
|
-
__typename?: "Seller";
|
|
2629
|
-
id: string;
|
|
2630
|
-
operator: string;
|
|
2631
|
-
admin: string;
|
|
2632
|
-
clerk: string;
|
|
2633
|
-
treasury: string;
|
|
2634
|
-
active: boolean;
|
|
2635
|
-
};
|
|
2636
|
-
exchangeToken: {
|
|
2637
|
-
__typename?: "ExchangeToken";
|
|
2638
|
-
address: string;
|
|
2639
|
-
decimals: string;
|
|
2640
|
-
name: string;
|
|
2641
|
-
symbol: string;
|
|
2642
|
-
};
|
|
2643
|
-
metadata?: {
|
|
2644
|
-
__typename?: "BaseMetadataEntity";
|
|
2645
|
-
name?: string | null;
|
|
2646
|
-
description?: string | null;
|
|
2647
|
-
externalUrl?: string | null;
|
|
2648
|
-
schemaUrl?: string | null;
|
|
2649
|
-
type: MetadataType;
|
|
2650
|
-
} | {
|
|
2651
|
-
__typename?: "ProductV1MetadataEntity";
|
|
2652
|
-
name?: string | null;
|
|
2653
|
-
description?: string | null;
|
|
2654
|
-
externalUrl?: string | null;
|
|
2655
|
-
schemaUrl?: string | null;
|
|
2656
|
-
type: MetadataType;
|
|
2657
|
-
} | null;
|
|
2963
|
+
redeemedDate?: string | null;
|
|
2964
|
+
revokedDate?: string | null;
|
|
2965
|
+
cancelledDate?: string | null;
|
|
2966
|
+
expired: boolean;
|
|
2658
2967
|
}>;
|
|
2968
|
+
seller: {
|
|
2969
|
+
__typename?: "Seller";
|
|
2970
|
+
id: string;
|
|
2971
|
+
operator: string;
|
|
2972
|
+
admin: string;
|
|
2973
|
+
clerk: string;
|
|
2974
|
+
treasury: string;
|
|
2975
|
+
active: boolean;
|
|
2976
|
+
};
|
|
2977
|
+
exchangeToken: {
|
|
2978
|
+
__typename?: "ExchangeToken";
|
|
2979
|
+
address: string;
|
|
2980
|
+
decimals: string;
|
|
2981
|
+
name: string;
|
|
2982
|
+
symbol: string;
|
|
2983
|
+
};
|
|
2984
|
+
metadata?: {
|
|
2985
|
+
__typename?: "BaseMetadataEntity";
|
|
2986
|
+
name?: string | null;
|
|
2987
|
+
description?: string | null;
|
|
2988
|
+
externalUrl?: string | null;
|
|
2989
|
+
schemaUrl?: string | null;
|
|
2990
|
+
type: MetadataType;
|
|
2991
|
+
} | {
|
|
2992
|
+
__typename?: "ProductV1MetadataEntity";
|
|
2993
|
+
name?: string | null;
|
|
2994
|
+
description?: string | null;
|
|
2995
|
+
externalUrl?: string | null;
|
|
2996
|
+
schemaUrl?: string | null;
|
|
2997
|
+
type: MetadataType;
|
|
2998
|
+
} | null;
|
|
2659
2999
|
}>;
|
|
2660
3000
|
};
|
|
2661
3001
|
export declare type OfferFieldsFragment = {
|
|
3002
|
+
__typename?: "Offer";
|
|
3003
|
+
id: string;
|
|
3004
|
+
createdAt: string;
|
|
3005
|
+
price: string;
|
|
3006
|
+
sellerDeposit: string;
|
|
3007
|
+
protocolFee: string;
|
|
3008
|
+
buyerCancelPenalty: string;
|
|
3009
|
+
quantityAvailable: string;
|
|
3010
|
+
quantityInitial: string;
|
|
3011
|
+
validFromDate: string;
|
|
3012
|
+
validUntilDate: string;
|
|
3013
|
+
voucherRedeemableFromDate: string;
|
|
3014
|
+
voucherRedeemableUntilDate: string;
|
|
3015
|
+
fulfillmentPeriodDuration: string;
|
|
3016
|
+
voucherValidDuration: string;
|
|
3017
|
+
resolutionPeriodDuration: string;
|
|
3018
|
+
metadataUri: string;
|
|
3019
|
+
offerChecksum: string;
|
|
3020
|
+
voidedAt?: string | null;
|
|
3021
|
+
disputeResolverId: string;
|
|
3022
|
+
exchanges?: Array<{
|
|
3023
|
+
__typename?: "Exchange";
|
|
3024
|
+
id: string;
|
|
3025
|
+
disputed: boolean;
|
|
3026
|
+
state: ExchangeState;
|
|
3027
|
+
committedDate: string;
|
|
3028
|
+
finalizedDate?: string | null;
|
|
3029
|
+
validUntilDate: string;
|
|
3030
|
+
redeemedDate?: string | null;
|
|
3031
|
+
revokedDate?: string | null;
|
|
3032
|
+
cancelledDate?: string | null;
|
|
3033
|
+
expired: boolean;
|
|
3034
|
+
}>;
|
|
3035
|
+
seller: {
|
|
3036
|
+
__typename?: "Seller";
|
|
3037
|
+
id: string;
|
|
3038
|
+
operator: string;
|
|
3039
|
+
admin: string;
|
|
3040
|
+
clerk: string;
|
|
3041
|
+
treasury: string;
|
|
3042
|
+
active: boolean;
|
|
3043
|
+
};
|
|
3044
|
+
exchangeToken: {
|
|
3045
|
+
__typename?: "ExchangeToken";
|
|
3046
|
+
address: string;
|
|
3047
|
+
decimals: string;
|
|
3048
|
+
name: string;
|
|
3049
|
+
symbol: string;
|
|
3050
|
+
};
|
|
3051
|
+
metadata?: {
|
|
3052
|
+
__typename?: "BaseMetadataEntity";
|
|
3053
|
+
name?: string | null;
|
|
3054
|
+
description?: string | null;
|
|
3055
|
+
externalUrl?: string | null;
|
|
3056
|
+
schemaUrl?: string | null;
|
|
3057
|
+
type: MetadataType;
|
|
3058
|
+
} | {
|
|
3059
|
+
__typename?: "ProductV1MetadataEntity";
|
|
3060
|
+
name?: string | null;
|
|
3061
|
+
description?: string | null;
|
|
3062
|
+
externalUrl?: string | null;
|
|
3063
|
+
schemaUrl?: string | null;
|
|
3064
|
+
type: MetadataType;
|
|
3065
|
+
} | null;
|
|
3066
|
+
};
|
|
3067
|
+
export declare type BaseOfferFieldsFragment = {
|
|
2662
3068
|
__typename?: "Offer";
|
|
2663
3069
|
id: string;
|
|
2664
3070
|
createdAt: string;
|
|
@@ -2711,28 +3117,32 @@ export declare type OfferFieldsFragment = {
|
|
|
2711
3117
|
type: MetadataType;
|
|
2712
3118
|
} | null;
|
|
2713
3119
|
};
|
|
3120
|
+
export declare const BaseSellerFieldsFragmentDoc: string;
|
|
3121
|
+
export declare const FundsEntityFieldsFragmentDoc: string;
|
|
3122
|
+
export declare const BaseOfferFieldsFragmentDoc: string;
|
|
3123
|
+
export declare const BaseExchangeFieldsFragmentDoc: string;
|
|
2714
3124
|
export declare const SellerFieldsFragmentDoc: string;
|
|
2715
|
-
export declare const
|
|
3125
|
+
export declare const BaseBuyerFieldsFragmentDoc: string;
|
|
2716
3126
|
export declare const ExchangeFieldsFragmentDoc: string;
|
|
2717
|
-
export declare const
|
|
2718
|
-
export declare const
|
|
2719
|
-
export declare const
|
|
2720
|
-
export declare const GetSellerByClerkQueryDocument: string;
|
|
3127
|
+
export declare const OfferFieldsFragmentDoc: string;
|
|
3128
|
+
export declare const GetSellerByIdQueryDocument: string;
|
|
3129
|
+
export declare const GetSellersQueryDocument: string;
|
|
2721
3130
|
export declare const GetExchangeByIdQueryDocument: string;
|
|
2722
|
-
export declare const
|
|
2723
|
-
export declare const
|
|
3131
|
+
export declare const GetExchangesQueryDocument: string;
|
|
3132
|
+
export declare const GetFundsByIdDocument: string;
|
|
3133
|
+
export declare const GetFundsDocument: string;
|
|
2724
3134
|
export declare const GetOfferByIdQueryDocument: string;
|
|
2725
|
-
export declare const
|
|
3135
|
+
export declare const GetOffersQueryDocument: string;
|
|
2726
3136
|
export declare type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string) => Promise<T>;
|
|
2727
3137
|
export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
getSellerByClerkQuery(variables: GetSellerByClerkQueryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetSellerByClerkQueryQuery>;
|
|
3138
|
+
getSellerByIdQuery(variables: GetSellerByIdQueryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetSellerByIdQueryQuery>;
|
|
3139
|
+
getSellersQuery(variables?: GetSellersQueryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetSellersQueryQuery>;
|
|
2731
3140
|
getExchangeByIdQuery(variables: GetExchangeByIdQueryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetExchangeByIdQueryQuery>;
|
|
2732
|
-
|
|
2733
|
-
|
|
3141
|
+
getExchangesQuery(variables?: GetExchangesQueryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetExchangesQueryQuery>;
|
|
3142
|
+
getFundsById(variables: GetFundsByIdQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetFundsByIdQuery>;
|
|
3143
|
+
getFunds(variables?: GetFundsQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetFundsQuery>;
|
|
2734
3144
|
getOfferByIdQuery(variables: GetOfferByIdQueryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetOfferByIdQueryQuery>;
|
|
2735
|
-
|
|
3145
|
+
getOffersQuery(variables?: GetOffersQueryQueryVariables, requestHeaders?: Dom.RequestInit["headers"]): Promise<GetOffersQueryQuery>;
|
|
2736
3146
|
};
|
|
2737
3147
|
export declare type Sdk = ReturnType<typeof getSdk>;
|
|
2738
3148
|
//# sourceMappingURL=subgraph.d.ts.map
|