import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ServiceLevel, ServiceLevel$Outbound } from "./servicelevel.js"; /** * Contains details regarding the service level for the given rate. */ export type ServiceLevelWithParent = { /** * Name of the Rate's servicelevel, e.g. `International Priority` or `Standard Post`. * * @remarks * A servicelevel commonly defines the transit time of a Shipment (e.g., Express vs. Standard), along with other properties. * These names vary depending on the provider. */ name?: string | undefined; /** * Further clarification of the service. */ terms?: string | undefined; /** * Token of the Rate's servicelevel, e.g. `usps_priority` or `fedex_ground`. * * @remarks * See servicelevels. */ token?: string | undefined; /** * Unique, extended version of the Service Level "token". * * @remarks * Guaranteed to be unique across all Service Levels, and may help offer insight into the specific Service Level it describes. */ extendedToken?: string | undefined; parentServicelevel?: ServiceLevel | undefined; }; /** @internal */ export declare const ServiceLevelWithParent$inboundSchema: z.ZodMiniType; /** @internal */ export type ServiceLevelWithParent$Outbound = { name?: string | undefined; terms?: string | undefined; token?: string | undefined; extended_token?: string | undefined; parent_servicelevel?: ServiceLevel$Outbound | undefined; }; /** @internal */ export declare const ServiceLevelWithParent$outboundSchema: z.ZodMiniType; export declare function serviceLevelWithParentToJSON(serviceLevelWithParent: ServiceLevelWithParent): string; export declare function serviceLevelWithParentFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=servicelevelwithparent.d.ts.map