fix(types): fix shipping profile type optional in create type / method (#11453)
* fix(types): fix shipping profile type optional in create type / method * example fix
This commit is contained in:
1 parent
b37010857a
commit
271337eb23
2 files changed
+4
-1
No files matched your search
@@ -10,7 +10,7 @@ export interface CreateShippingProfileDTO {
|
|||||||
/**
|
/**
|
||||||
* The type of the shipping profile.
|
* The type of the shipping profile.
|
||||||
*/
|
*/
|
||||||
type?: string
|
type: string
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds custom data in key-value pairs.
|
* Holds custom data in key-value pairs.
|
||||||
|
|||||||
@@ -1625,9 +1625,11 @@ export interface IFulfillmentModuleService extends IModuleService {
|
|||||||
* await fulfillmentModuleService.createShippingProfiles([
|
* await fulfillmentModuleService.createShippingProfiles([
|
||||||
* {
|
* {
|
||||||
* name: "Default",
|
* name: "Default",
|
||||||
|
* type: "default"
|
||||||
* },
|
* },
|
||||||
* {
|
* {
|
||||||
* name: "Digital",
|
* name: "Digital",
|
||||||
|
* type: "digital"
|
||||||
* },
|
* },
|
||||||
* ])
|
* ])
|
||||||
*/
|
*/
|
||||||
@@ -1647,6 +1649,7 @@ export interface IFulfillmentModuleService extends IModuleService {
|
|||||||
* const shippingProfile =
|
* const shippingProfile =
|
||||||
* await fulfillmentModuleService.createShippingProfiles({
|
* await fulfillmentModuleService.createShippingProfiles({
|
||||||
* name: "Default",
|
* name: "Default",
|
||||||
|
* type: "default"
|
||||||
* })
|
* })
|
||||||
*/
|
*/
|
||||||
createShippingProfiles(
|
createShippingProfiles(
|
||||||
|
|||||||
Reference in new issue
Block a user