accounts
@bosonprotocol/core-sdk / Exports / accounts
Namespace: accounts
Table of contents
Namespaces
Type Aliases
- AuthTokenStruct
- CreateDisputeResolverArgs
- CreateSellerArgs
- DisputeResolutionFee
- DisputeResolverStruct
- DisputeResolverUpdates
- OptInToDisputeResolverUpdateArgs
- OptInToSellerUpdateArgs
- SellerStruct
- UpdateSellerArgs
- VoucherInitValuesStruct
Variables
Type Aliases
AuthTokenStruct
Ƭ AuthTokenStruct: Object
Type declaration
Name | Type |
---|---|
tokenId | BigNumberish |
tokenType | number |
Defined in
node_modules/@bosonprotocol/common/dist/cjs/types/accounts.d.ts:60
CreateDisputeResolverArgs
Ƭ CreateDisputeResolverArgs: Object
Type declaration
Name | Type | Description |
---|---|---|
admin | string | - |
clerk | string | - |
escalationResponsePeriodInMS | number | - |
fees | DisputeResolutionFee [] | List of supported fees. Should contain at lest one element. |
metadataUri | string | - |
operator | string | - |
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. |
treasury | string | - |
Defined in
CreateSellerArgs
Ƭ CreateSellerArgs: Object
Type declaration
Name | Type |
---|---|
admin | string |
authTokenId | BigNumberish |
authTokenType | number |
clerk | string |
contractUri | string |
operator | string |
royaltyPercentage | BigNumberish |
treasury | string |
Defined in
node_modules/@bosonprotocol/common/dist/cjs/types/accounts.d.ts:2
DisputeResolutionFee
Ƭ DisputeResolutionFee: Object
Type declaration
Name | Type |
---|---|
feeAmount | BigNumberish |
tokenAddress | string |
tokenName | string |
Defined in
DisputeResolverStruct
Ƭ DisputeResolverStruct: Object
Type declaration
Name | Type |
---|---|
active | boolean |
admin | string |
clerk | string |
escalationResponsePeriod | BigNumberish |
id | BigNumberish |
metadataUri | string |
operator | string |
treasury | string |
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
OptInToDisputeResolverUpdateArgs
Ƭ OptInToDisputeResolverUpdateArgs: Object
Type declaration
Name | Type |
---|---|
fieldsToUpdate | { admin? : boolean ; clerk? : boolean ; operator? : boolean } |
fieldsToUpdate.admin? | boolean |
fieldsToUpdate.clerk? | boolean |
fieldsToUpdate.operator? | boolean |
id | BigNumberish |
Defined in
node_modules/@bosonprotocol/common/dist/cjs/types/accounts.d.ts:35
OptInToSellerUpdateArgs
Ƭ OptInToSellerUpdateArgs: Object
Type declaration
Name | Type |
---|---|
fieldsToUpdate | { admin? : boolean ; authToken? : boolean ; clerk? : boolean ; operator? : boolean } |
fieldsToUpdate.admin? | boolean |
fieldsToUpdate.authToken? | boolean |
fieldsToUpdate.clerk? | boolean |
fieldsToUpdate.operator? | boolean |
id | BigNumberish |
Defined in
node_modules/@bosonprotocol/common/dist/cjs/types/accounts.d.ts:21
SellerStruct
Ƭ SellerStruct: Object
Type declaration
Name | Type |
---|---|
active | boolean |
admin | string |
authTokenId | BigNumberish |
authTokenType | number |
clerk | string |
id | BigNumberish |
operator | string |
treasury | string |
voucherCloneAddress | string |
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
Name | Type |
---|---|
contractURI | string |
royaltyPercentage | BigNumberish |
Defined in
node_modules/@bosonprotocol/common/dist/cjs/types/accounts.d.ts:64
Variables
DisputeResolverUpdateFields
• Const
DisputeResolverUpdateFields: Object
Type declaration
Name | Type |
---|---|
admin | number |
clerk | number |
operator | number |
Defined in
node_modules/@bosonprotocol/common/dist/cjs/types/accounts.d.ts:30
SellerUpdateFields
• Const
SellerUpdateFields: Object
Type declaration
Name | Type |
---|---|
admin | number |
authToken | number |
clerk | number |
operator | number |
Defined in
node_modules/@bosonprotocol/common/dist/cjs/types/accounts.d.ts:15
validation
• Const
validation: Object
Type declaration
Name | Type |
---|---|
createSellerArgsSchema | typeof createSellerArgsSchema |