chore(docs): Generated References (#5743)
Generated the following references: - `entities` - `inventory` - `js-client` - `pricing` - `product` - `services` - `stock-location` - `workflows` Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com> Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
dc6b815b12
commit
cdd42dbdcd
@@ -8,11 +8,11 @@ import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
## Constructors
|
||||
|
||||
### constructor
|
||||
#### constructor
|
||||
|
||||
`**new ClaimService**(«destructured»)`
|
||||
|
||||
#### Parameters
|
||||
##### Parameters
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
@@ -285,29 +285,13 @@ import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
## Accessors
|
||||
|
||||
### activeManager\_
|
||||
#### activeManager\_
|
||||
|
||||
`Protected get**activeManager_**(): EntityManager`
|
||||
|
||||
#### Returns
|
||||
|
||||
EntityManager
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "EntityManager",
|
||||
"type": "EntityManager",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
"description": "",
|
||||
"expandable": false,
|
||||
"children": []
|
||||
}
|
||||
]} />
|
||||
`Protected` **activeManager\_**: [object Object]
|
||||
|
||||
## Methods
|
||||
|
||||
### atomicPhase\_
|
||||
#### atomicPhase\_
|
||||
|
||||
`Protected **atomicPhase_**<TypeParameter TResult, TypeParameter TError>(work, isolationOrErrorHandler?, maybeErrorHandlerOrDontFail?): Promise<TResult>`
|
||||
|
||||
@@ -315,6 +299,8 @@ Wraps some work within a transactional block. If the service already has
|
||||
a transaction manager attached this will be reused, otherwise a new
|
||||
transaction manager is created.
|
||||
|
||||
##### Type Parameters
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "TResult",
|
||||
@@ -336,7 +322,7 @@ transaction manager is created.
|
||||
}
|
||||
]} />
|
||||
|
||||
#### Parameters
|
||||
##### Parameters
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
@@ -368,7 +354,7 @@ transaction manager is created.
|
||||
}
|
||||
]} />
|
||||
|
||||
#### Returns
|
||||
##### Returns
|
||||
|
||||
Promise<TResult>
|
||||
|
||||
@@ -386,11 +372,11 @@ Promise<TResult>
|
||||
|
||||
___
|
||||
|
||||
### cancel
|
||||
#### cancel
|
||||
|
||||
`**cancel**(id): Promise<[ClaimOrder](ClaimOrder.mdx)>`
|
||||
|
||||
#### Parameters
|
||||
##### Parameters
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
@@ -404,7 +390,7 @@ ___
|
||||
}
|
||||
]} />
|
||||
|
||||
#### Returns
|
||||
##### Returns
|
||||
|
||||
Promise<[ClaimOrder](ClaimOrder.mdx)>
|
||||
|
||||
@@ -422,11 +408,11 @@ Promise<[ClaimOrder](ClaimOrder.mdx)>
|
||||
|
||||
___
|
||||
|
||||
### cancelFulfillment
|
||||
#### cancelFulfillment
|
||||
|
||||
`**cancelFulfillment**(fulfillmentId): Promise<[ClaimOrder](ClaimOrder.mdx)>`
|
||||
|
||||
#### Parameters
|
||||
##### Parameters
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
@@ -440,7 +426,7 @@ ___
|
||||
}
|
||||
]} />
|
||||
|
||||
#### Returns
|
||||
##### Returns
|
||||
|
||||
Promise<[ClaimOrder](ClaimOrder.mdx)>
|
||||
|
||||
@@ -458,7 +444,7 @@ Promise<[ClaimOrder](ClaimOrder.mdx)>
|
||||
|
||||
___
|
||||
|
||||
### create
|
||||
#### create
|
||||
|
||||
`**create**(data): Promise<[ClaimOrder](ClaimOrder.mdx)>`
|
||||
|
||||
@@ -466,7 +452,7 @@ Creates a Claim on an Order. Claims consists of items that are claimed and
|
||||
optionally items to be sent as replacement for the claimed items. The
|
||||
shipping address that the new items will be shipped to
|
||||
|
||||
#### Parameters
|
||||
##### Parameters
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
@@ -480,7 +466,7 @@ shipping address that the new items will be shipped to
|
||||
}
|
||||
]} />
|
||||
|
||||
#### Returns
|
||||
##### Returns
|
||||
|
||||
Promise<[ClaimOrder](ClaimOrder.mdx)>
|
||||
|
||||
@@ -498,11 +484,11 @@ Promise<[ClaimOrder](ClaimOrder.mdx)>
|
||||
|
||||
___
|
||||
|
||||
### createFulfillment
|
||||
#### createFulfillment
|
||||
|
||||
`**createFulfillment**(id, config?): Promise<[ClaimOrder](ClaimOrder.mdx)>`
|
||||
|
||||
#### Parameters
|
||||
##### Parameters
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
@@ -552,7 +538,7 @@ ___
|
||||
}
|
||||
]} />
|
||||
|
||||
#### Returns
|
||||
##### Returns
|
||||
|
||||
Promise<[ClaimOrder](ClaimOrder.mdx)>
|
||||
|
||||
@@ -570,11 +556,11 @@ Promise<[ClaimOrder](ClaimOrder.mdx)>
|
||||
|
||||
___
|
||||
|
||||
### createShipment
|
||||
#### createShipment
|
||||
|
||||
`**createShipment**(id, fulfillmentId, trackingLinks?, config?): Promise<[ClaimOrder](ClaimOrder.mdx)>`
|
||||
|
||||
#### Parameters
|
||||
##### Parameters
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
@@ -633,7 +619,7 @@ ___
|
||||
}
|
||||
]} />
|
||||
|
||||
#### Returns
|
||||
##### Returns
|
||||
|
||||
Promise<[ClaimOrder](ClaimOrder.mdx)>
|
||||
|
||||
@@ -651,7 +637,7 @@ Promise<[ClaimOrder](ClaimOrder.mdx)>
|
||||
|
||||
___
|
||||
|
||||
### getRefundTotalForClaimLinesOnOrder
|
||||
#### getRefundTotalForClaimLinesOnOrder
|
||||
|
||||
`Protected **getRefundTotalForClaimLinesOnOrder**(order, claimItems): Promise<number>`
|
||||
|
||||
@@ -662,7 +648,7 @@ There are three places too look:
|
||||
- Claim items (from previous claims)
|
||||
Note, it will attempt to return early from each of these places to avoid having to iterate over all items every time.
|
||||
|
||||
#### Parameters
|
||||
##### Parameters
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
@@ -685,7 +671,7 @@ Note, it will attempt to return early from each of these places to avoid having
|
||||
}
|
||||
]} />
|
||||
|
||||
#### Returns
|
||||
##### Returns
|
||||
|
||||
Promise<number>
|
||||
|
||||
@@ -703,11 +689,11 @@ Promise<number>
|
||||
|
||||
___
|
||||
|
||||
### list
|
||||
#### list
|
||||
|
||||
`**list**(selector, config?): Promise<[ClaimOrder](ClaimOrder.mdx)[]>`
|
||||
|
||||
#### Parameters
|
||||
##### Parameters
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
@@ -730,7 +716,7 @@ ___
|
||||
}
|
||||
]} />
|
||||
|
||||
#### Returns
|
||||
##### Returns
|
||||
|
||||
Promise<[ClaimOrder](ClaimOrder.mdx)[]>
|
||||
|
||||
@@ -748,11 +734,11 @@ Promise<[ClaimOrder](ClaimOrder.mdx)[]>
|
||||
|
||||
___
|
||||
|
||||
### processRefund
|
||||
#### processRefund
|
||||
|
||||
`**processRefund**(id): Promise<[ClaimOrder](ClaimOrder.mdx)>`
|
||||
|
||||
#### Parameters
|
||||
##### Parameters
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
@@ -766,7 +752,7 @@ ___
|
||||
}
|
||||
]} />
|
||||
|
||||
#### Returns
|
||||
##### Returns
|
||||
|
||||
Promise<[ClaimOrder](ClaimOrder.mdx)>
|
||||
|
||||
@@ -784,13 +770,13 @@ Promise<[ClaimOrder](ClaimOrder.mdx)>
|
||||
|
||||
___
|
||||
|
||||
### retrieve
|
||||
#### retrieve
|
||||
|
||||
`**retrieve**(claimId, config?): Promise<[ClaimOrder](ClaimOrder.mdx)>`
|
||||
|
||||
Gets an order by id.
|
||||
|
||||
#### Parameters
|
||||
##### Parameters
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
@@ -813,7 +799,7 @@ Gets an order by id.
|
||||
}
|
||||
]} />
|
||||
|
||||
#### Returns
|
||||
##### Returns
|
||||
|
||||
Promise<[ClaimOrder](ClaimOrder.mdx)>
|
||||
|
||||
@@ -831,11 +817,11 @@ Promise<[ClaimOrder](ClaimOrder.mdx)>
|
||||
|
||||
___
|
||||
|
||||
### shouldRetryTransaction\_
|
||||
#### shouldRetryTransaction\_
|
||||
|
||||
`Protected **shouldRetryTransaction_**(err): boolean`
|
||||
|
||||
#### Parameters
|
||||
##### Parameters
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
@@ -849,7 +835,7 @@ ___
|
||||
}
|
||||
]} />
|
||||
|
||||
#### Returns
|
||||
##### Returns
|
||||
|
||||
`boolean`
|
||||
|
||||
@@ -867,11 +853,11 @@ ___
|
||||
|
||||
___
|
||||
|
||||
### update
|
||||
#### update
|
||||
|
||||
`**update**(id, data): Promise<[ClaimOrder](ClaimOrder.mdx)>`
|
||||
|
||||
#### Parameters
|
||||
##### Parameters
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
@@ -894,7 +880,7 @@ ___
|
||||
}
|
||||
]} />
|
||||
|
||||
#### Returns
|
||||
##### Returns
|
||||
|
||||
Promise<[ClaimOrder](ClaimOrder.mdx)>
|
||||
|
||||
@@ -912,11 +898,11 @@ Promise<[ClaimOrder](ClaimOrder.mdx)>
|
||||
|
||||
___
|
||||
|
||||
### validateCreateClaimInput
|
||||
#### validateCreateClaimInput
|
||||
|
||||
`Protected **validateCreateClaimInput**(data): Promise<void>`
|
||||
|
||||
#### Parameters
|
||||
##### Parameters
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
@@ -930,7 +916,7 @@ ___
|
||||
}
|
||||
]} />
|
||||
|
||||
#### Returns
|
||||
##### Returns
|
||||
|
||||
Promise<void>
|
||||
|
||||
@@ -948,11 +934,11 @@ Promise<void>
|
||||
|
||||
___
|
||||
|
||||
### withTransaction
|
||||
#### withTransaction
|
||||
|
||||
`**withTransaction**(transactionManager?): [ClaimService](ClaimService.mdx)`
|
||||
|
||||
#### Parameters
|
||||
##### Parameters
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
@@ -966,7 +952,7 @@ ___
|
||||
}
|
||||
]} />
|
||||
|
||||
#### Returns
|
||||
##### Returns
|
||||
|
||||
[ClaimService](ClaimService.mdx)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user