@bosonprotocol/core-sdk 1.14.0-alpha.8 → 1.14.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/subgraph.d.ts +166 -0
- package/dist/cjs/subgraph.d.ts.map +1 -1
- package/dist/cjs/subgraph.js +5 -0
- package/dist/cjs/subgraph.js.map +1 -1
- package/dist/esm/subgraph.d.ts +166 -0
- package/dist/esm/subgraph.d.ts.map +1 -1
- package/dist/esm/subgraph.js +5 -0
- package/dist/esm/subgraph.js.map +1 -1
- package/package.json +3 -3
- package/src/exchanges/queries.graphql +3 -0
- package/src/subgraph.ts +170 -0
package/dist/cjs/subgraph.d.ts
CHANGED
|
@@ -902,6 +902,7 @@ export declare type Exchange = {
|
|
|
902
902
|
cancelledDate?: Maybe<Scalars["BigInt"]>;
|
|
903
903
|
committedDate: Scalars["BigInt"];
|
|
904
904
|
completedDate?: Maybe<Scalars["BigInt"]>;
|
|
905
|
+
dispute?: Maybe<Dispute>;
|
|
905
906
|
disputed: Scalars["Boolean"];
|
|
906
907
|
disputedDate?: Maybe<Scalars["BigInt"]>;
|
|
907
908
|
expired: Scalars["Boolean"];
|
|
@@ -1080,6 +1081,26 @@ export declare type Exchange_Filter = {
|
|
|
1080
1081
|
completedDate_lte?: InputMaybe<Scalars["BigInt"]>;
|
|
1081
1082
|
completedDate_not?: InputMaybe<Scalars["BigInt"]>;
|
|
1082
1083
|
completedDate_not_in?: InputMaybe<Array<Scalars["BigInt"]>>;
|
|
1084
|
+
dispute?: InputMaybe<Scalars["String"]>;
|
|
1085
|
+
dispute_contains?: InputMaybe<Scalars["String"]>;
|
|
1086
|
+
dispute_contains_nocase?: InputMaybe<Scalars["String"]>;
|
|
1087
|
+
dispute_ends_with?: InputMaybe<Scalars["String"]>;
|
|
1088
|
+
dispute_ends_with_nocase?: InputMaybe<Scalars["String"]>;
|
|
1089
|
+
dispute_gt?: InputMaybe<Scalars["String"]>;
|
|
1090
|
+
dispute_gte?: InputMaybe<Scalars["String"]>;
|
|
1091
|
+
dispute_in?: InputMaybe<Array<Scalars["String"]>>;
|
|
1092
|
+
dispute_lt?: InputMaybe<Scalars["String"]>;
|
|
1093
|
+
dispute_lte?: InputMaybe<Scalars["String"]>;
|
|
1094
|
+
dispute_not?: InputMaybe<Scalars["String"]>;
|
|
1095
|
+
dispute_not_contains?: InputMaybe<Scalars["String"]>;
|
|
1096
|
+
dispute_not_contains_nocase?: InputMaybe<Scalars["String"]>;
|
|
1097
|
+
dispute_not_ends_with?: InputMaybe<Scalars["String"]>;
|
|
1098
|
+
dispute_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
|
|
1099
|
+
dispute_not_in?: InputMaybe<Array<Scalars["String"]>>;
|
|
1100
|
+
dispute_not_starts_with?: InputMaybe<Scalars["String"]>;
|
|
1101
|
+
dispute_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
|
|
1102
|
+
dispute_starts_with?: InputMaybe<Scalars["String"]>;
|
|
1103
|
+
dispute_starts_with_nocase?: InputMaybe<Scalars["String"]>;
|
|
1083
1104
|
disputed?: InputMaybe<Scalars["Boolean"]>;
|
|
1084
1105
|
disputedDate?: InputMaybe<Scalars["BigInt"]>;
|
|
1085
1106
|
disputedDate_gt?: InputMaybe<Scalars["BigInt"]>;
|
|
@@ -1186,6 +1207,7 @@ export declare enum Exchange_OrderBy {
|
|
|
1186
1207
|
CancelledDate = "cancelledDate",
|
|
1187
1208
|
CommittedDate = "committedDate",
|
|
1188
1209
|
CompletedDate = "completedDate",
|
|
1210
|
+
Dispute = "dispute",
|
|
1189
1211
|
Disputed = "disputed",
|
|
1190
1212
|
DisputedDate = "disputedDate",
|
|
1191
1213
|
Expired = "expired",
|
|
@@ -8836,6 +8858,54 @@ export declare type GetExchangeByIdQueryQuery = {
|
|
|
8836
8858
|
} | null;
|
|
8837
8859
|
} | null;
|
|
8838
8860
|
};
|
|
8861
|
+
dispute?: {
|
|
8862
|
+
__typename?: "Dispute";
|
|
8863
|
+
id: string;
|
|
8864
|
+
exchangeId: string;
|
|
8865
|
+
state: DisputeState;
|
|
8866
|
+
buyerPercent: string;
|
|
8867
|
+
disputedDate: string;
|
|
8868
|
+
escalatedDate?: string | null;
|
|
8869
|
+
finalizedDate?: string | null;
|
|
8870
|
+
retractedDate?: string | null;
|
|
8871
|
+
resolvedDate?: string | null;
|
|
8872
|
+
decidedDate?: string | null;
|
|
8873
|
+
refusedDate?: string | null;
|
|
8874
|
+
timeout: string;
|
|
8875
|
+
exchange: {
|
|
8876
|
+
__typename?: "Exchange";
|
|
8877
|
+
id: string;
|
|
8878
|
+
disputed: boolean;
|
|
8879
|
+
state: ExchangeState;
|
|
8880
|
+
committedDate: string;
|
|
8881
|
+
finalizedDate?: string | null;
|
|
8882
|
+
validUntilDate: string;
|
|
8883
|
+
redeemedDate?: string | null;
|
|
8884
|
+
revokedDate?: string | null;
|
|
8885
|
+
cancelledDate?: string | null;
|
|
8886
|
+
completedDate?: string | null;
|
|
8887
|
+
disputedDate?: string | null;
|
|
8888
|
+
expired: boolean;
|
|
8889
|
+
};
|
|
8890
|
+
seller: {
|
|
8891
|
+
__typename?: "Seller";
|
|
8892
|
+
id: string;
|
|
8893
|
+
operator: string;
|
|
8894
|
+
admin: string;
|
|
8895
|
+
clerk: string;
|
|
8896
|
+
treasury: string;
|
|
8897
|
+
authTokenId: string;
|
|
8898
|
+
authTokenType: number;
|
|
8899
|
+
voucherCloneAddress: string;
|
|
8900
|
+
active: boolean;
|
|
8901
|
+
};
|
|
8902
|
+
buyer: {
|
|
8903
|
+
__typename?: "Buyer";
|
|
8904
|
+
id: string;
|
|
8905
|
+
wallet: string;
|
|
8906
|
+
active: boolean;
|
|
8907
|
+
};
|
|
8908
|
+
} | null;
|
|
8839
8909
|
} | null;
|
|
8840
8910
|
};
|
|
8841
8911
|
export declare type GetExchangesQueryQueryVariables = Exact<{
|
|
@@ -9127,6 +9197,54 @@ export declare type GetExchangesQueryQuery = {
|
|
|
9127
9197
|
} | null;
|
|
9128
9198
|
} | null;
|
|
9129
9199
|
};
|
|
9200
|
+
dispute?: {
|
|
9201
|
+
__typename?: "Dispute";
|
|
9202
|
+
id: string;
|
|
9203
|
+
exchangeId: string;
|
|
9204
|
+
state: DisputeState;
|
|
9205
|
+
buyerPercent: string;
|
|
9206
|
+
disputedDate: string;
|
|
9207
|
+
escalatedDate?: string | null;
|
|
9208
|
+
finalizedDate?: string | null;
|
|
9209
|
+
retractedDate?: string | null;
|
|
9210
|
+
resolvedDate?: string | null;
|
|
9211
|
+
decidedDate?: string | null;
|
|
9212
|
+
refusedDate?: string | null;
|
|
9213
|
+
timeout: string;
|
|
9214
|
+
exchange: {
|
|
9215
|
+
__typename?: "Exchange";
|
|
9216
|
+
id: string;
|
|
9217
|
+
disputed: boolean;
|
|
9218
|
+
state: ExchangeState;
|
|
9219
|
+
committedDate: string;
|
|
9220
|
+
finalizedDate?: string | null;
|
|
9221
|
+
validUntilDate: string;
|
|
9222
|
+
redeemedDate?: string | null;
|
|
9223
|
+
revokedDate?: string | null;
|
|
9224
|
+
cancelledDate?: string | null;
|
|
9225
|
+
completedDate?: string | null;
|
|
9226
|
+
disputedDate?: string | null;
|
|
9227
|
+
expired: boolean;
|
|
9228
|
+
};
|
|
9229
|
+
seller: {
|
|
9230
|
+
__typename?: "Seller";
|
|
9231
|
+
id: string;
|
|
9232
|
+
operator: string;
|
|
9233
|
+
admin: string;
|
|
9234
|
+
clerk: string;
|
|
9235
|
+
treasury: string;
|
|
9236
|
+
authTokenId: string;
|
|
9237
|
+
authTokenType: number;
|
|
9238
|
+
voucherCloneAddress: string;
|
|
9239
|
+
active: boolean;
|
|
9240
|
+
};
|
|
9241
|
+
buyer: {
|
|
9242
|
+
__typename?: "Buyer";
|
|
9243
|
+
id: string;
|
|
9244
|
+
wallet: string;
|
|
9245
|
+
active: boolean;
|
|
9246
|
+
};
|
|
9247
|
+
} | null;
|
|
9130
9248
|
}>;
|
|
9131
9249
|
};
|
|
9132
9250
|
export declare type ExchangeFieldsFragment = {
|
|
@@ -9409,6 +9527,54 @@ export declare type ExchangeFieldsFragment = {
|
|
|
9409
9527
|
} | null;
|
|
9410
9528
|
} | null;
|
|
9411
9529
|
};
|
|
9530
|
+
dispute?: {
|
|
9531
|
+
__typename?: "Dispute";
|
|
9532
|
+
id: string;
|
|
9533
|
+
exchangeId: string;
|
|
9534
|
+
state: DisputeState;
|
|
9535
|
+
buyerPercent: string;
|
|
9536
|
+
disputedDate: string;
|
|
9537
|
+
escalatedDate?: string | null;
|
|
9538
|
+
finalizedDate?: string | null;
|
|
9539
|
+
retractedDate?: string | null;
|
|
9540
|
+
resolvedDate?: string | null;
|
|
9541
|
+
decidedDate?: string | null;
|
|
9542
|
+
refusedDate?: string | null;
|
|
9543
|
+
timeout: string;
|
|
9544
|
+
exchange: {
|
|
9545
|
+
__typename?: "Exchange";
|
|
9546
|
+
id: string;
|
|
9547
|
+
disputed: boolean;
|
|
9548
|
+
state: ExchangeState;
|
|
9549
|
+
committedDate: string;
|
|
9550
|
+
finalizedDate?: string | null;
|
|
9551
|
+
validUntilDate: string;
|
|
9552
|
+
redeemedDate?: string | null;
|
|
9553
|
+
revokedDate?: string | null;
|
|
9554
|
+
cancelledDate?: string | null;
|
|
9555
|
+
completedDate?: string | null;
|
|
9556
|
+
disputedDate?: string | null;
|
|
9557
|
+
expired: boolean;
|
|
9558
|
+
};
|
|
9559
|
+
seller: {
|
|
9560
|
+
__typename?: "Seller";
|
|
9561
|
+
id: string;
|
|
9562
|
+
operator: string;
|
|
9563
|
+
admin: string;
|
|
9564
|
+
clerk: string;
|
|
9565
|
+
treasury: string;
|
|
9566
|
+
authTokenId: string;
|
|
9567
|
+
authTokenType: number;
|
|
9568
|
+
voucherCloneAddress: string;
|
|
9569
|
+
active: boolean;
|
|
9570
|
+
};
|
|
9571
|
+
buyer: {
|
|
9572
|
+
__typename?: "Buyer";
|
|
9573
|
+
id: string;
|
|
9574
|
+
wallet: string;
|
|
9575
|
+
active: boolean;
|
|
9576
|
+
};
|
|
9577
|
+
} | null;
|
|
9412
9578
|
};
|
|
9413
9579
|
export declare type BaseExchangeFieldsFragment = {
|
|
9414
9580
|
__typename?: "Exchange";
|