@0xsequence/marketplace 2.3.37 → 2.3.39

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,23 +13,23 @@ function _extends() {
13
13
  }
14
14
 
15
15
  /* eslint-disable */
16
- // marketplace-api v0-25.11.10+051e186 8c928787e9271cfa8b0dcc76dbb00674004dab18
16
+ // marketplace-api v0-25.12.1+61b56ff 695923688f38cbb56ca3bab78e75d9a0f48c10e2
17
17
  // --
18
- // Code generated by webrpc-gen@v0.31.1 with github.com/webrpc/gen-typescript@v0.19.0 generator. DO NOT EDIT.
18
+ // Code generated by webrpc-gen@v0.31.2 with github.com/webrpc/gen-typescript@v0.19.0 generator. DO NOT EDIT.
19
19
  //
20
20
  // webrpc-gen -schema=./schema_old/schema.ridl -target=github.com/webrpc/gen-typescript@v0.19.0 -client -out=./clients/marketplace.gen.ts
21
21
 
22
22
  const WebrpcHeader = 'Webrpc';
23
- const WebrpcHeaderValue = 'webrpc@v0.31.1;gen-typescript@v0.19.0;marketplace-api@v0-25.11.10+051e186';
23
+ const WebrpcHeaderValue = 'webrpc@v0.31.2;gen-typescript@v0.19.0;marketplace-api@v0-25.12.1+61b56ff';
24
24
 
25
25
  // WebRPC description and code-gen version
26
26
  const WebRPCVersion = 'v1';
27
27
 
28
28
  // Schema version of your RIDL schema
29
- const WebRPCSchemaVersion = 'v0-25.11.10+051e186';
29
+ const WebRPCSchemaVersion = 'v0-25.12.1+61b56ff';
30
30
 
31
31
  // Schema hash generated from your RIDL schema
32
- const WebRPCSchemaHash = '8c928787e9271cfa8b0dcc76dbb00674004dab18';
32
+ const WebRPCSchemaHash = '695923688f38cbb56ca3bab78e75d9a0f48c10e2';
33
33
  function VersionFromHeader(headers) {
34
34
  const headerValue = headers.get(WebrpcHeader);
35
35
  if (!headerValue) {
@@ -808,6 +808,7 @@ class Marketplace {
808
808
  return this.fetch(this.url('GenerateBuyTransaction'), createHTTPRequest(args, headers, signal)).then(res => {
809
809
  return buildResponse(res).then(_data => {
810
810
  return {
811
+ resp: _data.resp,
811
812
  steps: _data.steps
812
813
  };
813
814
  });
@@ -821,6 +822,7 @@ class Marketplace {
821
822
  return this.fetch(this.url('GenerateSellTransaction'), createHTTPRequest(args, headers, signal)).then(res => {
822
823
  return buildResponse(res).then(_data => {
823
824
  return {
825
+ resp: _data.resp,
824
826
  steps: _data.steps
825
827
  };
826
828
  });
@@ -935,34 +937,6 @@ class Marketplace {
935
937
  });
936
938
  });
937
939
  };
938
- this.listCollectionActivities = (args, headers, signal) => {
939
- return this.fetch(this.url('ListCollectionActivities'), createHTTPRequest(args, headers, signal)).then(res => {
940
- return buildResponse(res).then(_data => {
941
- return {
942
- activities: _data.activities,
943
- page: _data.page
944
- };
945
- });
946
- }, error => {
947
- throw WebrpcRequestFailedError.new({
948
- cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
949
- });
950
- });
951
- };
952
- this.listCollectibleActivities = (args, headers, signal) => {
953
- return this.fetch(this.url('ListCollectibleActivities'), createHTTPRequest(args, headers, signal)).then(res => {
954
- return buildResponse(res).then(_data => {
955
- return {
956
- activities: _data.activities,
957
- page: _data.page
958
- };
959
- });
960
- }, error => {
961
- throw WebrpcRequestFailedError.new({
962
- cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
963
- });
964
- });
965
- };
966
940
  this.listCollectiblesWithLowestListing = (args, headers, signal) => {
967
941
  return this.fetch(this.url('ListCollectiblesWithLowestListing'), createHTTPRequest(args, headers, signal)).then(res => {
968
942
  return buildResponse(res).then(_data => {
@@ -13,23 +13,23 @@ function _extends() {
13
13
  }
14
14
 
15
15
  /* eslint-disable */
16
- // marketplace-api v0-25.11.10+051e186 8c928787e9271cfa8b0dcc76dbb00674004dab18
16
+ // marketplace-api v0-25.12.1+61b56ff 695923688f38cbb56ca3bab78e75d9a0f48c10e2
17
17
  // --
18
- // Code generated by webrpc-gen@v0.31.1 with github.com/webrpc/gen-typescript@v0.19.0 generator. DO NOT EDIT.
18
+ // Code generated by webrpc-gen@v0.31.2 with github.com/webrpc/gen-typescript@v0.19.0 generator. DO NOT EDIT.
19
19
  //
20
20
  // webrpc-gen -schema=./schema_old/schema.ridl -target=github.com/webrpc/gen-typescript@v0.19.0 -client -out=./clients/marketplace.gen.ts
21
21
 
22
22
  const WebrpcHeader = 'Webrpc';
23
- const WebrpcHeaderValue = 'webrpc@v0.31.1;gen-typescript@v0.19.0;marketplace-api@v0-25.11.10+051e186';
23
+ const WebrpcHeaderValue = 'webrpc@v0.31.2;gen-typescript@v0.19.0;marketplace-api@v0-25.12.1+61b56ff';
24
24
 
25
25
  // WebRPC description and code-gen version
26
26
  const WebRPCVersion = 'v1';
27
27
 
28
28
  // Schema version of your RIDL schema
29
- const WebRPCSchemaVersion = 'v0-25.11.10+051e186';
29
+ const WebRPCSchemaVersion = 'v0-25.12.1+61b56ff';
30
30
 
31
31
  // Schema hash generated from your RIDL schema
32
- const WebRPCSchemaHash = '8c928787e9271cfa8b0dcc76dbb00674004dab18';
32
+ const WebRPCSchemaHash = '695923688f38cbb56ca3bab78e75d9a0f48c10e2';
33
33
  function VersionFromHeader(headers) {
34
34
  const headerValue = headers.get(WebrpcHeader);
35
35
  if (!headerValue) {
@@ -808,6 +808,7 @@ class Marketplace {
808
808
  return this.fetch(this.url('GenerateBuyTransaction'), createHTTPRequest(args, headers, signal)).then(res => {
809
809
  return buildResponse(res).then(_data => {
810
810
  return {
811
+ resp: _data.resp,
811
812
  steps: _data.steps
812
813
  };
813
814
  });
@@ -821,6 +822,7 @@ class Marketplace {
821
822
  return this.fetch(this.url('GenerateSellTransaction'), createHTTPRequest(args, headers, signal)).then(res => {
822
823
  return buildResponse(res).then(_data => {
823
824
  return {
825
+ resp: _data.resp,
824
826
  steps: _data.steps
825
827
  };
826
828
  });
@@ -935,34 +937,6 @@ class Marketplace {
935
937
  });
936
938
  });
937
939
  };
938
- this.listCollectionActivities = (args, headers, signal) => {
939
- return this.fetch(this.url('ListCollectionActivities'), createHTTPRequest(args, headers, signal)).then(res => {
940
- return buildResponse(res).then(_data => {
941
- return {
942
- activities: _data.activities,
943
- page: _data.page
944
- };
945
- });
946
- }, error => {
947
- throw WebrpcRequestFailedError.new({
948
- cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
949
- });
950
- });
951
- };
952
- this.listCollectibleActivities = (args, headers, signal) => {
953
- return this.fetch(this.url('ListCollectibleActivities'), createHTTPRequest(args, headers, signal)).then(res => {
954
- return buildResponse(res).then(_data => {
955
- return {
956
- activities: _data.activities,
957
- page: _data.page
958
- };
959
- });
960
- }, error => {
961
- throw WebrpcRequestFailedError.new({
962
- cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
963
- });
964
- });
965
- };
966
940
  this.listCollectiblesWithLowestListing = (args, headers, signal) => {
967
941
  return this.fetch(this.url('ListCollectiblesWithLowestListing'), createHTTPRequest(args, headers, signal)).then(res => {
968
942
  return buildResponse(res).then(_data => {
@@ -9,23 +9,23 @@ function _extends() {
9
9
  }
10
10
 
11
11
  /* eslint-disable */
12
- // marketplace-api v0-25.11.10+051e186 8c928787e9271cfa8b0dcc76dbb00674004dab18
12
+ // marketplace-api v0-25.12.1+61b56ff 695923688f38cbb56ca3bab78e75d9a0f48c10e2
13
13
  // --
14
- // Code generated by webrpc-gen@v0.31.1 with github.com/webrpc/gen-typescript@v0.19.0 generator. DO NOT EDIT.
14
+ // Code generated by webrpc-gen@v0.31.2 with github.com/webrpc/gen-typescript@v0.19.0 generator. DO NOT EDIT.
15
15
  //
16
16
  // webrpc-gen -schema=./schema_old/schema.ridl -target=github.com/webrpc/gen-typescript@v0.19.0 -client -out=./clients/marketplace.gen.ts
17
17
 
18
18
  const WebrpcHeader = 'Webrpc';
19
- const WebrpcHeaderValue = 'webrpc@v0.31.1;gen-typescript@v0.19.0;marketplace-api@v0-25.11.10+051e186';
19
+ const WebrpcHeaderValue = 'webrpc@v0.31.2;gen-typescript@v0.19.0;marketplace-api@v0-25.12.1+61b56ff';
20
20
 
21
21
  // WebRPC description and code-gen version
22
22
  const WebRPCVersion = 'v1';
23
23
 
24
24
  // Schema version of your RIDL schema
25
- const WebRPCSchemaVersion = 'v0-25.11.10+051e186';
25
+ const WebRPCSchemaVersion = 'v0-25.12.1+61b56ff';
26
26
 
27
27
  // Schema hash generated from your RIDL schema
28
- const WebRPCSchemaHash = '8c928787e9271cfa8b0dcc76dbb00674004dab18';
28
+ const WebRPCSchemaHash = '695923688f38cbb56ca3bab78e75d9a0f48c10e2';
29
29
  function VersionFromHeader(headers) {
30
30
  const headerValue = headers.get(WebrpcHeader);
31
31
  if (!headerValue) {
@@ -804,6 +804,7 @@ class Marketplace {
804
804
  return this.fetch(this.url('GenerateBuyTransaction'), createHTTPRequest(args, headers, signal)).then(res => {
805
805
  return buildResponse(res).then(_data => {
806
806
  return {
807
+ resp: _data.resp,
807
808
  steps: _data.steps
808
809
  };
809
810
  });
@@ -817,6 +818,7 @@ class Marketplace {
817
818
  return this.fetch(this.url('GenerateSellTransaction'), createHTTPRequest(args, headers, signal)).then(res => {
818
819
  return buildResponse(res).then(_data => {
819
820
  return {
821
+ resp: _data.resp,
820
822
  steps: _data.steps
821
823
  };
822
824
  });
@@ -931,34 +933,6 @@ class Marketplace {
931
933
  });
932
934
  });
933
935
  };
934
- this.listCollectionActivities = (args, headers, signal) => {
935
- return this.fetch(this.url('ListCollectionActivities'), createHTTPRequest(args, headers, signal)).then(res => {
936
- return buildResponse(res).then(_data => {
937
- return {
938
- activities: _data.activities,
939
- page: _data.page
940
- };
941
- });
942
- }, error => {
943
- throw WebrpcRequestFailedError.new({
944
- cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
945
- });
946
- });
947
- };
948
- this.listCollectibleActivities = (args, headers, signal) => {
949
- return this.fetch(this.url('ListCollectibleActivities'), createHTTPRequest(args, headers, signal)).then(res => {
950
- return buildResponse(res).then(_data => {
951
- return {
952
- activities: _data.activities,
953
- page: _data.page
954
- };
955
- });
956
- }, error => {
957
- throw WebrpcRequestFailedError.new({
958
- cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
959
- });
960
- });
961
- };
962
936
  this.listCollectiblesWithLowestListing = (args, headers, signal) => {
963
937
  return this.fetch(this.url('ListCollectiblesWithLowestListing'), createHTTPRequest(args, headers, signal)).then(res => {
964
938
  return buildResponse(res).then(_data => {
@@ -1,8 +1,8 @@
1
1
  export declare const WebrpcHeader = "Webrpc";
2
- export declare const WebrpcHeaderValue = "webrpc@v0.31.1;gen-typescript@v0.19.0;marketplace-api@v0-25.11.10+051e186";
2
+ export declare const WebrpcHeaderValue = "webrpc@v0.31.2;gen-typescript@v0.19.0;marketplace-api@v0-25.12.1+61b56ff";
3
3
  export declare const WebRPCVersion = "v1";
4
- export declare const WebRPCSchemaVersion = "v0-25.11.10+051e186";
5
- export declare const WebRPCSchemaHash = "8c928787e9271cfa8b0dcc76dbb00674004dab18";
4
+ export declare const WebRPCSchemaVersion = "v0-25.12.1+61b56ff";
5
+ export declare const WebRPCSchemaHash = "695923688f38cbb56ca3bab78e75d9a0f48c10e2";
6
6
  type WebrpcGenVersions = {
7
7
  webrpcGenVersion: string;
8
8
  codeGenName: string;
@@ -426,6 +426,10 @@ export interface Domain {
426
426
  chainId: number;
427
427
  verifyingContract: string;
428
428
  }
429
+ export interface GenerateBuySellTransactionResponse {
430
+ steps: Array<Step>;
431
+ canBeUsedWithTrails: boolean;
432
+ }
429
433
  export interface CheckoutOptionsMarketplaceOrder {
430
434
  contractAddress: string;
431
435
  orderId: string;
@@ -742,14 +746,6 @@ export interface Marketplace {
742
746
  getCountOfAllCollectibles(args: GetCountOfAllCollectiblesArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfAllCollectiblesReturn>;
743
747
  getCountOfFilteredCollectibles(args: GetCountOfFilteredCollectiblesArgs, headers?: object, signal?: AbortSignal): Promise<GetCountOfFilteredCollectiblesReturn>;
744
748
  getFloorOrder(args: GetFloorOrderArgs, headers?: object, signal?: AbortSignal): Promise<GetFloorOrderReturn>;
745
- /**
746
- * Not Implemented
747
- */
748
- listCollectionActivities(args: ListCollectionActivitiesArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectionActivitiesReturn>;
749
- /**
750
- * Not Implemented
751
- */
752
- listCollectibleActivities(args: ListCollectibleActivitiesArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectibleActivitiesReturn>;
753
749
  listCollectiblesWithLowestListing(args: ListCollectiblesWithLowestListingArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectiblesWithLowestListingReturn>;
754
750
  listCollectiblesWithHighestOffer(args: ListCollectiblesWithHighestOfferArgs, headers?: object, signal?: AbortSignal): Promise<ListCollectiblesWithHighestOfferReturn>;
755
751
  syncOrder(args: SyncOrderArgs, headers?: object, signal?: AbortSignal): Promise<SyncOrderReturn>;
@@ -987,8 +983,10 @@ export interface GenerateBuyTransactionArgs {
987
983
  ordersData: Array<OrderData>;
988
984
  additionalFees: Array<AdditionalFee>;
989
985
  walletType?: WalletKind;
986
+ useWithTrails: boolean;
990
987
  }
991
988
  export interface GenerateBuyTransactionReturn {
989
+ resp: GenerateBuySellTransactionResponse;
992
990
  steps: Array<Step>;
993
991
  }
994
992
  export interface GenerateSellTransactionArgs {
@@ -999,8 +997,10 @@ export interface GenerateSellTransactionArgs {
999
997
  ordersData: Array<OrderData>;
1000
998
  additionalFees: Array<AdditionalFee>;
1001
999
  walletType?: WalletKind;
1000
+ useWithTrails: boolean;
1002
1001
  }
1003
1002
  export interface GenerateSellTransactionReturn {
1003
+ resp: GenerateBuySellTransactionResponse;
1004
1004
  steps: Array<Step>;
1005
1005
  }
1006
1006
  export interface GenerateListingTransactionArgs {
@@ -1087,25 +1087,6 @@ export interface GetFloorOrderArgs {
1087
1087
  export interface GetFloorOrderReturn {
1088
1088
  collectible: CollectibleOrder;
1089
1089
  }
1090
- export interface ListCollectionActivitiesArgs {
1091
- chainId: string;
1092
- contractAddress: string;
1093
- page?: Page;
1094
- }
1095
- export interface ListCollectionActivitiesReturn {
1096
- activities: Array<Activity>;
1097
- page?: Page;
1098
- }
1099
- export interface ListCollectibleActivitiesArgs {
1100
- chainId: string;
1101
- contractAddress: string;
1102
- tokenId: string;
1103
- page?: Page;
1104
- }
1105
- export interface ListCollectibleActivitiesReturn {
1106
- activities: Array<Activity>;
1107
- page?: Page;
1108
- }
1109
1090
  export interface ListCollectiblesWithLowestListingArgs {
1110
1091
  chainId: string;
1111
1092
  contractAddress: string;
@@ -1259,8 +1240,6 @@ export declare class Marketplace implements Marketplace {
1259
1240
  getCountOfAllCollectibles: (args: GetCountOfAllCollectiblesArgs, headers?: object, signal?: AbortSignal) => Promise<GetCountOfAllCollectiblesReturn>;
1260
1241
  getCountOfFilteredCollectibles: (args: GetCountOfFilteredCollectiblesArgs, headers?: object, signal?: AbortSignal) => Promise<GetCountOfFilteredCollectiblesReturn>;
1261
1242
  getFloorOrder: (args: GetFloorOrderArgs, headers?: object, signal?: AbortSignal) => Promise<GetFloorOrderReturn>;
1262
- listCollectionActivities: (args: ListCollectionActivitiesArgs, headers?: object, signal?: AbortSignal) => Promise<ListCollectionActivitiesReturn>;
1263
- listCollectibleActivities: (args: ListCollectibleActivitiesArgs, headers?: object, signal?: AbortSignal) => Promise<ListCollectibleActivitiesReturn>;
1264
1243
  listCollectiblesWithLowestListing: (args: ListCollectiblesWithLowestListingArgs, headers?: object, signal?: AbortSignal) => Promise<ListCollectiblesWithLowestListingReturn>;
1265
1244
  listCollectiblesWithHighestOffer: (args: ListCollectiblesWithHighestOfferArgs, headers?: object, signal?: AbortSignal) => Promise<ListCollectiblesWithHighestOfferReturn>;
1266
1245
  syncOrder: (args: SyncOrderArgs, headers?: object, signal?: AbortSignal) => Promise<SyncOrderReturn>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xsequence/marketplace",
3
- "version": "2.3.37",
3
+ "version": "2.3.39",
4
4
  "description": "marketplace sub-package for Sequence",
5
5
  "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/marketplace",
6
6
  "source": "src/index.ts",
@@ -1,22 +1,22 @@
1
1
  /* eslint-disable */
2
- // marketplace-api v0-25.11.10+051e186 8c928787e9271cfa8b0dcc76dbb00674004dab18
2
+ // marketplace-api v0-25.12.1+61b56ff 695923688f38cbb56ca3bab78e75d9a0f48c10e2
3
3
  // --
4
- // Code generated by webrpc-gen@v0.31.1 with github.com/webrpc/gen-typescript@v0.19.0 generator. DO NOT EDIT.
4
+ // Code generated by webrpc-gen@v0.31.2 with github.com/webrpc/gen-typescript@v0.19.0 generator. DO NOT EDIT.
5
5
  //
6
6
  // webrpc-gen -schema=./schema_old/schema.ridl -target=github.com/webrpc/gen-typescript@v0.19.0 -client -out=./clients/marketplace.gen.ts
7
7
 
8
8
  export const WebrpcHeader = 'Webrpc'
9
9
 
10
- export const WebrpcHeaderValue = 'webrpc@v0.31.1;gen-typescript@v0.19.0;marketplace-api@v0-25.11.10+051e186'
10
+ export const WebrpcHeaderValue = 'webrpc@v0.31.2;gen-typescript@v0.19.0;marketplace-api@v0-25.12.1+61b56ff'
11
11
 
12
12
  // WebRPC description and code-gen version
13
13
  export const WebRPCVersion = 'v1'
14
14
 
15
15
  // Schema version of your RIDL schema
16
- export const WebRPCSchemaVersion = 'v0-25.11.10+051e186'
16
+ export const WebRPCSchemaVersion = 'v0-25.12.1+61b56ff'
17
17
 
18
18
  // Schema hash generated from your RIDL schema
19
- export const WebRPCSchemaHash = '8c928787e9271cfa8b0dcc76dbb00674004dab18'
19
+ export const WebRPCSchemaHash = '695923688f38cbb56ca3bab78e75d9a0f48c10e2'
20
20
 
21
21
  type WebrpcGenVersions = {
22
22
  webrpcGenVersion: string
@@ -535,6 +535,11 @@ export interface Domain {
535
535
  verifyingContract: string
536
536
  }
537
537
 
538
+ export interface GenerateBuySellTransactionResponse {
539
+ steps: Array<Step>
540
+ canBeUsedWithTrails: boolean
541
+ }
542
+
538
543
  export interface CheckoutOptionsMarketplaceOrder {
539
544
  contractAddress: string
540
545
  orderId: string
@@ -977,22 +982,6 @@ export interface Marketplace {
977
982
  signal?: AbortSignal
978
983
  ): Promise<GetCountOfFilteredCollectiblesReturn>
979
984
  getFloorOrder(args: GetFloorOrderArgs, headers?: object, signal?: AbortSignal): Promise<GetFloorOrderReturn>
980
- /**
981
- * Not Implemented
982
- */
983
- listCollectionActivities(
984
- args: ListCollectionActivitiesArgs,
985
- headers?: object,
986
- signal?: AbortSignal
987
- ): Promise<ListCollectionActivitiesReturn>
988
- /**
989
- * Not Implemented
990
- */
991
- listCollectibleActivities(
992
- args: ListCollectibleActivitiesArgs,
993
- headers?: object,
994
- signal?: AbortSignal
995
- ): Promise<ListCollectibleActivitiesReturn>
996
985
  listCollectiblesWithLowestListing(
997
986
  args: ListCollectiblesWithLowestListingArgs,
998
987
  headers?: object,
@@ -1283,9 +1272,11 @@ export interface GenerateBuyTransactionArgs {
1283
1272
  ordersData: Array<OrderData>
1284
1273
  additionalFees: Array<AdditionalFee>
1285
1274
  walletType?: WalletKind
1275
+ useWithTrails: boolean
1286
1276
  }
1287
1277
 
1288
1278
  export interface GenerateBuyTransactionReturn {
1279
+ resp: GenerateBuySellTransactionResponse
1289
1280
  steps: Array<Step>
1290
1281
  }
1291
1282
  export interface GenerateSellTransactionArgs {
@@ -1296,9 +1287,11 @@ export interface GenerateSellTransactionArgs {
1296
1287
  ordersData: Array<OrderData>
1297
1288
  additionalFees: Array<AdditionalFee>
1298
1289
  walletType?: WalletKind
1290
+ useWithTrails: boolean
1299
1291
  }
1300
1292
 
1301
1293
  export interface GenerateSellTransactionReturn {
1294
+ resp: GenerateBuySellTransactionResponse
1302
1295
  steps: Array<Step>
1303
1296
  }
1304
1297
  export interface GenerateListingTransactionArgs {
@@ -1393,27 +1386,6 @@ export interface GetFloorOrderArgs {
1393
1386
  export interface GetFloorOrderReturn {
1394
1387
  collectible: CollectibleOrder
1395
1388
  }
1396
- export interface ListCollectionActivitiesArgs {
1397
- chainId: string
1398
- contractAddress: string
1399
- page?: Page
1400
- }
1401
-
1402
- export interface ListCollectionActivitiesReturn {
1403
- activities: Array<Activity>
1404
- page?: Page
1405
- }
1406
- export interface ListCollectibleActivitiesArgs {
1407
- chainId: string
1408
- contractAddress: string
1409
- tokenId: string
1410
- page?: Page
1411
- }
1412
-
1413
- export interface ListCollectibleActivitiesReturn {
1414
- activities: Array<Activity>
1415
- page?: Page
1416
- }
1417
1389
  export interface ListCollectiblesWithLowestListingArgs {
1418
1390
  chainId: string
1419
1391
  contractAddress: string
@@ -2216,6 +2188,7 @@ export class Marketplace implements Marketplace {
2216
2188
  res => {
2217
2189
  return buildResponse(res).then(_data => {
2218
2190
  return {
2191
+ resp: <GenerateBuySellTransactionResponse>_data.resp,
2219
2192
  steps: <Array<Step>>_data.steps
2220
2193
  }
2221
2194
  })
@@ -2235,6 +2208,7 @@ export class Marketplace implements Marketplace {
2235
2208
  res => {
2236
2209
  return buildResponse(res).then(_data => {
2237
2210
  return {
2211
+ resp: <GenerateBuySellTransactionResponse>_data.resp,
2238
2212
  steps: <Array<Step>>_data.steps
2239
2213
  }
2240
2214
  })
@@ -2386,46 +2360,6 @@ export class Marketplace implements Marketplace {
2386
2360
  )
2387
2361
  }
2388
2362
 
2389
- listCollectionActivities = (
2390
- args: ListCollectionActivitiesArgs,
2391
- headers?: object,
2392
- signal?: AbortSignal
2393
- ): Promise<ListCollectionActivitiesReturn> => {
2394
- return this.fetch(this.url('ListCollectionActivities'), createHTTPRequest(args, headers, signal)).then(
2395
- res => {
2396
- return buildResponse(res).then(_data => {
2397
- return {
2398
- activities: <Array<Activity>>_data.activities,
2399
- page: <Page>_data.page
2400
- }
2401
- })
2402
- },
2403
- error => {
2404
- throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` })
2405
- }
2406
- )
2407
- }
2408
-
2409
- listCollectibleActivities = (
2410
- args: ListCollectibleActivitiesArgs,
2411
- headers?: object,
2412
- signal?: AbortSignal
2413
- ): Promise<ListCollectibleActivitiesReturn> => {
2414
- return this.fetch(this.url('ListCollectibleActivities'), createHTTPRequest(args, headers, signal)).then(
2415
- res => {
2416
- return buildResponse(res).then(_data => {
2417
- return {
2418
- activities: <Array<Activity>>_data.activities,
2419
- page: <Page>_data.page
2420
- }
2421
- })
2422
- },
2423
- error => {
2424
- throw WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` })
2425
- }
2426
- )
2427
- }
2428
-
2429
2363
  listCollectiblesWithLowestListing = (
2430
2364
  args: ListCollectiblesWithLowestListingArgs,
2431
2365
  headers?: object,