import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CarrierAccountServiceLevel } from "./carrieraccountservicelevel.js"; import { FedExConnectExistingOwnAccountParameters } from "./fedexconnectexistingownaccountparameters.js"; import { UPSConnectExistingOwnAccountParameters } from "./upsconnectexistingownaccountparameters.js"; export type CarrierAccountParameters = UPSConnectExistingOwnAccountParameters | FedExConnectExistingOwnAccountParameters | { [k: string]: any; }; export type CarrierAccount = { /** * Unique identifier of the account. Please check the carrier accounts tutorial * * @remarks * page for the `account_id` per carrier.
* To protect account information, this field will be masked in any API response. */ accountId: string; /** * Determines whether the account is active. When creating a shipment, if no `carrier_accounts` are explicitly * * @remarks * passed Shippo will query all carrier accounts that have this field set. By default, this is set to True. */ active?: boolean | undefined; /** * Carrier token, see Carriers
* * @remarks * Please check the carrier accounts tutorial page for all supported carriers. */ carrier: string; parameters?: UPSConnectExistingOwnAccountParameters | FedExConnectExistingOwnAccountParameters | { [k: string]: any; } | undefined; /** * Carrier name, see Carriers
*/ carrierName?: any | undefined; isShippoAccount?: boolean | undefined; metadata?: string | undefined; /** * Unique identifier of the carrier account object. */ objectId?: string | undefined; /** * Username of the user who created the carrier account object. */ objectOwner?: string | undefined; serviceLevels?: Array | undefined; /** * Indicates whether the object has been created in test mode. */ test?: boolean | undefined; }; /** @internal */ export declare const CarrierAccountParameters$inboundSchema: z.ZodMiniType; export declare function carrierAccountParametersFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CarrierAccount$inboundSchema: z.ZodMiniType; export declare function carrierAccountFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=carrieraccount.d.ts.map