fix: Delete service zone (#7017)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { AdminServiceZoneResponse } from "./service-zone"
|
||||
import { ServiceZoneResponse } from "./service-zone"
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
@@ -8,7 +8,7 @@ export interface FulfillmentSetResponse {
|
||||
name: string
|
||||
type: string
|
||||
metadata: Record<string, unknown> | null
|
||||
service_zones: AdminServiceZoneResponse[]
|
||||
service_zones: ServiceZoneResponse[]
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
deleted_at: Date | null
|
||||
|
||||
@@ -5,13 +5,7 @@ import { AdminGeoZoneResponse } from "./geo-zone"
|
||||
* @experimental
|
||||
*/
|
||||
export interface AdminServiceZoneResponse {
|
||||
id: string
|
||||
name: string
|
||||
metadata: Record<string, unknown> | null
|
||||
geo_zones: AdminGeoZoneResponse[]
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
deleted_at: Date | null
|
||||
service_zone: ServiceZoneResponse
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -23,3 +17,16 @@ export interface AdminServiceZoneDeleteResponse {
|
||||
deleted: boolean
|
||||
parent: FulfillmentSetResponse
|
||||
}
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
*/
|
||||
export interface ServiceZoneResponse {
|
||||
id: string
|
||||
name: string
|
||||
metadata: Record<string, unknown> | null
|
||||
geo_zones: AdminGeoZoneResponse[]
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
deleted_at: Date | null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user