Skip to content

Commit fa81950

Browse files
[AUTOMATED] Update: proto/clients/marketplace.gen.ts
1 parent 9362692 commit fa81950

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

packages/marketplace/src/marketplace.gen.ts

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable */
2-
// marketplace-api dcacc720f7916d3ba392b7467260ddd610d76bd4
2+
// marketplace-api bcf6441b3d44246f3254b6277949416b79f9cef7
33
// --
44
// Code generated by [email protected] with typescript generator. DO NOT EDIT.
55
//
@@ -8,7 +8,7 @@
88
export const WebrpcHeader = 'Webrpc'
99

1010
export const WebrpcHeaderValue =
11-
'[email protected];[email protected];[email protected]dcacc720f7916d3ba392b7467260ddd610d76bd4'
11+
'[email protected];[email protected];[email protected]bcf6441b3d44246f3254b6277949416b79f9cef7'
1212

1313
// WebRPC description and code-gen version
1414
export const WebRPCVersion = 'v1'
@@ -17,7 +17,7 @@ export const WebRPCVersion = 'v1'
1717
export const WebRPCSchemaVersion = ''
1818

1919
// Schema hash generated from your RIDL schema
20-
export const WebRPCSchemaHash = 'dcacc720f7916d3ba392b7467260ddd610d76bd4'
20+
export const WebRPCSchemaHash = 'bcf6441b3d44246f3254b6277949416b79f9cef7'
2121

2222
type WebrpcGenVersions = {
2323
webrpcGenVersion: string
@@ -372,6 +372,7 @@ export interface Order {
372372
status: OrderStatus
373373
chainId: number
374374
originName: string
375+
slug: string
375376
collectionContractAddress: string
376377
tokenId?: string
377378
createdBy: string
@@ -444,8 +445,8 @@ export interface CollectionConfig {
444445
export interface CollectionLastSynced {
445446
allOrders: string
446447
newOrders: string
447-
name: string
448-
next: string
448+
names: Array<string>
449+
cursors: { [key: string]: string }
449450
}
450451

451452
export interface Project {
@@ -569,6 +570,16 @@ export interface CheckoutOptions {
569570
onRamp: Array<TransactionOnRampProvider>
570571
}
571572

573+
export interface ExecuteInput {
574+
chainId: string
575+
signature: string
576+
method: string
577+
endpoint: string
578+
slug: string
579+
executeType: ExecuteType
580+
body: any
581+
}
582+
572583
export interface Activity {
573584
chainId: number
574585
contractAddress: string
@@ -909,7 +920,7 @@ export interface Marketplace {
909920
signal?: AbortSignal
910921
): Promise<GenerateCancelTransactionReturn>
911922
/**
912-
* only used in a case of external transactions ( when we create off-chain transactions ) for instance opensea market
923+
* only used in a case of external transactions ( when we create off-chain transactions ) for instance opensea market, use onlyu ExecuteInput and leave other inputs empty, they are depracated and kept only for backward compatibility
913924
*/
914925
execute(args: ExecuteArgs, headers?: object, signal?: AbortSignal): Promise<ExecuteReturn>
915926
/**
@@ -1239,6 +1250,7 @@ export interface GenerateCancelTransactionReturn {
12391250
steps: Array<Step>
12401251
}
12411252
export interface ExecuteArgs {
1253+
params: ExecuteInput
12421254
chainId: string
12431255
signature: string
12441256
method: string

0 commit comments

Comments
 (0)