Skip to content

Commit 4013de6

Browse files
[AUTOMATED] Update: proto/clients/marketplace.gen.ts
1 parent e8b7fac commit 4013de6

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

packages/marketplace/src/marketplace.gen.ts

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable */
2-
// marketplace-api 6b46374337129883386b9668e652237c3b31eda1
2+
// marketplace-api c61a788fa5ec759cb8fa989e113468e18e47f632
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]6b46374337129883386b9668e652237c3b31eda1'
11+
'[email protected];[email protected];[email protected]c61a788fa5ec759cb8fa989e113468e18e47f632'
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 = '6b46374337129883386b9668e652237c3b31eda1'
20+
export const WebRPCSchemaHash = 'c61a788fa5ec759cb8fa989e113468e18e47f632'
2121

2222
type WebrpcGenVersions = {
2323
webrpcGenVersion: string
@@ -71,6 +71,12 @@ function parseWebrpcGenVersions(header: string): WebrpcGenVersions {
7171
// Types
7272
//
7373

74+
export enum MetadataStatus {
75+
NOT_AVAILABLE = 'NOT_AVAILABLE',
76+
REFRESHING = 'REFRESHING',
77+
AVAILABLE = 'AVAILABLE'
78+
}
79+
7480
export interface TokenMetadata {
7581
tokenId: string
7682
name: string
@@ -87,6 +93,7 @@ export interface TokenMetadata {
8793
decimals?: number
8894
updatedAt?: string
8995
assets?: Array<Asset>
96+
status: MetadataStatus
9097
}
9198

9299
export interface Asset {
@@ -292,6 +299,11 @@ export enum PrimarySaleContractStatus {
292299
failed = 'failed'
293300
}
294301

302+
export enum PrimarySaleVersion {
303+
v0 = 'v0',
304+
v1 = 'v1'
305+
}
306+
295307
export enum PrimarySaleItemDetailType {
296308
unknown = 'unknown',
297309
global = 'global',
@@ -564,6 +576,7 @@ export interface PrimarySaleContract {
564576
contractAddress: string
565577
collectionAddress: string
566578
contractType: ContractType
579+
version: PrimarySaleVersion
567580
currencyAddress: string
568581
priceDecimals: number
569582
status: PrimarySaleContractStatus
@@ -585,6 +598,8 @@ export interface PrimarySaleItem {
585598
priceAmount: string
586599
priceAmountFormatted: string
587600
supply: string
601+
supplyCap: string
602+
unlimitedSupply: boolean
588603
createdAt: string
589604
updatedAt: string
590605
deletedAt?: string

0 commit comments

Comments
 (0)