feat(medusa, core-flows): Create service zones (#6979)
This commit is contained in:
1 parent
e8587e9f95
commit
81ea044f31
14 files changed
+509
-15
No files matched your search
@@ -0,0 +1,21 @@
|
||||
import {
|
||||
CreateCityGeoZoneDTO,
|
||||
CreateCountryGeoZoneDTO,
|
||||
CreateProvinceGeoZoneDTO,
|
||||
CreateZipGeoZoneDTO,
|
||||
} from "../../fulfillment"
|
||||
|
||||
interface CreateServiceZone {
|
||||
name: string
|
||||
fulfillment_set_id: string
|
||||
geo_zones?: (
|
||||
| Omit<CreateCountryGeoZoneDTO, "service_zone_id">
|
||||
| Omit<CreateProvinceGeoZoneDTO, "service_zone_id">
|
||||
| Omit<CreateCityGeoZoneDTO, "service_zone_id">
|
||||
| Omit<CreateZipGeoZoneDTO, "service_zone_id">
|
||||
)[]
|
||||
}
|
||||
|
||||
export interface CreateServiceZonesWorkflowInput {
|
||||
data: CreateServiceZone[]
|
||||
}
|
||||
@@ -1 +1,2 @@
|
||||
export * from "./create-service-zones"
|
||||
export * from "./create-shipping-options"
|
||||
Reference in new issue
Block a user