Reference / Modules / client / LocMultiClient
Class: LocMultiClient
client.LocMultiClient
Table of contents
Constructors
Properties
Methods
- fetchAll
- fetchAllForVerifiedIssuer
- getLoc
- getLocBatch
- newLocClient
- getLoc
- getLocBatch
- newLocMultiClient
Constructors
constructor
• new LocMultiClient(params
): LocMultiClient
Parameters
Name | Type |
---|---|
params | Object |
params.axiosFactory | AxiosFactory |
params.componentFactory | ComponentFactory |
params.config | LogionClientConfig |
params.currentAccount | ValidAccountId |
params.networkState | NetworkState <LegalOfficerEndpoint > |
params.nodeApi | LogionNodeApiClass |
params.token | string |
Returns
Defined in
packages/client/src/LocClient.ts:338
Properties
axiosFactory
• Private
Readonly
axiosFactory: AxiosFactory
Defined in
packages/client/src/LocClient.ts:357
componentFactory
• Private
Readonly
componentFactory: ComponentFactory
Defined in
packages/client/src/LocClient.ts:361
config
• Private
Readonly
config: LogionClientConfig
Defined in
packages/client/src/LocClient.ts:362
currentAccount
• Private
Readonly
currentAccount: ValidAccountId
Defined in
packages/client/src/LocClient.ts:358
networkState
• Private
Readonly
networkState: NetworkState
<LegalOfficerEndpoint
>
Defined in
packages/client/src/LocClient.ts:356
nodeApi
• Private
Readonly
nodeApi: LogionNodeApiClass
Defined in
packages/client/src/LocClient.ts:360
token
• Private
Readonly
token: string
Defined in
packages/client/src/LocClient.ts:359
Methods
fetchAll
▸ fetchAll(params?
): Promise
<LocRequest
[]>
Parameters
Name | Type |
---|---|
params? | FetchAllLocsParams |
Returns
Promise
<LocRequest
[]>
Defined in
packages/client/src/LocClient.ts:375
fetchAllForVerifiedIssuer
▸ fetchAllForVerifiedIssuer(legalOfficers
): Promise
<LocRequest
[]>
Parameters
Name | Type |
---|---|
legalOfficers | LegalOfficerClass [] |
Returns
Promise
<LocRequest
[]>
Defined in
packages/client/src/LocClient.ts:399
getLoc
▸ getLoc(parameters
): Promise
<LegalOfficerCase
>
Parameters
Name | Type |
---|---|
parameters | FetchParameters |
Returns
Promise
<LegalOfficerCase
>
Defined in
packages/client/src/LocClient.ts:415
getLocBatch
▸ getLocBatch(locIds
): Promise
<LocBatch
>
Parameters
Name | Type |
---|---|
locIds | UUID [] |
Returns
Promise
<LocBatch
>
Defined in
packages/client/src/LocClient.ts:433
newLocClient
▸ newLocClient(legalOfficer
): AuthenticatedLocClient
Parameters
Name | Type |
---|---|
legalOfficer | LegalOfficerClass |
Returns
Defined in
packages/client/src/LocClient.ts:364
getLoc
▸ getLoc(params
): Promise
<LegalOfficerCase
>
Parameters
Name | Type |
---|---|
params | Object |
params.api | LogionNodeApiClass |
params.locId | UUID |
Returns
Promise
<LegalOfficerCase
>
Defined in
packages/client/src/LocClient.ts:422
getLocBatch
▸ getLocBatch(params
): Promise
<LocBatch
>
Parameters
Name | Type |
---|---|
params | Object |
params.api | LogionNodeApiClass |
params.locIds | UUID [] |
Returns
Promise
<LocBatch
>
Defined in
packages/client/src/LocClient.ts:428
newLocMultiClient
▸ newLocMultiClient(sharedState
): LocMultiClient
Parameters
Name | Type |
---|---|
sharedState | SharedState |