@bosonprotocol/core-sdk 1.22.0-alpha.0 → 1.22.0-alpha.2
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 +200 -0
- package/dist/cjs/subgraph.d.ts.map +1 -1
- package/dist/cjs/subgraph.js +4 -0
- package/dist/cjs/subgraph.js.map +1 -1
- package/dist/esm/subgraph.d.ts +200 -0
- package/dist/esm/subgraph.d.ts.map +1 -1
- package/dist/esm/subgraph.js +4 -0
- package/dist/esm/subgraph.js.map +1 -1
- package/package.json +2 -2
- package/src/metadata/product-v1.graphql +3 -0
- package/src/subgraph.ts +204 -0
package/dist/cjs/subgraph.d.ts
CHANGED
|
@@ -14799,6 +14799,56 @@ export declare type GetProductV1MetadataEntityByIdQueryQuery = {
|
|
|
14799
14799
|
disputeResolverId: string;
|
|
14800
14800
|
numberOfCommits: string;
|
|
14801
14801
|
numberOfRedemptions: string;
|
|
14802
|
+
exchanges: Array<{
|
|
14803
|
+
__typename?: "Exchange";
|
|
14804
|
+
id: string;
|
|
14805
|
+
disputed: boolean;
|
|
14806
|
+
state: ExchangeState;
|
|
14807
|
+
committedDate: string;
|
|
14808
|
+
finalizedDate?: string | null;
|
|
14809
|
+
validUntilDate: string;
|
|
14810
|
+
redeemedDate?: string | null;
|
|
14811
|
+
revokedDate?: string | null;
|
|
14812
|
+
cancelledDate?: string | null;
|
|
14813
|
+
completedDate?: string | null;
|
|
14814
|
+
disputedDate?: string | null;
|
|
14815
|
+
expired: boolean;
|
|
14816
|
+
dispute?: {
|
|
14817
|
+
__typename?: "Dispute";
|
|
14818
|
+
id: string;
|
|
14819
|
+
exchangeId: string;
|
|
14820
|
+
state: DisputeState;
|
|
14821
|
+
buyerPercent: string;
|
|
14822
|
+
disputedDate: string;
|
|
14823
|
+
escalatedDate?: string | null;
|
|
14824
|
+
finalizedDate?: string | null;
|
|
14825
|
+
retractedDate?: string | null;
|
|
14826
|
+
resolvedDate?: string | null;
|
|
14827
|
+
decidedDate?: string | null;
|
|
14828
|
+
refusedDate?: string | null;
|
|
14829
|
+
timeout: string;
|
|
14830
|
+
} | null;
|
|
14831
|
+
buyer: {
|
|
14832
|
+
__typename?: "Buyer";
|
|
14833
|
+
id: string;
|
|
14834
|
+
wallet: string;
|
|
14835
|
+
active: boolean;
|
|
14836
|
+
};
|
|
14837
|
+
seller: {
|
|
14838
|
+
__typename?: "Seller";
|
|
14839
|
+
id: string;
|
|
14840
|
+
operator: string;
|
|
14841
|
+
admin: string;
|
|
14842
|
+
clerk: string;
|
|
14843
|
+
treasury: string;
|
|
14844
|
+
authTokenId: string;
|
|
14845
|
+
authTokenType: number;
|
|
14846
|
+
voucherCloneAddress: string;
|
|
14847
|
+
active: boolean;
|
|
14848
|
+
contractURI: string;
|
|
14849
|
+
royaltyPercentage: string;
|
|
14850
|
+
};
|
|
14851
|
+
}>;
|
|
14802
14852
|
seller: {
|
|
14803
14853
|
__typename?: "Seller";
|
|
14804
14854
|
id: string;
|
|
@@ -15327,6 +15377,56 @@ export declare type GetProductV1MetadataEntitiesQueryQuery = {
|
|
|
15327
15377
|
disputeResolverId: string;
|
|
15328
15378
|
numberOfCommits: string;
|
|
15329
15379
|
numberOfRedemptions: string;
|
|
15380
|
+
exchanges: Array<{
|
|
15381
|
+
__typename?: "Exchange";
|
|
15382
|
+
id: string;
|
|
15383
|
+
disputed: boolean;
|
|
15384
|
+
state: ExchangeState;
|
|
15385
|
+
committedDate: string;
|
|
15386
|
+
finalizedDate?: string | null;
|
|
15387
|
+
validUntilDate: string;
|
|
15388
|
+
redeemedDate?: string | null;
|
|
15389
|
+
revokedDate?: string | null;
|
|
15390
|
+
cancelledDate?: string | null;
|
|
15391
|
+
completedDate?: string | null;
|
|
15392
|
+
disputedDate?: string | null;
|
|
15393
|
+
expired: boolean;
|
|
15394
|
+
dispute?: {
|
|
15395
|
+
__typename?: "Dispute";
|
|
15396
|
+
id: string;
|
|
15397
|
+
exchangeId: string;
|
|
15398
|
+
state: DisputeState;
|
|
15399
|
+
buyerPercent: string;
|
|
15400
|
+
disputedDate: string;
|
|
15401
|
+
escalatedDate?: string | null;
|
|
15402
|
+
finalizedDate?: string | null;
|
|
15403
|
+
retractedDate?: string | null;
|
|
15404
|
+
resolvedDate?: string | null;
|
|
15405
|
+
decidedDate?: string | null;
|
|
15406
|
+
refusedDate?: string | null;
|
|
15407
|
+
timeout: string;
|
|
15408
|
+
} | null;
|
|
15409
|
+
buyer: {
|
|
15410
|
+
__typename?: "Buyer";
|
|
15411
|
+
id: string;
|
|
15412
|
+
wallet: string;
|
|
15413
|
+
active: boolean;
|
|
15414
|
+
};
|
|
15415
|
+
seller: {
|
|
15416
|
+
__typename?: "Seller";
|
|
15417
|
+
id: string;
|
|
15418
|
+
operator: string;
|
|
15419
|
+
admin: string;
|
|
15420
|
+
clerk: string;
|
|
15421
|
+
treasury: string;
|
|
15422
|
+
authTokenId: string;
|
|
15423
|
+
authTokenType: number;
|
|
15424
|
+
voucherCloneAddress: string;
|
|
15425
|
+
active: boolean;
|
|
15426
|
+
contractURI: string;
|
|
15427
|
+
royaltyPercentage: string;
|
|
15428
|
+
};
|
|
15429
|
+
}>;
|
|
15330
15430
|
seller: {
|
|
15331
15431
|
__typename?: "Seller";
|
|
15332
15432
|
id: string;
|
|
@@ -15846,6 +15946,56 @@ export declare type ProductV1MetadataEntityFieldsFragment = {
|
|
|
15846
15946
|
disputeResolverId: string;
|
|
15847
15947
|
numberOfCommits: string;
|
|
15848
15948
|
numberOfRedemptions: string;
|
|
15949
|
+
exchanges: Array<{
|
|
15950
|
+
__typename?: "Exchange";
|
|
15951
|
+
id: string;
|
|
15952
|
+
disputed: boolean;
|
|
15953
|
+
state: ExchangeState;
|
|
15954
|
+
committedDate: string;
|
|
15955
|
+
finalizedDate?: string | null;
|
|
15956
|
+
validUntilDate: string;
|
|
15957
|
+
redeemedDate?: string | null;
|
|
15958
|
+
revokedDate?: string | null;
|
|
15959
|
+
cancelledDate?: string | null;
|
|
15960
|
+
completedDate?: string | null;
|
|
15961
|
+
disputedDate?: string | null;
|
|
15962
|
+
expired: boolean;
|
|
15963
|
+
dispute?: {
|
|
15964
|
+
__typename?: "Dispute";
|
|
15965
|
+
id: string;
|
|
15966
|
+
exchangeId: string;
|
|
15967
|
+
state: DisputeState;
|
|
15968
|
+
buyerPercent: string;
|
|
15969
|
+
disputedDate: string;
|
|
15970
|
+
escalatedDate?: string | null;
|
|
15971
|
+
finalizedDate?: string | null;
|
|
15972
|
+
retractedDate?: string | null;
|
|
15973
|
+
resolvedDate?: string | null;
|
|
15974
|
+
decidedDate?: string | null;
|
|
15975
|
+
refusedDate?: string | null;
|
|
15976
|
+
timeout: string;
|
|
15977
|
+
} | null;
|
|
15978
|
+
buyer: {
|
|
15979
|
+
__typename?: "Buyer";
|
|
15980
|
+
id: string;
|
|
15981
|
+
wallet: string;
|
|
15982
|
+
active: boolean;
|
|
15983
|
+
};
|
|
15984
|
+
seller: {
|
|
15985
|
+
__typename?: "Seller";
|
|
15986
|
+
id: string;
|
|
15987
|
+
operator: string;
|
|
15988
|
+
admin: string;
|
|
15989
|
+
clerk: string;
|
|
15990
|
+
treasury: string;
|
|
15991
|
+
authTokenId: string;
|
|
15992
|
+
authTokenType: number;
|
|
15993
|
+
voucherCloneAddress: string;
|
|
15994
|
+
active: boolean;
|
|
15995
|
+
contractURI: string;
|
|
15996
|
+
royaltyPercentage: string;
|
|
15997
|
+
};
|
|
15998
|
+
}>;
|
|
15849
15999
|
seller: {
|
|
15850
16000
|
__typename?: "Seller";
|
|
15851
16001
|
id: string;
|
|
@@ -16364,6 +16514,56 @@ export declare type BaseProductV1MetadataEntityFieldsFragment = {
|
|
|
16364
16514
|
disputeResolverId: string;
|
|
16365
16515
|
numberOfCommits: string;
|
|
16366
16516
|
numberOfRedemptions: string;
|
|
16517
|
+
exchanges: Array<{
|
|
16518
|
+
__typename?: "Exchange";
|
|
16519
|
+
id: string;
|
|
16520
|
+
disputed: boolean;
|
|
16521
|
+
state: ExchangeState;
|
|
16522
|
+
committedDate: string;
|
|
16523
|
+
finalizedDate?: string | null;
|
|
16524
|
+
validUntilDate: string;
|
|
16525
|
+
redeemedDate?: string | null;
|
|
16526
|
+
revokedDate?: string | null;
|
|
16527
|
+
cancelledDate?: string | null;
|
|
16528
|
+
completedDate?: string | null;
|
|
16529
|
+
disputedDate?: string | null;
|
|
16530
|
+
expired: boolean;
|
|
16531
|
+
dispute?: {
|
|
16532
|
+
__typename?: "Dispute";
|
|
16533
|
+
id: string;
|
|
16534
|
+
exchangeId: string;
|
|
16535
|
+
state: DisputeState;
|
|
16536
|
+
buyerPercent: string;
|
|
16537
|
+
disputedDate: string;
|
|
16538
|
+
escalatedDate?: string | null;
|
|
16539
|
+
finalizedDate?: string | null;
|
|
16540
|
+
retractedDate?: string | null;
|
|
16541
|
+
resolvedDate?: string | null;
|
|
16542
|
+
decidedDate?: string | null;
|
|
16543
|
+
refusedDate?: string | null;
|
|
16544
|
+
timeout: string;
|
|
16545
|
+
} | null;
|
|
16546
|
+
buyer: {
|
|
16547
|
+
__typename?: "Buyer";
|
|
16548
|
+
id: string;
|
|
16549
|
+
wallet: string;
|
|
16550
|
+
active: boolean;
|
|
16551
|
+
};
|
|
16552
|
+
seller: {
|
|
16553
|
+
__typename?: "Seller";
|
|
16554
|
+
id: string;
|
|
16555
|
+
operator: string;
|
|
16556
|
+
admin: string;
|
|
16557
|
+
clerk: string;
|
|
16558
|
+
treasury: string;
|
|
16559
|
+
authTokenId: string;
|
|
16560
|
+
authTokenType: number;
|
|
16561
|
+
voucherCloneAddress: string;
|
|
16562
|
+
active: boolean;
|
|
16563
|
+
contractURI: string;
|
|
16564
|
+
royaltyPercentage: string;
|
|
16565
|
+
};
|
|
16566
|
+
}>;
|
|
16367
16567
|
seller: {
|
|
16368
16568
|
__typename?: "Seller";
|
|
16369
16569
|
id: string;
|