@0xsequence/marketplace 2.3.6 → 2.3.8
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.
|
@@ -13,14 +13,14 @@ function _extends() {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* eslint-disable */
|
|
16
|
-
// marketplace-api
|
|
16
|
+
// marketplace-api 7ab3354385f317680dd861e82a18aa351d8579d5
|
|
17
17
|
// --
|
|
18
|
-
// Code generated by webrpc-gen@v0.
|
|
18
|
+
// Code generated by webrpc-gen@v0.25.1 with typescript generator. DO NOT EDIT.
|
|
19
19
|
//
|
|
20
20
|
// webrpc-gen -schema=marketplace.ridl -target=typescript -client -out=./clients/marketplace.gen.ts
|
|
21
21
|
|
|
22
22
|
const WebrpcHeader = 'Webrpc';
|
|
23
|
-
const WebrpcHeaderValue = 'webrpc@v0.
|
|
23
|
+
const WebrpcHeaderValue = 'webrpc@v0.25.1;gen-typescript@v0.17.0;marketplace-api@v0.0.0-7ab3354385f317680dd861e82a18aa351d8579d5';
|
|
24
24
|
|
|
25
25
|
// WebRPC description and code-gen version
|
|
26
26
|
const WebRPCVersion = 'v1';
|
|
@@ -29,7 +29,7 @@ const WebRPCVersion = 'v1';
|
|
|
29
29
|
const WebRPCSchemaVersion = '';
|
|
30
30
|
|
|
31
31
|
// Schema hash generated from your RIDL schema
|
|
32
|
-
const WebRPCSchemaHash = '
|
|
32
|
+
const WebRPCSchemaHash = '7ab3354385f317680dd861e82a18aa351d8579d5';
|
|
33
33
|
function VersionFromHeader(headers) {
|
|
34
34
|
const headerValue = headers.get(WebrpcHeader);
|
|
35
35
|
if (!headerValue) {
|
|
@@ -13,14 +13,14 @@ function _extends() {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* eslint-disable */
|
|
16
|
-
// marketplace-api
|
|
16
|
+
// marketplace-api 7ab3354385f317680dd861e82a18aa351d8579d5
|
|
17
17
|
// --
|
|
18
|
-
// Code generated by webrpc-gen@v0.
|
|
18
|
+
// Code generated by webrpc-gen@v0.25.1 with typescript generator. DO NOT EDIT.
|
|
19
19
|
//
|
|
20
20
|
// webrpc-gen -schema=marketplace.ridl -target=typescript -client -out=./clients/marketplace.gen.ts
|
|
21
21
|
|
|
22
22
|
const WebrpcHeader = 'Webrpc';
|
|
23
|
-
const WebrpcHeaderValue = 'webrpc@v0.
|
|
23
|
+
const WebrpcHeaderValue = 'webrpc@v0.25.1;gen-typescript@v0.17.0;marketplace-api@v0.0.0-7ab3354385f317680dd861e82a18aa351d8579d5';
|
|
24
24
|
|
|
25
25
|
// WebRPC description and code-gen version
|
|
26
26
|
const WebRPCVersion = 'v1';
|
|
@@ -29,7 +29,7 @@ const WebRPCVersion = 'v1';
|
|
|
29
29
|
const WebRPCSchemaVersion = '';
|
|
30
30
|
|
|
31
31
|
// Schema hash generated from your RIDL schema
|
|
32
|
-
const WebRPCSchemaHash = '
|
|
32
|
+
const WebRPCSchemaHash = '7ab3354385f317680dd861e82a18aa351d8579d5';
|
|
33
33
|
function VersionFromHeader(headers) {
|
|
34
34
|
const headerValue = headers.get(WebrpcHeader);
|
|
35
35
|
if (!headerValue) {
|
|
@@ -9,14 +9,14 @@ function _extends() {
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/* eslint-disable */
|
|
12
|
-
// marketplace-api
|
|
12
|
+
// marketplace-api 7ab3354385f317680dd861e82a18aa351d8579d5
|
|
13
13
|
// --
|
|
14
|
-
// Code generated by webrpc-gen@v0.
|
|
14
|
+
// Code generated by webrpc-gen@v0.25.1 with typescript generator. DO NOT EDIT.
|
|
15
15
|
//
|
|
16
16
|
// webrpc-gen -schema=marketplace.ridl -target=typescript -client -out=./clients/marketplace.gen.ts
|
|
17
17
|
|
|
18
18
|
const WebrpcHeader = 'Webrpc';
|
|
19
|
-
const WebrpcHeaderValue = 'webrpc@v0.
|
|
19
|
+
const WebrpcHeaderValue = 'webrpc@v0.25.1;gen-typescript@v0.17.0;marketplace-api@v0.0.0-7ab3354385f317680dd861e82a18aa351d8579d5';
|
|
20
20
|
|
|
21
21
|
// WebRPC description and code-gen version
|
|
22
22
|
const WebRPCVersion = 'v1';
|
|
@@ -25,7 +25,7 @@ const WebRPCVersion = 'v1';
|
|
|
25
25
|
const WebRPCSchemaVersion = '';
|
|
26
26
|
|
|
27
27
|
// Schema hash generated from your RIDL schema
|
|
28
|
-
const WebRPCSchemaHash = '
|
|
28
|
+
const WebRPCSchemaHash = '7ab3354385f317680dd861e82a18aa351d8579d5';
|
|
29
29
|
function VersionFromHeader(headers) {
|
|
30
30
|
const headerValue = headers.get(WebrpcHeader);
|
|
31
31
|
if (!headerValue) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const WebrpcHeader = "Webrpc";
|
|
2
|
-
export declare const WebrpcHeaderValue = "webrpc@v0.
|
|
2
|
+
export declare const WebrpcHeaderValue = "webrpc@v0.25.1;gen-typescript@v0.17.0;marketplace-api@v0.0.0-7ab3354385f317680dd861e82a18aa351d8579d5";
|
|
3
3
|
export declare const WebRPCVersion = "v1";
|
|
4
4
|
export declare const WebRPCSchemaVersion = "";
|
|
5
|
-
export declare const WebRPCSchemaHash = "
|
|
5
|
+
export declare const WebRPCSchemaHash = "7ab3354385f317680dd861e82a18aa351d8579d5";
|
|
6
6
|
type WebrpcGenVersions = {
|
|
7
7
|
webrpcGenVersion: string;
|
|
8
8
|
codeGenName: string;
|
|
@@ -422,6 +422,9 @@ export interface Admin {
|
|
|
422
422
|
updateCollection(args: UpdateCollectionArgs, headers?: object, signal?: AbortSignal): Promise<UpdateCollectionReturn>;
|
|
423
423
|
listCollections(args: ListCollectionsArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectionsReturn>;
|
|
424
424
|
deleteCollection(args: DeleteCollectionArgs, headers?: object, signal?: AbortSignal): Promise<DeleteCollectionReturn>;
|
|
425
|
+
/**
|
|
426
|
+
* determine what should happen here
|
|
427
|
+
*/
|
|
425
428
|
syncCollection(args: SyncCollectionArgs, headers?: object, signal?: AbortSignal): Promise<SyncCollectionReturn>;
|
|
426
429
|
createCurrency(args: CreateCurrencyArgs, headers?: object, signal?: AbortSignal): Promise<CreateCurrencyReturn>;
|
|
427
430
|
createCurrencies(args: CreateCurrenciesArgs, headers?: object, signal?: AbortSignal): Promise<CreateCurrenciesReturn>;
|
|
@@ -515,18 +518,45 @@ export interface Marketplace {
|
|
|
515
518
|
listOffersForCollectible(args: ListOffersForCollectibleArgs, headers?: object, signal?: AbortSignal): Promise<ListOffersForCollectibleReturn>;
|
|
516
519
|
getCountOfListingsForCollectible(args: GetCountOfListingsForCollectibleArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfListingsForCollectibleReturn>;
|
|
517
520
|
getCountOfOffersForCollectible(args: GetCountOfOffersForCollectibleArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfOffersForCollectibleReturn>;
|
|
521
|
+
/**
|
|
522
|
+
* @deprecated Please use GetLowestPriceOfferForCollectible instead.
|
|
523
|
+
*/
|
|
518
524
|
getCollectibleLowestOffer(args: GetCollectibleLowestOfferArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectibleLowestOfferReturn>;
|
|
525
|
+
/**
|
|
526
|
+
* @deprecated Please use GetHighestPriceOfferForCollectible instead.
|
|
527
|
+
*/
|
|
519
528
|
getCollectibleHighestOffer(args: GetCollectibleHighestOfferArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectibleHighestOfferReturn>;
|
|
529
|
+
/**
|
|
530
|
+
* @deprecated Please use GetLowestPriceListingForCollectible instead.
|
|
531
|
+
*/
|
|
520
532
|
getCollectibleLowestListing(args: GetCollectibleLowestListingArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectibleLowestListingReturn>;
|
|
533
|
+
/**
|
|
534
|
+
* @deprecated Please use GetHighestPriceListingForCollectible instead.
|
|
535
|
+
*/
|
|
521
536
|
getCollectibleHighestListing(args: GetCollectibleHighestListingArgs, headers?: object, signal?: AbortSignal): Promise<GetCollectibleHighestListingReturn>;
|
|
537
|
+
/**
|
|
538
|
+
* @deprecated Please use ListListingsForCollectible instead.
|
|
539
|
+
*/
|
|
522
540
|
listCollectibleListings(args: ListCollectibleListingsArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectibleListingsReturn>;
|
|
541
|
+
/**
|
|
542
|
+
* @deprecated Please use ListOffersForCollectible instead.
|
|
543
|
+
*/
|
|
523
544
|
listCollectibleOffers(args: ListCollectibleOffersArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectibleOffersReturn>;
|
|
545
|
+
/**
|
|
546
|
+
* checkout process
|
|
547
|
+
*/
|
|
524
548
|
generateBuyTransaction(args: GenerateBuyTransactionArgs, headers?: object, signal?: AbortSignal): Promise<GenerateBuyTransactionReturn>;
|
|
525
549
|
generateSellTransaction(args: GenerateSellTransactionArgs, headers?: object, signal?: AbortSignal): Promise<GenerateSellTransactionReturn>;
|
|
526
550
|
generateListingTransaction(args: GenerateListingTransactionArgs, headers?: object, signal?: AbortSignal): Promise<GenerateListingTransactionReturn>;
|
|
527
551
|
generateOfferTransaction(args: GenerateOfferTransactionArgs, headers?: object, signal?: AbortSignal): Promise<GenerateOfferTransactionReturn>;
|
|
528
552
|
generateCancelTransaction(args: GenerateCancelTransactionArgs, headers?: object, signal?: AbortSignal): Promise<GenerateCancelTransactionReturn>;
|
|
553
|
+
/**
|
|
554
|
+
* only used in a case of external transactions ( when we create off-chain transactions ) for instance opensea market
|
|
555
|
+
*/
|
|
529
556
|
execute(args: ExecuteArgs, headers?: object, signal?: AbortSignal): Promise<ExecuteReturn>;
|
|
557
|
+
/**
|
|
558
|
+
* list of collectibles with best order for each collectible, by default this only returns collectibles with an order
|
|
559
|
+
*/
|
|
530
560
|
listCollectibles(args: ListCollectiblesArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectiblesReturn>;
|
|
531
561
|
getCountOfAllCollectibles(args: GetCountOfAllCollectiblesArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfAllCollectiblesReturn>;
|
|
532
562
|
getCountOfFilteredCollectibles(args: GetCountOfFilteredCollectiblesArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfFilteredCollectiblesReturn>;
|
|
@@ -734,6 +764,8 @@ export interface GenerateCancelTransactionReturn {
|
|
|
734
764
|
}
|
|
735
765
|
export interface ExecuteArgs {
|
|
736
766
|
signature: string;
|
|
767
|
+
method: string;
|
|
768
|
+
endpoint: string;
|
|
737
769
|
executeType: ExecuteType;
|
|
738
770
|
body: any;
|
|
739
771
|
}
|
package/package.json
CHANGED
package/src/marketplace.gen.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
// marketplace-api
|
|
2
|
+
// marketplace-api 7ab3354385f317680dd861e82a18aa351d8579d5
|
|
3
3
|
// --
|
|
4
|
-
// Code generated by webrpc-gen@v0.
|
|
4
|
+
// Code generated by webrpc-gen@v0.25.1 with typescript generator. DO NOT EDIT.
|
|
5
5
|
//
|
|
6
6
|
// webrpc-gen -schema=marketplace.ridl -target=typescript -client -out=./clients/marketplace.gen.ts
|
|
7
7
|
|
|
8
8
|
export const WebrpcHeader = 'Webrpc'
|
|
9
9
|
|
|
10
10
|
export const WebrpcHeaderValue =
|
|
11
|
-
'webrpc@v0.
|
|
11
|
+
'webrpc@v0.25.1;gen-typescript@v0.17.0;marketplace-api@v0.0.0-7ab3354385f317680dd861e82a18aa351d8579d5'
|
|
12
12
|
|
|
13
13
|
// WebRPC description and code-gen version
|
|
14
14
|
export const WebRPCVersion = 'v1'
|
|
@@ -17,7 +17,7 @@ export const WebRPCVersion = 'v1'
|
|
|
17
17
|
export const WebRPCSchemaVersion = ''
|
|
18
18
|
|
|
19
19
|
// Schema hash generated from your RIDL schema
|
|
20
|
-
export const WebRPCSchemaHash = '
|
|
20
|
+
export const WebRPCSchemaHash = '7ab3354385f317680dd861e82a18aa351d8579d5'
|
|
21
21
|
|
|
22
22
|
type WebrpcGenVersions = {
|
|
23
23
|
webrpcGenVersion: string
|
|
@@ -526,6 +526,9 @@ export interface Admin {
|
|
|
526
526
|
updateCollection(args: UpdateCollectionArgs, headers?: object, signal?: AbortSignal): Promise<UpdateCollectionReturn>
|
|
527
527
|
listCollections(args: ListCollectionsArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectionsReturn>
|
|
528
528
|
deleteCollection(args: DeleteCollectionArgs, headers?: object, signal?: AbortSignal): Promise<DeleteCollectionReturn>
|
|
529
|
+
/**
|
|
530
|
+
* determine what should happen here
|
|
531
|
+
*/
|
|
529
532
|
syncCollection(args: SyncCollectionArgs, headers?: object, signal?: AbortSignal): Promise<SyncCollectionReturn>
|
|
530
533
|
createCurrency(args: CreateCurrencyArgs, headers?: object, signal?: AbortSignal): Promise<CreateCurrencyReturn>
|
|
531
534
|
createCurrencies(args: CreateCurrenciesArgs, headers?: object, signal?: AbortSignal): Promise<CreateCurrenciesReturn>
|
|
@@ -661,36 +664,57 @@ export interface Marketplace {
|
|
|
661
664
|
headers?: object,
|
|
662
665
|
signal?: AbortSignal
|
|
663
666
|
): Promise<GetCountOfOffersForCollectibleReturn>
|
|
667
|
+
/**
|
|
668
|
+
* @deprecated Please use GetLowestPriceOfferForCollectible instead.
|
|
669
|
+
*/
|
|
664
670
|
getCollectibleLowestOffer(
|
|
665
671
|
args: GetCollectibleLowestOfferArgs,
|
|
666
672
|
headers?: object,
|
|
667
673
|
signal?: AbortSignal
|
|
668
674
|
): Promise<GetCollectibleLowestOfferReturn>
|
|
675
|
+
/**
|
|
676
|
+
* @deprecated Please use GetHighestPriceOfferForCollectible instead.
|
|
677
|
+
*/
|
|
669
678
|
getCollectibleHighestOffer(
|
|
670
679
|
args: GetCollectibleHighestOfferArgs,
|
|
671
680
|
headers?: object,
|
|
672
681
|
signal?: AbortSignal
|
|
673
682
|
): Promise<GetCollectibleHighestOfferReturn>
|
|
683
|
+
/**
|
|
684
|
+
* @deprecated Please use GetLowestPriceListingForCollectible instead.
|
|
685
|
+
*/
|
|
674
686
|
getCollectibleLowestListing(
|
|
675
687
|
args: GetCollectibleLowestListingArgs,
|
|
676
688
|
headers?: object,
|
|
677
689
|
signal?: AbortSignal
|
|
678
690
|
): Promise<GetCollectibleLowestListingReturn>
|
|
691
|
+
/**
|
|
692
|
+
* @deprecated Please use GetHighestPriceListingForCollectible instead.
|
|
693
|
+
*/
|
|
679
694
|
getCollectibleHighestListing(
|
|
680
695
|
args: GetCollectibleHighestListingArgs,
|
|
681
696
|
headers?: object,
|
|
682
697
|
signal?: AbortSignal
|
|
683
698
|
): Promise<GetCollectibleHighestListingReturn>
|
|
699
|
+
/**
|
|
700
|
+
* @deprecated Please use ListListingsForCollectible instead.
|
|
701
|
+
*/
|
|
684
702
|
listCollectibleListings(
|
|
685
703
|
args: ListCollectibleListingsArgs,
|
|
686
704
|
headers?: object,
|
|
687
705
|
signal?: AbortSignal
|
|
688
706
|
): Promise<ListCollectibleListingsReturn>
|
|
707
|
+
/**
|
|
708
|
+
* @deprecated Please use ListOffersForCollectible instead.
|
|
709
|
+
*/
|
|
689
710
|
listCollectibleOffers(
|
|
690
711
|
args: ListCollectibleOffersArgs,
|
|
691
712
|
headers?: object,
|
|
692
713
|
signal?: AbortSignal
|
|
693
714
|
): Promise<ListCollectibleOffersReturn>
|
|
715
|
+
/**
|
|
716
|
+
* checkout process
|
|
717
|
+
*/
|
|
694
718
|
generateBuyTransaction(
|
|
695
719
|
args: GenerateBuyTransactionArgs,
|
|
696
720
|
headers?: object,
|
|
@@ -716,7 +740,13 @@ export interface Marketplace {
|
|
|
716
740
|
headers?: object,
|
|
717
741
|
signal?: AbortSignal
|
|
718
742
|
): Promise<GenerateCancelTransactionReturn>
|
|
743
|
+
/**
|
|
744
|
+
* only used in a case of external transactions ( when we create off-chain transactions ) for instance opensea market
|
|
745
|
+
*/
|
|
719
746
|
execute(args: ExecuteArgs, headers?: object, signal?: AbortSignal): Promise<ExecuteReturn>
|
|
747
|
+
/**
|
|
748
|
+
* list of collectibles with best order for each collectible, by default this only returns collectibles with an order
|
|
749
|
+
*/
|
|
720
750
|
listCollectibles(args: ListCollectiblesArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectiblesReturn>
|
|
721
751
|
getCountOfAllCollectibles(
|
|
722
752
|
args: GetCountOfAllCollectiblesArgs,
|
|
@@ -978,6 +1008,8 @@ export interface GenerateCancelTransactionReturn {
|
|
|
978
1008
|
}
|
|
979
1009
|
export interface ExecuteArgs {
|
|
980
1010
|
signature: string
|
|
1011
|
+
method: string
|
|
1012
|
+
endpoint: string
|
|
981
1013
|
executeType: ExecuteType
|
|
982
1014
|
body: any
|
|
983
1015
|
}
|