@0xsequence/marketplace 2.3.8 → 2.3.10
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,56 +13,56 @@ function _extends() {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* eslint-disable */
|
|
16
|
-
// marketplace-api
|
|
16
|
+
// marketplace-api 5ba59124a7011c1864106b759b26b60a6f55a062
|
|
17
17
|
// --
|
|
18
|
-
// Code generated by webrpc-gen@v0.25.
|
|
18
|
+
// Code generated by webrpc-gen@v0.25.4 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
|
-
const WebrpcHeader =
|
|
23
|
-
const WebrpcHeaderValue =
|
|
22
|
+
const WebrpcHeader = "Webrpc";
|
|
23
|
+
const WebrpcHeaderValue = "webrpc@v0.25.4;gen-typescript@v0.17.0;marketplace-api@v0.0.0-5ba59124a7011c1864106b759b26b60a6f55a062";
|
|
24
24
|
|
|
25
25
|
// WebRPC description and code-gen version
|
|
26
|
-
const WebRPCVersion =
|
|
26
|
+
const WebRPCVersion = "v1";
|
|
27
27
|
|
|
28
28
|
// Schema version of your RIDL schema
|
|
29
|
-
const WebRPCSchemaVersion =
|
|
29
|
+
const WebRPCSchemaVersion = "";
|
|
30
30
|
|
|
31
31
|
// Schema hash generated from your RIDL schema
|
|
32
|
-
const WebRPCSchemaHash =
|
|
32
|
+
const WebRPCSchemaHash = "5ba59124a7011c1864106b759b26b60a6f55a062";
|
|
33
33
|
function VersionFromHeader(headers) {
|
|
34
34
|
const headerValue = headers.get(WebrpcHeader);
|
|
35
35
|
if (!headerValue) {
|
|
36
36
|
return {
|
|
37
|
-
webrpcGenVersion:
|
|
38
|
-
codeGenName:
|
|
39
|
-
codeGenVersion:
|
|
40
|
-
schemaName:
|
|
41
|
-
schemaVersion:
|
|
37
|
+
webrpcGenVersion: "",
|
|
38
|
+
codeGenName: "",
|
|
39
|
+
codeGenVersion: "",
|
|
40
|
+
schemaName: "",
|
|
41
|
+
schemaVersion: ""
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
return parseWebrpcGenVersions(headerValue);
|
|
45
45
|
}
|
|
46
46
|
function parseWebrpcGenVersions(header) {
|
|
47
|
-
const versions = header.split(
|
|
47
|
+
const versions = header.split(";");
|
|
48
48
|
if (versions.length < 3) {
|
|
49
49
|
return {
|
|
50
|
-
webrpcGenVersion:
|
|
51
|
-
codeGenName:
|
|
52
|
-
codeGenVersion:
|
|
53
|
-
schemaName:
|
|
54
|
-
schemaVersion:
|
|
50
|
+
webrpcGenVersion: "",
|
|
51
|
+
codeGenName: "",
|
|
52
|
+
codeGenVersion: "",
|
|
53
|
+
schemaName: "",
|
|
54
|
+
schemaVersion: ""
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
|
-
const [_, webrpcGenVersion] = versions[0].split(
|
|
58
|
-
const [codeGenName, codeGenVersion] = versions[1].split(
|
|
59
|
-
const [schemaName, schemaVersion] = versions[2].split(
|
|
57
|
+
const [_, webrpcGenVersion] = versions[0].split("@");
|
|
58
|
+
const [codeGenName, codeGenVersion] = versions[1].split("@");
|
|
59
|
+
const [schemaName, schemaVersion] = versions[2].split("@");
|
|
60
60
|
return {
|
|
61
|
-
webrpcGenVersion: webrpcGenVersion != null ? webrpcGenVersion :
|
|
62
|
-
codeGenName: codeGenName != null ? codeGenName :
|
|
63
|
-
codeGenVersion: codeGenVersion != null ? codeGenVersion :
|
|
64
|
-
schemaName: schemaName != null ? schemaName :
|
|
65
|
-
schemaVersion: schemaVersion != null ? schemaVersion :
|
|
61
|
+
webrpcGenVersion: webrpcGenVersion != null ? webrpcGenVersion : "",
|
|
62
|
+
codeGenName: codeGenName != null ? codeGenName : "",
|
|
63
|
+
codeGenVersion: codeGenVersion != null ? codeGenVersion : "",
|
|
64
|
+
schemaName: schemaName != null ? schemaName : "",
|
|
65
|
+
schemaVersion: schemaVersion != null ? schemaVersion : ""
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -94,6 +94,7 @@ let MarketplaceKind = /*#__PURE__*/function (MarketplaceKind) {
|
|
|
94
94
|
MarketplaceKind["alienswap"] = "alienswap";
|
|
95
95
|
MarketplaceKind["payment_processor"] = "payment_processor";
|
|
96
96
|
MarketplaceKind["mintify"] = "mintify";
|
|
97
|
+
MarketplaceKind["magic_eden"] = "magic_eden";
|
|
97
98
|
return MarketplaceKind;
|
|
98
99
|
}({});
|
|
99
100
|
let OrderbookKind = /*#__PURE__*/function (OrderbookKind) {
|
|
@@ -149,8 +150,6 @@ let CollectionStatus = /*#__PURE__*/function (CollectionStatus) {
|
|
|
149
150
|
CollectionStatus["created"] = "created";
|
|
150
151
|
CollectionStatus["syncing_contract_metadata"] = "syncing_contract_metadata";
|
|
151
152
|
CollectionStatus["synced_contract_metadata"] = "synced_contract_metadata";
|
|
152
|
-
CollectionStatus["syncing_metadata"] = "syncing_metadata";
|
|
153
|
-
CollectionStatus["synced_metadata"] = "synced_metadata";
|
|
154
153
|
CollectionStatus["syncing_tokens"] = "syncing_tokens";
|
|
155
154
|
CollectionStatus["synced_tokens"] = "synced_tokens";
|
|
156
155
|
CollectionStatus["syncing_orders"] = "syncing_orders";
|
|
@@ -874,6 +873,19 @@ class Marketplace {
|
|
|
874
873
|
});
|
|
875
874
|
});
|
|
876
875
|
};
|
|
876
|
+
this.supportedMarketplaces = (headers, signal) => {
|
|
877
|
+
return this.fetch(this.url('SupportedMarketplaces'), createHTTPRequest({}, headers, signal)).then(res => {
|
|
878
|
+
return buildResponse(res).then(_data => {
|
|
879
|
+
return {
|
|
880
|
+
marketplaces: _data.marketplaces
|
|
881
|
+
};
|
|
882
|
+
});
|
|
883
|
+
}, error => {
|
|
884
|
+
throw WebrpcRequestFailedError.new({
|
|
885
|
+
cause: `fetch(): ${error.message || ''}`
|
|
886
|
+
});
|
|
887
|
+
});
|
|
888
|
+
};
|
|
877
889
|
this.hostname = hostname.replace(/\/*$/, '');
|
|
878
890
|
this.fetch = (input, init) => fetch(input, init);
|
|
879
891
|
}
|
|
@@ -13,56 +13,56 @@ function _extends() {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* eslint-disable */
|
|
16
|
-
// marketplace-api
|
|
16
|
+
// marketplace-api 5ba59124a7011c1864106b759b26b60a6f55a062
|
|
17
17
|
// --
|
|
18
|
-
// Code generated by webrpc-gen@v0.25.
|
|
18
|
+
// Code generated by webrpc-gen@v0.25.4 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
|
-
const WebrpcHeader =
|
|
23
|
-
const WebrpcHeaderValue =
|
|
22
|
+
const WebrpcHeader = "Webrpc";
|
|
23
|
+
const WebrpcHeaderValue = "webrpc@v0.25.4;gen-typescript@v0.17.0;marketplace-api@v0.0.0-5ba59124a7011c1864106b759b26b60a6f55a062";
|
|
24
24
|
|
|
25
25
|
// WebRPC description and code-gen version
|
|
26
|
-
const WebRPCVersion =
|
|
26
|
+
const WebRPCVersion = "v1";
|
|
27
27
|
|
|
28
28
|
// Schema version of your RIDL schema
|
|
29
|
-
const WebRPCSchemaVersion =
|
|
29
|
+
const WebRPCSchemaVersion = "";
|
|
30
30
|
|
|
31
31
|
// Schema hash generated from your RIDL schema
|
|
32
|
-
const WebRPCSchemaHash =
|
|
32
|
+
const WebRPCSchemaHash = "5ba59124a7011c1864106b759b26b60a6f55a062";
|
|
33
33
|
function VersionFromHeader(headers) {
|
|
34
34
|
const headerValue = headers.get(WebrpcHeader);
|
|
35
35
|
if (!headerValue) {
|
|
36
36
|
return {
|
|
37
|
-
webrpcGenVersion:
|
|
38
|
-
codeGenName:
|
|
39
|
-
codeGenVersion:
|
|
40
|
-
schemaName:
|
|
41
|
-
schemaVersion:
|
|
37
|
+
webrpcGenVersion: "",
|
|
38
|
+
codeGenName: "",
|
|
39
|
+
codeGenVersion: "",
|
|
40
|
+
schemaName: "",
|
|
41
|
+
schemaVersion: ""
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
return parseWebrpcGenVersions(headerValue);
|
|
45
45
|
}
|
|
46
46
|
function parseWebrpcGenVersions(header) {
|
|
47
|
-
const versions = header.split(
|
|
47
|
+
const versions = header.split(";");
|
|
48
48
|
if (versions.length < 3) {
|
|
49
49
|
return {
|
|
50
|
-
webrpcGenVersion:
|
|
51
|
-
codeGenName:
|
|
52
|
-
codeGenVersion:
|
|
53
|
-
schemaName:
|
|
54
|
-
schemaVersion:
|
|
50
|
+
webrpcGenVersion: "",
|
|
51
|
+
codeGenName: "",
|
|
52
|
+
codeGenVersion: "",
|
|
53
|
+
schemaName: "",
|
|
54
|
+
schemaVersion: ""
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
|
-
const [_, webrpcGenVersion] = versions[0].split(
|
|
58
|
-
const [codeGenName, codeGenVersion] = versions[1].split(
|
|
59
|
-
const [schemaName, schemaVersion] = versions[2].split(
|
|
57
|
+
const [_, webrpcGenVersion] = versions[0].split("@");
|
|
58
|
+
const [codeGenName, codeGenVersion] = versions[1].split("@");
|
|
59
|
+
const [schemaName, schemaVersion] = versions[2].split("@");
|
|
60
60
|
return {
|
|
61
|
-
webrpcGenVersion: webrpcGenVersion != null ? webrpcGenVersion :
|
|
62
|
-
codeGenName: codeGenName != null ? codeGenName :
|
|
63
|
-
codeGenVersion: codeGenVersion != null ? codeGenVersion :
|
|
64
|
-
schemaName: schemaName != null ? schemaName :
|
|
65
|
-
schemaVersion: schemaVersion != null ? schemaVersion :
|
|
61
|
+
webrpcGenVersion: webrpcGenVersion != null ? webrpcGenVersion : "",
|
|
62
|
+
codeGenName: codeGenName != null ? codeGenName : "",
|
|
63
|
+
codeGenVersion: codeGenVersion != null ? codeGenVersion : "",
|
|
64
|
+
schemaName: schemaName != null ? schemaName : "",
|
|
65
|
+
schemaVersion: schemaVersion != null ? schemaVersion : ""
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -94,6 +94,7 @@ let MarketplaceKind = /*#__PURE__*/function (MarketplaceKind) {
|
|
|
94
94
|
MarketplaceKind["alienswap"] = "alienswap";
|
|
95
95
|
MarketplaceKind["payment_processor"] = "payment_processor";
|
|
96
96
|
MarketplaceKind["mintify"] = "mintify";
|
|
97
|
+
MarketplaceKind["magic_eden"] = "magic_eden";
|
|
97
98
|
return MarketplaceKind;
|
|
98
99
|
}({});
|
|
99
100
|
let OrderbookKind = /*#__PURE__*/function (OrderbookKind) {
|
|
@@ -149,8 +150,6 @@ let CollectionStatus = /*#__PURE__*/function (CollectionStatus) {
|
|
|
149
150
|
CollectionStatus["created"] = "created";
|
|
150
151
|
CollectionStatus["syncing_contract_metadata"] = "syncing_contract_metadata";
|
|
151
152
|
CollectionStatus["synced_contract_metadata"] = "synced_contract_metadata";
|
|
152
|
-
CollectionStatus["syncing_metadata"] = "syncing_metadata";
|
|
153
|
-
CollectionStatus["synced_metadata"] = "synced_metadata";
|
|
154
153
|
CollectionStatus["syncing_tokens"] = "syncing_tokens";
|
|
155
154
|
CollectionStatus["synced_tokens"] = "synced_tokens";
|
|
156
155
|
CollectionStatus["syncing_orders"] = "syncing_orders";
|
|
@@ -874,6 +873,19 @@ class Marketplace {
|
|
|
874
873
|
});
|
|
875
874
|
});
|
|
876
875
|
};
|
|
876
|
+
this.supportedMarketplaces = (headers, signal) => {
|
|
877
|
+
return this.fetch(this.url('SupportedMarketplaces'), createHTTPRequest({}, headers, signal)).then(res => {
|
|
878
|
+
return buildResponse(res).then(_data => {
|
|
879
|
+
return {
|
|
880
|
+
marketplaces: _data.marketplaces
|
|
881
|
+
};
|
|
882
|
+
});
|
|
883
|
+
}, error => {
|
|
884
|
+
throw WebrpcRequestFailedError.new({
|
|
885
|
+
cause: `fetch(): ${error.message || ''}`
|
|
886
|
+
});
|
|
887
|
+
});
|
|
888
|
+
};
|
|
877
889
|
this.hostname = hostname.replace(/\/*$/, '');
|
|
878
890
|
this.fetch = (input, init) => fetch(input, init);
|
|
879
891
|
}
|
|
@@ -9,56 +9,56 @@ function _extends() {
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/* eslint-disable */
|
|
12
|
-
// marketplace-api
|
|
12
|
+
// marketplace-api 5ba59124a7011c1864106b759b26b60a6f55a062
|
|
13
13
|
// --
|
|
14
|
-
// Code generated by webrpc-gen@v0.25.
|
|
14
|
+
// Code generated by webrpc-gen@v0.25.4 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
|
-
const WebrpcHeader =
|
|
19
|
-
const WebrpcHeaderValue =
|
|
18
|
+
const WebrpcHeader = "Webrpc";
|
|
19
|
+
const WebrpcHeaderValue = "webrpc@v0.25.4;gen-typescript@v0.17.0;marketplace-api@v0.0.0-5ba59124a7011c1864106b759b26b60a6f55a062";
|
|
20
20
|
|
|
21
21
|
// WebRPC description and code-gen version
|
|
22
|
-
const WebRPCVersion =
|
|
22
|
+
const WebRPCVersion = "v1";
|
|
23
23
|
|
|
24
24
|
// Schema version of your RIDL schema
|
|
25
|
-
const WebRPCSchemaVersion =
|
|
25
|
+
const WebRPCSchemaVersion = "";
|
|
26
26
|
|
|
27
27
|
// Schema hash generated from your RIDL schema
|
|
28
|
-
const WebRPCSchemaHash =
|
|
28
|
+
const WebRPCSchemaHash = "5ba59124a7011c1864106b759b26b60a6f55a062";
|
|
29
29
|
function VersionFromHeader(headers) {
|
|
30
30
|
const headerValue = headers.get(WebrpcHeader);
|
|
31
31
|
if (!headerValue) {
|
|
32
32
|
return {
|
|
33
|
-
webrpcGenVersion:
|
|
34
|
-
codeGenName:
|
|
35
|
-
codeGenVersion:
|
|
36
|
-
schemaName:
|
|
37
|
-
schemaVersion:
|
|
33
|
+
webrpcGenVersion: "",
|
|
34
|
+
codeGenName: "",
|
|
35
|
+
codeGenVersion: "",
|
|
36
|
+
schemaName: "",
|
|
37
|
+
schemaVersion: ""
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
return parseWebrpcGenVersions(headerValue);
|
|
41
41
|
}
|
|
42
42
|
function parseWebrpcGenVersions(header) {
|
|
43
|
-
const versions = header.split(
|
|
43
|
+
const versions = header.split(";");
|
|
44
44
|
if (versions.length < 3) {
|
|
45
45
|
return {
|
|
46
|
-
webrpcGenVersion:
|
|
47
|
-
codeGenName:
|
|
48
|
-
codeGenVersion:
|
|
49
|
-
schemaName:
|
|
50
|
-
schemaVersion:
|
|
46
|
+
webrpcGenVersion: "",
|
|
47
|
+
codeGenName: "",
|
|
48
|
+
codeGenVersion: "",
|
|
49
|
+
schemaName: "",
|
|
50
|
+
schemaVersion: ""
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
|
-
const [_, webrpcGenVersion] = versions[0].split(
|
|
54
|
-
const [codeGenName, codeGenVersion] = versions[1].split(
|
|
55
|
-
const [schemaName, schemaVersion] = versions[2].split(
|
|
53
|
+
const [_, webrpcGenVersion] = versions[0].split("@");
|
|
54
|
+
const [codeGenName, codeGenVersion] = versions[1].split("@");
|
|
55
|
+
const [schemaName, schemaVersion] = versions[2].split("@");
|
|
56
56
|
return {
|
|
57
|
-
webrpcGenVersion: webrpcGenVersion != null ? webrpcGenVersion :
|
|
58
|
-
codeGenName: codeGenName != null ? codeGenName :
|
|
59
|
-
codeGenVersion: codeGenVersion != null ? codeGenVersion :
|
|
60
|
-
schemaName: schemaName != null ? schemaName :
|
|
61
|
-
schemaVersion: schemaVersion != null ? schemaVersion :
|
|
57
|
+
webrpcGenVersion: webrpcGenVersion != null ? webrpcGenVersion : "",
|
|
58
|
+
codeGenName: codeGenName != null ? codeGenName : "",
|
|
59
|
+
codeGenVersion: codeGenVersion != null ? codeGenVersion : "",
|
|
60
|
+
schemaName: schemaName != null ? schemaName : "",
|
|
61
|
+
schemaVersion: schemaVersion != null ? schemaVersion : ""
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
|
|
@@ -90,6 +90,7 @@ let MarketplaceKind = /*#__PURE__*/function (MarketplaceKind) {
|
|
|
90
90
|
MarketplaceKind["alienswap"] = "alienswap";
|
|
91
91
|
MarketplaceKind["payment_processor"] = "payment_processor";
|
|
92
92
|
MarketplaceKind["mintify"] = "mintify";
|
|
93
|
+
MarketplaceKind["magic_eden"] = "magic_eden";
|
|
93
94
|
return MarketplaceKind;
|
|
94
95
|
}({});
|
|
95
96
|
let OrderbookKind = /*#__PURE__*/function (OrderbookKind) {
|
|
@@ -145,8 +146,6 @@ let CollectionStatus = /*#__PURE__*/function (CollectionStatus) {
|
|
|
145
146
|
CollectionStatus["created"] = "created";
|
|
146
147
|
CollectionStatus["syncing_contract_metadata"] = "syncing_contract_metadata";
|
|
147
148
|
CollectionStatus["synced_contract_metadata"] = "synced_contract_metadata";
|
|
148
|
-
CollectionStatus["syncing_metadata"] = "syncing_metadata";
|
|
149
|
-
CollectionStatus["synced_metadata"] = "synced_metadata";
|
|
150
149
|
CollectionStatus["syncing_tokens"] = "syncing_tokens";
|
|
151
150
|
CollectionStatus["synced_tokens"] = "synced_tokens";
|
|
152
151
|
CollectionStatus["syncing_orders"] = "syncing_orders";
|
|
@@ -870,6 +869,19 @@ class Marketplace {
|
|
|
870
869
|
});
|
|
871
870
|
});
|
|
872
871
|
};
|
|
872
|
+
this.supportedMarketplaces = (headers, signal) => {
|
|
873
|
+
return this.fetch(this.url('SupportedMarketplaces'), createHTTPRequest({}, headers, signal)).then(res => {
|
|
874
|
+
return buildResponse(res).then(_data => {
|
|
875
|
+
return {
|
|
876
|
+
marketplaces: _data.marketplaces
|
|
877
|
+
};
|
|
878
|
+
});
|
|
879
|
+
}, error => {
|
|
880
|
+
throw WebrpcRequestFailedError.new({
|
|
881
|
+
cause: `fetch(): ${error.message || ''}`
|
|
882
|
+
});
|
|
883
|
+
});
|
|
884
|
+
};
|
|
873
885
|
this.hostname = hostname.replace(/\/*$/, '');
|
|
874
886
|
this.fetch = (input, init) => fetch(input, init);
|
|
875
887
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const WebrpcHeader = "Webrpc";
|
|
2
|
-
export declare const WebrpcHeaderValue = "webrpc@v0.25.
|
|
2
|
+
export declare const WebrpcHeaderValue = "webrpc@v0.25.4;gen-typescript@v0.17.0;marketplace-api@v0.0.0-5ba59124a7011c1864106b759b26b60a6f55a062";
|
|
3
3
|
export declare const WebRPCVersion = "v1";
|
|
4
4
|
export declare const WebRPCSchemaVersion = "";
|
|
5
|
-
export declare const WebRPCSchemaHash = "
|
|
5
|
+
export declare const WebRPCSchemaHash = "5ba59124a7011c1864106b759b26b60a6f55a062";
|
|
6
6
|
type WebrpcGenVersions = {
|
|
7
7
|
webrpcGenVersion: string;
|
|
8
8
|
codeGenName: string;
|
|
@@ -66,7 +66,8 @@ export declare enum MarketplaceKind {
|
|
|
66
66
|
x2y2 = "x2y2",
|
|
67
67
|
alienswap = "alienswap",
|
|
68
68
|
payment_processor = "payment_processor",
|
|
69
|
-
mintify = "mintify"
|
|
69
|
+
mintify = "mintify",
|
|
70
|
+
magic_eden = "magic_eden"
|
|
70
71
|
}
|
|
71
72
|
export declare enum OrderbookKind {
|
|
72
73
|
unknown = "unknown",
|
|
@@ -115,8 +116,6 @@ export declare enum CollectionStatus {
|
|
|
115
116
|
created = "created",
|
|
116
117
|
syncing_contract_metadata = "syncing_contract_metadata",
|
|
117
118
|
synced_contract_metadata = "synced_contract_metadata",
|
|
118
|
-
syncing_metadata = "syncing_metadata",
|
|
119
|
-
synced_metadata = "synced_metadata",
|
|
120
119
|
syncing_tokens = "syncing_tokens",
|
|
121
120
|
synced_tokens = "synced_tokens",
|
|
122
121
|
syncing_orders = "syncing_orders",
|
|
@@ -570,6 +569,7 @@ export interface Marketplace {
|
|
|
570
569
|
getOrders(args: GetOrdersArgs, headers?: object, signal?: AbortSignal): Promise<GetOrdersReturn>;
|
|
571
570
|
checkoutOptionsMarketplace(args: CheckoutOptionsMarketplaceArgs, headers?: object, signal?: AbortSignal): Promise<CheckoutOptionsMarketplaceReturn>;
|
|
572
571
|
checkoutOptionsSalesContract(args: CheckoutOptionsSalesContractArgs, headers?: object, signal?: AbortSignal): Promise<CheckoutOptionsSalesContractReturn>;
|
|
572
|
+
supportedMarketplaces(headers?: object, signal?: AbortSignal): Promise<SupportedMarketplacesReturn>;
|
|
573
573
|
}
|
|
574
574
|
export interface ListCurrenciesArgs {
|
|
575
575
|
}
|
|
@@ -873,6 +873,11 @@ export interface CheckoutOptionsSalesContractArgs {
|
|
|
873
873
|
export interface CheckoutOptionsSalesContractReturn {
|
|
874
874
|
options: CheckoutOptions;
|
|
875
875
|
}
|
|
876
|
+
export interface SupportedMarketplacesArgs {
|
|
877
|
+
}
|
|
878
|
+
export interface SupportedMarketplacesReturn {
|
|
879
|
+
marketplaces: Array<MarketplaceKind>;
|
|
880
|
+
}
|
|
876
881
|
export declare class Admin implements Admin {
|
|
877
882
|
protected hostname: string;
|
|
878
883
|
protected fetch: Fetch;
|
|
@@ -933,6 +938,7 @@ export declare class Marketplace implements Marketplace {
|
|
|
933
938
|
getOrders: (args: GetOrdersArgs, headers?: object, signal?: AbortSignal) => Promise<GetOrdersReturn>;
|
|
934
939
|
checkoutOptionsMarketplace: (args: CheckoutOptionsMarketplaceArgs, headers?: object, signal?: AbortSignal) => Promise<CheckoutOptionsMarketplaceReturn>;
|
|
935
940
|
checkoutOptionsSalesContract: (args: CheckoutOptionsSalesContractArgs, headers?: object, signal?: AbortSignal) => Promise<CheckoutOptionsSalesContractReturn>;
|
|
941
|
+
supportedMarketplaces: (headers?: object, signal?: AbortSignal) => Promise<SupportedMarketplacesReturn>;
|
|
936
942
|
}
|
|
937
943
|
export declare class WebrpcError extends Error {
|
|
938
944
|
name: string;
|
package/package.json
CHANGED