Skip to main content

accounts

@bosonprotocol/core-sdk / Exports / accounts

Namespace: accounts

Table of contents

Namespaces

Type Aliases

Variables

Type Aliases

AuthTokenStruct

Ƭ AuthTokenStruct: Object

Type declaration

NameType
tokenIdBigNumberish
tokenTypenumber

Defined in

node_modules/@bosonprotocol/common/dist/cjs/types/accounts.d.ts:60


CreateDisputeResolverArgs

Ƭ CreateDisputeResolverArgs: Object

Type declaration

NameTypeDescription
adminstring-
clerkstring-
escalationResponsePeriodInMSnumber-
feesDisputeResolutionFee[]List of supported fees. Should contain at lest one element.
metadataUristring-
operatorstring-
sellerAllowList?BigNumberish[]Ids of sellers that are allowed to use the dispute resolver. If empty or undefined, then any seller can use the dispute resolver.
treasurystring-

Defined in

src/accounts/types.ts:19


CreateSellerArgs

Ƭ CreateSellerArgs: Object

Type declaration

NameType
adminstring
authTokenIdBigNumberish
authTokenTypenumber
clerkstring
contractUristring
operatorstring
royaltyPercentageBigNumberish
treasurystring

Defined in

node_modules/@bosonprotocol/common/dist/cjs/types/accounts.d.ts:2


DisputeResolutionFee

Ƭ DisputeResolutionFee: Object

Type declaration

NameType
feeAmountBigNumberish
tokenAddressstring
tokenNamestring

Defined in

src/accounts/types.ts:37


DisputeResolverStruct

Ƭ DisputeResolverStruct: Object

Type declaration

NameType
activeboolean
adminstring
clerkstring
escalationResponsePeriodBigNumberish
idBigNumberish
metadataUristring
operatorstring
treasurystring

Defined in

node_modules/@bosonprotocol/common/dist/cjs/types/accounts.d.ts:68


DisputeResolverUpdates

Ƭ DisputeResolverUpdates: Partial<Omit<DisputeResolverStruct, "id" | "active" | "escalationResponsePeriod"> & { escalationResponsePeriodInMS: BigNumberish }>

Defined in

src/accounts/types.ts:43


OptInToDisputeResolverUpdateArgs

Ƭ OptInToDisputeResolverUpdateArgs: Object

Type declaration

NameType
fieldsToUpdate{ admin?: boolean ; clerk?: boolean ; operator?: boolean }
fieldsToUpdate.admin?boolean
fieldsToUpdate.clerk?boolean
fieldsToUpdate.operator?boolean
idBigNumberish

Defined in

node_modules/@bosonprotocol/common/dist/cjs/types/accounts.d.ts:35


OptInToSellerUpdateArgs

Ƭ OptInToSellerUpdateArgs: Object

Type declaration

NameType
fieldsToUpdate{ admin?: boolean ; authToken?: boolean ; clerk?: boolean ; operator?: boolean }
fieldsToUpdate.admin?boolean
fieldsToUpdate.authToken?boolean
fieldsToUpdate.clerk?boolean
fieldsToUpdate.operator?boolean
idBigNumberish

Defined in

node_modules/@bosonprotocol/common/dist/cjs/types/accounts.d.ts:21


SellerStruct

Ƭ SellerStruct: Object

Type declaration

NameType
activeboolean
adminstring
authTokenIdBigNumberish
authTokenTypenumber
clerkstring
idBigNumberish
operatorstring
treasurystring
voucherCloneAddressstring

Defined in

node_modules/@bosonprotocol/common/dist/cjs/types/accounts.d.ts:49


UpdateSellerArgs

Ƭ UpdateSellerArgs: { id: BigNumberish } & Omit<CreateSellerArgs, "contractUri" | "royaltyPercentage">

Defined in

node_modules/@bosonprotocol/common/dist/cjs/types/accounts.d.ts:12


VoucherInitValuesStruct

Ƭ VoucherInitValuesStruct: Object

Type declaration

NameType
contractURIstring
royaltyPercentageBigNumberish

Defined in

node_modules/@bosonprotocol/common/dist/cjs/types/accounts.d.ts:64

Variables

DisputeResolverUpdateFields

Const DisputeResolverUpdateFields: Object

Type declaration

NameType
adminnumber
clerknumber
operatornumber

Defined in

node_modules/@bosonprotocol/common/dist/cjs/types/accounts.d.ts:30


SellerUpdateFields

Const SellerUpdateFields: Object

Type declaration

NameType
adminnumber
authTokennumber
clerknumber
operatornumber

Defined in

node_modules/@bosonprotocol/common/dist/cjs/types/accounts.d.ts:15


validation

Const validation: Object

Type declaration

NameType
createSellerArgsSchematypeof createSellerArgsSchema

Defined in

src/accounts/index.ts:8