fix(fulfillment): make relationship between SO and SO type M:1 (#14061)
* fix(fulfillment): make relationship between SO and SO type M:1 * fix: test and types, remap type id to existing column * Fix typo * Fix typo * chore: update changeset * fix: typo --------- Co-authored-by: Nicolas Gorga <62995075+NicolasGorga@users.noreply.github.com>
This commit is contained in:
co-authored by
Nicolas Gorga
parent
6bc5bf4fc9
commit
b74ef4a784
@@ -83,11 +83,23 @@ export interface UpdateShippingOptionDTO {
|
||||
*/
|
||||
provider_id?: string
|
||||
|
||||
/**
|
||||
* The ID of the shipping option type.
|
||||
*/
|
||||
shipping_option_type_id?: string
|
||||
|
||||
/**
|
||||
* The ID of the type of shipping option.
|
||||
* Column doesn't exist on the entity -> normalized to `shipping_option_type_id`
|
||||
*/
|
||||
type_id?: string
|
||||
|
||||
/**
|
||||
* The shipping option type associated with the shipping option.
|
||||
*/
|
||||
type?:
|
||||
| CreateShippingOptionTypeDTO | string
|
||||
| CreateShippingOptionTypeDTO
|
||||
| string
|
||||
| {
|
||||
/**
|
||||
* The ID of the shipping option type.
|
||||
@@ -133,35 +145,35 @@ type CalculateShippingItems = {
|
||||
|
||||
export type CalculatedRMAShippingContext =
|
||||
| {
|
||||
/**
|
||||
* The ID of the return.
|
||||
*/
|
||||
return_id: string
|
||||
/**
|
||||
* The details of the return's items.
|
||||
*/
|
||||
return_items: CalculateShippingItems[]
|
||||
}
|
||||
/**
|
||||
* The ID of the return.
|
||||
*/
|
||||
return_id: string
|
||||
/**
|
||||
* The details of the return's items.
|
||||
*/
|
||||
return_items: CalculateShippingItems[]
|
||||
}
|
||||
| {
|
||||
/**
|
||||
* The ID of the exchange.
|
||||
*/
|
||||
exchange_id: string
|
||||
/**
|
||||
* The details of the exchange's items.
|
||||
*/
|
||||
exchange_items: CalculateShippingItems[]
|
||||
}
|
||||
/**
|
||||
* The ID of the exchange.
|
||||
*/
|
||||
exchange_id: string
|
||||
/**
|
||||
* The details of the exchange's items.
|
||||
*/
|
||||
exchange_items: CalculateShippingItems[]
|
||||
}
|
||||
| {
|
||||
/**
|
||||
* The ID of the claim.
|
||||
*/
|
||||
claim_id: string
|
||||
/**
|
||||
* The details of the claim's items.
|
||||
*/
|
||||
claim_items: CalculateShippingItems[]
|
||||
}
|
||||
/**
|
||||
* The ID of the claim.
|
||||
*/
|
||||
claim_id: string
|
||||
/**
|
||||
* The details of the claim's items.
|
||||
*/
|
||||
claim_items: CalculateShippingItems[]
|
||||
}
|
||||
|
||||
/**
|
||||
* The data needed for the associated fulfillment provider to calculate the price of a shipping option.
|
||||
|
||||
Reference in New Issue
Block a user